diff --git a/browserassets/tgui/tgui.bundle.js b/browserassets/tgui/tgui.bundle.js index 635a4d7e2399e..0e88bff10c7cf 100644 --- a/browserassets/tgui/tgui.bundle.js +++ b/browserassets/tgui/tgui.bundle.js @@ -1 +1 @@ -(function(){(function(){var bd={75614:function(Y,T,s){"use strict";function i(E,M){return M!=null&&typeof Symbol!="undefined"&&M[Symbol.hasInstance]?!!M[Symbol.hasInstance](E):E instanceof M}function p(E){"@swc/helpers - typeof";return E&&typeof Symbol!="undefined"&&E.constructor===Symbol?"symbol":typeof E}var x=s(61358),y=s(20686);function w(E){for(var M="https://reactjs.org/docs/error-decoder.html?invariant="+E,k=1;kM}return!1}function H(E,M,k,ne,he,je,Ae){this.acceptsBooleans=M===2||M===3||M===4,this.attributeName=ne,this.attributeNamespace=he,this.mustUseProperty=k,this.propertyName=E,this.type=M,this.sanitizeURL=je,this.removeEmptyString=Ae}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(E){Q[E]=new H(E,0,!1,E,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(E){var M=E[0];Q[M]=new H(M,1,!1,E[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(E){Q[E]=new H(E,2,!1,E.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(E){Q[E]=new H(E,2,!1,E,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(E){Q[E]=new H(E,3,!1,E.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(E){Q[E]=new H(E,3,!0,E,null,!1,!1)}),["capture","download"].forEach(function(E){Q[E]=new H(E,4,!1,E,null,!1,!1)}),["cols","rows","size","span"].forEach(function(E){Q[E]=new H(E,6,!1,E,null,!1,!1)}),["rowSpan","start"].forEach(function(E){Q[E]=new H(E,5,!1,E.toLowerCase(),null,!1,!1)});var J=/[\-:]([a-z])/g;function X(E){return E[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(E){var M=E.replace(J,X);Q[M]=new H(M,1,!1,E,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(E){var M=E.replace(J,X);Q[M]=new H(M,1,!1,E,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(E){var M=E.replace(J,X);Q[M]=new H(M,1,!1,E,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(E){Q[E]=new H(E,1,!1,E.toLowerCase(),null,!1,!1)}),Q.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(E){Q[E]=new H(E,1,!1,E.toLowerCase(),null,!0,!0)});function q(E,M,k,ne){var he=Q.hasOwnProperty(M)?Q[M]:null;(he!==null?he.type!==0:ne||!(2Le||he[Ae]!==je[Le]){var Fe="\n"+he[Ae].replace(" at new "," at ");return E.displayName&&Fe.includes("")&&(Fe=Fe.replace("",E.displayName)),Fe}while(1<=Ae&&0<=Le);break}}}finally{ke=!1,Error.prepareStackTrace=k}return(E=E?E.displayName||E.name:"")?Ke(E):""}function lt(E){switch(E.tag){case 5:return Ke(E.type);case 16:return Ke("Lazy");case 13:return Ke("Suspense");case 19:return Ke("SuspenseList");case 0:case 2:case 15:return E=Ve(E.type,!1),E;case 11:return E=Ve(E.type.render,!1),E;case 1:return E=Ve(E.type,!0),E;default:return""}}function Ye(E){if(E==null)return null;if(typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case ae:return"Fragment";case re:return"Portal";case de:return"Profiler";case le:return"StrictMode";case ye:return"Suspense";case Ee:return"SuspenseList"}if((typeof E=="undefined"?"undefined":p(E))==="object")switch(E.$$typeof){case fe:return(E.displayName||"Context")+".Consumer";case me:return(E._context.displayName||"Context")+".Provider";case ue:var M=E.render;return E=E.displayName,E||(E=M.displayName||M.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case se:return M=E.displayName||null,M!==null?M:Ye(E.type)||"Memo";case pe:M=E._payload,E=E._init;try{return Ye(E(M))}catch(k){}}return null}function He(E){var M=E.type;switch(E.tag){case 24:return"Cache";case 9:return(M.displayName||"Context")+".Consumer";case 10:return(M._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return E=M.render,E=E.displayName||E.name||"",M.displayName||(E!==""?"ForwardRef("+E+")":"ForwardRef");case 7:return"Fragment";case 5:return M;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ye(M);case 8:return M===le?"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 M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M}return null}function ft(E){switch(typeof E=="undefined"?"undefined":p(E)){case"boolean":case"number":case"string":case"undefined":return E;case"object":return E;default:return""}}function Rt(E){var M=E.type;return(E=E.nodeName)&&E.toLowerCase()==="input"&&(M==="checkbox"||M==="radio")}function Ge(E){var M=Rt(E)?"checked":"value",k=Object.getOwnPropertyDescriptor(E.constructor.prototype,M),ne=""+E[M];if(!E.hasOwnProperty(M)&&typeof k!="undefined"&&typeof k.get=="function"&&typeof k.set=="function"){var he=k.get,je=k.set;return Object.defineProperty(E,M,{configurable:!0,get:function(){return he.call(this)},set:function(Le){ne=""+Le,je.call(this,Le)}}),Object.defineProperty(E,M,{enumerable:k.enumerable}),{getValue:function(){return ne},setValue:function(Le){ne=""+Le},stopTracking:function(){E._valueTracker=null,delete E[M]}}}}function et(E){E._valueTracker||(E._valueTracker=Ge(E))}function at(E){if(!E)return!1;var M=E._valueTracker;if(!M)return!0;var k=M.getValue(),ne="";return E&&(ne=Rt(E)?E.checked?"true":"false":E.value),E=ne,E!==k?(M.setValue(E),!0):!1}function gt(E){if(E=E||(typeof document!="undefined"?document:void 0),typeof E=="undefined")return null;try{return E.activeElement||E.body}catch(M){return E.body}}function dt(E,M){var k=M.checked;return Oe({},M,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:k!=null?k:E._wrapperState.initialChecked})}function Pt(E,M){var k=M.defaultValue==null?"":M.defaultValue,ne=M.checked!=null?M.checked:M.defaultChecked;k=ft(M.value!=null?M.value:k),E._wrapperState={initialChecked:ne,initialValue:k,controlled:M.type==="checkbox"||M.type==="radio"?M.checked!=null:M.value!=null}}function Et(E,M){M=M.checked,M!=null&&q(E,"checked",M,!1)}function Tt(E,M){Et(E,M);var k=ft(M.value),ne=M.type;if(k!=null)ne==="number"?(k===0&&E.value===""||E.value!=k)&&(E.value=""+k):E.value!==""+k&&(E.value=""+k);else if(ne==="submit"||ne==="reset"){E.removeAttribute("value");return}M.hasOwnProperty("value")?qe(E,M.type,k):M.hasOwnProperty("defaultValue")&&qe(E,M.type,ft(M.defaultValue)),M.checked==null&&M.defaultChecked!=null&&(E.defaultChecked=!!M.defaultChecked)}function Dt(E,M,k){if(M.hasOwnProperty("value")||M.hasOwnProperty("defaultValue")){var ne=M.type;if(!(ne!=="submit"&&ne!=="reset"||M.value!==void 0&&M.value!==null))return;M=""+E._wrapperState.initialValue,k||M===E.value||(E.value=M),E.defaultValue=M}k=E.name,k!==""&&(E.name=""),E.defaultChecked=!!E._wrapperState.initialChecked,k!==""&&(E.name=k)}function qe(E,M,k){(M!=="number"||gt(E.ownerDocument)!==E)&&(k==null?E.defaultValue=""+E._wrapperState.initialValue:E.defaultValue!==""+k&&(E.defaultValue=""+k))}var vt=Array.isArray;function st(E,M,k,ne){if(E=E.options,M){M={};for(var he=0;he"+M.valueOf().toString()+"",M=yt.firstChild;E.firstChild;)E.removeChild(E.firstChild);for(;M.firstChild;)E.appendChild(M.firstChild)}});function ot(E,M){if(M){var k=E.firstChild;if(k&&k===E.lastChild&&k.nodeType===3){k.nodeValue=M;return}}E.textContent=M}var ht={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},Ct=["Webkit","ms","Moz","O"];Object.keys(ht).forEach(function(E){Ct.forEach(function(M){M=M+E.charAt(0).toUpperCase()+E.substring(1),ht[M]=ht[E]})});function Lt(E,M,k){return M==null||typeof M=="boolean"||M===""?"":k||typeof M!="number"||M===0||ht.hasOwnProperty(E)&&ht[E]?(""+M).trim():M+"px"}function Qt(E,M){E=E.style;for(var k in M)if(M.hasOwnProperty(k)){var ne=k.indexOf("--")===0,he=Lt(k,M[k],ne);k==="float"&&(k="cssFloat"),ne?E.setProperty(k,he):E[k]=he}}var pn=Oe({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 fn(E,M){if(M){if(pn[E]&&(M.children!=null||M.dangerouslySetInnerHTML!=null))throw Error(w(137,E));if(M.dangerouslySetInnerHTML!=null){if(M.children!=null)throw Error(w(60));if(p(M.dangerouslySetInnerHTML)!=="object"||!("__html"in M.dangerouslySetInnerHTML))throw Error(w(61))}if(M.style!=null&&p(M.style)!=="object")throw Error(w(62))}}function kn(E,M){if(E.indexOf("-")===-1)return typeof M.is=="string";switch(E){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wn=null;function Fn(E){return E=E.target||E.srcElement||window,E.correspondingUseElement&&(E=E.correspondingUseElement),E.nodeType===3?E.parentNode:E}var $n=null,jr=null,ur=null;function Gr(E){if(E=hs(E)){if(typeof $n!="function")throw Error(w(280));var M=E.stateNode;M&&(M=ia(M),$n(E.stateNode,E.type,M))}}function Yr(E){jr?ur?ur.push(E):ur=[E]:jr=E}function ho(){if(jr){var E=jr,M=ur;if(ur=jr=null,Gr(E),M)for(E=0;E>>=0,E===0?32:31-(Qr(E)/yo|0)|0}var Kr=64,jo=4194304;function Eo(E){switch(E&-E){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return E&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return E&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return E}}function ti(E,M){var k=E.pendingLanes;if(k===0)return 0;var ne=0,he=E.suspendedLanes,je=E.pingedLanes,Ae=k&268435455;if(Ae!==0){var Le=Ae&~he;Le!==0?ne=Eo(Le):(je&=Ae,je!==0&&(ne=Eo(je)))}else Ae=k&~he,Ae!==0?ne=Eo(Ae):je!==0&&(ne=Eo(je));if(ne===0)return 0;if(M!==0&&M!==ne&&!(M&he)&&(he=ne&-ne,je=M&-M,he>=je||he===16&&(je&4194240)!==0))return M;if(ne&4&&(ne|=k&16),M=E.entangledLanes,M!==0)for(E=E.entanglements,M&=ne;0k;k++)M.push(E);return M}function qr(E,M,k){E.pendingLanes|=M,M!==536870912&&(E.suspendedLanes=0,E.pingedLanes=0),E=E.eventTimes,M=31-Hn(M),E[M]=k}function Gi(E,M){var k=E.pendingLanes&~M;E.pendingLanes=M,E.suspendedLanes=0,E.pingedLanes=0,E.expiredLanes&=M,E.mutableReadLanes&=M,E.entangledLanes&=M,M=E.entanglements;var ne=E.eventTimes;for(E=E.expirationTimes;0=Ti),Ql=" ",Xl=!1;function ks(E,M){switch(E){case"keyup":return Iu.indexOf(M.keyCode)!==-1;case"keydown":return M.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qi(E){return E=E.detail,(typeof E=="undefined"?"undefined":p(E))==="object"&&"data"in E?E.data:null}var Xi=!1;function Cu(E,M){switch(E){case"compositionend":return Qi(M);case"keypress":return M.which!==32?null:(Xl=!0,Ql);case"textInput":return E=M.data,E===Ql&&Xl?null:E;default:return null}}function zs(E,M){if(Xi)return E==="compositionend"||!Ca&&ks(E,M)?(E=We(),De=we=Re=null,Xi=!1,E):null;switch(E){case"paste":return null;case"keypress":if(!(M.ctrlKey||M.altKey||M.metaKey)||M.ctrlKey&&M.altKey){if(M.char&&1=M)return{node:k,offset:M-E};E=ne}e:{for(;k;){if(k.nextSibling){k=k.nextSibling;break e}k=k.parentNode}k=void 0}k=Oa(k)}}function ic(E,M){return E&&M?E===M?!0:E&&E.nodeType===3?!1:M&&M.nodeType===3?ic(E,M.parentNode):"contains"in E?E.contains(M):E.compareDocumentPosition?!!(E.compareDocumentPosition(M)&16):!1:!1}function ac(){for(var E=window,M=gt();i(M,E.HTMLIFrameElement);){try{var k=typeof M.contentWindow.location.href=="string"}catch(ne){k=!1}if(k)E=M.contentWindow;else break;M=gt(E.document)}return M}function Da(E){var M=E&&E.nodeName&&E.nodeName.toLowerCase();return M&&(M==="input"&&(E.type==="text"||E.type==="search"||E.type==="tel"||E.type==="url"||E.type==="password")||M==="textarea"||E.contentEditable==="true")}function Au(E){var M=ac(),k=E.focusedElem,ne=E.selectionRange;if(M!==k&&k&&k.ownerDocument&&ic(k.ownerDocument.documentElement,k)){if(ne!==null&&Da(k)){if(M=ne.start,E=ne.end,E===void 0&&(E=M),"selectionStart"in k)k.selectionStart=M,k.selectionEnd=Math.min(E,k.value.length);else if(E=(M=k.ownerDocument||document)&&M.defaultView||window,E.getSelection){E=E.getSelection();var he=k.textContent.length,je=Math.min(ne.start,he);ne=ne.end===void 0?je:Math.min(ne.end,he),!E.extend&&je>ne&&(he=ne,ne=je,je=he),he=oc(k,je);var Ae=oc(k,ne);he&&Ae&&(E.rangeCount!==1||E.anchorNode!==he.node||E.anchorOffset!==he.offset||E.focusNode!==Ae.node||E.focusOffset!==Ae.offset)&&(M=M.createRange(),M.setStart(he.node,he.offset),E.removeAllRanges(),je>ne?(E.addRange(M),E.extend(Ae.node,Ae.offset)):(M.setEnd(Ae.node,Ae.offset),E.addRange(M)))}}for(M=[],E=k;E=E.parentNode;)E.nodeType===1&&M.push({element:E,left:E.scrollLeft,top:E.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k=document.documentMode,ii=null,Js=null,wi=null,Hs=!1;function cs(E,M,k){var ne=k.window===k?k.document:k.nodeType===9?k:k.ownerDocument;Hs||ii==null||ii!==gt(ne)||(ne=ii,"selectionStart"in ne&&Da(ne)?ne={start:ne.selectionStart,end:ne.selectionEnd}:(ne=(ne.ownerDocument&&ne.ownerDocument.defaultView||window).getSelection(),ne={anchorNode:ne.anchorNode,anchorOffset:ne.anchorOffset,focusNode:ne.focusNode,focusOffset:ne.focusOffset}),wi&&qi(wi,ne)||(wi=ne,ne=Xs(Js,"onSelect"),0bo||(E.current=il[bo],il[bo]=null,bo--)}function Tn(E,M){bo++,il[bo]=E.current,E.current=M}var ci={},tr=li(ci),gr=li(!1),ui=ci;function aa(E,M){var k=E.type.contextTypes;if(!k)return ci;var ne=E.stateNode;if(ne&&ne.__reactInternalMemoizedUnmaskedChildContext===M)return ne.__reactInternalMemoizedMaskedChildContext;var he={},je;for(je in k)he[je]=M[je];return ne&&(E=E.stateNode,E.__reactInternalMemoizedUnmaskedChildContext=M,E.__reactInternalMemoizedMaskedChildContext=he),he}function _r(E){return E=E.childContextTypes,E!=null}function al(){Sn(gr),Sn(tr)}function sl(E,M,k){if(tr.current!==ci)throw Error(w(168));Tn(tr,M),Tn(gr,k)}function xc(E,M,k){var ne=E.stateNode;if(M=M.childContextTypes,typeof ne.getChildContext!="function")return k;ne=ne.getChildContext();for(var he in ne)if(!(he in M))throw Error(w(108,He(E)||"Unknown",he));return Oe({},k,ne)}function ll(E){return E=(E=E.stateNode)&&E.__reactInternalMemoizedMergedChildContext||ci,ui=tr.current,Tn(tr,E),Tn(gr,gr.current),!0}function wu(E,M,k){var ne=E.stateNode;if(!ne)throw Error(w(169));k?(E=xc(E,M,ui),ne.__reactInternalMemoizedMergedChildContext=E,Sn(gr),Sn(tr),Tn(tr,E)):Sn(gr),Tn(gr,k)}var di=null,cl=!1,ul=!1;function yc(E){di===null?di=[E]:di.push(E)}function Ru(E){cl=!0,yc(E)}function fi(){if(!ul&&di!==null){ul=!0;var E=0,M=dn;try{var k=di;for(dn=1;E>=Ae,he-=Ae,hi=1<<32-Hn(M)+he|k<sn?(cr=nn,nn=null):cr=nn.sibling;var En=It(Qe,nn,nt[sn],bt);if(En===null){nn===null&&(nn=cr);break}E&&nn&&En.alternate===null&&M(Qe,nn),$e=je(En,$e,sn),tn===null?Zt=En:tn.sibling=En,tn=En,nn=cr}if(sn===nt.length)return k(Qe,nn),_n&&la(Qe,sn),Zt;if(nn===null){for(;snsn?(cr=nn,nn=null):cr=nn.sibling;var Ea=It(Qe,nn,En.value,bt);if(Ea===null){nn===null&&(nn=cr);break}E&&nn&&Ea.alternate===null&&M(Qe,nn),$e=je(Ea,$e,sn),tn===null?Zt=Ea:tn.sibling=Ea,tn=Ea,nn=cr}if(En.done)return k(Qe,nn),_n&&la(Qe,sn),Zt;if(nn===null){for(;!En.done;sn++,En=nt.next())En=Mt(Qe,En.value,bt),En!==null&&($e=je(En,$e,sn),tn===null?Zt=En:tn.sibling=En,tn=En);return _n&&la(Qe,sn),Zt}for(nn=ne(Qe,nn);!En.done;sn++,En=nt.next())En=$t(nn,Qe,sn,En.value,bt),En!==null&&(E&&En.alternate!==null&&nn.delete(En.key===null?sn:En.key),$e=je(En,$e,sn),tn===null?Zt=En:tn.sibling=En,tn=En);return E&&nn.forEach(function(Wd){return M(Qe,Wd)}),_n&&la(Qe,sn),Zt}function Gn(Qe,$e,nt,bt){if((typeof nt=="undefined"?"undefined":p(nt))==="object"&&nt!==null&&nt.type===ae&&nt.key===null&&(nt=nt.props.children),(typeof nt=="undefined"?"undefined":p(nt))==="object"&&nt!==null){switch(nt.$$typeof){case oe:e:{for(var Zt=nt.key,tn=$e;tn!==null;){if(tn.key===Zt){if(Zt=nt.type,Zt===ae){if(tn.tag===7){k(Qe,tn.sibling),$e=he(tn,nt.props.children),$e.return=Qe,Qe=$e;break e}}else if(tn.elementType===Zt||(typeof Zt=="undefined"?"undefined":p(Zt))==="object"&&Zt!==null&&Zt.$$typeof===pe&&Ku(Zt)===tn.type){k(Qe,tn.sibling),$e=he(tn,nt.props),$e.ref=ms(Qe,tn,nt),$e.return=Qe,Qe=$e;break e}k(Qe,tn);break}else M(Qe,tn);tn=tn.sibling}nt.type===ae?($e=ts(nt.props.children,Qe.mode,bt,nt.key),$e.return=Qe,Qe=$e):(bt=hu(nt.type,nt.key,nt.props,null,Qe.mode,bt),bt.ref=ms(Qe,$e,nt),bt.return=Qe,Qe=bt)}return Ae(Qe);case re:e:{for(tn=nt.key;$e!==null;){if($e.key===tn)if($e.tag===4&&$e.stateNode.containerInfo===nt.containerInfo&&$e.stateNode.implementation===nt.implementation){k(Qe,$e.sibling),$e=he($e,nt.children||[]),$e.return=Qe,Qe=$e;break e}else{k(Qe,$e);break}else M(Qe,$e);$e=$e.sibling}$e=md(nt,Qe.mode,bt),$e.return=Qe,Qe=$e}return Ae(Qe);case pe:return tn=nt._init,Gn(Qe,$e,tn(nt._payload),bt)}if(vt(nt))return Gt(Qe,$e,nt,bt);if(xe(nt))return Yt(Qe,$e,nt,bt);ml(Qe,nt)}return typeof nt=="string"&&nt!==""||typeof nt=="number"?(nt=""+nt,$e!==null&&$e.tag===6?(k(Qe,$e.sibling),$e=he($e,nt),$e.return=Qe,Qe=$e):(k(Qe,$e),$e=hd(nt,Qe.mode,bt),$e.return=Qe,Qe=$e),Ae(Qe)):k(Qe,$e)}return Gn}var Wa=ku(!0),zu=ku(!1),vl=li(null),gl=null,Ka=null,Oc=null;function Dc(){Oc=Ka=gl=null}function pl(E){var M=vl.current;Sn(vl),E._currentValue=M}function Pc(E,M,k){for(;E!==null;){var ne=E.alternate;if((E.childLanes&M)!==M?(E.childLanes|=M,ne!==null&&(ne.childLanes|=M)):ne!==null&&(ne.childLanes&M)!==M&&(ne.childLanes|=M),E===k)break;E=E.return}}function ka(E,M){gl=E,Oc=Ka=null,E=E.dependencies,E!==null&&E.firstContext!==null&&(E.lanes&M&&(sr=!0),E.firstContext=null)}function ao(E){var M=E._currentValue;if(Oc!==E)if(E={context:E,memoizedValue:M,next:null},Ka===null){if(gl===null)throw Error(w(308));Ka=E,gl.dependencies={lanes:0,firstContext:E}}else Ka=Ka.next=E;return M}var Ni=null;function Ac(E){Ni===null?Ni=[E]:Ni.push(E)}function Fu(E,M,k,ne){var he=M.interleaved;return he===null?(k.next=k,Ac(M)):(k.next=he.next,he.next=k),M.interleaved=k,vi(E,ne)}function vi(E,M){E.lanes|=M;var k=E.alternate;for(k!==null&&(k.lanes|=M),k=E,E=E.return;E!==null;)E.childLanes|=M,k=E.alternate,k!==null&&(k.childLanes|=M),k=E,E=E.return;return k.tag===3?k.stateNode:null}var Ui=!1;function Sc(E){E.updateQueue={baseState:E.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $u(E,M){E=E.updateQueue,M.updateQueue===E&&(M.updateQueue={baseState:E.baseState,firstBaseUpdate:E.firstBaseUpdate,lastBaseUpdate:E.lastBaseUpdate,shared:E.shared,effects:E.effects})}function Qo(E,M){return{eventTime:E,lane:M,tag:0,payload:null,callback:null,next:null}}function Wi(E,M,k){var ne=E.updateQueue;if(ne===null)return null;if(ne=ne.shared,ve&2){var he=ne.pending;return he===null?M.next=M:(M.next=he.next,he.next=M),ne.pending=M,vi(E,k)}return he=ne.interleaved,he===null?(M.next=M,Ac(ne)):(M.next=he.next,he.next=M),ne.interleaved=M,vi(E,k)}function xl(E,M,k){if(M=M.updateQueue,M!==null&&(M=M.shared,(k&4194240)!==0)){var ne=M.lanes;ne&=E.pendingLanes,k|=ne,M.lanes=k,$o(E,k)}}function Vu(E,M){var k=E.updateQueue,ne=E.alternate;if(ne!==null&&(ne=ne.updateQueue,k===ne)){var he=null,je=null;if(k=k.firstBaseUpdate,k!==null){do{var Ae={eventTime:k.eventTime,lane:k.lane,tag:k.tag,payload:k.payload,callback:k.callback,next:null};je===null?he=je=Ae:je=je.next=Ae,k=k.next}while(k!==null);je===null?he=je=M:je=je.next=M}else he=je=M;k={baseState:ne.baseState,firstBaseUpdate:he,lastBaseUpdate:je,shared:ne.shared,effects:ne.effects},E.updateQueue=k;return}E=k.lastBaseUpdate,E===null?k.firstBaseUpdate=M:E.next=M,k.lastBaseUpdate=M}function yl(E,M,k,ne){var he=E.updateQueue;Ui=!1;var je=he.firstBaseUpdate,Ae=he.lastBaseUpdate,Le=he.shared.pending;if(Le!==null){he.shared.pending=null;var Fe=Le,it=Fe.next;Fe.next=null,Ae===null?je=it:Ae.next=it,Ae=Fe;var ut=E.alternate;ut!==null&&(ut=ut.updateQueue,Le=ut.lastBaseUpdate,Le!==Ae&&(Le===null?ut.firstBaseUpdate=it:Le.next=it,ut.lastBaseUpdate=Fe))}if(je!==null){var Mt=he.baseState;Ae=0,ut=it=Fe=null,Le=je;do{var It=Le.lane,$t=Le.eventTime;if((ne&It)===It){ut!==null&&(ut=ut.next={eventTime:$t,lane:0,tag:Le.tag,payload:Le.payload,callback:Le.callback,next:null});e:{var Gt=E,Yt=Le;switch(It=M,$t=k,Yt.tag){case 1:if(Gt=Yt.payload,typeof Gt=="function"){Mt=Gt.call($t,Mt,It);break e}Mt=Gt;break e;case 3:Gt.flags=Gt.flags&-65537|128;case 0:if(Gt=Yt.payload,It=typeof Gt=="function"?Gt.call($t,Mt,It):Gt,It==null)break e;Mt=Oe({},Mt,It);break e;case 2:Ui=!0}}Le.callback!==null&&Le.lane!==0&&(E.flags|=64,It=he.effects,It===null?he.effects=[Le]:It.push(Le))}else $t={eventTime:$t,lane:It,tag:Le.tag,payload:Le.payload,callback:Le.callback,next:null},ut===null?(it=ut=$t,Fe=Mt):ut=ut.next=$t,Ae|=It;if(Le=Le.next,Le===null){if(Le=he.shared.pending,Le===null)break;It=Le,Le=It.next,It.next=null,he.lastBaseUpdate=It,he.shared.pending=null}}while(!0);if(ut===null&&(Fe=Mt),he.baseState=Fe,he.firstBaseUpdate=it,he.lastBaseUpdate=ut,M=he.shared.interleaved,M!==null){he=M;do Ae|=he.lane,he=he.next;while(he!==M)}else je===null&&(he.shared.lanes=0);Xe|=Ae,E.lanes=Ae,E.memoizedState=Mt}}function Ju(E,M,k){if(E=M.effects,M.effects=null,E!==null)for(M=0;Mk?k:4,E(!0);var ne=da.transition;da.transition={};try{E(!1),M()}finally{dn=k,da.transition=ne}}function Wc(){return Lr().memoizedState}function Pl(E,M,k){var ne=Wn(E);if(k={lane:ne,action:k,hasEagerState:!1,eagerState:null,next:null},Kc(E))Is(M,k);else if(k=Fu(E,M,k,ne),k!==null){var he=jn();hn(k,E,ne,he),Al(k,M,ne)}}function Xu(E,M,k){var ne=Wn(E),he={lane:ne,action:k,hasEagerState:!1,eagerState:null,next:null};if(Kc(E))Is(M,he);else{var je=E.alternate;if(E.lanes===0&&(je===null||je.lanes===0)&&(je=M.lastRenderedReducer,je!==null))try{var Ae=M.lastRenderedState,Le=je(Ae,k);if(he.hasEagerState=!0,he.eagerState=Le,Vr(Le,Ae)){var Fe=M.interleaved;Fe===null?(he.next=he,Ac(M)):(he.next=Fe.next,Fe.next=he),M.interleaved=he;return}}catch(it){}finally{}k=Fu(E,M,he,ne),k!==null&&(he=jn(),hn(k,E,ne,he),Al(k,M,ne))}}function Kc(E){var M=E.alternate;return E===Cn||M!==null&&M===Cn}function Is(E,M){ki=fa=!0;var k=E.pending;k===null?M.next=M:(M.next=k.next,k.next=M),E.pending=M}function Al(E,M,k){if(k&4194240){var ne=M.lanes;ne&=E.pendingLanes,k|=ne,M.lanes=k,$o(E,k)}}var Ha={readContext:ao,useCallback:ar,useContext:ar,useEffect:ar,useImperativeHandle:ar,useInsertionEffect:ar,useLayoutEffect:ar,useMemo:ar,useReducer:ar,useRef:ar,useState:ar,useDebugValue:ar,useDeferredValue:ar,useTransition:ar,useMutableSource:ar,useSyncExternalStore:ar,useId:ar,unstable_isNewReconciler:!1},Sl={readContext:ao,useCallback:function(M,k){return co().memoizedState=[M,k===void 0?null:k],M},useContext:ao,useEffect:_c,useImperativeHandle:function(M,k,ne){return ne=ne!=null?ne.concat([M]):null,Cl(4194308,4,Qu.bind(null,k,M),ne)},useLayoutEffect:function(M,k){return Cl(4194308,4,M,k)},useInsertionEffect:function(M,k){return Cl(4,2,M,k)},useMemo:function(M,k){var ne=co();return k=k===void 0?null:k,M=M(),ne.memoizedState=[M,k],M},useReducer:function(M,k,ne){var he=co();return k=ne!==void 0?ne(k):k,he.memoizedState=he.baseState=k,M={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:M,lastRenderedState:k},he.queue=M,M=M.dispatch=Pl.bind(null,Cn,M),[he.memoizedState,M]},useRef:function(M){var k=co();return M={current:M},k.memoizedState=M},useState:Rc,useDebugValue:Ol,useDeferredValue:function(M){return co().memoizedState=M},useTransition:function(){var M=Rc(!1),k=M[0];return M=Uc.bind(null,M[1]),co().memoizedState=M,[k,M]},useMutableSource:function(){},useSyncExternalStore:function(M,k,ne){var he=Cn,je=co();if(_n){if(ne===void 0)throw Error(w(407));ne=ne()}else{if(ne=k(),Ce===null)throw Error(w(349));lo&30||Va(he,k,ne)}je.memoizedState=ne;var Ae={value:ne,getSnapshot:k};return je.queue=Ae,_c(wc.bind(null,he,Ae,M),[M]),he.flags|=2048,Es(9,Bc.bind(null,he,Ae,ne,k),void 0,null),ne},useId:function(){var M=co(),k=Ce.identifierPrefix;if(_n){var ne=mi,he=hi;ne=(he&~(1<<32-Hn(he)-1)).toString(32)+ne,k=":"+k+"R"+ne,ne=ei++,0<\/script>",E=E.removeChild(E.firstChild)):typeof ne.is=="string"?E=Ae.createElement(k,{is:ne.is}):(E=Ae.createElement(k),k==="select"&&(Ae=E,ne.multiple?Ae.multiple=!0:ne.size&&(Ae.size=ne.size))):E=Ae.createElementNS(E,k),E[To]=M,E[ra]=ne,Xc(E,M,!1,!1),M.stateNode=E;e:{switch(Ae=kn(k,ne),k){case"dialog":Dn("cancel",E),Dn("close",E),he=ne;break;case"iframe":case"object":case"embed":Dn("load",E),he=ne;break;case"video":case"audio":for(he=0;he_t&&(M.flags|=128,ne=!0,Ts(je,!1),M.lanes=4194304)}else{if(!ne)if(E=qo(Ae),E!==null){if(M.flags|=128,ne=!0,k=E.updateQueue,k!==null&&(M.updateQueue=k,M.flags|=4),Ts(je,!0),je.tail===null&&je.tailMode==="hidden"&&!Ae.alternate&&!_n)return zn(M),null}else 2*en()-je.renderingStartTime>_t&&k!==1073741824&&(M.flags|=128,ne=!0,Ts(je,!1),M.lanes=4194304);je.isBackwards?(Ae.sibling=M.child,M.child=Ae):(k=je.last,k!==null?k.sibling=Ae:M.child=Ae,je.last=Ae)}return je.tail!==null?(M=je.tail,je.rendering=M,je.tail=M.sibling,je.renderingStartTime=en(),M.sibling=null,k=Ln.current,Tn(Ln,ne?k&1|2:k&1),M):(zn(M),null);case 22:case 23:return $i(),ne=M.memoizedState!==null,E!==null&&E.memoizedState!==null!==ne&&(M.flags|=8192),ne&&M.mode&1?Ne&1073741824&&(zn(M),M.subtreeFlags&6&&(M.flags|=8192)):zn(M),null;case 24:return null;case 25:return null}throw Error(w(156,M.tag))}function Kl(E,M){switch(Ec(M),M.tag){case 1:return _r(M.type)&&al(),E=M.flags,E&65536?(M.flags=E&-65537|128,M):null;case 3:return ua(),Sn(gr),Sn(tr),bc(),E=M.flags,E&65536&&!(E&128)?(M.flags=E&-65537|128,M):null;case 5:return so(M),null;case 13:if(Sn(Ln),E=M.memoizedState,E!==null&&E.dehydrated!==null){if(M.alternate===null)throw Error(w(340));Ua()}return E=M.flags,E&65536?(M.flags=E&-65537|128,M):null;case 19:return Sn(Ln),null;case 4:return ua(),null;case 10:return pl(M.type._context),null;case 22:case 23:return $i(),null;case 24:return null;default:return null}}var bs=!1,lr=!1,Bs=typeof WeakSet=="function"?WeakSet:Set,Jt=null;function Fi(E,M){var k=E.ref;if(k!==null)if(typeof k=="function")try{k(null)}catch(ne){Mn(E,M,ne)}else k.current=null}function kl(E,M,k){try{k()}catch(ne){Mn(E,M,ne)}}var ws=!1;function tu(E,M){if(Ba=Po,E=ac(),Da(E)){if("selectionStart"in E)var k={start:E.selectionStart,end:E.selectionEnd};else e:{k=(k=E.ownerDocument)&&k.defaultView||window;var ne=k.getSelection&&k.getSelection();if(ne&&ne.rangeCount!==0){k=ne.anchorNode;var he=ne.anchorOffset,je=ne.focusNode;ne=ne.focusOffset;try{k.nodeType,je.nodeType}catch(bt){k=null;break e}var Ae=0,Le=-1,Fe=-1,it=0,ut=0,Mt=E,It=null;t:for(;;){for(var $t;Mt!==k||he!==0&&Mt.nodeType!==3||(Le=Ae+he),Mt!==je||ne!==0&&Mt.nodeType!==3||(Fe=Ae+ne),Mt.nodeType===3&&(Ae+=Mt.nodeValue.length),($t=Mt.firstChild)!==null;)It=Mt,Mt=$t;for(;;){if(Mt===E)break t;if(It===k&&++it===he&&(Le=Ae),It===je&&++ut===ne&&(Fe=Ae),($t=Mt.nextSibling)!==null)break;Mt=It,It=Mt.parentNode}Mt=$t}k=Le===-1||Fe===-1?null:{start:Le,end:Fe}}else k=null}k=k||{start:0,end:0}}else k=null;for(el={focusedElem:E,selectionRange:k},Po=!1,Jt=M;Jt!==null;)if(M=Jt,E=M.child,(M.subtreeFlags&1028)!==0&&E!==null)E.return=M,Jt=E;else for(;Jt!==null;){M=Jt;try{var Gt=M.alternate;if(M.flags&1024)switch(M.tag){case 0:case 11:case 15:break;case 1:if(Gt!==null){var Yt=Gt.memoizedProps,Gn=Gt.memoizedState,Qe=M.stateNode,$e=Qe.getSnapshotBeforeUpdate(M.elementType===M.type?Yt:uo(M.type,Yt),Gn);Qe.__reactInternalSnapshotBeforeUpdate=$e}break;case 3:var nt=M.stateNode.containerInfo;nt.nodeType===1?nt.textContent="":nt.nodeType===9&&nt.documentElement&&nt.removeChild(nt.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(bt){Mn(M,M.return,bt)}if(E=M.sibling,E!==null){E.return=M.return,Jt=E;break}Jt=M.return}return Gt=ws,ws=!1,Gt}function qa(E,M,k){var ne=M.updateQueue;if(ne=ne!==null?ne.lastEffect:null,ne!==null){var he=ne=ne.next;do{if((he.tag&E)===E){var je=he.destroy;he.destroy=void 0,je!==void 0&&kl(M,k,je)}he=he.next}while(he!==ne)}}function pa(E,M){if(M=M.updateQueue,M=M!==null?M.lastEffect:null,M!==null){var k=M=M.next;do{if((k.tag&E)===E){var ne=k.create;k.destroy=ne()}k=k.next}while(k!==M)}}function Rs(E){var M=E.ref;if(M!==null){var k=E.stateNode;switch(E.tag){case 5:E=k;break;default:E=k}typeof M=="function"?M(E):M.current=E}}function zl(E){var M=E.alternate;M!==null&&(E.alternate=null,zl(M)),E.child=null,E.deletions=null,E.sibling=null,E.tag===5&&(M=E.stateNode,M!==null&&(delete M[To],delete M[ra],delete M[pc],delete M[ol],delete M[Md])),E.stateNode=null,E.return=null,E.dependencies=null,E.memoizedProps=null,E.memoizedState=null,E.pendingProps=null,E.stateNode=null,E.updateQueue=null}function od(E){return E.tag===5||E.tag===3||E.tag===4}function id(E){e:for(;;){for(;E.sibling===null;){if(E.return===null||od(E.return))return null;E=E.return}for(E.sibling.return=E.return,E=E.sibling;E.tag!==5&&E.tag!==6&&E.tag!==18;){if(E.flags&2||E.child===null||E.tag===4)continue e;E.child.return=E,E=E.child}if(!(E.flags&2))return E.stateNode}}function nu(E,M,k){var ne=E.tag;if(ne===5||ne===6)E=E.stateNode,M?k.nodeType===8?k.parentNode.insertBefore(E,M):k.insertBefore(E,M):(k.nodeType===8?(M=k.parentNode,M.insertBefore(E,k)):(M=k,M.appendChild(E)),k=k._reactRootContainer,k!=null||M.onclick!==null||(M.onclick=fs));else if(ne!==4&&(E=E.child,E!==null))for(nu(E,M,k),E=E.sibling;E!==null;)nu(E,M,k),E=E.sibling}function ru(E,M,k){var ne=E.tag;if(ne===5||ne===6)E=E.stateNode,M?k.insertBefore(E,M):k.appendChild(E);else if(ne!==4&&(E=E.child,E!==null))for(ru(E,M,k),E=E.sibling;E!==null;)ru(E,M,k),E=E.sibling}var nr=null,Ro=!1;function pi(E,M,k){for(k=k.child;k!==null;)ou(E,M,k),k=k.sibling}function ou(E,M,k){if(rr&&typeof rr.onCommitFiberUnmount=="function")try{rr.onCommitFiberUnmount(Cr,k)}catch(Le){}switch(k.tag){case 5:lr||Fi(k,M);case 6:var ne=nr,he=Ro;nr=null,pi(E,M,k),nr=ne,Ro=he,nr!==null&&(Ro?(E=nr,k=k.stateNode,E.nodeType===8?E.parentNode.removeChild(k):E.removeChild(k)):nr.removeChild(k.stateNode));break;case 18:nr!==null&&(Ro?(E=nr,k=k.stateNode,E.nodeType===8?rl(E.parentNode,k):E.nodeType===1&&rl(E,k),Do(E)):rl(nr,k.stateNode));break;case 4:ne=nr,he=Ro,nr=k.stateNode.containerInfo,Ro=!0,pi(E,M,k),nr=ne,Ro=he;break;case 0:case 11:case 14:case 15:if(!lr&&(ne=k.updateQueue,ne!==null&&(ne=ne.lastEffect,ne!==null))){he=ne=ne.next;do{var je=he,Ae=je.destroy;je=je.tag,Ae!==void 0&&(je&2||je&4)&&kl(k,M,Ae),he=he.next}while(he!==ne)}pi(E,M,k);break;case 1:if(!lr&&(Fi(k,M),ne=k.stateNode,typeof ne.componentWillUnmount=="function"))try{ne.props=k.memoizedProps,ne.state=k.memoizedState,ne.componentWillUnmount()}catch(Le){Mn(k,M,Le)}pi(E,M,k);break;case 21:pi(E,M,k);break;case 22:k.mode&1?(lr=(ne=lr)||k.memoizedState!==null,pi(E,M,k),lr=ne):pi(E,M,k);break;default:pi(E,M,k)}}function ad(E){var M=E.updateQueue;if(M!==null){E.updateQueue=null;var k=E.stateNode;k===null&&(k=E.stateNode=new Bs),M.forEach(function(ne){var he=Vl.bind(null,E,ne);k.has(ne)||(k.add(ne),ne.then(he,he))})}}function _o(E,M){var k=M.deletions;if(k!==null)for(var ne=0;nehe&&(he=Ae),ne&=~je}if(ne=he,ne=en()-ne,ne=(120>ne?120:480>ne?480:1080>ne?1080:1920>ne?1920:3e3>ne?3e3:4320>ne?4320:1960*K(ne/1960))-ne,10E?16:E,Xt===null)var ne=!1;else{if(E=Xt,Xt=null,qt=0,ve&6)throw Error(w(331));var he=ve;for(ve|=4,Jt=E.current;Jt!==null;){var je=Jt,Ae=je.child;if(Jt.flags&16){var Le=je.deletions;if(Le!==null){for(var Fe=0;Feen()-wt?No(E,0):ct|=k),In(E,M)}function $l(E,M){M===0&&(E.mode&1?(M=jo,jo<<=1,!(jo&130023424)&&(jo=4194304)):M=1);var k=jn();E=vi(E,M),E!==null&&(qr(E,M,k),In(E,k))}function du(E){var M=E.memoizedState,k=0;M!==null&&(k=M.retryLane),$l(E,k)}function Vl(E,M){var k=0;switch(E.tag){case 13:var ne=E.stateNode,he=E.memoizedState;he!==null&&(k=he.retryLane);break;case 19:ne=E.stateNode;break;default:throw Error(w(314))}ne!==null&&ne.delete(M),$l(E,k)}var Jl;Jl=function(M,k,ne){if(M!==null)if(M.memoizedProps!==k.pendingProps||gr.current)sr=!0;else{if(!(M.lanes&ne)&&!(k.flags&128))return sr=!1,rd(M,k,ne);sr=!!(M.flags&131072)}else sr=!1,_n&&k.flags&1048576&&_u(k,fl,k.index);switch(k.lanes=0,k.tag){case 2:var he=k.type;Ss(M,k),M=k.pendingProps;var je=aa(k,tr.current);ka(k,ne),je=Il(null,k,he,M,je,ne);var Ae=za();return k.flags|=1,(typeof je=="undefined"?"undefined":p(je))==="object"&&je!==null&&typeof je.render=="function"&&je.$$typeof===void 0?(k.tag=1,k.memoizedState=null,k.updateQueue=null,_r(he)?(Ae=!0,ll(k)):Ae=!1,k.memoizedState=je.state!==null&&je.state!==void 0?je.state:null,Sc(k),je.updater=Ms,k.stateNode=je,je._reactInternals=k,Tl(k,he,M,ne),k=Za(null,k,he,!0,Ae,ne)):(k.tag=0,_n&&Ae&&jc(k),pr(null,k,je,ne),k=k.child),k;case 16:he=k.elementType;e:{switch(Ss(M,k),M=k.pendingProps,je=he._init,he=je(he._payload),k.type=he,je=k.tag=Bd(he),M=uo(he,M),je){case 0:k=Bl(null,k,he,M,ne);break e;case 1:k=wl(null,k,he,M,ne);break e;case 11:k=Jc(null,k,he,M,ne);break e;case 14:k=Hc(null,k,he,uo(he.type,M),ne);break e}throw Error(w(306,he,""))}return k;case 0:return he=k.type,je=k.pendingProps,je=k.elementType===he?je:uo(he,je),Bl(M,k,he,je,ne);case 1:return he=k.type,je=k.pendingProps,je=k.elementType===he?je:uo(he,je),wl(M,k,he,je,ne);case 3:e:{if(Rl(k),M===null)throw Error(w(387));he=k.pendingProps,Ae=k.memoizedState,je=Ae.element,$u(M,k),yl(k,he,null,ne);var Le=k.memoizedState;if(he=Le.element,Ae.isDehydrated)if(Ae={element:he,isDehydrated:!1,cache:Le.cache,pendingSuspenseBoundaries:Le.pendingSuspenseBoundaries,transitions:Le.transitions},k.updateQueue.baseState=Ae,k.memoizedState=Ae,k.flags&256){je=ga(Error(w(423)),k),k=_l(M,k,he,ne,je);break e}else if(he!==je){je=ga(Error(w(424)),k),k=_l(M,k,he,ne,je);break e}else for(Hr=Li(k.stateNode.containerInfo.firstChild),Jr=k,_n=!0,Bo=null,ne=zu(k,null,he,ne),k.child=ne;ne;)ne.flags=ne.flags&-3|4096,ne=ne.sibling;else{if(Ua(),he===je){k=fo(M,k,ne);break e}pr(M,k,he,ne)}k=k.child}return k;case 5:return Tc(k),M===null&&Cc(k),he=k.type,je=k.pendingProps,Ae=M!==null?M.memoizedProps:null,Le=je.children,ai(he,je)?Le=null:Ae!==null&&ai(he,Ae)&&(k.flags|=32),Ps(M,k),pr(M,k,Le,ne),k.child;case 6:return M===null&&Cc(k),null;case 13:return Yc(M,k,ne);case 4:return jl(k,k.stateNode.containerInfo),he=k.pendingProps,M===null?k.child=Wa(k,null,he,ne):pr(M,k,he,ne),k.child;case 11:return he=k.type,je=k.pendingProps,je=k.elementType===he?je:uo(he,je),Jc(M,k,he,je,ne);case 7:return pr(M,k,k.pendingProps,ne),k.child;case 8:return pr(M,k,k.pendingProps.children,ne),k.child;case 12:return pr(M,k,k.pendingProps.children,ne),k.child;case 10:e:{if(he=k.type._context,je=k.pendingProps,Ae=k.memoizedProps,Le=je.value,Tn(vl,he._currentValue),he._currentValue=Le,Ae!==null)if(Vr(Ae.value,Le)){if(Ae.children===je.children&&!gr.current){k=fo(M,k,ne);break e}}else for(Ae=k.child,Ae!==null&&(Ae.return=k);Ae!==null;){var Fe=Ae.dependencies;if(Fe!==null){Le=Ae.child;for(var it=Fe.firstContext;it!==null;){if(it.context===he){if(Ae.tag===1){it=Qo(-1,ne&-ne),it.tag=2;var ut=Ae.updateQueue;if(ut!==null){ut=ut.shared;var Mt=ut.pending;Mt===null?it.next=it:(it.next=Mt.next,Mt.next=it),ut.pending=it}}Ae.lanes|=ne,it=Ae.alternate,it!==null&&(it.lanes|=ne),Pc(Ae.return,ne,k),Fe.lanes|=ne;break}it=it.next}}else if(Ae.tag===10)Le=Ae.type===k.type?null:Ae.child;else if(Ae.tag===18){if(Le=Ae.return,Le===null)throw Error(w(341));Le.lanes|=ne,Fe=Le.alternate,Fe!==null&&(Fe.lanes|=ne),Pc(Le,ne,k),Le=Ae.sibling}else Le=Ae.child;if(Le!==null)Le.return=Ae;else for(Le=Ae;Le!==null;){if(Le===k){Le=null;break}if(Ae=Le.sibling,Ae!==null){Ae.return=Le.return,Le=Ae;break}Le=Le.return}Ae=Le}pr(M,k,je.children,ne),k=k.child}return k;case 9:return je=k.type,he=k.pendingProps.children,ka(k,ne),je=ao(je),he=he(je),k.flags|=1,pr(M,k,he,ne),k.child;case 14:return he=k.type,je=uo(he,k.pendingProps),je=uo(he.type,je),Hc(M,k,he,je,ne);case 15:return wo(M,k,k.type,k.pendingProps,ne);case 17:return he=k.type,je=k.pendingProps,je=k.elementType===he?je:uo(he,je),Ss(M,k),k.tag=1,_r(he)?(M=!0,ll(k)):M=!1,ka(k,ne),Ga(k,he,je),Tl(k,he,je,ne),Za(null,k,he,!0,M,ne);case 19:return Qc(M,k,ne);case 22:return Gc(M,k,ne)}throw Error(w(156,k.tag))};function Hl(E,M){return On(E,M)}function fu(E,M,k,ne){this.tag=E,this.key=k,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=M,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ne,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nr(E,M,k,ne){return new fu(E,M,k,ne)}function fd(E){return E=E.prototype,!(!E||!E.isReactComponent)}function Bd(E){if(typeof E=="function")return fd(E)?1:0;if(E!=null){if(E=E.$$typeof,E===ue)return 11;if(E===se)return 14}return 2}function ja(E,M){var k=E.alternate;return k===null?(k=Nr(E.tag,M,E.key,E.mode),k.elementType=E.elementType,k.type=E.type,k.stateNode=E.stateNode,k.alternate=E,E.alternate=k):(k.pendingProps=M,k.type=E.type,k.flags=0,k.subtreeFlags=0,k.deletions=null),k.flags=E.flags&14680064,k.childLanes=E.childLanes,k.lanes=E.lanes,k.child=E.child,k.memoizedProps=E.memoizedProps,k.memoizedState=E.memoizedState,k.updateQueue=E.updateQueue,M=E.dependencies,k.dependencies=M===null?null:{lanes:M.lanes,firstContext:M.firstContext},k.sibling=E.sibling,k.index=E.index,k.ref=E.ref,k}function hu(E,M,k,ne,he,je){var Ae=2;if(ne=E,typeof E=="function")fd(E)&&(Ae=1);else if(typeof E=="string")Ae=5;else e:switch(E){case ae:return ts(k.children,he,je,M);case le:Ae=8,he|=8;break;case de:return E=Nr(12,k,M,he|2),E.elementType=de,E.lanes=je,E;case ye:return E=Nr(13,k,M,he),E.elementType=ye,E.lanes=je,E;case Ee:return E=Nr(19,k,M,he),E.elementType=Ee,E.lanes=je,E;case ge:return mu(k,he,je,M);default:if((typeof E=="undefined"?"undefined":p(E))==="object"&&E!==null)switch(E.$$typeof){case me:Ae=10;break e;case fe:Ae=9;break e;case ue:Ae=11;break e;case se:Ae=14;break e;case pe:Ae=16,ne=null;break e}throw Error(w(130,E==null?E:typeof E=="undefined"?"undefined":p(E),""))}return M=Nr(Ae,k,M,he),M.elementType=E,M.type=ne,M.lanes=je,M}function ts(E,M,k,ne){return E=Nr(7,E,ne,M),E.lanes=k,E}function mu(E,M,k,ne){return E=Nr(22,E,ne,M),E.elementType=ge,E.lanes=k,E.stateNode={isHidden:!1},E}function hd(E,M,k){return E=Nr(6,E,null,M),E.lanes=k,E}function md(E,M,k){return M=Nr(4,E.children!==null?E.children:[],E.key,M),M.lanes=k,M.stateNode={containerInfo:E.containerInfo,pendingChildren:null,implementation:E.implementation},M}function wd(E,M,k,ne,he){this.tag=M,this.containerInfo=E,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xr(0),this.expirationTimes=Xr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xr(0),this.identifierPrefix=ne,this.onRecoverableError=he,this.mutableSourceEagerHydrationData=null}function vd(E,M,k,ne,he,je,Ae,Le,Fe){return E=new wd(E,M,k,Le,Fe),M===1?(M=1,je===!0&&(M|=8)):M=0,je=Nr(3,null,null,M),E.current=je,je.stateNode=E,je.memoizedState={element:ne,isDehydrated:k,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sc(je),E}function Rd(E,M,k){var ne=3=pe?se:""+Array(pe+1-Ie.length).join(ge)+se},ee={s:q,z:function(se){var pe=-se.utcOffset(),ge=Math.abs(pe),Ie=Math.floor(ge/60),xe=ge%60;return(pe<=0?"+":"-")+q(Ie,2,"0")+":"+q(xe,2,"0")},m:function Ee(se,pe){if(se.date()1)return Ee(Oe[0])}else{var Be=se.name;re[Be]=se,Ie=Be}return!ge&&Ie&&(oe=Ie),Ie||!ge&&oe},me=function(se,pe){if(le(se))return se.clone();var ge=(typeof pe=="undefined"?"undefined":y(pe))=="object"?pe:{};return ge.date=se,ge.args=arguments,new ue(ge)},fe=ee;fe.l=de,fe.i=le,fe.w=function(Ee,se){return me(Ee,{locale:se.$L,utc:se.$u,x:se.$x,$offset:se.$offset})};var ue=function(){function Ee(pe){this.$L=de(pe.locale,null,!0),this.parse(pe),this.$x=this.$x||pe.x||{},this[ae]=!0}var se=Ee.prototype;return se.parse=function(pe){this.$d=function(ge){var Ie=ge.date,xe=ge.utc;if(Ie===null)return new Date(NaN);if(fe.u(Ie))return new Date;if(x(Ie,Date))return new Date(Ie);if(typeof Ie=="string"&&!/Z$/i.test(Ie)){var Oe=Ie.match(Q);if(Oe){var Be=Oe[2]-1||0,Ke=(Oe[7]||"0").substring(0,3);return xe?new Date(Date.UTC(Oe[1],Be,Oe[3]||1,Oe[4]||0,Oe[5]||0,Oe[6]||0,Ke)):new Date(Oe[1],Be,Oe[3]||1,Oe[4]||0,Oe[5]||0,Oe[6]||0,Ke)}}return new Date(Ie)}(pe),this.init()},se.init=function(){var pe=this.$d;this.$y=pe.getFullYear(),this.$M=pe.getMonth(),this.$D=pe.getDate(),this.$W=pe.getDay(),this.$H=pe.getHours(),this.$m=pe.getMinutes(),this.$s=pe.getSeconds(),this.$ms=pe.getMilliseconds()},se.$utils=function(){return fe},se.isValid=function(){return this.$d.toString()!==H},se.isSame=function(pe,ge){var Ie=me(pe);return this.startOf(ge)<=Ie&&Ie<=this.endOf(ge)},se.isAfter=function(pe,ge){return me(pe)0,oe<=ee.r||!ee.r){oe<=1&&q>0&&(ee=J[q-1]);var re=Q[ee.l];N&&(oe=N(""+oe)),V=typeof re=="string"?re.replace("%d",oe):re(oe,S,ee.l,H);break}}if(S)return V;var ae=H?Q.future:Q.past;return typeof ae=="function"?ae(V):ae.replace("%s",V)},U.to=function(A,S){return C(A,S,this,!0)},U.from=function(A,S){return C(A,S,this)};var O=function(S){return S.$u?L.utc():L()};U.toNow=function(A){return this.to(O(this),A)},U.fromNow=function(A){return this.from(O(this),A)}}})},78364:function(Y,T,s){var i,p;function x(w,L){return L!=null&&typeof Symbol!="undefined"&&L[Symbol.hasInstance]?!!L[Symbol.hasInstance](w):w instanceof L}function y(w){"@swc/helpers - typeof";return w&&typeof Symbol!="undefined"&&w.constructor===Symbol?"symbol":typeof w}(function(w,L){y(T)==="object"?Y.exports=L():(i=L,p=typeof i=="function"?i.call(T,s,T,Y):i,p!==void 0&&(Y.exports=p))})(this,function(){"use strict";function w(yt){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ot){return typeof ot}:function(pt){return pt&&typeof Symbol=="function"&&pt.constructor===Symbol&&pt!==Symbol.prototype?"symbol":typeof pt},w(yt)}function L(yt,pt){return L=Object.setPrototypeOf||function(ht,Ct){return ht.__proto__=Ct,ht},L(yt,pt)}function U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(yt){return!1}}function _(yt,pt,ot){return U()?_=Reflect.construct:_=function(Ct,Lt,Qt){var pn=[null];pn.push.apply(pn,Lt);var fn=Function.bind.apply(Ct,pn),kn=new fn;return Qt&&L(kn,Qt.prototype),kn},_.apply(null,arguments)}function C(yt){return O(yt)||A(yt)||S(yt)||R()}function O(yt){if(Array.isArray(yt))return P(yt)}function A(yt){if(typeof Symbol!="undefined"&&yt[Symbol.iterator]!=null||yt["@@iterator"]!=null)return Array.from(yt)}function S(yt,pt){if(yt){if(typeof yt=="string")return P(yt,pt);var ot=Object.prototype.toString.call(yt).slice(8,-1);if(ot==="Object"&&yt.constructor&&(ot=yt.constructor.name),ot==="Map"||ot==="Set")return Array.from(yt);if(ot==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return P(yt,pt)}}function P(yt,pt){(pt==null||pt>yt.length)&&(pt=yt.length);for(var ot=0,ht=new Array(pt);ot1?ot-1:0),Ct=1;Ct/gm),Et=X(/\${[\w\W]*}/gm),Tt=X(/^data-[\-\w.\u00B7-\uFFFF]/),Dt=X(/^aria-[\-\w]+$/),qe=X(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vt=X(/^(?:\w+script|data):/i),st=X(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ut=X(/^html$/i),Vt=X(/^[a-z][.\w]*(-[.\w]+)+$/i),Bt=function(){return typeof window=="undefined"?null:window},kt=function(pt,ot){if(w(pt)!=="object"||typeof pt.createPolicy!="function")return null;var ht=null,Ct="data-tt-policy-suffix";ot.currentScript&&ot.currentScript.hasAttribute(Ct)&&(ht=ot.currentScript.getAttribute(Ct));var Lt="dompurify"+(ht?"#"+ht:"");try{return pt.createPolicy(Lt,{createHTML:function(pn){return pn},createScriptURL:function(pn){return pn}})}catch(Qt){return console.warn("TrustedTypes policy "+Lt+" could not be created."),null}};function un(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bt(),pt=function(De){return un(De)};if(pt.version="2.5.7",pt.removed=[],!yt||!yt.document||yt.document.nodeType!==9)return pt.isSupported=!1,pt;var ot=yt.document,ht=yt.document,Ct=yt.DocumentFragment,Lt=yt.HTMLTemplateElement,Qt=yt.Node,pn=yt.Element,fn=yt.NodeFilter,kn=yt.NamedNodeMap,wn=kn===void 0?yt.NamedNodeMap||yt.MozNamedAttrMap:kn,Fn=yt.HTMLFormElement,$n=yt.DOMParser,jr=yt.trustedTypes,ur=pn.prototype,Gr=Ke(ur,"cloneNode"),Yr=Ke(ur,"nextSibling"),ho=Ke(ur,"childNodes"),mo=Ke(ur,"parentNode");if(typeof Lt=="function"){var Uo=ht.createElement("template");Uo.content&&Uo.content.ownerDocument&&(ht=Uo.content.ownerDocument)}var Yn=kt(jr,ot),Wo=Yn?Yn.createHTML(""):"",Ar=ht,vo=Ar.implementation,Ur=Ar.createNodeIterator,Ii=Ar.createDocumentFragment,go=Ar.getElementsByTagName,Ko=ot.importNode,ko={};try{ko=Be(ht).documentMode?ht.documentMode:{}}catch(we){}var Pn={};pt.isSupported=typeof mo=="function"&&vo&&vo.createHTMLDocument!==void 0&&ko!==9;var Vn=dt,Er=Pt,Jn=Et,Sr=Tt,Vi=Dt,Ji=vt,Hi=st,dr=Vt,Ir=qe,On=null,Wr=Oe({},[].concat(C(ke),C(Ve),C(lt),C(He),C(Rt))),bn=null,Ci=Oe({},[].concat(C(Ge),C(et),C(at),C(gt))),en=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Zr=null,Tr=null,fr=!0,po=!0,br=!1,xo=!0,Cr=!1,rr=!0,hr=!1,Hn=!1,Qr=!1,yo=!1,zo=!1,Kr=!1,jo=!0,Eo=!1,ti="user-content-",Mi=!0,Fo=!1,Xn={},Br=null,Xr=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),qr=null,Gi=Oe({},["audio","video","img","source","image","track"]),$o=null,dn=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vo="http://www.w3.org/1998/Math/MathML",Io="http://www.w3.org/2000/svg",Un="http://www.w3.org/1999/xhtml",Rn=Un,ni=!1,eo=null,Co=Oe({},[Vo,Io,Un],fe),qn,kr=["application/xhtml+xml","text/html"],Mr="text/html",xn,mr=null,wr=ht.createElement("form"),er=function(De){return x(De,RegExp)||x(De,Function)},Oi=function(De){mr&&mr===De||((!De||w(De)!=="object")&&(De={}),De=Be(De),qn=kr.indexOf(De.PARSER_MEDIA_TYPE)===-1?qn=Mr:qn=De.PARSER_MEDIA_TYPE,xn=qn==="application/xhtml+xml"?fe:me,On="ALLOWED_TAGS"in De?Oe({},De.ALLOWED_TAGS,xn):Wr,bn="ALLOWED_ATTR"in De?Oe({},De.ALLOWED_ATTR,xn):Ci,eo="ALLOWED_NAMESPACES"in De?Oe({},De.ALLOWED_NAMESPACES,fe):Co,$o="ADD_URI_SAFE_ATTR"in De?Oe(Be(dn),De.ADD_URI_SAFE_ATTR,xn):dn,qr="ADD_DATA_URI_TAGS"in De?Oe(Be(Gi),De.ADD_DATA_URI_TAGS,xn):Gi,Br="FORBID_CONTENTS"in De?Oe({},De.FORBID_CONTENTS,xn):Xr,Zr="FORBID_TAGS"in De?Oe({},De.FORBID_TAGS,xn):{},Tr="FORBID_ATTR"in De?Oe({},De.FORBID_ATTR,xn):{},Xn="USE_PROFILES"in De?De.USE_PROFILES:!1,fr=De.ALLOW_ARIA_ATTR!==!1,po=De.ALLOW_DATA_ATTR!==!1,br=De.ALLOW_UNKNOWN_PROTOCOLS||!1,xo=De.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Cr=De.SAFE_FOR_TEMPLATES||!1,rr=De.SAFE_FOR_XML!==!1,hr=De.WHOLE_DOCUMENT||!1,yo=De.RETURN_DOM||!1,zo=De.RETURN_DOM_FRAGMENT||!1,Kr=De.RETURN_TRUSTED_TYPE||!1,Qr=De.FORCE_BODY||!1,jo=De.SANITIZE_DOM!==!1,Eo=De.SANITIZE_NAMED_PROPS||!1,Mi=De.KEEP_CONTENT!==!1,Fo=De.IN_PLACE||!1,Ir=De.ALLOWED_URI_REGEXP||Ir,Rn=De.NAMESPACE||Un,en=De.CUSTOM_ELEMENT_HANDLING||{},De.CUSTOM_ELEMENT_HANDLING&&er(De.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(en.tagNameCheck=De.CUSTOM_ELEMENT_HANDLING.tagNameCheck),De.CUSTOM_ELEMENT_HANDLING&&er(De.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(en.attributeNameCheck=De.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),De.CUSTOM_ELEMENT_HANDLING&&typeof De.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(en.allowCustomizedBuiltInElements=De.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Cr&&(po=!1),zo&&(yo=!0),Xn&&(On=Oe({},C(Rt)),bn=[],Xn.html===!0&&(Oe(On,ke),Oe(bn,Ge)),Xn.svg===!0&&(Oe(On,Ve),Oe(bn,et),Oe(bn,gt)),Xn.svgFilters===!0&&(Oe(On,lt),Oe(bn,et),Oe(bn,gt)),Xn.mathMl===!0&&(Oe(On,He),Oe(bn,at),Oe(bn,gt))),De.ADD_TAGS&&(On===Wr&&(On=Be(On)),Oe(On,De.ADD_TAGS,xn)),De.ADD_ATTR&&(bn===Ci&&(bn=Be(bn)),Oe(bn,De.ADD_ATTR,xn)),De.ADD_URI_SAFE_ATTR&&Oe($o,De.ADD_URI_SAFE_ATTR,xn),De.FORBID_CONTENTS&&(Br===Xr&&(Br=Be(Br)),Oe(Br,De.FORBID_CONTENTS,xn)),Mi&&(On["#text"]=!0),hr&&Oe(On,["html","head","body"]),On.table&&(Oe(On,["tbody"]),delete Zr.tbody),J&&J(De),mr=De)},Jo=Oe({},["mi","mo","mn","ms","mtext"]),Mo=Oe({},["annotation-xml"]),Ia=Oe({},["title","style","font","a","script"]),Oo=Oe({},Ve);Oe(Oo,lt),Oe(Oo,Ye);var vr=Oe({},He);Oe(vr,ft);var Yi=function(De){var We=mo(De);(!We||!We.tagName)&&(We={namespaceURI:Rn,tagName:"template"});var Je=me(De.tagName),rt=me(We.tagName);return eo[De.namespaceURI]?De.namespaceURI===Io?We.namespaceURI===Un?Je==="svg":We.namespaceURI===Vo?Je==="svg"&&(rt==="annotation-xml"||Jo[rt]):!!Oo[Je]:De.namespaceURI===Vo?We.namespaceURI===Un?Je==="math":We.namespaceURI===Io?Je==="math"&&Mo[rt]:!!vr[Je]:De.namespaceURI===Un?We.namespaceURI===Io&&!Mo[rt]||We.namespaceURI===Vo&&!Jo[rt]?!1:!vr[Je]&&(Ia[Je]||!Oo[Je]):!!(qn==="application/xhtml+xml"&&eo[De.namespaceURI]):!1},or=function(De){de(pt.removed,{element:De});try{De.parentNode.removeChild(De)}catch(We){try{De.outerHTML=Wo}catch(Je){De.remove()}}},zr=function(De,We){try{de(pt.removed,{attribute:We.getAttributeNode(De),from:We})}catch(Je){de(pt.removed,{attribute:null,from:We})}if(We.removeAttribute(De),De==="is"&&!bn[De])if(yo||zo)try{or(We)}catch(Je){}else try{We.setAttribute(De,"")}catch(Je){}},Do=function(De){var We,Je;if(Qr)De=""+De;else{var rt=ue(De,/^[\r\n\t ]+/);Je=rt&&rt[0]}qn==="application/xhtml+xml"&&Rn===Un&&(De=''+De+"");var At=Yn?Yn.createHTML(De):De;if(Rn===Un)try{We=new $n().parseFromString(At,qn)}catch(St){}if(!We||!We.documentElement){We=vo.createDocument(Rn,"template",null);try{We.documentElement.innerHTML=ni?Wo:At}catch(St){}}var Ot=We.body||We.documentElement;return De&&Je&&Ot.insertBefore(ht.createTextNode(Je),Ot.childNodes[0]||null),Rn===Un?go.call(We,hr?"html":"body")[0]:hr?We.documentElement:Ot},Fr=function(De){return Ur.call(De.ownerDocument||De,De,fn.SHOW_ELEMENT|fn.SHOW_COMMENT|fn.SHOW_TEXT|fn.SHOW_PROCESSING_INSTRUCTION|fn.SHOW_CDATA_SECTION,null,!1)},Po=function(De){return x(De,Fn)&&(typeof De.nodeName!="string"||typeof De.textContent!="string"||typeof De.removeChild!="function"||!x(De.attributes,wn)||typeof De.removeAttribute!="function"||typeof De.setAttribute!="function"||typeof De.namespaceURI!="string"||typeof De.insertBefore!="function"||typeof De.hasChildNodes!="function")},Ho=function(De){return w(Qt)==="object"?x(De,Qt):De&&w(De)==="object"&&typeof De.nodeType=="number"&&typeof De.nodeName=="string"},G=function(De,We,Je){Pn[De]&&ae(Pn[De],function(rt){rt.call(pt,We,Je,mr)})},Me=function(De){var We;if(G("beforeSanitizeElements",De,null),Po(De)||pe(/[\u0080-\uFFFF]/,De.nodeName))return or(De),!0;var Je=xn(De.nodeName);if(G("uponSanitizeElement",De,{tagName:Je,allowedTags:On}),De.hasChildNodes()&&!Ho(De.firstElementChild)&&(!Ho(De.content)||!Ho(De.content.firstElementChild))&&pe(/<[/\w]/g,De.innerHTML)&&pe(/<[/\w]/g,De.textContent)||Je==="select"&&pe(/