diff --git a/assets/index-0d9f4327.js b/assets/index-20c63fcb.js similarity index 90% rename from assets/index-0d9f4327.js rename to assets/index-20c63fcb.js index 20a22fb..e0f2d1c 100644 --- a/assets/index-0d9f4327.js +++ b/assets/index-20c63fcb.js @@ -6,7 +6,7 @@ var N4=Object.defineProperty;var j4=(e,t,n)=>t in e?N4(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Jl=Symbol.for("react.element"),F4=Symbol.for("react.portal"),$4=Symbol.for("react.fragment"),z4=Symbol.for("react.strict_mode"),H4=Symbol.for("react.profiler"),U4=Symbol.for("react.provider"),W4=Symbol.for("react.context"),V4=Symbol.for("react.forward_ref"),q4=Symbol.for("react.suspense"),G4=Symbol.for("react.memo"),K4=Symbol.for("react.lazy"),e1=Symbol.iterator;function Q4(e){return e===null||typeof e!="object"?null:(e=e1&&e[e1]||e["@@iterator"],typeof e=="function"?e:null)}var vy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yy=Object.assign,xy={};function ho(e,t,n){this.props=e,this.context=t,this.refs=xy,this.updater=n||vy}ho.prototype.isReactComponent={};ho.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ho.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wy(){}wy.prototype=ho.prototype;function wh(e,t,n){this.props=e,this.context=t,this.refs=xy,this.updater=n||vy}var Sh=wh.prototype=new wy;Sh.constructor=wh;yy(Sh,ho.prototype);Sh.isPureReactComponent=!0;var t1=Array.isArray,Sy=Object.prototype.hasOwnProperty,kh={current:null},ky={key:!0,ref:!0,__self:!0,__source:!0};function Cy(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)Sy.call(t,r)&&!ky.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1t in e?N4(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var l3=A,An=o3;function Q(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"),vp=Object.prototype.hasOwnProperty,s3=/^[: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]*$/,r1={},i1={};function u3(e){return vp.call(i1,e)?!0:vp.call(r1,e)?!1:s3.test(e)?i1[e]=!0:(r1[e]=!0,!1)}function c3(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 f3(e,t,n,r){if(t===null||typeof t>"u"||c3(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 en(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 _t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_t[e]=new en(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_t[t]=new en(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new en(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new en(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){_t[e]=new en(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new en(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_t[e]=new en(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_t[e]=new en(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_t[e]=new en(e,5,!1,e.toLowerCase(),null,!1,!1)});var Eh=/[\-:]([a-z])/g;function Th(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(Eh,Th);_t[t]=new en(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(Eh,Th);_t[t]=new en(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(Eh,Th);_t[t]=new en(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new en(e,1,!1,e.toLowerCase(),null,!1,!1)});_t.xlinkHref=new en("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_t[e]=new en(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oh(e,t,n,r){var i=_t.hasOwnProperty(t)?_t[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vp=Object.prototype.hasOwnProperty,s3=/^[: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]*$/,i1={},a1={};function u3(e){return vp.call(a1,e)?!0:vp.call(i1,e)?!1:s3.test(e)?a1[e]=!0:(i1[e]=!0,!1)}function c3(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 f3(e,t,n,r){if(t===null||typeof t>"u"||c3(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 en(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 _t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_t[e]=new en(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_t[t]=new en(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new en(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new en(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){_t[e]=new en(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new en(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_t[e]=new en(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_t[e]=new en(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_t[e]=new en(e,5,!1,e.toLowerCase(),null,!1,!1)});var Th=/[\-:]([a-z])/g;function Oh(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(Th,Oh);_t[t]=new en(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(Th,Oh);_t[t]=new en(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(Th,Oh);_t[t]=new en(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new en(e,1,!1,e.toLowerCase(),null,!1,!1)});_t.xlinkHref=new en("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_t[e]=new en(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bh(e,t,n,r){var i=_t.hasOwnProperty(t)?_t[t]:null;(i!==null?i.type!==0:r||!(2l||i[o]!==a[l]){var s=` -`+i[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=l);break}}}finally{ad=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?el(e):""}function d3(e){switch(e.tag){case 5:return el(e.type);case 16:return el("Lazy");case 13:return el("Suspense");case 19:return el("SuspenseList");case 0:case 2:case 15:return e=od(e.type,!1),e;case 11:return e=od(e.type.render,!1),e;case 1:return e=od(e.type,!0),e;default:return""}}function Sp(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 ja:return"Fragment";case Na:return"Portal";case yp:return"Profiler";case Bh:return"StrictMode";case xp:return"Suspense";case wp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ry:return(e.displayName||"Context")+".Consumer";case Iy:return(e._context.displayName||"Context")+".Provider";case Ah:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ph:return t=e.displayName||null,t!==null?t:Sp(e.type)||"Memo";case ui:t=e._payload,e=e._init;try{return Sp(e(t))}catch{}}return null}function p3(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 Sp(t);case 8:return t===Bh?"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 Ai(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ny(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function g3(e){var t=Ny(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 Es(e){e._valueTracker||(e._valueTracker=g3(e))}function jy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ny(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Su(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 kp(e,t){var n=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function o1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ai(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 Dy(e,t){t=t.checked,t!=null&&Oh(e,"checked",t,!1)}function Cp(e,t){Dy(e,t);var n=Ai(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")?Ep(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ep(e,t.type,Ai(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function l1(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 Ep(e,t,n){(t!=="number"||Su(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var tl=Array.isArray;function Qa(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var il={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},h3=["Webkit","ms","Moz","O"];Object.keys(il).forEach(function(e){h3.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),il[t]=il[e]})});function zy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||il.hasOwnProperty(e)&&il[e]?(""+t).trim():t+"px"}function Hy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=zy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var m3=et({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 Bp(e,t){if(t){if(m3[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Q(62))}}function Ap(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 Pp=null;function Lh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lp=null,Ya=null,Za=null;function c1(e){if(e=ns(e)){if(typeof Lp!="function")throw Error(Q(280));var t=e.stateNode;t&&(t=Ec(t),Lp(e.stateNode,e.type,t))}}function Uy(e){Ya?Za?Za.push(e):Za=[e]:Ya=e}function Wy(){if(Ya){var e=Ya,t=Za;if(Za=Ya=null,c1(e),t)for(e=0;e>>=0,e===0?32:31-(O3(e)/B3|0)|0}var Os=64,Bs=4194304;function nl(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 Tu(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 l=o&~i;l!==0?r=nl(l):(a&=o,a!==0&&(r=nl(a)))}else o=n&~i,o!==0?r=nl(o):a!==0&&(r=nl(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 es(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-or(t),e[t]=n}function I3(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=ol),y1=String.fromCharCode(32),x1=!1;function cx(e,t){switch(e){case"keyup":return o6.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Da=!1;function s6(e,t){switch(e){case"compositionend":return fx(t);case"keypress":return t.which!==32?null:(x1=!0,y1);case"textInput":return e=t.data,e===y1&&x1?null:e;default:return null}}function u6(e,t){if(Da)return e==="compositionend"||!Fh&&cx(e,t)?(e=sx(),tu=jh=gi=null,Da=!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=C1(n)}}function hx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mx(){for(var e=window,t=Su();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Su(e.document)}return t}function $h(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 v6(e){var t=mx(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hx(n.ownerDocument.documentElement,n)){if(r!==null&&$h(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=E1(n,a);var o=E1(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,Ma=null,Dp=null,sl=null,Mp=!1;function T1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mp||Ma==null||Ma!==Su(r)||(r=Ma,"selectionStart"in r&&$h(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}),sl&&Tl(sl,r)||(sl=r,r=Au(Dp,"onSelect"),0za||(e.current=Wp[za],Wp[za]=null,za--)}function He(e,t){za++,Wp[za]=e.current,e.current=t}var Pi={},Vt=Ri(Pi),pn=Ri(!1),aa=Pi;function ao(e,t){var n=e.type.contextTypes;if(!n)return Pi;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 gn(e){return e=e.childContextTypes,e!=null}function Lu(){Qe(pn),Qe(Vt)}function R1(e,t,n){if(Vt.current!==Pi)throw Error(Q(168));He(Vt,t),He(pn,n)}function Ex(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(Q(108,p3(e)||"Unknown",i));return et({},n,r)}function Iu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pi,aa=Vt.current,He(Vt,e),He(pn,pn.current),!0}function _1(e,t,n){var r=e.stateNode;if(!r)throw Error(Q(169));n?(e=Ex(e,t,aa),r.__reactInternalMemoizedMergedChildContext=e,Qe(pn),Qe(Vt),He(Vt,e)):Qe(pn),He(pn,n)}var zr=null,Tc=!1,xd=!1;function Tx(e){zr===null?zr=[e]:zr.push(e)}function P6(e){Tc=!0,Tx(e)}function _i(){if(!xd&&zr!==null){xd=!0;var e=0,t=_e;try{var n=zr;for(_e=1;e>=o,i-=o,Hr=1<<32-or(t)+i|n<P?(D=B,B=null):D=B.sibling;var j=d(h,B,v[P],S);if(j===null){B===null&&(B=D);break}e&&B&&j.alternate===null&&t(h,B),b=a(j,b,P),E===null?T=j:E.sibling=j,E=j,B=D}if(P===v.length)return n(h,B),Ye&&qi(h,P),T;if(B===null){for(;PP?(D=B,B=null):D=B.sibling;var F=d(h,B,j.value,S);if(F===null){B===null&&(B=D);break}e&&B&&F.alternate===null&&t(h,B),b=a(F,b,P),E===null?T=F:E.sibling=F,E=F,B=D}if(j.done)return n(h,B),Ye&&qi(h,P),T;if(B===null){for(;!j.done;P++,j=v.next())j=f(h,j.value,S),j!==null&&(b=a(j,b,P),E===null?T=j:E.sibling=j,E=j);return Ye&&qi(h,P),T}for(B=r(h,B);!j.done;P++,j=v.next())j=g(B,h,P,j.value,S),j!==null&&(e&&j.alternate!==null&&B.delete(j.key===null?P:j.key),b=a(j,b,P),E===null?T=j:E.sibling=j,E=j);return e&&B.forEach(function(U){return t(h,U)}),Ye&&qi(h,P),T}function y(h,b,v,S){if(typeof v=="object"&&v!==null&&v.type===ja&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Cs:e:{for(var T=v.key,E=b;E!==null;){if(E.key===T){if(T=v.type,T===ja){if(E.tag===7){n(h,E.sibling),b=i(E,v.props.children),b.return=h,h=b;break e}}else if(E.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===ui&&D1(T)===E.type){n(h,E.sibling),b=i(E,v.props),b.ref=zo(h,E,v),b.return=h,h=b;break e}n(h,E);break}else t(h,E);E=E.sibling}v.type===ja?(b=na(v.props.children,h.mode,S,v.key),b.return=h,h=b):(S=uu(v.type,v.key,v.props,null,h.mode,S),S.ref=zo(h,b,v),S.return=h,h=S)}return o(h);case Na:e:{for(E=v.key;b!==null;){if(b.key===E)if(b.tag===4&&b.stateNode.containerInfo===v.containerInfo&&b.stateNode.implementation===v.implementation){n(h,b.sibling),b=i(b,v.children||[]),b.return=h,h=b;break e}else{n(h,b);break}else t(h,b);b=b.sibling}b=Bd(v,h.mode,S),b.return=h,h=b}return o(h);case ui:return E=v._init,y(h,b,E(v._payload),S)}if(tl(v))return p(h,b,v,S);if(jo(v))return m(h,b,v,S);Ns(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,b!==null&&b.tag===6?(n(h,b.sibling),b=i(b,v),b.return=h,h=b):(n(h,b),b=Od(v,h.mode,S),b.return=h,h=b),o(h)):n(h,b)}return y}var lo=Px(!0),Lx=Px(!1),Nu=Ri(null),ju=null,Wa=null,Wh=null;function Vh(){Wh=Wa=ju=null}function qh(e){var t=Nu.current;Qe(Nu),e._currentValue=t}function Gp(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ja(e,t){ju=e,Wh=Wa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(dn=!0),e.firstContext=null)}function Hn(e){var t=e._currentValue;if(Wh!==e)if(e={context:e,memoizedValue:t,next:null},Wa===null){if(ju===null)throw Error(Q(308));Wa=e,ju.dependencies={lanes:0,firstContext:e}}else Wa=Wa.next=e;return t}var Xi=null;function Gh(e){Xi===null?Xi=[e]:Xi.push(e)}function Ix(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Gh(t)):(n.next=i.next,i.next=n),t.interleaved=n,Zr(e,r)}function Zr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ci=!1;function Kh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Rx(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Te&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Zr(e,n)}return i=r.interleaved,i===null?(t.next=t,Gh(r)):(t.next=i.next,i.next=t),r.interleaved=t,Zr(e,n)}function ru(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rh(e,n)}}function M1(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Du(e,t,n,r){var i=e.updateQueue;ci=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,o===null?a=u:o.next=u,o=s;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==o&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(a!==null){var f=i.baseState;o=0,c=u=s=null,l=a;do{var d=l.lane,g=l.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=e,m=l;switch(d=t,g=n,m.tag){case 1:if(p=m.payload,typeof p=="function"){f=p.call(g,f,d);break e}f=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=m.payload,d=typeof p=="function"?p.call(g,f,d):p,d==null)break e;f=et({},f,d);break e;case 2:ci=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else g={eventTime:g,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,s=f):c=c.next=g,o|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);sa|=o,e.lanes=o,e.memoizedState=f}}function F1(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Sd.transition;Sd.transition={};try{e(!1),t()}finally{_e=n,Sd.transition=r}}function Yx(){return Un().memoizedState}function _6(e,t,n){var r=ki(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Zx(e))Xx(t,n);else if(n=Ix(e,t,n,r),n!==null){var i=Xt();lr(n,e,r,i),Jx(n,t,r)}}function N6(e,t,n){var r=ki(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zx(e))Xx(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,l=a(o,n);if(i.hasEagerState=!0,i.eagerState=l,dr(l,o)){var s=t.interleaved;s===null?(i.next=i,Gh(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Ix(e,t,i,r),n!==null&&(i=Xt(),lr(n,e,r,i),Jx(n,t,r))}}function Zx(e){var t=e.alternate;return e===Je||t!==null&&t===Je}function Xx(e,t){ul=Fu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jx(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rh(e,n)}}var $u={readContext:Hn,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},j6={readContext:Hn,useCallback:function(e,t){return wr().memoizedState=[e,t===void 0?null:t],e},useContext:Hn,useEffect:z1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,au(4194308,4,Vx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return au(4194308,4,e,t)},useInsertionEffect:function(e,t){return au(4,2,e,t)},useMemo:function(e,t){var n=wr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wr();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=_6.bind(null,Je,e),[r.memoizedState,e]},useRef:function(e){var t=wr();return e={current:e},t.memoizedState=e},useState:$1,useDebugValue:n0,useDeferredValue:function(e){return wr().memoizedState=e},useTransition:function(){var e=$1(!1),t=e[0];return e=R6.bind(null,e[1]),wr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Je,i=wr();if(Ye){if(n===void 0)throw Error(Q(407));n=n()}else{if(n=t(),Ot===null)throw Error(Q(349));la&30||Dx(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,z1(Fx.bind(null,r,a,e),[e]),r.flags|=2048,_l(9,Mx.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=wr(),t=Ot.identifierPrefix;if(Ye){var n=Ur,r=Hr;n=(r&~(1<<32-or(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Il++,0")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=l);break}}}finally{ad=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?el(e):""}function d3(e){switch(e.tag){case 5:return el(e.type);case 16:return el("Lazy");case 13:return el("Suspense");case 19:return el("SuspenseList");case 0:case 2:case 15:return e=od(e.type,!1),e;case 11:return e=od(e.type.render,!1),e;case 1:return e=od(e.type,!0),e;default:return""}}function Sp(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 ja:return"Fragment";case Na:return"Portal";case yp:return"Profiler";case Ah:return"StrictMode";case xp:return"Suspense";case wp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ry:return(e.displayName||"Context")+".Consumer";case Iy:return(e._context.displayName||"Context")+".Provider";case Ph:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lh:return t=e.displayName||null,t!==null?t:Sp(e.type)||"Memo";case ui:t=e._payload,e=e._init;try{return Sp(e(t))}catch{}}return null}function p3(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 Sp(t);case 8:return t===Ah?"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 Ai(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ny(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function g3(e){var t=Ny(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 Es(e){e._valueTracker||(e._valueTracker=g3(e))}function jy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ny(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Su(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 kp(e,t){var n=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function l1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ai(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 Dy(e,t){t=t.checked,t!=null&&Bh(e,"checked",t,!1)}function Cp(e,t){Dy(e,t);var n=Ai(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")?Ep(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ep(e,t.type,Ai(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function s1(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 Ep(e,t,n){(t!=="number"||Su(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var tl=Array.isArray;function Qa(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var il={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},h3=["Webkit","ms","Moz","O"];Object.keys(il).forEach(function(e){h3.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),il[t]=il[e]})});function zy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||il.hasOwnProperty(e)&&il[e]?(""+t).trim():t+"px"}function Hy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=zy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var m3=et({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 Bp(e,t){if(t){if(m3[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Q(62))}}function Ap(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 Pp=null;function Ih(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lp=null,Ya=null,Za=null;function f1(e){if(e=ns(e)){if(typeof Lp!="function")throw Error(Q(280));var t=e.stateNode;t&&(t=Ec(t),Lp(e.stateNode,e.type,t))}}function Uy(e){Ya?Za?Za.push(e):Za=[e]:Ya=e}function Wy(){if(Ya){var e=Ya,t=Za;if(Za=Ya=null,f1(e),t)for(e=0;e>>=0,e===0?32:31-(O3(e)/B3|0)|0}var Os=64,Bs=4194304;function nl(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 Tu(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 l=o&~i;l!==0?r=nl(l):(a&=o,a!==0&&(r=nl(a)))}else o=n&~i,o!==0?r=nl(o):a!==0&&(r=nl(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 es(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-or(t),e[t]=n}function I3(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=ol),x1=String.fromCharCode(32),w1=!1;function cx(e,t){switch(e){case"keyup":return o6.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Da=!1;function s6(e,t){switch(e){case"compositionend":return fx(t);case"keypress":return t.which!==32?null:(w1=!0,x1);case"textInput":return e=t.data,e===x1&&w1?null:e;default:return null}}function u6(e,t){if(Da)return e==="compositionend"||!$h&&cx(e,t)?(e=sx(),tu=Dh=gi=null,Da=!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=E1(n)}}function hx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mx(){for(var e=window,t=Su();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Su(e.document)}return t}function zh(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 v6(e){var t=mx(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hx(n.ownerDocument.documentElement,n)){if(r!==null&&zh(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=T1(n,a);var o=T1(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,Ma=null,Dp=null,sl=null,Mp=!1;function O1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mp||Ma==null||Ma!==Su(r)||(r=Ma,"selectionStart"in r&&zh(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}),sl&&Tl(sl,r)||(sl=r,r=Au(Dp,"onSelect"),0za||(e.current=Wp[za],Wp[za]=null,za--)}function He(e,t){za++,Wp[za]=e.current,e.current=t}var Pi={},Vt=Ri(Pi),pn=Ri(!1),aa=Pi;function ao(e,t){var n=e.type.contextTypes;if(!n)return Pi;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 gn(e){return e=e.childContextTypes,e!=null}function Lu(){Qe(pn),Qe(Vt)}function _1(e,t,n){if(Vt.current!==Pi)throw Error(Q(168));He(Vt,t),He(pn,n)}function Ex(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(Q(108,p3(e)||"Unknown",i));return et({},n,r)}function Iu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pi,aa=Vt.current,He(Vt,e),He(pn,pn.current),!0}function N1(e,t,n){var r=e.stateNode;if(!r)throw Error(Q(169));n?(e=Ex(e,t,aa),r.__reactInternalMemoizedMergedChildContext=e,Qe(pn),Qe(Vt),He(Vt,e)):Qe(pn),He(pn,n)}var zr=null,Tc=!1,xd=!1;function Tx(e){zr===null?zr=[e]:zr.push(e)}function P6(e){Tc=!0,Tx(e)}function _i(){if(!xd&&zr!==null){xd=!0;var e=0,t=_e;try{var n=zr;for(_e=1;e>=o,i-=o,Hr=1<<32-or(t)+i|n<P?(D=B,B=null):D=B.sibling;var j=d(h,B,v[P],S);if(j===null){B===null&&(B=D);break}e&&B&&j.alternate===null&&t(h,B),b=a(j,b,P),E===null?T=j:E.sibling=j,E=j,B=D}if(P===v.length)return n(h,B),Ye&&qi(h,P),T;if(B===null){for(;PP?(D=B,B=null):D=B.sibling;var F=d(h,B,j.value,S);if(F===null){B===null&&(B=D);break}e&&B&&F.alternate===null&&t(h,B),b=a(F,b,P),E===null?T=F:E.sibling=F,E=F,B=D}if(j.done)return n(h,B),Ye&&qi(h,P),T;if(B===null){for(;!j.done;P++,j=v.next())j=f(h,j.value,S),j!==null&&(b=a(j,b,P),E===null?T=j:E.sibling=j,E=j);return Ye&&qi(h,P),T}for(B=r(h,B);!j.done;P++,j=v.next())j=g(B,h,P,j.value,S),j!==null&&(e&&j.alternate!==null&&B.delete(j.key===null?P:j.key),b=a(j,b,P),E===null?T=j:E.sibling=j,E=j);return e&&B.forEach(function(U){return t(h,U)}),Ye&&qi(h,P),T}function y(h,b,v,S){if(typeof v=="object"&&v!==null&&v.type===ja&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Cs:e:{for(var T=v.key,E=b;E!==null;){if(E.key===T){if(T=v.type,T===ja){if(E.tag===7){n(h,E.sibling),b=i(E,v.props.children),b.return=h,h=b;break e}}else if(E.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===ui&&M1(T)===E.type){n(h,E.sibling),b=i(E,v.props),b.ref=zo(h,E,v),b.return=h,h=b;break e}n(h,E);break}else t(h,E);E=E.sibling}v.type===ja?(b=na(v.props.children,h.mode,S,v.key),b.return=h,h=b):(S=uu(v.type,v.key,v.props,null,h.mode,S),S.ref=zo(h,b,v),S.return=h,h=S)}return o(h);case Na:e:{for(E=v.key;b!==null;){if(b.key===E)if(b.tag===4&&b.stateNode.containerInfo===v.containerInfo&&b.stateNode.implementation===v.implementation){n(h,b.sibling),b=i(b,v.children||[]),b.return=h,h=b;break e}else{n(h,b);break}else t(h,b);b=b.sibling}b=Bd(v,h.mode,S),b.return=h,h=b}return o(h);case ui:return E=v._init,y(h,b,E(v._payload),S)}if(tl(v))return p(h,b,v,S);if(jo(v))return m(h,b,v,S);Ns(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,b!==null&&b.tag===6?(n(h,b.sibling),b=i(b,v),b.return=h,h=b):(n(h,b),b=Od(v,h.mode,S),b.return=h,h=b),o(h)):n(h,b)}return y}var lo=Px(!0),Lx=Px(!1),Nu=Ri(null),ju=null,Wa=null,Vh=null;function qh(){Vh=Wa=ju=null}function Gh(e){var t=Nu.current;Qe(Nu),e._currentValue=t}function Gp(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ja(e,t){ju=e,Vh=Wa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(dn=!0),e.firstContext=null)}function Hn(e){var t=e._currentValue;if(Vh!==e)if(e={context:e,memoizedValue:t,next:null},Wa===null){if(ju===null)throw Error(Q(308));Wa=e,ju.dependencies={lanes:0,firstContext:e}}else Wa=Wa.next=e;return t}var Xi=null;function Kh(e){Xi===null?Xi=[e]:Xi.push(e)}function Ix(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Kh(t)):(n.next=i.next,i.next=n),t.interleaved=n,Zr(e,r)}function Zr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ci=!1;function Qh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Rx(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Te&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Zr(e,n)}return i=r.interleaved,i===null?(t.next=t,Kh(r)):(t.next=i.next,i.next=t),r.interleaved=t,Zr(e,n)}function ru(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_h(e,n)}}function F1(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Du(e,t,n,r){var i=e.updateQueue;ci=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,o===null?a=u:o.next=u,o=s;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==o&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(a!==null){var f=i.baseState;o=0,c=u=s=null,l=a;do{var d=l.lane,g=l.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=e,m=l;switch(d=t,g=n,m.tag){case 1:if(p=m.payload,typeof p=="function"){f=p.call(g,f,d);break e}f=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=m.payload,d=typeof p=="function"?p.call(g,f,d):p,d==null)break e;f=et({},f,d);break e;case 2:ci=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else g={eventTime:g,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,s=f):c=c.next=g,o|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);sa|=o,e.lanes=o,e.memoizedState=f}}function $1(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Sd.transition;Sd.transition={};try{e(!1),t()}finally{_e=n,Sd.transition=r}}function Yx(){return Un().memoizedState}function _6(e,t,n){var r=ki(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Zx(e))Xx(t,n);else if(n=Ix(e,t,n,r),n!==null){var i=Xt();lr(n,e,r,i),Jx(n,t,r)}}function N6(e,t,n){var r=ki(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zx(e))Xx(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,l=a(o,n);if(i.hasEagerState=!0,i.eagerState=l,dr(l,o)){var s=t.interleaved;s===null?(i.next=i,Kh(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Ix(e,t,i,r),n!==null&&(i=Xt(),lr(n,e,r,i),Jx(n,t,r))}}function Zx(e){var t=e.alternate;return e===Je||t!==null&&t===Je}function Xx(e,t){ul=Fu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jx(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_h(e,n)}}var $u={readContext:Hn,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},j6={readContext:Hn,useCallback:function(e,t){return wr().memoizedState=[e,t===void 0?null:t],e},useContext:Hn,useEffect:H1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,au(4194308,4,Vx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return au(4194308,4,e,t)},useInsertionEffect:function(e,t){return au(4,2,e,t)},useMemo:function(e,t){var n=wr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wr();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=_6.bind(null,Je,e),[r.memoizedState,e]},useRef:function(e){var t=wr();return e={current:e},t.memoizedState=e},useState:z1,useDebugValue:r0,useDeferredValue:function(e){return wr().memoizedState=e},useTransition:function(){var e=z1(!1),t=e[0];return e=R6.bind(null,e[1]),wr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Je,i=wr();if(Ye){if(n===void 0)throw Error(Q(407));n=n()}else{if(n=t(),Ot===null)throw Error(Q(349));la&30||Dx(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,H1(Fx.bind(null,r,a,e),[e]),r.flags|=2048,_l(9,Mx.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=wr(),t=Ot.identifierPrefix;if(Ye){var n=Ur,r=Hr;n=(r&~(1<<32-or(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Il++,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[Cr]=t,e[Al]=r,u5(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ap(n,r),n){case"dialog":Ge("cancel",e),Ge("close",e),i=r;break;case"iframe":case"object":case"embed":Ge("load",e),i=r;break;case"video":case"audio":for(i=0;ico&&(t.flags|=128,r=!0,Ho(a,!1),t.lanes=4194304)}else{if(!r)if(e=Mu(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ho(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Ye)return zt(t),null}else 2*lt()-a.renderingStartTime>co&&n!==1073741824&&(t.flags|=128,r=!0,Ho(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=lt(),t.sibling=null,n=Xe.current,He(Xe,r?n&1|2:n&1),t):(zt(t),null);case 22:case 23:return s0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Sn&1073741824&&(zt(t),t.subtreeFlags&6&&(t.flags|=8192)):zt(t),null;case 24:return null;case 25:return null}throw Error(Q(156,t.tag))}function W6(e,t){switch(Hh(t),t.tag){case 1:return gn(t.type)&&Lu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return so(),Qe(pn),Qe(Vt),Zh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Yh(t),null;case 13:if(Qe(Xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Q(340));oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qe(Xe),null;case 4:return so(),null;case 10:return qh(t.type._context),null;case 22:case 23:return s0(),null;case 24:return null;default:return null}}var Ds=!1,Wt=!1,V6=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Va(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){nt(e,t,r)}else n.current=null}function ng(e,t,n){try{n()}catch(r){nt(e,t,r)}}var X1=!1;function q6(e,t){if(Fp=Ou,e=mx(),$h(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,l=-1,s=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=o+i),f!==a||r!==0&&f.nodeType!==3||(s=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=o),d===a&&++c===r&&(s=o),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for($p={focusedElem:e,selectionRange:n},Ou=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var m=p.memoizedProps,y=p.memoizedState,h=t.stateNode,b=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:nr(t.type,m),y);h.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Q(163))}}catch(S){nt(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return p=X1,X1=!1,p}function cl(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&&ng(t,n,a)}i=i.next}while(i!==r)}}function Ac(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 rg(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 d5(e){var t=e.alternate;t!==null&&(e.alternate=null,d5(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Cr],delete t[Al],delete t[Up],delete t[B6],delete t[A6])),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 p5(e){return e.tag===5||e.tag===3||e.tag===4}function J1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||p5(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 ig(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=Pu));else if(r!==4&&(e=e.child,e!==null))for(ig(e,t,n),e=e.sibling;e!==null;)ig(e,t,n),e=e.sibling}function ag(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(ag(e,t,n),e=e.sibling;e!==null;)ag(e,t,n),e=e.sibling}var It=null,rr=!1;function ii(e,t,n){for(n=n.child;n!==null;)g5(e,t,n),n=n.sibling}function g5(e,t,n){if(Or&&typeof Or.onCommitFiberUnmount=="function")try{Or.onCommitFiberUnmount(wc,n)}catch{}switch(n.tag){case 5:Wt||Va(n,t);case 6:var r=It,i=rr;It=null,ii(e,t,n),It=r,rr=i,It!==null&&(rr?(e=It,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):It.removeChild(n.stateNode));break;case 18:It!==null&&(rr?(e=It,n=n.stateNode,e.nodeType===8?yd(e.parentNode,n):e.nodeType===1&&yd(e,n),Cl(e)):yd(It,n.stateNode));break;case 4:r=It,i=rr,It=n.stateNode.containerInfo,rr=!0,ii(e,t,n),It=r,rr=i;break;case 0:case 11:case 14:case 15:if(!Wt&&(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)&&ng(n,t,o),i=i.next}while(i!==r)}ii(e,t,n);break;case 1:if(!Wt&&(Va(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){nt(n,t,l)}ii(e,t,n);break;case 21:ii(e,t,n);break;case 22:n.mode&1?(Wt=(r=Wt)||n.memoizedState!==null,ii(e,t,n),Wt=r):ii(e,t,n);break;default:ii(e,t,n)}}function eb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new V6),t.forEach(function(r){var i=t7.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Jn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*K6(r/1960))-r,10e?16:e,hi===null)var r=!1;else{if(e=hi,hi=null,Uu=0,Te&6)throw Error(Q(331));var i=Te;for(Te|=4,oe=e.current;oe!==null;){var a=oe,o=a.child;if(oe.flags&16){var l=a.deletions;if(l!==null){for(var s=0;slt()-o0?ta(e,0):a0|=n),hn(e,t)}function S5(e,t){t===0&&(e.mode&1?(t=Bs,Bs<<=1,!(Bs&130023424)&&(Bs=4194304)):t=1);var n=Xt();e=Zr(e,t),e!==null&&(es(e,t,n),hn(e,n))}function e7(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),S5(e,n)}function t7(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(Q(314))}r!==null&&r.delete(t),S5(e,n)}var k5;k5=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pn.current)dn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dn=!1,H6(e,t,n);dn=!!(e.flags&131072)}else dn=!1,Ye&&t.flags&1048576&&Ox(t,_u,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ou(e,t),e=t.pendingProps;var i=ao(t,Vt.current);Ja(t,n),i=Jh(null,t,r,e,i,n);var a=e0();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,gn(r)?(a=!0,Iu(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Kh(t),i.updater=Bc,t.stateNode=i,i._reactInternals=t,Qp(t,r,e,n),t=Xp(null,t,r,!0,a,n)):(t.tag=0,Ye&&a&&zh(t),Yt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ou(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=r7(r),e=nr(r,e),i){case 0:t=Zp(null,t,r,e,n);break e;case 1:t=Q1(null,t,r,e,n);break e;case 11:t=G1(null,t,r,e,n);break e;case 14:t=K1(null,t,r,nr(r.type,e),n);break e}throw Error(Q(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),Zp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),Q1(e,t,r,i,n);case 3:e:{if(o5(t),e===null)throw Error(Q(387));r=t.pendingProps,a=t.memoizedState,i=a.element,Rx(e,t),Du(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=uo(Error(Q(423)),t),t=Y1(e,t,r,n,i);break e}else if(r!==i){i=uo(Error(Q(424)),t),t=Y1(e,t,r,n,i);break e}else for(En=xi(t.stateNode.containerInfo.firstChild),Tn=t,Ye=!0,ir=null,n=Lx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(oo(),r===i){t=Xr(e,t,n);break e}Yt(e,t,r,n)}t=t.child}return t;case 5:return _x(t),e===null&&qp(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,zp(r,i)?o=null:a!==null&&zp(r,a)&&(t.flags|=32),a5(e,t),Yt(e,t,o,n),t.child;case 6:return e===null&&qp(t),null;case 13:return l5(e,t,n);case 4:return Qh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lo(t,null,r,n):Yt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),G1(e,t,r,i,n);case 7:return Yt(e,t,t.pendingProps,n),t.child;case 8:return Yt(e,t,t.pendingProps.children,n),t.child;case 12:return Yt(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,He(Nu,r._currentValue),r._currentValue=o,a!==null)if(dr(a.value,o)){if(a.children===i.children&&!pn.current){t=Xr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=Vr(-1,n&-n),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Gp(a.return,n,t),l.lanes|=n;break}s=s.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(Q(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Gp(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}Yt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ja(t,n),i=Hn(i),r=r(i),t.flags|=1,Yt(e,t,r,n),t.child;case 14:return r=t.type,i=nr(r,t.pendingProps),i=nr(r.type,i),K1(e,t,r,i,n);case 15:return r5(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),ou(e,t),t.tag=1,gn(r)?(e=!0,Iu(t)):e=!1,Ja(t,n),e5(t,r,i),Qp(t,r,i,n),Xp(null,t,r,!0,e,n);case 19:return s5(e,t,n);case 22:return i5(e,t,n)}throw Error(Q(156,t.tag))};function C5(e,t){return Zy(e,t)}function n7(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 Fn(e,t,n,r){return new n7(e,t,n,r)}function c0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function r7(e){if(typeof e=="function")return c0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ah)return 11;if(e===Ph)return 14}return 2}function Ci(e,t){var n=e.alternate;return n===null?(n=Fn(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 uu(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")c0(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ja:return na(n.children,i,a,t);case Bh:o=8,i|=8;break;case yp:return e=Fn(12,n,t,i|2),e.elementType=yp,e.lanes=a,e;case xp:return e=Fn(13,n,t,i),e.elementType=xp,e.lanes=a,e;case wp:return e=Fn(19,n,t,i),e.elementType=wp,e.lanes=a,e;case _y:return Lc(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Iy:o=10;break e;case Ry:o=9;break e;case Ah:o=11;break e;case Ph:o=14;break e;case ui:o=16,r=null;break e}throw Error(Q(130,e==null?e:typeof e,""))}return t=Fn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function na(e,t,n,r){return e=Fn(7,e,r,t),e.lanes=n,e}function Lc(e,t,n,r){return e=Fn(22,e,r,t),e.elementType=_y,e.lanes=n,e.stateNode={isHidden:!1},e}function Od(e,t,n){return e=Fn(6,e,null,t),e.lanes=n,e}function Bd(e,t,n){return t=Fn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function i7(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=sd(0),this.expirationTimes=sd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function f0(e,t,n,r,i,a,o,l,s){return e=new i7(e,t,n,l,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Fn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Kh(a),e}function a7(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(B5)}catch(e){console.error(e)}}B5(),By.exports=Pn;var h0=By.exports;const c7=qt(h0);/** +`+a.stack}return{value:e,source:t,stack:i,digest:null}}function Ed(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Yp(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var F6=typeof WeakMap=="function"?WeakMap:Map;function t5(e,t,n){n=Vr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hu||(Hu=!0,og=r),Yp(e,t)},n}function n5(e,t,n){n=Vr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Yp(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Yp(e,t),typeof r!="function"&&(Si===null?Si=new Set([this]):Si.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function V1(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new F6;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=J6.bind(null,e,t,n),t.then(e,e))}function q1(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function G1(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vr(-1,1),t.tag=2,wi(n,t,1))),n.lanes|=1),e)}var $6=ti.ReactCurrentOwner,dn=!1;function Yt(e,t,n,r){t.child=e===null?Lx(t,null,n,r):lo(t,e.child,n,r)}function K1(e,t,n,r,i){n=n.render;var a=t.ref;return Ja(t,i),r=e0(e,t,n,r,a,i),n=t0(),e!==null&&!dn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Xr(e,t,i)):(Ye&&n&&Hh(t),t.flags|=1,Yt(e,t,r,i),t.child)}function Q1(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!f0(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,r5(e,t,a,r,i)):(e=uu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:Tl,n(o,r)&&e.ref===t.ref)return Xr(e,t,i)}return t.flags|=1,e=Ci(a,r),e.ref=t.ref,e.return=t,t.child=e}function r5(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Tl(a,r)&&e.ref===t.ref)if(dn=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(dn=!0);else return t.lanes=e.lanes,Xr(e,t,i)}return Zp(e,t,n,r,i)}function i5(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},He(qa,Sn),Sn|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,He(qa,Sn),Sn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,He(qa,Sn),Sn|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,He(qa,Sn),Sn|=r;return Yt(e,t,i,n),t.child}function a5(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Zp(e,t,n,r,i){var a=gn(n)?aa:Vt.current;return a=ao(t,a),Ja(t,i),n=e0(e,t,n,r,a,i),r=t0(),e!==null&&!dn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Xr(e,t,i)):(Ye&&r&&Hh(t),t.flags|=1,Yt(e,t,n,i),t.child)}function Y1(e,t,n,r,i){if(gn(n)){var a=!0;Iu(t)}else a=!1;if(Ja(t,i),t.stateNode===null)ou(e,t),e5(t,n,r),Qp(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Hn(u):(u=gn(n)?aa:Vt.current,u=ao(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||s!==u)&&W1(t,o,r,u),ci=!1;var d=t.memoizedState;o.state=d,Du(t,r,o,i),s=t.memoizedState,l!==r||d!==s||pn.current||ci?(typeof c=="function"&&(Kp(t,n,c,r),s=t.memoizedState),(l=ci||U1(t,n,l,r,d,s,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Rx(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nr(t.type,l),o.props=u,f=t.pendingProps,d=o.context,s=n.contextType,typeof s=="object"&&s!==null?s=Hn(s):(s=gn(n)?aa:Vt.current,s=ao(t,s));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==f||d!==s)&&W1(t,o,r,s),ci=!1,d=t.memoizedState,o.state=d,Du(t,r,o,i);var p=t.memoizedState;l!==f||d!==p||pn.current||ci?(typeof g=="function"&&(Kp(t,n,g,r),p=t.memoizedState),(u=ci||U1(t,n,u,r,d,p,s)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,p,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,p,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Xp(e,t,n,r,a,i)}function Xp(e,t,n,r,i,a){a5(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&N1(t,n,!1),Xr(e,t,a);r=t.stateNode,$6.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=lo(t,e.child,null,a),t.child=lo(t,null,l,a)):Yt(e,t,l,a),t.memoizedState=r.state,i&&N1(t,n,!0),t.child}function o5(e){var t=e.stateNode;t.pendingContext?_1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&_1(e,t.context,!1),Yh(e,t.containerInfo)}function Z1(e,t,n,r,i){return oo(),Wh(i),t.flags|=256,Yt(e,t,n,r),t.child}var Jp={dehydrated:null,treeContext:null,retryLane:0};function eg(e){return{baseLanes:e,cachePool:null,transitions:null}}function l5(e,t,n){var r=t.pendingProps,i=Xe.current,a=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),He(Xe,i&1),e===null)return qp(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=Lc(o,r,0,null),e=na(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=eg(n),t.memoizedState=Jp,e):i0(t,o));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return z6(e,t,o,r,l,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,l=i.sibling;var s={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=Ci(i,s),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?a=Ci(l,a):(a=na(a,o,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?eg(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Jp,r}return a=e.child,e=a.sibling,r=Ci(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function i0(e,t){return t=Lc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function js(e,t,n,r){return r!==null&&Wh(r),lo(t,e.child,null,n),e=i0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function z6(e,t,n,r,i,a,o){if(n)return t.flags&256?(t.flags&=-257,r=Ed(Error(Q(422))),js(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Lc({mode:"visible",children:r.children},i,0,null),a=na(a,i,o,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&lo(t,e.child,null,o),t.child.memoizedState=eg(o),t.memoizedState=Jp,a);if(!(t.mode&1))return js(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,a=Error(Q(419)),r=Ed(a,r,void 0),js(e,t,o,r)}if(l=(o&e.childLanes)!==0,dn||l){if(r=Ot,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,Zr(e,i),lr(r,e,i,-1))}return c0(),r=Ed(Error(Q(421))),js(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=e7.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,En=xi(i.nextSibling),Tn=t,Ye=!0,ir=null,e!==null&&(Nn[jn++]=Hr,Nn[jn++]=Ur,Nn[jn++]=oa,Hr=e.id,Ur=e.overflow,oa=t),t=i0(t,r.children),t.flags|=4096,t)}function X1(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gp(e.return,t,n)}function Td(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function s5(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Yt(e,t,r.children,n),r=Xe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&X1(e,n,t);else if(e.tag===19)X1(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(He(Xe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Mu(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Td(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Mu(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Td(t,!0,n,null,a);break;case"together":Td(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ou(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Xr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),sa|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Q(153));if(t.child!==null){for(e=t.child,n=Ci(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ci(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function H6(e,t,n){switch(t.tag){case 3:o5(t),oo();break;case 5:_x(t);break;case 1:gn(t.type)&&Iu(t);break;case 4:Yh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;He(Nu,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(He(Xe,Xe.current&1),t.flags|=128,null):n&t.child.childLanes?l5(e,t,n):(He(Xe,Xe.current&1),e=Xr(e,t,n),e!==null?e.sibling:null);He(Xe,Xe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return s5(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),He(Xe,Xe.current),r)break;return null;case 22:case 23:return t.lanes=0,i5(e,t,n)}return Xr(e,t,n)}var u5,tg,c5,f5;u5=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};tg=function(){};c5=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ji(Br.current);var a=null;switch(n){case"input":i=kp(e,i),r=kp(e,r),a=[];break;case"select":i=et({},i,{value:void 0}),r=et({},r,{value:void 0}),a=[];break;case"textarea":i=Tp(e,i),r=Tp(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Pu)}Bp(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(yl.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(a||(a=[]),a.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(yl.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Ge("scroll",e),a||l===s||(a=[])):(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};f5=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ho(e,t){if(!Ye)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function zt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function U6(e,t,n){var r=t.pendingProps;switch(Uh(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zt(t),null;case 1:return gn(t.type)&&Lu(),zt(t),null;case 3:return r=t.stateNode,so(),Qe(pn),Qe(Vt),Xh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_s(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ir!==null&&(ug(ir),ir=null))),tg(e,t),zt(t),null;case 5:Zh(t);var i=Ji(Ll.current);if(n=t.type,e!==null&&t.stateNode!=null)c5(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Q(166));return zt(t),null}if(e=Ji(Br.current),_s(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Cr]=t,r[Al]=a,e=(t.mode&1)!==0,n){case"dialog":Ge("cancel",r),Ge("close",r);break;case"iframe":case"object":case"embed":Ge("load",r);break;case"video":case"audio":for(i=0;i<\/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[Cr]=t,e[Al]=r,u5(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ap(n,r),n){case"dialog":Ge("cancel",e),Ge("close",e),i=r;break;case"iframe":case"object":case"embed":Ge("load",e),i=r;break;case"video":case"audio":for(i=0;ico&&(t.flags|=128,r=!0,Ho(a,!1),t.lanes=4194304)}else{if(!r)if(e=Mu(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ho(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Ye)return zt(t),null}else 2*lt()-a.renderingStartTime>co&&n!==1073741824&&(t.flags|=128,r=!0,Ho(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=lt(),t.sibling=null,n=Xe.current,He(Xe,r?n&1|2:n&1),t):(zt(t),null);case 22:case 23:return u0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Sn&1073741824&&(zt(t),t.subtreeFlags&6&&(t.flags|=8192)):zt(t),null;case 24:return null;case 25:return null}throw Error(Q(156,t.tag))}function W6(e,t){switch(Uh(t),t.tag){case 1:return gn(t.type)&&Lu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return so(),Qe(pn),Qe(Vt),Xh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Zh(t),null;case 13:if(Qe(Xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Q(340));oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qe(Xe),null;case 4:return so(),null;case 10:return Gh(t.type._context),null;case 22:case 23:return u0(),null;case 24:return null;default:return null}}var Ds=!1,Wt=!1,V6=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Va(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){nt(e,t,r)}else n.current=null}function ng(e,t,n){try{n()}catch(r){nt(e,t,r)}}var J1=!1;function q6(e,t){if(Fp=Ou,e=mx(),zh(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,l=-1,s=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=o+i),f!==a||r!==0&&f.nodeType!==3||(s=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=o),d===a&&++c===r&&(s=o),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for($p={focusedElem:e,selectionRange:n},Ou=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var m=p.memoizedProps,y=p.memoizedState,h=t.stateNode,b=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:nr(t.type,m),y);h.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Q(163))}}catch(S){nt(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return p=J1,J1=!1,p}function cl(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&&ng(t,n,a)}i=i.next}while(i!==r)}}function Ac(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 rg(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 d5(e){var t=e.alternate;t!==null&&(e.alternate=null,d5(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Cr],delete t[Al],delete t[Up],delete t[B6],delete t[A6])),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 p5(e){return e.tag===5||e.tag===3||e.tag===4}function eb(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||p5(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 ig(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=Pu));else if(r!==4&&(e=e.child,e!==null))for(ig(e,t,n),e=e.sibling;e!==null;)ig(e,t,n),e=e.sibling}function ag(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(ag(e,t,n),e=e.sibling;e!==null;)ag(e,t,n),e=e.sibling}var It=null,rr=!1;function ii(e,t,n){for(n=n.child;n!==null;)g5(e,t,n),n=n.sibling}function g5(e,t,n){if(Or&&typeof Or.onCommitFiberUnmount=="function")try{Or.onCommitFiberUnmount(wc,n)}catch{}switch(n.tag){case 5:Wt||Va(n,t);case 6:var r=It,i=rr;It=null,ii(e,t,n),It=r,rr=i,It!==null&&(rr?(e=It,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):It.removeChild(n.stateNode));break;case 18:It!==null&&(rr?(e=It,n=n.stateNode,e.nodeType===8?yd(e.parentNode,n):e.nodeType===1&&yd(e,n),Cl(e)):yd(It,n.stateNode));break;case 4:r=It,i=rr,It=n.stateNode.containerInfo,rr=!0,ii(e,t,n),It=r,rr=i;break;case 0:case 11:case 14:case 15:if(!Wt&&(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)&&ng(n,t,o),i=i.next}while(i!==r)}ii(e,t,n);break;case 1:if(!Wt&&(Va(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){nt(n,t,l)}ii(e,t,n);break;case 21:ii(e,t,n);break;case 22:n.mode&1?(Wt=(r=Wt)||n.memoizedState!==null,ii(e,t,n),Wt=r):ii(e,t,n);break;default:ii(e,t,n)}}function tb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new V6),t.forEach(function(r){var i=t7.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Jn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*K6(r/1960))-r,10e?16:e,hi===null)var r=!1;else{if(e=hi,hi=null,Uu=0,Te&6)throw Error(Q(331));var i=Te;for(Te|=4,oe=e.current;oe!==null;){var a=oe,o=a.child;if(oe.flags&16){var l=a.deletions;if(l!==null){for(var s=0;slt()-l0?ta(e,0):o0|=n),hn(e,t)}function S5(e,t){t===0&&(e.mode&1?(t=Bs,Bs<<=1,!(Bs&130023424)&&(Bs=4194304)):t=1);var n=Xt();e=Zr(e,t),e!==null&&(es(e,t,n),hn(e,n))}function e7(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),S5(e,n)}function t7(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(Q(314))}r!==null&&r.delete(t),S5(e,n)}var k5;k5=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pn.current)dn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dn=!1,H6(e,t,n);dn=!!(e.flags&131072)}else dn=!1,Ye&&t.flags&1048576&&Ox(t,_u,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ou(e,t),e=t.pendingProps;var i=ao(t,Vt.current);Ja(t,n),i=e0(null,t,r,e,i,n);var a=t0();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,gn(r)?(a=!0,Iu(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Qh(t),i.updater=Bc,t.stateNode=i,i._reactInternals=t,Qp(t,r,e,n),t=Xp(null,t,r,!0,a,n)):(t.tag=0,Ye&&a&&Hh(t),Yt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ou(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=r7(r),e=nr(r,e),i){case 0:t=Zp(null,t,r,e,n);break e;case 1:t=Y1(null,t,r,e,n);break e;case 11:t=K1(null,t,r,e,n);break e;case 14:t=Q1(null,t,r,nr(r.type,e),n);break e}throw Error(Q(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),Zp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),Y1(e,t,r,i,n);case 3:e:{if(o5(t),e===null)throw Error(Q(387));r=t.pendingProps,a=t.memoizedState,i=a.element,Rx(e,t),Du(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=uo(Error(Q(423)),t),t=Z1(e,t,r,n,i);break e}else if(r!==i){i=uo(Error(Q(424)),t),t=Z1(e,t,r,n,i);break e}else for(En=xi(t.stateNode.containerInfo.firstChild),Tn=t,Ye=!0,ir=null,n=Lx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(oo(),r===i){t=Xr(e,t,n);break e}Yt(e,t,r,n)}t=t.child}return t;case 5:return _x(t),e===null&&qp(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,zp(r,i)?o=null:a!==null&&zp(r,a)&&(t.flags|=32),a5(e,t),Yt(e,t,o,n),t.child;case 6:return e===null&&qp(t),null;case 13:return l5(e,t,n);case 4:return Yh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lo(t,null,r,n):Yt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),K1(e,t,r,i,n);case 7:return Yt(e,t,t.pendingProps,n),t.child;case 8:return Yt(e,t,t.pendingProps.children,n),t.child;case 12:return Yt(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,He(Nu,r._currentValue),r._currentValue=o,a!==null)if(dr(a.value,o)){if(a.children===i.children&&!pn.current){t=Xr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=Vr(-1,n&-n),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Gp(a.return,n,t),l.lanes|=n;break}s=s.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(Q(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Gp(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}Yt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ja(t,n),i=Hn(i),r=r(i),t.flags|=1,Yt(e,t,r,n),t.child;case 14:return r=t.type,i=nr(r,t.pendingProps),i=nr(r.type,i),Q1(e,t,r,i,n);case 15:return r5(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nr(r,i),ou(e,t),t.tag=1,gn(r)?(e=!0,Iu(t)):e=!1,Ja(t,n),e5(t,r,i),Qp(t,r,i,n),Xp(null,t,r,!0,e,n);case 19:return s5(e,t,n);case 22:return i5(e,t,n)}throw Error(Q(156,t.tag))};function C5(e,t){return Zy(e,t)}function n7(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 Fn(e,t,n,r){return new n7(e,t,n,r)}function f0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function r7(e){if(typeof e=="function")return f0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ph)return 11;if(e===Lh)return 14}return 2}function Ci(e,t){var n=e.alternate;return n===null?(n=Fn(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 uu(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")f0(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ja:return na(n.children,i,a,t);case Ah:o=8,i|=8;break;case yp:return e=Fn(12,n,t,i|2),e.elementType=yp,e.lanes=a,e;case xp:return e=Fn(13,n,t,i),e.elementType=xp,e.lanes=a,e;case wp:return e=Fn(19,n,t,i),e.elementType=wp,e.lanes=a,e;case _y:return Lc(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Iy:o=10;break e;case Ry:o=9;break e;case Ph:o=11;break e;case Lh:o=14;break e;case ui:o=16,r=null;break e}throw Error(Q(130,e==null?e:typeof e,""))}return t=Fn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function na(e,t,n,r){return e=Fn(7,e,r,t),e.lanes=n,e}function Lc(e,t,n,r){return e=Fn(22,e,r,t),e.elementType=_y,e.lanes=n,e.stateNode={isHidden:!1},e}function Od(e,t,n){return e=Fn(6,e,null,t),e.lanes=n,e}function Bd(e,t,n){return t=Fn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function i7(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=sd(0),this.expirationTimes=sd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function d0(e,t,n,r,i,a,o,l,s){return e=new i7(e,t,n,l,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Fn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qh(a),e}function a7(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(B5)}catch(e){console.error(e)}}B5(),By.exports=Pn;var m0=By.exports;const c7=qt(m0);/** * @remix-run/router v1.17.1 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function A5(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function d7(){return Math.random().toString(36).substr(2,8)}function ub(e,t){return{usr:e.state,key:e.key,idx:t}}function cg(e,t,n,r){return n===void 0&&(n=null),jl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vo(t):t,{state:n,key:t&&t.key||r||d7()})}function qu(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 vo(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 p7(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,l=mi.Pop,s=null,u=c();u==null&&(u=0,o.replaceState(jl({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){l=mi.Pop;let y=c(),h=y==null?null:y-u;u=y,s&&s({action:l,location:m.location,delta:h})}function d(y,h){l=mi.Push;let b=cg(m.location,y,h);n&&n(b,y),u=c()+1;let v=ub(b,u),S=m.createHref(b);try{o.pushState(v,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(S)}a&&s&&s({action:l,location:m.location,delta:1})}function g(y,h){l=mi.Replace;let b=cg(m.location,y,h);n&&n(b,y),u=c();let v=ub(b,u),S=m.createHref(b);o.replaceState(v,"",S),a&&s&&s({action:l,location:m.location,delta:0})}function p(y){let h=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof y=="string"?y:qu(y);return b=b.replace(/ $/,"%20"),pt(h,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,h)}let m={get action(){return l},get location(){return e(i,o)},listen(y){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(sb,f),s=y,()=>{i.removeEventListener(sb,f),s=null}},createHref(y){return t(i,y)},createURL:p,encodeLocation(y){let h=p(y);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:d,replace:g,go(y){return o.go(y)}};return m}var cb;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(cb||(cb={}));function g7(e,t,n){return n===void 0&&(n="/"),h7(e,t,n,!1)}function h7(e,t,n,r){let i=typeof t=="string"?vo(t):t,a=m0(i.pathname||"/",n);if(a==null)return null;let o=P5(e);m7(o);let l=null;for(let s=0;l==null&&s{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};s.relativePath.startsWith("/")&&(pt(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Ei([r,s.relativePath]),c=n.concat(s);a.children&&a.children.length>0&&(pt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),P5(a.children,t,c,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:k7(u,a.index),routesMeta:c})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,o);else for(let s of L5(a.path))i(a,o,s)}),t}function L5(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=L5(r.join("/")),l=[];return l.push(...o.map(s=>s===""?a:[a,s].join("/"))),i&&l.push(...o),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function m7(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:C7(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const b7=/^:[\w-]+$/,v7=3,y7=2,x7=1,w7=10,S7=-2,fb=e=>e==="*";function k7(e,t){let n=e.split("/"),r=n.length;return n.some(fb)&&(r+=S7),t&&(r+=y7),n.filter(i=>!fb(i)).reduce((i,a)=>i+(b7.test(a)?v7:a===""?x7:w7),r)}function C7(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 E7(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a="/",o=[];for(let l=0;l{let{paramName:d,isOptional:g}=c;if(d==="*"){let m=l[f]||"";o=a.slice(0,a.length-m.length).replace(/(.)\/+$/,"$1")}const p=l[f];return g&&!p?u[d]=void 0:u[d]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function T7(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),A5(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,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function O7(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return A5(!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 m0(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 B7(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?vo(e):e;return{pathname:n?n.startsWith("/")?n:A7(n,t):t,search:I7(r),hash:R7(i)}}function A7(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 Ad(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 P7(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function I5(e,t){let n=P7(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function R5(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=vo(e):(i=jl({},e),pt(!i.pathname||!i.pathname.includes("?"),Ad("?","pathname","search",i)),pt(!i.pathname||!i.pathname.includes("#"),Ad("#","pathname","hash",i)),pt(!i.search||!i.search.includes("#"),Ad("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,l;if(o==null)l=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}l=f>=0?t[f]:"/"}let s=B7(i,l),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Ei=e=>e.join("/").replace(/\/\/+/g,"/"),L7=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),I7=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,R7=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function _7(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _5=["post","put","patch","delete"];new Set(_5);const N7=["get",..._5];new Set(N7);/** + */function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function A5(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function d7(){return Math.random().toString(36).substr(2,8)}function cb(e,t){return{usr:e.state,key:e.key,idx:t}}function cg(e,t,n,r){return n===void 0&&(n=null),jl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vo(t):t,{state:n,key:t&&t.key||r||d7()})}function qu(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 vo(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 p7(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,l=mi.Pop,s=null,u=c();u==null&&(u=0,o.replaceState(jl({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){l=mi.Pop;let y=c(),h=y==null?null:y-u;u=y,s&&s({action:l,location:m.location,delta:h})}function d(y,h){l=mi.Push;let b=cg(m.location,y,h);n&&n(b,y),u=c()+1;let v=cb(b,u),S=m.createHref(b);try{o.pushState(v,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(S)}a&&s&&s({action:l,location:m.location,delta:1})}function g(y,h){l=mi.Replace;let b=cg(m.location,y,h);n&&n(b,y),u=c();let v=cb(b,u),S=m.createHref(b);o.replaceState(v,"",S),a&&s&&s({action:l,location:m.location,delta:0})}function p(y){let h=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof y=="string"?y:qu(y);return b=b.replace(/ $/,"%20"),pt(h,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,h)}let m={get action(){return l},get location(){return e(i,o)},listen(y){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(ub,f),s=y,()=>{i.removeEventListener(ub,f),s=null}},createHref(y){return t(i,y)},createURL:p,encodeLocation(y){let h=p(y);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:d,replace:g,go(y){return o.go(y)}};return m}var fb;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fb||(fb={}));function g7(e,t,n){return n===void 0&&(n="/"),h7(e,t,n,!1)}function h7(e,t,n,r){let i=typeof t=="string"?vo(t):t,a=b0(i.pathname||"/",n);if(a==null)return null;let o=P5(e);m7(o);let l=null;for(let s=0;l==null&&s{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};s.relativePath.startsWith("/")&&(pt(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Ei([r,s.relativePath]),c=n.concat(s);a.children&&a.children.length>0&&(pt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),P5(a.children,t,c,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:k7(u,a.index),routesMeta:c})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,o);else for(let s of L5(a.path))i(a,o,s)}),t}function L5(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=L5(r.join("/")),l=[];return l.push(...o.map(s=>s===""?a:[a,s].join("/"))),i&&l.push(...o),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function m7(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:C7(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const b7=/^:[\w-]+$/,v7=3,y7=2,x7=1,w7=10,S7=-2,db=e=>e==="*";function k7(e,t){let n=e.split("/"),r=n.length;return n.some(db)&&(r+=S7),t&&(r+=y7),n.filter(i=>!db(i)).reduce((i,a)=>i+(b7.test(a)?v7:a===""?x7:w7),r)}function C7(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 E7(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a="/",o=[];for(let l=0;l{let{paramName:d,isOptional:g}=c;if(d==="*"){let m=l[f]||"";o=a.slice(0,a.length-m.length).replace(/(.)\/+$/,"$1")}const p=l[f];return g&&!p?u[d]=void 0:u[d]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function T7(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),A5(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,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function O7(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return A5(!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 b0(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 B7(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?vo(e):e;return{pathname:n?n.startsWith("/")?n:A7(n,t):t,search:I7(r),hash:R7(i)}}function A7(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 Ad(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 P7(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function I5(e,t){let n=P7(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function R5(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=vo(e):(i=jl({},e),pt(!i.pathname||!i.pathname.includes("?"),Ad("?","pathname","search",i)),pt(!i.pathname||!i.pathname.includes("#"),Ad("#","pathname","hash",i)),pt(!i.search||!i.search.includes("#"),Ad("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,l;if(o==null)l=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}l=f>=0?t[f]:"/"}let s=B7(i,l),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Ei=e=>e.join("/").replace(/\/\/+/g,"/"),L7=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),I7=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,R7=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function _7(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _5=["post","put","patch","delete"];new Set(_5);const N7=["get",..._5];new Set(N7);/** * React Router v6.24.1 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Dl(){return Dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),A.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=R5(u,JSON.parse(o),a,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Ei([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,o,a,e])}function F7(){let{matches:e}=A.useContext(Ni),t=e[e.length-1];return t?t.params:{}}function D5(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=A.useContext(ma),{matches:i}=A.useContext(Ni),{pathname:a}=Ir(),o=JSON.stringify(I5(i,r.v7_relativeSplatPath));return A.useMemo(()=>R5(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function $7(e,t){return z7(e,t)}function z7(e,t,n,r){is()||pt(!1);let{navigator:i}=A.useContext(ma),{matches:a}=A.useContext(Ni),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let u=Ir(),c;if(t){var f;let y=typeof t=="string"?vo(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||pt(!1),c=y}else c=u;let d=c.pathname||"/",g=d;if(s!=="/"){let y=s.replace(/^\//,"").split("/");g="/"+d.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=g7(e,{pathname:g}),m=q7(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Ei([s,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Ei([s,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r);return t&&m?A.createElement(jc.Provider,{value:{location:Dl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mi.Pop}},m):m}function H7(){let e=Y7(),t=_7(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 A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),n?A.createElement("pre",{style:i},n):null,a)}const U7=A.createElement(H7,null);class W7 extends A.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!==void 0?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!==void 0?A.createElement(Ni.Provider,{value:this.props.routeContext},A.createElement(N5.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function V7(e){let{routeContext:t,match:n,children:r}=e,i=A.useContext(b0);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),A.createElement(Ni.Provider,{value:t},r)}function q7(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let o=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=o.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);c>=0||pt(!1),o=o.slice(0,Math.min(o.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,f,d)=>{let g,p=!1,m=null,y=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,m=f.route.errorElement||U7,s&&(u<0&&d===0?(X7("route-fallback",!1),p=!0,y=null):u===d&&(p=!0,y=f.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,d+1)),b=()=>{let v;return g?v=m:p?v=y:f.route.Component?v=A.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=c,A.createElement(V7,{match:f,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?A.createElement(W7,{location:n.location,revalidation:n.revalidation,component:m,error:g,children:b(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):b()},null)}var M5=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(M5||{}),Gu=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}(Gu||{});function G7(e){let t=A.useContext(b0);return t||pt(!1),t}function K7(e){let t=A.useContext(j7);return t||pt(!1),t}function Q7(e){let t=A.useContext(Ni);return t||pt(!1),t}function F5(e){let t=Q7(),n=t.matches[t.matches.length-1];return n.route.id||pt(!1),n.route.id}function Y7(){var e;let t=A.useContext(N5),n=K7(Gu.UseRouteError),r=F5(Gu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Z7(){let{router:e}=G7(M5.UseNavigateStable),t=F5(Gu.UseNavigateStable),n=A.useRef(!1);return j5(()=>{n.current=!0}),A.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Dl({fromRouteId:t},a)))},[e,t])}const pb={};function X7(e,t,n){!t&&!pb[e]&&(pb[e]=!0)}function Ki(e){pt(!1)}function J7(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mi.Pop,navigator:a,static:o=!1,future:l}=e;is()&&pt(!1);let s=t.replace(/^\/*/,"/"),u=A.useMemo(()=>({basename:s,navigator:a,static:o,future:Dl({v7_relativeSplatPath:!1},l)}),[s,l,a,o]);typeof r=="string"&&(r=vo(r));let{pathname:c="/",search:f="",hash:d="",state:g=null,key:p="default"}=r,m=A.useMemo(()=>{let y=m0(c,s);return y==null?null:{location:{pathname:y,search:f,hash:d,state:g,key:p},navigationType:i}},[s,c,f,d,g,p,i]);return m==null?null:A.createElement(ma.Provider,{value:u},A.createElement(jc.Provider,{children:n,value:m}))}function e9(e){let{children:t,location:n}=e;return $7(fg(t),n)}new Promise(()=>{});function fg(e,t){t===void 0&&(t=[]);let n=[];return A.Children.forEach(e,(r,i)=>{if(!A.isValidElement(r))return;let a=[...t,i];if(r.type===A.Fragment){n.push.apply(n,fg(r.props.children,a));return}r.type!==Ki&&pt(!1),!r.props.index||!r.props.children||pt(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=fg(r.props.children,a)),n.push(o)}),n}/** + */function Dl(){return Dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),A.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=R5(u,JSON.parse(o),a,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Ei([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,o,a,e])}function F7(){let{matches:e}=A.useContext(Ni),t=e[e.length-1];return t?t.params:{}}function D5(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=A.useContext(ma),{matches:i}=A.useContext(Ni),{pathname:a}=Ir(),o=JSON.stringify(I5(i,r.v7_relativeSplatPath));return A.useMemo(()=>R5(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function $7(e,t){return z7(e,t)}function z7(e,t,n,r){is()||pt(!1);let{navigator:i}=A.useContext(ma),{matches:a}=A.useContext(Ni),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let u=Ir(),c;if(t){var f;let y=typeof t=="string"?vo(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||pt(!1),c=y}else c=u;let d=c.pathname||"/",g=d;if(s!=="/"){let y=s.replace(/^\//,"").split("/");g="/"+d.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=g7(e,{pathname:g}),m=q7(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Ei([s,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Ei([s,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r);return t&&m?A.createElement(jc.Provider,{value:{location:Dl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mi.Pop}},m):m}function H7(){let e=Y7(),t=_7(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 A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),n?A.createElement("pre",{style:i},n):null,a)}const U7=A.createElement(H7,null);class W7 extends A.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!==void 0?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!==void 0?A.createElement(Ni.Provider,{value:this.props.routeContext},A.createElement(N5.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function V7(e){let{routeContext:t,match:n,children:r}=e,i=A.useContext(v0);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),A.createElement(Ni.Provider,{value:t},r)}function q7(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let o=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=o.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);c>=0||pt(!1),o=o.slice(0,Math.min(o.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,f,d)=>{let g,p=!1,m=null,y=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,m=f.route.errorElement||U7,s&&(u<0&&d===0?(X7("route-fallback",!1),p=!0,y=null):u===d&&(p=!0,y=f.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,d+1)),b=()=>{let v;return g?v=m:p?v=y:f.route.Component?v=A.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=c,A.createElement(V7,{match:f,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?A.createElement(W7,{location:n.location,revalidation:n.revalidation,component:m,error:g,children:b(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):b()},null)}var M5=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(M5||{}),Gu=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}(Gu||{});function G7(e){let t=A.useContext(v0);return t||pt(!1),t}function K7(e){let t=A.useContext(j7);return t||pt(!1),t}function Q7(e){let t=A.useContext(Ni);return t||pt(!1),t}function F5(e){let t=Q7(),n=t.matches[t.matches.length-1];return n.route.id||pt(!1),n.route.id}function Y7(){var e;let t=A.useContext(N5),n=K7(Gu.UseRouteError),r=F5(Gu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Z7(){let{router:e}=G7(M5.UseNavigateStable),t=F5(Gu.UseNavigateStable),n=A.useRef(!1);return j5(()=>{n.current=!0}),A.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Dl({fromRouteId:t},a)))},[e,t])}const gb={};function X7(e,t,n){!t&&!gb[e]&&(gb[e]=!0)}function Ki(e){pt(!1)}function J7(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mi.Pop,navigator:a,static:o=!1,future:l}=e;is()&&pt(!1);let s=t.replace(/^\/*/,"/"),u=A.useMemo(()=>({basename:s,navigator:a,static:o,future:Dl({v7_relativeSplatPath:!1},l)}),[s,l,a,o]);typeof r=="string"&&(r=vo(r));let{pathname:c="/",search:f="",hash:d="",state:g=null,key:p="default"}=r,m=A.useMemo(()=>{let y=b0(c,s);return y==null?null:{location:{pathname:y,search:f,hash:d,state:g,key:p},navigationType:i}},[s,c,f,d,g,p,i]);return m==null?null:A.createElement(ma.Provider,{value:u},A.createElement(jc.Provider,{children:n,value:m}))}function e9(e){let{children:t,location:n}=e;return $7(fg(t),n)}new Promise(()=>{});function fg(e,t){t===void 0&&(t=[]);let n=[];return A.Children.forEach(e,(r,i)=>{if(!A.isValidElement(r))return;let a=[...t,i];if(r.type===A.Fragment){n.push.apply(n,fg(r.props.children,a));return}r.type!==Ki&&pt(!1),!r.props.index||!r.props.children||pt(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=fg(r.props.children,a)),n.push(o)}),n}/** * React Router DOM v6.24.1 * * Copyright (c) Remix Software Inc. @@ -64,14 +64,14 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function dg(){return dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function n9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function r9(e,t){return e.button===0&&(!t||t==="_self")&&!n9(e)}const i9=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],a9="6";try{window.__reactRouterVersion=a9}catch{}const o9="startTransition",gb=Ty[o9];function l9(e){let{basename:t,children:n,future:r,window:i}=e,a=A.useRef();a.current==null&&(a.current=f7({window:i,v5Compat:!0}));let o=a.current,[l,s]=A.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=A.useCallback(f=>{u&&gb?gb(()=>s(f)):s(f)},[s,u]);return A.useLayoutEffect(()=>o.listen(c),[o,c]),A.createElement(J7,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const s9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Er=A.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:s,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,d=t9(t,i9),{basename:g}=A.useContext(ma),p,m=!1;if(typeof u=="string"&&u9.test(u)&&(p=u,s9))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),T=m0(S.pathname,g);S.origin===v.origin&&T!=null?u=T+S.search+S.hash:m=!0}catch{}let y=D7(u,{relative:i}),h=c9(u,{replace:o,state:l,target:s,preventScrollReset:c,relative:i,unstable_viewTransition:f});function b(v){r&&r(v),v.defaultPrevented||h(v)}return A.createElement("a",dg({},d,{href:p||y,onClick:m||a?r:b,ref:n,target:s}))});var hb;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hb||(hb={}));var mb;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(mb||(mb={}));function c9(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,s=Dc(),u=Ir(),c=D5(e,{relative:o});return A.useCallback(f=>{if(r9(f,n)){f.preventDefault();let d=r!==void 0?r:qu(u)===qu(c);s(e,{replace:d,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,s,c,r,i,n,e,a,o,l])}var $5={exports:{}},f9="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d9=f9,p9=d9;function z5(){}function H5(){}H5.resetWarningCache=z5;var g9=function(){function e(r,i,a,o,l,s){if(s!==p9){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:H5,resetWarningCache:z5};return n.PropTypes=n,n};$5.exports=g9();var h9=$5.exports;const J=qt(h9);var m9=typeof Element<"u",b9=typeof Map=="function",v9=typeof Set=="function",y9=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function cu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!cu(e[r],t[r]))return!1;return!0}var a;if(b9&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!cu(r.value[1],t.get(r.value[0])))return!1;return!0}if(v9&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(y9&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(m9&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!cu(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var x9=function(t,n){try{return cu(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const w9=qt(x9);var S9=function(e,t,n,r,i,a,o,l){if(!e){var s;if(t===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,l],c=0;s=new Error(t.replace(/%s/g,function(){return u[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}},k9=S9;const bb=qt(k9);var C9=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),l=Object.keys(n);if(o.length!==l.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),u=0;u=0||(i[n]=e[n]);return i}var me={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},T9={rel:["amphtml","canonical","alternate"]},O9={type:["application/ld+json"]},B9={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},yb=Object.keys(me).map(function(e){return me[e]}),Ku={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A9=Object.keys(Ku).reduce(function(e,t){return e[Ku[t]]=t,e},{}),to=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},P9=function(e){var t=to(e,me.TITLE),n=to(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=to(e,"defaultTitle");return t||r||void 0},L9=function(e){return to(e,"onChangeClientState")||function(){}},Pd=function(e,t){return t.filter(function(n){return n[e]!==void 0}).map(function(n){return n[e]}).reduce(function(n,r){return at({},n,r)},{})},I9=function(e,t){return t.filter(function(n){return n[me.BASE]!==void 0}).map(function(n){return n[me.BASE]}).reverse().reduce(function(n,r){if(!n.length)for(var i=Object.keys(r),a=0;a/g,">").replace(/"/g,""").replace(/'/g,"'")},wb=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n]!==void 0?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},Sb=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(n,r){return n[Ku[r]||r]=e[r],n},t)},fu=function(e,t){return t.map(function(n,r){var i,a=((i={key:r})["data-rh"]=!0,i);return Object.keys(n).forEach(function(o){var l=Ku[o]||o;l==="innerHTML"||l==="cssText"?a.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:a[l]=n[o]}),x.createElement(e,a)})},_n=function(e,t,n){switch(e){case me.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:r=t.title})["data-rh"]=!0,o=Sb(i,a),[x.createElement(me.TITLE,o,r)];var r,i,a,o},toString:function(){return function(r,i,a,o){var l=wb(a),s=U5(i);return l?"<"+r+' data-rh="true" '+l+">"+Id(s,o)+"":"<"+r+' data-rh="true">'+Id(s,o)+""}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Sb(t)},toString:function(){return wb(t)}};default:return{toComponent:function(){return fu(e,t)},toString:function(){return function(r,i,a){return i.reduce(function(o,l){var s=Object.keys(l).filter(function(f){return!(f==="innerHTML"||f==="cssText")}).reduce(function(f,d){var g=l[d]===void 0?d:d+'="'+Id(l[d],a)+'"';return f?f+" "+g:g},""),u=l.innerHTML||l.cssText||"",c=_9.indexOf(r)===-1;return o+"<"+r+' data-rh="true" '+s+(c?"/>":">"+u+"")},"")}(e,t,n)}}}},gg=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,l=e.title,s=l===void 0?"":l,u=e.titleAttributes,c=e.linkTags,f=e.metaTags,d=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p=function(m){var y=m.linkTags,h=m.scriptTags,b=m.encode,v=Ld(m.metaTags,B9),S=Ld(y,T9),T=Ld(h,O9);return{priorityMethods:{toComponent:function(){return[].concat(fu(me.META,v.priority),fu(me.LINK,S.priority),fu(me.SCRIPT,T.priority))},toString:function(){return _n(me.META,v.priority,b)+" "+_n(me.LINK,S.priority,b)+" "+_n(me.SCRIPT,T.priority,b)}},metaTags:v.default,linkTags:S.default,scriptTags:T.default}}(e);g=p.priorityMethods,c=p.linkTags,f=p.metaTags,d=p.scriptTags}return{priority:g,base:_n(me.BASE,t,r),bodyAttributes:_n("bodyAttributes",n,r),htmlAttributes:_n("htmlAttributes",i,r),link:_n(me.LINK,c,r),meta:_n(me.META,f,r),noscript:_n(me.NOSCRIPT,a,r),script:_n(me.SCRIPT,d,r),style:_n(me.STYLE,o,r),title:_n(me.TITLE,{title:s,titleAttributes:u},r)}},$s=[],hg=function(e,t){var n=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(r){n.context.helmet=r},helmetInstances:{get:function(){return n.canUseDOM?$s:n.instances},add:function(r){(n.canUseDOM?$s:n.instances).push(r)},remove:function(r){var i=(n.canUseDOM?$s:n.instances).indexOf(r);(n.canUseDOM?$s:n.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=gg({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},W5=x.createContext({}),N9=J.shape({setHelmet:J.func,helmetInstances:J.shape({get:J.func,add:J.func,remove:J.func})}),j9=typeof document<"u",Ga=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new hg(r.props.context,t.canUseDOM),r}return v0(t,e),t.prototype.render=function(){return x.createElement(W5.Provider,{value:this.helmetData.value},this.props.children)},t}(A.Component);Ga.canUseDOM=j9,Ga.propTypes={context:J.shape({helmet:J.shape()}),children:J.node.isRequired},Ga.defaultProps={context:{}},Ga.displayName="HelmetProvider";var Aa=function(e,t){var n,r=document.head||document.querySelector(me.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(l){var s=document.createElement(e);for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(u==="innerHTML"?s.innerHTML=l.innerHTML:u==="cssText"?s.styleSheet?s.styleSheet.cssText=l.cssText:s.appendChild(document.createTextNode(l.cssText)):s.setAttribute(u,l[u]===void 0?"":l[u]));s.setAttribute("data-rh","true"),a.some(function(c,f){return n=f,s.isEqualNode(c)})?a.splice(n,1):o.push(s)}),a.forEach(function(l){return l.parentNode.removeChild(l)}),o.forEach(function(l){return r.appendChild(l)}),{oldTags:a,newTags:o}},Rd=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),l=0;l=0;f-=1)n.removeAttribute(a[f]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},kb=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,f=e.titleAttributes;Rd(me.BODY,e.bodyAttributes),Rd(me.HTML,r),function(m,y){m!==void 0&&document.title!==m&&(document.title=U5(m)),Rd(me.TITLE,y)}(c,f);var d={baseTag:Aa(me.BASE,n),linkTags:Aa(me.LINK,i),metaTags:Aa(me.META,a),noscriptTags:Aa(me.NOSCRIPT,o),scriptTags:Aa(me.SCRIPT,s),styleTags:Aa(me.STYLE,u)},g={},p={};Object.keys(d).forEach(function(m){var y=d[m],h=y.newTags,b=y.oldTags;h.length&&(g[m]=h),b.length&&(p[m]=d[m].oldTags)}),t&&t(),l(e,g,p)},Vo=null,Qu=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(r){var i,a=r.child,o=r.arrayTypeChildren;return at({},o,((i={})[a.type]=[].concat(o[a.type]||[],[at({},r.newChildProps,this.mapNestedChildrenToProps(a,r.nestedChildren))]),i))},n.mapObjectTypeChildren=function(r){var i,a,o=r.child,l=r.newProps,s=r.newChildProps,u=r.nestedChildren;switch(o.type){case me.TITLE:return at({},l,((i={})[o.type]=u,i.titleAttributes=at({},s),i));case me.BODY:return at({},l,{bodyAttributes:at({},s)});case me.HTML:return at({},l,{htmlAttributes:at({},s)});default:return at({},l,((a={})[o.type]=at({},s),a))}},n.mapArrayTypeChildrenToProps=function(r,i){var a=at({},i);return Object.keys(r).forEach(function(o){var l;a=at({},a,((l={})[o]=r[o],l))}),a},n.warnOnInvalidChildren=function(r,i){return bb(yb.some(function(a){return r.type===a}),typeof r.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+yb.join(", ")+" are allowed. Helmet does not support rendering <"+r.type+"> elements. Refer to our API for more information."),bb(!i||typeof i=="string"||Array.isArray(i)&&!i.some(function(a){return typeof a!="string"}),"Helmet expects a string as a child of <"+r.type+">. Did you forget to wrap your children in braces? ( <"+r.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(r,i){var a=this,o={};return x.Children.forEach(r,function(l){if(l&&l.props){var s=l.props,u=s.children,c=vb(s,D9),f=Object.keys(c).reduce(function(g,p){return g[A9[p]||p]=c[p],g},{}),d=l.type;switch(typeof d=="symbol"?d=d.toString():a.warnOnInvalidChildren(l,u),d){case me.FRAGMENT:i=a.mapChildrenToProps(u,i);break;case me.LINK:case me.META:case me.NOSCRIPT:case me.SCRIPT:case me.STYLE:o=a.flattenArrayTypeChildren({child:l,arrayTypeChildren:o,newChildProps:f,nestedChildren:u});break;default:i=a.mapObjectTypeChildren({child:l,newProps:i,newChildProps:f,nestedChildren:u})}}}),this.mapArrayTypeChildrenToProps(o,i)},n.render=function(){var r=this.props,i=r.children,a=vb(r,M9),o=at({},a),l=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!l||l instanceof hg||(l=new hg(l.context,l.instances)),l?x.createElement(Qu,at({},o,{context:l.value,helmetData:void 0})):x.createElement(W5.Consumer,null,function(s){return x.createElement(Qu,at({},o,{context:s}))})},t}(A.Component);qr.propTypes={base:J.object,bodyAttributes:J.object,children:J.oneOfType([J.arrayOf(J.node),J.node]),defaultTitle:J.string,defer:J.bool,encodeSpecialCharacters:J.bool,htmlAttributes:J.object,link:J.arrayOf(J.object),meta:J.arrayOf(J.object),noscript:J.arrayOf(J.object),onChangeClientState:J.func,script:J.arrayOf(J.object),style:J.arrayOf(J.object),title:J.string,titleAttributes:J.object,titleTemplate:J.string,prioritizeSeoTags:J.bool,helmetData:J.object},qr.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},qr.displayName="Helmet";const Cb=["http","https","mailto","tel"];function F9(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! + */function dg(){return dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function n9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function r9(e,t){return e.button===0&&(!t||t==="_self")&&!n9(e)}const i9=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],a9="6";try{window.__reactRouterVersion=a9}catch{}const o9="startTransition",hb=Ty[o9];function l9(e){let{basename:t,children:n,future:r,window:i}=e,a=A.useRef();a.current==null&&(a.current=f7({window:i,v5Compat:!0}));let o=a.current,[l,s]=A.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=A.useCallback(f=>{u&&hb?hb(()=>s(f)):s(f)},[s,u]);return A.useLayoutEffect(()=>o.listen(c),[o,c]),A.createElement(J7,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const s9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Er=A.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:s,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,d=t9(t,i9),{basename:g}=A.useContext(ma),p,m=!1;if(typeof u=="string"&&u9.test(u)&&(p=u,s9))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),T=b0(S.pathname,g);S.origin===v.origin&&T!=null?u=T+S.search+S.hash:m=!0}catch{}let y=D7(u,{relative:i}),h=c9(u,{replace:o,state:l,target:s,preventScrollReset:c,relative:i,unstable_viewTransition:f});function b(v){r&&r(v),v.defaultPrevented||h(v)}return A.createElement("a",dg({},d,{href:p||y,onClick:m||a?r:b,ref:n,target:s}))});var mb;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mb||(mb={}));var bb;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bb||(bb={}));function c9(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,s=Dc(),u=Ir(),c=D5(e,{relative:o});return A.useCallback(f=>{if(r9(f,n)){f.preventDefault();let d=r!==void 0?r:qu(u)===qu(c);s(e,{replace:d,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,s,c,r,i,n,e,a,o,l])}var $5={exports:{}},f9="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d9=f9,p9=d9;function z5(){}function H5(){}H5.resetWarningCache=z5;var g9=function(){function e(r,i,a,o,l,s){if(s!==p9){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:H5,resetWarningCache:z5};return n.PropTypes=n,n};$5.exports=g9();var h9=$5.exports;const J=qt(h9);var m9=typeof Element<"u",b9=typeof Map=="function",v9=typeof Set=="function",y9=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function cu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!cu(e[r],t[r]))return!1;return!0}var a;if(b9&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!cu(r.value[1],t.get(r.value[0])))return!1;return!0}if(v9&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(y9&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(m9&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!cu(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var x9=function(t,n){try{return cu(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const w9=qt(x9);var S9=function(e,t,n,r,i,a,o,l){if(!e){var s;if(t===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,l],c=0;s=new Error(t.replace(/%s/g,function(){return u[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}},k9=S9;const vb=qt(k9);var C9=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),l=Object.keys(n);if(o.length!==l.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),u=0;u=0||(i[n]=e[n]);return i}var me={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},T9={rel:["amphtml","canonical","alternate"]},O9={type:["application/ld+json"]},B9={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},xb=Object.keys(me).map(function(e){return me[e]}),Ku={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A9=Object.keys(Ku).reduce(function(e,t){return e[Ku[t]]=t,e},{}),to=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},P9=function(e){var t=to(e,me.TITLE),n=to(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=to(e,"defaultTitle");return t||r||void 0},L9=function(e){return to(e,"onChangeClientState")||function(){}},Pd=function(e,t){return t.filter(function(n){return n[e]!==void 0}).map(function(n){return n[e]}).reduce(function(n,r){return at({},n,r)},{})},I9=function(e,t){return t.filter(function(n){return n[me.BASE]!==void 0}).map(function(n){return n[me.BASE]}).reverse().reduce(function(n,r){if(!n.length)for(var i=Object.keys(r),a=0;a/g,">").replace(/"/g,""").replace(/'/g,"'")},Sb=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n]!==void 0?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},kb=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(n,r){return n[Ku[r]||r]=e[r],n},t)},fu=function(e,t){return t.map(function(n,r){var i,a=((i={key:r})["data-rh"]=!0,i);return Object.keys(n).forEach(function(o){var l=Ku[o]||o;l==="innerHTML"||l==="cssText"?a.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:a[l]=n[o]}),x.createElement(e,a)})},_n=function(e,t,n){switch(e){case me.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:r=t.title})["data-rh"]=!0,o=kb(i,a),[x.createElement(me.TITLE,o,r)];var r,i,a,o},toString:function(){return function(r,i,a,o){var l=Sb(a),s=U5(i);return l?"<"+r+' data-rh="true" '+l+">"+Id(s,o)+"":"<"+r+' data-rh="true">'+Id(s,o)+""}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return kb(t)},toString:function(){return Sb(t)}};default:return{toComponent:function(){return fu(e,t)},toString:function(){return function(r,i,a){return i.reduce(function(o,l){var s=Object.keys(l).filter(function(f){return!(f==="innerHTML"||f==="cssText")}).reduce(function(f,d){var g=l[d]===void 0?d:d+'="'+Id(l[d],a)+'"';return f?f+" "+g:g},""),u=l.innerHTML||l.cssText||"",c=_9.indexOf(r)===-1;return o+"<"+r+' data-rh="true" '+s+(c?"/>":">"+u+"")},"")}(e,t,n)}}}},gg=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,l=e.title,s=l===void 0?"":l,u=e.titleAttributes,c=e.linkTags,f=e.metaTags,d=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p=function(m){var y=m.linkTags,h=m.scriptTags,b=m.encode,v=Ld(m.metaTags,B9),S=Ld(y,T9),T=Ld(h,O9);return{priorityMethods:{toComponent:function(){return[].concat(fu(me.META,v.priority),fu(me.LINK,S.priority),fu(me.SCRIPT,T.priority))},toString:function(){return _n(me.META,v.priority,b)+" "+_n(me.LINK,S.priority,b)+" "+_n(me.SCRIPT,T.priority,b)}},metaTags:v.default,linkTags:S.default,scriptTags:T.default}}(e);g=p.priorityMethods,c=p.linkTags,f=p.metaTags,d=p.scriptTags}return{priority:g,base:_n(me.BASE,t,r),bodyAttributes:_n("bodyAttributes",n,r),htmlAttributes:_n("htmlAttributes",i,r),link:_n(me.LINK,c,r),meta:_n(me.META,f,r),noscript:_n(me.NOSCRIPT,a,r),script:_n(me.SCRIPT,d,r),style:_n(me.STYLE,o,r),title:_n(me.TITLE,{title:s,titleAttributes:u},r)}},$s=[],hg=function(e,t){var n=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(r){n.context.helmet=r},helmetInstances:{get:function(){return n.canUseDOM?$s:n.instances},add:function(r){(n.canUseDOM?$s:n.instances).push(r)},remove:function(r){var i=(n.canUseDOM?$s:n.instances).indexOf(r);(n.canUseDOM?$s:n.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=gg({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},W5=x.createContext({}),N9=J.shape({setHelmet:J.func,helmetInstances:J.shape({get:J.func,add:J.func,remove:J.func})}),j9=typeof document<"u",Ga=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new hg(r.props.context,t.canUseDOM),r}return y0(t,e),t.prototype.render=function(){return x.createElement(W5.Provider,{value:this.helmetData.value},this.props.children)},t}(A.Component);Ga.canUseDOM=j9,Ga.propTypes={context:J.shape({helmet:J.shape()}),children:J.node.isRequired},Ga.defaultProps={context:{}},Ga.displayName="HelmetProvider";var Aa=function(e,t){var n,r=document.head||document.querySelector(me.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(l){var s=document.createElement(e);for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(u==="innerHTML"?s.innerHTML=l.innerHTML:u==="cssText"?s.styleSheet?s.styleSheet.cssText=l.cssText:s.appendChild(document.createTextNode(l.cssText)):s.setAttribute(u,l[u]===void 0?"":l[u]));s.setAttribute("data-rh","true"),a.some(function(c,f){return n=f,s.isEqualNode(c)})?a.splice(n,1):o.push(s)}),a.forEach(function(l){return l.parentNode.removeChild(l)}),o.forEach(function(l){return r.appendChild(l)}),{oldTags:a,newTags:o}},Rd=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),l=0;l=0;f-=1)n.removeAttribute(a[f]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},Cb=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,f=e.titleAttributes;Rd(me.BODY,e.bodyAttributes),Rd(me.HTML,r),function(m,y){m!==void 0&&document.title!==m&&(document.title=U5(m)),Rd(me.TITLE,y)}(c,f);var d={baseTag:Aa(me.BASE,n),linkTags:Aa(me.LINK,i),metaTags:Aa(me.META,a),noscriptTags:Aa(me.NOSCRIPT,o),scriptTags:Aa(me.SCRIPT,s),styleTags:Aa(me.STYLE,u)},g={},p={};Object.keys(d).forEach(function(m){var y=d[m],h=y.newTags,b=y.oldTags;h.length&&(g[m]=h),b.length&&(p[m]=d[m].oldTags)}),t&&t(),l(e,g,p)},Vo=null,Qu=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(r){var i,a=r.child,o=r.arrayTypeChildren;return at({},o,((i={})[a.type]=[].concat(o[a.type]||[],[at({},r.newChildProps,this.mapNestedChildrenToProps(a,r.nestedChildren))]),i))},n.mapObjectTypeChildren=function(r){var i,a,o=r.child,l=r.newProps,s=r.newChildProps,u=r.nestedChildren;switch(o.type){case me.TITLE:return at({},l,((i={})[o.type]=u,i.titleAttributes=at({},s),i));case me.BODY:return at({},l,{bodyAttributes:at({},s)});case me.HTML:return at({},l,{htmlAttributes:at({},s)});default:return at({},l,((a={})[o.type]=at({},s),a))}},n.mapArrayTypeChildrenToProps=function(r,i){var a=at({},i);return Object.keys(r).forEach(function(o){var l;a=at({},a,((l={})[o]=r[o],l))}),a},n.warnOnInvalidChildren=function(r,i){return vb(xb.some(function(a){return r.type===a}),typeof r.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+xb.join(", ")+" are allowed. Helmet does not support rendering <"+r.type+"> elements. Refer to our API for more information."),vb(!i||typeof i=="string"||Array.isArray(i)&&!i.some(function(a){return typeof a!="string"}),"Helmet expects a string as a child of <"+r.type+">. Did you forget to wrap your children in braces? ( <"+r.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(r,i){var a=this,o={};return x.Children.forEach(r,function(l){if(l&&l.props){var s=l.props,u=s.children,c=yb(s,D9),f=Object.keys(c).reduce(function(g,p){return g[A9[p]||p]=c[p],g},{}),d=l.type;switch(typeof d=="symbol"?d=d.toString():a.warnOnInvalidChildren(l,u),d){case me.FRAGMENT:i=a.mapChildrenToProps(u,i);break;case me.LINK:case me.META:case me.NOSCRIPT:case me.SCRIPT:case me.STYLE:o=a.flattenArrayTypeChildren({child:l,arrayTypeChildren:o,newChildProps:f,nestedChildren:u});break;default:i=a.mapObjectTypeChildren({child:l,newProps:i,newChildProps:f,nestedChildren:u})}}}),this.mapArrayTypeChildrenToProps(o,i)},n.render=function(){var r=this.props,i=r.children,a=yb(r,M9),o=at({},a),l=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!l||l instanceof hg||(l=new hg(l.context,l.instances)),l?x.createElement(Qu,at({},o,{context:l.value,helmetData:void 0})):x.createElement(W5.Consumer,null,function(s){return x.createElement(Qu,at({},o,{context:s}))})},t}(A.Component);qr.propTypes={base:J.object,bodyAttributes:J.object,children:J.oneOfType([J.arrayOf(J.node),J.node]),defaultTitle:J.string,defer:J.bool,encodeSpecialCharacters:J.bool,htmlAttributes:J.object,link:J.arrayOf(J.object),meta:J.arrayOf(J.object),noscript:J.arrayOf(J.object),onChangeClientState:J.func,script:J.arrayOf(J.object),style:J.arrayOf(J.object),title:J.string,titleAttributes:J.object,titleTemplate:J.string,prioritizeSeoTags:J.bool,helmetData:J.object},qr.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},qr.displayName="Helmet";const Eb=["http","https","mailto","tel"];function F9(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var $9=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const V5=qt($9);function pl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Eb(e.position):"start"in e||"end"in e?Eb(e):"line"in e||"column"in e?mg(e):""}function mg(e){return Tb(e&&e.line)+":"+Tb(e&&e.column)}function Eb(e){return mg(e&&e.start)+"-"+mg(e&&e.end)}function Tb(e){return e&&typeof e=="number"?e:1}class qn extends Error{constructor(t,n,r){const i=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const o=r.indexOf(":");o===-1?i[1]=r:(i[0]=r.slice(0,o),i[1]=r.slice(o+1))}n&&("type"in n||"position"in n?n.position&&(a=n.position):"start"in n||"end"in n?a=n:("line"in n||"column"in n)&&(a.start=n)),this.name=pl(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}qn.prototype.file="";qn.prototype.name="";qn.prototype.reason="";qn.prototype.message="";qn.prototype.stack="";qn.prototype.fatal=null;qn.prototype.column=null;qn.prototype.line=null;qn.prototype.source=null;qn.prototype.ruleId=null;qn.prototype.position=null;const Sr={basename:z9,dirname:H9,extname:U9,join:W9,sep:"/"};function z9(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');as(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,l=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(r=i):(l=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function H9(e){if(as(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function U9(e){as(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const l=e.charCodeAt(t);if(l===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function W9(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function q9(e,t){let n="",r=0,i=-1,a=0,o=-1,l,s;for(;++o<=e.length;){if(o2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else l===46&&a>-1?a++:a=-1}return n}function as(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const G9={cwd:K9};function K9(){return"/"}function bg(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Q9(e){if(typeof e=="string")e=new URL(e);else if(!bg(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Y9(e)}function Y9(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||du.call(t,i)},Rb=function(t,n){Ab&&n.name==="__proto__"?Ab(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},_b=function(t,n){if(n==="__proto__")if(du.call(t,n)){if(Pb)return Pb(t,n).value}else return;return t[n]},Z9=function e(){var t,n,r,i,a,o,l=arguments[0],s=1,u=arguments.length,c=!1;for(typeof l=="boolean"&&(c=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});so.length;let s;l&&o.push(i);try{s=e.apply(this,o)}catch(u){const c=u;if(l&&n)throw c;return i(c)}l||(s instanceof Promise?s.then(a,i):s instanceof Error?i(s):a(s))}function i(o,...l){n||(n=!0,t(o,...l))}function a(o){i(null,o)}}const K5=Y5().freeze(),Q5={}.hasOwnProperty;function Y5(){const e=X9(),t=[];let n={},r,i=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=l,a.attachers=t,a.use=s,a.parse=u,a.stringify=c,a.run=f,a.runSync=d,a.process=g,a.processSync=p,a;function a(){const m=Y5();let y=-1;for(;++y{if(E||!B||!P)T(E);else{const D=a.stringify(B,P);D==null||(nC(D)?P.value=D:P.result=D),T(E,P)}});function T(E,B){E||!B?v(E):b?b(B):y(null,B)}}}function p(m){let y;a.freeze(),Dd("processSync",a.Parser),Md("processSync",a.Compiler);const h=qo(m);return a.process(h,b),Mb("processSync","process",y),h;function b(v){y=!0,Bb(v)}}}function jb(e,t){return typeof e=="function"&&e.prototype&&(eC(e.prototype)||t in e.prototype)}function eC(e){let t;for(t in e)if(Q5.call(e,t))return!0;return!1}function Dd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Md(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Fd(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Db(e){if(!vg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Mb(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qo(e){return tC(e)?e:new q5(e)}function tC(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function nC(e){return typeof e=="string"||V5(e)}function y0(e,t){var{includeImageAlt:n=!0}=t||{};return Z5(e,n)}function Z5(e,t){return e&&typeof e=="object"&&(e.value||(t?e.alt:"")||"children"in e&&Fb(e.children,t)||Array.isArray(e)&&Fb(e,t))||""}function Fb(e,t){for(var n=[],r=-1;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a0?(On(e,e.length,0,t),e):t}const $b={}.hasOwnProperty;function X5(e){const t={};let n=-1;for(;++no))return;const B=t.events.length;let P=B,D,j;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(D){j=t.events[P][1].end;break}D=!0}for(h(r),E=B;Ev;){const T=n[S];t.containerState=T[1],T[0].exit.call(t,e)}n.length=v}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function dC(e,t,n){return Oe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Zu(e){if(e===null||gt(e)||Mc(e))return 1;if(Fc(e))return 2}function $c(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);Ub(f,-s),Ub(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},l={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},l.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Dn(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Dn(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=Dn(u,$c(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Dn(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Dn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,On(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n=4?o(u):n(u)}function o(u){return u===null?s(u):pe(u)?e.attempt(CC,o,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||pe(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function TC(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Oe(e,a,"linePrefix",4+1)(o)}function a(o){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):pe(o)?i(o):n(o)}}const OC={name:"codeText",tokenize:PC,resolve:BC,previous:AC};function BC(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function rw(e,t,n,r,i,a,o,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(h){return h===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(h),e.exit(a),d):h===null||h===41||Ml(h)?n(h):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),m(h))}function d(h){return h===62?(e.enter(a),e.consume(h),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(h))}function g(h){return h===62?(e.exit("chunkString"),e.exit(l),d(h)):h===null||h===60||pe(h)?n(h):(e.consume(h),h===92?p:g)}function p(h){return h===60||h===62||h===92?(e.consume(h),g):g(h)}function m(h){return h===40?++c>u?n(h):(e.consume(h),m):h===41?c--?(e.consume(h),m):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(h)):h===null||gt(h)?c?n(h):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(h)):Ml(h)?n(h):(e.consume(h),h===92?y:m)}function y(h){return h===40||h===41||h===92?(e.consume(h),m):m(h)}}function iw(e,t,n,r,i,a){const o=this;let l=0,s;return u;function u(g){return e.enter(r),e.enter(i),e.consume(g),e.exit(i),e.enter(a),c}function c(g){return g===null||g===91||g===93&&!s||g===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs||l>999?n(g):g===93?(e.exit(a),e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):pe(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===null||g===91||g===93||pe(g)||l++>999?(e.exit("chunkString"),c(g)):(e.consume(g),s=s||!$e(g),g===92?d:f)}function d(g){return g===91||g===92||g===93?(e.consume(g),l++,f):f(g)}}function aw(e,t,n,r,i,a){let o;return l;function l(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,s}function s(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),u(d))}function u(d){return d===o?(e.exit(a),s(o)):d===null?n(d):pe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Oe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||pe(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function gl(e,t){let n;return r;function r(i){return pe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):$e(i)?Oe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function sr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const DC={name:"definition",tokenize:FC},MC={tokenize:$C,partial:!0};function FC(e,t,n){const r=this;let i;return a;function a(s){return e.enter("definition"),iw.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function o(s){return i=sr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),s===58?(e.enter("definitionMarker"),e.consume(s),e.exit("definitionMarker"),gl(e,rw(e,e.attempt(MC,Oe(e,l,"whitespace"),Oe(e,l,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(s)}function l(s){return s===null||pe(s)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(s)):n(s)}}function $C(e,t,n){return r;function r(o){return gt(o)?gl(e,i)(o):n(o)}function i(o){return o===34||o===39||o===40?aw(e,Oe(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):n(o)}function a(o){return o===null||pe(o)?t(o):n(o)}}const zC={name:"hardBreakEscape",tokenize:HC};function HC(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),i}function i(a){return pe(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):n(a)}}const UC={name:"headingAtx",tokenize:VC,resolve:WC};function WC(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},On(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function VC(e,t,n){const r=this;let i=0;return a;function a(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&i++<6?(e.consume(c),o):c===null||gt(c)?(e.exit("atxHeadingSequence"),r.interrupt?t(c):l(c)):n(c)}function l(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||pe(c)?(e.exit("atxHeading"),t(c)):$e(c)?Oe(e,l,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),l(c))}function u(c){return c===null||c===35||gt(c)?(e.exit("atxHeadingText"),l(c)):(e.consume(c),u)}}const qC=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qb=["pre","script","style","textarea"],GC={name:"htmlFlow",tokenize:YC,resolveTo:QC,concrete:!0},KC={tokenize:ZC,partial:!0};function QC(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function YC(e,t,n){const r=this;let i,a,o,l,s;return u;function u(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),c}function c(w){return w===33?(e.consume(w),f):w===47?(e.consume(w),p):w===63?(e.consume(w),i=3,r.interrupt?t:z):Mn(w)?(e.consume(w),o=String.fromCharCode(w),a=!0,m):n(w)}function f(w){return w===45?(e.consume(w),i=2,d):w===91?(e.consume(w),i=5,o="CDATA[",l=0,g):Mn(w)?(e.consume(w),i=4,r.interrupt?t:z):n(w)}function d(w){return w===45?(e.consume(w),r.interrupt?t:z):n(w)}function g(w){return w===o.charCodeAt(l++)?(e.consume(w),l===o.length?r.interrupt?t:F:g):n(w)}function p(w){return Mn(w)?(e.consume(w),o=String.fromCharCode(w),m):n(w)}function m(w){return w===null||w===47||w===62||gt(w)?w!==47&&a&&qb.includes(o.toLowerCase())?(i=1,r.interrupt?t(w):F(w)):qC.includes(o.toLowerCase())?(i=6,w===47?(e.consume(w),y):r.interrupt?t(w):F(w)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(w):a?b(w):h(w)):w===45||Zt(w)?(e.consume(w),o+=String.fromCharCode(w),m):n(w)}function y(w){return w===62?(e.consume(w),r.interrupt?t:F):n(w)}function h(w){return $e(w)?(e.consume(w),h):D(w)}function b(w){return w===47?(e.consume(w),D):w===58||w===95||Mn(w)?(e.consume(w),v):$e(w)?(e.consume(w),b):D(w)}function v(w){return w===45||w===46||w===58||w===95||Zt(w)?(e.consume(w),v):S(w)}function S(w){return w===61?(e.consume(w),T):$e(w)?(e.consume(w),S):b(w)}function T(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),s=w,E):$e(w)?(e.consume(w),T):(s=null,B(w))}function E(w){return w===null||pe(w)?n(w):w===s?(e.consume(w),P):(e.consume(w),E)}function B(w){return w===null||w===34||w===39||w===60||w===61||w===62||w===96||gt(w)?S(w):(e.consume(w),B)}function P(w){return w===47||w===62||$e(w)?b(w):n(w)}function D(w){return w===62?(e.consume(w),j):n(w)}function j(w){return $e(w)?(e.consume(w),j):w===null||pe(w)?F(w):n(w)}function F(w){return w===45&&i===2?(e.consume(w),le):w===60&&i===1?(e.consume(w),L):w===62&&i===4?(e.consume(w),M):w===63&&i===3?(e.consume(w),z):w===93&&i===5?(e.consume(w),I):pe(w)&&(i===6||i===7)?e.check(KC,M,U)(w):w===null||pe(w)?U(w):(e.consume(w),F)}function U(w){return e.exit("htmlFlowData"),W(w)}function W(w){return w===null?C(w):pe(w)?e.attempt({tokenize:ne,partial:!0},W,C)(w):(e.enter("htmlFlowData"),F(w))}function ne(w,V,G){return ie;function ie(ae){return w.enter("lineEnding"),w.consume(ae),w.exit("lineEnding"),_}function _(ae){return r.parser.lazy[r.now().line]?G(ae):V(ae)}}function le(w){return w===45?(e.consume(w),z):F(w)}function L(w){return w===47?(e.consume(w),o="",H):F(w)}function H(w){return w===62&&qb.includes(o.toLowerCase())?(e.consume(w),M):Mn(w)&&o.length<8?(e.consume(w),o+=String.fromCharCode(w),H):F(w)}function I(w){return w===93?(e.consume(w),z):F(w)}function z(w){return w===62?(e.consume(w),M):w===45&&i===2?(e.consume(w),z):F(w)}function M(w){return w===null||pe(w)?(e.exit("htmlFlowData"),C(w)):(e.consume(w),M)}function C(w){return e.exit("htmlFlow"),t(w)}}function ZC(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(os,t,n)}}const XC={name:"htmlText",tokenize:JC};function JC(e,t,n){const r=this;let i,a,o,l;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),B):C===63?(e.consume(C),T):Mn(C)?(e.consume(C),j):n(C)}function c(C){return C===45?(e.consume(C),f):C===91?(e.consume(C),a="CDATA[",o=0,y):Mn(C)?(e.consume(C),S):n(C)}function f(C){return C===45?(e.consume(C),d):n(C)}function d(C){return C===null||C===62?n(C):C===45?(e.consume(C),g):p(C)}function g(C){return C===null||C===62?n(C):p(C)}function p(C){return C===null?n(C):C===45?(e.consume(C),m):pe(C)?(l=p,I(C)):(e.consume(C),p)}function m(C){return C===45?(e.consume(C),M):p(C)}function y(C){return C===a.charCodeAt(o++)?(e.consume(C),o===a.length?h:y):n(C)}function h(C){return C===null?n(C):C===93?(e.consume(C),b):pe(C)?(l=h,I(C)):(e.consume(C),h)}function b(C){return C===93?(e.consume(C),v):h(C)}function v(C){return C===62?M(C):C===93?(e.consume(C),v):h(C)}function S(C){return C===null||C===62?M(C):pe(C)?(l=S,I(C)):(e.consume(C),S)}function T(C){return C===null?n(C):C===63?(e.consume(C),E):pe(C)?(l=T,I(C)):(e.consume(C),T)}function E(C){return C===62?M(C):T(C)}function B(C){return Mn(C)?(e.consume(C),P):n(C)}function P(C){return C===45||Zt(C)?(e.consume(C),P):D(C)}function D(C){return pe(C)?(l=D,I(C)):$e(C)?(e.consume(C),D):M(C)}function j(C){return C===45||Zt(C)?(e.consume(C),j):C===47||C===62||gt(C)?F(C):n(C)}function F(C){return C===47?(e.consume(C),M):C===58||C===95||Mn(C)?(e.consume(C),U):pe(C)?(l=F,I(C)):$e(C)?(e.consume(C),F):M(C)}function U(C){return C===45||C===46||C===58||C===95||Zt(C)?(e.consume(C),U):W(C)}function W(C){return C===61?(e.consume(C),ne):pe(C)?(l=W,I(C)):$e(C)?(e.consume(C),W):F(C)}function ne(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,le):pe(C)?(l=ne,I(C)):$e(C)?(e.consume(C),ne):(e.consume(C),i=void 0,H)}function le(C){return C===i?(e.consume(C),L):C===null?n(C):pe(C)?(l=le,I(C)):(e.consume(C),le)}function L(C){return C===62||C===47||gt(C)?F(C):n(C)}function H(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===62||gt(C)?F(C):(e.consume(C),H)}function I(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Oe(e,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function z(C){return e.enter("htmlTextData"),l(C)}function M(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}}const w0={name:"labelEnd",tokenize:aE,resolveTo:iE,resolveAll:rE},eE={tokenize:oE},tE={tokenize:lE},nE={tokenize:sE};function rE(e){let t=-1,n;for(;++t-1&&(o[0]=o[0].slice(r)),a>0&&o.push(e[i].slice(0,a))),o}function IE(e,t){let n=-1;const r=[];let i;for(;++ne.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,l=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(r=i):(l=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function H9(e){if(as(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function U9(e){as(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const l=e.charCodeAt(t);if(l===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function W9(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function q9(e,t){let n="",r=0,i=-1,a=0,o=-1,l,s;for(;++o<=e.length;){if(o2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else l===46&&a>-1?a++:a=-1}return n}function as(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const G9={cwd:K9};function K9(){return"/"}function bg(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Q9(e){if(typeof e=="string")e=new URL(e);else if(!bg(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Y9(e)}function Y9(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||du.call(t,i)},_b=function(t,n){Pb&&n.name==="__proto__"?Pb(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Nb=function(t,n){if(n==="__proto__")if(du.call(t,n)){if(Lb)return Lb(t,n).value}else return;return t[n]},Z9=function e(){var t,n,r,i,a,o,l=arguments[0],s=1,u=arguments.length,c=!1;for(typeof l=="boolean"&&(c=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});so.length;let s;l&&o.push(i);try{s=e.apply(this,o)}catch(u){const c=u;if(l&&n)throw c;return i(c)}l||(s instanceof Promise?s.then(a,i):s instanceof Error?i(s):a(s))}function i(o,...l){n||(n=!0,t(o,...l))}function a(o){i(null,o)}}const K5=Y5().freeze(),Q5={}.hasOwnProperty;function Y5(){const e=X9(),t=[];let n={},r,i=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=l,a.attachers=t,a.use=s,a.parse=u,a.stringify=c,a.run=f,a.runSync=d,a.process=g,a.processSync=p,a;function a(){const m=Y5();let y=-1;for(;++y{if(E||!B||!P)T(E);else{const D=a.stringify(B,P);D==null||(nC(D)?P.value=D:P.result=D),T(E,P)}});function T(E,B){E||!B?v(E):b?b(B):y(null,B)}}}function p(m){let y;a.freeze(),Dd("processSync",a.Parser),Md("processSync",a.Compiler);const h=qo(m);return a.process(h,b),Fb("processSync","process",y),h;function b(v){y=!0,Ab(v)}}}function Db(e,t){return typeof e=="function"&&e.prototype&&(eC(e.prototype)||t in e.prototype)}function eC(e){let t;for(t in e)if(Q5.call(e,t))return!0;return!1}function Dd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Md(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Fd(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Mb(e){if(!vg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Fb(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qo(e){return tC(e)?e:new q5(e)}function tC(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function nC(e){return typeof e=="string"||V5(e)}function x0(e,t){var{includeImageAlt:n=!0}=t||{};return Z5(e,n)}function Z5(e,t){return e&&typeof e=="object"&&(e.value||(t?e.alt:"")||"children"in e&&$b(e.children,t)||Array.isArray(e)&&$b(e,t))||""}function $b(e,t){for(var n=[],r=-1;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a0?(On(e,e.length,0,t),e):t}const zb={}.hasOwnProperty;function X5(e){const t={};let n=-1;for(;++no))return;const B=t.events.length;let P=B,D,j;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(D){j=t.events[P][1].end;break}D=!0}for(h(r),E=B;Ev;){const T=n[S];t.containerState=T[1],T[0].exit.call(t,e)}n.length=v}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function dC(e,t,n){return Oe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Zu(e){if(e===null||gt(e)||Mc(e))return 1;if(Fc(e))return 2}function $c(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);Wb(f,-s),Wb(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},l={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},l.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Dn(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Dn(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=Dn(u,$c(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Dn(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Dn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,On(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n=4?o(u):n(u)}function o(u){return u===null?s(u):pe(u)?e.attempt(CC,o,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||pe(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function TC(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Oe(e,a,"linePrefix",4+1)(o)}function a(o){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):pe(o)?i(o):n(o)}}const OC={name:"codeText",tokenize:PC,resolve:BC,previous:AC};function BC(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function rw(e,t,n,r,i,a,o,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(h){return h===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(h),e.exit(a),d):h===null||h===41||Ml(h)?n(h):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),m(h))}function d(h){return h===62?(e.enter(a),e.consume(h),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(h))}function g(h){return h===62?(e.exit("chunkString"),e.exit(l),d(h)):h===null||h===60||pe(h)?n(h):(e.consume(h),h===92?p:g)}function p(h){return h===60||h===62||h===92?(e.consume(h),g):g(h)}function m(h){return h===40?++c>u?n(h):(e.consume(h),m):h===41?c--?(e.consume(h),m):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(h)):h===null||gt(h)?c?n(h):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(h)):Ml(h)?n(h):(e.consume(h),h===92?y:m)}function y(h){return h===40||h===41||h===92?(e.consume(h),m):m(h)}}function iw(e,t,n,r,i,a){const o=this;let l=0,s;return u;function u(g){return e.enter(r),e.enter(i),e.consume(g),e.exit(i),e.enter(a),c}function c(g){return g===null||g===91||g===93&&!s||g===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs||l>999?n(g):g===93?(e.exit(a),e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):pe(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===null||g===91||g===93||pe(g)||l++>999?(e.exit("chunkString"),c(g)):(e.consume(g),s=s||!$e(g),g===92?d:f)}function d(g){return g===91||g===92||g===93?(e.consume(g),l++,f):f(g)}}function aw(e,t,n,r,i,a){let o;return l;function l(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,s}function s(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),u(d))}function u(d){return d===o?(e.exit(a),s(o)):d===null?n(d):pe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Oe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||pe(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function gl(e,t){let n;return r;function r(i){return pe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):$e(i)?Oe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function sr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const DC={name:"definition",tokenize:FC},MC={tokenize:$C,partial:!0};function FC(e,t,n){const r=this;let i;return a;function a(s){return e.enter("definition"),iw.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function o(s){return i=sr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),s===58?(e.enter("definitionMarker"),e.consume(s),e.exit("definitionMarker"),gl(e,rw(e,e.attempt(MC,Oe(e,l,"whitespace"),Oe(e,l,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(s)}function l(s){return s===null||pe(s)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(s)):n(s)}}function $C(e,t,n){return r;function r(o){return gt(o)?gl(e,i)(o):n(o)}function i(o){return o===34||o===39||o===40?aw(e,Oe(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):n(o)}function a(o){return o===null||pe(o)?t(o):n(o)}}const zC={name:"hardBreakEscape",tokenize:HC};function HC(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),i}function i(a){return pe(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):n(a)}}const UC={name:"headingAtx",tokenize:VC,resolve:WC};function WC(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},On(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function VC(e,t,n){const r=this;let i=0;return a;function a(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&i++<6?(e.consume(c),o):c===null||gt(c)?(e.exit("atxHeadingSequence"),r.interrupt?t(c):l(c)):n(c)}function l(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||pe(c)?(e.exit("atxHeading"),t(c)):$e(c)?Oe(e,l,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),l(c))}function u(c){return c===null||c===35||gt(c)?(e.exit("atxHeadingText"),l(c)):(e.consume(c),u)}}const qC=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Gb=["pre","script","style","textarea"],GC={name:"htmlFlow",tokenize:YC,resolveTo:QC,concrete:!0},KC={tokenize:ZC,partial:!0};function QC(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function YC(e,t,n){const r=this;let i,a,o,l,s;return u;function u(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),c}function c(w){return w===33?(e.consume(w),f):w===47?(e.consume(w),p):w===63?(e.consume(w),i=3,r.interrupt?t:z):Mn(w)?(e.consume(w),o=String.fromCharCode(w),a=!0,m):n(w)}function f(w){return w===45?(e.consume(w),i=2,d):w===91?(e.consume(w),i=5,o="CDATA[",l=0,g):Mn(w)?(e.consume(w),i=4,r.interrupt?t:z):n(w)}function d(w){return w===45?(e.consume(w),r.interrupt?t:z):n(w)}function g(w){return w===o.charCodeAt(l++)?(e.consume(w),l===o.length?r.interrupt?t:F:g):n(w)}function p(w){return Mn(w)?(e.consume(w),o=String.fromCharCode(w),m):n(w)}function m(w){return w===null||w===47||w===62||gt(w)?w!==47&&a&&Gb.includes(o.toLowerCase())?(i=1,r.interrupt?t(w):F(w)):qC.includes(o.toLowerCase())?(i=6,w===47?(e.consume(w),y):r.interrupt?t(w):F(w)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(w):a?b(w):h(w)):w===45||Zt(w)?(e.consume(w),o+=String.fromCharCode(w),m):n(w)}function y(w){return w===62?(e.consume(w),r.interrupt?t:F):n(w)}function h(w){return $e(w)?(e.consume(w),h):D(w)}function b(w){return w===47?(e.consume(w),D):w===58||w===95||Mn(w)?(e.consume(w),v):$e(w)?(e.consume(w),b):D(w)}function v(w){return w===45||w===46||w===58||w===95||Zt(w)?(e.consume(w),v):S(w)}function S(w){return w===61?(e.consume(w),T):$e(w)?(e.consume(w),S):b(w)}function T(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),s=w,E):$e(w)?(e.consume(w),T):(s=null,B(w))}function E(w){return w===null||pe(w)?n(w):w===s?(e.consume(w),P):(e.consume(w),E)}function B(w){return w===null||w===34||w===39||w===60||w===61||w===62||w===96||gt(w)?S(w):(e.consume(w),B)}function P(w){return w===47||w===62||$e(w)?b(w):n(w)}function D(w){return w===62?(e.consume(w),j):n(w)}function j(w){return $e(w)?(e.consume(w),j):w===null||pe(w)?F(w):n(w)}function F(w){return w===45&&i===2?(e.consume(w),le):w===60&&i===1?(e.consume(w),L):w===62&&i===4?(e.consume(w),M):w===63&&i===3?(e.consume(w),z):w===93&&i===5?(e.consume(w),I):pe(w)&&(i===6||i===7)?e.check(KC,M,U)(w):w===null||pe(w)?U(w):(e.consume(w),F)}function U(w){return e.exit("htmlFlowData"),W(w)}function W(w){return w===null?C(w):pe(w)?e.attempt({tokenize:ne,partial:!0},W,C)(w):(e.enter("htmlFlowData"),F(w))}function ne(w,V,G){return ie;function ie(ae){return w.enter("lineEnding"),w.consume(ae),w.exit("lineEnding"),_}function _(ae){return r.parser.lazy[r.now().line]?G(ae):V(ae)}}function le(w){return w===45?(e.consume(w),z):F(w)}function L(w){return w===47?(e.consume(w),o="",H):F(w)}function H(w){return w===62&&Gb.includes(o.toLowerCase())?(e.consume(w),M):Mn(w)&&o.length<8?(e.consume(w),o+=String.fromCharCode(w),H):F(w)}function I(w){return w===93?(e.consume(w),z):F(w)}function z(w){return w===62?(e.consume(w),M):w===45&&i===2?(e.consume(w),z):F(w)}function M(w){return w===null||pe(w)?(e.exit("htmlFlowData"),C(w)):(e.consume(w),M)}function C(w){return e.exit("htmlFlow"),t(w)}}function ZC(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(os,t,n)}}const XC={name:"htmlText",tokenize:JC};function JC(e,t,n){const r=this;let i,a,o,l;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),B):C===63?(e.consume(C),T):Mn(C)?(e.consume(C),j):n(C)}function c(C){return C===45?(e.consume(C),f):C===91?(e.consume(C),a="CDATA[",o=0,y):Mn(C)?(e.consume(C),S):n(C)}function f(C){return C===45?(e.consume(C),d):n(C)}function d(C){return C===null||C===62?n(C):C===45?(e.consume(C),g):p(C)}function g(C){return C===null||C===62?n(C):p(C)}function p(C){return C===null?n(C):C===45?(e.consume(C),m):pe(C)?(l=p,I(C)):(e.consume(C),p)}function m(C){return C===45?(e.consume(C),M):p(C)}function y(C){return C===a.charCodeAt(o++)?(e.consume(C),o===a.length?h:y):n(C)}function h(C){return C===null?n(C):C===93?(e.consume(C),b):pe(C)?(l=h,I(C)):(e.consume(C),h)}function b(C){return C===93?(e.consume(C),v):h(C)}function v(C){return C===62?M(C):C===93?(e.consume(C),v):h(C)}function S(C){return C===null||C===62?M(C):pe(C)?(l=S,I(C)):(e.consume(C),S)}function T(C){return C===null?n(C):C===63?(e.consume(C),E):pe(C)?(l=T,I(C)):(e.consume(C),T)}function E(C){return C===62?M(C):T(C)}function B(C){return Mn(C)?(e.consume(C),P):n(C)}function P(C){return C===45||Zt(C)?(e.consume(C),P):D(C)}function D(C){return pe(C)?(l=D,I(C)):$e(C)?(e.consume(C),D):M(C)}function j(C){return C===45||Zt(C)?(e.consume(C),j):C===47||C===62||gt(C)?F(C):n(C)}function F(C){return C===47?(e.consume(C),M):C===58||C===95||Mn(C)?(e.consume(C),U):pe(C)?(l=F,I(C)):$e(C)?(e.consume(C),F):M(C)}function U(C){return C===45||C===46||C===58||C===95||Zt(C)?(e.consume(C),U):W(C)}function W(C){return C===61?(e.consume(C),ne):pe(C)?(l=W,I(C)):$e(C)?(e.consume(C),W):F(C)}function ne(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,le):pe(C)?(l=ne,I(C)):$e(C)?(e.consume(C),ne):(e.consume(C),i=void 0,H)}function le(C){return C===i?(e.consume(C),L):C===null?n(C):pe(C)?(l=le,I(C)):(e.consume(C),le)}function L(C){return C===62||C===47||gt(C)?F(C):n(C)}function H(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===62||gt(C)?F(C):(e.consume(C),H)}function I(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Oe(e,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function z(C){return e.enter("htmlTextData"),l(C)}function M(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}}const S0={name:"labelEnd",tokenize:aE,resolveTo:iE,resolveAll:rE},eE={tokenize:oE},tE={tokenize:lE},nE={tokenize:sE};function rE(e){let t=-1,n;for(;++t-1&&(o[0]=o[0].slice(r)),a>0&&o.push(e[i].slice(0,a))),o}function IE(e,t){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const qE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function uw(e){return e.replace(qE,GE)}function GE(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return sw(n.slice(a?2:1),a?16:10)}return x0(n)||e}const xg={}.hasOwnProperty,KE=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),QE(n)(VE(UE(n).document().write(WE()(e,t,!0))))};function QE(e={}){const t=cw({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(nn),autolinkProtocol:U,autolinkEmail:U,atxHeading:s(xe),blockQuote:s(se),characterEscape:U,characterReference:U,codeFenced:s(ye),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s(ye,u),codeText:s(Re,u),codeTextData:U,data:U,codeFlowValue:U,definition:s(be),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s(Be),hardBreakEscape:s(ze),hardBreakTrailing:s(ze),htmlFlow:s(Kt,u),htmlFlowData:U,htmlText:s(Kt,u),htmlTextData:U,image:s(We),label:u,link:s(nn),listItem:s(ut),listItemValue:m,listOrdered:s(Qt,p),listUnordered:s(Qt),paragraph:s(he),reference:_,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(xe),strong:s(Ae),thematicBreak:s(X)},exit:{atxHeading:f(),atxHeadingSequence:P,autolink:f(),autolinkEmail:ge,autolinkProtocol:ee,blockQuote:f(),characterEscapeValue:W,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:re,codeFenced:f(v),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:h,codeFlowValue:W,codeIndented:f(S),codeText:f(I),codeTextData:W,data:W,definition:f(),definitionDestinationString:B,definitionLabelString:T,definitionTitleString:E,emphasis:f(),hardBreakEscape:f(le),hardBreakTrailing:f(le),htmlFlow:f(L),htmlFlowData:W,htmlText:f(H),htmlTextData:W,image:f(M),label:w,labelText:C,lineEnding:ne,link:f(z),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:ae,resourceDestinationString:V,resourceTitleString:G,resource:ie,setextHeading:f(F),setextHeadingLineSequence:j,setextHeadingText:D,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),n={};return r;function r(k){let N={type:"root",children:[]};const K=[N],fe=[],Ve=[],wt={stack:K,tokenStack:fe,config:t,enter:c,exit:d,buffer:u,resume:g,setData:a,getData:o};let we=-1;for(;++we0){const qe=fe[fe.length-1];(qe[1]||Qb).call(wt,void 0,qe[0])}for(N.position={start:l(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:l(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},we=-1;++we{const r=this.data("settings");return KE(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}const xt=function(e,t,n){const r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r},gu={}.hasOwnProperty;function ZE(e,t){const n=t.data||{};return"value"in t&&!(gu.call(n,"hName")||gu.call(n,"hProperties")||gu.call(n,"hChildren"))?e.augment(t,xt("text",t.value)):e(t,"div",Gt(e,t))}function dw(e,t,n){const r=t&&t.type;let i;if(!r)throw new Error("Expected node, got `"+t+"`");return gu.call(e.handlers,r)?i=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?i=XE:i=e.unknownHandler,(typeof i=="function"?i:ZE)(e,t,n)}function XE(e,t){return"children"in t?{...t,children:Gt(e,t)}:t}function Gt(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i":""))+")"})),d;function d(){let g=[],p,m,y;if((!t||i(l,s,u[u.length-1]||null))&&(g=a8(n(l,u)),g[0]===wg))return g;if(l.children&&g[0]!==i8)for(m=(r?l.children.length:-1)+a,y=u.concat(l);m>-1&&m-1?r.offset:null}}}function o8(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const Yb={}.hasOwnProperty;function l8(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Uc(e,"definition",r=>{const i=Zb(r.identifier);i&&!Yb.call(t,i)&&(t[i]=r)}),n;function n(r){const i=Zb(r);return i&&Yb.call(t,i)?t[i]:null}}function Zb(e){return String(e||"").toUpperCase()}function yo(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(o=String.fromCharCode(a,l),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Wr(e,t){const n=[];let r=-1;for(t&&n.push(xt("text",` +`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}const RE={42:sn,43:sn,45:sn,48:sn,49:sn,50:sn,51:sn,52:sn,53:sn,54:sn,55:sn,56:sn,57:sn,62:J5},_E={91:DC},NE={[-2]:$d,[-1]:$d,32:$d},jE={35:UC,42:pu,45:[Kb,pu],60:GC,61:Kb,95:pu,96:qb,126:qb},DE={38:tw,92:ew},ME={[-5]:zd,[-4]:zd,[-3]:zd,33:uE,38:tw,42:yg,60:[hC,XC],91:fE,92:[zC,ew],93:S0,95:yg,96:OC},FE={null:[yg,TE]},$E={null:[42,95]},zE={null:[]},HE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:$E,contentInitial:_E,disable:zE,document:RE,flow:jE,flowInitial:NE,insideSpan:FE,string:DE,text:ME},Symbol.toStringTag,{value:"Module"}));function UE(e={}){const t=X5([HE].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(sC),document:r(cC),flow:r(CE),string:r(OE),text:r(BE)};return n;function r(i){return a;function a(o){return PE(n,i,o)}}}const Qb=/[\0\t\n\r]/g;function WE(){let e=1,t="",n=!0,r;return i;function i(a,o,l){const s=[];let u,c,f,d,g;for(a=t+a.toString(o),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const qE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function uw(e){return e.replace(qE,GE)}function GE(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return sw(n.slice(a?2:1),a?16:10)}return w0(n)||e}const xg={}.hasOwnProperty,KE=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),QE(n)(VE(UE(n).document().write(WE()(e,t,!0))))};function QE(e={}){const t=cw({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(nn),autolinkProtocol:U,autolinkEmail:U,atxHeading:s(xe),blockQuote:s(se),characterEscape:U,characterReference:U,codeFenced:s(ye),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s(ye,u),codeText:s(Re,u),codeTextData:U,data:U,codeFlowValue:U,definition:s(be),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s(Be),hardBreakEscape:s(ze),hardBreakTrailing:s(ze),htmlFlow:s(Kt,u),htmlFlowData:U,htmlText:s(Kt,u),htmlTextData:U,image:s(We),label:u,link:s(nn),listItem:s(ut),listItemValue:m,listOrdered:s(Qt,p),listUnordered:s(Qt),paragraph:s(he),reference:_,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(xe),strong:s(Ae),thematicBreak:s(X)},exit:{atxHeading:f(),atxHeadingSequence:P,autolink:f(),autolinkEmail:ge,autolinkProtocol:ee,blockQuote:f(),characterEscapeValue:W,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:re,codeFenced:f(v),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:h,codeFlowValue:W,codeIndented:f(S),codeText:f(I),codeTextData:W,data:W,definition:f(),definitionDestinationString:B,definitionLabelString:T,definitionTitleString:E,emphasis:f(),hardBreakEscape:f(le),hardBreakTrailing:f(le),htmlFlow:f(L),htmlFlowData:W,htmlText:f(H),htmlTextData:W,image:f(M),label:w,labelText:C,lineEnding:ne,link:f(z),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:ae,resourceDestinationString:V,resourceTitleString:G,resource:ie,setextHeading:f(F),setextHeadingLineSequence:j,setextHeadingText:D,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),n={};return r;function r(k){let N={type:"root",children:[]};const K=[N],fe=[],Ve=[],wt={stack:K,tokenStack:fe,config:t,enter:c,exit:d,buffer:u,resume:g,setData:a,getData:o};let we=-1;for(;++we0){const qe=fe[fe.length-1];(qe[1]||Yb).call(wt,void 0,qe[0])}for(N.position={start:l(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:l(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},we=-1;++we{const r=this.data("settings");return KE(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}const xt=function(e,t,n){const r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r},gu={}.hasOwnProperty;function ZE(e,t){const n=t.data||{};return"value"in t&&!(gu.call(n,"hName")||gu.call(n,"hProperties")||gu.call(n,"hChildren"))?e.augment(t,xt("text",t.value)):e(t,"div",Gt(e,t))}function dw(e,t,n){const r=t&&t.type;let i;if(!r)throw new Error("Expected node, got `"+t+"`");return gu.call(e.handlers,r)?i=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?i=XE:i=e.unknownHandler,(typeof i=="function"?i:ZE)(e,t,n)}function XE(e,t){return"children"in t?{...t,children:Gt(e,t)}:t}function Gt(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i":""))+")"})),d;function d(){let g=[],p,m,y;if((!t||i(l,s,u[u.length-1]||null))&&(g=a8(n(l,u)),g[0]===wg))return g;if(l.children&&g[0]!==i8)for(m=(r?l.children.length:-1)+a,y=u.concat(l);m>-1&&m-1?r.offset:null}}}function o8(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const Zb={}.hasOwnProperty;function l8(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Uc(e,"definition",r=>{const i=Xb(r.identifier);i&&!Zb.call(t,i)&&(t[i]=r)}),n;function n(r){const i=Xb(r);return i&&Zb.call(t,i)?t[i]:null}}function Xb(e){return String(e||"").toUpperCase()}function yo(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(o=String.fromCharCode(a,l),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Wr(e,t){const n=[];let r=-1;for(t&&n.push(xt("text",` `));++r0&&n.push(xt("text",` `)),n}function s8(e){let t=-1;const n=[];for(;++t1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:Wr(i,!0)};r.position&&(c.position=r.position),n.push(c)}return n.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[xt("text",e.footnoteLabel)]},{type:"text",value:` @@ -80,8 +80,8 @@ Error generating stack: `+a.message+` `)]}function f8(e,t){const n=t.value?t.value+` `:"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);const a=e(t,"code",i,[xt("text",n)]);return t.meta&&(a.data={meta:t.meta}),e(t.position,"pre",[a])}function d8(e,t){return e(t,"del",Gt(e,t))}function p8(e,t){return e(t,"em",Gt(e,t))}function bw(e,t){const n=String(t.identifier),r=yo(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let a;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=i+1);const o=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[xt("text",String(a))])])}function g8(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},bw(e,{type:"footnoteReference",identifier:i,position:t.position})}function h8(e,t){return e(t,"h"+t.depth,Gt(e,t))}function m8(e,t){return e.dangerous?e.augment(t,xt("raw",t.value)):null}function vw(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return xt("text","!["+t.alt+r);const i=Gt(e,t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift(xt("text","["));const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push(xt("text",r)),i}function b8(e,t){const n=e.definition(t.identifier);if(!n)return vw(e,t);const r={src:yo(n.url||""),alt:t.alt};return n.title!==null&&n.title!==void 0&&(r.title=n.title),e(t,"img",r)}function v8(e,t){const n={src:yo(t.url),alt:t.alt};return t.title!==null&&t.title!==void 0&&(n.title=t.title),e(t,"img",n)}function y8(e,t){return e(t,"code",[xt("text",t.value.replace(/\r?\n|\r/g," "))])}function x8(e,t){const n=e.definition(t.identifier);if(!n)return vw(e,t);const r={href:yo(n.url||"")};return n.title!==null&&n.title!==void 0&&(r.title=n.title),e(t,"a",r,Gt(e,t))}function w8(e,t){const n={href:yo(t.url)};return t.title!==null&&t.title!==void 0&&(n.title=t.title),e(t,"a",n,Gt(e,t))}function S8(e,t,n){const r=Gt(e,t),i=n?k8(n):yw(t),a={},o=[];if(typeof t.checked=="boolean"){let u;r[0]&&r[0].type==="element"&&r[0].tagName==="p"?u=r[0]:(u=e(null,"p",[]),r.unshift(u)),u.children.length>0&&u.children.unshift(xt("text"," ")),u.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),a.className=["task-list-item"]}let l=-1;for(;++l1}function C8(e,t){const n={},r=t.ordered?"ol":"ul",i=Gt(e,t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(ev(t.slice(i),i>0,!1)),a.join("")}function ev(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===Xb||a===Jb;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===Xb||a===Jb;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function P8(e,t){return e.augment(t,xt("text",A8(String(t.value))))}function L8(e,t){return e(t,"hr")}const I8={blockquote:u8,break:c8,code:f8,delete:d8,emphasis:p8,footnoteReference:bw,footnote:g8,heading:h8,html:m8,imageReference:b8,image:v8,inlineCode:y8,linkReference:x8,link:w8,listItem:S8,list:C8,paragraph:E8,root:T8,strong:O8,table:B8,text:P8,thematicBreak:L8,toml:zs,yaml:zs,definition:zs,footnoteDefinition:zs};function zs(){return null}const R8={}.hasOwnProperty;function _8(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.definition=l8(e),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.augment=a,o.handlers={...I8,...n.handlers},o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,Uc(e,"footnoteDefinition",l=>{const s=String(l.identifier).toUpperCase();R8.call(i,s)||(i[s]=l)}),o;function a(l,s){if(l&&"data"in l&&l.data){const u=l.data;u.hName&&(s.type!=="element"&&(s={type:"element",tagName:"",properties:{},children:[]}),s.tagName=u.hName),s.type==="element"&&u.hProperties&&(s.properties={...s.properties,...u.hProperties}),"children"in s&&s.children&&u.hChildren&&(s.children=u.hChildren)}if(l){const u="type"in l?l:{position:l};o8(u)||(s.position={start:gw(u),end:hw(u)})}return s}function o(l,s,u,c){return Array.isArray(u)&&(c=u,u={}),a(l,{type:"element",tagName:s,properties:u||{},children:c||[]})}}function xw(e,t){const n=_8(e,t),r=dw(n,e,null),i=s8(n);return i&&r.children.push(xt("text",` -`),i),Array.isArray(r)?{type:"root",children:r}:r}const N8=function(e,t){return e&&"run"in e?D8(e,t):M8(e||t)},j8=N8;function D8(e,t){return(n,r,i)=>{e.run(xw(n,t),r,a=>{i(a)})}}function M8(e){return t=>xw(t,e)}class ls{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}ls.prototype.property={};ls.prototype.normal={};ls.prototype.space=null;function ww(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&U8.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(nv,G8);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!nv.test(a)){let o=a.replace(W8,q8);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=S0}return new i(r,t)}function q8(e){return"-"+e.toLowerCase()}function G8(e){return e.charAt(1).toUpperCase()}const rv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},K8=ww([Cw,kw,Ow,Bw,z8],"html"),Q8=ww([Cw,kw,Ow,Bw,H8],"svg");function Y8(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Uc(t,"element",(n,r,i)=>{const a=i;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,a)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}}var Aw={exports:{}},Ne={};/** +`)),e(t,"li",a,o)}function k8(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r1}function C8(e,t){const n={},r=t.ordered?"ol":"ul",i=Gt(e,t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(tv(t.slice(i),i>0,!1)),a.join("")}function tv(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===Jb||a===ev;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===Jb||a===ev;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function P8(e,t){return e.augment(t,xt("text",A8(String(t.value))))}function L8(e,t){return e(t,"hr")}const I8={blockquote:u8,break:c8,code:f8,delete:d8,emphasis:p8,footnoteReference:bw,footnote:g8,heading:h8,html:m8,imageReference:b8,image:v8,inlineCode:y8,linkReference:x8,link:w8,listItem:S8,list:C8,paragraph:E8,root:T8,strong:O8,table:B8,text:P8,thematicBreak:L8,toml:zs,yaml:zs,definition:zs,footnoteDefinition:zs};function zs(){return null}const R8={}.hasOwnProperty;function _8(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.definition=l8(e),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.augment=a,o.handlers={...I8,...n.handlers},o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,Uc(e,"footnoteDefinition",l=>{const s=String(l.identifier).toUpperCase();R8.call(i,s)||(i[s]=l)}),o;function a(l,s){if(l&&"data"in l&&l.data){const u=l.data;u.hName&&(s.type!=="element"&&(s={type:"element",tagName:"",properties:{},children:[]}),s.tagName=u.hName),s.type==="element"&&u.hProperties&&(s.properties={...s.properties,...u.hProperties}),"children"in s&&s.children&&u.hChildren&&(s.children=u.hChildren)}if(l){const u="type"in l?l:{position:l};o8(u)||(s.position={start:gw(u),end:hw(u)})}return s}function o(l,s,u,c){return Array.isArray(u)&&(c=u,u={}),a(l,{type:"element",tagName:s,properties:u||{},children:c||[]})}}function xw(e,t){const n=_8(e,t),r=dw(n,e,null),i=s8(n);return i&&r.children.push(xt("text",` +`),i),Array.isArray(r)?{type:"root",children:r}:r}const N8=function(e,t){return e&&"run"in e?D8(e,t):M8(e||t)},j8=N8;function D8(e,t){return(n,r,i)=>{e.run(xw(n,t),r,a=>{i(a)})}}function M8(e){return t=>xw(t,e)}class ls{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}ls.prototype.property={};ls.prototype.normal={};ls.prototype.space=null;function ww(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&U8.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(rv,G8);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!rv.test(a)){let o=a.replace(W8,q8);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=k0}return new i(r,t)}function q8(e){return"-"+e.toLowerCase()}function G8(e){return e.charAt(1).toUpperCase()}const iv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},K8=ww([Cw,kw,Ow,Bw,z8],"html"),Q8=ww([Cw,kw,Ow,Bw,H8],"svg");function Y8(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Uc(t,"element",(n,r,i)=>{const a=i;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,a)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}}var Aw={exports:{}},Ne={};/** * @license React * react-is.production.min.js * @@ -89,8 +89,8 @@ Error generating stack: `+a.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var k0=Symbol.for("react.element"),C0=Symbol.for("react.portal"),Wc=Symbol.for("react.fragment"),Vc=Symbol.for("react.strict_mode"),qc=Symbol.for("react.profiler"),Gc=Symbol.for("react.provider"),Kc=Symbol.for("react.context"),Z8=Symbol.for("react.server_context"),Qc=Symbol.for("react.forward_ref"),Yc=Symbol.for("react.suspense"),Zc=Symbol.for("react.suspense_list"),Xc=Symbol.for("react.memo"),Jc=Symbol.for("react.lazy"),X8=Symbol.for("react.offscreen"),Pw;Pw=Symbol.for("react.module.reference");function Kn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case k0:switch(e=e.type,e){case Wc:case qc:case Vc:case Yc:case Zc:return e;default:switch(e=e&&e.$$typeof,e){case Z8:case Kc:case Qc:case Jc:case Xc:case Gc:return e;default:return t}}case C0:return t}}}Ne.ContextConsumer=Kc;Ne.ContextProvider=Gc;Ne.Element=k0;Ne.ForwardRef=Qc;Ne.Fragment=Wc;Ne.Lazy=Jc;Ne.Memo=Xc;Ne.Portal=C0;Ne.Profiler=qc;Ne.StrictMode=Vc;Ne.Suspense=Yc;Ne.SuspenseList=Zc;Ne.isAsyncMode=function(){return!1};Ne.isConcurrentMode=function(){return!1};Ne.isContextConsumer=function(e){return Kn(e)===Kc};Ne.isContextProvider=function(e){return Kn(e)===Gc};Ne.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===k0};Ne.isForwardRef=function(e){return Kn(e)===Qc};Ne.isFragment=function(e){return Kn(e)===Wc};Ne.isLazy=function(e){return Kn(e)===Jc};Ne.isMemo=function(e){return Kn(e)===Xc};Ne.isPortal=function(e){return Kn(e)===C0};Ne.isProfiler=function(e){return Kn(e)===qc};Ne.isStrictMode=function(e){return Kn(e)===Vc};Ne.isSuspense=function(e){return Kn(e)===Yc};Ne.isSuspenseList=function(e){return Kn(e)===Zc};Ne.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wc||e===qc||e===Vc||e===Yc||e===Zc||e===X8||typeof e=="object"&&e!==null&&(e.$$typeof===Jc||e.$$typeof===Xc||e.$$typeof===Gc||e.$$typeof===Kc||e.$$typeof===Qc||e.$$typeof===Pw||e.getModuleId!==void 0)};Ne.typeOf=Kn;Aw.exports=Ne;var J8=Aw.exports;const eT=qt(J8);function tT(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function nT(e){return e.join(" ").trim()}function rT(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var E0={exports:{}},iv=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,iT=/\n/g,aT=/^\s*/,oT=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,lT=/^:\s*/,sT=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,uT=/^[;\s]*/,cT=/^\s+|\s+$/g,fT=` -`,av="/",ov="*",Qi="",dT="comment",pT="declaration",gT=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(p){var m=p.match(iT);m&&(n+=m.length);var y=p.lastIndexOf(fT);r=~y?p.length-y:r+p.length}function a(){var p={line:n,column:r};return function(m){return m.position=new o(p),u(),m}}function o(p){this.start=p,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function l(p){var m=new Error(t.source+":"+n+":"+r+": "+p);if(m.reason=p,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function s(p){var m=p.exec(e);if(m){var y=m[0];return i(y),e=e.slice(y.length),m}}function u(){s(aT)}function c(p){var m;for(p=p||[];m=f();)m!==!1&&p.push(m);return p}function f(){var p=a();if(!(av!=e.charAt(0)||ov!=e.charAt(1))){for(var m=2;Qi!=e.charAt(m)&&(ov!=e.charAt(m)||av!=e.charAt(m+1));)++m;if(m+=2,Qi===e.charAt(m-1))return l("End of comment missing");var y=e.slice(2,m-2);return r+=2,i(y),e=e.slice(m),r+=2,p({type:dT,comment:y})}}function d(){var p=a(),m=s(oT);if(m){if(f(),!s(lT))return l("property missing ':'");var y=s(sT),h=p({type:pT,property:lv(m[0].replace(iv,Qi)),value:y?lv(y[0].replace(iv,Qi)):Qi});return s(uT),h}}function g(){var p=[];c(p);for(var m;m=d();)m!==!1&&(p.push(m),c(p));return p}return u(),g()};function lv(e){return e?e.replace(cT,Qi):Qi}var hT=gT;function Lw(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=hT(e),a=typeof t=="function",o,l,s=0,u=i.length;s0?x.createElement(g,s,f):x.createElement(g,s)}function xT(e){let t=-1;for(;++t for more info)`),delete Hs[a]}const t=K5().use(fw).use(e.remarkPlugins||[]).use(j8,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Y8,e),n=new q5;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=x.createElement(x.Fragment,{},Iw({options:e,schema:K8,listDepth:0},r));return e.className&&(i=x.createElement("div",{className:e.className},i)),i}wo.propTypes={children:J.string,className:J.string,allowElement:J.func,allowedElements:J.arrayOf(J.string),disallowedElements:J.arrayOf(J.string),unwrapDisallowed:J.bool,remarkPlugins:J.arrayOf(J.oneOfType([J.object,J.func,J.arrayOf(J.oneOfType([J.bool,J.string,J.object,J.func,J.arrayOf(J.any)]))])),rehypePlugins:J.arrayOf(J.oneOfType([J.object,J.func,J.arrayOf(J.oneOfType([J.bool,J.string,J.object,J.func,J.arrayOf(J.any)]))])),sourcePos:J.bool,rawSourcePos:J.bool,skipHtml:J.bool,includeElementIndex:J.bool,transformLinkUri:J.oneOfType([J.func,J.bool]),linkTarget:J.oneOfType([J.func,J.string]),transformImageUri:J.func,components:J.object};const TT={tokenize:LT,partial:!0},Rw={tokenize:IT,partial:!0},_w={tokenize:RT,partial:!0},ro={tokenize:NT,partial:!0},Nw={tokenize:_T,partial:!0},jw={tokenize:AT,previous:Fw},Dw={tokenize:PT,previous:O0},ni={tokenize:BT,previous:$w},Rr={},OT={text:Rr};let Ui=48;for(;Ui<123;)Rr[Ui]=ni,Ui++,Ui===58?Ui=65:Ui===91&&(Ui=97);Rr[43]=ni;Rr[45]=ni;Rr[46]=ni;Rr[95]=ni;Rr[72]=[ni,Dw];Rr[104]=[ni,Dw];Rr[87]=[ni,jw];Rr[119]=[ni,jw];function BT(e,t,n){const r=this;let i,a;return o;function o(g){return!uv(g)||!$w(r.previous)||B0(r.events)?n(g):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(g))}function l(g){return uv(g)?(e.consume(g),l):g===64?(e.consume(g),s):n(g)}function s(g){return g===46?e.check(ro,d,u)(g):g===45||g===95?e.check(ro,n,c)(g):Zt(g)?(!a&&Yu(g)&&(a=!0),e.consume(g),s):d(g)}function u(g){return e.consume(g),i=!0,a=void 0,s}function c(g){return e.consume(g),f}function f(g){return g===46?e.check(ro,n,u)(g):s(g)}function d(g){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(g)):n(g)}}function AT(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!Fw(r.previous)||B0(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(TT,e.attempt(Rw,e.attempt(_w,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function PT(e,t,n){const r=this;return i;function i(p){return p!==72&&p!==104||!O0(r.previous)||B0(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(p),a)}function a(p){return p===84||p===116?(e.consume(p),o):n(p)}function o(p){return p===84||p===116?(e.consume(p),l):n(p)}function l(p){return p===80||p===112?(e.consume(p),s):n(p)}function s(p){return p===83||p===115?(e.consume(p),u):u(p)}function u(p){return p===58?(e.consume(p),c):n(p)}function c(p){return p===47?(e.consume(p),f):n(p)}function f(p){return p===47?(e.consume(p),d):n(p)}function d(p){return p===null||Ml(p)||Mc(p)||Fc(p)?n(p):e.attempt(Rw,e.attempt(_w,g),n)(p)}function g(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function LT(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return s===87||s===119?(e.consume(s),a):n(s)}function a(s){return s===87||s===119?(e.consume(s),o):n(s)}function o(s){return s===46?(e.consume(s),l):n(s)}function l(s){return s===null||pe(s)?n(s):t(s)}}function IT(e,t,n){let r,i;return a;function a(s){return s===38?e.check(Nw,l,o)(s):s===46||s===95?e.check(ro,l,o)(s):s===null||Ml(s)||Mc(s)||s!==45&&Fc(s)?l(s):(e.consume(s),a)}function o(s){return s===46?(i=r,r=void 0,e.consume(s),a):(s===95&&(r=!0),e.consume(s),a)}function l(s){return!i&&!r?t(s):n(s)}}function RT(e,t){let n=0;return r;function r(o){return o===38?e.check(Nw,t,i)(o):(o===40&&n++,o===41?e.check(ro,a,i)(o):T0(o)?t(o):Mw(o)?e.check(ro,t,i)(o):(e.consume(o),r))}function i(o){return e.consume(o),r}function a(o){return n--,n<0?t(o):i(o)}}function _T(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return Mn(o)?(e.consume(o),i):o===59?(e.consume(o),a):n(o)}function a(o){return T0(o)?t(o):n(o)}}function NT(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Mw(a)?(e.consume(a),i):T0(a)?t(a):n(a)}}function Mw(e){return e===33||e===34||e===39||e===41||e===42||e===44||e===46||e===58||e===59||e===60||e===63||e===95||e===126}function T0(e){return e===null||e===60||gt(e)}function uv(e){return e===43||e===45||e===46||e===95||Zt(e)}function Fw(e){return e===null||e===40||e===42||e===95||e===126||gt(e)}function O0(e){return e===null||!Mn(e)}function $w(e){return e!==47&&O0(e)}function B0(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const jT={tokenize:WT,partial:!0};function DT(){return{document:{91:{tokenize:zT,continuation:{tokenize:HT},exit:UT}},text:{91:{tokenize:$T},93:{add:"after",tokenize:MT,resolveTo:FT}}}}function MT(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!o||!o._balanced)return n(s);const u=sr(r.sliceSerialize({start:o.end,end:r.now()}));return u.charCodeAt(0)!==94||!a.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function FT(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function $T(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return l;function l(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),s}function s(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(d){let g;return d===null||d===91||a++>999?n(d):d===93?o?(e.exit("chunkString"),g=e.exit("gfmFootnoteCallString"),i.includes(sr(r.sliceSerialize(g)))?f(d):n(d)):n(d):(e.consume(d),gt(d)||(o=!0),d===92?c:u)}function c(d){return d===91||d===92||d===93?(e.consume(d),a++,u):u(d)}function f(d){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}}function zT(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,l;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),c):n(m)}function c(m){let y;return m===null||m===91||o>999?n(m):m===93?l?(y=e.exit("gfmFootnoteDefinitionLabelString"),a=sr(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g):n(m):pe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),o++,c):(e.enter("chunkString").contentType="string",f(m))}function f(m){return m===null||pe(m)||m===91||m===93||o>999?(e.exit("chunkString"),c(m)):(gt(m)||(l=!0),o++,e.consume(m),m===92?d:f)}function d(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}function g(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),Oe(e,p,"gfmFootnoteDefinitionWhitespace")):n(m)}function p(m){return i.includes(a)||i.push(a),t(m)}}function HT(e,t,n){return e.check(os,t,e.attempt(jT,t,n))}function UT(e){e.exit("gfmFootnoteDefinition")}function WT(e,t,n){const r=this;return Oe(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function VT(e={}){let t=e.singleTilde;const n={tokenize:i,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(a,o){let l=-1;for(;++l1?l(g):(a.consume(g),c++,d);if(c<2&&!t)return l(g);const m=a.exit("strikethroughSequenceTemporary"),y=Zu(g);return m._open=!y||y===2&&!!p,m._close=!p||p===2&&!!y,o(g)}}}const qT={flow:{null:{tokenize:KT,resolve:GT}}},cv={tokenize:QT,partial:!0};function GT(e,t){let n=-1,r,i,a,o,l,s,u;for(;++n=4?I(C):(r._gfmTableDynamicInterruptHack=!0,L.check(r.parser.constructs.flow,function(V){return r._gfmTableDynamicInterruptHack=!1,I(V)},function(V){return r._gfmTableDynamicInterruptHack=!1,H(V)})(C))}}}function QT(e,t,n){let r=0;return i;function i(o){return e.enter("check"),e.consume(o),a}function a(o){return o===-1||o===32?(e.consume(o),r++,r===4?t:a):o===null||gt(o)?t(o):n(o)}}const YT={tokenize:XT},ZT={text:{91:YT}};function XT(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return gt(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:JT},t,n)):n(l)}}function JT(e,t,n){const r=this;return Oe(e,i,"whitespace");function i(a){const o=r.events[r.events.length-1];return(o&&o[1].type==="whitespace"||pe(a))&&a!==null?t(a):n(a)}}function eO(e){return X5([OT,DT(),VT(e),qT,ZT])}function fv(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function tO(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const nO={}.hasOwnProperty,rO=function(e,t,n,r){let i,a;typeof t=="string"||t instanceof RegExp?(a=[[t,n]],i=r):(a=t,i=n),i||(i={});const o=zc(i.ignore||[]),l=iO(a);let s=-1;for(;++s0?{type:"text",value:B}:void 0),B!==!1&&(y!==S&&v.push({type:"text",value:f.value.slice(y,S)}),Array.isArray(B)?v.push(...B):B&&v.push(B),y=S+T[0].length,b=!0),!p.global)break;T=p.exec(f.value)}return b?(ye}const Wd="phrasing",Vd=["autolink","link","image","label"],aO={transforms:[dO],enter:{literalAutolink:lO,literalAutolinkEmail:qd,literalAutolinkHttp:qd,literalAutolinkWww:qd},exit:{literalAutolink:fO,literalAutolinkEmail:cO,literalAutolinkHttp:sO,literalAutolinkWww:uO}},oO={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Wd,notInConstruct:Vd},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Wd,notInConstruct:Vd},{character:":",before:"[ps]",after:"\\/",inConstruct:Wd,notInConstruct:Vd}]};function lO(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function qd(e){this.config.enter.autolinkProtocol.call(this,e)}function sO(e){this.config.exit.autolinkProtocol.call(this,e)}function uO(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function cO(e){this.config.exit.autolinkEmail.call(this,e)}function fO(e){this.exit(e)}function dO(e){rO(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,gO]],{ignore:["link","linkReference"]})}function pO(e,t,n,r,i){let a="";if(!zw(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!hO(n)))return!1;const o=mO(n+r);if(!o[0])return!1;const l={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function gO(e,t,n,r){return!zw(r,!0)||/[_-\d]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function hO(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function mO(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let n,r,i,a;if(t)for(e=e.slice(0,t.index),a=t[0],n=a.indexOf(")"),r=fv(e,"("),i=fv(e,")");n!==-1&&r>i;)e+=a.slice(0,n+1),a=a.slice(n+1),n=a.indexOf(")"),i++;return[e,a]}function zw(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Mc(n)||Fc(n))&&(!t||n!==47)}function Eg(e){return e.label||!e.identifier?e.label||"":uw(e.identifier)}function Hw(e,t,n){const r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[];let l=-1;for(r.push(-1);++l0?x.createElement(g,s,f):x.createElement(g,s)}function xT(e){let t=-1;for(;++t for more info)`),delete Hs[a]}const t=K5().use(fw).use(e.remarkPlugins||[]).use(j8,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Y8,e),n=new q5;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=x.createElement(x.Fragment,{},Iw({options:e,schema:K8,listDepth:0},r));return e.className&&(i=x.createElement("div",{className:e.className},i)),i}wo.propTypes={children:J.string,className:J.string,allowElement:J.func,allowedElements:J.arrayOf(J.string),disallowedElements:J.arrayOf(J.string),unwrapDisallowed:J.bool,remarkPlugins:J.arrayOf(J.oneOfType([J.object,J.func,J.arrayOf(J.oneOfType([J.bool,J.string,J.object,J.func,J.arrayOf(J.any)]))])),rehypePlugins:J.arrayOf(J.oneOfType([J.object,J.func,J.arrayOf(J.oneOfType([J.bool,J.string,J.object,J.func,J.arrayOf(J.any)]))])),sourcePos:J.bool,rawSourcePos:J.bool,skipHtml:J.bool,includeElementIndex:J.bool,transformLinkUri:J.oneOfType([J.func,J.bool]),linkTarget:J.oneOfType([J.func,J.string]),transformImageUri:J.func,components:J.object};const TT={tokenize:LT,partial:!0},Rw={tokenize:IT,partial:!0},_w={tokenize:RT,partial:!0},ro={tokenize:NT,partial:!0},Nw={tokenize:_T,partial:!0},jw={tokenize:AT,previous:Fw},Dw={tokenize:PT,previous:B0},ni={tokenize:BT,previous:$w},Rr={},OT={text:Rr};let Ui=48;for(;Ui<123;)Rr[Ui]=ni,Ui++,Ui===58?Ui=65:Ui===91&&(Ui=97);Rr[43]=ni;Rr[45]=ni;Rr[46]=ni;Rr[95]=ni;Rr[72]=[ni,Dw];Rr[104]=[ni,Dw];Rr[87]=[ni,jw];Rr[119]=[ni,jw];function BT(e,t,n){const r=this;let i,a;return o;function o(g){return!cv(g)||!$w(r.previous)||A0(r.events)?n(g):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(g))}function l(g){return cv(g)?(e.consume(g),l):g===64?(e.consume(g),s):n(g)}function s(g){return g===46?e.check(ro,d,u)(g):g===45||g===95?e.check(ro,n,c)(g):Zt(g)?(!a&&Yu(g)&&(a=!0),e.consume(g),s):d(g)}function u(g){return e.consume(g),i=!0,a=void 0,s}function c(g){return e.consume(g),f}function f(g){return g===46?e.check(ro,n,u)(g):s(g)}function d(g){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(g)):n(g)}}function AT(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!Fw(r.previous)||A0(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(TT,e.attempt(Rw,e.attempt(_w,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function PT(e,t,n){const r=this;return i;function i(p){return p!==72&&p!==104||!B0(r.previous)||A0(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(p),a)}function a(p){return p===84||p===116?(e.consume(p),o):n(p)}function o(p){return p===84||p===116?(e.consume(p),l):n(p)}function l(p){return p===80||p===112?(e.consume(p),s):n(p)}function s(p){return p===83||p===115?(e.consume(p),u):u(p)}function u(p){return p===58?(e.consume(p),c):n(p)}function c(p){return p===47?(e.consume(p),f):n(p)}function f(p){return p===47?(e.consume(p),d):n(p)}function d(p){return p===null||Ml(p)||Mc(p)||Fc(p)?n(p):e.attempt(Rw,e.attempt(_w,g),n)(p)}function g(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function LT(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return s===87||s===119?(e.consume(s),a):n(s)}function a(s){return s===87||s===119?(e.consume(s),o):n(s)}function o(s){return s===46?(e.consume(s),l):n(s)}function l(s){return s===null||pe(s)?n(s):t(s)}}function IT(e,t,n){let r,i;return a;function a(s){return s===38?e.check(Nw,l,o)(s):s===46||s===95?e.check(ro,l,o)(s):s===null||Ml(s)||Mc(s)||s!==45&&Fc(s)?l(s):(e.consume(s),a)}function o(s){return s===46?(i=r,r=void 0,e.consume(s),a):(s===95&&(r=!0),e.consume(s),a)}function l(s){return!i&&!r?t(s):n(s)}}function RT(e,t){let n=0;return r;function r(o){return o===38?e.check(Nw,t,i)(o):(o===40&&n++,o===41?e.check(ro,a,i)(o):O0(o)?t(o):Mw(o)?e.check(ro,t,i)(o):(e.consume(o),r))}function i(o){return e.consume(o),r}function a(o){return n--,n<0?t(o):i(o)}}function _T(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return Mn(o)?(e.consume(o),i):o===59?(e.consume(o),a):n(o)}function a(o){return O0(o)?t(o):n(o)}}function NT(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Mw(a)?(e.consume(a),i):O0(a)?t(a):n(a)}}function Mw(e){return e===33||e===34||e===39||e===41||e===42||e===44||e===46||e===58||e===59||e===60||e===63||e===95||e===126}function O0(e){return e===null||e===60||gt(e)}function cv(e){return e===43||e===45||e===46||e===95||Zt(e)}function Fw(e){return e===null||e===40||e===42||e===95||e===126||gt(e)}function B0(e){return e===null||!Mn(e)}function $w(e){return e!==47&&B0(e)}function A0(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const jT={tokenize:WT,partial:!0};function DT(){return{document:{91:{tokenize:zT,continuation:{tokenize:HT},exit:UT}},text:{91:{tokenize:$T},93:{add:"after",tokenize:MT,resolveTo:FT}}}}function MT(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!o||!o._balanced)return n(s);const u=sr(r.sliceSerialize({start:o.end,end:r.now()}));return u.charCodeAt(0)!==94||!a.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function FT(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function $T(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return l;function l(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),s}function s(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(d){let g;return d===null||d===91||a++>999?n(d):d===93?o?(e.exit("chunkString"),g=e.exit("gfmFootnoteCallString"),i.includes(sr(r.sliceSerialize(g)))?f(d):n(d)):n(d):(e.consume(d),gt(d)||(o=!0),d===92?c:u)}function c(d){return d===91||d===92||d===93?(e.consume(d),a++,u):u(d)}function f(d){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}}function zT(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,l;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),c):n(m)}function c(m){let y;return m===null||m===91||o>999?n(m):m===93?l?(y=e.exit("gfmFootnoteDefinitionLabelString"),a=sr(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g):n(m):pe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),o++,c):(e.enter("chunkString").contentType="string",f(m))}function f(m){return m===null||pe(m)||m===91||m===93||o>999?(e.exit("chunkString"),c(m)):(gt(m)||(l=!0),o++,e.consume(m),m===92?d:f)}function d(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}function g(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),Oe(e,p,"gfmFootnoteDefinitionWhitespace")):n(m)}function p(m){return i.includes(a)||i.push(a),t(m)}}function HT(e,t,n){return e.check(os,t,e.attempt(jT,t,n))}function UT(e){e.exit("gfmFootnoteDefinition")}function WT(e,t,n){const r=this;return Oe(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function VT(e={}){let t=e.singleTilde;const n={tokenize:i,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(a,o){let l=-1;for(;++l1?l(g):(a.consume(g),c++,d);if(c<2&&!t)return l(g);const m=a.exit("strikethroughSequenceTemporary"),y=Zu(g);return m._open=!y||y===2&&!!p,m._close=!p||p===2&&!!y,o(g)}}}const qT={flow:{null:{tokenize:KT,resolve:GT}}},fv={tokenize:QT,partial:!0};function GT(e,t){let n=-1,r,i,a,o,l,s,u;for(;++n=4?I(C):(r._gfmTableDynamicInterruptHack=!0,L.check(r.parser.constructs.flow,function(V){return r._gfmTableDynamicInterruptHack=!1,I(V)},function(V){return r._gfmTableDynamicInterruptHack=!1,H(V)})(C))}}}function QT(e,t,n){let r=0;return i;function i(o){return e.enter("check"),e.consume(o),a}function a(o){return o===-1||o===32?(e.consume(o),r++,r===4?t:a):o===null||gt(o)?t(o):n(o)}}const YT={tokenize:XT},ZT={text:{91:YT}};function XT(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return gt(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:JT},t,n)):n(l)}}function JT(e,t,n){const r=this;return Oe(e,i,"whitespace");function i(a){const o=r.events[r.events.length-1];return(o&&o[1].type==="whitespace"||pe(a))&&a!==null?t(a):n(a)}}function eO(e){return X5([OT,DT(),VT(e),qT,ZT])}function dv(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function tO(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const nO={}.hasOwnProperty,rO=function(e,t,n,r){let i,a;typeof t=="string"||t instanceof RegExp?(a=[[t,n]],i=r):(a=t,i=n),i||(i={});const o=zc(i.ignore||[]),l=iO(a);let s=-1;for(;++s0?{type:"text",value:B}:void 0),B!==!1&&(y!==S&&v.push({type:"text",value:f.value.slice(y,S)}),Array.isArray(B)?v.push(...B):B&&v.push(B),y=S+T[0].length,b=!0),!p.global)break;T=p.exec(f.value)}return b?(ye}const Wd="phrasing",Vd=["autolink","link","image","label"],aO={transforms:[dO],enter:{literalAutolink:lO,literalAutolinkEmail:qd,literalAutolinkHttp:qd,literalAutolinkWww:qd},exit:{literalAutolink:fO,literalAutolinkEmail:cO,literalAutolinkHttp:sO,literalAutolinkWww:uO}},oO={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Wd,notInConstruct:Vd},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Wd,notInConstruct:Vd},{character:":",before:"[ps]",after:"\\/",inConstruct:Wd,notInConstruct:Vd}]};function lO(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function qd(e){this.config.enter.autolinkProtocol.call(this,e)}function sO(e){this.config.exit.autolinkProtocol.call(this,e)}function uO(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function cO(e){this.config.exit.autolinkEmail.call(this,e)}function fO(e){this.exit(e)}function dO(e){rO(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,gO]],{ignore:["link","linkReference"]})}function pO(e,t,n,r,i){let a="";if(!zw(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!hO(n)))return!1;const o=mO(n+r);if(!o[0])return!1;const l={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function gO(e,t,n,r){return!zw(r,!0)||/[_-\d]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function hO(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function mO(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let n,r,i,a;if(t)for(e=e.slice(0,t.index),a=t[0],n=a.indexOf(")"),r=dv(e,"("),i=dv(e,")");n!==-1&&r>i;)e+=a.slice(0,n+1),a=a.slice(n+1),n=a.indexOf(")"),i++;return[e,a]}function zw(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Mc(n)||Fc(n))&&(!t||n!==47)}function Eg(e){return e.label||!e.identifier?e.label||"":uw(e.identifier)}function Hw(e,t,n){const r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[];let l=-1;for(r.push(-1);++l=u||c+10?" ":"")),l.shift(4),s+=l.move(Uw(Hw(r,a,l.current()),f)),u(),s;function f(d,g,p){return g?(p?"":" ")+d:d}}}function A0(e,t,n){const r=t.indexStack,i=e.children||[],a=[];let o=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++o0&&(l==="\r"||l===` -`)&&u.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(a.join(""))),a.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=a[a.length-1].slice(-1)}return r.pop(),a.join("")}const SO={canContainEols:["delete"],enter:{strikethrough:EO},exit:{strikethrough:TO}},kO=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],CO={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:kO}],handlers:{delete:qw}};qw.peek=OO;function EO(e){this.enter({type:"delete",children:[]},e)}function TO(e){this.exit(e)}function qw(e,t,n,r){const i=Fl(r),a=n.enter("emphasis");let o=i.move("~~");return o+=A0(e,n,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function OO(){return"~"}P0.peek=BO;function P0(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++as&&(s=e[u].length);++yl[y])&&(l[y]=b)}p.push(h)}a[u]=p,o[u]=m}let c=-1;if(typeof n=="object"&&"length"in n)for(;++cl[c]&&(l[c]=h),d[c]=h),f[c]=b}a.splice(1,0,f),o.splice(1,0,d),u=-1;const g=[];for(;++un==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function _O(e){this.exit(e),this.setData("inTable")}function NO(e){this.enter({type:"tableRow",children:[]},e)}function Gd(e){this.exit(e)}function bv(e){this.enter({type:"tableCell",children:[]},e)}function jO(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,DO));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function DO(e,t){return t==="|"?t:e}function MO(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`}const vO=/\r?\n|\r/g;function Uw(e,t){const n=[];let r=0,i=0,a;for(;a=vO.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join("");function o(l){n.push(t(l,i,!l))}}function Ww(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Vw(e,t){return hv(e,t.inConstruct,!0)&&!hv(e,t.notInConstruct,!1)}function hv(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=u||c+10?" ":"")),l.shift(4),s+=l.move(Uw(Hw(r,a,l.current()),f)),u(),s;function f(d,g,p){return g?(p?"":" ")+d:d}}}function P0(e,t,n){const r=t.indexStack,i=e.children||[],a=[];let o=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++o0&&(l==="\r"||l===` +`)&&u.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(a.join(""))),a.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=a[a.length-1].slice(-1)}return r.pop(),a.join("")}const SO={canContainEols:["delete"],enter:{strikethrough:EO},exit:{strikethrough:TO}},kO=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],CO={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:kO}],handlers:{delete:qw}};qw.peek=OO;function EO(e){this.enter({type:"delete",children:[]},e)}function TO(e){this.exit(e)}function qw(e,t,n,r){const i=Fl(r),a=n.enter("emphasis");let o=i.move("~~");return o+=P0(e,n,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function OO(){return"~"}L0.peek=BO;function L0(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++as&&(s=e[u].length);++yl[y])&&(l[y]=b)}p.push(h)}a[u]=p,o[u]=m}let c=-1;if(typeof n=="object"&&"length"in n)for(;++cl[c]&&(l[c]=h),d[c]=h),f[c]=b}a.splice(1,0,f),o.splice(1,0,d),u=-1;const g=[];for(;++un==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function _O(e){this.exit(e),this.setData("inTable")}function NO(e){this.enter({type:"tableRow",children:[]},e)}function Gd(e){this.exit(e)}function vv(e){this.enter({type:"tableCell",children:[]},e)}function jO(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,DO));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function DO(e,t){return t==="|"?t:e}function MO(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:l,tableCell:s,inlineCode:d}};function o(g,p,m,y){return u(c(g,m,y),g.align)}function l(g,p,m,y){const h=f(g,m,y),b=u([h]);return b.slice(0,b.indexOf(` -`))}function s(g,p,m,y){const h=m.enter("tableCell"),b=m.enter("phrasing"),v=A0(g,m,{...y,before:a,after:a});return b(),h(),v}function u(g,p){return AO(g,{align:p,alignDelimiters:r,padding:n,stringLength:i})}function c(g,p,m){const y=g.children;let h=-1;const b=[],v=p.enter("table");for(;++h-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const l=n.createTracker(r);l.move(a+" ".repeat(o-a.length)),l.shift(o);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),c);return s(),u;function c(f,d,g){return d?(g?"":" ".repeat(o))+f:(g?a:a+" ".repeat(o-a.length))+f}}const $O={exit:{taskListCheckValueChecked:vv,taskListCheckValueUnchecked:vv,paragraph:HO}},zO={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:UO}};function vv(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function HO(e){const t=this.stack[this.stack.length-2],n=this.stack[this.stack.length-1],r=t.children,i=n.children[0];let a=-1,o;if(t&&t.type==="listItem"&&typeof t.checked=="boolean"&&i&&i.type==="text"){for(;++a2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,a=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var o=function(s,u){var c=t.services.backendConnector.state["".concat(s,"|").concat(u)];return c===-1||c===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||o(r,e)&&(!i||o(a,e)))}function ZO(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return Og("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{lng:n.lng,precheck:function(a,o){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&a.services.backendConnector.backend&&a.isLanguageChangingTo&&!o(a.isLanguageChangingTo,e))return!1}}):YO(e,t,n)}function XO(e){return e.displayName||e.name||(typeof e=="string"&&e.length>0?e:"Unknown")}var JO=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,eB={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},tB=function(t){return eB[t]},nB=function(t){return t.replace(JO,tB)};function Sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kv(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};Bg=kv(kv({},Bg),e)}function iB(){return Bg}var Yw;function aB(e){Yw=e}function oB(){return Yw}function Qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cv(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=A.useContext(sB)||{},i=r.i18n,a=r.defaultNS,o=n||i||oB();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new uB),!o){Og("You will need to pass in an i18next instance by using initReactI18next");var l=function(D,j){return typeof j=="string"?j:j&&Bn(j)==="object"&&typeof j.defaultValue=="string"?j.defaultValue:Array.isArray(D)?D[D.length-1]:D},s=[l,{},!1];return s.t=l,s.i18n={},s.ready=!1,s}o.options.react&&o.options.react.wait!==void 0&&Og("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=Kd(Kd(Kd({},iB()),o.options.react),t),c=u.useSuspense,f=u.keyPrefix,d=e||a||o.options&&o.options.defaultNS;d=typeof d=="string"?[d]:d||["translation"],o.reportNamespaces.addUsedNamespaces&&o.reportNamespaces.addUsedNamespaces(d);var g=(o.isInitialized||o.initializedStoreOnce)&&d.every(function(P){return ZO(P,o,u)});function p(){return o.getFixedT(t.lng||null,u.nsMode==="fallback"?d:d[0],f)}var m=A.useState(p),y=eS(m,2),h=y[0],b=y[1],v=d.join();t.lng&&(v="".concat(t.lng).concat(v));var S=fB(v),T=A.useRef(!0);A.useEffect(function(){var P=u.bindI18n,D=u.bindI18nStore;T.current=!0,!g&&!c&&(t.lng?wv(o,t.lng,d,function(){T.current&&b(p)}):xv(o,d,function(){T.current&&b(p)})),g&&S&&S!==v&&T.current&&b(p);function j(){T.current&&b(p)}return P&&o&&o.on(P,j),D&&o&&o.store.on(D,j),function(){T.current=!1,P&&o&&P.split(" ").forEach(function(F){return o.off(F,j)}),D&&o&&D.split(" ").forEach(function(F){return o.store.off(F,j)})}},[o,v]);var E=A.useRef(!0);A.useEffect(function(){T.current&&!E.current&&b(p),E.current=!1},[o,f]);var B=[h,o,g];if(B.t=h,B.i18n=o,B.ready=g,g||!g&&!c)return B;throw new Promise(function(P){t.lng?wv(o,t.lng,d,function(){return P()}):xv(o,d,function(){return P()})})}var pB=["forwardedRef"];function Ov(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Us(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};return function(r){function i(o){var l=o.forwardedRef,s=KO(o,pB),u=dB(e,Us(Us({},s),{},{keyPrefix:t.keyPrefix})),c=eS(u,3),f=c[0],d=c[1],g=c[2],p=Us(Us({},s),{},{t:f,i18n:d,tReady:g});return t.withRef&&l?p.ref=l:!t.withRef&&l&&(p.forwardedRef=l),A.createElement(r,p)}i.displayName="withI18nextTranslation(".concat(XO(r),")"),i.WrappedComponent=r;var a=function(l,s){return A.createElement(i,Object.assign({},l,{forwardedRef:s}))};return t.withRef?A.forwardRef(a):i}}function gB(e){return(()=>e.isLoading?O.jsx("div",{className:"loading-container",children:O.jsx("div",{className:"loading-spinner"})}):O.jsx(O.Fragment,{}))()}const tS=Nt()(gB);function hB(e){const{content:t}=e;return O.jsx("div",{className:"color-bg-attention color-border-attention border rounded p-3",style:{width:"fit-content"},children:t})}var I0={},ef={},tf={};Object.defineProperty(tf,"__esModule",{value:!0});tf.default=void 0;var Go=mB(A);function mB(e){return e&&e.__esModule?e:{default:e}}var bB=function(t){var n=t.filteredValue,r=t.handleChange,i=t.appLocale;return Go.default.createElement("div",{className:"quiz-result-filter"},Go.default.createElement("select",{value:n,onChange:r},Go.default.createElement("option",{value:"all"},i.resultFilterAll),Go.default.createElement("option",{value:"correct"},i.resultFilterCorrect),Go.default.createElement("option",{value:"incorrect"},i.resultFilterIncorrect)))},vB=bB;tf.default=vB;var Ti={},yB={"":["",""],_:["",""],"*":["",""],"~":["",""],"\n":["
"]," ":["
"],"-":["
"]};function Bv(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function Ko(e){return(e+"").replace(/"/g,""").replace(//g,">")}function Ag(e,t){var n,r,i,a,o,l=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t| {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|( \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,s=[],u="",c=t||{},f=0;function d(p){var m=yB[p[1]||""],y=s[s.length-1]==p;return m?m[1]?(y?s.pop():s.push(p),m[0|y]):m[0]:p}function g(){for(var p="";s.length;)p+=d(s[s.length-1]);return p}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,function(p,m,y){return c[m.toLowerCase()]=y,""}).replace(/^\n+|\n+$/g,"");i=l.exec(e);)r=e.substring(f,i.index),f=l.lastIndex,n=i[0],r.match(/[^\\](\\\\)*\\$/)||((o=i[3]||i[4])?n='
"+Bv(Ko(o).replace(/^\n+|\n+$/g,""))+"
":(o=i[6])?(o.match(/\./)&&(i[5]=i[5].replace(/^\d+/gm,"")),a=Ag(Bv(i[5].replace(/^\s*[>*+.-]/gm,""))),o==">"?o="blockquote":(o=o.match(/\./)?"ol":"ul",a=a.replace(/^(.*)(\n|$)/gm,"
  • $1
  • ")),n="<"+o+">"+a+""):i[8]?n=''+Ko(i[7])+'':i[10]?(u=u.replace("",''),n=g()+""):i[9]?n="":i[12]||i[14]?n="<"+(o="h"+(i[14]?i[14].length:i[13]>"="?1:2))+">"+Ag(i[12]||i[15],c)+"":i[16]?n=""+Ko(i[16])+"":(i[17]||i[1])&&(n=d(i[17]||"--"))),u+=r,u+=n;return(u+e.substring(f)+g()).replace(/^\n+|\n+$/g,"")}const xB=Object.freeze(Object.defineProperty({__proto__:null,default:Ag},Symbol.toStringTag,{value:"Module"})),wB=M4(xB);var nS={exports:{}};/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */(function(e,t){(function(n,r){e.exports=r()})(Cn,function(){function n(X){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},n(X)}function r(X,k){return r=Object.setPrototypeOf||function(K,fe){return K.__proto__=fe,K},r(X,k)}function i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function a(X,k,N){return i()?a=Reflect.construct:a=function(fe,Ve,wt){var we=[null];we.push.apply(we,Ve);var qe=Function.bind.apply(fe,we),rn=new qe;return wt&&r(rn,wt.prototype),rn},a.apply(null,arguments)}function o(X){return l(X)||s(X)||u(X)||f()}function l(X){if(Array.isArray(X))return c(X)}function s(X){if(typeof Symbol<"u"&&X[Symbol.iterator]!=null||X["@@iterator"]!=null)return Array.from(X)}function u(X,k){if(X){if(typeof X=="string")return c(X,k);var N=Object.prototype.toString.call(X).slice(8,-1);if(N==="Object"&&X.constructor&&(N=X.constructor.name),N==="Map"||N==="Set")return Array.from(X);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return c(X,k)}}function c(X,k){(k==null||k>X.length)&&(k=X.length);for(var N=0,K=new Array(k);N1?N-1:0),fe=1;fe/gm),Be=b(/\${[\w\W]*}/gm),xe=b(/^data-[\-\w.\u00B7-\uFFFF]/),ze=b(/^aria-[\-\w]+$/),Kt=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),We=b(/^(?:\w+script|data):/i),nn=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qt=b(/^html$/i),ut=function(){return typeof window>"u"?null:window},he=function(k,N){if(n(k)!=="object"||typeof k.createPolicy!="function")return null;var K=null,fe="data-tt-policy-suffix";N.currentScript&&N.currentScript.hasAttribute(fe)&&(K=N.currentScript.getAttribute(fe));var Ve="dompurify"+(K?"#"+K:"");try{return k.createPolicy(Ve,{createHTML:function(we){return we},createScriptURL:function(we){return we}})}catch{return console.warn("TrustedTypes policy "+Ve+" could not be created."),null}};function Ae(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ut(),k=function(R){return Ae(R)};if(k.version="2.4.3",k.removed=[],!X||!X.document||X.document.nodeType!==9)return k.isSupported=!1,k;var N=X.document,K=X.document,fe=X.DocumentFragment,Ve=X.HTMLTemplateElement,wt=X.Node,we=X.Element,qe=X.NodeFilter,rn=X.NamedNodeMap,mr=rn===void 0?X.NamedNodeMap||X.MozNamedAttrMap:rn,Ce=X.HTMLFormElement,Di=X.DOMParser,Mt=X.trustedTypes,Mi=we.prototype,wa=w(Mi,"cloneNode"),Uf=w(Mi,"nextSibling"),ms=w(Mi,"childNodes"),Bo=w(Mi,"parentNode");if(typeof Ve=="function"){var Ao=K.createElement("template");Ao.content&&Ao.content.ownerDocument&&(K=Ao.content.ownerDocument)}var vn=he(Mt,N),Po=vn?vn.createHTML(""):"",Fi=K,Lo=Fi.implementation,St=Fi.createNodeIterator,Me=Fi.createDocumentFragment,Pe=Fi.getElementsByTagName,Fe=N.importNode,an={};try{an=C(K).documentMode?K.documentMode:{}}catch{}var tt={};k.isSupported=typeof Bo=="function"&&Lo&&typeof Lo.createHTMLDocument<"u"&&an!==9;var on=Re,yn=be,br=Be,$i=xe,vr=ze,Nr=We,mt=nn,Io=Kt,kt=null,_m=M({},[].concat(o(V),o(G),o(ie),o(ae),o(re))),At=null,Nm=M({},[].concat(o(ee),o(ge),o(se),o(ye))),ct=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ro=null,Wf=null,jm=!0,Vf=!0,Dm=!1,Sa=!1,zi=!1,qf=!1,Gf=!1,ka=!1,bs=!1,vs=!1,Mm=!0,Fm=!1,T4="user-content-",Kf=!0,_o=!1,Ca={},Ea=null,$m=M({},["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"]),zm=null,Hm=M({},["audio","video","img","source","image","track"]),Qf=null,Um=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ys="http://www.w3.org/1998/Math/MathML",xs="http://www.w3.org/2000/svg",jr="http://www.w3.org/1999/xhtml",Ta=jr,Yf=!1,Zf=null,O4=M({},[ys,xs,jr],F),Hi,B4=["application/xhtml+xml","text/html"],A4="text/html",Ct,Oa=null,P4=K.createElement("form"),Wm=function(R){return R instanceof RegExp||R instanceof Function},Xf=function(R){Oa&&Oa===R||((!R||n(R)!=="object")&&(R={}),R=C(R),Hi=B4.indexOf(R.PARSER_MEDIA_TYPE)===-1?Hi=A4:Hi=R.PARSER_MEDIA_TYPE,Ct=Hi==="application/xhtml+xml"?F:j,kt="ALLOWED_TAGS"in R?M({},R.ALLOWED_TAGS,Ct):_m,At="ALLOWED_ATTR"in R?M({},R.ALLOWED_ATTR,Ct):Nm,Zf="ALLOWED_NAMESPACES"in R?M({},R.ALLOWED_NAMESPACES,F):O4,Qf="ADD_URI_SAFE_ATTR"in R?M(C(Um),R.ADD_URI_SAFE_ATTR,Ct):Um,zm="ADD_DATA_URI_TAGS"in R?M(C(Hm),R.ADD_DATA_URI_TAGS,Ct):Hm,Ea="FORBID_CONTENTS"in R?M({},R.FORBID_CONTENTS,Ct):$m,Ro="FORBID_TAGS"in R?M({},R.FORBID_TAGS,Ct):{},Wf="FORBID_ATTR"in R?M({},R.FORBID_ATTR,Ct):{},Ca="USE_PROFILES"in R?R.USE_PROFILES:!1,jm=R.ALLOW_ARIA_ATTR!==!1,Vf=R.ALLOW_DATA_ATTR!==!1,Dm=R.ALLOW_UNKNOWN_PROTOCOLS||!1,Sa=R.SAFE_FOR_TEMPLATES||!1,zi=R.WHOLE_DOCUMENT||!1,ka=R.RETURN_DOM||!1,bs=R.RETURN_DOM_FRAGMENT||!1,vs=R.RETURN_TRUSTED_TYPE||!1,Gf=R.FORCE_BODY||!1,Mm=R.SANITIZE_DOM!==!1,Fm=R.SANITIZE_NAMED_PROPS||!1,Kf=R.KEEP_CONTENT!==!1,_o=R.IN_PLACE||!1,Io=R.ALLOWED_URI_REGEXP||Io,Ta=R.NAMESPACE||jr,R.CUSTOM_ELEMENT_HANDLING&&Wm(R.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ct.tagNameCheck=R.CUSTOM_ELEMENT_HANDLING.tagNameCheck),R.CUSTOM_ELEMENT_HANDLING&&Wm(R.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ct.attributeNameCheck=R.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),R.CUSTOM_ELEMENT_HANDLING&&typeof R.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ct.allowCustomizedBuiltInElements=R.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Sa&&(Vf=!1),bs&&(ka=!0),Ca&&(kt=M({},o(re)),At=[],Ca.html===!0&&(M(kt,V),M(At,ee)),Ca.svg===!0&&(M(kt,G),M(At,ge),M(At,ye)),Ca.svgFilters===!0&&(M(kt,ie),M(At,ge),M(At,ye)),Ca.mathMl===!0&&(M(kt,ae),M(At,se),M(At,ye))),R.ADD_TAGS&&(kt===_m&&(kt=C(kt)),M(kt,R.ADD_TAGS,Ct)),R.ADD_ATTR&&(At===Nm&&(At=C(At)),M(At,R.ADD_ATTR,Ct)),R.ADD_URI_SAFE_ATTR&&M(Qf,R.ADD_URI_SAFE_ATTR,Ct),R.FORBID_CONTENTS&&(Ea===$m&&(Ea=C(Ea)),M(Ea,R.FORBID_CONTENTS,Ct)),Kf&&(kt["#text"]=!0),zi&&M(kt,["html","head","body"]),kt.table&&(M(kt,["tbody"]),delete Ro.tbody),h&&h(R),Oa=R)},Vm=M({},["mi","mo","mn","ms","mtext"]),qm=M({},["foreignobject","desc","title","annotation-xml"]),L4=M({},["title","style","font","a","script"]),ws=M({},G);M(ws,ie),M(ws,_);var Jf=M({},ae);M(Jf,q);var I4=function(R){var Y=Bo(R);(!Y||!Y.tagName)&&(Y={namespaceURI:Ta,tagName:"template"});var te=j(R.tagName),Ie=j(Y.tagName);return Zf[R.namespaceURI]?R.namespaceURI===xs?Y.namespaceURI===jr?te==="svg":Y.namespaceURI===ys?te==="svg"&&(Ie==="annotation-xml"||Vm[Ie]):!!ws[te]:R.namespaceURI===ys?Y.namespaceURI===jr?te==="math":Y.namespaceURI===xs?te==="math"&&qm[Ie]:!!Jf[te]:R.namespaceURI===jr?Y.namespaceURI===xs&&!qm[Ie]||Y.namespaceURI===ys&&!Vm[Ie]?!1:!Jf[te]&&(L4[te]||!ws[te]):!!(Hi==="application/xhtml+xml"&&Zf[R.namespaceURI]):!1},Dr=function(R){D(k.removed,{element:R});try{R.parentNode.removeChild(R)}catch{try{R.outerHTML=Po}catch{R.remove()}}},ed=function(R,Y){try{D(k.removed,{attribute:Y.getAttributeNode(R),from:Y})}catch{D(k.removed,{attribute:null,from:Y})}if(Y.removeAttribute(R),R==="is"&&!At[R])if(ka||bs)try{Dr(Y)}catch{}else try{Y.setAttribute(R,"")}catch{}},Gm=function(R){var Y,te;if(Gf)R=""+R;else{var Ie=U(R,/^[\r\n\t ]+/);te=Ie&&Ie[0]}Hi==="application/xhtml+xml"&&Ta===jr&&(R=''+R+"");var ln=vn?vn.createHTML(R):R;if(Ta===jr)try{Y=new Di().parseFromString(ln,Hi)}catch{}if(!Y||!Y.documentElement){Y=Lo.createDocument(Ta,"template",null);try{Y.documentElement.innerHTML=Yf?Po:ln}catch{}}var Ft=Y.body||Y.documentElement;return R&&te&&Ft.insertBefore(K.createTextNode(te),Ft.childNodes[0]||null),Ta===jr?Pe.call(Y,zi?"html":"body")[0]:zi?Y.documentElement:Ft},Km=function(R){return St.call(R.ownerDocument||R,R,qe.SHOW_ELEMENT|qe.SHOW_COMMENT|qe.SHOW_TEXT,null,!1)},R4=function(R){return R instanceof Ce&&(typeof R.nodeName!="string"||typeof R.textContent!="string"||typeof R.removeChild!="function"||!(R.attributes instanceof mr)||typeof R.removeAttribute!="function"||typeof R.setAttribute!="function"||typeof R.namespaceURI!="string"||typeof R.insertBefore!="function"||typeof R.hasChildNodes!="function")},No=function(R){return n(wt)==="object"?R instanceof wt:R&&n(R)==="object"&&typeof R.nodeType=="number"&&typeof R.nodeName=="string"},Mr=function(R,Y,te){tt[R]&&B(tt[R],function(Ie){Ie.call(k,Y,te,Oa)})},Qm=function(R){var Y;if(Mr("beforeSanitizeElements",R,null),R4(R)||L(/[\u0080-\uFFFF]/,R.nodeName))return Dr(R),!0;var te=Ct(R.nodeName);if(Mr("uponSanitizeElement",R,{tagName:te,allowedTags:kt}),R.hasChildNodes()&&!No(R.firstElementChild)&&(!No(R.content)||!No(R.content.firstElementChild))&&L(/<[/\w]/g,R.innerHTML)&&L(/<[/\w]/g,R.textContent)||te==="select"&&L(/