P||125J?(P.sortIndex=$,t(c,P),n(l)===null&&P===n(c)&&(E?(f(A),A=-1):E=!0,oe(S,$-J))):(P.sortIndex=Se,t(l,P),m||p||(m=!0,ue(b))),P},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(P){var F=_;return function(){var $=_;_=F;try{return P.apply(this,arguments)}finally{_=$}}}})(WO);zO.exports=WO;var ax=zO.exports;/**
+ * @license React
+ * react-dom.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var KO=O,kn=ax;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hg=Object.prototype.hasOwnProperty,ox=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_T={},pT={};function sx(e){return hg.call(pT,e)?!0:hg.call(_T,e)?!1:ox.test(e)?pT[e]=!0:(_T[e]=!0,!1)}function lx(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cx(e,t,n,r){if(t===null||typeof t>"u"||lx(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jt(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pt[e]=new Jt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pt[t]=new Jt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pt[e]=new Jt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pt[e]=new Jt(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){Pt[e]=new Jt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pt[e]=new Jt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pt[e]=new Jt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pt[e]=new Jt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pt[e]=new Jt(e,5,!1,e.toLowerCase(),null,!1,!1)});var sS=/[\-:]([a-z])/g;function lS(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 t=e.replace(sS,lS);Pt[t]=new Jt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(sS,lS);Pt[t]=new Jt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(sS,lS);Pt[t]=new Jt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pt[e]=new Jt(e,1,!1,e.toLowerCase(),null,!1,!1)});Pt.xlinkHref=new Jt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pt[e]=new Jt(e,1,!1,e.toLowerCase(),null,!0,!0)});function cS(e,t,n,r){var i=Pt.hasOwnProperty(t)?Pt[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==a[s]){var l=`
+`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{Pd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ts(e):""}function ux(e){switch(e.tag){case 5:return ts(e.type);case 16:return ts("Lazy");case 13:return ts("Suspense");case 19:return ts("SuspenseList");case 0:case 2:case 15:return e=kd(e.type,!1),e;case 11:return e=kd(e.type.render,!1),e;case 1:return e=kd(e.type,!0),e;default:return""}}function Cg(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 Ua:return"Fragment";case Fa:return"Portal";case Tg:return"Profiler";case uS:return"StrictMode";case vg:return"Suspense";case bg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jO:return(e.displayName||"Context")+".Consumer";case XO:return(e._context.displayName||"Context")+".Provider";case dS:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _S:return t=e.displayName||null,t!==null?t:Cg(e.type)||"Memo";case pi:t=e._payload,e=e._init;try{return Cg(e(t))}catch{}}return null}function dx(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Cg(t);case 8:return t===uS?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function JO(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _x(e){var t=JO(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ll(e){e._valueTracker||(e._valueTracker=_x(e))}function eA(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=JO(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rg(e,t){var n=t.checked;return at({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fT(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ki(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function tA(e,t){t=t.checked,t!=null&&cS(e,"checked",t,!1)}function yg(e,t){tA(e,t);var n=ki(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ng(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ng(e,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gT(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ng(e,t,n){(t!=="number"||Vc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ns=Array.isArray;function Ja(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ws(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ds={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},px=["Webkit","ms","Moz","O"];Object.keys(ds).forEach(function(e){px.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ds[t]=ds[e]})});function aA(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ds.hasOwnProperty(e)&&ds[e]?(""+t).trim():t+"px"}function oA(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=aA(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var mx=at({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 Ig(e,t){if(t){if(mx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function Dg(e,t){if(e.indexOf("-")===-1)return typeof t.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 wg=null;function pS(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mg=null,eo=null,to=null;function hT(e){if(e=hl(e)){if(typeof Mg!="function")throw Error(B(280));var t=e.stateNode;t&&(t=Wu(t),Mg(e.stateNode,e.type,t))}}function sA(e){eo?to?to.push(e):to=[e]:eo=e}function lA(){if(eo){var e=eo,t=to;if(to=eo=null,hT(e),t)for(e=0;e>>=0,e===0?32:31-(yx(e)/Nx|0)|0}var Pl=64,kl=4194304;function rs(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 Kc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=rs(s):(a&=o,a!==0&&(r=rs(a)))}else o=n&~i,o!==0?r=rs(o):a!==0&&(r=rs(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function El(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gr(t),e[t]=n}function Dx(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ps),AT=String.fromCharCode(32),IT=!1;function AA(e,t){switch(e){case"keyup":return iP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function IA(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ba=!1;function oP(e,t){switch(e){case"compositionend":return IA(t);case"keypress":return t.which!==32?null:(IT=!0,AT);case"textInput":return e=t.data,e===AT&&IT?null:e;default:return null}}function sP(e,t){if(Ba)return e==="compositionend"||!vS&&AA(e,t)?(e=NA(),mc=SS=Ti=null,Ba=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=LT(n)}}function LA(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?LA(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xA(){for(var e=window,t=Vc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vc(e.document)}return t}function bS(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function gP(e){var t=xA(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&LA(n.ownerDocument.documentElement,n)){if(r!==null&&bS(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=xT(n,a);var o=xT(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ga=null,Ug=null,fs=null,Bg=!1;function PT(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bg||Ga==null||Ga!==Vc(r)||(r=Ga,"selectionStart"in r&&bS(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}),fs&&Fs(fs,r)||(fs=r,r=jc(Ug,"onSelect"),0qa||(e.current=$g[qa],$g[qa]=null,qa--)}function Ke(e,t){qa++,$g[qa]=e.current,e.current=t}var Fi={},qt=Hi(Fi),_n=Hi(!1),Ea=Fi;function mo(e,t){var n=e.type.contextTypes;if(!n)return Fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function pn(e){return e=e.childContextTypes,e!=null}function Jc(){je(_n),je(qt)}function HT(e,t,n){if(qt.current!==Fi)throw Error(B(168));Ke(qt,t),Ke(_n,n)}function qA(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(B(108,dx(e)||"Unknown",i));return at({},n,r)}function eu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fi,Ea=qt.current,Ke(qt,e),Ke(_n,_n.current),!0}function qT(e,t,n){var r=e.stateNode;if(!r)throw Error(B(169));n?(e=qA(e,t,Ea),r.__reactInternalMemoizedMergedChildContext=e,je(_n),je(qt),Ke(qt,e)):je(_n),Ke(_n,n)}var qr=null,Ku=!1,Xd=!1;function VA(e){qr===null?qr=[e]:qr.push(e)}function AP(e){Ku=!0,VA(e)}function qi(){if(!Xd&&qr!==null){Xd=!0;var e=0,t=Ye;try{var n=qr;for(Ye=1;e>=o,i-=o,$r=1<<32-gr(t)+i|n<A?(M=v,v=null):M=v.sibling;var w=_(f,v,h[A],S);if(w===null){v===null&&(v=M);break}e&&v&&w.alternate===null&&t(f,v),g=a(w,g,A),C===null?b=w:C.sibling=w,C=w,v=M}if(A===h.length)return n(f,v),et&&ta(f,A),b;if(v===null){for(;AA?(M=v,v=null):M=v.sibling;var Y=_(f,v,w.value,S);if(Y===null){v===null&&(v=M);break}e&&v&&Y.alternate===null&&t(f,v),g=a(Y,g,A),C===null?b=Y:C.sibling=Y,C=Y,v=M}if(w.done)return n(f,v),et&&ta(f,A),b;if(v===null){for(;!w.done;A++,w=h.next())w=d(f,w.value,S),w!==null&&(g=a(w,g,A),C===null?b=w:C.sibling=w,C=w);return et&&ta(f,A),b}for(v=r(f,v);!w.done;A++,w=h.next())w=p(v,f,A,w.value,S),w!==null&&(e&&w.alternate!==null&&v.delete(w.key===null?A:w.key),g=a(w,g,A),C===null?b=w:C.sibling=w,C=w);return e&&v.forEach(function(k){return t(f,k)}),et&&ta(f,A),b}function T(f,g,h,S){if(typeof h=="object"&&h!==null&&h.type===Ua&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ml:e:{for(var b=h.key,C=g;C!==null;){if(C.key===b){if(b=h.type,b===Ua){if(C.tag===7){n(f,C.sibling),g=i(C,h.props.children),g.return=f,f=g;break e}}else if(C.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===pi&&XT(b)===C.type){n(f,C.sibling),g=i(C,h.props),g.ref=Go(f,C,h),g.return=f,f=g;break e}n(f,C);break}else t(f,C);C=C.sibling}h.type===Ua?(g=fa(h.props.children,f.mode,S,h.key),g.return=f,f=g):(S=bc(h.type,h.key,h.props,null,f.mode,S),S.ref=Go(f,g,h),S.return=f,f=S)}return o(f);case Fa:e:{for(C=h.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===h.containerInfo&&g.stateNode.implementation===h.implementation){n(f,g.sibling),g=i(g,h.children||[]),g.return=f,f=g;break e}else{n(f,g);break}else t(f,g);g=g.sibling}g=i_(h,f.mode,S),g.return=f,f=g}return o(f);case pi:return C=h._init,T(f,g,C(h._payload),S)}if(ns(h))return m(f,g,h,S);if(Po(h))return E(f,g,h,S);ql(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,g!==null&&g.tag===6?(n(f,g.sibling),g=i(g,h),g.return=f,f=g):(n(f,g),g=r_(h,f.mode,S),g.return=f,f=g),o(f)):n(f,g)}return T}var go=ZA(!0),JA=ZA(!1),Tl={},xr=Hi(Tl),Ys=Hi(Tl),Hs=Hi(Tl);function ua(e){if(e===Tl)throw Error(B(174));return e}function wS(e,t){switch(Ke(Hs,t),Ke(Ys,e),Ke(xr,Tl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ag(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ag(t,e)}je(xr),Ke(xr,t)}function Eo(){je(xr),je(Ys),je(Hs)}function eI(e){ua(Hs.current);var t=ua(xr.current),n=Ag(t,e.type);t!==n&&(Ke(Ys,e),Ke(xr,n))}function MS(e){Ys.current===e&&(je(xr),je(Ys))}var rt=Hi(0);function ou(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jd=[];function LS(){for(var e=0;en?n:4,e(!0);var r=Zd.transition;Zd.transition={};try{e(!1),t()}finally{Ye=n,Zd.transition=r}}function gI(){return Jn().memoizedState}function MP(e,t,n){var r=Li(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},EI(e))SI(t,n);else if(n=KA(e,t,n,r),n!==null){var i=Xt();Er(n,e,r,i),hI(n,t,r)}}function LP(e,t,n){var r=Li(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(EI(e))SI(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Sr(s,o)){var l=t.interleaved;l===null?(i.next=i,IS(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=KA(e,t,i,r),n!==null&&(i=Xt(),Er(n,e,r,i),hI(n,t,r))}}function EI(e){var t=e.alternate;return e===it||t!==null&&t===it}function SI(e,t){gs=su=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hI(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fS(e,n)}}var lu={readContext:Zn,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useInsertionEffect:Gt,useLayoutEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useMutableSource:Gt,useSyncExternalStore:Gt,useId:Gt,unstable_isNewReconciler:!1},xP={readContext:Zn,useCallback:function(e,t){return yr().memoizedState=[e,t===void 0?null:t],e},useContext:Zn,useEffect:ZT,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sc(4194308,4,dI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sc(4,2,e,t)},useMemo:function(e,t){var n=yr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=MP.bind(null,it,e),[r.memoizedState,e]},useRef:function(e){var t=yr();return e={current:e},t.memoizedState=e},useState:jT,useDebugValue:US,useDeferredValue:function(e){return yr().memoizedState=e},useTransition:function(){var e=jT(!1),t=e[0];return e=wP.bind(null,e[1]),yr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=it,i=yr();if(et){if(n===void 0)throw Error(B(407));n=n()}else{if(n=t(),It===null)throw Error(B(349));ha&30||rI(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,ZT(aI.bind(null,r,a,e),[e]),r.flags|=2048,$s(9,iI.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=yr(),t=It.identifierPrefix;if(et){var n=zr,r=$r;n=(r&~(1<<32-gr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qs++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ir]=t,e[Gs]=r,AI(e,t,!1,!1),t.stateNode=e;e:{switch(o=Dg(n,r),n){case"dialog":Qe("cancel",e),Qe("close",e),i=r;break;case"iframe":case"object":case"embed":Qe("load",e),i=r;break;case"video":case"audio":for(i=0;iho&&(t.flags|=128,r=!0,Yo(a,!1),t.lanes=4194304)}else{if(!r)if(e=ou(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yo(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!et)return Yt(t),null}else 2*gt()-a.renderingStartTime>ho&&n!==1073741824&&(t.flags|=128,r=!0,Yo(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=gt(),t.sibling=null,n=rt.current,Ke(rt,r?n&1|2:n&1),t):(Yt(t),null);case 22:case 23:return VS(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Rn&1073741824&&(Yt(t),t.subtreeFlags&6&&(t.flags|=8192)):Yt(t),null;case 24:return null;case 25:return null}throw Error(B(156,t.tag))}function HP(e,t){switch(RS(t),t.tag){case 1:return pn(t.type)&&Jc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eo(),je(_n),je(qt),LS(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return MS(t),null;case 13:if(je(rt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(B(340));fo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return je(rt),null;case 4:return Eo(),null;case 10:return AS(t.type._context),null;case 22:case 23:return VS(),null;case 24:return null;default:return null}}var $l=!1,Ht=!1,qP=typeof WeakSet=="function"?WeakSet:Set,Q=null;function Wa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ut(e,t,r)}else n.current=null}function rE(e,t,n){try{n()}catch(r){ut(e,t,r)}}var sv=!1;function VP(e,t){if(Gg=Qc,e=xA(),bS(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,c=0,u=0,d=e,_=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)_=d,d=p;for(;;){if(d===e)break t;if(_===n&&++c===i&&(s=o),_===a&&++u===r&&(l=o),(p=d.nextSibling)!==null)break;d=_,_=d.parentNode}d=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yg={focusedElem:e,selectionRange:n},Qc=!1,Q=t;Q!==null;)if(t=Q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Q=e;else for(;Q!==null;){t=Q;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var E=m.memoizedProps,T=m.memoizedState,f=t.stateNode,g=f.getSnapshotBeforeUpdate(t.elementType===t.type?E:ur(t.type,E),T);f.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(B(163))}}catch(S){ut(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,Q=e;break}Q=t.return}return m=sv,sv=!1,m}function Es(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&rE(t,n,a)}i=i.next}while(i!==r)}}function ju(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iE(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wI(e){var t=e.alternate;t!==null&&(e.alternate=null,wI(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ir],delete t[Gs],delete t[Vg],delete t[NP],delete t[OP])),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 MI(e){return e.tag===5||e.tag===3||e.tag===4}function lv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||MI(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 aE(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Zc));else if(r!==4&&(e=e.child,e!==null))for(aE(e,t,n),e=e.sibling;e!==null;)aE(e,t,n),e=e.sibling}function oE(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(oE(e,t,n),e=e.sibling;e!==null;)oE(e,t,n),e=e.sibling}var Mt=null,dr=!1;function si(e,t,n){for(n=n.child;n!==null;)LI(e,t,n),n=n.sibling}function LI(e,t,n){if(Lr&&typeof Lr.onCommitFiberUnmount=="function")try{Lr.onCommitFiberUnmount(qu,n)}catch{}switch(n.tag){case 5:Ht||Wa(n,t);case 6:var r=Mt,i=dr;Mt=null,si(e,t,n),Mt=r,dr=i,Mt!==null&&(dr?(e=Mt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Mt.removeChild(n.stateNode));break;case 18:Mt!==null&&(dr?(e=Mt,n=n.stateNode,e.nodeType===8?Qd(e.parentNode,n):e.nodeType===1&&Qd(e,n),Ps(e)):Qd(Mt,n.stateNode));break;case 4:r=Mt,i=dr,Mt=n.stateNode.containerInfo,dr=!0,si(e,t,n),Mt=r,dr=i;break;case 0:case 11:case 14:case 15:if(!Ht&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&rE(n,t,o),i=i.next}while(i!==r)}si(e,t,n);break;case 1:if(!Ht&&(Wa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ut(n,t,s)}si(e,t,n);break;case 21:si(e,t,n);break;case 22:n.mode&1?(Ht=(r=Ht)||n.memoizedState!==null,si(e,t,n),Ht=r):si(e,t,n);break;default:si(e,t,n)}}function cv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qP),t.forEach(function(r){var i=JP.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function sr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=gt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*zP(r/1960))-r,10e?16:e,vi===null)var r=!1;else{if(e=vi,vi=null,du=0,Me&6)throw Error(B(331));var i=Me;for(Me|=4,Q=e.current;Q!==null;){var a=Q,o=a.child;if(Q.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lgt()-HS?ma(e,0):YS|=n),mn(e,t)}function YI(e,t){t===0&&(e.mode&1?(t=kl,kl<<=1,!(kl&130023424)&&(kl=4194304)):t=1);var n=Xt();e=jr(e,t),e!==null&&(El(e,t,n),mn(e,n))}function ZP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),YI(e,n)}function JP(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(B(314))}r!==null&&r.delete(t),YI(e,n)}var HI;HI=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_n.current)dn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dn=!1,GP(e,t,n);dn=!!(e.flags&131072)}else dn=!1,et&&t.flags&1048576&&$A(t,nu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;hc(e,t),e=t.pendingProps;var i=mo(t,qt.current);ro(t,n),i=PS(null,t,r,e,i,n);var a=kS();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pn(r)?(a=!0,eu(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,DS(t),i.updater=Qu,t.stateNode=i,i._reactInternals=t,Xg(t,r,e,n),t=Jg(null,t,r,!0,a,n)):(t.tag=0,et&&a&&CS(t),Kt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(hc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=t0(r),e=ur(r,e),i){case 0:t=Zg(null,t,r,e,n);break e;case 1:t=iv(null,t,r,e,n);break e;case 11:t=nv(null,t,r,e,n);break e;case 14:t=rv(null,t,r,ur(r.type,e),n);break e}throw Error(B(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ur(r,i),Zg(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ur(r,i),iv(e,t,r,i,n);case 3:e:{if(yI(t),e===null)throw Error(B(387));r=t.pendingProps,a=t.memoizedState,i=a.element,QA(e,t),au(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=So(Error(B(423)),t),t=av(e,t,r,n,i);break e}else if(r!==i){i=So(Error(B(424)),t),t=av(e,t,r,n,i);break e}else for(Dn=Di(t.stateNode.containerInfo.firstChild),xn=t,et=!0,pr=null,n=JA(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fo(),r===i){t=Zr(e,t,n);break e}Kt(e,t,r,n)}t=t.child}return t;case 5:return eI(t),e===null&&Wg(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Hg(r,i)?o=null:a!==null&&Hg(r,a)&&(t.flags|=32),RI(e,t),Kt(e,t,o,n),t.child;case 6:return e===null&&Wg(t),null;case 13:return NI(e,t,n);case 4:return wS(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=go(t,null,r,n):Kt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ur(r,i),nv(e,t,r,i,n);case 7:return Kt(e,t,t.pendingProps,n),t.child;case 8:return Kt(e,t,t.pendingProps.children,n),t.child;case 12:return Kt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,Ke(ru,r._currentValue),r._currentValue=o,a!==null)if(Sr(a.value,o)){if(a.children===i.children&&!_n.current){t=Zr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Wr(-1,n&-n),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Kg(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(B(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Kg(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}Kt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ro(t,n),i=Zn(i),r=r(i),t.flags|=1,Kt(e,t,r,n),t.child;case 14:return r=t.type,i=ur(r,t.pendingProps),i=ur(r.type,i),rv(e,t,r,i,n);case 15:return bI(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ur(r,i),hc(e,t),t.tag=1,pn(r)?(e=!0,eu(t)):e=!1,ro(t,n),jA(t,r,i),Xg(t,r,i,n),Jg(null,t,r,!0,e,n);case 19:return OI(e,t,n);case 22:return CI(e,t,n)}throw Error(B(156,t.tag))};function qI(e,t){return fA(e,t)}function e0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 Qn(e,t,n,r){return new e0(e,t,n,r)}function zS(e){return e=e.prototype,!(!e||!e.isReactComponent)}function t0(e){if(typeof e=="function")return zS(e)?1:0;if(e!=null){if(e=e.$$typeof,e===dS)return 11;if(e===_S)return 14}return 2}function xi(e,t){var n=e.alternate;return n===null?(n=Qn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function bc(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")zS(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ua:return fa(n.children,i,a,t);case uS:o=8,i|=8;break;case Tg:return e=Qn(12,n,t,i|2),e.elementType=Tg,e.lanes=a,e;case vg:return e=Qn(13,n,t,i),e.elementType=vg,e.lanes=a,e;case bg:return e=Qn(19,n,t,i),e.elementType=bg,e.lanes=a,e;case ZO:return Ju(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case XO:o=10;break e;case jO:o=9;break e;case dS:o=11;break e;case _S:o=14;break e;case pi:o=16,r=null;break e}throw Error(B(130,e==null?e:typeof e,""))}return t=Qn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function fa(e,t,n,r){return e=Qn(7,e,r,t),e.lanes=n,e}function Ju(e,t,n,r){return e=Qn(22,e,r,t),e.elementType=ZO,e.lanes=n,e.stateNode={isHidden:!1},e}function r_(e,t,n){return e=Qn(6,e,null,t),e.lanes=n,e}function i_(e,t,n){return t=Qn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function n0(e,t,n,r,i){this.tag=t,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=Ud(0),this.expirationTimes=Ud(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ud(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function WS(e,t,n,r,i,a,o,s,l){return e=new n0(e,t,n,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Qn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},DS(a),e}function r0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(WI)}catch(e){console.error(e)}}WI(),$O.exports=Fn;var KI=$O.exports,Ev=KI;dT.createRoot=Ev.createRoot,dT.hydrateRoot=Ev.hydrateRoot;/**
+ * @remix-run/router v1.11.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ui(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function c0(){return Math.random().toString(36).substr(2,8)}function hv(e,t){return{usr:e.state,key:e.key,idx:t}}function Ws(e,t,n,r){return n===void 0&&(n=null),dt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Fr(t):t,{state:n,key:t&&t.key||r||c0()})}function ba(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Fr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function u0(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=mt.Pop,l=null,c=u();c==null&&(c=0,o.replaceState(dt({},o.state,{idx:c}),""));function u(){return(o.state||{idx:null}).idx}function d(){s=mt.Pop;let T=u(),f=T==null?null:T-c;c=T,l&&l({action:s,location:E.location,delta:f})}function _(T,f){s=mt.Push;let g=Ws(E.location,T,f);n&&n(g,T),c=u()+1;let h=hv(g,c),S=E.createHref(g);try{o.pushState(h,"",S)}catch(b){if(b instanceof DOMException&&b.name==="DataCloneError")throw b;i.location.assign(S)}a&&l&&l({action:s,location:E.location,delta:1})}function p(T,f){s=mt.Replace;let g=Ws(E.location,T,f);n&&n(g,T),c=u();let h=hv(g,c),S=E.createHref(g);o.replaceState(h,"",S),a&&l&&l({action:s,location:E.location,delta:0})}function m(T){let f=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof T=="string"?T:ba(T);return Ae(f,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,f)}let E={get action(){return s},get location(){return e(i,o)},listen(T){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Sv,d),l=T,()=>{i.removeEventListener(Sv,d),l=null}},createHref(T){return t(i,T)},createURL:m,encodeLocation(T){let f=m(T);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:_,replace:p,go(T){return o.go(T)}};return E}var ft;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ft||(ft={}));const d0=new Set(["lazy","caseSensitive","path","id","index","children"]);function _0(e){return e.index===!0}function dE(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,a)=>{let o=[...n,a],s=typeof i.id=="string"?i.id:o.join("-");if(Ae(i.index!==!0||!i.children,"Cannot specify children on an index route"),Ae(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),_0(i)){let l=dt({},i,t(i),{id:s});return r[s]=l,l}else{let l=dt({},i,t(i),{id:s,children:void 0});return r[s]=l,i.children&&(l.children=dE(i.children,t,o,r)),l}})}function Qa(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Fr(t):t,i=No(r.pathname||"/",n);if(i==null)return null;let a=QI(e);m0(a);let o=null;for(let s=0;o==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(Ae(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Kr([r,l.relativePath]),u=n.concat(l);a.children&&a.children.length>0&&(Ae(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),QI(a.children,t,u,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:v0(c,a.index),routesMeta:u})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of XI(a.path))i(a,o,l)}),t}function XI(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=XI(r.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function m0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:b0(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const f0=/^:\w+$/,g0=3,E0=2,S0=1,h0=10,T0=-2,Tv=e=>e==="*";function v0(e,t){let n=e.split("/"),r=n.length;return n.some(Tv)&&(r+=T0),t&&(r+=E0),n.filter(i=>!Tv(i)).reduce((i,a)=>i+(f0.test(a)?g0:a===""?S0:h0),r)}function b0(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function C0(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let o=0;o{let{paramName:_,isOptional:p}=u;if(_==="*"){let E=s[d]||"";o=a.slice(0,a.length-E.length).replace(/(.)\/+$/,"$1")}const m=s[d];return p&&!m?c[_]=void 0:c[_]=O0(m||"",_),c},{}),pathname:a,pathnameBase:o,pattern:e}}function y0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ui(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function N0(e){try{return decodeURI(e)}catch(t){return Ui(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function O0(e,t){try{return decodeURIComponent(e)}catch(n){return Ui(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function No(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function A0(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Fr(e):e;return{pathname:n?n.startsWith("/")?n:I0(n,t):t,search:w0(r),hash:M0(i)}}function I0(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function a_(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function id(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jS(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Fr(e):(i=dt({},e),Ae(!i.pathname||!i.pathname.includes("?"),a_("?","pathname","search",i)),Ae(!i.pathname||!i.pathname.includes("#"),a_("#","pathname","hash",i)),Ae(!i.search||!i.search.includes("#"),a_("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(r||o==null)s=n;else{let d=t.length-1;if(o.startsWith("..")){let _=o.split("/");for(;_[0]==="..";)_.shift(),d-=1;i.pathname=_.join("/")}s=d>=0?t[d]:"/"}let l=A0(i,s),c=o&&o!=="/"&&o.endsWith("/"),u=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Kr=e=>e.join("/").replace(/\/\/+/g,"/"),D0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),w0=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,M0=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ZS{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function jI(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ZI=["post","put","patch","delete"],L0=new Set(ZI),x0=["get",...ZI],P0=new Set(x0),k0=new Set([301,302,303,307,308]),F0=new Set([307,308]),o_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},U0={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},qo={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},JI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,B0=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),eD="remix-router-transitions";function G0(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Ae(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let N=e.detectErrorBoundary;i=D=>({hasErrorBoundary:N(D)})}else i=B0;let a={},o=dE(e.routes,i,void 0,a),s,l=e.basename||"/",c=dt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),u=null,d=new Set,_=null,p=null,m=null,E=e.hydrationData!=null,T=Qa(o,e.history.location,l),f=null;if(T==null){let N=Hn(404,{pathname:e.history.location.pathname}),{matches:D,route:x}=Av(o);T=D,f={[x.id]:N}}let g=!T.some(N=>N.route.lazy)&&(!T.some(N=>N.route.loader)||e.hydrationData!=null),h,S={historyAction:e.history.action,location:e.history.location,matches:T,initialized:g,navigation:o_,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||f,fetchers:new Map,blockers:new Map},b=mt.Pop,C=!1,v,A=!1,M=new Map,w=null,Y=!1,k=!1,ne=[],me=[],X=new Map,ue=0,oe=-1,P=new Map,F=new Set,$=new Map,J=new Map,Se=new Set,I=new Map,U=new Map,re=!1;function se(){if(u=e.history.listen(N=>{let{action:D,location:x,delta:H}=N;if(re){re=!1;return}Ui(U.size===0||H!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ie=Z({currentLocation:S.location,nextLocation:x,historyAction:D});if(ie&&H!=null){re=!0,e.history.go(H*-1),de(ie,{state:"blocked",location:x,proceed(){de(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:x}),e.history.go(H)},reset(){let ce=new Map(S.blockers);ce.set(ie,qo),he({blockers:ce})}});return}return Rt(D,x)}),n){j0(t,M);let N=()=>Z0(t,M);t.addEventListener("pagehide",N),w=()=>t.removeEventListener("pagehide",N)}return S.initialized||Rt(mt.Pop,S.location),h}function Ce(){u&&u(),w&&w(),d.clear(),v&&v.abort(),S.fetchers.forEach((N,D)=>He(D)),S.blockers.forEach((N,D)=>K(D))}function ot(N){return d.add(N),()=>d.delete(N)}function he(N,D){S=dt({},S,N);let x=[],H=[];c.v7_fetcherPersist&&S.fetchers.forEach((ie,ce)=>{ie.state==="idle"&&(Se.has(ce)?H.push(ce):x.push(ce))}),d.forEach(ie=>ie(S,{deletedFetchers:H,unstable_viewTransitionOpts:D})),c.v7_fetcherPersist&&(x.forEach(ie=>S.fetchers.delete(ie)),H.forEach(ie=>He(ie)))}function Le(N,D){var x,H;let ie=S.actionData!=null&&S.navigation.formMethod!=null&&_r(S.navigation.formMethod)&&S.navigation.state==="loading"&&((x=N.state)==null?void 0:x._isRedirect)!==!0,ce;D.actionData?Object.keys(D.actionData).length>0?ce=D.actionData:ce=null:ie?ce=S.actionData:ce=null;let pe=D.loaderData?Ov(S.loaderData,D.loaderData,D.matches||[],D.errors):S.loaderData,ae=S.blockers;ae.size>0&&(ae=new Map(ae),ae.forEach((we,Te)=>ae.set(Te,qo)));let te=C===!0||S.navigation.formMethod!=null&&_r(S.navigation.formMethod)&&((H=N.state)==null?void 0:H._isRedirect)!==!0;s&&(o=s,s=void 0),Y||b===mt.Pop||(b===mt.Push?e.history.push(N,N.state):b===mt.Replace&&e.history.replace(N,N.state));let Pe;if(b===mt.Pop){let we=M.get(S.location.pathname);we&&we.has(N.pathname)?Pe={currentLocation:S.location,nextLocation:N}:M.has(N.pathname)&&(Pe={currentLocation:N,nextLocation:S.location})}else if(A){let we=M.get(S.location.pathname);we?we.add(N.pathname):(we=new Set([N.pathname]),M.set(S.location.pathname,we)),Pe={currentLocation:S.location,nextLocation:N}}he(dt({},D,{actionData:ce,loaderData:pe,historyAction:b,location:N,initialized:!0,navigation:o_,revalidation:"idle",restoreScrollPosition:Ia(N,D.matches||S.matches),preventScrollReset:te,blockers:ae}),Pe),b=mt.Pop,C=!1,A=!1,Y=!1,k=!1,ne=[],me=[]}async function ke(N,D){if(typeof N=="number"){e.history.go(N);return}let x=_E(S.location,S.matches,l,c.v7_prependBasename,N,D?.fromRouteId,D?.relative),{path:H,submission:ie,error:ce}=vv(c.v7_normalizeFormMethod,!1,x,D),pe=S.location,ae=Ws(S.location,H,D&&D.state);ae=dt({},ae,e.history.encodeLocation(ae));let te=D&&D.replace!=null?D.replace:void 0,Pe=mt.Push;te===!0?Pe=mt.Replace:te===!1||ie!=null&&_r(ie.formMethod)&&ie.formAction===S.location.pathname+S.location.search&&(Pe=mt.Replace);let we=D&&"preventScrollReset"in D?D.preventScrollReset===!0:void 0,Te=Z({currentLocation:pe,nextLocation:ae,historyAction:Pe});if(Te){de(Te,{state:"blocked",location:ae,proceed(){de(Te,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),ke(N,D)},reset(){let xe=new Map(S.blockers);xe.set(Te,qo),he({blockers:xe})}});return}return await Rt(Pe,ae,{submission:ie,pendingError:ce,preventScrollReset:we,replace:D&&D.replace,enableViewTransition:D&&D.unstable_viewTransition})}function tt(){if(_e(),he({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){Rt(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}Rt(b||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function Rt(N,D,x){v&&v.abort(),v=null,b=N,Y=(x&&x.startUninterruptedRevalidation)===!0,xo(S.location,S.matches),C=(x&&x.preventScrollReset)===!0,A=(x&&x.enableViewTransition)===!0;let H=s||o,ie=x&&x.overrideNavigation,ce=Qa(H,D,l);if(!ce){let xe=Hn(404,{pathname:D.pathname}),{matches:Ze,route:ar}=Av(H);Ve(),Le(D,{matches:Ze,loaderData:{},errors:{[ar.id]:xe}});return}if(S.initialized&&!k&&$0(S.location,D)&&!(x&&x.submission&&_r(x.submission.formMethod))){Le(D,{matches:ce});return}v=new AbortController;let pe=$o(e.history,D,v.signal,x&&x.submission),ae,te;if(x&&x.pendingError)te={[Ts(ce).route.id]:x.pendingError};else if(x&&x.submission&&_r(x.submission.formMethod)){let xe=await nn(pe,D,x.submission,ce,{replace:x.replace});if(xe.shortCircuited)return;ae=xe.pendingActionData,te=xe.pendingActionError,ie=s_(D,x.submission),pe=new Request(pe.url,{signal:pe.signal})}let{shortCircuited:Pe,loaderData:we,errors:Te}=await Bn(pe,D,ce,ie,x&&x.submission,x&&x.fetcherSubmission,x&&x.replace,ae,te);Pe||(v=null,Le(D,dt({matches:ce},ae?{actionData:ae}:{},{loaderData:we,errors:Te})))}async function nn(N,D,x,H,ie){ie===void 0&&(ie={}),_e();let ce=Q0(D,x);he({navigation:ce});let pe,ae=mE(H,D);if(!ae.route.action&&!ae.route.lazy)pe={type:ft.error,error:Hn(405,{method:N.method,pathname:D.pathname,routeId:ae.route.id})};else if(pe=await Vo("action",N,ae,H,a,i,l),N.signal.aborted)return{shortCircuited:!0};if(ao(pe)){let te;return ie&&ie.replace!=null?te=ie.replace:te=pe.location===S.location.pathname+S.location.search,await yt(S,pe,{submission:x,replace:te}),{shortCircuited:!0}}if(vs(pe)){let te=Ts(H,ae.route.id);return(ie&&ie.replace)!==!0&&(b=mt.Push),{pendingActionData:{},pendingActionError:{[te.route.id]:pe.error}}}if(da(pe))throw Hn(400,{type:"defer-action"});return{pendingActionData:{[ae.route.id]:pe.data}}}async function Bn(N,D,x,H,ie,ce,pe,ae,te){let Pe=H||s_(D,ie),we=ie||ce||wv(Pe),Te=s||o,[xe,Ze]=bv(e.history,S,x,we,D,k,ne,me,$,F,Te,l,ae,te);if(Ve(L=>!(x&&x.some(q=>q.route.id===L))||xe&&xe.some(q=>q.route.id===L)),oe=++ue,xe.length===0&&Ze.length===0){let L=an();return Le(D,dt({matches:x,loaderData:{},errors:te||null},ae?{actionData:ae}:{},L?{fetchers:new Map(S.fetchers)}:{})),{shortCircuited:!0}}if(!Y){Ze.forEach(q=>{let Oe=S.fetchers.get(q.key),ve=zo(void 0,Oe?Oe.data:void 0);S.fetchers.set(q.key,ve)});let L=ae||S.actionData;he(dt({navigation:Pe},L?Object.keys(L).length===0?{actionData:null}:{actionData:L}:{},Ze.length>0?{fetchers:new Map(S.fetchers)}:{}))}Ze.forEach(L=>{X.has(L.key)&&pt(L.key),L.controller&&X.set(L.key,L.controller)});let ar=()=>Ze.forEach(L=>pt(L.key));v&&v.signal.addEventListener("abort",ar);let{results:Gn,loaderResults:wt,fetcherResults:oi}=await st(S.matches,x,xe,Ze,N);if(N.signal.aborted)return{shortCircuited:!0};v&&v.signal.removeEventListener("abort",ar),Ze.forEach(L=>X.delete(L.key));let on=Iv(Gn);if(on){if(on.idx>=xe.length){let L=Ze[on.idx-xe.length].key;F.add(L)}return await yt(S,on.result,{replace:pe}),{shortCircuited:!0}}let{loaderData:En,errors:Ur}=Nv(S,x,xe,wt,te,Ze,oi,I);I.forEach((L,q)=>{L.subscribe(Oe=>{(Oe||L.done)&&I.delete(q)})});let ji=an(),j=zt(oe),y=ji||j||Ze.length>0;return dt({loaderData:En,errors:Ur},y?{fetchers:new Map(S.fetchers)}:{})}function $t(N){return c.v7_fetcherPersist&&(J.set(N,(J.get(N)||0)+1),Se.has(N)&&Se.delete(N)),S.fetchers.get(N)||U0}function fn(N,D,x,H){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");X.has(N)&&pt(N);let ie=s||o,ce=_E(S.location,S.matches,l,c.v7_prependBasename,x,D,H?.relative),pe=Qa(ie,ce,l);if(!pe){ht(N,D,Hn(404,{pathname:ce}));return}let{path:ae,submission:te,error:Pe}=vv(c.v7_normalizeFormMethod,!0,ce,H);if(Pe){ht(N,D,Pe);return}let we=mE(pe,ae);if(C=(H&&H.preventScrollReset)===!0,te&&_r(te.formMethod)){ir(N,D,ae,we,pe,te);return}$.set(N,{routeId:D,path:ae}),rn(N,D,ae,we,pe,te)}async function ir(N,D,x,H,ie,ce){if(_e(),$.delete(N),!H.route.action&&!H.route.lazy){let ve=Hn(405,{method:ce.formMethod,pathname:x,routeId:D});ht(N,D,ve);return}let pe=S.fetchers.get(N),ae=X0(ce,pe);S.fetchers.set(N,ae),he({fetchers:new Map(S.fetchers)});let te=new AbortController,Pe=$o(e.history,x,te.signal,ce);X.set(N,te);let we=ue,Te=await Vo("action",Pe,H,ie,a,i,l);if(Pe.signal.aborted){X.get(N)===te&&X.delete(N);return}if(Se.has(N)){S.fetchers.set(N,ui(void 0)),he({fetchers:new Map(S.fetchers)});return}if(ao(Te))if(X.delete(N),oe>we){let ve=ui(void 0);S.fetchers.set(N,ve),he({fetchers:new Map(S.fetchers)});return}else{F.add(N);let ve=zo(ce);return S.fetchers.set(N,ve),he({fetchers:new Map(S.fetchers)}),yt(S,Te,{fetcherSubmission:ce})}if(vs(Te)){ht(N,D,Te.error);return}if(da(Te))throw Hn(400,{type:"defer-action"});let xe=S.navigation.location||S.location,Ze=$o(e.history,xe,te.signal),ar=s||o,Gn=S.navigation.state!=="idle"?Qa(ar,S.navigation.location,l):S.matches;Ae(Gn,"Didn't find any matches after fetcher action");let wt=++ue;P.set(N,wt);let oi=zo(ce,Te.data);S.fetchers.set(N,oi);let[on,En]=bv(e.history,S,Gn,ce,xe,k,ne,me,$,F,ar,l,{[H.route.id]:Te.data},void 0);En.filter(ve=>ve.key!==N).forEach(ve=>{let Je=ve.key,Tt=S.fetchers.get(Je),or=zo(void 0,Tt?Tt.data:void 0);S.fetchers.set(Je,or),X.has(Je)&&pt(Je),ve.controller&&X.set(Je,ve.controller)}),he({fetchers:new Map(S.fetchers)});let Ur=()=>En.forEach(ve=>pt(ve.key));te.signal.addEventListener("abort",Ur);let{results:ji,loaderResults:j,fetcherResults:y}=await st(S.matches,Gn,on,En,Ze);if(te.signal.aborted)return;te.signal.removeEventListener("abort",Ur),P.delete(N),X.delete(N),En.forEach(ve=>X.delete(ve.key));let L=Iv(ji);if(L){if(L.idx>=on.length){let ve=En[L.idx-on.length].key;F.add(ve)}return yt(S,L.result)}let{loaderData:q,errors:Oe}=Nv(S,S.matches,on,j,void 0,En,y,I);if(S.fetchers.has(N)){let ve=ui(Te.data);S.fetchers.set(N,ve)}zt(wt),S.navigation.state==="loading"&&wt>oe?(Ae(b,"Expected pending action"),v&&v.abort(),Le(S.navigation.location,{matches:Gn,loaderData:q,errors:Oe,fetchers:new Map(S.fetchers)})):(he({errors:Oe,loaderData:Ov(S.loaderData,q,Gn,Oe),fetchers:new Map(S.fetchers)}),k=!1)}async function rn(N,D,x,H,ie,ce){let pe=S.fetchers.get(N),ae=zo(ce,pe?pe.data:void 0);S.fetchers.set(N,ae),he({fetchers:new Map(S.fetchers)});let te=new AbortController,Pe=$o(e.history,x,te.signal);X.set(N,te);let we=ue,Te=await Vo("loader",Pe,H,ie,a,i,l);if(da(Te)&&(Te=await rD(Te,Pe.signal,!0)||Te),X.get(N)===te&&X.delete(N),Pe.signal.aborted)return;if(Se.has(N)){S.fetchers.set(N,ui(void 0)),he({fetchers:new Map(S.fetchers)});return}if(ao(Te))if(oe>we){let Ze=ui(void 0);S.fetchers.set(N,Ze),he({fetchers:new Map(S.fetchers)});return}else{F.add(N),await yt(S,Te);return}if(vs(Te)){ht(N,D,Te.error);return}Ae(!da(Te),"Unhandled fetcher deferred data");let xe=ui(Te.data);S.fetchers.set(N,xe),he({fetchers:new Map(S.fetchers)})}async function yt(N,D,x){let{submission:H,fetcherSubmission:ie,replace:ce}=x===void 0?{}:x;D.revalidate&&(k=!0);let pe=Ws(N.location,D.location,{_isRedirect:!0});if(Ae(pe,"Expected a location on the redirect navigation"),n){let xe=!1;if(D.reloadDocument)xe=!0;else if(JI.test(D.location)){const Ze=e.history.createURL(D.location);xe=Ze.origin!==t.location.origin||No(Ze.pathname,l)==null}if(xe){ce?t.location.replace(D.location):t.location.assign(D.location);return}}v=null;let ae=ce===!0?mt.Replace:mt.Push,{formMethod:te,formAction:Pe,formEncType:we}=N.navigation;!H&&!ie&&te&&Pe&&we&&(H=wv(N.navigation));let Te=H||ie;if(F0.has(D.status)&&Te&&_r(Te.formMethod))await Rt(ae,pe,{submission:dt({},Te,{formAction:D.location}),preventScrollReset:C});else{let xe=s_(pe,H);await Rt(ae,pe,{overrideNavigation:xe,fetcherSubmission:ie,preventScrollReset:C})}}async function st(N,D,x,H,ie){let ce=await Promise.all([...x.map(te=>Vo("loader",ie,te,D,a,i,l)),...H.map(te=>te.matches&&te.match&&te.controller?Vo("loader",$o(e.history,te.path,te.controller.signal),te.match,te.matches,a,i,l):{type:ft.error,error:Hn(404,{pathname:te.path})})]),pe=ce.slice(0,x.length),ae=ce.slice(x.length);return await Promise.all([Dv(N,x,pe,pe.map(()=>ie.signal),!1,S.loaderData),Dv(N,H.map(te=>te.match),ae,H.map(te=>te.controller?te.controller.signal:null),!0)]),{results:ce,loaderResults:pe,fetcherResults:ae}}function _e(){k=!0,ne.push(...Ve()),$.forEach((N,D)=>{X.has(D)&&(me.push(D),pt(D))})}function ht(N,D,x){let H=Ts(S.matches,D);He(N),he({errors:{[H.route.id]:x},fetchers:new Map(S.fetchers)})}function He(N){let D=S.fetchers.get(N);X.has(N)&&!(D&&D.state==="loading"&&P.has(N))&&pt(N),$.delete(N),P.delete(N),F.delete(N),Se.delete(N),S.fetchers.delete(N)}function Ue(N){if(c.v7_fetcherPersist){let D=(J.get(N)||0)-1;D<=0?(J.delete(N),Se.add(N)):J.set(N,D)}else He(N);he({fetchers:new Map(S.fetchers)})}function pt(N){let D=X.get(N);Ae(D,"Expected fetch controller: "+N),D.abort(),X.delete(N)}function Dt(N){for(let D of N){let x=$t(D),H=ui(x.data);S.fetchers.set(D,H)}}function an(){let N=[],D=!1;for(let x of F){let H=S.fetchers.get(x);Ae(H,"Expected fetcher: "+x),H.state==="loading"&&(F.delete(x),N.push(x),D=!0)}return Dt(N),D}function zt(N){let D=[];for(let[x,H]of P)if(H0}function W(N,D){let x=S.blockers.get(N)||qo;return U.get(N)!==D&&U.set(N,D),x}function K(N){S.blockers.delete(N),U.delete(N)}function de(N,D){let x=S.blockers.get(N)||qo;Ae(x.state==="unblocked"&&D.state==="blocked"||x.state==="blocked"&&D.state==="blocked"||x.state==="blocked"&&D.state==="proceeding"||x.state==="blocked"&&D.state==="unblocked"||x.state==="proceeding"&&D.state==="unblocked","Invalid blocker state transition: "+x.state+" -> "+D.state);let H=new Map(S.blockers);H.set(N,D),he({blockers:H})}function Z(N){let{currentLocation:D,nextLocation:x,historyAction:H}=N;if(U.size===0)return;U.size>1&&Ui(!1,"A router only supports one blocker at a time");let ie=Array.from(U.entries()),[ce,pe]=ie[ie.length-1],ae=S.blockers.get(ce);if(!(ae&&ae.state==="proceeding")&&pe({currentLocation:D,nextLocation:x,historyAction:H}))return ce}function Ve(N){let D=[];return I.forEach((x,H)=>{(!N||N(H))&&(x.cancel(),D.push(H),I.delete(H))}),D}function gn(N,D,x){if(_=N,m=D,p=x||null,!E&&S.navigation===o_){E=!0;let H=Ia(S.location,S.matches);H!=null&&he({restoreScrollPosition:H})}return()=>{_=null,m=null,p=null}}function Ut(N,D){return p&&p(N,D.map(H=>p0(H,S.loaderData)))||N.key}function xo(N,D){if(_&&m){let x=Ut(N,D);_[x]=m()}}function Ia(N,D){if(_){let x=Ut(N,D),H=_[x];if(typeof H=="number")return H}return null}function lt(N){a={},s=dE(N,i,void 0,a)}return h={get basename(){return l},get state(){return S},get routes(){return o},get window(){return t},initialize:se,subscribe:ot,enableScrollRestoration:gn,navigate:ke,fetch:fn,revalidate:tt,createHref:N=>e.history.createHref(N),encodeLocation:N=>e.history.encodeLocation(N),getFetcher:$t,deleteFetcher:Ue,dispose:Ce,getBlocker:W,deleteBlocker:K,_internalFetchControllers:X,_internalActiveDeferreds:I,_internalSetRoutes:lt},h}function Y0(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function _E(e,t,n,r,i,a,o){let s,l;if(a!=null&&o!=="path"){s=[];for(let u of t)if(s.push(u),u.route.id===a){l=u;break}}else s=t,l=t[t.length-1];let c=jS(i||".",id(s).map(u=>u.pathnameBase),No(e.pathname,n)||e.pathname,o==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&l&&l.route.index&&!JS(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Kr([n,c.pathname])),ba(c)}function vv(e,t,n,r){if(!r||!Y0(r))return{path:n};if(r.formMethod&&!K0(r.formMethod))return{path:n,error:Hn(405,{method:r.formMethod})};let i=()=>({path:n,error:Hn(400,{type:"invalid-body"})}),a=r.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),s=nD(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!_r(o))return i();let _=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((p,m)=>{let[E,T]=m;return""+p+E+"="+T+`
+`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:_}}}else if(r.formEncType==="application/json"){if(!_r(o))return i();try{let _=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:s,formEncType:r.formEncType,formData:void 0,json:_,text:void 0}}}catch{return i()}}}Ae(typeof FormData=="function","FormData is not available in this environment");let l,c;if(r.formData)l=pE(r.formData),c=r.formData;else if(r.body instanceof FormData)l=pE(r.body),c=r.body;else if(r.body instanceof URLSearchParams)l=r.body,c=yv(l);else if(r.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(r.body),c=yv(l)}catch{return i()}let u={formMethod:o,formAction:s,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(_r(u.formMethod))return{path:n,submission:u};let d=Fr(n);return t&&d.search&&JS(d.search)&&l.append("index",""),d.search="?"+l,{path:ba(d),submission:u}}function H0(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function bv(e,t,n,r,i,a,o,s,l,c,u,d,_,p){let m=p?Object.values(p)[0]:_?Object.values(_)[0]:void 0,E=e.createURL(t.location),T=e.createURL(i),f=p?Object.keys(p)[0]:void 0,h=H0(n,f).filter((b,C)=>{if(b.route.lazy)return!0;if(b.route.loader==null)return!1;if(q0(t.loaderData,t.matches[C],b)||o.some(M=>M===b.route.id))return!0;let v=t.matches[C],A=b;return Cv(b,dt({currentUrl:E,currentParams:v.params,nextUrl:T,nextParams:A.params},r,{actionResult:m,defaultShouldRevalidate:a||E.pathname+E.search===T.pathname+T.search||E.search!==T.search||tD(v,A)}))}),S=[];return l.forEach((b,C)=>{if(!n.some(Y=>Y.route.id===b.routeId))return;let v=Qa(u,b.path,d);if(!v){S.push({key:C,routeId:b.routeId,path:b.path,matches:null,match:null,controller:null});return}let A=t.fetchers.get(C),M=mE(v,b.path),w=!1;c.has(C)?w=!1:s.includes(C)?w=!0:A&&A.state!=="idle"&&A.data===void 0?w=a:w=Cv(M,dt({currentUrl:E,currentParams:t.matches[t.matches.length-1].params,nextUrl:T,nextParams:n[n.length-1].params},r,{actionResult:m,defaultShouldRevalidate:a})),w&&S.push({key:C,routeId:b.routeId,path:b.path,matches:v,match:M,controller:new AbortController})}),[h,S]}function q0(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function tD(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Cv(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Rv(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Ae(i,"No route found in manifest");let a={};for(let o in r){let l=i[o]!==void 0&&o!=="hasErrorBoundary";Ui(!l,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!l&&!d0.has(o)&&(a[o]=r[o])}Object.assign(i,a),Object.assign(i,dt({},t(i),{lazy:void 0}))}async function Vo(e,t,n,r,i,a,o,s){s===void 0&&(s={});let l,c,u,d=m=>{let E,T=new Promise((f,g)=>E=g);return u=()=>E(),t.signal.addEventListener("abort",u),Promise.race([m({request:t,params:n.params,context:s.requestContext}),T])};try{let m=n.route[e];if(n.route.lazy)if(m){let E,T=await Promise.all([d(m).catch(f=>{E=f}),Rv(n.route,a,i)]);if(E)throw E;c=T[0]}else if(await Rv(n.route,a,i),m=n.route[e],m)c=await d(m);else if(e==="action"){let E=new URL(t.url),T=E.pathname+E.search;throw Hn(405,{method:t.method,pathname:T,routeId:n.route.id})}else return{type:ft.data,data:void 0};else if(m)c=await d(m);else{let E=new URL(t.url),T=E.pathname+E.search;throw Hn(404,{pathname:T})}Ae(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(m){l=ft.error,c=m}finally{u&&t.signal.removeEventListener("abort",u)}if(W0(c)){let m=c.status;if(k0.has(m)){let f=c.headers.get("Location");if(Ae(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!JI.test(f))f=_E(new URL(t.url),r.slice(0,r.indexOf(n)+1),o,!0,f);else if(!s.isStaticRequest){let g=new URL(t.url),h=f.startsWith("//")?new URL(g.protocol+f):new URL(f),S=No(h.pathname,o)!=null;h.origin===g.origin&&S&&(f=h.pathname+h.search+h.hash)}if(s.isStaticRequest)throw c.headers.set("Location",f),c;return{type:ft.redirect,status:m,location:f,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:l===ft.error?ft.error:ft.data,response:c};let E,T=c.headers.get("Content-Type");return T&&/\bapplication\/json\b/.test(T)?E=await c.json():E=await c.text(),l===ft.error?{type:l,error:new ZS(m,c.statusText,E),headers:c.headers}:{type:ft.data,data:E,statusCode:c.status,headers:c.headers}}if(l===ft.error)return{type:l,error:c};if(z0(c)){var _,p;return{type:ft.deferred,deferredData:c,statusCode:(_=c.init)==null?void 0:_.status,headers:((p=c.init)==null?void 0:p.headers)&&new Headers(c.init.headers)}}return{type:ft.data,data:c}}function $o(e,t,n,r){let i=e.createURL(nD(t)).toString(),a={signal:n};if(r&&_r(r.formMethod)){let{formMethod:o,formEncType:s}=r;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(r.json)):s==="text/plain"?a.body=r.text:s==="application/x-www-form-urlencoded"&&r.formData?a.body=pE(r.formData):a.body=r.formData}return new Request(i,a)}function pE(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function yv(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function V0(e,t,n,r,i){let a={},o=null,s,l=!1,c={};return n.forEach((u,d)=>{let _=t[d].route.id;if(Ae(!ao(u),"Cannot handle redirect results in processLoaderData"),vs(u)){let p=Ts(e,_),m=u.error;r&&(m=Object.values(r)[0],r=void 0),o=o||{},o[p.route.id]==null&&(o[p.route.id]=m),a[_]=void 0,l||(l=!0,s=jI(u.error)?u.error.status:500),u.headers&&(c[_]=u.headers)}else da(u)?(i.set(_,u.deferredData),a[_]=u.deferredData.data):a[_]=u.data,u.statusCode!=null&&u.statusCode!==200&&!l&&(s=u.statusCode),u.headers&&(c[_]=u.headers)}),r&&(o=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:c}}function Nv(e,t,n,r,i,a,o,s){let{loaderData:l,errors:c}=V0(t,n,r,i,s);for(let u=0;ur.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Av(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Hn(e,t){let{pathname:n,routeId:r,method:i,type:a}=t===void 0?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",i&&n&&r?s="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"?s="defer() is not supported in actions":a==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",s='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",i&&n&&r?s="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new ZS(e||500,o,new Error(s),!0)}function Iv(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(ao(n))return{result:n,idx:t}}}function nD(e){let t=typeof e=="string"?Fr(e):e;return ba(dt({},t,{hash:""}))}function $0(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function da(e){return e.type===ft.deferred}function vs(e){return e.type===ft.error}function ao(e){return(e&&e.type)===ft.redirect}function z0(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function W0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function K0(e){return P0.has(e.toLowerCase())}function _r(e){return L0.has(e.toLowerCase())}async function Dv(e,t,n,r,i,a){for(let o=0;od.route.id===l.route.id),u=c!=null&&!tD(c,l)&&(a&&a[l.route.id])!==void 0;if(da(s)&&(i||u)){let d=r[o];Ae(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await rD(s,d,i).then(_=>{_&&(n[o]=_||n[o])})}}}async function rD(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ft.data,data:e.deferredData.unwrappedData}}catch(i){return{type:ft.error,error:i}}return{type:ft.data,data:e.deferredData.data}}}function JS(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function mE(e,t){let n=typeof t=="string"?Fr(t).search:t.search;if(e[e.length-1].route.index&&JS(n||""))return e[e.length-1];let r=id(e);return r[r.length-1]}function wv(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function s_(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Q0(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function zo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function X0(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function ui(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function j0(e,t){try{let n=e.sessionStorage.getItem(eD);if(n){let r=JSON.parse(n);for(let[i,a]of Object.entries(r||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function Z0(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(eD,JSON.stringify(n))}catch(r){Ui(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/**
+ * React Router v6.18.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),o=O.useRef(!1);return oD(()=>{o.current=!0}),O.useCallback(function(l,c){if(c===void 0&&(c={}),!o.current)return;if(typeof l=="number"){n.go(l);return}let u=jS(l,JSON.parse(a),i,c.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:Kr([t,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[t,n,a,i,e])}const nk=O.createContext(null);function rk(e){let t=O.useContext(Vi).outlet;return t&&O.createElement(nk.Provider,{value:e},t)}function sD(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=O.useContext(Vi),{pathname:i}=sd(),a=JSON.stringify(id(r).map(o=>o.pathnameBase));return O.useMemo(()=>jS(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function ik(e,t,n){vl()||Ae(!1);let{navigator:r}=O.useContext(Oo),{matches:i}=O.useContext(Vi),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let l=sd(),c;if(t){var u;let E=typeof t=="string"?Fr(t):t;s==="/"||(u=E.pathname)!=null&&u.startsWith(s)||Ae(!1),c=E}else c=l;let d=c.pathname||"/",_=s==="/"?d:d.slice(s.length)||"/",p=Qa(e,{pathname:_}),m=ck(p&&p.map(E=>Object.assign({},E,{params:Object.assign({},o,E.params),pathname:Kr([s,r.encodeLocation?r.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?s:Kr([s,r.encodeLocation?r.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),i,n);return t&&m?O.createElement(od.Provider,{value:{location:mu({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mt.Pop}},m):m}function ak(){let e=pk(),t=jI(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),n?O.createElement("pre",{style:i},n):null,a)}const ok=O.createElement(ak,null);class sk extends O.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?O.createElement(Vi.Provider,{value:this.props.routeContext},O.createElement(aD.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function lk(e){let{routeContext:t,match:n,children:r}=e,i=O.useContext(ad);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),O.createElement(Vi.Provider,{value:t},r)}function ck(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let s=a.findIndex(l=>l.route.id&&o?.[l.route.id]);s>=0||Ae(!1),a=a.slice(0,Math.min(a.length,s+1))}return a.reduceRight((s,l,c)=>{let u=l.route.id?o?.[l.route.id]:null,d=null;n&&(d=l.route.errorElement||ok);let _=t.concat(a.slice(0,c+1)),p=()=>{let m;return u?m=d:l.route.Component?m=O.createElement(l.route.Component,null):l.route.element?m=l.route.element:m=s,O.createElement(lk,{match:l,routeContext:{outlet:s,matches:_,isDataRoute:n!=null},children:m})};return n&&(l.route.ErrorBoundary||l.route.errorElement||c===0)?O.createElement(sk,{location:n.location,revalidation:n.revalidation,component:d,error:u,children:p(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):p()},null)}var lD=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(lD||{}),fu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(fu||{});function uk(e){let t=O.useContext(ad);return t||Ae(!1),t}function dk(e){let t=O.useContext(iD);return t||Ae(!1),t}function _k(e){let t=O.useContext(Vi);return t||Ae(!1),t}function cD(e){let t=_k(),n=t.matches[t.matches.length-1];return n.route.id||Ae(!1),n.route.id}function pk(){var e;let t=O.useContext(aD),n=dk(fu.UseRouteError),r=cD(fu.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function mk(){let{router:e}=uk(lD.UseNavigateStable),t=cD(fu.UseNavigateStable),n=O.useRef(!1);return oD(()=>{n.current=!0}),O.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,mu({fromRouteId:t},a)))},[e,t])}function eW(e){return rk(e.context)}function fk(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mt.Pop,navigator:a,static:o=!1}=e;vl()&&Ae(!1);let s=t.replace(/^\/*/,"/"),l=O.useMemo(()=>({basename:s,navigator:a,static:o}),[s,a,o]);typeof r=="string"&&(r=Fr(r));let{pathname:c="/",search:u="",hash:d="",state:_=null,key:p="default"}=r,m=O.useMemo(()=>{let E=No(c,s);return E==null?null:{location:{pathname:E,search:u,hash:d,state:_,key:p},navigationType:i}},[s,c,u,d,_,p,i]);return m==null?null:O.createElement(Oo.Provider,{value:l},O.createElement(od.Provider,{children:n,value:m}))}new Promise(()=>{});function gk(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:O.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:O.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/**
+ * React Router DOM v6.18.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function Ks(){return Ks=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Sk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hk(e,t){return e.button===0&&(!t||t==="_self")&&!Sk(e)}const Tk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function tW(e,t){return G0({basename:t?.basename,future:Ks({},t?.future,{v7_prependBasename:!0}),history:l0({window:t?.window}),hydrationData:t?.hydrationData||vk(),routes:e,mapRouteProperties:gk,window:t?.window}).initialize()}function vk(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ks({},t,{errors:bk(t.errors)})),t}function bk(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new ZS(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let a=new Error(i.message);a.stack="",n[r]=a}}else n[r]=i;return n}const Ck=O.createContext({isTransitioning:!1}),Rk=O.createContext(new Map),yk="startTransition",Mv=qc[yk];function Nk(e){Mv?Mv(e):e()}class Ok{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function nW(e){let{fallbackElement:t,router:n,future:r}=e,[i,a]=O.useState(n.state),[o,s]=O.useState(),[l,c]=O.useState({isTransitioning:!1}),[u,d]=O.useState(),[_,p]=O.useState(),[m,E]=O.useState(),T=O.useRef(new Map),{v7_startTransition:f}=r||{},g=O.useCallback(v=>{f?Nk(v):v()},[f]),h=O.useCallback((v,A)=>{let{deletedFetchers:M,unstable_viewTransitionOpts:w}=A;M.forEach(Y=>T.current.delete(Y)),v.fetchers.forEach((Y,k)=>{Y.data!==void 0&&T.current.set(k,Y.data)}),!w||n.window==null||typeof n.window.document.startViewTransition!="function"?g(()=>a(v)):_&&u?(u.resolve(),_.skipTransition(),E({state:v,currentLocation:w.currentLocation,nextLocation:w.nextLocation})):(s(v),c({isTransitioning:!0,currentLocation:w.currentLocation,nextLocation:w.nextLocation}))},[n.window,_,u,T,g]);O.useLayoutEffect(()=>n.subscribe(h),[n,h]),O.useEffect(()=>{l.isTransitioning&&d(new Ok)},[l.isTransitioning]),O.useEffect(()=>{if(u&&o&&n.window){let v=o,A=u.promise,M=n.window.document.startViewTransition(async()=>{g(()=>a(v)),await A});M.finished.finally(()=>{d(void 0),p(void 0),s(void 0),c({isTransitioning:!1})}),p(M)}},[g,o,u,n.window]),O.useEffect(()=>{u&&o&&i.location.key===o.location.key&&u.resolve()},[u,_,i.location,o]),O.useEffect(()=>{!l.isTransitioning&&m&&(s(m.state),c({isTransitioning:!0,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),E(void 0))},[l.isTransitioning,m]);let S=O.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:v=>n.navigate(v),push:(v,A,M)=>n.navigate(v,{state:A,preventScrollReset:M?.preventScrollReset}),replace:(v,A,M)=>n.navigate(v,{replace:!0,state:A,preventScrollReset:M?.preventScrollReset})}),[n]),b=n.basename||"/",C=O.useMemo(()=>({router:n,navigator:S,static:!1,basename:b}),[n,S,b]);return O.createElement(O.Fragment,null,O.createElement(ad.Provider,{value:C},O.createElement(iD.Provider,{value:i},O.createElement(Rk.Provider,{value:T.current},O.createElement(Ck.Provider,{value:l},O.createElement(fk,{basename:b,location:i.location,navigationType:i.historyAction,navigator:S},i.initialized?O.createElement(Ak,{routes:n.routes,state:i}):t))))),null)}function Ak(e){let{routes:t,state:n}=e;return ik(t,void 0,n)}const Ik=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Dk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rW=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:s,target:l,to:c,preventScrollReset:u,unstable_viewTransition:d}=t,_=Ek(t,Tk),{basename:p}=O.useContext(Oo),m,E=!1;if(typeof c=="string"&&Dk.test(c)&&(m=c,Ik))try{let h=new URL(window.location.href),S=c.startsWith("//")?new URL(h.protocol+c):new URL(c),b=No(S.pathname,p);S.origin===h.origin&&b!=null?c=b+S.search+S.hash:E=!0}catch{}let T=J0(c,{relative:i}),f=wk(c,{replace:o,state:s,target:l,preventScrollReset:u,relative:i,unstable_viewTransition:d});function g(h){r&&r(h),h.defaultPrevented||f(h)}return O.createElement("a",Ks({},_,{href:m||T,onClick:E||a?r:g,ref:n,target:l}))});var Lv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Lv||(Lv={}));var xv;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(xv||(xv={}));function wk(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,l=ek(),c=sd(),u=sD(e,{relative:o});return O.useCallback(d=>{if(hk(d,n)){d.preventDefault();let _=r!==void 0?r:ba(c)===ba(u);l(e,{replace:_,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:s})}},[c,l,u,r,i,n,e,a,o,s])}var Pv={},Cc=void 0;try{Cc=window}catch{}function eh(e,t){if(typeof Cc<"u"){var n=Cc.__packages__=Cc.__packages__||{};if(!n[e]||!Pv[e]){Pv[e]=t;var r=n[e]=n[e]||[];r.push(t)}}}eh("@fluentui/set-version","6.0.0");var fE=function(e,t){return fE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},fE(e,t)};function ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fE(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ee=function(){return Ee=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function Qs(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r"u"?Wo.none:Wo.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},t),this._classNameToArgs=(r=n?.classNameToArgs)!==null&&r!==void 0?r:this._classNameToArgs,this._counter=(i=n?.counter)!==null&&i!==void 0?i:this._counter,this._keyToClassName=(o=(a=this._config.classNameCache)!==null&&a!==void 0?a:n?.keyToClassName)!==null&&o!==void 0?o:this._keyToClassName,this._preservedRules=(s=n?.preservedRules)!==null&&s!==void 0?s:this._preservedRules,this._rules=(l=n?.rules)!==null&&l!==void 0?l:this._rules}return e.getInstance=function(){if(wa=Pa[kv],!wa||wa._lastStyleElement&&wa._lastStyleElement.ownerDocument!==document){var t=Pa?.FabricConfig||{},n=new e(t.mergeStyles,t.serializedStylesheet);wa=n,Pa[kv]=n}return wa},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(t){this._config=Ee(Ee({},this._config),t)},e.prototype.onReset=function(t){var n=this;return this._onResetCallbacks.push(t),function(){n._onResetCallbacks=n._onResetCallbacks.filter(function(r){return r!==t})}},e.prototype.onInsertRule=function(t){var n=this;return this._onInsertRuleCallbacks.push(t),function(){n._onInsertRuleCallbacks=n._onInsertRuleCallbacks.filter(function(r){return r!==t})}},e.prototype.getClassName=function(t){var n=this._config.namespace,r=t||this._config.defaultPrefix;return"".concat(n?n+"-":"").concat(r,"-").concat(this._counter++)},e.prototype.cacheClassName=function(t,n,r,i){this._keyToClassName[n]=t,this._classNameToArgs[t]={args:r,rules:i}},e.prototype.classNameFromKey=function(t){return this._keyToClassName[t]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(t){var n=this._classNameToArgs[t];return n&&n.args},e.prototype.insertedRulesFromClassName=function(t){var n=this._classNameToArgs[t];return n&&n.rules},e.prototype.insertRule=function(t,n){var r=this._config.injectionMode,i=r!==Wo.none?this._getStyleElement():void 0;if(n&&this._preservedRules.push(t),i)switch(r){case Wo.insertNode:var a=i.sheet;try{a.insertRule(t,a.cssRules.length)}catch{}break;case Wo.appendChild:i.appendChild(document.createTextNode(t));break}else this._rules.push(t);this._config.onInsertRule&&this._config.onInsertRule(t),this._onInsertRuleCallbacks.forEach(function(o){return o()})},e.prototype.getRules=function(t){return(t?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(t){return t()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var t=this;return!this._styleElement&&typeof document<"u"&&(this._styleElement=this._createStyleElement(),Lk||window.requestAnimationFrame(function(){t._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var t=document.head,n=document.createElement("style"),r=null;n.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&n.setAttribute("nonce",i.nonce),this._lastStyleElement)r=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();a?r=a.nextElementSibling:r=t.childNodes[0]}return t.insertBefore(n,t.contains(r)?r:null),this._lastStyleElement=n,n},e.prototype._findPlaceholderStyleTag=function(){var t=document.head;return t?t.querySelector("style[data-merge-styles]"):null},e}();function uD(){for(var e=[],t=0;t=0)a(c.split(" "));else{var u=i.argsFromClassName(c);u?a(u):n.indexOf(c)===-1&&n.push(c)}else Array.isArray(c)?a(c):typeof c=="object"&&r.push(c)}}return a(e),{classes:n,objects:r}}function dD(e){oo!==e&&(oo=e)}function _D(){return oo===void 0&&(oo=typeof document<"u"&&!!document.documentElement&&document.documentElement.getAttribute("dir")==="rtl"),oo}var oo;oo=_D();function cd(){return{rtl:_D()}}var Fv={};function xk(e,t){var n=e[t];n.charAt(0)!=="-"&&(e[t]=Fv[n]=Fv[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var Kl;function Pk(){var e;if(!Kl){var t=typeof document<"u"?document:void 0,n=typeof navigator<"u"?navigator:void 0,r=(e=n?.userAgent)===null||e===void 0?void 0:e.toLowerCase();t?Kl={isWebkit:!!(t&&"WebkitAppearance"in t.documentElement.style),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!!(n&&(/rv:11.0/i.test(n.userAgent)||/Edge\/\d./i.test(navigator.userAgent)))}:Kl={isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return Kl}var Uv={"user-select":1};function kk(e,t){var n=Pk(),r=e[t];if(Uv[r]){var i=e[t+1];Uv[r]&&(n.isWebkit&&e.push("-webkit-"+r,i),n.isMoz&&e.push("-moz-"+r,i),n.isMs&&e.push("-ms-"+r,i),n.isOpera&&e.push("-o-"+r,i))}}var Fk=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function Uk(e,t){var n=e[t],r=e[t+1];if(typeof r=="number"){var i=Fk.indexOf(n)>-1,a=n.indexOf("--")>-1,o=i||a?"":"px";e[t+1]="".concat(r).concat(o)}}var Ql,fi="left",gi="right",Bk="@noflip",Bv=(Ql={},Ql[fi]=gi,Ql[gi]=fi,Ql),Gv={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function Gk(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var i=t[n+1];if(typeof i=="string"&&i.indexOf(Bk)>=0)t[n+1]=i.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(fi)>=0)t[n]=r.replace(fi,gi);else if(r.indexOf(gi)>=0)t[n]=r.replace(gi,fi);else if(String(i).indexOf(fi)>=0)t[n+1]=i.replace(fi,gi);else if(String(i).indexOf(gi)>=0)t[n+1]=i.replace(gi,fi);else if(Bv[r])t[n]=Bv[r];else if(Gv[i])t[n+1]=Gv[i];else switch(r){case"margin":case"padding":t[n+1]=Hk(i);break;case"box-shadow":t[n+1]=Yk(i,0);break}}}function Yk(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(r*-1)),n.join(" ")}function Hk(e){if(typeof e=="string"){var t=e.split(" ");if(t.length===4)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}function qk(e){for(var t=[],n=0,r=0,i=0;in&&t.push(e.substring(n,i)),n=i+1);break}return n-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map(function(i){return":global(".concat(i.trim(),")")}).join(", ")]);return t.reverse().reduce(function(i,a){var o=a[0],s=a[1],l=a[2],c=i.slice(0,o),u=i.slice(s);return c+l+u},e)}function Yv(e,t){return e.indexOf(":global(")>=0?e.replace(pD,"$1"):e.indexOf(":")===0?t+e:e.indexOf("&")<0?t+" "+e:e}function Hv(e,t,n,r){t===void 0&&(t={__order:[]}),n.indexOf("@")===0?(n=n+"{"+e,so([r],t,n)):n.indexOf(",")>-1?zk(n).split(",").map(function(i){return i.trim()}).forEach(function(i){return so([r],t,Yv(i,e))}):so([r],t,Yv(n,e))}function so(e,t,n){t===void 0&&(t={__order:[]}),n===void 0&&(n="&");var r=er.getInstance(),i=t[n];i||(i={},t[n]=i,t.__order.push(n));for(var a=0,o=e;a0){n.subComponentStyles={};var _=n.subComponentStyles,p=function(m){if(r.hasOwnProperty(m)){var E=r[m];_[m]=function(T){return bl.apply(void 0,E.map(function(f){return typeof f=="function"?f(T):f}))}}};for(var c in r)p(c)}return n}function aW(){for(var e=[],t=0;t"u")){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:gE}}var Zk=function(){function e(t,n){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=t||null,this._onErrorHandler=n,this._noop=function(){}}return e.prototype.dispose=function(){var t;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(t in this._timeoutIds)this._timeoutIds.hasOwnProperty(t)&&this.clearTimeout(parseInt(t,10));this._timeoutIds=null}if(this._immediateIds){for(t in this._immediateIds)this._immediateIds.hasOwnProperty(t)&&this.clearImmediate(parseInt(t,10));this._immediateIds=null}if(this._intervalIds){for(t in this._intervalIds)this._intervalIds.hasOwnProperty(t)&&this.clearInterval(parseInt(t,10));this._intervalIds=null}if(this._animationFrameIds){for(t in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(t)&&this.cancelAnimationFrame(parseInt(t,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(t,n){var r=this,i=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),i=setTimeout(function(){try{r._timeoutIds&&delete r._timeoutIds[i],t.apply(r._parent)}catch(a){r._logError(a)}},n),this._timeoutIds[i]=!0),i},e.prototype.clearTimeout=function(t){this._timeoutIds&&this._timeoutIds[t]&&(clearTimeout(t),delete this._timeoutIds[t])},e.prototype.setImmediate=function(t,n){var r=this,i=0,a=St(n);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});var o=function(){try{r._immediateIds&&delete r._immediateIds[i],t.apply(r._parent)}catch(s){r._logError(s)}};i=a.setTimeout(o,0),this._immediateIds[i]=!0}return i},e.prototype.clearImmediate=function(t,n){var r=St(n);this._immediateIds&&this._immediateIds[t]&&(r.clearTimeout(t),delete this._immediateIds[t])},e.prototype.setInterval=function(t,n){var r=this,i=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),i=setInterval(function(){try{t.apply(r._parent)}catch(a){r._logError(a)}},n),this._intervalIds[i]=!0),i},e.prototype.clearInterval=function(t){this._intervalIds&&this._intervalIds[t]&&(clearInterval(t),delete this._intervalIds[t])},e.prototype.throttle=function(t,n,r){var i=this;if(this._isDisposed)return this._noop;var a=n||0,o=!0,s=!0,l=0,c,u,d=null;r&&typeof r.leading=="boolean"&&(o=r.leading),r&&typeof r.trailing=="boolean"&&(s=r.trailing);var _=function(m){var E=Date.now(),T=E-l,f=o?a-T:a;return T>=a&&(!m||o)?(l=E,d&&(i.clearTimeout(d),d=null),c=t.apply(i._parent,u)):d===null&&s&&(d=i.setTimeout(_,f)),c},p=function(){for(var m=[],E=0;E=o&&(A=!0),u=v);var M=v-u,w=o-M,Y=v-d,k=!1;return c!==null&&(Y>=c&&m?k=!0:w=Math.min(w,c-Y)),M>=o||k||A?T(v):(m===null||!C)&&l&&(m=i.setTimeout(f,w)),_},g=function(){return!!m},h=function(){g()&&E(Date.now())},S=function(){return g()&&T(Date.now()),_},b=function(){for(var C=[],v=0;v-1)for(var o=n.split(/[ ,]+/),s=0;s"u")){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var l_,bs=0,TD=nh({overflow:"hidden !important"}),qv="data-is-scrollable",sW=function(e,t){if(e){var n=0,r=null,i=function(o){o.targetTouches.length===1&&(n=o.targetTouches[0].clientY)},a=function(o){if(o.targetTouches.length===1&&(o.stopPropagation(),!!r)){var s=o.targetTouches[0].clientY-n,l=nF(o.target);l&&(r=l),r.scrollTop===0&&s>0&&o.preventDefault(),r.scrollHeight-Math.ceil(r.scrollTop)<=r.clientHeight&&s<0&&o.preventDefault()}};t.on(e,"touchstart",i,{passive:!1}),t.on(e,"touchmove",a,{passive:!1}),r=e}},lW=function(e,t){if(e){var n=function(r){r.stopPropagation()};t.on(e,"touchmove",n,{passive:!1})}},vD=function(e){e.preventDefault()};function cW(){var e=$i();e&&e.body&&!bs&&(e.body.classList.add(TD),e.body.addEventListener("touchmove",vD,{passive:!1,capture:!1})),bs++}function uW(){if(bs>0){var e=$i();e&&e.body&&bs===1&&(e.body.classList.remove(TD),e.body.removeEventListener("touchmove",vD)),bs--}}function dW(){if(l_===void 0){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),l_=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return l_}function nF(e){for(var t=e,n=$i(e);t&&t!==n.body;){if(t.getAttribute(qv)==="true")return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if(t.getAttribute(qv)!=="false"){var r=getComputedStyle(t),i=r?r.getPropertyValue("overflow-y"):"";if(i&&(i==="scroll"||i==="auto"))return t}t=t.parentElement}return(!t||t===n.body)&&(t=St(e)),t}var rF=void 0;function bD(e){console&&console.warn&&console.warn(e)}function iF(e,t,n,r,i){if(i===!0&&!1)for(var a,o;a1?r[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new Zk(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new tF(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(n){var r=this;return this.__resolves||(this.__resolves={}),this.__resolves[n]||(this.__resolves[n]=function(i){return r[n]=i}),this.__resolves[n]},t.prototype._updateComponentRef=function(n,r){r===void 0&&(r={}),n&&r&&n.componentRef!==r.componentRef&&(this._setComponentRef(n.componentRef,null),this._setComponentRef(r.componentRef,this))},t.prototype._warnDeprecations=function(n){this.className,this.props},t.prototype._warnMutuallyExclusive=function(n){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(n,r,i){iF(this.className,this.props,n,r,i)},t.prototype._setComponentRef=function(n,r){!this._skipComponentRefResolution&&n&&(typeof n=="function"&&n(r),typeof n=="object"&&(n.current=r))},t})(O.Component);function aF(e,t,n){for(var r=0,i=n.length;r-1&&i._virtual.children.splice(a,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))}var gF="data-is-focusable",EF="data-is-visible",SF="data-focuszone-id",hF="data-is-sub-focuszone";function bW(e,t,n){return ga(e,t,!0,!1,!1,n)}function CW(e,t,n){return hi(e,t,!0,!1,!0,n)}function RW(e,t,n,r){return r===void 0&&(r=!0),ga(e,t,r,!1,!1,n,!1,!0)}function yW(e,t,n,r){return r===void 0&&(r=!0),hi(e,t,r,!1,!0,n,!1,!0)}function NW(e,t){var n=ga(e,e,!0,!1,!1,!0,void 0,void 0,t);return n?(vF(n),!0):!1}function hi(e,t,n,r,i,a,o,s){if(!t||!o&&t===e)return null;var l=ud(t);if(i&&l&&(a||!(ND(t)||OD(t)))){var c=hi(e,t.lastElementChild,!0,!0,!0,a,o,s);if(c){if(s&&gu(c,!0)||!s)return c;var u=hi(e,c.previousElementSibling,!0,!0,!0,a,o,s);if(u)return u;for(var d=c.parentElement;d&&d!==t;){var _=hi(e,d.previousElementSibling,!0,!0,!0,a,o,s);if(_)return _;d=d.parentElement}}}if(n&&l&&gu(t,s))return t;var p=hi(e,t.previousElementSibling,!0,!0,!0,a,o,s);return p||(r?null:hi(e,t.parentElement,!0,!1,!1,a,o,s))}function ga(e,t,n,r,i,a,o,s,l){if(!t||t===e&&i&&!o)return null;var c=l?TF:ud,u=c(t);if(n&&u&&gu(t,s))return t;if(!i&&u&&(a||!(ND(t)||OD(t)))){var d=ga(e,t.firstElementChild,!0,!0,!1,a,o,s,l);if(d)return d}if(t===e)return null;var _=ga(e,t.nextElementSibling,!0,!0,!1,a,o,s,l);return _||(r?null:ga(e,t.parentElement,!1,!1,!0,a,o,s,l))}function ud(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(EF);return t!=null?t==="true":e.offsetHeight!==0||e.offsetParent!==null||e.isVisible===!0}function TF(e){return!!e&&ud(e)&&!e.hidden&&window.getComputedStyle(e).visibility!=="hidden"}function gu(e,t){if(!e||e.disabled)return!1;var n=0,r=null;e&&e.getAttribute&&(r=e.getAttribute("tabIndex"),r&&(n=parseInt(r,10)));var i=e.getAttribute?e.getAttribute(gF):null,a=r!==null&&n>=0,o=!!e&&i!=="false"&&(e.tagName==="A"||e.tagName==="BUTTON"||e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.tagName==="SELECT"||i==="true"||a);return t?n!==-1&&o:o}function ND(e){return!!(e&&e.getAttribute&&e.getAttribute(SF))}function OD(e){return!!(e&&e.getAttribute&&e.getAttribute(hF)==="true")}function OW(e){var t=$i(e),n=t&&t.activeElement;return!!(n&&mF(e,n))}function AW(e,t){return fF(e,t)!=="true"}var Xl=void 0;function vF(e){if(e){var t=St(e);t&&(Xl!==void 0&&t.cancelAnimationFrame(Xl),Xl=t.requestAnimationFrame(function(){e&&e.focus(),Xl=void 0}))}}function IW(e,t){for(var n=e,r=0,i=t;r(e.cacheSize||bF)){var p=St();!((l=p?.FabricConfig)===null||l===void 0)&&l.enableClassNameCacheFullWarning&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(n,"/").concat(r,".")),console.trace()),t.clear(),n=0,e.disableCaching=!0}return c[jl]};return a}function d_(e,t){return t=RF(t),e.has(t)||e.set(t,new Map),e.get(t)}function $v(e,t){if(typeof t=="function"){var n=t.__cachedInputs__;if(n)for(var r=0,i=t.__cachedInputs__;r"u"?null:WeakMap;function NF(){yc++}function AD(e,t,n){if(t===void 0&&(t=100),n===void 0&&(n=!1),!Xs)return e;if(!zv){var r=er.getInstance();r&&r.onReset&&er.getInstance().onReset(NF),zv=!0}var i,a=0,o=yc;return function(){for(var l=[],c=0;c0&&a>t)&&(i=Wv(),a=0,o=yc),u=i;for(var d=0;d=0||l.indexOf("data-")===0||l.indexOf("aria-")===0;c&&(!n||n?.indexOf(l)===-1)&&(i[l]=e[l])}return i}function $W(e){DD(e,{componentDidMount:$F,componentDidUpdate:zF,componentWillUnmount:WF})}function $F(){hu(this.props.componentRef,this)}function zF(e){e.componentRef!==this.props.componentRef&&(hu(e.componentRef,null),hu(this.props.componentRef,this))}function WF(){hu(this.props.componentRef,null)}function hu(e,t){e&&(typeof e=="object"?e.current=t:typeof e=="function"&&e(t))}var lr,KF=(lr={},lr[Cn.up]=1,lr[Cn.down]=1,lr[Cn.left]=1,lr[Cn.right]=1,lr[Cn.home]=1,lr[Cn.end]=1,lr[Cn.tab]=1,lr[Cn.pageUp]=1,lr[Cn.pageDown]=1,lr);function wD(e){return!!KF[e]}var hE="ms-Fabric--isFocusVisible",Qv="ms-Fabric--isFocusHidden";function Xv(e,t){e&&(e.classList.add(t?hE:Qv),e.classList.remove(t?Qv:hE))}function dd(e,t,n){var r;n?n.forEach(function(i){return Xv(i.current,e)}):Xv((r=St(t))===null||r===void 0?void 0:r.document.body,e)}var jv=new WeakMap,Zv=new WeakMap;function Jv(e,t){var n,r=jv.get(e);return r?n=r+t:n=1,jv.set(e,n),n}function QF(e){var t=Zv.get(e);if(t)return t;var n=function(o){return MD(o,e.registeredProviders)},r=function(o){return LD(o,e.registeredProviders)},i=function(o){return xD(o,e.registeredProviders)},a=function(o){return PD(o,e.registeredProviders)};return t={onMouseDown:n,onPointerDown:r,onKeyDown:i,onKeyUp:a},Zv.set(e,t),t}var TE=O.createContext(void 0);function XF(e){var t=O.useContext(TE);O.useEffect(function(){var n,r,i,a,o=St(e?.current);if(!(!o||((n=o.FabricConfig)===null||n===void 0?void 0:n.disableFocusRects)===!0)){var s=o,l,c,u,d;if(!((r=t?.providerRef)===null||r===void 0)&&r.current&&(!((a=(i=t?.providerRef)===null||i===void 0?void 0:i.current)===null||a===void 0)&&a.addEventListener)){s=t.providerRef.current;var _=QF(t);l=_.onMouseDown,c=_.onPointerDown,u=_.onKeyDown,d=_.onKeyUp}else l=MD,c=LD,u=xD,d=PD;var p=Jv(s,1);return p<=1&&(s.addEventListener("mousedown",l,!0),s.addEventListener("pointerdown",c,!0),s.addEventListener("keydown",u,!0),s.addEventListener("keyup",d,!0)),function(){var m;!o||((m=o.FabricConfig)===null||m===void 0?void 0:m.disableFocusRects)===!0||(p=Jv(s,-1),p===0&&(s.removeEventListener("mousedown",l,!0),s.removeEventListener("pointerdown",c,!0),s.removeEventListener("keydown",u,!0),s.removeEventListener("keyup",d,!0)))}}},[t,e])}var zW=function(e){return XF(e.rootRef),null};function MD(e,t){dd(!1,e.target,t)}function LD(e,t){e.pointerType!=="mouse"&&dd(!1,e.target,t)}function xD(e,t){wD(e.which)&&dd(!0,e.target,t)}function PD(e,t){wD(e.which)&&dd(!0,e.target,t)}var WW=function(e){var t=e.providerRef,n=e.layerRoot,r=O.useState([])[0],i=O.useContext(TE),a=i!==void 0&&!n,o=O.useMemo(function(){return a?void 0:{providerRef:t,registeredProviders:r,registerProvider:function(s){r.push(s),i?.registerProvider(s)},unregisterProvider:function(s){i?.unregisterProvider(s);var l=r.indexOf(s);l>=0&&r.splice(l,1)}}},[t,r,i,a]);return O.useEffect(function(){if(o)return o.registerProvider(o.providerRef),function(){return o.unregisterProvider(o.providerRef)}},[o]),o?O.createElement(TE.Provider,{value:o},e.children):O.createElement(O.Fragment,null,e.children)};function jF(e){var t=null;try{var n=St();t=n?n.localStorage.getItem(e):null}catch{}return t}var Ji,eb="language";function ZF(e){if(e===void 0&&(e="sessionStorage"),Ji===void 0){var t=$i(),n=e==="localStorage"?jF(eb):e==="sessionStorage"?RD(eb):void 0;n&&(Ji=n),Ji===void 0&&t&&(Ji=t.documentElement.getAttribute("lang")),Ji===void 0&&(Ji="en")}return Ji}function KW(e){var t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}function QW(e,t,n){n===void 0&&(n=10);var r=Math.pow(n,t);return Math.round(e*r)/r}function tb(e){for(var t=[],n=1;n-1;e[r]=a?i:kD(e[r]||{},i,n)}else e[r]=i}return n.pop(),e}var XW=function(){return!window||!window.navigator||!window.navigator.userAgent?!1:/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},JF=["TEMPLATE","STYLE","SCRIPT"];function jW(e){var t=$i(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var r=0,i=e.parentElement.children;r"u"||e){var n=St(),r=(t=n?.navigator)===null||t===void 0?void 0:t.userAgent;p_=!!r&&r.indexOf("Macintosh")!==-1}return!!p_}function t1(e){var t=To(function(n){var r=To(function(i){return function(a){return n(a,i)}});return function(i,a){return e(i,a?r(a):n)}});return t}var n1=To(t1);function JW(e,t){return n1(e)(t)}var eK=function(e){var t;return function(n){t||(t=new Set,DD(e,{componentWillUnmount:function(){t.forEach(function(i){return cancelAnimationFrame(i)})}}));var r=requestAnimationFrame(function(){t.delete(r),n()});t.add(r)}},r1=["theme","styles"];function tK(e,t,n,r,i){r=r||{scope:"",fields:void 0};var a=r.scope,o=r.fields,s=o===void 0?r1:o,l=O.forwardRef(function(u,d){var _=O.useRef(),p=UF(s,a),m=p.styles;p.dir;var E=Mk(p,["styles","dir"]),T=n?n(u):void 0,f=_.current&&_.current.__cachedInputs__||[],g=u.styles;if(!_.current||m!==f[1]||g!==f[2]){var h=function(S){return Xk(S,t,m,g)};h.__cachedInputs__=[t,m,g],h.__noStyleOverride__=!m&&!g,_.current=h}return O.createElement(e,Ee({ref:d},E,T,u,{styles:_.current}))});l.displayName="Styled".concat(e.displayName||e.name);var c=i?O.memo(l):l;return l.displayName&&(c.displayName=l.displayName),c}function nK(e){}var rK=function(){var e,t=St();return!((e=t?.navigator)===null||e===void 0)&&e.userAgent?t.navigator.userAgent.indexOf("rv:11.0")>-1:!1};function iK(e,t){for(var n=Ee({},t),r=0,i=Object.keys(e);rr?" (+ ".concat(Ko.length-r," more)"):"")),f_=void 0,Ko=[]},n)))}function s1(e,t,n,r,i){i===void 0&&(i=!1);var a=Ee({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),o=FD(e,t,a,r);return l1(o,i)}function FD(e,t,n,r,i){var a={},o=e||{},s=o.white,l=o.black,c=o.themePrimary,u=o.themeDark,d=o.themeDarker,_=o.themeDarkAlt,p=o.themeLighter,m=o.neutralLight,E=o.neutralLighter,T=o.neutralDark,f=o.neutralQuaternary,g=o.neutralQuaternaryAlt,h=o.neutralPrimary,S=o.neutralSecondary,b=o.neutralSecondaryAlt,C=o.neutralTertiary,v=o.neutralTertiaryAlt,A=o.neutralLighterAlt,M=o.accent;return s&&(a.bodyBackground=s,a.bodyFrameBackground=s,a.accentButtonText=s,a.buttonBackground=s,a.primaryButtonText=s,a.primaryButtonTextHovered=s,a.primaryButtonTextPressed=s,a.inputBackground=s,a.inputForegroundChecked=s,a.listBackground=s,a.menuBackground=s,a.cardStandoutBackground=s),l&&(a.bodyTextChecked=l,a.buttonTextCheckedHovered=l),c&&(a.link=c,a.primaryButtonBackground=c,a.inputBackgroundChecked=c,a.inputIcon=c,a.inputFocusBorderAlt=c,a.menuIcon=c,a.menuHeader=c,a.accentButtonBackground=c),u&&(a.primaryButtonBackgroundPressed=u,a.inputBackgroundCheckedHovered=u,a.inputIconHovered=u),d&&(a.linkHovered=d),_&&(a.primaryButtonBackgroundHovered=_),p&&(a.inputPlaceholderBackgroundChecked=p),m&&(a.bodyBackgroundChecked=m,a.bodyFrameDivider=m,a.bodyDivider=m,a.variantBorder=m,a.buttonBackgroundCheckedHovered=m,a.buttonBackgroundPressed=m,a.listItemBackgroundChecked=m,a.listHeaderBackgroundPressed=m,a.menuItemBackgroundPressed=m,a.menuItemBackgroundChecked=m),E&&(a.bodyBackgroundHovered=E,a.buttonBackgroundHovered=E,a.buttonBackgroundDisabled=E,a.buttonBorderDisabled=E,a.primaryButtonBackgroundDisabled=E,a.disabledBackground=E,a.listItemBackgroundHovered=E,a.listHeaderBackgroundHovered=E,a.menuItemBackgroundHovered=E),f&&(a.primaryButtonTextDisabled=f,a.disabledSubtext=f),g&&(a.listItemBackgroundCheckedHovered=g),C&&(a.disabledBodyText=C,a.variantBorderHovered=n?.variantBorderHovered||C,a.buttonTextDisabled=C,a.inputIconDisabled=C,a.disabledText=C),h&&(a.bodyText=h,a.actionLink=h,a.buttonText=h,a.inputBorderHovered=h,a.inputText=h,a.listText=h,a.menuItemText=h),A&&(a.bodyStandoutBackground=A,a.defaultStateBackground=A),T&&(a.actionLinkHovered=T,a.buttonTextHovered=T,a.buttonTextChecked=T,a.buttonTextPressed=T,a.inputTextHovered=T,a.menuItemTextHovered=T),S&&(a.bodySubtext=S,a.focusBorder=S,a.inputBorder=S,a.smallInputBorder=S,a.inputPlaceholderText=S),b&&(a.buttonBorder=b),v&&(a.disabledBodySubtext=v,a.disabledBorder=v,a.buttonBackgroundChecked=v,a.menuDivider=v),M&&(a.accentButtonBackground=M),t?.elevation4&&(a.cardShadow=t.elevation4),!r&&t?.elevation8?a.cardShadowHovered=t.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered),a=Ee(Ee({},a),n),a}function l1(e,t){var n="";return t===!0&&(n=" /* @deprecated */"),e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}function c1(e,t){var n,r,i;t===void 0&&(t={});var a=tb({},e,t,{semanticColors:FD(t.palette,t.effects,t.semanticColors,t.isInverted===void 0?e.isInverted:t.isInverted)});if(!((n=t.palette)===null||n===void 0)&&n.themePrimary&&!(!((r=t.palette)===null||r===void 0)&&r.accent)&&(a.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var o=0,s=Object.keys(a.fonts);o"u"?global:window,ob=Cs&&Cs.CSPSettings&&Cs.CSPSettings.nonce,Mn=eU();function eU(){var e=Cs.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};return e.runState||(e=ja(ja({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),e.registeredThemableStyles||(e=ja(ja({},e),{registeredThemableStyles:[]})),Cs.__themeState__=e,e}function tU(e,t){Mn.loadStyles?Mn.loadStyles(BD(e).styleString,e):aU(e)}function nU(e){Mn.theme=e,iU()}function rU(e){e===void 0&&(e=3),(e===3||e===2)&&(sb(Mn.registeredStyles),Mn.registeredStyles=[]),(e===3||e===1)&&(sb(Mn.registeredThemableStyles),Mn.registeredThemableStyles=[])}function sb(e){e.forEach(function(t){var n=t&&t.styleElement;n&&n.parentElement&&n.parentElement.removeChild(n)})}function iU(){if(Mn.theme){for(var e=[],t=0,n=Mn.registeredThemableStyles;t0&&(rU(1),tU([].concat.apply([],e)))}}function BD(e){var t=Mn.theme,n=!1,r=(e||[]).map(function(i){var a=i.theme;if(a){n=!0;var o=t?t[a]:void 0,s=i.defaultValue||"inherit";return t&&!o&&console&&!(a in t)&&typeof DEBUG<"u"&&DEBUG&&console.warn('Theming value not provided for "'.concat(a,'". Falling back to "').concat(s,'".')),o||s}else return i.rawString});return{styleString:r.join(""),themable:n}}function aU(e){if(!(typeof document>"u")){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=BD(e),i=r.styleString,a=r.themable;n.setAttribute("data-load-themed-styles","true"),ob&&n.setAttribute("nonce",ob),n.appendChild(document.createTextNode(i)),Mn.perf.count++,t.appendChild(n);var o=document.createEvent("HTMLEvents");o.initEvent("styleinsert",!0,!1),o.args={newStyle:n},document.dispatchEvent(o);var s={styleElement:n,themableStyle:e};a?Mn.registeredThemableStyles.push(s):Mn.registeredStyles.push(s)}}var qn=md({}),oU=[],RE="theme";function GD(){var e,t,n,r=St();!((t=r?.FabricConfig)===null||t===void 0)&&t.legacyTheme?sU(r.FabricConfig.legacyTheme):jn.getSettings([RE]).theme||(!((n=r?.FabricConfig)===null||n===void 0)&&n.theme&&(qn=md(r.FabricConfig.theme)),jn.applySettings((e={},e[RE]=qn,e)))}GD();function bK(e){return e===void 0&&(e=!1),e===!0&&(qn=md({},e)),qn}function sU(e,t){var n;return t===void 0&&(t=!1),qn=md(e,t),nU(Ee(Ee(Ee(Ee({},qn.palette),qn.semanticColors),qn.effects),lU(qn))),jn.applySettings((n={},n[RE]=qn,n)),oU.forEach(function(r){try{r(qn)}catch{}}),qn}function lU(e){for(var t={},n=0,r=Object.keys(e.fonts);n0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return xU(t[o],l,r[o],r.slots&&r.slots[o],r._defaultStyles&&r._defaultStyles[o],r.theme)};s.isSlot=!0,n[o]=s}};for(var a in t)i(a);return n}function MU(e,t){var n,r;return typeof t=="string"||typeof t=="number"||typeof t=="boolean"?r=(n={},n[e]=t,n):r=t,r}function LU(e,t){for(var n=[],r=2;r"u"?global:window,S_="@griffel/";function FU(e,t){return E_[Symbol.for(S_+e)]||(E_[Symbol.for(S_+e)]=t),E_[Symbol.for(S_+e)]}const yE=FU("DEFINITION_LOOKUP_TABLE",{}),Nc="data-make-styles-bucket",NE=7,uh="___",UU=uh.length+NE,BU=0,GU=1;function YU(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function HU(e){const t=e.length;if(t===NE)return e;for(let n=t;n0&&(t+=u.slice(0,d)),n+=_,r[c]=_}}}if(n==="")return t.slice(0,-1);const i=cb[n];if(i!==void 0)return t+i;const a=[];for(let c=0;ca.cssText):r}}}const $U=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],ub=$U.reduce((e,t,n)=>(e[t]=n,e),{});function zU(e,t,n,r,i={}){const a=e==="m",o=a?e+i.m:e;if(!r.stylesheets[o]){const s=t&&t.createElement("style"),l=VU(s,e,{...r.styleElementAttributes,...a&&{media:i.m}});r.stylesheets[o]=l,t&&s&&t.head.insertBefore(s,WU(t,n,e,r,i))}return r.stylesheets[o]}function WU(e,t,n,r,i){const a=ub[n];let o=u=>a-ub[u.getAttribute(Nc)],s=e.head.querySelectorAll(`[${Nc}]`);if(n==="m"&&i){const u=e.head.querySelectorAll(`[${Nc}="${n}"]`);u.length&&(s=u,o=d=>r.compareMediaQueries(i.m,d.media))}const l=s.length;let c=l-1;for(;c>=0;){const u=s.item(c);if(o(u)>0)return u.nextSibling;c--}return l>0?s.item(0):t?t.nextSibling:null}function db(e,t){try{e.insertRule(t)}catch{}}let KU=0;const QU=(e,t)=>et?1:0;function XU(e=typeof document>"u"?void 0:document,t={}){const{unstable_filterCSSRule:n,insertionPoint:r,styleElementAttributes:i,compareMediaQueries:a=QU}=t,o={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(i),compareMediaQueries:a,id:`d${KU++}`,insertCSSRules(s){for(const l in s){const c=s[l];for(let u=0,d=c.length;u{const e={};return function(n,r){e[n.id]===void 0&&(n.insertCSSRules(r),e[n.id]=!0)}};function jU(e,t,n=$D){const r=n();let i=null,a=null;function o(s){const{dir:l,renderer:c}=s,u=l==="ltr";return u?i===null&&(i=lb(e,l)):a===null&&(a=lb(e,l)),r(c,t),u?i:a}return o}function ZU(e,t,n,r=$D){const i=r();function a(o){const{dir:s,renderer:l}=o,c=s==="ltr"?e:t||e;return i(l,Array.isArray(n)?{r:n}:n),c}return a}function JU(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const _b=qc["useInsertionEffect"]?qc["useInsertionEffect"]:void 0,zD=()=>{const e={};return function(n,r){if(_b&&JU()){_b(()=>{n.insertCSSRules(r)},[n,r]);return}e[n.id]===void 0&&(n.insertCSSRules(r),e[n.id]=!0)}},eB=O.createContext(XU());function WD(){return O.useContext(eB)}const tB=O.createContext("ltr");function KD(){return O.useContext(tB)}function wK(e,t){const n=jU(e,t,zD);return function(){const i=KD(),a=WD();return n({dir:i,renderer:a})}}function MK(e,t,n){const r=ZU(e,t,n,zD);return function(){const a=KD(),o=WD();return r({dir:a,renderer:o})}}/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */const{entries:QD,setPrototypeOf:pb,isFrozen:nB,getPrototypeOf:rB,getOwnPropertyDescriptor:XD}=Object;let{freeze:jt,seal:hr,create:jD}=Object,{apply:OE,construct:AE}=typeof Reflect<"u"&&Reflect;jt||(jt=function(t){return t});hr||(hr=function(t){return t});OE||(OE=function(t,n,r){return t.apply(n,r)});AE||(AE=function(t,n){return new t(...n)});const Jl=tr(Array.prototype.forEach),mb=tr(Array.prototype.pop),Qo=tr(Array.prototype.push),Oc=tr(String.prototype.toLowerCase),h_=tr(String.prototype.toString),iB=tr(String.prototype.match),Xo=tr(String.prototype.replace),aB=tr(String.prototype.indexOf),oB=tr(String.prototype.trim),hn=tr(RegExp.prototype.test),jo=sB(TypeError);function tr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:Oc;pb&&pb(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const a=n(i);a!==i&&(nB(t)||(t[r]=a),i=a)}e[i]=!0}return e}function La(e){const t=jD(null);for(const[n,r]of QD(e))XD(e,n)!==void 0&&(t[n]=r);return t}function ec(e,t){for(;e!==null;){const r=XD(e,t);if(r){if(r.get)return tr(r.get);if(typeof r.value=="function")return tr(r.value)}e=rB(e)}function n(r){return console.warn("fallback value for",r),null}return n}const fb=jt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T_=jt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v_=jt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),lB=jt(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),b_=jt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cB=jt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gb=jt(["#text"]),Eb=jt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),C_=jt(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Sb=jt(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),tc=jt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),uB=hr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),dB=hr(/<%[\w\W]*|[\w\W]*%>/gm),_B=hr(/\${[\w\W]*}/gm),pB=hr(/^data-[\-\w.\u00B7-\uFFFF]/),mB=hr(/^aria-[\-\w]+$/),ZD=hr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fB=hr(/^(?:\w+script|data):/i),gB=hr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),JD=hr(/^html$/i);var hb=Object.freeze({__proto__:null,MUSTACHE_EXPR:uB,ERB_EXPR:dB,TMPLIT_EXPR:_B,DATA_ATTR:pB,ARIA_ATTR:mB,IS_ALLOWED_URI:ZD,IS_SCRIPT_OR_DATA:fB,ATTR_WHITESPACE:gB,DOCTYPE_NAME:JD});const EB=function(){return typeof window>"u"?null:window},SB=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function ew(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:EB();const t=j=>ew(j);if(t.version="3.0.6",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:l,NodeFilter:c,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:_,trustedTypes:p}=e,m=l.prototype,E=ec(m,"cloneNode"),T=ec(m,"nextSibling"),f=ec(m,"childNodes"),g=ec(m,"parentNode");if(typeof o=="function"){const j=n.createElement("template");j.content&&j.content.ownerDocument&&(n=j.content.ownerDocument)}let h,S="";const{implementation:b,createNodeIterator:C,createDocumentFragment:v,getElementsByTagName:A}=n,{importNode:M}=r;let w={};t.isSupported=typeof QD=="function"&&typeof g=="function"&&b&&b.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Y,ERB_EXPR:k,TMPLIT_EXPR:ne,DATA_ATTR:me,ARIA_ATTR:X,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:oe}=hb;let{IS_ALLOWED_URI:P}=hb,F=null;const $=be({},[...fb,...T_,...v_,...b_,...gb]);let J=null;const Se=be({},[...Eb,...C_,...Sb,...tc]);let I=Object.seal(jD(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}})),U=null,re=null,se=!0,Ce=!0,ot=!1,he=!0,Le=!1,ke=!1,tt=!1,Rt=!1,nn=!1,Bn=!1,$t=!1,fn=!0,ir=!1;const rn="user-content-";let yt=!0,st=!1,_e={},ht=null;const He=be({},["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"]);let Ue=null;const pt=be({},["audio","video","img","source","image","track"]);let Dt=null;const an=be({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),zt="http://www.w3.org/1998/Math/MathML",W="http://www.w3.org/2000/svg",K="http://www.w3.org/1999/xhtml";let de=K,Z=!1,Ve=null;const gn=be({},[zt,W,K],h_);let Ut=null;const xo=["application/xhtml+xml","text/html"],Ia="text/html";let lt=null,N=null;const D=n.createElement("form"),x=function(y){return y instanceof RegExp||y instanceof Function},H=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(N&&N===y)){if((!y||typeof y!="object")&&(y={}),y=La(y),Ut=xo.indexOf(y.PARSER_MEDIA_TYPE)===-1?Ut=Ia:Ut=y.PARSER_MEDIA_TYPE,lt=Ut==="application/xhtml+xml"?h_:Oc,F="ALLOWED_TAGS"in y?be({},y.ALLOWED_TAGS,lt):$,J="ALLOWED_ATTR"in y?be({},y.ALLOWED_ATTR,lt):Se,Ve="ALLOWED_NAMESPACES"in y?be({},y.ALLOWED_NAMESPACES,h_):gn,Dt="ADD_URI_SAFE_ATTR"in y?be(La(an),y.ADD_URI_SAFE_ATTR,lt):an,Ue="ADD_DATA_URI_TAGS"in y?be(La(pt),y.ADD_DATA_URI_TAGS,lt):pt,ht="FORBID_CONTENTS"in y?be({},y.FORBID_CONTENTS,lt):He,U="FORBID_TAGS"in y?be({},y.FORBID_TAGS,lt):{},re="FORBID_ATTR"in y?be({},y.FORBID_ATTR,lt):{},_e="USE_PROFILES"in y?y.USE_PROFILES:!1,se=y.ALLOW_ARIA_ATTR!==!1,Ce=y.ALLOW_DATA_ATTR!==!1,ot=y.ALLOW_UNKNOWN_PROTOCOLS||!1,he=y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Le=y.SAFE_FOR_TEMPLATES||!1,ke=y.WHOLE_DOCUMENT||!1,nn=y.RETURN_DOM||!1,Bn=y.RETURN_DOM_FRAGMENT||!1,$t=y.RETURN_TRUSTED_TYPE||!1,Rt=y.FORCE_BODY||!1,fn=y.SANITIZE_DOM!==!1,ir=y.SANITIZE_NAMED_PROPS||!1,yt=y.KEEP_CONTENT!==!1,st=y.IN_PLACE||!1,P=y.ALLOWED_URI_REGEXP||ZD,de=y.NAMESPACE||K,I=y.CUSTOM_ELEMENT_HANDLING||{},y.CUSTOM_ELEMENT_HANDLING&&x(y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(I.tagNameCheck=y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),y.CUSTOM_ELEMENT_HANDLING&&x(y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(I.attributeNameCheck=y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),y.CUSTOM_ELEMENT_HANDLING&&typeof y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(I.allowCustomizedBuiltInElements=y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Ce=!1),Bn&&(nn=!0),_e&&(F=be({},[...gb]),J=[],_e.html===!0&&(be(F,fb),be(J,Eb)),_e.svg===!0&&(be(F,T_),be(J,C_),be(J,tc)),_e.svgFilters===!0&&(be(F,v_),be(J,C_),be(J,tc)),_e.mathMl===!0&&(be(F,b_),be(J,Sb),be(J,tc))),y.ADD_TAGS&&(F===$&&(F=La(F)),be(F,y.ADD_TAGS,lt)),y.ADD_ATTR&&(J===Se&&(J=La(J)),be(J,y.ADD_ATTR,lt)),y.ADD_URI_SAFE_ATTR&&be(Dt,y.ADD_URI_SAFE_ATTR,lt),y.FORBID_CONTENTS&&(ht===He&&(ht=La(ht)),be(ht,y.FORBID_CONTENTS,lt)),yt&&(F["#text"]=!0),ke&&be(F,["html","head","body"]),F.table&&(be(F,["tbody"]),delete U.tbody),y.TRUSTED_TYPES_POLICY){if(typeof y.TRUSTED_TYPES_POLICY.createHTML!="function")throw jo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw jo('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=y.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=SB(p,i)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));jt&&jt(y),N=y}},ie=be({},["mi","mo","mn","ms","mtext"]),ce=be({},["foreignobject","desc","title","annotation-xml"]),pe=be({},["title","style","font","a","script"]),ae=be({},T_);be(ae,v_),be(ae,lB);const te=be({},b_);be(te,cB);const Pe=function(y){let L=g(y);(!L||!L.tagName)&&(L={namespaceURI:de,tagName:"template"});const q=Oc(y.tagName),Oe=Oc(L.tagName);return Ve[y.namespaceURI]?y.namespaceURI===W?L.namespaceURI===K?q==="svg":L.namespaceURI===zt?q==="svg"&&(Oe==="annotation-xml"||ie[Oe]):!!ae[q]:y.namespaceURI===zt?L.namespaceURI===K?q==="math":L.namespaceURI===W?q==="math"&&ce[Oe]:!!te[q]:y.namespaceURI===K?L.namespaceURI===W&&!ce[Oe]||L.namespaceURI===zt&&!ie[Oe]?!1:!te[q]&&(pe[q]||!ae[q]):!!(Ut==="application/xhtml+xml"&&Ve[y.namespaceURI]):!1},we=function(y){Qo(t.removed,{element:y});try{y.parentNode.removeChild(y)}catch{y.remove()}},Te=function(y,L){try{Qo(t.removed,{attribute:L.getAttributeNode(y),from:L})}catch{Qo(t.removed,{attribute:null,from:L})}if(L.removeAttribute(y),y==="is"&&!J[y])if(nn||Bn)try{we(L)}catch{}else try{L.setAttribute(y,"")}catch{}},xe=function(y){let L=null,q=null;if(Rt)y=""+y;else{const Je=iB(y,/^[\r\n\t ]+/);q=Je&&Je[0]}Ut==="application/xhtml+xml"&&de===K&&(y=''+y+"");const Oe=h?h.createHTML(y):y;if(de===K)try{L=new _().parseFromString(Oe,Ut)}catch{}if(!L||!L.documentElement){L=b.createDocument(de,"template",null);try{L.documentElement.innerHTML=Z?S:Oe}catch{}}const ve=L.body||L.documentElement;return y&&q&&ve.insertBefore(n.createTextNode(q),ve.childNodes[0]||null),de===K?A.call(L,ke?"html":"body")[0]:ke?L.documentElement:ve},Ze=function(y){return C.call(y.ownerDocument||y,y,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},ar=function(y){return y instanceof d&&(typeof y.nodeName!="string"||typeof y.textContent!="string"||typeof y.removeChild!="function"||!(y.attributes instanceof u)||typeof y.removeAttribute!="function"||typeof y.setAttribute!="function"||typeof y.namespaceURI!="string"||typeof y.insertBefore!="function"||typeof y.hasChildNodes!="function")},Gn=function(y){return typeof s=="function"&&y instanceof s},wt=function(y,L,q){w[y]&&Jl(w[y],Oe=>{Oe.call(t,L,q,N)})},oi=function(y){let L=null;if(wt("beforeSanitizeElements",y,null),ar(y))return we(y),!0;const q=lt(y.nodeName);if(wt("uponSanitizeElement",y,{tagName:q,allowedTags:F}),y.hasChildNodes()&&!Gn(y.firstElementChild)&&hn(/<[/\w]/g,y.innerHTML)&&hn(/<[/\w]/g,y.textContent))return we(y),!0;if(!F[q]||U[q]){if(!U[q]&&En(q)&&(I.tagNameCheck instanceof RegExp&&hn(I.tagNameCheck,q)||I.tagNameCheck instanceof Function&&I.tagNameCheck(q)))return!1;if(yt&&!ht[q]){const Oe=g(y)||y.parentNode,ve=f(y)||y.childNodes;if(ve&&Oe){const Je=ve.length;for(let Tt=Je-1;Tt>=0;--Tt)Oe.insertBefore(E(ve[Tt],!0),T(y))}}return we(y),!0}return y instanceof l&&!Pe(y)||(q==="noscript"||q==="noembed"||q==="noframes")&&hn(/<\/no(script|embed|frames)/i,y.innerHTML)?(we(y),!0):(Le&&y.nodeType===3&&(L=y.textContent,Jl([Y,k,ne],Oe=>{L=Xo(L,Oe," ")}),y.textContent!==L&&(Qo(t.removed,{element:y.cloneNode()}),y.textContent=L)),wt("afterSanitizeElements",y,null),!1)},on=function(y,L,q){if(fn&&(L==="id"||L==="name")&&(q in n||q in D))return!1;if(!(Ce&&!re[L]&&hn(me,L))){if(!(se&&hn(X,L))){if(!J[L]||re[L]){if(!(En(y)&&(I.tagNameCheck instanceof RegExp&&hn(I.tagNameCheck,y)||I.tagNameCheck instanceof Function&&I.tagNameCheck(y))&&(I.attributeNameCheck instanceof RegExp&&hn(I.attributeNameCheck,L)||I.attributeNameCheck instanceof Function&&I.attributeNameCheck(L))||L==="is"&&I.allowCustomizedBuiltInElements&&(I.tagNameCheck instanceof RegExp&&hn(I.tagNameCheck,q)||I.tagNameCheck instanceof Function&&I.tagNameCheck(q))))return!1}else if(!Dt[L]){if(!hn(P,Xo(q,oe,""))){if(!((L==="src"||L==="xlink:href"||L==="href")&&y!=="script"&&aB(q,"data:")===0&&Ue[y])){if(!(ot&&!hn(ue,Xo(q,oe,"")))){if(q)return!1}}}}}}return!0},En=function(y){return y.indexOf("-")>0},Ur=function(y){wt("beforeSanitizeAttributes",y,null);const{attributes:L}=y;if(!L)return;const q={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J};let Oe=L.length;for(;Oe--;){const ve=L[Oe],{name:Je,namespaceURI:Tt,value:or}=ve,Zi=lt(Je);let Bt=Je==="value"?or:oB(or);if(q.attrName=Zi,q.attrValue=Bt,q.keepAttr=!0,q.forceKeepAttr=void 0,wt("uponSanitizeAttribute",y,q),Bt=q.attrValue,q.forceKeepAttr||(Te(Je,y),!q.keepAttr))continue;if(!he&&hn(/\/>/i,Bt)){Te(Je,y);continue}Le&&Jl([Y,k,ne],Il=>{Bt=Xo(Bt,Il," ")});const Al=lt(y.nodeName);if(on(Al,Zi,Bt)){if(ir&&(Zi==="id"||Zi==="name")&&(Te(Je,y),Bt=rn+Bt),h&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!Tt)switch(p.getAttributeType(Al,Zi)){case"TrustedHTML":{Bt=h.createHTML(Bt);break}case"TrustedScriptURL":{Bt=h.createScriptURL(Bt);break}}try{Tt?y.setAttributeNS(Tt,Je,Bt):y.setAttribute(Je,Bt),mb(t.removed)}catch{}}}wt("afterSanitizeAttributes",y,null)},ji=function j(y){let L=null;const q=Ze(y);for(wt("beforeSanitizeShadowDOM",y,null);L=q.nextNode();)wt("uponSanitizeShadowNode",L,null),!oi(L)&&(L.content instanceof a&&j(L.content),Ur(L));wt("afterSanitizeShadowDOM",y,null)};return t.sanitize=function(j){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=null,q=null,Oe=null,ve=null;if(Z=!j,Z&&(j=""),typeof j!="string"&&!Gn(j))if(typeof j.toString=="function"){if(j=j.toString(),typeof j!="string")throw jo("dirty is not a string, aborting")}else throw jo("toString is not a function");if(!t.isSupported)return j;if(tt||H(y),t.removed=[],typeof j=="string"&&(st=!1),st){if(j.nodeName){const or=lt(j.nodeName);if(!F[or]||U[or])throw jo("root node is forbidden and cannot be sanitized in-place")}}else if(j instanceof s)L=xe(""),q=L.ownerDocument.importNode(j,!0),q.nodeType===1&&q.nodeName==="BODY"||q.nodeName==="HTML"?L=q:L.appendChild(q);else{if(!nn&&!Le&&!ke&&j.indexOf("<")===-1)return h&&$t?h.createHTML(j):j;if(L=xe(j),!L)return nn?null:$t?S:""}L&&Rt&&we(L.firstChild);const Je=Ze(st?j:L);for(;Oe=Je.nextNode();)oi(Oe)||(Oe.content instanceof a&&ji(Oe.content),Ur(Oe));if(st)return j;if(nn){if(Bn)for(ve=v.call(L.ownerDocument);L.firstChild;)ve.appendChild(L.firstChild);else ve=L;return(J.shadowroot||J.shadowrootmode)&&(ve=M.call(r,ve,!0)),ve}let Tt=ke?L.outerHTML:L.innerHTML;return ke&&F["!doctype"]&&L.ownerDocument&&L.ownerDocument.doctype&&L.ownerDocument.doctype.name&&hn(JD,L.ownerDocument.doctype.name)&&(Tt="
+`+Tt),Le&&Jl([Y,k,ne],or=>{Tt=Xo(Tt,or," ")}),h&&$t?h.createHTML(Tt):Tt},t.setConfig=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};H(j),tt=!0},t.clearConfig=function(){N=null,tt=!1},t.isValidAttribute=function(j,y,L){N||H({});const q=lt(j),Oe=lt(y);return on(q,Oe,L)},t.addHook=function(j,y){typeof y=="function"&&(w[j]=w[j]||[],Qo(w[j],y))},t.removeHook=function(j){if(w[j])return mb(w[j])},t.removeHooks=function(j){w[j]&&(w[j]=[])},t.removeAllHooks=function(){w={}},t}var LK=ew(),Ao={};/**
+ * @license React
+ * react-dom-server-legacy.browser.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var tw=O;function ge(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n]/;function Qt(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=vB.exec(e);if(t){var n="",r,i=0;for(r=t.index;r"),Ic(e,i,n),typeof n=="string"?(e.push(Qt(n)),null):n}var NB=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Cb=new Map;function br(e){var t=Cb.get(e);if(t===void 0){if(!NB.test(e))throw Error(ge(65,e));t="<"+e,Cb.set(e,t)}return t}function OB(e,t,n,r,i){switch(t){case"select":e.push(br("select"));var a=null,o=null;for(u in n)if(sn.call(n,u)){var s=n[u];if(s!=null)switch(u){case"children":a=s;break;case"dangerouslySetInnerHTML":o=s;break;case"defaultValue":case"value":break;default:vn(e,r,u,s)}}return e.push(">"),Ic(e,o,a),a;case"option":o=i.selectedValue,e.push(br("option"));var l=s=null,c=null,u=null;for(a in n)if(sn.call(n,a)){var d=n[a];if(d!=null)switch(a){case"children":s=d;break;case"selected":c=d;break;case"dangerouslySetInnerHTML":u=d;break;case"value":l=d;default:vn(e,r,a,d)}}if(o!=null)if(n=l!==null?""+l:yB(s),IE(o)){for(r=0;r"),Ic(e,u,s),s;case"textarea":e.push(br("textarea")),u=o=a=null;for(s in n)if(sn.call(n,s)&&(l=n[s],l!=null))switch(s){case"children":u=l;break;case"value":a=l;break;case"defaultValue":o=l;break;case"dangerouslySetInnerHTML":throw Error(ge(91));default:vn(e,r,s,l)}if(a===null&&o!==null&&(a=o),e.push(">"),u!=null){if(a!=null)throw Error(ge(92));if(IE(u)&&1"),null;case"menuitem":e.push(br("menuitem"));for(var _ in n)if(sn.call(n,_)&&(a=n[_],a!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(ge(400));default:vn(e,r,_,a)}return e.push(">"),null;case"title":e.push(br("title")),a=null;for(d in n)if(sn.call(n,d)&&(o=n[d],o!=null))switch(d){case"children":a=o;break;case"dangerouslySetInnerHTML":throw Error(ge(434));default:vn(e,r,d,o)}return e.push(">"),a;case"listing":case"pre":e.push(br(t)),o=a=null;for(l in n)if(sn.call(n,l)&&(s=n[l],s!=null))switch(l){case"children":a=s;break;case"dangerouslySetInnerHTML":o=s;break;default:vn(e,r,l,s)}if(e.push(">"),o!=null){if(a!=null)throw Error(ge(60));if(typeof o!="object"||!("__html"in o))throw Error(ge(61));n=o.__html,n!=null&&(typeof n=="string"&&0"),null;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 R_(e,n,t,r);case"html":return i.insertionMode===0&&e.push(""),R_(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return R_(e,n,t,r);e.push(br(t)),o=a=null;for(c in n)if(sn.call(n,c)&&(s=n[c],s!=null))switch(c){case"children":a=s;break;case"dangerouslySetInnerHTML":o=s;break;case"style":rw(e,r,s);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:nw(c)&&typeof s!="function"&&typeof s!="symbol"&&e.push(" ",c,'="',Qt(s),'"')}return e.push(">"),Ic(e,o,a),a}}function Rb(e,t,n){if(e.push('')}function AB(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('');case 2:return e.push('