From c2a6624a857f953a20eac2d8079ce97a47499e0c Mon Sep 17 00:00:00 2001
From: Sebastian <sebastian@squidex.io>
Date: Mon, 18 Dec 2023 12:50:04 +0100
Subject: [PATCH] Fix editor.

---
 backend/src/Squidex/wwwroot/editor/squidex-editor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/Squidex/wwwroot/editor/squidex-editor.js b/backend/src/Squidex/wwwroot/editor/squidex-editor.js
index d6c8ae2be0..1cf1440169 100644
--- a/backend/src/Squidex/wwwroot/editor/squidex-editor.js
+++ b/backend/src/Squidex/wwwroot/editor/squidex-editor.js
@@ -104,7 +104,7 @@ If you are using Node.js, you can install JSDOM and Remirror will try to use it
 `+o[s].replace(" at new "," at ");return t.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",t.displayName)),a}while(1<=s&&0<=l);break}}}finally{w1=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?dd(t):""}function rq(t){switch(t.tag){case 5:return dd(t.type);case 16:return dd("Lazy");case 13:return dd("Suspense");case 19:return dd("SuspenseList");case 0:case 2:case 15:return t=x1(t.type,!1),t;case 11:return t=x1(t.type.render,!1),t;case 1:return t=x1(t.type,!0),t;default:return""}}function ey(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case sc:return"Fragment";case ic:return"Portal";case Z0:return"Profiler";case Cw:return"StrictMode";case Q0:return"Suspense";case J0:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case bO:return(t.displayName||"Context")+".Consumer";case yO:return(t._context.displayName||"Context")+".Provider";case Tw:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Aw:return e=t.displayName||null,e!==null?e:ey(t.type)||"Memo";case ys:e=t._payload,t=t._init;try{return ey(t(e))}catch{}}return null}function oq(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ey(e);case 8:return e===Cw?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function qs(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xO(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function iq(t){var e=xO(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Df(t){t._valueTracker||(t._valueTracker=iq(t))}function kO(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=xO(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function fg(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function ty(t,e){var n=e.checked;return Ht({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function aT(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=qs(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function EO(t,e){e=e.checked,e!=null&&Sw(t,"checked",e,!1)}function ny(t,e){EO(t,e);var n=qs(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?ry(t,e.type,n):e.hasOwnProperty("defaultValue")&&ry(t,e.type,qs(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function lT(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function ry(t,e,n){(e!=="number"||fg(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var hd=Array.isArray;function Ec(t,e,n,r){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&r&&(t[n].defaultSelected=!0)}else{for(n=""+qs(n),e=null,o=0;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,r&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function oy(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(ne(91));return Ht({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function cT(t,e){var n=e.value;if(n==null){if(n=e.children,e=e.defaultValue,n!=null){if(e!=null)throw Error(ne(92));if(hd(n)){if(1<n.length)throw Error(ne(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:qs(n)}}function SO(t,e){var n=qs(e.value),r=qs(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function uT(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function CO(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function iy(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?CO(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Pf,TO=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Pf=Pf||document.createElement("div"),Pf.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Pf.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function nh(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var _d={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sq=["Webkit","ms","Moz","O"];Object.keys(_d).forEach(function(t){sq.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),_d[e]=_d[t]})});function AO(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||_d.hasOwnProperty(t)&&_d[t]?(""+e).trim():e+"px"}function _O(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=AO(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,o):t[n]=o}}var aq=Ht({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function sy(t,e){if(e){if(aq[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(ne(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(ne(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(ne(61))}if(e.style!=null&&typeof e.style!="object")throw Error(ne(62))}}function ay(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ly=null;function _w(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var cy=null,Sc=null,Cc=null;function dT(t){if(t=nf(t)){if(typeof cy!="function")throw Error(ne(280));var e=t.stateNode;e&&(e=$m(e),cy(t.stateNode,t.type,e))}}function RO(t){Sc?Cc?Cc.push(t):Cc=[t]:Sc=t}function MO(){if(Sc){var t=Sc,e=Cc;if(Cc=Sc=null,dT(t),e)for(t=0;t<e.length;t++)dT(e[t])}}function OO(t,e){return t(e)}function IO(){}var k1=!1;function LO(t,e,n){if(k1)return t(e,n);k1=!0;try{return OO(t,e,n)}finally{k1=!1,(Sc!==null||Cc!==null)&&(IO(),MO())}}function rh(t,e){var n=t.stateNode;if(n===null)return null;var r=$m(n);if(r===null)return null;n=r[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break e;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(ne(231,e,typeof n));return n}var uy=!1;if(Vi)try{var Ru={};Object.defineProperty(Ru,"passive",{get:function(){uy=!0}}),window.addEventListener("test",Ru,Ru),window.removeEventListener("test",Ru,Ru)}catch{uy=!1}function lq(t,e,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{e.apply(n,u)}catch(c){this.onError(c)}}var Rd=!1,pg=null,gg=!1,dy=null,cq={onError:function(t){Rd=!0,pg=t}};function uq(t,e,n,r,o,i,s,l,a){Rd=!1,pg=null,lq.apply(cq,arguments)}function dq(t,e,n,r,o,i,s,l,a){if(uq.apply(this,arguments),Rd){if(Rd){var u=pg;Rd=!1,pg=null}else throw Error(ne(198));gg||(gg=!0,dy=u)}}function Sl(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function NO(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function hT(t){if(Sl(t)!==t)throw Error(ne(188))}function hq(t){var e=t.alternate;if(!e){if(e=Sl(t),e===null)throw Error(ne(188));return e!==t?null:t}for(var n=t,r=e;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return hT(o),t;if(i===r)return hT(o),e;i=i.sibling}throw Error(ne(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(ne(189))}}if(n.alternate!==r)throw Error(ne(190))}if(n.tag!==3)throw Error(ne(188));return n.stateNode.current===n?t:e}function $O(t){return t=hq(t),t!==null?DO(t):null}function DO(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=DO(t);if(e!==null)return e;t=t.sibling}return null}var PO=Qr.unstable_scheduleCallback,fT=Qr.unstable_cancelCallback,fq=Qr.unstable_shouldYield,pq=Qr.unstable_requestPaint,Yt=Qr.unstable_now,gq=Qr.unstable_getCurrentPriorityLevel,Rw=Qr.unstable_ImmediatePriority,zO=Qr.unstable_UserBlockingPriority,mg=Qr.unstable_NormalPriority,mq=Qr.unstable_LowPriority,FO=Qr.unstable_IdlePriority,Om=null,ci=null;function vq(t){if(ci&&typeof ci.onCommitFiberRoot=="function")try{ci.onCommitFiberRoot(Om,t,void 0,(t.current.flags&128)===128)}catch{}}var Ho=Math.clz32?Math.clz32:wq,yq=Math.log,bq=Math.LN2;function wq(t){return t>>>=0,t===0?32:31-(yq(t)/bq|0)|0}var zf=64,Ff=4194304;function fd(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function vg(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,o=t.suspendedLanes,i=t.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=fd(l):(i&=s,i!==0&&(r=fd(i)))}else s=n&~o,s!==0?r=fd(s):i!==0&&(r=fd(i));if(r===0)return 0;if(e!==0&&e!==r&&!(e&o)&&(o=r&-r,i=e&-e,o>=i||o===16&&(i&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0<e;)n=31-Ho(e),o=1<<n,r|=t[n],e&=~o;return r}function xq(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function kq(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,o=t.expirationTimes,i=t.pendingLanes;0<i;){var s=31-Ho(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=xq(l,e)):a<=e&&(t.expiredLanes|=l),i&=~l}}function hy(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function BO(){var t=zf;return zf<<=1,!(zf&4194240)&&(zf=64),t}function E1(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ef(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Ho(e),t[e]=n}function Eq(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var o=31-Ho(n),i=1<<o;e[o]=0,r[o]=-1,t[o]=-1,n&=~i}}function Mw(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-Ho(n),o=1<<r;o&e|t[r]&e&&(t[r]|=e),n&=~o}}var ft=0;function HO(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var UO,Ow,WO,VO,jO,fy=!1,Bf=[],Ls=null,Ns=null,$s=null,oh=new Map,ih=new Map,xs=[],Sq="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pT(t,e){switch(t){case"focusin":case"focusout":Ls=null;break;case"dragenter":case"dragleave":Ns=null;break;case"mouseover":case"mouseout":$s=null;break;case"pointerover":case"pointerout":oh.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ih.delete(e.pointerId)}}function Mu(t,e,n,r,o,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},e!==null&&(e=nf(e),e!==null&&Ow(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function Cq(t,e,n,r,o){switch(e){case"focusin":return Ls=Mu(Ls,t,e,n,r,o),!0;case"dragenter":return Ns=Mu(Ns,t,e,n,r,o),!0;case"mouseover":return $s=Mu($s,t,e,n,r,o),!0;case"pointerover":var i=o.pointerId;return oh.set(i,Mu(oh.get(i)||null,t,e,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ih.set(i,Mu(ih.get(i)||null,t,e,n,r,o)),!0}return!1}function GO(t){var e=Fa(t.target);if(e!==null){var n=Sl(e);if(n!==null){if(e=n.tag,e===13){if(e=NO(n),e!==null){t.blockedOn=e,jO(t.priority,function(){WO(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ep(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=py(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(n===null){n=t.nativeEvent;var r=new n.constructor(n.type,n);ly=r,n.target.dispatchEvent(r),ly=null}else return e=nf(n),e!==null&&Ow(e),t.blockedOn=n,!1;e.shift()}return!0}function gT(t,e,n){Ep(t)&&n.delete(e)}function Tq(){fy=!1,Ls!==null&&Ep(Ls)&&(Ls=null),Ns!==null&&Ep(Ns)&&(Ns=null),$s!==null&&Ep($s)&&($s=null),oh.forEach(gT),ih.forEach(gT)}function Ou(t,e){t.blockedOn===e&&(t.blockedOn=null,fy||(fy=!0,Qr.unstable_scheduleCallback(Qr.unstable_NormalPriority,Tq)))}function sh(t){function e(o){return Ou(o,t)}if(0<Bf.length){Ou(Bf[0],t);for(var n=1;n<Bf.length;n++){var r=Bf[n];r.blockedOn===t&&(r.blockedOn=null)}}for(Ls!==null&&Ou(Ls,t),Ns!==null&&Ou(Ns,t),$s!==null&&Ou($s,t),oh.forEach(e),ih.forEach(e),n=0;n<xs.length;n++)r=xs[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<xs.length&&(n=xs[0],n.blockedOn===null);)GO(n),n.blockedOn===null&&xs.shift()}var Tc=Qi.ReactCurrentBatchConfig,yg=!0;function Aq(t,e,n,r){var o=ft,i=Tc.transition;Tc.transition=null;try{ft=1,Iw(t,e,n,r)}finally{ft=o,Tc.transition=i}}function _q(t,e,n,r){var o=ft,i=Tc.transition;Tc.transition=null;try{ft=4,Iw(t,e,n,r)}finally{ft=o,Tc.transition=i}}function Iw(t,e,n,r){if(yg){var o=py(t,e,n,r);if(o===null)L1(t,e,r,bg,n),pT(t,r);else if(Cq(o,t,e,n,r))r.stopPropagation();else if(pT(t,r),e&4&&-1<Sq.indexOf(t)){for(;o!==null;){var i=nf(o);if(i!==null&&UO(i),i=py(t,e,n,r),i===null&&L1(t,e,r,bg,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else L1(t,e,r,null,n)}}var bg=null;function py(t,e,n,r){if(bg=null,t=_w(r),t=Fa(t),t!==null)if(e=Sl(t),e===null)t=null;else if(n=e.tag,n===13){if(t=NO(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return bg=t,null}function KO(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(gq()){case Rw:return 1;case zO:return 4;case mg:case mq:return 16;case FO:return 536870912;default:return 16}default:return 16}}var Ts=null,Lw=null,Sp=null;function YO(){if(Sp)return Sp;var t,e=Lw,n=e.length,r,o="value"in Ts?Ts.value:Ts.textContent,i=o.length;for(t=0;t<n&&e[t]===o[t];t++);var s=n-t;for(r=1;r<=s&&e[n-r]===o[i-r];r++);return Sp=o.slice(t,1<r?1-r:void 0)}function Cp(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Hf(){return!0}function mT(){return!1}function no(t){function e(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in t)t.hasOwnProperty(l)&&(n=t[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Hf:mT,this.isPropagationStopped=mT,this}return Ht(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Hf)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Hf)},persist:function(){},isPersistent:Hf}),e}var mu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nw=no(mu),tf=Ht({},mu,{view:0,detail:0}),Rq=no(tf),S1,C1,Iu,Im=Ht({},tf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$w,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Iu&&(Iu&&t.type==="mousemove"?(S1=t.screenX-Iu.screenX,C1=t.screenY-Iu.screenY):C1=S1=0,Iu=t),S1)},movementY:function(t){return"movementY"in t?t.movementY:C1}}),vT=no(Im),Mq=Ht({},Im,{dataTransfer:0}),Oq=no(Mq),Iq=Ht({},tf,{relatedTarget:0}),T1=no(Iq),Lq=Ht({},mu,{animationName:0,elapsedTime:0,pseudoElement:0}),Nq=no(Lq),$q=Ht({},mu,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Dq=no($q),Pq=Ht({},mu,{data:0}),yT=no(Pq),zq={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fq={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Bq={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hq(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Bq[t])?!!e[t]:!1}function $w(){return Hq}var Uq=Ht({},tf,{key:function(t){if(t.key){var e=zq[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Cp(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Fq[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$w,charCode:function(t){return t.type==="keypress"?Cp(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Cp(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Wq=no(Uq),Vq=Ht({},Im,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bT=no(Vq),jq=Ht({},tf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$w}),Gq=no(jq),Kq=Ht({},mu,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yq=no(Kq),Xq=Ht({},Im,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),qq=no(Xq),Zq=[9,13,27,32],Dw=Vi&&"CompositionEvent"in window,Md=null;Vi&&"documentMode"in document&&(Md=document.documentMode);var Qq=Vi&&"TextEvent"in window&&!Md,XO=Vi&&(!Dw||Md&&8<Md&&11>=Md),wT=String.fromCharCode(32),xT=!1;function qO(t,e){switch(t){case"keyup":return Zq.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ZO(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ac=!1;function Jq(t,e){switch(t){case"compositionend":return ZO(e);case"keypress":return e.which!==32?null:(xT=!0,wT);case"textInput":return t=e.data,t===wT&&xT?null:t;default:return null}}function eZ(t,e){if(ac)return t==="compositionend"||!Dw&&qO(t,e)?(t=YO(),Sp=Lw=Ts=null,ac=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return XO&&e.locale!=="ko"?null:e.data;default:return null}}var tZ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function kT(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!tZ[t.type]:e==="textarea"}function QO(t,e,n,r){RO(r),e=wg(e,"onChange"),0<e.length&&(n=new Nw("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Od=null,ah=null;function nZ(t){cI(t,0)}function Lm(t){var e=uc(t);if(kO(e))return t}function rZ(t,e){if(t==="change")return e}var JO=!1;if(Vi){var A1;if(Vi){var _1="oninput"in document;if(!_1){var ET=document.createElement("div");ET.setAttribute("oninput","return;"),_1=typeof ET.oninput=="function"}A1=_1}else A1=!1;JO=A1&&(!document.documentMode||9<document.documentMode)}function ST(){Od&&(Od.detachEvent("onpropertychange",eI),ah=Od=null)}function eI(t){if(t.propertyName==="value"&&Lm(ah)){var e=[];QO(e,ah,t,_w(t)),LO(nZ,e)}}function oZ(t,e,n){t==="focusin"?(ST(),Od=e,ah=n,Od.attachEvent("onpropertychange",eI)):t==="focusout"&&ST()}function iZ(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Lm(ah)}function sZ(t,e){if(t==="click")return Lm(e)}function aZ(t,e){if(t==="input"||t==="change")return Lm(e)}function lZ(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var jo=typeof Object.is=="function"?Object.is:lZ;function lh(t,e){if(jo(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!q0.call(e,o)||!jo(t[o],e[o]))return!1}return!0}function CT(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function TT(t,e){var n=CT(t);t=0;for(var r;n;){if(n.nodeType===3){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=CT(n)}}function tI(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?tI(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function nI(){for(var t=window,e=fg();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=fg(t.document)}return e}function Pw(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function cZ(t){var e=nI(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&tI(n.ownerDocument.documentElement,n)){if(r!==null&&Pw(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!t.extend&&i>r&&(o=r,r=i,i=o),o=TT(n,i);var s=TT(n,r);o&&s&&(t.rangeCount!==1||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(o.node,o.offset),t.removeAllRanges(),i>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var uZ=Vi&&"documentMode"in document&&11>=document.documentMode,lc=null,gy=null,Id=null,my=!1;function AT(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;my||lc==null||lc!==fg(r)||(r=lc,"selectionStart"in r&&Pw(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Id&&lh(Id,r)||(Id=r,r=wg(gy,"onSelect"),0<r.length&&(e=new Nw("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=lc)))}function Uf(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var cc={animationend:Uf("Animation","AnimationEnd"),animationiteration:Uf("Animation","AnimationIteration"),animationstart:Uf("Animation","AnimationStart"),transitionend:Uf("Transition","TransitionEnd")},R1={},rI={};Vi&&(rI=document.createElement("div").style,"AnimationEvent"in window||(delete cc.animationend.animation,delete cc.animationiteration.animation,delete cc.animationstart.animation),"TransitionEvent"in window||delete cc.transitionend.transition);function Nm(t){if(R1[t])return R1[t];if(!cc[t])return t;var e=cc[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in rI)return R1[t]=e[n];return t}var oI=Nm("animationend"),iI=Nm("animationiteration"),sI=Nm("animationstart"),aI=Nm("transitionend"),lI=new Map,_T="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".split(" ");function aa(t,e){lI.set(t,e),El(e,[t])}for(var M1=0;M1<_T.length;M1++){var O1=_T[M1],dZ=O1.toLowerCase(),hZ=O1[0].toUpperCase()+O1.slice(1);aa(dZ,"on"+hZ)}aa(oI,"onAnimationEnd");aa(iI,"onAnimationIteration");aa(sI,"onAnimationStart");aa("dblclick","onDoubleClick");aa("focusin","onFocus");aa("focusout","onBlur");aa(aI,"onTransitionEnd");Vc("onMouseEnter",["mouseout","mouseover"]);Vc("onMouseLeave",["mouseout","mouseover"]);Vc("onPointerEnter",["pointerout","pointerover"]);Vc("onPointerLeave",["pointerout","pointerover"]);El("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));El("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));El("onBeforeInput",["compositionend","keypress","textInput","paste"]);El("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));El("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));El("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pd="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),fZ=new Set("cancel close invalid load scroll toggle".split(" ").concat(pd));function RT(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,dq(r,e,void 0,t),t.currentTarget=null}function cI(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var r=t[n],o=r.event;r=r.listeners;e:{var i=void 0;if(e)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;RT(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;RT(o,l,u),i=a}}}if(gg)throw t=dy,gg=!1,dy=null,t}function At(t,e){var n=e[xy];n===void 0&&(n=e[xy]=new Set);var r=t+"__bubble";n.has(r)||(uI(e,t,2,!1),n.add(r))}function I1(t,e,n){var r=0;e&&(r|=4),uI(n,t,r,e)}var Wf="_reactListening"+Math.random().toString(36).slice(2);function ch(t){if(!t[Wf]){t[Wf]=!0,vO.forEach(function(n){n!=="selectionchange"&&(fZ.has(n)||I1(n,!1,t),I1(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Wf]||(e[Wf]=!0,I1("selectionchange",!1,e))}}function uI(t,e,n,r){switch(KO(e)){case 1:var o=Aq;break;case 4:o=_q;break;default:o=Iw}n=o.bind(null,e,n,t),o=void 0,!uy||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),r?o!==void 0?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):o!==void 0?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function L1(t,e,n,r,o){var i=r;if(!(e&1)&&!(e&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=Fa(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}LO(function(){var u=i,c=_w(n),d=[];e:{var h=lI.get(t);if(h!==void 0){var f=Nw,p=t;switch(t){case"keypress":if(Cp(n)===0)break e;case"keydown":case"keyup":f=Wq;break;case"focusin":p="focus",f=T1;break;case"focusout":p="blur",f=T1;break;case"beforeblur":case"afterblur":f=T1;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=vT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=Oq;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=Gq;break;case oI:case iI:case sI:f=Nq;break;case aI:f=Yq;break;case"scroll":f=Rq;break;case"wheel":f=qq;break;case"copy":case"cut":case"paste":f=Dq;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=bT}var g=(e&4)!==0,m=!g&&t==="scroll",v=g?h!==null?h+"Capture":null:h;g=[];for(var y=u,b;y!==null;){b=y;var w=b.stateNode;if(b.tag===5&&w!==null&&(b=w,v!==null&&(w=rh(y,v),w!=null&&g.push(uh(y,w,b)))),m)break;y=y.return}0<g.length&&(h=new f(h,p,null,n,c),d.push({event:h,listeners:g}))}}if(!(e&7)){e:{if(h=t==="mouseover"||t==="pointerover",f=t==="mouseout"||t==="pointerout",h&&n!==ly&&(p=n.relatedTarget||n.fromElement)&&(Fa(p)||p[ji]))break e;if((f||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,f?(p=n.relatedTarget||n.toElement,f=u,p=p?Fa(p):null,p!==null&&(m=Sl(p),p!==m||p.tag!==5&&p.tag!==6)&&(p=null)):(f=null,p=u),f!==p)){if(g=vT,w="onMouseLeave",v="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(g=bT,w="onPointerLeave",v="onPointerEnter",y="pointer"),m=f==null?h:uc(f),b=p==null?h:uc(p),h=new g(w,y+"leave",f,n,c),h.target=m,h.relatedTarget=b,w=null,Fa(c)===u&&(g=new g(v,y+"enter",p,n,c),g.target=b,g.relatedTarget=m,w=g),m=w,f&&p)t:{for(g=f,v=p,y=0,b=g;b;b=Bl(b))y++;for(b=0,w=v;w;w=Bl(w))b++;for(;0<y-b;)g=Bl(g),y--;for(;0<b-y;)v=Bl(v),b--;for(;y--;){if(g===v||v!==null&&g===v.alternate)break t;g=Bl(g),v=Bl(v)}g=null}else g=null;f!==null&&MT(d,h,f,g,!1),p!==null&&m!==null&&MT(d,m,p,g,!0)}}e:{if(h=u?uc(u):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var k=rZ;else if(kT(h))if(JO)k=aZ;else{k=iZ;var x=oZ}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=sZ);if(k&&(k=k(t,u))){QO(d,k,n,c);break e}x&&x(t,h,u),t==="focusout"&&(x=h._wrapperState)&&x.controlled&&h.type==="number"&&ry(h,"number",h.value)}switch(x=u?uc(u):window,t){case"focusin":(kT(x)||x.contentEditable==="true")&&(lc=x,gy=u,Id=null);break;case"focusout":Id=gy=lc=null;break;case"mousedown":my=!0;break;case"contextmenu":case"mouseup":case"dragend":my=!1,AT(d,n,c);break;case"selectionchange":if(uZ)break;case"keydown":case"keyup":AT(d,n,c)}var S;if(Dw)e:{switch(t){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else ac?qO(t,n)&&(T="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(XO&&n.locale!=="ko"&&(ac||T!=="onCompositionStart"?T==="onCompositionEnd"&&ac&&(S=YO()):(Ts=c,Lw="value"in Ts?Ts.value:Ts.textContent,ac=!0)),x=wg(u,T),0<x.length&&(T=new yT(T,t,null,n,c),d.push({event:T,listeners:x}),S?T.data=S:(S=ZO(n),S!==null&&(T.data=S)))),(S=Qq?Jq(t,n):eZ(t,n))&&(u=wg(u,"onBeforeInput"),0<u.length&&(c=new yT("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=S))}cI(d,e)})}function uh(t,e,n){return{instance:t,listener:e,currentTarget:n}}function wg(t,e){for(var n=e+"Capture",r=[];t!==null;){var o=t,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=rh(t,n),i!=null&&r.unshift(uh(t,i,o)),i=rh(t,e),i!=null&&r.push(uh(t,i,o))),t=t.return}return r}function Bl(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function MT(t,e,n,r,o){for(var i=e._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=rh(n,i),a!=null&&s.unshift(uh(n,a,l))):o||(a=rh(n,i),a!=null&&s.push(uh(n,a,l)))),n=n.return}s.length!==0&&t.push({event:e,listeners:s})}var pZ=/\r\n?/g,gZ=/\u0000|\uFFFD/g;function OT(t){return(typeof t=="string"?t:""+t).replace(pZ,`
 `).replace(gZ,"")}function Vf(t,e,n){if(e=OT(e),OT(t)!==e&&n)throw Error(ne(425))}function xg(){}var vy=null,yy=null;function by(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var wy=typeof setTimeout=="function"?setTimeout:void 0,mZ=typeof clearTimeout=="function"?clearTimeout:void 0,IT=typeof Promise=="function"?Promise:void 0,vZ=typeof queueMicrotask=="function"?queueMicrotask:typeof IT<"u"?function(t){return IT.resolve(null).then(t).catch(yZ)}:wy;function yZ(t){setTimeout(function(){throw t})}function N1(t,e){var n=e,r=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){t.removeChild(o),sh(e);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);sh(e)}function Ds(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function LT(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var vu=Math.random().toString(36).slice(2),ri="__reactFiber$"+vu,dh="__reactProps$"+vu,ji="__reactContainer$"+vu,xy="__reactEvents$"+vu,bZ="__reactListeners$"+vu,wZ="__reactHandles$"+vu;function Fa(t){var e=t[ri];if(e)return e;for(var n=t.parentNode;n;){if(e=n[ji]||n[ri]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=LT(t);t!==null;){if(n=t[ri])return n;t=LT(t)}return e}t=n,n=t.parentNode}return null}function nf(t){return t=t[ri]||t[ji],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function uc(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(ne(33))}function $m(t){return t[dh]||null}var ky=[],dc=-1;function la(t){return{current:t}}function _t(t){0>dc||(t.current=ky[dc],ky[dc]=null,dc--)}function Et(t,e){dc++,ky[dc]=t.current,t.current=e}var Zs={},Xn=la(Zs),Sr=la(!1),ol=Zs;function jc(t,e){var n=t.type.contextTypes;if(!n)return Zs;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function Cr(t){return t=t.childContextTypes,t!=null}function kg(){_t(Sr),_t(Xn)}function NT(t,e,n){if(Xn.current!==Zs)throw Error(ne(168));Et(Xn,e),Et(Sr,n)}function dI(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in e))throw Error(ne(108,oq(t)||"Unknown",o));return Ht({},n,r)}function Eg(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Zs,ol=Xn.current,Et(Xn,t),Et(Sr,Sr.current),!0}function $T(t,e,n){var r=t.stateNode;if(!r)throw Error(ne(169));n?(t=dI(t,e,ol),r.__reactInternalMemoizedMergedChildContext=t,_t(Sr),_t(Xn),Et(Xn,t)):_t(Sr),Et(Sr,n)}var Ii=null,Dm=!1,$1=!1;function hI(t){Ii===null?Ii=[t]:Ii.push(t)}function xZ(t){Dm=!0,hI(t)}function ca(){if(!$1&&Ii!==null){$1=!0;var t=0,e=ft;try{var n=Ii;for(ft=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}Ii=null,Dm=!1}catch(o){throw Ii!==null&&(Ii=Ii.slice(t+1)),PO(Rw,ca),o}finally{ft=e,$1=!1}}return null}var hc=[],fc=0,Sg=null,Cg=0,uo=[],ho=0,il=null,zi=1,Fi="";function Sa(t,e){hc[fc++]=Cg,hc[fc++]=Sg,Sg=t,Cg=e}function fI(t,e,n){uo[ho++]=zi,uo[ho++]=Fi,uo[ho++]=il,il=t;var r=zi;t=Fi;var o=32-Ho(r)-1;r&=~(1<<o),n+=1;var i=32-Ho(e)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,zi=1<<32-Ho(e)+o|n<<o|r,Fi=i+t}else zi=1<<i|n<<o|r,Fi=t}function zw(t){t.return!==null&&(Sa(t,1),fI(t,1,0))}function Fw(t){for(;t===Sg;)Sg=hc[--fc],hc[fc]=null,Cg=hc[--fc],hc[fc]=null;for(;t===il;)il=uo[--ho],uo[ho]=null,Fi=uo[--ho],uo[ho]=null,zi=uo[--ho],uo[ho]=null}var Yr=null,Gr=null,Ot=!1,Do=null;function pI(t,e){var n=fo(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,e=t.deletions,e===null?(t.deletions=[n],t.flags|=16):e.push(n)}function DT(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Yr=t,Gr=Ds(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Yr=t,Gr=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(n=il!==null?{id:zi,overflow:Fi}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},n=fo(18,null,null,0),n.stateNode=e,n.return=t,t.child=n,Yr=t,Gr=null,!0):!1;default:return!1}}function Ey(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Sy(t){if(Ot){var e=Gr;if(e){var n=e;if(!DT(t,e)){if(Ey(t))throw Error(ne(418));e=Ds(n.nextSibling);var r=Yr;e&&DT(t,e)?pI(r,n):(t.flags=t.flags&-4097|2,Ot=!1,Yr=t)}}else{if(Ey(t))throw Error(ne(418));t.flags=t.flags&-4097|2,Ot=!1,Yr=t}}}function PT(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Yr=t}function jf(t){if(t!==Yr)return!1;if(!Ot)return PT(t),Ot=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!by(t.type,t.memoizedProps)),e&&(e=Gr)){if(Ey(t))throw gI(),Error(ne(418));for(;e;)pI(t,e),e=Ds(e.nextSibling)}if(PT(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(ne(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){Gr=Ds(t.nextSibling);break e}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}Gr=null}}else Gr=Yr?Ds(t.stateNode.nextSibling):null;return!0}function gI(){for(var t=Gr;t;)t=Ds(t.nextSibling)}function Gc(){Gr=Yr=null,Ot=!1}function Bw(t){Do===null?Do=[t]:Do.push(t)}var kZ=Qi.ReactCurrentBatchConfig;function Lo(t,e){if(t&&t.defaultProps){e=Ht({},e),t=t.defaultProps;for(var n in t)e[n]===void 0&&(e[n]=t[n]);return e}return e}var Tg=la(null),Ag=null,pc=null,Hw=null;function Uw(){Hw=pc=Ag=null}function Ww(t){var e=Tg.current;_t(Tg),t._currentValue=e}function Cy(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Ac(t,e){Ag=t,Hw=pc=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(xr=!0),t.firstContext=null)}function bo(t){var e=t._currentValue;if(Hw!==t)if(t={context:t,memoizedValue:e,next:null},pc===null){if(Ag===null)throw Error(ne(308));pc=t,Ag.dependencies={lanes:0,firstContext:t}}else pc=pc.next=t;return e}var Ba=null;function Vw(t){Ba===null?Ba=[t]:Ba.push(t)}function mI(t,e,n,r){var o=e.interleaved;return o===null?(n.next=n,Vw(e)):(n.next=o.next,o.next=n),e.interleaved=n,Gi(t,r)}function Gi(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var bs=!1;function jw(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vI(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Hi(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Ps(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,Ye&2){var o=r.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),r.pending=e,Gi(t,n)}return o=r.interleaved,o===null?(e.next=e,Vw(r)):(e.next=o.next,o.next=e),r.interleaved=e,Gi(t,n)}function Tp(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,Mw(t,n)}}function zT(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=e:i=i.next=e}else o=i=e;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function _g(t,e,n,r){var o=t.updateQueue;bs=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=t.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,c=u=a=null,l=i;do{var h=l.lane,f=l.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=t,g=l;switch(h=e,f=n,g.tag){case 1:if(p=g.payload,typeof p=="function"){d=p.call(f,d,h);break e}d=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=g.payload,h=typeof p=="function"?p.call(f,d,h):p,h==null)break e;d=Ht({},d,h);break e;case 2:bs=!0}}l.callback!==null&&l.lane!==0&&(t.flags|=64,h=o.effects,h===null?o.effects=[l]:h.push(l))}else f={eventTime:f,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=f,a=d):c=c.next=f,s|=h;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;h=l,l=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(1);if(c===null&&(a=d),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,e=o.shared.interleaved,e!==null){o=e;do s|=o.lane,o=o.next;while(o!==e)}else i===null&&(o.shared.lanes=0);al|=s,t.lanes=s,t.memoizedState=d}}function FT(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var r=t[e],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(ne(191,o));o.call(r)}}}var yI=new mO.Component().refs;function Ty(t,e,n,r){e=t.memoizedState,n=n(r,e),n=n==null?e:Ht({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Pm={isMounted:function(t){return(t=t._reactInternals)?Sl(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=sr(),o=Fs(t),i=Hi(r,o);i.payload=e,n!=null&&(i.callback=n),e=Ps(t,i,o),e!==null&&(Uo(e,t,o,r),Tp(e,t,o))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=sr(),o=Fs(t),i=Hi(r,o);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=Ps(t,i,o),e!==null&&(Uo(e,t,o,r),Tp(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=sr(),r=Fs(t),o=Hi(n,r);o.tag=2,e!=null&&(o.callback=e),e=Ps(t,o,r),e!==null&&(Uo(e,t,r,n),Tp(e,t,r))}};function BT(t,e,n,r,o,i,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(r,i,s):e.prototype&&e.prototype.isPureReactComponent?!lh(n,r)||!lh(o,i):!0}function bI(t,e,n){var r=!1,o=Zs,i=e.contextType;return typeof i=="object"&&i!==null?i=bo(i):(o=Cr(e)?ol:Xn.current,r=e.contextTypes,i=(r=r!=null)?jc(t,o):Zs),e=new e(n,i),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Pm,t.stateNode=e,e._reactInternals=t,r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=i),e}function HT(t,e,n,r){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,r),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Pm.enqueueReplaceState(e,e.state,null)}function Ay(t,e,n,r){var o=t.stateNode;o.props=n,o.state=t.memoizedState,o.refs=yI,jw(t);var i=e.contextType;typeof i=="object"&&i!==null?o.context=bo(i):(i=Cr(e)?ol:Xn.current,o.context=jc(t,i)),o.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(Ty(t,e,i,n),o.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(e=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),e!==o.state&&Pm.enqueueReplaceState(o,o.state,null),_g(t,n,o,r),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308)}function Lu(t,e,n){if(t=n.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ne(309));var r=n.stateNode}if(!r)throw Error(ne(147,t));var o=r,i=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===i?e.ref:(e=function(s){var l=o.refs;l===yI&&(l=o.refs={}),s===null?delete l[i]:l[i]=s},e._stringRef=i,e)}if(typeof t!="string")throw Error(ne(284));if(!n._owner)throw Error(ne(290,t))}return t}function Gf(t,e){throw t=Object.prototype.toString.call(e),Error(ne(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function UT(t){var e=t._init;return e(t._payload)}function wI(t){function e(v,y){if(t){var b=v.deletions;b===null?(v.deletions=[y],v.flags|=16):b.push(y)}}function n(v,y){if(!t)return null;for(;y!==null;)e(v,y),y=y.sibling;return null}function r(v,y){for(v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function o(v,y){return v=Bs(v,y),v.index=0,v.sibling=null,v}function i(v,y,b){return v.index=b,t?(b=v.alternate,b!==null?(b=b.index,b<y?(v.flags|=2,y):b):(v.flags|=2,y)):(v.flags|=1048576,y)}function s(v){return t&&v.alternate===null&&(v.flags|=2),v}function l(v,y,b,w){return y===null||y.tag!==6?(y=U1(b,v.mode,w),y.return=v,y):(y=o(y,b),y.return=v,y)}function a(v,y,b,w){var k=b.type;return k===sc?c(v,y,b.props.children,w,b.key):y!==null&&(y.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ys&&UT(k)===y.type)?(w=o(y,b.props),w.ref=Lu(v,y,b),w.return=v,w):(w=Ip(b.type,b.key,b.props,null,v.mode,w),w.ref=Lu(v,y,b),w.return=v,w)}function u(v,y,b,w){return y===null||y.tag!==4||y.stateNode.containerInfo!==b.containerInfo||y.stateNode.implementation!==b.implementation?(y=W1(b,v.mode,w),y.return=v,y):(y=o(y,b.children||[]),y.return=v,y)}function c(v,y,b,w,k){return y===null||y.tag!==7?(y=Xa(b,v.mode,w,k),y.return=v,y):(y=o(y,b),y.return=v,y)}function d(v,y,b){if(typeof y=="string"&&y!==""||typeof y=="number")return y=U1(""+y,v.mode,b),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case $f:return b=Ip(y.type,y.key,y.props,null,v.mode,b),b.ref=Lu(v,null,y),b.return=v,b;case ic:return y=W1(y,v.mode,b),y.return=v,y;case ys:var w=y._init;return d(v,w(y._payload),b)}if(hd(y)||_u(y))return y=Xa(y,v.mode,b,null),y.return=v,y;Gf(v,y)}return null}function h(v,y,b,w){var k=y!==null?y.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return k!==null?null:l(v,y,""+b,w);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case $f:return b.key===k?a(v,y,b,w):null;case ic:return b.key===k?u(v,y,b,w):null;case ys:return k=b._init,h(v,y,k(b._payload),w)}if(hd(b)||_u(b))return k!==null?null:c(v,y,b,w,null);Gf(v,b)}return null}function f(v,y,b,w,k){if(typeof w=="string"&&w!==""||typeof w=="number")return v=v.get(b)||null,l(y,v,""+w,k);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $f:return v=v.get(w.key===null?b:w.key)||null,a(y,v,w,k);case ic:return v=v.get(w.key===null?b:w.key)||null,u(y,v,w,k);case ys:var x=w._init;return f(v,y,b,x(w._payload),k)}if(hd(w)||_u(w))return v=v.get(b)||null,c(y,v,w,k,null);Gf(y,w)}return null}function p(v,y,b,w){for(var k=null,x=null,S=y,T=y=0,C=null;S!==null&&T<b.length;T++){S.index>T?(C=S,S=null):C=S.sibling;var I=h(v,S,b[T],w);if(I===null){S===null&&(S=C);break}t&&S&&I.alternate===null&&e(v,S),y=i(I,y,T),x===null?k=I:x.sibling=I,x=I,S=C}if(T===b.length)return n(v,S),Ot&&Sa(v,T),k;if(S===null){for(;T<b.length;T++)S=d(v,b[T],w),S!==null&&(y=i(S,y,T),x===null?k=S:x.sibling=S,x=S);return Ot&&Sa(v,T),k}for(S=r(v,S);T<b.length;T++)C=f(S,v,T,b[T],w),C!==null&&(t&&C.alternate!==null&&S.delete(C.key===null?T:C.key),y=i(C,y,T),x===null?k=C:x.sibling=C,x=C);return t&&S.forEach(function(_){return e(v,_)}),Ot&&Sa(v,T),k}function g(v,y,b,w){var k=_u(b);if(typeof k!="function")throw Error(ne(150));if(b=k.call(b),b==null)throw Error(ne(151));for(var x=k=null,S=y,T=y=0,C=null,I=b.next();S!==null&&!I.done;T++,I=b.next()){S.index>T?(C=S,S=null):C=S.sibling;var _=h(v,S,I.value,w);if(_===null){S===null&&(S=C);break}t&&S&&_.alternate===null&&e(v,S),y=i(_,y,T),x===null?k=_:x.sibling=_,x=_,S=C}if(I.done)return n(v,S),Ot&&Sa(v,T),k;if(S===null){for(;!I.done;T++,I=b.next())I=d(v,I.value,w),I!==null&&(y=i(I,y,T),x===null?k=I:x.sibling=I,x=I);return Ot&&Sa(v,T),k}for(S=r(v,S);!I.done;T++,I=b.next())I=f(S,v,T,I.value,w),I!==null&&(t&&I.alternate!==null&&S.delete(I.key===null?T:I.key),y=i(I,y,T),x===null?k=I:x.sibling=I,x=I);return t&&S.forEach(function(R){return e(v,R)}),Ot&&Sa(v,T),k}function m(v,y,b,w){if(typeof b=="object"&&b!==null&&b.type===sc&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case $f:e:{for(var k=b.key,x=y;x!==null;){if(x.key===k){if(k=b.type,k===sc){if(x.tag===7){n(v,x.sibling),y=o(x,b.props.children),y.return=v,v=y;break e}}else if(x.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ys&&UT(k)===x.type){n(v,x.sibling),y=o(x,b.props),y.ref=Lu(v,x,b),y.return=v,v=y;break e}n(v,x);break}else e(v,x);x=x.sibling}b.type===sc?(y=Xa(b.props.children,v.mode,w,b.key),y.return=v,v=y):(w=Ip(b.type,b.key,b.props,null,v.mode,w),w.ref=Lu(v,y,b),w.return=v,v=w)}return s(v);case ic:e:{for(x=b.key;y!==null;){if(y.key===x)if(y.tag===4&&y.stateNode.containerInfo===b.containerInfo&&y.stateNode.implementation===b.implementation){n(v,y.sibling),y=o(y,b.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else e(v,y);y=y.sibling}y=W1(b,v.mode,w),y.return=v,v=y}return s(v);case ys:return x=b._init,m(v,y,x(b._payload),w)}if(hd(b))return p(v,y,b,w);if(_u(b))return g(v,y,b,w);Gf(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,b),y.return=v,v=y):(n(v,y),y=U1(b,v.mode,w),y.return=v,v=y),s(v)):n(v,y)}return m}var Kc=wI(!0),xI=wI(!1),rf={},ui=la(rf),hh=la(rf),fh=la(rf);function Ha(t){if(t===rf)throw Error(ne(174));return t}function Gw(t,e){switch(Et(fh,e),Et(hh,t),Et(ui,rf),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:iy(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=iy(e,t)}_t(ui),Et(ui,e)}function Yc(){_t(ui),_t(hh),_t(fh)}function kI(t){Ha(fh.current);var e=Ha(ui.current),n=iy(e,t.type);e!==n&&(Et(hh,t),Et(ui,n))}function Kw(t){hh.current===t&&(_t(ui),_t(hh))}var Pt=la(0);function Rg(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var D1=[];function Yw(){for(var t=0;t<D1.length;t++)D1[t]._workInProgressVersionPrimary=null;D1.length=0}var Ap=Qi.ReactCurrentDispatcher,P1=Qi.ReactCurrentBatchConfig,sl=0,Ft=null,ln=null,yn=null,Mg=!1,Ld=!1,ph=0,EZ=0;function Hn(){throw Error(ne(321))}function Xw(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!jo(t[n],e[n]))return!1;return!0}function qw(t,e,n,r,o,i){if(sl=i,Ft=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Ap.current=t===null||t.memoizedState===null?AZ:_Z,t=n(r,o),Ld){i=0;do{if(Ld=!1,ph=0,25<=i)throw Error(ne(301));i+=1,yn=ln=null,e.updateQueue=null,Ap.current=RZ,t=n(r,o)}while(Ld)}if(Ap.current=Og,e=ln!==null&&ln.next!==null,sl=0,yn=ln=Ft=null,Mg=!1,e)throw Error(ne(300));return t}function Zw(){var t=ph!==0;return ph=0,t}function Jo(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yn===null?Ft.memoizedState=yn=t:yn=yn.next=t,yn}function wo(){if(ln===null){var t=Ft.alternate;t=t!==null?t.memoizedState:null}else t=ln.next;var e=yn===null?Ft.memoizedState:yn.next;if(e!==null)yn=e,ln=t;else{if(t===null)throw Error(ne(310));ln=t,t={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null},yn===null?Ft.memoizedState=yn=t:yn=yn.next=t}return yn}function gh(t,e){return typeof e=="function"?e(t):e}function z1(t){var e=wo(),n=e.queue;if(n===null)throw Error(ne(311));n.lastRenderedReducer=t;var r=ln,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var c=u.lane;if((sl&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:t(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,Ft.lanes|=c,al|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,jo(r,e.memoizedState)||(xr=!0),e.memoizedState=r,e.baseState=s,e.baseQueue=a,n.lastRenderedState=r}if(t=n.interleaved,t!==null){o=t;do i=o.lane,Ft.lanes|=i,al|=i,o=o.next;while(o!==t)}else o===null&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function F1(t){var e=wo(),n=e.queue;if(n===null)throw Error(ne(311));n.lastRenderedReducer=t;var r=n.dispatch,o=n.pending,i=e.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=t(i,s.action),s=s.next;while(s!==o);jo(i,e.memoizedState)||(xr=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),n.lastRenderedState=i}return[i,r]}function EI(){}function SI(t,e){var n=Ft,r=wo(),o=e(),i=!jo(r.memoizedState,o);if(i&&(r.memoizedState=o,xr=!0),r=r.queue,Qw(AI.bind(null,n,r,t),[t]),r.getSnapshot!==e||i||yn!==null&&yn.memoizedState.tag&1){if(n.flags|=2048,mh(9,TI.bind(null,n,r,o,e),void 0,null),kn===null)throw Error(ne(349));sl&30||CI(n,e,o)}return o}function CI(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=Ft.updateQueue,e===null?(e={lastEffect:null,stores:null},Ft.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function TI(t,e,n,r){e.value=n,e.getSnapshot=r,_I(e)&&RI(t)}function AI(t,e,n){return n(function(){_I(e)&&RI(t)})}function _I(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!jo(t,n)}catch{return!0}}function RI(t){var e=Gi(t,1);e!==null&&Uo(e,t,1,-1)}function WT(t){var e=Jo();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:gh,lastRenderedState:t},e.queue=t,t=t.dispatch=TZ.bind(null,Ft,t),[e.memoizedState,t]}function mh(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},e=Ft.updateQueue,e===null?(e={lastEffect:null,stores:null},Ft.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,n===null?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t)),t}function MI(){return wo().memoizedState}function _p(t,e,n,r){var o=Jo();Ft.flags|=t,o.memoizedState=mh(1|e,n,void 0,r===void 0?null:r)}function zm(t,e,n,r){var o=wo();r=r===void 0?null:r;var i=void 0;if(ln!==null){var s=ln.memoizedState;if(i=s.destroy,r!==null&&Xw(r,s.deps)){o.memoizedState=mh(e,n,i,r);return}}Ft.flags|=t,o.memoizedState=mh(1|e,n,i,r)}function VT(t,e){return _p(8390656,8,t,e)}function Qw(t,e){return zm(2048,8,t,e)}function OI(t,e){return zm(4,2,t,e)}function II(t,e){return zm(4,4,t,e)}function LI(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function NI(t,e,n){return n=n!=null?n.concat([t]):null,zm(4,4,LI.bind(null,e,t),n)}function Jw(){}function $I(t,e){var n=wo();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Xw(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function DI(t,e){var n=wo();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Xw(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function PI(t,e,n){return sl&21?(jo(n,e)||(n=BO(),Ft.lanes|=n,al|=n,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,xr=!0),t.memoizedState=n)}function SZ(t,e){var n=ft;ft=n!==0&&4>n?n:4,t(!0);var r=P1.transition;P1.transition={};try{t(!1),e()}finally{ft=n,P1.transition=r}}function zI(){return wo().memoizedState}function CZ(t,e,n){var r=Fs(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},FI(t))BI(e,n);else if(n=mI(t,e,n,r),n!==null){var o=sr();Uo(n,t,r,o),HI(n,e,r)}}function TZ(t,e,n){var r=Fs(t),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(FI(t))BI(e,o);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var s=e.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,jo(l,s)){var a=e.interleaved;a===null?(o.next=o,Vw(e)):(o.next=a.next,a.next=o),e.interleaved=o;return}}catch{}finally{}n=mI(t,e,o,r),n!==null&&(o=sr(),Uo(n,t,r,o),HI(n,e,r))}}function FI(t){var e=t.alternate;return t===Ft||e!==null&&e===Ft}function BI(t,e){Ld=Mg=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function HI(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,Mw(t,n)}}var Og={readContext:bo,useCallback:Hn,useContext:Hn,useEffect:Hn,useImperativeHandle:Hn,useInsertionEffect:Hn,useLayoutEffect:Hn,useMemo:Hn,useReducer:Hn,useRef:Hn,useState:Hn,useDebugValue:Hn,useDeferredValue:Hn,useTransition:Hn,useMutableSource:Hn,useSyncExternalStore:Hn,useId:Hn,unstable_isNewReconciler:!1},AZ={readContext:bo,useCallback:function(t,e){return Jo().memoizedState=[t,e===void 0?null:e],t},useContext:bo,useEffect:VT,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,_p(4194308,4,LI.bind(null,e,t),n)},useLayoutEffect:function(t,e){return _p(4194308,4,t,e)},useInsertionEffect:function(t,e){return _p(4,2,t,e)},useMemo:function(t,e){var n=Jo();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Jo();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=CZ.bind(null,Ft,t),[r.memoizedState,t]},useRef:function(t){var e=Jo();return t={current:t},e.memoizedState=t},useState:WT,useDebugValue:Jw,useDeferredValue:function(t){return Jo().memoizedState=t},useTransition:function(){var t=WT(!1),e=t[0];return t=SZ.bind(null,t[1]),Jo().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Ft,o=Jo();if(Ot){if(n===void 0)throw Error(ne(407));n=n()}else{if(n=e(),kn===null)throw Error(ne(349));sl&30||CI(r,e,n)}o.memoizedState=n;var i={value:n,getSnapshot:e};return o.queue=i,VT(AI.bind(null,r,i,t),[t]),r.flags|=2048,mh(9,TI.bind(null,r,i,n,e),void 0,null),n},useId:function(){var t=Jo(),e=kn.identifierPrefix;if(Ot){var n=Fi,r=zi;n=(r&~(1<<32-Ho(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=ph++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=EZ++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},_Z={readContext:bo,useCallback:$I,useContext:bo,useEffect:Qw,useImperativeHandle:NI,useInsertionEffect:OI,useLayoutEffect:II,useMemo:DI,useReducer:z1,useRef:MI,useState:function(){return z1(gh)},useDebugValue:Jw,useDeferredValue:function(t){var e=wo();return PI(e,ln.memoizedState,t)},useTransition:function(){var t=z1(gh)[0],e=wo().memoizedState;return[t,e]},useMutableSource:EI,useSyncExternalStore:SI,useId:zI,unstable_isNewReconciler:!1},RZ={readContext:bo,useCallback:$I,useContext:bo,useEffect:Qw,useImperativeHandle:NI,useInsertionEffect:OI,useLayoutEffect:II,useMemo:DI,useReducer:F1,useRef:MI,useState:function(){return F1(gh)},useDebugValue:Jw,useDeferredValue:function(t){var e=wo();return ln===null?e.memoizedState=t:PI(e,ln.memoizedState,t)},useTransition:function(){var t=F1(gh)[0],e=wo().memoizedState;return[t,e]},useMutableSource:EI,useSyncExternalStore:SI,useId:zI,unstable_isNewReconciler:!1};function Xc(t,e){try{var n="",r=e;do n+=rq(r),r=r.return;while(r);var o=n}catch(i){o=`
 Error generating stack: `+i.message+`
-`+i.stack}return{value:t,source:e,stack:o,digest:null}}function B1(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function _y(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var MZ=typeof WeakMap=="function"?WeakMap:Map;function UI(t,e,n){n=Hi(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Lg||(Lg=!0,zy=r),_y(t,e)},n}function WI(t,e,n){n=Hi(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var o=e.value;n.payload=function(){return r(o)},n.callback=function(){_y(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){_y(t,e),typeof r!="function"&&(zs===null?zs=new Set([this]):zs.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),n}function jT(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new MZ;var o=new Set;r.set(e,o)}else o=r.get(e),o===void 0&&(o=new Set,r.set(e,o));o.has(n)||(o.add(n),t=VZ.bind(null,t,e,n),e.then(t,t))}function GT(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function KT(t,e,n,r,o){return t.mode&1?(t.flags|=65536,t.lanes=o,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=Hi(-1,1),e.tag=2,Ps(n,e,1))),n.lanes|=1),t)}var OZ=Qi.ReactCurrentOwner,xr=!1;function nr(t,e,n,r){e.child=t===null?xI(e,null,n,r):Kc(e,t.child,n,r)}function YT(t,e,n,r,o){n=n.render;var i=e.ref;return Ac(e,o),r=qw(t,e,n,r,i,o),n=Zw(),t!==null&&!xr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Ki(t,e,o)):(Ot&&n&&zw(e),e.flags|=1,nr(t,e,r,o),e.child)}function XT(t,e,n,r,o){if(t===null){var i=n.type;return typeof i=="function"&&!ax(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=i,VI(t,e,i,r,o)):(t=Ip(n.type,null,r,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:lh,n(s,r)&&t.ref===e.ref)return Ki(t,e,o)}return e.flags|=1,t=Bs(i,r),t.ref=e.ref,t.return=e,e.child=t}function VI(t,e,n,r,o){if(t!==null){var i=t.memoizedProps;if(lh(i,r)&&t.ref===e.ref)if(xr=!1,e.pendingProps=r=i,(t.lanes&o)!==0)t.flags&131072&&(xr=!0);else return e.lanes=t.lanes,Ki(t,e,o)}return Ry(t,e,n,r,o)}function jI(t,e,n){var r=e.pendingProps,o=r.children,i=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Et(mc,Fr),Fr|=n;else{if(!(n&1073741824))return t=i!==null?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Et(mc,Fr),Fr|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Et(mc,Fr),Fr|=r}else i!==null?(r=i.baseLanes|n,e.memoizedState=null):r=n,Et(mc,Fr),Fr|=r;return nr(t,e,o,n),e.child}function GI(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function Ry(t,e,n,r,o){var i=Cr(n)?ol:Xn.current;return i=jc(e,i),Ac(e,o),n=qw(t,e,n,r,i,o),r=Zw(),t!==null&&!xr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Ki(t,e,o)):(Ot&&r&&zw(e),e.flags|=1,nr(t,e,n,o),e.child)}function qT(t,e,n,r,o){if(Cr(n)){var i=!0;Eg(e)}else i=!1;if(Ac(e,o),e.stateNode===null)Rp(t,e),bI(e,n,r),Ay(e,n,r,o),r=!0;else if(t===null){var s=e.stateNode,l=e.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=bo(u):(u=Cr(n)?ol:Xn.current,u=jc(e,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&HT(e,s,r,u),bs=!1;var h=e.memoizedState;s.state=h,_g(e,r,s,o),a=e.memoizedState,l!==r||h!==a||Sr.current||bs?(typeof c=="function"&&(Ty(e,n,c,r),a=e.memoizedState),(l=bs||BT(e,n,l,r,h,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{s=e.stateNode,vI(t,e),l=e.memoizedProps,u=e.type===e.elementType?l:Lo(e.type,l),s.props=u,d=e.pendingProps,h=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=bo(a):(a=Cr(n)?ol:Xn.current,a=jc(e,a));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||h!==a)&&HT(e,s,r,a),bs=!1,h=e.memoizedState,s.state=h,_g(e,r,s,o);var p=e.memoizedState;l!==d||h!==p||Sr.current||bs?(typeof f=="function"&&(Ty(e,n,f,r),p=e.memoizedState),(u=bs||BT(e,n,u,r,h,p,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,p,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,p,a)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=p),s.props=r,s.state=p,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),r=!1)}return My(t,e,n,r,i,o)}function My(t,e,n,r,o,i){GI(t,e);var s=(e.flags&128)!==0;if(!r&&!s)return o&&$T(e,n,!1),Ki(t,e,i);r=e.stateNode,OZ.current=e;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&s?(e.child=Kc(e,t.child,null,i),e.child=Kc(e,null,l,i)):nr(t,e,l,i),e.memoizedState=r.state,o&&$T(e,n,!0),e.child}function KI(t){var e=t.stateNode;e.pendingContext?NT(t,e.pendingContext,e.pendingContext!==e.context):e.context&&NT(t,e.context,!1),Gw(t,e.containerInfo)}function ZT(t,e,n,r,o){return Gc(),Bw(o),e.flags|=256,nr(t,e,n,r),e.child}var Oy={dehydrated:null,treeContext:null,retryLane:0};function Iy(t){return{baseLanes:t,cachePool:null,transitions:null}}function YI(t,e,n){var r=e.pendingProps,o=Pt.current,i=!1,s=(e.flags&128)!==0,l;if((l=s)||(l=t!==null&&t.memoizedState===null?!1:(o&2)!==0),l?(i=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(o|=1),Et(Pt,o&1),t===null)return Sy(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=r.children,t=r.fallback,i?(r=e.mode,i=e.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Hm(s,r,0,null),t=Xa(t,r,n,null),i.return=e,t.return=e,i.sibling=t,e.child=i,e.child.memoizedState=Iy(n),e.memoizedState=Oy,t):ex(e,s));if(o=t.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return IZ(t,e,s,r,l,o,n);if(i){i=r.fallback,s=e.mode,o=t.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&e.child!==o?(r=e.child,r.childLanes=0,r.pendingProps=a,e.deletions=null):(r=Bs(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Bs(l,i):(i=Xa(i,s,n,null),i.flags|=2),i.return=e,r.return=e,r.sibling=i,e.child=r,r=i,i=e.child,s=t.child.memoizedState,s=s===null?Iy(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=t.childLanes&~n,e.memoizedState=Oy,r}return i=t.child,t=i.sibling,r=Bs(i,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function ex(t,e){return e=Hm({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Kf(t,e,n,r){return r!==null&&Bw(r),Kc(e,t.child,null,n),t=ex(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function IZ(t,e,n,r,o,i,s){if(n)return e.flags&256?(e.flags&=-257,r=B1(Error(ne(422))),Kf(t,e,s,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(i=r.fallback,o=e.mode,r=Hm({mode:"visible",children:r.children},o,0,null),i=Xa(i,o,s,null),i.flags|=2,r.return=e,i.return=e,r.sibling=i,e.child=r,e.mode&1&&Kc(e,t.child,null,s),e.child.memoizedState=Iy(s),e.memoizedState=Oy,i);if(!(e.mode&1))return Kf(t,e,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(ne(419)),r=B1(i,r,void 0),Kf(t,e,s,r)}if(l=(s&t.childLanes)!==0,xr||l){if(r=kn,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Gi(t,o),Uo(r,t,o,-1))}return sx(),r=B1(Error(ne(421))),Kf(t,e,s,r)}return o.data==="$?"?(e.flags|=128,e.child=t.child,e=jZ.bind(null,t),o._reactRetry=e,null):(t=i.treeContext,Gr=Ds(o.nextSibling),Yr=e,Ot=!0,Do=null,t!==null&&(uo[ho++]=zi,uo[ho++]=Fi,uo[ho++]=il,zi=t.id,Fi=t.overflow,il=e),e=ex(e,r.children),e.flags|=4096,e)}function QT(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),Cy(t.return,e,n)}function H1(t,e,n,r,o){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function XI(t,e,n){var r=e.pendingProps,o=r.revealOrder,i=r.tail;if(nr(t,e,r.children,n),r=Pt.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&QT(t,n,e);else if(t.tag===19)QT(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Et(Pt,r),!(e.mode&1))e.memoizedState=null;else switch(o){case"forwards":for(n=e.child,o=null;n!==null;)t=n.alternate,t!==null&&Rg(t)===null&&(o=n),n=n.sibling;n=o,n===null?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),H1(e,!1,o,n,i);break;case"backwards":for(n=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&Rg(t)===null){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}H1(e,!0,n,null,i);break;case"together":H1(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Rp(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Ki(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),al|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(ne(153));if(e.child!==null){for(t=e.child,n=Bs(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Bs(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function LZ(t,e,n){switch(e.tag){case 3:KI(e),Gc();break;case 5:kI(e);break;case 1:Cr(e.type)&&Eg(e);break;case 4:Gw(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,o=e.memoizedProps.value;Et(Tg,r._currentValue),r._currentValue=o;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(Et(Pt,Pt.current&1),e.flags|=128,null):n&e.child.childLanes?YI(t,e,n):(Et(Pt,Pt.current&1),t=Ki(t,e,n),t!==null?t.sibling:null);Et(Pt,Pt.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return XI(t,e,n);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Et(Pt,Pt.current),r)break;return null;case 22:case 23:return e.lanes=0,jI(t,e,n)}return Ki(t,e,n)}var qI,Ly,ZI,QI;qI=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ly=function(){};ZI=function(t,e,n,r){var o=t.memoizedProps;if(o!==r){t=e.stateNode,Ha(ui.current);var i=null;switch(n){case"input":o=ty(t,o),r=ty(t,r),i=[];break;case"select":o=Ht({},o,{value:void 0}),r=Ht({},r,{value:void 0}),i=[];break;case"textarea":o=oy(t,o),r=oy(t,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=xg)}sy(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(th.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(th.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&At("scroll",t),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(e.updateQueue=u)&&(e.flags|=4)}};QI=function(t,e,n,r){n!==r&&(e.flags|=4)};function Nu(t,e){if(!Ot)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Un(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var o=t.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function NZ(t,e,n){var r=e.pendingProps;switch(Fw(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Un(e),null;case 1:return Cr(e.type)&&kg(),Un(e),null;case 3:return r=e.stateNode,Yc(),_t(Sr),_t(Xn),Yw(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(jf(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Do!==null&&(Hy(Do),Do=null))),Ly(t,e),Un(e),null;case 5:Kw(e);var o=Ha(fh.current);if(n=e.type,t!==null&&e.stateNode!=null)ZI(t,e,n,r,o),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(ne(166));return Un(e),null}if(t=Ha(ui.current),jf(e)){r=e.stateNode,n=e.type;var i=e.memoizedProps;switch(r[ri]=e,r[dh]=i,t=(e.mode&1)!==0,n){case"dialog":At("cancel",r),At("close",r);break;case"iframe":case"object":case"embed":At("load",r);break;case"video":case"audio":for(o=0;o<pd.length;o++)At(pd[o],r);break;case"source":At("error",r);break;case"img":case"image":case"link":At("error",r),At("load",r);break;case"details":At("toggle",r);break;case"input":aT(r,i),At("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},At("invalid",r);break;case"textarea":cT(r,i),At("invalid",r)}sy(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Vf(r.textContent,l,t),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Vf(r.textContent,l,t),o=["children",""+l]):th.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&At("scroll",r)}switch(n){case"input":Df(r),lT(r,i,!0);break;case"textarea":Df(r),uT(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=xg)}r=o,e.updateQueue=r,r!==null&&(e.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=CO(n)),t==="http://www.w3.org/1999/xhtml"?n==="script"?(t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[ri]=e,t[dh]=r,qI(t,e,!1,!1),e.stateNode=t;e:{switch(s=ay(n,r),n){case"dialog":At("cancel",t),At("close",t),o=r;break;case"iframe":case"object":case"embed":At("load",t),o=r;break;case"video":case"audio":for(o=0;o<pd.length;o++)At(pd[o],t);o=r;break;case"source":At("error",t),o=r;break;case"img":case"image":case"link":At("error",t),At("load",t),o=r;break;case"details":At("toggle",t),o=r;break;case"input":aT(t,r),o=ty(t,r),At("invalid",t);break;case"option":o=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},o=Ht({},r,{value:void 0}),At("invalid",t);break;case"textarea":cT(t,r),o=oy(t,r),At("invalid",t);break;default:o=r}sy(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?_O(t,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&TO(t,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&nh(t,a):typeof a=="number"&&nh(t,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(th.hasOwnProperty(i)?a!=null&&i==="onScroll"&&At("scroll",t):a!=null&&Sw(t,i,a,s))}switch(n){case"input":Df(t),lT(t,r,!1);break;case"textarea":Df(t),uT(t);break;case"option":r.value!=null&&t.setAttribute("value",""+qs(r.value));break;case"select":t.multiple=!!r.multiple,i=r.value,i!=null?Ec(t,!!r.multiple,i,!1):r.defaultValue!=null&&Ec(t,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(t.onclick=xg)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Un(e),null;case 6:if(t&&e.stateNode!=null)QI(t,e,t.memoizedProps,r);else{if(typeof r!="string"&&e.stateNode===null)throw Error(ne(166));if(n=Ha(fh.current),Ha(ui.current),jf(e)){if(r=e.stateNode,n=e.memoizedProps,r[ri]=e,(i=r.nodeValue!==n)&&(t=Yr,t!==null))switch(t.tag){case 3:Vf(r.nodeValue,n,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Vf(r.nodeValue,n,(t.mode&1)!==0)}i&&(e.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ri]=e,e.stateNode=r}return Un(e),null;case 13:if(_t(Pt),r=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Ot&&Gr!==null&&e.mode&1&&!(e.flags&128))gI(),Gc(),e.flags|=98560,i=!1;else if(i=jf(e),r!==null&&r.dehydrated!==null){if(t===null){if(!i)throw Error(ne(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(ne(317));i[ri]=e}else Gc(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Un(e),i=!1}else Do!==null&&(Hy(Do),Do=null),i=!0;if(!i)return e.flags&65536?e:null}return e.flags&128?(e.lanes=n,e):(r=r!==null,r!==(t!==null&&t.memoizedState!==null)&&r&&(e.child.flags|=8192,e.mode&1&&(t===null||Pt.current&1?un===0&&(un=3):sx())),e.updateQueue!==null&&(e.flags|=4),Un(e),null);case 4:return Yc(),Ly(t,e),t===null&&ch(e.stateNode.containerInfo),Un(e),null;case 10:return Ww(e.type._context),Un(e),null;case 17:return Cr(e.type)&&kg(),Un(e),null;case 19:if(_t(Pt),i=e.memoizedState,i===null)return Un(e),null;if(r=(e.flags&128)!==0,s=i.rendering,s===null)if(r)Nu(i,!1);else{if(un!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=Rg(t),s!==null){for(e.flags|=128,Nu(i,!1),r=s.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;n!==null;)i=n,t=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,t=s.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Et(Pt,Pt.current&1|2),e.child}t=t.sibling}i.tail!==null&&Yt()>qc&&(e.flags|=128,r=!0,Nu(i,!1),e.lanes=4194304)}else{if(!r)if(t=Rg(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Nu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ot)return Un(e),null}else 2*Yt()-i.renderingStartTime>qc&&n!==1073741824&&(e.flags|=128,r=!0,Nu(i,!1),e.lanes=4194304);i.isBackwards?(s.sibling=e.child,e.child=s):(n=i.last,n!==null?n.sibling=s:e.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Yt(),e.sibling=null,n=Pt.current,Et(Pt,r?n&1|2:n&1),e):(Un(e),null);case 22:case 23:return ix(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Fr&1073741824&&(Un(e),e.subtreeFlags&6&&(e.flags|=8192)):Un(e),null;case 24:return null;case 25:return null}throw Error(ne(156,e.tag))}function $Z(t,e){switch(Fw(e),e.tag){case 1:return Cr(e.type)&&kg(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Yc(),_t(Sr),_t(Xn),Yw(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Kw(e),null;case 13:if(_t(Pt),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(ne(340));Gc()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _t(Pt),null;case 4:return Yc(),null;case 10:return Ww(e.type._context),null;case 22:case 23:return ix(),null;case 24:return null;default:return null}}var Yf=!1,Kn=!1,DZ=typeof WeakSet=="function"?WeakSet:Set,pe=null;function gc(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){jt(t,e,r)}else n.current=null}function Ny(t,e,n){try{n()}catch(r){jt(t,e,r)}}var JT=!1;function PZ(t,e){if(vy=yg,t=nI(),Pw(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,d=t,h=null;t:for(;;){for(var f;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(f=d.firstChild)!==null;)h=d,d=f;for(;;){if(d===t)break t;if(h===n&&++u===o&&(l=s),h===i&&++c===r&&(a=s),(f=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=f}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(yy={focusedElem:t,selectionRange:n},yg=!1,pe=e;pe!==null;)if(e=pe,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,pe=t;else for(;pe!==null;){e=pe;try{var p=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,m=p.memoizedState,v=e.stateNode,y=v.getSnapshotBeforeUpdate(e.elementType===e.type?g:Lo(e.type,g),m);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=e.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ne(163))}}catch(w){jt(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,pe=t;break}pe=e.return}return p=JT,JT=!1,p}function Nd(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&t)===t){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ny(e,n,i)}o=o.next}while(o!==r)}}function Fm(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function $y(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function JI(t){var e=t.alternate;e!==null&&(t.alternate=null,JI(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[ri],delete e[dh],delete e[xy],delete e[bZ],delete e[wZ])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function eL(t){return t.tag===5||t.tag===3||t.tag===4}function eA(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||eL(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Dy(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=xg));else if(r!==4&&(t=t.child,t!==null))for(Dy(t,e,n),t=t.sibling;t!==null;)Dy(t,e,n),t=t.sibling}function Py(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(Py(t,e,n),t=t.sibling;t!==null;)Py(t,e,n),t=t.sibling}var On=null,No=!1;function ls(t,e,n){for(n=n.child;n!==null;)tL(t,e,n),n=n.sibling}function tL(t,e,n){if(ci&&typeof ci.onCommitFiberUnmount=="function")try{ci.onCommitFiberUnmount(Om,n)}catch{}switch(n.tag){case 5:Kn||gc(n,e);case 6:var r=On,o=No;On=null,ls(t,e,n),On=r,No=o,On!==null&&(No?(t=On,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):On.removeChild(n.stateNode));break;case 18:On!==null&&(No?(t=On,n=n.stateNode,t.nodeType===8?N1(t.parentNode,n):t.nodeType===1&&N1(t,n),sh(t)):N1(On,n.stateNode));break;case 4:r=On,o=No,On=n.stateNode.containerInfo,No=!0,ls(t,e,n),On=r,No=o;break;case 0:case 11:case 14:case 15:if(!Kn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Ny(n,e,s),o=o.next}while(o!==r)}ls(t,e,n);break;case 1:if(!Kn&&(gc(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){jt(n,e,l)}ls(t,e,n);break;case 21:ls(t,e,n);break;case 22:n.mode&1?(Kn=(r=Kn)||n.memoizedState!==null,ls(t,e,n),Kn=r):ls(t,e,n);break;default:ls(t,e,n)}}function tA(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new DZ),e.forEach(function(r){var o=GZ.bind(null,t,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ro(t,e){var n=e.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=t,s=e,l=s;e:for(;l!==null;){switch(l.tag){case 5:On=l.stateNode,No=!1;break e;case 3:On=l.stateNode.containerInfo,No=!0;break e;case 4:On=l.stateNode.containerInfo,No=!0;break e}l=l.return}if(On===null)throw Error(ne(160));tL(i,s,o),On=null,No=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){jt(o,e,u)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)nL(e,t),e=e.sibling}function nL(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Ro(e,t),Yo(t),r&4){try{Nd(3,t,t.return),Fm(3,t)}catch(g){jt(t,t.return,g)}try{Nd(5,t,t.return)}catch(g){jt(t,t.return,g)}}break;case 1:Ro(e,t),Yo(t),r&512&&n!==null&&gc(n,n.return);break;case 5:if(Ro(e,t),Yo(t),r&512&&n!==null&&gc(n,n.return),t.flags&32){var o=t.stateNode;try{nh(o,"")}catch(g){jt(t,t.return,g)}}if(r&4&&(o=t.stateNode,o!=null)){var i=t.memoizedProps,s=n!==null?n.memoizedProps:i,l=t.type,a=t.updateQueue;if(t.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&EO(o,i),ay(l,s);var u=ay(l,i);for(s=0;s<a.length;s+=2){var c=a[s],d=a[s+1];c==="style"?_O(o,d):c==="dangerouslySetInnerHTML"?TO(o,d):c==="children"?nh(o,d):Sw(o,c,d,u)}switch(l){case"input":ny(o,i);break;case"textarea":SO(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?Ec(o,!!i.multiple,f,!1):h!==!!i.multiple&&(i.defaultValue!=null?Ec(o,!!i.multiple,i.defaultValue,!0):Ec(o,!!i.multiple,i.multiple?[]:"",!1))}o[dh]=i}catch(g){jt(t,t.return,g)}}break;case 6:if(Ro(e,t),Yo(t),r&4){if(t.stateNode===null)throw Error(ne(162));o=t.stateNode,i=t.memoizedProps;try{o.nodeValue=i}catch(g){jt(t,t.return,g)}}break;case 3:if(Ro(e,t),Yo(t),r&4&&n!==null&&n.memoizedState.isDehydrated)try{sh(e.containerInfo)}catch(g){jt(t,t.return,g)}break;case 4:Ro(e,t),Yo(t);break;case 13:Ro(e,t),Yo(t),o=t.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(rx=Yt())),r&4&&tA(t);break;case 22:if(c=n!==null&&n.memoizedState!==null,t.mode&1?(Kn=(u=Kn)||c,Ro(e,t),Kn=u):Ro(e,t),Yo(t),r&8192){if(u=t.memoizedState!==null,(t.stateNode.isHidden=u)&&!c&&t.mode&1)for(pe=t,c=t.child;c!==null;){for(d=pe=c;pe!==null;){switch(h=pe,f=h.child,h.tag){case 0:case 11:case 14:case 15:Nd(4,h,h.return);break;case 1:gc(h,h.return);var p=h.stateNode;if(typeof p.componentWillUnmount=="function"){r=h,n=h.return;try{e=r,p.props=e.memoizedProps,p.state=e.memoizedState,p.componentWillUnmount()}catch(g){jt(r,n,g)}}break;case 5:gc(h,h.return);break;case 22:if(h.memoizedState!==null){rA(d);continue}}f!==null?(f.return=h,pe=f):rA(d)}c=c.sibling}e:for(c=null,d=t;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=AO("display",s))}catch(g){jt(t,t.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){jt(t,t.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===t)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ro(e,t),Yo(t),r&4&&tA(t);break;case 21:break;default:Ro(e,t),Yo(t)}}function Yo(t){var e=t.flags;if(e&2){try{e:{for(var n=t.return;n!==null;){if(eL(n)){var r=n;break e}n=n.return}throw Error(ne(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(nh(o,""),r.flags&=-33);var i=eA(t);Py(t,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=eA(t);Dy(t,l,s);break;default:throw Error(ne(161))}}catch(a){jt(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function zZ(t,e,n){pe=t,rL(t)}function rL(t,e,n){for(var r=(t.mode&1)!==0;pe!==null;){var o=pe,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Yf;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Kn;l=Yf;var u=Kn;if(Yf=s,(Kn=a)&&!u)for(pe=o;pe!==null;)s=pe,a=s.child,s.tag===22&&s.memoizedState!==null?oA(o):a!==null?(a.return=s,pe=a):oA(o);for(;i!==null;)pe=i,rL(i),i=i.sibling;pe=o,Yf=l,Kn=u}nA(t)}else o.subtreeFlags&8772&&i!==null?(i.return=o,pe=i):nA(t)}}function nA(t){for(;pe!==null;){var e=pe;if(e.flags&8772){var n=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Kn||Fm(5,e);break;case 1:var r=e.stateNode;if(e.flags&4&&!Kn)if(n===null)r.componentDidMount();else{var o=e.elementType===e.type?n.memoizedProps:Lo(e.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;i!==null&&FT(e,i,r);break;case 3:var s=e.updateQueue;if(s!==null){if(n=null,e.child!==null)switch(e.child.tag){case 5:n=e.child.stateNode;break;case 1:n=e.child.stateNode}FT(e,s,n)}break;case 5:var l=e.stateNode;if(n===null&&e.flags&4){n=l;var a=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var u=e.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&sh(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ne(163))}Kn||e.flags&512&&$y(e)}catch(h){jt(e,e.return,h)}}if(e===t){pe=null;break}if(n=e.sibling,n!==null){n.return=e.return,pe=n;break}pe=e.return}}function rA(t){for(;pe!==null;){var e=pe;if(e===t){pe=null;break}var n=e.sibling;if(n!==null){n.return=e.return,pe=n;break}pe=e.return}}function oA(t){for(;pe!==null;){var e=pe;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{Fm(4,e)}catch(a){jt(e,n,a)}break;case 1:var r=e.stateNode;if(typeof r.componentDidMount=="function"){var o=e.return;try{r.componentDidMount()}catch(a){jt(e,o,a)}}var i=e.return;try{$y(e)}catch(a){jt(e,i,a)}break;case 5:var s=e.return;try{$y(e)}catch(a){jt(e,s,a)}}}catch(a){jt(e,e.return,a)}if(e===t){pe=null;break}var l=e.sibling;if(l!==null){l.return=e.return,pe=l;break}pe=e.return}}var FZ=Math.ceil,Ig=Qi.ReactCurrentDispatcher,tx=Qi.ReactCurrentOwner,go=Qi.ReactCurrentBatchConfig,Ye=0,kn=null,en=null,$n=0,Fr=0,mc=la(0),un=0,vh=null,al=0,Bm=0,nx=0,$d=null,yr=null,rx=0,qc=1/0,Mi=null,Lg=!1,zy=null,zs=null,Xf=!1,As=null,Ng=0,Dd=0,Fy=null,Mp=-1,Op=0;function sr(){return Ye&6?Yt():Mp!==-1?Mp:Mp=Yt()}function Fs(t){return t.mode&1?Ye&2&&$n!==0?$n&-$n:kZ.transition!==null?(Op===0&&(Op=BO()),Op):(t=ft,t!==0||(t=window.event,t=t===void 0?16:KO(t.type)),t):1}function Uo(t,e,n,r){if(50<Dd)throw Dd=0,Fy=null,Error(ne(185));ef(t,n,r),(!(Ye&2)||t!==kn)&&(t===kn&&(!(Ye&2)&&(Bm|=n),un===4&&ks(t,$n)),Tr(t,r),n===1&&Ye===0&&!(e.mode&1)&&(qc=Yt()+500,Dm&&ca()))}function Tr(t,e){var n=t.callbackNode;kq(t,e);var r=vg(t,t===kn?$n:0);if(r===0)n!==null&&fT(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(n!=null&&fT(n),e===1)t.tag===0?xZ(iA.bind(null,t)):hI(iA.bind(null,t)),vZ(function(){!(Ye&6)&&ca()}),n=null;else{switch(HO(r)){case 1:n=Rw;break;case 4:n=zO;break;case 16:n=mg;break;case 536870912:n=FO;break;default:n=mg}n=dL(n,oL.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function oL(t,e){if(Mp=-1,Op=0,Ye&6)throw Error(ne(327));var n=t.callbackNode;if(_c()&&t.callbackNode!==n)return null;var r=vg(t,t===kn?$n:0);if(r===0)return null;if(r&30||r&t.expiredLanes||e)e=$g(t,r);else{e=r;var o=Ye;Ye|=2;var i=sL();(kn!==t||$n!==e)&&(Mi=null,qc=Yt()+500,Ya(t,e));do try{UZ();break}catch(l){iL(t,l)}while(1);Uw(),Ig.current=i,Ye=o,en!==null?e=0:(kn=null,$n=0,e=un)}if(e!==0){if(e===2&&(o=hy(t),o!==0&&(r=o,e=By(t,o))),e===1)throw n=vh,Ya(t,0),ks(t,r),Tr(t,Yt()),n;if(e===6)ks(t,r);else{if(o=t.current.alternate,!(r&30)&&!BZ(o)&&(e=$g(t,r),e===2&&(i=hy(t),i!==0&&(r=i,e=By(t,i))),e===1))throw n=vh,Ya(t,0),ks(t,r),Tr(t,Yt()),n;switch(t.finishedWork=o,t.finishedLanes=r,e){case 0:case 1:throw Error(ne(345));case 2:Ca(t,yr,Mi);break;case 3:if(ks(t,r),(r&130023424)===r&&(e=rx+500-Yt(),10<e)){if(vg(t,0)!==0)break;if(o=t.suspendedLanes,(o&r)!==r){sr(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=wy(Ca.bind(null,t,yr,Mi),e);break}Ca(t,yr,Mi);break;case 4:if(ks(t,r),(r&4194240)===r)break;for(e=t.eventTimes,o=-1;0<r;){var s=31-Ho(r);i=1<<s,s=e[s],s>o&&(o=s),r&=~i}if(r=o,r=Yt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*FZ(r/1960))-r,10<r){t.timeoutHandle=wy(Ca.bind(null,t,yr,Mi),r);break}Ca(t,yr,Mi);break;case 5:Ca(t,yr,Mi);break;default:throw Error(ne(329))}}}return Tr(t,Yt()),t.callbackNode===n?oL.bind(null,t):null}function By(t,e){var n=$d;return t.current.memoizedState.isDehydrated&&(Ya(t,e).flags|=256),t=$g(t,e),t!==2&&(e=yr,yr=n,e!==null&&Hy(e)),t}function Hy(t){yr===null?yr=t:yr.push.apply(yr,t)}function BZ(t){for(var e=t;;){if(e.flags&16384){var n=e.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!jo(i(),o))return!1}catch{return!1}}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ks(t,e){for(e&=~nx,e&=~Bm,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-Ho(e),r=1<<n;t[n]=-1,e&=~r}}function iA(t){if(Ye&6)throw Error(ne(327));_c();var e=vg(t,0);if(!(e&1))return Tr(t,Yt()),null;var n=$g(t,e);if(t.tag!==0&&n===2){var r=hy(t);r!==0&&(e=r,n=By(t,r))}if(n===1)throw n=vh,Ya(t,0),ks(t,e),Tr(t,Yt()),n;if(n===6)throw Error(ne(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Ca(t,yr,Mi),Tr(t,Yt()),null}function ox(t,e){var n=Ye;Ye|=1;try{return t(e)}finally{Ye=n,Ye===0&&(qc=Yt()+500,Dm&&ca())}}function ll(t){As!==null&&As.tag===0&&!(Ye&6)&&_c();var e=Ye;Ye|=1;var n=go.transition,r=ft;try{if(go.transition=null,ft=1,t)return t()}finally{ft=r,go.transition=n,Ye=e,!(Ye&6)&&ca()}}function ix(){Fr=mc.current,_t(mc)}function Ya(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(n!==-1&&(t.timeoutHandle=-1,mZ(n)),en!==null)for(n=en.return;n!==null;){var r=n;switch(Fw(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&kg();break;case 3:Yc(),_t(Sr),_t(Xn),Yw();break;case 5:Kw(r);break;case 4:Yc();break;case 13:_t(Pt);break;case 19:_t(Pt);break;case 10:Ww(r.type._context);break;case 22:case 23:ix()}n=n.return}if(kn=t,en=t=Bs(t.current,null),$n=Fr=e,un=0,vh=null,nx=Bm=al=0,yr=$d=null,Ba!==null){for(e=0;e<Ba.length;e++)if(n=Ba[e],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Ba=null}return t}function iL(t,e){do{var n=en;try{if(Uw(),Ap.current=Og,Mg){for(var r=Ft.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Mg=!1}if(sl=0,yn=ln=Ft=null,Ld=!1,ph=0,tx.current=null,n===null||n.return===null){un=1,vh=e,en=null;break}e:{var i=t,s=n.return,l=n,a=e;if(e=$n,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=GT(s);if(f!==null){f.flags&=-257,KT(f,s,l,i,e),f.mode&1&&jT(i,u,e),e=f,a=u;var p=e.updateQueue;if(p===null){var g=new Set;g.add(a),e.updateQueue=g}else p.add(a);break e}else{if(!(e&1)){jT(i,u,e),sx();break e}a=Error(ne(426))}}else if(Ot&&l.mode&1){var m=GT(s);if(m!==null){!(m.flags&65536)&&(m.flags|=256),KT(m,s,l,i,e),Bw(Xc(a,l));break e}}i=a=Xc(a,l),un!==4&&(un=2),$d===null?$d=[i]:$d.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,e&=-e,i.lanes|=e;var v=UI(i,a,e);zT(i,v);break e;case 1:l=a;var y=i.type,b=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(zs===null||!zs.has(b)))){i.flags|=65536,e&=-e,i.lanes|=e;var w=WI(i,l,e);zT(i,w);break e}}i=i.return}while(i!==null)}lL(n)}catch(k){e=k,en===n&&n!==null&&(en=n=n.return);continue}break}while(1)}function sL(){var t=Ig.current;return Ig.current=Og,t===null?Og:t}function sx(){(un===0||un===3||un===2)&&(un=4),kn===null||!(al&268435455)&&!(Bm&268435455)||ks(kn,$n)}function $g(t,e){var n=Ye;Ye|=2;var r=sL();(kn!==t||$n!==e)&&(Mi=null,Ya(t,e));do try{HZ();break}catch(o){iL(t,o)}while(1);if(Uw(),Ye=n,Ig.current=r,en!==null)throw Error(ne(261));return kn=null,$n=0,un}function HZ(){for(;en!==null;)aL(en)}function UZ(){for(;en!==null&&!fq();)aL(en)}function aL(t){var e=uL(t.alternate,t,Fr);t.memoizedProps=t.pendingProps,e===null?lL(t):en=e,tx.current=null}function lL(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&32768){if(n=$Z(n,e),n!==null){n.flags&=32767,en=n;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{un=6,en=null;return}}else if(n=NZ(n,e,Fr),n!==null){en=n;return}if(e=e.sibling,e!==null){en=e;return}en=e=t}while(e!==null);un===0&&(un=5)}function Ca(t,e,n){var r=ft,o=go.transition;try{go.transition=null,ft=1,WZ(t,e,n,r)}finally{go.transition=o,ft=r}return null}function WZ(t,e,n,r){do _c();while(As!==null);if(Ye&6)throw Error(ne(327));n=t.finishedWork;var o=t.finishedLanes;if(n===null)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(ne(177));t.callbackNode=null,t.callbackPriority=0;var i=n.lanes|n.childLanes;if(Eq(t,i),t===kn&&(en=kn=null,$n=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Xf||(Xf=!0,dL(mg,function(){return _c(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=go.transition,go.transition=null;var s=ft;ft=1;var l=Ye;Ye|=4,tx.current=null,PZ(t,n),nL(n,t),cZ(yy),yg=!!vy,yy=vy=null,t.current=n,zZ(n),pq(),Ye=l,ft=s,go.transition=i}else t.current=n;if(Xf&&(Xf=!1,As=t,Ng=o),i=t.pendingLanes,i===0&&(zs=null),vq(n.stateNode),Tr(t,Yt()),e!==null)for(r=t.onRecoverableError,n=0;n<e.length;n++)o=e[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Lg)throw Lg=!1,t=zy,zy=null,t;return Ng&1&&t.tag!==0&&_c(),i=t.pendingLanes,i&1?t===Fy?Dd++:(Dd=0,Fy=t):Dd=0,ca(),null}function _c(){if(As!==null){var t=HO(Ng),e=go.transition,n=ft;try{if(go.transition=null,ft=16>t?16:t,As===null)var r=!1;else{if(t=As,As=null,Ng=0,Ye&6)throw Error(ne(331));var o=Ye;for(Ye|=4,pe=t.current;pe!==null;){var i=pe,s=i.child;if(pe.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(pe=u;pe!==null;){var c=pe;switch(c.tag){case 0:case 11:case 15:Nd(8,c,i)}var d=c.child;if(d!==null)d.return=c,pe=d;else for(;pe!==null;){c=pe;var h=c.sibling,f=c.return;if(JI(c),c===u){pe=null;break}if(h!==null){h.return=f,pe=h;break}pe=f}}}var p=i.alternate;if(p!==null){var g=p.child;if(g!==null){p.child=null;do{var m=g.sibling;g.sibling=null,g=m}while(g!==null)}}pe=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,pe=s;else e:for(;pe!==null;){if(i=pe,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Nd(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,pe=v;break e}pe=i.return}}var y=t.current;for(pe=y;pe!==null;){s=pe;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,pe=b;else e:for(s=y;pe!==null;){if(l=pe,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Fm(9,l)}}catch(k){jt(l,l.return,k)}if(l===s){pe=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,pe=w;break e}pe=l.return}}if(Ye=o,ca(),ci&&typeof ci.onPostCommitFiberRoot=="function")try{ci.onPostCommitFiberRoot(Om,t)}catch{}r=!0}return r}finally{ft=n,go.transition=e}}return!1}function sA(t,e,n){e=Xc(n,e),e=UI(t,e,1),t=Ps(t,e,1),e=sr(),t!==null&&(ef(t,1,e),Tr(t,e))}function jt(t,e,n){if(t.tag===3)sA(t,t,n);else for(;e!==null;){if(e.tag===3){sA(e,t,n);break}else if(e.tag===1){var r=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(zs===null||!zs.has(r))){t=Xc(n,t),t=WI(e,t,1),e=Ps(e,t,1),t=sr(),e!==null&&(ef(e,1,t),Tr(e,t));break}}e=e.return}}function VZ(t,e,n){var r=t.pingCache;r!==null&&r.delete(e),e=sr(),t.pingedLanes|=t.suspendedLanes&n,kn===t&&($n&n)===n&&(un===4||un===3&&($n&130023424)===$n&&500>Yt()-rx?Ya(t,0):nx|=n),Tr(t,e)}function cL(t,e){e===0&&(t.mode&1?(e=Ff,Ff<<=1,!(Ff&130023424)&&(Ff=4194304)):e=1);var n=sr();t=Gi(t,e),t!==null&&(ef(t,e,n),Tr(t,n))}function jZ(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),cL(t,n)}function GZ(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,o=t.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(ne(314))}r!==null&&r.delete(e),cL(t,n)}var uL;uL=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Sr.current)xr=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return xr=!1,LZ(t,e,n);xr=!!(t.flags&131072)}else xr=!1,Ot&&e.flags&1048576&&fI(e,Cg,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Rp(t,e),t=e.pendingProps;var o=jc(e,Xn.current);Ac(e,n),o=qw(null,e,r,t,o,n);var i=Zw();return e.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Cr(r)?(i=!0,Eg(e)):i=!1,e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jw(e),o.updater=Pm,e.stateNode=o,o._reactInternals=e,Ay(e,r,t,n),e=My(null,e,r,!0,i,n)):(e.tag=0,Ot&&i&&zw(e),nr(null,e,o,n),e=e.child),e;case 16:r=e.elementType;e:{switch(Rp(t,e),t=e.pendingProps,o=r._init,r=o(r._payload),e.type=r,o=e.tag=YZ(r),t=Lo(r,t),o){case 0:e=Ry(null,e,r,t,n);break e;case 1:e=qT(null,e,r,t,n);break e;case 11:e=YT(null,e,r,t,n);break e;case 14:e=XT(null,e,r,Lo(r.type,t),n);break e}throw Error(ne(306,r,""))}return e;case 0:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),Ry(t,e,r,o,n);case 1:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),qT(t,e,r,o,n);case 3:e:{if(KI(e),t===null)throw Error(ne(387));r=e.pendingProps,i=e.memoizedState,o=i.element,vI(t,e),_g(e,r,null,n);var s=e.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){o=Xc(Error(ne(423)),e),e=ZT(t,e,r,n,o);break e}else if(r!==o){o=Xc(Error(ne(424)),e),e=ZT(t,e,r,n,o);break e}else for(Gr=Ds(e.stateNode.containerInfo.firstChild),Yr=e,Ot=!0,Do=null,n=xI(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gc(),r===o){e=Ki(t,e,n);break e}nr(t,e,r,n)}e=e.child}return e;case 5:return kI(e),t===null&&Sy(e),r=e.type,o=e.pendingProps,i=t!==null?t.memoizedProps:null,s=o.children,by(r,o)?s=null:i!==null&&by(r,i)&&(e.flags|=32),GI(t,e),nr(t,e,s,n),e.child;case 6:return t===null&&Sy(e),null;case 13:return YI(t,e,n);case 4:return Gw(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Kc(e,null,r,n):nr(t,e,r,n),e.child;case 11:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),YT(t,e,r,o,n);case 7:return nr(t,e,e.pendingProps,n),e.child;case 8:return nr(t,e,e.pendingProps.children,n),e.child;case 12:return nr(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,o=e.pendingProps,i=e.memoizedProps,s=o.value,Et(Tg,r._currentValue),r._currentValue=s,i!==null)if(jo(i.value,s)){if(i.children===o.children&&!Sr.current){e=Ki(t,e,n);break e}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Hi(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Cy(i.return,n,e),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===e.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(ne(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Cy(s,n,e),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}nr(t,e,o.children,n),e=e.child}return e;case 9:return o=e.type,r=e.pendingProps.children,Ac(e,n),o=bo(o),r=r(o),e.flags|=1,nr(t,e,r,n),e.child;case 14:return r=e.type,o=Lo(r,e.pendingProps),o=Lo(r.type,o),XT(t,e,r,o,n);case 15:return VI(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),Rp(t,e),e.tag=1,Cr(r)?(t=!0,Eg(e)):t=!1,Ac(e,n),bI(e,r,o),Ay(e,r,o,n),My(null,e,r,!0,t,n);case 19:return XI(t,e,n);case 22:return jI(t,e,n)}throw Error(ne(156,e.tag))};function dL(t,e){return PO(t,e)}function KZ(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fo(t,e,n,r){return new KZ(t,e,n,r)}function ax(t){return t=t.prototype,!(!t||!t.isReactComponent)}function YZ(t){if(typeof t=="function")return ax(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Tw)return 11;if(t===Aw)return 14}return 2}function Bs(t,e){var n=t.alternate;return n===null?(n=fo(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Ip(t,e,n,r,o,i){var s=2;if(r=t,typeof t=="function")ax(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case sc:return Xa(n.children,o,i,e);case Cw:s=8,o|=8;break;case Z0:return t=fo(12,n,e,o|2),t.elementType=Z0,t.lanes=i,t;case Q0:return t=fo(13,n,e,o),t.elementType=Q0,t.lanes=i,t;case J0:return t=fo(19,n,e,o),t.elementType=J0,t.lanes=i,t;case wO:return Hm(n,o,i,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case yO:s=10;break e;case bO:s=9;break e;case Tw:s=11;break e;case Aw:s=14;break e;case ys:s=16,r=null;break e}throw Error(ne(130,t==null?t:typeof t,""))}return e=fo(s,n,e,o),e.elementType=t,e.type=r,e.lanes=i,e}function Xa(t,e,n,r){return t=fo(7,t,r,e),t.lanes=n,t}function Hm(t,e,n,r){return t=fo(22,t,r,e),t.elementType=wO,t.lanes=n,t.stateNode={isHidden:!1},t}function U1(t,e,n){return t=fo(6,t,null,e),t.lanes=n,t}function W1(t,e,n){return e=fo(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function XZ(t,e,n,r,o){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=E1(0),this.expirationTimes=E1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=E1(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function lx(t,e,n,r,o,i,s,l,a){return t=new XZ(t,e,n,l,a),e===1?(e=1,i===!0&&(e|=8)):e=0,i=fo(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jw(i),t}function qZ(t,e,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ic,key:r==null?null:""+r,children:t,containerInfo:e,implementation:n}}function hL(t){if(!t)return Zs;t=t._reactInternals;e:{if(Sl(t)!==t||t.tag!==1)throw Error(ne(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Cr(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(ne(171))}if(t.tag===1){var n=t.type;if(Cr(n))return dI(t,n,e)}return e}function fL(t,e,n,r,o,i,s,l,a){return t=lx(n,r,!0,t,o,i,s,l,a),t.context=hL(null),n=t.current,r=sr(),o=Fs(n),i=Hi(r,o),i.callback=e??null,Ps(n,i,o),t.current.lanes=o,ef(t,o,r),Tr(t,r),t}function Um(t,e,n,r){var o=e.current,i=sr(),s=Fs(o);return n=hL(n),e.context===null?e.context=n:e.pendingContext=n,e=Hi(i,s),e.payload={element:t},r=r===void 0?null:r,r!==null&&(e.callback=r),t=Ps(o,e,s),t!==null&&(Uo(t,o,s,i),Tp(t,o,s)),s}function Dg(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function aA(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function cx(t,e){aA(t,e),(t=t.alternate)&&aA(t,e)}function ZZ(){return null}var pL=typeof reportError=="function"?reportError:function(t){console.error(t)};function ux(t){this._internalRoot=t}Wm.prototype.render=ux.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(ne(409));Um(t,e,null,null)};Wm.prototype.unmount=ux.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;ll(function(){Um(null,t,null,null)}),e[ji]=null}};function Wm(t){this._internalRoot=t}Wm.prototype.unstable_scheduleHydration=function(t){if(t){var e=VO();t={blockedOn:null,target:t,priority:e};for(var n=0;n<xs.length&&e!==0&&e<xs[n].priority;n++);xs.splice(n,0,t),n===0&&GO(t)}};function dx(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Vm(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function lA(){}function QZ(t,e,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Dg(s);i.call(u)}}var s=fL(e,r,t,0,null,!1,!1,"",lA);return t._reactRootContainer=s,t[ji]=s.current,ch(t.nodeType===8?t.parentNode:t),ll(),s}for(;o=t.lastChild;)t.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Dg(a);l.call(u)}}var a=lx(t,0,!1,null,null,!1,!1,"",lA);return t._reactRootContainer=a,t[ji]=a.current,ch(t.nodeType===8?t.parentNode:t),ll(function(){Um(e,a,n,r)}),a}function jm(t,e,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=Dg(s);l.call(a)}}Um(e,s,t,o)}else s=QZ(n,e,t,o,r);return Dg(s)}UO=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=fd(e.pendingLanes);n!==0&&(Mw(e,n|1),Tr(e,Yt()),!(Ye&6)&&(qc=Yt()+500,ca()))}break;case 13:ll(function(){var r=Gi(t,1);if(r!==null){var o=sr();Uo(r,t,1,o)}}),cx(t,1)}};Ow=function(t){if(t.tag===13){var e=Gi(t,134217728);if(e!==null){var n=sr();Uo(e,t,134217728,n)}cx(t,134217728)}};WO=function(t){if(t.tag===13){var e=Fs(t),n=Gi(t,e);if(n!==null){var r=sr();Uo(n,t,e,r)}cx(t,e)}};VO=function(){return ft};jO=function(t,e){var n=ft;try{return ft=t,e()}finally{ft=n}};cy=function(t,e,n){switch(e){case"input":if(ny(t,n),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var o=$m(r);if(!o)throw Error(ne(90));kO(r),ny(r,o)}}}break;case"textarea":SO(t,n);break;case"select":e=n.value,e!=null&&Ec(t,!!n.multiple,e,!1)}};OO=ox;IO=ll;var JZ={usingClientEntryPoint:!1,Events:[nf,uc,$m,RO,MO,ox]},$u={findFiberByHostInstance:Fa,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},eQ={bundleType:$u.bundleType,version:$u.version,rendererPackageName:$u.rendererPackageName,rendererConfig:$u.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Qi.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=$O(t),t===null?null:t.stateNode},findFiberByHostInstance:$u.findFiberByHostInstance||ZZ,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qf.isDisabled&&qf.supportsFiber)try{Om=qf.inject(eQ),ci=qf}catch{}}to.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=JZ;to.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!dx(e))throw Error(ne(200));return qZ(t,e,null,n)};to.createRoot=function(t,e){if(!dx(t))throw Error(ne(299));var n=!1,r="",o=pL;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onRecoverableError!==void 0&&(o=e.onRecoverableError)),e=lx(t,1,!1,null,null,n,!1,r,o),t[ji]=e.current,ch(t.nodeType===8?t.parentNode:t),new ux(e)};to.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(ne(188)):(t=Object.keys(t).join(","),Error(ne(268,t)));return t=$O(e),t=t===null?null:t.stateNode,t};to.flushSync=function(t){return ll(t)};to.hydrate=function(t,e,n){if(!Vm(e))throw Error(ne(200));return jm(null,t,e,!0,n)};to.hydrateRoot=function(t,e,n){if(!dx(t))throw Error(ne(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=pL;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),e=fL(e,null,t,1,n??null,o,!1,i,s),t[ji]=e.current,ch(t),r)for(t=0;t<r.length;t++)n=r[t],o=n._getVersion,o=o(n._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,o]:e.mutableSourceEagerHydrationData.push(n,o);return new Wm(e)};to.render=function(t,e,n){if(!Vm(e))throw Error(ne(200));return jm(null,t,e,!1,n)};to.unmountComponentAtNode=function(t){if(!Vm(t))throw Error(ne(40));return t._reactRootContainer?(ll(function(){jm(null,null,t,!1,function(){t._reactRootContainer=null,t[ji]=null})}),!0):!1};to.unstable_batchedUpdates=ox;to.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Vm(n))throw Error(ne(200));if(t==null||t._reactInternals===void 0)throw Error(ne(38));return jm(t,e,n,!1,r)};to.version="18.2.0-next-9e3b772b8-20220608";function gL(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gL)}catch(t){console.error(t)}}gL(),fO.exports=to;var of=fO.exports;const Zf=Ko(of);var tQ=Object.defineProperty,nQ=Object.getOwnPropertyDescriptor,rQ=(t,e,n,r)=>{for(var o=r>1?void 0:r?nQ(e,n):e,i=t.length-1,s;i>=0;i--)(s=t[i])&&(o=(r?s(e,n,o):s(o))||o);return r&&o&&tQ(e,n,o),o},mL=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},xe=(t,e,n)=>(mL(t,e,"read from private field"),n?n.call(t):e.get(t)),zr=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Dr=(t,e,n,r)=>(mL(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),gd,oQ=class{constructor(){this.portals=new Map,zr(this,gd,xm()),this.on=t=>xe(this,gd).on("update",t),this.once=t=>{const e=xe(this,gd).on("update",n=>{e(),t(n)});return e}}update(){xe(this,gd).emit("update",this.portals)}render({Component:t,container:e}){const n=this.portals.get(e);this.portals.set(e,{Component:t,key:(n==null?void 0:n.key)??Ic()}),this.update()}forceUpdate(){for(const[t,{Component:e}]of this.portals)this.portals.set(t,{Component:e,key:Ic()})}remove(t){this.portals.delete(t),this.update()}};gd=new WeakMap;var iQ=t=>{const{portals:e}=t;return ee.createElement(ee.Fragment,null,e.map(([n,{Component:r,key:o}])=>of.createPortal(ee.createElement(r,null),n,o)))};function sQ(t){const[e,n]=P.useState(()=>Array.from(t.portals.entries()));return P.useEffect(()=>t.on(r=>{n(Array.from(r.entries()))}),[t]),P.useMemo(()=>e,[e])}var Dt,md,Ta,vd,Lp,yd,ec,bd,Np,Ai,tr,Uy,vL=class{constructor({getPosition:t,node:e,portalContainer:n,view:r,ReactComponent:o,options:i}){zr(this,Dt,void 0),zr(this,md,[]),zr(this,Ta,void 0),zr(this,vd,void 0),zr(this,Lp,void 0),zr(this,yd,void 0),zr(this,ec,void 0),zr(this,bd,!1),zr(this,Np,void 0),zr(this,Ai,void 0),zr(this,tr,void 0),zr(this,Uy,a=>{a&&(we(xe(this,Ai),{code:re.REACT_NODE_VIEW,message:`You have applied a ref to a node view provided for '${xe(this,Dt).type.name}' which doesn't support content.`}),a.append(xe(this,Ai)))}),this.Component=()=>{const a=xe(this,Lp);return we(a,{code:re.REACT_NODE_VIEW,message:`The custom react node view provided for ${xe(this,Dt).type.name} doesn't have a valid ReactComponent`}),ee.createElement(a,{updateAttributes:this.updateAttributes,selected:this.selected,view:xe(this,Ta),getPosition:xe(this,yd),node:xe(this,Dt),forwardRef:xe(this,Uy),decorations:xe(this,md)})},this.updateAttributes=a=>{if(!xe(this,Ta).editable)return;const u=xe(this,yd).call(this);if(u==null)return;const c=xe(this,Ta).state.tr.setNodeMarkup(u,void 0,{...xe(this,Dt).attrs,...a});xe(this,Ta).dispatch(c)},we(tt(t),{message:"You are attempting to use a node view for a mark type. This is not supported yet. Please check your configuration."}),Dr(this,Dt,e),Dr(this,Ta,r),Dr(this,vd,n),Dr(this,Lp,o),Dr(this,yd,t),Dr(this,ec,i),Dr(this,tr,this.createDom());const{contentDOM:s,wrapper:l}=this.createContentDom()??{};Dr(this,Np,s??void 0),Dr(this,Ai,l),xe(this,Ai)&&xe(this,tr).append(xe(this,Ai)),this.setDomAttributes(xe(this,Dt),xe(this,tr)),this.Component.displayName=fR(`${xe(this,Dt).type.name}NodeView`),this.renderComponent()}static create(t){const{portalContainer:e,ReactComponent:n,options:r}=t;return(o,i,s)=>new vL({options:r,node:o,view:i,getPosition:s,portalContainer:e,ReactComponent:n})}get selected(){return xe(this,bd)}get contentDOM(){return xe(this,Np)}get dom(){return xe(this,tr)}renderComponent(){xe(this,vd).render({Component:this.Component,container:xe(this,tr)})}createDom(){const{defaultBlockNode:t,defaultInlineNode:e}=xe(this,ec),n=xe(this,Dt).isInline?document.createElement(e):document.createElement(t);return n.classList.add(`${aS(xe(this,Dt).type.name)}-node-view-wrapper`),n}createContentDom(){var t,e;if(xe(this,Dt).isLeaf)return;const n=(e=(t=xe(this,Dt).type.spec).toDOM)==null?void 0:e.call(t,xe(this,Dt));if(!n)return;const{contentDOM:r,dom:o}=jr.renderSpec(document,n);let i;if(zt(o))return i=o,o===r&&(i=document.createElement("span"),i.classList.add(`${aS(xe(this,Dt).type.name)}-node-view-content-wrapper`),i.append(r)),zt(r),{wrapper:i,contentDOM:r}}update(t,e){return gm({types:xe(this,Dt).type,node:t})?(xe(this,Dt)===t&&xe(this,md)===e||(xe(this,Dt).sameMarkup(t)||this.setDomAttributes(t,xe(this,tr)),Dr(this,Dt,t),Dr(this,md,e),this.renderComponent()),!0):!1}setDomAttributes(t,e){const{toDOM:n}=xe(this,Dt).type.spec;let r=t.attrs;if(n){const o=n(t);if(ke(o)||aQ(o))return;ta(o[1])&&(r=o[1])}for(const[o,i]of cn(r))e.setAttribute(o,i)}selectNode(){Dr(this,bd,!0),xe(this,tr)&&xe(this,tr).classList.add(rS),this.renderComponent()}deselectNode(){Dr(this,bd,!1),xe(this,tr)&&xe(this,tr).classList.remove(rS),this.renderComponent()}destroy(){xe(this,vd).remove(xe(this,tr))}ignoreMutation(t){return t.type==="selection"?!xe(this,Dt).type.spec.selectable:xe(this,Ai)?!xe(this,Ai).contains(t.target):!0}stopEvent(t){var e;if(!xe(this,tr))return!1;if(tt(xe(this,ec).stopEvent))return xe(this,ec).stopEvent({event:t});const n=t.target;if(!(xe(this,tr).contains(n)&&!((e=this.contentDOM)!=null&&e.contains(n))))return!1;const o=t.type==="drop";if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!o)return!0;const s=!!xe(this,Dt).type.spec.draggable,l=Le.isSelectable(xe(this,Dt)),a=t.type==="copy",u=t.type==="paste",c=t.type==="cut",d=t.type==="mousedown",h=t.type.startsWith("drag");return!s&&l&&h&&t.preventDefault(),!(h||o||a||u||c||d&&l)}},cA=vL;Dt=new WeakMap;md=new WeakMap;Ta=new WeakMap;vd=new WeakMap;Lp=new WeakMap;yd=new WeakMap;ec=new WeakMap;bd=new WeakMap;Np=new WeakMap;Ai=new WeakMap;tr=new WeakMap;Uy=new WeakMap;function aQ(t){return ng(t)||ta(t)&&ng(t.dom)}var yh=class extends mt{constructor(){super(...arguments),this.portalContainer=new oQ}get name(){return"reactComponent"}onCreate(){this.store.setStoreKey("portalContainer",this.portalContainer)}createNodeViews(){const t=be(),e=this.store.managerSettings.nodeViewComponents??{};for(const r of this.store.extensions)!r.ReactComponent||!qh(r)||r.reactComponentEnvironment==="ssr"||(t[r.name]=cA.create({options:this.options,ReactComponent:r.ReactComponent,portalContainer:this.portalContainer}));const n=cn({...this.options.nodeViewComponents,...e});for(const[r,o]of n)t[r]=cA.create({options:this.options,ReactComponent:o,portalContainer:this.portalContainer});return t}};yh=rQ([De({defaultOptions:{defaultBlockNode:"div",defaultInlineNode:"span",defaultContentNode:"span",defaultEnvironment:"both",nodeViewComponents:{},stopEvent:null},staticKeys:["defaultBlockNode","defaultInlineNode","defaultContentNode","defaultEnvironment"]})],yh);var lQ=Object.defineProperty,cQ=Object.getOwnPropertyDescriptor,uQ=(t,e,n,r)=>{for(var o=r>1?void 0:r?cQ(e,n):e,i=t.length-1,s;i>=0;i--)(s=t[i])&&(o=(r?s(e,n,o):s(o))||o);return r&&o&&lQ(e,n,o),o},dQ={...rl.defaultOptions,...yh.defaultOptions},hQ=[...rl.staticKeys,...yh.staticKeys],bh=class extends mt{get name(){return"react"}onSetOptions(t){const{pickChanged:e}=t;this.getExtension(rl).setOptions(e(["placeholder"]))}createExtensions(){const{emptyNodeClass:t,placeholder:e,defaultBlockNode:n,defaultContentNode:r,defaultEnvironment:o,defaultInlineNode:i,nodeViewComponents:s}=this.options;return[new rl({emptyNodeClass:t,placeholder:e,priority:st.Low}),new yh({defaultBlockNode:n,defaultContentNode:r,defaultEnvironment:o,defaultInlineNode:i,nodeViewComponents:s})]}};bh=uQ([De({defaultOptions:dQ,staticKeys:hQ})],bh);var yL={};Object.defineProperty(yL,"__esModule",{value:!0});function fQ(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length===2)return dA(t[0],t[1])||null;var n=t.slice(1).reduce(function(r,o){return dA(r,o)},t[0]);return n||null}var or=yL.default=fQ,uA=new WeakMap;function dA(t,e){if(t&&e){var n=uA.get(t)||new WeakMap;uA.set(t,n);var r=n.get(e)||function(o){hA(t,o),hA(e,o)};return n.set(e,r),r}return t||e}function hA(t,e){typeof t=="function"?t(e):t.current=e}var bL=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},V1=(t,e,n)=>(bL(t,e,"read from private field"),n?n.call(t):e.get(t)),pQ=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},gQ=(t,e,n,r)=>(bL(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);function mQ(){const[,t]=P.useState(be());return P.useCallback(()=>{t(be())},[])}var wL=P.createContext(null);function So(t){const e=P.useContext(wL),n=P.useRef(mQ());we(e,{code:re.REACT_PROVIDER_CONTEXT});const{addHandler:r}=e;return P.useEffect(()=>{let o=t;if(o){if(ta(o)){const{autoUpdate:i}=o;o=i?()=>n.current():void 0}if(tt(o))return r("updated",o)}},[r,t]),e}function fr(t=!0){return So({autoUpdate:t}).active}function vQ(t=!1){return So(t?{autoUpdate:!0}:void 0).attrs}function yu(){return So().chain.new()}function hn(){return So().commands}function hx(){return So({autoUpdate:!0}).getState().selection}function sf(t,e=void 0,n){const{getExtension:r}=So(),o=P.useMemo(()=>r(t),[t,r]);let i;if(tt(e)?i=n?[o,...n]:[o,e]:i=e?[o,...Object.values(e)]:[],P.useEffect(()=>{tt(e)||!e||o.setOptions(e)},i),P.useEffect(()=>{if(tt(e))return e({addHandler:o.addHandler.bind(o),addCustomHandler:o.addCustomHandler.bind(o),extension:o})},i),!e)return o}function yQ(t,e,n){const r=P.useCallback(({addHandler:o})=>o(e,n),[n,e]);return sf(t,r)}function af(t=!1){return So(t?{autoUpdate:!0}:void 0).helpers}var[bQ,wQ]=XV(({props:t})=>{const e=t.locale??"en",n=t.i18n??Rm,r=t.supportedLocales??[e],o=n._.bind(n);return{locale:e,i18n:n,supportedLocales:r,t:o}});function fA(t,e={}){const{core:n,react:r,...o}=e;return hH(t)?t:dH.create(()=>[...kR(t),new bh(r),...GX(n)],o)}function xQ(t,e={}){const n=P.useRef(t),r=P.useRef(e),[o,i]=P.useState(()=>fA(t,e));return n.current=t,r.current=e,P.useEffect(()=>o.addHandler("destroy",()=>{i(()=>fA(n.current,r.current))}),[o]),o}var kQ=typeof or=="object"&&or.__esModule&&or.default?or.default:or,tc,EQ=class extends sH{constructor(t){if(super(t),pQ(this,tc,void 0),this.rootPropsConfig={called:!1,count:0},this.getRootProps=e=>this.internalGetRootProps(e,null),this.internalGetRootProps=(e,n)=>{this.rootPropsConfig.called=!0;const{refKey:r="ref",ref:o,...i}=e??be();return{[r]:kQ(o,this.onRef),key:this.uid,...i,children:n}},this.onRef=e=>{e&&(this.rootPropsConfig.count+=1,we(this.rootPropsConfig.count<=1,{code:re.REACT_GET_ROOT_PROPS,message:`Called ${this.rootPropsConfig.count} times`}),gQ(this,tc,e),this.onRefLoad())},this.manager.view){this.manager.view.setProps({state:this.manager.view.state,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0});return}this.manager.getExtension(rl).setOptions({placeholder:this.props.placeholder??""})}get name(){return"react"}update(t){return super.update(t),this}createView(t){return new mz(null,{state:t,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0,plugins:[]})}updateState({state:t,...e}){const{triggerChange:n=!0,tr:r,transactions:o}=e;if(this.props.state){const{onChange:i}=this.props;we(i,{code:re.REACT_CONTROLLED,message:"You are required to provide the `onChange` handler when creating a controlled editor."}),we(n,{code:re.REACT_CONTROLLED,message:"Controlled editors do not support `clearContent` or `setContent` where `triggerChange` is `true`. Update the `state` prop instead."}),this.previousStateOverride||(this.previousStateOverride=this.getState()),this.onChange({state:t,tr:r,transactions:o});return}!r&&!o&&(t=t.apply(t.tr.setMeta(oS,{}))),this.view.updateState(t),n&&(o==null?void 0:o.length)!==0&&this.onChange({state:t,tr:r,transactions:o}),this.manager.onStateUpdate({previousState:this.previousState,state:t,tr:r,transactions:o})}updateControlledState(t,e){this.previousStateOverride=e,t=t.apply(t.tr.setMeta(oS,{})),this.view.updateState(t),this.manager.onStateUpdate({previousState:this.previousState,state:t}),this.previousStateOverride=void 0}addProsemirrorViewToDom(t,e){this.props.insertPosition==="start"?t.insertBefore(e,t.firstChild):t.append(e)}onRefLoad(){we(V1(this,tc),{code:re.REACT_EDITOR_VIEW,message:"Something went wrong when initializing the text editor. Please check your setup."});const{autoFocus:t}=this.props;this.addProsemirrorViewToDom(V1(this,tc),this.view.dom),t&&this.focus(t),this.onChange(),this.addFocusListeners()}onUpdate(){this.view&&V1(this,tc)&&this.view.setProps({...this.view.props,editable:()=>this.props.editable??!0})}get frameworkOutput(){return{...this.baseOutput,getRootProps:this.getRootProps,portalContainer:this.manager.store.portalContainer}}resetRender(){this.rootPropsConfig.called=!1,this.rootPropsConfig.count=0}};tc=new WeakMap;var xL=typeof document<"u"?P.useLayoutEffect:P.useEffect;function SQ(t){const e=P.useRef();return xL(()=>{e.current=t}),e.current}function CQ(t){const{manager:e,state:n}=t,{placeholder:r,editable:o}=t;P.useRef(!0).current&&!Us(r)&&e.getExtension(bh).setOptions({placeholder:r}),P.useEffect(()=>{r!=null&&e.getExtension(bh).setOptions({placeholder:r})},[r,e]);const[s]=P.useState(()=>{if(n)return n;const a=e.createEmptyDoc(),[u,c]=Bt(t.initialContent)?t.initialContent:[t.initialContent??a];return e.createState({content:u,selection:c})}),l=TQ({initialEditorState:s,getProps:()=>t});return P.useEffect(()=>()=>{l.destroy()},[l]),P.useEffect(()=>{l.onUpdate()},[o,l]),AQ(l),l.frameworkOutput}function TQ(t){const e=P.useRef(t);e.current=t;const n=P.useMemo(()=>new EQ(e.current),[]);return n.update(t),n}function AQ(t){const{state:e}=t.props,n=P.useRef(!!e),r=SQ(e);xL(()=>{const o=e?n.current===!0:n.current===!1;we(o,{code:re.REACT_CONTROLLED,message:n.current?"You have attempted to switch from a controlled to an uncontrolled editor. Once you set up an editor as a controlled editor it must always provide a `state` prop.":"You have provided a `state` prop to an uncontrolled editor. In order to set up your editor as controlled you must provide the `state` prop from the very first render."}),!(!e||e===r)&&t.updateControlledState(e,r??void 0)},[e,r,t])}function _Q(t={}){const{content:e,document:n,selection:r,extensions:o,...i}=t,s=xQ(o??(()=>[]),i),[l,a]=P.useState(()=>s.createState({selection:r,content:e??s.createEmptyDoc()})),u=P.useCallback(({state:d})=>{a(d)},[]),c=P.useCallback(()=>s.output,[s]);return P.useMemo(()=>({state:l,setState:a,manager:s,onChange:u,getContext:c}),[c,s,u,l])}var pA={doc:!1,selection:!1,storedMark:!1};function RQ(){const[t,e]=P.useState(pA);return yQ(sg,"applyState",P.useCallback(({tr:n})=>{const r={...pA};n.docChanged&&(r.doc=!0),n.selectionSet&&(r.selection=!0),n.storedMarksSet&&(r.storedMark=!0),e(r)},[])),t}var Wy=()=>ee.createElement("div",{className:OW.EDITOR_WRAPPER,...So().getRootProps()}),MQ=t=>(t.hook(),null);function OQ(t){const{children:e,autoRender:n,i18n:r,locale:o,supportedLocales:i,hooks:s=[],...l}=t,a=CQ(l),u=sQ(a.portalContainer),c=n==="start"||n===!0||!e&&Us(n),d=n==="end";return ee.createElement(bQ,{i18n:r,locale:o,supportedLocales:i},ee.createElement(wL.Provider,{value:a},ee.createElement(iQ,{portals:u}),s.map((h,f)=>ee.createElement(MQ,{hook:h,key:f})),c&&ee.createElement(Wy,null),e,d&&ee.createElement(Wy,null)))}const IQ={black:"#000",white:"#fff"},wh=IQ,LQ={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Hl=LQ,NQ={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ul=NQ,$Q={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Wl=$Q,DQ={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Vl=DQ,PQ={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},jl=PQ,zQ={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Du=zQ,FQ={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},BQ=FQ;function K(){return K=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},K.apply(this,arguments)}function Li(t){return t!==null&&typeof t=="object"&&t.constructor===Object}function kL(t){if(!Li(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=kL(t[n])}),e}function Xr(t,e,n={clone:!0}){const r=n.clone?K({},t):t;return Li(t)&&Li(e)&&Object.keys(e).forEach(o=>{o!=="__proto__"&&(Li(e[o])&&o in t&&Li(t[o])?r[o]=Xr(t[o],e[o],n):n.clone?r[o]=Li(e[o])?kL(e[o]):e[o]:r[o]=e[o])}),r}var EL={exports:{}},HQ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UQ=HQ,WQ=UQ;function SL(){}function CL(){}CL.resetWarningCache=SL;var VQ=function(){function t(r,o,i,s,l,a){if(a!==WQ){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:CL,resetWarningCache:SL};return n.PropTypes=n,n};EL.exports=VQ();var fx=EL.exports;function Zc(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}var vt={};/**
+`+i.stack}return{value:t,source:e,stack:o,digest:null}}function B1(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function _y(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var MZ=typeof WeakMap=="function"?WeakMap:Map;function UI(t,e,n){n=Hi(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Lg||(Lg=!0,zy=r),_y(t,e)},n}function WI(t,e,n){n=Hi(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var o=e.value;n.payload=function(){return r(o)},n.callback=function(){_y(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){_y(t,e),typeof r!="function"&&(zs===null?zs=new Set([this]):zs.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),n}function jT(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new MZ;var o=new Set;r.set(e,o)}else o=r.get(e),o===void 0&&(o=new Set,r.set(e,o));o.has(n)||(o.add(n),t=VZ.bind(null,t,e,n),e.then(t,t))}function GT(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function KT(t,e,n,r,o){return t.mode&1?(t.flags|=65536,t.lanes=o,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=Hi(-1,1),e.tag=2,Ps(n,e,1))),n.lanes|=1),t)}var OZ=Qi.ReactCurrentOwner,xr=!1;function nr(t,e,n,r){e.child=t===null?xI(e,null,n,r):Kc(e,t.child,n,r)}function YT(t,e,n,r,o){n=n.render;var i=e.ref;return Ac(e,o),r=qw(t,e,n,r,i,o),n=Zw(),t!==null&&!xr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Ki(t,e,o)):(Ot&&n&&zw(e),e.flags|=1,nr(t,e,r,o),e.child)}function XT(t,e,n,r,o){if(t===null){var i=n.type;return typeof i=="function"&&!ax(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=i,VI(t,e,i,r,o)):(t=Ip(n.type,null,r,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:lh,n(s,r)&&t.ref===e.ref)return Ki(t,e,o)}return e.flags|=1,t=Bs(i,r),t.ref=e.ref,t.return=e,e.child=t}function VI(t,e,n,r,o){if(t!==null){var i=t.memoizedProps;if(lh(i,r)&&t.ref===e.ref)if(xr=!1,e.pendingProps=r=i,(t.lanes&o)!==0)t.flags&131072&&(xr=!0);else return e.lanes=t.lanes,Ki(t,e,o)}return Ry(t,e,n,r,o)}function jI(t,e,n){var r=e.pendingProps,o=r.children,i=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Et(mc,Fr),Fr|=n;else{if(!(n&1073741824))return t=i!==null?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Et(mc,Fr),Fr|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Et(mc,Fr),Fr|=r}else i!==null?(r=i.baseLanes|n,e.memoizedState=null):r=n,Et(mc,Fr),Fr|=r;return nr(t,e,o,n),e.child}function GI(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function Ry(t,e,n,r,o){var i=Cr(n)?ol:Xn.current;return i=jc(e,i),Ac(e,o),n=qw(t,e,n,r,i,o),r=Zw(),t!==null&&!xr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Ki(t,e,o)):(Ot&&r&&zw(e),e.flags|=1,nr(t,e,n,o),e.child)}function qT(t,e,n,r,o){if(Cr(n)){var i=!0;Eg(e)}else i=!1;if(Ac(e,o),e.stateNode===null)Rp(t,e),bI(e,n,r),Ay(e,n,r,o),r=!0;else if(t===null){var s=e.stateNode,l=e.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=bo(u):(u=Cr(n)?ol:Xn.current,u=jc(e,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&HT(e,s,r,u),bs=!1;var h=e.memoizedState;s.state=h,_g(e,r,s,o),a=e.memoizedState,l!==r||h!==a||Sr.current||bs?(typeof c=="function"&&(Ty(e,n,c,r),a=e.memoizedState),(l=bs||BT(e,n,l,r,h,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{s=e.stateNode,vI(t,e),l=e.memoizedProps,u=e.type===e.elementType?l:Lo(e.type,l),s.props=u,d=e.pendingProps,h=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=bo(a):(a=Cr(n)?ol:Xn.current,a=jc(e,a));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||h!==a)&&HT(e,s,r,a),bs=!1,h=e.memoizedState,s.state=h,_g(e,r,s,o);var p=e.memoizedState;l!==d||h!==p||Sr.current||bs?(typeof f=="function"&&(Ty(e,n,f,r),p=e.memoizedState),(u=bs||BT(e,n,u,r,h,p,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,p,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,p,a)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=p),s.props=r,s.state=p,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),r=!1)}return My(t,e,n,r,i,o)}function My(t,e,n,r,o,i){GI(t,e);var s=(e.flags&128)!==0;if(!r&&!s)return o&&$T(e,n,!1),Ki(t,e,i);r=e.stateNode,OZ.current=e;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&s?(e.child=Kc(e,t.child,null,i),e.child=Kc(e,null,l,i)):nr(t,e,l,i),e.memoizedState=r.state,o&&$T(e,n,!0),e.child}function KI(t){var e=t.stateNode;e.pendingContext?NT(t,e.pendingContext,e.pendingContext!==e.context):e.context&&NT(t,e.context,!1),Gw(t,e.containerInfo)}function ZT(t,e,n,r,o){return Gc(),Bw(o),e.flags|=256,nr(t,e,n,r),e.child}var Oy={dehydrated:null,treeContext:null,retryLane:0};function Iy(t){return{baseLanes:t,cachePool:null,transitions:null}}function YI(t,e,n){var r=e.pendingProps,o=Pt.current,i=!1,s=(e.flags&128)!==0,l;if((l=s)||(l=t!==null&&t.memoizedState===null?!1:(o&2)!==0),l?(i=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(o|=1),Et(Pt,o&1),t===null)return Sy(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=r.children,t=r.fallback,i?(r=e.mode,i=e.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Hm(s,r,0,null),t=Xa(t,r,n,null),i.return=e,t.return=e,i.sibling=t,e.child=i,e.child.memoizedState=Iy(n),e.memoizedState=Oy,t):ex(e,s));if(o=t.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return IZ(t,e,s,r,l,o,n);if(i){i=r.fallback,s=e.mode,o=t.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&e.child!==o?(r=e.child,r.childLanes=0,r.pendingProps=a,e.deletions=null):(r=Bs(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Bs(l,i):(i=Xa(i,s,n,null),i.flags|=2),i.return=e,r.return=e,r.sibling=i,e.child=r,r=i,i=e.child,s=t.child.memoizedState,s=s===null?Iy(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=t.childLanes&~n,e.memoizedState=Oy,r}return i=t.child,t=i.sibling,r=Bs(i,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function ex(t,e){return e=Hm({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Kf(t,e,n,r){return r!==null&&Bw(r),Kc(e,t.child,null,n),t=ex(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function IZ(t,e,n,r,o,i,s){if(n)return e.flags&256?(e.flags&=-257,r=B1(Error(ne(422))),Kf(t,e,s,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(i=r.fallback,o=e.mode,r=Hm({mode:"visible",children:r.children},o,0,null),i=Xa(i,o,s,null),i.flags|=2,r.return=e,i.return=e,r.sibling=i,e.child=r,e.mode&1&&Kc(e,t.child,null,s),e.child.memoizedState=Iy(s),e.memoizedState=Oy,i);if(!(e.mode&1))return Kf(t,e,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(ne(419)),r=B1(i,r,void 0),Kf(t,e,s,r)}if(l=(s&t.childLanes)!==0,xr||l){if(r=kn,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Gi(t,o),Uo(r,t,o,-1))}return sx(),r=B1(Error(ne(421))),Kf(t,e,s,r)}return o.data==="$?"?(e.flags|=128,e.child=t.child,e=jZ.bind(null,t),o._reactRetry=e,null):(t=i.treeContext,Gr=Ds(o.nextSibling),Yr=e,Ot=!0,Do=null,t!==null&&(uo[ho++]=zi,uo[ho++]=Fi,uo[ho++]=il,zi=t.id,Fi=t.overflow,il=e),e=ex(e,r.children),e.flags|=4096,e)}function QT(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),Cy(t.return,e,n)}function H1(t,e,n,r,o){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function XI(t,e,n){var r=e.pendingProps,o=r.revealOrder,i=r.tail;if(nr(t,e,r.children,n),r=Pt.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&QT(t,n,e);else if(t.tag===19)QT(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Et(Pt,r),!(e.mode&1))e.memoizedState=null;else switch(o){case"forwards":for(n=e.child,o=null;n!==null;)t=n.alternate,t!==null&&Rg(t)===null&&(o=n),n=n.sibling;n=o,n===null?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),H1(e,!1,o,n,i);break;case"backwards":for(n=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&Rg(t)===null){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}H1(e,!0,n,null,i);break;case"together":H1(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Rp(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Ki(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),al|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(ne(153));if(e.child!==null){for(t=e.child,n=Bs(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Bs(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function LZ(t,e,n){switch(e.tag){case 3:KI(e),Gc();break;case 5:kI(e);break;case 1:Cr(e.type)&&Eg(e);break;case 4:Gw(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,o=e.memoizedProps.value;Et(Tg,r._currentValue),r._currentValue=o;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(Et(Pt,Pt.current&1),e.flags|=128,null):n&e.child.childLanes?YI(t,e,n):(Et(Pt,Pt.current&1),t=Ki(t,e,n),t!==null?t.sibling:null);Et(Pt,Pt.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return XI(t,e,n);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Et(Pt,Pt.current),r)break;return null;case 22:case 23:return e.lanes=0,jI(t,e,n)}return Ki(t,e,n)}var qI,Ly,ZI,QI;qI=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ly=function(){};ZI=function(t,e,n,r){var o=t.memoizedProps;if(o!==r){t=e.stateNode,Ha(ui.current);var i=null;switch(n){case"input":o=ty(t,o),r=ty(t,r),i=[];break;case"select":o=Ht({},o,{value:void 0}),r=Ht({},r,{value:void 0}),i=[];break;case"textarea":o=oy(t,o),r=oy(t,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=xg)}sy(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(th.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(th.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&At("scroll",t),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(e.updateQueue=u)&&(e.flags|=4)}};QI=function(t,e,n,r){n!==r&&(e.flags|=4)};function Nu(t,e){if(!Ot)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Un(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var o=t.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function NZ(t,e,n){var r=e.pendingProps;switch(Fw(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Un(e),null;case 1:return Cr(e.type)&&kg(),Un(e),null;case 3:return r=e.stateNode,Yc(),_t(Sr),_t(Xn),Yw(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(jf(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Do!==null&&(Hy(Do),Do=null))),Ly(t,e),Un(e),null;case 5:Kw(e);var o=Ha(fh.current);if(n=e.type,t!==null&&e.stateNode!=null)ZI(t,e,n,r,o),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(ne(166));return Un(e),null}if(t=Ha(ui.current),jf(e)){r=e.stateNode,n=e.type;var i=e.memoizedProps;switch(r[ri]=e,r[dh]=i,t=(e.mode&1)!==0,n){case"dialog":At("cancel",r),At("close",r);break;case"iframe":case"object":case"embed":At("load",r);break;case"video":case"audio":for(o=0;o<pd.length;o++)At(pd[o],r);break;case"source":At("error",r);break;case"img":case"image":case"link":At("error",r),At("load",r);break;case"details":At("toggle",r);break;case"input":aT(r,i),At("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},At("invalid",r);break;case"textarea":cT(r,i),At("invalid",r)}sy(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Vf(r.textContent,l,t),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Vf(r.textContent,l,t),o=["children",""+l]):th.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&At("scroll",r)}switch(n){case"input":Df(r),lT(r,i,!0);break;case"textarea":Df(r),uT(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=xg)}r=o,e.updateQueue=r,r!==null&&(e.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=CO(n)),t==="http://www.w3.org/1999/xhtml"?n==="script"?(t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[ri]=e,t[dh]=r,qI(t,e,!1,!1),e.stateNode=t;e:{switch(s=ay(n,r),n){case"dialog":At("cancel",t),At("close",t),o=r;break;case"iframe":case"object":case"embed":At("load",t),o=r;break;case"video":case"audio":for(o=0;o<pd.length;o++)At(pd[o],t);o=r;break;case"source":At("error",t),o=r;break;case"img":case"image":case"link":At("error",t),At("load",t),o=r;break;case"details":At("toggle",t),o=r;break;case"input":aT(t,r),o=ty(t,r),At("invalid",t);break;case"option":o=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},o=Ht({},r,{value:void 0}),At("invalid",t);break;case"textarea":cT(t,r),o=oy(t,r),At("invalid",t);break;default:o=r}sy(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?_O(t,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&TO(t,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&nh(t,a):typeof a=="number"&&nh(t,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(th.hasOwnProperty(i)?a!=null&&i==="onScroll"&&At("scroll",t):a!=null&&Sw(t,i,a,s))}switch(n){case"input":Df(t),lT(t,r,!1);break;case"textarea":Df(t),uT(t);break;case"option":r.value!=null&&t.setAttribute("value",""+qs(r.value));break;case"select":t.multiple=!!r.multiple,i=r.value,i!=null?Ec(t,!!r.multiple,i,!1):r.defaultValue!=null&&Ec(t,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(t.onclick=xg)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Un(e),null;case 6:if(t&&e.stateNode!=null)QI(t,e,t.memoizedProps,r);else{if(typeof r!="string"&&e.stateNode===null)throw Error(ne(166));if(n=Ha(fh.current),Ha(ui.current),jf(e)){if(r=e.stateNode,n=e.memoizedProps,r[ri]=e,(i=r.nodeValue!==n)&&(t=Yr,t!==null))switch(t.tag){case 3:Vf(r.nodeValue,n,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Vf(r.nodeValue,n,(t.mode&1)!==0)}i&&(e.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ri]=e,e.stateNode=r}return Un(e),null;case 13:if(_t(Pt),r=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Ot&&Gr!==null&&e.mode&1&&!(e.flags&128))gI(),Gc(),e.flags|=98560,i=!1;else if(i=jf(e),r!==null&&r.dehydrated!==null){if(t===null){if(!i)throw Error(ne(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(ne(317));i[ri]=e}else Gc(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Un(e),i=!1}else Do!==null&&(Hy(Do),Do=null),i=!0;if(!i)return e.flags&65536?e:null}return e.flags&128?(e.lanes=n,e):(r=r!==null,r!==(t!==null&&t.memoizedState!==null)&&r&&(e.child.flags|=8192,e.mode&1&&(t===null||Pt.current&1?un===0&&(un=3):sx())),e.updateQueue!==null&&(e.flags|=4),Un(e),null);case 4:return Yc(),Ly(t,e),t===null&&ch(e.stateNode.containerInfo),Un(e),null;case 10:return Ww(e.type._context),Un(e),null;case 17:return Cr(e.type)&&kg(),Un(e),null;case 19:if(_t(Pt),i=e.memoizedState,i===null)return Un(e),null;if(r=(e.flags&128)!==0,s=i.rendering,s===null)if(r)Nu(i,!1);else{if(un!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=Rg(t),s!==null){for(e.flags|=128,Nu(i,!1),r=s.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;n!==null;)i=n,t=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,t=s.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Et(Pt,Pt.current&1|2),e.child}t=t.sibling}i.tail!==null&&Yt()>qc&&(e.flags|=128,r=!0,Nu(i,!1),e.lanes=4194304)}else{if(!r)if(t=Rg(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Nu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ot)return Un(e),null}else 2*Yt()-i.renderingStartTime>qc&&n!==1073741824&&(e.flags|=128,r=!0,Nu(i,!1),e.lanes=4194304);i.isBackwards?(s.sibling=e.child,e.child=s):(n=i.last,n!==null?n.sibling=s:e.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Yt(),e.sibling=null,n=Pt.current,Et(Pt,r?n&1|2:n&1),e):(Un(e),null);case 22:case 23:return ix(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Fr&1073741824&&(Un(e),e.subtreeFlags&6&&(e.flags|=8192)):Un(e),null;case 24:return null;case 25:return null}throw Error(ne(156,e.tag))}function $Z(t,e){switch(Fw(e),e.tag){case 1:return Cr(e.type)&&kg(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Yc(),_t(Sr),_t(Xn),Yw(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Kw(e),null;case 13:if(_t(Pt),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(ne(340));Gc()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _t(Pt),null;case 4:return Yc(),null;case 10:return Ww(e.type._context),null;case 22:case 23:return ix(),null;case 24:return null;default:return null}}var Yf=!1,Kn=!1,DZ=typeof WeakSet=="function"?WeakSet:Set,pe=null;function gc(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){jt(t,e,r)}else n.current=null}function Ny(t,e,n){try{n()}catch(r){jt(t,e,r)}}var JT=!1;function PZ(t,e){if(vy=yg,t=nI(),Pw(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,d=t,h=null;t:for(;;){for(var f;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(f=d.firstChild)!==null;)h=d,d=f;for(;;){if(d===t)break t;if(h===n&&++u===o&&(l=s),h===i&&++c===r&&(a=s),(f=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=f}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(yy={focusedElem:t,selectionRange:n},yg=!1,pe=e;pe!==null;)if(e=pe,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,pe=t;else for(;pe!==null;){e=pe;try{var p=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,m=p.memoizedState,v=e.stateNode,y=v.getSnapshotBeforeUpdate(e.elementType===e.type?g:Lo(e.type,g),m);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=e.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ne(163))}}catch(w){jt(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,pe=t;break}pe=e.return}return p=JT,JT=!1,p}function Nd(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&t)===t){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ny(e,n,i)}o=o.next}while(o!==r)}}function Fm(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function $y(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function JI(t){var e=t.alternate;e!==null&&(t.alternate=null,JI(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[ri],delete e[dh],delete e[xy],delete e[bZ],delete e[wZ])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function eL(t){return t.tag===5||t.tag===3||t.tag===4}function eA(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||eL(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Dy(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=xg));else if(r!==4&&(t=t.child,t!==null))for(Dy(t,e,n),t=t.sibling;t!==null;)Dy(t,e,n),t=t.sibling}function Py(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(Py(t,e,n),t=t.sibling;t!==null;)Py(t,e,n),t=t.sibling}var On=null,No=!1;function ls(t,e,n){for(n=n.child;n!==null;)tL(t,e,n),n=n.sibling}function tL(t,e,n){if(ci&&typeof ci.onCommitFiberUnmount=="function")try{ci.onCommitFiberUnmount(Om,n)}catch{}switch(n.tag){case 5:Kn||gc(n,e);case 6:var r=On,o=No;On=null,ls(t,e,n),On=r,No=o,On!==null&&(No?(t=On,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):On.removeChild(n.stateNode));break;case 18:On!==null&&(No?(t=On,n=n.stateNode,t.nodeType===8?N1(t.parentNode,n):t.nodeType===1&&N1(t,n),sh(t)):N1(On,n.stateNode));break;case 4:r=On,o=No,On=n.stateNode.containerInfo,No=!0,ls(t,e,n),On=r,No=o;break;case 0:case 11:case 14:case 15:if(!Kn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Ny(n,e,s),o=o.next}while(o!==r)}ls(t,e,n);break;case 1:if(!Kn&&(gc(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){jt(n,e,l)}ls(t,e,n);break;case 21:ls(t,e,n);break;case 22:n.mode&1?(Kn=(r=Kn)||n.memoizedState!==null,ls(t,e,n),Kn=r):ls(t,e,n);break;default:ls(t,e,n)}}function tA(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new DZ),e.forEach(function(r){var o=GZ.bind(null,t,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ro(t,e){var n=e.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=t,s=e,l=s;e:for(;l!==null;){switch(l.tag){case 5:On=l.stateNode,No=!1;break e;case 3:On=l.stateNode.containerInfo,No=!0;break e;case 4:On=l.stateNode.containerInfo,No=!0;break e}l=l.return}if(On===null)throw Error(ne(160));tL(i,s,o),On=null,No=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){jt(o,e,u)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)nL(e,t),e=e.sibling}function nL(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Ro(e,t),Yo(t),r&4){try{Nd(3,t,t.return),Fm(3,t)}catch(g){jt(t,t.return,g)}try{Nd(5,t,t.return)}catch(g){jt(t,t.return,g)}}break;case 1:Ro(e,t),Yo(t),r&512&&n!==null&&gc(n,n.return);break;case 5:if(Ro(e,t),Yo(t),r&512&&n!==null&&gc(n,n.return),t.flags&32){var o=t.stateNode;try{nh(o,"")}catch(g){jt(t,t.return,g)}}if(r&4&&(o=t.stateNode,o!=null)){var i=t.memoizedProps,s=n!==null?n.memoizedProps:i,l=t.type,a=t.updateQueue;if(t.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&EO(o,i),ay(l,s);var u=ay(l,i);for(s=0;s<a.length;s+=2){var c=a[s],d=a[s+1];c==="style"?_O(o,d):c==="dangerouslySetInnerHTML"?TO(o,d):c==="children"?nh(o,d):Sw(o,c,d,u)}switch(l){case"input":ny(o,i);break;case"textarea":SO(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?Ec(o,!!i.multiple,f,!1):h!==!!i.multiple&&(i.defaultValue!=null?Ec(o,!!i.multiple,i.defaultValue,!0):Ec(o,!!i.multiple,i.multiple?[]:"",!1))}o[dh]=i}catch(g){jt(t,t.return,g)}}break;case 6:if(Ro(e,t),Yo(t),r&4){if(t.stateNode===null)throw Error(ne(162));o=t.stateNode,i=t.memoizedProps;try{o.nodeValue=i}catch(g){jt(t,t.return,g)}}break;case 3:if(Ro(e,t),Yo(t),r&4&&n!==null&&n.memoizedState.isDehydrated)try{sh(e.containerInfo)}catch(g){jt(t,t.return,g)}break;case 4:Ro(e,t),Yo(t);break;case 13:Ro(e,t),Yo(t),o=t.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(rx=Yt())),r&4&&tA(t);break;case 22:if(c=n!==null&&n.memoizedState!==null,t.mode&1?(Kn=(u=Kn)||c,Ro(e,t),Kn=u):Ro(e,t),Yo(t),r&8192){if(u=t.memoizedState!==null,(t.stateNode.isHidden=u)&&!c&&t.mode&1)for(pe=t,c=t.child;c!==null;){for(d=pe=c;pe!==null;){switch(h=pe,f=h.child,h.tag){case 0:case 11:case 14:case 15:Nd(4,h,h.return);break;case 1:gc(h,h.return);var p=h.stateNode;if(typeof p.componentWillUnmount=="function"){r=h,n=h.return;try{e=r,p.props=e.memoizedProps,p.state=e.memoizedState,p.componentWillUnmount()}catch(g){jt(r,n,g)}}break;case 5:gc(h,h.return);break;case 22:if(h.memoizedState!==null){rA(d);continue}}f!==null?(f.return=h,pe=f):rA(d)}c=c.sibling}e:for(c=null,d=t;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=AO("display",s))}catch(g){jt(t,t.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){jt(t,t.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===t)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ro(e,t),Yo(t),r&4&&tA(t);break;case 21:break;default:Ro(e,t),Yo(t)}}function Yo(t){var e=t.flags;if(e&2){try{e:{for(var n=t.return;n!==null;){if(eL(n)){var r=n;break e}n=n.return}throw Error(ne(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(nh(o,""),r.flags&=-33);var i=eA(t);Py(t,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=eA(t);Dy(t,l,s);break;default:throw Error(ne(161))}}catch(a){jt(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function zZ(t,e,n){pe=t,rL(t)}function rL(t,e,n){for(var r=(t.mode&1)!==0;pe!==null;){var o=pe,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Yf;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Kn;l=Yf;var u=Kn;if(Yf=s,(Kn=a)&&!u)for(pe=o;pe!==null;)s=pe,a=s.child,s.tag===22&&s.memoizedState!==null?oA(o):a!==null?(a.return=s,pe=a):oA(o);for(;i!==null;)pe=i,rL(i),i=i.sibling;pe=o,Yf=l,Kn=u}nA(t)}else o.subtreeFlags&8772&&i!==null?(i.return=o,pe=i):nA(t)}}function nA(t){for(;pe!==null;){var e=pe;if(e.flags&8772){var n=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Kn||Fm(5,e);break;case 1:var r=e.stateNode;if(e.flags&4&&!Kn)if(n===null)r.componentDidMount();else{var o=e.elementType===e.type?n.memoizedProps:Lo(e.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;i!==null&&FT(e,i,r);break;case 3:var s=e.updateQueue;if(s!==null){if(n=null,e.child!==null)switch(e.child.tag){case 5:n=e.child.stateNode;break;case 1:n=e.child.stateNode}FT(e,s,n)}break;case 5:var l=e.stateNode;if(n===null&&e.flags&4){n=l;var a=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var u=e.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&sh(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ne(163))}Kn||e.flags&512&&$y(e)}catch(h){jt(e,e.return,h)}}if(e===t){pe=null;break}if(n=e.sibling,n!==null){n.return=e.return,pe=n;break}pe=e.return}}function rA(t){for(;pe!==null;){var e=pe;if(e===t){pe=null;break}var n=e.sibling;if(n!==null){n.return=e.return,pe=n;break}pe=e.return}}function oA(t){for(;pe!==null;){var e=pe;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{Fm(4,e)}catch(a){jt(e,n,a)}break;case 1:var r=e.stateNode;if(typeof r.componentDidMount=="function"){var o=e.return;try{r.componentDidMount()}catch(a){jt(e,o,a)}}var i=e.return;try{$y(e)}catch(a){jt(e,i,a)}break;case 5:var s=e.return;try{$y(e)}catch(a){jt(e,s,a)}}}catch(a){jt(e,e.return,a)}if(e===t){pe=null;break}var l=e.sibling;if(l!==null){l.return=e.return,pe=l;break}pe=e.return}}var FZ=Math.ceil,Ig=Qi.ReactCurrentDispatcher,tx=Qi.ReactCurrentOwner,go=Qi.ReactCurrentBatchConfig,Ye=0,kn=null,en=null,$n=0,Fr=0,mc=la(0),un=0,vh=null,al=0,Bm=0,nx=0,$d=null,yr=null,rx=0,qc=1/0,Mi=null,Lg=!1,zy=null,zs=null,Xf=!1,As=null,Ng=0,Dd=0,Fy=null,Mp=-1,Op=0;function sr(){return Ye&6?Yt():Mp!==-1?Mp:Mp=Yt()}function Fs(t){return t.mode&1?Ye&2&&$n!==0?$n&-$n:kZ.transition!==null?(Op===0&&(Op=BO()),Op):(t=ft,t!==0||(t=window.event,t=t===void 0?16:KO(t.type)),t):1}function Uo(t,e,n,r){if(50<Dd)throw Dd=0,Fy=null,Error(ne(185));ef(t,n,r),(!(Ye&2)||t!==kn)&&(t===kn&&(!(Ye&2)&&(Bm|=n),un===4&&ks(t,$n)),Tr(t,r),n===1&&Ye===0&&!(e.mode&1)&&(qc=Yt()+500,Dm&&ca()))}function Tr(t,e){var n=t.callbackNode;kq(t,e);var r=vg(t,t===kn?$n:0);if(r===0)n!==null&&fT(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(n!=null&&fT(n),e===1)t.tag===0?xZ(iA.bind(null,t)):hI(iA.bind(null,t)),vZ(function(){!(Ye&6)&&ca()}),n=null;else{switch(HO(r)){case 1:n=Rw;break;case 4:n=zO;break;case 16:n=mg;break;case 536870912:n=FO;break;default:n=mg}n=dL(n,oL.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function oL(t,e){if(Mp=-1,Op=0,Ye&6)throw Error(ne(327));var n=t.callbackNode;if(_c()&&t.callbackNode!==n)return null;var r=vg(t,t===kn?$n:0);if(r===0)return null;if(r&30||r&t.expiredLanes||e)e=$g(t,r);else{e=r;var o=Ye;Ye|=2;var i=sL();(kn!==t||$n!==e)&&(Mi=null,qc=Yt()+500,Ya(t,e));do try{UZ();break}catch(l){iL(t,l)}while(1);Uw(),Ig.current=i,Ye=o,en!==null?e=0:(kn=null,$n=0,e=un)}if(e!==0){if(e===2&&(o=hy(t),o!==0&&(r=o,e=By(t,o))),e===1)throw n=vh,Ya(t,0),ks(t,r),Tr(t,Yt()),n;if(e===6)ks(t,r);else{if(o=t.current.alternate,!(r&30)&&!BZ(o)&&(e=$g(t,r),e===2&&(i=hy(t),i!==0&&(r=i,e=By(t,i))),e===1))throw n=vh,Ya(t,0),ks(t,r),Tr(t,Yt()),n;switch(t.finishedWork=o,t.finishedLanes=r,e){case 0:case 1:throw Error(ne(345));case 2:Ca(t,yr,Mi);break;case 3:if(ks(t,r),(r&130023424)===r&&(e=rx+500-Yt(),10<e)){if(vg(t,0)!==0)break;if(o=t.suspendedLanes,(o&r)!==r){sr(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=wy(Ca.bind(null,t,yr,Mi),e);break}Ca(t,yr,Mi);break;case 4:if(ks(t,r),(r&4194240)===r)break;for(e=t.eventTimes,o=-1;0<r;){var s=31-Ho(r);i=1<<s,s=e[s],s>o&&(o=s),r&=~i}if(r=o,r=Yt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*FZ(r/1960))-r,10<r){t.timeoutHandle=wy(Ca.bind(null,t,yr,Mi),r);break}Ca(t,yr,Mi);break;case 5:Ca(t,yr,Mi);break;default:throw Error(ne(329))}}}return Tr(t,Yt()),t.callbackNode===n?oL.bind(null,t):null}function By(t,e){var n=$d;return t.current.memoizedState.isDehydrated&&(Ya(t,e).flags|=256),t=$g(t,e),t!==2&&(e=yr,yr=n,e!==null&&Hy(e)),t}function Hy(t){yr===null?yr=t:yr.push.apply(yr,t)}function BZ(t){for(var e=t;;){if(e.flags&16384){var n=e.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!jo(i(),o))return!1}catch{return!1}}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ks(t,e){for(e&=~nx,e&=~Bm,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-Ho(e),r=1<<n;t[n]=-1,e&=~r}}function iA(t){if(Ye&6)throw Error(ne(327));_c();var e=vg(t,0);if(!(e&1))return Tr(t,Yt()),null;var n=$g(t,e);if(t.tag!==0&&n===2){var r=hy(t);r!==0&&(e=r,n=By(t,r))}if(n===1)throw n=vh,Ya(t,0),ks(t,e),Tr(t,Yt()),n;if(n===6)throw Error(ne(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Ca(t,yr,Mi),Tr(t,Yt()),null}function ox(t,e){var n=Ye;Ye|=1;try{return t(e)}finally{Ye=n,Ye===0&&(qc=Yt()+500,Dm&&ca())}}function ll(t){As!==null&&As.tag===0&&!(Ye&6)&&_c();var e=Ye;Ye|=1;var n=go.transition,r=ft;try{if(go.transition=null,ft=1,t)return t()}finally{ft=r,go.transition=n,Ye=e,!(Ye&6)&&ca()}}function ix(){Fr=mc.current,_t(mc)}function Ya(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(n!==-1&&(t.timeoutHandle=-1,mZ(n)),en!==null)for(n=en.return;n!==null;){var r=n;switch(Fw(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&kg();break;case 3:Yc(),_t(Sr),_t(Xn),Yw();break;case 5:Kw(r);break;case 4:Yc();break;case 13:_t(Pt);break;case 19:_t(Pt);break;case 10:Ww(r.type._context);break;case 22:case 23:ix()}n=n.return}if(kn=t,en=t=Bs(t.current,null),$n=Fr=e,un=0,vh=null,nx=Bm=al=0,yr=$d=null,Ba!==null){for(e=0;e<Ba.length;e++)if(n=Ba[e],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Ba=null}return t}function iL(t,e){do{var n=en;try{if(Uw(),Ap.current=Og,Mg){for(var r=Ft.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Mg=!1}if(sl=0,yn=ln=Ft=null,Ld=!1,ph=0,tx.current=null,n===null||n.return===null){un=1,vh=e,en=null;break}e:{var i=t,s=n.return,l=n,a=e;if(e=$n,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=GT(s);if(f!==null){f.flags&=-257,KT(f,s,l,i,e),f.mode&1&&jT(i,u,e),e=f,a=u;var p=e.updateQueue;if(p===null){var g=new Set;g.add(a),e.updateQueue=g}else p.add(a);break e}else{if(!(e&1)){jT(i,u,e),sx();break e}a=Error(ne(426))}}else if(Ot&&l.mode&1){var m=GT(s);if(m!==null){!(m.flags&65536)&&(m.flags|=256),KT(m,s,l,i,e),Bw(Xc(a,l));break e}}i=a=Xc(a,l),un!==4&&(un=2),$d===null?$d=[i]:$d.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,e&=-e,i.lanes|=e;var v=UI(i,a,e);zT(i,v);break e;case 1:l=a;var y=i.type,b=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(zs===null||!zs.has(b)))){i.flags|=65536,e&=-e,i.lanes|=e;var w=WI(i,l,e);zT(i,w);break e}}i=i.return}while(i!==null)}lL(n)}catch(k){e=k,en===n&&n!==null&&(en=n=n.return);continue}break}while(1)}function sL(){var t=Ig.current;return Ig.current=Og,t===null?Og:t}function sx(){(un===0||un===3||un===2)&&(un=4),kn===null||!(al&268435455)&&!(Bm&268435455)||ks(kn,$n)}function $g(t,e){var n=Ye;Ye|=2;var r=sL();(kn!==t||$n!==e)&&(Mi=null,Ya(t,e));do try{HZ();break}catch(o){iL(t,o)}while(1);if(Uw(),Ye=n,Ig.current=r,en!==null)throw Error(ne(261));return kn=null,$n=0,un}function HZ(){for(;en!==null;)aL(en)}function UZ(){for(;en!==null&&!fq();)aL(en)}function aL(t){var e=uL(t.alternate,t,Fr);t.memoizedProps=t.pendingProps,e===null?lL(t):en=e,tx.current=null}function lL(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&32768){if(n=$Z(n,e),n!==null){n.flags&=32767,en=n;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{un=6,en=null;return}}else if(n=NZ(n,e,Fr),n!==null){en=n;return}if(e=e.sibling,e!==null){en=e;return}en=e=t}while(e!==null);un===0&&(un=5)}function Ca(t,e,n){var r=ft,o=go.transition;try{go.transition=null,ft=1,WZ(t,e,n,r)}finally{go.transition=o,ft=r}return null}function WZ(t,e,n,r){do _c();while(As!==null);if(Ye&6)throw Error(ne(327));n=t.finishedWork;var o=t.finishedLanes;if(n===null)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(ne(177));t.callbackNode=null,t.callbackPriority=0;var i=n.lanes|n.childLanes;if(Eq(t,i),t===kn&&(en=kn=null,$n=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Xf||(Xf=!0,dL(mg,function(){return _c(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=go.transition,go.transition=null;var s=ft;ft=1;var l=Ye;Ye|=4,tx.current=null,PZ(t,n),nL(n,t),cZ(yy),yg=!!vy,yy=vy=null,t.current=n,zZ(n),pq(),Ye=l,ft=s,go.transition=i}else t.current=n;if(Xf&&(Xf=!1,As=t,Ng=o),i=t.pendingLanes,i===0&&(zs=null),vq(n.stateNode),Tr(t,Yt()),e!==null)for(r=t.onRecoverableError,n=0;n<e.length;n++)o=e[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Lg)throw Lg=!1,t=zy,zy=null,t;return Ng&1&&t.tag!==0&&_c(),i=t.pendingLanes,i&1?t===Fy?Dd++:(Dd=0,Fy=t):Dd=0,ca(),null}function _c(){if(As!==null){var t=HO(Ng),e=go.transition,n=ft;try{if(go.transition=null,ft=16>t?16:t,As===null)var r=!1;else{if(t=As,As=null,Ng=0,Ye&6)throw Error(ne(331));var o=Ye;for(Ye|=4,pe=t.current;pe!==null;){var i=pe,s=i.child;if(pe.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(pe=u;pe!==null;){var c=pe;switch(c.tag){case 0:case 11:case 15:Nd(8,c,i)}var d=c.child;if(d!==null)d.return=c,pe=d;else for(;pe!==null;){c=pe;var h=c.sibling,f=c.return;if(JI(c),c===u){pe=null;break}if(h!==null){h.return=f,pe=h;break}pe=f}}}var p=i.alternate;if(p!==null){var g=p.child;if(g!==null){p.child=null;do{var m=g.sibling;g.sibling=null,g=m}while(g!==null)}}pe=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,pe=s;else e:for(;pe!==null;){if(i=pe,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Nd(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,pe=v;break e}pe=i.return}}var y=t.current;for(pe=y;pe!==null;){s=pe;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,pe=b;else e:for(s=y;pe!==null;){if(l=pe,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Fm(9,l)}}catch(k){jt(l,l.return,k)}if(l===s){pe=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,pe=w;break e}pe=l.return}}if(Ye=o,ca(),ci&&typeof ci.onPostCommitFiberRoot=="function")try{ci.onPostCommitFiberRoot(Om,t)}catch{}r=!0}return r}finally{ft=n,go.transition=e}}return!1}function sA(t,e,n){e=Xc(n,e),e=UI(t,e,1),t=Ps(t,e,1),e=sr(),t!==null&&(ef(t,1,e),Tr(t,e))}function jt(t,e,n){if(t.tag===3)sA(t,t,n);else for(;e!==null;){if(e.tag===3){sA(e,t,n);break}else if(e.tag===1){var r=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(zs===null||!zs.has(r))){t=Xc(n,t),t=WI(e,t,1),e=Ps(e,t,1),t=sr(),e!==null&&(ef(e,1,t),Tr(e,t));break}}e=e.return}}function VZ(t,e,n){var r=t.pingCache;r!==null&&r.delete(e),e=sr(),t.pingedLanes|=t.suspendedLanes&n,kn===t&&($n&n)===n&&(un===4||un===3&&($n&130023424)===$n&&500>Yt()-rx?Ya(t,0):nx|=n),Tr(t,e)}function cL(t,e){e===0&&(t.mode&1?(e=Ff,Ff<<=1,!(Ff&130023424)&&(Ff=4194304)):e=1);var n=sr();t=Gi(t,e),t!==null&&(ef(t,e,n),Tr(t,n))}function jZ(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),cL(t,n)}function GZ(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,o=t.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(ne(314))}r!==null&&r.delete(e),cL(t,n)}var uL;uL=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Sr.current)xr=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return xr=!1,LZ(t,e,n);xr=!!(t.flags&131072)}else xr=!1,Ot&&e.flags&1048576&&fI(e,Cg,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Rp(t,e),t=e.pendingProps;var o=jc(e,Xn.current);Ac(e,n),o=qw(null,e,r,t,o,n);var i=Zw();return e.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Cr(r)?(i=!0,Eg(e)):i=!1,e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jw(e),o.updater=Pm,e.stateNode=o,o._reactInternals=e,Ay(e,r,t,n),e=My(null,e,r,!0,i,n)):(e.tag=0,Ot&&i&&zw(e),nr(null,e,o,n),e=e.child),e;case 16:r=e.elementType;e:{switch(Rp(t,e),t=e.pendingProps,o=r._init,r=o(r._payload),e.type=r,o=e.tag=YZ(r),t=Lo(r,t),o){case 0:e=Ry(null,e,r,t,n);break e;case 1:e=qT(null,e,r,t,n);break e;case 11:e=YT(null,e,r,t,n);break e;case 14:e=XT(null,e,r,Lo(r.type,t),n);break e}throw Error(ne(306,r,""))}return e;case 0:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),Ry(t,e,r,o,n);case 1:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),qT(t,e,r,o,n);case 3:e:{if(KI(e),t===null)throw Error(ne(387));r=e.pendingProps,i=e.memoizedState,o=i.element,vI(t,e),_g(e,r,null,n);var s=e.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){o=Xc(Error(ne(423)),e),e=ZT(t,e,r,n,o);break e}else if(r!==o){o=Xc(Error(ne(424)),e),e=ZT(t,e,r,n,o);break e}else for(Gr=Ds(e.stateNode.containerInfo.firstChild),Yr=e,Ot=!0,Do=null,n=xI(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gc(),r===o){e=Ki(t,e,n);break e}nr(t,e,r,n)}e=e.child}return e;case 5:return kI(e),t===null&&Sy(e),r=e.type,o=e.pendingProps,i=t!==null?t.memoizedProps:null,s=o.children,by(r,o)?s=null:i!==null&&by(r,i)&&(e.flags|=32),GI(t,e),nr(t,e,s,n),e.child;case 6:return t===null&&Sy(e),null;case 13:return YI(t,e,n);case 4:return Gw(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Kc(e,null,r,n):nr(t,e,r,n),e.child;case 11:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),YT(t,e,r,o,n);case 7:return nr(t,e,e.pendingProps,n),e.child;case 8:return nr(t,e,e.pendingProps.children,n),e.child;case 12:return nr(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,o=e.pendingProps,i=e.memoizedProps,s=o.value,Et(Tg,r._currentValue),r._currentValue=s,i!==null)if(jo(i.value,s)){if(i.children===o.children&&!Sr.current){e=Ki(t,e,n);break e}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Hi(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Cy(i.return,n,e),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===e.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(ne(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Cy(s,n,e),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}nr(t,e,o.children,n),e=e.child}return e;case 9:return o=e.type,r=e.pendingProps.children,Ac(e,n),o=bo(o),r=r(o),e.flags|=1,nr(t,e,r,n),e.child;case 14:return r=e.type,o=Lo(r,e.pendingProps),o=Lo(r.type,o),XT(t,e,r,o,n);case 15:return VI(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Lo(r,o),Rp(t,e),e.tag=1,Cr(r)?(t=!0,Eg(e)):t=!1,Ac(e,n),bI(e,r,o),Ay(e,r,o,n),My(null,e,r,!0,t,n);case 19:return XI(t,e,n);case 22:return jI(t,e,n)}throw Error(ne(156,e.tag))};function dL(t,e){return PO(t,e)}function KZ(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fo(t,e,n,r){return new KZ(t,e,n,r)}function ax(t){return t=t.prototype,!(!t||!t.isReactComponent)}function YZ(t){if(typeof t=="function")return ax(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Tw)return 11;if(t===Aw)return 14}return 2}function Bs(t,e){var n=t.alternate;return n===null?(n=fo(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Ip(t,e,n,r,o,i){var s=2;if(r=t,typeof t=="function")ax(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case sc:return Xa(n.children,o,i,e);case Cw:s=8,o|=8;break;case Z0:return t=fo(12,n,e,o|2),t.elementType=Z0,t.lanes=i,t;case Q0:return t=fo(13,n,e,o),t.elementType=Q0,t.lanes=i,t;case J0:return t=fo(19,n,e,o),t.elementType=J0,t.lanes=i,t;case wO:return Hm(n,o,i,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case yO:s=10;break e;case bO:s=9;break e;case Tw:s=11;break e;case Aw:s=14;break e;case ys:s=16,r=null;break e}throw Error(ne(130,t==null?t:typeof t,""))}return e=fo(s,n,e,o),e.elementType=t,e.type=r,e.lanes=i,e}function Xa(t,e,n,r){return t=fo(7,t,r,e),t.lanes=n,t}function Hm(t,e,n,r){return t=fo(22,t,r,e),t.elementType=wO,t.lanes=n,t.stateNode={isHidden:!1},t}function U1(t,e,n){return t=fo(6,t,null,e),t.lanes=n,t}function W1(t,e,n){return e=fo(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function XZ(t,e,n,r,o){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=E1(0),this.expirationTimes=E1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=E1(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function lx(t,e,n,r,o,i,s,l,a){return t=new XZ(t,e,n,l,a),e===1?(e=1,i===!0&&(e|=8)):e=0,i=fo(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jw(i),t}function qZ(t,e,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ic,key:r==null?null:""+r,children:t,containerInfo:e,implementation:n}}function hL(t){if(!t)return Zs;t=t._reactInternals;e:{if(Sl(t)!==t||t.tag!==1)throw Error(ne(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Cr(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(ne(171))}if(t.tag===1){var n=t.type;if(Cr(n))return dI(t,n,e)}return e}function fL(t,e,n,r,o,i,s,l,a){return t=lx(n,r,!0,t,o,i,s,l,a),t.context=hL(null),n=t.current,r=sr(),o=Fs(n),i=Hi(r,o),i.callback=e??null,Ps(n,i,o),t.current.lanes=o,ef(t,o,r),Tr(t,r),t}function Um(t,e,n,r){var o=e.current,i=sr(),s=Fs(o);return n=hL(n),e.context===null?e.context=n:e.pendingContext=n,e=Hi(i,s),e.payload={element:t},r=r===void 0?null:r,r!==null&&(e.callback=r),t=Ps(o,e,s),t!==null&&(Uo(t,o,s,i),Tp(t,o,s)),s}function Dg(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function aA(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function cx(t,e){aA(t,e),(t=t.alternate)&&aA(t,e)}function ZZ(){return null}var pL=typeof reportError=="function"?reportError:function(t){console.error(t)};function ux(t){this._internalRoot=t}Wm.prototype.render=ux.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(ne(409));Um(t,e,null,null)};Wm.prototype.unmount=ux.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;ll(function(){Um(null,t,null,null)}),e[ji]=null}};function Wm(t){this._internalRoot=t}Wm.prototype.unstable_scheduleHydration=function(t){if(t){var e=VO();t={blockedOn:null,target:t,priority:e};for(var n=0;n<xs.length&&e!==0&&e<xs[n].priority;n++);xs.splice(n,0,t),n===0&&GO(t)}};function dx(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Vm(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function lA(){}function QZ(t,e,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Dg(s);i.call(u)}}var s=fL(e,r,t,0,null,!1,!1,"",lA);return t._reactRootContainer=s,t[ji]=s.current,ch(t.nodeType===8?t.parentNode:t),ll(),s}for(;o=t.lastChild;)t.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Dg(a);l.call(u)}}var a=lx(t,0,!1,null,null,!1,!1,"",lA);return t._reactRootContainer=a,t[ji]=a.current,ch(t.nodeType===8?t.parentNode:t),ll(function(){Um(e,a,n,r)}),a}function jm(t,e,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=Dg(s);l.call(a)}}Um(e,s,t,o)}else s=QZ(n,e,t,o,r);return Dg(s)}UO=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=fd(e.pendingLanes);n!==0&&(Mw(e,n|1),Tr(e,Yt()),!(Ye&6)&&(qc=Yt()+500,ca()))}break;case 13:ll(function(){var r=Gi(t,1);if(r!==null){var o=sr();Uo(r,t,1,o)}}),cx(t,1)}};Ow=function(t){if(t.tag===13){var e=Gi(t,134217728);if(e!==null){var n=sr();Uo(e,t,134217728,n)}cx(t,134217728)}};WO=function(t){if(t.tag===13){var e=Fs(t),n=Gi(t,e);if(n!==null){var r=sr();Uo(n,t,e,r)}cx(t,e)}};VO=function(){return ft};jO=function(t,e){var n=ft;try{return ft=t,e()}finally{ft=n}};cy=function(t,e,n){switch(e){case"input":if(ny(t,n),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var o=$m(r);if(!o)throw Error(ne(90));kO(r),ny(r,o)}}}break;case"textarea":SO(t,n);break;case"select":e=n.value,e!=null&&Ec(t,!!n.multiple,e,!1)}};OO=ox;IO=ll;var JZ={usingClientEntryPoint:!1,Events:[nf,uc,$m,RO,MO,ox]},$u={findFiberByHostInstance:Fa,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},eQ={bundleType:$u.bundleType,version:$u.version,rendererPackageName:$u.rendererPackageName,rendererConfig:$u.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Qi.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=$O(t),t===null?null:t.stateNode},findFiberByHostInstance:$u.findFiberByHostInstance||ZZ,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qf.isDisabled&&qf.supportsFiber)try{Om=qf.inject(eQ),ci=qf}catch{}}to.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=JZ;to.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!dx(e))throw Error(ne(200));return qZ(t,e,null,n)};to.createRoot=function(t,e){if(!dx(t))throw Error(ne(299));var n=!1,r="",o=pL;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onRecoverableError!==void 0&&(o=e.onRecoverableError)),e=lx(t,1,!1,null,null,n,!1,r,o),t[ji]=e.current,ch(t.nodeType===8?t.parentNode:t),new ux(e)};to.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(ne(188)):(t=Object.keys(t).join(","),Error(ne(268,t)));return t=$O(e),t=t===null?null:t.stateNode,t};to.flushSync=function(t){return ll(t)};to.hydrate=function(t,e,n){if(!Vm(e))throw Error(ne(200));return jm(null,t,e,!0,n)};to.hydrateRoot=function(t,e,n){if(!dx(t))throw Error(ne(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=pL;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),e=fL(e,null,t,1,n??null,o,!1,i,s),t[ji]=e.current,ch(t),r)for(t=0;t<r.length;t++)n=r[t],o=n._getVersion,o=o(n._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,o]:e.mutableSourceEagerHydrationData.push(n,o);return new Wm(e)};to.render=function(t,e,n){if(!Vm(e))throw Error(ne(200));return jm(null,t,e,!1,n)};to.unmountComponentAtNode=function(t){if(!Vm(t))throw Error(ne(40));return t._reactRootContainer?(ll(function(){jm(null,null,t,!1,function(){t._reactRootContainer=null,t[ji]=null})}),!0):!1};to.unstable_batchedUpdates=ox;to.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Vm(n))throw Error(ne(200));if(t==null||t._reactInternals===void 0)throw Error(ne(38));return jm(t,e,n,!1,r)};to.version="18.2.0-next-9e3b772b8-20220608";function gL(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gL)}catch(t){console.error(t)}}gL(),fO.exports=to;var of=fO.exports;const Zf=Ko(of);var tQ=Object.defineProperty,nQ=Object.getOwnPropertyDescriptor,rQ=(t,e,n,r)=>{for(var o=r>1?void 0:r?nQ(e,n):e,i=t.length-1,s;i>=0;i--)(s=t[i])&&(o=(r?s(e,n,o):s(o))||o);return r&&o&&tQ(e,n,o),o},mL=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},xe=(t,e,n)=>(mL(t,e,"read from private field"),n?n.call(t):e.get(t)),zr=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Dr=(t,e,n,r)=>(mL(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),gd,oQ=class{constructor(){this.portals=new Map,zr(this,gd,xm()),this.on=t=>xe(this,gd).on("update",t),this.once=t=>{const e=xe(this,gd).on("update",n=>{e(),t(n)});return e}}update(){xe(this,gd).emit("update",this.portals)}render({Component:t,container:e}){const n=this.portals.get(e);this.portals.set(e,{Component:t,key:(n==null?void 0:n.key)??Ic()}),this.update()}forceUpdate(){for(const[t,{Component:e}]of this.portals)this.portals.set(t,{Component:e,key:Ic()})}remove(t){this.portals.delete(t),this.update()}};gd=new WeakMap;var iQ=t=>{const{portals:e}=t;return ee.createElement(ee.Fragment,null,e.map(([n,{Component:r,key:o}])=>of.createPortal(ee.createElement(r,null),n,o)))};function sQ(t){const[e,n]=P.useState(()=>Array.from(t.portals.entries()));return P.useEffect(()=>(n(Array.from(t.portals.entries())),t.on(r=>{n(Array.from(r.entries()))})),[t]),P.useMemo(()=>e,[e])}var Dt,md,Ta,vd,Lp,yd,ec,bd,Np,Ai,tr,Uy,vL=class{constructor({getPosition:t,node:e,portalContainer:n,view:r,ReactComponent:o,options:i}){zr(this,Dt,void 0),zr(this,md,[]),zr(this,Ta,void 0),zr(this,vd,void 0),zr(this,Lp,void 0),zr(this,yd,void 0),zr(this,ec,void 0),zr(this,bd,!1),zr(this,Np,void 0),zr(this,Ai,void 0),zr(this,tr,void 0),zr(this,Uy,a=>{a&&(we(xe(this,Ai),{code:re.REACT_NODE_VIEW,message:`You have applied a ref to a node view provided for '${xe(this,Dt).type.name}' which doesn't support content.`}),a.append(xe(this,Ai)))}),this.Component=()=>{const a=xe(this,Lp);return we(a,{code:re.REACT_NODE_VIEW,message:`The custom react node view provided for ${xe(this,Dt).type.name} doesn't have a valid ReactComponent`}),ee.createElement(a,{updateAttributes:this.updateAttributes,selected:this.selected,view:xe(this,Ta),getPosition:xe(this,yd),node:xe(this,Dt),forwardRef:xe(this,Uy),decorations:xe(this,md)})},this.updateAttributes=a=>{if(!xe(this,Ta).editable)return;const u=xe(this,yd).call(this);if(u==null)return;const c=xe(this,Ta).state.tr.setNodeMarkup(u,void 0,{...xe(this,Dt).attrs,...a});xe(this,Ta).dispatch(c)},we(tt(t),{message:"You are attempting to use a node view for a mark type. This is not supported yet. Please check your configuration."}),Dr(this,Dt,e),Dr(this,Ta,r),Dr(this,vd,n),Dr(this,Lp,o),Dr(this,yd,t),Dr(this,ec,i),Dr(this,tr,this.createDom());const{contentDOM:s,wrapper:l}=this.createContentDom()??{};Dr(this,Np,s??void 0),Dr(this,Ai,l),xe(this,Ai)&&xe(this,tr).append(xe(this,Ai)),this.setDomAttributes(xe(this,Dt),xe(this,tr)),this.Component.displayName=fR(`${xe(this,Dt).type.name}NodeView`),this.renderComponent()}static create(t){const{portalContainer:e,ReactComponent:n,options:r}=t;return(o,i,s)=>new vL({options:r,node:o,view:i,getPosition:s,portalContainer:e,ReactComponent:n})}get selected(){return xe(this,bd)}get contentDOM(){return xe(this,Np)}get dom(){return xe(this,tr)}renderComponent(){xe(this,vd).render({Component:this.Component,container:xe(this,tr)})}createDom(){const{defaultBlockNode:t,defaultInlineNode:e}=xe(this,ec),n=xe(this,Dt).isInline?document.createElement(e):document.createElement(t);return n.classList.add(`${aS(xe(this,Dt).type.name)}-node-view-wrapper`),n}createContentDom(){var t,e;if(xe(this,Dt).isLeaf)return;const n=(e=(t=xe(this,Dt).type.spec).toDOM)==null?void 0:e.call(t,xe(this,Dt));if(!n)return;const{contentDOM:r,dom:o}=jr.renderSpec(document,n);let i;if(zt(o))return i=o,o===r&&(i=document.createElement("span"),i.classList.add(`${aS(xe(this,Dt).type.name)}-node-view-content-wrapper`),i.append(r)),zt(r),{wrapper:i,contentDOM:r}}update(t,e){return gm({types:xe(this,Dt).type,node:t})?(xe(this,Dt)===t&&xe(this,md)===e||(xe(this,Dt).sameMarkup(t)||this.setDomAttributes(t,xe(this,tr)),Dr(this,Dt,t),Dr(this,md,e),this.renderComponent()),!0):!1}setDomAttributes(t,e){const{toDOM:n}=xe(this,Dt).type.spec;let r=t.attrs;if(n){const o=n(t);if(ke(o)||aQ(o))return;ta(o[1])&&(r=o[1])}for(const[o,i]of cn(r))e.setAttribute(o,i)}selectNode(){Dr(this,bd,!0),xe(this,tr)&&xe(this,tr).classList.add(rS),this.renderComponent()}deselectNode(){Dr(this,bd,!1),xe(this,tr)&&xe(this,tr).classList.remove(rS),this.renderComponent()}destroy(){xe(this,vd).remove(xe(this,tr))}ignoreMutation(t){return t.type==="selection"?!xe(this,Dt).type.spec.selectable:xe(this,Ai)?!xe(this,Ai).contains(t.target):!0}stopEvent(t){var e;if(!xe(this,tr))return!1;if(tt(xe(this,ec).stopEvent))return xe(this,ec).stopEvent({event:t});const n=t.target;if(!(xe(this,tr).contains(n)&&!((e=this.contentDOM)!=null&&e.contains(n))))return!1;const o=t.type==="drop";if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!o)return!0;const s=!!xe(this,Dt).type.spec.draggable,l=Le.isSelectable(xe(this,Dt)),a=t.type==="copy",u=t.type==="paste",c=t.type==="cut",d=t.type==="mousedown",h=t.type.startsWith("drag");return!s&&l&&h&&t.preventDefault(),!(h||o||a||u||c||d&&l)}},cA=vL;Dt=new WeakMap;md=new WeakMap;Ta=new WeakMap;vd=new WeakMap;Lp=new WeakMap;yd=new WeakMap;ec=new WeakMap;bd=new WeakMap;Np=new WeakMap;Ai=new WeakMap;tr=new WeakMap;Uy=new WeakMap;function aQ(t){return ng(t)||ta(t)&&ng(t.dom)}var yh=class extends mt{constructor(){super(...arguments),this.portalContainer=new oQ}get name(){return"reactComponent"}onCreate(){this.store.setStoreKey("portalContainer",this.portalContainer)}createNodeViews(){const t=be(),e=this.store.managerSettings.nodeViewComponents??{};for(const r of this.store.extensions)!r.ReactComponent||!qh(r)||r.reactComponentEnvironment==="ssr"||(t[r.name]=cA.create({options:this.options,ReactComponent:r.ReactComponent,portalContainer:this.portalContainer}));const n=cn({...this.options.nodeViewComponents,...e});for(const[r,o]of n)t[r]=cA.create({options:this.options,ReactComponent:o,portalContainer:this.portalContainer});return t}};yh=rQ([De({defaultOptions:{defaultBlockNode:"div",defaultInlineNode:"span",defaultContentNode:"span",defaultEnvironment:"both",nodeViewComponents:{},stopEvent:null},staticKeys:["defaultBlockNode","defaultInlineNode","defaultContentNode","defaultEnvironment"]})],yh);var lQ=Object.defineProperty,cQ=Object.getOwnPropertyDescriptor,uQ=(t,e,n,r)=>{for(var o=r>1?void 0:r?cQ(e,n):e,i=t.length-1,s;i>=0;i--)(s=t[i])&&(o=(r?s(e,n,o):s(o))||o);return r&&o&&lQ(e,n,o),o},dQ={...rl.defaultOptions,...yh.defaultOptions},hQ=[...rl.staticKeys,...yh.staticKeys],bh=class extends mt{get name(){return"react"}onSetOptions(t){const{pickChanged:e}=t;this.getExtension(rl).setOptions(e(["placeholder"]))}createExtensions(){const{emptyNodeClass:t,placeholder:e,defaultBlockNode:n,defaultContentNode:r,defaultEnvironment:o,defaultInlineNode:i,nodeViewComponents:s}=this.options;return[new rl({emptyNodeClass:t,placeholder:e,priority:st.Low}),new yh({defaultBlockNode:n,defaultContentNode:r,defaultEnvironment:o,defaultInlineNode:i,nodeViewComponents:s})]}};bh=uQ([De({defaultOptions:dQ,staticKeys:hQ})],bh);var yL={};Object.defineProperty(yL,"__esModule",{value:!0});function fQ(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length===2)return dA(t[0],t[1])||null;var n=t.slice(1).reduce(function(r,o){return dA(r,o)},t[0]);return n||null}var or=yL.default=fQ,uA=new WeakMap;function dA(t,e){if(t&&e){var n=uA.get(t)||new WeakMap;uA.set(t,n);var r=n.get(e)||function(o){hA(t,o),hA(e,o)};return n.set(e,r),r}return t||e}function hA(t,e){typeof t=="function"?t(e):t.current=e}var bL=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},V1=(t,e,n)=>(bL(t,e,"read from private field"),n?n.call(t):e.get(t)),pQ=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},gQ=(t,e,n,r)=>(bL(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);function mQ(){const[,t]=P.useState(be());return P.useCallback(()=>{t(be())},[])}var wL=P.createContext(null);function So(t){const e=P.useContext(wL),n=P.useRef(mQ());we(e,{code:re.REACT_PROVIDER_CONTEXT});const{addHandler:r}=e;return P.useEffect(()=>{let o=t;if(o){if(ta(o)){const{autoUpdate:i}=o;o=i?()=>n.current():void 0}if(tt(o))return r("updated",o)}},[r,t]),e}function fr(t=!0){return So({autoUpdate:t}).active}function vQ(t=!1){return So(t?{autoUpdate:!0}:void 0).attrs}function yu(){return So().chain.new()}function hn(){return So().commands}function hx(){return So({autoUpdate:!0}).getState().selection}function sf(t,e=void 0,n){const{getExtension:r}=So(),o=P.useMemo(()=>r(t),[t,r]);let i;if(tt(e)?i=n?[o,...n]:[o,e]:i=e?[o,...Object.values(e)]:[],P.useEffect(()=>{tt(e)||!e||o.setOptions(e)},i),P.useEffect(()=>{if(tt(e))return e({addHandler:o.addHandler.bind(o),addCustomHandler:o.addCustomHandler.bind(o),extension:o})},i),!e)return o}function yQ(t,e,n){const r=P.useCallback(({addHandler:o})=>o(e,n),[n,e]);return sf(t,r)}function af(t=!1){return So(t?{autoUpdate:!0}:void 0).helpers}var[bQ,wQ]=XV(({props:t})=>{const e=t.locale??"en",n=t.i18n??Rm,r=t.supportedLocales??[e],o=n._.bind(n);return{locale:e,i18n:n,supportedLocales:r,t:o}});function fA(t,e={}){const{core:n,react:r,...o}=e;return hH(t)?t:dH.create(()=>[...kR(t),new bh(r),...GX(n)],o)}function xQ(t,e={}){const n=P.useRef(t),r=P.useRef(e),[o,i]=P.useState(()=>fA(t,e));return n.current=t,r.current=e,P.useEffect(()=>o.addHandler("destroy",()=>{i(()=>fA(n.current,r.current))}),[o]),o}var kQ=typeof or=="object"&&or.__esModule&&or.default?or.default:or,tc,EQ=class extends sH{constructor(t){if(super(t),pQ(this,tc,void 0),this.rootPropsConfig={called:!1,count:0},this.getRootProps=e=>this.internalGetRootProps(e,null),this.internalGetRootProps=(e,n)=>{this.rootPropsConfig.called=!0;const{refKey:r="ref",ref:o,...i}=e??be();return{[r]:kQ(o,this.onRef),key:this.uid,...i,children:n}},this.onRef=e=>{e&&(this.rootPropsConfig.count+=1,we(this.rootPropsConfig.count<=1,{code:re.REACT_GET_ROOT_PROPS,message:`Called ${this.rootPropsConfig.count} times`}),gQ(this,tc,e),this.onRefLoad())},this.manager.view){this.manager.view.setProps({state:this.manager.view.state,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0});return}this.manager.getExtension(rl).setOptions({placeholder:this.props.placeholder??""})}get name(){return"react"}update(t){return super.update(t),this}createView(t){return new mz(null,{state:t,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0,plugins:[]})}updateState({state:t,...e}){const{triggerChange:n=!0,tr:r,transactions:o}=e;if(this.props.state){const{onChange:i}=this.props;we(i,{code:re.REACT_CONTROLLED,message:"You are required to provide the `onChange` handler when creating a controlled editor."}),we(n,{code:re.REACT_CONTROLLED,message:"Controlled editors do not support `clearContent` or `setContent` where `triggerChange` is `true`. Update the `state` prop instead."}),this.previousStateOverride||(this.previousStateOverride=this.getState()),this.onChange({state:t,tr:r,transactions:o});return}!r&&!o&&(t=t.apply(t.tr.setMeta(oS,{}))),this.view.updateState(t),n&&(o==null?void 0:o.length)!==0&&this.onChange({state:t,tr:r,transactions:o}),this.manager.onStateUpdate({previousState:this.previousState,state:t,tr:r,transactions:o})}updateControlledState(t,e){this.previousStateOverride=e,t=t.apply(t.tr.setMeta(oS,{})),this.view.updateState(t),this.manager.onStateUpdate({previousState:this.previousState,state:t}),this.previousStateOverride=void 0}addProsemirrorViewToDom(t,e){this.props.insertPosition==="start"?t.insertBefore(e,t.firstChild):t.append(e)}onRefLoad(){we(V1(this,tc),{code:re.REACT_EDITOR_VIEW,message:"Something went wrong when initializing the text editor. Please check your setup."});const{autoFocus:t}=this.props;this.addProsemirrorViewToDom(V1(this,tc),this.view.dom),t&&this.focus(t),this.onChange(),this.addFocusListeners()}onUpdate(){this.view&&V1(this,tc)&&this.view.setProps({...this.view.props,editable:()=>this.props.editable??!0})}get frameworkOutput(){return{...this.baseOutput,getRootProps:this.getRootProps,portalContainer:this.manager.store.portalContainer}}resetRender(){this.rootPropsConfig.called=!1,this.rootPropsConfig.count=0}};tc=new WeakMap;var xL=typeof document<"u"?P.useLayoutEffect:P.useEffect;function SQ(t){const e=P.useRef();return xL(()=>{e.current=t}),e.current}function CQ(t){const{manager:e,state:n}=t,{placeholder:r,editable:o}=t;P.useRef(!0).current&&!Us(r)&&e.getExtension(bh).setOptions({placeholder:r}),P.useEffect(()=>{r!=null&&e.getExtension(bh).setOptions({placeholder:r})},[r,e]);const[s]=P.useState(()=>{if(n)return n;const a=e.createEmptyDoc(),[u,c]=Bt(t.initialContent)?t.initialContent:[t.initialContent??a];return e.createState({content:u,selection:c})}),l=TQ({initialEditorState:s,getProps:()=>t});return P.useEffect(()=>()=>{l.destroy()},[l]),P.useEffect(()=>{l.onUpdate()},[o,l]),AQ(l),l.frameworkOutput}function TQ(t){const e=P.useRef(t);e.current=t;const n=P.useMemo(()=>new EQ(e.current),[]);return n.update(t),n}function AQ(t){const{state:e}=t.props,n=P.useRef(!!e),r=SQ(e);xL(()=>{const o=e?n.current===!0:n.current===!1;we(o,{code:re.REACT_CONTROLLED,message:n.current?"You have attempted to switch from a controlled to an uncontrolled editor. Once you set up an editor as a controlled editor it must always provide a `state` prop.":"You have provided a `state` prop to an uncontrolled editor. In order to set up your editor as controlled you must provide the `state` prop from the very first render."}),!(!e||e===r)&&t.updateControlledState(e,r??void 0)},[e,r,t])}function _Q(t={}){const{content:e,document:n,selection:r,extensions:o,...i}=t,s=xQ(o??(()=>[]),i),[l,a]=P.useState(()=>s.createState({selection:r,content:e??s.createEmptyDoc()})),u=P.useCallback(({state:d})=>{a(d)},[]),c=P.useCallback(()=>s.output,[s]);return P.useMemo(()=>({state:l,setState:a,manager:s,onChange:u,getContext:c}),[c,s,u,l])}var pA={doc:!1,selection:!1,storedMark:!1};function RQ(){const[t,e]=P.useState(pA);return yQ(sg,"applyState",P.useCallback(({tr:n})=>{const r={...pA};n.docChanged&&(r.doc=!0),n.selectionSet&&(r.selection=!0),n.storedMarksSet&&(r.storedMark=!0),e(r)},[])),t}var Wy=()=>ee.createElement("div",{className:OW.EDITOR_WRAPPER,...So().getRootProps()}),MQ=t=>(t.hook(),null);function OQ(t){const{children:e,autoRender:n,i18n:r,locale:o,supportedLocales:i,hooks:s=[],...l}=t,a=CQ(l),u=sQ(a.portalContainer),c=n==="start"||n===!0||!e&&Us(n),d=n==="end";return ee.createElement(bQ,{i18n:r,locale:o,supportedLocales:i},ee.createElement(wL.Provider,{value:a},ee.createElement(iQ,{portals:u}),s.map((h,f)=>ee.createElement(MQ,{hook:h,key:f})),c&&ee.createElement(Wy,null),e,d&&ee.createElement(Wy,null)))}const IQ={black:"#000",white:"#fff"},wh=IQ,LQ={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Hl=LQ,NQ={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ul=NQ,$Q={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Wl=$Q,DQ={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Vl=DQ,PQ={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},jl=PQ,zQ={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Du=zQ,FQ={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},BQ=FQ;function K(){return K=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},K.apply(this,arguments)}function Li(t){return t!==null&&typeof t=="object"&&t.constructor===Object}function kL(t){if(!Li(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=kL(t[n])}),e}function Xr(t,e,n={clone:!0}){const r=n.clone?K({},t):t;return Li(t)&&Li(e)&&Object.keys(e).forEach(o=>{o!=="__proto__"&&(Li(e[o])&&o in t&&Li(t[o])?r[o]=Xr(t[o],e[o],n):n.clone?r[o]=Li(e[o])?kL(e[o]):e[o]:r[o]=e[o])}),r}var EL={exports:{}},HQ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UQ=HQ,WQ=UQ;function SL(){}function CL(){}CL.resetWarningCache=SL;var VQ=function(){function t(r,o,i,s,l,a){if(a!==WQ){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:CL,resetWarningCache:SL};return n.PropTypes=n,n};EL.exports=VQ();var fx=EL.exports;function Zc(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}var vt={};/**
  * @license React
  * react-is.production.min.js
  *