@streamlayer/react 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/advertisement.d.ts +2 -0
- package/lib/cjs/advertisement.js +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/gamification-feature.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index2.js +1 -188
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/masters2.js +2 -2
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/provider.js +188 -0
- package/lib/cjs/useStreamLayerApp2.js +1 -1
- package/lib/dist/cjs/masters.js +16 -16
- package/lib/dist/es/masters.js +1 -1
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +145 -138
- package/lib/es/auth.js +1 -1
- package/lib/es/gamification-feature.js +1 -1
- package/lib/es/index.js +8 -5
- package/lib/es/index2.js +902 -23171
- package/lib/es/masters.js +1 -1
- package/lib/es/masters2.js +1 -1
- package/lib/es/points.js +6 -6
- package/lib/es/provider.js +23227 -0
- package/lib/es/useStreamLayerApp2.js +4 -4
- package/lib/index.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +19 -19
- package/lib/cjs/app.js +0 -1
- package/lib/es/app.js +0 -958
package/lib/dist/cjs/masters.js
CHANGED
|
@@ -62,7 +62,7 @@ Check the render method of \``+e+"`.":""}var U2=["value","defaultValue"];functio
|
|
|
62
62
|
* @internal
|
|
63
63
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
64
64
|
*/function S4(e){if(!Gt)return!1;var t="on"+e,i=t in document;if(!i){var u=document.createElement("div");u.setAttribute(t,"return;"),i=typeof u[t]=="function"}return i}function b1(){Yt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,i,u){wd(u);var m=e3(t,"onChange");if(m.length>0){var g=new pa("onChange","change",null,i,u);e.push({event:g,listeners:m})}}var s=null,d=null;function h(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function v(e){var t=[];r(t,d,e,Sd(e)),a0(k,t)}function k(e){jy(e,0)}function L(e){var t=_1(e);if(A2(t))return e}function U(e,t){if(e==="change")return t}var j=!1;Gt&&(j=S4("input")&&(!document.documentMode||document.documentMode>9));function re(e,t){s=e,d=t,s.attachEvent("onpropertychange",ye)}function he(){s&&(s.detachEvent("onpropertychange",ye),s=null,d=null)}function ye(e){e.propertyName==="value"&&L(d)&&v(e)}function ge(e,t,i){e==="focusin"?(he(),re(t,i)):e==="focusout"&&he()}function Oe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return L(d)}function De(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Ve(e,t){if(e==="click")return L(t)}function gn(e,t){if(e==="input"||e==="change")return L(t)}function Y(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||fs(e,"number",e.value)}function G(e,t,i,u,m,g,T){var E=i?_1(i):window,I,x;if(h(E)?I=U:Ql(E)?j?I=gn:(I=Oe,x=ge):De(E)&&(I=Ve),I){var A=I(t,i);if(A){r(e,A,u,m);return}}x&&x(t,E,i),t==="focusout"&&Y(E)}function ee(){In("onMouseEnter",["mouseout","mouseover"]),In("onMouseLeave",["mouseout","mouseover"]),In("onPointerEnter",["pointerout","pointerover"]),In("onPointerLeave",["pointerout","pointerover"])}function be(e,t,i,u,m,g,T){var E=t==="mouseover"||t==="pointerover",I=t==="mouseout"||t==="pointerout";if(E&&!cp(u)){var x=u.relatedTarget||u.fromElement;if(x&&(Sc(x)||sf(x)))return}if(!(!I&&!E)){var A;if(m.window===m)A=m;else{var q=m.ownerDocument;q?A=q.defaultView||q.parentWindow:A=window}var H,ne;if(I){var oe=u.relatedTarget||u.toElement;if(H=i,ne=oe?Sc(oe):null,ne!==null){var le=rr(ne);(ne!==le||ne.tag!==O&&ne.tag!==D)&&(ne=null)}}else H=null,ne=i;if(H!==ne){var Ee=Ns,He="onMouseLeave",Je="onMouseEnter",kt="mouse";(t==="pointerout"||t==="pointerover")&&(Ee=B0,He="onPointerLeave",Je="onPointerEnter",kt="pointer");var Tt=H==null?A:_1(H),Z=ne==null?A:_1(ne),ie=new Ee(He,kt+"leave",H,u,m);ie.target=Tt,ie.relatedTarget=Z;var X=null,ve=Sc(m);if(ve===i){var Ae=new Ee(Je,kt+"enter",ne,u,m);Ae.target=Z,Ae.relatedTarget=Tt,X=Ae}i_(e,ie,X,H,ne)}}}function ze(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ue=typeof Object.is=="function"?Object.is:ze;function Ye(e,t){if(Ue(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),u=Object.keys(t);if(i.length!==u.length)return!1;for(var m=0;m<i.length;m++){var g=i[m];if(!nn.call(t,g)||!Ue(e[g],t[g]))return!1}return!0}function ot(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Lt(e,t){for(var i=ot(e),u=0,m=0;i;){if(i.nodeType===Po){if(m=u+i.textContent.length,u<=t&&m>=t)return{node:i,offset:t-u};u=m}i=ot(Gn(i))}}function Ls(e){var t=e.ownerDocument,i=t&&t.defaultView||window,u=i.getSelection&&i.getSelection();if(!u||u.rangeCount===0)return null;var m=u.anchorNode,g=u.anchorOffset,T=u.focusNode,E=u.focusOffset;try{m.nodeType,T.nodeType}catch{return null}return w4(e,m,g,T,E)}function w4(e,t,i,u,m){var g=0,T=-1,E=-1,I=0,x=0,A=e,q=null;e:for(;;){for(var H=null;A===t&&(i===0||A.nodeType===Po)&&(T=g+i),A===u&&(m===0||A.nodeType===Po)&&(E=g+m),A.nodeType===Po&&(g+=A.nodeValue.length),(H=A.firstChild)!==null;)q=A,A=H;for(;;){if(A===e)break e;if(q===t&&++I===i&&(T=g),q===u&&++x===m&&(E=g),(H=A.nextSibling)!==null)break;A=q,q=A.parentNode}A=H}return T===-1||E===-1?null:{start:T,end:E}}function $E(e,t){var i=e.ownerDocument||document,u=i&&i.defaultView||window;if(u.getSelection){var m=u.getSelection(),g=e.textContent.length,T=Math.min(t.start,g),E=t.end===void 0?T:Math.min(t.end,g);if(!m.extend&&T>E){var I=E;E=T,T=I}var x=Lt(e,T),A=Lt(e,E);if(x&&A){if(m.rangeCount===1&&m.anchorNode===x.node&&m.anchorOffset===x.offset&&m.focusNode===A.node&&m.focusOffset===A.offset)return;var q=i.createRange();q.setStart(x.node,x.offset),m.removeAllRanges(),T>E?(m.addRange(q),m.extend(A.node,A.offset)):(q.setEnd(A.node,A.offset),m.addRange(q))}}}function Ny(e){return e&&e.nodeType===Po}function Ry(e,t){return!e||!t?!1:e===t?!0:Ny(e)?!1:Ny(t)?Ry(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function zE(e){return e&&e.ownerDocument&&Ry(e.ownerDocument.documentElement,e)}function HE(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Ly(){for(var e=window,t=ud();t instanceof e.HTMLIFrameElement;){if(HE(t))e=t.contentWindow;else return t;t=ud(e.document)}return t}function C4(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 GE(){var e=Ly();return{focusedElem:e,selectionRange:C4(e)?WE(e):null}}function qE(e){var t=Ly(),i=e.focusedElem,u=e.selectionRange;if(t!==i&&zE(i)){u!==null&&C4(i)&&QE(i,u);for(var m=[],g=i;g=g.parentNode;)g.nodeType===Fa&&m.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof i.focus=="function"&&i.focus();for(var T=0;T<m.length;T++){var E=m[T];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}}function WE(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Ls(e),t||{start:0,end:0}}function QE(e,t){var i=t.start,u=t.end;u===void 0&&(u=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(u,e.value.length)):$E(e,t)}var YE=Gt&&"documentMode"in document&&document.documentMode<=11;function KE(){Yt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var k1=null,E4=null,W0=null,_4=!1;function ZE(e){if("selectionStart"in e&&C4(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function XE(e){return e.window===e?e.document:e.nodeType===Yr?e:e.ownerDocument}function Oy(e,t,i){var u=XE(i);if(!(_4||k1==null||k1!==ud(u))){var m=ZE(k1);if(!W0||!Ye(W0,m)){W0=m;var g=e3(E4,"onSelect");if(g.length>0){var T=new pa("onSelect","select",null,t,i);e.push({event:T,listeners:g}),T.target=k1}}}}function JE(e,t,i,u,m,g,T){var E=i?_1(i):window;switch(t){case"focusin":(Ql(E)||E.contentEditable==="true")&&(k1=E,E4=i,W0=null);break;case"focusout":k1=null,E4=null,W0=null;break;case"mousedown":_4=!0;break;case"contextmenu":case"mouseup":case"dragend":_4=!1,Oy(e,u,m);break;case"selectionchange":if(YE)break;case"keydown":case"keyup":Oy(e,u,m)}}function Zp(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var S1={animationend:Zp("Animation","AnimationEnd"),animationiteration:Zp("Animation","AnimationIteration"),animationstart:Zp("Animation","AnimationStart"),transitionend:Zp("Transition","TransitionEnd")},I4={},xy={};Gt&&(xy=document.createElement("div").style,"AnimationEvent"in window||(delete S1.animationend.animation,delete S1.animationiteration.animation,delete S1.animationstart.animation),"TransitionEvent"in window||delete S1.transitionend.transition);function Xp(e){if(I4[e])return I4[e];if(!S1[e])return e;var t=S1[e];for(var i in t)if(t.hasOwnProperty(i)&&i in xy)return I4[e]=t[i];return e}var Ay=Xp("animationend"),Py=Xp("animationiteration"),My=Xp("animationstart"),Dy=Xp("transitionend"),Uy=new Map,Fy=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Yl(e,t){Uy.set(e,t),Yt(t,[e])}function e_(){for(var e=0;e<Fy.length;e++){var t=Fy[e],i=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);Yl(i,"on"+u)}Yl(Ay,"onAnimationEnd"),Yl(Py,"onAnimationIteration"),Yl(My,"onAnimationStart"),Yl("dblclick","onDoubleClick"),Yl("focusin","onFocus"),Yl("focusout","onBlur"),Yl(Dy,"onTransitionEnd")}function t_(e,t,i,u,m,g,T){var E=Uy.get(t);if(E!==void 0){var I=pa,x=t;switch(t){case"keypress":if(_i(u)===0)return;case"keydown":case"keyup":I=g4;break;case"focusin":x="focus",I=d1;break;case"focusout":x="blur",I=d1;break;case"beforeblur":case"afterblur":I=d1;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=Ns;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=Ni;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=Pr;break;case Ay:case Py:case My:I=m1;break;case Dy:I=v4;break;case"scroll":I=D0;break;case"wheel":I=p1;break;case"copy":case"cut":case"paste":I=m4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=B0;break}var A=(g&ii)!==0;{var q=!A&&t==="scroll",H=o_(i,E,u.type,A,q);if(H.length>0){var ne=new I(E,x,null,u,m);e.push({event:ne,listeners:H})}}}}e_(),ee(),b1(),KE(),Wp();function n_(e,t,i,u,m,g,T){t_(e,t,i,u,m,g);var E=(g&n4)===0;E&&(be(e,t,i,u,m),G(e,t,i,u,m),JE(e,t,i,u,m),T1(e,t,i,u,m))}var Q0=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],N4=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Q0));function Vy(e,t,i){var u=e.type||"unknown-event";e.currentTarget=i,Fo(u,t,void 0,e),e.currentTarget=null}function a_(e,t,i){var u;if(i)for(var m=t.length-1;m>=0;m--){var g=t[m],T=g.instance,E=g.currentTarget,I=g.listener;if(T!==u&&e.isPropagationStopped())return;Vy(e,I,E),u=T}else for(var x=0;x<t.length;x++){var A=t[x],q=A.instance,H=A.currentTarget,ne=A.listener;if(q!==u&&e.isPropagationStopped())return;Vy(e,ne,H),u=q}}function jy(e,t){for(var i=(t&ii)!==0,u=0;u<e.length;u++){var m=e[u],g=m.event,T=m.listeners;a_(g,T,i)}i0()}function r_(e,t,i,u,m){var g=Sd(i),T=[];n_(T,e,u,i,g,t),jy(T,t)}function on(e,t){N4.has(e)||f('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,u=PI(t),m=l_(e);u.has(m)||(By(t,e,zu,i),u.add(m))}function R4(e,t,i){N4.has(e)&&!t&&f('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=ii),By(i,e,u,t)}var Jp="_reactListening"+Math.random().toString(36).slice(2);function Y0(e){if(!e[Jp]){e[Jp]=!0,tt.forEach(function(i){i!=="selectionchange"&&(N4.has(i)||R4(i,!1,e),R4(i,!0,e))});var t=e.nodeType===Yr?e:e.ownerDocument;t!==null&&(t[Jp]||(t[Jp]=!0,R4("selectionchange",!1,t)))}}function By(e,t,i,u,m){var g=Bl(e,t,i),T=void 0;Qu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(T=!0),e=e,u?T!==void 0?qo(e,t,g,T):zl(e,t,g):T!==void 0?l1(e,t,g,T):M0(e,t,g)}function $y(e,t){return e===t||e.nodeType===kn&&e.parentNode===t}function L4(e,t,i,u,m){var g=u;if(!(t&Do)&&!(t&zu)){var T=m;if(u!==null){var E=u;e:for(;;){if(E===null)return;var I=E.tag;if(I===N||I===R){var x=E.stateNode.containerInfo;if($y(x,T))break;if(I===R)for(var A=E.return;A!==null;){var q=A.tag;if(q===N||q===R){var H=A.stateNode.containerInfo;if($y(H,T))return}A=A.return}for(;x!==null;){var ne=Sc(x);if(ne===null)return;var oe=ne.tag;if(oe===O||oe===D){E=g=ne;continue e}x=x.parentNode}}E=E.return}}}a0(function(){return r_(e,t,i,g)})}function K0(e,t,i){return{instance:e,listener:t,currentTarget:i}}function o_(e,t,i,u,m,g){for(var T=t!==null?t+"Capture":null,E=u?T:t,I=[],x=e,A=null;x!==null;){var q=x,H=q.stateNode,ne=q.tag;if(ne===O&&H!==null&&(A=H,E!==null)){var oe=ui(x,E);oe!=null&&I.push(K0(x,oe,A))}if(m)break;x=x.return}return I}function e3(e,t){for(var i=t+"Capture",u=[],m=e;m!==null;){var g=m,T=g.stateNode,E=g.tag;if(E===O&&T!==null){var I=T,x=ui(m,i);x!=null&&u.unshift(K0(m,x,I));var A=ui(m,t);A!=null&&u.push(K0(m,A,I))}m=m.return}return u}function w1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==O);return e||null}function s_(e,t){for(var i=e,u=t,m=0,g=i;g;g=w1(g))m++;for(var T=0,E=u;E;E=w1(E))T++;for(;m-T>0;)i=w1(i),m--;for(;T-m>0;)u=w1(u),T--;for(var I=m;I--;){if(i===u||u!==null&&i===u.alternate)return i;i=w1(i),u=w1(u)}return null}function zy(e,t,i,u,m){for(var g=t._reactName,T=[],E=i;E!==null&&E!==u;){var I=E,x=I.alternate,A=I.stateNode,q=I.tag;if(x!==null&&x===u)break;if(q===O&&A!==null){var H=A;if(m){var ne=ui(E,g);ne!=null&&T.unshift(K0(E,ne,H))}else if(!m){var oe=ui(E,g);oe!=null&&T.push(K0(E,oe,H))}}E=E.return}T.length!==0&&e.push({event:t,listeners:T})}function i_(e,t,i,u,m){var g=u&&m?s_(u,m):null;u!==null&&zy(e,t,u,g,!1),m!==null&&i!==null&&zy(e,i,m,g,!0)}function l_(e,t){return e+"__bubble"}var Mr=!1,Z0="dangerouslySetInnerHTML",t3="suppressContentEditableWarning",Kl="suppressHydrationWarning",Hy="autoFocus",bc="children",kc="style",n3="__html",O4,a3,X0,Gy,r3,qy,Wy;O4={dialog:!0,webview:!0},a3=function(e,t){kd(e,t),Xm(e,t),up(e,t,{registrationNameDependencies:lt,possibleRegistrationNames:Et})},qy=Gt&&!document.documentMode,X0=function(e,t,i){if(!Mr){var u=o3(i),m=o3(t);m!==u&&(Mr=!0,f("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(m),JSON.stringify(u)))}},Gy=function(e){if(!Mr){Mr=!0;var t=[];e.forEach(function(i){t.push(i)}),f("Extra attributes from the server: %s",t)}},r3=function(e,t){t===!1?f("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):f("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Wy=function(e,t){var i=e.namespaceURI===Ao?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var u_=/\r\n?/g,c_=/\u0000|\uFFFD/g;function o3(e){Ro(e);var t=typeof e=="string"?e:""+e;return t.replace(u_,`
|
|
65
|
-
`).replace(c_,"")}function s3(e,t,i,u){var m=o3(t),g=o3(e);if(g!==m&&(u&&(Mr||(Mr=!0,f('Text content did not match. Server: "%s" Client: "%s"',g,m))),i&&Wn))throw new Error("Text content does not match server-rendered HTML.")}function Qy(e){return e.nodeType===Yr?e:e.ownerDocument}function d_(){}function i3(e){e.onclick=d_}function m_(e,t,i,u,m){for(var g in u)if(u.hasOwnProperty(g)){var T=u[g];if(g===kc)T&&Object.freeze(T),J2(t,T);else if(g===Z0){var E=T?T[n3]:void 0;E!=null&&$2(t,E)}else if(g===bc)if(typeof T=="string"){var I=e!=="textarea"||T!=="";I&&yd(t,T)}else typeof T=="number"&&yd(t,""+T);else g===t3||g===Kl||g===Hy||(lt.hasOwnProperty(g)?T!=null&&(typeof T!="function"&&r3(g,T),g==="onScroll"&&on("scroll",t)):T!=null&&ti(t,g,T,m))}}function f_(e,t,i,u){for(var m=0;m<t.length;m+=2){var g=t[m],T=t[m+1];g===kc?J2(e,T):g===Z0?$2(e,T):g===bc?yd(e,T):ti(e,g,T,u)}}function p_(e,t,i,u){var m,g=Qy(i),T,E=u;if(E===Ao&&(E=hd(e)),E===Ao){if(m=Mo(e,t),!m&&e!==e.toLowerCase()&&f("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var I=g.createElement("div");I.innerHTML="<script><\/script>";var x=I.firstChild;T=I.removeChild(x)}else if(typeof t.is=="string")T=g.createElement(e,{is:t.is});else if(T=g.createElement(e),e==="select"){var A=T;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else T=g.createElementNS(E,e);return E===Ao&&!m&&Object.prototype.toString.call(T)==="[object HTMLUnknownElement]"&&!nn.call(O4,e)&&(O4[e]=!0,f("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),T}function h_(e,t){return Qy(t).createTextNode(e)}function g_(e,t,i,u){var m=Mo(t,i);a3(t,i);var g;switch(t){case"dialog":on("cancel",e),on("close",e),g=i;break;case"iframe":case"object":case"embed":on("load",e),g=i;break;case"video":case"audio":for(var T=0;T<Q0.length;T++)on(Q0[T],e);g=i;break;case"source":on("error",e),g=i;break;case"img":case"image":case"link":on("error",e),on("load",e),g=i;break;case"details":on("toggle",e),g=i;break;case"input":Uu(e,i),g=Du(e,i),on("invalid",e);break;case"option":fd(e,i),g=i;break;case"select":F2(e,i),g=Bm(e,i),on("invalid",e);break;case"textarea":V2(e,i),g=zm(e,i),on("invalid",e);break;default:g=i}switch(Td(t,g),m_(t,e,u,g,m),t){case"input":ri(e),Fu(e,i,!1);break;case"textarea":ri(e),B2(e);break;case"option":jm(e,i);break;case"select":G6(e,i);break;default:typeof g.onClick=="function"&&i3(e);break}}function y_(e,t,i,u,m){a3(t,u);var g=null,T,E;switch(t){case"input":T=Du(e,i),E=Du(e,u),g=[];break;case"select":T=Bm(e,i),E=Bm(e,u),g=[];break;case"textarea":T=zm(e,i),E=zm(e,u),g=[];break;default:T=i,E=u,typeof T.onClick!="function"&&typeof E.onClick=="function"&&i3(e);break}Td(t,E);var I,x,A=null;for(I in T)if(!(E.hasOwnProperty(I)||!T.hasOwnProperty(I)||T[I]==null))if(I===kc){var q=T[I];for(x in q)q.hasOwnProperty(x)&&(A||(A={}),A[x]="")}else I===Z0||I===bc||I===t3||I===Kl||I===Hy||(lt.hasOwnProperty(I)?g||(g=[]):(g=g||[]).push(I,null));for(I in E){var H=E[I],ne=T!=null?T[I]:void 0;if(!(!E.hasOwnProperty(I)||H===ne||H==null&&ne==null))if(I===kc)if(H&&Object.freeze(H),ne){for(x in ne)ne.hasOwnProperty(x)&&(!H||!H.hasOwnProperty(x))&&(A||(A={}),A[x]="");for(x in H)H.hasOwnProperty(x)&&ne[x]!==H[x]&&(A||(A={}),A[x]=H[x])}else A||(g||(g=[]),g.push(I,A)),A=H;else if(I===Z0){var oe=H?H[n3]:void 0,le=ne?ne[n3]:void 0;oe!=null&&le!==oe&&(g=g||[]).push(I,oe)}else I===bc?(typeof H=="string"||typeof H=="number")&&(g=g||[]).push(I,""+H):I===t3||I===Kl||(lt.hasOwnProperty(I)?(H!=null&&(typeof H!="function"&&r3(I,H),I==="onScroll"&&on("scroll",e)),!g&&ne!==H&&(g=[])):(g=g||[]).push(I,H))}return A&&(Bu(A,E[kc]),(g=g||[]).push(kc,A)),g}function v_(e,t,i,u,m){i==="input"&&m.type==="radio"&&m.name!=null&&Vm(e,m);var g=Mo(i,u),T=Mo(i,m);switch(f_(e,t,g,T),i){case"input":fl(e,m);break;case"textarea":j2(e,m);break;case"select":q6(e,m);break}}function T_(e){{var t=e.toLowerCase();return bd.hasOwnProperty(t)&&bd[t]||null}}function b_(e,t,i,u,m,g,T){var E,I;switch(E=Mo(t,i),a3(t,i),t){case"dialog":on("cancel",e),on("close",e);break;case"iframe":case"object":case"embed":on("load",e);break;case"video":case"audio":for(var x=0;x<Q0.length;x++)on(Q0[x],e);break;case"source":on("error",e);break;case"img":case"image":case"link":on("error",e),on("load",e);break;case"details":on("toggle",e);break;case"input":Uu(e,i),on("invalid",e);break;case"option":fd(e,i);break;case"select":F2(e,i),on("invalid",e);break;case"textarea":V2(e,i),on("invalid",e);break}Td(t,i);{I=new Set;for(var A=e.attributes,q=0;q<A.length;q++){var H=A[q].name.toLowerCase();switch(H){case"value":break;case"checked":break;case"selected":break;default:I.add(A[q].name)}}}var ne=null;for(var oe in i)if(i.hasOwnProperty(oe)){var le=i[oe];if(oe===bc)typeof le=="string"?e.textContent!==le&&(i[Kl]!==!0&&s3(e.textContent,le,g,T),ne=[bc,le]):typeof le=="number"&&e.textContent!==""+le&&(i[Kl]!==!0&&s3(e.textContent,le,g,T),ne=[bc,""+le]);else if(lt.hasOwnProperty(oe))le!=null&&(typeof le!="function"&&r3(oe,le),oe==="onScroll"&&on("scroll",e));else if(T&&typeof E=="boolean"){var Ee=void 0,He=E&&se?null:Eu(oe);if(i[Kl]!==!0&&!(oe===t3||oe===Kl||oe==="value"||oe==="checked"||oe==="selected")){if(oe===Z0){var Je=e.innerHTML,kt=le?le[n3]:void 0;if(kt!=null){var Tt=Wy(e,kt);Tt!==Je&&X0(oe,Je,Tt)}}else if(oe===kc){if(I.delete(oe),qy){var Z=e4(le);Ee=e.getAttribute("style"),Z!==Ee&&X0(oe,Ee,Z)}}else if(E&&!se)I.delete(oe.toLowerCase()),Ee=rd(e,oe,le),le!==Ee&&X0(oe,Ee,le);else if(!Hr(oe,He,E)&&!vr(oe,le,He,E)){var ie=!1;if(He!==null)I.delete(He.attributeName),Ee=_u(e,oe,le,He);else{var X=u;if(X===Ao&&(X=hd(t)),X===Ao)I.delete(oe.toLowerCase());else{var ve=T_(oe);ve!==null&&ve!==oe&&(ie=!0,I.delete(ve)),I.delete(oe)}Ee=rd(e,oe,le)}var Ae=se;!Ae&&le!==Ee&&!ie&&X0(oe,Ee,le)}}}}switch(T&&I.size>0&&i[Kl]!==!0&&Gy(I),t){case"input":ri(e),Fu(e,i,!0);break;case"textarea":ri(e),B2(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&i3(e);break}return ne}function k_(e,t,i){var u=e.nodeValue!==t;return u}function x4(e,t){{if(Mr)return;Mr=!0,f("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function A4(e,t){{if(Mr)return;Mr=!0,f('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function P4(e,t,i){{if(Mr)return;Mr=!0,f("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function M4(e,t){{if(t===""||Mr)return;Mr=!0,f('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function S_(e,t,i){switch(t){case"input":P2(e,i);return;case"textarea":Hm(e,i);return;case"select":W6(e,i);return}}var J0=function(){},ef=function(){};{var w_=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Yy=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],C_=Yy.concat(["button"]),E_=["dd","dt","li","option","optgroup","p","rp","rt"],Ky={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ef=function(e,t){var i=wt({},e||Ky),u={tag:t};return Yy.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),C_.indexOf(t)!==-1&&(i.pTagInButtonScope=null),w_.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=u,t==="form"&&(i.formTag=u),t==="a"&&(i.aTagInScope=u),t==="button"&&(i.buttonTagInScope=u),t==="nobr"&&(i.nobrTagInScope=u),t==="p"&&(i.pTagInButtonScope=u),t==="li"&&(i.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=u),i};var __=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return E_.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},I_=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Zy={};J0=function(e,t,i){i=i||Ky;var u=i.current,m=u&&u.tag;t!=null&&(e!=null&&f("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var g=__(e,m)?null:u,T=g?null:I_(e,i),E=g||T;if(E){var I=E.tag,x=!!g+"|"+e+"|"+I;if(!Zy[x]){Zy[x]=!0;var A=e,q="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",g){var H="";I==="table"&&e==="tr"&&(H+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),f("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",A,I,q,H)}else f("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,I)}}}}var l3="suppressHydrationWarning",u3="$",c3="/$",tf="$?",nf="$!",N_="style",D4=null,U4=null;function R_(e){var t,i,u=e.nodeType;switch(u){case Yr:case oi:{t=u===Yr?"#document":"#fragment";var m=e.documentElement;i=m?m.namespaceURI:qm(null,"");break}default:{var g=u===kn?e.parentNode:e,T=g.namespaceURI||null;t=g.tagName,i=qm(T,t);break}}{var E=t.toLowerCase(),I=ef(null,E);return{namespace:i,ancestorInfo:I}}}function L_(e,t,i){{var u=e,m=qm(u.namespace,t),g=ef(u.ancestorInfo,t);return{namespace:m,ancestorInfo:g}}}function O_(e){D4=ur(),U4=GE();var t=null;return Hn(!1),t}function x_(e){qE(U4),Hn(D4),D4=null,U4=null}function A_(e,t,i,u,m){var g;{var T=u;if(J0(e,null,T.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,I=ef(T.ancestorInfo,e);J0(null,E,I)}g=T.namespace}var x=p_(e,t,i,g);return of(m,x),G4(x,t),x}function P_(e,t){e.appendChild(t)}function M_(e,t,i,u,m){switch(g_(e,t,i,u),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function D_(e,t,i,u,m,g){{var T=g;if(typeof u.children!=typeof i.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,I=ef(T.ancestorInfo,t);J0(null,E,I)}}return y_(e,t,i,u)}function F4(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function U_(e,t,i,u){{var m=i;J0(null,e,m.ancestorInfo)}var g=h_(e,t);return of(u,g),g}function F_(){var e=window.event;return e===void 0?zo:wa(e.type)}var V4=typeof setTimeout=="function"?setTimeout:void 0,V_=typeof clearTimeout=="function"?clearTimeout:void 0,j4=-1,Xy=typeof Promise=="function"?Promise:void 0,j_=typeof queueMicrotask=="function"?queueMicrotask:typeof Xy<"u"?function(e){return Xy.resolve(null).then(e).catch(B_)}:V4;function B_(e){setTimeout(function(){throw e})}function $_(e,t,i,u){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function z_(e,t,i,u,m,g){v_(e,t,i,u,m),G4(e,m)}function Jy(e){yd(e,"")}function H_(e,t,i){e.nodeValue=i}function G_(e,t){e.appendChild(t)}function q_(e,t){var i;e.nodeType===kn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var u=e._reactRootContainer;u==null&&i.onclick===null&&i3(i)}function W_(e,t,i){e.insertBefore(t,i)}function Q_(e,t,i){e.nodeType===kn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function Y_(e,t){e.removeChild(t)}function K_(e,t){e.nodeType===kn?e.parentNode.removeChild(t):e.removeChild(t)}function B4(e,t){var i=t,u=0;do{var m=i.nextSibling;if(e.removeChild(i),m&&m.nodeType===kn){var g=m.data;if(g===c3)if(u===0){e.removeChild(m),Ct(t);return}else u--;else(g===u3||g===tf||g===nf)&&u++}i=m}while(i);Ct(t)}function Z_(e,t){e.nodeType===kn?B4(e.parentNode,t):e.nodeType===Fa&&B4(e,t),Ct(e)}function X_(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function J_(e){e.nodeValue=""}function eI(e,t){e=e;var i=t[N_],u=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=vd("display",u)}function tI(e,t){e.nodeValue=t}function nI(e){e.nodeType===Fa?e.textContent="":e.nodeType===Yr&&e.documentElement&&e.removeChild(e.documentElement)}function aI(e,t,i){return e.nodeType!==Fa||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function rI(e,t){return t===""||e.nodeType!==Po?null:e}function oI(e){return e.nodeType!==kn?null:e}function e7(e){return e.data===tf}function $4(e){return e.data===nf}function sI(e){var t=e.nextSibling&&e.nextSibling.dataset,i,u,m;return t&&(i=t.dgst,u=t.msg,m=t.stck),{message:u,digest:i,stack:m}}function iI(e,t){e._reactRetry=t}function d3(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Fa||t===Po)break;if(t===kn){var i=e.data;if(i===u3||i===nf||i===tf)break;if(i===c3)return null}}return e}function af(e){return d3(e.nextSibling)}function lI(e){return d3(e.firstChild)}function uI(e){return d3(e.firstChild)}function cI(e){return d3(e.nextSibling)}function dI(e,t,i,u,m,g,T){of(g,e),G4(e,i);var E;{var I=m;E=I.namespace}var x=(g.mode&$e)!==Be;return b_(e,t,i,E,u,x,T)}function mI(e,t,i,u){return of(i,e),i.mode&$e,k_(e,t)}function fI(e,t){of(t,e)}function pI(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===kn){var u=t.data;if(u===c3){if(i===0)return af(t);i--}else(u===u3||u===nf||u===tf)&&i++}t=t.nextSibling}return null}function t7(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===kn){var u=t.data;if(u===u3||u===nf||u===tf){if(i===0)return t;i--}else u===c3&&i++}t=t.previousSibling}return null}function hI(e){Ct(e)}function gI(e){Ct(e)}function yI(e){return e!=="head"&&e!=="body"}function vI(e,t,i,u){var m=!0;s3(t.nodeValue,i,u,m)}function TI(e,t,i,u,m,g){if(t[l3]!==!0){var T=!0;s3(u.nodeValue,m,g,T)}}function bI(e,t){t.nodeType===Fa?x4(e,t):t.nodeType===kn||A4(e,t)}function kI(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Fa?x4(i,t):t.nodeType===kn||A4(i,t))}}function SI(e,t,i,u,m){(m||t[l3]!==!0)&&(u.nodeType===Fa?x4(i,u):u.nodeType===kn||A4(i,u))}function wI(e,t,i){P4(e,t)}function CI(e,t){M4(e,t)}function EI(e,t,i){{var u=e.parentNode;u!==null&&P4(u,t)}}function _I(e,t){{var i=e.parentNode;i!==null&&M4(i,t)}}function II(e,t,i,u,m,g){(g||t[l3]!==!0)&&P4(i,u)}function NI(e,t,i,u,m){(m||t[l3]!==!0)&&M4(i,u)}function RI(e){f("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function LI(e){Y0(e)}var C1=Math.random().toString(36).slice(2),E1="__reactFiber$"+C1,z4="__reactProps$"+C1,rf="__reactContainer$"+C1,H4="__reactEvents$"+C1,OI="__reactListeners$"+C1,xI="__reactHandles$"+C1;function AI(e){delete e[E1],delete e[z4],delete e[H4],delete e[OI],delete e[xI]}function of(e,t){t[E1]=e}function m3(e,t){t[rf]=e}function n7(e){e[rf]=null}function sf(e){return!!e[rf]}function Sc(e){var t=e[E1];if(t)return t;for(var i=e.parentNode;i;){if(t=i[rf]||i[E1],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var m=t7(e);m!==null;){var g=m[E1];if(g)return g;m=t7(m)}return t}e=i,i=e.parentNode}return null}function Zl(e){var t=e[E1]||e[rf];return t&&(t.tag===O||t.tag===D||t.tag===J||t.tag===N)?t:null}function _1(e){if(e.tag===O||e.tag===D)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function f3(e){return e[z4]||null}function G4(e,t){e[z4]=t}function PI(e){var t=e[H4];return t===void 0&&(t=e[H4]=new Set),t}var a7={},r7=o.ReactDebugCurrentFrame;function p3(e){if(e){var t=e._owner,i=Lu(e.type,e._source,t?t.type:null);r7.setExtraStackFrame(i)}else r7.setExtraStackFrame(null)}function Qo(e,t,i,u,m){{var g=Function.call.bind(nn);for(var T in e)if(g(e,T)){var E=void 0;try{if(typeof e[T]!="function"){var I=Error((u||"React class")+": "+i+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw I.name="Invariant Violation",I}E=e[T](t,T,u,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){E=x}E&&!(E instanceof Error)&&(p3(m),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",i,T,typeof E),p3(null)),E instanceof Error&&!(E.message in a7)&&(a7[E.message]=!0,p3(m),f("Failed %s type: %s",i,E.message),p3(null))}}}var q4=[],h3;h3=[];var xi=-1;function Xl(e){return{current:e}}function Qa(e,t){if(xi<0){f("Unexpected pop.");return}t!==h3[xi]&&f("Unexpected Fiber popped."),e.current=q4[xi],q4[xi]=null,h3[xi]=null,xi--}function Ya(e,t,i){xi++,q4[xi]=e.current,h3[xi]=i,e.current=t}var W4;W4={};var eo={};Object.freeze(eo);var Ai=Xl(eo),Os=Xl(!1),Q4=eo;function I1(e,t,i){return i&&xs(t)?Q4:Ai.current}function o7(e,t,i){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=i}}function N1(e,t){{var i=e.type,u=i.contextTypes;if(!u)return eo;var m=e.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===t)return m.__reactInternalMemoizedMaskedChildContext;var g={};for(var T in u)g[T]=t[T];{var E=mt(e)||"Unknown";Qo(u,g,"context",E)}return m&&o7(e,t,g),g}}function g3(){return Os.current}function xs(e){{var t=e.childContextTypes;return t!=null}}function y3(e){Qa(Os,e),Qa(Ai,e)}function Y4(e){Qa(Os,e),Qa(Ai,e)}function s7(e,t,i){{if(Ai.current!==eo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ya(Ai,t,e),Ya(Os,i,e)}}function i7(e,t,i){{var u=e.stateNode,m=t.childContextTypes;if(typeof u.getChildContext!="function"){{var g=mt(e)||"Unknown";W4[g]||(W4[g]=!0,f("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return i}var T=u.getChildContext();for(var E in T)if(!(E in m))throw new Error((mt(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var I=mt(e)||"Unknown";Qo(m,T,"child context",I)}return wt({},i,T)}}function v3(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||eo;return Q4=Ai.current,Ya(Ai,i,e),Ya(Os,Os.current,e),!0}}function l7(e,t,i){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var m=i7(e,t,Q4);u.__reactInternalMemoizedMergedChildContext=m,Qa(Os,e),Qa(Ai,e),Ya(Ai,m,e),Ya(Os,i,e)}else Qa(Os,e),Ya(Os,i,e)}}function MI(e){{if(!m0(e)||e.tag!==C)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case N:return t.stateNode.context;case C:{var i=t.type;if(xs(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Jl=0,T3=1,Pi=null,K4=!1,Z4=!1;function u7(e){Pi===null?Pi=[e]:Pi.push(e)}function DI(e){K4=!0,u7(e)}function c7(){K4&&eu()}function eu(){if(!Z4&&Pi!==null){Z4=!0;var e=0,t=Or();try{var i=!0,u=Pi;for(xn(ua);e<u.length;e++){var m=u[e];do m=m(i);while(m!==null)}Pi=null,K4=!1}catch(g){throw Pi!==null&&(Pi=Pi.slice(e+1)),Rd(Od,eu),g}finally{xn(t),Z4=!1}}return null}var R1=[],L1=0,b3=null,k3=0,go=[],yo=0,wc=null,Mi=1,Di="";function UI(e){return Ec(),(e.flags&u0)!==Ke}function FI(e){return Ec(),k3}function VI(){var e=Di,t=Mi,i=t&~jI(t);return i.toString(32)+e}function Cc(e,t){Ec(),R1[L1++]=k3,R1[L1++]=b3,b3=e,k3=t}function d7(e,t,i){Ec(),go[yo++]=Mi,go[yo++]=Di,go[yo++]=wc,wc=e;var u=Mi,m=Di,g=S3(u)-1,T=u&~(1<<g),E=i+1,I=S3(t)+g;if(I>30){var x=g-g%5,A=(1<<x)-1,q=(T&A).toString(32),H=T>>x,ne=g-x,oe=S3(t)+ne,le=E<<ne,Ee=le|H,He=q+m;Mi=1<<oe|Ee,Di=He}else{var Je=E<<g,kt=Je|T,Tt=m;Mi=1<<I|kt,Di=Tt}}function X4(e){Ec();var t=e.return;if(t!==null){var i=1,u=0;Cc(e,i),d7(e,i,u)}}function S3(e){return 32-Nl(e)}function jI(e){return 1<<S3(e)-1}function J4(e){for(;e===b3;)b3=R1[--L1],R1[L1]=null,k3=R1[--L1],R1[L1]=null;for(;e===wc;)wc=go[--yo],go[yo]=null,Di=go[--yo],go[yo]=null,Mi=go[--yo],go[yo]=null}function BI(){return Ec(),wc!==null?{id:Mi,overflow:Di}:null}function $I(e,t){Ec(),go[yo++]=Mi,go[yo++]=Di,go[yo++]=wc,Mi=t.id,Di=t.overflow,wc=e}function Ec(){Ea()||f("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ca=null,vo=null,Yo=!1,_c=!1,tu=null;function zI(){Yo&&f("We should not be hydrating here. This is a bug in React. Please file a bug.")}function m7(){_c=!0}function HI(){return _c}function GI(e){var t=e.stateNode.containerInfo;return vo=uI(t),Ca=e,Yo=!0,tu=null,_c=!1,!0}function qI(e,t,i){return vo=cI(t),Ca=e,Yo=!0,tu=null,_c=!1,i!==null&&$I(e,i),!0}function f7(e,t){switch(e.tag){case N:{bI(e.stateNode.containerInfo,t);break}case O:{var i=(e.mode&$e)!==Be;SI(e.type,e.memoizedProps,e.stateNode,t,i);break}case J:{var u=e.memoizedState;u.dehydrated!==null&&kI(u.dehydrated,t);break}}}function p7(e,t){f7(e,t);var i=KL();i.stateNode=t,i.return=e;var u=e.deletions;u===null?(e.deletions=[i],e.flags|=Pt):u.push(i)}function e8(e,t){{if(_c)return;switch(e.tag){case N:{var i=e.stateNode.containerInfo;switch(t.tag){case O:var u=t.type;t.pendingProps,wI(i,u);break;case D:var m=t.pendingProps;CI(i,m);break}break}case O:{var g=e.type,T=e.memoizedProps,E=e.stateNode;switch(t.tag){case O:{var I=t.type,x=t.pendingProps,A=(e.mode&$e)!==Be;II(g,T,E,I,x,A);break}case D:{var q=t.pendingProps,H=(e.mode&$e)!==Be;NI(g,T,E,q,H);break}}break}case J:{var ne=e.memoizedState,oe=ne.dehydrated;if(oe!==null)switch(t.tag){case O:var le=t.type;t.pendingProps,EI(oe,le);break;case D:var Ee=t.pendingProps;_I(oe,Ee);break}break}default:return}}}function h7(e,t){t.flags=t.flags&~Er|Kt,e8(e,t)}function g7(e,t){switch(e.tag){case O:{var i=e.type;e.pendingProps;var u=aI(t,i);return u!==null?(e.stateNode=u,Ca=e,vo=lI(u),!0):!1}case D:{var m=e.pendingProps,g=rI(t,m);return g!==null?(e.stateNode=g,Ca=e,vo=null,!0):!1}case J:{var T=oI(t);if(T!==null){var E={dehydrated:T,treeContext:BI(),retryLane:la};e.memoizedState=E;var I=ZL(T);return I.return=e,e.child=I,Ca=e,vo=null,!0}return!1}default:return!1}}function t8(e){return(e.mode&$e)!==Be&&(e.flags&at)===Ke}function n8(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function a8(e){if(Yo){var t=vo;if(!t){t8(e)&&(e8(Ca,e),n8()),h7(Ca,e),Yo=!1,Ca=e;return}var i=t;if(!g7(e,t)){t8(e)&&(e8(Ca,e),n8()),t=af(i);var u=Ca;if(!t||!g7(e,t)){h7(Ca,e),Yo=!1,Ca=e;return}p7(u,i)}}}function WI(e,t,i){var u=e.stateNode,m=!_c,g=dI(u,e.type,e.memoizedProps,t,i,e,m);return e.updateQueue=g,g!==null}function QI(e){var t=e.stateNode,i=e.memoizedProps,u=mI(t,i,e);if(u){var m=Ca;if(m!==null)switch(m.tag){case N:{var g=m.stateNode.containerInfo,T=(m.mode&$e)!==Be;vI(g,t,i,T);break}case O:{var E=m.type,I=m.memoizedProps,x=m.stateNode,A=(m.mode&$e)!==Be;TI(E,I,x,t,i,A);break}}}return u}function YI(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");fI(i,e)}function KI(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return pI(i)}function y7(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==N&&t.tag!==J;)t=t.return;Ca=t}function w3(e){if(e!==Ca)return!1;if(!Yo)return y7(e),Yo=!0,!1;if(e.tag!==N&&(e.tag!==O||yI(e.type)&&!F4(e.type,e.memoizedProps))){var t=vo;if(t)if(t8(e))v7(e),n8();else for(;t;)p7(e,t),t=af(t)}return y7(e),e.tag===J?vo=KI(e):vo=Ca?af(e.stateNode):null,!0}function ZI(){return Yo&&vo!==null}function v7(e){for(var t=vo;t;)f7(e,t),t=af(t)}function O1(){Ca=null,vo=null,Yo=!1,_c=!1}function T7(){tu!==null&&(mT(tu),tu=null)}function Ea(){return Yo}function r8(e){tu===null?tu=[e]:tu.push(e)}var XI=o.ReactCurrentBatchConfig,JI=null;function eN(){return XI.transition}var Ko={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var tN=function(e){for(var t=null,i=e;i!==null;)i.mode&bt&&(t=i),i=i.return;return t},Ic=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},lf=[],uf=[],cf=[],df=[],mf=[],ff=[],Nc=new Set;Ko.recordUnsafeLifecycleWarnings=function(e,t){Nc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&lf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillMount=="function"&&uf.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&cf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&df.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&mf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillUpdate=="function"&&ff.push(e))},Ko.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;lf.length>0&&(lf.forEach(function(H){e.add(mt(H)||"Component"),Nc.add(H.type)}),lf=[]);var t=new Set;uf.length>0&&(uf.forEach(function(H){t.add(mt(H)||"Component"),Nc.add(H.type)}),uf=[]);var i=new Set;cf.length>0&&(cf.forEach(function(H){i.add(mt(H)||"Component"),Nc.add(H.type)}),cf=[]);var u=new Set;df.length>0&&(df.forEach(function(H){u.add(mt(H)||"Component"),Nc.add(H.type)}),df=[]);var m=new Set;mf.length>0&&(mf.forEach(function(H){m.add(mt(H)||"Component"),Nc.add(H.type)}),mf=[]);var g=new Set;if(ff.length>0&&(ff.forEach(function(H){g.add(mt(H)||"Component"),Nc.add(H.type)}),ff=[]),t.size>0){var T=Ic(t);f(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
65
|
+
`).replace(c_,"")}function s3(e,t,i,u){var m=o3(t),g=o3(e);if(g!==m&&(u&&(Mr||(Mr=!0,f('Text content did not match. Server: "%s" Client: "%s"',g,m))),i&&Wn))throw new Error("Text content does not match server-rendered HTML.")}function Qy(e){return e.nodeType===Yr?e:e.ownerDocument}function d_(){}function i3(e){e.onclick=d_}function m_(e,t,i,u,m){for(var g in u)if(u.hasOwnProperty(g)){var T=u[g];if(g===kc)T&&Object.freeze(T),J2(t,T);else if(g===Z0){var E=T?T[n3]:void 0;E!=null&&$2(t,E)}else if(g===bc)if(typeof T=="string"){var I=e!=="textarea"||T!=="";I&&yd(t,T)}else typeof T=="number"&&yd(t,""+T);else g===t3||g===Kl||g===Hy||(lt.hasOwnProperty(g)?T!=null&&(typeof T!="function"&&r3(g,T),g==="onScroll"&&on("scroll",t)):T!=null&&ti(t,g,T,m))}}function f_(e,t,i,u){for(var m=0;m<t.length;m+=2){var g=t[m],T=t[m+1];g===kc?J2(e,T):g===Z0?$2(e,T):g===bc?yd(e,T):ti(e,g,T,u)}}function p_(e,t,i,u){var m,g=Qy(i),T,E=u;if(E===Ao&&(E=hd(e)),E===Ao){if(m=Mo(e,t),!m&&e!==e.toLowerCase()&&f("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var I=g.createElement("div");I.innerHTML="<script><\/script>";var x=I.firstChild;T=I.removeChild(x)}else if(typeof t.is=="string")T=g.createElement(e,{is:t.is});else if(T=g.createElement(e),e==="select"){var A=T;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else T=g.createElementNS(E,e);return E===Ao&&!m&&Object.prototype.toString.call(T)==="[object HTMLUnknownElement]"&&!nn.call(O4,e)&&(O4[e]=!0,f("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),T}function h_(e,t){return Qy(t).createTextNode(e)}function g_(e,t,i,u){var m=Mo(t,i);a3(t,i);var g;switch(t){case"dialog":on("cancel",e),on("close",e),g=i;break;case"iframe":case"object":case"embed":on("load",e),g=i;break;case"video":case"audio":for(var T=0;T<Q0.length;T++)on(Q0[T],e);g=i;break;case"source":on("error",e),g=i;break;case"img":case"image":case"link":on("error",e),on("load",e),g=i;break;case"details":on("toggle",e),g=i;break;case"input":Uu(e,i),g=Du(e,i),on("invalid",e);break;case"option":fd(e,i),g=i;break;case"select":F2(e,i),g=Bm(e,i),on("invalid",e);break;case"textarea":V2(e,i),g=zm(e,i),on("invalid",e);break;default:g=i}switch(Td(t,g),m_(t,e,u,g,m),t){case"input":ri(e),Fu(e,i,!1);break;case"textarea":ri(e),B2(e);break;case"option":jm(e,i);break;case"select":G6(e,i);break;default:typeof g.onClick=="function"&&i3(e);break}}function y_(e,t,i,u,m){a3(t,u);var g=null,T,E;switch(t){case"input":T=Du(e,i),E=Du(e,u),g=[];break;case"select":T=Bm(e,i),E=Bm(e,u),g=[];break;case"textarea":T=zm(e,i),E=zm(e,u),g=[];break;default:T=i,E=u,typeof T.onClick!="function"&&typeof E.onClick=="function"&&i3(e);break}Td(t,E);var I,x,A=null;for(I in T)if(!(E.hasOwnProperty(I)||!T.hasOwnProperty(I)||T[I]==null))if(I===kc){var q=T[I];for(x in q)q.hasOwnProperty(x)&&(A||(A={}),A[x]="")}else I===Z0||I===bc||I===t3||I===Kl||I===Hy||(lt.hasOwnProperty(I)?g||(g=[]):(g=g||[]).push(I,null));for(I in E){var H=E[I],ne=T!=null?T[I]:void 0;if(!(!E.hasOwnProperty(I)||H===ne||H==null&&ne==null))if(I===kc)if(H&&Object.freeze(H),ne){for(x in ne)ne.hasOwnProperty(x)&&(!H||!H.hasOwnProperty(x))&&(A||(A={}),A[x]="");for(x in H)H.hasOwnProperty(x)&&ne[x]!==H[x]&&(A||(A={}),A[x]=H[x])}else A||(g||(g=[]),g.push(I,A)),A=H;else if(I===Z0){var oe=H?H[n3]:void 0,le=ne?ne[n3]:void 0;oe!=null&&le!==oe&&(g=g||[]).push(I,oe)}else I===bc?(typeof H=="string"||typeof H=="number")&&(g=g||[]).push(I,""+H):I===t3||I===Kl||(lt.hasOwnProperty(I)?(H!=null&&(typeof H!="function"&&r3(I,H),I==="onScroll"&&on("scroll",e)),!g&&ne!==H&&(g=[])):(g=g||[]).push(I,H))}return A&&(Bu(A,E[kc]),(g=g||[]).push(kc,A)),g}function v_(e,t,i,u,m){i==="input"&&m.type==="radio"&&m.name!=null&&Vm(e,m);var g=Mo(i,u),T=Mo(i,m);switch(f_(e,t,g,T),i){case"input":fl(e,m);break;case"textarea":j2(e,m);break;case"select":q6(e,m);break}}function T_(e){{var t=e.toLowerCase();return bd.hasOwnProperty(t)&&bd[t]||null}}function b_(e,t,i,u,m,g,T){var E,I;switch(E=Mo(t,i),a3(t,i),t){case"dialog":on("cancel",e),on("close",e);break;case"iframe":case"object":case"embed":on("load",e);break;case"video":case"audio":for(var x=0;x<Q0.length;x++)on(Q0[x],e);break;case"source":on("error",e);break;case"img":case"image":case"link":on("error",e),on("load",e);break;case"details":on("toggle",e);break;case"input":Uu(e,i),on("invalid",e);break;case"option":fd(e,i);break;case"select":F2(e,i),on("invalid",e);break;case"textarea":V2(e,i),on("invalid",e);break}Td(t,i);{I=new Set;for(var A=e.attributes,q=0;q<A.length;q++){var H=A[q].name.toLowerCase();switch(H){case"value":break;case"checked":break;case"selected":break;default:I.add(A[q].name)}}}var ne=null;for(var oe in i)if(i.hasOwnProperty(oe)){var le=i[oe];if(oe===bc)typeof le=="string"?e.textContent!==le&&(i[Kl]!==!0&&s3(e.textContent,le,g,T),ne=[bc,le]):typeof le=="number"&&e.textContent!==""+le&&(i[Kl]!==!0&&s3(e.textContent,le,g,T),ne=[bc,""+le]);else if(lt.hasOwnProperty(oe))le!=null&&(typeof le!="function"&&r3(oe,le),oe==="onScroll"&&on("scroll",e));else if(T&&typeof E=="boolean"){var Ee=void 0,He=E&&se?null:Eu(oe);if(i[Kl]!==!0&&!(oe===t3||oe===Kl||oe==="value"||oe==="checked"||oe==="selected")){if(oe===Z0){var Je=e.innerHTML,kt=le?le[n3]:void 0;if(kt!=null){var Tt=Wy(e,kt);Tt!==Je&&X0(oe,Je,Tt)}}else if(oe===kc){if(I.delete(oe),qy){var Z=e4(le);Ee=e.getAttribute("style"),Z!==Ee&&X0(oe,Ee,Z)}}else if(E&&!se)I.delete(oe.toLowerCase()),Ee=rd(e,oe,le),le!==Ee&&X0(oe,Ee,le);else if(!Hr(oe,He,E)&&!vr(oe,le,He,E)){var ie=!1;if(He!==null)I.delete(He.attributeName),Ee=_u(e,oe,le,He);else{var X=u;if(X===Ao&&(X=hd(t)),X===Ao)I.delete(oe.toLowerCase());else{var ve=T_(oe);ve!==null&&ve!==oe&&(ie=!0,I.delete(ve)),I.delete(oe)}Ee=rd(e,oe,le)}var Ae=se;!Ae&&le!==Ee&&!ie&&X0(oe,Ee,le)}}}}switch(T&&I.size>0&&i[Kl]!==!0&&Gy(I),t){case"input":ri(e),Fu(e,i,!0);break;case"textarea":ri(e),B2(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&i3(e);break}return ne}function k_(e,t,i){var u=e.nodeValue!==t;return u}function x4(e,t){{if(Mr)return;Mr=!0,f("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function A4(e,t){{if(Mr)return;Mr=!0,f('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function P4(e,t,i){{if(Mr)return;Mr=!0,f("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function M4(e,t){{if(t===""||Mr)return;Mr=!0,f('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function S_(e,t,i){switch(t){case"input":P2(e,i);return;case"textarea":Hm(e,i);return;case"select":W6(e,i);return}}var J0=function(){},ef=function(){};{var w_=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Yy=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],C_=Yy.concat(["button"]),E_=["dd","dt","li","option","optgroup","p","rp","rt"],Ky={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ef=function(e,t){var i=wt({},e||Ky),u={tag:t};return Yy.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),C_.indexOf(t)!==-1&&(i.pTagInButtonScope=null),w_.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=u,t==="form"&&(i.formTag=u),t==="a"&&(i.aTagInScope=u),t==="button"&&(i.buttonTagInScope=u),t==="nobr"&&(i.nobrTagInScope=u),t==="p"&&(i.pTagInButtonScope=u),t==="li"&&(i.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=u),i};var __=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return E_.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},I_=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Zy={};J0=function(e,t,i){i=i||Ky;var u=i.current,m=u&&u.tag;t!=null&&(e!=null&&f("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var g=__(e,m)?null:u,T=g?null:I_(e,i),E=g||T;if(E){var I=E.tag,x=!!g+"|"+e+"|"+I;if(!Zy[x]){Zy[x]=!0;var A=e,q="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",g){var H="";I==="table"&&e==="tr"&&(H+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),f("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",A,I,q,H)}else f("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,I)}}}}var l3="suppressHydrationWarning",u3="$",c3="/$",tf="$?",nf="$!",N_="style",D4=null,U4=null;function R_(e){var t,i,u=e.nodeType;switch(u){case Yr:case oi:{t=u===Yr?"#document":"#fragment";var m=e.documentElement;i=m?m.namespaceURI:qm(null,"");break}default:{var g=u===kn?e.parentNode:e,T=g.namespaceURI||null;t=g.tagName,i=qm(T,t);break}}{var E=t.toLowerCase(),I=ef(null,E);return{namespace:i,ancestorInfo:I}}}function L_(e,t,i){{var u=e,m=qm(u.namespace,t),g=ef(u.ancestorInfo,t);return{namespace:m,ancestorInfo:g}}}function O_(e){D4=ur(),U4=GE();var t=null;return Hn(!1),t}function x_(e){qE(U4),Hn(D4),D4=null,U4=null}function A_(e,t,i,u,m){var g;{var T=u;if(J0(e,null,T.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,I=ef(T.ancestorInfo,e);J0(null,E,I)}g=T.namespace}var x=p_(e,t,i,g);return of(m,x),G4(x,t),x}function P_(e,t){e.appendChild(t)}function M_(e,t,i,u,m){switch(g_(e,t,i,u),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function D_(e,t,i,u,m,g){{var T=g;if(typeof u.children!=typeof i.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,I=ef(T.ancestorInfo,t);J0(null,E,I)}}return y_(e,t,i,u)}function F4(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function U_(e,t,i,u){{var m=i;J0(null,e,m.ancestorInfo)}var g=h_(e,t);return of(u,g),g}function F_(){var e=window.event;return e===void 0?zo:wa(e.type)}var V4=typeof setTimeout=="function"?setTimeout:void 0,V_=typeof clearTimeout=="function"?clearTimeout:void 0,j4=-1,Xy=typeof Promise=="function"?Promise:void 0,j_=typeof queueMicrotask=="function"?queueMicrotask:typeof Xy<"u"?function(e){return Xy.resolve(null).then(e).catch(B_)}:V4;function B_(e){setTimeout(function(){throw e})}function $_(e,t,i,u){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function z_(e,t,i,u,m,g){v_(e,t,i,u,m),G4(e,m)}function Jy(e){yd(e,"")}function H_(e,t,i){e.nodeValue=i}function G_(e,t){e.appendChild(t)}function q_(e,t){var i;e.nodeType===kn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var u=e._reactRootContainer;u==null&&i.onclick===null&&i3(i)}function W_(e,t,i){e.insertBefore(t,i)}function Q_(e,t,i){e.nodeType===kn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function Y_(e,t){e.removeChild(t)}function K_(e,t){e.nodeType===kn?e.parentNode.removeChild(t):e.removeChild(t)}function B4(e,t){var i=t,u=0;do{var m=i.nextSibling;if(e.removeChild(i),m&&m.nodeType===kn){var g=m.data;if(g===c3)if(u===0){e.removeChild(m),Ct(t);return}else u--;else(g===u3||g===tf||g===nf)&&u++}i=m}while(i);Ct(t)}function Z_(e,t){e.nodeType===kn?B4(e.parentNode,t):e.nodeType===Fa&&B4(e,t),Ct(e)}function X_(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function J_(e){e.nodeValue=""}function eI(e,t){e=e;var i=t[N_],u=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=vd("display",u)}function tI(e,t){e.nodeValue=t}function nI(e){e.nodeType===Fa?e.textContent="":e.nodeType===Yr&&e.documentElement&&e.removeChild(e.documentElement)}function aI(e,t,i){return e.nodeType!==Fa||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function rI(e,t){return t===""||e.nodeType!==Po?null:e}function oI(e){return e.nodeType!==kn?null:e}function e7(e){return e.data===tf}function $4(e){return e.data===nf}function sI(e){var t=e.nextSibling&&e.nextSibling.dataset,i,u,m;return t&&(i=t.dgst,u=t.msg,m=t.stck),{message:u,digest:i,stack:m}}function iI(e,t){e._reactRetry=t}function d3(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Fa||t===Po)break;if(t===kn){var i=e.data;if(i===u3||i===nf||i===tf)break;if(i===c3)return null}}return e}function af(e){return d3(e.nextSibling)}function lI(e){return d3(e.firstChild)}function uI(e){return d3(e.firstChild)}function cI(e){return d3(e.nextSibling)}function dI(e,t,i,u,m,g,T){of(g,e),G4(e,i);var E;{var I=m;E=I.namespace}var x=(g.mode&$e)!==Be;return b_(e,t,i,E,u,x,T)}function mI(e,t,i,u){return of(i,e),i.mode&$e,k_(e,t)}function fI(e,t){of(t,e)}function pI(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===kn){var u=t.data;if(u===c3){if(i===0)return af(t);i--}else(u===u3||u===nf||u===tf)&&i++}t=t.nextSibling}return null}function t7(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===kn){var u=t.data;if(u===u3||u===nf||u===tf){if(i===0)return t;i--}else u===c3&&i++}t=t.previousSibling}return null}function hI(e){Ct(e)}function gI(e){Ct(e)}function yI(e){return e!=="head"&&e!=="body"}function vI(e,t,i,u){var m=!0;s3(t.nodeValue,i,u,m)}function TI(e,t,i,u,m,g){if(t[l3]!==!0){var T=!0;s3(u.nodeValue,m,g,T)}}function bI(e,t){t.nodeType===Fa?x4(e,t):t.nodeType===kn||A4(e,t)}function kI(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Fa?x4(i,t):t.nodeType===kn||A4(i,t))}}function SI(e,t,i,u,m){(m||t[l3]!==!0)&&(u.nodeType===Fa?x4(i,u):u.nodeType===kn||A4(i,u))}function wI(e,t,i){P4(e,t)}function CI(e,t){M4(e,t)}function EI(e,t,i){{var u=e.parentNode;u!==null&&P4(u,t)}}function _I(e,t){{var i=e.parentNode;i!==null&&M4(i,t)}}function II(e,t,i,u,m,g){(g||t[l3]!==!0)&&P4(i,u)}function NI(e,t,i,u,m){(m||t[l3]!==!0)&&M4(i,u)}function RI(e){f("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function LI(e){Y0(e)}var C1=Math.random().toString(36).slice(2),E1="__reactFiber$"+C1,z4="__reactProps$"+C1,rf="__reactContainer$"+C1,H4="__reactEvents$"+C1,OI="__reactListeners$"+C1,xI="__reactHandles$"+C1;function AI(e){delete e[E1],delete e[z4],delete e[H4],delete e[OI],delete e[xI]}function of(e,t){t[E1]=e}function m3(e,t){t[rf]=e}function n7(e){e[rf]=null}function sf(e){return!!e[rf]}function Sc(e){var t=e[E1];if(t)return t;for(var i=e.parentNode;i;){if(t=i[rf]||i[E1],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var m=t7(e);m!==null;){var g=m[E1];if(g)return g;m=t7(m)}return t}e=i,i=e.parentNode}return null}function Zl(e){var t=e[E1]||e[rf];return t&&(t.tag===O||t.tag===D||t.tag===J||t.tag===N)?t:null}function _1(e){if(e.tag===O||e.tag===D)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function f3(e){return e[z4]||null}function G4(e,t){e[z4]=t}function PI(e){var t=e[H4];return t===void 0&&(t=e[H4]=new Set),t}var a7={},r7=o.ReactDebugCurrentFrame;function p3(e){if(e){var t=e._owner,i=Lu(e.type,e._source,t?t.type:null);r7.setExtraStackFrame(i)}else r7.setExtraStackFrame(null)}function Qo(e,t,i,u,m){{var g=Function.call.bind(nn);for(var T in e)if(g(e,T)){var E=void 0;try{if(typeof e[T]!="function"){var I=Error((u||"React class")+": "+i+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw I.name="Invariant Violation",I}E=e[T](t,T,u,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){E=x}E&&!(E instanceof Error)&&(p3(m),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",i,T,typeof E),p3(null)),E instanceof Error&&!(E.message in a7)&&(a7[E.message]=!0,p3(m),f("Failed %s type: %s",i,E.message),p3(null))}}}var q4=[],h3;h3=[];var xi=-1;function Xl(e){return{current:e}}function Qa(e,t){if(xi<0){f("Unexpected pop.");return}t!==h3[xi]&&f("Unexpected Fiber popped."),e.current=q4[xi],q4[xi]=null,h3[xi]=null,xi--}function Ya(e,t,i){xi++,q4[xi]=e.current,h3[xi]=i,e.current=t}var W4;W4={};var eo={};Object.freeze(eo);var Ai=Xl(eo),Os=Xl(!1),Q4=eo;function I1(e,t,i){return i&&xs(t)?Q4:Ai.current}function o7(e,t,i){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=i}}function N1(e,t){{var i=e.type,u=i.contextTypes;if(!u)return eo;var m=e.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===t)return m.__reactInternalMemoizedMaskedChildContext;var g={};for(var T in u)g[T]=t[T];{var E=mt(e)||"Unknown";Qo(u,g,"context",E)}return m&&o7(e,t,g),g}}function g3(){return Os.current}function xs(e){{var t=e.childContextTypes;return t!=null}}function y3(e){Qa(Os,e),Qa(Ai,e)}function Y4(e){Qa(Os,e),Qa(Ai,e)}function s7(e,t,i){{if(Ai.current!==eo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ya(Ai,t,e),Ya(Os,i,e)}}function i7(e,t,i){{var u=e.stateNode,m=t.childContextTypes;if(typeof u.getChildContext!="function"){{var g=mt(e)||"Unknown";W4[g]||(W4[g]=!0,f("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return i}var T=u.getChildContext();for(var E in T)if(!(E in m))throw new Error((mt(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var I=mt(e)||"Unknown";Qo(m,T,"child context",I)}return wt({},i,T)}}function v3(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||eo;return Q4=Ai.current,Ya(Ai,i,e),Ya(Os,Os.current,e),!0}}function l7(e,t,i){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var m=i7(e,t,Q4);u.__reactInternalMemoizedMergedChildContext=m,Qa(Os,e),Qa(Ai,e),Ya(Ai,m,e),Ya(Os,i,e)}else Qa(Os,e),Ya(Os,i,e)}}function MI(e){{if(!m0(e)||e.tag!==C)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case N:return t.stateNode.context;case C:{var i=t.type;if(xs(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Jl=0,T3=1,Pi=null,K4=!1,Z4=!1;function u7(e){Pi===null?Pi=[e]:Pi.push(e)}function DI(e){K4=!0,u7(e)}function c7(){K4&&eu()}function eu(){if(!Z4&&Pi!==null){Z4=!0;var e=0,t=Or();try{var i=!0,u=Pi;for(xn(ua);e<u.length;e++){var m=u[e];do m=m(i);while(m!==null)}Pi=null,K4=!1}catch(g){throw Pi!==null&&(Pi=Pi.slice(e+1)),Rd(Od,eu),g}finally{xn(t),Z4=!1}}return null}var R1=[],L1=0,b3=null,k3=0,go=[],yo=0,wc=null,Mi=1,Di="";function UI(e){return Ec(),(e.flags&u0)!==Ke}function FI(e){return Ec(),k3}function VI(){var e=Di,t=Mi,i=t&~jI(t);return i.toString(32)+e}function Cc(e,t){Ec(),R1[L1++]=k3,R1[L1++]=b3,b3=e,k3=t}function d7(e,t,i){Ec(),go[yo++]=Mi,go[yo++]=Di,go[yo++]=wc,wc=e;var u=Mi,m=Di,g=S3(u)-1,T=u&~(1<<g),E=i+1,I=S3(t)+g;if(I>30){var x=g-g%5,A=(1<<x)-1,q=(T&A).toString(32),H=T>>x,ne=g-x,oe=S3(t)+ne,le=E<<ne,Ee=le|H,He=q+m;Mi=1<<oe|Ee,Di=He}else{var Je=E<<g,kt=Je|T,Tt=m;Mi=1<<I|kt,Di=Tt}}function X4(e){Ec();var t=e.return;if(t!==null){var i=1,u=0;Cc(e,i),d7(e,i,u)}}function S3(e){return 32-Nl(e)}function jI(e){return 1<<S3(e)-1}function J4(e){for(;e===b3;)b3=R1[--L1],R1[L1]=null,k3=R1[--L1],R1[L1]=null;for(;e===wc;)wc=go[--yo],go[yo]=null,Di=go[--yo],go[yo]=null,Mi=go[--yo],go[yo]=null}function BI(){return Ec(),wc!==null?{id:Mi,overflow:Di}:null}function $I(e,t){Ec(),go[yo++]=Mi,go[yo++]=Di,go[yo++]=wc,Mi=t.id,Di=t.overflow,wc=e}function Ec(){Ea()||f("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ca=null,vo=null,Yo=!1,_c=!1,tu=null;function zI(){Yo&&f("We should not be hydrating here. This is a bug in React. Please file a bug.")}function m7(){_c=!0}function HI(){return _c}function GI(e){var t=e.stateNode.containerInfo;return vo=uI(t),Ca=e,Yo=!0,tu=null,_c=!1,!0}function qI(e,t,i){return vo=cI(t),Ca=e,Yo=!0,tu=null,_c=!1,i!==null&&$I(e,i),!0}function f7(e,t){switch(e.tag){case N:{bI(e.stateNode.containerInfo,t);break}case O:{var i=(e.mode&$e)!==Be;SI(e.type,e.memoizedProps,e.stateNode,t,i);break}case J:{var u=e.memoizedState;u.dehydrated!==null&&kI(u.dehydrated,t);break}}}function p7(e,t){f7(e,t);var i=KL();i.stateNode=t,i.return=e;var u=e.deletions;u===null?(e.deletions=[i],e.flags|=Pt):u.push(i)}function eg(e,t){{if(_c)return;switch(e.tag){case N:{var i=e.stateNode.containerInfo;switch(t.tag){case O:var u=t.type;t.pendingProps,wI(i,u);break;case D:var m=t.pendingProps;CI(i,m);break}break}case O:{var g=e.type,T=e.memoizedProps,E=e.stateNode;switch(t.tag){case O:{var I=t.type,x=t.pendingProps,A=(e.mode&$e)!==Be;II(g,T,E,I,x,A);break}case D:{var q=t.pendingProps,H=(e.mode&$e)!==Be;NI(g,T,E,q,H);break}}break}case J:{var ne=e.memoizedState,oe=ne.dehydrated;if(oe!==null)switch(t.tag){case O:var le=t.type;t.pendingProps,EI(oe,le);break;case D:var Ee=t.pendingProps;_I(oe,Ee);break}break}default:return}}}function h7(e,t){t.flags=t.flags&~Er|Kt,eg(e,t)}function g7(e,t){switch(e.tag){case O:{var i=e.type;e.pendingProps;var u=aI(t,i);return u!==null?(e.stateNode=u,Ca=e,vo=lI(u),!0):!1}case D:{var m=e.pendingProps,g=rI(t,m);return g!==null?(e.stateNode=g,Ca=e,vo=null,!0):!1}case J:{var T=oI(t);if(T!==null){var E={dehydrated:T,treeContext:BI(),retryLane:la};e.memoizedState=E;var I=ZL(T);return I.return=e,e.child=I,Ca=e,vo=null,!0}return!1}default:return!1}}function tg(e){return(e.mode&$e)!==Be&&(e.flags&at)===Ke}function ng(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function ag(e){if(Yo){var t=vo;if(!t){tg(e)&&(eg(Ca,e),ng()),h7(Ca,e),Yo=!1,Ca=e;return}var i=t;if(!g7(e,t)){tg(e)&&(eg(Ca,e),ng()),t=af(i);var u=Ca;if(!t||!g7(e,t)){h7(Ca,e),Yo=!1,Ca=e;return}p7(u,i)}}}function WI(e,t,i){var u=e.stateNode,m=!_c,g=dI(u,e.type,e.memoizedProps,t,i,e,m);return e.updateQueue=g,g!==null}function QI(e){var t=e.stateNode,i=e.memoizedProps,u=mI(t,i,e);if(u){var m=Ca;if(m!==null)switch(m.tag){case N:{var g=m.stateNode.containerInfo,T=(m.mode&$e)!==Be;vI(g,t,i,T);break}case O:{var E=m.type,I=m.memoizedProps,x=m.stateNode,A=(m.mode&$e)!==Be;TI(E,I,x,t,i,A);break}}}return u}function YI(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");fI(i,e)}function KI(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return pI(i)}function y7(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==N&&t.tag!==J;)t=t.return;Ca=t}function w3(e){if(e!==Ca)return!1;if(!Yo)return y7(e),Yo=!0,!1;if(e.tag!==N&&(e.tag!==O||yI(e.type)&&!F4(e.type,e.memoizedProps))){var t=vo;if(t)if(tg(e))v7(e),ng();else for(;t;)p7(e,t),t=af(t)}return y7(e),e.tag===J?vo=KI(e):vo=Ca?af(e.stateNode):null,!0}function ZI(){return Yo&&vo!==null}function v7(e){for(var t=vo;t;)f7(e,t),t=af(t)}function O1(){Ca=null,vo=null,Yo=!1,_c=!1}function T7(){tu!==null&&(mT(tu),tu=null)}function Ea(){return Yo}function rg(e){tu===null?tu=[e]:tu.push(e)}var XI=o.ReactCurrentBatchConfig,JI=null;function eN(){return XI.transition}var Ko={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var tN=function(e){for(var t=null,i=e;i!==null;)i.mode&bt&&(t=i),i=i.return;return t},Ic=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},lf=[],uf=[],cf=[],df=[],mf=[],ff=[],Nc=new Set;Ko.recordUnsafeLifecycleWarnings=function(e,t){Nc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&lf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillMount=="function"&&uf.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&cf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&df.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&mf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillUpdate=="function"&&ff.push(e))},Ko.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;lf.length>0&&(lf.forEach(function(H){e.add(mt(H)||"Component"),Nc.add(H.type)}),lf=[]);var t=new Set;uf.length>0&&(uf.forEach(function(H){t.add(mt(H)||"Component"),Nc.add(H.type)}),uf=[]);var i=new Set;cf.length>0&&(cf.forEach(function(H){i.add(mt(H)||"Component"),Nc.add(H.type)}),cf=[]);var u=new Set;df.length>0&&(df.forEach(function(H){u.add(mt(H)||"Component"),Nc.add(H.type)}),df=[]);var m=new Set;mf.length>0&&(mf.forEach(function(H){m.add(mt(H)||"Component"),Nc.add(H.type)}),mf=[]);var g=new Set;if(ff.length>0&&(ff.forEach(function(H){g.add(mt(H)||"Component"),Nc.add(H.type)}),ff=[]),t.size>0){var T=Ic(t);f(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
66
66
|
|
|
67
67
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
68
68
|
|
|
@@ -97,11 +97,11 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
97
97
|
|
|
98
98
|
Please update the following components: %s
|
|
99
99
|
|
|
100
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)}finally{Ln()}}})},Ko.discardPendingWarnings=function(){lf=[],uf=[],cf=[],df=[],mf=[],ff=[],C3=new Map}}var
|
|
100
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)}finally{Ln()}}})},Ko.discardPendingWarnings=function(){lf=[],uf=[],cf=[],df=[],mf=[],ff=[],C3=new Map}}var og,sg,ig,lg,ug,k7=function(e,t){};og=!1,sg=!1,ig={},lg={},ug={},k7=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var i=mt(t)||"Component";lg[i]||(lg[i]=!0,f('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function nN(e){return e.prototype&&e.prototype.isReactComponent}function pf(e,t,i){var u=i.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&bt||me)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)&&!(i._owner&&i._owner.tag!==C)&&!(typeof i.type=="function"&&!nN(i.type))&&i._owner){var m=mt(e)||"Component";ig[m]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',m,u),ig[m]=!0)}if(i._owner){var g=i._owner,T;if(g){var E=g;if(E.tag!==C)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");T=E.stateNode}if(!T)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var I=T;No(u,"ref");var x=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===x)return t.ref;var A=function(q){var H=I.refs;q===null?delete H[x]:H[x]=q};return A._stringRef=x,A}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!i._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
|
|
101
101
|
1. You may be adding a ref to a function component
|
|
102
102
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
103
103
|
3. You have multiple copies of React loaded
|
|
104
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function E3(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function _3(e){{var t=mt(e)||"Component";if(u8[t])return;u8[t]=!0,f("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function S7(e){var t=e._payload,i=e._init;return i(t)}function w7(e){function t(Z,ie){if(e){var X=Z.deletions;X===null?(Z.deletions=[ie],Z.flags|=Pt):X.push(ie)}}function i(Z,ie){if(!e)return null;for(var X=ie;X!==null;)t(Z,X),X=X.sibling;return null}function u(Z,ie){for(var X=new Map,ve=ie;ve!==null;)ve.key!==null?X.set(ve.key,ve):X.set(ve.index,ve),ve=ve.sibling;return X}function m(Z,ie){var X=Uc(Z,ie);return X.index=0,X.sibling=null,X}function g(Z,ie,X){if(Z.index=X,!e)return Z.flags|=u0,ie;var ve=Z.alternate;if(ve!==null){var Ae=ve.index;return Ae<ie?(Z.flags|=Kt,ie):Ae}else return Z.flags|=Kt,ie}function T(Z){return e&&Z.alternate===null&&(Z.flags|=Kt),Z}function E(Z,ie,X,ve){if(ie===null||ie.tag!==D){var Ae=r5(X,Z.mode,ve);return Ae.return=Z,Ae}else{var Le=m(ie,X);return Le.return=Z,Le}}function I(Z,ie,X,ve){var Ae=X.type;if(Ae===Lo)return A(Z,ie,X.props.children,ve,X.key);if(ie!==null&&(ie.elementType===Ae||NT(ie,X)||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===Sa&&S7(Ae)===ie.type)){var Le=m(ie,X.props);return Le.ref=pf(Z,ie,X),Le.return=Z,Le._debugSource=X._source,Le._debugOwner=X._owner,Le}var nt=a5(X,Z.mode,ve);return nt.ref=pf(Z,ie,X),nt.return=Z,nt}function x(Z,ie,X,ve){if(ie===null||ie.tag!==R||ie.stateNode.containerInfo!==X.containerInfo||ie.stateNode.implementation!==X.implementation){var Ae=o5(X,Z.mode,ve);return Ae.return=Z,Ae}else{var Le=m(ie,X.children||[]);return Le.return=Z,Le}}function A(Z,ie,X,ve,Ae){if(ie===null||ie.tag!==F){var Le=mu(X,Z.mode,ve,Ae);return Le.return=Z,Le}else{var nt=m(ie,X);return nt.return=Z,nt}}function q(Z,ie,X){if(typeof ie=="string"&&ie!==""||typeof ie=="number"){var ve=r5(""+ie,Z.mode,X);return ve.return=Z,ve}if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case sl:{var Ae=a5(ie,Z.mode,X);return Ae.ref=pf(Z,null,ie),Ae.return=Z,Ae}case Gr:{var Le=o5(ie,Z.mode,X);return Le.return=Z,Le}case Sa:{var nt=ie._payload,dt=ie._init;return q(Z,dt(nt),X)}}if(jn(ie)||Oo(ie)){var $t=mu(ie,Z.mode,X,null);return $t.return=Z,$t}E3(Z,ie)}return typeof ie=="function"&&_3(Z),null}function H(Z,ie,X,ve){var Ae=ie!==null?ie.key:null;if(typeof X=="string"&&X!==""||typeof X=="number")return Ae!==null?null:E(Z,ie,""+X,ve);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case sl:return X.key===Ae?I(Z,ie,X,ve):null;case Gr:return X.key===Ae?x(Z,ie,X,ve):null;case Sa:{var Le=X._payload,nt=X._init;return H(Z,ie,nt(Le),ve)}}if(jn(X)||Oo(X))return Ae!==null?null:A(Z,ie,X,ve,null);E3(Z,X)}return typeof X=="function"&&_3(Z),null}function ne(Z,ie,X,ve,Ae){if(typeof ve=="string"&&ve!==""||typeof ve=="number"){var Le=Z.get(X)||null;return E(ie,Le,""+ve,Ae)}if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case sl:{var nt=Z.get(ve.key===null?X:ve.key)||null;return I(ie,nt,ve,Ae)}case Gr:{var dt=Z.get(ve.key===null?X:ve.key)||null;return x(ie,dt,ve,Ae)}case Sa:var $t=ve._payload,xt=ve._init;return ne(Z,ie,X,xt($t),Ae)}if(jn(ve)||Oo(ve)){var Mn=Z.get(X)||null;return A(ie,Mn,ve,Ae,null)}E3(ie,ve)}return typeof ve=="function"&&_3(ie),null}function oe(Z,ie,X){{if(typeof Z!="object"||Z===null)return ie;switch(Z.$$typeof){case sl:case Gr:k7(Z,X);var ve=Z.key;if(typeof ve!="string")break;if(ie===null){ie=new Set,ie.add(ve);break}if(!ie.has(ve)){ie.add(ve);break}f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",ve);break;case Sa:var Ae=Z._payload,Le=Z._init;oe(Le(Ae),ie,X);break}}return ie}function le(Z,ie,X,ve){for(var Ae=null,Le=0;Le<X.length;Le++){var nt=X[Le];Ae=oe(nt,Ae,Z)}for(var dt=null,$t=null,xt=ie,Mn=0,At=0,En=null;xt!==null&&At<X.length;At++){xt.index>At?(En=xt,xt=null):En=xt.sibling;var Za=H(Z,xt,X[At],ve);if(Za===null){xt===null&&(xt=En);break}e&&xt&&Za.alternate===null&&t(Z,xt),Mn=g(Za,Mn,At),$t===null?dt=Za:$t.sibling=Za,$t=Za,xt=En}if(At===X.length){if(i(Z,xt),Ea()){var xa=At;Cc(Z,xa)}return dt}if(xt===null){for(;At<X.length;At++){var no=q(Z,X[At],ve);no!==null&&(Mn=g(no,Mn,At),$t===null?dt=no:$t.sibling=no,$t=no)}if(Ea()){var fr=At;Cc(Z,fr)}return dt}for(var pr=u(Z,xt);At<X.length;At++){var Xa=ne(pr,Z,At,X[At],ve);Xa!==null&&(e&&Xa.alternate!==null&&pr.delete(Xa.key===null?At:Xa.key),Mn=g(Xa,Mn,At),$t===null?dt=Xa:$t.sibling=Xa,$t=Xa)}if(e&&pr.forEach(function(K1){return t(Z,K1)}),Ea()){var zi=At;Cc(Z,zi)}return dt}function Ee(Z,ie,X,ve){var Ae=Oo(X);if(typeof Ae!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&X[Symbol.toStringTag]==="Generator"&&(s8||f("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."),s8=!0),X.entries===Ae&&(o8||f("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),o8=!0);var Le=Ae.call(X);if(Le)for(var nt=null,dt=Le.next();!dt.done;dt=Le.next()){var $t=dt.value;nt=oe($t,nt,Z)}}var xt=Ae.call(X);if(xt==null)throw new Error("An iterable object provided no iterator.");for(var Mn=null,At=null,En=ie,Za=0,xa=0,no=null,fr=xt.next();En!==null&&!fr.done;xa++,fr=xt.next()){En.index>xa?(no=En,En=null):no=En.sibling;var pr=H(Z,En,fr.value,ve);if(pr===null){En===null&&(En=no);break}e&&En&&pr.alternate===null&&t(Z,En),Za=g(pr,Za,xa),At===null?Mn=pr:At.sibling=pr,At=pr,En=no}if(fr.done){if(i(Z,En),Ea()){var Xa=xa;Cc(Z,Xa)}return Mn}if(En===null){for(;!fr.done;xa++,fr=xt.next()){var zi=q(Z,fr.value,ve);zi!==null&&(Za=g(zi,Za,xa),At===null?Mn=zi:At.sibling=zi,At=zi)}if(Ea()){var K1=xa;Cc(Z,K1)}return Mn}for(var Gf=u(Z,En);!fr.done;xa++,fr=xt.next()){var js=ne(Gf,Z,xa,fr.value,ve);js!==null&&(e&&js.alternate!==null&&Gf.delete(js.key===null?xa:js.key),Za=g(js,Za,xa),At===null?Mn=js:At.sibling=js,At=js)}if(e&&Gf.forEach(function(NO){return t(Z,NO)}),Ea()){var IO=xa;Cc(Z,IO)}return Mn}function He(Z,ie,X,ve){if(ie!==null&&ie.tag===D){i(Z,ie.sibling);var Ae=m(ie,X);return Ae.return=Z,Ae}i(Z,ie);var Le=r5(X,Z.mode,ve);return Le.return=Z,Le}function Je(Z,ie,X,ve){for(var Ae=X.key,Le=ie;Le!==null;){if(Le.key===Ae){var nt=X.type;if(nt===Lo){if(Le.tag===F){i(Z,Le.sibling);var dt=m(Le,X.props.children);return dt.return=Z,dt._debugSource=X._source,dt._debugOwner=X._owner,dt}}else if(Le.elementType===nt||NT(Le,X)||typeof nt=="object"&&nt!==null&&nt.$$typeof===Sa&&S7(nt)===Le.type){i(Z,Le.sibling);var $t=m(Le,X.props);return $t.ref=pf(Z,Le,X),$t.return=Z,$t._debugSource=X._source,$t._debugOwner=X._owner,$t}i(Z,Le);break}else t(Z,Le);Le=Le.sibling}if(X.type===Lo){var xt=mu(X.props.children,Z.mode,ve,X.key);return xt.return=Z,xt}else{var Mn=a5(X,Z.mode,ve);return Mn.ref=pf(Z,ie,X),Mn.return=Z,Mn}}function kt(Z,ie,X,ve){for(var Ae=X.key,Le=ie;Le!==null;){if(Le.key===Ae)if(Le.tag===R&&Le.stateNode.containerInfo===X.containerInfo&&Le.stateNode.implementation===X.implementation){i(Z,Le.sibling);var nt=m(Le,X.children||[]);return nt.return=Z,nt}else{i(Z,Le);break}else t(Z,Le);Le=Le.sibling}var dt=o5(X,Z.mode,ve);return dt.return=Z,dt}function Tt(Z,ie,X,ve){var Ae=typeof X=="object"&&X!==null&&X.type===Lo&&X.key===null;if(Ae&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case sl:return T(Je(Z,ie,X,ve));case Gr:return T(kt(Z,ie,X,ve));case Sa:var Le=X._payload,nt=X._init;return Tt(Z,ie,nt(Le),ve)}if(jn(X))return le(Z,ie,X,ve);if(Oo(X))return Ee(Z,ie,X,ve);E3(Z,X)}return typeof X=="string"&&X!==""||typeof X=="number"?T(He(Z,ie,""+X,ve)):(typeof X=="function"&&_3(Z),i(Z,ie))}return Tt}var x1=w7(!0),C7=w7(!1);function aN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,u=Uc(i,i.pendingProps);for(t.child=u,u.return=t;i.sibling!==null;)i=i.sibling,u=u.sibling=Uc(i,i.pendingProps),u.return=t;u.sibling=null}}function rN(e,t){for(var i=e.child;i!==null;)GL(i,t),i=i.sibling}var c8=Xl(null),d8;d8={};var I3=null,A1=null,m8=null,N3=!1;function R3(){I3=null,A1=null,m8=null,N3=!1}function E7(){N3=!0}function _7(){N3=!1}function I7(e,t,i){Ya(c8,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==d8&&f("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=d8}function f8(e,t){var i=c8.current;Qa(c8,t),e._currentValue=i}function p8(e,t,i){for(var u=e;u!==null;){var m=u.alternate;if(ki(u.childLanes,t)?m!==null&&!ki(m.childLanes,t)&&(m.childLanes=ft(m.childLanes,t)):(u.childLanes=ft(u.childLanes,t),m!==null&&(m.childLanes=ft(m.childLanes,t))),u===i)break;u=u.return}u!==i&&f("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 oN(e,t,i){sN(e,t,i)}function sN(e,t,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var m=void 0,g=u.dependencies;if(g!==null){m=u.child;for(var T=g.firstContext;T!==null;){if(T.context===t){if(u.tag===C){var E=Ml(i),I=Ui(Wt,E);I.tag=O3;var x=u.updateQueue;if(x!==null){var A=x.shared,q=A.pending;q===null?I.next=I:(I.next=q.next,q.next=I),A.pending=I}}u.lanes=ft(u.lanes,i);var H=u.alternate;H!==null&&(H.lanes=ft(H.lanes,i)),p8(u.return,i,e),g.lanes=ft(g.lanes,i);break}T=T.next}}else if(u.tag===W)m=u.type===e.type?null:u.child;else if(u.tag===Ze){var ne=u.return;if(ne===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ne.lanes=ft(ne.lanes,i);var oe=ne.alternate;oe!==null&&(oe.lanes=ft(oe.lanes,i)),p8(ne,i,e),m=u.sibling}else m=u.child;if(m!==null)m.return=u;else for(m=u;m!==null;){if(m===e){m=null;break}var le=m.sibling;if(le!==null){le.return=m.return,m=le;break}m=m.return}u=m}}function P1(e,t){I3=e,A1=null,m8=null;var i=e.dependencies;if(i!==null){var u=i.firstContext;u!==null&&(Wa(i.lanes,t)&&Rf(),i.firstContext=null)}}function qn(e){N3&&f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(m8!==e){var i={context:e,memoizedValue:t,next:null};if(A1===null){if(I3===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");A1=i,I3.dependencies={lanes:fe,firstContext:i}}else A1=A1.next=i}return t}var Rc=null;function h8(e){Rc===null?Rc=[e]:Rc.push(e)}function iN(){if(Rc!==null){for(var e=0;e<Rc.length;e++){var t=Rc[e],i=t.interleaved;if(i!==null){t.interleaved=null;var u=i.next,m=t.pending;if(m!==null){var g=m.next;m.next=u,i.next=g}t.pending=i}}Rc=null}}function N7(e,t,i,u){var m=t.interleaved;return m===null?(i.next=i,h8(t)):(i.next=m.next,m.next=i),t.interleaved=i,L3(e,u)}function lN(e,t,i,u){var m=t.interleaved;m===null?(i.next=i,h8(t)):(i.next=m.next,m.next=i),t.interleaved=i}function uN(e,t,i,u){var m=t.interleaved;return m===null?(i.next=i,h8(t)):(i.next=m.next,m.next=i),t.interleaved=i,L3(e,u)}function Dr(e,t){return L3(e,t)}var cN=L3;function L3(e,t){e.lanes=ft(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ft(i.lanes,t)),i===null&&(e.flags&(Kt|Er))!==Ke&&CT(e);for(var u=e,m=e.return;m!==null;)m.childLanes=ft(m.childLanes,t),i=m.alternate,i!==null?i.childLanes=ft(i.childLanes,t):(m.flags&(Kt|Er))!==Ke&&CT(e),u=m,m=m.return;if(u.tag===N){var g=u.stateNode;return g}else return null}var R7=0,L7=1,O3=2,g8=3,x3=!1,y8,A3;y8=!1,A3=null;function v8(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:fe},effects:null};e.updateQueue=t}function O7(e,t){var i=t.updateQueue,u=e.updateQueue;if(i===u){var m={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=m}}function Ui(e,t){var i={eventTime:e,lane:t,tag:R7,payload:null,callback:null,next:null};return i}function nu(e,t,i){var u=e.updateQueue;if(u===null)return null;var m=u.shared;if(A3===m&&!y8&&(f("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),y8=!0),lL()){var g=m.pending;return g===null?t.next=t:(t.next=g.next,g.next=t),m.pending=t,cN(e,i)}else return uN(e,m,t,i)}function P3(e,t,i){var u=t.updateQueue;if(u!==null){var m=u.shared;if(C0(i)){var g=m.lanes;g=t1(g,e.pendingLanes);var T=ft(g,i);m.lanes=T,Dl(e,T)}}}function T8(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null){var m=u.updateQueue;if(i===m){var g=null,T=null,E=i.firstBaseUpdate;if(E!==null){var I=E;do{var x={eventTime:I.eventTime,lane:I.lane,tag:I.tag,payload:I.payload,callback:I.callback,next:null};T===null?g=T=x:(T.next=x,T=x),I=I.next}while(I!==null);T===null?g=T=t:(T.next=t,T=t)}else g=T=t;i={baseState:m.baseState,firstBaseUpdate:g,lastBaseUpdate:T,shared:m.shared,effects:m.effects},e.updateQueue=i;return}}var A=i.lastBaseUpdate;A===null?i.firstBaseUpdate=t:A.next=t,i.lastBaseUpdate=t}function dN(e,t,i,u,m,g){switch(i.tag){case L7:{var T=i.payload;if(typeof T=="function"){E7();var E=T.call(g,u,m);{if(e.mode&bt){Sn(!0);try{T.call(g,u,m)}finally{Sn(!1)}}_7()}return E}return T}case g8:e.flags=e.flags&~$n|at;case R7:{var I=i.payload,x;if(typeof I=="function"){E7(),x=I.call(g,u,m);{if(e.mode&bt){Sn(!0);try{I.call(g,u,m)}finally{Sn(!1)}}_7()}}else x=I;return x==null?u:wt({},u,x)}case O3:return x3=!0,u}return u}function M3(e,t,i,u){var m=e.updateQueue;x3=!1,A3=m.shared;var g=m.firstBaseUpdate,T=m.lastBaseUpdate,E=m.shared.pending;if(E!==null){m.shared.pending=null;var I=E,x=I.next;I.next=null,T===null?g=x:T.next=x,T=I;var A=e.alternate;if(A!==null){var q=A.updateQueue,H=q.lastBaseUpdate;H!==T&&(H===null?q.firstBaseUpdate=x:H.next=x,q.lastBaseUpdate=I)}}if(g!==null){var ne=m.baseState,oe=fe,le=null,Ee=null,He=null,Je=g;do{var kt=Je.lane,Tt=Je.eventTime;if(ki(u,kt)){if(He!==null){var Z={eventTime:Tt,lane:wn,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};He=He.next=Z}ne=dN(e,m,Je,ne,t,i);var ie=Je.callback;if(ie!==null&&Je.lane!==wn){e.flags|=co;var X=m.effects;X===null?m.effects=[Je]:X.push(Je)}}else{var ve={eventTime:Tt,lane:kt,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};He===null?(Ee=He=ve,le=ne):He=He.next=ve,oe=ft(oe,kt)}if(Je=Je.next,Je===null){if(E=m.shared.pending,E===null)break;var Ae=E,Le=Ae.next;Ae.next=null,Je=Le,m.lastBaseUpdate=Ae,m.shared.pending=null}}while(!0);He===null&&(le=ne),m.baseState=le,m.firstBaseUpdate=Ee,m.lastBaseUpdate=He;var nt=m.shared.interleaved;if(nt!==null){var dt=nt;do oe=ft(oe,dt.lane),dt=dt.next;while(dt!==nt)}else g===null&&(m.shared.lanes=fe);jf(oe),e.lanes=oe,e.memoizedState=ne}A3=null}function mN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function x7(){x3=!1}function D3(){return x3}function A7(e,t,i){var u=t.effects;if(t.effects=null,u!==null)for(var m=0;m<u.length;m++){var g=u[m],T=g.callback;T!==null&&(g.callback=null,mN(T,i))}}var hf={},au=Xl(hf),gf=Xl(hf),U3=Xl(hf);function F3(e){if(e===hf)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function P7(){var e=F3(U3.current);return e}function b8(e,t){Ya(U3,t,e),Ya(gf,e,e),Ya(au,hf,e);var i=R_(t);Qa(au,e),Ya(au,i,e)}function M1(e){Qa(au,e),Qa(gf,e),Qa(U3,e)}function k8(){var e=F3(au.current);return e}function M7(e){F3(U3.current);var t=F3(au.current),i=L_(t,e.type);t!==i&&(Ya(gf,e,e),Ya(au,i,e))}function S8(e){gf.current===e&&(Qa(au,e),Qa(gf,e))}var fN=0,D7=1,U7=1,yf=2,Zo=Xl(fN);function w8(e,t){return(e&t)!==0}function D1(e){return e&D7}function C8(e,t){return e&D7|t}function pN(e,t){return e|t}function ru(e,t){Ya(Zo,t,e)}function U1(e){Qa(Zo,e)}function hN(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function V3(e){for(var t=e;t!==null;){if(t.tag===J){var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(u===null||e7(u)||$4(u))return t}}else if(t.tag===Ge&&t.memoizedProps.revealOrder!==void 0){var m=(t.flags&at)!==Ke;if(m)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;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}var Ur=0,Zn=1,As=2,Xn=4,_a=8,E8=[];function _8(){for(var e=0;e<E8.length;e++){var t=E8[e];t._workInProgressVersionPrimary=null}E8.length=0}function gN(e,t){var i=t._getVersion,u=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var xe=o.ReactCurrentDispatcher,vf=o.ReactCurrentBatchConfig,I8,F1;I8=new Set;var Lc=fe,Bt=null,Jn=null,ea=null,j3=!1,Tf=!1,bf=0,yN=0,vN=25,ce=null,To=null,ou=-1,N8=!1;function Dt(){{var e=ce;To===null?To=[e]:To.push(e)}}function Ce(){{var e=ce;To!==null&&(ou++,To[ou]!==e&&TN(e))}}function V1(e){e!=null&&!jn(e)&&f("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ce,typeof e)}function TN(e){{var t=mt(Bt);if(!I8.has(t)&&(I8.add(t),To!==null)){for(var i="",u=30,m=0;m<=ou;m++){for(var g=To[m],T=m===ou?e:g,E=m+1+". "+g;E.length<u;)E+=" ";E+=T+`
|
|
104
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function E3(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function _3(e){{var t=mt(e)||"Component";if(ug[t])return;ug[t]=!0,f("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function S7(e){var t=e._payload,i=e._init;return i(t)}function w7(e){function t(Z,ie){if(e){var X=Z.deletions;X===null?(Z.deletions=[ie],Z.flags|=Pt):X.push(ie)}}function i(Z,ie){if(!e)return null;for(var X=ie;X!==null;)t(Z,X),X=X.sibling;return null}function u(Z,ie){for(var X=new Map,ve=ie;ve!==null;)ve.key!==null?X.set(ve.key,ve):X.set(ve.index,ve),ve=ve.sibling;return X}function m(Z,ie){var X=Uc(Z,ie);return X.index=0,X.sibling=null,X}function g(Z,ie,X){if(Z.index=X,!e)return Z.flags|=u0,ie;var ve=Z.alternate;if(ve!==null){var Ae=ve.index;return Ae<ie?(Z.flags|=Kt,ie):Ae}else return Z.flags|=Kt,ie}function T(Z){return e&&Z.alternate===null&&(Z.flags|=Kt),Z}function E(Z,ie,X,ve){if(ie===null||ie.tag!==D){var Ae=r5(X,Z.mode,ve);return Ae.return=Z,Ae}else{var Le=m(ie,X);return Le.return=Z,Le}}function I(Z,ie,X,ve){var Ae=X.type;if(Ae===Lo)return A(Z,ie,X.props.children,ve,X.key);if(ie!==null&&(ie.elementType===Ae||NT(ie,X)||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===Sa&&S7(Ae)===ie.type)){var Le=m(ie,X.props);return Le.ref=pf(Z,ie,X),Le.return=Z,Le._debugSource=X._source,Le._debugOwner=X._owner,Le}var nt=a5(X,Z.mode,ve);return nt.ref=pf(Z,ie,X),nt.return=Z,nt}function x(Z,ie,X,ve){if(ie===null||ie.tag!==R||ie.stateNode.containerInfo!==X.containerInfo||ie.stateNode.implementation!==X.implementation){var Ae=o5(X,Z.mode,ve);return Ae.return=Z,Ae}else{var Le=m(ie,X.children||[]);return Le.return=Z,Le}}function A(Z,ie,X,ve,Ae){if(ie===null||ie.tag!==F){var Le=mu(X,Z.mode,ve,Ae);return Le.return=Z,Le}else{var nt=m(ie,X);return nt.return=Z,nt}}function q(Z,ie,X){if(typeof ie=="string"&&ie!==""||typeof ie=="number"){var ve=r5(""+ie,Z.mode,X);return ve.return=Z,ve}if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case sl:{var Ae=a5(ie,Z.mode,X);return Ae.ref=pf(Z,null,ie),Ae.return=Z,Ae}case Gr:{var Le=o5(ie,Z.mode,X);return Le.return=Z,Le}case Sa:{var nt=ie._payload,dt=ie._init;return q(Z,dt(nt),X)}}if(jn(ie)||Oo(ie)){var $t=mu(ie,Z.mode,X,null);return $t.return=Z,$t}E3(Z,ie)}return typeof ie=="function"&&_3(Z),null}function H(Z,ie,X,ve){var Ae=ie!==null?ie.key:null;if(typeof X=="string"&&X!==""||typeof X=="number")return Ae!==null?null:E(Z,ie,""+X,ve);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case sl:return X.key===Ae?I(Z,ie,X,ve):null;case Gr:return X.key===Ae?x(Z,ie,X,ve):null;case Sa:{var Le=X._payload,nt=X._init;return H(Z,ie,nt(Le),ve)}}if(jn(X)||Oo(X))return Ae!==null?null:A(Z,ie,X,ve,null);E3(Z,X)}return typeof X=="function"&&_3(Z),null}function ne(Z,ie,X,ve,Ae){if(typeof ve=="string"&&ve!==""||typeof ve=="number"){var Le=Z.get(X)||null;return E(ie,Le,""+ve,Ae)}if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case sl:{var nt=Z.get(ve.key===null?X:ve.key)||null;return I(ie,nt,ve,Ae)}case Gr:{var dt=Z.get(ve.key===null?X:ve.key)||null;return x(ie,dt,ve,Ae)}case Sa:var $t=ve._payload,xt=ve._init;return ne(Z,ie,X,xt($t),Ae)}if(jn(ve)||Oo(ve)){var Mn=Z.get(X)||null;return A(ie,Mn,ve,Ae,null)}E3(ie,ve)}return typeof ve=="function"&&_3(ie),null}function oe(Z,ie,X){{if(typeof Z!="object"||Z===null)return ie;switch(Z.$$typeof){case sl:case Gr:k7(Z,X);var ve=Z.key;if(typeof ve!="string")break;if(ie===null){ie=new Set,ie.add(ve);break}if(!ie.has(ve)){ie.add(ve);break}f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",ve);break;case Sa:var Ae=Z._payload,Le=Z._init;oe(Le(Ae),ie,X);break}}return ie}function le(Z,ie,X,ve){for(var Ae=null,Le=0;Le<X.length;Le++){var nt=X[Le];Ae=oe(nt,Ae,Z)}for(var dt=null,$t=null,xt=ie,Mn=0,At=0,En=null;xt!==null&&At<X.length;At++){xt.index>At?(En=xt,xt=null):En=xt.sibling;var Za=H(Z,xt,X[At],ve);if(Za===null){xt===null&&(xt=En);break}e&&xt&&Za.alternate===null&&t(Z,xt),Mn=g(Za,Mn,At),$t===null?dt=Za:$t.sibling=Za,$t=Za,xt=En}if(At===X.length){if(i(Z,xt),Ea()){var xa=At;Cc(Z,xa)}return dt}if(xt===null){for(;At<X.length;At++){var no=q(Z,X[At],ve);no!==null&&(Mn=g(no,Mn,At),$t===null?dt=no:$t.sibling=no,$t=no)}if(Ea()){var fr=At;Cc(Z,fr)}return dt}for(var pr=u(Z,xt);At<X.length;At++){var Xa=ne(pr,Z,At,X[At],ve);Xa!==null&&(e&&Xa.alternate!==null&&pr.delete(Xa.key===null?At:Xa.key),Mn=g(Xa,Mn,At),$t===null?dt=Xa:$t.sibling=Xa,$t=Xa)}if(e&&pr.forEach(function(K1){return t(Z,K1)}),Ea()){var zi=At;Cc(Z,zi)}return dt}function Ee(Z,ie,X,ve){var Ae=Oo(X);if(typeof Ae!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&X[Symbol.toStringTag]==="Generator"&&(sg||f("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."),sg=!0),X.entries===Ae&&(og||f("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),og=!0);var Le=Ae.call(X);if(Le)for(var nt=null,dt=Le.next();!dt.done;dt=Le.next()){var $t=dt.value;nt=oe($t,nt,Z)}}var xt=Ae.call(X);if(xt==null)throw new Error("An iterable object provided no iterator.");for(var Mn=null,At=null,En=ie,Za=0,xa=0,no=null,fr=xt.next();En!==null&&!fr.done;xa++,fr=xt.next()){En.index>xa?(no=En,En=null):no=En.sibling;var pr=H(Z,En,fr.value,ve);if(pr===null){En===null&&(En=no);break}e&&En&&pr.alternate===null&&t(Z,En),Za=g(pr,Za,xa),At===null?Mn=pr:At.sibling=pr,At=pr,En=no}if(fr.done){if(i(Z,En),Ea()){var Xa=xa;Cc(Z,Xa)}return Mn}if(En===null){for(;!fr.done;xa++,fr=xt.next()){var zi=q(Z,fr.value,ve);zi!==null&&(Za=g(zi,Za,xa),At===null?Mn=zi:At.sibling=zi,At=zi)}if(Ea()){var K1=xa;Cc(Z,K1)}return Mn}for(var Gf=u(Z,En);!fr.done;xa++,fr=xt.next()){var js=ne(Gf,Z,xa,fr.value,ve);js!==null&&(e&&js.alternate!==null&&Gf.delete(js.key===null?xa:js.key),Za=g(js,Za,xa),At===null?Mn=js:At.sibling=js,At=js)}if(e&&Gf.forEach(function(NO){return t(Z,NO)}),Ea()){var IO=xa;Cc(Z,IO)}return Mn}function He(Z,ie,X,ve){if(ie!==null&&ie.tag===D){i(Z,ie.sibling);var Ae=m(ie,X);return Ae.return=Z,Ae}i(Z,ie);var Le=r5(X,Z.mode,ve);return Le.return=Z,Le}function Je(Z,ie,X,ve){for(var Ae=X.key,Le=ie;Le!==null;){if(Le.key===Ae){var nt=X.type;if(nt===Lo){if(Le.tag===F){i(Z,Le.sibling);var dt=m(Le,X.props.children);return dt.return=Z,dt._debugSource=X._source,dt._debugOwner=X._owner,dt}}else if(Le.elementType===nt||NT(Le,X)||typeof nt=="object"&&nt!==null&&nt.$$typeof===Sa&&S7(nt)===Le.type){i(Z,Le.sibling);var $t=m(Le,X.props);return $t.ref=pf(Z,Le,X),$t.return=Z,$t._debugSource=X._source,$t._debugOwner=X._owner,$t}i(Z,Le);break}else t(Z,Le);Le=Le.sibling}if(X.type===Lo){var xt=mu(X.props.children,Z.mode,ve,X.key);return xt.return=Z,xt}else{var Mn=a5(X,Z.mode,ve);return Mn.ref=pf(Z,ie,X),Mn.return=Z,Mn}}function kt(Z,ie,X,ve){for(var Ae=X.key,Le=ie;Le!==null;){if(Le.key===Ae)if(Le.tag===R&&Le.stateNode.containerInfo===X.containerInfo&&Le.stateNode.implementation===X.implementation){i(Z,Le.sibling);var nt=m(Le,X.children||[]);return nt.return=Z,nt}else{i(Z,Le);break}else t(Z,Le);Le=Le.sibling}var dt=o5(X,Z.mode,ve);return dt.return=Z,dt}function Tt(Z,ie,X,ve){var Ae=typeof X=="object"&&X!==null&&X.type===Lo&&X.key===null;if(Ae&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case sl:return T(Je(Z,ie,X,ve));case Gr:return T(kt(Z,ie,X,ve));case Sa:var Le=X._payload,nt=X._init;return Tt(Z,ie,nt(Le),ve)}if(jn(X))return le(Z,ie,X,ve);if(Oo(X))return Ee(Z,ie,X,ve);E3(Z,X)}return typeof X=="string"&&X!==""||typeof X=="number"?T(He(Z,ie,""+X,ve)):(typeof X=="function"&&_3(Z),i(Z,ie))}return Tt}var x1=w7(!0),C7=w7(!1);function aN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,u=Uc(i,i.pendingProps);for(t.child=u,u.return=t;i.sibling!==null;)i=i.sibling,u=u.sibling=Uc(i,i.pendingProps),u.return=t;u.sibling=null}}function rN(e,t){for(var i=e.child;i!==null;)GL(i,t),i=i.sibling}var cg=Xl(null),dg;dg={};var I3=null,A1=null,mg=null,N3=!1;function R3(){I3=null,A1=null,mg=null,N3=!1}function E7(){N3=!0}function _7(){N3=!1}function I7(e,t,i){Ya(cg,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==dg&&f("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=dg}function fg(e,t){var i=cg.current;Qa(cg,t),e._currentValue=i}function pg(e,t,i){for(var u=e;u!==null;){var m=u.alternate;if(ki(u.childLanes,t)?m!==null&&!ki(m.childLanes,t)&&(m.childLanes=ft(m.childLanes,t)):(u.childLanes=ft(u.childLanes,t),m!==null&&(m.childLanes=ft(m.childLanes,t))),u===i)break;u=u.return}u!==i&&f("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 oN(e,t,i){sN(e,t,i)}function sN(e,t,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var m=void 0,g=u.dependencies;if(g!==null){m=u.child;for(var T=g.firstContext;T!==null;){if(T.context===t){if(u.tag===C){var E=Ml(i),I=Ui(Wt,E);I.tag=O3;var x=u.updateQueue;if(x!==null){var A=x.shared,q=A.pending;q===null?I.next=I:(I.next=q.next,q.next=I),A.pending=I}}u.lanes=ft(u.lanes,i);var H=u.alternate;H!==null&&(H.lanes=ft(H.lanes,i)),pg(u.return,i,e),g.lanes=ft(g.lanes,i);break}T=T.next}}else if(u.tag===W)m=u.type===e.type?null:u.child;else if(u.tag===Ze){var ne=u.return;if(ne===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ne.lanes=ft(ne.lanes,i);var oe=ne.alternate;oe!==null&&(oe.lanes=ft(oe.lanes,i)),pg(ne,i,e),m=u.sibling}else m=u.child;if(m!==null)m.return=u;else for(m=u;m!==null;){if(m===e){m=null;break}var le=m.sibling;if(le!==null){le.return=m.return,m=le;break}m=m.return}u=m}}function P1(e,t){I3=e,A1=null,mg=null;var i=e.dependencies;if(i!==null){var u=i.firstContext;u!==null&&(Wa(i.lanes,t)&&Rf(),i.firstContext=null)}}function qn(e){N3&&f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(mg!==e){var i={context:e,memoizedValue:t,next:null};if(A1===null){if(I3===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");A1=i,I3.dependencies={lanes:fe,firstContext:i}}else A1=A1.next=i}return t}var Rc=null;function hg(e){Rc===null?Rc=[e]:Rc.push(e)}function iN(){if(Rc!==null){for(var e=0;e<Rc.length;e++){var t=Rc[e],i=t.interleaved;if(i!==null){t.interleaved=null;var u=i.next,m=t.pending;if(m!==null){var g=m.next;m.next=u,i.next=g}t.pending=i}}Rc=null}}function N7(e,t,i,u){var m=t.interleaved;return m===null?(i.next=i,hg(t)):(i.next=m.next,m.next=i),t.interleaved=i,L3(e,u)}function lN(e,t,i,u){var m=t.interleaved;m===null?(i.next=i,hg(t)):(i.next=m.next,m.next=i),t.interleaved=i}function uN(e,t,i,u){var m=t.interleaved;return m===null?(i.next=i,hg(t)):(i.next=m.next,m.next=i),t.interleaved=i,L3(e,u)}function Dr(e,t){return L3(e,t)}var cN=L3;function L3(e,t){e.lanes=ft(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ft(i.lanes,t)),i===null&&(e.flags&(Kt|Er))!==Ke&&CT(e);for(var u=e,m=e.return;m!==null;)m.childLanes=ft(m.childLanes,t),i=m.alternate,i!==null?i.childLanes=ft(i.childLanes,t):(m.flags&(Kt|Er))!==Ke&&CT(e),u=m,m=m.return;if(u.tag===N){var g=u.stateNode;return g}else return null}var R7=0,L7=1,O3=2,gg=3,x3=!1,yg,A3;yg=!1,A3=null;function vg(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:fe},effects:null};e.updateQueue=t}function O7(e,t){var i=t.updateQueue,u=e.updateQueue;if(i===u){var m={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=m}}function Ui(e,t){var i={eventTime:e,lane:t,tag:R7,payload:null,callback:null,next:null};return i}function nu(e,t,i){var u=e.updateQueue;if(u===null)return null;var m=u.shared;if(A3===m&&!yg&&(f("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),yg=!0),lL()){var g=m.pending;return g===null?t.next=t:(t.next=g.next,g.next=t),m.pending=t,cN(e,i)}else return uN(e,m,t,i)}function P3(e,t,i){var u=t.updateQueue;if(u!==null){var m=u.shared;if(C0(i)){var g=m.lanes;g=t1(g,e.pendingLanes);var T=ft(g,i);m.lanes=T,Dl(e,T)}}}function Tg(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null){var m=u.updateQueue;if(i===m){var g=null,T=null,E=i.firstBaseUpdate;if(E!==null){var I=E;do{var x={eventTime:I.eventTime,lane:I.lane,tag:I.tag,payload:I.payload,callback:I.callback,next:null};T===null?g=T=x:(T.next=x,T=x),I=I.next}while(I!==null);T===null?g=T=t:(T.next=t,T=t)}else g=T=t;i={baseState:m.baseState,firstBaseUpdate:g,lastBaseUpdate:T,shared:m.shared,effects:m.effects},e.updateQueue=i;return}}var A=i.lastBaseUpdate;A===null?i.firstBaseUpdate=t:A.next=t,i.lastBaseUpdate=t}function dN(e,t,i,u,m,g){switch(i.tag){case L7:{var T=i.payload;if(typeof T=="function"){E7();var E=T.call(g,u,m);{if(e.mode&bt){Sn(!0);try{T.call(g,u,m)}finally{Sn(!1)}}_7()}return E}return T}case gg:e.flags=e.flags&~$n|at;case R7:{var I=i.payload,x;if(typeof I=="function"){E7(),x=I.call(g,u,m);{if(e.mode&bt){Sn(!0);try{I.call(g,u,m)}finally{Sn(!1)}}_7()}}else x=I;return x==null?u:wt({},u,x)}case O3:return x3=!0,u}return u}function M3(e,t,i,u){var m=e.updateQueue;x3=!1,A3=m.shared;var g=m.firstBaseUpdate,T=m.lastBaseUpdate,E=m.shared.pending;if(E!==null){m.shared.pending=null;var I=E,x=I.next;I.next=null,T===null?g=x:T.next=x,T=I;var A=e.alternate;if(A!==null){var q=A.updateQueue,H=q.lastBaseUpdate;H!==T&&(H===null?q.firstBaseUpdate=x:H.next=x,q.lastBaseUpdate=I)}}if(g!==null){var ne=m.baseState,oe=fe,le=null,Ee=null,He=null,Je=g;do{var kt=Je.lane,Tt=Je.eventTime;if(ki(u,kt)){if(He!==null){var Z={eventTime:Tt,lane:wn,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};He=He.next=Z}ne=dN(e,m,Je,ne,t,i);var ie=Je.callback;if(ie!==null&&Je.lane!==wn){e.flags|=co;var X=m.effects;X===null?m.effects=[Je]:X.push(Je)}}else{var ve={eventTime:Tt,lane:kt,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};He===null?(Ee=He=ve,le=ne):He=He.next=ve,oe=ft(oe,kt)}if(Je=Je.next,Je===null){if(E=m.shared.pending,E===null)break;var Ae=E,Le=Ae.next;Ae.next=null,Je=Le,m.lastBaseUpdate=Ae,m.shared.pending=null}}while(!0);He===null&&(le=ne),m.baseState=le,m.firstBaseUpdate=Ee,m.lastBaseUpdate=He;var nt=m.shared.interleaved;if(nt!==null){var dt=nt;do oe=ft(oe,dt.lane),dt=dt.next;while(dt!==nt)}else g===null&&(m.shared.lanes=fe);jf(oe),e.lanes=oe,e.memoizedState=ne}A3=null}function mN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function x7(){x3=!1}function D3(){return x3}function A7(e,t,i){var u=t.effects;if(t.effects=null,u!==null)for(var m=0;m<u.length;m++){var g=u[m],T=g.callback;T!==null&&(g.callback=null,mN(T,i))}}var hf={},au=Xl(hf),gf=Xl(hf),U3=Xl(hf);function F3(e){if(e===hf)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function P7(){var e=F3(U3.current);return e}function bg(e,t){Ya(U3,t,e),Ya(gf,e,e),Ya(au,hf,e);var i=R_(t);Qa(au,e),Ya(au,i,e)}function M1(e){Qa(au,e),Qa(gf,e),Qa(U3,e)}function kg(){var e=F3(au.current);return e}function M7(e){F3(U3.current);var t=F3(au.current),i=L_(t,e.type);t!==i&&(Ya(gf,e,e),Ya(au,i,e))}function Sg(e){gf.current===e&&(Qa(au,e),Qa(gf,e))}var fN=0,D7=1,U7=1,yf=2,Zo=Xl(fN);function wg(e,t){return(e&t)!==0}function D1(e){return e&D7}function Cg(e,t){return e&D7|t}function pN(e,t){return e|t}function ru(e,t){Ya(Zo,t,e)}function U1(e){Qa(Zo,e)}function hN(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function V3(e){for(var t=e;t!==null;){if(t.tag===J){var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(u===null||e7(u)||$4(u))return t}}else if(t.tag===Ge&&t.memoizedProps.revealOrder!==void 0){var m=(t.flags&at)!==Ke;if(m)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;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}var Ur=0,Zn=1,As=2,Xn=4,_a=8,Eg=[];function _g(){for(var e=0;e<Eg.length;e++){var t=Eg[e];t._workInProgressVersionPrimary=null}Eg.length=0}function gN(e,t){var i=t._getVersion,u=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var xe=o.ReactCurrentDispatcher,vf=o.ReactCurrentBatchConfig,Ig,F1;Ig=new Set;var Lc=fe,Bt=null,Jn=null,ea=null,j3=!1,Tf=!1,bf=0,yN=0,vN=25,ce=null,To=null,ou=-1,Ng=!1;function Dt(){{var e=ce;To===null?To=[e]:To.push(e)}}function Ce(){{var e=ce;To!==null&&(ou++,To[ou]!==e&&TN(e))}}function V1(e){e!=null&&!jn(e)&&f("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ce,typeof e)}function TN(e){{var t=mt(Bt);if(!Ig.has(t)&&(Ig.add(t),To!==null)){for(var i="",u=30,m=0;m<=ou;m++){for(var g=To[m],T=m===ou?e:g,E=m+1+". "+g;E.length<u;)E+=" ";E+=T+`
|
|
105
105
|
`,i+=E}f(`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://reactjs.org/link/rules-of-hooks
|
|
106
106
|
|
|
107
107
|
Previous render Next render
|
|
@@ -111,14 +111,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
111
111
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
112
112
|
2. You might be breaking the Rules of Hooks
|
|
113
113
|
3. You might have more than one copy of React in the same app
|
|
114
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
114
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Rg(e,t){if(Ng)return!1;if(t===null)return f("%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.",ce),!1;e.length!==t.length&&f(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
115
115
|
|
|
116
116
|
Previous: %s
|
|
117
|
-
Incoming: %s`,ce,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Ue(e[i],t[i]))return!1;return!0}function j1(e,t,i,u,m,g){Lc=g,Bt=t,To=e!==null?e._debugHookTypes:null,ou=-1,N8=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=fe,e!==null&&e.memoizedState!==null?xe.current=ov:To!==null?xe.current=rv:xe.current=av;var T=i(u,m);if(Tf){var E=0;do{if(Tf=!1,bf=0,E>=vN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,N8=!1,Jn=null,ea=null,t.updateQueue=null,ou=-1,xe.current=sv,T=i(u,m)}while(Tf)}xe.current=J3,t._debugHookTypes=To;var I=Jn!==null&&Jn.next!==null;if(Lc=fe,Bt=null,Jn=null,ea=null,ce=null,To=null,ou=-1,e!==null&&(e.flags&Qn)!==(t.flags&Qn)&&(e.mode&$e)!==Be&&f("Internal React error: Expected static flag was missing. Please notify the React team."),j3=!1,I)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return T}function B1(){var e=bf!==0;return bf=0,e}function F7(e,t,i){t.updateQueue=e.updateQueue,(t.mode&ir)!==Be?t.flags&=~(mi|Ba|Jt|pt):t.flags&=~(Jt|pt),e.lanes=lc(e.lanes,i)}function V7(){if(xe.current=J3,j3){for(var e=Bt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}j3=!1}Lc=fe,Bt=null,Jn=null,ea=null,To=null,ou=-1,ce=null,X7=!1,Tf=!1,bf=0}function Ps(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ea===null?Bt.memoizedState=ea=e:ea=ea.next=e,ea}function bo(){var e;if(Jn===null){var t=Bt.alternate;t!==null?e=t.memoizedState:e=null}else e=Jn.next;var i;if(ea===null?i=Bt.memoizedState:i=ea.next,i!==null)ea=i,i=ea.next,Jn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Jn=e;var u={memoizedState:Jn.memoizedState,baseState:Jn.baseState,baseQueue:Jn.baseQueue,queue:Jn.queue,next:null};ea===null?Bt.memoizedState=ea=u:ea=ea.next=u}return ea}function j7(){return{lastEffect:null,stores:null}}function L8(e,t){return typeof t=="function"?t(e):t}function O8(e,t,i){var u=Ps(),m;i!==void 0?m=i(t):m=t,u.memoizedState=u.baseState=m;var g={pending:null,interleaved:null,lanes:fe,dispatch:null,lastRenderedReducer:e,lastRenderedState:m};u.queue=g;var T=g.dispatch=wN.bind(null,Bt,g);return[u.memoizedState,T]}function x8(e,t,i){var u=bo(),m=u.queue;if(m===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");m.lastRenderedReducer=e;var g=Jn,T=g.baseQueue,E=m.pending;if(E!==null){if(T!==null){var I=T.next,x=E.next;T.next=x,E.next=I}g.baseQueue!==T&&f("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=T=E,m.pending=null}if(T!==null){var A=T.next,q=g.baseState,H=null,ne=null,oe=null,le=A;do{var Ee=le.lane;if(ki(Lc,Ee)){if(oe!==null){var He={lane:wn,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};oe=oe.next=He}if(le.hasEagerState)q=le.eagerState;else{var Je=le.action;q=e(q,Je)}}else{var kt={lane:Ee,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};oe===null?(ne=oe=kt,H=q):oe=oe.next=kt,Bt.lanes=ft(Bt.lanes,Ee),jf(Ee)}le=le.next}while(le!==null&&le!==A);oe===null?H=q:oe.next=ne,Ue(q,u.memoizedState)||Rf(),u.memoizedState=q,u.baseState=H,u.baseQueue=oe,m.lastRenderedState=q}var Tt=m.interleaved;if(Tt!==null){var Z=Tt;do{var ie=Z.lane;Bt.lanes=ft(Bt.lanes,ie),jf(ie),Z=Z.next}while(Z!==Tt)}else T===null&&(m.lanes=fe);var X=m.dispatch;return[u.memoizedState,X]}function A8(e,t,i){var u=bo(),m=u.queue;if(m===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");m.lastRenderedReducer=e;var g=m.dispatch,T=m.pending,E=u.memoizedState;if(T!==null){m.pending=null;var I=T.next,x=I;do{var A=x.action;E=e(E,A),x=x.next}while(x!==I);Ue(E,u.memoizedState)||Rf(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),m.lastRenderedState=E}return[E,g]}function P8(e,t,i){var u=Bt,m=Ps(),g,T=Ea();if(T){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=i(),F1||g!==i()&&(f("The result of getServerSnapshot should be cached to avoid an infinite loop"),F1=!0)}else{if(g=t(),!F1){var E=t();Ue(g,E)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),F1=!0)}var I=Th();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ic(I,Lc)||B7(u,t,g)}m.memoizedState=g;var x={value:g,getSnapshot:t};return m.queue=x,G3(z7.bind(null,u,x,e),[e]),u.flags|=Jt,kf(Zn|_a,$7.bind(null,u,x,g,t),void 0,null),g}function B3(e,t,i){var u=Bt,m=bo(),g=t();if(!F1){var T=t();Ue(g,T)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),F1=!0)}var E=m.memoizedState,I=!Ue(E,g);I&&(m.memoizedState=g,Rf());var x=m.queue;if(wf(z7.bind(null,u,x,e),[e]),x.getSnapshot!==t||I||ea!==null&&ea.memoizedState.tag&Zn){u.flags|=Jt,kf(Zn|_a,$7.bind(null,u,x,g,t),void 0,null);var A=Th();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ic(A,Lc)||B7(u,t,g)}return g}function B7(e,t,i){e.flags|=Zu;var u={getSnapshot:t,value:i},m=Bt.updateQueue;if(m===null)m=j7(),Bt.updateQueue=m,m.stores=[u];else{var g=m.stores;g===null?m.stores=[u]:g.push(u)}}function $7(e,t,i,u){t.value=i,t.getSnapshot=u,H7(t)&&G7(e)}function z7(e,t,i){var u=function(){H7(t)&&G7(e)};return i(u)}function H7(e){var t=e.getSnapshot,i=e.value;try{var u=t();return!Ue(i,u)}catch{return!0}}function G7(e){var t=Dr(e,We);t!==null&&ra(t,e,We,Wt)}function $3(e){var t=Ps();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:fe,dispatch:null,lastRenderedReducer:L8,lastRenderedState:e};t.queue=i;var u=i.dispatch=CN.bind(null,Bt,i);return[t.memoizedState,u]}function M8(e){return x8(L8)}function D8(e){return A8(L8)}function kf(e,t,i,u){var m={tag:e,create:t,destroy:i,deps:u,next:null},g=Bt.updateQueue;if(g===null)g=j7(),Bt.updateQueue=g,g.lastEffect=m.next=m;else{var T=g.lastEffect;if(T===null)g.lastEffect=m.next=m;else{var E=T.next;T.next=m,m.next=E,g.lastEffect=m}}return m}function U8(e){var t=Ps();{var i={current:e};return t.memoizedState=i,i}}function z3(e){var t=bo();return t.memoizedState}function Sf(e,t,i,u){var m=Ps(),g=u===void 0?null:u;Bt.flags|=e,m.memoizedState=kf(Zn|t,i,void 0,g)}function H3(e,t,i,u){var m=bo(),g=u===void 0?null:u,T=void 0;if(Jn!==null){var E=Jn.memoizedState;if(T=E.destroy,g!==null){var I=E.deps;if(R8(g,I)){m.memoizedState=kf(t,i,T,g);return}}}Bt.flags|=e,m.memoizedState=kf(Zn|t,i,T,g)}function G3(e,t){return(Bt.mode&ir)!==Be?Sf(mi|Jt|bs,_a,e,t):Sf(Jt|bs,_a,e,t)}function wf(e,t){return H3(Jt,_a,e,t)}function F8(e,t){return Sf(pt,As,e,t)}function q3(e,t){return H3(pt,As,e,t)}function V8(e,t){var i=pt;return i|=ja,(Bt.mode&ir)!==Be&&(i|=Ba),Sf(i,Xn,e,t)}function W3(e,t){return H3(pt,Xn,e,t)}function q7(e,t){if(typeof t=="function"){var i=t,u=e();return i(u),function(){i(null)}}else if(t!=null){var m=t;m.hasOwnProperty("current")||f("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(m).join(", ")+"}");var g=e();return m.current=g,function(){m.current=null}}}function j8(e,t,i){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null,m=pt;return m|=ja,(Bt.mode&ir)!==Be&&(m|=Ba),Sf(m,Xn,q7.bind(null,t,e),u)}function Q3(e,t,i){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null;return H3(pt,Xn,q7.bind(null,t,e),u)}function bN(e,t){}var Y3=bN;function B8(e,t){var i=Ps(),u=t===void 0?null:t;return i.memoizedState=[e,u],e}function K3(e,t){var i=bo(),u=t===void 0?null:t,m=i.memoizedState;if(m!==null&&u!==null){var g=m[1];if(R8(u,g))return m[0]}return i.memoizedState=[e,u],e}function $8(e,t){var i=Ps(),u=t===void 0?null:t,m=e();return i.memoizedState=[m,u],m}function Z3(e,t){var i=bo(),u=t===void 0?null:t,m=i.memoizedState;if(m!==null&&u!==null){var g=m[1];if(R8(u,g))return m[0]}var T=e();return i.memoizedState=[T,u],T}function z8(e){var t=Ps();return t.memoizedState=e,e}function W7(e){var t=bo(),i=Jn,u=i.memoizedState;return Y7(t,u,e)}function Q7(e){var t=bo();if(Jn===null)return t.memoizedState=e,e;var i=Jn.memoizedState;return Y7(t,i,e)}function Y7(e,t,i){var u=!Np(Lc);if(u){if(!Ue(i,t)){var m=Op();Bt.lanes=ft(Bt.lanes,m),jf(m),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Rf()),e.memoizedState=i,i}function kN(e,t,i){var u=Or();xn(ca(u,Kn)),e(!0);var m=vf.transition;vf.transition={};var g=vf.transition;vf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(xn(u),vf.transition=m,m===null&&g._updatedFibers){var T=g._updatedFibers.size;T>10&&p("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),g._updatedFibers.clear()}}}function H8(){var e=$3(!1),t=e[0],i=e[1],u=kN.bind(null,i),m=Ps();return m.memoizedState=u,[t,u]}function K7(){var e=M8(),t=e[0],i=bo(),u=i.memoizedState;return[t,u]}function Z7(){var e=D8(),t=e[0],i=bo(),u=i.memoizedState;return[t,u]}var X7=!1;function SN(){return X7}function G8(){var e=Ps(),t=Th(),i=t.identifierPrefix,u;if(Ea()){var m=VI();u=":"+i+"R"+m;var g=bf++;g>0&&(u+="H"+g.toString(32)),u+=":"}else{var T=yN++;u=":"+i+"r"+T.toString(32)+":"}return e.memoizedState=u,u}function X3(){var e=bo(),t=e.memoizedState;return t}function wN(e,t,i){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=cu(e),m={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(J7(e))ev(t,m);else{var g=N7(e,t,m,u);if(g!==null){var T=mr();ra(g,e,u,T),tv(g,t,u)}}nv(e,u)}function CN(e,t,i){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=cu(e),m={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(J7(e))ev(t,m);else{var g=e.alternate;if(e.lanes===fe&&(g===null||g.lanes===fe)){var T=t.lastRenderedReducer;if(T!==null){var E;E=xe.current,xe.current=Xo;try{var I=t.lastRenderedState,x=T(I,i);if(m.hasEagerState=!0,m.eagerState=x,Ue(x,I)){lN(e,t,m,u);return}}catch{}finally{xe.current=E}}}var A=N7(e,t,m,u);if(A!==null){var q=mr();ra(A,e,u,q),tv(A,t,u)}}nv(e,u)}function J7(e){var t=e.alternate;return e===Bt||t!==null&&t===Bt}function ev(e,t){Tf=j3=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function tv(e,t,i){if(C0(i)){var u=t.lanes;u=t1(u,e.pendingLanes);var m=ft(u,i);t.lanes=m,Dl(e,m)}}function nv(e,t,i){tc(e,t)}var J3={readContext:qn,useCallback:Ka,useContext:Ka,useEffect:Ka,useImperativeHandle:Ka,useInsertionEffect:Ka,useLayoutEffect:Ka,useMemo:Ka,useReducer:Ka,useRef:Ka,useState:Ka,useDebugValue:Ka,useDeferredValue:Ka,useTransition:Ka,useMutableSource:Ka,useSyncExternalStore:Ka,useId:Ka,unstable_isNewReconciler:Te},av=null,rv=null,ov=null,sv=null,Ms=null,Xo=null,eh=null;{var q8=function(){f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ut=function(){f("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};av={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Dt(),V1(t),B8(e,t)},useContext:function(e){return ce="useContext",Dt(),qn(e)},useEffect:function(e,t){return ce="useEffect",Dt(),V1(t),G3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Dt(),V1(i),j8(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Dt(),V1(t),F8(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Dt(),V1(t),V8(e,t)},useMemo:function(e,t){ce="useMemo",Dt(),V1(t);var i=xe.current;xe.current=Ms;try{return $8(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Dt();var u=xe.current;xe.current=Ms;try{return O8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Dt(),U8(e)},useState:function(e){ce="useState",Dt();var t=xe.current;xe.current=Ms;try{return $3(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Dt(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Dt(),z8(e)},useTransition:function(){return ce="useTransition",Dt(),H8()},useMutableSource:function(e,t,i){return ce="useMutableSource",Dt(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Dt(),P8(e,t,i)},useId:function(){return ce="useId",Dt(),G8()},unstable_isNewReconciler:Te},rv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Ce(),B8(e,t)},useContext:function(e){return ce="useContext",Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",Ce(),G3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Ce(),j8(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ce(),F8(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ce(),V8(e,t)},useMemo:function(e,t){ce="useMemo",Ce();var i=xe.current;xe.current=Ms;try{return $8(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Ce();var u=xe.current;xe.current=Ms;try{return O8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Ce(),U8(e)},useState:function(e){ce="useState",Ce();var t=xe.current;xe.current=Ms;try{return $3(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ce(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Ce(),z8(e)},useTransition:function(){return ce="useTransition",Ce(),H8()},useMutableSource:function(e,t,i){return ce="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Ce(),P8(e,t,i)},useId:function(){return ce="useId",Ce(),G8()},unstable_isNewReconciler:Te},ov={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Ce(),K3(e,t)},useContext:function(e){return ce="useContext",Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",Ce();var i=xe.current;xe.current=Xo;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Ce();var u=xe.current;xe.current=Xo;try{return x8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Ce(),z3()},useState:function(e){ce="useState",Ce();var t=xe.current;xe.current=Xo;try{return M8(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",Ce(),W7(e)},useTransition:function(){return ce="useTransition",Ce(),K7()},useMutableSource:function(e,t,i){return ce="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Ce(),B3(e,t)},useId:function(){return ce="useId",Ce(),X3()},unstable_isNewReconciler:Te},sv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Ce(),K3(e,t)},useContext:function(e){return ce="useContext",Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",Ce();var i=xe.current;xe.current=eh;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Ce();var u=xe.current;xe.current=eh;try{return A8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Ce(),z3()},useState:function(e){ce="useState",Ce();var t=xe.current;xe.current=eh;try{return D8(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",Ce(),Q7(e)},useTransition:function(){return ce="useTransition",Ce(),Z7()},useMutableSource:function(e,t,i){return ce="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Ce(),B3(e,t)},useId:function(){return ce="useId",Ce(),X3()},unstable_isNewReconciler:Te},Ms={readContext:function(e){return q8(),qn(e)},useCallback:function(e,t){return ce="useCallback",ut(),Dt(),B8(e,t)},useContext:function(e){return ce="useContext",ut(),Dt(),qn(e)},useEffect:function(e,t){return ce="useEffect",ut(),Dt(),G3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ut(),Dt(),j8(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ut(),Dt(),F8(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ut(),Dt(),V8(e,t)},useMemo:function(e,t){ce="useMemo",ut(),Dt();var i=xe.current;xe.current=Ms;try{return $8(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",ut(),Dt();var u=xe.current;xe.current=Ms;try{return O8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",ut(),Dt(),U8(e)},useState:function(e){ce="useState",ut(),Dt();var t=xe.current;xe.current=Ms;try{return $3(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ut(),Dt(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",ut(),Dt(),z8(e)},useTransition:function(){return ce="useTransition",ut(),Dt(),H8()},useMutableSource:function(e,t,i){return ce="useMutableSource",ut(),Dt(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ut(),Dt(),P8(e,t,i)},useId:function(){return ce="useId",ut(),Dt(),G8()},unstable_isNewReconciler:Te},Xo={readContext:function(e){return q8(),qn(e)},useCallback:function(e,t){return ce="useCallback",ut(),Ce(),K3(e,t)},useContext:function(e){return ce="useContext",ut(),Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",ut(),Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ut(),Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ut(),Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ut(),Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",ut(),Ce();var i=xe.current;xe.current=Xo;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",ut(),Ce();var u=xe.current;xe.current=Xo;try{return x8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",ut(),Ce(),z3()},useState:function(e){ce="useState",ut(),Ce();var t=xe.current;xe.current=Xo;try{return M8(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ut(),Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",ut(),Ce(),W7(e)},useTransition:function(){return ce="useTransition",ut(),Ce(),K7()},useMutableSource:function(e,t,i){return ce="useMutableSource",ut(),Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ut(),Ce(),B3(e,t)},useId:function(){return ce="useId",ut(),Ce(),X3()},unstable_isNewReconciler:Te},eh={readContext:function(e){return q8(),qn(e)},useCallback:function(e,t){return ce="useCallback",ut(),Ce(),K3(e,t)},useContext:function(e){return ce="useContext",ut(),Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",ut(),Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ut(),Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ut(),Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ut(),Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",ut(),Ce();var i=xe.current;xe.current=Xo;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",ut(),Ce();var u=xe.current;xe.current=Xo;try{return A8(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",ut(),Ce(),z3()},useState:function(e){ce="useState",ut(),Ce();var t=xe.current;xe.current=Xo;try{return D8(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ut(),Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",ut(),Ce(),Q7(e)},useTransition:function(){return ce="useTransition",ut(),Ce(),Z7()},useMutableSource:function(e,t,i){return ce="useMutableSource",ut(),Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ut(),Ce(),B3(e,t)},useId:function(){return ce="useId",ut(),Ce(),X3()},unstable_isNewReconciler:Te}}var su=a.unstable_now,iv=0,th=-1,Cf=-1,nh=-1,W8=!1,ah=!1;function lv(){return W8}function EN(){ah=!0}function _N(){W8=!1,ah=!1}function IN(){W8=ah,ah=!1}function uv(){return iv}function cv(){iv=su()}function Q8(e){Cf=su(),e.actualStartTime<0&&(e.actualStartTime=su())}function dv(e){Cf=-1}function rh(e,t){if(Cf>=0){var i=su()-Cf;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Cf=-1}}function Ds(e){if(th>=0){var t=su()-th;th=-1;for(var i=e.return;i!==null;){switch(i.tag){case N:var u=i.stateNode;u.effectDuration+=t;return;case te:var m=i.stateNode;m.effectDuration+=t;return}i=i.return}}}function Y8(e){if(nh>=0){var t=su()-nh;nh=-1;for(var i=e.return;i!==null;){switch(i.tag){case N:var u=i.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case te:var m=i.stateNode;m!==null&&(m.passiveEffectDuration+=t);return}i=i.return}}}function Us(){th=su()}function K8(){nh=su()}function Z8(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Jo(e,t){if(e&&e.defaultProps){var i=wt({},t),u=e.defaultProps;for(var m in u)i[m]===void 0&&(i[m]=u[m]);return i}return t}var X8={},J8,eg,tg,ng,ag,mv,oh,rg,og,sg,Ef;{J8=new Set,eg=new Set,tg=new Set,ng=new Set,rg=new Set,ag=new Set,og=new Set,sg=new Set,Ef=new Set;var fv=new Set;oh=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;fv.has(i)||(fv.add(i),f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},mv=function(e,t){if(t===void 0){var i=Vt(e)||"Component";ag.has(i)||(ag.add(i),f("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(X8,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(X8)}function ig(e,t,i,u){var m=e.memoizedState,g=i(u,m);{if(e.mode&bt){Sn(!0);try{g=i(u,m)}finally{Sn(!1)}}mv(t,g)}var T=g==null?m:wt({},m,g);if(e.memoizedState=T,e.lanes===fe){var E=e.updateQueue;E.baseState=T}}var lg={isMounted:or,enqueueSetState:function(e,t,i){var u=wr(e),m=mr(),g=cu(u),T=Ui(m,g);T.payload=t,i!=null&&(oh(i,"setState"),T.callback=i);var E=nu(u,T,g);E!==null&&(ra(E,u,g,m),P3(E,u,g)),tc(u,g)},enqueueReplaceState:function(e,t,i){var u=wr(e),m=mr(),g=cu(u),T=Ui(m,g);T.tag=L7,T.payload=t,i!=null&&(oh(i,"replaceState"),T.callback=i);var E=nu(u,T,g);E!==null&&(ra(E,u,g,m),P3(E,u,g)),tc(u,g)},enqueueForceUpdate:function(e,t){var i=wr(e),u=mr(),m=cu(i),g=Ui(u,m);g.tag=O3,t!=null&&(oh(t,"forceUpdate"),g.callback=t);var T=nu(i,g,m);T!==null&&(ra(T,i,m,u),P3(T,i,m)),Fd(i,m)}};function pv(e,t,i,u,m,g,T){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var I=E.shouldComponentUpdate(u,g,T);{if(e.mode&bt){Sn(!0);try{I=E.shouldComponentUpdate(u,g,T)}finally{Sn(!1)}}I===void 0&&f("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vt(t)||"Component")}return I}return t.prototype&&t.prototype.isPureReactComponent?!Ye(i,u)||!Ye(m,g):!0}function NN(e,t,i){var u=e.stateNode;{var m=Vt(t)||"Component",g=u.render;g||(t.prototype&&typeof t.prototype.render=="function"?f("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",m):f("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",m)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&f("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?",m),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&f("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.",m),u.propTypes&&f("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",m),u.contextType&&f("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),t.childContextTypes&&!Ef.has(t)&&(e.mode&bt)===Be&&(Ef.add(t),f(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
117
|
+
Incoming: %s`,ce,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Ue(e[i],t[i]))return!1;return!0}function j1(e,t,i,u,m,g){Lc=g,Bt=t,To=e!==null?e._debugHookTypes:null,ou=-1,Ng=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=fe,e!==null&&e.memoizedState!==null?xe.current=ov:To!==null?xe.current=rv:xe.current=av;var T=i(u,m);if(Tf){var E=0;do{if(Tf=!1,bf=0,E>=vN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,Ng=!1,Jn=null,ea=null,t.updateQueue=null,ou=-1,xe.current=sv,T=i(u,m)}while(Tf)}xe.current=J3,t._debugHookTypes=To;var I=Jn!==null&&Jn.next!==null;if(Lc=fe,Bt=null,Jn=null,ea=null,ce=null,To=null,ou=-1,e!==null&&(e.flags&Qn)!==(t.flags&Qn)&&(e.mode&$e)!==Be&&f("Internal React error: Expected static flag was missing. Please notify the React team."),j3=!1,I)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return T}function B1(){var e=bf!==0;return bf=0,e}function F7(e,t,i){t.updateQueue=e.updateQueue,(t.mode&ir)!==Be?t.flags&=~(mi|Ba|Jt|pt):t.flags&=~(Jt|pt),e.lanes=lc(e.lanes,i)}function V7(){if(xe.current=J3,j3){for(var e=Bt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}j3=!1}Lc=fe,Bt=null,Jn=null,ea=null,To=null,ou=-1,ce=null,X7=!1,Tf=!1,bf=0}function Ps(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ea===null?Bt.memoizedState=ea=e:ea=ea.next=e,ea}function bo(){var e;if(Jn===null){var t=Bt.alternate;t!==null?e=t.memoizedState:e=null}else e=Jn.next;var i;if(ea===null?i=Bt.memoizedState:i=ea.next,i!==null)ea=i,i=ea.next,Jn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Jn=e;var u={memoizedState:Jn.memoizedState,baseState:Jn.baseState,baseQueue:Jn.baseQueue,queue:Jn.queue,next:null};ea===null?Bt.memoizedState=ea=u:ea=ea.next=u}return ea}function j7(){return{lastEffect:null,stores:null}}function Lg(e,t){return typeof t=="function"?t(e):t}function Og(e,t,i){var u=Ps(),m;i!==void 0?m=i(t):m=t,u.memoizedState=u.baseState=m;var g={pending:null,interleaved:null,lanes:fe,dispatch:null,lastRenderedReducer:e,lastRenderedState:m};u.queue=g;var T=g.dispatch=wN.bind(null,Bt,g);return[u.memoizedState,T]}function xg(e,t,i){var u=bo(),m=u.queue;if(m===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");m.lastRenderedReducer=e;var g=Jn,T=g.baseQueue,E=m.pending;if(E!==null){if(T!==null){var I=T.next,x=E.next;T.next=x,E.next=I}g.baseQueue!==T&&f("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=T=E,m.pending=null}if(T!==null){var A=T.next,q=g.baseState,H=null,ne=null,oe=null,le=A;do{var Ee=le.lane;if(ki(Lc,Ee)){if(oe!==null){var He={lane:wn,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};oe=oe.next=He}if(le.hasEagerState)q=le.eagerState;else{var Je=le.action;q=e(q,Je)}}else{var kt={lane:Ee,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};oe===null?(ne=oe=kt,H=q):oe=oe.next=kt,Bt.lanes=ft(Bt.lanes,Ee),jf(Ee)}le=le.next}while(le!==null&&le!==A);oe===null?H=q:oe.next=ne,Ue(q,u.memoizedState)||Rf(),u.memoizedState=q,u.baseState=H,u.baseQueue=oe,m.lastRenderedState=q}var Tt=m.interleaved;if(Tt!==null){var Z=Tt;do{var ie=Z.lane;Bt.lanes=ft(Bt.lanes,ie),jf(ie),Z=Z.next}while(Z!==Tt)}else T===null&&(m.lanes=fe);var X=m.dispatch;return[u.memoizedState,X]}function Ag(e,t,i){var u=bo(),m=u.queue;if(m===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");m.lastRenderedReducer=e;var g=m.dispatch,T=m.pending,E=u.memoizedState;if(T!==null){m.pending=null;var I=T.next,x=I;do{var A=x.action;E=e(E,A),x=x.next}while(x!==I);Ue(E,u.memoizedState)||Rf(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),m.lastRenderedState=E}return[E,g]}function Pg(e,t,i){var u=Bt,m=Ps(),g,T=Ea();if(T){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=i(),F1||g!==i()&&(f("The result of getServerSnapshot should be cached to avoid an infinite loop"),F1=!0)}else{if(g=t(),!F1){var E=t();Ue(g,E)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),F1=!0)}var I=Th();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ic(I,Lc)||B7(u,t,g)}m.memoizedState=g;var x={value:g,getSnapshot:t};return m.queue=x,G3(z7.bind(null,u,x,e),[e]),u.flags|=Jt,kf(Zn|_a,$7.bind(null,u,x,g,t),void 0,null),g}function B3(e,t,i){var u=Bt,m=bo(),g=t();if(!F1){var T=t();Ue(g,T)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),F1=!0)}var E=m.memoizedState,I=!Ue(E,g);I&&(m.memoizedState=g,Rf());var x=m.queue;if(wf(z7.bind(null,u,x,e),[e]),x.getSnapshot!==t||I||ea!==null&&ea.memoizedState.tag&Zn){u.flags|=Jt,kf(Zn|_a,$7.bind(null,u,x,g,t),void 0,null);var A=Th();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ic(A,Lc)||B7(u,t,g)}return g}function B7(e,t,i){e.flags|=Zu;var u={getSnapshot:t,value:i},m=Bt.updateQueue;if(m===null)m=j7(),Bt.updateQueue=m,m.stores=[u];else{var g=m.stores;g===null?m.stores=[u]:g.push(u)}}function $7(e,t,i,u){t.value=i,t.getSnapshot=u,H7(t)&&G7(e)}function z7(e,t,i){var u=function(){H7(t)&&G7(e)};return i(u)}function H7(e){var t=e.getSnapshot,i=e.value;try{var u=t();return!Ue(i,u)}catch{return!0}}function G7(e){var t=Dr(e,We);t!==null&&ra(t,e,We,Wt)}function $3(e){var t=Ps();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:fe,dispatch:null,lastRenderedReducer:Lg,lastRenderedState:e};t.queue=i;var u=i.dispatch=CN.bind(null,Bt,i);return[t.memoizedState,u]}function Mg(e){return xg(Lg)}function Dg(e){return Ag(Lg)}function kf(e,t,i,u){var m={tag:e,create:t,destroy:i,deps:u,next:null},g=Bt.updateQueue;if(g===null)g=j7(),Bt.updateQueue=g,g.lastEffect=m.next=m;else{var T=g.lastEffect;if(T===null)g.lastEffect=m.next=m;else{var E=T.next;T.next=m,m.next=E,g.lastEffect=m}}return m}function Ug(e){var t=Ps();{var i={current:e};return t.memoizedState=i,i}}function z3(e){var t=bo();return t.memoizedState}function Sf(e,t,i,u){var m=Ps(),g=u===void 0?null:u;Bt.flags|=e,m.memoizedState=kf(Zn|t,i,void 0,g)}function H3(e,t,i,u){var m=bo(),g=u===void 0?null:u,T=void 0;if(Jn!==null){var E=Jn.memoizedState;if(T=E.destroy,g!==null){var I=E.deps;if(Rg(g,I)){m.memoizedState=kf(t,i,T,g);return}}}Bt.flags|=e,m.memoizedState=kf(Zn|t,i,T,g)}function G3(e,t){return(Bt.mode&ir)!==Be?Sf(mi|Jt|bs,_a,e,t):Sf(Jt|bs,_a,e,t)}function wf(e,t){return H3(Jt,_a,e,t)}function Fg(e,t){return Sf(pt,As,e,t)}function q3(e,t){return H3(pt,As,e,t)}function Vg(e,t){var i=pt;return i|=ja,(Bt.mode&ir)!==Be&&(i|=Ba),Sf(i,Xn,e,t)}function W3(e,t){return H3(pt,Xn,e,t)}function q7(e,t){if(typeof t=="function"){var i=t,u=e();return i(u),function(){i(null)}}else if(t!=null){var m=t;m.hasOwnProperty("current")||f("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(m).join(", ")+"}");var g=e();return m.current=g,function(){m.current=null}}}function jg(e,t,i){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null,m=pt;return m|=ja,(Bt.mode&ir)!==Be&&(m|=Ba),Sf(m,Xn,q7.bind(null,t,e),u)}function Q3(e,t,i){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null;return H3(pt,Xn,q7.bind(null,t,e),u)}function bN(e,t){}var Y3=bN;function Bg(e,t){var i=Ps(),u=t===void 0?null:t;return i.memoizedState=[e,u],e}function K3(e,t){var i=bo(),u=t===void 0?null:t,m=i.memoizedState;if(m!==null&&u!==null){var g=m[1];if(Rg(u,g))return m[0]}return i.memoizedState=[e,u],e}function $g(e,t){var i=Ps(),u=t===void 0?null:t,m=e();return i.memoizedState=[m,u],m}function Z3(e,t){var i=bo(),u=t===void 0?null:t,m=i.memoizedState;if(m!==null&&u!==null){var g=m[1];if(Rg(u,g))return m[0]}var T=e();return i.memoizedState=[T,u],T}function zg(e){var t=Ps();return t.memoizedState=e,e}function W7(e){var t=bo(),i=Jn,u=i.memoizedState;return Y7(t,u,e)}function Q7(e){var t=bo();if(Jn===null)return t.memoizedState=e,e;var i=Jn.memoizedState;return Y7(t,i,e)}function Y7(e,t,i){var u=!Np(Lc);if(u){if(!Ue(i,t)){var m=Op();Bt.lanes=ft(Bt.lanes,m),jf(m),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Rf()),e.memoizedState=i,i}function kN(e,t,i){var u=Or();xn(ca(u,Kn)),e(!0);var m=vf.transition;vf.transition={};var g=vf.transition;vf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(xn(u),vf.transition=m,m===null&&g._updatedFibers){var T=g._updatedFibers.size;T>10&&p("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),g._updatedFibers.clear()}}}function Hg(){var e=$3(!1),t=e[0],i=e[1],u=kN.bind(null,i),m=Ps();return m.memoizedState=u,[t,u]}function K7(){var e=Mg(),t=e[0],i=bo(),u=i.memoizedState;return[t,u]}function Z7(){var e=Dg(),t=e[0],i=bo(),u=i.memoizedState;return[t,u]}var X7=!1;function SN(){return X7}function Gg(){var e=Ps(),t=Th(),i=t.identifierPrefix,u;if(Ea()){var m=VI();u=":"+i+"R"+m;var g=bf++;g>0&&(u+="H"+g.toString(32)),u+=":"}else{var T=yN++;u=":"+i+"r"+T.toString(32)+":"}return e.memoizedState=u,u}function X3(){var e=bo(),t=e.memoizedState;return t}function wN(e,t,i){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=cu(e),m={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(J7(e))ev(t,m);else{var g=N7(e,t,m,u);if(g!==null){var T=mr();ra(g,e,u,T),tv(g,t,u)}}nv(e,u)}function CN(e,t,i){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=cu(e),m={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(J7(e))ev(t,m);else{var g=e.alternate;if(e.lanes===fe&&(g===null||g.lanes===fe)){var T=t.lastRenderedReducer;if(T!==null){var E;E=xe.current,xe.current=Xo;try{var I=t.lastRenderedState,x=T(I,i);if(m.hasEagerState=!0,m.eagerState=x,Ue(x,I)){lN(e,t,m,u);return}}catch{}finally{xe.current=E}}}var A=N7(e,t,m,u);if(A!==null){var q=mr();ra(A,e,u,q),tv(A,t,u)}}nv(e,u)}function J7(e){var t=e.alternate;return e===Bt||t!==null&&t===Bt}function ev(e,t){Tf=j3=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function tv(e,t,i){if(C0(i)){var u=t.lanes;u=t1(u,e.pendingLanes);var m=ft(u,i);t.lanes=m,Dl(e,m)}}function nv(e,t,i){tc(e,t)}var J3={readContext:qn,useCallback:Ka,useContext:Ka,useEffect:Ka,useImperativeHandle:Ka,useInsertionEffect:Ka,useLayoutEffect:Ka,useMemo:Ka,useReducer:Ka,useRef:Ka,useState:Ka,useDebugValue:Ka,useDeferredValue:Ka,useTransition:Ka,useMutableSource:Ka,useSyncExternalStore:Ka,useId:Ka,unstable_isNewReconciler:Te},av=null,rv=null,ov=null,sv=null,Ms=null,Xo=null,eh=null;{var qg=function(){f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ut=function(){f("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};av={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Dt(),V1(t),Bg(e,t)},useContext:function(e){return ce="useContext",Dt(),qn(e)},useEffect:function(e,t){return ce="useEffect",Dt(),V1(t),G3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Dt(),V1(i),jg(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Dt(),V1(t),Fg(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Dt(),V1(t),Vg(e,t)},useMemo:function(e,t){ce="useMemo",Dt(),V1(t);var i=xe.current;xe.current=Ms;try{return $g(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Dt();var u=xe.current;xe.current=Ms;try{return Og(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Dt(),Ug(e)},useState:function(e){ce="useState",Dt();var t=xe.current;xe.current=Ms;try{return $3(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Dt(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Dt(),zg(e)},useTransition:function(){return ce="useTransition",Dt(),Hg()},useMutableSource:function(e,t,i){return ce="useMutableSource",Dt(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Dt(),Pg(e,t,i)},useId:function(){return ce="useId",Dt(),Gg()},unstable_isNewReconciler:Te},rv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Ce(),Bg(e,t)},useContext:function(e){return ce="useContext",Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",Ce(),G3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Ce(),jg(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ce(),Fg(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ce(),Vg(e,t)},useMemo:function(e,t){ce="useMemo",Ce();var i=xe.current;xe.current=Ms;try{return $g(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Ce();var u=xe.current;xe.current=Ms;try{return Og(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Ce(),Ug(e)},useState:function(e){ce="useState",Ce();var t=xe.current;xe.current=Ms;try{return $3(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ce(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Ce(),zg(e)},useTransition:function(){return ce="useTransition",Ce(),Hg()},useMutableSource:function(e,t,i){return ce="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Ce(),Pg(e,t,i)},useId:function(){return ce="useId",Ce(),Gg()},unstable_isNewReconciler:Te},ov={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Ce(),K3(e,t)},useContext:function(e){return ce="useContext",Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",Ce();var i=xe.current;xe.current=Xo;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Ce();var u=xe.current;xe.current=Xo;try{return xg(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Ce(),z3()},useState:function(e){ce="useState",Ce();var t=xe.current;xe.current=Xo;try{return Mg(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",Ce(),W7(e)},useTransition:function(){return ce="useTransition",Ce(),K7()},useMutableSource:function(e,t,i){return ce="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Ce(),B3(e,t)},useId:function(){return ce="useId",Ce(),X3()},unstable_isNewReconciler:Te},sv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Ce(),K3(e,t)},useContext:function(e){return ce="useContext",Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",Ce();var i=xe.current;xe.current=eh;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",Ce();var u=xe.current;xe.current=eh;try{return Ag(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",Ce(),z3()},useState:function(e){ce="useState",Ce();var t=xe.current;xe.current=eh;try{return Dg(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",Ce(),Q7(e)},useTransition:function(){return ce="useTransition",Ce(),Z7()},useMutableSource:function(e,t,i){return ce="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Ce(),B3(e,t)},useId:function(){return ce="useId",Ce(),X3()},unstable_isNewReconciler:Te},Ms={readContext:function(e){return qg(),qn(e)},useCallback:function(e,t){return ce="useCallback",ut(),Dt(),Bg(e,t)},useContext:function(e){return ce="useContext",ut(),Dt(),qn(e)},useEffect:function(e,t){return ce="useEffect",ut(),Dt(),G3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ut(),Dt(),jg(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ut(),Dt(),Fg(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ut(),Dt(),Vg(e,t)},useMemo:function(e,t){ce="useMemo",ut(),Dt();var i=xe.current;xe.current=Ms;try{return $g(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",ut(),Dt();var u=xe.current;xe.current=Ms;try{return Og(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",ut(),Dt(),Ug(e)},useState:function(e){ce="useState",ut(),Dt();var t=xe.current;xe.current=Ms;try{return $3(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ut(),Dt(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",ut(),Dt(),zg(e)},useTransition:function(){return ce="useTransition",ut(),Dt(),Hg()},useMutableSource:function(e,t,i){return ce="useMutableSource",ut(),Dt(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ut(),Dt(),Pg(e,t,i)},useId:function(){return ce="useId",ut(),Dt(),Gg()},unstable_isNewReconciler:Te},Xo={readContext:function(e){return qg(),qn(e)},useCallback:function(e,t){return ce="useCallback",ut(),Ce(),K3(e,t)},useContext:function(e){return ce="useContext",ut(),Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",ut(),Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ut(),Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ut(),Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ut(),Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",ut(),Ce();var i=xe.current;xe.current=Xo;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",ut(),Ce();var u=xe.current;xe.current=Xo;try{return xg(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",ut(),Ce(),z3()},useState:function(e){ce="useState",ut(),Ce();var t=xe.current;xe.current=Xo;try{return Mg(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ut(),Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",ut(),Ce(),W7(e)},useTransition:function(){return ce="useTransition",ut(),Ce(),K7()},useMutableSource:function(e,t,i){return ce="useMutableSource",ut(),Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ut(),Ce(),B3(e,t)},useId:function(){return ce="useId",ut(),Ce(),X3()},unstable_isNewReconciler:Te},eh={readContext:function(e){return qg(),qn(e)},useCallback:function(e,t){return ce="useCallback",ut(),Ce(),K3(e,t)},useContext:function(e){return ce="useContext",ut(),Ce(),qn(e)},useEffect:function(e,t){return ce="useEffect",ut(),Ce(),wf(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ut(),Ce(),Q3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ut(),Ce(),q3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ut(),Ce(),W3(e,t)},useMemo:function(e,t){ce="useMemo",ut(),Ce();var i=xe.current;xe.current=Xo;try{return Z3(e,t)}finally{xe.current=i}},useReducer:function(e,t,i){ce="useReducer",ut(),Ce();var u=xe.current;xe.current=Xo;try{return Ag(e,t,i)}finally{xe.current=u}},useRef:function(e){return ce="useRef",ut(),Ce(),z3()},useState:function(e){ce="useState",ut(),Ce();var t=xe.current;xe.current=Xo;try{return Dg(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ut(),Ce(),Y3()},useDeferredValue:function(e){return ce="useDeferredValue",ut(),Ce(),Q7(e)},useTransition:function(){return ce="useTransition",ut(),Ce(),Z7()},useMutableSource:function(e,t,i){return ce="useMutableSource",ut(),Ce(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ut(),Ce(),B3(e,t)},useId:function(){return ce="useId",ut(),Ce(),X3()},unstable_isNewReconciler:Te}}var su=a.unstable_now,iv=0,th=-1,Cf=-1,nh=-1,Wg=!1,ah=!1;function lv(){return Wg}function EN(){ah=!0}function _N(){Wg=!1,ah=!1}function IN(){Wg=ah,ah=!1}function uv(){return iv}function cv(){iv=su()}function Qg(e){Cf=su(),e.actualStartTime<0&&(e.actualStartTime=su())}function dv(e){Cf=-1}function rh(e,t){if(Cf>=0){var i=su()-Cf;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Cf=-1}}function Ds(e){if(th>=0){var t=su()-th;th=-1;for(var i=e.return;i!==null;){switch(i.tag){case N:var u=i.stateNode;u.effectDuration+=t;return;case te:var m=i.stateNode;m.effectDuration+=t;return}i=i.return}}}function Yg(e){if(nh>=0){var t=su()-nh;nh=-1;for(var i=e.return;i!==null;){switch(i.tag){case N:var u=i.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case te:var m=i.stateNode;m!==null&&(m.passiveEffectDuration+=t);return}i=i.return}}}function Us(){th=su()}function Kg(){nh=su()}function Zg(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Jo(e,t){if(e&&e.defaultProps){var i=wt({},t),u=e.defaultProps;for(var m in u)i[m]===void 0&&(i[m]=u[m]);return i}return t}var Xg={},Jg,e8,t8,n8,a8,mv,oh,r8,o8,s8,Ef;{Jg=new Set,e8=new Set,t8=new Set,n8=new Set,r8=new Set,a8=new Set,o8=new Set,s8=new Set,Ef=new Set;var fv=new Set;oh=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;fv.has(i)||(fv.add(i),f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},mv=function(e,t){if(t===void 0){var i=Vt(e)||"Component";a8.has(i)||(a8.add(i),f("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(Xg,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Xg)}function i8(e,t,i,u){var m=e.memoizedState,g=i(u,m);{if(e.mode&bt){Sn(!0);try{g=i(u,m)}finally{Sn(!1)}}mv(t,g)}var T=g==null?m:wt({},m,g);if(e.memoizedState=T,e.lanes===fe){var E=e.updateQueue;E.baseState=T}}var l8={isMounted:or,enqueueSetState:function(e,t,i){var u=wr(e),m=mr(),g=cu(u),T=Ui(m,g);T.payload=t,i!=null&&(oh(i,"setState"),T.callback=i);var E=nu(u,T,g);E!==null&&(ra(E,u,g,m),P3(E,u,g)),tc(u,g)},enqueueReplaceState:function(e,t,i){var u=wr(e),m=mr(),g=cu(u),T=Ui(m,g);T.tag=L7,T.payload=t,i!=null&&(oh(i,"replaceState"),T.callback=i);var E=nu(u,T,g);E!==null&&(ra(E,u,g,m),P3(E,u,g)),tc(u,g)},enqueueForceUpdate:function(e,t){var i=wr(e),u=mr(),m=cu(i),g=Ui(u,m);g.tag=O3,t!=null&&(oh(t,"forceUpdate"),g.callback=t);var T=nu(i,g,m);T!==null&&(ra(T,i,m,u),P3(T,i,m)),Fd(i,m)}};function pv(e,t,i,u,m,g,T){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var I=E.shouldComponentUpdate(u,g,T);{if(e.mode&bt){Sn(!0);try{I=E.shouldComponentUpdate(u,g,T)}finally{Sn(!1)}}I===void 0&&f("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vt(t)||"Component")}return I}return t.prototype&&t.prototype.isPureReactComponent?!Ye(i,u)||!Ye(m,g):!0}function NN(e,t,i){var u=e.stateNode;{var m=Vt(t)||"Component",g=u.render;g||(t.prototype&&typeof t.prototype.render=="function"?f("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",m):f("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",m)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&f("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?",m),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&f("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.",m),u.propTypes&&f("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",m),u.contextType&&f("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),t.childContextTypes&&!Ef.has(t)&&(e.mode&bt)===Be&&(Ef.add(t),f(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
118
118
|
|
|
119
119
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)),t.contextTypes&&!Ef.has(t)&&(e.mode&bt)===Be&&(Ef.add(t),f(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
120
120
|
|
|
121
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)),u.contextTypes&&f("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",m),t.contextType&&t.contextTypes&&!
|
|
121
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)),u.contextTypes&&f("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",m),t.contextType&&t.contextTypes&&!o8.has(t)&&(o8.add(t),f("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",m)),typeof u.componentShouldUpdate=="function"&&f("%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.",m),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&f("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Vt(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&f("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof u.componentDidReceiveProps=="function"&&f("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",m),typeof u.componentWillRecieveProps=="function"&&f("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof u.UNSAFE_componentWillRecieveProps=="function"&&f("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m);var T=u.props!==i;u.props!==void 0&&T&&f("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m,m),u.defaultProps&&f("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!t8.has(t)&&(t8.add(t),f("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Vt(t))),typeof u.getDerivedStateFromProps=="function"&&f("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof u.getDerivedStateFromError=="function"&&f("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof t.getSnapshotBeforeUpdate=="function"&&f("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m);var E=u.state;E&&(typeof E!="object"||jn(E))&&f("%s.state: must be set to an object or null",m),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&f("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m)}}function hv(e,t){t.updater=l8,e.stateNode=t,kl(t,e),t._reactInternalInstance=Xg}function gv(e,t,i){var u=!1,m=eo,g=eo,T=t.contextType;if("contextType"in t){var E=T===null||T!==void 0&&T.$$typeof===Rm&&T._context===void 0;if(!E&&!s8.has(t)){s8.add(t);var I="";T===void 0?I=" 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 T!="object"?I=" However, it is set to a "+typeof T+".":T.$$typeof===Nm?I=" Did you accidentally pass the Context.Provider instead?":T._context!==void 0?I=" Did you accidentally pass the Context.Consumer instead?":I=" However, it is set to an object with keys {"+Object.keys(T).join(", ")+"}.",f("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Vt(t)||"Component",I)}}if(typeof T=="object"&&T!==null)g=qn(T);else{m=I1(e,t,!0);var x=t.contextTypes;u=x!=null,g=u?N1(e,m):eo}var A=new t(i,g);if(e.mode&bt){Sn(!0);try{A=new t(i,g)}finally{Sn(!1)}}var q=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;hv(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&q===null){var H=Vt(t)||"Component";e8.has(H)||(e8.add(H),f("`%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.",H,A.state===null?"null":"undefined",H))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var ne=null,oe=null,le=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?ne="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(ne="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?oe="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(oe="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?le="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(le="UNSAFE_componentWillUpdate"),ne!==null||oe!==null||le!==null){var Ee=Vt(t)||"Component",He=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";n8.has(Ee)||(n8.add(Ee),f(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
122
122
|
|
|
123
123
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
124
124
|
|
|
@@ -126,13 +126,13 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
126
126
|
https://reactjs.org/link/unsafe-component-lifecycles`,Ee,He,ne!==null?`
|
|
127
127
|
`+ne:"",oe!==null?`
|
|
128
128
|
`+oe:"",le!==null?`
|
|
129
|
-
`+le:""))}}}return u&&o7(e,m,g),A}function RN(e,t){var i=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),i!==t.state&&(f("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",mt(e)||"Component"),
|
|
129
|
+
`+le:""))}}}return u&&o7(e,m,g),A}function RN(e,t){var i=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),i!==t.state&&(f("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",mt(e)||"Component"),l8.enqueueReplaceState(t,t.state,null))}function yv(e,t,i,u){var m=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,u),t.state!==m){{var g=mt(e)||"Component";Jg.has(g)||(Jg.add(g),f("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}l8.enqueueReplaceState(t,t.state,null)}}function u8(e,t,i,u){NN(e,t,i);var m=e.stateNode;m.props=i,m.state=e.memoizedState,m.refs={},vg(e);var g=t.contextType;if(typeof g=="object"&&g!==null)m.context=qn(g);else{var T=I1(e,t,!0);m.context=N1(e,T)}{if(m.state===i){var E=Vt(t)||"Component";r8.has(E)||(r8.add(E),f("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",E))}e.mode&bt&&Ko.recordLegacyContextWarning(e,m),Ko.recordUnsafeLifecycleWarnings(e,m)}m.state=e.memoizedState;var I=t.getDerivedStateFromProps;if(typeof I=="function"&&(i8(e,t,I,i),m.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof m.getSnapshotBeforeUpdate!="function"&&(typeof m.UNSAFE_componentWillMount=="function"||typeof m.componentWillMount=="function")&&(RN(e,m),M3(e,i,m,u),m.state=e.memoizedState),typeof m.componentDidMount=="function"){var x=pt;x|=ja,(e.mode&ir)!==Be&&(x|=Ba),e.flags|=x}}function LN(e,t,i,u){var m=e.stateNode,g=e.memoizedProps;m.props=g;var T=m.context,E=t.contextType,I=eo;if(typeof E=="object"&&E!==null)I=qn(E);else{var x=I1(e,t,!0);I=N1(e,x)}var A=t.getDerivedStateFromProps,q=typeof A=="function"||typeof m.getSnapshotBeforeUpdate=="function";!q&&(typeof m.UNSAFE_componentWillReceiveProps=="function"||typeof m.componentWillReceiveProps=="function")&&(g!==i||T!==I)&&yv(e,m,i,I),x7();var H=e.memoizedState,ne=m.state=H;if(M3(e,i,m,u),ne=e.memoizedState,g===i&&H===ne&&!g3()&&!D3()){if(typeof m.componentDidMount=="function"){var oe=pt;oe|=ja,(e.mode&ir)!==Be&&(oe|=Ba),e.flags|=oe}return!1}typeof A=="function"&&(i8(e,t,A,i),ne=e.memoizedState);var le=D3()||pv(e,t,g,i,H,ne,I);if(le){if(!q&&(typeof m.UNSAFE_componentWillMount=="function"||typeof m.componentWillMount=="function")&&(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"){var Ee=pt;Ee|=ja,(e.mode&ir)!==Be&&(Ee|=Ba),e.flags|=Ee}}else{if(typeof m.componentDidMount=="function"){var He=pt;He|=ja,(e.mode&ir)!==Be&&(He|=Ba),e.flags|=He}e.memoizedProps=i,e.memoizedState=ne}return m.props=i,m.state=ne,m.context=I,le}function ON(e,t,i,u,m){var g=t.stateNode;O7(e,t);var T=t.memoizedProps,E=t.type===t.elementType?T:Jo(t.type,T);g.props=E;var I=t.pendingProps,x=g.context,A=i.contextType,q=eo;if(typeof A=="object"&&A!==null)q=qn(A);else{var H=I1(t,i,!0);q=N1(t,H)}var ne=i.getDerivedStateFromProps,oe=typeof ne=="function"||typeof g.getSnapshotBeforeUpdate=="function";!oe&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(T!==I||x!==q)&&yv(t,g,u,q),x7();var le=t.memoizedState,Ee=g.state=le;if(M3(t,u,g,m),Ee=t.memoizedState,T===I&&le===Ee&&!g3()&&!D3()&&!Pe)return typeof g.componentDidUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=pt),typeof g.getSnapshotBeforeUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=Cr),!1;typeof ne=="function"&&(i8(t,i,ne,u),Ee=t.memoizedState);var He=D3()||pv(t,i,E,u,le,Ee,q)||Pe;return He?(!oe&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Ee,q),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Ee,q)),typeof g.componentDidUpdate=="function"&&(t.flags|=pt),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=Cr)):(typeof g.componentDidUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=pt),typeof g.getSnapshotBeforeUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=Cr),t.memoizedProps=u,t.memoizedState=Ee),g.props=u,g.state=Ee,g.context=q,He}function Oc(e,t){return{value:e,source:t,stack:Mm(t),digest:null}}function c8(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function xN(e,t){return!0}function d8(e,t){try{var i=xN(e,t);if(i===!1)return;var u=t.value,m=t.source,g=t.stack,T=g!==null?g:"";if(u!=null&&u._suppressLogging){if(e.tag===C)return;console.error(u)}var E=m?mt(m):null,I=E?"The above error occurred in the <"+E+"> component:":"The above error occurred in one of your React components:",x;if(e.tag===N)x=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
130
130
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var A=mt(e)||"Anonymous";x="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+A+".")}var q=I+`
|
|
131
131
|
`+T+`
|
|
132
132
|
|
|
133
|
-
`+(""+x);console.error(q)}catch(H){setTimeout(function(){throw H})}}var AN=typeof WeakMap=="function"?WeakMap:Map;function vv(e,t,i){var u=Ui(Wt,i);u.tag=g8,u.payload={element:null};var m=t.value;return u.callback=function(){EL(m),dg(e,t)},u}function mg(e,t,i){var u=Ui(Wt,i);u.tag=g8;var m=e.type.getDerivedStateFromError;if(typeof m=="function"){var g=t.value;u.payload=function(){return m(g)},u.callback=function(){RT(e),dg(e,t)}}var T=e.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(u.callback=function(){RT(e),dg(e,t),typeof m!="function"&&wL(this);var E=t.value,I=t.stack;this.componentDidCatch(E,{componentStack:I!==null?I:""}),typeof m!="function"&&(Wa(e.lanes,We)||f("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",mt(e)||"Unknown"))}),u}function Tv(e,t,i){var u=e.pingCache,m;if(u===null?(u=e.pingCache=new AN,m=new Set,u.set(t,m)):(m=u.get(t),m===void 0&&(m=new Set,u.set(t,m))),!m.has(i)){m.add(i);var g=_L.bind(null,e,t,i);sr&&Bf(e,i),t.then(g,g)}}function PN(e,t,i,u){var m=e.updateQueue;if(m===null){var g=new Set;g.add(i),e.updateQueue=g}else m.add(i)}function MN(e,t){var i=e.tag;if((e.mode&$e)===Be&&(i===b||i===K||i===ae)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function bv(e){var t=e;do{if(t.tag===J&&hN(t))return t;t=t.return}while(t!==null);return null}function kv(e,t,i,u,m){if((e.mode&$e)===Be){if(e===t)e.flags|=$n;else{if(e.flags|=at,i.flags|=Xu,i.flags&=~(_d|ar),i.tag===C){var g=i.alternate;if(g===null)i.tag=Ie;else{var T=Ui(Wt,We);T.tag=O3,nu(i,T,We)}}i.lanes=ft(i.lanes,We)}return e}return e.flags|=$n,e.lanes=m,e}function DN(e,t,i,u,m){if(i.flags|=ar,sr&&Bf(e,m),u!==null&&typeof u=="object"&&typeof u.then=="function"){var g=u;MN(i),Ea()&&i.mode&$e&&m7();var T=bv(t);if(T!==null){T.flags&=~mn,kv(T,t,i,e,m),T.mode&$e&&Tv(e,g,m),PN(T,e,g);return}else{if(!w0(m)){Tv(e,g,m),Gg();return}var E=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=E}}else if(Ea()&&i.mode&$e){m7();var I=bv(t);if(I!==null){(I.flags&$n)===Ke&&(I.flags|=mn),kv(I,t,i,e,m),r8(Oc(u,i));return}}u=Oc(u,i),hL(u);var x=t;do{switch(x.tag){case N:{var A=u;x.flags|=$n;var q=Ml(m);x.lanes=ft(x.lanes,q);var H=vv(x,A,q);T8(x,H);return}case C:var ne=u,oe=x.type,le=x.stateNode;if((x.flags&at)===Ke&&(typeof oe.getDerivedStateFromError=="function"||le!==null&&typeof le.componentDidCatch=="function"&&!bT(le))){x.flags|=$n;var Ee=Ml(m);x.lanes=ft(x.lanes,Ee);var He=mg(x,ne,Ee);T8(x,He);return}break}x=x.return}while(x!==null)}function UN(){return null}var _f=o.ReactCurrentOwner,es=!1,fg,If,pg,hg,gg,xc,yg,sh,Nf;fg={},If={},pg={},hg={},gg={},xc=!1,yg={},sh={},Nf={};function cr(e,t,i,u){e===null?t.child=C7(t,null,i,u):t.child=x1(t,e.child,i,u)}function FN(e,t,i,u){t.child=x1(t,e.child,null,u),t.child=x1(t,null,i,u)}function Sv(e,t,i,u,m){if(t.type!==t.elementType){var g=i.propTypes;g&&Qo(g,u,"prop",Vt(i))}var T=i.render,E=t.ref,I,x;P1(t,m),El(t);{if(_f.current=t,Qr(!0),I=j1(e,t,T,u,E,m),x=B1(),t.mode&bt){Sn(!0);try{I=j1(e,t,T,u,E,m),x=B1()}finally{Sn(!1)}}Qr(!1)}return Ha(),e!==null&&!es?(F7(e,t,m),Fi(e,t,m)):(Ea()&&x&&X4(t),t.flags|=vs,cr(e,t,I,m),t.child)}function wv(e,t,i,u,m){if(e===null){var g=i.type;if(zL(g)&&i.compare===null&&i.defaultProps===void 0){var T=g;return T=Y1(g),t.tag=ae,t.type=T,bg(t,g),Cv(e,t,T,u,m)}{var E=g.propTypes;if(E&&Qo(E,u,"prop",Vt(g)),i.defaultProps!==void 0){var I=Vt(g)||"Unknown";Nf[I]||(f("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",I),Nf[I]=!0)}}var x=n5(i.type,null,u,t,t.mode,m);return x.ref=t.ref,x.return=t,t.child=x,x}{var A=i.type,q=A.propTypes;q&&Qo(q,u,"prop",Vt(A))}var H=e.child,ne=_g(e,m);if(!ne){var oe=H.memoizedProps,le=i.compare;if(le=le!==null?le:Ye,le(oe,u)&&e.ref===t.ref)return Fi(e,t,m)}t.flags|=vs;var Ee=Uc(H,u);return Ee.ref=t.ref,Ee.return=t,t.child=Ee,Ee}function Cv(e,t,i,u,m){if(t.type!==t.elementType){var g=t.elementType;if(g.$$typeof===Sa){var T=g,E=T._payload,I=T._init;try{g=I(E)}catch{g=null}var x=g&&g.propTypes;x&&Qo(x,u,"prop",Vt(g))}}if(e!==null){var A=e.memoizedProps;if(Ye(A,u)&&e.ref===t.ref&&t.type===e.type)if(es=!1,t.pendingProps=u=A,_g(e,m))(e.flags&Xu)!==Ke&&(es=!0);else return t.lanes=e.lanes,Fi(e,t,m)}return vg(e,t,i,u,m)}function Ev(e,t,i){var u=t.pendingProps,m=u.children,g=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Se)if((t.mode&$e)===Be){var T={baseLanes:fe,cachePool:null,transitions:null};t.memoizedState=T,bh(t,i)}else if(Wa(i,la)){var E={baseLanes:fe,cachePool:null,transitions:null};t.memoizedState=E;var I=g!==null?g.baseLanes:i;bh(t,I)}else{var x=null,A;if(g!==null){var q=g.baseLanes;A=ft(q,i)}else A=i;t.lanes=t.childLanes=la;var H={baseLanes:A,cachePool:x,transitions:null};return t.memoizedState=H,t.updateQueue=null,bh(t,A),null}else{var ne;g!==null?(ne=ft(g.baseLanes,i),t.memoizedState=null):ne=i,bh(t,ne)}return cr(e,t,m,i),t.child}function VN(e,t,i){var u=t.pendingProps;return cr(e,t,u,i),t.child}function jN(e,t,i){var u=t.pendingProps.children;return cr(e,t,u,i),t.child}function BN(e,t,i){{t.flags|=pt;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var m=t.pendingProps,g=m.children;return cr(e,t,g,i),t.child}function _v(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Va,t.flags|=c0)}function vg(e,t,i,u,m){if(t.type!==t.elementType){var g=i.propTypes;g&&Qo(g,u,"prop",Vt(i))}var T;{var E=I1(t,i,!0);T=N1(t,E)}var I,x;P1(t,m),El(t);{if(_f.current=t,Qr(!0),I=j1(e,t,i,u,T,m),x=B1(),t.mode&bt){Sn(!0);try{I=j1(e,t,i,u,T,m),x=B1()}finally{Sn(!1)}}Qr(!1)}return Ha(),e!==null&&!es?(F7(e,t,m),Fi(e,t,m)):(Ea()&&x&&X4(t),t.flags|=vs,cr(e,t,I,m),t.child)}function Iv(e,t,i,u,m){{switch(rO(t)){case!1:{var g=t.stateNode,T=t.type,E=new T(t.memoizedProps,g.context),I=E.state;g.updater.enqueueSetState(g,I,null);break}case!0:{t.flags|=at,t.flags|=$n;var x=new Error("Simulated error coming from DevTools"),A=Ml(m);t.lanes=ft(t.lanes,A);var q=mg(t,Oc(x,t),A);T8(t,q);break}}if(t.type!==t.elementType){var H=i.propTypes;H&&Qo(H,u,"prop",Vt(i))}}var ne;xs(i)?(ne=!0,v3(t)):ne=!1,P1(t,m);var oe=t.stateNode,le;oe===null?(lh(e,t),gv(t,i,u),ug(t,i,u,m),le=!0):e===null?le=LN(t,i,u,m):le=ON(e,t,i,u,m);var Ee=Tg(e,t,i,le,ne,m);{var He=t.stateNode;le&&He.props!==u&&(xc||f("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",mt(t)||"a component"),xc=!0)}return Ee}function Tg(e,t,i,u,m,g){_v(e,t);var T=(t.flags&at)!==Ke;if(!u&&!T)return m&&l7(t,i,!1),Fi(e,t,g);var E=t.stateNode;_f.current=t;var I;if(T&&typeof i.getDerivedStateFromError!="function")I=null,dv();else{El(t);{if(Qr(!0),I=E.render(),t.mode&bt){Sn(!0);try{E.render()}finally{Sn(!1)}}Qr(!1)}Ha()}return t.flags|=vs,e!==null&&T?FN(e,t,I,g):cr(e,t,I,g),t.memoizedState=E.state,m&&l7(t,i,!0),t.child}function Nv(e){var t=e.stateNode;t.pendingContext?s7(e,t.pendingContext,t.pendingContext!==t.context):t.context&&s7(e,t.context,!1),b8(e,t.containerInfo)}function $N(e,t,i){if(Nv(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,m=t.memoizedState,g=m.element;O7(e,t),M3(t,u,null,i);var T=t.memoizedState;t.stateNode;var E=T.element;if(m.isDehydrated){var I={element:E,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},x=t.updateQueue;if(x.baseState=I,t.memoizedState=I,t.flags&mn){var A=Oc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return Rv(e,t,E,i,A)}else if(E!==g){var q=Oc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Rv(e,t,E,i,q)}else{GI(t);var H=C7(t,null,E,i);t.child=H;for(var ne=H;ne;)ne.flags=ne.flags&~Kt|Er,ne=ne.sibling}}else{if(O1(),E===g)return Fi(e,t,i);cr(e,t,E,i)}return t.child}function Rv(e,t,i,u,m){return O1(),r8(m),t.flags|=mn,cr(e,t,i,u),t.child}function zN(e,t,i){M7(t),e===null&&a8(t);var u=t.type,m=t.pendingProps,g=e!==null?e.memoizedProps:null,T=m.children,E=F4(u,m);return E?T=null:g!==null&&F4(u,g)&&(t.flags|=Mt),_v(e,t),cr(e,t,T,i),t.child}function HN(e,t){return e===null&&a8(t),null}function GN(e,t,i,u){lh(e,t);var m=t.pendingProps,g=i,T=g._payload,E=g._init,I=E(T);t.type=I;var x=t.tag=HL(I),A=Jo(I,m),q;switch(x){case b:return bg(t,I),t.type=I=Y1(I),q=vg(null,t,I,A,u),q;case C:return t.type=I=Kg(I),q=Iv(null,t,I,A,u),q;case K:return t.type=I=Zg(I),q=Sv(null,t,I,A,u),q;case ue:{if(t.type!==t.elementType){var H=I.propTypes;H&&Qo(H,A,"prop",Vt(I))}return q=wv(null,t,I,Jo(I.type,A),u),q}}var ne="";throw I!==null&&typeof I=="object"&&I.$$typeof===Sa&&(ne=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+I+". "+("Lazy element type must resolve to a class or function."+ne))}function qN(e,t,i,u,m){lh(e,t),t.tag=C;var g;return xs(i)?(g=!0,v3(t)):g=!1,P1(t,m),gv(t,i,u),ug(t,i,u,m),Tg(null,t,i,!0,g,m)}function WN(e,t,i,u){lh(e,t);var m=t.pendingProps,g;{var T=I1(t,i,!1);g=N1(t,T)}P1(t,u);var E,I;El(t);{if(i.prototype&&typeof i.prototype.render=="function"){var x=Vt(i)||"Unknown";fg[x]||(f("The <%s /> 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.",x,x),fg[x]=!0)}t.mode&bt&&Ko.recordLegacyContextWarning(t,null),Qr(!0),_f.current=t,E=j1(null,t,i,m,g,u),I=B1(),Qr(!1)}if(Ha(),t.flags|=vs,typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){var A=Vt(i)||"Unknown";If[A]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",A,A,A),If[A]=!0)}if(typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){{var q=Vt(i)||"Unknown";If[q]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",q,q,q),If[q]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var H=!1;return xs(i)?(H=!0,v3(t)):H=!1,t.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,v8(t),hv(t,E),ug(t,i,m,u),Tg(null,t,i,!0,H,u)}else{if(t.tag=b,t.mode&bt){Sn(!0);try{E=j1(null,t,i,m,g,u),I=B1()}finally{Sn(!1)}}return Ea()&&I&&X4(t),cr(null,t,E,u),bg(t,i),t.child}}function bg(e,t){{if(t&&t.childContextTypes&&f("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",u=kr();u&&(i+=`
|
|
133
|
+
`+(""+x);console.error(q)}catch(H){setTimeout(function(){throw H})}}var AN=typeof WeakMap=="function"?WeakMap:Map;function vv(e,t,i){var u=Ui(Wt,i);u.tag=gg,u.payload={element:null};var m=t.value;return u.callback=function(){EL(m),d8(e,t)},u}function m8(e,t,i){var u=Ui(Wt,i);u.tag=gg;var m=e.type.getDerivedStateFromError;if(typeof m=="function"){var g=t.value;u.payload=function(){return m(g)},u.callback=function(){RT(e),d8(e,t)}}var T=e.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(u.callback=function(){RT(e),d8(e,t),typeof m!="function"&&wL(this);var E=t.value,I=t.stack;this.componentDidCatch(E,{componentStack:I!==null?I:""}),typeof m!="function"&&(Wa(e.lanes,We)||f("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",mt(e)||"Unknown"))}),u}function Tv(e,t,i){var u=e.pingCache,m;if(u===null?(u=e.pingCache=new AN,m=new Set,u.set(t,m)):(m=u.get(t),m===void 0&&(m=new Set,u.set(t,m))),!m.has(i)){m.add(i);var g=_L.bind(null,e,t,i);sr&&Bf(e,i),t.then(g,g)}}function PN(e,t,i,u){var m=e.updateQueue;if(m===null){var g=new Set;g.add(i),e.updateQueue=g}else m.add(i)}function MN(e,t){var i=e.tag;if((e.mode&$e)===Be&&(i===b||i===K||i===ae)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function bv(e){var t=e;do{if(t.tag===J&&hN(t))return t;t=t.return}while(t!==null);return null}function kv(e,t,i,u,m){if((e.mode&$e)===Be){if(e===t)e.flags|=$n;else{if(e.flags|=at,i.flags|=Xu,i.flags&=~(_d|ar),i.tag===C){var g=i.alternate;if(g===null)i.tag=Ie;else{var T=Ui(Wt,We);T.tag=O3,nu(i,T,We)}}i.lanes=ft(i.lanes,We)}return e}return e.flags|=$n,e.lanes=m,e}function DN(e,t,i,u,m){if(i.flags|=ar,sr&&Bf(e,m),u!==null&&typeof u=="object"&&typeof u.then=="function"){var g=u;MN(i),Ea()&&i.mode&$e&&m7();var T=bv(t);if(T!==null){T.flags&=~mn,kv(T,t,i,e,m),T.mode&$e&&Tv(e,g,m),PN(T,e,g);return}else{if(!w0(m)){Tv(e,g,m),G8();return}var E=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=E}}else if(Ea()&&i.mode&$e){m7();var I=bv(t);if(I!==null){(I.flags&$n)===Ke&&(I.flags|=mn),kv(I,t,i,e,m),rg(Oc(u,i));return}}u=Oc(u,i),hL(u);var x=t;do{switch(x.tag){case N:{var A=u;x.flags|=$n;var q=Ml(m);x.lanes=ft(x.lanes,q);var H=vv(x,A,q);Tg(x,H);return}case C:var ne=u,oe=x.type,le=x.stateNode;if((x.flags&at)===Ke&&(typeof oe.getDerivedStateFromError=="function"||le!==null&&typeof le.componentDidCatch=="function"&&!bT(le))){x.flags|=$n;var Ee=Ml(m);x.lanes=ft(x.lanes,Ee);var He=m8(x,ne,Ee);Tg(x,He);return}break}x=x.return}while(x!==null)}function UN(){return null}var _f=o.ReactCurrentOwner,es=!1,f8,If,p8,h8,g8,xc,y8,sh,Nf;f8={},If={},p8={},h8={},g8={},xc=!1,y8={},sh={},Nf={};function cr(e,t,i,u){e===null?t.child=C7(t,null,i,u):t.child=x1(t,e.child,i,u)}function FN(e,t,i,u){t.child=x1(t,e.child,null,u),t.child=x1(t,null,i,u)}function Sv(e,t,i,u,m){if(t.type!==t.elementType){var g=i.propTypes;g&&Qo(g,u,"prop",Vt(i))}var T=i.render,E=t.ref,I,x;P1(t,m),El(t);{if(_f.current=t,Qr(!0),I=j1(e,t,T,u,E,m),x=B1(),t.mode&bt){Sn(!0);try{I=j1(e,t,T,u,E,m),x=B1()}finally{Sn(!1)}}Qr(!1)}return Ha(),e!==null&&!es?(F7(e,t,m),Fi(e,t,m)):(Ea()&&x&&X4(t),t.flags|=vs,cr(e,t,I,m),t.child)}function wv(e,t,i,u,m){if(e===null){var g=i.type;if(zL(g)&&i.compare===null&&i.defaultProps===void 0){var T=g;return T=Y1(g),t.tag=ae,t.type=T,b8(t,g),Cv(e,t,T,u,m)}{var E=g.propTypes;if(E&&Qo(E,u,"prop",Vt(g)),i.defaultProps!==void 0){var I=Vt(g)||"Unknown";Nf[I]||(f("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",I),Nf[I]=!0)}}var x=n5(i.type,null,u,t,t.mode,m);return x.ref=t.ref,x.return=t,t.child=x,x}{var A=i.type,q=A.propTypes;q&&Qo(q,u,"prop",Vt(A))}var H=e.child,ne=_8(e,m);if(!ne){var oe=H.memoizedProps,le=i.compare;if(le=le!==null?le:Ye,le(oe,u)&&e.ref===t.ref)return Fi(e,t,m)}t.flags|=vs;var Ee=Uc(H,u);return Ee.ref=t.ref,Ee.return=t,t.child=Ee,Ee}function Cv(e,t,i,u,m){if(t.type!==t.elementType){var g=t.elementType;if(g.$$typeof===Sa){var T=g,E=T._payload,I=T._init;try{g=I(E)}catch{g=null}var x=g&&g.propTypes;x&&Qo(x,u,"prop",Vt(g))}}if(e!==null){var A=e.memoizedProps;if(Ye(A,u)&&e.ref===t.ref&&t.type===e.type)if(es=!1,t.pendingProps=u=A,_8(e,m))(e.flags&Xu)!==Ke&&(es=!0);else return t.lanes=e.lanes,Fi(e,t,m)}return v8(e,t,i,u,m)}function Ev(e,t,i){var u=t.pendingProps,m=u.children,g=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Se)if((t.mode&$e)===Be){var T={baseLanes:fe,cachePool:null,transitions:null};t.memoizedState=T,bh(t,i)}else if(Wa(i,la)){var E={baseLanes:fe,cachePool:null,transitions:null};t.memoizedState=E;var I=g!==null?g.baseLanes:i;bh(t,I)}else{var x=null,A;if(g!==null){var q=g.baseLanes;A=ft(q,i)}else A=i;t.lanes=t.childLanes=la;var H={baseLanes:A,cachePool:x,transitions:null};return t.memoizedState=H,t.updateQueue=null,bh(t,A),null}else{var ne;g!==null?(ne=ft(g.baseLanes,i),t.memoizedState=null):ne=i,bh(t,ne)}return cr(e,t,m,i),t.child}function VN(e,t,i){var u=t.pendingProps;return cr(e,t,u,i),t.child}function jN(e,t,i){var u=t.pendingProps.children;return cr(e,t,u,i),t.child}function BN(e,t,i){{t.flags|=pt;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var m=t.pendingProps,g=m.children;return cr(e,t,g,i),t.child}function _v(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Va,t.flags|=c0)}function v8(e,t,i,u,m){if(t.type!==t.elementType){var g=i.propTypes;g&&Qo(g,u,"prop",Vt(i))}var T;{var E=I1(t,i,!0);T=N1(t,E)}var I,x;P1(t,m),El(t);{if(_f.current=t,Qr(!0),I=j1(e,t,i,u,T,m),x=B1(),t.mode&bt){Sn(!0);try{I=j1(e,t,i,u,T,m),x=B1()}finally{Sn(!1)}}Qr(!1)}return Ha(),e!==null&&!es?(F7(e,t,m),Fi(e,t,m)):(Ea()&&x&&X4(t),t.flags|=vs,cr(e,t,I,m),t.child)}function Iv(e,t,i,u,m){{switch(rO(t)){case!1:{var g=t.stateNode,T=t.type,E=new T(t.memoizedProps,g.context),I=E.state;g.updater.enqueueSetState(g,I,null);break}case!0:{t.flags|=at,t.flags|=$n;var x=new Error("Simulated error coming from DevTools"),A=Ml(m);t.lanes=ft(t.lanes,A);var q=m8(t,Oc(x,t),A);Tg(t,q);break}}if(t.type!==t.elementType){var H=i.propTypes;H&&Qo(H,u,"prop",Vt(i))}}var ne;xs(i)?(ne=!0,v3(t)):ne=!1,P1(t,m);var oe=t.stateNode,le;oe===null?(lh(e,t),gv(t,i,u),u8(t,i,u,m),le=!0):e===null?le=LN(t,i,u,m):le=ON(e,t,i,u,m);var Ee=T8(e,t,i,le,ne,m);{var He=t.stateNode;le&&He.props!==u&&(xc||f("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",mt(t)||"a component"),xc=!0)}return Ee}function T8(e,t,i,u,m,g){_v(e,t);var T=(t.flags&at)!==Ke;if(!u&&!T)return m&&l7(t,i,!1),Fi(e,t,g);var E=t.stateNode;_f.current=t;var I;if(T&&typeof i.getDerivedStateFromError!="function")I=null,dv();else{El(t);{if(Qr(!0),I=E.render(),t.mode&bt){Sn(!0);try{E.render()}finally{Sn(!1)}}Qr(!1)}Ha()}return t.flags|=vs,e!==null&&T?FN(e,t,I,g):cr(e,t,I,g),t.memoizedState=E.state,m&&l7(t,i,!0),t.child}function Nv(e){var t=e.stateNode;t.pendingContext?s7(e,t.pendingContext,t.pendingContext!==t.context):t.context&&s7(e,t.context,!1),bg(e,t.containerInfo)}function $N(e,t,i){if(Nv(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,m=t.memoizedState,g=m.element;O7(e,t),M3(t,u,null,i);var T=t.memoizedState;t.stateNode;var E=T.element;if(m.isDehydrated){var I={element:E,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},x=t.updateQueue;if(x.baseState=I,t.memoizedState=I,t.flags&mn){var A=Oc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return Rv(e,t,E,i,A)}else if(E!==g){var q=Oc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Rv(e,t,E,i,q)}else{GI(t);var H=C7(t,null,E,i);t.child=H;for(var ne=H;ne;)ne.flags=ne.flags&~Kt|Er,ne=ne.sibling}}else{if(O1(),E===g)return Fi(e,t,i);cr(e,t,E,i)}return t.child}function Rv(e,t,i,u,m){return O1(),rg(m),t.flags|=mn,cr(e,t,i,u),t.child}function zN(e,t,i){M7(t),e===null&&ag(t);var u=t.type,m=t.pendingProps,g=e!==null?e.memoizedProps:null,T=m.children,E=F4(u,m);return E?T=null:g!==null&&F4(u,g)&&(t.flags|=Mt),_v(e,t),cr(e,t,T,i),t.child}function HN(e,t){return e===null&&ag(t),null}function GN(e,t,i,u){lh(e,t);var m=t.pendingProps,g=i,T=g._payload,E=g._init,I=E(T);t.type=I;var x=t.tag=HL(I),A=Jo(I,m),q;switch(x){case b:return b8(t,I),t.type=I=Y1(I),q=v8(null,t,I,A,u),q;case C:return t.type=I=K8(I),q=Iv(null,t,I,A,u),q;case K:return t.type=I=Z8(I),q=Sv(null,t,I,A,u),q;case ue:{if(t.type!==t.elementType){var H=I.propTypes;H&&Qo(H,A,"prop",Vt(I))}return q=wv(null,t,I,Jo(I.type,A),u),q}}var ne="";throw I!==null&&typeof I=="object"&&I.$$typeof===Sa&&(ne=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+I+". "+("Lazy element type must resolve to a class or function."+ne))}function qN(e,t,i,u,m){lh(e,t),t.tag=C;var g;return xs(i)?(g=!0,v3(t)):g=!1,P1(t,m),gv(t,i,u),u8(t,i,u,m),T8(null,t,i,!0,g,m)}function WN(e,t,i,u){lh(e,t);var m=t.pendingProps,g;{var T=I1(t,i,!1);g=N1(t,T)}P1(t,u);var E,I;El(t);{if(i.prototype&&typeof i.prototype.render=="function"){var x=Vt(i)||"Unknown";f8[x]||(f("The <%s /> 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.",x,x),f8[x]=!0)}t.mode&bt&&Ko.recordLegacyContextWarning(t,null),Qr(!0),_f.current=t,E=j1(null,t,i,m,g,u),I=B1(),Qr(!1)}if(Ha(),t.flags|=vs,typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){var A=Vt(i)||"Unknown";If[A]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",A,A,A),If[A]=!0)}if(typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){{var q=Vt(i)||"Unknown";If[q]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",q,q,q),If[q]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var H=!1;return xs(i)?(H=!0,v3(t)):H=!1,t.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,vg(t),hv(t,E),u8(t,i,m,u),T8(null,t,i,!0,H,u)}else{if(t.tag=b,t.mode&bt){Sn(!0);try{E=j1(null,t,i,m,g,u),I=B1()}finally{Sn(!1)}}return Ea()&&I&&X4(t),cr(null,t,E,u),b8(t,i),t.child}}function b8(e,t){{if(t&&t.childContextTypes&&f("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",u=kr();u&&(i+=`
|
|
134
134
|
|
|
135
|
-
Check the render method of \``+u+"`.");var m=u||"",g=e._debugSource;g&&(m=g.fileName+":"+g.lineNumber),gg[m]||(gg[m]=!0,f("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(t.defaultProps!==void 0){var T=Vt(t)||"Unknown";Nf[T]||(f("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",T),Nf[T]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var E=Vt(t)||"Unknown";hg[E]||(f("%s: Function components do not support getDerivedStateFromProps.",E),hg[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Vt(t)||"Unknown";pg[I]||(f("%s: Function components do not support contextType.",I),pg[I]=!0)}}}var kg={dehydrated:null,treeContext:null,retryLane:wn};function Sg(e){return{baseLanes:e,cachePool:UN(),transitions:null}}function QN(e,t){var i=null;return{baseLanes:ft(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function YN(e,t,i,u){if(t!==null){var m=t.memoizedState;if(m===null)return!1}return w8(e,yf)}function KN(e,t){return lc(e.childLanes,t)}function Lv(e,t,i){var u=t.pendingProps;oO(t)&&(t.flags|=at);var m=Zo.current,g=!1,T=(t.flags&at)!==Ke;if(T||YN(m,e)?(g=!0,t.flags&=~at):(e===null||e.memoizedState!==null)&&(m=pN(m,U7)),m=D1(m),ru(t,m),e===null){a8(t);var E=t.memoizedState;if(E!==null){var I=E.dehydrated;if(I!==null)return tR(t,I)}var x=u.children,A=u.fallback;if(g){var q=ZN(t,x,A,i),H=t.child;return H.memoizedState=Sg(i),t.memoizedState=kg,q}else return wg(t,x)}else{var ne=e.memoizedState;if(ne!==null){var oe=ne.dehydrated;if(oe!==null)return nR(e,t,T,u,oe,ne,i)}if(g){var le=u.fallback,Ee=u.children,He=JN(e,t,Ee,le,i),Je=t.child,kt=e.child.memoizedState;return Je.memoizedState=kt===null?Sg(i):QN(kt,i),Je.childLanes=KN(e,i),t.memoizedState=kg,He}else{var Tt=u.children,Z=XN(e,t,Tt,i);return t.memoizedState=null,Z}}}function wg(e,t,i){var u=e.mode,m={mode:"visible",children:t},g=Cg(m,u);return g.return=e,e.child=g,g}function ZN(e,t,i,u){var m=e.mode,g=e.child,T={mode:"hidden",children:t},E,I;return(m&$e)===Be&&g!==null?(E=g,E.childLanes=fe,E.pendingProps=T,e.mode&rt&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=0,E.treeBaseDuration=0),I=mu(i,m,u,null)):(E=Cg(T,m),I=mu(i,m,u,null)),E.return=e,I.return=e,E.sibling=I,e.child=E,I}function Cg(e,t,i){return LT(e,t,fe,null)}function Ov(e,t){return Uc(e,t)}function XN(e,t,i,u){var m=e.child,g=m.sibling,T=Ov(m,{mode:"visible",children:i});if((t.mode&$e)===Be&&(T.lanes=u),T.return=t,T.sibling=null,g!==null){var E=t.deletions;E===null?(t.deletions=[g],t.flags|=Pt):E.push(g)}return t.child=T,T}function JN(e,t,i,u,m){var g=t.mode,T=e.child,E=T.sibling,I={mode:"hidden",children:i},x;if((g&$e)===Be&&t.child!==T){var A=t.child;x=A,x.childLanes=fe,x.pendingProps=I,t.mode&rt&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=T.selfBaseDuration,x.treeBaseDuration=T.treeBaseDuration),t.deletions=null}else x=Ov(T,I),x.subtreeFlags=T.subtreeFlags&Qn;var q;return E!==null?q=Uc(E,u):(q=mu(u,g,m,null),q.flags|=Kt),q.return=t,x.return=t,x.sibling=q,t.child=x,q}function ih(e,t,i,u){u!==null&&r8(u),x1(t,e.child,null,i);var m=t.pendingProps,g=m.children,T=wg(t,g);return T.flags|=Kt,t.memoizedState=null,T}function eR(e,t,i,u,m){var g=t.mode,T={mode:"visible",children:i},E=Cg(T,g),I=mu(u,g,m,null);return I.flags|=Kt,E.return=t,I.return=t,E.sibling=I,t.child=E,(t.mode&$e)!==Be&&x1(t,e.child,null,m),I}function tR(e,t,i){return(e.mode&$e)===Be?(f("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=We):$4(t)?e.lanes=$o:e.lanes=la,null}function nR(e,t,i,u,m,g,T){if(i)if(t.flags&mn){t.flags&=~mn;var E=cg(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ih(e,t,T,E)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=at,null;var I=u.children,x=u.fallback,A=eR(e,t,I,x,T),q=t.child;return q.memoizedState=Sg(T),t.memoizedState=kg,A}else{if(zI(),(t.mode&$e)===Be)return ih(e,t,T,null);if($4(m)){var H,ne,oe;{var le=sI(m);H=le.digest,ne=le.message,oe=le.stack}var Ee;ne?Ee=new Error(ne):Ee=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var He=cg(Ee,H,oe);return ih(e,t,T,He)}var Je=Wa(T,e.childLanes);if(es||Je){var kt=Th();if(kt!==null){var Tt=u4(kt,T);if(Tt!==wn&&Tt!==g.retryLane){g.retryLane=Tt;var Z=Wt;Dr(e,Tt),ra(kt,e,Tt,Z)}}Gg();var ie=cg(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return ih(e,t,T,ie)}else if(e7(m)){t.flags|=at,t.child=e.child;var X=IL.bind(null,e);return iI(m,X),null}else{qI(t,m,g.treeContext);var ve=u.children,Ae=wg(t,ve);return Ae.flags|=Er,Ae}}}function xv(e,t,i){e.lanes=ft(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=ft(u.lanes,t)),p8(e.return,t,i)}function aR(e,t,i){for(var u=t;u!==null;){if(u.tag===J){var m=u.memoizedState;m!==null&&xv(u,i,e)}else if(u.tag===Ge)xv(u,i,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function rR(e){for(var t=e,i=null;t!==null;){var u=t.alternate;u!==null&&V3(u)===null&&(i=t),t=t.sibling}return i}function oR(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!yg[e])if(yg[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:f('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else f('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function sR(e,t){e!==void 0&&!sh[e]&&(e!=="collapsed"&&e!=="hidden"?(sh[e]=!0,f('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(sh[e]=!0,f('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Av(e,t){{var i=jn(e),u=!i&&typeof Oo(e)=="function";if(i||u){var m=i?"array":"iterable";return f("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",m,t,m),!1}}return!0}function iR(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(jn(e)){for(var i=0;i<e.length;i++)if(!Av(e[i],i))return}else{var u=Oo(e);if(typeof u=="function"){var m=u.call(e);if(m)for(var g=m.next(),T=0;!g.done;g=m.next()){if(!Av(g.value,T))return;T++}}else f('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Eg(e,t,i,u,m){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:m}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=i,g.tailMode=m)}function Pv(e,t,i){var u=t.pendingProps,m=u.revealOrder,g=u.tail,T=u.children;oR(m),sR(g,m),iR(T,m),cr(e,t,T,i);var E=Zo.current,I=w8(E,yf);if(I)E=C8(E,yf),t.flags|=at;else{var x=e!==null&&(e.flags&at)!==Ke;x&&aR(t,t.child,i),E=D1(E)}if(ru(t,E),(t.mode&$e)===Be)t.memoizedState=null;else switch(m){case"forwards":{var A=rR(t.child),q;A===null?(q=t.child,t.child=null):(q=A.sibling,A.sibling=null),Eg(t,!1,q,A,g);break}case"backwards":{var H=null,ne=t.child;for(t.child=null;ne!==null;){var oe=ne.alternate;if(oe!==null&&V3(oe)===null){t.child=ne;break}var le=ne.sibling;ne.sibling=H,H=ne,ne=le}Eg(t,!0,H,null,g);break}case"together":{Eg(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function lR(e,t,i){b8(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=x1(t,null,u,i):cr(e,t,u,i),t.child}var Mv=!1;function uR(e,t,i){var u=t.type,m=u._context,g=t.pendingProps,T=t.memoizedProps,E=g.value;{"value"in g||Mv||(Mv=!0,f("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var I=t.type.propTypes;I&&Qo(I,g,"prop","Context.Provider")}if(I7(t,m,E),T!==null){var x=T.value;if(Ue(x,E)){if(T.children===g.children&&!g3())return Fi(e,t,i)}else oN(t,m,i)}var A=g.children;return cr(e,t,A,i),t.child}var Dv=!1;function cR(e,t,i){var u=t.type;u._context===void 0?u!==u.Consumer&&(Dv||(Dv=!0,f("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var m=t.pendingProps,g=m.children;typeof g!="function"&&f("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."),P1(t,i);var T=qn(u);El(t);var E;return _f.current=t,Qr(!0),E=g(T),Qr(!1),Ha(),t.flags|=vs,cr(e,t,E,i),t.child}function Rf(){es=!0}function lh(e,t){(t.mode&$e)===Be&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Kt)}function Fi(e,t,i){return e!==null&&(t.dependencies=e.dependencies),dv(),jf(t.lanes),Wa(i,t.childLanes)?(aN(e,t),t.child):null}function dR(e,t,i){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===u.child)u.child=i;else{var m=u.child;if(m===null)throw new Error("Expected parent to have a child.");for(;m.sibling!==t;)if(m=m.sibling,m===null)throw new Error("Expected to find the previous sibling.");m.sibling=i}var g=u.deletions;return g===null?(u.deletions=[e],u.flags|=Pt):g.push(e),i.flags|=Kt,i}}function _g(e,t){var i=e.lanes;return!!Wa(i,t)}function mR(e,t,i){switch(t.tag){case N:Nv(t),t.stateNode,O1();break;case O:M7(t);break;case C:{var u=t.type;xs(u)&&v3(t);break}case R:b8(t,t.stateNode.containerInfo);break;case W:{var m=t.memoizedProps.value,g=t.type._context;I7(t,g,m);break}case te:{var T=Wa(i,t.childLanes);T&&(t.flags|=pt);{var E=t.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}}break;case J:{var I=t.memoizedState;if(I!==null){if(I.dehydrated!==null)return ru(t,D1(Zo.current)),t.flags|=at,null;var x=t.child,A=x.childLanes;if(Wa(i,A))return Lv(e,t,i);ru(t,D1(Zo.current));var q=Fi(e,t,i);return q!==null?q.sibling:null}else ru(t,D1(Zo.current));break}case Ge:{var H=(e.flags&at)!==Ke,ne=Wa(i,t.childLanes);if(H){if(ne)return Pv(e,t,i);t.flags|=at}var oe=t.memoizedState;if(oe!==null&&(oe.rendering=null,oe.tail=null,oe.lastEffect=null),ru(t,Zo.current),ne)break;return null}case _e:case et:return t.lanes=fe,Ev(e,t,i)}return Fi(e,t,i)}function Uv(e,t,i){if(t._debugNeedsRemount&&e!==null)return dR(e,t,n5(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,m=t.pendingProps;if(u!==m||g3()||t.type!==e.type)es=!0;else{var g=_g(e,i);if(!g&&(t.flags&at)===Ke)return es=!1,mR(e,t,i);(e.flags&Xu)!==Ke?es=!0:es=!1}}else if(es=!1,Ea()&&UI(t)){var T=t.index,E=FI();d7(t,E,T)}switch(t.lanes=fe,t.tag){case _:return WN(e,t,t.type,i);case Ne:{var I=t.elementType;return GN(e,t,I,i)}case b:{var x=t.type,A=t.pendingProps,q=t.elementType===x?A:Jo(x,A);return vg(e,t,x,q,i)}case C:{var H=t.type,ne=t.pendingProps,oe=t.elementType===H?ne:Jo(H,ne);return Iv(e,t,H,oe,i)}case N:return $N(e,t,i);case O:return zN(e,t,i);case D:return HN(e,t);case J:return Lv(e,t,i);case R:return lR(e,t,i);case K:{var le=t.type,Ee=t.pendingProps,He=t.elementType===le?Ee:Jo(le,Ee);return Sv(e,t,le,He,i)}case F:return VN(e,t,i);case V:return jN(e,t,i);case te:return BN(e,t,i);case W:return uR(e,t,i);case z:return cR(e,t,i);case ue:{var Je=t.type,kt=t.pendingProps,Tt=Jo(Je,kt);if(t.type!==t.elementType){var Z=Je.propTypes;Z&&Qo(Z,Tt,"prop",Vt(Je))}return Tt=Jo(Je.type,Tt),wv(e,t,Je,Tt,i)}case ae:return Cv(e,t,t.type,t.pendingProps,i);case Ie:{var ie=t.type,X=t.pendingProps,ve=t.elementType===ie?X:Jo(ie,X);return qN(e,t,ie,ve,i)}case Ge:return Pv(e,t,i);case Qe:break;case _e:return Ev(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function $1(e){e.flags|=pt}function Fv(e){e.flags|=Va,e.flags|=c0}var Vv,Ig,jv,Bv;Vv=function(e,t,i,u){for(var m=t.child;m!==null;){if(m.tag===O||m.tag===D)P_(e,m.stateNode);else if(m.tag!==R&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)return;for(;m.sibling===null;){if(m.return===null||m.return===t)return;m=m.return}m.sibling.return=m.return,m=m.sibling}},Ig=function(e,t){},jv=function(e,t,i,u,m){var g=e.memoizedProps;if(g!==u){var T=t.stateNode,E=k8(),I=D_(T,i,g,u,m,E);t.updateQueue=I,I&&$1(t)}},Bv=function(e,t,i,u){i!==u&&$1(t)};function Lf(e,t){if(!Ea())switch(e.tailMode){case"hidden":{for(var i=e.tail,u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var m=e.tail,g=null;m!==null;)m.alternate!==null&&(g=m),m=m.sibling;g===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:g.sibling=null;break}}}function Ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=fe,u=Ke;if(t){if((e.mode&rt)!==Be){for(var m=e.selfBaseDuration,g=e.child;g!==null;)i=ft(i,ft(g.lanes,g.childLanes)),u|=g.subtreeFlags&Qn,u|=g.flags&Qn,m+=g.treeBaseDuration,g=g.sibling;e.treeBaseDuration=m}else for(var T=e.child;T!==null;)i=ft(i,ft(T.lanes,T.childLanes)),u|=T.subtreeFlags&Qn,u|=T.flags&Qn,T.return=e,T=T.sibling;e.subtreeFlags|=u}else{if((e.mode&rt)!==Be){for(var E=e.actualDuration,I=e.selfBaseDuration,x=e.child;x!==null;)i=ft(i,ft(x.lanes,x.childLanes)),u|=x.subtreeFlags,u|=x.flags,E+=x.actualDuration,I+=x.treeBaseDuration,x=x.sibling;e.actualDuration=E,e.treeBaseDuration=I}else for(var A=e.child;A!==null;)i=ft(i,ft(A.lanes,A.childLanes)),u|=A.subtreeFlags,u|=A.flags,A.return=e,A=A.sibling;e.subtreeFlags|=u}return e.childLanes=i,t}function fR(e,t,i){if(ZI()&&(t.mode&$e)!==Be&&(t.flags&at)===Ke)return v7(t),O1(),t.flags|=mn|ar|$n,!1;var u=w3(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(YI(t),Ia(t),(t.mode&rt)!==Be){var m=i!==null;if(m){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(O1(),(t.flags&at)===Ke&&(t.memoizedState=null),t.flags|=pt,Ia(t),(t.mode&rt)!==Be){var T=i!==null;if(T){var E=t.child;E!==null&&(t.treeBaseDuration-=E.treeBaseDuration)}}return!1}else return T7(),!0}function $v(e,t,i){var u=t.pendingProps;switch(J4(t),t.tag){case _:case Ne:case ae:case b:case K:case F:case V:case te:case z:case ue:return Ia(t),null;case C:{var m=t.type;return xs(m)&&y3(t),Ia(t),null}case N:{var g=t.stateNode;if(M1(t),Y4(t),_8(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),e===null||e.child===null){var T=w3(t);if(T)$1(t);else if(e!==null){var E=e.memoizedState;(!E.isDehydrated||(t.flags&mn)!==Ke)&&(t.flags|=Cr,T7())}}return Ig(e,t),Ia(t),null}case O:{S8(t);var I=P7(),x=t.type;if(e!==null&&t.stateNode!=null)jv(e,t,x,u,I),e.ref!==t.ref&&Fv(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ia(t),null}var A=k8(),q=w3(t);if(q)WI(t,I,A)&&$1(t);else{var H=A_(x,u,I,A,t);Vv(H,t,!1,!1),t.stateNode=H,M_(H,x,u,I)&&$1(t)}t.ref!==null&&Fv(t)}return Ia(t),null}case D:{var ne=u;if(e&&t.stateNode!=null){var oe=e.memoizedProps;Bv(e,t,oe,ne)}else{if(typeof ne!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var le=P7(),Ee=k8(),He=w3(t);He?QI(t)&&$1(t):t.stateNode=U_(ne,le,Ee,t)}return Ia(t),null}case J:{U1(t);var Je=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var kt=fR(e,t,Je);if(!kt)return t.flags&$n?t:null}if((t.flags&at)!==Ke)return t.lanes=i,(t.mode&rt)!==Be&&Z8(t),t;var Tt=Je!==null,Z=e!==null&&e.memoizedState!==null;if(Tt!==Z&&Tt){var ie=t.child;if(ie.flags|=Ts,(t.mode&$e)!==Be){var X=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ct);X||w8(Zo.current,U7)?pL():Gg()}}var ve=t.updateQueue;if(ve!==null&&(t.flags|=pt),Ia(t),(t.mode&rt)!==Be&&Tt){var Ae=t.child;Ae!==null&&(t.treeBaseDuration-=Ae.treeBaseDuration)}return null}case R:return M1(t),Ig(e,t),e===null&&LI(t.stateNode.containerInfo),Ia(t),null;case W:var Le=t.type._context;return f8(Le,t),Ia(t),null;case Ie:{var nt=t.type;return xs(nt)&&y3(t),Ia(t),null}case Ge:{U1(t);var dt=t.memoizedState;if(dt===null)return Ia(t),null;var $t=(t.flags&at)!==Ke,xt=dt.rendering;if(xt===null)if($t)Lf(dt,!1);else{var Mn=gL()&&(e===null||(e.flags&at)===Ke);if(!Mn)for(var At=t.child;At!==null;){var En=V3(At);if(En!==null){$t=!0,t.flags|=at,Lf(dt,!1);var Za=En.updateQueue;return Za!==null&&(t.updateQueue=Za,t.flags|=pt),t.subtreeFlags=Ke,rN(t,i),ru(t,C8(Zo.current,yf)),t.child}At=At.sibling}dt.tail!==null&&an()>uT()&&(t.flags|=at,$t=!0,Lf(dt,!1),t.lanes=wp)}else{if(!$t){var xa=V3(xt);if(xa!==null){t.flags|=at,$t=!0;var no=xa.updateQueue;if(no!==null&&(t.updateQueue=no,t.flags|=pt),Lf(dt,!0),dt.tail===null&&dt.tailMode==="hidden"&&!xt.alternate&&!Ea())return Ia(t),null}else an()*2-dt.renderingStartTime>uT()&&i!==la&&(t.flags|=at,$t=!0,Lf(dt,!1),t.lanes=wp)}if(dt.isBackwards)xt.sibling=t.child,t.child=xt;else{var fr=dt.last;fr!==null?fr.sibling=xt:t.child=xt,dt.last=xt}}if(dt.tail!==null){var pr=dt.tail;dt.rendering=pr,dt.tail=pr.sibling,dt.renderingStartTime=an(),pr.sibling=null;var Xa=Zo.current;return $t?Xa=C8(Xa,yf):Xa=D1(Xa),ru(t,Xa),pr}return Ia(t),null}case Qe:break;case _e:case et:{Hg(t);var zi=t.memoizedState,K1=zi!==null;if(e!==null){var Gf=e.memoizedState,js=Gf!==null;js!==K1&&!Se&&(t.flags|=Ts)}return!K1||(t.mode&$e)===Be?Ia(t):Wa(Vs,la)&&(Ia(t),t.subtreeFlags&(Kt|pt)&&(t.flags|=Ts)),null}case ht:return null;case Rt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pR(e,t,i){switch(J4(t),t.tag){case C:{var u=t.type;xs(u)&&y3(t);var m=t.flags;return m&$n?(t.flags=m&~$n|at,(t.mode&rt)!==Be&&Z8(t),t):null}case N:{t.stateNode,M1(t),Y4(t),_8();var g=t.flags;return(g&$n)!==Ke&&(g&at)===Ke?(t.flags=g&~$n|at,t):null}case O:return S8(t),null;case J:{U1(t);var T=t.memoizedState;if(T!==null&&T.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");O1()}var E=t.flags;return E&$n?(t.flags=E&~$n|at,(t.mode&rt)!==Be&&Z8(t),t):null}case Ge:return U1(t),null;case R:return M1(t),null;case W:var I=t.type._context;return f8(I,t),null;case _e:case et:return Hg(t),null;case ht:return null;default:return null}}function zv(e,t,i){switch(J4(t),t.tag){case C:{var u=t.type.childContextTypes;u!=null&&y3(t);break}case N:{t.stateNode,M1(t),Y4(t),_8();break}case O:{S8(t);break}case R:M1(t);break;case J:U1(t);break;case Ge:U1(t);break;case W:var m=t.type._context;f8(m,t);break;case _e:case et:Hg(t);break}}var Hv=null;Hv=new Set;var uh=!1,Na=!1,hR=typeof WeakSet=="function"?WeakSet:Set,Fe=null,z1=null,H1=null;function gR(e){di(null,function(){throw e}),l0()}var yR=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&rt)try{Us(),t.componentWillUnmount()}finally{Ds(e)}else t.componentWillUnmount()};function Gv(e,t){try{iu(Xn,e)}catch(i){Xt(e,t,i)}}function Ng(e,t,i){try{yR(e,i)}catch(u){Xt(e,t,u)}}function vR(e,t,i){try{i.componentDidMount()}catch(u){Xt(e,t,u)}}function qv(e,t){try{Qv(e)}catch(i){Xt(e,t,i)}}function G1(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var u;try{if(gt&&it&&e.mode&rt)try{Us(),u=i(null)}finally{Ds(e)}else u=i(null)}catch(m){Xt(e,t,m)}typeof u=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",mt(e))}else i.current=null}function ch(e,t,i){try{i()}catch(u){Xt(e,t,u)}}var Wv=!1;function TR(e,t){O_(e.containerInfo),Fe=t,bR();var i=Wv;return Wv=!1,i}function bR(){for(;Fe!==null;){var e=Fe,t=e.child;(e.subtreeFlags&Sl)!==Ke&&t!==null?(t.return=e,Fe=t):kR()}}function kR(){for(;Fe!==null;){var e=Fe;jt(e);try{SR(e)}catch(i){Xt(e,e.return,i)}Ln();var t=e.sibling;if(t!==null){t.return=e.return,Fe=t;return}Fe=e.return}}function SR(e){var t=e.alternate,i=e.flags;if((i&Cr)!==Ke){switch(jt(e),e.tag){case b:case K:case ae:break;case C:{if(t!==null){var u=t.memoizedProps,m=t.memoizedState,g=e.stateNode;e.type===e.elementType&&!xc&&(g.props!==e.memoizedProps&&f("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.",mt(e)||"instance"),g.state!==e.memoizedState&&f("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.",mt(e)||"instance"));var T=g.getSnapshotBeforeUpdate(e.elementType===e.type?u:Jo(e.type,u),m);{var E=Hv;T===void 0&&!E.has(e.type)&&(E.add(e.type),f("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",mt(e)))}g.__reactInternalSnapshotBeforeUpdate=T}break}case N:{{var I=e.stateNode;nI(I.containerInfo)}break}case O:case D:case R:case Ie:break;default:throw new 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.")}Ln()}}function ts(e,t,i){var u=t.updateQueue,m=u!==null?u.lastEffect:null;if(m!==null){var g=m.next,T=g;do{if((T.tag&e)===e){var E=T.destroy;T.destroy=void 0,E!==void 0&&((e&_a)!==Ur?bp(t):(e&Xn)!==Ur&&Xr(t),(e&As)!==Ur&&$f(!0),ch(t,i,E),(e&As)!==Ur&&$f(!1),(e&_a)!==Ur?Md():(e&Xn)!==Ur&&_l())}T=T.next}while(T!==g)}}function iu(e,t){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var m=u.next,g=m;do{if((g.tag&e)===e){(e&_a)!==Ur?Ss(t):(e&Xn)!==Ur&&kp(t);var T=g.create;(e&As)!==Ur&&$f(!0),g.destroy=T(),(e&As)!==Ur&&$f(!1),(e&_a)!==Ur?Pd():(e&Xn)!==Ur&&Ju();{var E=g.destroy;if(E!==void 0&&typeof E!="function"){var I=void 0;(g.tag&Xn)!==Ke?I="useLayoutEffect":(g.tag&As)!==Ke?I="useInsertionEffect":I="useEffect";var x=void 0;E===null?x=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof E.then=="function"?x=`
|
|
135
|
+
Check the render method of \``+u+"`.");var m=u||"",g=e._debugSource;g&&(m=g.fileName+":"+g.lineNumber),g8[m]||(g8[m]=!0,f("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(t.defaultProps!==void 0){var T=Vt(t)||"Unknown";Nf[T]||(f("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",T),Nf[T]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var E=Vt(t)||"Unknown";h8[E]||(f("%s: Function components do not support getDerivedStateFromProps.",E),h8[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Vt(t)||"Unknown";p8[I]||(f("%s: Function components do not support contextType.",I),p8[I]=!0)}}}var k8={dehydrated:null,treeContext:null,retryLane:wn};function S8(e){return{baseLanes:e,cachePool:UN(),transitions:null}}function QN(e,t){var i=null;return{baseLanes:ft(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function YN(e,t,i,u){if(t!==null){var m=t.memoizedState;if(m===null)return!1}return wg(e,yf)}function KN(e,t){return lc(e.childLanes,t)}function Lv(e,t,i){var u=t.pendingProps;oO(t)&&(t.flags|=at);var m=Zo.current,g=!1,T=(t.flags&at)!==Ke;if(T||YN(m,e)?(g=!0,t.flags&=~at):(e===null||e.memoizedState!==null)&&(m=pN(m,U7)),m=D1(m),ru(t,m),e===null){ag(t);var E=t.memoizedState;if(E!==null){var I=E.dehydrated;if(I!==null)return tR(t,I)}var x=u.children,A=u.fallback;if(g){var q=ZN(t,x,A,i),H=t.child;return H.memoizedState=S8(i),t.memoizedState=k8,q}else return w8(t,x)}else{var ne=e.memoizedState;if(ne!==null){var oe=ne.dehydrated;if(oe!==null)return nR(e,t,T,u,oe,ne,i)}if(g){var le=u.fallback,Ee=u.children,He=JN(e,t,Ee,le,i),Je=t.child,kt=e.child.memoizedState;return Je.memoizedState=kt===null?S8(i):QN(kt,i),Je.childLanes=KN(e,i),t.memoizedState=k8,He}else{var Tt=u.children,Z=XN(e,t,Tt,i);return t.memoizedState=null,Z}}}function w8(e,t,i){var u=e.mode,m={mode:"visible",children:t},g=C8(m,u);return g.return=e,e.child=g,g}function ZN(e,t,i,u){var m=e.mode,g=e.child,T={mode:"hidden",children:t},E,I;return(m&$e)===Be&&g!==null?(E=g,E.childLanes=fe,E.pendingProps=T,e.mode&rt&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=0,E.treeBaseDuration=0),I=mu(i,m,u,null)):(E=C8(T,m),I=mu(i,m,u,null)),E.return=e,I.return=e,E.sibling=I,e.child=E,I}function C8(e,t,i){return LT(e,t,fe,null)}function Ov(e,t){return Uc(e,t)}function XN(e,t,i,u){var m=e.child,g=m.sibling,T=Ov(m,{mode:"visible",children:i});if((t.mode&$e)===Be&&(T.lanes=u),T.return=t,T.sibling=null,g!==null){var E=t.deletions;E===null?(t.deletions=[g],t.flags|=Pt):E.push(g)}return t.child=T,T}function JN(e,t,i,u,m){var g=t.mode,T=e.child,E=T.sibling,I={mode:"hidden",children:i},x;if((g&$e)===Be&&t.child!==T){var A=t.child;x=A,x.childLanes=fe,x.pendingProps=I,t.mode&rt&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=T.selfBaseDuration,x.treeBaseDuration=T.treeBaseDuration),t.deletions=null}else x=Ov(T,I),x.subtreeFlags=T.subtreeFlags&Qn;var q;return E!==null?q=Uc(E,u):(q=mu(u,g,m,null),q.flags|=Kt),q.return=t,x.return=t,x.sibling=q,t.child=x,q}function ih(e,t,i,u){u!==null&&rg(u),x1(t,e.child,null,i);var m=t.pendingProps,g=m.children,T=w8(t,g);return T.flags|=Kt,t.memoizedState=null,T}function eR(e,t,i,u,m){var g=t.mode,T={mode:"visible",children:i},E=C8(T,g),I=mu(u,g,m,null);return I.flags|=Kt,E.return=t,I.return=t,E.sibling=I,t.child=E,(t.mode&$e)!==Be&&x1(t,e.child,null,m),I}function tR(e,t,i){return(e.mode&$e)===Be?(f("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=We):$4(t)?e.lanes=$o:e.lanes=la,null}function nR(e,t,i,u,m,g,T){if(i)if(t.flags&mn){t.flags&=~mn;var E=c8(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ih(e,t,T,E)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=at,null;var I=u.children,x=u.fallback,A=eR(e,t,I,x,T),q=t.child;return q.memoizedState=S8(T),t.memoizedState=k8,A}else{if(zI(),(t.mode&$e)===Be)return ih(e,t,T,null);if($4(m)){var H,ne,oe;{var le=sI(m);H=le.digest,ne=le.message,oe=le.stack}var Ee;ne?Ee=new Error(ne):Ee=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var He=c8(Ee,H,oe);return ih(e,t,T,He)}var Je=Wa(T,e.childLanes);if(es||Je){var kt=Th();if(kt!==null){var Tt=u4(kt,T);if(Tt!==wn&&Tt!==g.retryLane){g.retryLane=Tt;var Z=Wt;Dr(e,Tt),ra(kt,e,Tt,Z)}}G8();var ie=c8(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return ih(e,t,T,ie)}else if(e7(m)){t.flags|=at,t.child=e.child;var X=IL.bind(null,e);return iI(m,X),null}else{qI(t,m,g.treeContext);var ve=u.children,Ae=w8(t,ve);return Ae.flags|=Er,Ae}}}function xv(e,t,i){e.lanes=ft(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=ft(u.lanes,t)),pg(e.return,t,i)}function aR(e,t,i){for(var u=t;u!==null;){if(u.tag===J){var m=u.memoizedState;m!==null&&xv(u,i,e)}else if(u.tag===Ge)xv(u,i,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function rR(e){for(var t=e,i=null;t!==null;){var u=t.alternate;u!==null&&V3(u)===null&&(i=t),t=t.sibling}return i}function oR(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!y8[e])if(y8[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:f('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else f('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function sR(e,t){e!==void 0&&!sh[e]&&(e!=="collapsed"&&e!=="hidden"?(sh[e]=!0,f('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(sh[e]=!0,f('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Av(e,t){{var i=jn(e),u=!i&&typeof Oo(e)=="function";if(i||u){var m=i?"array":"iterable";return f("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",m,t,m),!1}}return!0}function iR(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(jn(e)){for(var i=0;i<e.length;i++)if(!Av(e[i],i))return}else{var u=Oo(e);if(typeof u=="function"){var m=u.call(e);if(m)for(var g=m.next(),T=0;!g.done;g=m.next()){if(!Av(g.value,T))return;T++}}else f('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function E8(e,t,i,u,m){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:m}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=i,g.tailMode=m)}function Pv(e,t,i){var u=t.pendingProps,m=u.revealOrder,g=u.tail,T=u.children;oR(m),sR(g,m),iR(T,m),cr(e,t,T,i);var E=Zo.current,I=wg(E,yf);if(I)E=Cg(E,yf),t.flags|=at;else{var x=e!==null&&(e.flags&at)!==Ke;x&&aR(t,t.child,i),E=D1(E)}if(ru(t,E),(t.mode&$e)===Be)t.memoizedState=null;else switch(m){case"forwards":{var A=rR(t.child),q;A===null?(q=t.child,t.child=null):(q=A.sibling,A.sibling=null),E8(t,!1,q,A,g);break}case"backwards":{var H=null,ne=t.child;for(t.child=null;ne!==null;){var oe=ne.alternate;if(oe!==null&&V3(oe)===null){t.child=ne;break}var le=ne.sibling;ne.sibling=H,H=ne,ne=le}E8(t,!0,H,null,g);break}case"together":{E8(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function lR(e,t,i){bg(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=x1(t,null,u,i):cr(e,t,u,i),t.child}var Mv=!1;function uR(e,t,i){var u=t.type,m=u._context,g=t.pendingProps,T=t.memoizedProps,E=g.value;{"value"in g||Mv||(Mv=!0,f("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var I=t.type.propTypes;I&&Qo(I,g,"prop","Context.Provider")}if(I7(t,m,E),T!==null){var x=T.value;if(Ue(x,E)){if(T.children===g.children&&!g3())return Fi(e,t,i)}else oN(t,m,i)}var A=g.children;return cr(e,t,A,i),t.child}var Dv=!1;function cR(e,t,i){var u=t.type;u._context===void 0?u!==u.Consumer&&(Dv||(Dv=!0,f("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var m=t.pendingProps,g=m.children;typeof g!="function"&&f("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."),P1(t,i);var T=qn(u);El(t);var E;return _f.current=t,Qr(!0),E=g(T),Qr(!1),Ha(),t.flags|=vs,cr(e,t,E,i),t.child}function Rf(){es=!0}function lh(e,t){(t.mode&$e)===Be&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Kt)}function Fi(e,t,i){return e!==null&&(t.dependencies=e.dependencies),dv(),jf(t.lanes),Wa(i,t.childLanes)?(aN(e,t),t.child):null}function dR(e,t,i){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===u.child)u.child=i;else{var m=u.child;if(m===null)throw new Error("Expected parent to have a child.");for(;m.sibling!==t;)if(m=m.sibling,m===null)throw new Error("Expected to find the previous sibling.");m.sibling=i}var g=u.deletions;return g===null?(u.deletions=[e],u.flags|=Pt):g.push(e),i.flags|=Kt,i}}function _8(e,t){var i=e.lanes;return!!Wa(i,t)}function mR(e,t,i){switch(t.tag){case N:Nv(t),t.stateNode,O1();break;case O:M7(t);break;case C:{var u=t.type;xs(u)&&v3(t);break}case R:bg(t,t.stateNode.containerInfo);break;case W:{var m=t.memoizedProps.value,g=t.type._context;I7(t,g,m);break}case te:{var T=Wa(i,t.childLanes);T&&(t.flags|=pt);{var E=t.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}}break;case J:{var I=t.memoizedState;if(I!==null){if(I.dehydrated!==null)return ru(t,D1(Zo.current)),t.flags|=at,null;var x=t.child,A=x.childLanes;if(Wa(i,A))return Lv(e,t,i);ru(t,D1(Zo.current));var q=Fi(e,t,i);return q!==null?q.sibling:null}else ru(t,D1(Zo.current));break}case Ge:{var H=(e.flags&at)!==Ke,ne=Wa(i,t.childLanes);if(H){if(ne)return Pv(e,t,i);t.flags|=at}var oe=t.memoizedState;if(oe!==null&&(oe.rendering=null,oe.tail=null,oe.lastEffect=null),ru(t,Zo.current),ne)break;return null}case _e:case et:return t.lanes=fe,Ev(e,t,i)}return Fi(e,t,i)}function Uv(e,t,i){if(t._debugNeedsRemount&&e!==null)return dR(e,t,n5(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,m=t.pendingProps;if(u!==m||g3()||t.type!==e.type)es=!0;else{var g=_8(e,i);if(!g&&(t.flags&at)===Ke)return es=!1,mR(e,t,i);(e.flags&Xu)!==Ke?es=!0:es=!1}}else if(es=!1,Ea()&&UI(t)){var T=t.index,E=FI();d7(t,E,T)}switch(t.lanes=fe,t.tag){case _:return WN(e,t,t.type,i);case Ne:{var I=t.elementType;return GN(e,t,I,i)}case b:{var x=t.type,A=t.pendingProps,q=t.elementType===x?A:Jo(x,A);return v8(e,t,x,q,i)}case C:{var H=t.type,ne=t.pendingProps,oe=t.elementType===H?ne:Jo(H,ne);return Iv(e,t,H,oe,i)}case N:return $N(e,t,i);case O:return zN(e,t,i);case D:return HN(e,t);case J:return Lv(e,t,i);case R:return lR(e,t,i);case K:{var le=t.type,Ee=t.pendingProps,He=t.elementType===le?Ee:Jo(le,Ee);return Sv(e,t,le,He,i)}case F:return VN(e,t,i);case V:return jN(e,t,i);case te:return BN(e,t,i);case W:return uR(e,t,i);case z:return cR(e,t,i);case ue:{var Je=t.type,kt=t.pendingProps,Tt=Jo(Je,kt);if(t.type!==t.elementType){var Z=Je.propTypes;Z&&Qo(Z,Tt,"prop",Vt(Je))}return Tt=Jo(Je.type,Tt),wv(e,t,Je,Tt,i)}case ae:return Cv(e,t,t.type,t.pendingProps,i);case Ie:{var ie=t.type,X=t.pendingProps,ve=t.elementType===ie?X:Jo(ie,X);return qN(e,t,ie,ve,i)}case Ge:return Pv(e,t,i);case Qe:break;case _e:return Ev(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function $1(e){e.flags|=pt}function Fv(e){e.flags|=Va,e.flags|=c0}var Vv,I8,jv,Bv;Vv=function(e,t,i,u){for(var m=t.child;m!==null;){if(m.tag===O||m.tag===D)P_(e,m.stateNode);else if(m.tag!==R&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)return;for(;m.sibling===null;){if(m.return===null||m.return===t)return;m=m.return}m.sibling.return=m.return,m=m.sibling}},I8=function(e,t){},jv=function(e,t,i,u,m){var g=e.memoizedProps;if(g!==u){var T=t.stateNode,E=kg(),I=D_(T,i,g,u,m,E);t.updateQueue=I,I&&$1(t)}},Bv=function(e,t,i,u){i!==u&&$1(t)};function Lf(e,t){if(!Ea())switch(e.tailMode){case"hidden":{for(var i=e.tail,u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var m=e.tail,g=null;m!==null;)m.alternate!==null&&(g=m),m=m.sibling;g===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:g.sibling=null;break}}}function Ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=fe,u=Ke;if(t){if((e.mode&rt)!==Be){for(var m=e.selfBaseDuration,g=e.child;g!==null;)i=ft(i,ft(g.lanes,g.childLanes)),u|=g.subtreeFlags&Qn,u|=g.flags&Qn,m+=g.treeBaseDuration,g=g.sibling;e.treeBaseDuration=m}else for(var T=e.child;T!==null;)i=ft(i,ft(T.lanes,T.childLanes)),u|=T.subtreeFlags&Qn,u|=T.flags&Qn,T.return=e,T=T.sibling;e.subtreeFlags|=u}else{if((e.mode&rt)!==Be){for(var E=e.actualDuration,I=e.selfBaseDuration,x=e.child;x!==null;)i=ft(i,ft(x.lanes,x.childLanes)),u|=x.subtreeFlags,u|=x.flags,E+=x.actualDuration,I+=x.treeBaseDuration,x=x.sibling;e.actualDuration=E,e.treeBaseDuration=I}else for(var A=e.child;A!==null;)i=ft(i,ft(A.lanes,A.childLanes)),u|=A.subtreeFlags,u|=A.flags,A.return=e,A=A.sibling;e.subtreeFlags|=u}return e.childLanes=i,t}function fR(e,t,i){if(ZI()&&(t.mode&$e)!==Be&&(t.flags&at)===Ke)return v7(t),O1(),t.flags|=mn|ar|$n,!1;var u=w3(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(YI(t),Ia(t),(t.mode&rt)!==Be){var m=i!==null;if(m){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(O1(),(t.flags&at)===Ke&&(t.memoizedState=null),t.flags|=pt,Ia(t),(t.mode&rt)!==Be){var T=i!==null;if(T){var E=t.child;E!==null&&(t.treeBaseDuration-=E.treeBaseDuration)}}return!1}else return T7(),!0}function $v(e,t,i){var u=t.pendingProps;switch(J4(t),t.tag){case _:case Ne:case ae:case b:case K:case F:case V:case te:case z:case ue:return Ia(t),null;case C:{var m=t.type;return xs(m)&&y3(t),Ia(t),null}case N:{var g=t.stateNode;if(M1(t),Y4(t),_g(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),e===null||e.child===null){var T=w3(t);if(T)$1(t);else if(e!==null){var E=e.memoizedState;(!E.isDehydrated||(t.flags&mn)!==Ke)&&(t.flags|=Cr,T7())}}return I8(e,t),Ia(t),null}case O:{Sg(t);var I=P7(),x=t.type;if(e!==null&&t.stateNode!=null)jv(e,t,x,u,I),e.ref!==t.ref&&Fv(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ia(t),null}var A=kg(),q=w3(t);if(q)WI(t,I,A)&&$1(t);else{var H=A_(x,u,I,A,t);Vv(H,t,!1,!1),t.stateNode=H,M_(H,x,u,I)&&$1(t)}t.ref!==null&&Fv(t)}return Ia(t),null}case D:{var ne=u;if(e&&t.stateNode!=null){var oe=e.memoizedProps;Bv(e,t,oe,ne)}else{if(typeof ne!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var le=P7(),Ee=kg(),He=w3(t);He?QI(t)&&$1(t):t.stateNode=U_(ne,le,Ee,t)}return Ia(t),null}case J:{U1(t);var Je=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var kt=fR(e,t,Je);if(!kt)return t.flags&$n?t:null}if((t.flags&at)!==Ke)return t.lanes=i,(t.mode&rt)!==Be&&Zg(t),t;var Tt=Je!==null,Z=e!==null&&e.memoizedState!==null;if(Tt!==Z&&Tt){var ie=t.child;if(ie.flags|=Ts,(t.mode&$e)!==Be){var X=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ct);X||wg(Zo.current,U7)?pL():G8()}}var ve=t.updateQueue;if(ve!==null&&(t.flags|=pt),Ia(t),(t.mode&rt)!==Be&&Tt){var Ae=t.child;Ae!==null&&(t.treeBaseDuration-=Ae.treeBaseDuration)}return null}case R:return M1(t),I8(e,t),e===null&&LI(t.stateNode.containerInfo),Ia(t),null;case W:var Le=t.type._context;return fg(Le,t),Ia(t),null;case Ie:{var nt=t.type;return xs(nt)&&y3(t),Ia(t),null}case Ge:{U1(t);var dt=t.memoizedState;if(dt===null)return Ia(t),null;var $t=(t.flags&at)!==Ke,xt=dt.rendering;if(xt===null)if($t)Lf(dt,!1);else{var Mn=gL()&&(e===null||(e.flags&at)===Ke);if(!Mn)for(var At=t.child;At!==null;){var En=V3(At);if(En!==null){$t=!0,t.flags|=at,Lf(dt,!1);var Za=En.updateQueue;return Za!==null&&(t.updateQueue=Za,t.flags|=pt),t.subtreeFlags=Ke,rN(t,i),ru(t,Cg(Zo.current,yf)),t.child}At=At.sibling}dt.tail!==null&&an()>uT()&&(t.flags|=at,$t=!0,Lf(dt,!1),t.lanes=wp)}else{if(!$t){var xa=V3(xt);if(xa!==null){t.flags|=at,$t=!0;var no=xa.updateQueue;if(no!==null&&(t.updateQueue=no,t.flags|=pt),Lf(dt,!0),dt.tail===null&&dt.tailMode==="hidden"&&!xt.alternate&&!Ea())return Ia(t),null}else an()*2-dt.renderingStartTime>uT()&&i!==la&&(t.flags|=at,$t=!0,Lf(dt,!1),t.lanes=wp)}if(dt.isBackwards)xt.sibling=t.child,t.child=xt;else{var fr=dt.last;fr!==null?fr.sibling=xt:t.child=xt,dt.last=xt}}if(dt.tail!==null){var pr=dt.tail;dt.rendering=pr,dt.tail=pr.sibling,dt.renderingStartTime=an(),pr.sibling=null;var Xa=Zo.current;return $t?Xa=Cg(Xa,yf):Xa=D1(Xa),ru(t,Xa),pr}return Ia(t),null}case Qe:break;case _e:case et:{H8(t);var zi=t.memoizedState,K1=zi!==null;if(e!==null){var Gf=e.memoizedState,js=Gf!==null;js!==K1&&!Se&&(t.flags|=Ts)}return!K1||(t.mode&$e)===Be?Ia(t):Wa(Vs,la)&&(Ia(t),t.subtreeFlags&(Kt|pt)&&(t.flags|=Ts)),null}case ht:return null;case Rt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pR(e,t,i){switch(J4(t),t.tag){case C:{var u=t.type;xs(u)&&y3(t);var m=t.flags;return m&$n?(t.flags=m&~$n|at,(t.mode&rt)!==Be&&Zg(t),t):null}case N:{t.stateNode,M1(t),Y4(t),_g();var g=t.flags;return(g&$n)!==Ke&&(g&at)===Ke?(t.flags=g&~$n|at,t):null}case O:return Sg(t),null;case J:{U1(t);var T=t.memoizedState;if(T!==null&&T.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");O1()}var E=t.flags;return E&$n?(t.flags=E&~$n|at,(t.mode&rt)!==Be&&Zg(t),t):null}case Ge:return U1(t),null;case R:return M1(t),null;case W:var I=t.type._context;return fg(I,t),null;case _e:case et:return H8(t),null;case ht:return null;default:return null}}function zv(e,t,i){switch(J4(t),t.tag){case C:{var u=t.type.childContextTypes;u!=null&&y3(t);break}case N:{t.stateNode,M1(t),Y4(t),_g();break}case O:{Sg(t);break}case R:M1(t);break;case J:U1(t);break;case Ge:U1(t);break;case W:var m=t.type._context;fg(m,t);break;case _e:case et:H8(t);break}}var Hv=null;Hv=new Set;var uh=!1,Na=!1,hR=typeof WeakSet=="function"?WeakSet:Set,Fe=null,z1=null,H1=null;function gR(e){di(null,function(){throw e}),l0()}var yR=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&rt)try{Us(),t.componentWillUnmount()}finally{Ds(e)}else t.componentWillUnmount()};function Gv(e,t){try{iu(Xn,e)}catch(i){Xt(e,t,i)}}function N8(e,t,i){try{yR(e,i)}catch(u){Xt(e,t,u)}}function vR(e,t,i){try{i.componentDidMount()}catch(u){Xt(e,t,u)}}function qv(e,t){try{Qv(e)}catch(i){Xt(e,t,i)}}function G1(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var u;try{if(gt&&it&&e.mode&rt)try{Us(),u=i(null)}finally{Ds(e)}else u=i(null)}catch(m){Xt(e,t,m)}typeof u=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",mt(e))}else i.current=null}function ch(e,t,i){try{i()}catch(u){Xt(e,t,u)}}var Wv=!1;function TR(e,t){O_(e.containerInfo),Fe=t,bR();var i=Wv;return Wv=!1,i}function bR(){for(;Fe!==null;){var e=Fe,t=e.child;(e.subtreeFlags&Sl)!==Ke&&t!==null?(t.return=e,Fe=t):kR()}}function kR(){for(;Fe!==null;){var e=Fe;jt(e);try{SR(e)}catch(i){Xt(e,e.return,i)}Ln();var t=e.sibling;if(t!==null){t.return=e.return,Fe=t;return}Fe=e.return}}function SR(e){var t=e.alternate,i=e.flags;if((i&Cr)!==Ke){switch(jt(e),e.tag){case b:case K:case ae:break;case C:{if(t!==null){var u=t.memoizedProps,m=t.memoizedState,g=e.stateNode;e.type===e.elementType&&!xc&&(g.props!==e.memoizedProps&&f("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.",mt(e)||"instance"),g.state!==e.memoizedState&&f("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.",mt(e)||"instance"));var T=g.getSnapshotBeforeUpdate(e.elementType===e.type?u:Jo(e.type,u),m);{var E=Hv;T===void 0&&!E.has(e.type)&&(E.add(e.type),f("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",mt(e)))}g.__reactInternalSnapshotBeforeUpdate=T}break}case N:{{var I=e.stateNode;nI(I.containerInfo)}break}case O:case D:case R:case Ie:break;default:throw new 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.")}Ln()}}function ts(e,t,i){var u=t.updateQueue,m=u!==null?u.lastEffect:null;if(m!==null){var g=m.next,T=g;do{if((T.tag&e)===e){var E=T.destroy;T.destroy=void 0,E!==void 0&&((e&_a)!==Ur?bp(t):(e&Xn)!==Ur&&Xr(t),(e&As)!==Ur&&$f(!0),ch(t,i,E),(e&As)!==Ur&&$f(!1),(e&_a)!==Ur?Md():(e&Xn)!==Ur&&_l())}T=T.next}while(T!==g)}}function iu(e,t){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var m=u.next,g=m;do{if((g.tag&e)===e){(e&_a)!==Ur?Ss(t):(e&Xn)!==Ur&&kp(t);var T=g.create;(e&As)!==Ur&&$f(!0),g.destroy=T(),(e&As)!==Ur&&$f(!1),(e&_a)!==Ur?Pd():(e&Xn)!==Ur&&Ju();{var E=g.destroy;if(E!==void 0&&typeof E!="function"){var I=void 0;(g.tag&Xn)!==Ke?I="useLayoutEffect":(g.tag&As)!==Ke?I="useInsertionEffect":I="useEffect";var x=void 0;E===null?x=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof E.then=="function"?x=`
|
|
136
136
|
|
|
137
137
|
It looks like you wrote `+I+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
138
138
|
|
|
@@ -145,11 +145,11 @@ It looks like you wrote `+I+`(async () => ...) or returned a Promise. Instead, w
|
|
|
145
145
|
fetchData();
|
|
146
146
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
147
147
|
|
|
148
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:x=" You returned: "+E,f("%s must not return anything besides a function, which is used for clean-up.%s",I,x)}}}g=g.next}while(g!==m)}}function wR(e,t){if((t.flags&pt)!==Ke)switch(t.tag){case te:{var i=t.stateNode.passiveEffectDuration,u=t.memoizedProps,m=u.id,g=u.onPostCommit,T=uv(),E=t.alternate===null?"mount":"update";lv()&&(E="nested-update"),typeof g=="function"&&g(m,E,i,T);var I=t.return;e:for(;I!==null;){switch(I.tag){case N:var x=I.stateNode;x.passiveEffectDuration+=i;break e;case te:var A=I.stateNode;A.passiveEffectDuration+=i;break e}I=I.return}break}}}function CR(e,t,i,u){if((i.flags&sa)!==Ke)switch(i.tag){case b:case K:case ae:{if(!Na)if(i.mode&rt)try{Us(),iu(Xn|Zn,i)}finally{Ds(i)}else iu(Xn|Zn,i);break}case C:{var m=i.stateNode;if(i.flags&pt&&!Na)if(t===null)if(i.type===i.elementType&&!xc&&(m.props!==i.memoizedProps&&f("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.",mt(i)||"instance"),m.state!==i.memoizedState&&f("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.",mt(i)||"instance")),i.mode&rt)try{Us(),m.componentDidMount()}finally{Ds(i)}else m.componentDidMount();else{var g=i.elementType===i.type?t.memoizedProps:Jo(i.type,t.memoizedProps),T=t.memoizedState;if(i.type===i.elementType&&!xc&&(m.props!==i.memoizedProps&&f("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.",mt(i)||"instance"),m.state!==i.memoizedState&&f("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.",mt(i)||"instance")),i.mode&rt)try{Us(),m.componentDidUpdate(g,T,m.__reactInternalSnapshotBeforeUpdate)}finally{Ds(i)}else m.componentDidUpdate(g,T,m.__reactInternalSnapshotBeforeUpdate)}var E=i.updateQueue;E!==null&&(i.type===i.elementType&&!xc&&(m.props!==i.memoizedProps&&f("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.",mt(i)||"instance"),m.state!==i.memoizedState&&f("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.",mt(i)||"instance")),A7(i,E,m));break}case N:{var I=i.updateQueue;if(I!==null){var x=null;if(i.child!==null)switch(i.child.tag){case O:x=i.child.stateNode;break;case C:x=i.child.stateNode;break}A7(i,I,x)}break}case O:{var A=i.stateNode;if(t===null&&i.flags&pt){var q=i.type,H=i.memoizedProps;$_(A,q,H)}break}case D:break;case R:break;case te:{{var ne=i.memoizedProps,oe=ne.onCommit,le=ne.onRender,Ee=i.stateNode.effectDuration,He=uv(),Je=t===null?"mount":"update";lv()&&(Je="nested-update"),typeof le=="function"&&le(i.memoizedProps.id,Je,i.actualDuration,i.treeBaseDuration,i.actualStartTime,He);{typeof oe=="function"&&oe(i.memoizedProps.id,Je,Ee,He),kL(i);var kt=i.return;e:for(;kt!==null;){switch(kt.tag){case N:var Tt=kt.stateNode;Tt.effectDuration+=Ee;break e;case te:var Z=kt.stateNode;Z.effectDuration+=Ee;break e}kt=kt.return}}}break}case J:{xR(e,i);break}case Ge:case Ie:case Qe:case _e:case et:case Rt:break;default:throw new 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.")}Na||i.flags&Va&&Qv(i)}function ER(e){switch(e.tag){case b:case K:case ae:{if(e.mode&rt)try{Us(),Gv(e,e.return)}finally{Ds(e)}else Gv(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&vR(e,e.return,t),qv(e,e.return);break}case O:{qv(e,e.return);break}}}function _R(e,t){for(var i=null,u=e;;){if(u.tag===O){if(i===null){i=u;try{var m=u.stateNode;t?X_(m):eI(u.stateNode,u.memoizedProps)}catch(T){Xt(e,e.return,T)}}}else if(u.tag===D){if(i===null)try{var g=u.stateNode;t?J_(g):tI(g,u.memoizedProps)}catch(T){Xt(e,e.return,T)}}else if(!((u.tag===_e||u.tag===et)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;i===u&&(i=null),u=u.return}i===u&&(i=null),u.sibling.return=u.return,u=u.sibling}}function Qv(e){var t=e.ref;if(t!==null){var i=e.stateNode,u;switch(e.tag){case O:u=i;break;default:u=i}if(typeof t=="function"){var m;if(e.mode&rt)try{Us(),m=t(u)}finally{Ds(e)}else m=t(u);typeof m=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",mt(e))}else t.hasOwnProperty("current")||f("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",mt(e)),t.current=u}}function IR(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Yv(e){var t=e.alternate;t!==null&&(e.alternate=null,Yv(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var i=e.stateNode;i!==null&&AI(i)}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 NR(e){for(var t=e.return;t!==null;){if(Kv(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Kv(e){return e.tag===O||e.tag===N||e.tag===R}function Zv(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Kv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==D&&t.tag!==Ze;){if(t.flags&Kt||t.child===null||t.tag===R)continue e;t.child.return=t,t=t.child}if(!(t.flags&Kt))return t.stateNode}}function RR(e){var t=NR(e);switch(t.tag){case O:{var i=t.stateNode;t.flags&Mt&&(Jy(i),t.flags&=~Mt);var u=Zv(e);Lg(e,u,i);break}case N:case R:{var m=t.stateNode.containerInfo,g=Zv(e);Rg(e,g,m);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Rg(e,t,i){var u=e.tag,m=u===O||u===D;if(m){var g=e.stateNode;t?Q_(i,g,t):q_(i,g)}else if(u!==R){var T=e.child;if(T!==null){Rg(T,t,i);for(var E=T.sibling;E!==null;)Rg(E,t,i),E=E.sibling}}}function Lg(e,t,i){var u=e.tag,m=u===O||u===D;if(m){var g=e.stateNode;t?W_(i,g,t):G_(i,g)}else if(u!==R){var T=e.child;if(T!==null){Lg(T,t,i);for(var E=T.sibling;E!==null;)Lg(E,t,i),E=E.sibling}}}var Ra=null,ns=!1;function LR(e,t,i){{var u=t;e:for(;u!==null;){switch(u.tag){case O:{Ra=u.stateNode,ns=!1;break e}case N:{Ra=u.stateNode.containerInfo,ns=!0;break e}case R:{Ra=u.stateNode.containerInfo,ns=!0;break e}}u=u.return}if(Ra===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Xv(e,t,i),Ra=null,ns=!1}IR(i)}function lu(e,t,i){for(var u=i.child;u!==null;)Xv(e,t,u),u=u.sibling}function Xv(e,t,i){switch(pi(i),i.tag){case O:Na||G1(i,t);case D:{{var u=Ra,m=ns;Ra=null,lu(e,t,i),Ra=u,ns=m,Ra!==null&&(ns?K_(Ra,i.stateNode):Y_(Ra,i.stateNode))}return}case Ze:{Ra!==null&&(ns?Z_(Ra,i.stateNode):B4(Ra,i.stateNode));return}case R:{{var g=Ra,T=ns;Ra=i.stateNode.containerInfo,ns=!0,lu(e,t,i),Ra=g,ns=T}return}case b:case K:case ue:case ae:{if(!Na){var E=i.updateQueue;if(E!==null){var I=E.lastEffect;if(I!==null){var x=I.next,A=x;do{var q=A,H=q.destroy,ne=q.tag;H!==void 0&&((ne&As)!==Ur?ch(i,t,H):(ne&Xn)!==Ur&&(Xr(i),i.mode&rt?(Us(),ch(i,t,H),Ds(i)):ch(i,t,H),_l())),A=A.next}while(A!==x)}}}lu(e,t,i);return}case C:{if(!Na){G1(i,t);var oe=i.stateNode;typeof oe.componentWillUnmount=="function"&&Ng(i,t,oe)}lu(e,t,i);return}case Qe:{lu(e,t,i);return}case _e:{if(i.mode&$e){var le=Na;Na=le||i.memoizedState!==null,lu(e,t,i),Na=le}else lu(e,t,i);break}default:{lu(e,t,i);return}}}function OR(e){e.memoizedState}function xR(e,t){var i=t.memoizedState;if(i===null){var u=t.alternate;if(u!==null){var m=u.memoizedState;if(m!==null){var g=m.dehydrated;g!==null&&gI(g)}}}}function Jv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new hR),t.forEach(function(u){var m=NL.bind(null,e,u);if(!i.has(u)){if(i.add(u),sr)if(z1!==null&&H1!==null)Bf(H1,z1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(m,m)}})}}function AR(e,t,i){z1=i,H1=e,jt(t),eT(t,e),jt(t),z1=null,H1=null}function as(e,t,i){var u=t.deletions;if(u!==null)for(var m=0;m<u.length;m++){var g=u[m];try{LR(e,t,g)}catch(I){Xt(g,t,I)}}var T=z6();if(t.subtreeFlags&$a)for(var E=t.child;E!==null;)jt(E),eT(E,e),E=E.sibling;jt(T)}function eT(e,t,i){var u=e.alternate,m=e.flags;switch(e.tag){case b:case K:case ue:case ae:{if(as(t,e),Fs(e),m&pt){try{ts(As|Zn,e,e.return),iu(As|Zn,e)}catch(nt){Xt(e,e.return,nt)}if(e.mode&rt){try{Us(),ts(Xn|Zn,e,e.return)}catch(nt){Xt(e,e.return,nt)}Ds(e)}else try{ts(Xn|Zn,e,e.return)}catch(nt){Xt(e,e.return,nt)}}return}case C:{as(t,e),Fs(e),m&Va&&u!==null&&G1(u,u.return);return}case O:{as(t,e),Fs(e),m&Va&&u!==null&&G1(u,u.return);{if(e.flags&Mt){var g=e.stateNode;try{Jy(g)}catch(nt){Xt(e,e.return,nt)}}if(m&pt){var T=e.stateNode;if(T!=null){var E=e.memoizedProps,I=u!==null?u.memoizedProps:E,x=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{z_(T,A,x,I,E,e)}catch(nt){Xt(e,e.return,nt)}}}}return}case D:{if(as(t,e),Fs(e),m&pt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var q=e.stateNode,H=e.memoizedProps,ne=u!==null?u.memoizedProps:H;try{H_(q,ne,H)}catch(nt){Xt(e,e.return,nt)}}return}case N:{if(as(t,e),Fs(e),m&pt&&u!==null){var oe=u.memoizedState;if(oe.isDehydrated)try{hI(t.containerInfo)}catch(nt){Xt(e,e.return,nt)}}return}case R:{as(t,e),Fs(e);return}case J:{as(t,e),Fs(e);var le=e.child;if(le.flags&Ts){var Ee=le.stateNode,He=le.memoizedState,Je=He!==null;if(Ee.isHidden=Je,Je){var kt=le.alternate!==null&&le.alternate.memoizedState!==null;kt||fL()}}if(m&pt){try{OR(e)}catch(nt){Xt(e,e.return,nt)}Jv(e)}return}case _e:{var Tt=u!==null&&u.memoizedState!==null;if(e.mode&$e){var Z=Na;Na=Z||Tt,as(t,e),Na=Z}else as(t,e);if(Fs(e),m&Ts){var ie=e.stateNode,X=e.memoizedState,ve=X!==null,Ae=e;if(ie.isHidden=ve,ve&&!Tt&&(Ae.mode&$e)!==Be){Fe=Ae;for(var Le=Ae.child;Le!==null;)Fe=Le,MR(Le),Le=Le.sibling}_R(Ae,ve)}return}case Ge:{as(t,e),Fs(e),m&pt&&Jv(e);return}case Qe:return;default:{as(t,e),Fs(e);return}}}function Fs(e){var t=e.flags;if(t&Kt){try{RR(e)}catch(i){Xt(e,e.return,i)}e.flags&=~Kt}t&Er&&(e.flags&=~Er)}function PR(e,t,i){z1=i,H1=t,Fe=e,tT(e,t,i),z1=null,H1=null}function tT(e,t,i){for(var u=(e.mode&$e)!==Be;Fe!==null;){var m=Fe,g=m.child;if(m.tag===_e&&u){var T=m.memoizedState!==null,E=T||uh;if(E){Og(e,t,i);continue}else{var I=m.alternate,x=I!==null&&I.memoizedState!==null,A=x||Na,q=uh,H=Na;uh=E,Na=A,Na&&!H&&(Fe=m,DR(m));for(var ne=g;ne!==null;)Fe=ne,tT(ne,t,i),ne=ne.sibling;Fe=m,uh=q,Na=H,Og(e,t,i);continue}}(m.subtreeFlags&sa)!==Ke&&g!==null?(g.return=m,Fe=g):Og(e,t,i)}}function Og(e,t,i){for(;Fe!==null;){var u=Fe;if((u.flags&sa)!==Ke){var m=u.alternate;jt(u);try{CR(t,m,u,i)}catch(T){Xt(u,u.return,T)}Ln()}if(u===e){Fe=null;return}var g=u.sibling;if(g!==null){g.return=u.return,Fe=g;return}Fe=u.return}}function MR(e){for(;Fe!==null;){var t=Fe,i=t.child;switch(t.tag){case b:case K:case ue:case ae:{if(t.mode&rt)try{Us(),ts(Xn,t,t.return)}finally{Ds(t)}else ts(Xn,t,t.return);break}case C:{G1(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&Ng(t,t.return,u);break}case O:{G1(t,t.return);break}case _e:{var m=t.memoizedState!==null;if(m){nT(e);continue}break}}i!==null?(i.return=t,Fe=i):nT(e)}}function nT(e){for(;Fe!==null;){var t=Fe;if(t===e){Fe=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Fe=i;return}Fe=t.return}}function DR(e){for(;Fe!==null;){var t=Fe,i=t.child;if(t.tag===_e){var u=t.memoizedState!==null;if(u){aT(e);continue}}i!==null?(i.return=t,Fe=i):aT(e)}}function aT(e){for(;Fe!==null;){var t=Fe;jt(t);try{ER(t)}catch(u){Xt(t,t.return,u)}if(Ln(),t===e){Fe=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Fe=i;return}Fe=t.return}}function UR(e,t,i,u){Fe=t,FR(t,e,i,u)}function FR(e,t,i,u){for(;Fe!==null;){var m=Fe,g=m.child;(m.subtreeFlags&_r)!==Ke&&g!==null?(g.return=m,Fe=g):VR(e,t,i,u)}}function VR(e,t,i,u){for(;Fe!==null;){var m=Fe;if((m.flags&Jt)!==Ke){jt(m);try{jR(t,m,i,u)}catch(T){Xt(m,m.return,T)}Ln()}if(m===e){Fe=null;return}var g=m.sibling;if(g!==null){g.return=m.return,Fe=g;return}Fe=m.return}}function jR(e,t,i,u){switch(t.tag){case b:case K:case ae:{if(t.mode&rt){K8();try{iu(_a|Zn,t)}finally{Y8(t)}}else iu(_a|Zn,t);break}}}function BR(e){Fe=e,$R()}function $R(){for(;Fe!==null;){var e=Fe,t=e.child;if((Fe.flags&Pt)!==Ke){var i=e.deletions;if(i!==null){for(var u=0;u<i.length;u++){var m=i[u];Fe=m,GR(m,e)}{var g=e.alternate;if(g!==null){var T=g.child;if(T!==null){g.child=null;do{var E=T.sibling;T.sibling=null,T=E}while(T!==null)}}}Fe=e}}(e.subtreeFlags&_r)!==Ke&&t!==null?(t.return=e,Fe=t):zR()}}function zR(){for(;Fe!==null;){var e=Fe;(e.flags&Jt)!==Ke&&(jt(e),HR(e),Ln());var t=e.sibling;if(t!==null){t.return=e.return,Fe=t;return}Fe=e.return}}function HR(e){switch(e.tag){case b:case K:case ae:{e.mode&rt?(K8(),ts(_a|Zn,e,e.return),Y8(e)):ts(_a|Zn,e,e.return);break}}}function GR(e,t){for(;Fe!==null;){var i=Fe;jt(i),WR(i,t),Ln();var u=i.child;u!==null?(u.return=i,Fe=u):qR(e)}}function qR(e){for(;Fe!==null;){var t=Fe,i=t.sibling,u=t.return;if(Yv(t),t===e){Fe=null;return}if(i!==null){i.return=u,Fe=i;return}Fe=u}}function WR(e,t){switch(e.tag){case b:case K:case ae:{e.mode&rt?(K8(),ts(_a,e,t),Y8(e)):ts(_a,e,t);break}}}function QR(e){switch(e.tag){case b:case K:case ae:{try{iu(Xn|Zn,e)}catch(i){Xt(e,e.return,i)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Xt(e,e.return,i)}break}}}function YR(e){switch(e.tag){case b:case K:case ae:{try{iu(_a|Zn,e)}catch(t){Xt(e,e.return,t)}break}}}function KR(e){switch(e.tag){case b:case K:case ae:{try{ts(Xn|Zn,e,e.return)}catch(i){Xt(e,e.return,i)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Ng(e,e.return,t);break}}}function ZR(e){switch(e.tag){case b:case K:case ae:try{ts(_a|Zn,e,e.return)}catch(t){Xt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Of=Symbol.for;Of("selector.component"),Of("selector.has_pseudo_class"),Of("selector.role"),Of("selector.test_id"),Of("selector.text")}var XR=[];function JR(){XR.forEach(function(e){return e()})}var eL=o.ReactCurrentActQueue;function tL(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function rT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&eL.current!==null&&f("The current testing environment is not configured to support act(...)"),e}}var nL=Math.ceil,xg=o.ReactCurrentDispatcher,Ag=o.ReactCurrentOwner,La=o.ReactCurrentBatchConfig,rs=o.ReactCurrentActQueue,ta=0,oT=1,Oa=2,ko=4,Vi=0,xf=1,Ac=2,dh=3,Af=4,sT=5,Pg=6,_t=ta,dr=null,yn=null,na=fe,Vs=fe,Mg=Xl(fe),aa=Vi,Pf=null,mh=fe,Mf=fe,fh=fe,Df=null,Fr=null,Dg=0,iT=500,lT=1/0,aL=500,ji=null;function Uf(){lT=an()+aL}function uT(){return lT}var ph=!1,Ug=null,q1=null,Pc=!1,uu=null,Ff=fe,Fg=[],Vg=null,rL=50,Vf=0,jg=null,Bg=!1,hh=!1,oL=50,W1=0,gh=null,yh=Wt,vh=fe,cT=!1;function Th(){return dr}function mr(){return(_t&(Oa|ko))!==ta?an():(yh!==Wt||(yh=an()),yh)}function cu(e){var t=e.mode;if((t&$e)===Be)return We;if((_t&Oa)!==ta&&na!==fe)return Ml(na);var i=eN()!==JI;if(i){if(La.transition!==null){var u=La.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return vh===wn&&(vh=Op()),vh}var m=Or();if(m!==wn)return m;var g=F_();return g}function sL(e){var t=e.mode;return(t&$e)===Be?We:qa()}function ra(e,t,i,u){LL(),cT&&f("useInsertionEffect must not schedule updates."),Bg&&(hh=!0),Si(e,i,u),(_t&Oa)!==fe&&e===dr?AL(t):(sr&&N0(e,t,i),PL(t),e===dr&&((_t&Oa)===ta&&(Mf=ft(Mf,i)),aa===Af&&du(e,na)),Vr(e,u),i===We&&_t===ta&&(t.mode&$e)===Be&&!rs.isBatchingLegacy&&(Uf(),c7()))}function iL(e,t,i){var u=e.current;u.lanes=t,Si(e,t,i),Vr(e,i)}function lL(e){return(_t&Oa)!==ta}function Vr(e,t){var i=e.callbackNode;_p(e,t);var u=bi(e,e===dr?na:fe);if(u===fe){i!==null&&_T(i),e.callbackNode=null,e.callbackPriority=wn;return}var m=hn(u),g=e.callbackPriority;if(g===m&&!(rs.current!==null&&i!==Qg)){i==null&&g!==We&&f("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&_T(i);var T;if(m===We)e.tag===Jl?(rs.isBatchingLegacy!==null&&(rs.didScheduleLegacyUpdate=!0),DI(fT.bind(null,e))):u7(fT.bind(null,e)),rs.current!==null?rs.current.push(eu):j_(function(){(_t&(Oa|ko))===ta&&eu()}),T=null;else{var E;switch(dc(u)){case ua:E=Od;break;case Kn:E=fi;break;case zo:E=mo;break;case uc:E=xd;break;default:E=mo;break}T=Yg(E,dT.bind(null,e))}e.callbackPriority=m,e.callbackNode=T}function dT(e,t){if(_N(),yh=Wt,vh=fe,(_t&(Oa|ko))!==ta)throw new Error("Should not already be working.");var i=e.callbackNode,u=$i();if(u&&e.callbackNode!==i)return null;var m=bi(e,e===dr?na:fe);if(m===fe)return null;var g=!ic(e,m)&&!Lp(e,m)&&!t,T=g?vL(e,m):kh(e,m);if(T!==Vi){if(T===Ac){var E=Cs(e);E!==fe&&(m=E,T=$g(e,E))}if(T===xf){var I=Pf;throw Mc(e,fe),du(e,m),Vr(e,an()),I}if(T===Pg)du(e,m);else{var x=!ic(e,m),A=e.current.alternate;if(x&&!cL(A)){if(T=kh(e,m),T===Ac){var q=Cs(e);q!==fe&&(m=q,T=$g(e,q))}if(T===xf){var H=Pf;throw Mc(e,fe),du(e,m),Vr(e,an()),H}}e.finishedWork=A,e.finishedLanes=m,uL(e,T,m)}}return Vr(e,an()),e.callbackNode===i?dT.bind(null,e):null}function $g(e,t){var i=Df;if(An(e)){var u=Mc(e,t);u.flags|=mn,RI(e.containerInfo)}var m=kh(e,t);if(m!==Ac){var g=Fr;Fr=i,g!==null&&mT(g)}return m}function mT(e){Fr===null?Fr=e:Fr.push.apply(Fr,e)}function uL(e,t,i){switch(t){case Vi:case xf:throw new Error("Root did not complete. This is a bug in React.");case Ac:{Dc(e,Fr,ji);break}case dh:{if(du(e,i),Ip(i)&&!IT()){var u=Dg+iT-an();if(u>10){var m=bi(e,fe);if(m!==fe)break;var g=e.suspendedLanes;if(!ki(g,i)){mr(),_0(e,g);break}e.timeoutHandle=V4(Dc.bind(null,e,Fr,ji),u);break}}Dc(e,Fr,ji);break}case Af:{if(du(e,i),Rp(i))break;if(!IT()){var T=Cp(e,i),E=T,I=an()-E,x=RL(I)-I;if(x>10){e.timeoutHandle=V4(Dc.bind(null,e,Fr,ji),x);break}}Dc(e,Fr,ji);break}case sT:{Dc(e,Fr,ji);break}default:throw new Error("Unknown root exit status.")}}function cL(e){for(var t=e;;){if(t.flags&Zu){var i=t.updateQueue;if(i!==null){var u=i.stores;if(u!==null)for(var m=0;m<u.length;m++){var g=u[m],T=g.getSnapshot,E=g.value;try{if(!Ue(T(),E))return!1}catch{return!1}}}}var I=t.child;if(t.subtreeFlags&Zu&&I!==null){I.return=t,t=I;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function du(e,t){t=lc(t,fh),t=lc(t,Mf),E0(e,t)}function fT(e){if(IN(),(_t&(Oa|ko))!==ta)throw new Error("Should not already be working.");$i();var t=bi(e,fe);if(!Wa(t,We))return Vr(e,an()),null;var i=kh(e,t);if(e.tag!==Jl&&i===Ac){var u=Cs(e);u!==fe&&(t=u,i=$g(e,u))}if(i===xf){var m=Pf;throw Mc(e,fe),du(e,t),Vr(e,an()),m}if(i===Pg)throw new Error("Root did not complete. This is a bug in React.");var g=e.current.alternate;return e.finishedWork=g,e.finishedLanes=t,Dc(e,Fr,ji),Vr(e,an()),null}function dL(e,t){t!==fe&&(Dl(e,ft(t,We)),Vr(e,an()),(_t&(Oa|ko))===ta&&(Uf(),eu()))}function zg(e,t){var i=_t;_t|=oT;try{return e(t)}finally{_t=i,_t===ta&&!rs.isBatchingLegacy&&(Uf(),c7())}}function mL(e,t,i,u,m){var g=Or(),T=La.transition;try{return La.transition=null,xn(ua),e(t,i,u,m)}finally{xn(g),La.transition=T,_t===ta&&Uf()}}function Bi(e){uu!==null&&uu.tag===Jl&&(_t&(Oa|ko))===ta&&$i();var t=_t;_t|=oT;var i=La.transition,u=Or();try{return La.transition=null,xn(ua),e?e():void 0}finally{xn(u),La.transition=i,_t=t,(_t&(Oa|ko))===ta&&eu()}}function pT(){return(_t&(Oa|ko))!==ta}function bh(e,t){Ya(Mg,Vs,e),Vs=ft(Vs,t)}function Hg(e){Vs=Mg.current,Qa(Mg,e)}function Mc(e,t){e.finishedWork=null,e.finishedLanes=fe;var i=e.timeoutHandle;if(i!==j4&&(e.timeoutHandle=j4,V_(i)),yn!==null)for(var u=yn.return;u!==null;){var m=u.alternate;zv(m,u),u=u.return}dr=e;var g=Uc(e.current,null);return yn=g,na=Vs=t,aa=Vi,Pf=null,mh=fe,Mf=fe,fh=fe,Df=null,Fr=null,iN(),Ko.discardPendingWarnings(),g}function hT(e,t){do{var i=yn;try{if(R3(),V7(),Ln(),Ag.current=null,i===null||i.return===null){aa=xf,Pf=t,yn=null;return}if(gt&&i.mode&rt&&rh(i,!0),qe)if(Ha(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;hi(i,u,na)}else ec(i,t,na);DN(e,i.return,i,t,na),TT(i)}catch(m){t=m,yn===i&&i!==null?(i=i.return,yn=i):i=yn;continue}return}while(!0)}function gT(){var e=xg.current;return xg.current=J3,e===null?J3:e}function yT(e){xg.current=e}function fL(){Dg=an()}function jf(e){mh=ft(e,mh)}function pL(){aa===Vi&&(aa=dh)}function Gg(){(aa===Vi||aa===dh||aa===Ac)&&(aa=Af),dr!==null&&(sc(mh)||sc(Mf))&&du(dr,na)}function hL(e){aa!==Af&&(aa=Ac),Df===null?Df=[e]:Df.push(e)}function gL(){return aa===Vi}function kh(e,t){var i=_t;_t|=Oa;var u=gT();if(dr!==e||na!==t){if(sr){var m=e.memoizedUpdaters;m.size>0&&(Bf(e,na),m.clear()),a1(e,t)}ji=R0(),Mc(e,t)}en(t);do try{yL();break}catch(g){hT(e,g)}while(!0);if(R3(),_t=i,yT(u),yn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ud(),dr=null,na=fe,aa}function yL(){for(;yn!==null;)vT(yn)}function vL(e,t){var i=_t;_t|=Oa;var u=gT();if(dr!==e||na!==t){if(sr){var m=e.memoizedUpdaters;m.size>0&&(Bf(e,na),m.clear()),a1(e,t)}ji=R0(),Uf(),Mc(e,t)}en(t);do try{TL();break}catch(g){hT(e,g)}while(!0);return R3(),yT(u),_t=i,yn!==null?(Dd(),Vi):(Ud(),dr=null,na=fe,aa)}function TL(){for(;yn!==null&&!Ld();)vT(yn)}function vT(e){var t=e.alternate;jt(e);var i;(e.mode&rt)!==Be?(Q8(e),i=qg(t,e,Vs),rh(e,!0)):i=qg(t,e,Vs),Ln(),e.memoizedProps=e.pendingProps,i===null?TT(e):yn=i,Ag.current=null}function TT(e){var t=e;do{var i=t.alternate,u=t.return;if((t.flags&ar)===Ke){jt(t);var m=void 0;if((t.mode&rt)===Be?m=$v(i,t,Vs):(Q8(t),m=$v(i,t,Vs),rh(t,!1)),Ln(),m!==null){yn=m;return}}else{var g=pR(i,t);if(g!==null){g.flags&=fp,yn=g;return}if((t.mode&rt)!==Be){rh(t,!1);for(var T=t.actualDuration,E=t.child;E!==null;)T+=E.actualDuration,E=E.sibling;t.actualDuration=T}if(u!==null)u.flags|=ar,u.subtreeFlags=Ke,u.deletions=null;else{aa=Pg,yn=null;return}}var I=t.sibling;if(I!==null){yn=I;return}t=u,yn=t}while(t!==null);aa===Vi&&(aa=sT)}function Dc(e,t,i){var u=Or(),m=La.transition;try{La.transition=null,xn(ua),bL(e,t,i,u)}finally{La.transition=m,xn(u)}return null}function bL(e,t,i,u){do $i();while(uu!==null);if(OL(),(_t&(Oa|ko))!==ta)throw new Error("Should not already be working.");var m=e.finishedWork,g=e.finishedLanes;if(ks(g),m===null)return Ad(),null;if(g===fe&&f("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=fe,m===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=wn;var T=ft(m.lanes,m.childLanes);I0(e,T),e===dr&&(dr=null,yn=null,na=fe),((m.subtreeFlags&_r)!==Ke||(m.flags&_r)!==Ke)&&(Pc||(Pc=!0,Vg=i,Yg(mo,function(){return $i(),null})));var E=(m.subtreeFlags&(Sl|$a|sa|_r))!==Ke,I=(m.flags&(Sl|$a|sa|_r))!==Ke;if(E||I){var x=La.transition;La.transition=null;var A=Or();xn(ua);var q=_t;_t|=ko,Ag.current=null,TR(e,m),cv(),AR(e,m,g),x_(e.containerInfo),e.current=m,y0(g),PR(m,e,g),Il(),gp(),_t=q,xn(A),La.transition=x}else e.current=m,cv();var H=Pc;if(Pc?(Pc=!1,uu=e,Ff=g):(W1=0,gh=null),T=e.pendingLanes,T===fe&&(q1=null),H||wT(e.current,!1),Cl(m.stateNode,u),sr&&e.memoizedUpdaters.clear(),JR(),Vr(e,an()),t!==null)for(var ne=e.onRecoverableError,oe=0;oe<t.length;oe++){var le=t[oe],Ee=le.stack,He=le.digest;ne(le.value,{componentStack:Ee,digest:He})}if(ph){ph=!1;var Je=Ug;throw Ug=null,Je}return Wa(Ff,We)&&e.tag!==Jl&&$i(),T=e.pendingLanes,Wa(T,We)?(EN(),e===jg?Vf++:(Vf=0,jg=e)):Vf=0,eu(),Ad(),null}function $i(){if(uu!==null){var e=dc(Ff),t=c4(zo,e),i=La.transition,u=Or();try{return La.transition=null,xn(t),SL()}finally{xn(u),La.transition=i}}return!1}function kL(e){Fg.push(e),Pc||(Pc=!0,Yg(mo,function(){return $i(),null}))}function SL(){if(uu===null)return!1;var e=Vg;Vg=null;var t=uu,i=Ff;if(uu=null,Ff=fe,(_t&(Oa|ko))!==ta)throw new Error("Cannot flush passive effects while already rendering.");Bg=!0,hh=!1,Sp(i);var u=_t;_t|=ko,BR(t.current),UR(t,t.current,i,e);{var m=Fg;Fg=[];for(var g=0;g<m.length;g++){var T=m[g];wR(t,T)}}v0(),wT(t.current,!0),_t=u,eu(),hh?t===gh?W1++:(W1=0,gh=t):W1=0,Bg=!1,hh=!1,Rr(t);{var E=t.current.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}return!0}function bT(e){return q1!==null&&q1.has(e)}function wL(e){q1===null?q1=new Set([e]):q1.add(e)}function CL(e){ph||(ph=!0,Ug=e)}var EL=CL;function kT(e,t,i){var u=Oc(i,t),m=vv(e,u,We),g=nu(e,m,We),T=mr();g!==null&&(Si(g,We,T),Vr(g,T))}function Xt(e,t,i){if(gR(i),$f(!1),e.tag===N){kT(e,e,i);return}var u=null;for(u=t;u!==null;){if(u.tag===N){kT(u,e,i);return}else if(u.tag===C){var m=u.type,g=u.stateNode;if(typeof m.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!bT(g)){var T=Oc(i,e),E=mg(u,T,We),I=nu(u,E,We),x=mr();I!==null&&(Si(I,We,x),Vr(I,x));return}}u=u.return}f(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
148
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:x=" You returned: "+E,f("%s must not return anything besides a function, which is used for clean-up.%s",I,x)}}}g=g.next}while(g!==m)}}function wR(e,t){if((t.flags&pt)!==Ke)switch(t.tag){case te:{var i=t.stateNode.passiveEffectDuration,u=t.memoizedProps,m=u.id,g=u.onPostCommit,T=uv(),E=t.alternate===null?"mount":"update";lv()&&(E="nested-update"),typeof g=="function"&&g(m,E,i,T);var I=t.return;e:for(;I!==null;){switch(I.tag){case N:var x=I.stateNode;x.passiveEffectDuration+=i;break e;case te:var A=I.stateNode;A.passiveEffectDuration+=i;break e}I=I.return}break}}}function CR(e,t,i,u){if((i.flags&sa)!==Ke)switch(i.tag){case b:case K:case ae:{if(!Na)if(i.mode&rt)try{Us(),iu(Xn|Zn,i)}finally{Ds(i)}else iu(Xn|Zn,i);break}case C:{var m=i.stateNode;if(i.flags&pt&&!Na)if(t===null)if(i.type===i.elementType&&!xc&&(m.props!==i.memoizedProps&&f("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.",mt(i)||"instance"),m.state!==i.memoizedState&&f("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.",mt(i)||"instance")),i.mode&rt)try{Us(),m.componentDidMount()}finally{Ds(i)}else m.componentDidMount();else{var g=i.elementType===i.type?t.memoizedProps:Jo(i.type,t.memoizedProps),T=t.memoizedState;if(i.type===i.elementType&&!xc&&(m.props!==i.memoizedProps&&f("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.",mt(i)||"instance"),m.state!==i.memoizedState&&f("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.",mt(i)||"instance")),i.mode&rt)try{Us(),m.componentDidUpdate(g,T,m.__reactInternalSnapshotBeforeUpdate)}finally{Ds(i)}else m.componentDidUpdate(g,T,m.__reactInternalSnapshotBeforeUpdate)}var E=i.updateQueue;E!==null&&(i.type===i.elementType&&!xc&&(m.props!==i.memoizedProps&&f("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.",mt(i)||"instance"),m.state!==i.memoizedState&&f("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.",mt(i)||"instance")),A7(i,E,m));break}case N:{var I=i.updateQueue;if(I!==null){var x=null;if(i.child!==null)switch(i.child.tag){case O:x=i.child.stateNode;break;case C:x=i.child.stateNode;break}A7(i,I,x)}break}case O:{var A=i.stateNode;if(t===null&&i.flags&pt){var q=i.type,H=i.memoizedProps;$_(A,q,H)}break}case D:break;case R:break;case te:{{var ne=i.memoizedProps,oe=ne.onCommit,le=ne.onRender,Ee=i.stateNode.effectDuration,He=uv(),Je=t===null?"mount":"update";lv()&&(Je="nested-update"),typeof le=="function"&&le(i.memoizedProps.id,Je,i.actualDuration,i.treeBaseDuration,i.actualStartTime,He);{typeof oe=="function"&&oe(i.memoizedProps.id,Je,Ee,He),kL(i);var kt=i.return;e:for(;kt!==null;){switch(kt.tag){case N:var Tt=kt.stateNode;Tt.effectDuration+=Ee;break e;case te:var Z=kt.stateNode;Z.effectDuration+=Ee;break e}kt=kt.return}}}break}case J:{xR(e,i);break}case Ge:case Ie:case Qe:case _e:case et:case Rt:break;default:throw new 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.")}Na||i.flags&Va&&Qv(i)}function ER(e){switch(e.tag){case b:case K:case ae:{if(e.mode&rt)try{Us(),Gv(e,e.return)}finally{Ds(e)}else Gv(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&vR(e,e.return,t),qv(e,e.return);break}case O:{qv(e,e.return);break}}}function _R(e,t){for(var i=null,u=e;;){if(u.tag===O){if(i===null){i=u;try{var m=u.stateNode;t?X_(m):eI(u.stateNode,u.memoizedProps)}catch(T){Xt(e,e.return,T)}}}else if(u.tag===D){if(i===null)try{var g=u.stateNode;t?J_(g):tI(g,u.memoizedProps)}catch(T){Xt(e,e.return,T)}}else if(!((u.tag===_e||u.tag===et)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;i===u&&(i=null),u=u.return}i===u&&(i=null),u.sibling.return=u.return,u=u.sibling}}function Qv(e){var t=e.ref;if(t!==null){var i=e.stateNode,u;switch(e.tag){case O:u=i;break;default:u=i}if(typeof t=="function"){var m;if(e.mode&rt)try{Us(),m=t(u)}finally{Ds(e)}else m=t(u);typeof m=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",mt(e))}else t.hasOwnProperty("current")||f("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",mt(e)),t.current=u}}function IR(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Yv(e){var t=e.alternate;t!==null&&(e.alternate=null,Yv(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var i=e.stateNode;i!==null&&AI(i)}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 NR(e){for(var t=e.return;t!==null;){if(Kv(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Kv(e){return e.tag===O||e.tag===N||e.tag===R}function Zv(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Kv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==D&&t.tag!==Ze;){if(t.flags&Kt||t.child===null||t.tag===R)continue e;t.child.return=t,t=t.child}if(!(t.flags&Kt))return t.stateNode}}function RR(e){var t=NR(e);switch(t.tag){case O:{var i=t.stateNode;t.flags&Mt&&(Jy(i),t.flags&=~Mt);var u=Zv(e);L8(e,u,i);break}case N:case R:{var m=t.stateNode.containerInfo,g=Zv(e);R8(e,g,m);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function R8(e,t,i){var u=e.tag,m=u===O||u===D;if(m){var g=e.stateNode;t?Q_(i,g,t):q_(i,g)}else if(u!==R){var T=e.child;if(T!==null){R8(T,t,i);for(var E=T.sibling;E!==null;)R8(E,t,i),E=E.sibling}}}function L8(e,t,i){var u=e.tag,m=u===O||u===D;if(m){var g=e.stateNode;t?W_(i,g,t):G_(i,g)}else if(u!==R){var T=e.child;if(T!==null){L8(T,t,i);for(var E=T.sibling;E!==null;)L8(E,t,i),E=E.sibling}}}var Ra=null,ns=!1;function LR(e,t,i){{var u=t;e:for(;u!==null;){switch(u.tag){case O:{Ra=u.stateNode,ns=!1;break e}case N:{Ra=u.stateNode.containerInfo,ns=!0;break e}case R:{Ra=u.stateNode.containerInfo,ns=!0;break e}}u=u.return}if(Ra===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Xv(e,t,i),Ra=null,ns=!1}IR(i)}function lu(e,t,i){for(var u=i.child;u!==null;)Xv(e,t,u),u=u.sibling}function Xv(e,t,i){switch(pi(i),i.tag){case O:Na||G1(i,t);case D:{{var u=Ra,m=ns;Ra=null,lu(e,t,i),Ra=u,ns=m,Ra!==null&&(ns?K_(Ra,i.stateNode):Y_(Ra,i.stateNode))}return}case Ze:{Ra!==null&&(ns?Z_(Ra,i.stateNode):B4(Ra,i.stateNode));return}case R:{{var g=Ra,T=ns;Ra=i.stateNode.containerInfo,ns=!0,lu(e,t,i),Ra=g,ns=T}return}case b:case K:case ue:case ae:{if(!Na){var E=i.updateQueue;if(E!==null){var I=E.lastEffect;if(I!==null){var x=I.next,A=x;do{var q=A,H=q.destroy,ne=q.tag;H!==void 0&&((ne&As)!==Ur?ch(i,t,H):(ne&Xn)!==Ur&&(Xr(i),i.mode&rt?(Us(),ch(i,t,H),Ds(i)):ch(i,t,H),_l())),A=A.next}while(A!==x)}}}lu(e,t,i);return}case C:{if(!Na){G1(i,t);var oe=i.stateNode;typeof oe.componentWillUnmount=="function"&&N8(i,t,oe)}lu(e,t,i);return}case Qe:{lu(e,t,i);return}case _e:{if(i.mode&$e){var le=Na;Na=le||i.memoizedState!==null,lu(e,t,i),Na=le}else lu(e,t,i);break}default:{lu(e,t,i);return}}}function OR(e){e.memoizedState}function xR(e,t){var i=t.memoizedState;if(i===null){var u=t.alternate;if(u!==null){var m=u.memoizedState;if(m!==null){var g=m.dehydrated;g!==null&&gI(g)}}}}function Jv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new hR),t.forEach(function(u){var m=NL.bind(null,e,u);if(!i.has(u)){if(i.add(u),sr)if(z1!==null&&H1!==null)Bf(H1,z1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(m,m)}})}}function AR(e,t,i){z1=i,H1=e,jt(t),eT(t,e),jt(t),z1=null,H1=null}function as(e,t,i){var u=t.deletions;if(u!==null)for(var m=0;m<u.length;m++){var g=u[m];try{LR(e,t,g)}catch(I){Xt(g,t,I)}}var T=z6();if(t.subtreeFlags&$a)for(var E=t.child;E!==null;)jt(E),eT(E,e),E=E.sibling;jt(T)}function eT(e,t,i){var u=e.alternate,m=e.flags;switch(e.tag){case b:case K:case ue:case ae:{if(as(t,e),Fs(e),m&pt){try{ts(As|Zn,e,e.return),iu(As|Zn,e)}catch(nt){Xt(e,e.return,nt)}if(e.mode&rt){try{Us(),ts(Xn|Zn,e,e.return)}catch(nt){Xt(e,e.return,nt)}Ds(e)}else try{ts(Xn|Zn,e,e.return)}catch(nt){Xt(e,e.return,nt)}}return}case C:{as(t,e),Fs(e),m&Va&&u!==null&&G1(u,u.return);return}case O:{as(t,e),Fs(e),m&Va&&u!==null&&G1(u,u.return);{if(e.flags&Mt){var g=e.stateNode;try{Jy(g)}catch(nt){Xt(e,e.return,nt)}}if(m&pt){var T=e.stateNode;if(T!=null){var E=e.memoizedProps,I=u!==null?u.memoizedProps:E,x=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{z_(T,A,x,I,E,e)}catch(nt){Xt(e,e.return,nt)}}}}return}case D:{if(as(t,e),Fs(e),m&pt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var q=e.stateNode,H=e.memoizedProps,ne=u!==null?u.memoizedProps:H;try{H_(q,ne,H)}catch(nt){Xt(e,e.return,nt)}}return}case N:{if(as(t,e),Fs(e),m&pt&&u!==null){var oe=u.memoizedState;if(oe.isDehydrated)try{hI(t.containerInfo)}catch(nt){Xt(e,e.return,nt)}}return}case R:{as(t,e),Fs(e);return}case J:{as(t,e),Fs(e);var le=e.child;if(le.flags&Ts){var Ee=le.stateNode,He=le.memoizedState,Je=He!==null;if(Ee.isHidden=Je,Je){var kt=le.alternate!==null&&le.alternate.memoizedState!==null;kt||fL()}}if(m&pt){try{OR(e)}catch(nt){Xt(e,e.return,nt)}Jv(e)}return}case _e:{var Tt=u!==null&&u.memoizedState!==null;if(e.mode&$e){var Z=Na;Na=Z||Tt,as(t,e),Na=Z}else as(t,e);if(Fs(e),m&Ts){var ie=e.stateNode,X=e.memoizedState,ve=X!==null,Ae=e;if(ie.isHidden=ve,ve&&!Tt&&(Ae.mode&$e)!==Be){Fe=Ae;for(var Le=Ae.child;Le!==null;)Fe=Le,MR(Le),Le=Le.sibling}_R(Ae,ve)}return}case Ge:{as(t,e),Fs(e),m&pt&&Jv(e);return}case Qe:return;default:{as(t,e),Fs(e);return}}}function Fs(e){var t=e.flags;if(t&Kt){try{RR(e)}catch(i){Xt(e,e.return,i)}e.flags&=~Kt}t&Er&&(e.flags&=~Er)}function PR(e,t,i){z1=i,H1=t,Fe=e,tT(e,t,i),z1=null,H1=null}function tT(e,t,i){for(var u=(e.mode&$e)!==Be;Fe!==null;){var m=Fe,g=m.child;if(m.tag===_e&&u){var T=m.memoizedState!==null,E=T||uh;if(E){O8(e,t,i);continue}else{var I=m.alternate,x=I!==null&&I.memoizedState!==null,A=x||Na,q=uh,H=Na;uh=E,Na=A,Na&&!H&&(Fe=m,DR(m));for(var ne=g;ne!==null;)Fe=ne,tT(ne,t,i),ne=ne.sibling;Fe=m,uh=q,Na=H,O8(e,t,i);continue}}(m.subtreeFlags&sa)!==Ke&&g!==null?(g.return=m,Fe=g):O8(e,t,i)}}function O8(e,t,i){for(;Fe!==null;){var u=Fe;if((u.flags&sa)!==Ke){var m=u.alternate;jt(u);try{CR(t,m,u,i)}catch(T){Xt(u,u.return,T)}Ln()}if(u===e){Fe=null;return}var g=u.sibling;if(g!==null){g.return=u.return,Fe=g;return}Fe=u.return}}function MR(e){for(;Fe!==null;){var t=Fe,i=t.child;switch(t.tag){case b:case K:case ue:case ae:{if(t.mode&rt)try{Us(),ts(Xn,t,t.return)}finally{Ds(t)}else ts(Xn,t,t.return);break}case C:{G1(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&N8(t,t.return,u);break}case O:{G1(t,t.return);break}case _e:{var m=t.memoizedState!==null;if(m){nT(e);continue}break}}i!==null?(i.return=t,Fe=i):nT(e)}}function nT(e){for(;Fe!==null;){var t=Fe;if(t===e){Fe=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Fe=i;return}Fe=t.return}}function DR(e){for(;Fe!==null;){var t=Fe,i=t.child;if(t.tag===_e){var u=t.memoizedState!==null;if(u){aT(e);continue}}i!==null?(i.return=t,Fe=i):aT(e)}}function aT(e){for(;Fe!==null;){var t=Fe;jt(t);try{ER(t)}catch(u){Xt(t,t.return,u)}if(Ln(),t===e){Fe=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Fe=i;return}Fe=t.return}}function UR(e,t,i,u){Fe=t,FR(t,e,i,u)}function FR(e,t,i,u){for(;Fe!==null;){var m=Fe,g=m.child;(m.subtreeFlags&_r)!==Ke&&g!==null?(g.return=m,Fe=g):VR(e,t,i,u)}}function VR(e,t,i,u){for(;Fe!==null;){var m=Fe;if((m.flags&Jt)!==Ke){jt(m);try{jR(t,m,i,u)}catch(T){Xt(m,m.return,T)}Ln()}if(m===e){Fe=null;return}var g=m.sibling;if(g!==null){g.return=m.return,Fe=g;return}Fe=m.return}}function jR(e,t,i,u){switch(t.tag){case b:case K:case ae:{if(t.mode&rt){Kg();try{iu(_a|Zn,t)}finally{Yg(t)}}else iu(_a|Zn,t);break}}}function BR(e){Fe=e,$R()}function $R(){for(;Fe!==null;){var e=Fe,t=e.child;if((Fe.flags&Pt)!==Ke){var i=e.deletions;if(i!==null){for(var u=0;u<i.length;u++){var m=i[u];Fe=m,GR(m,e)}{var g=e.alternate;if(g!==null){var T=g.child;if(T!==null){g.child=null;do{var E=T.sibling;T.sibling=null,T=E}while(T!==null)}}}Fe=e}}(e.subtreeFlags&_r)!==Ke&&t!==null?(t.return=e,Fe=t):zR()}}function zR(){for(;Fe!==null;){var e=Fe;(e.flags&Jt)!==Ke&&(jt(e),HR(e),Ln());var t=e.sibling;if(t!==null){t.return=e.return,Fe=t;return}Fe=e.return}}function HR(e){switch(e.tag){case b:case K:case ae:{e.mode&rt?(Kg(),ts(_a|Zn,e,e.return),Yg(e)):ts(_a|Zn,e,e.return);break}}}function GR(e,t){for(;Fe!==null;){var i=Fe;jt(i),WR(i,t),Ln();var u=i.child;u!==null?(u.return=i,Fe=u):qR(e)}}function qR(e){for(;Fe!==null;){var t=Fe,i=t.sibling,u=t.return;if(Yv(t),t===e){Fe=null;return}if(i!==null){i.return=u,Fe=i;return}Fe=u}}function WR(e,t){switch(e.tag){case b:case K:case ae:{e.mode&rt?(Kg(),ts(_a,e,t),Yg(e)):ts(_a,e,t);break}}}function QR(e){switch(e.tag){case b:case K:case ae:{try{iu(Xn|Zn,e)}catch(i){Xt(e,e.return,i)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Xt(e,e.return,i)}break}}}function YR(e){switch(e.tag){case b:case K:case ae:{try{iu(_a|Zn,e)}catch(t){Xt(e,e.return,t)}break}}}function KR(e){switch(e.tag){case b:case K:case ae:{try{ts(Xn|Zn,e,e.return)}catch(i){Xt(e,e.return,i)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&N8(e,e.return,t);break}}}function ZR(e){switch(e.tag){case b:case K:case ae:try{ts(_a|Zn,e,e.return)}catch(t){Xt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Of=Symbol.for;Of("selector.component"),Of("selector.has_pseudo_class"),Of("selector.role"),Of("selector.test_id"),Of("selector.text")}var XR=[];function JR(){XR.forEach(function(e){return e()})}var eL=o.ReactCurrentActQueue;function tL(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function rT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&eL.current!==null&&f("The current testing environment is not configured to support act(...)"),e}}var nL=Math.ceil,x8=o.ReactCurrentDispatcher,A8=o.ReactCurrentOwner,La=o.ReactCurrentBatchConfig,rs=o.ReactCurrentActQueue,ta=0,oT=1,Oa=2,ko=4,Vi=0,xf=1,Ac=2,dh=3,Af=4,sT=5,P8=6,_t=ta,dr=null,yn=null,na=fe,Vs=fe,M8=Xl(fe),aa=Vi,Pf=null,mh=fe,Mf=fe,fh=fe,Df=null,Fr=null,D8=0,iT=500,lT=1/0,aL=500,ji=null;function Uf(){lT=an()+aL}function uT(){return lT}var ph=!1,U8=null,q1=null,Pc=!1,uu=null,Ff=fe,F8=[],V8=null,rL=50,Vf=0,j8=null,B8=!1,hh=!1,oL=50,W1=0,gh=null,yh=Wt,vh=fe,cT=!1;function Th(){return dr}function mr(){return(_t&(Oa|ko))!==ta?an():(yh!==Wt||(yh=an()),yh)}function cu(e){var t=e.mode;if((t&$e)===Be)return We;if((_t&Oa)!==ta&&na!==fe)return Ml(na);var i=eN()!==JI;if(i){if(La.transition!==null){var u=La.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return vh===wn&&(vh=Op()),vh}var m=Or();if(m!==wn)return m;var g=F_();return g}function sL(e){var t=e.mode;return(t&$e)===Be?We:qa()}function ra(e,t,i,u){LL(),cT&&f("useInsertionEffect must not schedule updates."),B8&&(hh=!0),Si(e,i,u),(_t&Oa)!==fe&&e===dr?AL(t):(sr&&N0(e,t,i),PL(t),e===dr&&((_t&Oa)===ta&&(Mf=ft(Mf,i)),aa===Af&&du(e,na)),Vr(e,u),i===We&&_t===ta&&(t.mode&$e)===Be&&!rs.isBatchingLegacy&&(Uf(),c7()))}function iL(e,t,i){var u=e.current;u.lanes=t,Si(e,t,i),Vr(e,i)}function lL(e){return(_t&Oa)!==ta}function Vr(e,t){var i=e.callbackNode;_p(e,t);var u=bi(e,e===dr?na:fe);if(u===fe){i!==null&&_T(i),e.callbackNode=null,e.callbackPriority=wn;return}var m=hn(u),g=e.callbackPriority;if(g===m&&!(rs.current!==null&&i!==Q8)){i==null&&g!==We&&f("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&_T(i);var T;if(m===We)e.tag===Jl?(rs.isBatchingLegacy!==null&&(rs.didScheduleLegacyUpdate=!0),DI(fT.bind(null,e))):u7(fT.bind(null,e)),rs.current!==null?rs.current.push(eu):j_(function(){(_t&(Oa|ko))===ta&&eu()}),T=null;else{var E;switch(dc(u)){case ua:E=Od;break;case Kn:E=fi;break;case zo:E=mo;break;case uc:E=xd;break;default:E=mo;break}T=Y8(E,dT.bind(null,e))}e.callbackPriority=m,e.callbackNode=T}function dT(e,t){if(_N(),yh=Wt,vh=fe,(_t&(Oa|ko))!==ta)throw new Error("Should not already be working.");var i=e.callbackNode,u=$i();if(u&&e.callbackNode!==i)return null;var m=bi(e,e===dr?na:fe);if(m===fe)return null;var g=!ic(e,m)&&!Lp(e,m)&&!t,T=g?vL(e,m):kh(e,m);if(T!==Vi){if(T===Ac){var E=Cs(e);E!==fe&&(m=E,T=$8(e,E))}if(T===xf){var I=Pf;throw Mc(e,fe),du(e,m),Vr(e,an()),I}if(T===P8)du(e,m);else{var x=!ic(e,m),A=e.current.alternate;if(x&&!cL(A)){if(T=kh(e,m),T===Ac){var q=Cs(e);q!==fe&&(m=q,T=$8(e,q))}if(T===xf){var H=Pf;throw Mc(e,fe),du(e,m),Vr(e,an()),H}}e.finishedWork=A,e.finishedLanes=m,uL(e,T,m)}}return Vr(e,an()),e.callbackNode===i?dT.bind(null,e):null}function $8(e,t){var i=Df;if(An(e)){var u=Mc(e,t);u.flags|=mn,RI(e.containerInfo)}var m=kh(e,t);if(m!==Ac){var g=Fr;Fr=i,g!==null&&mT(g)}return m}function mT(e){Fr===null?Fr=e:Fr.push.apply(Fr,e)}function uL(e,t,i){switch(t){case Vi:case xf:throw new Error("Root did not complete. This is a bug in React.");case Ac:{Dc(e,Fr,ji);break}case dh:{if(du(e,i),Ip(i)&&!IT()){var u=D8+iT-an();if(u>10){var m=bi(e,fe);if(m!==fe)break;var g=e.suspendedLanes;if(!ki(g,i)){mr(),_0(e,g);break}e.timeoutHandle=V4(Dc.bind(null,e,Fr,ji),u);break}}Dc(e,Fr,ji);break}case Af:{if(du(e,i),Rp(i))break;if(!IT()){var T=Cp(e,i),E=T,I=an()-E,x=RL(I)-I;if(x>10){e.timeoutHandle=V4(Dc.bind(null,e,Fr,ji),x);break}}Dc(e,Fr,ji);break}case sT:{Dc(e,Fr,ji);break}default:throw new Error("Unknown root exit status.")}}function cL(e){for(var t=e;;){if(t.flags&Zu){var i=t.updateQueue;if(i!==null){var u=i.stores;if(u!==null)for(var m=0;m<u.length;m++){var g=u[m],T=g.getSnapshot,E=g.value;try{if(!Ue(T(),E))return!1}catch{return!1}}}}var I=t.child;if(t.subtreeFlags&Zu&&I!==null){I.return=t,t=I;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function du(e,t){t=lc(t,fh),t=lc(t,Mf),E0(e,t)}function fT(e){if(IN(),(_t&(Oa|ko))!==ta)throw new Error("Should not already be working.");$i();var t=bi(e,fe);if(!Wa(t,We))return Vr(e,an()),null;var i=kh(e,t);if(e.tag!==Jl&&i===Ac){var u=Cs(e);u!==fe&&(t=u,i=$8(e,u))}if(i===xf){var m=Pf;throw Mc(e,fe),du(e,t),Vr(e,an()),m}if(i===P8)throw new Error("Root did not complete. This is a bug in React.");var g=e.current.alternate;return e.finishedWork=g,e.finishedLanes=t,Dc(e,Fr,ji),Vr(e,an()),null}function dL(e,t){t!==fe&&(Dl(e,ft(t,We)),Vr(e,an()),(_t&(Oa|ko))===ta&&(Uf(),eu()))}function z8(e,t){var i=_t;_t|=oT;try{return e(t)}finally{_t=i,_t===ta&&!rs.isBatchingLegacy&&(Uf(),c7())}}function mL(e,t,i,u,m){var g=Or(),T=La.transition;try{return La.transition=null,xn(ua),e(t,i,u,m)}finally{xn(g),La.transition=T,_t===ta&&Uf()}}function Bi(e){uu!==null&&uu.tag===Jl&&(_t&(Oa|ko))===ta&&$i();var t=_t;_t|=oT;var i=La.transition,u=Or();try{return La.transition=null,xn(ua),e?e():void 0}finally{xn(u),La.transition=i,_t=t,(_t&(Oa|ko))===ta&&eu()}}function pT(){return(_t&(Oa|ko))!==ta}function bh(e,t){Ya(M8,Vs,e),Vs=ft(Vs,t)}function H8(e){Vs=M8.current,Qa(M8,e)}function Mc(e,t){e.finishedWork=null,e.finishedLanes=fe;var i=e.timeoutHandle;if(i!==j4&&(e.timeoutHandle=j4,V_(i)),yn!==null)for(var u=yn.return;u!==null;){var m=u.alternate;zv(m,u),u=u.return}dr=e;var g=Uc(e.current,null);return yn=g,na=Vs=t,aa=Vi,Pf=null,mh=fe,Mf=fe,fh=fe,Df=null,Fr=null,iN(),Ko.discardPendingWarnings(),g}function hT(e,t){do{var i=yn;try{if(R3(),V7(),Ln(),A8.current=null,i===null||i.return===null){aa=xf,Pf=t,yn=null;return}if(gt&&i.mode&rt&&rh(i,!0),qe)if(Ha(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;hi(i,u,na)}else ec(i,t,na);DN(e,i.return,i,t,na),TT(i)}catch(m){t=m,yn===i&&i!==null?(i=i.return,yn=i):i=yn;continue}return}while(!0)}function gT(){var e=x8.current;return x8.current=J3,e===null?J3:e}function yT(e){x8.current=e}function fL(){D8=an()}function jf(e){mh=ft(e,mh)}function pL(){aa===Vi&&(aa=dh)}function G8(){(aa===Vi||aa===dh||aa===Ac)&&(aa=Af),dr!==null&&(sc(mh)||sc(Mf))&&du(dr,na)}function hL(e){aa!==Af&&(aa=Ac),Df===null?Df=[e]:Df.push(e)}function gL(){return aa===Vi}function kh(e,t){var i=_t;_t|=Oa;var u=gT();if(dr!==e||na!==t){if(sr){var m=e.memoizedUpdaters;m.size>0&&(Bf(e,na),m.clear()),a1(e,t)}ji=R0(),Mc(e,t)}en(t);do try{yL();break}catch(g){hT(e,g)}while(!0);if(R3(),_t=i,yT(u),yn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ud(),dr=null,na=fe,aa}function yL(){for(;yn!==null;)vT(yn)}function vL(e,t){var i=_t;_t|=Oa;var u=gT();if(dr!==e||na!==t){if(sr){var m=e.memoizedUpdaters;m.size>0&&(Bf(e,na),m.clear()),a1(e,t)}ji=R0(),Uf(),Mc(e,t)}en(t);do try{TL();break}catch(g){hT(e,g)}while(!0);return R3(),yT(u),_t=i,yn!==null?(Dd(),Vi):(Ud(),dr=null,na=fe,aa)}function TL(){for(;yn!==null&&!Ld();)vT(yn)}function vT(e){var t=e.alternate;jt(e);var i;(e.mode&rt)!==Be?(Qg(e),i=q8(t,e,Vs),rh(e,!0)):i=q8(t,e,Vs),Ln(),e.memoizedProps=e.pendingProps,i===null?TT(e):yn=i,A8.current=null}function TT(e){var t=e;do{var i=t.alternate,u=t.return;if((t.flags&ar)===Ke){jt(t);var m=void 0;if((t.mode&rt)===Be?m=$v(i,t,Vs):(Qg(t),m=$v(i,t,Vs),rh(t,!1)),Ln(),m!==null){yn=m;return}}else{var g=pR(i,t);if(g!==null){g.flags&=fp,yn=g;return}if((t.mode&rt)!==Be){rh(t,!1);for(var T=t.actualDuration,E=t.child;E!==null;)T+=E.actualDuration,E=E.sibling;t.actualDuration=T}if(u!==null)u.flags|=ar,u.subtreeFlags=Ke,u.deletions=null;else{aa=P8,yn=null;return}}var I=t.sibling;if(I!==null){yn=I;return}t=u,yn=t}while(t!==null);aa===Vi&&(aa=sT)}function Dc(e,t,i){var u=Or(),m=La.transition;try{La.transition=null,xn(ua),bL(e,t,i,u)}finally{La.transition=m,xn(u)}return null}function bL(e,t,i,u){do $i();while(uu!==null);if(OL(),(_t&(Oa|ko))!==ta)throw new Error("Should not already be working.");var m=e.finishedWork,g=e.finishedLanes;if(ks(g),m===null)return Ad(),null;if(g===fe&&f("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=fe,m===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=wn;var T=ft(m.lanes,m.childLanes);I0(e,T),e===dr&&(dr=null,yn=null,na=fe),((m.subtreeFlags&_r)!==Ke||(m.flags&_r)!==Ke)&&(Pc||(Pc=!0,V8=i,Y8(mo,function(){return $i(),null})));var E=(m.subtreeFlags&(Sl|$a|sa|_r))!==Ke,I=(m.flags&(Sl|$a|sa|_r))!==Ke;if(E||I){var x=La.transition;La.transition=null;var A=Or();xn(ua);var q=_t;_t|=ko,A8.current=null,TR(e,m),cv(),AR(e,m,g),x_(e.containerInfo),e.current=m,y0(g),PR(m,e,g),Il(),gp(),_t=q,xn(A),La.transition=x}else e.current=m,cv();var H=Pc;if(Pc?(Pc=!1,uu=e,Ff=g):(W1=0,gh=null),T=e.pendingLanes,T===fe&&(q1=null),H||wT(e.current,!1),Cl(m.stateNode,u),sr&&e.memoizedUpdaters.clear(),JR(),Vr(e,an()),t!==null)for(var ne=e.onRecoverableError,oe=0;oe<t.length;oe++){var le=t[oe],Ee=le.stack,He=le.digest;ne(le.value,{componentStack:Ee,digest:He})}if(ph){ph=!1;var Je=U8;throw U8=null,Je}return Wa(Ff,We)&&e.tag!==Jl&&$i(),T=e.pendingLanes,Wa(T,We)?(EN(),e===j8?Vf++:(Vf=0,j8=e)):Vf=0,eu(),Ad(),null}function $i(){if(uu!==null){var e=dc(Ff),t=c4(zo,e),i=La.transition,u=Or();try{return La.transition=null,xn(t),SL()}finally{xn(u),La.transition=i}}return!1}function kL(e){F8.push(e),Pc||(Pc=!0,Y8(mo,function(){return $i(),null}))}function SL(){if(uu===null)return!1;var e=V8;V8=null;var t=uu,i=Ff;if(uu=null,Ff=fe,(_t&(Oa|ko))!==ta)throw new Error("Cannot flush passive effects while already rendering.");B8=!0,hh=!1,Sp(i);var u=_t;_t|=ko,BR(t.current),UR(t,t.current,i,e);{var m=F8;F8=[];for(var g=0;g<m.length;g++){var T=m[g];wR(t,T)}}v0(),wT(t.current,!0),_t=u,eu(),hh?t===gh?W1++:(W1=0,gh=t):W1=0,B8=!1,hh=!1,Rr(t);{var E=t.current.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}return!0}function bT(e){return q1!==null&&q1.has(e)}function wL(e){q1===null?q1=new Set([e]):q1.add(e)}function CL(e){ph||(ph=!0,U8=e)}var EL=CL;function kT(e,t,i){var u=Oc(i,t),m=vv(e,u,We),g=nu(e,m,We),T=mr();g!==null&&(Si(g,We,T),Vr(g,T))}function Xt(e,t,i){if(gR(i),$f(!1),e.tag===N){kT(e,e,i);return}var u=null;for(u=t;u!==null;){if(u.tag===N){kT(u,e,i);return}else if(u.tag===C){var m=u.type,g=u.stateNode;if(typeof m.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!bT(g)){var T=Oc(i,e),E=m8(u,T,We),I=nu(u,E,We),x=mr();I!==null&&(Si(I,We,x),Vr(I,x));return}}u=u.return}f(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
149
149
|
|
|
150
150
|
Error message:
|
|
151
151
|
|
|
152
|
-
%s`,i)}function _L(e,t,i){var u=e.pingCache;u!==null&&u.delete(t);var m=mr();_0(e,i),ML(e),dr===e&&ki(na,i)&&(aa===Af||aa===dh&&Ip(na)&&an()-
|
|
152
|
+
%s`,i)}function _L(e,t,i){var u=e.pingCache;u!==null&&u.delete(t);var m=mr();_0(e,i),ML(e),dr===e&&ki(na,i)&&(aa===Af||aa===dh&&Ip(na)&&an()-D8<iT?Mc(e,fe):fh=ft(fh,i)),Vr(e,m)}function ST(e,t){t===wn&&(t=sL(e));var i=mr(),u=Dr(e,t);u!==null&&(Si(u,t,i),Vr(u,i))}function IL(e){var t=e.memoizedState,i=wn;t!==null&&(i=t.retryLane),ST(e,i)}function NL(e,t){var i=wn,u;switch(e.tag){case J:u=e.stateNode;var m=e.memoizedState;m!==null&&(i=m.retryLane);break;case Ge:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),ST(e,i)}function RL(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:nL(e/1960)*1960}function LL(){if(Vf>rL)throw Vf=0,j8=null,new 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.");W1>oL&&(W1=0,gh=null,f("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."))}function OL(){Ko.flushLegacyContextWarning(),Ko.flushPendingUnsafeLifecycleWarnings()}function wT(e,t){jt(e),Sh(e,Ba,KR),t&&Sh(e,mi,ZR),Sh(e,Ba,QR),t&&Sh(e,mi,YR),Ln()}function Sh(e,t,i){for(var u=e,m=null;u!==null;){var g=u.subtreeFlags&t;u!==m&&u.child!==null&&g!==Ke?u=u.child:((u.flags&t)!==Ke&&i(u),u.sibling!==null?u=u.sibling:u=m=u.return)}}var wh=null;function CT(e){{if((_t&Oa)!==ta||!(e.mode&$e))return;var t=e.tag;if(t!==_&&t!==N&&t!==C&&t!==b&&t!==K&&t!==ue&&t!==ae)return;var i=mt(e)||"ReactComponent";if(wh!==null){if(wh.has(i))return;wh.add(i)}else wh=new Set([i]);var u=bn;try{jt(e),f("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?jt(e):Ln()}}}var q8;{var xL=null;q8=function(e,t,i){var u=OT(xL,t);try{return Uv(e,t,i)}catch(g){if(HI()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(R3(),V7(),zv(e,t),OT(t,u),t.mode&rt&&Qg(t),di(null,Uv,null,e,t,i),s4()){var m=l0();typeof m=="object"&&m!==null&&m._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var ET=!1,W8;W8=new Set;function AL(e){if(br&&!SN())switch(e.tag){case b:case K:case ae:{var t=yn&&mt(yn)||"Unknown",i=t;if(!W8.has(i)){W8.add(i);var u=mt(e)||"Unknown";f("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case C:{ET||(f("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ET=!0);break}}}function Bf(e,t){if(sr){var i=e.memoizedUpdaters;i.forEach(function(u){N0(e,u,t)})}}var Q8={};function Y8(e,t){{var i=rs.current;return i!==null?(i.push(t),Q8):Rd(e,t)}}function _T(e){if(e!==Q8)return hp(e)}function IT(){return rs.current!==null}function PL(e){{if(e.mode&$e){if(!rT())return}else if(!tL()||_t!==ta||e.tag!==b&&e.tag!==K&&e.tag!==ae)return;if(rs.current===null){var t=bn;try{jt(e),f(`An update to %s inside a test was not wrapped in act(...).
|
|
153
153
|
|
|
154
154
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
155
155
|
|
|
@@ -167,15 +167,15 @@ act(() => {
|
|
|
167
167
|
});
|
|
168
168
|
/* assert on the output */
|
|
169
169
|
|
|
170
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function $f(e){cT=e}var So=null,Q1=null,DL=function(e){So=e};function Y1(e){{if(So===null)return e;var t=So(e);return t===void 0?e:t.current}}function
|
|
170
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function $f(e){cT=e}var So=null,Q1=null,DL=function(e){So=e};function Y1(e){{if(So===null)return e;var t=So(e);return t===void 0?e:t.current}}function K8(e){return Y1(e)}function Z8(e){{if(So===null)return e;var t=So(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=Y1(e.render);if(e.render!==i){var u={$$typeof:ll,render:i};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function NT(e,t){{if(So===null)return!1;var i=e.elementType,u=t.type,m=!1,g=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case C:{typeof u=="function"&&(m=!0);break}case b:{(typeof u=="function"||g===Sa)&&(m=!0);break}case K:{(g===ll||g===Sa)&&(m=!0);break}case ue:case ae:{(g===ul||g===Sa)&&(m=!0);break}default:return!1}if(m){var T=So(i);if(T!==void 0&&T===So(u))return!0}return!1}}function RT(e){{if(So===null||typeof WeakSet!="function")return;Q1===null&&(Q1=new WeakSet),Q1.add(e)}}var UL=function(e,t){{if(So===null)return;var i=t.staleFamilies,u=t.updatedFamilies;$i(),Bi(function(){X8(e.current,u,i)})}},FL=function(e,t){{if(e.context!==eo)return;$i(),Bi(function(){zf(t,e,null,null)})}};function X8(e,t,i){{var u=e.alternate,m=e.child,g=e.sibling,T=e.tag,E=e.type,I=null;switch(T){case b:case ae:case C:I=E;break;case K:I=E.render;break}if(So===null)throw new Error("Expected resolveFamily to be set during hot reload.");var x=!1,A=!1;if(I!==null){var q=So(I);q!==void 0&&(i.has(q)?A=!0:t.has(q)&&(T===C?A=!0:x=!0))}if(Q1!==null&&(Q1.has(e)||u!==null&&Q1.has(u))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||x){var H=Dr(e,We);H!==null&&ra(H,e,We,Wt)}m!==null&&!A&&X8(m,t,i),g!==null&&X8(g,t,i)}}var VL=function(e,t){{var i=new Set,u=new Set(t.map(function(m){return m.current}));return J8(e.current,u,i),i}};function J8(e,t,i){{var u=e.child,m=e.sibling,g=e.tag,T=e.type,E=null;switch(g){case b:case ae:case C:E=T;break;case K:E=T.render;break}var I=!1;E!==null&&t.has(E)&&(I=!0),I?jL(e,i):u!==null&&J8(u,t,i),m!==null&&J8(m,t,i)}}function jL(e,t){{var i=BL(e,t);if(i)return;for(var u=e;;){switch(u.tag){case O:t.add(u.stateNode);return;case R:t.add(u.stateNode.containerInfo);return;case N:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function BL(e,t){for(var i=e,u=!1;;){if(i.tag===O)u=!0,t.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return u;for(;i.sibling===null;){if(i.return===null||i.return===e)return u;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var e5;{e5=!1;try{var ste=Object.preventExtensions({})}catch{e5=!0}}function $L(e,t,i,u){this.tag=e,this.key=i,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=Ke,this.subtreeFlags=Ke,this.deletions=null,this.lanes=fe,this.childLanes=fe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!e5&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var to=function(e,t,i,u){return new $L(e,t,i,u)};function t5(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function zL(e){return typeof e=="function"&&!t5(e)&&e.defaultProps===void 0}function HL(e){if(typeof e=="function")return t5(e)?C:b;if(e!=null){var t=e.$$typeof;if(t===ll)return K;if(t===ul)return ue}return _}function Uc(e,t){var i=e.alternate;i===null?(i=to(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugSource=e._debugSource,i._debugOwner=e._debugOwner,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=Ke,i.subtreeFlags=Ke,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&Qn,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue;var u=e.dependencies;switch(i.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case _:case b:case ae:i.type=Y1(e.type);break;case C:i.type=K8(e.type);break;case K:i.type=Z8(e.type);break}return i}function GL(e,t){e.flags&=Qn|Kt;var i=e.alternate;if(i===null)e.childLanes=fe,e.lanes=t,e.child=null,e.subtreeFlags=Ke,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=Ke,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type;var u=i.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration}return e}function qL(e,t,i){var u;return e===T3?(u=$e,t===!0&&(u|=bt,u|=ir)):u=Be,sr&&(u|=rt),to(N,null,null,u)}function n5(e,t,i,u,m,g){var T=_,E=e;if(typeof e=="function")t5(e)?(T=C,E=K8(E)):E=Y1(E);else if(typeof e=="string")T=O;else e:switch(e){case Lo:return mu(i.children,m,g,t);case il:T=V,m|=bt,(m&$e)!==Be&&(m|=ir);break;case Iu:return WL(i,m,g,t);case lo:return QL(i,m,g,t);case Nu:return YL(i,m,g,t);case Lm:return LT(i,m,g,t);case C2:case S2:case F6:case V6:case w2:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Nm:T=W;break e;case Rm:T=z;break e;case ll:T=K,E=Z8(E);break e;case ul:T=ue;break e;case Sa:T=Ne,E=null;break e}var I="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=u?mt(u):null;x&&(I+=`
|
|
171
171
|
|
|
172
|
-
Check the render method of \``+x+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+I))}}var A=to(T,i,t,m);return A.elementType=e,A.type=E,A.lanes=g,A._debugOwner=u,A}function a5(e,t,i){var u=null;u=e._owner;var m=e.type,g=e.key,T=e.props,E=n5(m,g,T,u,t,i);return E._debugSource=e._source,E._debugOwner=e._owner,E}function mu(e,t,i,u){var m=to(F,e,u,t);return m.lanes=i,m}function WL(e,t,i,u){typeof e.id!="string"&&f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var m=to(te,e,u,t|rt);return m.elementType=Iu,m.lanes=i,m.stateNode={effectDuration:0,passiveEffectDuration:0},m}function QL(e,t,i,u){var m=to(J,e,u,t);return m.elementType=lo,m.lanes=i,m}function YL(e,t,i,u){var m=to(Ge,e,u,t);return m.elementType=Nu,m.lanes=i,m}function LT(e,t,i,u){var m=to(_e,e,u,t);m.elementType=Lm,m.lanes=i;var g={isHidden:!1};return m.stateNode=g,m}function r5(e,t,i){var u=to(D,e,null,t);return u.lanes=i,u}function KL(){var e=to(O,null,null,Be);return e.elementType="DELETED",e}function ZL(e){var t=to(Ze,null,null,Be);return t.stateNode=e,t}function o5(e,t,i){var u=e.children!==null?e.children:[],m=to(R,u,e.key,t);return m.lanes=i,m.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},m}function OT(e,t){return e===null&&(e=to(_,null,null,Be)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function XL(e,t,i,u,m){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=j4,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=wn,this.eventTimes=n1(fe),this.expirationTimes=n1(Wt),this.pendingLanes=fe,this.suspendedLanes=fe,this.pingedLanes=fe,this.expiredLanes=fe,this.mutableReadLanes=fe,this.finishedLanes=fe,this.entangledLanes=fe,this.entanglements=n1(fe),this.identifierPrefix=u,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],T=0;T<ac;T++)g.push(new Set)}switch(t){case T3:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case Jl:this._debugRootType=i?"hydrate()":"render()";break}}function xT(e,t,i,u,m,g,T,E,I,x){var A=new XL(e,t,i,E,I),q=qL(t,g);A.current=q,q.stateNode=A;{var H={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};q.memoizedState=H}return
|
|
172
|
+
Check the render method of \``+x+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+I))}}var A=to(T,i,t,m);return A.elementType=e,A.type=E,A.lanes=g,A._debugOwner=u,A}function a5(e,t,i){var u=null;u=e._owner;var m=e.type,g=e.key,T=e.props,E=n5(m,g,T,u,t,i);return E._debugSource=e._source,E._debugOwner=e._owner,E}function mu(e,t,i,u){var m=to(F,e,u,t);return m.lanes=i,m}function WL(e,t,i,u){typeof e.id!="string"&&f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var m=to(te,e,u,t|rt);return m.elementType=Iu,m.lanes=i,m.stateNode={effectDuration:0,passiveEffectDuration:0},m}function QL(e,t,i,u){var m=to(J,e,u,t);return m.elementType=lo,m.lanes=i,m}function YL(e,t,i,u){var m=to(Ge,e,u,t);return m.elementType=Nu,m.lanes=i,m}function LT(e,t,i,u){var m=to(_e,e,u,t);m.elementType=Lm,m.lanes=i;var g={isHidden:!1};return m.stateNode=g,m}function r5(e,t,i){var u=to(D,e,null,t);return u.lanes=i,u}function KL(){var e=to(O,null,null,Be);return e.elementType="DELETED",e}function ZL(e){var t=to(Ze,null,null,Be);return t.stateNode=e,t}function o5(e,t,i){var u=e.children!==null?e.children:[],m=to(R,u,e.key,t);return m.lanes=i,m.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},m}function OT(e,t){return e===null&&(e=to(_,null,null,Be)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function XL(e,t,i,u,m){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=j4,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=wn,this.eventTimes=n1(fe),this.expirationTimes=n1(Wt),this.pendingLanes=fe,this.suspendedLanes=fe,this.pingedLanes=fe,this.expiredLanes=fe,this.mutableReadLanes=fe,this.finishedLanes=fe,this.entangledLanes=fe,this.entanglements=n1(fe),this.identifierPrefix=u,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],T=0;T<ac;T++)g.push(new Set)}switch(t){case T3:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case Jl:this._debugRootType=i?"hydrate()":"render()";break}}function xT(e,t,i,u,m,g,T,E,I,x){var A=new XL(e,t,i,E,I),q=qL(t,g);A.current=q,q.stateNode=A;{var H={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};q.memoizedState=H}return vg(q),A}var s5="18.3.1";function JL(e,t,i){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return de(u),{$$typeof:Gr,key:u==null?null:""+u,children:e,containerInfo:t,implementation:i}}var i5,l5;i5=!1,l5={};function AT(e){if(!e)return eo;var t=wr(e),i=MI(t);if(t.tag===C){var u=t.type;if(xs(u))return i7(t,u,i)}return i}function eO(e,t){{var i=wr(e);if(i===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var m=Ir(i);if(m===null)return null;if(m.mode&bt){var g=mt(i)||"Component";if(!l5[g]){l5[g]=!0;var T=bn;try{jt(m),i.mode&bt?f("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,g):f("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,g)}finally{T?jt(T):Ln()}}}return m.stateNode}}function PT(e,t,i,u,m,g,T,E){var I=!1,x=null;return xT(e,t,I,x,i,u,m,g,T)}function MT(e,t,i,u,m,g,T,E,I,x){var A=!0,q=xT(i,u,A,e,m,g,T,E,I);q.context=AT(null);var H=q.current,ne=mr(),oe=cu(H),le=Ui(ne,oe);return le.callback=t??null,nu(H,le,oe),iL(q,oe,ne),q}function zf(e,t,i,u){g0(t,e);var m=t.current,g=mr(),T=cu(m);T0(T);var E=AT(i);t.context===null?t.context=E:t.pendingContext=E,br&&bn!==null&&!i5&&(i5=!0,f(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
173
173
|
|
|
174
174
|
Check the render method of %s.`,mt(bn)||"Unknown"));var I=Ui(g,T);I.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&f("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),I.callback=u);var x=nu(m,I,T);return x!==null&&(ra(x,m,T,g),P3(x,m,T)),T}function Ch(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case O:return t.child.stateNode;default:return t.child.stateNode}}function tO(e){switch(e.tag){case N:{var t=e.stateNode;if(An(t)){var i=S0(t);dL(t,i)}break}case J:{Bi(function(){var m=Dr(e,We);if(m!==null){var g=mr();ra(m,e,We,g)}});var u=We;u5(e,u);break}}}function DT(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=xp(i.retryLane,t))}function u5(e,t){DT(e,t);var i=e.alternate;i&&DT(i,t)}function nO(e){if(e.tag===J){var t=oc,i=Dr(e,t);if(i!==null){var u=mr();ra(i,e,t,u)}u5(e,t)}}function aO(e){if(e.tag===J){var t=cu(e),i=Dr(e,t);if(i!==null){var u=mr();ra(i,e,t,u)}u5(e,t)}}function UT(e){var t=pp(e);return t===null?null:t.stateNode}var FT=function(e){return null};function rO(e){return FT(e)}var VT=function(e){return!1};function oO(e){return VT(e)}var jT=null,BT=null,$T=null,zT=null,HT=null,GT=null,qT=null,WT=null,QT=null;{var YT=function(e,t,i){var u=t[i],m=jn(e)?e.slice():wt({},e);return i+1===t.length?(jn(m)?m.splice(u,1):delete m[u],m):(m[u]=YT(e[u],t,i+1),m)},KT=function(e,t){return YT(e,t,0)},ZT=function(e,t,i,u){var m=t[u],g=jn(e)?e.slice():wt({},e);if(u+1===t.length){var T=i[u];g[T]=g[m],jn(g)?g.splice(m,1):delete g[m]}else g[m]=ZT(e[m],t,i,u+1);return g},XT=function(e,t,i){if(t.length!==i.length){p("copyWithRename() expects paths of the same length");return}else for(var u=0;u<i.length-1;u++)if(t[u]!==i[u]){p("copyWithRename() expects paths to be the same except for the deepest key");return}return ZT(e,t,i,0)},JT=function(e,t,i,u){if(i>=t.length)return u;var m=t[i],g=jn(e)?e.slice():wt({},e);return g[m]=JT(e[m],t,i+1,u),g},eb=function(e,t,i){return JT(e,t,0,i)},c5=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};jT=function(e,t,i,u){var m=c5(e,t);if(m!==null){var g=eb(m.memoizedState,i,u);m.memoizedState=g,m.baseState=g,e.memoizedProps=wt({},e.memoizedProps);var T=Dr(e,We);T!==null&&ra(T,e,We,Wt)}},BT=function(e,t,i){var u=c5(e,t);if(u!==null){var m=KT(u.memoizedState,i);u.memoizedState=m,u.baseState=m,e.memoizedProps=wt({},e.memoizedProps);var g=Dr(e,We);g!==null&&ra(g,e,We,Wt)}},$T=function(e,t,i,u){var m=c5(e,t);if(m!==null){var g=XT(m.memoizedState,i,u);m.memoizedState=g,m.baseState=g,e.memoizedProps=wt({},e.memoizedProps);var T=Dr(e,We);T!==null&&ra(T,e,We,Wt)}},zT=function(e,t,i){e.pendingProps=eb(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Dr(e,We);u!==null&&ra(u,e,We,Wt)},HT=function(e,t){e.pendingProps=KT(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Dr(e,We);i!==null&&ra(i,e,We,Wt)},GT=function(e,t,i){e.pendingProps=XT(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Dr(e,We);u!==null&&ra(u,e,We,Wt)},qT=function(e){var t=Dr(e,We);t!==null&&ra(t,e,We,Wt)},WT=function(e){FT=e},QT=function(e){VT=e}}function sO(e){var t=Ir(e);return t===null?null:t.stateNode}function iO(e){return null}function lO(){return bn}function uO(e){var t=e.findFiberByHostInstance,i=o.ReactCurrentDispatcher;return h0({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:jT,overrideHookStateDeletePath:BT,overrideHookStateRenamePath:$T,overrideProps:zT,overridePropsDeletePath:HT,overridePropsRenamePath:GT,setErrorHandler:WT,setSuspenseHandler:QT,scheduleUpdate:qT,currentDispatcherRef:i,findHostInstanceByFiber:sO,findFiberByHostInstance:t||iO,findHostInstancesForRefresh:VL,scheduleRefresh:UL,scheduleRoot:FL,setRefreshHandler:DL,getCurrentFiber:lO,reconcilerVersion:s5})}var tb=typeof reportError=="function"?reportError:function(e){console.error(e)};function d5(e){this._internalRoot=e}Eh.prototype.render=d5.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?f("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):_h(arguments[1])?f("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&f("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==kn){var u=UT(t.current);u&&u.parentNode!==i&&f("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}zf(e,t,null,null)},Eh.prototype.unmount=d5.prototype.unmount=function(){typeof arguments[0]=="function"&&f("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;pT()&&f("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Bi(function(){zf(null,e,null,null)}),n7(t)}};function cO(e,t){if(!_h(e))throw new Error("createRoot(...): Target container is not a DOM element.");nb(e);var i=!1,u=!1,m="",g=tb;t!=null&&(t.hydrate?p("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===sl&&f(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
175
175
|
|
|
176
176
|
let root = createRoot(domContainer);
|
|
177
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(m=t.identifierPrefix),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var T=PT(e,T3,null,i,u,m,g);m3(T.current,e);var E=e.nodeType===kn?e.parentNode:e;return Y0(E),new d5(T)}function Eh(e){this._internalRoot=e}function dO(e){e&&jp(e)}Eh.prototype.unstable_scheduleHydration=dO;function mO(e,t,i){if(!_h(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");nb(e),t===void 0&&f("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=i??null,m=i!=null&&i.hydratedSources||null,g=!1,T=!1,E="",I=tb;i!=null&&(i.unstable_strictMode===!0&&(g=!0),i.identifierPrefix!==void 0&&(E=i.identifierPrefix),i.onRecoverableError!==void 0&&(I=i.onRecoverableError));var x=MT(t,null,e,T3,u,g,T,E,I);if(m3(x.current,e),Y0(e),m)for(var A=0;A<m.length;A++){var q=m[A];gN(x,q)}return new Eh(x)}function _h(e){return!!(e&&(e.nodeType===Fa||e.nodeType===Yr||e.nodeType===oi||!B))}function Hf(e){return!!(e&&(e.nodeType===Fa||e.nodeType===Yr||e.nodeType===oi||e.nodeType===kn&&e.nodeValue===" react-mount-point-unstable "))}function nb(e){e.nodeType===Fa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),sf(e)&&(e._reactRootContainer?f("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):f("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var fO=o.ReactCurrentOwner,ab;ab=function(e){if(e._reactRootContainer&&e.nodeType!==kn){var t=UT(e._reactRootContainer.current);t&&t.parentNode!==e&&f("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!e._reactRootContainer,u=m5(e),m=!!(u&&Zl(u));m&&!i&&f("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Fa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function m5(e){return e?e.nodeType===Yr?e.documentElement:e.firstChild:null}function rb(){}function pO(e,t,i,u,m){if(m){if(typeof u=="function"){var g=u;u=function(){var H=Ch(T);g.call(H)}}var T=MT(t,u,e,Jl,null,!1,!1,"",rb);e._reactRootContainer=T,m3(T.current,e);var E=e.nodeType===kn?e.parentNode:e;return Y0(E),Bi(),T}else{for(var I;I=e.lastChild;)e.removeChild(I);if(typeof u=="function"){var x=u;u=function(){var H=Ch(A);x.call(H)}}var A=PT(e,Jl,null,!1,!1,"",rb);e._reactRootContainer=A,m3(A.current,e);var q=e.nodeType===kn?e.parentNode:e;return Y0(q),Bi(function(){zf(t,A,i,u)}),A}}function hO(e,t){e!==null&&typeof e!="function"&&f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Ih(e,t,i,u,m){ab(i),hO(m===void 0?null:m,"render");var g=i._reactRootContainer,T;if(!g)T=pO(i,t,e,m,u);else{if(T=g,typeof m=="function"){var E=m;m=function(){var I=Ch(T);E.call(I)}}zf(t,T,e,m)}return Ch(T)}var ob=!1;function gO(e){{ob||(ob=!0,f("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=fO.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||f("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Vt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Fa?e:eO(e,"findDOMNode")}function yO(e,t,i){if(f("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hf(t))throw new Error("Target container is not a DOM element.");{var u=sf(t)&&t._reactRootContainer===void 0;u&&f("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Ih(null,e,t,!0,i)}function vO(e,t,i){if(f("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hf(t))throw new Error("Target container is not a DOM element.");{var u=sf(t)&&t._reactRootContainer===void 0;u&&f("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Ih(null,e,t,!1,i)}function TO(e,t,i,u){if(f("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hf(i))throw new Error("Target container is not a DOM element.");if(e==null||!Ku(e))throw new Error("parentComponent must be a valid React Component");return Ih(e,t,i,!1,u)}var sb=!1;function bO(e){if(sb||(sb=!0,f("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Hf(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=sf(e)&&e._reactRootContainer===void 0;t&&f("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var i=m5(e),u=i&&!Zl(i);u&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Bi(function(){Ih(null,null,e,!1,function(){e._reactRootContainer=null,n7(e)})}),!0}else{{var m=m5(e),g=!!(m&&Zl(m)),T=e.nodeType===Fa&&Hf(e.parentNode)&&!!e.parentNode._reactRootContainer;g&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",T?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Me(tO),Pp(nO),mc(aO),O0(Or),Dp(cc),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&f("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),dp(S_),Cd(
|
|
178
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ao.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f5,ao.createPortal=kO,ao.createRoot=wO,ao.findDOMNode=gO,ao.flushSync=EO,ao.hydrate=yO,ao.hydrateRoot=CO,ao.render=vO,ao.unmountComponentAtNode=bO,ao.unstable_batchedUpdates=
|
|
177
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(m=t.identifierPrefix),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var T=PT(e,T3,null,i,u,m,g);m3(T.current,e);var E=e.nodeType===kn?e.parentNode:e;return Y0(E),new d5(T)}function Eh(e){this._internalRoot=e}function dO(e){e&&jp(e)}Eh.prototype.unstable_scheduleHydration=dO;function mO(e,t,i){if(!_h(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");nb(e),t===void 0&&f("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=i??null,m=i!=null&&i.hydratedSources||null,g=!1,T=!1,E="",I=tb;i!=null&&(i.unstable_strictMode===!0&&(g=!0),i.identifierPrefix!==void 0&&(E=i.identifierPrefix),i.onRecoverableError!==void 0&&(I=i.onRecoverableError));var x=MT(t,null,e,T3,u,g,T,E,I);if(m3(x.current,e),Y0(e),m)for(var A=0;A<m.length;A++){var q=m[A];gN(x,q)}return new Eh(x)}function _h(e){return!!(e&&(e.nodeType===Fa||e.nodeType===Yr||e.nodeType===oi||!B))}function Hf(e){return!!(e&&(e.nodeType===Fa||e.nodeType===Yr||e.nodeType===oi||e.nodeType===kn&&e.nodeValue===" react-mount-point-unstable "))}function nb(e){e.nodeType===Fa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),sf(e)&&(e._reactRootContainer?f("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):f("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var fO=o.ReactCurrentOwner,ab;ab=function(e){if(e._reactRootContainer&&e.nodeType!==kn){var t=UT(e._reactRootContainer.current);t&&t.parentNode!==e&&f("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!e._reactRootContainer,u=m5(e),m=!!(u&&Zl(u));m&&!i&&f("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Fa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function m5(e){return e?e.nodeType===Yr?e.documentElement:e.firstChild:null}function rb(){}function pO(e,t,i,u,m){if(m){if(typeof u=="function"){var g=u;u=function(){var H=Ch(T);g.call(H)}}var T=MT(t,u,e,Jl,null,!1,!1,"",rb);e._reactRootContainer=T,m3(T.current,e);var E=e.nodeType===kn?e.parentNode:e;return Y0(E),Bi(),T}else{for(var I;I=e.lastChild;)e.removeChild(I);if(typeof u=="function"){var x=u;u=function(){var H=Ch(A);x.call(H)}}var A=PT(e,Jl,null,!1,!1,"",rb);e._reactRootContainer=A,m3(A.current,e);var q=e.nodeType===kn?e.parentNode:e;return Y0(q),Bi(function(){zf(t,A,i,u)}),A}}function hO(e,t){e!==null&&typeof e!="function"&&f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Ih(e,t,i,u,m){ab(i),hO(m===void 0?null:m,"render");var g=i._reactRootContainer,T;if(!g)T=pO(i,t,e,m,u);else{if(T=g,typeof m=="function"){var E=m;m=function(){var I=Ch(T);E.call(I)}}zf(t,T,e,m)}return Ch(T)}var ob=!1;function gO(e){{ob||(ob=!0,f("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=fO.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||f("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Vt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Fa?e:eO(e,"findDOMNode")}function yO(e,t,i){if(f("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hf(t))throw new Error("Target container is not a DOM element.");{var u=sf(t)&&t._reactRootContainer===void 0;u&&f("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Ih(null,e,t,!0,i)}function vO(e,t,i){if(f("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hf(t))throw new Error("Target container is not a DOM element.");{var u=sf(t)&&t._reactRootContainer===void 0;u&&f("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Ih(null,e,t,!1,i)}function TO(e,t,i,u){if(f("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hf(i))throw new Error("Target container is not a DOM element.");if(e==null||!Ku(e))throw new Error("parentComponent must be a valid React Component");return Ih(e,t,i,!1,u)}var sb=!1;function bO(e){if(sb||(sb=!0,f("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Hf(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=sf(e)&&e._reactRootContainer===void 0;t&&f("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var i=m5(e),u=i&&!Zl(i);u&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Bi(function(){Ih(null,null,e,!1,function(){e._reactRootContainer=null,n7(e)})}),!0}else{{var m=m5(e),g=!!(m&&Zl(m)),T=e.nodeType===Fa&&Hf(e.parentNode)&&!!e.parentNode._reactRootContainer;g&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",T?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Me(tO),Pp(nO),mc(aO),O0(Or),Dp(cc),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&f("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),dp(S_),Cd(z8,mL,Bi);function kO(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!_h(t))throw new Error("Target container is not a DOM element.");return JL(e,t,null,i)}function SO(e,t,i,u){return TO(e,t,i,u)}var f5={usingClientEntryPoint:!1,Events:[Zl,_1,f3,wd,Wu,z8]};function wO(e,t){return f5.usingClientEntryPoint||f('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),cO(e,t)}function CO(e,t,i){return f5.usingClientEntryPoint||f('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),mO(e,t,i)}function EO(e){return pT()&&f("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Bi(e)}var _O=uO({findFiberByHostInstance:Sc,bundleType:1,version:s5,rendererPackageName:"react-dom"});if(!_O&&Gt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var ib=window.location.protocol;/^(https?|file):$/.test(ib)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(ib==="file:"?`
|
|
178
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ao.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f5,ao.createPortal=kO,ao.createRoot=wO,ao.findDOMNode=gO,ao.flushSync=EO,ao.hydrate=yO,ao.hydrateRoot=CO,ao.render=vO,ao.unmountComponentAtNode=bO,ao.unstable_batchedUpdates=z8,ao.unstable_renderSubtreeIntoContainer=SO,ao.version=s5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ao}function aC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(wm.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aC)}catch(n){console.error(n)}}}wm.env.NODE_ENV==="production"?(aC(),m9.exports=UF()):m9.exports=FF();var l6=m9.exports;const VF=P("div")({name:"StaticContainer",class:"svm502q",propsAsIs:!1}),jF=`
|
|
179
179
|
.sl-hide-on-modal {
|
|
180
180
|
height: 0 !important;
|
|
181
181
|
opacity: 0 !important;
|
|
@@ -209,4 +209,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
209
209
|
`),y=`
|
|
210
210
|
`+o+(p.length?c("│"):" ")+" ";return o+f.join(y)+`
|
|
211
211
|
`+p.map(function(b,C){var _=C===p.length-1,N=b.nodes&&b.nodes.length,R=o+(_?" ":c("│"))+" ";return o+c(_?"└":"├")+c("─")+c(N?"┬":"─")+" "+n(b,R,l).slice(o.length+2)}).join("")};const wee=See,BS=Symbol("avvio.TimeTree.untrackNode"),K5=Symbol("avvio.TimeTree.trackNode"),$S=Symbol("avvio.TimeTree.getParent"),zS=Symbol("avvio.TimeTree.getNode"),HS=Symbol("avvio.TimeTree.addNode");let Cee=class{constructor(){this.root=null,this.tableId=new Map,this.tableLabel=new Map}[K5](n){this.tableId.set(n.id,n),this.tableLabel.has(n.label)?this.tableLabel.get(n.label).push(n):this.tableLabel.set(n.label,[n])}[BS](n){this.tableId.delete(n.id);const a=this.tableLabel.get(n.label);if(a.id){this.tableLabel.delete(n.label);return}a.pop(),a.length===0&&this.tableLabel.delete(n.label)}[$S](n){if(n===null)return this.root;const a=this.tableLabel.get(n);return a.id?a:a[a.length-1]}[zS](n){return this.tableId.get(n)}[HS](n,a,o){if(n===null)return this.root={id:"root",label:a,start:o,nodes:[]},this[K5](this.root),this.root.id;const l=this[$S](n),c=`${a}-${Math.random()}`,p={id:c,parent:n,start:o,label:a,nodes:[]};return l.nodes.push(p),this[K5](p),c}start(n,a,o=Date.now()){return this[HS](n,a,o)}stop(n,a=Date.now()){const o=this[zS](n);o&&(o.stop=a,o.diff=o.stop-o.start||0,this[BS](o))}toJSON(){return Object.assign({},this.root)}prittyPrint(){const n=o=>(o.label=`${o.label} ${o.diff} ms`,o.nodes.length>0&&(o.nodes=o.nodes.map(l=>n(l))),o),a=n(this.toJSON());return wee(a)}};var Eee=Cee,Ey={exports:{}},D9={exports:{}},Z5,GS;function _ee(){if(GS)return Z5;GS=1;var n=1e3,a=n*60,o=a*60,l=o*24,c=l*7,p=l*365.25;Z5=function(_,N){N=N||{};var R=typeof _;if(R==="string"&&_.length>0)return f(_);if(R==="number"&&isFinite(_))return N.long?b(_):y(_);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))};function f(_){if(_=String(_),!(_.length>100)){var N=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(_);if(N){var R=parseFloat(N[1]),O=(N[2]||"ms").toLowerCase();switch(O){case"years":case"year":case"yrs":case"yr":case"y":return R*p;case"weeks":case"week":case"w":return R*c;case"days":case"day":case"d":return R*l;case"hours":case"hour":case"hrs":case"hr":case"h":return R*o;case"minutes":case"minute":case"mins":case"min":case"m":return R*a;case"seconds":case"second":case"secs":case"sec":case"s":return R*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return R;default:return}}}}function y(_){var N=Math.abs(_);return N>=l?Math.round(_/l)+"d":N>=o?Math.round(_/o)+"h":N>=a?Math.round(_/a)+"m":N>=n?Math.round(_/n)+"s":_+"ms"}function b(_){var N=Math.abs(_);return N>=l?C(_,N,l,"day"):N>=o?C(_,N,o,"hour"):N>=a?C(_,N,a,"minute"):N>=n?C(_,N,n,"second"):_+" ms"}function C(_,N,R,O){var D=N>=R*1.5;return Math.round(_/R)+" "+O+(D?"s":"")}return Z5}function Iee(n){o.debug=o,o.default=o,o.coerce=b,o.disable=p,o.enable=c,o.enabled=f,o.humanize=_ee(),o.destroy=C,Object.keys(n).forEach(_=>{o[_]=n[_]}),o.names=[],o.skips=[],o.formatters={};function a(_){let N=0;for(let R=0;R<_.length;R++)N=(N<<5)-N+_.charCodeAt(R),N|=0;return o.colors[Math.abs(N)%o.colors.length]}o.selectColor=a;function o(_){let N,R=null,O,D;function F(...V){if(!F.enabled)return;const z=F,W=Number(new Date),K=W-(N||W);z.diff=K,z.prev=N,z.curr=W,N=W,V[0]=o.coerce(V[0]),typeof V[0]!="string"&&V.unshift("%O");let te=0;V[0]=V[0].replace(/%([a-zA-Z%])/g,(J,ue)=>{if(J==="%%")return"%";te++;const ae=o.formatters[ue];if(typeof ae=="function"){const Ne=V[te];J=ae.call(z,Ne),V.splice(te,1),te--}return J}),o.formatArgs.call(z,V),(z.log||o.log).apply(z,V)}return F.namespace=_,F.useColors=o.useColors(),F.color=o.selectColor(_),F.extend=l,F.destroy=o.destroy,Object.defineProperty(F,"enabled",{enumerable:!0,configurable:!1,get:()=>R!==null?R:(O!==o.namespaces&&(O=o.namespaces,D=o.enabled(_)),D),set:V=>{R=V}}),typeof o.init=="function"&&o.init(F),F}function l(_,N){const R=o(this.namespace+(typeof N>"u"?":":N)+_);return R.log=this.log,R}function c(_){o.save(_),o.namespaces=_,o.names=[],o.skips=[];let N;const R=(typeof _=="string"?_:"").split(/[\s,]+/),O=R.length;for(N=0;N<O;N++)R[N]&&(_=R[N].replace(/\*/g,".*?"),_[0]==="-"?o.skips.push(new RegExp("^"+_.slice(1)+"$")):o.names.push(new RegExp("^"+_+"$")))}function p(){const _=[...o.names.map(y),...o.skips.map(y).map(N=>"-"+N)].join(",");return o.enable(""),_}function f(_){if(_[_.length-1]==="*")return!0;let N,R;for(N=0,R=o.skips.length;N<R;N++)if(o.skips[N].test(_))return!1;for(N=0,R=o.names.length;N<R;N++)if(o.names[N].test(_))return!0;return!1}function y(_){return _.toString().substring(2,_.toString().length-2).replace(/\.\*\?$/,"*")}function b(_){return _ instanceof Error?_.stack||_.message:_}function C(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o.enable(o.load()),o}var Nee=Iee;(function(n,a){a.formatArgs=l,a.save=c,a.load=p,a.useColors=o,a.storage=f(),a.destroy=(()=>{let b=!1;return()=>{b||(b=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function o(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function l(b){if(b[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+b[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const C="color: "+this.color;b.splice(1,0,C,"color: inherit");let _=0,N=0;b[0].replace(/%[a-zA-Z%]/g,R=>{R!=="%%"&&(_++,R==="%c"&&(N=_))}),b.splice(N,0,C)}a.log=console.debug||console.log||(()=>{});function c(b){try{b?a.storage.setItem("debug",b):a.storage.removeItem("debug")}catch{}}function p(){let b;try{b=a.storage.getItem("debug")}catch{}return!b&&typeof St<"u"&&"env"in St&&(b=St.env.DEBUG),b}function f(){try{return localStorage}catch{}}n.exports=Nee(a);const{formatters:y}=n.exports;y.j=function(b){try{return JSON.stringify(b)}catch(C){return"[UnexpectedJSONParseError]: "+C.message}}})(D9,D9.exports);var UE=D9.exports;const Ree=cE,Lee=TE.EventEmitter,Oee=A6.inherits,Da=UE("avvio"),{AVV_ERR_READY_TIMEOUT:xee}=DE,X5=Symbol.for("plugin-meta");function Aee(n,a){return n[X5]&&n[X5].name?n[X5].name:typeof a<"u"&&typeof a!="function"&&a.name?a.name:n.name?n.name:n.toString().split(`
|
|
212
|
-
`).slice(0,2).map(o=>o.trim()).join(" -- ")}function Pee(){const n={};return n.promise=new Promise((a,o)=>{n.resolve=a,n.reject=o}),n}function _m(n,a,o,l,c){this.started=!1,this.func=a,this.opts=o,this.onFinish=null,this.parent=n,this.timeout=c===void 0?n._timeout:c,this.name=Aee(a,o),this.isAfter=l,this.q=Ree(n,Mee,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}Oee(_m,Lee);_m.prototype.exec=function(n,a){const o=this.func;let l=!1;const c=this.name;if(this.parent._error&&!this.isAfter){Da("skipping loading of plugin as parent errored and it is not an after",c),St.nextTick(a);return}if(this.isAfter)this.server=n;else try{this.server=this.parent.override(n,o,this.opts)}catch(b){return Da("override errored",c),a(b)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Da("exec",c);let p;const f=b=>{if(l){Da("loading complete",c);return}this._error=b,Da(b?"exec errored":"exec completed",c),l=!0,p&&clearTimeout(p),a(b)};this.timeout>0&&(Da("setting up timeout",c,this.timeout),p=setTimeout(function(){Da("timed out",c),p=null;const b=new xee(c);b.fn=o,f(b)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const y=o(this.server,this.opts,f);y&&typeof y.then=="function"&&(Da("exec: resolving promise",c),y.then(()=>St.nextTick(f),b=>St.nextTick(f,b)))};_m.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const n=()=>{this.server.after((o,l)=>{this._error=o,this.q.pause(),o?(Da("rejecting promise",this.name,o),this._promise.reject(o)):(Da("resolving promise",this.name),this._promise.resolve()),this._promise=null,St.nextTick(l,o)}),this.q.resume()};let a;return this._promise?a=Promise.resolve():(this._promise=Pee(),a=this._promise.promise,this.server?n():this.on("start",n)),a};_m.prototype.enqueue=function(n,a){Da("enqueue",this.name,n.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(n,a)};_m.prototype.finish=function(n,a){Da("finish",this.name,n);const o=()=>{this.loaded||(Da("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,a(n))};if(n){this._promise&&(this._promise.reject(n),this._promise=null),o();return}const l=()=>{if(Da("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const c=()=>{Da("wrap"),queueMicrotask(l)};this._promise.resolve(),this._promise.promise.then(c,c),this._promise=null}else o();else Da("delayed",this.name),this.q.drain=()=>{Da("drain",this.name),this.q.drain=Dee,queueMicrotask(l)}};queueMicrotask(l),this.q.resume()};function Mee(n,a){const o=this;St.nextTick(_y.bind(o),n,a)}function _y(n,a){if(typeof n.func.then=="function"){n.func.then(l=>{typeof l.default=="function"&&(l=l.default),n.func=l,_y.call(this,n,a)},a);return}const o=this._current[0];this._current.unshift(n),n.exec(o&&o.server||this._server,l=>{n.finish(l,c=>{this._current.shift(),a(c)})})}function Dee(){}Ey.exports=_m;Ey.exports.loadPlugin=_y;var Uee=Ey.exports;const qS=cE,Fee=TE.EventEmitter,Vee=A6.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:J5,AVV_ERR_CALLBACK_NOT_FN:i2,AVV_ERR_PLUGIN_NOT_VALID:jee,AVV_ERR_ROOT_PLG_BOOTED:Bee,AVV_ERR_READY_TIMEOUT:$ee}=DE,zee=Eee,U9=Uee,Tm=UE("avvio"),b6=Symbol("kAvvio"),e9=Symbol("kThenifyDoNotWrap");function Hee(n,a,o){const l=a.expose||{},c=l.use||"use",p=l.after||"after",f=l.ready||"ready",y=l.onClose||"onClose",b=l.close||"close";if(n[c])throw new J5(c);if(n[p])throw new J5(p);if(n[f])throw new J5(f);n[c]=function(C,_){return o.use(C,_),this},Object.defineProperty(n,"then",{get:FE.bind(o)}),n[b6]=!0,n[p]=function(C){return typeof C!="function"?o._loadRegistered():(o.after(t9(C,this)),this)},n[f]=function(C){if(C&&typeof C!="function")throw new i2(f,typeof C);return o.ready(C?t9(C,this):void 0)},n[y]=function(C){if(typeof C!="function")throw new i2(y,typeof C);return o.onClose(Yee(C,this)),this},n[b]=function(C){if(C&&typeof C!="function")throw new i2(b,typeof C);return C?(o.close(t9(C,this)),this):o.close()}}function ka(n,a,o){if(typeof n=="function"&&arguments.length===1&&(o=n,a={},n=null),typeof a=="function"&&(o=a,a={}),a=a||{},!(this instanceof ka)){const l=new ka(n,a,o);return n&&Hee(n,a,l),l}a.autostart!==!1&&(a.autostart=!0),n=n||this,this._timeout=Number(a.timeout)||0,this._server=n,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),o&&this.once("start",o),this.started=!1,this.booted=!1,this.pluginTree=new zee,this._readyQ=qS(this,VE,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=WS},this._closeQ=qS(this,Qee,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=WS},this._doStart=null,this._root=new U9(this,Gee.bind(this),a,!1,0),this._root.once("start",(l,c,p)=>{const f=this.pluginTree.start(null,c,p);this._root.once("loaded",(y,b,C)=>{this.pluginTree.stop(f,C)})}),U9.loadPlugin.call(this,this._root,l=>{Tm("root plugin ready");try{this.emit("preReady"),this._root=null}catch(c){l=l||this._error||c}if(l){if(this._error=l,this._readyQ.length()===0)throw l}else this.booted=!0;this._readyQ.resume()})}function Gee(n,a,o){this._doStart=o,a.autostart&&this.start()}Vee(ka,Fee);ka.prototype.start=function(){return this.started=!0,St.nextTick(this._doStart),this};ka.prototype.override=function(n,a,o){return n};function qee(n){if(n&&typeof n=="object"&&typeof n.default=="function"&&(n=n.default),!(n&&(typeof n=="function"||typeof n.then=="function")))throw new jee(typeof n);return n}ka.prototype[b6]=!0;ka.prototype.use=function(n,a){return this._lastUsed=this._addPlugin(n,a,!1),this};ka.prototype._loadRegistered=function(){const n=this._current[0];return!this.started&&!this.booted&&St.nextTick(()=>this._root.q.resume()),n?n.loadedSoFar():Promise.resolve()};Object.defineProperty(ka.prototype,"then",{get:FE});ka.prototype._addPlugin=function(n,a,o){if(n=qee(n),a=a||{},this.booted)throw new Bee;const l=this._current[0],c=new U9(this,n,a,o);if(c.once("start",(p,f,y)=>{const b=this.pluginTree.start(l.name,f,y);c.once("loaded",(C,_,N)=>{this.pluginTree.stop(b,N)})}),l.loaded)throw new Error(c.name,l.name);return l.enqueue(c,p=>{p&&(this._error=p)}),c};ka.prototype.after=function(n){if(!n)return this._loadRegistered();this._addPlugin(a.bind(this),{},!0);function a(o,l,c){VE.call(this,n,c)}return this};ka.prototype.onClose=function(n){if(typeof n!="function")throw new Error("not a function");n[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(n,a.bind(this));function a(o){o&&(this._error=o)}return this};ka.prototype.close=function(n){let a;if(n){if(typeof n!="function")throw new i2("close",typeof n)}else a=new Promise(function(o,l){n=function(c){if(c)return l(c);o()}});return this.ready(()=>{this._error=null,this._closeQ.push(n),St.nextTick(this._closeQ.resume.bind(this._closeQ))}),a};ka.prototype.ready=function(n){if(n){if(typeof n!="function")throw new i2("ready",typeof n);this._readyQ.push(n),queueMicrotask(this.start.bind(this));return}return new Promise((a,o)=>{this._readyQ.push(c),this.start();const l=this._current[0].server;function c(p,f,y){p?o(p):a(l),St.nextTick(y)}})};ka.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};ka.prototype.toJSON=function(){return this.pluginTree.toJSON()};function WS(){}function FE(){if(this.booted){Tm("thenify returning null because we are already booted");return}if(this[e9]){this[e9]=!1;return}return Tm("thenify"),(n,a)=>this._loadRegistered().then(()=>(this[e9]=!0,n(this._server)),a)}function VE(n,a){const o=this._server,l=this._error;let c;if(this._error=null,n.length===0)this._error=l,c=n(),c&&!c[b6]&&typeof c.then=="function"?c.then(()=>St.nextTick(a),p=>St.nextTick(a,p)):St.nextTick(a);else if(n.length===1)c=n(l),c&&!c[b6]&&typeof c.then=="function"?c.then(()=>St.nextTick(a),p=>St.nextTick(a,p)):St.nextTick(a);else if(this._timeout===0){const p=f=>{this._error=f,a(this._error)};n.length===2?n(l,p):n(l,o,p)}else Wee.call(this,n,l,o,a)}function Wee(n,a,o,l){const c=n.name;Tm("setting up ready timeout",c,this._timeout);let p=setTimeout(()=>{Tm("timed out",c),p=null;const y=new $ee(c);y.fn=n,this._error=y,l(y)},this._timeout);n.length===2?n(a,f.bind(this)):n(a,o,f.bind(this));function f(y){p&&(clearTimeout(p),this._error=y,l(this._error))}}function Qee(n,a){const o=this._server,l=n[this._isOnCloseHandlerKey];if(n.length===0||n.length===1){let c;l?c=n(o):c=n(this._error),c&&typeof c.then=="function"?(Tm("resolving close/onClose promise"),c.then(()=>St.nextTick(a),p=>St.nextTick(a,p))):St.nextTick(a)}else n.length===2?n(l?o:this._error,a):l?n(o,a):n(this._error,o,a)}function Yee(n,a){return o.bind(a);function o(l,c){let p;n.length===0?(p=n(),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n.length===1?(p=n(this),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n(this,c)}}function t9(n,a){return o.bind(a);function o(l,c){let p;n?n.length===0?(p=n(),p&&p.then?p.then(function(){St.nextTick(c,l)},c):St.nextTick(c,l)):n.length===1?(p=n(l),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n.length===2?n(l,c):n(l,this,c):St.nextTick(c)}}py.exports=ka;py.exports.express=function(n){return ka(n,{expose:{use:"load"}})};var Kee=py.exports;const Zee=EX(Kee);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const n=["webkit","moz","ms","o"];for(const a of n)window.requestAnimationFrame=window.requestAnimationFrame||window[`${a}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${a}CancelAnimationFrame`]||window[`${a}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let a=0;const o=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(l){const c=o?window.performance.now():new Date().getTime(),p=Math.max(0,16-(c-a)),f=window.setTimeout(function(){l(c+p)},p);return a=c+p,f},window.cancelAnimationFrame=clearTimeout}})();function Xee(n,a=!0,o=!0,l){const c=a?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",p=a?"https://grpc.streamlayer.io:443":"https://grpc.next.streamlayer.io:443",f=Zee(Object.create({}),{autostart:!1});return f.use(tX),f.use(YZ,{onDeepLinkHandled:l==null?void 0:l.onDeepLinkHandled}),f.use(JZ,{videoPlayerController:l==null?void 0:l.videoPlayerController}),f.use(eX,{onContentActivate:l==null?void 0:l.onContentActivate}),f.use(hZ,{sdkKey:n,host:c,analyticsHost:p,version:l==null?void 0:l.version}),f.use(bZ),f.use(XZ),f.use(pX),f.use(VZ),f.use(CX),f.after((y,b,C)=>{if(y)throw y;b.ready(),C()}),o&&f.after(async(y,b,C)=>{if(y)throw y;await b.sdk.initializeApp(),C()}),f.onClose(()=>{console.log("close")}),f}const Jee=({sdkKey:n,plugins:a,production:o,autoEnable:l,onDeepLinkHandled:c,videoPlayerController:p,onContentActivate:f})=>{const[y,b]=Q.useState(null);return Q.useEffect(()=>{let C=!1;if(!n)return console.error("streamlayer sdk key should be provided"),b(N=>(N!==null&&typeof N.disableApp=="function"&&N.disableApp(),null)),()=>{C=!0};const _=Xee(n,o,l,{version:"1.2.0",onDeepLinkHandled:c,videoPlayerController:p,onContentActivate:f});if(a)for(const N of a)_.use(N);return _.ready().then(N=>{C||(b(N.sdk),typeof window<"u")}).catch(N=>console.log(N)),()=>{C=!0,_.close(function(N){if(N)throw N})}},[n,o]),y};var jE=(n=>(n[n.UNSET=0]="UNSET",n[n.CONNECTED=1]="CONNECTED",n[n.READY=2]="READY",n))(jE||{});const Iy=Q.createContext({status:0,sdk:null}),ete=({sdkKey:n,plugins:a,children:o,production:l=!0,autoEnable:c=!0,onDeepLinkHandled:p,videoPlayerController:f,onContentActivate:y})=>{const b=Jee({sdkKey:n,plugins:a,production:l,autoEnable:c,onDeepLinkHandled:p,videoPlayerController:f,onContentActivate:y}),C=Q.useMemo(()=>b?{sdk:b,status:2}:{status:1,sdk:null},[b]);return Q.useEffect(()=>()=>{p&&(b==null||b.removeDeepLinkHandler(p)),f&&(b==null||b.removeVideoPlayerController(f))},[b]),Q.useEffect(()=>{localStorage.getItem("SL_DEBUG")&&console.log("StreamLayerProvider mounted with props:",{sdkKey:!!n,onDeepLinkHandled:!!p,videoPlayerController:!!f})},[n,p,f]),w.jsx(Iy.Provider,{value:C,children:o})},BE=()=>{const{sdk:n}=Q.useContext(Iy);return n},tte=({sdkKey:n,plugins:a,children:o,onDeepLinkHandled:l,videoPlayerController:c,production:p=!0})=>w.jsx(ete,{sdkKey:n,plugins:a,production:p,autoEnable:!1,onDeepLinkHandled:l,videoPlayerController:c,children:o}),nte=({children:n,overlays:a})=>{const{sdk:o,status:l}=Q.useContext(Iy);return l===jE.UNSET?(console.error("Wrap app in `StreamLayerProvider`"),n({})):o?w.jsx("div",{className:"StreamLayerSDK",children:w.jsx(RC,{style:{height:"100%"},children:w.jsx($G,{sdk:o,overlays:a,children:n})})}):n({})};class ate extends Q.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a,o){console.error(a,o.componentStack)}render(){return this.state.hasError?this.props.children({}):w.jsx(nte,{...this.props})}}const rte=({token:n,schema:a})=>{const o=BE();return Q.useEffect(()=>{n&&a&&o&&o.authorizationBypass(a,n)},[n,a,o]),null},ote=()=>{const n=BE();return n?w.jsx("div",{className:"StreamLayerSDK",children:w.jsx(RC,{children:w.jsx(XG,{sdk:n})})}):null};exports.C=kC;exports.C$1=XS;exports.C$2=C6;exports.M=iy;exports.MastersStreamLayerProvider=tte;exports.MastersStreamLayerSDKReact=ate;exports.O=ey;exports.S=EC;exports.StreamLayerLogin=rte;exports.StreamLayerSDKPoints=ote;exports.T=sy;exports.a=F9;exports.b=bC;exports.k=_C;exports.l=KS;exports.m=r2;exports.m$1=JS;exports.n=f2;exports.p=eq;exports.p$1=ZS;exports.styled_default=P;exports.useStore=Ut;exports.z=j$;
|
|
212
|
+
`).slice(0,2).map(o=>o.trim()).join(" -- ")}function Pee(){const n={};return n.promise=new Promise((a,o)=>{n.resolve=a,n.reject=o}),n}function _m(n,a,o,l,c){this.started=!1,this.func=a,this.opts=o,this.onFinish=null,this.parent=n,this.timeout=c===void 0?n._timeout:c,this.name=Aee(a,o),this.isAfter=l,this.q=Ree(n,Mee,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}Oee(_m,Lee);_m.prototype.exec=function(n,a){const o=this.func;let l=!1;const c=this.name;if(this.parent._error&&!this.isAfter){Da("skipping loading of plugin as parent errored and it is not an after",c),St.nextTick(a);return}if(this.isAfter)this.server=n;else try{this.server=this.parent.override(n,o,this.opts)}catch(b){return Da("override errored",c),a(b)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Da("exec",c);let p;const f=b=>{if(l){Da("loading complete",c);return}this._error=b,Da(b?"exec errored":"exec completed",c),l=!0,p&&clearTimeout(p),a(b)};this.timeout>0&&(Da("setting up timeout",c,this.timeout),p=setTimeout(function(){Da("timed out",c),p=null;const b=new xee(c);b.fn=o,f(b)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const y=o(this.server,this.opts,f);y&&typeof y.then=="function"&&(Da("exec: resolving promise",c),y.then(()=>St.nextTick(f),b=>St.nextTick(f,b)))};_m.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const n=()=>{this.server.after((o,l)=>{this._error=o,this.q.pause(),o?(Da("rejecting promise",this.name,o),this._promise.reject(o)):(Da("resolving promise",this.name),this._promise.resolve()),this._promise=null,St.nextTick(l,o)}),this.q.resume()};let a;return this._promise?a=Promise.resolve():(this._promise=Pee(),a=this._promise.promise,this.server?n():this.on("start",n)),a};_m.prototype.enqueue=function(n,a){Da("enqueue",this.name,n.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(n,a)};_m.prototype.finish=function(n,a){Da("finish",this.name,n);const o=()=>{this.loaded||(Da("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,a(n))};if(n){this._promise&&(this._promise.reject(n),this._promise=null),o();return}const l=()=>{if(Da("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const c=()=>{Da("wrap"),queueMicrotask(l)};this._promise.resolve(),this._promise.promise.then(c,c),this._promise=null}else o();else Da("delayed",this.name),this.q.drain=()=>{Da("drain",this.name),this.q.drain=Dee,queueMicrotask(l)}};queueMicrotask(l),this.q.resume()};function Mee(n,a){const o=this;St.nextTick(_y.bind(o),n,a)}function _y(n,a){if(typeof n.func.then=="function"){n.func.then(l=>{typeof l.default=="function"&&(l=l.default),n.func=l,_y.call(this,n,a)},a);return}const o=this._current[0];this._current.unshift(n),n.exec(o&&o.server||this._server,l=>{n.finish(l,c=>{this._current.shift(),a(c)})})}function Dee(){}Ey.exports=_m;Ey.exports.loadPlugin=_y;var Uee=Ey.exports;const qS=cE,Fee=TE.EventEmitter,Vee=A6.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:J5,AVV_ERR_CALLBACK_NOT_FN:i2,AVV_ERR_PLUGIN_NOT_VALID:jee,AVV_ERR_ROOT_PLG_BOOTED:Bee,AVV_ERR_READY_TIMEOUT:$ee}=DE,zee=Eee,U9=Uee,Tm=UE("avvio"),b6=Symbol("kAvvio"),e9=Symbol("kThenifyDoNotWrap");function Hee(n,a,o){const l=a.expose||{},c=l.use||"use",p=l.after||"after",f=l.ready||"ready",y=l.onClose||"onClose",b=l.close||"close";if(n[c])throw new J5(c);if(n[p])throw new J5(p);if(n[f])throw new J5(f);n[c]=function(C,_){return o.use(C,_),this},Object.defineProperty(n,"then",{get:FE.bind(o)}),n[b6]=!0,n[p]=function(C){return typeof C!="function"?o._loadRegistered():(o.after(t9(C,this)),this)},n[f]=function(C){if(C&&typeof C!="function")throw new i2(f,typeof C);return o.ready(C?t9(C,this):void 0)},n[y]=function(C){if(typeof C!="function")throw new i2(y,typeof C);return o.onClose(Yee(C,this)),this},n[b]=function(C){if(C&&typeof C!="function")throw new i2(b,typeof C);return C?(o.close(t9(C,this)),this):o.close()}}function ka(n,a,o){if(typeof n=="function"&&arguments.length===1&&(o=n,a={},n=null),typeof a=="function"&&(o=a,a={}),a=a||{},!(this instanceof ka)){const l=new ka(n,a,o);return n&&Hee(n,a,l),l}a.autostart!==!1&&(a.autostart=!0),n=n||this,this._timeout=Number(a.timeout)||0,this._server=n,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),o&&this.once("start",o),this.started=!1,this.booted=!1,this.pluginTree=new zee,this._readyQ=qS(this,VE,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=WS},this._closeQ=qS(this,Qee,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=WS},this._doStart=null,this._root=new U9(this,Gee.bind(this),a,!1,0),this._root.once("start",(l,c,p)=>{const f=this.pluginTree.start(null,c,p);this._root.once("loaded",(y,b,C)=>{this.pluginTree.stop(f,C)})}),U9.loadPlugin.call(this,this._root,l=>{Tm("root plugin ready");try{this.emit("preReady"),this._root=null}catch(c){l=l||this._error||c}if(l){if(this._error=l,this._readyQ.length()===0)throw l}else this.booted=!0;this._readyQ.resume()})}function Gee(n,a,o){this._doStart=o,a.autostart&&this.start()}Vee(ka,Fee);ka.prototype.start=function(){return this.started=!0,St.nextTick(this._doStart),this};ka.prototype.override=function(n,a,o){return n};function qee(n){if(n&&typeof n=="object"&&typeof n.default=="function"&&(n=n.default),!(n&&(typeof n=="function"||typeof n.then=="function")))throw new jee(typeof n);return n}ka.prototype[b6]=!0;ka.prototype.use=function(n,a){return this._lastUsed=this._addPlugin(n,a,!1),this};ka.prototype._loadRegistered=function(){const n=this._current[0];return!this.started&&!this.booted&&St.nextTick(()=>this._root.q.resume()),n?n.loadedSoFar():Promise.resolve()};Object.defineProperty(ka.prototype,"then",{get:FE});ka.prototype._addPlugin=function(n,a,o){if(n=qee(n),a=a||{},this.booted)throw new Bee;const l=this._current[0],c=new U9(this,n,a,o);if(c.once("start",(p,f,y)=>{const b=this.pluginTree.start(l.name,f,y);c.once("loaded",(C,_,N)=>{this.pluginTree.stop(b,N)})}),l.loaded)throw new Error(c.name,l.name);return l.enqueue(c,p=>{p&&(this._error=p)}),c};ka.prototype.after=function(n){if(!n)return this._loadRegistered();this._addPlugin(a.bind(this),{},!0);function a(o,l,c){VE.call(this,n,c)}return this};ka.prototype.onClose=function(n){if(typeof n!="function")throw new Error("not a function");n[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(n,a.bind(this));function a(o){o&&(this._error=o)}return this};ka.prototype.close=function(n){let a;if(n){if(typeof n!="function")throw new i2("close",typeof n)}else a=new Promise(function(o,l){n=function(c){if(c)return l(c);o()}});return this.ready(()=>{this._error=null,this._closeQ.push(n),St.nextTick(this._closeQ.resume.bind(this._closeQ))}),a};ka.prototype.ready=function(n){if(n){if(typeof n!="function")throw new i2("ready",typeof n);this._readyQ.push(n),queueMicrotask(this.start.bind(this));return}return new Promise((a,o)=>{this._readyQ.push(c),this.start();const l=this._current[0].server;function c(p,f,y){p?o(p):a(l),St.nextTick(y)}})};ka.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};ka.prototype.toJSON=function(){return this.pluginTree.toJSON()};function WS(){}function FE(){if(this.booted){Tm("thenify returning null because we are already booted");return}if(this[e9]){this[e9]=!1;return}return Tm("thenify"),(n,a)=>this._loadRegistered().then(()=>(this[e9]=!0,n(this._server)),a)}function VE(n,a){const o=this._server,l=this._error;let c;if(this._error=null,n.length===0)this._error=l,c=n(),c&&!c[b6]&&typeof c.then=="function"?c.then(()=>St.nextTick(a),p=>St.nextTick(a,p)):St.nextTick(a);else if(n.length===1)c=n(l),c&&!c[b6]&&typeof c.then=="function"?c.then(()=>St.nextTick(a),p=>St.nextTick(a,p)):St.nextTick(a);else if(this._timeout===0){const p=f=>{this._error=f,a(this._error)};n.length===2?n(l,p):n(l,o,p)}else Wee.call(this,n,l,o,a)}function Wee(n,a,o,l){const c=n.name;Tm("setting up ready timeout",c,this._timeout);let p=setTimeout(()=>{Tm("timed out",c),p=null;const y=new $ee(c);y.fn=n,this._error=y,l(y)},this._timeout);n.length===2?n(a,f.bind(this)):n(a,o,f.bind(this));function f(y){p&&(clearTimeout(p),this._error=y,l(this._error))}}function Qee(n,a){const o=this._server,l=n[this._isOnCloseHandlerKey];if(n.length===0||n.length===1){let c;l?c=n(o):c=n(this._error),c&&typeof c.then=="function"?(Tm("resolving close/onClose promise"),c.then(()=>St.nextTick(a),p=>St.nextTick(a,p))):St.nextTick(a)}else n.length===2?n(l?o:this._error,a):l?n(o,a):n(this._error,o,a)}function Yee(n,a){return o.bind(a);function o(l,c){let p;n.length===0?(p=n(),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n.length===1?(p=n(this),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n(this,c)}}function t9(n,a){return o.bind(a);function o(l,c){let p;n?n.length===0?(p=n(),p&&p.then?p.then(function(){St.nextTick(c,l)},c):St.nextTick(c,l)):n.length===1?(p=n(l),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n.length===2?n(l,c):n(l,this,c):St.nextTick(c)}}py.exports=ka;py.exports.express=function(n){return ka(n,{expose:{use:"load"}})};var Kee=py.exports;const Zee=EX(Kee);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const n=["webkit","moz","ms","o"];for(const a of n)window.requestAnimationFrame=window.requestAnimationFrame||window[`${a}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${a}CancelAnimationFrame`]||window[`${a}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let a=0;const o=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(l){const c=o?window.performance.now():new Date().getTime(),p=Math.max(0,16-(c-a)),f=window.setTimeout(function(){l(c+p)},p);return a=c+p,f},window.cancelAnimationFrame=clearTimeout}})();function Xee(n,a=!0,o=!0,l){const c=a?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",p=a?"https://grpc.streamlayer.io:443":"https://grpc.next.streamlayer.io:443",f=Zee(Object.create({}),{autostart:!1});return f.use(tX),f.use(YZ,{onDeepLinkHandled:l==null?void 0:l.onDeepLinkHandled}),f.use(JZ,{videoPlayerController:l==null?void 0:l.videoPlayerController}),f.use(eX,{onContentActivate:l==null?void 0:l.onContentActivate}),f.use(hZ,{sdkKey:n,host:c,analyticsHost:p,version:l==null?void 0:l.version}),f.use(bZ),f.use(XZ),f.use(pX),f.use(VZ),f.use(CX),f.after((y,b,C)=>{if(y)throw y;b.ready(),C()}),o&&f.after(async(y,b,C)=>{if(y)throw y;await b.sdk.initializeApp(),C()}),f.onClose(()=>{console.log("close")}),f}const Jee=({sdkKey:n,plugins:a,production:o,autoEnable:l,onDeepLinkHandled:c,videoPlayerController:p,onContentActivate:f})=>{const[y,b]=Q.useState(null);return Q.useEffect(()=>{let C=!1;if(!n)return console.error("streamlayer sdk key should be provided"),b(N=>(N!==null&&typeof N.disableApp=="function"&&N.disableApp(),null)),()=>{C=!0};const _=Xee(n,o,l,{version:"1.3.1",onDeepLinkHandled:c,videoPlayerController:p,onContentActivate:f});if(a)for(const N of a)_.use(N);return _.ready().then(N=>{C||(b(N.sdk),typeof window<"u")}).catch(N=>console.log(N)),()=>{C=!0,_.close(function(N){if(N)throw N})}},[n,o]),y};var jE=(n=>(n[n.UNSET=0]="UNSET",n[n.CONNECTED=1]="CONNECTED",n[n.READY=2]="READY",n))(jE||{});const Iy=Q.createContext({status:0,sdk:null}),ete=({sdkKey:n,plugins:a,children:o,production:l=!0,autoEnable:c=!0,onDeepLinkHandled:p,videoPlayerController:f,onContentActivate:y})=>{const b=Jee({sdkKey:n,plugins:a,production:l,autoEnable:c,onDeepLinkHandled:p,videoPlayerController:f,onContentActivate:y}),C=Q.useMemo(()=>b?{sdk:b,status:2}:{status:1,sdk:null},[b]);return Q.useEffect(()=>()=>{p&&(b==null||b.removeDeepLinkHandler(p)),f&&(b==null||b.removeVideoPlayerController(f))},[b]),Q.useEffect(()=>{localStorage.getItem("SL_DEBUG")&&console.log("StreamLayerProvider mounted with props:",{sdkKey:!!n,onDeepLinkHandled:!!p,videoPlayerController:!!f})},[n,p,f]),w.jsx(Iy.Provider,{value:C,children:o})},BE=()=>{const{sdk:n}=Q.useContext(Iy);return n},tte=({sdkKey:n,plugins:a,children:o,onDeepLinkHandled:l,videoPlayerController:c,production:p=!0})=>w.jsx(ete,{sdkKey:n,plugins:a,production:p,autoEnable:!1,onDeepLinkHandled:l,videoPlayerController:c,children:o}),nte=({children:n,overlays:a})=>{const{sdk:o,status:l}=Q.useContext(Iy);return l===jE.UNSET?(console.error("Wrap app in `StreamLayerProvider`"),n({})):o?w.jsx("div",{className:"StreamLayerSDK",children:w.jsx(RC,{style:{height:"100%"},children:w.jsx($G,{sdk:o,overlays:a,children:n})})}):n({})};class ate extends Q.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a,o){console.error(a,o.componentStack)}render(){return this.state.hasError?this.props.children({}):w.jsx(nte,{...this.props})}}const rte=({token:n,schema:a})=>{const o=BE();return Q.useEffect(()=>{n&&a&&o&&o.authorizationBypass(a,n)},[n,a,o]),null},ote=()=>{const n=BE();return n?w.jsx("div",{className:"StreamLayerSDK",children:w.jsx(RC,{children:w.jsx(XG,{sdk:n})})}):null};exports.C=kC;exports.C$1=XS;exports.C$2=C6;exports.M=iy;exports.MastersStreamLayerProvider=tte;exports.MastersStreamLayerSDKReact=ate;exports.O=ey;exports.S=EC;exports.StreamLayerLogin=rte;exports.StreamLayerSDKPoints=ote;exports.T=sy;exports.a=F9;exports.b=bC;exports.k=_C;exports.l=KS;exports.m=r2;exports.m$1=JS;exports.n=f2;exports.p=eq;exports.p$1=ZS;exports.styled_default=P;exports.useStore=Ut;exports.z=j$;
|