diff --git a/assets/index-7c58cc0c.js b/assets/index-46ea38b8.js similarity index 94% rename from assets/index-7c58cc0c.js rename to assets/index-46ea38b8.js index 9ef07ec..f41e774 100644 --- a/assets/index-7c58cc0c.js +++ b/assets/index-46ea38b8.js @@ -22,16 +22,16 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var cm=h,on=pv;function E(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"),dc=Object.prototype.hasOwnProperty,mv=/^[: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]*$/,B0={},U0={};function gv(e){return dc.call(U0,e)?!0:dc.call(B0,e)?!1:mv.test(e)?U0[e]=!0:(B0[e]=!0,!1)}function yv(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 vv(e,t,n,r){if(t===null||typeof t>"u"||yv(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 Mt(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ct[e]=new Mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ct[t]=new Mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ct[e]=new Mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ct[e]=new Mt(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){ct[e]=new Mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ct[e]=new Mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ct[e]=new Mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ct[e]=new Mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ct[e]=new Mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var zf=/[\-:]([a-z])/g;function Bf(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(zf,Bf);ct[t]=new Mt(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(zf,Bf);ct[t]=new Mt(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(zf,Bf);ct[t]=new Mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ct[e]=new Mt(e,1,!1,e.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ct[e]=new Mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Uf(e,t,n,r){var l=ct.hasOwnProperty(t)?ct[t]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dc=Object.prototype.hasOwnProperty,mv=/^[: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]*$/,B0={},U0={};function gv(e){return dc.call(U0,e)?!0:dc.call(B0,e)?!1:mv.test(e)?U0[e]=!0:(B0[e]=!0,!1)}function yv(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 vv(e,t,n,r){if(t===null||typeof t>"u"||yv(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 Mt(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ct[e]=new Mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ct[t]=new Mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ct[e]=new Mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ct[e]=new Mt(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){ct[e]=new Mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ct[e]=new Mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ct[e]=new Mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ct[e]=new Mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ct[e]=new Mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var zf=/[\-:]([a-z])/g;function Bf(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(zf,Bf);ct[t]=new Mt(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(zf,Bf);ct[t]=new Mt(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(zf,Bf);ct[t]=new Mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ct[e]=new Mt(e,1,!1,e.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ct[e]=new Mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Uf(e,t,n,r){var l=ct.hasOwnProperty(t)?ct[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var u=` -`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{ka=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ri(e):""}function wv(e){switch(e.tag){case 5:return ri(e.type);case 16:return ri("Lazy");case 13:return ri("Suspense");case 19:return ri("SuspenseList");case 0:case 2:case 15:return e=xa(e.type,!1),e;case 11:return e=xa(e.type.render,!1),e;case 1:return e=xa(e.type,!0),e;default:return""}}function gc(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 Yl:return"Fragment";case ql:return"Portal";case hc:return"Profiler";case Vf:return"StrictMode";case pc:return"Suspense";case mc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hm:return(e.displayName||"Context")+".Consumer";case dm:return(e._context.displayName||"Context")+".Provider";case Hf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jf:return t=e.displayName||null,t!==null?t:gc(e.type)||"Memo";case Ar:t=e._payload,e=e._init;try{return gc(e(t))}catch{}}return null}function _v(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 gc(t);case 8:return t===Vf?"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 qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sv(e){var t=mm(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ps(e){e._valueTracker||(e._valueTracker=Sv(e))}function gm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xs(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 yc(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function H0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qr(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 ym(e,t){t=t.checked,t!=null&&Uf(e,"checked",t,!1)}function vc(e,t){ym(e,t);var n=qr(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")?wc(e,t.type,n):t.hasOwnProperty("defaultValue")&&wc(e,t.type,qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function j0(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 wc(e,t,n){(t!=="number"||Xs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function co(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ms.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fi={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},Cv=["Webkit","ms","Moz","O"];Object.keys(fi).forEach(function(e){Cv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fi[t]=fi[e]})});function Sm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||fi.hasOwnProperty(e)&&fi[e]?(""+t).trim():t+"px"}function Cm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Sm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ev=Le({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 Cc(e,t){if(t){if(Ev[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Ec(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 kc=null;function Gf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xc=null,fo=null,ho=null;function Q0(e){if(e=Ji(e)){if(typeof xc!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Wu(t),xc(e.stateNode,e.type,t))}}function Em(e){fo?ho?ho.push(e):ho=[e]:fo=e}function km(){if(fo){var e=fo,t=ho;if(ho=fo=null,Q0(e),t)for(e=0;e>>=0,e===0?32:31-(Pv(e)/Ov|0)|0}var gs=64,ys=4194304;function oi(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 nu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=oi(s):(o&=i,o!==0&&(r=oi(o)))}else i=n&~l,i!==0?r=oi(i):o!==0&&(r=oi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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 Qi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Pn(t),e[t]=n}function Bv(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=hi),th=String.fromCharCode(32),nh=!1;function Gm(e,t){switch(e){case"keyup":return hw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xl=!1;function mw(e,t){switch(e){case"compositionend":return Wm(t);case"keypress":return t.which!==32?null:(nh=!0,th);case"textInput":return e=t.data,e===th&&nh?null:e;default:return null}}function gw(e,t){if(Xl)return e==="compositionend"||!Xf&&Gm(e,t)?(e=Hm(),Os=Zf=Rr=null,Xl=!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=ih(n)}}function Zm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qm(){for(var e=window,t=Xs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xs(e.document)}return t}function bf(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 xw(e){var t=qm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zm(n.ownerDocument.documentElement,n)){if(r!==null&&bf(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 l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=sh(n,o);var i=sh(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,bl=null,Dc=null,mi=null,Fc=!1;function uh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fc||bl==null||bl!==Xs(r)||(r=bl,"selectionStart"in r&&bf(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}),mi&&Ai(mi,r)||(mi=r,r=ou(Dc,"onSelect"),0no||(e.current=zc[no],zc[no]=null,no--)}function _e(e,t){no++,zc[no]=e.current,e.current=t}var Yr={},wt=ol(Yr),zt=ol(!1),Nl=Yr;function vo(e,t){var n=e.type.contextTypes;if(!n)return Yr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Bt(e){return e=e.childContextTypes,e!=null}function su(){Ne(zt),Ne(wt)}function mh(e,t,n){if(wt.current!==Yr)throw Error(E(168));_e(wt,t),_e(zt,n)}function o1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(E(108,_v(e)||"Unknown",l));return Le({},n,r)}function uu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yr,Nl=wt.current,_e(wt,e),_e(zt,zt.current),!0}function gh(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=o1(e,t,Nl),r.__reactInternalMemoizedMergedChildContext=e,Ne(zt),Ne(wt),_e(wt,e)):Ne(zt),_e(zt,n)}var pr=null,Qu=!1,Ba=!1;function i1(e){pr===null?pr=[e]:pr.push(e)}function $w(e){Qu=!0,i1(e)}function il(){if(!Ba&&pr!==null){Ba=!0;var e=0,t=de;try{var n=pr;for(de=1;e>=i,l-=i,gr=1<<32-Pn(t)+l|n<L?(ce=M,M=null):ce=M.sibling;var q=f(m,M,g[L],_);if(q===null){M===null&&(M=ce);break}e&&M&&q.alternate===null&&t(m,M),p=o(q,p,L),A===null?x=q:A.sibling=q,A=q,M=ce}if(L===g.length)return n(m,M),Ae&&hl(m,L),x;if(M===null){for(;LL?(ce=M,M=null):ce=M.sibling;var Je=f(m,M,q.value,_);if(Je===null){M===null&&(M=ce);break}e&&M&&Je.alternate===null&&t(m,M),p=o(Je,p,L),A===null?x=Je:A.sibling=Je,A=Je,M=ce}if(q.done)return n(m,M),Ae&&hl(m,L),x;if(M===null){for(;!q.done;L++,q=g.next())q=d(m,q.value,_),q!==null&&(p=o(q,p,L),A===null?x=q:A.sibling=q,A=q);return Ae&&hl(m,L),x}for(M=r(m,M);!q.done;L++,q=g.next())q=y(M,m,L,q.value,_),q!==null&&(e&&q.alternate!==null&&M.delete(q.key===null?L:q.key),p=o(q,p,L),A===null?x=q:A.sibling=q,A=q);return e&&M.forEach(function(Qt){return t(m,Qt)}),Ae&&hl(m,L),x}function R(m,p,g,_){if(typeof g=="object"&&g!==null&&g.type===Yl&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case hs:e:{for(var x=g.key,A=p;A!==null;){if(A.key===x){if(x=g.type,x===Yl){if(A.tag===7){n(m,A.sibling),p=l(A,g.props.children),p.return=m,m=p;break e}}else if(A.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ar&&Eh(x)===A.type){n(m,A.sibling),p=l(A,g.props),p.ref=Xo(m,A,g),p.return=m,m=p;break e}n(m,A);break}else t(m,A);A=A.sibling}g.type===Yl?(p=kl(g.props.children,m.mode,_,g.key),p.return=m,m=p):(_=js(g.type,g.key,g.props,null,m.mode,_),_.ref=Xo(m,p,g),_.return=m,m=_)}return i(m);case ql:e:{for(A=g.key;p!==null;){if(p.key===A)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=l(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Ka(g,m.mode,_),p.return=m,m=p}return i(m);case Ar:return A=g._init,R(m,p,A(g._payload),_)}if(li(g))return w(m,p,g,_);if(Ko(g))return C(m,p,g,_);ks(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=l(p,g),p.return=m,m=p):(n(m,p),p=Qa(g,m.mode,_),p.return=m,m=p),i(m)):n(m,p)}return R}var _o=p1(!0),m1=p1(!1),Zi={},lr=ol(Zi),Ri=ol(Zi),Pi=ol(Zi);function _l(e){if(e===Zi)throw Error(E(174));return e}function ud(e,t){switch(_e(Pi,t),_e(Ri,e),_e(lr,Zi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Sc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Sc(t,e)}Ne(lr),_e(lr,t)}function So(){Ne(lr),Ne(Ri),Ne(Pi)}function g1(e){_l(Pi.current);var t=_l(lr.current),n=Sc(t,e.type);t!==n&&(_e(Ri,e),_e(lr,n))}function ad(e){Ri.current===e&&(Ne(lr),Ne(Ri))}var Pe=ol(0);function pu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ua=[];function cd(){for(var e=0;en?n:4,e(!0);var r=Va.transition;Va.transition={};try{e(!1),t()}finally{de=n,Va.transition=r}}function F1(){return _n().memoizedState}function Vw(e,t,n){var r=jr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},R1(e))P1(t,n);else if(n=c1(e,t,n,r),n!==null){var l=It();On(n,e,r,l),O1(n,t,r)}}function Hw(e,t,n){var r=jr(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(R1(e))P1(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,zn(s,i)){var u=t.interleaved;u===null?(l.next=l,id(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=c1(e,t,l,r),n!==null&&(l=It(),On(n,e,r,l),O1(n,t,r))}}function R1(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function P1(e,t){gi=mu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function O1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qf(e,n)}}var gu={readContext:wn,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},jw={readContext:wn,useCallback:function(e,t){return Yn().memoizedState=[e,t===void 0?null:t],e},useContext:wn,useEffect:xh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bs(4194308,4,I1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bs(4,2,e,t)},useMemo:function(e,t){var n=Yn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yn();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=Vw.bind(null,Oe,e),[r.memoizedState,e]},useRef:function(e){var t=Yn();return e={current:e},t.memoizedState=e},useState:kh,useDebugValue:md,useDeferredValue:function(e){return Yn().memoizedState=e},useTransition:function(){var e=kh(!1),t=e[0];return e=Uw.bind(null,e[1]),Yn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oe,l=Yn();if(Ae){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),lt===null)throw Error(E(349));Tl&30||w1(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,xh(S1.bind(null,r,o,e),[e]),r.flags|=2048,$i(9,_1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Yn(),t=lt.identifierPrefix;if(Ae){var n=yr,r=gr;n=(r&~(1<<32-Pn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Oi++,0")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{ka=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ri(e):""}function wv(e){switch(e.tag){case 5:return ri(e.type);case 16:return ri("Lazy");case 13:return ri("Suspense");case 19:return ri("SuspenseList");case 0:case 2:case 15:return e=xa(e.type,!1),e;case 11:return e=xa(e.type.render,!1),e;case 1:return e=xa(e.type,!0),e;default:return""}}function gc(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 Yl:return"Fragment";case ql:return"Portal";case hc:return"Profiler";case Vf:return"StrictMode";case pc:return"Suspense";case mc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hm:return(e.displayName||"Context")+".Consumer";case dm:return(e._context.displayName||"Context")+".Provider";case Hf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jf:return t=e.displayName||null,t!==null?t:gc(e.type)||"Memo";case Ar:t=e._payload,e=e._init;try{return gc(e(t))}catch{}}return null}function _v(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 gc(t);case 8:return t===Vf?"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 qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sv(e){var t=mm(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ps(e){e._valueTracker||(e._valueTracker=Sv(e))}function gm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xs(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 yc(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function H0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qr(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 ym(e,t){t=t.checked,t!=null&&Uf(e,"checked",t,!1)}function vc(e,t){ym(e,t);var n=qr(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")?wc(e,t.type,n):t.hasOwnProperty("defaultValue")&&wc(e,t.type,qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function j0(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 wc(e,t,n){(t!=="number"||Xs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function co(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ms.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fi={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},Cv=["Webkit","ms","Moz","O"];Object.keys(fi).forEach(function(e){Cv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fi[t]=fi[e]})});function Sm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||fi.hasOwnProperty(e)&&fi[e]?(""+t).trim():t+"px"}function Cm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Sm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ev=Le({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 Cc(e,t){if(t){if(Ev[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Ec(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 kc=null;function Gf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xc=null,fo=null,ho=null;function Q0(e){if(e=Ji(e)){if(typeof xc!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Wu(t),xc(e.stateNode,e.type,t))}}function Em(e){fo?ho?ho.push(e):ho=[e]:fo=e}function km(){if(fo){var e=fo,t=ho;if(ho=fo=null,Q0(e),t)for(e=0;e>>=0,e===0?32:31-(Pv(e)/Ov|0)|0}var gs=64,ys=4194304;function oi(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 nu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=oi(s):(o&=i,o!==0&&(r=oi(o)))}else i=n&~l,i!==0?r=oi(i):o!==0&&(r=oi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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 Qi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Pn(t),e[t]=n}function Bv(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=hi),th=String.fromCharCode(32),nh=!1;function Gm(e,t){switch(e){case"keyup":return hw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xl=!1;function mw(e,t){switch(e){case"compositionend":return Wm(t);case"keypress":return t.which!==32?null:(nh=!0,th);case"textInput":return e=t.data,e===th&&nh?null:e;default:return null}}function gw(e,t){if(Xl)return e==="compositionend"||!Xf&&Gm(e,t)?(e=Hm(),Os=Zf=Rr=null,Xl=!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=ih(n)}}function Zm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qm(){for(var e=window,t=Xs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xs(e.document)}return t}function bf(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 xw(e){var t=qm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zm(n.ownerDocument.documentElement,n)){if(r!==null&&bf(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 l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=sh(n,o);var i=sh(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,bl=null,Dc=null,mi=null,Fc=!1;function uh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fc||bl==null||bl!==Xs(r)||(r=bl,"selectionStart"in r&&bf(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}),mi&&Ai(mi,r)||(mi=r,r=ou(Dc,"onSelect"),0no||(e.current=zc[no],zc[no]=null,no--)}function _e(e,t){no++,zc[no]=e.current,e.current=t}var Yr={},wt=ol(Yr),zt=ol(!1),Nl=Yr;function vo(e,t){var n=e.type.contextTypes;if(!n)return Yr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Bt(e){return e=e.childContextTypes,e!=null}function su(){Ne(zt),Ne(wt)}function mh(e,t,n){if(wt.current!==Yr)throw Error(E(168));_e(wt,t),_e(zt,n)}function o1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(E(108,_v(e)||"Unknown",l));return Le({},n,r)}function uu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yr,Nl=wt.current,_e(wt,e),_e(zt,zt.current),!0}function gh(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=o1(e,t,Nl),r.__reactInternalMemoizedMergedChildContext=e,Ne(zt),Ne(wt),_e(wt,e)):Ne(zt),_e(zt,n)}var mr=null,Qu=!1,Ba=!1;function i1(e){mr===null?mr=[e]:mr.push(e)}function $w(e){Qu=!0,i1(e)}function il(){if(!Ba&&mr!==null){Ba=!0;var e=0,t=de;try{var n=mr;for(de=1;e>=i,l-=i,yr=1<<32-Pn(t)+l|n<L?(ce=M,M=null):ce=M.sibling;var q=f(m,M,g[L],_);if(q===null){M===null&&(M=ce);break}e&&M&&q.alternate===null&&t(m,M),p=o(q,p,L),A===null?x=q:A.sibling=q,A=q,M=ce}if(L===g.length)return n(m,M),Ae&&hl(m,L),x;if(M===null){for(;LL?(ce=M,M=null):ce=M.sibling;var Je=f(m,M,q.value,_);if(Je===null){M===null&&(M=ce);break}e&&M&&Je.alternate===null&&t(m,M),p=o(Je,p,L),A===null?x=Je:A.sibling=Je,A=Je,M=ce}if(q.done)return n(m,M),Ae&&hl(m,L),x;if(M===null){for(;!q.done;L++,q=g.next())q=d(m,q.value,_),q!==null&&(p=o(q,p,L),A===null?x=q:A.sibling=q,A=q);return Ae&&hl(m,L),x}for(M=r(m,M);!q.done;L++,q=g.next())q=y(M,m,L,q.value,_),q!==null&&(e&&q.alternate!==null&&M.delete(q.key===null?L:q.key),p=o(q,p,L),A===null?x=q:A.sibling=q,A=q);return e&&M.forEach(function(Qt){return t(m,Qt)}),Ae&&hl(m,L),x}function R(m,p,g,_){if(typeof g=="object"&&g!==null&&g.type===Yl&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case hs:e:{for(var x=g.key,A=p;A!==null;){if(A.key===x){if(x=g.type,x===Yl){if(A.tag===7){n(m,A.sibling),p=l(A,g.props.children),p.return=m,m=p;break e}}else if(A.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ar&&Eh(x)===A.type){n(m,A.sibling),p=l(A,g.props),p.ref=Xo(m,A,g),p.return=m,m=p;break e}n(m,A);break}else t(m,A);A=A.sibling}g.type===Yl?(p=kl(g.props.children,m.mode,_,g.key),p.return=m,m=p):(_=js(g.type,g.key,g.props,null,m.mode,_),_.ref=Xo(m,p,g),_.return=m,m=_)}return i(m);case ql:e:{for(A=g.key;p!==null;){if(p.key===A)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=l(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Ka(g,m.mode,_),p.return=m,m=p}return i(m);case Ar:return A=g._init,R(m,p,A(g._payload),_)}if(li(g))return w(m,p,g,_);if(Ko(g))return C(m,p,g,_);ks(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=l(p,g),p.return=m,m=p):(n(m,p),p=Qa(g,m.mode,_),p.return=m,m=p),i(m)):n(m,p)}return R}var _o=p1(!0),m1=p1(!1),Zi={},lr=ol(Zi),Ri=ol(Zi),Pi=ol(Zi);function _l(e){if(e===Zi)throw Error(E(174));return e}function ud(e,t){switch(_e(Pi,t),_e(Ri,e),_e(lr,Zi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Sc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Sc(t,e)}Ne(lr),_e(lr,t)}function So(){Ne(lr),Ne(Ri),Ne(Pi)}function g1(e){_l(Pi.current);var t=_l(lr.current),n=Sc(t,e.type);t!==n&&(_e(Ri,e),_e(lr,n))}function ad(e){Ri.current===e&&(Ne(lr),Ne(Ri))}var Pe=ol(0);function pu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ua=[];function cd(){for(var e=0;en?n:4,e(!0);var r=Va.transition;Va.transition={};try{e(!1),t()}finally{de=n,Va.transition=r}}function F1(){return _n().memoizedState}function Vw(e,t,n){var r=jr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},R1(e))P1(t,n);else if(n=c1(e,t,n,r),n!==null){var l=It();On(n,e,r,l),O1(n,t,r)}}function Hw(e,t,n){var r=jr(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(R1(e))P1(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,zn(s,i)){var u=t.interleaved;u===null?(l.next=l,id(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=c1(e,t,l,r),n!==null&&(l=It(),On(n,e,r,l),O1(n,t,r))}}function R1(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function P1(e,t){gi=mu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function O1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qf(e,n)}}var gu={readContext:wn,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},jw={readContext:wn,useCallback:function(e,t){return Yn().memoizedState=[e,t===void 0?null:t],e},useContext:wn,useEffect:xh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bs(4194308,4,I1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bs(4,2,e,t)},useMemo:function(e,t){var n=Yn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yn();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=Vw.bind(null,Oe,e),[r.memoizedState,e]},useRef:function(e){var t=Yn();return e={current:e},t.memoizedState=e},useState:kh,useDebugValue:md,useDeferredValue:function(e){return Yn().memoizedState=e},useTransition:function(){var e=kh(!1),t=e[0];return e=Uw.bind(null,e[1]),Yn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oe,l=Yn();if(Ae){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),lt===null)throw Error(E(349));Tl&30||w1(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,xh(S1.bind(null,r,o,e),[e]),r.flags|=2048,$i(9,_1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Yn(),t=lt.identifierPrefix;if(Ae){var n=vr,r=yr;n=(r&~(1<<32-Pn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Oi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[tr]=t,e[Fi]=r,G1(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ec(n,r),n){case"dialog":ke("cancel",e),ke("close",e),l=r;break;case"iframe":case"object":case"embed":ke("load",e),l=r;break;case"video":case"audio":for(l=0;lEo&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304)}else{if(!r)if(e=pu(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Ae)return ht(t),null}else 2*He()-o.renderingStartTime>Eo&&n!==1073741824&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=He(),t.sibling=null,n=Pe.current,_e(Pe,r?n&1|2:n&1),t):(ht(t),null);case 22:case 23:return Sd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Yw(e,t){switch(td(t),t.tag){case 1:return Bt(t.type)&&su(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return So(),Ne(zt),Ne(wt),cd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ad(t),null;case 13:if(Ne(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne(Pe),null;case 4:return So(),null;case 10:return od(t.type._context),null;case 22:case 23:return Sd(),null;case 24:return null;default:return null}}var Ns=!1,gt=!1,Xw=typeof WeakSet=="function"?WeakSet:Set,P=null;function io(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ze(e,t,r)}else n.current=null}function qc(e,t,n){try{n()}catch(r){ze(e,t,r)}}var Ph=!1;function bw(e,t){if(Rc=ru,e=qm(),bf(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 l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,c=0,d=e,f=null;t:for(;;){for(var y;d!==n||l!==0&&d.nodeType!==3||(s=i+l),d!==o||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(y=d.firstChild)!==null;)f=d,d=y;for(;;){if(d===e)break t;if(f===n&&++a===l&&(s=i),f===o&&++c===r&&(u=i),(y=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=y}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pc={focusedElem:e,selectionRange:n},ru=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var C=w.memoizedProps,R=w.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?C:Tn(t.type,C),R);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(_){ze(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return w=Ph,Ph=!1,w}function yi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&qc(t,n,o)}l=l.next}while(l!==r)}}function Zu(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 Yc(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 K1(e){var t=e.alternate;t!==null&&(e.alternate=null,K1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tr],delete t[Fi],delete t[$c],delete t[Ow],delete t[Lw])),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 J1(e){return e.tag===5||e.tag===3||e.tag===4}function Oh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||J1(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 Xc(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=iu));else if(r!==4&&(e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}function bc(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(bc(e,t,n),e=e.sibling;e!==null;)bc(e,t,n),e=e.sibling}var it=null,An=!1;function Tr(e,t,n){for(n=n.child;n!==null;)Z1(e,t,n),n=n.sibling}function Z1(e,t,n){if(rr&&typeof rr.onCommitFiberUnmount=="function")try{rr.onCommitFiberUnmount(Vu,n)}catch{}switch(n.tag){case 5:gt||io(n,t);case 6:var r=it,l=An;it=null,Tr(e,t,n),it=r,An=l,it!==null&&(An?(e=it,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):it.removeChild(n.stateNode));break;case 18:it!==null&&(An?(e=it,n=n.stateNode,e.nodeType===8?za(e.parentNode,n):e.nodeType===1&&za(e,n),Ii(e)):za(it,n.stateNode));break;case 4:r=it,l=An,it=n.stateNode.containerInfo,An=!0,Tr(e,t,n),it=r,An=l;break;case 0:case 11:case 14:case 15:if(!gt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&qc(n,t,i),l=l.next}while(l!==r)}Tr(e,t,n);break;case 1:if(!gt&&(io(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ze(n,t,s)}Tr(e,t,n);break;case 21:Tr(e,t,n);break;case 22:n.mode&1?(gt=(r=gt)||n.memoizedState!==null,Tr(e,t,n),gt=r):Tr(e,t,n);break;default:Tr(e,t,n)}}function Lh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xw),t.forEach(function(r){var l=u_.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Nn(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=He()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*t_(r/1960))-r,10e?16:e,Pr===null)var r=!1;else{if(e=Pr,Pr=null,wu=0,ue&6)throw Error(E(331));var l=ue;for(ue|=4,P=e.current;P!==null;){var o=P,i=o.child;if(P.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uHe()-wd?El(e,0):vd|=n),Ut(e,t)}function rg(e,t){t===0&&(e.mode&1?(t=ys,ys<<=1,!(ys&130023424)&&(ys=4194304)):t=1);var n=It();e=Cr(e,t),e!==null&&(Qi(e,t,n),Ut(e,n))}function s_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rg(e,n)}function u_(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),rg(e,n)}var lg;lg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||zt.current)Lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Lt=!1,Zw(e,t,n);Lt=!!(e.flags&131072)}else Lt=!1,Ae&&t.flags&1048576&&s1(t,cu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var l=vo(t,wt.current);mo(t,n),l=dd(null,t,r,e,l,n);var o=hd();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Bt(r)?(o=!0,uu(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,sd(t),l.updater=Ku,t.stateNode=l,l._reactInternals=t,jc(t,r,e,n),t=Qc(null,t,r,!0,o,n)):(t.tag=0,Ae&&o&&ed(t),Ct(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=c_(r),e=Tn(r,e),l){case 0:t=Wc(null,t,r,e,n);break e;case 1:t=Dh(null,t,r,e,n);break e;case 11:t=Ah(null,t,r,e,n);break e;case 14:t=Mh(null,t,r,Tn(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Wc(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Dh(e,t,r,l,n);case 3:e:{if(V1(t),e===null)throw Error(E(387));r=t.pendingProps,o=t.memoizedState,l=o.element,f1(e,t),hu(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=Co(Error(E(423)),t),t=Fh(e,t,r,n,l);break e}else if(r!==l){l=Co(Error(E(424)),t),t=Fh(e,t,r,n,l);break e}else for(tn=Ur(t.stateNode.containerInfo.firstChild),rn=t,Ae=!0,Mn=null,n=m1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===l){t=Er(e,t,n);break e}Ct(e,t,r,n)}t=t.child}return t;case 5:return g1(t),e===null&&Uc(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Oc(r,l)?i=null:o!==null&&Oc(r,o)&&(t.flags|=32),U1(e,t),Ct(e,t,i,n),t.child;case 6:return e===null&&Uc(t),null;case 13:return H1(e,t,n);case 4:return ud(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_o(t,null,r,n):Ct(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Ah(e,t,r,l,n);case 7:return Ct(e,t,t.pendingProps,n),t.child;case 8:return Ct(e,t,t.pendingProps.children,n),t.child;case 12:return Ct(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,_e(fu,r._currentValue),r._currentValue=i,o!==null)if(zn(o.value,i)){if(o.children===l.children&&!zt.current){t=Er(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=wr(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Vc(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(E(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Vc(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Ct(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,mo(t,n),l=wn(l),r=r(l),t.flags|=1,Ct(e,t,r,n),t.child;case 14:return r=t.type,l=Tn(r,t.pendingProps),l=Tn(r.type,l),Mh(e,t,r,l,n);case 15:return z1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Us(e,t),t.tag=1,Bt(r)?(e=!0,uu(t)):e=!1,mo(t,n),h1(t,r,l),jc(t,r,l,n),Qc(null,t,r,!0,e,n);case 19:return j1(e,t,n);case 22:return B1(e,t,n)}throw Error(E(156,t.tag))};function og(e,t){return Dm(e,t)}function a_(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 pn(e,t,n,r){return new a_(e,t,n,r)}function Ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function c_(e){if(typeof e=="function")return Ed(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hf)return 11;if(e===jf)return 14}return 2}function Gr(e,t){var n=e.alternate;return n===null?(n=pn(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 js(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Ed(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yl:return kl(n.children,l,o,t);case Vf:i=8,l|=8;break;case hc:return e=pn(12,n,t,l|2),e.elementType=hc,e.lanes=o,e;case pc:return e=pn(13,n,t,l),e.elementType=pc,e.lanes=o,e;case mc:return e=pn(19,n,t,l),e.elementType=mc,e.lanes=o,e;case pm:return Yu(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dm:i=10;break e;case hm:i=9;break e;case Hf:i=11;break e;case jf:i=14;break e;case Ar:i=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=pn(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function kl(e,t,n,r){return e=pn(7,e,r,t),e.lanes=n,e}function Yu(e,t,n,r){return e=pn(22,e,r,t),e.elementType=pm,e.lanes=n,e.stateNode={isHidden:!1},e}function Qa(e,t,n){return e=pn(6,e,null,t),e.lanes=n,e}function Ka(e,t,n){return t=pn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function f_(e,t,n,r,l){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=Ia(0),this.expirationTimes=Ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ia(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function kd(e,t,n,r,l,o,i,s,u){return e=new f_(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=pn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},sd(o),e}function d_(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ag)}catch(e){console.error(e)}}ag(),bp.exports=sn;var y_=bp.exports,cg,Gh=y_;cg=Gh.createRoot,Gh.hydrateRoot;class ko{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return yt(this.value)}Equals(t){return t==null?!1:me(this.value,t instanceof ko?t.value:t)}CompareTo(t){return t==null?1:mn(this.value,t instanceof ko?t.value:t)}}function Se(e){if(e==null)throw new Error("Option has no value");return e instanceof ko?e.value:e}function kr(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function v_(e){return e!=null&&typeof e=="object"&&Symbol.iterator in e}function w_(e){return e!=null&&typeof e.GetEnumerator=="function"}function __(e){return e!=null&&typeof e.CompareTo=="function"}function S_(e){return e!=null&&typeof e.Equals=="function"}function fg(e){return e!=null&&typeof e.GetHashCode=="function"}function C_(e){return e!=null&&typeof e.Dispose=="function"}function ye(e){C_(e)&&e.Dispose()}function Ke(){return null}function Cu(e,t){var n,r;return((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===((r=Object.getPrototypeOf(t))===null||r===void 0?void 0:r.constructor)}class E_{constructor(t){this.iter=t,this.current=Ke()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ce(e){return w_(e)?e.GetEnumerator():new E_(e[Symbol.iterator]())}function zo(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}class Ze{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Xn(e,t){let n=e.toString(10);for(;n.length(t<<5)+t^n)}function k_(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Bi(e);case"string":return Td(e);default:return Bi(vr.id(e))}}function x_(e){return fg(e)?e.GetHashCode():k_(e)}function N_(e){return e.getTime()}function I_(e){const t=e.length,n=new Array(t);for(let r=0;ryt(r));return Bo(n)}else return Bi(vr.id(e))}}}function Ja(e){return x_(e)}function sf(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r1)return n;const r=(...l)=>{let o=n;for(let i=0;it===1?n(...e.concat([r])):Ad(e.concat([r]),t-1,n)}function R_(e,t){if(t==null)return t;const n=Se(t);return n.length===1?n:Ui in n?n[Ui]:Ad([],e,n)}function na(e,t,n){if(t!=null)if(Ui in t){t=t[Ui];for(let r=0;ro+" = "+Ht(i,t+1)).join(` +`+o.stack}return{value:e,source:t,stack:l,digest:null}}function Ga(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Gc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Qw=typeof WeakMap=="function"?WeakMap:Map;function L1(e,t,n){n=_r(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){vu||(vu=!0,ef=r),Gc(e,t)},n}function $1(e,t,n){n=_r(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Gc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Gc(e,t),typeof r!="function"&&(Hr===null?Hr=new Set([this]):Hr.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Nh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qw;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=i_.bind(null,e,t,n),t.then(e,e))}function Ih(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 Th(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,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=_r(-1,1),t.tag=2,Vr(n,t,1))),n.lanes|=1),e)}var Kw=Ir.ReactCurrentOwner,Lt=!1;function Ct(e,t,n,r){t.child=e===null?m1(t,null,n,r):_o(t,e.child,n,r)}function Ah(e,t,n,r,l){n=n.render;var o=t.ref;return mo(t,l),r=dd(e,t,n,r,o,l),n=hd(),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,kr(e,t,l)):(Ae&&n&&ed(t),t.flags|=1,Ct(e,t,r,l),t.child)}function Mh(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!Ed(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,z1(e,t,o,r,l)):(e=js(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ai,n(i,r)&&e.ref===t.ref)return kr(e,t,l)}return t.flags|=1,e=Gr(o,r),e.ref=t.ref,e.return=t,t.child=e}function z1(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(Ai(o,r)&&e.ref===t.ref)if(Lt=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(Lt=!0);else return t.lanes=e.lanes,kr(e,t,l)}return Wc(e,t,n,r,l)}function B1(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_e(so,bt),bt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_e(so,bt),bt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,_e(so,bt),bt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,_e(so,bt),bt|=r;return Ct(e,t,l,n),t.child}function U1(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wc(e,t,n,r,l){var o=Bt(n)?Nl:wt.current;return o=vo(t,o),mo(t,l),n=dd(e,t,n,r,o,l),r=hd(),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,kr(e,t,l)):(Ae&&r&&ed(t),t.flags|=1,Ct(e,t,n,l),t.child)}function Dh(e,t,n,r,l){if(Bt(n)){var o=!0;uu(t)}else o=!1;if(mo(t,l),t.stateNode===null)Us(e,t),h1(t,n,r),jc(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var u=i.context,a=n.contextType;typeof a=="object"&&a!==null?a=wn(a):(a=Bt(n)?Nl:wt.current,a=vo(t,a));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||u!==a)&&Ch(t,i,r,a),Mr=!1;var f=t.memoizedState;i.state=f,hu(t,r,i,l),u=t.memoizedState,s!==r||f!==u||zt.current||Mr?(typeof c=="function"&&(Hc(t,n,c,r),u=t.memoizedState),(s=Mr||Sh(t,n,s,r,f,u,a))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=a,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,f1(e,t),s=t.memoizedProps,a=t.type===t.elementType?s:Tn(t.type,s),i.props=a,d=t.pendingProps,f=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=wn(u):(u=Bt(n)?Nl:wt.current,u=vo(t,u));var y=n.getDerivedStateFromProps;(c=typeof y=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==u)&&Ch(t,i,r,u),Mr=!1,f=t.memoizedState,i.state=f,hu(t,r,i,l);var w=t.memoizedState;s!==d||f!==w||zt.current||Mr?(typeof y=="function"&&(Hc(t,n,y,r),w=t.memoizedState),(a=Mr||Sh(t,n,a,r,f,w,u)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,w,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,w,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),i.props=r,i.state=w,i.context=u,r=a):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Qc(e,t,n,r,o,l)}function Qc(e,t,n,r,l,o){U1(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&gh(t,n,!1),kr(e,t,o);r=t.stateNode,Kw.current=t;var s=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=_o(t,e.child,null,o),t.child=_o(t,null,s,o)):Ct(e,t,s,o),t.memoizedState=r.state,l&&gh(t,n,!0),t.child}function V1(e){var t=e.stateNode;t.pendingContext?mh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mh(e,t.context,!1),ud(e,t.containerInfo)}function Fh(e,t,n,r,l){return wo(),nd(l),t.flags|=256,Ct(e,t,n,r),t.child}var Kc={dehydrated:null,treeContext:null,retryLane:0};function Jc(e){return{baseLanes:e,cachePool:null,transitions:null}}function H1(e,t,n){var r=t.pendingProps,l=Pe.current,o=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),_e(Pe,l&1),e===null)return Uc(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):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Yu(i,r,0,null),e=kl(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Jc(n),t.memoizedState=Kc,e):gd(t,i));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return Jw(e,t,i,r,s,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Gr(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?o=Gr(s,o):(o=kl(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?Jc(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=Kc,r}return o=e.child,e=o.sibling,r=Gr(o,{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 gd(e,t){return t=Yu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xs(e,t,n,r){return r!==null&&nd(r),_o(t,e.child,null,n),e=gd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Jw(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=Ga(Error(E(422))),xs(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=Yu({mode:"visible",children:r.children},l,0,null),o=kl(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&_o(t,e.child,null,i),t.child.memoizedState=Jc(i),t.memoizedState=Kc,o);if(!(t.mode&1))return xs(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(E(419)),r=Ga(o,r,void 0),xs(e,t,i,r)}if(s=(i&e.childLanes)!==0,Lt||s){if(r=lt,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,Er(e,l),On(r,e,l,-1))}return Cd(),r=Ga(Error(E(421))),xs(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=s_.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,tn=Ur(l.nextSibling),rn=t,Ae=!0,Mn=null,e!==null&&(fn[dn++]=yr,fn[dn++]=vr,fn[dn++]=Il,yr=e.id,vr=e.overflow,Il=t),t=gd(t,r.children),t.flags|=4096,t)}function Rh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Vc(e.return,t,n)}function Wa(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function j1(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(Ct(e,t,r.children,n),r=Pe.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&&Rh(e,n,t);else if(e.tag===19)Rh(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(_e(Pe,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&pu(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Wa(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&pu(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Wa(t,!0,n,null,o);break;case"together":Wa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Us(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function kr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Al|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=Gr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Gr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Zw(e,t,n){switch(t.tag){case 3:V1(t),wo();break;case 5:g1(t);break;case 1:Bt(t.type)&&uu(t);break;case 4:ud(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;_e(fu,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(_e(Pe,Pe.current&1),t.flags|=128,null):n&t.child.childLanes?H1(e,t,n):(_e(Pe,Pe.current&1),e=kr(e,t,n),e!==null?e.sibling:null);_e(Pe,Pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return j1(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),_e(Pe,Pe.current),r)break;return null;case 22:case 23:return t.lanes=0,B1(e,t,n)}return kr(e,t,n)}var G1,Zc,W1,Q1;G1=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}};Zc=function(){};W1=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,_l(lr.current);var o=null;switch(n){case"input":l=yc(e,l),r=yc(e,r),o=[];break;case"select":l=Le({},l,{value:void 0}),r=Le({},r,{value:void 0}),o=[];break;case"textarea":l=_c(e,l),r=_c(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=iu)}Cc(n,r);var i;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var s=l[a];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Ci.hasOwnProperty(a)?o||(o=[]):(o=o||[]).push(a,null));for(a in r){var u=r[a];if(s=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&u!==s&&(u!=null||s!=null))if(a==="style")if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(o||(o=[]),o.push(a,n)),n=u;else a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(o=o||[]).push(a,u)):a==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(a,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(Ci.hasOwnProperty(a)?(u!=null&&a==="onScroll"&&ke("scroll",e),o||s===u||(o=[])):(o=o||[]).push(a,u))}n&&(o=o||[]).push("style",n);var a=o;(t.updateQueue=a)&&(t.flags|=4)}};Q1=function(e,t,n,r){n!==r&&(t.flags|=4)};function bo(e,t){if(!Ae)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 ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qw(e,t,n){var r=t.pendingProps;switch(td(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return Bt(t.type)&&su(),ht(t),null;case 3:return r=t.stateNode,So(),Ne(zt),Ne(wt),cd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Es(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Mn!==null&&(rf(Mn),Mn=null))),Zc(e,t),ht(t),null;case 5:ad(t);var l=_l(Pi.current);if(n=t.type,e!==null&&t.stateNode!=null)W1(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(E(166));return ht(t),null}if(e=_l(lr.current),Es(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[tr]=t,r[Fi]=o,e=(t.mode&1)!==0,n){case"dialog":ke("cancel",r),ke("close",r);break;case"iframe":case"object":case"embed":ke("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[tr]=t,e[Fi]=r,G1(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ec(n,r),n){case"dialog":ke("cancel",e),ke("close",e),l=r;break;case"iframe":case"object":case"embed":ke("load",e),l=r;break;case"video":case"audio":for(l=0;lEo&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304)}else{if(!r)if(e=pu(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Ae)return ht(t),null}else 2*He()-o.renderingStartTime>Eo&&n!==1073741824&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=He(),t.sibling=null,n=Pe.current,_e(Pe,r?n&1|2:n&1),t):(ht(t),null);case 22:case 23:return Sd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Yw(e,t){switch(td(t),t.tag){case 1:return Bt(t.type)&&su(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return So(),Ne(zt),Ne(wt),cd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ad(t),null;case 13:if(Ne(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne(Pe),null;case 4:return So(),null;case 10:return od(t.type._context),null;case 22:case 23:return Sd(),null;case 24:return null;default:return null}}var Ns=!1,gt=!1,Xw=typeof WeakSet=="function"?WeakSet:Set,P=null;function io(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ze(e,t,r)}else n.current=null}function qc(e,t,n){try{n()}catch(r){ze(e,t,r)}}var Ph=!1;function bw(e,t){if(Rc=ru,e=qm(),bf(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 l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,c=0,d=e,f=null;t:for(;;){for(var y;d!==n||l!==0&&d.nodeType!==3||(s=i+l),d!==o||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(y=d.firstChild)!==null;)f=d,d=y;for(;;){if(d===e)break t;if(f===n&&++a===l&&(s=i),f===o&&++c===r&&(u=i),(y=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=y}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pc={focusedElem:e,selectionRange:n},ru=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var C=w.memoizedProps,R=w.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?C:Tn(t.type,C),R);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(_){ze(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return w=Ph,Ph=!1,w}function yi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&qc(t,n,o)}l=l.next}while(l!==r)}}function Zu(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 Yc(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 K1(e){var t=e.alternate;t!==null&&(e.alternate=null,K1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tr],delete t[Fi],delete t[$c],delete t[Ow],delete t[Lw])),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 J1(e){return e.tag===5||e.tag===3||e.tag===4}function Oh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||J1(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 Xc(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=iu));else if(r!==4&&(e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}function bc(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(bc(e,t,n),e=e.sibling;e!==null;)bc(e,t,n),e=e.sibling}var it=null,An=!1;function Tr(e,t,n){for(n=n.child;n!==null;)Z1(e,t,n),n=n.sibling}function Z1(e,t,n){if(rr&&typeof rr.onCommitFiberUnmount=="function")try{rr.onCommitFiberUnmount(Vu,n)}catch{}switch(n.tag){case 5:gt||io(n,t);case 6:var r=it,l=An;it=null,Tr(e,t,n),it=r,An=l,it!==null&&(An?(e=it,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):it.removeChild(n.stateNode));break;case 18:it!==null&&(An?(e=it,n=n.stateNode,e.nodeType===8?za(e.parentNode,n):e.nodeType===1&&za(e,n),Ii(e)):za(it,n.stateNode));break;case 4:r=it,l=An,it=n.stateNode.containerInfo,An=!0,Tr(e,t,n),it=r,An=l;break;case 0:case 11:case 14:case 15:if(!gt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&qc(n,t,i),l=l.next}while(l!==r)}Tr(e,t,n);break;case 1:if(!gt&&(io(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ze(n,t,s)}Tr(e,t,n);break;case 21:Tr(e,t,n);break;case 22:n.mode&1?(gt=(r=gt)||n.memoizedState!==null,Tr(e,t,n),gt=r):Tr(e,t,n);break;default:Tr(e,t,n)}}function Lh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xw),t.forEach(function(r){var l=u_.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Nn(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=He()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*t_(r/1960))-r,10e?16:e,Pr===null)var r=!1;else{if(e=Pr,Pr=null,wu=0,ue&6)throw Error(E(331));var l=ue;for(ue|=4,P=e.current;P!==null;){var o=P,i=o.child;if(P.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uHe()-wd?El(e,0):vd|=n),Ut(e,t)}function rg(e,t){t===0&&(e.mode&1?(t=ys,ys<<=1,!(ys&130023424)&&(ys=4194304)):t=1);var n=It();e=Er(e,t),e!==null&&(Qi(e,t,n),Ut(e,n))}function s_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rg(e,n)}function u_(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),rg(e,n)}var lg;lg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||zt.current)Lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Lt=!1,Zw(e,t,n);Lt=!!(e.flags&131072)}else Lt=!1,Ae&&t.flags&1048576&&s1(t,cu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var l=vo(t,wt.current);mo(t,n),l=dd(null,t,r,e,l,n);var o=hd();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Bt(r)?(o=!0,uu(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,sd(t),l.updater=Ku,t.stateNode=l,l._reactInternals=t,jc(t,r,e,n),t=Qc(null,t,r,!0,o,n)):(t.tag=0,Ae&&o&&ed(t),Ct(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=c_(r),e=Tn(r,e),l){case 0:t=Wc(null,t,r,e,n);break e;case 1:t=Dh(null,t,r,e,n);break e;case 11:t=Ah(null,t,r,e,n);break e;case 14:t=Mh(null,t,r,Tn(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Wc(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Dh(e,t,r,l,n);case 3:e:{if(V1(t),e===null)throw Error(E(387));r=t.pendingProps,o=t.memoizedState,l=o.element,f1(e,t),hu(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=Co(Error(E(423)),t),t=Fh(e,t,r,n,l);break e}else if(r!==l){l=Co(Error(E(424)),t),t=Fh(e,t,r,n,l);break e}else for(tn=Ur(t.stateNode.containerInfo.firstChild),rn=t,Ae=!0,Mn=null,n=m1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===l){t=kr(e,t,n);break e}Ct(e,t,r,n)}t=t.child}return t;case 5:return g1(t),e===null&&Uc(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Oc(r,l)?i=null:o!==null&&Oc(r,o)&&(t.flags|=32),U1(e,t),Ct(e,t,i,n),t.child;case 6:return e===null&&Uc(t),null;case 13:return H1(e,t,n);case 4:return ud(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_o(t,null,r,n):Ct(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Ah(e,t,r,l,n);case 7:return Ct(e,t,t.pendingProps,n),t.child;case 8:return Ct(e,t,t.pendingProps.children,n),t.child;case 12:return Ct(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,_e(fu,r._currentValue),r._currentValue=i,o!==null)if(zn(o.value,i)){if(o.children===l.children&&!zt.current){t=kr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=_r(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Vc(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(E(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Vc(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Ct(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,mo(t,n),l=wn(l),r=r(l),t.flags|=1,Ct(e,t,r,n),t.child;case 14:return r=t.type,l=Tn(r,t.pendingProps),l=Tn(r.type,l),Mh(e,t,r,l,n);case 15:return z1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Tn(r,l),Us(e,t),t.tag=1,Bt(r)?(e=!0,uu(t)):e=!1,mo(t,n),h1(t,r,l),jc(t,r,l,n),Qc(null,t,r,!0,e,n);case 19:return j1(e,t,n);case 22:return B1(e,t,n)}throw Error(E(156,t.tag))};function og(e,t){return Dm(e,t)}function a_(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 pn(e,t,n,r){return new a_(e,t,n,r)}function Ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function c_(e){if(typeof e=="function")return Ed(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hf)return 11;if(e===jf)return 14}return 2}function Gr(e,t){var n=e.alternate;return n===null?(n=pn(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 js(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Ed(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yl:return kl(n.children,l,o,t);case Vf:i=8,l|=8;break;case hc:return e=pn(12,n,t,l|2),e.elementType=hc,e.lanes=o,e;case pc:return e=pn(13,n,t,l),e.elementType=pc,e.lanes=o,e;case mc:return e=pn(19,n,t,l),e.elementType=mc,e.lanes=o,e;case pm:return Yu(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dm:i=10;break e;case hm:i=9;break e;case Hf:i=11;break e;case jf:i=14;break e;case Ar:i=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=pn(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function kl(e,t,n,r){return e=pn(7,e,r,t),e.lanes=n,e}function Yu(e,t,n,r){return e=pn(22,e,r,t),e.elementType=pm,e.lanes=n,e.stateNode={isHidden:!1},e}function Qa(e,t,n){return e=pn(6,e,null,t),e.lanes=n,e}function Ka(e,t,n){return t=pn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function f_(e,t,n,r,l){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=Ia(0),this.expirationTimes=Ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ia(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function kd(e,t,n,r,l,o,i,s,u){return e=new f_(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=pn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},sd(o),e}function d_(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ag)}catch(e){console.error(e)}}ag(),bp.exports=sn;var y_=bp.exports,cg,Gh=y_;cg=Gh.createRoot,Gh.hydrateRoot;class ko{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return yt(this.value)}Equals(t){return t==null?!1:me(this.value,t instanceof ko?t.value:t)}CompareTo(t){return t==null?1:mn(this.value,t instanceof ko?t.value:t)}}function Se(e){if(e==null)throw new Error("Option has no value");return e instanceof ko?e.value:e}function xr(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function v_(e){return e!=null&&typeof e=="object"&&Symbol.iterator in e}function w_(e){return e!=null&&typeof e.GetEnumerator=="function"}function __(e){return e!=null&&typeof e.CompareTo=="function"}function S_(e){return e!=null&&typeof e.Equals=="function"}function fg(e){return e!=null&&typeof e.GetHashCode=="function"}function C_(e){return e!=null&&typeof e.Dispose=="function"}function ye(e){C_(e)&&e.Dispose()}function Ke(){return null}function Cu(e,t){var n,r;return((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===((r=Object.getPrototypeOf(t))===null||r===void 0?void 0:r.constructor)}class E_{constructor(t){this.iter=t,this.current=Ke()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ce(e){return w_(e)?e.GetEnumerator():new E_(e[Symbol.iterator]())}function zo(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}class Ze{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Xn(e,t){let n=e.toString(10);for(;n.length(t<<5)+t^n)}function k_(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Bi(e);case"string":return Td(e);default:return Bi(wr.id(e))}}function x_(e){return fg(e)?e.GetHashCode():k_(e)}function N_(e){return e.getTime()}function I_(e){const t=e.length,n=new Array(t);for(let r=0;ryt(r));return Bo(n)}else return Bi(wr.id(e))}}}function Ja(e){return x_(e)}function sf(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r1)return n;const r=(...l)=>{let o=n;for(let i=0;it===1?n(...e.concat([r])):Ad(e.concat([r]),t-1,n)}function R_(e,t){if(t==null)return t;const n=Se(t);return n.length===1?n:Ui in n?n[Ui]:Ad([],e,n)}function na(e,t,n){if(t!=null)if(Ui in t){t=t[Ui];for(let r=0;ro+" = "+Ht(i,t+1)).join(` `)+" }":(r=l==null?void 0:l.name)!==null&&r!==void 0?r:""}}return String(e)}function O_(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Ht(t[0]),r=n.indexOf(" ")>=0):n=t.map(l=>Ht(l)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class Hn{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return O_(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>yt(n));return t.splice(0,0,Bi(this.tag)),Bo(t)}Equals(t){return this===t?!0:Cu(this,t)&&this.tag===t.tag?dg(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Cu(this,t)?this.tag===t.tag?pg(this.fields,t.fields):this.tagt+" = "+Ht(n)).join(` - `)+" }"}function z_(e){const t=Object.values(e).map(n=>yt(n));return Bo(t)}function B_(e,t){if(e===t)return!0;if(Cu(e,t)){const n=Object.keys(e);for(let r=0;rt,this.setter=r=>{t=r})}}const sl=Symbol("numeric");function mg(e){return typeof e=="number"||(e==null?void 0:e[sl])}function V_(e,t){return typeof e=="number"?et?1:0:e.CompareTo(t)}function uf(e,t){return typeof e=="number"?e*t:e[sl]().multiply(t)}function Gs(e,t){return typeof e=="number"?e.toFixed(t):e[sl]().toFixed(t)}function Eu(e,t){return typeof e=="number"?e.toPrecision(t):e[sl]().toPrecision(t)}function ku(e,t){return typeof e=="number"?e.toExponential(t):e[sl]().toExponential(t)}function xu(e){return typeof e=="number"?(Number(e)>>>0).toString(16):e[sl]().toHex()}var ve={GetHashCode(){return Bo([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[sl](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},H_=28,j_=1,Dl=1e6,Wh=1e6,G_=-29,W_=29,Q_=!1,qi="[big.js] ",Vl=qi+"Invalid ",ra=Vl+"decimal places",K_=Vl+"rounding mode",gg=qi+"Division by zero",or=void 0,J_=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function yg(){function e(t){var n=this;if(!(n instanceof e))return t===or?yg():new e(t);if(t instanceof e)n.s=t.s,n.e=t.e,n.c=t.c.slice(),Z_(n);else{if(typeof t!="string"){if(e.strict===!0)throw TypeError(Vl+"number");t=t===0&&1/t<0?"-0":String(t)}q_(n,t)}n.constructor=e}return e.prototype=ve,e.DP=H_,e.RM=j_,e.NE=G_,e.PE=W_,e.strict=Q_,e}function Z_(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(n=>n);e.c=e.c.slice(t),e.e=e.e-t}}function q_(e,t){var n,r,l;if(!J_.test(t))throw Error(Vl+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),l=t.length,r=0;r=5||n===2&&(l[0]>5||l[0]===5&&(r||l[1]!==or))),l.length=1,r?(e.e=e.e-t+1,l[0]=1):l[0]=e.e=0;else if(ts>=t&&i>0)<0;if(r=n===1&&l[t]>=5||n===2&&(l[t]>5||l[t]===5&&(r||l[t+1]!==or||l[t-1]&1))||n===3&&(r||!o),l.length=t--,r)for(;++l[t]>9;)l[t]=0,t--||(++e.e,l.unshift(1));for(t=l.length;!l[--t];)l.pop()}return e}function Uo(e,t,n){var r=e.e,l=e.c.join(""),o=l.length;if(t)l=l.charAt(0)+(o>1?"."+l.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(r>0)if(++r>o)for(r-=o;r--;)l+="0";else r1&&(l=l.charAt(0)+"."+l.slice(1));return e.s<0&&n?"-"+l:l}ve.abs=function(){var e=new this.constructor(this);return e.s=1,e};ve.cmp=function(l){var t,n=this.constructor,r=new n(this),l=new n(l),o=r.c,i=l.c,s=r.s,u=l.s,a=r.e,c=l.e;if(!o[0]||!i[0])return o[0]?s:i[0]?-u:0;if(s!=u)return s;if(t=s<0,a!=c)return a>c^t?1:-1;for(u=Math.max(o.length,i.length),s=0;sc^t?1:-1;return 0};ve.div=function(r){var t=this.constructor,n=new t(this),r=new t(r),l=n.c,o=r.c,i=n.s==r.s?1:-1,s=t.DP;if(s!==~~s||s<0||s>Dl)throw Error(ra);if(!o[0])throw Error(gg);if(!l[0])return r.s=i,r.c=[r.e=0],r;var u,a,c,d,f,y=o.slice(),w=u=o.length,C=l.length,R=l.slice(0,u),m=R.length,p=r,g=p.c=[],_=0,x=s+(p.e=n.e-r.e)+1;for(p.s=i,i=x<0?0:x,y.unshift(0);m++m?1:-1;else for(f=-1,d=0;++fR[f]?1:-1;break}if(d<0){for(a=m==u?o:y;m;){if(R[--m]x&&ul(p,x,t.RM,R[0]!==or),p};ve.eq=function(e){return this.cmp(e)===0};ve.gt=function(e){return this.cmp(e)>0};ve.gte=function(e){return this.cmp(e)>-1};ve.lt=function(e){return this.cmp(e)<0};ve.lte=function(e){return this.cmp(e)<1};ve.minus=ve.sub=function(s){var t,n,r,l,o=this.constructor,i=new o(this),s=new o(s),u=i.s,a=s.s;if(u!=a)return s.s=-a,i.plus(s);var c=i.c.slice(),d=i.e,f=s.c,y=s.e;if(!c[0]||!f[0])return f[0]?s.s=-a:c[0]?s=new o(i):s.s=1,s;if(u=d-y){for((l=u<0)?(u=-u,r=c):(y=d,r=f),r.reverse(),a=u;a--;)r.push(0);r.reverse()}else for(n=((l=c.length0)for(;a--;)c[t++]=0;for(a=t;n>u;){if(c[--n]0?(a=s,r=c):(t=-t,r=u),r.reverse();t--;)r.push(0);r.reverse()}for(u.length-c.length<0&&(r=c,c=u,u=r),t=c.length,n=0;t;u[t]%=10)n=(u[--t]=u[t]+c[t]+n)/10|0;for(n&&(u.unshift(n),++a),t=u.length;u[--t]===0;)u.pop();return i.c=u,i.e=a,i};ve.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),l=new t("1"),o=e<0;if(e!==~~e||e<-Wh||e>Wh)throw Error(Vl+"exponent");for(o&&(e=-e);e&1&&(r=r.times(n)),e>>=1,!!e;)n=n.times(n);return o?l.div(r):r};ve.prec=function(e,t){if(e!==~~e||e<1||e>Dl)throw Error(Vl+"precision");return ul(new this.constructor(this),e,t)};ve.round=function(e,t){if(e===or)e=0;else if(e!==~~e||e<-Dl||e>Dl)throw Error(ra);return ul(new this.constructor(this),e+this.e+1,t)};ve.sqrt=function(){var e,t,n,r=this.constructor,l=new r(this),o=l.s,i=l.e,s=new r("0.5");if(!l.c[0])return new r(l);if(o<0)throw Error(qi+"No square root");o=Math.sqrt(l+""),o===0||o===1/0?(t=l.c.join(""),t.length+i&1||(t+="0"),o=Math.sqrt(t),i=((i+1)/2|0)-(i<0||i&1),e=new r((o==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+i)):e=new r(o+""),i=e.e+(r.DP+=4);do n=e,e=s.times(n.plus(l.div(n)));while(n.c.slice(0,i).join("")!==e.c.slice(0,i).join(""));return ul(e,(r.DP-=4)+e.e+1,r.RM)};ve.times=ve.mul=function(l){var t,n=this.constructor,r=new n(this),l=new n(l),o=r.c,i=l.c,s=o.length,u=i.length,a=r.e,c=l.e;if(l.s=r.s==l.s?1:-1,!o[0]||!i[0])return l.c=[l.e=0],l;for(l.e=a+c,sa;)u=t[c]+i[a]*o[c-a-1]+u,t[c--]=u%10,u=u/10|0;t[c]=u}for(u?++l.e:t.shift(),a=t.length;!t[--a];)t.pop();return l.c=t,l};ve.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==or){if(e!==~~e||e<0||e>Dl)throw Error(ra);for(n=ul(new n.constructor(n),++e,t);n.c.lengthDl)throw Error(ra);for(n=ul(new n.constructor(n),e+n.e+1,t),e=e+n.e+1;n.c.length=t.PE,!!e.c[0])};ve.toNumber=function(){var e=Number(Uo(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(qi+"Imprecise conversion");return e};ve.toPrecision=function(e,t){var n=this,r=n.constructor,l=n.c[0];if(e!==or){if(e!==~~e||e<1||e>Dl)throw Error(Vl+"precision");for(n=ul(new r(n),e,t);n.c.length=r.PE,!!l)};ve.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(qi+"valueOf disallowed");return Uo(e,e.e<=t.NE||e.e>=t.PE,!0)};var Nu=yg();const br=Nu;new br(0);new br(1);new br(-1);new br("79228162514264337593543950335");new br("-79228162514264337593543950335");function af(e){return e.toString()}var cf;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(cf||(cf={}));function Y_(e,t){const[,n,r,l]=e;return{sign:n||"",prefix:r||"",digits:l,radix:t}}function Qh(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function X_(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function b_(e,t){if(t&cf.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function vg(e,t,n){const l=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(l!=null){const[,,o,i]=l;if(n=n||b_(o,t),!X_(n).test(i))return Y_(l,n)}return null}function Rt(e,t,n,r,l){const o=vg(e,t,l);if(o!=null){let i=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(i)){const[s,u]=Qh(!0,r);!n&&o.radix!==10&&i>=s&&i<=u&&(i=i<<32-r>>32-r);const[a,c]=Qh(n,r);if(i>=a&&i<=c)return i}}throw new Error("Input string was not in a correct format.")}function e2(e,t,n,r,l){try{return l.contents=Rt(e,t,n,r),!0}catch{return!1}}function t2(e){return e===-2147483648?e:-e}var gn=null;try{gn=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function jn(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}jn.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e};jn.prototype.Equals=function(e){return en(this,e)};jn.prototype.CompareTo=function(e){return Yi(this,e)};jn.prototype.toString=function(e){return To(this,e)};jn.prototype.toJSON=function(){return To(this)};jn.prototype[sl]=function(){const e=this;return{multiply:t=>ln(e,t),toPrecision:t=>String(e)+0 .toPrecision(t).substr(1),toExponential:t=>String(e)+0 .toExponential(t).substr(1),toFixed:t=>String(e)+0 .toFixed(t).substr(1),toHex:()=>To(e.unsigned?e:y2(p2(e),!0),16)}};jn.prototype.__isLong__;Object.defineProperty(jn.prototype,"__isLong__",{value:!0});function Gn(e){return(e&&e.__isLong__)===!0}var Kh={},Jh={};function Hl(e,t){var n,r,l;return t?(e>>>=0,(l=0<=e&&e<256)&&(r=Jh[e],r)?r:(n=Me(e,(e|0)<0?-1:0,!0),l&&(Jh[e]=n),n)):(e|=0,(l=-128<=e&&e<128)&&(r=Kh[e],r)?r:(n=Me(e,e<0?-1:0,!1),l&&(Kh[e]=n),n))}function nn(e,t){if(isNaN(e))return t?Or:Rn;if(t){if(e<0)return Or;if(e>=wg)return o2}else{if(e<=-qh)return yn;if(e+1>=qh)return l2}return e<0?st(nn(-e,t)):Me(e%xo|0,e/xo|0,t)}function Me(e,t,n){return new jn(e,t,n)}var Iu=Math.pow;function Md(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return Rn;if(typeof t=="number"?(n=t,t=!1):t=!!t,n=n||10,n<2||360)throw Error("interior hyphen");if(r===0)return st(Md(e.substring(1),t,n));for(var l=nn(Iu(n,8)),o=Rn,i=0;i>>0:e.low}function Io(e){return e.unsigned?(e.high>>>0)*xo+(e.low>>>0):e.high*xo+(e.low>>>0)}function To(e,t){if(t=t||10,t<2||36>>0,c=a.toString(t);if(i=u,xl(i))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function xl(e){return e.high===0&&e.low===0}function hn(e){return!e.unsigned&&e.high<0}function bh(e){return(e.low&1)===1}function en(e,t){return Gn(t)||(t=al(t)),e.unsigned!==t.unsigned&&e.high>>>31===1&&t.high>>>31===1?!1:e.high===t.high&&e.low===t.low}function ep(e,t){return Yi(e,t)<0}function Za(e,t){return Yi(e,t)>0}function i2(e,t){return Yi(e,t)>=0}function Yi(e,t){if(Gn(t)||(t=al(t)),en(e,t))return 0;var n=hn(e),r=hn(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:hn(Rl(e,t))?-1:1}function st(e){return!e.unsigned&&en(e,yn)?yn:Fl(u2(e),si)}function Fl(e,t){Gn(t)||(t=al(t));var n=e.high>>>16,r=e.high&65535,l=e.low>>>16,o=e.low&65535,i=t.high>>>16,s=t.high&65535,u=t.low>>>16,a=t.low&65535,c=0,d=0,f=0,y=0;return y+=o+a,f+=y>>>16,y&=65535,f+=l+u,d+=f>>>16,f&=65535,d+=r+s,c+=d>>>16,d&=65535,c+=n+i,c&=65535,Me(f<<16|y,c<<16|d,e.unsigned)}function Rl(e,t){return Gn(t)||(t=al(t)),Fl(e,st(t))}function ln(e,t){if(xl(e))return e.unsigned?Or:Rn;if(Gn(t)||(t=al(t)),gn){var n=gn.mul(e.low,e.high,t.low,t.high);return Me(n,gn.get_high(),e.unsigned)}if(xl(t))return e.unsigned?Or:Rn;if(en(e,yn))return bh(t)?yn:Rn;if(en(t,yn))return bh(e)?yn:Rn;if(hn(e))return hn(t)?ln(st(e),st(t)):st(ln(st(e),t));if(hn(t))return st(ln(e,st(t)));if(ep(e,Yh)&&ep(t,Yh))return nn(Io(e)*Io(t),e.unsigned);var r=e.high>>>16,l=e.high&65535,o=e.low>>>16,i=e.low&65535,s=t.high>>>16,u=t.high&65535,a=t.low>>>16,c=t.low&65535,d=0,f=0,y=0,w=0;return w+=i*c,y+=w>>>16,w&=65535,y+=o*c,f+=y>>>16,y&=65535,y+=i*a,f+=y>>>16,y&=65535,f+=l*c,d+=f>>>16,f&=65535,f+=o*a,d+=f>>>16,f&=65535,f+=i*u,d+=f>>>16,f&=65535,d+=r*c+l*a+o*u+i*s,d&=65535,Me(y<<16|w,d<<16|f,e.unsigned)}function mr(e,t){if(Gn(t)||(t=al(t)),xl(t))throw Error("division by zero");if(gn){if(!e.unsigned&&e.high===-2147483648&&t.low===-1&&t.high===-1)return e;var n=(e.unsigned?gn.div_u:gn.div_s)(e.low,e.high,t.low,t.high);return Me(n,gn.get_high(),e.unsigned)}if(xl(e))return e.unsigned?Or:Rn;var r,l,o;if(e.unsigned){if(t.unsigned||(t=h2(t)),Za(t,e))return Or;if(Za(t,d2(e,1)))return r2;o=Or}else{if(en(e,yn)){if(en(t,si)||en(t,Xh))return yn;if(en(t,yn))return si;var i=f2(e,1);return r=c2(mr(i,t),1),en(r,Rn)?hn(t)?si:Xh:(l=Rl(e,ln(t,r)),o=Fl(r,mr(l,t)),o)}else if(en(t,yn))return e.unsigned?Or:Rn;if(hn(e))return hn(t)?mr(st(e),st(t)):st(mr(st(e),t));if(hn(t))return st(mr(e,st(t)));o=Rn}for(l=e;i2(l,t);){r=Math.max(1,Math.floor(Io(l)/Io(t)));for(var s=Math.ceil(Math.log(r)/Math.LN2),u=s<=48?1:Iu(2,s-48),a=nn(r),c=ln(a,t);hn(c)||Za(c,l);)r-=u,a=nn(r,e.unsigned),c=ln(a,t);xl(a)&&(a=si),o=Fl(o,a),l=Rl(l,c)}return o}function s2(e,t){if(Gn(t)||(t=al(t)),gn){var n=(e.unsigned?gn.rem_u:gn.rem_s)(e.low,e.high,t.low,t.high);return Me(n,gn.get_high(),e.unsigned)}return Rl(e,ln(mr(e,t),t))}function u2(e){return Me(~e.low,~e.high,e.unsigned)}function a2(e,t){return Gn(t)||(t=al(t)),Me(e.low&t.low,e.high&t.high,e.unsigned)}function c2(e,t){return Gn(t)&&(t=No(t)),(t&=63)===0?e:t<32?Me(e.low<>>32-t,e.unsigned):Me(0,e.low<>>t|e.high<<32-t,e.high>>t,e.unsigned):Me(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function d2(e,t){if(Gn(t)&&(t=No(t)),t&=63,t===0)return e;var n=e.high;if(t<32){var r=e.low;return Me(r>>>t|n<<32-t,n>>>t,e.unsigned)}else return Me(t===32?n:n>>>t-32,0,e.unsigned)}function h2(e){return e.unsigned?e:Me(e.low,e.high,!0)}function p2(e,t){return t?m2(e):g2(e)}function m2(e){var t=e.high,n=e.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}function g2(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,n>>>24,n>>>16&255,n>>>8&255,n&255]}function y2(e,t,n){return n?v2(e,t):w2(e,t)}function v2(e,t){return new jn(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}function w2(e,t){return new jn(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}const Vt=Fl,_2=Rl,Tt=ln,Sn=mr,S2=s2,_g=st,Vo=a2,C2=en,Xi=Yi,E2=Hl,ot=Me,Tu=nn,Bn=No,Sg=Io,tp=To;function k2(e,t,n){switch(t){case 2:return e?"1111111111111111111111111111111111111111111111111111111111111111":n?"1000000000000000000000000000000000000000000000000000000000000000":"111111111111111111111111111111111111111111111111111111111111111";case 8:return e?"1777777777777777777777":n?"1000000000000000000000":"777777777777777777777";case 10:return e?"18446744073709551615":n?"9223372036854775808":"9223372036854775807";case 16:return e?"FFFFFFFFFFFFFFFF":n?"8000000000000000":"7FFFFFFFFFFFFFFF";default:throw new Error("Invalid radix.")}}function Be(e,t,n){let r=e,l=0;switch(n){case 0:r=e<<24>>24,l=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,l=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,l=r;break;case 6:r=e>>>0;break}return Me(r,l>>31,t)}function Ws(e,t,n,r,l){const o=vg(e,t,l);if(o!=null){const i=(a,c)=>{const d=Math.max(a.length,c.length);return a.padStart(d,"0")<=c.padStart(d,"0")},s=o.sign==="-",u=k2(n||o.radix!==10,o.radix,s);if(i(o.digits.toUpperCase(),u))return e=s?o.sign+o.digits:o.digits,Md(e,n,o.radix)}throw new Error("Input string was not in a correct format.")}function x2(e,t,n,r,l){try{return l.contents=Ws(e,t,n,r),!0}catch{return!1}}function N2(e,t){return Tt(Vt(Vt(nn(e),621355968e5),t),1e4)}function I2(e){return Io(_2(Sn(e,1e4),621355968e5))}class T2{constructor(t,n,r,l){this.declaringType=t,this.tag=n,this.name=r,this.fields=l}}let fr=class{constructor(t,n,r,l,o,i,s){this.fullname=t,this.generics=n,this.construct=r,this.parent=l,this.fields=o,this.cases=i,this.enumCases=s}toString(){return Qe(this)}GetHashCode(){return Cg(this)}Equals(t){return Au(this,t)}};function jt(e){return e.generics!=null?e.generics:[]}function Cg(e){const t=Td(e.fullname),n=jt(e).map(Cg);return Bo([t,...n])}function Au(e,t){return e.fullname===""?t.fullname===""&&sf(Mu(e),Mu(t),([n,r],[l,o])=>n===l&&Au(r,o)):e.fullname===t.fullname&&sf(jt(e),jt(t),Au)}function bi(e,t,n,r){return new fr(e,t,n,r)}function es(e,t,n,r){return new fr(e,t,n,void 0,r)}function ts(e,t,n,r){const l=new fr(e,t,n,void 0,void 0,()=>{const o=n.prototype.cases();return r().map((i,s)=>new T2(l,s,o[s],i))});return l}function qa(e){return new fr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Pl(e){return new fr("[]",[e])}const Ol=new fr("System.String"),$t=new fr("System.Int32");function Ye(e){if(Array.isArray(e))return e[0];if(e instanceof fr){const t=la(e);if(t!=null)return Ye(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function Qe(e){const t=la(e);return t!=null?Qe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>Qe(n)).join(",")+"]"}function A2(e){return la(e)!=null}function la(e){var t;return e.fullname==="[]"&&((t=e.generics)===null||t===void 0?void 0:t.length)===1?e.generics[0]:void 0}function M2(e){return e.enumCases!=null&&e.enumCases.length>0}function D2(e){var t;return(t=e.generics)===null||t===void 0?void 0:t[0]}function Eg(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Mu(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function F2(e){if(kg(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function R2(e){if(Dd(e)&&e.generics!=null){const t=e.generics;return[t[0],t[1]]}else throw new Error(`${e.fullname} is not an F# function type`)}function P2(e){return e instanceof fr?e.cases!=null:e instanceof Hn}function O2(e){return e instanceof fr?e.fields!=null:e instanceof tt}function kg(e){return e.fullname.startsWith("System.Tuple")}function Dd(e){return e.fullname==="Microsoft.FSharp.Core.FSharpFunc`2"}function L2(e,t){const r=Eg(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function $2(e){return e.fields==null?[]:e.fields}function z2(e,t){return e[t[0]]}function qn(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return e.declaringType.construct!=null?new e.declaringType.construct(e.tag,t):{}}function B2(e,t){const n=Mu(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[l,o],i)=>(r[l]=t[i],r),{})}function Gt(e){return e==null||e instanceof ko?new ko(e):e}function xg(e){return e==null?[]:[Se(e)]}function Ln(e,t){return e!=null?Se(e):t}function Ya(e,t){return t!=null?Gt(e(Se(t))):void 0}function Fd(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+Xn(n,2)+":"+Xn(r,2)}function Du(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function U2(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return Xn(e.getFullYear(),4)+"-"+Xn(e.getMonth()+1,2)+"-"+Xn(e.getDate(),2)+"T"+Xn(e.getHours(),2)+":"+Xn(e.getMinutes(),2)+":"+Xn(e.getSeconds(),2)+"."+Xn(e.getMilliseconds(),3)+(n?Fd(e.getTimezoneOffset()*-6e4):"")}}function V2(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Fd(t)}function Ng(e,t,n){return t.replace(/(\w)\1*/g,r=>{let l=Number.NaN;switch(r.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();l=r.length<4?o%100:o;break;case"M":l=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":l=n?e.getUTCDate():e.getDate();break;case"H":l=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();l=i>12?i%12:i;break;case"m":l=n?e.getUTCMinutes():e.getMinutes();break;case"s":l=n?e.getUTCSeconds():e.getSeconds();break;case"f":l=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(l)?r:Xn(l,r.length)})}function H2(e,t){var n,r,l;const o=new Date(e.getTime()+((n=e.offset)!==null&&n!==void 0?n:0));if(typeof t!="string")return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Fd((r=e.offset)!==null&&r!==void 0?r:0);if(t.length===1)switch(t){case"D":case"d":return Du(o,"first");case"T":case"t":return Du(o,"second");case"O":case"o":return V2(o,(l=e.offset)!==null&&l!==void 0?l:0);default:throw new Error("Unrecognized Date print format")}else return Ng(o,t,!0)}function j2(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?Du(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Du(e,"second"):e.toLocaleTimeString();case"O":case"o":return U2(e,n);default:throw new Error("Unrecognized Date print format")}else return Ng(e,t,n)}function Ao(e,t,n){return e.offset!=null?H2(e,t):j2(e,t)}function Rd(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function G2(e){return N2(e.getTime(),lf(e))}function Ig(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const l=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(l!=null){let o,i=0;if(l[2]!=null){const s=l[2].split(":");i=parseInt(s[0],10)*3600+parseInt(s[1]||"0",10)*60+parseFloat(s[2]||"0"),l[3]!=null&&l[3].toUpperCase()==="PM"&&(i+=720)}if(l[4]!=null){if(l[1]!=null)o=new Date(l[1]+" UTC");else{const s=new Date;o=new Date(s.getUTCFullYear()+"/"+(s.getUTCMonth()+1)+"/"+s.getUTCDate())}if(l[4]==="Z")r="Z";else{let s=parseInt(l[5],10)*60+parseInt(l[6]||"0",10);l[4][0]==="-"&&(s*=-1),r=s,i-=s*60}}else if(l[1]!=null)o=new Date(l[1]);else{const s=new Date;o=new Date(s.getFullYear()+"/"+(s.getMonth()+1)+"/"+s.getDate())}n=new Date(o.getTime()+i*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function W2(e,t=!1){const[n,r]=Ig(e),l=r!=null?t&&r==="Z"?1:2:0;return Rd(n.getTime(),l)}function Q2(){return Rd(Date.now(),2)}function K2(e){return e.toDateString()}function J2(e){return e.toLocaleTimeString()}function oa(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function ia(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Z2(e,t,n=0){return e.lastIndex=n,e.exec(t)}function ns(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let l,o=-1;for(;(l=e.exec(t))!=null;)l.index===o?e.lastIndex++:(o=l.index,r.push(l));return r}const ti=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,q2=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Tg(e,t){return V_(e,t)<0}function H(e){return{input:e,cont:X2(e)}}function Pd(e,t){return typeof t=="string"?e(t):t.cont(e)}function sa(e){return Pd(t=>console.log(t),e)}function Te(e){return Pd(t=>t,e)}function xe(e){return Pd(t=>{throw new Error(t)},e)}function Y2(e,t,n,r,l){let o="";if(t=t||"",l=l||"",mg(e))switch(l.toLowerCase()!=="x"&&(Tg(e,0)?(e=uf(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=r==null?null:parseInt(r,10),l){case"f":case"F":r=r??6,e=Gs(e,r);break;case"g":case"G":e=r!=null?Eu(e,r):Eu(e);break;case"e":case"E":e=r!=null?ku(e,r):ku(e);break;case"x":e=xu(e);break;case"X":e=xu(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Ao(e):e=Ht(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=o+e;else{const i=t.indexOf("0")>=0,s=t.indexOf("-")>=0,u=s||!i?" ":"0";u==="0"?(e=Vi(e,n-o.length,u,s),e=o+e):e=Vi(o+e,n,u,s)}return e}function Ag(e,t,n,r="",l=-1){return(...o)=>{let i=r;const s=t.slice(),u=n.slice();for(const a of o){const[,,c,d,f,y]=u[0];let w=d;if(l>=0)w=l,l=-1;else if(w==="*"){if(a<0)throw new Error("Non-negative number required");l=a;continue}i+=s[0],i+=Y2(a,c,w,f,y),s.splice(0,1),u.splice(0,1)}return u.length===0?(i+=s[0],e(i)):Ag(e,s,u,i,l)}}function X2(e){return t=>{ti.lastIndex=0;const n=[],r=[];let l=0,o=ti.exec(e);for(;o;){const i=o.index+(o[1]||"").length;n.push(e.substring(l,i).replace(/%%/g,"%")),r.push(o),l=ti.lastIndex,ti.lastIndex-=1,o=ti.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(l).replace(/%%/g,"%")),Ag(t,n,r))}}function Mg(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(q2,(r,l,o,i,s,u)=>{if(l<0||l>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=t[l];if(mg(a))switch(s=s==null?null:parseInt(s,10),i){case"f":case"F":s=s??2,a=Gs(a,s);break;case"g":case"G":a=s!=null?Eu(a,s):Eu(a);break;case"e":case"E":a=s!=null?ku(a,s):ku(a);break;case"p":case"P":s=s??2,a=Gs(uf(a,100),s)+" %";break;case"d":case"D":a=s!=null?Xa(String(a),s,"0"):String(a);break;case"x":case"X":a=s!=null?Xa(xu(a),s,"0"):xu(a),i==="X"&&(a=a.toUpperCase());break;default:if(u){let c="";a=u.replace(/([0#,]+)(\.[0#]+)?/,(d,f,y)=>{Tg(a,0)&&(a=uf(a,-1),c="-"),y=y==null?"":y.substring(1),a=Gs(a,Math.max(y.length,0));let[w,C]=a.split(".");C||(C="");const R=f.replace(/,/g,"").replace(/^#+/,"").length;w=Xa(w,R,"0");const m=y.replace(/#+$/,"").length;if(m>C.length?C=nS(C,m,"0"):m0){const p=w.length%3,g=Math.floor(w.length/3);let _=p>0?w.substr(0,p)+(g>0?",":""):"";for(let x=0;x0?w+"."+C:w}),a=c+a}}else a instanceof Date?a=Ao(a,u||i):a=Ht(a);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(a=Vi(String(a),Math.abs(o)," ",o<0)),a})}function Fu(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Dg(e){return typeof e!="string"||e.length===0}function b2(e){return typeof e!="string"||/^\s*$/.test(e)}function se(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function eS(e){throw new Error("The environment doesn't support '"+e+"', please use a polyfill.")}function tS(e){const t=typeof atob=="function"?atob(e):eS("atob"),n=new Uint8Array(t.length);for(let r=0;r=e.length)throw new Error("startIndex must be less than length of string");if(typeof n=="number"&&t+n>e.length)throw new Error("Index and count must refer to a location within the string.");return e.slice(0,t)+(typeof n=="number"?e.substr(t+n):"")}function rS(e,t,n){return e.replace(new RegExp(ia(t),"g"),n)}function lS(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const l=(r&1)===1,o=(r&2)===2;t=t||[],t=t.filter(c=>c).map(ia),t=t.length>0?t:["\\s"];const i=[],s=new RegExp(t.join("|"),"g");let u=!0,a=0;do{const c=s.exec(e);if(c===null){const d=o?e.substring(a).trim():e.substring(a);(!l||d.length>0)&&i.push(d),u=!1}else{const d=o?e.substring(a,c.index).trim():e.substring(a,c.index);(!l||d.length>0)&&(n!=null&&i.length+1===n?(i.push(o?e.substring(a).trim():e.substring(a)),u=!1):i.push(d)),a=s.lastIndex}}while(u);return i}function oS(e,...t){if(t.length===0)return e.trim();const n="["+ia(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function iS(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+ia(t.join(""))+"]+$"),"")}function Rg(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return n!=null?e.substr(t,n):e.substr(t)}function sS(e){throw new Error(e)}function Mo(e,t){return typeof e=="function"?new e(t):new Array(t)}const Od="Collection was empty.";function uS(){throw new Error("An index satisfying the predicate was not found in the collection.")}function aS(){throw new Error("Arrays had different lengths")}function Pg(e,t,n,r){const l=t|0;return e.fill(r,l,l+n)}function ff(e,t,n){const r=t.length|0,l=Mo(n,r);for(let o=0;o<=r-1;o++)l[o]=e(o,t[o]);return l}function $e(e,t,n){const r=t.length|0,l=Mo(n,r);for(let o=0;o<=r-1;o++)l[o]=e(t[o]);return l}function cS(e,t){const n=Array.isArray(e)?e:Array.from(e),r=n.length|0;if(r===0)return Mo(t,0);if(r===1)return n[0];{let l=0,o=0;for(let s=0;s<=n.length-1;s++){const u=n[s];o=o+u.length|0}const i=Mo(t,o);for(let s=0;s<=n.length-1;s++){const u=n[s];for(let a=0;a<=u.length-1;a++)i[l]=u[a],l=l+1|0}return i}}function fS(e,t){const n=Mo(t,1);return n[0]=e,n}function Ho(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=Mo(n,e);for(let l=0;l<=e-1;l++)r[l]=t(l);return r}function dS(e){return e.slice()}function hS(e,t){const n=t.find(e);return n==null?uS():Se(n)}function Jl(e,t){return t.find(e)}function pS(e,t,n){return n.reduce(e,t)}function ba(e,t){e.length!==t.length&&aS();const n=new Array(e.length);for(let r=0;r<=e.length-1;r++)n[r]=[e[r],t[r]];return n}function df(e,t,n){if(t==null)return n==null;if(n==null)return!1;{let r=0,l=!0;const o=t.length|0,i=n.length|0;if(o>i)return!1;if(o{e:for(;;){const i=l,s=o,u=i.tail,a=s.tail;if(u!=null)if(a!=null){const c=u,d=a;if(me(i.head,s.head)){l=c,o=d;continue e}else return!1}else return!1;else return a==null}})(n,t)}GetHashCode(){return((r,l,o)=>{e:for(;;){const i=r,s=l,u=o,a=u.tail;if(a!=null){const c=a;if(i>18)return s|0;r=i+1,l=(s<<1)+yt(u.head)+631*i,o=c;continue e}else return s|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((l,o)=>{e:for(;;){const i=l,s=o,u=i.tail,a=s.tail;if(u!=null)if(a!=null){const c=u,d=a,f=mn(i.head,s.head)|0;if(f===0){l=c,o=d;continue e}else return f|0}else return 1;else return a!=null?-1:0}})(this,t)|0}GetEnumerator(){return gS(this)}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ce(this)}}class mS{constructor(t){this.xs=t,this.it=this.xs,this.current=Ke()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=n;return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Ke()}Dispose(){}}function gS(e){return new mS(e)}function Cn(){return new Un(Ke(),void 0)}function ua(e,t){return new Un(e,t)}function Ll(e){return e.tail==null}function Og(e){return((n,r)=>{e:for(;;){const l=n,i=r.tail;if(i!=null){n=l+1,r=i;continue e}else return l|0}})(0,e)|0}function Hi(e){if(e.tail!=null)return e.head;throw new Error(Od+"\\nParameter name: list")}function ir(e){const t=e.tail;if(t!=null)return t;throw new Error(Od+"\\nParameter name: list")}function vt(){return Cn()}function be(e,t){return ua(e,t)}function X(e){return ua(e,Cn())}function U(e){return Ll(e)}function ec(e){return Og(e)}function T(e){return Hi(e)}function k(e){return ir(e)}function gl(e){const t=Og(e)|0,n=Pg(new Array(t),0,t,null);return((l,o)=>{e:for(;;){const i=l,s=o;if(!Ll(s)){n[i]=Hi(s),l=i+1,o=ir(s);continue e}break}})(0,e),n}function jl(e,t,n){let r=t,l=n;for(;!Ll(l);)r=e(r,T(l)),l=ir(l);return r}function yS(e){return jl((t,n)=>ua(n,t),Cn(),e)}function Re(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=ua(e[r],n);return n}function S(e){return Re(e,Cn())}function vS(e){let t,n;if(kr(e))return S(e);if(e instanceof Un)return e;{const r=Cn();let l=r;const o=Ce(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();l=(t=l,n=new Un(u,void 0),t.tail=n,n)}}finally{ye(o)}const i=l,s=Cn();return i.tail=s,ir(r)}}function wS(e,t){let n,r;const l=Cn();let o=l,i=t;for(;!Ll(i);){let a=e(Hi(i));for(;!Ll(a);)o=(n=o,r=new Un(Hi(a),void 0),n.tail=r,r),a=ir(a);i=ir(i)}const s=o,u=Cn();return s.tail=u,ir(l)}function Et(e,t){const n=Cn(),r=jl((o,i)=>{const s=new Un(e(i),void 0);return o.tail=s,s},n,t),l=Cn();return r.tail=l,ir(n)}function _S(e,t){return(r=>{e:for(;;){const l=r;if(Ll(l))return;{const o=e(Hi(l));if(o==null){r=ir(l);continue e}else return o}}})(t)}function np(e,t){return _S(n=>e(n)?Gt(n):void 0,t)}function SS(e,t){const n=Cn(),r=jl((o,i)=>{const s=e(i);if(s==null)return o;{const u=new Un(Se(s),void 0);return o.tail=u,u}},n,t),l=Cn();return r.tail=l,ir(n)}function CS(e,t){if(Ll(t))throw new Error(Od);return jl(e,T(t),k(t))}const ES="Enumeration already finished.",kS="Enumeration has not started. Call MoveNext.",xS="Reset is not supported on this enumerator.";function NS(){throw new Error(xS)}function Ld(){throw new Error(kS)}function hf(){throw new Error(ES)}class IS{constructor(t){this.f=t}toString(){const t=this,n=4;let r=0,l="seq [";const o=Ce(t);try{for(;r0&&(l=l+"; "),l=l+Ht(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===n&&(l=l+"; ..."),l+"]"}finally{ye(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function TS(e){return new IS(e)}class AS{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){NS()}Dispose(){this.dispose()}}function $d(e,t,n){return new AS(e,t,n)}function MS(e){let t,n,r=!1,l=!1,o;const i=()=>{if(l=!0,n!=null){const s=n;try{ye(s)}finally{n=void 0}}if(t!=null){const s=t;try{ye(s)}finally{t=void 0}}};return $d(()=>(r?l&&hf():Ld(),o!=null?Se(o):hf()),()=>{let s;if(r||(r=!0),l)return!1;{let u;for(;u==null;){const a=t,c=n;if(a!=null)if(c!=null){const d=c;if(d["System.Collections.IEnumerator.MoveNext"]())o=Gt(d["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{ye(d)}finally{n=void 0}}else{const d=a;d["System.Collections.IEnumerator.MoveNext"]()?n=(s=d["System.Collections.Generic.IEnumerator`1.get_Current"](),Ce(s)):(i(),u=!1)}else t=Ce(e)}return Se(u)}},()=>{l||i()})}function DS(e,t,n){let r=!1,l,o=Gt(e());const i=()=>{if(o!=null){const u=Se(o);try{n(u)}finally{o=void 0}}},s=()=>{try{i()}finally{l=void 0}};return $d(()=>(r||Ld(),l!=null?Se(l):hf()),()=>{if(r||(r=!0),o!=null){const u=Se(o);let a;try{a=t(u)}catch(c){throw s(),c}return a!=null?(l=a,!0):(s(),!1)}else return!1},i)}function FS(e,t){let n,r=t;return $d(()=>{if(n!=null){const l=n[0];return n[1],l}else return Ld()},()=>(n=e(r),n!=null?(n[0],r=n[1],!0):!1),()=>{})}function RS(e,t){t==null&&sS(e)}function aa(e){return TS(e)}function Do(e){return RS("source",e),Ce(e)}function N(e){return aa(()=>Ce(e()))}function ca(e){return aa(()=>MS(e))}function PS(e,t){return aa(()=>FS(e,t))}function Ue(){return N(()=>new Array(0))}function F(e){return N(()=>fS(e,null))}function $l(e){return e instanceof Un?gl(e):Array.from(e)}function oe(e){return kr(e)?S(e):e instanceof Un?e:vS(e)}function OS(e,t,n){return aa(()=>DS(e,t,n))}function ee(e,t){return ca([e,t])}function LS(e,t,n){const r=Do(t);try{const l=Do(n);try{let o=0,i=r["System.Collections.IEnumerator.MoveNext"](),s=l["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&i&&s;)o=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),l["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(i=r["System.Collections.IEnumerator.MoveNext"](),s=l["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:i?1:s?-1:0)|0}finally{ye(l)}}finally{ye(r)}}function $S(e,t){const n=Do(t);try{let r=!1;for(;!r&&n["System.Collections.IEnumerator.MoveNext"]();)r=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return r}finally{ye(n)}}function zS(e,t){const n=Do(t);try{let r;for(;r==null&&n["System.Collections.IEnumerator.MoveNext"]();){const l=n["System.Collections.Generic.IEnumerator`1.get_Current"]();e(l)&&(r=Gt(l))}return r}finally{ye(n)}}function fa(e,t,n){const r=Do(n);try{let l=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)l=e(l,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return l}finally{ye(r)}}function BS(e,t){return!$S(n=>!e(n),t)}function jo(e,t){fa((n,r)=>{e(r)},void 0,t)}function Lg(e,t){fa((n,r)=>(e(n,r),n+1|0),0,t)}function ae(e,t){return OS(()=>Do(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?Gt(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{ye(n)})}function En(e,t){return N(()=>ca(ae(e,t)))}function US(e,t){return fa((n,r)=>t.Add(n,r),t.GetZero(),e)}function VS(e,t,n){return fa((r,l)=>n.Add(r,e(l)),n.GetZero(),t)}function HS(e){return jl((t,n)=>{const r=t[0],l=t[1],o=n;return o[0]==="className"?[be(Ht(o[1]),r),l]:[r,be(n,l)]},[vt(),vt()],yS(e))}function K(e,t){const n=HS(t);return be(["className",se(" ",be(e,n[0]))],n[1])}const v=hv;function rs(e,t,n){const r=oe(N(()=>ee(F(h.createElement("h3",{children:[e]})),N(()=>ee(U(n)?Ue():n,N(()=>{let l,o;return F((l=X(h.createElement("table",O(K("table",S([["className","reference-table"],["className","is-bordered"],["className","is-fullwidth"],(o=[h.createElement("tbody",{children:v.Children.toArray(Array.from(t))})],["children",v.Children.toArray(Array.from(o))])]))))),h.createElement("div",{className:"table-container",children:v.Children.toArray(Array.from(l))})))}))))));return h.createElement("div",{className:"content",children:v.Children.toArray(Array.from(r))})}const jS=rs("Basic",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 + 1d11 + 15w20"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Basic dice roll. Roll x dice with y sides, where xdy or xwy."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 + 15"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"You can add flat modifiers to basic dice roll."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),S([h.createElement("p",{children:["For one dice roll (e.g. 3d6) you can mix between categories below but never use multiples of the same category."]}),(()=>{let e,t;const n=S([(e=S([h.createElement("span",{children:["Not allowed:"]}),h.createElement("code",{children:["3d6 k2 kl2"]})]),h.createElement("li",{children:v.Children.toArray(Array.from(e))})),(t=S([h.createElement("span",{children:["Allowed:"]}),h.createElement("code",{children:["3d6 k1 ie6 r2"]}),h.createElement("span",{children:["; roll 3d6, reroll any 1 or 2 once, explode rolled 6, then keep highest."]})]),h.createElement("li",{children:v.Children.toArray(Array.from(t))}))]);return h.createElement("ul",{children:v.Children.toArray(Array.from(n))})})(),h.createElement("p",{dangerouslySetInnerHTML:{__html:"The order of execution for categories is always: RerollExplodeKeep/Drop."}})])),GS=rs("Keep/Drop",S([(()=>{let e;const t=S([(e=S([h.createElement("code",{children:["3d6 k1"]}),h.createElement("span",{children:["/"]}),h.createElement("code",{children:["3d6 kh1"]})]),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Keep highest x rolls, where x is 3d6 kx or 3d6 khx. This example would roll 3 six-sided dice and only return the highest number rolled."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 kl2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Keep lowest x rolls, where x is 3d6 klx. This example would roll 3 six-sided dice and only return the two lowest numbers rolled."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=S([h.createElement("code",{children:["3d6 d1"]}),h.createElement("span",{children:["/"]}),h.createElement("code",{children:["3d6 dl1"]})]),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Drop lowest x rolls, where x is 3d6 dx or 3d6 dlx. This example would roll 3 six-sided dice and return all dice rolles, except the lowest."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 dh2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Drop highest x rolls, where x is 3d6 dhx. This example would roll 3 six-sided dice and return all dice rolles, except the two highest."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt()),WS=rs("Explode",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 e6"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Explode die once when rolled above x, where x is 3d6 ex. This example would roll 3 six-sided dice and add another roll on top of any die rolling a 6."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 ie6"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Explode die indefinitely (max 100x) when rolled above x, where x is 3d6 iex. This example would roll 3 six-sided dice and add another roll on top of any die rolling a 6. If any of those dice would roll a 6 again, explode again."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt()),QS=rs("Reroll",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 r2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Reroll die once when rolled below x, where x is 3d6 rx. This example would roll 3 six-sided dice and reroll any roll below 2."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 ir2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Reroll die indefinitely (max 100x) when rolled below x, where x is 3d6 irx. This example would roll 3 six-sided dice and reroll any dice below 2 until rolling above 2."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt()),KS=rs("Sets",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["(1d20 + 14) (1d20 + 14) (1d20 + 9)"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Any dice combination inside (..) is handled as one set. This example will return 1d20 + 14, 1d20 + 14 and 1d20 + 9, each with its own sum."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["2 (1d20 + 14) (1d20 + 9)"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Roll set x times, where x is the number before (..). This example will return 1d20 + 14 twice and 1d20 + 9 once."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt());function JS(){const e=X(h.createElement("div",O(K("container",S([["style",{alignSelf:"baseline"}],["children",v.Children.toArray([jS,GS,WS,QS,KS])]])))));return h.createElement("div",{className:"hero-body",children:v.Children.toArray(Array.from(e))})}class ui extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["KeepHighest","KeepLowest","DropHighest","DropLowest"]}}function ZS(){return ts("Classes.KeepDrop",[],ui,()=>[[["Item",$t]],[["Item",$t]],[["Item",$t]],[["Item",$t]]])}function qS(e,t){let n;switch(e==="k"||e==="kh"?n=0:e==="kl"?n=1:e==="d"||e==="dl"?n=2:e==="dh"?n=3:n=4,n){case 0:return new ui(0,[t]);case 1:return new ui(1,[t]);case 2:return new ui(3,[t]);case 3:return new ui(2,[t]);case 4:throw new Error(`Unable to parse \`${e}\` to Keep/Drop logic`)}}class pf extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Once","Inf"]}}function YS(){return ts("Classes.Reroll",[],pf,()=>[[["Item",$t]],[["Item",$t]]])}function XS(e,t){if(e==="r")return new pf(0,[t]);if(e==="ir")return new pf(1,[t]);throw new Error(`Unable to parse \`${e}\` to reroll logic`)}class mf extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Once","Inf"]}}function bS(){return ts("Classes.Explode",[],mf,()=>[[["Item",$t]],[["Item",$t]]])}function eC(e,t){if(e==="e")return new mf(0,[t]);if(e==="ie")return new mf(1,[t]);throw new Error(`Unable to parse \`${e}\` to explode logic`)}class ji extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Add","Substract"]}}function tC(){return ts("Classes.Command",[],ji,()=>[[],[]])}function nC(e){let t;switch(e===""||e==="+"?t=0:e==="-"?t=1:t=2,t){case 0:return new ji(0,[]);case 1:return new ji(1,[]);case 2:throw new Error(`Unable to parse \`${e}\` to \`+\` or \`-\`.`)}}function rC(e){return e.tag===1?"-":"+"}class $g extends tt{constructor(t,n,r,l,o,i){super(),this.Command=t,this.DiceCount=n|0,this.DiceSize=r|0,this.Explode=l,this.Reroll=o,this.KeepDrop=i}}function zg(){return es("Classes.Dice",[],$g,()=>[["Command",tC()],["DiceCount",$t],["DiceSize",$t],["Explode",qa(bS())],["Reroll",qa(YS())],["KeepDrop",qa(ZS())]])}function rp(e,t,n,r,l,o){return new $g(Ln(n,new ji(0,[])),e,t,r,l,o)}class Bg extends tt{constructor(t,n,r){super(),this.Dice=t,this.DiceRolled=n,this.DiceRollSum=r|0}}function lC(){return es("Classes.DiceRoll",[],Bg,()=>[["Dice",zg()],["DiceRolled",Pl($t)],["DiceRollSum",$t]])}function oC(e,t,n){return new Bg(e,t,n)}class Ug extends tt{constructor(t,n){super(),this.Index=t|0,this.Results=n}}function iC(){return es("Classes.SetResult",[],Ug,()=>[["Index",$t],["Results",Pl(lC())]])}function sC(e,t){return new Ug(e,t)}class zd extends tt{constructor(t,n,r){super(),this.SetCount=t|0,this.DiceRolls=n,this.Results=r}}function uC(){return es("Classes.DiceSet",[],zd,()=>[["SetCount",$t],["DiceRolls",Pl(zg())],["Results",Pl(iC())]])}function aC(e,t,n){return new zd(e,t,Ln(n,[]))}class Vg extends tt{constructor(t,n,r){super(),this.Input=t,this.Time=n,this.DiceSets=r}}function Hg(){return es("Classes.DiceSets",[],Vg,()=>[["Input",Ol],["Time",bi("System.DateTime")],["DiceSets",Pl(uC())]])}function cC(e,t){return new Vg(e,Q2(),t)}function fC(){return Math.random()}function tc(e,t){if(t>>=8}}class hC{constructor(){}Next0(){return tc(0,2147483647)}Next1(t){return tc(0,t)}Next2(t,n){return tc(t,n)}NextDouble(){return fC()}NextBytes(t){dC(t)}}function pC(){return new hC}function jg(){return pC()}class Gg extends tt{constructor(t,n){super(),this.bound=t|0,this.digits=n}}function Wg(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Wg(n*n,~~(r/2))|0}}const mC=29;Ho(mC-1,e=>Wg(2,e),Int32Array);function gf(e){return e.bound}function ai(e,t){return e.digits[t]}function yf(e,t){return Be(ai(e,t),!1,2)}function Ru(e,t,n){e.digits[t]=n|0}function Bd(e,t){e:for(;;){const n=e,r=t;if(r===0)return ot(1,0,!1);if(r%2===0){e=Tt(n,n),t=~~(r/2);continue e}else return Tt(n,Bd(Tt(n,n),~~(r/2)))}}function Fo(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Fo(n*n,~~(r/2))|0}}function gC(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return t|0}function yC(e,t){return e>>0>>>zl)}function _C(e){return e&vC}function el(e){return new Gg(e,new Int32Array(e))}function SC(e){return new Gg(e.bound,dS(e.digits))}function Vn(e){const n=((r,l)=>{e:for(;;){const o=r,i=l;if(i===-1||o[i]!==0)return i+1|0;r=o,l=i-1;continue e}})(e.digits,e.bound-1)|0;return e.bound=n|0,e}const lp=2,op=3;function Qr(e){const t=(e<0?0:e)|0;if(t=0;n--)t=e.digits[n]+Wr*t|0;return t|0}}const Qg=Qr(1),kC=Qr(0);function Ot(e){return e.bound-1}function xC(e,t,n,r,l,o){let i,s,u,a;e:for(;;){const c=e,d=t,f=n,y=r,w=l,C=o;if(c{e:for(;;){const i=r,s=l,u=o;if(u===-1)return!0;if(i[u]===s[u]){r=i,l=s,o=u-1;continue e}else return!1}})(e.digits,t.digits,e.bound-1):!1}function NC(e,t,n,r){return e.bound+tn.bound+t?1:((o,i,s)=>{e:for(;;){const u=o,a=i,c=s;if(c===-1)return 0;{const d=(ct.bound?1:((r,l,o)=>{e:for(;;){const i=r,s=l,u=o;if(u===-1)return 0;if(i[u]===s[u]){r=i,l=s,o=u-1;continue e}else return i[u]0){const i=Vt(yf(r,o),l);Ru(r,o,~~Bn(Vo(i,Go))),e=r,t=Sn(i,cr),n=o+1;continue e}break}}function up(e,t){const n=gf(e)|0,r=el(n+1),l=Be(t,!1,2);let o=ot(0,0,!1);for(let i=0;i<=n-1;i++){const s=Vt(Vt(o,yf(r,i)),Tt(yf(e,i),l));Ru(r,i,~~Bn(Vo(s,Go))),o=Sn(s,cr)}return Jg(r,o,n),Vn(r)}function AC(e,t){const n=el(e.bound+t.bound),r=n.digits;for(let l=0;l<=e.bound-1;l++){const o=Be(e.digits[l],!1,2);let i=ot(0,0,!1),s=l;for(let u=0;u<=t.bound-1;u++){const a=Be(t.digits[u],!1,2),c=Vt(Vt(Be(r[s],!1,2),i),Tt(o,a));r[s]=~~Bn(Vo(c,Go))|0,i=Sn(c,cr),s=s+1|0}Jg(n,i,s)}return Vn(n)}function MC(e,t){const n=gf(e)===1,r=gf(t)===1;return n&&r?TC(ai(e,0),ai(t,0)):n?up(t,ai(e,0)):r?up(e,ai(t,0)):AC(e,t)}class DC extends tt{constructor(t,n,r,l,o,i,s){super(),this.bigL=t|0,this.twoToBigL=n|0,this.k=r|0,this.bigK=l|0,this.bigN=o|0,this.split=i|0,this.splits=s}}function Zt(e,t,n,r){return new DC(e,Fo(2,e),t,n,r,~~(zl/e),Ho(~~(zl/e),l=>Fo(2,e*l),Int32Array))}const FC=[Zt(1,28,268435456,268435456),Zt(2,26,67108864,134217728),Zt(3,24,16777216,50331648),Zt(4,22,4194304,16777216),Zt(5,20,1048576,5242880),Zt(6,18,262144,1572864),Zt(7,16,65536,458752),Zt(8,14,16384,131072),Zt(9,12,4096,36864),Zt(10,10,1024,10240),Zt(11,8,256,2816),Zt(12,6,64,768),Zt(13,4,16,208)];Ho(zl,e=>Fo(2,e)-1,Int32Array);Ho(zl,e=>Fo(2,e),Int32Array);Ho(zl,e=>Bd(ot(2,0,!1),e),null);~~(FC[0].bigN/zl);function Zg(e,t){return MC(e,t)}function RC(e,t,n,r){const l=Ot(e)|0,o=e.digits,i=Ot(n)|0,s=n.digits,u=Be(t,!1,2);let a=0,c=Tt(u,Be(s[0],!1,2));for(;Xi(c,ot(0,0,!1))>0||al)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~Bn(Vo(c,Go)),f=Sn(c,cr);d<=o[a+r]?o[a+r]=o[a+r]-d|0:(o[a+r]=o[a+r]+(Wr-d)|0,f=Vt(f,ot(1,0,!1))),a0||al)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~Bn(Vo(c,Go)),f=Sn(c,cr);d0?(RC(n,u,t,i),PC(r,u,Qg,i)):(s=u===0&&i===0,s||(l===o+i?i=i-1|0:(i=i-1|0,l=l-1|0)))}return[Vn(r),Vn(n)]}}Qr(2);function ap(e){return((n,r,l)=>{e:for(;;){const o=n,i=r,s=l;if(s===e.bound)return o;n=o+i*e.digits[s],r=i*Wr,l=s+1;continue e}})(0,1,0)}function vf(e){return Qr(e)}function Qs(e){return CC(e)}function cp(e){const t=Ot(e)|0,n=(o,i,s)=>{e:for(;;){const u=o,a=i,c=s;if(Ot(c)>t)return be([a,c],u);o=be([a,c],u),i=a+1,s=Zg(c,c);continue e}},r=(o,i,s,u)=>{e:for(;;){const a=o,c=i,d=s,f=u;if(U(f)){const y=EC(d)|0;return a&&y===0?c:be(of(y),c)}else{const y=k(f),w=LC(d,T(f)[1]),C=w[1],R=w[0];if(a&&kt(R)){o=a,i=c,s=C,u=y;continue e}else{o=a,i=r(!1,c,C,y),s=R,u=y;continue e}}}},l=r(!0,vt(),e,n(vt(),0,Qr(10)));return U(l)?"0":se("",gl(l))}function nc(e){const t=e.length|0;if(Dg(e))throw new Error("empty string\\nParameter name: str");const n=Qr(10);return((l,o)=>{e:for(;;){const i=l,s=o;if(s===t)return i;{const a=e[s].charCodeAt(0)-48|0;if(0<=a&&a<=9){l=Kg(Zg(n,i),Qr(a)),o=s+1;continue e}else throw new Error}}})(Qr(0),0)}function $C(e){return e.bound<=1}function fp(e){const t=e,n=0;return n=0?Kr(1,Jr(vf(e))):e===-2147483648?Kr(-1,Jr(Qs(_g(Be(e,!1,2))))):Kr(-1,Jr(vf(t2(e))))}function HC(e){return Xi(e,ot(0,0,!1))>=0?Kr(1,Jr(Qs(e))):C2(e,ot(0,2147483648,!1))?Kr(-1,Jr(Kg(Qs(ot(4294967295,2147483647,!1)),Qg))):Kr(-1,Jr(Qs(_g(e))))}function Yg(){return xt.one}function jC(){return xt.two}function Xg(){return xt.zero}function GC(e){const t=tl(e)|0;if(t===-1)return-ap(we(e));if(t===0)return 0;if(t===1)return ap(we(e));throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}function WC(e){return new br(GC(e))}function QC(e){if(e==null)throw new Error("text");const t=e.trim(),n=t.length|0;if(n===0)throw new Error;const r=t[0];if(r==="+"){if(n===1)throw new Error;return dp(nc(t.slice(1,n-1+1)))}else if(r==="-"){if(n===1)throw new Error;return zC(nc(t.slice(1,n-1+1)))}else return dp(nc(t))}function KC(e){return QC(e)}Xg();Yg();jC();function JC(e){return e>2147483647?HC(Be(e,!1,6)):Ks(e)}function hp(e){return WC(e)}function ZC(e){return Ht(e)}Xg();Yg();function qC(e,t,n,r){const l=mn(e,n)|0;if(l===0)throw new Error("The step of a range cannot be zero");const o=l>0;return i=>{const s=mn(i,t)|0;return o&&s<=0||!o&&s>=0?[i,r(i,e)]:void 0}}function YC(e,t,n,r,l){const o=qC(t,n,r,l);return N(()=>PS(o,e))}function da(e,t,n){return YC(e,t,n,0,(r,l)=>r+l)}function ha(e,t){return t.Next2(1,e+1)}function XC(e,t,n){return Array.from(oe(N(()=>En(r=>F(n.Next2(1,t+1)),da(1,1,e)))))}function bC(e,t,n,r){return{rerolls:1,roll:t<=e?ha(n,r):t}}function eE(e,t,n,r){return((o,i)=>{e:for(;;){const s=o,u=i;if(s>=100)return{rerolls:s,roll:u};if(u<=e){o=s+1,i=ha(n,r);continue e}else return{rerolls:s,roll:u}}})(0,t)}function tE(e,t,n,r){return{explosions:1,sum:t>=e?t+ha(n,r):t}}function nE(e,t,n,r){return((o,i,s)=>{e:for(;;){const u=o,a=i,c=s;if(u>=100)return{explosions:u,sum:c};if(a>=e){const d=ha(n,r)|0;o=u+1,i=d,s=c+d;continue e}else return{explosions:u,sum:c}}})(0,t,t)}function rE(e,t,n,r){const l=e.tag===1?o=>eE(e.fields[0],o,t,r):o=>bC(e.fields[0],o,t,r);for(let o=0;o<=n.length-1;o++){const i=l(n[o]);n[o]=i.roll|0}}function lE(e,t,n,r){const l=e.tag===1?o=>nE(e.fields[0],o,t,r):o=>tE(e.fields[0],o,t,r);for(let o=0;o<=n.length-1;o++){const i=l(n[o]);n[o]=i.sum|0}}function oE(e,t){switch(t.sort(nr),e.tag){case 1:{const n=e.fields[0]|0,r=t.length-n|0;t.splice(n,r);break}case 2:{const n=e.fields[0]|0,r=t.length-n|0;t.splice(r,n);break}case 3:{t.splice(0,e.fields[0]);break}default:{const n=t.length-e.fields[0]|0;t.splice(0,n)}}}function iE(e,t){const n=XC(e.DiceCount,e.DiceSize,t);return Ya(r=>{lE(r,e.DiceSize,n,t)},e.Explode),Ya(r=>{rE(r,e.DiceSize,n,t)},e.Reroll),Ya(r=>{oE(r,n)},e.KeepDrop),oC(e,n,US(n,{GetZero:()=>0,Add:(r,l)=>r+l}))}function sE(e,t){let n;return new zd(e.SetCount,e.DiceRolls,(n=oe(N(()=>En(r=>{const l=ae(o=>iE(o,t),e.DiceRolls);return F(sC(r,Array.from(l)))},da(1,1,e.SetCount)))),Array.from(n)))}function Ud(e,t){const n=se("|",t);return Te(H("(?<%s>(?<%sType>%s)(?<%sNumber>\\d+))"))(e)(e)(n)(e)}const uE=Ud("KeepDrop",S(["k","kh","kl","d","dl","dh"])),aE=Ud("Explode",S(["e","ie"])),cE=Ud("Reroll",S(["r","ir"])),fE="^(?\\d+)((d|w)(?\\d+))?";function dE(e){const t=ns(oa(uE),e),n=t.length|0;if(n===1){const r=t[0];return qS(r.groups&&r.groups.KeepDropType||"",Rt(r.groups&&r.groups.KeepDropNumber||"",511,!1,32))}else{if(n<=0)return;throw new Error("Found Keep/Drop logic multiple times in dice roll.")}}function hE(e){const t=ns(oa(aE),e),n=t.length|0;if(n===1){const r=t[0];return eC(r.groups&&r.groups.ExplodeType||"",Rt(r.groups&&r.groups.ExplodeNumber||"",511,!1,32))}else{if(n<=0)return;throw new Error("Found Keep/Drop logic multiple times in dice roll.")}}function pE(e){const t=ns(oa(cE),e),n=t.length|0;if(n===1){const r=t[0];return XS(r.groups&&r.groups.RerollType||"",Rt(r.groups&&r.groups.RerollNumber||"",511,!1,32))}else{if(n<=0)return;throw new Error("Found Keep/Drop logic multiple times in dice roll.")}}class mE extends tt{constructor(t,n){super(),this.setCount=t|0,this.diceRolls=n}}function gE(e,t){return new mE(e,t)}class yE extends tt{constructor(t,n){super(),this.command=t,this.diceRoll=n}}function vE(e,t){return new yE(e,t)}function wE(e){const t=rS(e," ",""),n=ns(/(?\d*)?\s*(^|\()(?[a-zA-Z0-9\s+-]*)($|\))/gu,t);if(n.length===0)throw new Error(`Unable to parse \`${t}\` to sets!`);return oe(N(()=>En(r=>{let l;return F(gE((l=(r.groups&&r.groups.setCount||"").trim(),l===""?1:Rt(l,511,!1,32)),r.groups&&r.groups.diceRolls||""))},n)))}function _E(e){const t=ns(/(?^|\+|-)\s*(?[a-zA-Z0-9\s]+)/gu,e);if(t.length===0)throw new Error(`Unable to parse \`${e}\` to dice rolls!`);return oe(N(()=>En(n=>F(vE(nC((n.groups&&n.groups.command||"").trim()),(n.groups&&n.groups.diceRoll||"").trim())),t)))}function SE(e){const t=e.diceRoll,n=e.command,r=Z2(oa(fE),t);if(r!=null){const l=Rt(r.groups&&r.groups.DiceCount||"",511,!1,32)|0;let o;const i=r.groups&&r.groups.DiceSize||"";if(o=i===""?0:Rt(i,511,!1,32),o===0)return rp(l,o,n);{const s=Fg(t,0,r[0].length).trim();return rp(l,o,n,hE(s),pE(s),dE(s))}}else return xe(H("Unable to find `DicePattern` (e.g. `3d6`, `14`) at beginning of role: %s"))(t)}function CE(e){const t=jg(),n=Et(r=>{let l;return sE(aC(r.setCount,(l=Et(SE,_E(r.diceRolls)),Array.from(l))),t)},wE(e));return cC(e,Array.from(n))}function Vd(e,t,n){return e.has(t)?(n.contents=e.get(t),!0):!1}function EE(e,t){return t.has(e)?!1:(t.add(e),!0)}function wf(e,t,n){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,n)}function xr(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}function kE(){return typeof window<"u"&&typeof window.document<"u"}class bg{constructor(t,n){this.k=t,this.v=n}}function Pu(e,t){return new bg(e,t)}function ut(e){return e.k}function Nt(e){return e.v}class Ge extends bg{constructor(t,n,r,l,o){super(t,n),this.left=r,this.right=l,this.h=o|0}}function Js(e,t,n,r,l){return new Ge(e,t,n,r,l)}function pt(e){return e.left}function mt(e){return e.right}function Sl(e){return e.h}function ey(e,t){e:for(;;){const n=e,r=t;if(r!=null){const l=r;if(l instanceof Ge){e=ey(n+1,pt(l)),t=mt(l);continue e}else return n+1|0}else return n|0}}function ty(e){return ey(0,e)}function In(e,t,n,r){let l;const o=e;if(o!=null){const a=o;l=a instanceof Ge?Sl(a):1}else l=0;let i;const s=r;if(s!=null){const a=s;i=a instanceof Ge?Sl(a):1}else i=0;const u=(lu+2){const f=Se(r);if(f instanceof Ge)if(l=pt(f),(l!=null?(o=l,o instanceof Ge?Sl(o):1):0)>u+1){const y=Se(pt(f));if(y instanceof Ge)return In(In(e,t,n,pt(y)),ut(y),Nt(y),In(mt(y),ut(f),Nt(f),mt(f)));throw new Error("internal error: Map.rebalance")}else return In(In(e,t,n,pt(f)),ut(f),Nt(f),mt(f));else throw new Error("internal error: Map.rebalance")}else if(u>c+2){const f=Se(e);if(f instanceof Ge)if(i=mt(f),(i!=null?(s=i,s instanceof Ge?Sl(s):1):0)>c+1){const y=Se(mt(f));if(y instanceof Ge)return In(In(pt(f),ut(f),Nt(f),pt(y)),ut(y),Nt(y),In(mt(y),t,n,r));throw new Error("internal error: Map.rebalance")}else return In(pt(f),ut(f),Nt(f),In(mt(f),t,n,r));else throw new Error("internal error: Map.rebalance")}else return In(e,t,n,r)}function Gi(e,t,n,r){if(r!=null){const l=r,o=e.Compare(t,ut(l))|0;return l instanceof Ge?o<0?pp(Gi(e,t,n,pt(l)),ut(l),Nt(l),mt(l)):o===0?Js(t,n,pt(l),mt(l),Sl(l)):pp(pt(l),ut(l),Nt(l),Gi(e,t,n,mt(l))):o<0?Js(t,n,void 0,r,2):o===0?Pu(t,n):Js(t,n,r,void 0,2)}else return Pu(t,n)}function ny(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o!=null){const i=o,s=r.Compare(l,ut(i))|0;if(s===0)return Gt(Nt(i));if(i instanceof Ge){e=r,t=l,n=s<0?pt(i):mt(i);continue e}else return}else return}}function xE(e,t,n){const r=ny(e,t,n);if(r==null)throw new Error;return Se(r)}function NE(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o!=null){const i=o,s=r.Compare(l,ut(i))|0;if(i instanceof Ge)if(s<0){e=r,t=l,n=pt(i);continue e}else{if(s===0)return!0;e=r,t=l,n=mt(i);continue e}else return s===0}else return!1}}function ry(e,t){e:for(;;){const n=e,r=t;if(r!=null){const l=r;if(l instanceof Ge){ry(n,pt(l)),n(ut(l),Nt(l)),e=n,t=mt(l);continue e}else n(ut(l),Nt(l))}break}}function IE(e,t){ry(e,t)}function TE(e){const t=(n,r)=>{e:for(;;){const l=n,o=r;if(l!=null){const i=l;if(i instanceof Ge){n=pt(i),r=be([ut(i),Nt(i)],t(mt(i),o));continue e}else return be([ut(i),Nt(i)],o)}else return o}};return t(e,vt())}function ly(e,t,n){let r=n;IE((l,o)=>{t[r]=[l,o],r=r+1|0},e)}function AE(e){const t=ty(e)|0,n=Pg(new Array(t),0,t,[null,null]);return ly(e,n,0),n}function ME(e,t){return jl((n,r)=>Gi(e,r[0],r[1],n),void 0,t)}function DE(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){const i=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Gi(r,i[0],i[1],l),n=o;continue e}else return l}}function FE(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const l=t[r];n=Gi(e,l[0],l[1],n)}return n}function RE(e,t){if(kr(t))return FE(e,t);if(t instanceof Un)return ME(e,t);{const n=Ce(t);try{return DE(e,void 0,n)}finally{ye(n)}}}class PE extends tt{constructor(t,n){super(),this.stack=t,this.started=n}}function oy(e){e:for(;;){const t=e;if(U(t))return vt();{const n=k(t),r=T(t);if(r!=null){const l=r;if(l instanceof Ge){e=Re([pt(l),Pu(ut(l),Nt(l)),mt(l)],n);continue e}else return t}else{e=n;continue e}}}}function mp(e){return new PE(oy(X(e)),!1)}function OE(){throw new Error("enumeration not started")}function LE(){throw new Error("enumeration already finished")}function gp(e){if(e.started){const t=e.stack;if(U(t))return LE();if(T(t)!=null){const n=T(t);if(n instanceof Ge)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ut(n),Nt(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return OE()}function $E(e){if(e.started){const t=e.stack;if(U(t))return!1;if(T(t)!=null){if(T(t)instanceof Ge)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=oy(k(t)),!U(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!U(e.stack)}function yp(e){let t=mp(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return gp(t)},"System.Collections.IEnumerator.get_Current"(){return gp(t)},"System.Collections.IEnumerator.MoveNext"(){return $E(t)},"System.Collections.IEnumerator.Reset"(){t=mp(e)},Dispose(){}}}class Ou{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return jE(this)|0}Equals(t){const n=this;if(t instanceof Ou){const r=Ce(n);try{const l=Ce(t);try{const o=()=>{const i=r["System.Collections.IEnumerator.MoveNext"]();if(i===l["System.Collections.IEnumerator.MoveNext"]())if(i){const s=r["System.Collections.Generic.IEnumerator`1.get_Current"](),u=l["System.Collections.Generic.IEnumerator`1.get_Current"]();return me(s[0],u[0])&&me(s[1],u[1])?o():!1}else return!0;else return!1};return o()}finally{ye(l)}}finally{ye(r)}}else return!1}toString(){return"map ["+se("; ",ae(n=>Mg("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return yp(this.tree)}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return yp(this.tree)}CompareTo(t){const n=this;if(t instanceof Ou)return LS((r,l)=>{const o=n.comparer.Compare(r[0],l[0])|0;return(o!==0?o:mn(r[1],l[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Sf(n,t[0])&&me(_f(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){ly(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Zs(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Zs(this)|0}get size(){return Zs(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return ae(n=>[n[0],n[1]],this)}get(t){return _f(this,t)}has(t){return Sf(this,t)}keys(){return ae(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return ae(n=>n[1],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l[1]])(l[0])(r)},r)}}function zE(e,t){return new Ou(e,t)}function BE(e){return e.tree==null}function _f(e,t){return xE(e.comparer,t,e.tree)}function Zs(e){return ty(e.tree)}function Sf(e,t){return NE(e.comparer,t,e.tree)}function UE(e,t){return ny(e.comparer,t,e.tree)}function VE(e){return TE(e.tree)}function HE(e){return AE(e.tree)}function jE(e){const t=(l,o)=>(l<<1)+o+631;let n=0;const r=Ce(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,yt(l[0]))|0,n=t(n,yt(l[1]))|0}}finally{ye(r)}return n|0}function vp(e){return BE(e)}function GE(e,t){return _f(t,e)}function Dn(e,t){return UE(t,e)}function rc(e,t){return Sf(t,e)}function bn(e,t){return zE(t,RE(t,e))}function yl(e){return VE(e)}function WE(e){return HE(e)}function QE(e){return Zs(e)}class fe extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["JNumber","JString","JBool","JNull","JArray","JObject"]}}function KE(e,t){if(e!=null&&/\S/.test(e)){const n=+e.replace("_","");if(!Number.isNaN(n))return t.contents=n,!0}return!1}function Lu(e){const t=new Xr(0);if(KE(e,t))return t.contents;throw new Error("Input string was not in a correct format.")}const dl=e=>({tag:"ok",value:e}),ni=e=>({tag:"error",error:e});class St{constructor(t){this.uri=t}static isAbsoluteUri(t){try{return new URL(t),!0}catch{return!1}}static tryCreateWithKind(t,n){switch(n){case 1:return St.isAbsoluteUri(t)?dl(new St({original:t,value:new URL(t),kind:n})):ni("Invalid URI: The format of the URI could not be determined.");case 2:return St.isAbsoluteUri(t)?ni("URI is not a relative path."):dl(new St({original:t,value:t,kind:n}));case 0:return St.isAbsoluteUri(t)?dl(new St({original:t,value:new URL(t),kind:1})):dl(new St({original:t,value:t,kind:2}));default:return n}}static tryCreateWithBase(t,n){return t.uri.kind!==1?ni("Base URI should have Absolute kind"):typeof n=="string"?dl(new St({original:new URL(n,t.uri.value).toString(),value:new URL(n,t.uri.value),kind:1})):n.uri.kind===2?dl(new St({original:new URL(n.uri.value,t.uri.value).toString(),value:new URL(n.uri.value,t.uri.value),kind:1})):dl(t)}static tryCreateImpl(t,n=1){return typeof t=="string"?typeof n!="number"?ni("Kind must be specified when the baseUri is a string."):St.tryCreateWithKind(t,n):typeof n=="number"?ni("Kind should not be specified when the baseUri is an absolute Uri."):St.tryCreateWithBase(t,n)}static create(t,n=1){const r=St.tryCreateImpl(t,n);switch(r.tag){case"ok":return r.value;case"error":throw new Error(r.error);default:return r}}static tryCreate(t,n=1,r){const l=St.tryCreateImpl(t,n);switch(l.tag){case"ok":return r.contents=l.value,!0;case"error":return!1;default:return l}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return this.uri.kind===1}get absoluteUri(){return this.asUrl().href}get scheme(){const t=this.asUrl().protocol;return t.slice(0,t.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const t=this.asUrl();return t.pathname+t.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}function De(e){if(!(this instanceof De))return new De(e);this._=e}var Z=De.prototype;function JE(e,t){var n=0;for(n;nt.furthest)return e;var n=e.furthest===t.furthest?YE(e.expected,t.expected):t.expected;return{status:e.status,index:e.index,value:e.value,furthest:t.furthest,expected:n}}function uy(e,t){if(_i(e))return{offset:t,line:-1,column:-1};var n=e.slice(0,t).split(` + `)+" }"}function z_(e){const t=Object.values(e).map(n=>yt(n));return Bo(t)}function B_(e,t){if(e===t)return!0;if(Cu(e,t)){const n=Object.keys(e);for(let r=0;rt,this.setter=r=>{t=r})}}const sl=Symbol("numeric");function mg(e){return typeof e=="number"||(e==null?void 0:e[sl])}function V_(e,t){return typeof e=="number"?et?1:0:e.CompareTo(t)}function uf(e,t){return typeof e=="number"?e*t:e[sl]().multiply(t)}function Gs(e,t){return typeof e=="number"?e.toFixed(t):e[sl]().toFixed(t)}function Eu(e,t){return typeof e=="number"?e.toPrecision(t):e[sl]().toPrecision(t)}function ku(e,t){return typeof e=="number"?e.toExponential(t):e[sl]().toExponential(t)}function xu(e){return typeof e=="number"?(Number(e)>>>0).toString(16):e[sl]().toHex()}var ve={GetHashCode(){return Bo([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[sl](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},H_=28,j_=1,Dl=1e6,Wh=1e6,G_=-29,W_=29,Q_=!1,qi="[big.js] ",Vl=qi+"Invalid ",ra=Vl+"decimal places",K_=Vl+"rounding mode",gg=qi+"Division by zero",or=void 0,J_=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function yg(){function e(t){var n=this;if(!(n instanceof e))return t===or?yg():new e(t);if(t instanceof e)n.s=t.s,n.e=t.e,n.c=t.c.slice(),Z_(n);else{if(typeof t!="string"){if(e.strict===!0)throw TypeError(Vl+"number");t=t===0&&1/t<0?"-0":String(t)}q_(n,t)}n.constructor=e}return e.prototype=ve,e.DP=H_,e.RM=j_,e.NE=G_,e.PE=W_,e.strict=Q_,e}function Z_(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(n=>n);e.c=e.c.slice(t),e.e=e.e-t}}function q_(e,t){var n,r,l;if(!J_.test(t))throw Error(Vl+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),l=t.length,r=0;r=5||n===2&&(l[0]>5||l[0]===5&&(r||l[1]!==or))),l.length=1,r?(e.e=e.e-t+1,l[0]=1):l[0]=e.e=0;else if(ts>=t&&i>0)<0;if(r=n===1&&l[t]>=5||n===2&&(l[t]>5||l[t]===5&&(r||l[t+1]!==or||l[t-1]&1))||n===3&&(r||!o),l.length=t--,r)for(;++l[t]>9;)l[t]=0,t--||(++e.e,l.unshift(1));for(t=l.length;!l[--t];)l.pop()}return e}function Uo(e,t,n){var r=e.e,l=e.c.join(""),o=l.length;if(t)l=l.charAt(0)+(o>1?"."+l.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)l="0"+l;l="0."+l}else if(r>0)if(++r>o)for(r-=o;r--;)l+="0";else r1&&(l=l.charAt(0)+"."+l.slice(1));return e.s<0&&n?"-"+l:l}ve.abs=function(){var e=new this.constructor(this);return e.s=1,e};ve.cmp=function(l){var t,n=this.constructor,r=new n(this),l=new n(l),o=r.c,i=l.c,s=r.s,u=l.s,a=r.e,c=l.e;if(!o[0]||!i[0])return o[0]?s:i[0]?-u:0;if(s!=u)return s;if(t=s<0,a!=c)return a>c^t?1:-1;for(u=Math.max(o.length,i.length),s=0;sc^t?1:-1;return 0};ve.div=function(r){var t=this.constructor,n=new t(this),r=new t(r),l=n.c,o=r.c,i=n.s==r.s?1:-1,s=t.DP;if(s!==~~s||s<0||s>Dl)throw Error(ra);if(!o[0])throw Error(gg);if(!l[0])return r.s=i,r.c=[r.e=0],r;var u,a,c,d,f,y=o.slice(),w=u=o.length,C=l.length,R=l.slice(0,u),m=R.length,p=r,g=p.c=[],_=0,x=s+(p.e=n.e-r.e)+1;for(p.s=i,i=x<0?0:x,y.unshift(0);m++m?1:-1;else for(f=-1,d=0;++fR[f]?1:-1;break}if(d<0){for(a=m==u?o:y;m;){if(R[--m]x&&ul(p,x,t.RM,R[0]!==or),p};ve.eq=function(e){return this.cmp(e)===0};ve.gt=function(e){return this.cmp(e)>0};ve.gte=function(e){return this.cmp(e)>-1};ve.lt=function(e){return this.cmp(e)<0};ve.lte=function(e){return this.cmp(e)<1};ve.minus=ve.sub=function(s){var t,n,r,l,o=this.constructor,i=new o(this),s=new o(s),u=i.s,a=s.s;if(u!=a)return s.s=-a,i.plus(s);var c=i.c.slice(),d=i.e,f=s.c,y=s.e;if(!c[0]||!f[0])return f[0]?s.s=-a:c[0]?s=new o(i):s.s=1,s;if(u=d-y){for((l=u<0)?(u=-u,r=c):(y=d,r=f),r.reverse(),a=u;a--;)r.push(0);r.reverse()}else for(n=((l=c.length0)for(;a--;)c[t++]=0;for(a=t;n>u;){if(c[--n]0?(a=s,r=c):(t=-t,r=u),r.reverse();t--;)r.push(0);r.reverse()}for(u.length-c.length<0&&(r=c,c=u,u=r),t=c.length,n=0;t;u[t]%=10)n=(u[--t]=u[t]+c[t]+n)/10|0;for(n&&(u.unshift(n),++a),t=u.length;u[--t]===0;)u.pop();return i.c=u,i.e=a,i};ve.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),l=new t("1"),o=e<0;if(e!==~~e||e<-Wh||e>Wh)throw Error(Vl+"exponent");for(o&&(e=-e);e&1&&(r=r.times(n)),e>>=1,!!e;)n=n.times(n);return o?l.div(r):r};ve.prec=function(e,t){if(e!==~~e||e<1||e>Dl)throw Error(Vl+"precision");return ul(new this.constructor(this),e,t)};ve.round=function(e,t){if(e===or)e=0;else if(e!==~~e||e<-Dl||e>Dl)throw Error(ra);return ul(new this.constructor(this),e+this.e+1,t)};ve.sqrt=function(){var e,t,n,r=this.constructor,l=new r(this),o=l.s,i=l.e,s=new r("0.5");if(!l.c[0])return new r(l);if(o<0)throw Error(qi+"No square root");o=Math.sqrt(l+""),o===0||o===1/0?(t=l.c.join(""),t.length+i&1||(t+="0"),o=Math.sqrt(t),i=((i+1)/2|0)-(i<0||i&1),e=new r((o==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+i)):e=new r(o+""),i=e.e+(r.DP+=4);do n=e,e=s.times(n.plus(l.div(n)));while(n.c.slice(0,i).join("")!==e.c.slice(0,i).join(""));return ul(e,(r.DP-=4)+e.e+1,r.RM)};ve.times=ve.mul=function(l){var t,n=this.constructor,r=new n(this),l=new n(l),o=r.c,i=l.c,s=o.length,u=i.length,a=r.e,c=l.e;if(l.s=r.s==l.s?1:-1,!o[0]||!i[0])return l.c=[l.e=0],l;for(l.e=a+c,sa;)u=t[c]+i[a]*o[c-a-1]+u,t[c--]=u%10,u=u/10|0;t[c]=u}for(u?++l.e:t.shift(),a=t.length;!t[--a];)t.pop();return l.c=t,l};ve.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==or){if(e!==~~e||e<0||e>Dl)throw Error(ra);for(n=ul(new n.constructor(n),++e,t);n.c.lengthDl)throw Error(ra);for(n=ul(new n.constructor(n),e+n.e+1,t),e=e+n.e+1;n.c.length=t.PE,!!e.c[0])};ve.toNumber=function(){var e=Number(Uo(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(qi+"Imprecise conversion");return e};ve.toPrecision=function(e,t){var n=this,r=n.constructor,l=n.c[0];if(e!==or){if(e!==~~e||e<1||e>Dl)throw Error(Vl+"precision");for(n=ul(new r(n),e,t);n.c.length=r.PE,!!l)};ve.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(qi+"valueOf disallowed");return Uo(e,e.e<=t.NE||e.e>=t.PE,!0)};var Nu=yg();const br=Nu;new br(0);new br(1);new br(-1);new br("79228162514264337593543950335");new br("-79228162514264337593543950335");function af(e){return e.toString()}var cf;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(cf||(cf={}));function Y_(e,t){const[,n,r,l]=e;return{sign:n||"",prefix:r||"",digits:l,radix:t}}function Qh(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function X_(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function b_(e,t){if(t&cf.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function vg(e,t,n){const l=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(l!=null){const[,,o,i]=l;if(n=n||b_(o,t),!X_(n).test(i))return Y_(l,n)}return null}function Rt(e,t,n,r,l){const o=vg(e,t,l);if(o!=null){let i=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(i)){const[s,u]=Qh(!0,r);!n&&o.radix!==10&&i>=s&&i<=u&&(i=i<<32-r>>32-r);const[a,c]=Qh(n,r);if(i>=a&&i<=c)return i}}throw new Error("Input string was not in a correct format.")}function e2(e,t,n,r,l){try{return l.contents=Rt(e,t,n,r),!0}catch{return!1}}function t2(e){return e===-2147483648?e:-e}var gn=null;try{gn=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function jn(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}jn.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e};jn.prototype.Equals=function(e){return en(this,e)};jn.prototype.CompareTo=function(e){return Yi(this,e)};jn.prototype.toString=function(e){return To(this,e)};jn.prototype.toJSON=function(){return To(this)};jn.prototype[sl]=function(){const e=this;return{multiply:t=>ln(e,t),toPrecision:t=>String(e)+0 .toPrecision(t).substr(1),toExponential:t=>String(e)+0 .toExponential(t).substr(1),toFixed:t=>String(e)+0 .toFixed(t).substr(1),toHex:()=>To(e.unsigned?e:y2(p2(e),!0),16)}};jn.prototype.__isLong__;Object.defineProperty(jn.prototype,"__isLong__",{value:!0});function Gn(e){return(e&&e.__isLong__)===!0}var Kh={},Jh={};function Hl(e,t){var n,r,l;return t?(e>>>=0,(l=0<=e&&e<256)&&(r=Jh[e],r)?r:(n=Me(e,(e|0)<0?-1:0,!0),l&&(Jh[e]=n),n)):(e|=0,(l=-128<=e&&e<128)&&(r=Kh[e],r)?r:(n=Me(e,e<0?-1:0,!1),l&&(Kh[e]=n),n))}function nn(e,t){if(isNaN(e))return t?Or:Rn;if(t){if(e<0)return Or;if(e>=wg)return o2}else{if(e<=-qh)return yn;if(e+1>=qh)return l2}return e<0?st(nn(-e,t)):Me(e%xo|0,e/xo|0,t)}function Me(e,t,n){return new jn(e,t,n)}var Iu=Math.pow;function Md(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return Rn;if(typeof t=="number"?(n=t,t=!1):t=!!t,n=n||10,n<2||360)throw Error("interior hyphen");if(r===0)return st(Md(e.substring(1),t,n));for(var l=nn(Iu(n,8)),o=Rn,i=0;i>>0:e.low}function Io(e){return e.unsigned?(e.high>>>0)*xo+(e.low>>>0):e.high*xo+(e.low>>>0)}function To(e,t){if(t=t||10,t<2||36>>0,c=a.toString(t);if(i=u,xl(i))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function xl(e){return e.high===0&&e.low===0}function hn(e){return!e.unsigned&&e.high<0}function bh(e){return(e.low&1)===1}function en(e,t){return Gn(t)||(t=al(t)),e.unsigned!==t.unsigned&&e.high>>>31===1&&t.high>>>31===1?!1:e.high===t.high&&e.low===t.low}function ep(e,t){return Yi(e,t)<0}function Za(e,t){return Yi(e,t)>0}function i2(e,t){return Yi(e,t)>=0}function Yi(e,t){if(Gn(t)||(t=al(t)),en(e,t))return 0;var n=hn(e),r=hn(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:hn(Rl(e,t))?-1:1}function st(e){return!e.unsigned&&en(e,yn)?yn:Fl(u2(e),si)}function Fl(e,t){Gn(t)||(t=al(t));var n=e.high>>>16,r=e.high&65535,l=e.low>>>16,o=e.low&65535,i=t.high>>>16,s=t.high&65535,u=t.low>>>16,a=t.low&65535,c=0,d=0,f=0,y=0;return y+=o+a,f+=y>>>16,y&=65535,f+=l+u,d+=f>>>16,f&=65535,d+=r+s,c+=d>>>16,d&=65535,c+=n+i,c&=65535,Me(f<<16|y,c<<16|d,e.unsigned)}function Rl(e,t){return Gn(t)||(t=al(t)),Fl(e,st(t))}function ln(e,t){if(xl(e))return e.unsigned?Or:Rn;if(Gn(t)||(t=al(t)),gn){var n=gn.mul(e.low,e.high,t.low,t.high);return Me(n,gn.get_high(),e.unsigned)}if(xl(t))return e.unsigned?Or:Rn;if(en(e,yn))return bh(t)?yn:Rn;if(en(t,yn))return bh(e)?yn:Rn;if(hn(e))return hn(t)?ln(st(e),st(t)):st(ln(st(e),t));if(hn(t))return st(ln(e,st(t)));if(ep(e,Yh)&&ep(t,Yh))return nn(Io(e)*Io(t),e.unsigned);var r=e.high>>>16,l=e.high&65535,o=e.low>>>16,i=e.low&65535,s=t.high>>>16,u=t.high&65535,a=t.low>>>16,c=t.low&65535,d=0,f=0,y=0,w=0;return w+=i*c,y+=w>>>16,w&=65535,y+=o*c,f+=y>>>16,y&=65535,y+=i*a,f+=y>>>16,y&=65535,f+=l*c,d+=f>>>16,f&=65535,f+=o*a,d+=f>>>16,f&=65535,f+=i*u,d+=f>>>16,f&=65535,d+=r*c+l*a+o*u+i*s,d&=65535,Me(y<<16|w,d<<16|f,e.unsigned)}function gr(e,t){if(Gn(t)||(t=al(t)),xl(t))throw Error("division by zero");if(gn){if(!e.unsigned&&e.high===-2147483648&&t.low===-1&&t.high===-1)return e;var n=(e.unsigned?gn.div_u:gn.div_s)(e.low,e.high,t.low,t.high);return Me(n,gn.get_high(),e.unsigned)}if(xl(e))return e.unsigned?Or:Rn;var r,l,o;if(e.unsigned){if(t.unsigned||(t=h2(t)),Za(t,e))return Or;if(Za(t,d2(e,1)))return r2;o=Or}else{if(en(e,yn)){if(en(t,si)||en(t,Xh))return yn;if(en(t,yn))return si;var i=f2(e,1);return r=c2(gr(i,t),1),en(r,Rn)?hn(t)?si:Xh:(l=Rl(e,ln(t,r)),o=Fl(r,gr(l,t)),o)}else if(en(t,yn))return e.unsigned?Or:Rn;if(hn(e))return hn(t)?gr(st(e),st(t)):st(gr(st(e),t));if(hn(t))return st(gr(e,st(t)));o=Rn}for(l=e;i2(l,t);){r=Math.max(1,Math.floor(Io(l)/Io(t)));for(var s=Math.ceil(Math.log(r)/Math.LN2),u=s<=48?1:Iu(2,s-48),a=nn(r),c=ln(a,t);hn(c)||Za(c,l);)r-=u,a=nn(r,e.unsigned),c=ln(a,t);xl(a)&&(a=si),o=Fl(o,a),l=Rl(l,c)}return o}function s2(e,t){if(Gn(t)||(t=al(t)),gn){var n=(e.unsigned?gn.rem_u:gn.rem_s)(e.low,e.high,t.low,t.high);return Me(n,gn.get_high(),e.unsigned)}return Rl(e,ln(gr(e,t),t))}function u2(e){return Me(~e.low,~e.high,e.unsigned)}function a2(e,t){return Gn(t)||(t=al(t)),Me(e.low&t.low,e.high&t.high,e.unsigned)}function c2(e,t){return Gn(t)&&(t=No(t)),(t&=63)===0?e:t<32?Me(e.low<>>32-t,e.unsigned):Me(0,e.low<>>t|e.high<<32-t,e.high>>t,e.unsigned):Me(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function d2(e,t){if(Gn(t)&&(t=No(t)),t&=63,t===0)return e;var n=e.high;if(t<32){var r=e.low;return Me(r>>>t|n<<32-t,n>>>t,e.unsigned)}else return Me(t===32?n:n>>>t-32,0,e.unsigned)}function h2(e){return e.unsigned?e:Me(e.low,e.high,!0)}function p2(e,t){return t?m2(e):g2(e)}function m2(e){var t=e.high,n=e.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}function g2(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,n>>>24,n>>>16&255,n>>>8&255,n&255]}function y2(e,t,n){return n?v2(e,t):w2(e,t)}function v2(e,t){return new jn(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}function w2(e,t){return new jn(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}const Vt=Fl,_2=Rl,Tt=ln,Sn=gr,S2=s2,_g=st,Vo=a2,C2=en,Xi=Yi,E2=Hl,ot=Me,Tu=nn,Bn=No,Sg=Io,tp=To;function k2(e,t,n){switch(t){case 2:return e?"1111111111111111111111111111111111111111111111111111111111111111":n?"1000000000000000000000000000000000000000000000000000000000000000":"111111111111111111111111111111111111111111111111111111111111111";case 8:return e?"1777777777777777777777":n?"1000000000000000000000":"777777777777777777777";case 10:return e?"18446744073709551615":n?"9223372036854775808":"9223372036854775807";case 16:return e?"FFFFFFFFFFFFFFFF":n?"8000000000000000":"7FFFFFFFFFFFFFFF";default:throw new Error("Invalid radix.")}}function Be(e,t,n){let r=e,l=0;switch(n){case 0:r=e<<24>>24,l=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,l=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,l=r;break;case 6:r=e>>>0;break}return Me(r,l>>31,t)}function Ws(e,t,n,r,l){const o=vg(e,t,l);if(o!=null){const i=(a,c)=>{const d=Math.max(a.length,c.length);return a.padStart(d,"0")<=c.padStart(d,"0")},s=o.sign==="-",u=k2(n||o.radix!==10,o.radix,s);if(i(o.digits.toUpperCase(),u))return e=s?o.sign+o.digits:o.digits,Md(e,n,o.radix)}throw new Error("Input string was not in a correct format.")}function x2(e,t,n,r,l){try{return l.contents=Ws(e,t,n,r),!0}catch{return!1}}function N2(e,t){return Tt(Vt(Vt(nn(e),621355968e5),t),1e4)}function I2(e){return Io(_2(Sn(e,1e4),621355968e5))}class T2{constructor(t,n,r,l){this.declaringType=t,this.tag=n,this.name=r,this.fields=l}}let dr=class{constructor(t,n,r,l,o,i,s){this.fullname=t,this.generics=n,this.construct=r,this.parent=l,this.fields=o,this.cases=i,this.enumCases=s}toString(){return Qe(this)}GetHashCode(){return Cg(this)}Equals(t){return Au(this,t)}};function jt(e){return e.generics!=null?e.generics:[]}function Cg(e){const t=Td(e.fullname),n=jt(e).map(Cg);return Bo([t,...n])}function Au(e,t){return e.fullname===""?t.fullname===""&&sf(Mu(e),Mu(t),([n,r],[l,o])=>n===l&&Au(r,o)):e.fullname===t.fullname&&sf(jt(e),jt(t),Au)}function bi(e,t,n,r){return new dr(e,t,n,r)}function es(e,t,n,r){return new dr(e,t,n,void 0,r)}function ts(e,t,n,r){const l=new dr(e,t,n,void 0,void 0,()=>{const o=n.prototype.cases();return r().map((i,s)=>new T2(l,s,o[s],i))});return l}function qa(e){return new dr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Pl(e){return new dr("[]",[e])}const Ol=new dr("System.String"),$t=new dr("System.Int32");function Ye(e){if(Array.isArray(e))return e[0];if(e instanceof dr){const t=la(e);if(t!=null)return Ye(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function Qe(e){const t=la(e);return t!=null?Qe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>Qe(n)).join(",")+"]"}function A2(e){return la(e)!=null}function la(e){var t;return e.fullname==="[]"&&((t=e.generics)===null||t===void 0?void 0:t.length)===1?e.generics[0]:void 0}function M2(e){return e.enumCases!=null&&e.enumCases.length>0}function D2(e){var t;return(t=e.generics)===null||t===void 0?void 0:t[0]}function Eg(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Mu(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function F2(e){if(kg(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function R2(e){if(Dd(e)&&e.generics!=null){const t=e.generics;return[t[0],t[1]]}else throw new Error(`${e.fullname} is not an F# function type`)}function P2(e){return e instanceof dr?e.cases!=null:e instanceof Hn}function O2(e){return e instanceof dr?e.fields!=null:e instanceof tt}function kg(e){return e.fullname.startsWith("System.Tuple")}function Dd(e){return e.fullname==="Microsoft.FSharp.Core.FSharpFunc`2"}function L2(e,t){const r=Eg(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function $2(e){return e.fields==null?[]:e.fields}function z2(e,t){return e[t[0]]}function qn(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return e.declaringType.construct!=null?new e.declaringType.construct(e.tag,t):{}}function B2(e,t){const n=Mu(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[l,o],i)=>(r[l]=t[i],r),{})}function Gt(e){return e==null||e instanceof ko?new ko(e):e}function xg(e){return e==null?[]:[Se(e)]}function Ln(e,t){return e!=null?Se(e):t}function Ya(e,t){return t!=null?Gt(e(Se(t))):void 0}function Fd(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+Xn(n,2)+":"+Xn(r,2)}function Du(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function U2(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return Xn(e.getFullYear(),4)+"-"+Xn(e.getMonth()+1,2)+"-"+Xn(e.getDate(),2)+"T"+Xn(e.getHours(),2)+":"+Xn(e.getMinutes(),2)+":"+Xn(e.getSeconds(),2)+"."+Xn(e.getMilliseconds(),3)+(n?Fd(e.getTimezoneOffset()*-6e4):"")}}function V2(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Fd(t)}function Ng(e,t,n){return t.replace(/(\w)\1*/g,r=>{let l=Number.NaN;switch(r.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();l=r.length<4?o%100:o;break;case"M":l=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":l=n?e.getUTCDate():e.getDate();break;case"H":l=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();l=i>12?i%12:i;break;case"m":l=n?e.getUTCMinutes():e.getMinutes();break;case"s":l=n?e.getUTCSeconds():e.getSeconds();break;case"f":l=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(l)?r:Xn(l,r.length)})}function H2(e,t){var n,r,l;const o=new Date(e.getTime()+((n=e.offset)!==null&&n!==void 0?n:0));if(typeof t!="string")return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Fd((r=e.offset)!==null&&r!==void 0?r:0);if(t.length===1)switch(t){case"D":case"d":return Du(o,"first");case"T":case"t":return Du(o,"second");case"O":case"o":return V2(o,(l=e.offset)!==null&&l!==void 0?l:0);default:throw new Error("Unrecognized Date print format")}else return Ng(o,t,!0)}function j2(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?Du(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Du(e,"second"):e.toLocaleTimeString();case"O":case"o":return U2(e,n);default:throw new Error("Unrecognized Date print format")}else return Ng(e,t,n)}function Ao(e,t,n){return e.offset!=null?H2(e,t):j2(e,t)}function Rd(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function G2(e){return N2(e.getTime(),lf(e))}function Ig(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const l=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(l!=null){let o,i=0;if(l[2]!=null){const s=l[2].split(":");i=parseInt(s[0],10)*3600+parseInt(s[1]||"0",10)*60+parseFloat(s[2]||"0"),l[3]!=null&&l[3].toUpperCase()==="PM"&&(i+=720)}if(l[4]!=null){if(l[1]!=null)o=new Date(l[1]+" UTC");else{const s=new Date;o=new Date(s.getUTCFullYear()+"/"+(s.getUTCMonth()+1)+"/"+s.getUTCDate())}if(l[4]==="Z")r="Z";else{let s=parseInt(l[5],10)*60+parseInt(l[6]||"0",10);l[4][0]==="-"&&(s*=-1),r=s,i-=s*60}}else if(l[1]!=null)o=new Date(l[1]);else{const s=new Date;o=new Date(s.getFullYear()+"/"+(s.getMonth()+1)+"/"+s.getDate())}n=new Date(o.getTime()+i*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function W2(e,t=!1){const[n,r]=Ig(e),l=r!=null?t&&r==="Z"?1:2:0;return Rd(n.getTime(),l)}function Q2(){return Rd(Date.now(),2)}function K2(e){return e.toDateString()}function J2(e){return e.toLocaleTimeString()}function oa(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function ia(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Z2(e,t,n=0){return e.lastIndex=n,e.exec(t)}function ns(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let l,o=-1;for(;(l=e.exec(t))!=null;)l.index===o?e.lastIndex++:(o=l.index,r.push(l));return r}const ti=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,q2=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Tg(e,t){return V_(e,t)<0}function H(e){return{input:e,cont:X2(e)}}function Pd(e,t){return typeof t=="string"?e(t):t.cont(e)}function sa(e){return Pd(t=>console.log(t),e)}function Te(e){return Pd(t=>t,e)}function xe(e){return Pd(t=>{throw new Error(t)},e)}function Y2(e,t,n,r,l){let o="";if(t=t||"",l=l||"",mg(e))switch(l.toLowerCase()!=="x"&&(Tg(e,0)?(e=uf(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=r==null?null:parseInt(r,10),l){case"f":case"F":r=r??6,e=Gs(e,r);break;case"g":case"G":e=r!=null?Eu(e,r):Eu(e);break;case"e":case"E":e=r!=null?ku(e,r):ku(e);break;case"x":e=xu(e);break;case"X":e=xu(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Ao(e):e=Ht(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=o+e;else{const i=t.indexOf("0")>=0,s=t.indexOf("-")>=0,u=s||!i?" ":"0";u==="0"?(e=Vi(e,n-o.length,u,s),e=o+e):e=Vi(o+e,n,u,s)}return e}function Ag(e,t,n,r="",l=-1){return(...o)=>{let i=r;const s=t.slice(),u=n.slice();for(const a of o){const[,,c,d,f,y]=u[0];let w=d;if(l>=0)w=l,l=-1;else if(w==="*"){if(a<0)throw new Error("Non-negative number required");l=a;continue}i+=s[0],i+=Y2(a,c,w,f,y),s.splice(0,1),u.splice(0,1)}return u.length===0?(i+=s[0],e(i)):Ag(e,s,u,i,l)}}function X2(e){return t=>{ti.lastIndex=0;const n=[],r=[];let l=0,o=ti.exec(e);for(;o;){const i=o.index+(o[1]||"").length;n.push(e.substring(l,i).replace(/%%/g,"%")),r.push(o),l=ti.lastIndex,ti.lastIndex-=1,o=ti.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(l).replace(/%%/g,"%")),Ag(t,n,r))}}function Mg(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(q2,(r,l,o,i,s,u)=>{if(l<0||l>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=t[l];if(mg(a))switch(s=s==null?null:parseInt(s,10),i){case"f":case"F":s=s??2,a=Gs(a,s);break;case"g":case"G":a=s!=null?Eu(a,s):Eu(a);break;case"e":case"E":a=s!=null?ku(a,s):ku(a);break;case"p":case"P":s=s??2,a=Gs(uf(a,100),s)+" %";break;case"d":case"D":a=s!=null?Xa(String(a),s,"0"):String(a);break;case"x":case"X":a=s!=null?Xa(xu(a),s,"0"):xu(a),i==="X"&&(a=a.toUpperCase());break;default:if(u){let c="";a=u.replace(/([0#,]+)(\.[0#]+)?/,(d,f,y)=>{Tg(a,0)&&(a=uf(a,-1),c="-"),y=y==null?"":y.substring(1),a=Gs(a,Math.max(y.length,0));let[w,C]=a.split(".");C||(C="");const R=f.replace(/,/g,"").replace(/^#+/,"").length;w=Xa(w,R,"0");const m=y.replace(/#+$/,"").length;if(m>C.length?C=nS(C,m,"0"):m0){const p=w.length%3,g=Math.floor(w.length/3);let _=p>0?w.substr(0,p)+(g>0?",":""):"";for(let x=0;x0?w+"."+C:w}),a=c+a}}else a instanceof Date?a=Ao(a,u||i):a=Ht(a);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(a=Vi(String(a),Math.abs(o)," ",o<0)),a})}function Fu(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Dg(e){return typeof e!="string"||e.length===0}function b2(e){return typeof e!="string"||/^\s*$/.test(e)}function se(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function eS(e){throw new Error("The environment doesn't support '"+e+"', please use a polyfill.")}function tS(e){const t=typeof atob=="function"?atob(e):eS("atob"),n=new Uint8Array(t.length);for(let r=0;r=e.length)throw new Error("startIndex must be less than length of string");if(typeof n=="number"&&t+n>e.length)throw new Error("Index and count must refer to a location within the string.");return e.slice(0,t)+(typeof n=="number"?e.substr(t+n):"")}function rS(e,t,n){return e.replace(new RegExp(ia(t),"g"),n)}function lS(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const l=(r&1)===1,o=(r&2)===2;t=t||[],t=t.filter(c=>c).map(ia),t=t.length>0?t:["\\s"];const i=[],s=new RegExp(t.join("|"),"g");let u=!0,a=0;do{const c=s.exec(e);if(c===null){const d=o?e.substring(a).trim():e.substring(a);(!l||d.length>0)&&i.push(d),u=!1}else{const d=o?e.substring(a,c.index).trim():e.substring(a,c.index);(!l||d.length>0)&&(n!=null&&i.length+1===n?(i.push(o?e.substring(a).trim():e.substring(a)),u=!1):i.push(d)),a=s.lastIndex}}while(u);return i}function oS(e,...t){if(t.length===0)return e.trim();const n="["+ia(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function iS(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+ia(t.join(""))+"]+$"),"")}function Rg(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return n!=null?e.substr(t,n):e.substr(t)}function sS(e){throw new Error(e)}function Mo(e,t){return typeof e=="function"?new e(t):new Array(t)}const Od="Collection was empty.";function uS(){throw new Error("An index satisfying the predicate was not found in the collection.")}function aS(){throw new Error("Arrays had different lengths")}function Pg(e,t,n,r){const l=t|0;return e.fill(r,l,l+n)}function ff(e,t,n){const r=t.length|0,l=Mo(n,r);for(let o=0;o<=r-1;o++)l[o]=e(o,t[o]);return l}function $e(e,t,n){const r=t.length|0,l=Mo(n,r);for(let o=0;o<=r-1;o++)l[o]=e(t[o]);return l}function cS(e,t){const n=Array.isArray(e)?e:Array.from(e),r=n.length|0;if(r===0)return Mo(t,0);if(r===1)return n[0];{let l=0,o=0;for(let s=0;s<=n.length-1;s++){const u=n[s];o=o+u.length|0}const i=Mo(t,o);for(let s=0;s<=n.length-1;s++){const u=n[s];for(let a=0;a<=u.length-1;a++)i[l]=u[a],l=l+1|0}return i}}function fS(e,t){const n=Mo(t,1);return n[0]=e,n}function Ho(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=Mo(n,e);for(let l=0;l<=e-1;l++)r[l]=t(l);return r}function dS(e){return e.slice()}function hS(e,t){const n=t.find(e);return n==null?uS():Se(n)}function Jl(e,t){return t.find(e)}function pS(e,t,n){return n.reduce(e,t)}function ba(e,t){e.length!==t.length&&aS();const n=new Array(e.length);for(let r=0;r<=e.length-1;r++)n[r]=[e[r],t[r]];return n}function df(e,t,n){if(t==null)return n==null;if(n==null)return!1;{let r=0,l=!0;const o=t.length|0,i=n.length|0;if(o>i)return!1;if(o{e:for(;;){const i=l,s=o,u=i.tail,a=s.tail;if(u!=null)if(a!=null){const c=u,d=a;if(me(i.head,s.head)){l=c,o=d;continue e}else return!1}else return!1;else return a==null}})(n,t)}GetHashCode(){return((r,l,o)=>{e:for(;;){const i=r,s=l,u=o,a=u.tail;if(a!=null){const c=a;if(i>18)return s|0;r=i+1,l=(s<<1)+yt(u.head)+631*i,o=c;continue e}else return s|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((l,o)=>{e:for(;;){const i=l,s=o,u=i.tail,a=s.tail;if(u!=null)if(a!=null){const c=u,d=a,f=mn(i.head,s.head)|0;if(f===0){l=c,o=d;continue e}else return f|0}else return 1;else return a!=null?-1:0}})(this,t)|0}GetEnumerator(){return gS(this)}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ce(this)}}class mS{constructor(t){this.xs=t,this.it=this.xs,this.current=Ke()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=n;return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Ke()}Dispose(){}}function gS(e){return new mS(e)}function Cn(){return new Un(Ke(),void 0)}function ua(e,t){return new Un(e,t)}function Ll(e){return e.tail==null}function Og(e){return((n,r)=>{e:for(;;){const l=n,i=r.tail;if(i!=null){n=l+1,r=i;continue e}else return l|0}})(0,e)|0}function Hi(e){if(e.tail!=null)return e.head;throw new Error(Od+"\\nParameter name: list")}function ir(e){const t=e.tail;if(t!=null)return t;throw new Error(Od+"\\nParameter name: list")}function vt(){return Cn()}function be(e,t){return ua(e,t)}function X(e){return ua(e,Cn())}function U(e){return Ll(e)}function ec(e){return Og(e)}function T(e){return Hi(e)}function k(e){return ir(e)}function gl(e){const t=Og(e)|0,n=Pg(new Array(t),0,t,null);return((l,o)=>{e:for(;;){const i=l,s=o;if(!Ll(s)){n[i]=Hi(s),l=i+1,o=ir(s);continue e}break}})(0,e),n}function jl(e,t,n){let r=t,l=n;for(;!Ll(l);)r=e(r,T(l)),l=ir(l);return r}function yS(e){return jl((t,n)=>ua(n,t),Cn(),e)}function Re(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=ua(e[r],n);return n}function S(e){return Re(e,Cn())}function vS(e){let t,n;if(xr(e))return S(e);if(e instanceof Un)return e;{const r=Cn();let l=r;const o=Ce(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();l=(t=l,n=new Un(u,void 0),t.tail=n,n)}}finally{ye(o)}const i=l,s=Cn();return i.tail=s,ir(r)}}function wS(e,t){let n,r;const l=Cn();let o=l,i=t;for(;!Ll(i);){let a=e(Hi(i));for(;!Ll(a);)o=(n=o,r=new Un(Hi(a),void 0),n.tail=r,r),a=ir(a);i=ir(i)}const s=o,u=Cn();return s.tail=u,ir(l)}function Et(e,t){const n=Cn(),r=jl((o,i)=>{const s=new Un(e(i),void 0);return o.tail=s,s},n,t),l=Cn();return r.tail=l,ir(n)}function _S(e,t){return(r=>{e:for(;;){const l=r;if(Ll(l))return;{const o=e(Hi(l));if(o==null){r=ir(l);continue e}else return o}}})(t)}function np(e,t){return _S(n=>e(n)?Gt(n):void 0,t)}function SS(e,t){const n=Cn(),r=jl((o,i)=>{const s=e(i);if(s==null)return o;{const u=new Un(Se(s),void 0);return o.tail=u,u}},n,t),l=Cn();return r.tail=l,ir(n)}function CS(e,t){if(Ll(t))throw new Error(Od);return jl(e,T(t),k(t))}const ES="Enumeration already finished.",kS="Enumeration has not started. Call MoveNext.",xS="Reset is not supported on this enumerator.";function NS(){throw new Error(xS)}function Ld(){throw new Error(kS)}function hf(){throw new Error(ES)}class IS{constructor(t){this.f=t}toString(){const t=this,n=4;let r=0,l="seq [";const o=Ce(t);try{for(;r0&&(l=l+"; "),l=l+Ht(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===n&&(l=l+"; ..."),l+"]"}finally{ye(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function TS(e){return new IS(e)}class AS{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){NS()}Dispose(){this.dispose()}}function $d(e,t,n){return new AS(e,t,n)}function MS(e){let t,n,r=!1,l=!1,o;const i=()=>{if(l=!0,n!=null){const s=n;try{ye(s)}finally{n=void 0}}if(t!=null){const s=t;try{ye(s)}finally{t=void 0}}};return $d(()=>(r?l&&hf():Ld(),o!=null?Se(o):hf()),()=>{let s;if(r||(r=!0),l)return!1;{let u;for(;u==null;){const a=t,c=n;if(a!=null)if(c!=null){const d=c;if(d["System.Collections.IEnumerator.MoveNext"]())o=Gt(d["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{ye(d)}finally{n=void 0}}else{const d=a;d["System.Collections.IEnumerator.MoveNext"]()?n=(s=d["System.Collections.Generic.IEnumerator`1.get_Current"](),Ce(s)):(i(),u=!1)}else t=Ce(e)}return Se(u)}},()=>{l||i()})}function DS(e,t,n){let r=!1,l,o=Gt(e());const i=()=>{if(o!=null){const u=Se(o);try{n(u)}finally{o=void 0}}},s=()=>{try{i()}finally{l=void 0}};return $d(()=>(r||Ld(),l!=null?Se(l):hf()),()=>{if(r||(r=!0),o!=null){const u=Se(o);let a;try{a=t(u)}catch(c){throw s(),c}return a!=null?(l=a,!0):(s(),!1)}else return!1},i)}function FS(e,t){let n,r=t;return $d(()=>{if(n!=null){const l=n[0];return n[1],l}else return Ld()},()=>(n=e(r),n!=null?(n[0],r=n[1],!0):!1),()=>{})}function RS(e,t){t==null&&sS(e)}function aa(e){return TS(e)}function Do(e){return RS("source",e),Ce(e)}function N(e){return aa(()=>Ce(e()))}function ca(e){return aa(()=>MS(e))}function PS(e,t){return aa(()=>FS(e,t))}function Ue(){return N(()=>new Array(0))}function F(e){return N(()=>fS(e,null))}function $l(e){return e instanceof Un?gl(e):Array.from(e)}function oe(e){return xr(e)?S(e):e instanceof Un?e:vS(e)}function OS(e,t,n){return aa(()=>DS(e,t,n))}function ee(e,t){return ca([e,t])}function LS(e,t,n){const r=Do(t);try{const l=Do(n);try{let o=0,i=r["System.Collections.IEnumerator.MoveNext"](),s=l["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&i&&s;)o=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),l["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(i=r["System.Collections.IEnumerator.MoveNext"](),s=l["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:i?1:s?-1:0)|0}finally{ye(l)}}finally{ye(r)}}function $S(e,t){const n=Do(t);try{let r=!1;for(;!r&&n["System.Collections.IEnumerator.MoveNext"]();)r=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return r}finally{ye(n)}}function zS(e,t){const n=Do(t);try{let r;for(;r==null&&n["System.Collections.IEnumerator.MoveNext"]();){const l=n["System.Collections.Generic.IEnumerator`1.get_Current"]();e(l)&&(r=Gt(l))}return r}finally{ye(n)}}function fa(e,t,n){const r=Do(n);try{let l=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)l=e(l,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return l}finally{ye(r)}}function BS(e,t){return!$S(n=>!e(n),t)}function jo(e,t){fa((n,r)=>{e(r)},void 0,t)}function Lg(e,t){fa((n,r)=>(e(n,r),n+1|0),0,t)}function ae(e,t){return OS(()=>Do(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?Gt(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{ye(n)})}function En(e,t){return N(()=>ca(ae(e,t)))}function US(e,t){return fa((n,r)=>t.Add(n,r),t.GetZero(),e)}function VS(e,t,n){return fa((r,l)=>n.Add(r,e(l)),n.GetZero(),t)}function HS(e){return jl((t,n)=>{const r=t[0],l=t[1],o=n;return o[0]==="className"?[be(Ht(o[1]),r),l]:[r,be(n,l)]},[vt(),vt()],yS(e))}function K(e,t){const n=HS(t);return be(["className",se(" ",be(e,n[0]))],n[1])}const v=hv;function rs(e,t,n){const r=oe(N(()=>ee(F(h.createElement("h3",{children:[e]})),N(()=>ee(U(n)?Ue():n,N(()=>{let l,o;return F((l=X(h.createElement("table",O(K("table",S([["className","reference-table"],["className","is-bordered"],["className","is-fullwidth"],(o=[h.createElement("tbody",{children:v.Children.toArray(Array.from(t))})],["children",v.Children.toArray(Array.from(o))])]))))),h.createElement("div",{className:"table-container",children:v.Children.toArray(Array.from(l))})))}))))));return h.createElement("div",{className:"content",children:v.Children.toArray(Array.from(r))})}const jS=rs("Basic",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 + 1d11 + 15w20"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Basic dice roll. Roll x dice with y sides, where xdy or xwy."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 + 15"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"You can add flat modifiers to basic dice roll."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),S([h.createElement("p",{children:["For one dice roll (e.g. 3d6) you can mix between categories below but never use multiples of the same category."]}),(()=>{let e,t;const n=S([(e=S([h.createElement("span",{children:["Not allowed:"]}),h.createElement("code",{children:["3d6 k2 kl2"]})]),h.createElement("li",{children:v.Children.toArray(Array.from(e))})),(t=S([h.createElement("span",{children:["Allowed:"]}),h.createElement("code",{children:["3d6 k1 ie6 r2"]}),h.createElement("span",{children:["; roll 3d6, reroll any 1 or 2 once, explode rolled 6, then keep highest."]})]),h.createElement("li",{children:v.Children.toArray(Array.from(t))}))]);return h.createElement("ul",{children:v.Children.toArray(Array.from(n))})})(),h.createElement("p",{dangerouslySetInnerHTML:{__html:"The order of execution for categories is always: RerollExplodeKeep/Drop."}})])),GS=rs("Keep/Drop",S([(()=>{let e;const t=S([(e=S([h.createElement("code",{children:["3d6 k1"]}),h.createElement("span",{children:["/"]}),h.createElement("code",{children:["3d6 kh1"]})]),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Keep highest x rolls, where x is 3d6 kx or 3d6 khx. This example would roll 3 six-sided dice and only return the highest number rolled."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 kl2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Keep lowest x rolls, where x is 3d6 klx. This example would roll 3 six-sided dice and only return the two lowest numbers rolled."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=S([h.createElement("code",{children:["3d6 d1"]}),h.createElement("span",{children:["/"]}),h.createElement("code",{children:["3d6 dl1"]})]),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Drop lowest x rolls, where x is 3d6 dx or 3d6 dlx. This example would roll 3 six-sided dice and return all dice rolles, except the lowest."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 dh2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Drop highest x rolls, where x is 3d6 dhx. This example would roll 3 six-sided dice and return all dice rolles, except the two highest."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt()),WS=rs("Explode",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 e6"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Explode die once when rolled above x, where x is 3d6 ex. This example would roll 3 six-sided dice and add another roll on top of any die rolling a 6."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 ie6"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Explode die indefinitely (max 100x) when rolled above x, where x is 3d6 iex. This example would roll 3 six-sided dice and add another roll on top of any die rolling a 6. If any of those dice would roll a 6 again, explode again."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt()),QS=rs("Reroll",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 r2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Reroll die once when rolled below x, where x is 3d6 rx. This example would roll 3 six-sided dice and reroll any roll below 2."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["3d6 ir2"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Reroll die indefinitely (max 100x) when rolled below x, where x is 3d6 irx. This example would roll 3 six-sided dice and reroll any dice below 2 until rolling above 2."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt()),KS=rs("Sets",S([(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["(1d20 + 14) (1d20 + 14) (1d20 + 9)"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Any dice combination inside (..) is handled as one set. This example will return 1d20 + 14, 1d20 + 14 and 1d20 + 9, each with its own sum."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})(),(()=>{let e;const t=S([(e=X(h.createElement("code",{children:["2 (1d20 + 14) (1d20 + 9)"]})),h.createElement("td",{children:v.Children.toArray(Array.from(e))})),h.createElement("td",{dangerouslySetInnerHTML:{__html:"Roll set x times, where x is the number before (..). This example will return 1d20 + 14 twice and 1d20 + 9 once."}})]);return h.createElement("tr",{children:v.Children.toArray(Array.from(t))})})()]),vt());function JS(){const e=X(h.createElement("div",O(K("container",S([["style",{alignSelf:"baseline"}],["children",v.Children.toArray([jS,GS,WS,QS,KS])]])))));return h.createElement("div",{className:"hero-body",children:v.Children.toArray(Array.from(e))})}class ui extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["KeepHighest","KeepLowest","DropHighest","DropLowest"]}}function ZS(){return ts("Classes.KeepDrop",[],ui,()=>[[["Item",$t]],[["Item",$t]],[["Item",$t]],[["Item",$t]]])}function qS(e,t){let n;switch(e==="k"||e==="kh"?n=0:e==="kl"?n=1:e==="d"||e==="dl"?n=2:e==="dh"?n=3:n=4,n){case 0:return new ui(0,[t]);case 1:return new ui(1,[t]);case 2:return new ui(3,[t]);case 3:return new ui(2,[t]);case 4:throw new Error(`Unable to parse \`${e}\` to Keep/Drop logic`)}}class pf extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Once","Inf"]}}function YS(){return ts("Classes.Reroll",[],pf,()=>[[["Item",$t]],[["Item",$t]]])}function XS(e,t){if(e==="r")return new pf(0,[t]);if(e==="ir")return new pf(1,[t]);throw new Error(`Unable to parse \`${e}\` to reroll logic`)}class mf extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Once","Inf"]}}function bS(){return ts("Classes.Explode",[],mf,()=>[[["Item",$t]],[["Item",$t]]])}function eC(e,t){if(e==="e")return new mf(0,[t]);if(e==="ie")return new mf(1,[t]);throw new Error(`Unable to parse \`${e}\` to explode logic`)}class ji extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Add","Substract"]}}function tC(){return ts("Classes.Command",[],ji,()=>[[],[]])}function nC(e){let t;switch(e===""||e==="+"?t=0:e==="-"?t=1:t=2,t){case 0:return new ji(0,[]);case 1:return new ji(1,[]);case 2:throw new Error(`Unable to parse \`${e}\` to \`+\` or \`-\`.`)}}function rC(e){return e.tag===1?"-":"+"}class $g extends tt{constructor(t,n,r,l,o,i){super(),this.Command=t,this.DiceCount=n|0,this.DiceSize=r|0,this.Explode=l,this.Reroll=o,this.KeepDrop=i}}function zg(){return es("Classes.Dice",[],$g,()=>[["Command",tC()],["DiceCount",$t],["DiceSize",$t],["Explode",qa(bS())],["Reroll",qa(YS())],["KeepDrop",qa(ZS())]])}function rp(e,t,n,r,l,o){return new $g(Ln(n,new ji(0,[])),e,t,r,l,o)}class Bg extends tt{constructor(t,n,r){super(),this.Dice=t,this.DiceRolled=n,this.DiceRollSum=r|0}}function lC(){return es("Classes.DiceRoll",[],Bg,()=>[["Dice",zg()],["DiceRolled",Pl($t)],["DiceRollSum",$t]])}function oC(e,t,n){return new Bg(e,t,n)}class Ug extends tt{constructor(t,n){super(),this.Index=t|0,this.Results=n}}function iC(){return es("Classes.SetResult",[],Ug,()=>[["Index",$t],["Results",Pl(lC())]])}function sC(e,t){return new Ug(e,t)}class zd extends tt{constructor(t,n,r){super(),this.SetCount=t|0,this.DiceRolls=n,this.Results=r}}function uC(){return es("Classes.DiceSet",[],zd,()=>[["SetCount",$t],["DiceRolls",Pl(zg())],["Results",Pl(iC())]])}function aC(e,t,n){return new zd(e,t,Ln(n,[]))}class Vg extends tt{constructor(t,n,r){super(),this.Input=t,this.Time=n,this.DiceSets=r}}function Hg(){return es("Classes.DiceSets",[],Vg,()=>[["Input",Ol],["Time",bi("System.DateTime")],["DiceSets",Pl(uC())]])}function cC(e,t){return new Vg(e,Q2(),t)}function fC(){return Math.random()}function tc(e,t){if(t>>=8}}class hC{constructor(){}Next0(){return tc(0,2147483647)}Next1(t){return tc(0,t)}Next2(t,n){return tc(t,n)}NextDouble(){return fC()}NextBytes(t){dC(t)}}function pC(){return new hC}function jg(){return pC()}class Gg extends tt{constructor(t,n){super(),this.bound=t|0,this.digits=n}}function Wg(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Wg(n*n,~~(r/2))|0}}const mC=29;Ho(mC-1,e=>Wg(2,e),Int32Array);function gf(e){return e.bound}function ai(e,t){return e.digits[t]}function yf(e,t){return Be(ai(e,t),!1,2)}function Ru(e,t,n){e.digits[t]=n|0}function Bd(e,t){e:for(;;){const n=e,r=t;if(r===0)return ot(1,0,!1);if(r%2===0){e=Tt(n,n),t=~~(r/2);continue e}else return Tt(n,Bd(Tt(n,n),~~(r/2)))}}function Fo(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Fo(n*n,~~(r/2))|0}}function gC(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return t|0}function yC(e,t){return e>>0>>>zl)}function _C(e){return e&vC}function el(e){return new Gg(e,new Int32Array(e))}function SC(e){return new Gg(e.bound,dS(e.digits))}function Vn(e){const n=((r,l)=>{e:for(;;){const o=r,i=l;if(i===-1||o[i]!==0)return i+1|0;r=o,l=i-1;continue e}})(e.digits,e.bound-1)|0;return e.bound=n|0,e}const lp=2,op=3;function Qr(e){const t=(e<0?0:e)|0;if(t=0;n--)t=e.digits[n]+Wr*t|0;return t|0}}const Qg=Qr(1),kC=Qr(0);function Ot(e){return e.bound-1}function xC(e,t,n,r,l,o){let i,s,u,a;e:for(;;){const c=e,d=t,f=n,y=r,w=l,C=o;if(c{e:for(;;){const i=r,s=l,u=o;if(u===-1)return!0;if(i[u]===s[u]){r=i,l=s,o=u-1;continue e}else return!1}})(e.digits,t.digits,e.bound-1):!1}function NC(e,t,n,r){return e.bound+tn.bound+t?1:((o,i,s)=>{e:for(;;){const u=o,a=i,c=s;if(c===-1)return 0;{const d=(ct.bound?1:((r,l,o)=>{e:for(;;){const i=r,s=l,u=o;if(u===-1)return 0;if(i[u]===s[u]){r=i,l=s,o=u-1;continue e}else return i[u]0){const i=Vt(yf(r,o),l);Ru(r,o,~~Bn(Vo(i,Go))),e=r,t=Sn(i,cr),n=o+1;continue e}break}}function up(e,t){const n=gf(e)|0,r=el(n+1),l=Be(t,!1,2);let o=ot(0,0,!1);for(let i=0;i<=n-1;i++){const s=Vt(Vt(o,yf(r,i)),Tt(yf(e,i),l));Ru(r,i,~~Bn(Vo(s,Go))),o=Sn(s,cr)}return Jg(r,o,n),Vn(r)}function AC(e,t){const n=el(e.bound+t.bound),r=n.digits;for(let l=0;l<=e.bound-1;l++){const o=Be(e.digits[l],!1,2);let i=ot(0,0,!1),s=l;for(let u=0;u<=t.bound-1;u++){const a=Be(t.digits[u],!1,2),c=Vt(Vt(Be(r[s],!1,2),i),Tt(o,a));r[s]=~~Bn(Vo(c,Go))|0,i=Sn(c,cr),s=s+1|0}Jg(n,i,s)}return Vn(n)}function MC(e,t){const n=gf(e)===1,r=gf(t)===1;return n&&r?TC(ai(e,0),ai(t,0)):n?up(t,ai(e,0)):r?up(e,ai(t,0)):AC(e,t)}class DC extends tt{constructor(t,n,r,l,o,i,s){super(),this.bigL=t|0,this.twoToBigL=n|0,this.k=r|0,this.bigK=l|0,this.bigN=o|0,this.split=i|0,this.splits=s}}function Zt(e,t,n,r){return new DC(e,Fo(2,e),t,n,r,~~(zl/e),Ho(~~(zl/e),l=>Fo(2,e*l),Int32Array))}const FC=[Zt(1,28,268435456,268435456),Zt(2,26,67108864,134217728),Zt(3,24,16777216,50331648),Zt(4,22,4194304,16777216),Zt(5,20,1048576,5242880),Zt(6,18,262144,1572864),Zt(7,16,65536,458752),Zt(8,14,16384,131072),Zt(9,12,4096,36864),Zt(10,10,1024,10240),Zt(11,8,256,2816),Zt(12,6,64,768),Zt(13,4,16,208)];Ho(zl,e=>Fo(2,e)-1,Int32Array);Ho(zl,e=>Fo(2,e),Int32Array);Ho(zl,e=>Bd(ot(2,0,!1),e),null);~~(FC[0].bigN/zl);function Zg(e,t){return MC(e,t)}function RC(e,t,n,r){const l=Ot(e)|0,o=e.digits,i=Ot(n)|0,s=n.digits,u=Be(t,!1,2);let a=0,c=Tt(u,Be(s[0],!1,2));for(;Xi(c,ot(0,0,!1))>0||al)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~Bn(Vo(c,Go)),f=Sn(c,cr);d<=o[a+r]?o[a+r]=o[a+r]-d|0:(o[a+r]=o[a+r]+(Wr-d)|0,f=Vt(f,ot(1,0,!1))),a0||al)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~Bn(Vo(c,Go)),f=Sn(c,cr);d0?(RC(n,u,t,i),PC(r,u,Qg,i)):(s=u===0&&i===0,s||(l===o+i?i=i-1|0:(i=i-1|0,l=l-1|0)))}return[Vn(r),Vn(n)]}}Qr(2);function ap(e){return((n,r,l)=>{e:for(;;){const o=n,i=r,s=l;if(s===e.bound)return o;n=o+i*e.digits[s],r=i*Wr,l=s+1;continue e}})(0,1,0)}function vf(e){return Qr(e)}function Qs(e){return CC(e)}function cp(e){const t=Ot(e)|0,n=(o,i,s)=>{e:for(;;){const u=o,a=i,c=s;if(Ot(c)>t)return be([a,c],u);o=be([a,c],u),i=a+1,s=Zg(c,c);continue e}},r=(o,i,s,u)=>{e:for(;;){const a=o,c=i,d=s,f=u;if(U(f)){const y=EC(d)|0;return a&&y===0?c:be(of(y),c)}else{const y=k(f),w=LC(d,T(f)[1]),C=w[1],R=w[0];if(a&&kt(R)){o=a,i=c,s=C,u=y;continue e}else{o=a,i=r(!1,c,C,y),s=R,u=y;continue e}}}},l=r(!0,vt(),e,n(vt(),0,Qr(10)));return U(l)?"0":se("",gl(l))}function nc(e){const t=e.length|0;if(Dg(e))throw new Error("empty string\\nParameter name: str");const n=Qr(10);return((l,o)=>{e:for(;;){const i=l,s=o;if(s===t)return i;{const a=e[s].charCodeAt(0)-48|0;if(0<=a&&a<=9){l=Kg(Zg(n,i),Qr(a)),o=s+1;continue e}else throw new Error}}})(Qr(0),0)}function $C(e){return e.bound<=1}function fp(e){const t=e,n=0;return n=0?Kr(1,Jr(vf(e))):e===-2147483648?Kr(-1,Jr(Qs(_g(Be(e,!1,2))))):Kr(-1,Jr(vf(t2(e))))}function HC(e){return Xi(e,ot(0,0,!1))>=0?Kr(1,Jr(Qs(e))):C2(e,ot(0,2147483648,!1))?Kr(-1,Jr(Kg(Qs(ot(4294967295,2147483647,!1)),Qg))):Kr(-1,Jr(Qs(_g(e))))}function Yg(){return xt.one}function jC(){return xt.two}function Xg(){return xt.zero}function GC(e){const t=tl(e)|0;if(t===-1)return-ap(we(e));if(t===0)return 0;if(t===1)return ap(we(e));throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}function WC(e){return new br(GC(e))}function QC(e){if(e==null)throw new Error("text");const t=e.trim(),n=t.length|0;if(n===0)throw new Error;const r=t[0];if(r==="+"){if(n===1)throw new Error;return dp(nc(t.slice(1,n-1+1)))}else if(r==="-"){if(n===1)throw new Error;return zC(nc(t.slice(1,n-1+1)))}else return dp(nc(t))}function KC(e){return QC(e)}Xg();Yg();jC();function JC(e){return e>2147483647?HC(Be(e,!1,6)):Ks(e)}function hp(e){return WC(e)}function ZC(e){return Ht(e)}Xg();Yg();function qC(e,t,n,r){const l=mn(e,n)|0;if(l===0)throw new Error("The step of a range cannot be zero");const o=l>0;return i=>{const s=mn(i,t)|0;return o&&s<=0||!o&&s>=0?[i,r(i,e)]:void 0}}function YC(e,t,n,r,l){const o=qC(t,n,r,l);return N(()=>PS(o,e))}function da(e,t,n){return YC(e,t,n,0,(r,l)=>r+l)}function ha(e,t){return t.Next2(1,e+1)}function XC(e,t,n){return Array.from(oe(N(()=>En(r=>F(n.Next2(1,t+1)),da(1,1,e)))))}function bC(e,t,n,r){return{rerolls:1,roll:t<=e?ha(n,r):t}}function eE(e,t,n,r){return((o,i)=>{e:for(;;){const s=o,u=i;if(s>=100)return{rerolls:s,roll:u};if(u<=e){o=s+1,i=ha(n,r);continue e}else return{rerolls:s,roll:u}}})(0,t)}function tE(e,t,n,r){return{explosions:1,sum:t>=e?t+ha(n,r):t}}function nE(e,t,n,r){return((o,i,s)=>{e:for(;;){const u=o,a=i,c=s;if(u>=100)return{explosions:u,sum:c};if(a>=e){const d=ha(n,r)|0;o=u+1,i=d,s=c+d;continue e}else return{explosions:u,sum:c}}})(0,t,t)}function rE(e,t,n,r){const l=e.tag===1?o=>eE(e.fields[0],o,t,r):o=>bC(e.fields[0],o,t,r);for(let o=0;o<=n.length-1;o++){const i=l(n[o]);n[o]=i.roll|0}}function lE(e,t,n,r){const l=e.tag===1?o=>nE(e.fields[0],o,t,r):o=>tE(e.fields[0],o,t,r);for(let o=0;o<=n.length-1;o++){const i=l(n[o]);n[o]=i.sum|0}}function oE(e,t){switch(t.sort(nr),e.tag){case 1:{const n=e.fields[0]|0,r=t.length-n|0;t.splice(n,r);break}case 2:{const n=e.fields[0]|0,r=t.length-n|0;t.splice(r,n);break}case 3:{t.splice(0,e.fields[0]);break}default:{const n=t.length-e.fields[0]|0;t.splice(0,n)}}}function iE(e,t){const n=XC(e.DiceCount,e.DiceSize,t);return Ya(r=>{lE(r,e.DiceSize,n,t)},e.Explode),Ya(r=>{rE(r,e.DiceSize,n,t)},e.Reroll),Ya(r=>{oE(r,n)},e.KeepDrop),oC(e,n,US(n,{GetZero:()=>0,Add:(r,l)=>r+l}))}function sE(e,t){let n;return new zd(e.SetCount,e.DiceRolls,(n=oe(N(()=>En(r=>{const l=ae(o=>iE(o,t),e.DiceRolls);return F(sC(r,Array.from(l)))},da(1,1,e.SetCount)))),Array.from(n)))}function Ud(e,t){const n=se("|",t);return Te(H("(?<%s>(?<%sType>%s)(?<%sNumber>\\d+))"))(e)(e)(n)(e)}const uE=Ud("KeepDrop",S(["k","kh","kl","d","dl","dh"])),aE=Ud("Explode",S(["e","ie"])),cE=Ud("Reroll",S(["r","ir"])),fE="^(?\\d+)((d|w)(?\\d+))?";function dE(e){const t=ns(oa(uE),e),n=t.length|0;if(n===1){const r=t[0];return qS(r.groups&&r.groups.KeepDropType||"",Rt(r.groups&&r.groups.KeepDropNumber||"",511,!1,32))}else{if(n<=0)return;throw new Error("Found Keep/Drop logic multiple times in dice roll.")}}function hE(e){const t=ns(oa(aE),e),n=t.length|0;if(n===1){const r=t[0];return eC(r.groups&&r.groups.ExplodeType||"",Rt(r.groups&&r.groups.ExplodeNumber||"",511,!1,32))}else{if(n<=0)return;throw new Error("Found Keep/Drop logic multiple times in dice roll.")}}function pE(e){const t=ns(oa(cE),e),n=t.length|0;if(n===1){const r=t[0];return XS(r.groups&&r.groups.RerollType||"",Rt(r.groups&&r.groups.RerollNumber||"",511,!1,32))}else{if(n<=0)return;throw new Error("Found Keep/Drop logic multiple times in dice roll.")}}class mE extends tt{constructor(t,n){super(),this.setCount=t|0,this.diceRolls=n}}function gE(e,t){return new mE(e,t)}class yE extends tt{constructor(t,n){super(),this.command=t,this.diceRoll=n}}function vE(e,t){return new yE(e,t)}function wE(e){const t=rS(e," ",""),n=ns(/(?\d*)?\s*(^|\()(?[a-zA-Z0-9\s+-]*)($|\))/gu,t);if(n.length===0)throw new Error(`Unable to parse \`${t}\` to sets!`);return oe(N(()=>En(r=>{let l;return F(gE((l=(r.groups&&r.groups.setCount||"").trim(),l===""?1:Rt(l,511,!1,32)),r.groups&&r.groups.diceRolls||""))},n)))}function _E(e){const t=ns(/(?^|\+|-)\s*(?[a-zA-Z0-9\s]+)/gu,e);if(t.length===0)throw new Error(`Unable to parse \`${e}\` to dice rolls!`);return oe(N(()=>En(n=>F(vE(nC((n.groups&&n.groups.command||"").trim()),(n.groups&&n.groups.diceRoll||"").trim())),t)))}function SE(e){const t=e.diceRoll,n=e.command,r=Z2(oa(fE),t);if(r!=null){const l=Rt(r.groups&&r.groups.DiceCount||"",511,!1,32)|0;let o;const i=r.groups&&r.groups.DiceSize||"";if(o=i===""?0:Rt(i,511,!1,32),o===0)return rp(l,o,n);{const s=Fg(t,0,r[0].length).trim();return rp(l,o,n,hE(s),pE(s),dE(s))}}else return xe(H("Unable to find `DicePattern` (e.g. `3d6`, `14`) at beginning of role: %s"))(t)}function CE(e){const t=jg(),n=Et(r=>{let l;return sE(aC(r.setCount,(l=Et(SE,_E(r.diceRolls)),Array.from(l))),t)},wE(e));return cC(e,Array.from(n))}function Vd(e,t,n){return e.has(t)?(n.contents=e.get(t),!0):!1}function EE(e,t){return t.has(e)?!1:(t.add(e),!0)}function wf(e,t,n){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,n)}function fr(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}function kE(){return typeof window<"u"&&typeof window.document<"u"}class bg{constructor(t,n){this.k=t,this.v=n}}function Pu(e,t){return new bg(e,t)}function ut(e){return e.k}function Nt(e){return e.v}class Ge extends bg{constructor(t,n,r,l,o){super(t,n),this.left=r,this.right=l,this.h=o|0}}function Js(e,t,n,r,l){return new Ge(e,t,n,r,l)}function pt(e){return e.left}function mt(e){return e.right}function Sl(e){return e.h}function ey(e,t){e:for(;;){const n=e,r=t;if(r!=null){const l=r;if(l instanceof Ge){e=ey(n+1,pt(l)),t=mt(l);continue e}else return n+1|0}else return n|0}}function ty(e){return ey(0,e)}function In(e,t,n,r){let l;const o=e;if(o!=null){const a=o;l=a instanceof Ge?Sl(a):1}else l=0;let i;const s=r;if(s!=null){const a=s;i=a instanceof Ge?Sl(a):1}else i=0;const u=(lu+2){const f=Se(r);if(f instanceof Ge)if(l=pt(f),(l!=null?(o=l,o instanceof Ge?Sl(o):1):0)>u+1){const y=Se(pt(f));if(y instanceof Ge)return In(In(e,t,n,pt(y)),ut(y),Nt(y),In(mt(y),ut(f),Nt(f),mt(f)));throw new Error("internal error: Map.rebalance")}else return In(In(e,t,n,pt(f)),ut(f),Nt(f),mt(f));else throw new Error("internal error: Map.rebalance")}else if(u>c+2){const f=Se(e);if(f instanceof Ge)if(i=mt(f),(i!=null?(s=i,s instanceof Ge?Sl(s):1):0)>c+1){const y=Se(mt(f));if(y instanceof Ge)return In(In(pt(f),ut(f),Nt(f),pt(y)),ut(y),Nt(y),In(mt(y),t,n,r));throw new Error("internal error: Map.rebalance")}else return In(pt(f),ut(f),Nt(f),In(mt(f),t,n,r));else throw new Error("internal error: Map.rebalance")}else return In(e,t,n,r)}function Gi(e,t,n,r){if(r!=null){const l=r,o=e.Compare(t,ut(l))|0;return l instanceof Ge?o<0?pp(Gi(e,t,n,pt(l)),ut(l),Nt(l),mt(l)):o===0?Js(t,n,pt(l),mt(l),Sl(l)):pp(pt(l),ut(l),Nt(l),Gi(e,t,n,mt(l))):o<0?Js(t,n,void 0,r,2):o===0?Pu(t,n):Js(t,n,r,void 0,2)}else return Pu(t,n)}function ny(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o!=null){const i=o,s=r.Compare(l,ut(i))|0;if(s===0)return Gt(Nt(i));if(i instanceof Ge){e=r,t=l,n=s<0?pt(i):mt(i);continue e}else return}else return}}function xE(e,t,n){const r=ny(e,t,n);if(r==null)throw new Error;return Se(r)}function NE(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o!=null){const i=o,s=r.Compare(l,ut(i))|0;if(i instanceof Ge)if(s<0){e=r,t=l,n=pt(i);continue e}else{if(s===0)return!0;e=r,t=l,n=mt(i);continue e}else return s===0}else return!1}}function ry(e,t){e:for(;;){const n=e,r=t;if(r!=null){const l=r;if(l instanceof Ge){ry(n,pt(l)),n(ut(l),Nt(l)),e=n,t=mt(l);continue e}else n(ut(l),Nt(l))}break}}function IE(e,t){ry(e,t)}function TE(e){const t=(n,r)=>{e:for(;;){const l=n,o=r;if(l!=null){const i=l;if(i instanceof Ge){n=pt(i),r=be([ut(i),Nt(i)],t(mt(i),o));continue e}else return be([ut(i),Nt(i)],o)}else return o}};return t(e,vt())}function ly(e,t,n){let r=n;IE((l,o)=>{t[r]=[l,o],r=r+1|0},e)}function AE(e){const t=ty(e)|0,n=Pg(new Array(t),0,t,[null,null]);return ly(e,n,0),n}function ME(e,t){return jl((n,r)=>Gi(e,r[0],r[1],n),void 0,t)}function DE(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){const i=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Gi(r,i[0],i[1],l),n=o;continue e}else return l}}function FE(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const l=t[r];n=Gi(e,l[0],l[1],n)}return n}function RE(e,t){if(xr(t))return FE(e,t);if(t instanceof Un)return ME(e,t);{const n=Ce(t);try{return DE(e,void 0,n)}finally{ye(n)}}}class PE extends tt{constructor(t,n){super(),this.stack=t,this.started=n}}function oy(e){e:for(;;){const t=e;if(U(t))return vt();{const n=k(t),r=T(t);if(r!=null){const l=r;if(l instanceof Ge){e=Re([pt(l),Pu(ut(l),Nt(l)),mt(l)],n);continue e}else return t}else{e=n;continue e}}}}function mp(e){return new PE(oy(X(e)),!1)}function OE(){throw new Error("enumeration not started")}function LE(){throw new Error("enumeration already finished")}function gp(e){if(e.started){const t=e.stack;if(U(t))return LE();if(T(t)!=null){const n=T(t);if(n instanceof Ge)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ut(n),Nt(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return OE()}function $E(e){if(e.started){const t=e.stack;if(U(t))return!1;if(T(t)!=null){if(T(t)instanceof Ge)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=oy(k(t)),!U(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!U(e.stack)}function yp(e){let t=mp(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return gp(t)},"System.Collections.IEnumerator.get_Current"(){return gp(t)},"System.Collections.IEnumerator.MoveNext"(){return $E(t)},"System.Collections.IEnumerator.Reset"(){t=mp(e)},Dispose(){}}}class Ou{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return jE(this)|0}Equals(t){const n=this;if(t instanceof Ou){const r=Ce(n);try{const l=Ce(t);try{const o=()=>{const i=r["System.Collections.IEnumerator.MoveNext"]();if(i===l["System.Collections.IEnumerator.MoveNext"]())if(i){const s=r["System.Collections.Generic.IEnumerator`1.get_Current"](),u=l["System.Collections.Generic.IEnumerator`1.get_Current"]();return me(s[0],u[0])&&me(s[1],u[1])?o():!1}else return!0;else return!1};return o()}finally{ye(l)}}finally{ye(r)}}else return!1}toString(){return"map ["+se("; ",ae(n=>Mg("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return yp(this.tree)}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return yp(this.tree)}CompareTo(t){const n=this;if(t instanceof Ou)return LS((r,l)=>{const o=n.comparer.Compare(r[0],l[0])|0;return(o!==0?o:mn(r[1],l[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Sf(n,t[0])&&me(_f(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){ly(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Zs(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Zs(this)|0}get size(){return Zs(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return ae(n=>[n[0],n[1]],this)}get(t){return _f(this,t)}has(t){return Sf(this,t)}keys(){return ae(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return ae(n=>n[1],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l[1]])(l[0])(r)},r)}}function zE(e,t){return new Ou(e,t)}function BE(e){return e.tree==null}function _f(e,t){return xE(e.comparer,t,e.tree)}function Zs(e){return ty(e.tree)}function Sf(e,t){return NE(e.comparer,t,e.tree)}function UE(e,t){return ny(e.comparer,t,e.tree)}function VE(e){return TE(e.tree)}function HE(e){return AE(e.tree)}function jE(e){const t=(l,o)=>(l<<1)+o+631;let n=0;const r=Ce(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,yt(l[0]))|0,n=t(n,yt(l[1]))|0}}finally{ye(r)}return n|0}function vp(e){return BE(e)}function GE(e,t){return _f(t,e)}function Dn(e,t){return UE(t,e)}function rc(e,t){return Sf(t,e)}function bn(e,t){return zE(t,RE(t,e))}function yl(e){return VE(e)}function WE(e){return HE(e)}function QE(e){return Zs(e)}class fe extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["JNumber","JString","JBool","JNull","JArray","JObject"]}}function KE(e,t){if(e!=null&&/\S/.test(e)){const n=+e.replace("_","");if(!Number.isNaN(n))return t.contents=n,!0}return!1}function Lu(e){const t=new Xr(0);if(KE(e,t))return t.contents;throw new Error("Input string was not in a correct format.")}const dl=e=>({tag:"ok",value:e}),ni=e=>({tag:"error",error:e});class St{constructor(t){this.uri=t}static isAbsoluteUri(t){try{return new URL(t),!0}catch{return!1}}static tryCreateWithKind(t,n){switch(n){case 1:return St.isAbsoluteUri(t)?dl(new St({original:t,value:new URL(t),kind:n})):ni("Invalid URI: The format of the URI could not be determined.");case 2:return St.isAbsoluteUri(t)?ni("URI is not a relative path."):dl(new St({original:t,value:t,kind:n}));case 0:return St.isAbsoluteUri(t)?dl(new St({original:t,value:new URL(t),kind:1})):dl(new St({original:t,value:t,kind:2}));default:return n}}static tryCreateWithBase(t,n){return t.uri.kind!==1?ni("Base URI should have Absolute kind"):typeof n=="string"?dl(new St({original:new URL(n,t.uri.value).toString(),value:new URL(n,t.uri.value),kind:1})):n.uri.kind===2?dl(new St({original:new URL(n.uri.value,t.uri.value).toString(),value:new URL(n.uri.value,t.uri.value),kind:1})):dl(t)}static tryCreateImpl(t,n=1){return typeof t=="string"?typeof n!="number"?ni("Kind must be specified when the baseUri is a string."):St.tryCreateWithKind(t,n):typeof n=="number"?ni("Kind should not be specified when the baseUri is an absolute Uri."):St.tryCreateWithBase(t,n)}static create(t,n=1){const r=St.tryCreateImpl(t,n);switch(r.tag){case"ok":return r.value;case"error":throw new Error(r.error);default:return r}}static tryCreate(t,n=1,r){const l=St.tryCreateImpl(t,n);switch(l.tag){case"ok":return r.contents=l.value,!0;case"error":return!1;default:return l}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return this.uri.kind===1}get absoluteUri(){return this.asUrl().href}get scheme(){const t=this.asUrl().protocol;return t.slice(0,t.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const t=this.asUrl();return t.pathname+t.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}function De(e){if(!(this instanceof De))return new De(e);this._=e}var Z=De.prototype;function JE(e,t){var n=0;for(n;nt.furthest)return e;var n=e.furthest===t.furthest?YE(e.expected,t.expected):t.expected;return{status:e.status,index:e.index,value:e.value,furthest:t.furthest,expected:n}}function uy(e,t){if(_i(e))return{offset:t,line:-1,column:-1};var n=e.slice(0,t).split(` `),r=n.length,l=n[n.length-1].length+1;return{offset:t,line:r,column:l}}function YE(e,t){for(var n={},r=0;r=2?Cf(t):t=0;var n=a3(e),r=""+e;return De(function(l,o){var i=n.exec(l.slice(o));if(i){if(0<=t&&t<=i.length){var s=i[0],u=i[t];return Wt(o+s.length,u)}var a="valid match group (0 to "+i.length+") in "+r;return nl(o,a)}return nl(o,r)})}function Gd(e){return De(function(t,n){return Wt(n,e)})}function dy(e){return De(function(t,n){return nl(n,e)})}function Ef(e){if(sy(e))return De(function(t,n){var r=e._(t,n);return r.index=n,r.value="",r});if(typeof e=="string")return Ef(os(e));if(e instanceof RegExp)return Ef(Nr(e));throw new Error("not a string, regexp, or parser: "+e)}function f3(e){return Ro(e),De(function(t,n){var r=e._(t,n),l=t.slice(n,r.index);return r.status?nl(n,'not "'+l+'"'):Wt(n,null)})}function hy(e){return Po(e),De(function(t,n){var r=ay(t,n);return n=0}).desc(t)}function h3(e,t){arguments.length<2&&(t=e,e=void 0);var n=De(function(r,l){return n._=t()._,n._(r,l)});return e?n.desc(e):n}function p3(){return dy("fantasy-land/empty")}Z.concat=Z.or;Z.empty=p3;Z.of=Gd;Z["fantasy-land/ap"]=Z.ap;Z["fantasy-land/chain"]=Z.chain;Z["fantasy-land/concat"]=Z.concat;Z["fantasy-land/empty"]=Z.empty;Z["fantasy-land/of"]=Z.of;Z["fantasy-land/map"]=Z.map;const zu=De(function(e,t){return Wt(t,uy(e,t))});De(function(e,t){return t>=e.length?nl(t,"any character/byte"):Wt(t+1,ay(e,t))});De(function(e,t){return Wt(e.length,e.slice(t))});const py=De(function(e,t){return tt.or(n),e)}const I3=hy,Fn=os,T3=d3,Cp=g3;function A3(e){return E3(1,e)}function kf(e,t){return ur(n=>t,Fn(e))}const yy=ls;function vy(e){return e.map(t=>se("",t))}const M3=ls,D3=vy(A3(gy)),wy=ur(Lu,D3),F3=ur(e=>-e[1],yy(Fn("-"),wy)),R3=ur(Lu,is(S([Nr(new RegExp("-?(0|[1-9][0-9]*)?[.][0-9]+([eE][+-]?[0-9]+)?")),Nr(new RegExp("-?[1-9][0-9]*[eE][+-]?[0-9]+"))]))),P3=ur(e=>new fe(0,[e]),is(S([R3,wy,F3]))),O3=is(S([kf("true",new fe(2,[!0])),kf("false",new fe(2,[!1]))])),L3=kf("null",new fe(3,[])),_y=(()=>{const e=ur(o=>o==="b"?"\b":o==="f"?"\f":o==="n"?` -`:o==="r"?"\r":o==="t"?" ":o,T3('"\\/bfnrt')),t=ur(o=>o[1],yy(Fn("\\"),e)),n=vy(my(C3(t,I3(o=>o!=='"'&&o!=="\\")))),r=Fn('"'),l=Fn('"');return Bu(r,l,n)})(),$3=_y.map(e=>new fe(1,[e]));function er(e){return Bu(Cp,Cp,e)}const z3=is(Et(er,S([L3,O3,P3,$3]))),Ep=er(Fn(","));function B3(){return x3(()=>{const e=er(Fn("[")),t=er(Fn("]")),n=ur(o=>new fe(4,[S(o)]),Bu(e,t,Sp(Ep,xf.Value))),r=er(Fn("{")),l=er(Fn("}"));return is(S([z3,n,ur(o=>new fe(5,[bn(S(o),{Compare:nr})]),Bu(r,l,Sp(Ep,ur(o=>[o[0],o[2]],M3(er(_y),er(Fn(":")),er(xf.Value))))))]))})}const xf=new Ze(B3),U3=xf.Value,V3=er(U3);function H3(e){if(typeof e=="string")return e}function j3(e){if(typeof e=="boolean")return e}function G3(e){if(typeof e=="number")return e}function W3(e){if(typeof e=="object")return Gt(e)}function Q3(e){if(e==null)return Gt(e)}function K3(e){if(Array.isArray(e))return e}function J3(e){return e instanceof Date?"offset"in e:!1}function Z3(e){return typeof e=="object"}function kp(e){return e!=null&&Z3(e)&&"signInt"in e&&"v"in e&&"digits"in e.v?"bound"in e.v:!1}function ss(e){return S3(e,V3)}function q3(e){const t=ss(e);return t??xe(H("Could not parse the JSON input: %s"))(e)}function uo(e){if(e.tag===2)return e.fields[0]?"true":"false";if(e.tag===0)return e.fields[0].toString();if(e.tag===1)return Te(H('"%s"'))(e.fields[0]);if(e.tag===4){const t=se(",",Et(uo,e.fields[0]));return Te(H("[%s]"))(t)}else if(e.tag===5){const t=se(",",Et(r=>{const l=uo(r[1]);return Te(H('"%s":%s'))(r[0])(l)},yl(e.fields[0])));return Te(H("{%s}"))(t)}else return"null"}function Nf(e){switch(e.tag){case 2:return e.fields[0];case 0:return e.fields[0];case 1:return e.fields[0];case 4:{const t=[],n=Ce(e.fields[0]);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t.push(Nf(r))}}finally{ye(n)}return t}case 5:{const t={},n=Ce(yl(e.fields[0]));try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t[r[0]]=Nf(r[1])}}finally{ye(n)}return t}default:return Ke()}}function xp(e){return e==null?JSON.stringify(Ke()):JSON.stringify(e,(t,n)=>kp(n)?af(hp(n)):n instanceof Date?Ao(n,"o"):typeof n=="string"?n:v_(n)?Array.isArray(n)?n:Array.from(n):kp(n)?af(hp(n)):J3(n)?Ao(n,"O"):n,Gt(0))}function If(e){const t=H3(e);if(t!=null){const n=t;return new fe(1,[n])}else{const n=G3(e);if(n!=null){const r=n;return new fe(0,[r])}else{const r=j3(e);if(r!=null){const l=r;return new fe(2,[l])}else{if(Q3(e)!=null)return new fe(3,[]);{const l=K3(e);if(l!=null){const o=l;return new fe(4,[S($e(If,o,null))])}else{const o=W3(e);if(o!=null){const i=Se(o);return new fe(5,[bn(oe(N(()=>ae(s=>[s,If(i[s])],Object.keys(i)))),{Compare:nr})])}else return new fe(3,[])}}}}}}function oc(e){return If(JSON.parse(e))}function Sy(e,t){Y3(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Y3(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function X3(e){const[t,n]=Ig(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Sy(t.getTime(),r)}function b3(e){return Rd(e,1)}function e4(e){return Bn(Sn(G2(e),864e9))}function Np(e){const t=Tt(Tu(864e9),e);return b3(I2(t))}function t4(e){return Tt(Tu(e),1e4)}function n4(e=0,t=0,n=0,r=0){if(e<0||t<0||n<0||r<0)throw new Error("The parameters describe an unrepresentable TimeOnly.");return arguments.length===1?r4(arguments[0]):e*36e5+t*6e4+n*1e3+r}function r4(e){return Sg(Sn(e,1e4))}const l4=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Ip=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,o4=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function i4(e){function t(r){return r.replace(Ip,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(l4.test(n))return oS(n,"{","}","(",")");if(Ip.test(n))return t(n);if(o4.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}const Tf=!0;function Tp(e){const t=new Uint8Array(4);return new DataView(t.buffer,t.byteOffset,t.byteLength).setInt32(0,e,Tf),t}function s4(e,t){const n=ArrayBuffer.isView(e)?e:Uint8Array.from(e),r=new DataView(n.buffer,n.byteOffset,n.byteLength),l=r.getInt32(t+0,Tf),o=r.getInt32(t+4,Tf);return ot(l,o,!1)}class ic{constructor(t,n){const r=new Xr(Ke());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const l=Ce(t);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const o=l["System.Collections.Generic.IEnumerator`1.get_Current"]();sc(r.contents,o)}}finally{ye(l)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Ce(this)}GetEnumerator(){return Ce(ca(this.hashMap.values()))}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(t){sc(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){Ap(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return Dp(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Lg((l,o)=>{t[n+l]=o},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return Mp(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return Fp(this,t)}get size(){return Mp(this)|0}add(t){const n=this;return sc(n,t),n}clear(){Ap(this)}delete(t){return Fp(this,t)}has(t){return Dp(this,t)}keys(){return ae(n=>n,this)}values(){return ae(n=>n,this)}entries(){return ae(n=>[n,n],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l])(l)(r)},r)}}function Wd(e,t){const n=e.comparer.GetHashCode(t)|0;let r,l=Ke();return r=[Vd(e.hashMap,n,new Xr(()=>l,o=>{l=o})),l],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,n,-1]}function Ap(e){e.hashMap.clear()}function Mp(e){let t=0,n=Ce(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{ye(n)}return t|0}function sc(e,t){const n=Wd(e,t);return n[0]?n[2]>-1?!1:(xr(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function Dp(e,t){const n=Wd(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;case 1:return!1}}function Fp(e,t){const n=Wd(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return xr(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class Cy{constructor(t){this.k=t}}function Yt(e){return new Cy(e)}function j(e){return e.k}class ie extends Cy{constructor(t,n,r,l){super(t),this.left=n,this.right=r,this.h=l|0}}function Xt(e,t,n,r){return new ie(e,t,n,r)}function le(e){return e.left}function re(e){return e.right}function ao(e){return e.h}function Ey(e,t){e:for(;;){const n=e,r=t;if(n!=null){const l=n;if(l instanceof ie){e=le(l),t=Ey(re(l),r+1);continue e}else return r+1|0}else return r|0}}function u4(e){return Ey(e,0)}function qt(e,t,n){let r;const l=e;if(l!=null){const u=l;r=u instanceof ie?ao(u):1}else r=0;let o;const i=n;if(i!=null){const u=i;o=u instanceof ie?ao(u):1}else o=0;const s=(rs+2){const d=Se(n);if(d instanceof ie)if(r=le(d),(r!=null?(l=r,l instanceof ie?ao(l):1):0)>s+1){const f=Se(le(d));if(f instanceof ie)return qt(qt(e,t,le(f)),j(f),qt(re(f),j(d),re(d)));throw new Error("internal error: Set.rebalance")}else return qt(qt(e,t,le(d)),j(d),re(d));else throw new Error("internal error: Set.rebalance")}else if(s>a+2){const d=Se(e);if(d instanceof ie)if(o=re(d),(o!=null?(i=o,i instanceof ie?ao(i):1):0)>a+1){const f=Se(re(d));if(f instanceof ie)return qt(qt(le(d),j(d),le(f)),j(f),qt(re(f),t,n));throw new Error("internal error: Set.rebalance")}else return qt(le(d),j(d),qt(re(d),t,n));else throw new Error("internal error: Set.rebalance")}else return qt(e,t,n)}function rl(e,t,n){if(n!=null){const r=n,l=e.Compare(t,j(r))|0;if(r instanceof ie)return l<0?Uu(rl(e,t,le(r)),j(r),re(r)):l===0?n:Uu(le(r),j(r),rl(e,t,re(r)));{const o=e.Compare(t,j(r))|0;return o<0?Xt(t,void 0,n,2):o===0?n:Xt(t,n,void 0,2)}}else return Yt(t)}function ky(e){if(e!=null){const t=e;if(t instanceof ie){if(le(t)==null)return[j(t),re(t)];{const n=ky(le(t));return[n[0],qt(n[1],j(t),re(t))]}}else return[j(t),void 0]}else throw new Error("internal error: Set.spliceOutSuccessor")}function Af(e,t,n){if(n!=null){const r=n,l=e.Compare(t,j(r))|0;if(r instanceof ie){if(l<0)return Uu(Af(e,t,le(r)),j(r),re(r));if(l===0){if(le(r)==null)return re(r);if(re(r)==null)return le(r);{const o=ky(re(r));return qt(le(r),o[0],o[1])}}else return Uu(le(r),j(r),Af(e,t,re(r)))}else return l===0?void 0:n}else return n}function xy(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o!=null){const i=o,s=r.Compare(l,j(i))|0;if(i instanceof ie)if(s<0){e=r,t=l,n=le(i);continue e}else{if(s===0)return!0;e=r,t=l,n=re(i);continue e}else return s===0}else return!1}}function Ny(e,t){e:for(;;){const n=e,r=t;if(r!=null){const l=r;if(l instanceof ie){Ny(n,le(l)),n(j(l)),e=n,t=re(l);continue e}else n(j(l))}break}}function Iy(e,t,n,r){e:for(;;){const l=e,o=t,i=n,s=r;if(i!=null){const u=i;if(u instanceof ie){const a=o(j(u))?rl(l,j(u),s):s;e=l,t=o,n=le(u),r=Iy(l,o,re(u),a);continue e}else return o(j(u))?rl(l,j(u),s):s}else return s}}function a4(e,t,n){return Iy(e,t,n,void 0)}class c4 extends tt{constructor(t,n){super(),this.stack=t,this.started=n}}function Ty(e){e:for(;;){const t=e;if(U(t))return vt();{const n=T(t),r=k(t);if(n!=null){const l=n;if(l instanceof ie){e=Re([le(l),Yt(j(l)),re(l)],r);continue e}else return t}else{e=r;continue e}}}}function Rp(e){return new c4(Ty(X(e)),!1)}function f4(){throw new Error("Enumeration not started")}function d4(){throw new Error("Enumeration already started")}function Pp(e){if(e.started){const t=e.stack;if(U(t))return d4();if(T(t)!=null){const n=T(t);return j(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return f4()}function h4(e){if(e.started){const t=e.stack;if(U(t))return!1;if(T(t)!=null){if(T(t)instanceof ie)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ty(k(t)),!U(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!U(e.stack)}function Op(e){let t=Rp(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Pp(t)},"System.Collections.IEnumerator.get_Current"(){return Pp(t)},"System.Collections.IEnumerator.MoveNext"(){return h4(t)},"System.Collections.IEnumerator.Reset"(){t=Rp(e)},Dispose(){}}}function p4(e,t,n){e:for(;;){const r=e,l=t,o=n;if(U(l))return U(o)?0:-1;if(U(o))return 1;if(T(o)!=null)if(T(l)!=null){const i=T(l),s=T(o);if(i instanceof ie)if(le(i)==null)if(s instanceof ie)if(le(s)==null){const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=be(re(i),k(l)),n=be(re(s),k(o));continue e}else{let u,a,c,d,f;switch(U(l)?U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2:T(l)!=null?(u=0,a=k(l),c=T(l)):U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2,u){case 0:if(c instanceof ie){e=r,t=Re([le(c),Xt(j(c),void 0,re(c),0)],a),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(c))],a),n=o;continue e}case 1:if(f instanceof ie){e=r,t=l,n=Re([le(f),Xt(j(f),void 0,re(f),0)],d);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=be(re(i),k(l)),n=be(void 0,k(o));continue e}else{let u,a,c,d,f;switch(U(l)?U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2:T(l)!=null?(u=0,a=k(l),c=T(l)):U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2,u){case 0:if(c instanceof ie){e=r,t=Re([le(c),Xt(j(c),void 0,re(c),0)],a),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(c))],a),n=o;continue e}case 1:if(f instanceof ie){e=r,t=l,n=Re([le(f),Xt(j(f),void 0,re(f),0)],d);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(s instanceof ie)if(le(s)==null){const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=be(void 0,k(l)),n=be(re(s),k(o));continue e}else{let u,a,c,d,f;switch(U(l)?U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2:T(l)!=null?(u=0,a=k(l),c=T(l)):U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2,u){case 0:if(c instanceof ie){e=r,t=Re([le(c),Xt(j(c),void 0,re(c),0)],a),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(c))],a),n=o;continue e}case 1:if(f instanceof ie){e=r,t=l,n=Re([le(f),Xt(j(f),void 0,re(f),0)],d);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=k(l),n=k(o);continue e}}else{T(o);let i,s,u,a,c;switch(U(l)?U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2:T(l)!=null?(i=0,s=k(l),u=T(l)):U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2,i){case 0:if(u instanceof ie){e=r,t=Re([le(u),Xt(j(u),void 0,re(u),0)],s),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(u))],s),n=o;continue e}case 1:if(c instanceof ie){e=r,t=l,n=Re([le(c),Xt(j(c),void 0,re(c),0)],a);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(c))],a);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(T(l)!=null){T(l);let i,s,u,a,c;switch(U(l)?U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2:T(l)!=null?(i=0,s=k(l),u=T(l)):U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2,i){case 0:if(u instanceof ie){e=r,t=Re([le(u),Xt(j(u),void 0,re(u),0)],s),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(u))],s),n=o;continue e}case 1:if(c instanceof ie){e=r,t=l,n=Re([le(c),Xt(j(c),void 0,re(c),0)],a);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(c))],a);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=k(l),n=k(o);continue e}break}}function Lp(e,t,n){return t==null?n==null?0:-1:n==null?1:p4(e,X(t),X(n))|0}function m4(e,t,n){let r=n;Ny(l=>{t[r]=l,r=r+1|0},e)}function g4(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){e=r,t=rl(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),l),n=o;continue e}else return l}}function y4(e,t){return pS((n,r)=>rl(e,r,n),void 0,t)}function v4(e,t){return jl((n,r)=>rl(e,r,n),void 0,t)}function w4(e,t){if(kr(t))return y4(e,t);if(t instanceof Un)return v4(e,t);{const n=Ce(t);try{return g4(e,void 0,n)}finally{ye(n)}}}class Qd{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return k4(this)|0}Equals(t){const n=this;return t instanceof Qd&&Lp(ar(n),Ft(n),Ft(t))===0}toString(){return"set ["+se("; ",ae(n=>Ht(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Lp(ar(n),Ft(n),Ft(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return xy(ar(n),t,Ft(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){m4(Ft(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return uc(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return uc(this)|0}GetEnumerator(){return Op(Ft(this))}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Op(Ft(this))}get size(){return uc(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Ay(this,t)}keys(){return ae(n=>n,this)}values(){return ae(n=>n,this)}entries(){return ae(n=>[n,n],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l])(l)(r)},r)}}function us(e,t){return new Qd(e,t)}function ar(e){return e.comparer}function Ft(e){return e.tree}function _4(e){return us(e,void 0)}function S4(e,t){return us(ar(e),rl(ar(e),t,Ft(e)))}function C4(e,t){return us(ar(e),Af(ar(e),t,Ft(e)))}function uc(e){return u4(Ft(e))}function Ay(e,t){return xy(ar(e),t,Ft(e))}function E4(e,t){return Ft(e)==null?e:us(ar(e),a4(ar(e),t,Ft(e)))}function k4(e){let t=0;const n=Ce(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+yt(r)+631|0}}finally{ye(n)}return Math.abs(t)|0}function x4(e){return _4(e)}function N4(e,t){return E4(t,e)}function I4(e,t){return us(t,w4(t,e))}class T4 extends tt{constructor(t,n,r){super(),this.FieldName=t,this.FieldType=n,this.PropertyInfo=r}}class A4 extends tt{constructor(t,n,r){super(),this.CaseName=t,this.CaseTypes=n,this.Info=r}}class J extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Unit","Char","String","UInt16","UInt32","UInt64","Int32","Bool","Float32","Float","Decimal","Short","Long","Byte","SByte","DateTime","DateTimeOffset","DateOnly","TimeOnly","BigInt","TimeSpan","Guid","Uri","Object","Any","Async","Promise","Option","List","Set","Array","Seq","Tuple","Map","Dictionary","ResizeArray","HashSet","Func","Enum","Record","Union"]}}class ml{constructor(t,n){const r=new Xr(Ke());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const l=Ce(t);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const o=l["System.Collections.Generic.IEnumerator`1.get_Current"]();ac(r.contents,o[0],o[1])}}finally{ye(l)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Ce(this)}GetEnumerator(){return Ce(ca(this.hashMap.values()))}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(t){ac(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){$p(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=Ys(this,t[0]);let l;switch(r!=null&&me(r[1],t[1])?l=0:l=1,l){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Lg((l,o)=>{t[n+l]=o},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return zp(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const n=this,r=Ys(n,t[0]);return r!=null?(me(r[1],t[1])&&cc(n,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,n){ac(this,t,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return Vp(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return Bp(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,n){Up(this,t,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return $l(N(()=>ae(n=>n[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return cc(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,n){const l=Ys(this,t);if(l!=null){const o=l;return n.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return $l(N(()=>ae(n=>n[1],t)))}get size(){return zp(this)|0}clear(){$p(this)}delete(t){return cc(this,t)}entries(){return ae(n=>[n[0],n[1]],this)}get(t){return Bp(this,t)}has(t){return Vp(this,t)}keys(){return ae(n=>n[0],this)}set(t,n){const r=this;return Up(r,t,n),r}values(){return ae(n=>n[1],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l[1]])(l[0])(r)},r)}}function as(e,t){const n=e.comparer.GetHashCode(t)|0;let r,l=Ke();return r=[Vd(e.hashMap,n,new Xr(()=>l,o=>{l=o})),l],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,n,-1]}function Ys(e,t){const n=as(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return xr(e.hashMap,n[1])[n[2]];case 1:return}}function $p(e){e.hashMap.clear()}function zp(e){let t=0,n=Ce(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{ye(n)}return t|0}function Bp(e,t){const n=Ys(e,t);if(n!=null)return n[1];throw new Error("The item was not found in collection")}function Up(e,t,n){const r=as(e,t);r[0]?r[2]>-1?xr(e.hashMap,r[1])[r[2]]=[t,n]:xr(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function ac(e,t,n){const r=as(e,t);if(r[0]){if(r[2]>-1)throw new Error(Mg("An item with the same key has already been added. Key: {0}",t));xr(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function Vp(e,t){const n=as(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;case 1:return!1}}function cc(e,t){const n=as(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return xr(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function M4(e){const t=Qe(e);let n;switch(t==="System.String"?n=0:t==="System.Char"?n=1:t==="System.Int16"?n=2:t==="System.Int32"?n=3:t==="Microsoft.FSharp.Core.int64`1"||t==="System.Int64"?n=4:t==="System.UInt16"?n=5:t==="System.UInt32"?n=6:t==="System.UInt64"?n=7:t==="System.DateTime"?n=8:t==="System.DateOnly"?n=9:t==="System.TimeOnly"?n=10:t==="System.TimeSpan"?n=11:t==="System.DateTimeOffset"?n=12:t==="System.Boolean"?n=13:t==="System.Single"?n=14:t==="System.Double"?n=15:t==="Microsoft.FSharp.Core.decimal`1"||t==="System.Decimal"?n=16:t==="System.Numerics.BigInteger"?n=17:t==="Microsoft.FSharp.Core.Unit"?n=18:t==="System.Guid"?n=19:t==="System.Byte"?n=20:t==="System.SByte"?n=21:t==="System.Object"?n=22:t==="System.Uri"?n=23:n=24,n){case 0:return new J(2,[]);case 1:return new J(1,[]);case 2:return new J(11,[]);case 3:return new J(6,[]);case 4:return new J(12,[]);case 5:return new J(3,[]);case 6:return new J(4,[]);case 7:return new J(5,[]);case 8:return new J(15,[]);case 9:return new J(17,[]);case 10:return new J(18,[]);case 11:return new J(20,[]);case 12:return new J(16,[]);case 13:return new J(7,[]);case 14:return new J(8,[]);case 15:return new J(9,[]);case 16:return new J(10,[]);case 17:return new J(19,[]);case 18:return new J(0,[]);case 19:return new J(21,[]);case 20:return new J(13,[]);case 21:return new J(14,[]);case 22:return new J(23,[]);case 23:return new J(22,[]);case 24:return}}function D4(e){if(O2(e))return $e(t=>[t,Ye(t),t[1]],Mu(e),null)}function F4(e){if(Qe(e).indexOf("Microsoft.FSharp.Collections.FSharpSet`1")===0)return jt(e)[0]}function R4(e){if(Qe(e).indexOf("System.Nullable`1")===0)return jt(e)[0]}function P4(e){if(P2(e))return $e(t=>[Ye(t),t,$e(n=>n[1],$2(t),null)],Eg(e),null)}function O4(e){if(Qe(e).indexOf("Microsoft.FSharp.Collections.FSharpMap`2")===0){const t=jt(e);return[t[0],t[1]]}else return}function L4(e){if(Qe(e).indexOf("Microsoft.FSharp.Collections.FSharpList`1")===0)return jt(e)[0]}function Mf(e){return $l(N(()=>{if(Dd(e)){const t=R2(e);return ee(Mf(t[0]),N(()=>Mf(t[1])))}else return F(e)}))}function $4(e){if(Dd(e))return Mf(e)}function z4(e){if(A2(e))return la(e)}function B4(e){if(Qe(e).indexOf("Microsoft.FSharp.Core.FSharpOption`1")===0)return jt(e)[0]}function U4(e){if(kg(e))return F2(e)}function V4(e){if(Qe(e).indexOf("System.Collections.Generic.IEnumerable`1")===0)return jt(e)[0]}function H4(e){if(Qe(e).indexOf("System.Collections.Generic.Dictionary")===0){const t=jt(e);return[t[0],t[1]]}else return}function j4(e){if(Qe(e).indexOf("System.Collections.Generic.List")===0)return jt(e)[0]}function G4(e){if(Qe(e).indexOf("System.Collections.Generic.HashSet")===0)return jt(e)[0]}function W4(e){if(Qe(e).indexOf("Microsoft.FSharp.Control.FSharpAsync`1")===0)return jt(e)[0]}function Q4(e){if(Qe(e).indexOf("Fable.Core.JS.Promise`1")===0)return jt(e)[0]}function nt(e,t){return e.Value}function K4(e){if(M2(e))return D2(e)}function J4(e){let t,n,r,l,o,i,s,u,a,c,d,f,y,w,C,R;const m=M4(e);if(m!=null)return m;{const p=$4(e);if(p!=null){const g=p;return new J(37,[(t=new Ze(()=>$e(ge,g,null)),()=>nt(t))])}else{const g=D4(e);if(g!=null){const _=g,x=new Ze(()=>[$l(N(()=>En(A=>F(new T4(A[1],ge(A[2]),A[0])),_))),e]);return new J(39,[()=>nt(x)])}else{const _=P4(e);if(_!=null){const x=_,A=new Ze(()=>[$l(N(()=>En(M=>F(new A4(M[0],$e(ge,M[2],null),M[1])),x))),e]);return new J(40,[()=>nt(A)])}else{const x=K4(e);if(x!=null){const A=x;return new J(38,[(n=new Ze(()=>[ge(A),e]),()=>nt(n))])}else{const A=L4(e);if(A!=null){const M=A;return new J(28,[(r=new Ze(()=>ge(M)),()=>nt(r))])}else{const M=j4(e);if(M!=null){const L=M;return new J(35,[(l=new Ze(()=>ge(L)),()=>nt(l))])}else{const L=G4(e);if(L!=null){const ce=L;return new J(36,[(o=new Ze(()=>ge(ce)),()=>nt(o))])}else{const ce=z4(e);if(ce!=null){const q=ce;return new J(30,[(i=new Ze(()=>ge(q)),()=>nt(i))])}else{const q=U4(e);if(q!=null){const Je=q;return new J(32,[(s=new Ze(()=>$e(ge,Je,null)),()=>nt(s))])}else{const Je=B4(e);if(Je!=null){const Qt=Je;return new J(27,[(u=new Ze(()=>ge(Qt)),()=>nt(u))])}else{const Qt=R4(e);if(Qt!=null){const Kt=Qt;return new J(27,[(a=new Ze(()=>ge(Kt)),()=>nt(a))])}else{const Kt=F4(e);if(Kt!=null){const kn=Kt;return new J(29,[(c=new Ze(()=>ge(kn)),()=>nt(c))])}else{const kn=O4(e);if(kn!=null){const Wn=kn[0],Jt=kn[1];return new J(33,[(d=new Ze(()=>[ge(Wn),ge(Jt)]),()=>nt(d))])}else{const Wn=H4(e);if(Wn!=null){const Jt=Wn[0],Dt=Wn[1];return new J(34,[(f=new Ze(()=>[ge(Jt),ge(Dt),Dt]),()=>nt(f))])}else{const Jt=V4(e);if(Jt!=null){const Dt=Jt;return new J(31,[(y=new Ze(()=>ge(Dt)),()=>nt(y))])}else{const Dt=W4(e);if(Dt!=null){const I=Dt;return new J(25,[(w=new Ze(()=>ge(I)),()=>nt(w))])}else{const I=Q4(e);if(I!=null){const W=I;return new J(26,[(C=new Ze(()=>ge(W)),()=>nt(C))])}else return new J(24,[(R=new Ze(()=>e),()=>nt(R))])}}}}}}}}}}}}}}}}}}const Hp=new ml([],{Equals:Au,GetHashCode:yt});function ge(e){let t,n=Ke();if(t=[Vd(Hp,e,new Xr(()=>n,r=>{n=r})),n],t[0])return t[1];{const r=J4(e);return!Dg(Qe(e))&&!Fu(Qe(e),"`1[]")&&!Fu(Qe(e),"`2[]")&&Hp.set(e,r),r}}function ci(e){switch(e.tag){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 15:case 16:case 17:case 18:case 19:case 21:case 27:return!0;default:return!1}}function Zl(e){return e.tag===40?e.fields[0]()[0].every(n=>n.CaseTypes.length===0):!1}function Z4(e){var t=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(r){var l=n[r];return typeof l=="string"?l:"\\u"+("0000"+r.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}const q4=kE,Y4=q4();function Ms(e){return e!==void 0}function X4(){const t=JSON.parse(JSON.stringify(bn(S([[1,1],[2,2]]),{Compare:nr}))).tree;return Ms(t)&&Ms(t.k)&&Ms(t.v)?Ms(t.h):!1}X4();class fc extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["MapEmpty","MapOne","MapNode"]}}function Df(e){switch(e.tag){case 1:return X([e.fields[0],e.fields[1]]);case 2:return oe(N(()=>ee(Df(e.fields[2]),N(()=>ee(Df(e.fields[3]),N(()=>F([e.fields[0],e.fields[1]])))))));default:return vt()}}function b4(e){if(e.tag!==4)return e}function ek(e){let t;switch(e.tag===1&&e.fields[0]==="MapEmpty"?t=0:t=1,t){case 0:return e;case 1:return}}function My(e){switch(e.tag){case 0:return e.fields[0].toString();case 1:return e.fields[0];default:return}}function tk(e){let t,n,r;if(e.tag===4)if(U(e.fields[0]))t=1;else if(T(e.fields[0]).tag===1)if(T(e.fields[0]).fields[0]==="MapOne")if(U(k(e.fields[0])))t=1;else{const l=My(T(k(e.fields[0])));l!=null?U(k(k(e.fields[0])))?t=1:U(k(k(k(e.fields[0]))))?(t=0,n=l,r=T(k(k(e.fields[0])))):t=1:t=1}else t=1;else t=1;else t=1;switch(t){case 0:return[n,r];case 1:return}}function nk(e){let t,n,r,l,o;if(e.tag===4)if(U(e.fields[0]))t=1;else if(T(e.fields[0]).tag===1)if(T(e.fields[0]).fields[0]==="MapNode")if(U(k(e.fields[0])))t=1;else{const i=My(T(k(e.fields[0])));i!=null?U(k(k(e.fields[0])))||U(k(k(k(e.fields[0]))))||U(k(k(k(k(e.fields[0])))))||U(k(k(k(k(k(e.fields[0]))))))?t=1:T(k(k(k(k(k(e.fields[0])))))).tag===0&&U(k(k(k(k(k(k(e.fields[0])))))))?(t=0,n=i,r=T(k(k(k(e.fields[0])))),l=T(k(k(k(k(e.fields[0]))))),o=T(k(k(e.fields[0])))):t=1:t=1}else t=1;else t=1;else t=1;switch(t){case 0:return[n,o,r,l];case 1:return}}function Ff(e){if(ek(e)!=null)return new fc(0,[]);{const t=tk(e);if(t!=null){const n=t[0],r=t[1];return new fc(1,[n,r])}else{const n=nk(e);if(n!=null){const r=n[0],l=n[2],o=n[3],i=n[1],s=Ff(l),u=Ff(o);let a,c,d;switch(s!=null&&u!=null?(a=0,c=s,d=u):a=1,a){case 0:return new fc(2,[r,i,c,d]);case 1:return}}else return}}}function Rf(e){return oe(N(()=>{let t,n,r,l;return ee((t=Dn("k",e),n=Dn("v",e),t!=null&&t.tag===1&&n!=null?(r=t.fields[0],l=n,F([r,l])):Ue()),N(()=>{let o,i;return ee((o=Dn("left",e),o!=null&&o.tag===5?(i=o.fields[0],Rf(i)):Ue()),N(()=>{const s=Dn("right",e);let u,a;switch(s!=null&&s.tag===5?(u=0,a=s.fields[0]):u=1,u){case 0:return Rf(a);case 1:return Ue()}}))}))}))}function Dy(e){return oe(N(()=>{let t;return ee((t=Dn("head",e),t==null?Ue():F(t)),N(()=>{const n=Dn("tail",e);let r,l;switch(n!=null&&n.tag===5?(r=0,l=n.fields[0]):r=1,r){case 0:return Dy(l);case 1:return Ue()}}))}))}function jp(e){switch(e.tag){case 30:return!0;case 28:return!0;case 31:return!0;case 32:return!0;case 29:return!0;case 35:return!0;case 36:return!0;default:return!1}}function rk(e){return e.tag===39}function lk(e){return e.tag===40?BS(t=>t.CaseTypes.length===1?rk(t.CaseTypes[0]):!1,e.fields[0]()[0]):!1}function ok(e){return e.tag===27}function Si(e){return e.indexOf('"')===0?Fu(e,'"'):!1}function cn(e){return'"'+e+'"'}function ik(e){return Rg(e,1,e.length-2)}function pe(e,t){let n,r,l,o,i;e:for(;;){const s=e,u=t;let a,c,d,f,y,w,C,R,m,p,g,_,x,A,M,L,ce,q,Je,Qt,Kt,kn,Wn,Jt,Dt,I,W,b,Ie,Fe,an,Qn,Gl,Kn,cl,Zd,qd,Yd,Xd,bd,e0,t0,n0,r0,l0,xn,Wl,Ql,o0,i0,s0,va,u0,wa,a0,c0,dr,f0,d0,h0,p0,m0,g0,y0,v0,w0,_0,S0,C0,E0,_a,k0,x0,N0,I0,T0,A0,M0,D0,F0,R0,cs,fl;switch(s.tag===1?u.tag===9?s.fields[0].toLocaleLowerCase()==="nan"?a=1:(a=2,d=s.fields[0]):u.tag===8?s.fields[0].toLocaleLowerCase()==="nan"?a=4:(a=5,y=s.fields[0]):u.tag===6?(a=8,R=s.fields[0]):u.tag===1?(a=9,m=s.fields[0]):u.tag===2?(a=11,g=s.fields[0]):u.tag===22?(a=13,x=s.fields[0]):u.tag===10?(a=14,A=s.fields[0]):u.tag===11?(a=16,L=s.fields[0]):u.tag===3?(a=19,Je=s.fields[0]):u.tag===4?(a=21,Kt=s.fields[0]):u.tag===5?(a=23,Wn=s.fields[0]):u.tag===38?(a=25,Dt=u.fields[0],I=s.fields[0]):u.tag===30?(a=27,Ie=u.fields[0],Fe=s.fields[0]):u.tag===23?(a=30,an=s):u.tag===12?(a=31,Qn=s.fields[0]):u.tag===13?(a=32,Gl=s.fields[0]):u.tag===14?(a=35,Zd=s.fields[0]):u.tag===19?(a=36,qd=s.fields[0]):u.tag===15?(a=38,Xd=s.fields[0]):u.tag===16?(a=39,bd=s.fields[0]):u.tag===17?(a=42,n0=s.fields[0]):u.tag===18?(a=43,r0=s.fields[0]):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===21?(a=47,o0=s.fields[0]):u.tag===40?Si(s.fields[0])?(a=50,va=s.fields[0],u0=u.fields[0]):(a=51,wa=s.fields[0],a0=u.fields[0]):u.tag===39?(a=52,u.fields[0],c0=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===2?u.tag===7?(a=7,C=s.fields[0]):u.tag===23?(a=30,an=s):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===3?u.tag===2?a=28:u.tag===0?a=29:u.tag===23?(a=30,an=s):u.tag===27?a=45:u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===5?u.tag===23?(a=30,an=s):u.tag===40?(a=44,l0=u.fields[0],xn=s.fields[0]):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===12?(a=49,s0=s.fields[0]):u.tag===28?(a=56,g0=u.fields[0],y0=s.fields[0]):u.tag===39?(a=60,_a=s.fields[0],k0=u.fields[0]):u.tag===34?(a=63,A0=s.fields[0],M0=u.fields[0]):u.tag===33?(a=65,R0=u.fields[0],cs=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===4?u.tag===23?(a=30,an=s):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===40?(a=53,dr=s.fields[0],f0=u.fields[0]):u.tag===30?(a=54,d0=u.fields[0],h0=s.fields[0]):u.tag===28?(a=55,p0=u.fields[0],m0=s.fields[0]):u.tag===29?(a=57,v0=u.fields[0],w0=s.fields[0]):u.tag===31?(a=58,_0=u.fields[0],S0=s.fields[0]):u.tag===32?(a=59,C0=s.fields[0],E0=u.fields[0]):u.tag===33?(a=61,x0=u.fields[0],N0=s.fields[0]):u.tag===34?(a=62,I0=u.fields[0],T0=s.fields[0]):u.tag===36?(a=64,D0=u.fields[0],F0=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:u.tag===9?(a=0,c=s.fields[0]):u.tag===8?(a=3,f=s.fields[0]):u.tag===6?(a=6,w=s.fields[0]):u.tag===1?(a=10,p=s.fields[0]):u.tag===2?(a=12,_=s.fields[0]):u.tag===10?(a=15,M=s.fields[0]):u.tag===11?(a=17,ce=s.fields[0]):u.tag===3?(a=18,q=s.fields[0]):u.tag===4?(a=20,Qt=s.fields[0]):u.tag===5?(a=22,kn=s.fields[0]):u.tag===20?(a=24,Jt=s.fields[0]):u.tag===38?(a=26,W=u.fields[0],b=s.fields[0]):u.tag===23?(a=30,an=s):u.tag===13?(a=33,Kn=s.fields[0]):u.tag===14?(a=34,cl=s.fields[0]):u.tag===19?(a=37,Yd=s.fields[0]):u.tag===16?(a=40,e0=s.fields[0]):u.tag===17?(a=41,t0=s.fields[0]):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===12?(a=48,i0=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67,a){case 0:return c;case 1:return NaN;case 2:return Lu(d);case 3:return f;case 4:return NaN;case 5:return Lu(y);case 6:return Math.floor(w);case 7:return C;case 8:return Rt(R,511,!1,32);case 9:return m;case 10:return String.fromCharCode(p);case 11:return g;case 12:return _.toString();case 13:return St.create(x);case 14:return new br(A);case 15:return new br(M);case 16:return Rt(L,511,!1,16);case 17:return(ce+32768&65535)-32768;case 18:return q&65535;case 19:return Rt(Je,511,!0,16);case 20:return Qt>>>0;case 21:return Rt(Kt,511,!0,32);case 22:return Tu(kn,!0);case 23:return Ws(Wn,511,!0);case 24:return Math.floor(Jt);case 25:{const z=Dt(),D=z[0],$=z[1];switch(D.tag){case 6:{let B,G=0;if(B=[e2(I,511,!1,32,new Xr(()=>G,Q=>{G=Q|0})),G],B[0])return B[1];{const Q=Ye($);return xe(H("The value '%s' is not valid for enum of type '%s'"))(I)(Q)}}case 12:{let B,G=E2(0);if(B=[x2(I,511,!1,64,new Xr(()=>G,Q=>{G=Q})),G],B[0])return B[1];{const Q=Ye($);return xe(H("The value '%s' is not valid for enum of type '%s'"))(I)(Q)}}default:{const B=Ye($);return xe(H("The value '%s' cannot be converted to enum of type '%s'"))(I)(B)}}}case 26:return W(),b;case 27:{const z=Ie();return z.tag===13?typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope||Y4?tS(Fe):Array.prototype.slice.call(Buffer.from(Fe,"base64")):xe(H("Cannot convert arbitrary string '%s' to %A"))(Fe)(z)}case 28:return Ke();case 29:return;case 30:return Nf(an);case 31:return Ws(Qn,511,!1);case 32:return Rt(Gl,511,!0,8);case 33:return Kn&255;case 34:return(cl+128&255)-128;case 35:return Rt(Zd,511,!1,8);case 36:return KC(qd);case 37:return JC(Math.floor(Yd));case 38:return W2(Xd);case 39:return X3(bd);case 40:return Sy(Sg(Tu(Math.floor(e0),!1))*1e3,0);case 41:return Np(~~t0);case 42:return Np(Rt(n0,511,!1,32));case 43:return n4(Ws(r0,511,!1));case 44:{const z=l0(),D=z[1],$=z[0],B=yl(xn);let G,Q,Ve,Ee,he;if(U(B))G=2;else if(T(B)[1].tag===4)U(k(B))?(G=0,Q=T(B)[0],Ve=T(B)[1].fields[0]):G=2;else{const Y=b4(T(B)[1]);Y!=null&&U(k(B))?(G=1,Ee=T(B)[0],he=Y):G=2}switch(G){case 0:{const Y=Jl(V=>V.CaseName===Q,$);if(Y!=null)if(n=Y,n.CaseTypes.length===1&&jp(n.CaseTypes[0])){const V=Y;return qn(V.Info,[pe(new fe(4,[Ve]),V.CaseTypes[0])])}else if(r=Y,r.CaseTypes.length===1&&ok(r.CaseTypes[0])){const V=Y;return qn(V.Info,[pe(new fe(4,[Ve]),V.CaseTypes[0])])}else{const V=Y;if(V.CaseTypes.length===1&&!jp(V.CaseTypes[0])&&V.CaseTypes.length!==ec(Ve)){const te=V.CaseTypes.length|0,ft=ec(Ve)|0;xe(H("Expected case '%s' to have %d argument types but the JSON data only contained %d values"))(V.CaseName)(te)(ft)}return qn(V.Info,$e(te=>pe(te[1],te[0]),ba(V.CaseTypes,gl(Ve)),null))}else{const V=se(", ",$e(Jn=>Te(H(" '%s' "))(Jn.CaseName),$,null)),te=Ye(D);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(Q)(te)(V)}}case 1:{const Y=Jl(je=>je.CaseName===Ee,$);let V,te,ft;switch(Y!=null?(o=Y.CaseTypes,!df(me,o,Ke())&&o.length===1?(V=0,te=Y.Info,Y.CaseName,ft=Y.CaseTypes[0]):V=1):V=1,V){case 0:return qn(te,[(l=(je=>_t=>pe(je,_t))(he),l(ft))]);case 1:{const je=se(", ",$e(P0=>Te(H(" '%s' "))(P0.CaseName),$,null)),_t=Ye(D);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(Ee)(_t)(je)}}}case 2:if(rc("tag",xn)&&rc("fields",xn)&&QE(xn)===2){const Y=Dn("tag",xn),V=Dn("fields",xn);let te,ft,je;switch(Y!=null&&Y.tag===0&&V!=null&&V.tag===4?(te=0,ft=Y.fields[0],je=V.fields[0]):te=1,te){case 0:{const _t=$[~~ft];return qn(_t.Info,ff((Jn,Qo)=>pe(Qo,_t.CaseTypes[Jn]),gl(je),null))}case 1:{const _t=uo(new fe(5,[xn])),Jn=Qe(D);return xe(H("Could not deserialize JSON(%s) into type %s"))(_t)(Jn)}}}else if(lk(u)){const Y=np(V=>rc(V,xn),S(["__typename","$typename","$type"]));if(Y!=null){const V=GE(Y,xn);if(V.tag===1){const te=V.fields[0],ft=zS(je=>je.CaseName.toUpperCase()===te.toUpperCase(),$);if(ft!=null){const je=ft;return qn(je.Info,[pe(new fe(5,[xn]),je.CaseTypes[0])])}else{const je=Ye(D);return xe(H("Union of records of type '%s' does not have a matching case '%s'"))(je)(te)}}else{const te=Ye(D);return xe(H("Union of records of type '%s' cannot be deserialized with the value of the discriminator key is not a string to match against a specific union case"))(te)}}else{const V=Ye(D);return xe(H("Could not serialize the JSON object into the union of records of type %s because the JSON did not contain a known discriminator. Expected '__typename', '$typeName' or '$type'"))(V)}}else{const Y=JSON.stringify(B),V=JSON.stringify($);return xe(H(`Expected JSON: +`:o==="r"?"\r":o==="t"?" ":o,T3('"\\/bfnrt')),t=ur(o=>o[1],yy(Fn("\\"),e)),n=vy(my(C3(t,I3(o=>o!=='"'&&o!=="\\")))),r=Fn('"'),l=Fn('"');return Bu(r,l,n)})(),$3=_y.map(e=>new fe(1,[e]));function er(e){return Bu(Cp,Cp,e)}const z3=is(Et(er,S([L3,O3,P3,$3]))),Ep=er(Fn(","));function B3(){return x3(()=>{const e=er(Fn("[")),t=er(Fn("]")),n=ur(o=>new fe(4,[S(o)]),Bu(e,t,Sp(Ep,xf.Value))),r=er(Fn("{")),l=er(Fn("}"));return is(S([z3,n,ur(o=>new fe(5,[bn(S(o),{Compare:nr})]),Bu(r,l,Sp(Ep,ur(o=>[o[0],o[2]],M3(er(_y),er(Fn(":")),er(xf.Value))))))]))})}const xf=new Ze(B3),U3=xf.Value,V3=er(U3);function H3(e){if(typeof e=="string")return e}function j3(e){if(typeof e=="boolean")return e}function G3(e){if(typeof e=="number")return e}function W3(e){if(typeof e=="object")return Gt(e)}function Q3(e){if(e==null)return Gt(e)}function K3(e){if(Array.isArray(e))return e}function J3(e){return e instanceof Date?"offset"in e:!1}function Z3(e){return typeof e=="object"}function kp(e){return e!=null&&Z3(e)&&"signInt"in e&&"v"in e&&"digits"in e.v?"bound"in e.v:!1}function ss(e){return S3(e,V3)}function q3(e){const t=ss(e);return t??xe(H("Could not parse the JSON input: %s"))(e)}function uo(e){if(e.tag===2)return e.fields[0]?"true":"false";if(e.tag===0)return e.fields[0].toString();if(e.tag===1)return Te(H('"%s"'))(e.fields[0]);if(e.tag===4){const t=se(",",Et(uo,e.fields[0]));return Te(H("[%s]"))(t)}else if(e.tag===5){const t=se(",",Et(r=>{const l=uo(r[1]);return Te(H('"%s":%s'))(r[0])(l)},yl(e.fields[0])));return Te(H("{%s}"))(t)}else return"null"}function Nf(e){switch(e.tag){case 2:return e.fields[0];case 0:return e.fields[0];case 1:return e.fields[0];case 4:{const t=[],n=Ce(e.fields[0]);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t.push(Nf(r))}}finally{ye(n)}return t}case 5:{const t={},n=Ce(yl(e.fields[0]));try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t[r[0]]=Nf(r[1])}}finally{ye(n)}return t}default:return Ke()}}function xp(e){return e==null?JSON.stringify(Ke()):JSON.stringify(e,(t,n)=>kp(n)?af(hp(n)):n instanceof Date?Ao(n,"o"):typeof n=="string"?n:v_(n)?Array.isArray(n)?n:Array.from(n):kp(n)?af(hp(n)):J3(n)?Ao(n,"O"):n,Gt(0))}function If(e){const t=H3(e);if(t!=null){const n=t;return new fe(1,[n])}else{const n=G3(e);if(n!=null){const r=n;return new fe(0,[r])}else{const r=j3(e);if(r!=null){const l=r;return new fe(2,[l])}else{if(Q3(e)!=null)return new fe(3,[]);{const l=K3(e);if(l!=null){const o=l;return new fe(4,[S($e(If,o,null))])}else{const o=W3(e);if(o!=null){const i=Se(o);return new fe(5,[bn(oe(N(()=>ae(s=>[s,If(i[s])],Object.keys(i)))),{Compare:nr})])}else return new fe(3,[])}}}}}}function oc(e){return If(JSON.parse(e))}function Sy(e,t){Y3(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Y3(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function X3(e){const[t,n]=Ig(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Sy(t.getTime(),r)}function b3(e){return Rd(e,1)}function e4(e){return Bn(Sn(G2(e),864e9))}function Np(e){const t=Tt(Tu(864e9),e);return b3(I2(t))}function t4(e){return Tt(Tu(e),1e4)}function n4(e=0,t=0,n=0,r=0){if(e<0||t<0||n<0||r<0)throw new Error("The parameters describe an unrepresentable TimeOnly.");return arguments.length===1?r4(arguments[0]):e*36e5+t*6e4+n*1e3+r}function r4(e){return Sg(Sn(e,1e4))}const l4=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Ip=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,o4=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function i4(e){function t(r){return r.replace(Ip,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(l4.test(n))return oS(n,"{","}","(",")");if(Ip.test(n))return t(n);if(o4.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}const Tf=!0;function Tp(e){const t=new Uint8Array(4);return new DataView(t.buffer,t.byteOffset,t.byteLength).setInt32(0,e,Tf),t}function s4(e,t){const n=ArrayBuffer.isView(e)?e:Uint8Array.from(e),r=new DataView(n.buffer,n.byteOffset,n.byteLength),l=r.getInt32(t+0,Tf),o=r.getInt32(t+4,Tf);return ot(l,o,!1)}class ic{constructor(t,n){const r=new Xr(Ke());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const l=Ce(t);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const o=l["System.Collections.Generic.IEnumerator`1.get_Current"]();sc(r.contents,o)}}finally{ye(l)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Ce(this)}GetEnumerator(){return Ce(ca(this.hashMap.values()))}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(t){sc(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){Ap(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return Dp(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Lg((l,o)=>{t[n+l]=o},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return Mp(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return Fp(this,t)}get size(){return Mp(this)|0}add(t){const n=this;return sc(n,t),n}clear(){Ap(this)}delete(t){return Fp(this,t)}has(t){return Dp(this,t)}keys(){return ae(n=>n,this)}values(){return ae(n=>n,this)}entries(){return ae(n=>[n,n],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l])(l)(r)},r)}}function Wd(e,t){const n=e.comparer.GetHashCode(t)|0;let r,l=Ke();return r=[Vd(e.hashMap,n,new Xr(()=>l,o=>{l=o})),l],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,n,-1]}function Ap(e){e.hashMap.clear()}function Mp(e){let t=0,n=Ce(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{ye(n)}return t|0}function sc(e,t){const n=Wd(e,t);return n[0]?n[2]>-1?!1:(fr(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function Dp(e,t){const n=Wd(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;case 1:return!1}}function Fp(e,t){const n=Wd(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return fr(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class Cy{constructor(t){this.k=t}}function Yt(e){return new Cy(e)}function j(e){return e.k}class ie extends Cy{constructor(t,n,r,l){super(t),this.left=n,this.right=r,this.h=l|0}}function Xt(e,t,n,r){return new ie(e,t,n,r)}function le(e){return e.left}function re(e){return e.right}function ao(e){return e.h}function Ey(e,t){e:for(;;){const n=e,r=t;if(n!=null){const l=n;if(l instanceof ie){e=le(l),t=Ey(re(l),r+1);continue e}else return r+1|0}else return r|0}}function u4(e){return Ey(e,0)}function qt(e,t,n){let r;const l=e;if(l!=null){const u=l;r=u instanceof ie?ao(u):1}else r=0;let o;const i=n;if(i!=null){const u=i;o=u instanceof ie?ao(u):1}else o=0;const s=(rs+2){const d=Se(n);if(d instanceof ie)if(r=le(d),(r!=null?(l=r,l instanceof ie?ao(l):1):0)>s+1){const f=Se(le(d));if(f instanceof ie)return qt(qt(e,t,le(f)),j(f),qt(re(f),j(d),re(d)));throw new Error("internal error: Set.rebalance")}else return qt(qt(e,t,le(d)),j(d),re(d));else throw new Error("internal error: Set.rebalance")}else if(s>a+2){const d=Se(e);if(d instanceof ie)if(o=re(d),(o!=null?(i=o,i instanceof ie?ao(i):1):0)>a+1){const f=Se(re(d));if(f instanceof ie)return qt(qt(le(d),j(d),le(f)),j(f),qt(re(f),t,n));throw new Error("internal error: Set.rebalance")}else return qt(le(d),j(d),qt(re(d),t,n));else throw new Error("internal error: Set.rebalance")}else return qt(e,t,n)}function rl(e,t,n){if(n!=null){const r=n,l=e.Compare(t,j(r))|0;if(r instanceof ie)return l<0?Uu(rl(e,t,le(r)),j(r),re(r)):l===0?n:Uu(le(r),j(r),rl(e,t,re(r)));{const o=e.Compare(t,j(r))|0;return o<0?Xt(t,void 0,n,2):o===0?n:Xt(t,n,void 0,2)}}else return Yt(t)}function ky(e){if(e!=null){const t=e;if(t instanceof ie){if(le(t)==null)return[j(t),re(t)];{const n=ky(le(t));return[n[0],qt(n[1],j(t),re(t))]}}else return[j(t),void 0]}else throw new Error("internal error: Set.spliceOutSuccessor")}function Af(e,t,n){if(n!=null){const r=n,l=e.Compare(t,j(r))|0;if(r instanceof ie){if(l<0)return Uu(Af(e,t,le(r)),j(r),re(r));if(l===0){if(le(r)==null)return re(r);if(re(r)==null)return le(r);{const o=ky(re(r));return qt(le(r),o[0],o[1])}}else return Uu(le(r),j(r),Af(e,t,re(r)))}else return l===0?void 0:n}else return n}function xy(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o!=null){const i=o,s=r.Compare(l,j(i))|0;if(i instanceof ie)if(s<0){e=r,t=l,n=le(i);continue e}else{if(s===0)return!0;e=r,t=l,n=re(i);continue e}else return s===0}else return!1}}function Ny(e,t){e:for(;;){const n=e,r=t;if(r!=null){const l=r;if(l instanceof ie){Ny(n,le(l)),n(j(l)),e=n,t=re(l);continue e}else n(j(l))}break}}function Iy(e,t,n,r){e:for(;;){const l=e,o=t,i=n,s=r;if(i!=null){const u=i;if(u instanceof ie){const a=o(j(u))?rl(l,j(u),s):s;e=l,t=o,n=le(u),r=Iy(l,o,re(u),a);continue e}else return o(j(u))?rl(l,j(u),s):s}else return s}}function a4(e,t,n){return Iy(e,t,n,void 0)}class c4 extends tt{constructor(t,n){super(),this.stack=t,this.started=n}}function Ty(e){e:for(;;){const t=e;if(U(t))return vt();{const n=T(t),r=k(t);if(n!=null){const l=n;if(l instanceof ie){e=Re([le(l),Yt(j(l)),re(l)],r);continue e}else return t}else{e=r;continue e}}}}function Rp(e){return new c4(Ty(X(e)),!1)}function f4(){throw new Error("Enumeration not started")}function d4(){throw new Error("Enumeration already started")}function Pp(e){if(e.started){const t=e.stack;if(U(t))return d4();if(T(t)!=null){const n=T(t);return j(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return f4()}function h4(e){if(e.started){const t=e.stack;if(U(t))return!1;if(T(t)!=null){if(T(t)instanceof ie)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ty(k(t)),!U(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!U(e.stack)}function Op(e){let t=Rp(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Pp(t)},"System.Collections.IEnumerator.get_Current"(){return Pp(t)},"System.Collections.IEnumerator.MoveNext"(){return h4(t)},"System.Collections.IEnumerator.Reset"(){t=Rp(e)},Dispose(){}}}function p4(e,t,n){e:for(;;){const r=e,l=t,o=n;if(U(l))return U(o)?0:-1;if(U(o))return 1;if(T(o)!=null)if(T(l)!=null){const i=T(l),s=T(o);if(i instanceof ie)if(le(i)==null)if(s instanceof ie)if(le(s)==null){const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=be(re(i),k(l)),n=be(re(s),k(o));continue e}else{let u,a,c,d,f;switch(U(l)?U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2:T(l)!=null?(u=0,a=k(l),c=T(l)):U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2,u){case 0:if(c instanceof ie){e=r,t=Re([le(c),Xt(j(c),void 0,re(c),0)],a),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(c))],a),n=o;continue e}case 1:if(f instanceof ie){e=r,t=l,n=Re([le(f),Xt(j(f),void 0,re(f),0)],d);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=be(re(i),k(l)),n=be(void 0,k(o));continue e}else{let u,a,c,d,f;switch(U(l)?U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2:T(l)!=null?(u=0,a=k(l),c=T(l)):U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2,u){case 0:if(c instanceof ie){e=r,t=Re([le(c),Xt(j(c),void 0,re(c),0)],a),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(c))],a),n=o;continue e}case 1:if(f instanceof ie){e=r,t=l,n=Re([le(f),Xt(j(f),void 0,re(f),0)],d);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(s instanceof ie)if(le(s)==null){const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=be(void 0,k(l)),n=be(re(s),k(o));continue e}else{let u,a,c,d,f;switch(U(l)?U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2:T(l)!=null?(u=0,a=k(l),c=T(l)):U(o)?u=2:T(o)!=null?(u=1,d=k(o),f=T(o)):u=2,u){case 0:if(c instanceof ie){e=r,t=Re([le(c),Xt(j(c),void 0,re(c),0)],a),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(c))],a),n=o;continue e}case 1:if(f instanceof ie){e=r,t=l,n=Re([le(f),Xt(j(f),void 0,re(f),0)],d);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(j(i),j(s))|0;if(u!==0)return u|0;e=r,t=k(l),n=k(o);continue e}}else{T(o);let i,s,u,a,c;switch(U(l)?U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2:T(l)!=null?(i=0,s=k(l),u=T(l)):U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2,i){case 0:if(u instanceof ie){e=r,t=Re([le(u),Xt(j(u),void 0,re(u),0)],s),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(u))],s),n=o;continue e}case 1:if(c instanceof ie){e=r,t=l,n=Re([le(c),Xt(j(c),void 0,re(c),0)],a);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(c))],a);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(T(l)!=null){T(l);let i,s,u,a,c;switch(U(l)?U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2:T(l)!=null?(i=0,s=k(l),u=T(l)):U(o)?i=2:T(o)!=null?(i=1,a=k(o),c=T(o)):i=2,i){case 0:if(u instanceof ie){e=r,t=Re([le(u),Xt(j(u),void 0,re(u),0)],s),n=o;continue e}else{e=r,t=Re([void 0,Yt(j(u))],s),n=o;continue e}case 1:if(c instanceof ie){e=r,t=l,n=Re([le(c),Xt(j(c),void 0,re(c),0)],a);continue e}else{e=r,t=l,n=Re([void 0,Yt(j(c))],a);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=k(l),n=k(o);continue e}break}}function Lp(e,t,n){return t==null?n==null?0:-1:n==null?1:p4(e,X(t),X(n))|0}function m4(e,t,n){let r=n;Ny(l=>{t[r]=l,r=r+1|0},e)}function g4(e,t,n){e:for(;;){const r=e,l=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){e=r,t=rl(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),l),n=o;continue e}else return l}}function y4(e,t){return pS((n,r)=>rl(e,r,n),void 0,t)}function v4(e,t){return jl((n,r)=>rl(e,r,n),void 0,t)}function w4(e,t){if(xr(t))return y4(e,t);if(t instanceof Un)return v4(e,t);{const n=Ce(t);try{return g4(e,void 0,n)}finally{ye(n)}}}class Qd{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return k4(this)|0}Equals(t){const n=this;return t instanceof Qd&&Lp(ar(n),Ft(n),Ft(t))===0}toString(){return"set ["+se("; ",ae(n=>Ht(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Lp(ar(n),Ft(n),Ft(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return xy(ar(n),t,Ft(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){m4(Ft(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return uc(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return uc(this)|0}GetEnumerator(){return Op(Ft(this))}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Op(Ft(this))}get size(){return uc(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Ay(this,t)}keys(){return ae(n=>n,this)}values(){return ae(n=>n,this)}entries(){return ae(n=>[n,n],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l])(l)(r)},r)}}function us(e,t){return new Qd(e,t)}function ar(e){return e.comparer}function Ft(e){return e.tree}function _4(e){return us(e,void 0)}function S4(e,t){return us(ar(e),rl(ar(e),t,Ft(e)))}function C4(e,t){return us(ar(e),Af(ar(e),t,Ft(e)))}function uc(e){return u4(Ft(e))}function Ay(e,t){return xy(ar(e),t,Ft(e))}function E4(e,t){return Ft(e)==null?e:us(ar(e),a4(ar(e),t,Ft(e)))}function k4(e){let t=0;const n=Ce(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+yt(r)+631|0}}finally{ye(n)}return Math.abs(t)|0}function x4(e){return _4(e)}function N4(e,t){return E4(t,e)}function I4(e,t){return us(t,w4(t,e))}class T4 extends tt{constructor(t,n,r){super(),this.FieldName=t,this.FieldType=n,this.PropertyInfo=r}}class A4 extends tt{constructor(t,n,r){super(),this.CaseName=t,this.CaseTypes=n,this.Info=r}}class J extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Unit","Char","String","UInt16","UInt32","UInt64","Int32","Bool","Float32","Float","Decimal","Short","Long","Byte","SByte","DateTime","DateTimeOffset","DateOnly","TimeOnly","BigInt","TimeSpan","Guid","Uri","Object","Any","Async","Promise","Option","List","Set","Array","Seq","Tuple","Map","Dictionary","ResizeArray","HashSet","Func","Enum","Record","Union"]}}class ml{constructor(t,n){const r=new Xr(Ke());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const l=Ce(t);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const o=l["System.Collections.Generic.IEnumerator`1.get_Current"]();ac(r.contents,o[0],o[1])}}finally{ye(l)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Ce(this)}GetEnumerator(){return Ce(ca(this.hashMap.values()))}[Symbol.iterator](){return zo(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(t){ac(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){$p(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=Ys(this,t[0]);let l;switch(r!=null&&me(r[1],t[1])?l=0:l=1,l){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Lg((l,o)=>{t[n+l]=o},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return zp(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const n=this,r=Ys(n,t[0]);return r!=null?(me(r[1],t[1])&&cc(n,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,n){ac(this,t,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return Vp(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return Bp(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,n){Up(this,t,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return $l(N(()=>ae(n=>n[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return cc(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,n){const l=Ys(this,t);if(l!=null){const o=l;return n.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return $l(N(()=>ae(n=>n[1],t)))}get size(){return zp(this)|0}clear(){$p(this)}delete(t){return cc(this,t)}entries(){return ae(n=>[n[0],n[1]],this)}get(t){return Bp(this,t)}has(t){return Vp(this,t)}keys(){return ae(n=>n[0],this)}set(t,n){const r=this;return Up(r,t,n),r}values(){return ae(n=>n[1],this)}forEach(t,n){const r=this;jo(l=>{na(2,t,[l[1]])(l[0])(r)},r)}}function as(e,t){const n=e.comparer.GetHashCode(t)|0;let r,l=Ke();return r=[Vd(e.hashMap,n,new Xr(()=>l,o=>{l=o})),l],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,n,-1]}function Ys(e,t){const n=as(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return fr(e.hashMap,n[1])[n[2]];case 1:return}}function $p(e){e.hashMap.clear()}function zp(e){let t=0,n=Ce(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{ye(n)}return t|0}function Bp(e,t){const n=Ys(e,t);if(n!=null)return n[1];throw new Error("The item was not found in collection")}function Up(e,t,n){const r=as(e,t);r[0]?r[2]>-1?fr(e.hashMap,r[1])[r[2]]=[t,n]:fr(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function ac(e,t,n){const r=as(e,t);if(r[0]){if(r[2]>-1)throw new Error(Mg("An item with the same key has already been added. Key: {0}",t));fr(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function Vp(e,t){const n=as(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;case 1:return!1}}function cc(e,t){const n=as(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return fr(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function M4(e){const t=Qe(e);let n;switch(t==="System.String"?n=0:t==="System.Char"?n=1:t==="System.Int16"?n=2:t==="System.Int32"?n=3:t==="Microsoft.FSharp.Core.int64`1"||t==="System.Int64"?n=4:t==="System.UInt16"?n=5:t==="System.UInt32"?n=6:t==="System.UInt64"?n=7:t==="System.DateTime"?n=8:t==="System.DateOnly"?n=9:t==="System.TimeOnly"?n=10:t==="System.TimeSpan"?n=11:t==="System.DateTimeOffset"?n=12:t==="System.Boolean"?n=13:t==="System.Single"?n=14:t==="System.Double"?n=15:t==="Microsoft.FSharp.Core.decimal`1"||t==="System.Decimal"?n=16:t==="System.Numerics.BigInteger"?n=17:t==="Microsoft.FSharp.Core.Unit"?n=18:t==="System.Guid"?n=19:t==="System.Byte"?n=20:t==="System.SByte"?n=21:t==="System.Object"?n=22:t==="System.Uri"?n=23:n=24,n){case 0:return new J(2,[]);case 1:return new J(1,[]);case 2:return new J(11,[]);case 3:return new J(6,[]);case 4:return new J(12,[]);case 5:return new J(3,[]);case 6:return new J(4,[]);case 7:return new J(5,[]);case 8:return new J(15,[]);case 9:return new J(17,[]);case 10:return new J(18,[]);case 11:return new J(20,[]);case 12:return new J(16,[]);case 13:return new J(7,[]);case 14:return new J(8,[]);case 15:return new J(9,[]);case 16:return new J(10,[]);case 17:return new J(19,[]);case 18:return new J(0,[]);case 19:return new J(21,[]);case 20:return new J(13,[]);case 21:return new J(14,[]);case 22:return new J(23,[]);case 23:return new J(22,[]);case 24:return}}function D4(e){if(O2(e))return $e(t=>[t,Ye(t),t[1]],Mu(e),null)}function F4(e){if(Qe(e).indexOf("Microsoft.FSharp.Collections.FSharpSet`1")===0)return jt(e)[0]}function R4(e){if(Qe(e).indexOf("System.Nullable`1")===0)return jt(e)[0]}function P4(e){if(P2(e))return $e(t=>[Ye(t),t,$e(n=>n[1],$2(t),null)],Eg(e),null)}function O4(e){if(Qe(e).indexOf("Microsoft.FSharp.Collections.FSharpMap`2")===0){const t=jt(e);return[t[0],t[1]]}else return}function L4(e){if(Qe(e).indexOf("Microsoft.FSharp.Collections.FSharpList`1")===0)return jt(e)[0]}function Mf(e){return $l(N(()=>{if(Dd(e)){const t=R2(e);return ee(Mf(t[0]),N(()=>Mf(t[1])))}else return F(e)}))}function $4(e){if(Dd(e))return Mf(e)}function z4(e){if(A2(e))return la(e)}function B4(e){if(Qe(e).indexOf("Microsoft.FSharp.Core.FSharpOption`1")===0)return jt(e)[0]}function U4(e){if(kg(e))return F2(e)}function V4(e){if(Qe(e).indexOf("System.Collections.Generic.IEnumerable`1")===0)return jt(e)[0]}function H4(e){if(Qe(e).indexOf("System.Collections.Generic.Dictionary")===0){const t=jt(e);return[t[0],t[1]]}else return}function j4(e){if(Qe(e).indexOf("System.Collections.Generic.List")===0)return jt(e)[0]}function G4(e){if(Qe(e).indexOf("System.Collections.Generic.HashSet")===0)return jt(e)[0]}function W4(e){if(Qe(e).indexOf("Microsoft.FSharp.Control.FSharpAsync`1")===0)return jt(e)[0]}function Q4(e){if(Qe(e).indexOf("Fable.Core.JS.Promise`1")===0)return jt(e)[0]}function nt(e,t){return e.Value}function K4(e){if(M2(e))return D2(e)}function J4(e){let t,n,r,l,o,i,s,u,a,c,d,f,y,w,C,R;const m=M4(e);if(m!=null)return m;{const p=$4(e);if(p!=null){const g=p;return new J(37,[(t=new Ze(()=>$e(ge,g,null)),()=>nt(t))])}else{const g=D4(e);if(g!=null){const _=g,x=new Ze(()=>[$l(N(()=>En(A=>F(new T4(A[1],ge(A[2]),A[0])),_))),e]);return new J(39,[()=>nt(x)])}else{const _=P4(e);if(_!=null){const x=_,A=new Ze(()=>[$l(N(()=>En(M=>F(new A4(M[0],$e(ge,M[2],null),M[1])),x))),e]);return new J(40,[()=>nt(A)])}else{const x=K4(e);if(x!=null){const A=x;return new J(38,[(n=new Ze(()=>[ge(A),e]),()=>nt(n))])}else{const A=L4(e);if(A!=null){const M=A;return new J(28,[(r=new Ze(()=>ge(M)),()=>nt(r))])}else{const M=j4(e);if(M!=null){const L=M;return new J(35,[(l=new Ze(()=>ge(L)),()=>nt(l))])}else{const L=G4(e);if(L!=null){const ce=L;return new J(36,[(o=new Ze(()=>ge(ce)),()=>nt(o))])}else{const ce=z4(e);if(ce!=null){const q=ce;return new J(30,[(i=new Ze(()=>ge(q)),()=>nt(i))])}else{const q=U4(e);if(q!=null){const Je=q;return new J(32,[(s=new Ze(()=>$e(ge,Je,null)),()=>nt(s))])}else{const Je=B4(e);if(Je!=null){const Qt=Je;return new J(27,[(u=new Ze(()=>ge(Qt)),()=>nt(u))])}else{const Qt=R4(e);if(Qt!=null){const Kt=Qt;return new J(27,[(a=new Ze(()=>ge(Kt)),()=>nt(a))])}else{const Kt=F4(e);if(Kt!=null){const kn=Kt;return new J(29,[(c=new Ze(()=>ge(kn)),()=>nt(c))])}else{const kn=O4(e);if(kn!=null){const Wn=kn[0],Jt=kn[1];return new J(33,[(d=new Ze(()=>[ge(Wn),ge(Jt)]),()=>nt(d))])}else{const Wn=H4(e);if(Wn!=null){const Jt=Wn[0],Dt=Wn[1];return new J(34,[(f=new Ze(()=>[ge(Jt),ge(Dt),Dt]),()=>nt(f))])}else{const Jt=V4(e);if(Jt!=null){const Dt=Jt;return new J(31,[(y=new Ze(()=>ge(Dt)),()=>nt(y))])}else{const Dt=W4(e);if(Dt!=null){const I=Dt;return new J(25,[(w=new Ze(()=>ge(I)),()=>nt(w))])}else{const I=Q4(e);if(I!=null){const W=I;return new J(26,[(C=new Ze(()=>ge(W)),()=>nt(C))])}else return new J(24,[(R=new Ze(()=>e),()=>nt(R))])}}}}}}}}}}}}}}}}}}const Hp=new ml([],{Equals:Au,GetHashCode:yt});function ge(e){let t,n=Ke();if(t=[Vd(Hp,e,new Xr(()=>n,r=>{n=r})),n],t[0])return t[1];{const r=J4(e);return!Dg(Qe(e))&&!Fu(Qe(e),"`1[]")&&!Fu(Qe(e),"`2[]")&&Hp.set(e,r),r}}function ci(e){switch(e.tag){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 15:case 16:case 17:case 18:case 19:case 21:case 27:return!0;default:return!1}}function Zl(e){return e.tag===40?e.fields[0]()[0].every(n=>n.CaseTypes.length===0):!1}function Z4(e){var t=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(r){var l=n[r];return typeof l=="string"?l:"\\u"+("0000"+r.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}const q4=kE,Y4=q4();function Ms(e){return e!==void 0}function X4(){const t=JSON.parse(JSON.stringify(bn(S([[1,1],[2,2]]),{Compare:nr}))).tree;return Ms(t)&&Ms(t.k)&&Ms(t.v)?Ms(t.h):!1}X4();class fc extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["MapEmpty","MapOne","MapNode"]}}function Df(e){switch(e.tag){case 1:return X([e.fields[0],e.fields[1]]);case 2:return oe(N(()=>ee(Df(e.fields[2]),N(()=>ee(Df(e.fields[3]),N(()=>F([e.fields[0],e.fields[1]])))))));default:return vt()}}function b4(e){if(e.tag!==4)return e}function ek(e){let t;switch(e.tag===1&&e.fields[0]==="MapEmpty"?t=0:t=1,t){case 0:return e;case 1:return}}function My(e){switch(e.tag){case 0:return e.fields[0].toString();case 1:return e.fields[0];default:return}}function tk(e){let t,n,r;if(e.tag===4)if(U(e.fields[0]))t=1;else if(T(e.fields[0]).tag===1)if(T(e.fields[0]).fields[0]==="MapOne")if(U(k(e.fields[0])))t=1;else{const l=My(T(k(e.fields[0])));l!=null?U(k(k(e.fields[0])))?t=1:U(k(k(k(e.fields[0]))))?(t=0,n=l,r=T(k(k(e.fields[0])))):t=1:t=1}else t=1;else t=1;else t=1;switch(t){case 0:return[n,r];case 1:return}}function nk(e){let t,n,r,l,o;if(e.tag===4)if(U(e.fields[0]))t=1;else if(T(e.fields[0]).tag===1)if(T(e.fields[0]).fields[0]==="MapNode")if(U(k(e.fields[0])))t=1;else{const i=My(T(k(e.fields[0])));i!=null?U(k(k(e.fields[0])))||U(k(k(k(e.fields[0]))))||U(k(k(k(k(e.fields[0])))))||U(k(k(k(k(k(e.fields[0]))))))?t=1:T(k(k(k(k(k(e.fields[0])))))).tag===0&&U(k(k(k(k(k(k(e.fields[0])))))))?(t=0,n=i,r=T(k(k(k(e.fields[0])))),l=T(k(k(k(k(e.fields[0]))))),o=T(k(k(e.fields[0])))):t=1:t=1}else t=1;else t=1;else t=1;switch(t){case 0:return[n,o,r,l];case 1:return}}function Ff(e){if(ek(e)!=null)return new fc(0,[]);{const t=tk(e);if(t!=null){const n=t[0],r=t[1];return new fc(1,[n,r])}else{const n=nk(e);if(n!=null){const r=n[0],l=n[2],o=n[3],i=n[1],s=Ff(l),u=Ff(o);let a,c,d;switch(s!=null&&u!=null?(a=0,c=s,d=u):a=1,a){case 0:return new fc(2,[r,i,c,d]);case 1:return}}else return}}}function Rf(e){return oe(N(()=>{let t,n,r,l;return ee((t=Dn("k",e),n=Dn("v",e),t!=null&&t.tag===1&&n!=null?(r=t.fields[0],l=n,F([r,l])):Ue()),N(()=>{let o,i;return ee((o=Dn("left",e),o!=null&&o.tag===5?(i=o.fields[0],Rf(i)):Ue()),N(()=>{const s=Dn("right",e);let u,a;switch(s!=null&&s.tag===5?(u=0,a=s.fields[0]):u=1,u){case 0:return Rf(a);case 1:return Ue()}}))}))}))}function Dy(e){return oe(N(()=>{let t;return ee((t=Dn("head",e),t==null?Ue():F(t)),N(()=>{const n=Dn("tail",e);let r,l;switch(n!=null&&n.tag===5?(r=0,l=n.fields[0]):r=1,r){case 0:return Dy(l);case 1:return Ue()}}))}))}function jp(e){switch(e.tag){case 30:return!0;case 28:return!0;case 31:return!0;case 32:return!0;case 29:return!0;case 35:return!0;case 36:return!0;default:return!1}}function rk(e){return e.tag===39}function lk(e){return e.tag===40?BS(t=>t.CaseTypes.length===1?rk(t.CaseTypes[0]):!1,e.fields[0]()[0]):!1}function ok(e){return e.tag===27}function Si(e){return e.indexOf('"')===0?Fu(e,'"'):!1}function cn(e){return'"'+e+'"'}function ik(e){return Rg(e,1,e.length-2)}function pe(e,t){let n,r,l,o,i;e:for(;;){const s=e,u=t;let a,c,d,f,y,w,C,R,m,p,g,_,x,A,M,L,ce,q,Je,Qt,Kt,kn,Wn,Jt,Dt,I,W,b,Ie,Fe,an,Qn,Gl,Kn,cl,Zd,qd,Yd,Xd,bd,e0,t0,n0,r0,l0,xn,Wl,Ql,o0,i0,s0,va,u0,wa,a0,c0,hr,f0,d0,h0,p0,m0,g0,y0,v0,w0,_0,S0,C0,E0,_a,k0,x0,N0,I0,T0,A0,M0,D0,F0,R0,cs,fl;switch(s.tag===1?u.tag===9?s.fields[0].toLocaleLowerCase()==="nan"?a=1:(a=2,d=s.fields[0]):u.tag===8?s.fields[0].toLocaleLowerCase()==="nan"?a=4:(a=5,y=s.fields[0]):u.tag===6?(a=8,R=s.fields[0]):u.tag===1?(a=9,m=s.fields[0]):u.tag===2?(a=11,g=s.fields[0]):u.tag===22?(a=13,x=s.fields[0]):u.tag===10?(a=14,A=s.fields[0]):u.tag===11?(a=16,L=s.fields[0]):u.tag===3?(a=19,Je=s.fields[0]):u.tag===4?(a=21,Kt=s.fields[0]):u.tag===5?(a=23,Wn=s.fields[0]):u.tag===38?(a=25,Dt=u.fields[0],I=s.fields[0]):u.tag===30?(a=27,Ie=u.fields[0],Fe=s.fields[0]):u.tag===23?(a=30,an=s):u.tag===12?(a=31,Qn=s.fields[0]):u.tag===13?(a=32,Gl=s.fields[0]):u.tag===14?(a=35,Zd=s.fields[0]):u.tag===19?(a=36,qd=s.fields[0]):u.tag===15?(a=38,Xd=s.fields[0]):u.tag===16?(a=39,bd=s.fields[0]):u.tag===17?(a=42,n0=s.fields[0]):u.tag===18?(a=43,r0=s.fields[0]):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===21?(a=47,o0=s.fields[0]):u.tag===40?Si(s.fields[0])?(a=50,va=s.fields[0],u0=u.fields[0]):(a=51,wa=s.fields[0],a0=u.fields[0]):u.tag===39?(a=52,u.fields[0],c0=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===2?u.tag===7?(a=7,C=s.fields[0]):u.tag===23?(a=30,an=s):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===3?u.tag===2?a=28:u.tag===0?a=29:u.tag===23?(a=30,an=s):u.tag===27?a=45:u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===5?u.tag===23?(a=30,an=s):u.tag===40?(a=44,l0=u.fields[0],xn=s.fields[0]):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===12?(a=49,s0=s.fields[0]):u.tag===28?(a=56,g0=u.fields[0],y0=s.fields[0]):u.tag===39?(a=60,_a=s.fields[0],k0=u.fields[0]):u.tag===34?(a=63,A0=s.fields[0],M0=u.fields[0]):u.tag===33?(a=65,R0=u.fields[0],cs=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:s.tag===4?u.tag===23?(a=30,an=s):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===40?(a=53,hr=s.fields[0],f0=u.fields[0]):u.tag===30?(a=54,d0=u.fields[0],h0=s.fields[0]):u.tag===28?(a=55,p0=u.fields[0],m0=s.fields[0]):u.tag===29?(a=57,v0=u.fields[0],w0=s.fields[0]):u.tag===31?(a=58,_0=u.fields[0],S0=s.fields[0]):u.tag===32?(a=59,C0=s.fields[0],E0=u.fields[0]):u.tag===33?(a=61,x0=u.fields[0],N0=s.fields[0]):u.tag===34?(a=62,I0=u.fields[0],T0=s.fields[0]):u.tag===36?(a=64,D0=u.fields[0],F0=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67:u.tag===9?(a=0,c=s.fields[0]):u.tag===8?(a=3,f=s.fields[0]):u.tag===6?(a=6,w=s.fields[0]):u.tag===1?(a=10,p=s.fields[0]):u.tag===2?(a=12,_=s.fields[0]):u.tag===10?(a=15,M=s.fields[0]):u.tag===11?(a=17,ce=s.fields[0]):u.tag===3?(a=18,q=s.fields[0]):u.tag===4?(a=20,Qt=s.fields[0]):u.tag===5?(a=22,kn=s.fields[0]):u.tag===20?(a=24,Jt=s.fields[0]):u.tag===38?(a=26,W=u.fields[0],b=s.fields[0]):u.tag===23?(a=30,an=s):u.tag===13?(a=33,Kn=s.fields[0]):u.tag===14?(a=34,cl=s.fields[0]):u.tag===19?(a=37,Yd=s.fields[0]):u.tag===16?(a=40,e0=s.fields[0]):u.tag===17?(a=41,t0=s.fields[0]):u.tag===27?me(s,new fe(3,[]))?a=67:(a=46,Wl=s,Ql=u.fields[0]):u.tag===12?(a=48,i0=s.fields[0]):u.tag===24?(a=66,fl=u.fields[0]):a=67,a){case 0:return c;case 1:return NaN;case 2:return Lu(d);case 3:return f;case 4:return NaN;case 5:return Lu(y);case 6:return Math.floor(w);case 7:return C;case 8:return Rt(R,511,!1,32);case 9:return m;case 10:return String.fromCharCode(p);case 11:return g;case 12:return _.toString();case 13:return St.create(x);case 14:return new br(A);case 15:return new br(M);case 16:return Rt(L,511,!1,16);case 17:return(ce+32768&65535)-32768;case 18:return q&65535;case 19:return Rt(Je,511,!0,16);case 20:return Qt>>>0;case 21:return Rt(Kt,511,!0,32);case 22:return Tu(kn,!0);case 23:return Ws(Wn,511,!0);case 24:return Math.floor(Jt);case 25:{const z=Dt(),D=z[0],$=z[1];switch(D.tag){case 6:{let B,G=0;if(B=[e2(I,511,!1,32,new Xr(()=>G,Q=>{G=Q|0})),G],B[0])return B[1];{const Q=Ye($);return xe(H("The value '%s' is not valid for enum of type '%s'"))(I)(Q)}}case 12:{let B,G=E2(0);if(B=[x2(I,511,!1,64,new Xr(()=>G,Q=>{G=Q})),G],B[0])return B[1];{const Q=Ye($);return xe(H("The value '%s' is not valid for enum of type '%s'"))(I)(Q)}}default:{const B=Ye($);return xe(H("The value '%s' cannot be converted to enum of type '%s'"))(I)(B)}}}case 26:return W(),b;case 27:{const z=Ie();return z.tag===13?typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope||Y4?tS(Fe):Array.prototype.slice.call(Buffer.from(Fe,"base64")):xe(H("Cannot convert arbitrary string '%s' to %A"))(Fe)(z)}case 28:return Ke();case 29:return;case 30:return Nf(an);case 31:return Ws(Qn,511,!1);case 32:return Rt(Gl,511,!0,8);case 33:return Kn&255;case 34:return(cl+128&255)-128;case 35:return Rt(Zd,511,!1,8);case 36:return KC(qd);case 37:return JC(Math.floor(Yd));case 38:return W2(Xd);case 39:return X3(bd);case 40:return Sy(Sg(Tu(Math.floor(e0),!1))*1e3,0);case 41:return Np(~~t0);case 42:return Np(Rt(n0,511,!1,32));case 43:return n4(Ws(r0,511,!1));case 44:{const z=l0(),D=z[1],$=z[0],B=yl(xn);let G,Q,Ve,Ee,he;if(U(B))G=2;else if(T(B)[1].tag===4)U(k(B))?(G=0,Q=T(B)[0],Ve=T(B)[1].fields[0]):G=2;else{const Y=b4(T(B)[1]);Y!=null&&U(k(B))?(G=1,Ee=T(B)[0],he=Y):G=2}switch(G){case 0:{const Y=Jl(V=>V.CaseName===Q,$);if(Y!=null)if(n=Y,n.CaseTypes.length===1&&jp(n.CaseTypes[0])){const V=Y;return qn(V.Info,[pe(new fe(4,[Ve]),V.CaseTypes[0])])}else if(r=Y,r.CaseTypes.length===1&&ok(r.CaseTypes[0])){const V=Y;return qn(V.Info,[pe(new fe(4,[Ve]),V.CaseTypes[0])])}else{const V=Y;if(V.CaseTypes.length===1&&!jp(V.CaseTypes[0])&&V.CaseTypes.length!==ec(Ve)){const te=V.CaseTypes.length|0,ft=ec(Ve)|0;xe(H("Expected case '%s' to have %d argument types but the JSON data only contained %d values"))(V.CaseName)(te)(ft)}return qn(V.Info,$e(te=>pe(te[1],te[0]),ba(V.CaseTypes,gl(Ve)),null))}else{const V=se(", ",$e(Jn=>Te(H(" '%s' "))(Jn.CaseName),$,null)),te=Ye(D);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(Q)(te)(V)}}case 1:{const Y=Jl(je=>je.CaseName===Ee,$);let V,te,ft;switch(Y!=null?(o=Y.CaseTypes,!df(me,o,Ke())&&o.length===1?(V=0,te=Y.Info,Y.CaseName,ft=Y.CaseTypes[0]):V=1):V=1,V){case 0:return qn(te,[(l=(je=>_t=>pe(je,_t))(he),l(ft))]);case 1:{const je=se(", ",$e(P0=>Te(H(" '%s' "))(P0.CaseName),$,null)),_t=Ye(D);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(Ee)(_t)(je)}}}case 2:if(rc("tag",xn)&&rc("fields",xn)&&QE(xn)===2){const Y=Dn("tag",xn),V=Dn("fields",xn);let te,ft,je;switch(Y!=null&&Y.tag===0&&V!=null&&V.tag===4?(te=0,ft=Y.fields[0],je=V.fields[0]):te=1,te){case 0:{const _t=$[~~ft];return qn(_t.Info,ff((Jn,Qo)=>pe(Qo,_t.CaseTypes[Jn]),gl(je),null))}case 1:{const _t=uo(new fe(5,[xn])),Jn=Qe(D);return xe(H("Could not deserialize JSON(%s) into type %s"))(_t)(Jn)}}}else if(lk(u)){const Y=np(V=>rc(V,xn),S(["__typename","$typename","$type"]));if(Y!=null){const V=GE(Y,xn);if(V.tag===1){const te=V.fields[0],ft=zS(je=>je.CaseName.toUpperCase()===te.toUpperCase(),$);if(ft!=null){const je=ft;return qn(je.Info,[pe(new fe(5,[xn]),je.CaseTypes[0])])}else{const je=Ye(D);return xe(H("Union of records of type '%s' does not have a matching case '%s'"))(je)(te)}}else{const te=Ye(D);return xe(H("Union of records of type '%s' cannot be deserialized with the value of the discriminator key is not a string to match against a specific union case"))(te)}}else{const V=Ye(D);return xe(H("Could not serialize the JSON object into the union of records of type %s because the JSON did not contain a known discriminator. Expected '__typename', '$typeName' or '$type'"))(V)}}else{const Y=JSON.stringify(B),V=JSON.stringify($);return xe(H(`Expected JSON: %s to match the type -%s`))(Y)(V)}}}case 45:return;case 46:return Gt(pe(Wl,Ql()));case 47:return i4(o0);case 48:return(z=>Be(z,!1,2))(~~i0);case 49:{const z=Q=>Dn(Q,s0),D=SS(Q=>Q,S([z("low"),z("high"),z("unsigned")]));let $,B,G;switch(U(D)?$=1:T(D).tag===0?U(k(D))?$=1:T(k(D)).tag===0?U(k(k(D)))?$=1:T(k(k(D))).tag===2&&U(k(k(k(D))))?($=0,B=T(k(D)).fields[0],G=T(D).fields[0]):$=1:$=1:$=1,$){case 0:return s4(cS([Tp(~~G),Tp(~~B)],Uint8Array),0);case 1:return xe(H("Unable to construct int64 from object literal { low: int, high: int, unsigned: bool }"))}}case 50:{const z=u0(),D=z[0],$=Jl(B=>B.CaseName===ik(va),D);if($==null){const B=se(", ",$e(he=>Te(H(" '%s' "))(he.CaseName),D,null)),G=Ye(z[1]);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(va)(G)(B)}else return qn($.Info,[])}case 51:{const z=a0(),D=z[0],$=Jl(B=>B.CaseName===wa,D);if($==null){const B=se(", ",$e(he=>Te(H(" '%s' "))(he.CaseName),D,null)),G=Ye(z[1]);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(wa)(G)(B)}else return qn($.Info,[])}case 52:{e=q3(c0),t=u;continue e}case 53:{const z=f0(),D=z[0];let $,B,G,Q,Ve;switch(U(dr)?($=2,Ve=dr):T(dr).tag===1?U(k(dr))?($=0,B=T(dr).fields[0]):($=1,G=T(dr).fields[0],Q=k(dr)):($=2,Ve=dr),$){case 0:{const Ee=Jl(he=>he.CaseName===B,D);if(Ee==null){const he=se(", ",$e(je=>Te(H(" '%s' "))(je.CaseName),D,null)),Y=Ye(z[1]);return xe(H("Case '%s' was not valid for type '%s', expected one of the cases [%s]"))(B)(Y)(he)}else return Ee.CaseName,Ee.CaseTypes,qn(Ee.Info,[])}case 1:{const Ee=Jl(he=>he.CaseName===G,D);if(Ee!=null){const he=Ee.CaseTypes,Y=Ee.CaseName,V=Ee.Info;return he.length!==ec(Q)&&xe(H("The number of union case parameters for '%s' is different"))(Y),qn(V,$e(te=>pe(te[1],te[0]),ba(he,gl(Q)),null))}else{const he=se(", ",$e(te=>te.CaseName,D,null));return xe(H("Case %s was not valid, expected one of [%s]"))(G)(he)}}case 2:{const Ee=JSON.stringify(Ve),he=JSON.stringify(D);return xe(H(`Expected JSON: +%s`))(Y)(V)}}}case 45:return;case 46:return Gt(pe(Wl,Ql()));case 47:return i4(o0);case 48:return(z=>Be(z,!1,2))(~~i0);case 49:{const z=Q=>Dn(Q,s0),D=SS(Q=>Q,S([z("low"),z("high"),z("unsigned")]));let $,B,G;switch(U(D)?$=1:T(D).tag===0?U(k(D))?$=1:T(k(D)).tag===0?U(k(k(D)))?$=1:T(k(k(D))).tag===2&&U(k(k(k(D))))?($=0,B=T(k(D)).fields[0],G=T(D).fields[0]):$=1:$=1:$=1,$){case 0:return s4(cS([Tp(~~G),Tp(~~B)],Uint8Array),0);case 1:return xe(H("Unable to construct int64 from object literal { low: int, high: int, unsigned: bool }"))}}case 50:{const z=u0(),D=z[0],$=Jl(B=>B.CaseName===ik(va),D);if($==null){const B=se(", ",$e(he=>Te(H(" '%s' "))(he.CaseName),D,null)),G=Ye(z[1]);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(va)(G)(B)}else return qn($.Info,[])}case 51:{const z=a0(),D=z[0],$=Jl(B=>B.CaseName===wa,D);if($==null){const B=se(", ",$e(he=>Te(H(" '%s' "))(he.CaseName),D,null)),G=Ye(z[1]);return xe(H("Case %s was not valid for type '%s', expected one of the cases [%s]"))(wa)(G)(B)}else return qn($.Info,[])}case 52:{e=q3(c0),t=u;continue e}case 53:{const z=f0(),D=z[0];let $,B,G,Q,Ve;switch(U(hr)?($=2,Ve=hr):T(hr).tag===1?U(k(hr))?($=0,B=T(hr).fields[0]):($=1,G=T(hr).fields[0],Q=k(hr)):($=2,Ve=hr),$){case 0:{const Ee=Jl(he=>he.CaseName===B,D);if(Ee==null){const he=se(", ",$e(je=>Te(H(" '%s' "))(je.CaseName),D,null)),Y=Ye(z[1]);return xe(H("Case '%s' was not valid for type '%s', expected one of the cases [%s]"))(B)(Y)(he)}else return Ee.CaseName,Ee.CaseTypes,qn(Ee.Info,[])}case 1:{const Ee=Jl(he=>he.CaseName===G,D);if(Ee!=null){const he=Ee.CaseTypes,Y=Ee.CaseName,V=Ee.Info;return he.length!==ec(Q)&&xe(H("The number of union case parameters for '%s' is different"))(Y),qn(V,$e(te=>pe(te[1],te[0]),ba(he,gl(Q)),null))}else{const he=se(", ",$e(te=>te.CaseName,D,null));return xe(H("Case %s was not valid, expected one of [%s]"))(G)(he)}}case 2:{const Ee=JSON.stringify(Ve),he=JSON.stringify(D);return xe(H(`Expected JSON: %s to match the type %s`))(Ee)(he)}}}case 54:{const z=d0();return gl(Et(D=>pe(D,z),h0))}case 55:{const z=p0();return Et(D=>pe(D,z),m0)}case 56:{const z=g0();return Et(D=>pe(D,z),Dy(y0))}case 57:{const z=v0();return I4(Et(D=>pe(D,z),w0),{Compare:mn})}case 58:{const z=_0();return Et(D=>pe(D,z),S0)}case 59:{const z=E0();return $e(D=>pe(D[1],D[0]),ba(z,gl(C0)),null)}case 60:{const z=k0(),D=z[1],$=z[0];return B2(D,(i=yl(_a),$e(B=>{let G,Q,Ve,Ee;const he=B.FieldType,Y=B.FieldName,V=np(te=>Y===te[0],i);if(V==null){if(he.tag===27)return;{let te;const ft=se(", ",(G=yl(_a),Q=(Ve=(Ee=Te(H("'%s'")),Ee),fs=>Ve(fs[0])),Et(Q,G)));te=Te(H("[ %s ]"))(ft);let _t;const Jn=se(", ",$e(fs=>{const O0=fs.FieldName;return fs.FieldType.tag===27?Te(H("optional('%s')"))(O0):Te(H("required('%s')"))(O0)},$,null));_t=Te(H("[ %s ]"))(Jn);const Sa=Ye(D);return xe(H("Could not find the required key '%s' in the JSON object literal with keys %s to match with record type '%s' that has fields %s"))(Y)(te)(Sa)(_t)}}else return V[0],pe(V[1],he)},$,null)))}case 61:{const z=x0(),D=z[0],$=oe(N(()=>En(B=>{let G;return F(pe(B,new J(32,[(G=[D,z[1]],()=>G)])))},N0)));switch(D.tag){case 6:case 2:case 7:return bn($,{Compare:nr});default:return bn($,{Compare:mn})}}case 62:{const z=I0(),D=z[0],$=oe(N(()=>En(Q=>F(pe(Q,new J(32,[()=>[D,z[1]]]))),T0))),B=D.tag===40?new ml([],{Equals:me,GetHashCode:Ja}):D.tag===39?new ml([],{Equals:me,GetHashCode:yt}):new ml([],{Equals:me,GetHashCode:yt}),G=Ce($);try{for(;G["System.Collections.IEnumerator.MoveNext"]();){const Q=G["System.Collections.Generic.IEnumerator`1.get_Current"]();wf(B,Q[0],Q[1])}}finally{ye(G)}return B}case 63:{const z=M0(),D=z[0],$=Et(Q=>[pe(new fe(1,[Q[0]]),D),pe(Q[1],z[1])],yl(A0)),B=D.tag===40?new ml([],{Equals:me,GetHashCode:Ja}):D.tag===39?new ml([],{Equals:me,GetHashCode:yt}):new ml([],{Equals:me,GetHashCode:yt}),G=Ce($);try{for(;G["System.Collections.IEnumerator.MoveNext"]();){const Q=G["System.Collections.Generic.IEnumerator`1.get_Current"]();wf(B,Q[0],Q[1])}}finally{ye(G)}return B}case 64:{const z=D0(),D=z.tag===40?new ic([],{Equals:me,GetHashCode:Ja}):z.tag===39?new ic([],{Equals:me,GetHashCode:yt}):new ic([],{Equals:me,GetHashCode:yt}),$=Ce(F0);try{for(;$["System.Collections.IEnumerator.MoveNext"]();)EE(pe($["System.Collections.Generic.IEnumerator`1.get_Current"](),z),D)}finally{ye($)}return D}case 65:{const z=R0(),D=z[1],$=z[0],B=Dn("comparer",cs),G=Dn("tree",cs);let Q,Ve,Ee;switch(B!=null&&B.tag===5&&G!=null?G.tag===4?(G.fields[0],vp(B.fields[0])?(Q=0,B.fields[0],Ve=G.fields[0]):Q=2):G.tag===5?(G.fields[0],vp(B.fields[0])?(Q=1,B.fields[0],Ee=G.fields[0]):Q=2):Q=2:Q=2,Q){case 0:{const he=Ff(new fe(4,[Ve]));if(he==null){const Y=uo(new fe(4,[Ve]));return xe(H(`Could not generate map from JSON - %s`))(Y)}else{const Y=Et(V=>{const te=V[0];return[Si(te)?pe(oc(te),$):pe(new fe(1,[te]),$),pe(V[1],D)]},Df(he));switch($.tag){case 6:case 2:case 7:return bn(Y,{Compare:nr});default:return bn(Y,{Compare:mn})}}}case 1:{e=new fe(5,[bn(Rf(Ee),{Compare:nr})]),t=u;continue e}case 2:{const he=Et(Y=>{const V=Y[0];return[Si(V)?pe(oc(V),$):ci($)||Zl($)?pe(new fe(1,[V]),$):pe(oc(V),$),pe(Y[1],D)]},yl(cs));switch($.tag){case 6:case 2:case 7:return bn(he,{Compare:nr});default:return bn(he,{Compare:mn})}}}}case 66:{const z=fl(),D=uo(s),$=Qe(z);return xe(H("Cannot convert %s to %s"))(D)($)}case 67:{const z=uo(s),D=JSON.stringify(u);return xe(H("Cannot convert %s to %s"))(z)(D)}}break}}function pa(e,t){return pe(e,t)}const Ds=Z4;function qe(e,t){let n;e:for(;;){const r=e,l=t;switch(l.tag){case 2:{const o=r;return o==null?"null":Ds(o)}case 0:return"null";case 9:case 8:return Number.isNaN(r)?Ds("NaN"):r.toString();case 1:return Ds(r);case 13:case 14:case 3:case 4:case 11:case 38:case 20:case 6:return of(r);case 5:case 12:return cn(tp(r));case 19:return cn(ZC(r));case 10:return cn(af(r));case 7:return r?"true":"false";case 21:return cn((n=r,n));case 22:return cn(Ht(r));case 15:return cn(Ao(r,"O"));case 16:return cn(Ao(r,"O"));case 17:return of(e4(r));case 18:return cn(tp(t4(r)));case 39:return"{"+se(", ",$e(o=>{const i=z2(r,o.PropertyInfo),s=qe(i,o.FieldType);return Te(H('"%s": %s'))(o.FieldName)(s)},l.fields[0]()[0],null))+"}";case 35:{const o=l.fields[0]();return"["+se(", ",ae(i=>qe(i,o),r))+"]"}case 36:{const o=l.fields[0]();return"["+se(", ",ae(i=>qe(i,o),r))+"]"}case 29:{const o=l.fields[0]();return"["+se(", ",ae(i=>qe(i,o),r))+"]"}case 30:{const o=l.fields[0]();return"["+se(", ",$e(i=>qe(i,o),r,null))+"]"}case 28:{const o=l.fields[0]();return"["+se(", ",Et(i=>qe(i,o),r))+"]"}case 31:{const o=l.fields[0]();return"["+se(", ",$e(i=>qe(i,o),$l(r),null))+"]"}case 27:{const o=r;if(o!=null){e=Se(o),t=l.fields[0]();continue e}else return"null"}case 40:{const o=l.fields[0](),i=L2(r,o[1]),s=i[0],u=i[1],a=hS(c=>c.CaseName===Ye(s),o[0]).CaseTypes;if(Zl(l)||a.length===0)return cn(Ye(s));if(a.length===1)return"{"+cn(Ye(s))+": "+qe(u[0],a[0])+"}";{const c=se(", ",ff((d,f)=>qe(u[d],f),a,null));return"{"+cn(Ye(s))+": ["+c+"] }"}}case 33:{const o=l.fields[0](),i=o[0],s=se(", ",$e(u=>{const a=qe(u[0],i),c=qe(u[1],o[1]);return ci(i)||Zl(i)?Si(a)?a+": "+c:Ds(a)+": "+c:"["+a+", "+c+"]"},WE(r),null));return ci(i)||Zl(i)?"{"+s+"}":"["+s+"]"}case 34:{const o=l.fields[0](),i=o[0],s=se(", ",ae(u=>{const a=qe(u[0],i),c=qe(u[1],o[1]);return ci(i)||Zl(i)?Si(a)?a+": "+c:cn(a)+": "+c:"["+a+", "+c+"]"},r));return ci(i)||Zl(i)?"{"+s+"}":"["+s+"]"}case 32:{const o=l.fields[0]();return o.length===1?"["+qe(r,o[0])+"]":"["+se(", ",ff((i,s)=>qe(s,o[i]),r,null))+"]"}case 23:return xp(r);case 24:return xp(r);default:return"null"}break}}function Fy(e){const t=qe(e,ge(bi("System.Collections.Generic.Dictionary`2",[Ol,Ol])));localStorage.setItem("DiceStorage",t)}function sk(){let e;try{return e=ss(localStorage.getItem("DiceStorage")),e!=null?pa(e,ge(bi("System.Collections.Generic.Dictionary`2",[Ol,Ol]))):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("DiceStorage"),sa(H("Could not find DiceStorage"));return}}function Ry(e){const t=qe(e,ge(Pl(Hg())));localStorage.setItem("History",t)}function uk(){let e;try{return e=ss(localStorage.getItem("History")),e!=null?pa(e,ge(Pl(Hg()))):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("History"),sa(H("Could not find History"));return}}function Py(e){const t=qe(e,ge(bi("Microsoft.FSharp.Collections.FSharpSet`1",[Ol])));localStorage.setItem("QuickAccess",t)}function ak(){let e;try{return e=ss(localStorage.getItem("QuickAccess")),e!=null?pa(e,ge(bi("Microsoft.FSharp.Collections.FSharpSet`1",[Ol]))):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("QuickAccess"),sa(H("Could not find QuickAccess"));return}}class Kd extends tt{constructor(t,n){super(),this.Name=t,this.DiceString=n}}function Oy(){return new Kd("","")}class $n extends tt{constructor(t,n,r,l,o){super(),this.Input=t,this.Results=n,this.DiceStorage=r,this.History=l,this.QuickAccess=o}}function ck(){let e,t,n;const r=sk();return n=Ln(r,new Map([])),new $n("",void 0,n,Ln(uk(),[]),N4(o=>n.has(o),(e=ak(),t=x4({Compare:nr}),Ln(e,t))))}function Gp(e){return e.Input!==""?Fg(e.Input,0,1):""}class Ly extends tt{constructor(t){super(),this.IsActive=t}}function fk(){return new Ly(!1)}const dk=""+new URL("dice-d4-1964b8dc.svg",import.meta.url).href,hk=""+new URL("dice-d6-a33df87d.svg",import.meta.url).href,pk=""+new URL("dice-d8-782600dd.svg",import.meta.url).href,mk=""+new URL("dice-d10-b415942f.svg",import.meta.url).href,gk=""+new URL("dice-d12-2bc389b8.svg",import.meta.url).href,yk=""+new URL("dice-d20-e0ea49df.svg",import.meta.url).href,vk=""+new URL("dice-alt-0d13a200.svg",import.meta.url).href,wk=dk,_k=hk,Sk=pk,Ck=mk,Ek=gk,kk=yk,xk=vk,Wp=["3d6 + 1d11","2 (1d20+14) (1d20+9)","2d20k1 + 9","1d12 + 12 + 2d6"];function $y(){const e=jg();return Wp[e.Next1(Wp.length)]}function Nk(e,t){let n;const r=t===4?wk:t===6?_k:t===8?Sk:t===10?Ck:t===12?Ek:t===20?kk:xk,l=e>t?["className","has-text-link"]:e===t?["className","has-text-success-dark"]:e===1?["className","has-text-danger"]:["className","is-black"];return h.createElement("span",O(K("icon",S([["className","is-medium"],["style",{position:"relative"}],(n=[h.createElement("img",{style:{opacity:.4},src:r}),h.createElement("span",O(S([l,["style",{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:2,fontSize:1.5+"rem",fontWeight:"bold"}],["children",e]])))],["children",v.Children.toArray(Array.from(n))])]))))}function Ik(e){const t=e.Dice.DiceSize|0,n=h.createElement("span",{className:"mr-2 dice-result-subsum",children:`${rC(e.Dice.Command)}${e.DiceRollSum}`}),r=t===0?X(n):oe(N(()=>ee(F(n),N(()=>ee(F(h.createElement("span",{children:["["]})),N(()=>ee(En(l=>{const o=e.DiceRolled[l]|0,i=l===e.DiceRolled.length-1;return ee(F(Nk(o,t)),N(()=>i?Ue():F(h.createElement("span",{children:[" + "]}))))},da(0,1,e.DiceRolled.length-1)),N(()=>F(h.createElement("span",{children:["]"]}))))))))));return h.createElement("span",{children:v.Children.toArray(Array.from(r))})}function zy(e){let t,n,r;const l=VS(o=>me(o.Dice.Command,new ji(1,[]))?o.DiceRollSum*-1|0:o.DiceRollSum|0,e.Results,{GetZero:()=>0,Add:(o,i)=>o+i})|0;return h.createElement("div",O(S([["className","dice-result-container is-flex is-align-items-center"],(t=[h.createElement("span",O(S([["className","dice-result-subsum-container"],["style",{fontSize:"10px"}],(n=oe(N(()=>ae(Ik,e.Results))),["children",v.Children.toArray(Array.from(n))])]))),h.createElement("span",O(S([["className","dice-roll-sum"],["style",{marginLeft:"auto",minWidth:"max-content"}],(r=[h.createElement("span",{children:[" = "]}),h.createElement("span",{style:{fontWeight:"bold"},children:l})],["children",v.Children.toArray(Array.from(r))])])))],["children",v.Children.toArray(Array.from(t))])])))}const Tk=e=>{h.useEffect(()=>{const t=e();return()=>{t.Dispose()}})},Ak=(e,t)=>{h.useEffect(()=>{const n=e();return()=>{n.Dispose()}},t)},Mk=e=>{h.useLayoutEffect(()=>{const t=e();return()=>{t.Dispose()}})},Dk=Tk,By=Ak,Fk=Mk;function Rk(e,t,n,r){const l=v.memo(e,F_(2,Ln(R_(2,n),Ke())));return jo(o=>{e.displayName=o},xg(t)),o=>{const i=Pk(r,o);return v.createElement(l,i)}}function Pk(e,t){if(e==null)return t;{const n=e;return t.key=n(t),t}}function ma(e){return{Dispose(){e()}}}function ga(e){return v.useState(e)}function Ok(e,t){By(e,t)}function Lk(e){Fk(t=>(e(),ma(()=>{})))}function $k(e){const t=v.useRef(!1);Uk(()=>{t.current||(t.current=!0,e())},[])}function zk(e){const t=v.useRef(void 0),n=v.useRef(!1),r=v.useRef(!1);n.current&&(r.current=!0),Ok(()=>{let l;return n.current?l=void 0:(n.current=!0,t.current=Gt(e()),l=r.current?t.current:void 0),{Dispose(){jo(o=>{ye(o)},xg(l))}}},[])}function Bk(e){Dk(t=>(e(),ma(()=>{})))}function Uk(e,t){By(n=>(e(),ma(()=>{})),t)}function Vk(e,t){const n=Ln(t,[]);return v.useCallback(e,n)}function Hk(e){return v.useRef(e)}function jk(e,t,n){return Rk(e,void 0,n,t)}function Gk(e){const t=Hk(e),n=Vk(r=>t.current(r),[]);return Lk(()=>{t.current=e}),n}function ya(e){return v.useState(e)}function Wk(e,t,n){const r=e,l=r[2],o=r[0];let i;switch(r[1]?l?o.toLocaleLowerCase()===n.key.toLocaleLowerCase()&&n.ctrlKey&&n.shiftKey?i=0:i=4:o.toLocaleLowerCase()===n.key.toLocaleLowerCase()&&n.ctrlKey?i=1:i=4:l?o.toLocaleLowerCase()===n.key.toLocaleLowerCase()&&n.shiftKey?i=2:i=4:o.toLocaleLowerCase()===n.key.toLocaleLowerCase()?i=3:i=4,i){case 0:{t(n);break}case 1:{t(n);break}case 2:{t(n);break}case 3:{t(n);break}}}function Qk(e){return[e,!1,!1]}const Kk=Qk("Escape"),Uy="dice-storage-new-name",Vy="dice-storage-new-diceString",Jk=(()=>{let e,t;const n=X(h.createElement("td",O(S([["colSpan",2],["style",{textAlign:"center"}],(e=[h.createElement("span",O(K("icon",S([["className","is-large"],(t=[h.createElement("i",{className:"fa-solid fa-broom fa-shake fa-2xl"})],["children",v.Children.toArray(Array.from(t))])])))),h.createElement("span",{children:["..empty"]})],["children",v.Children.toArray(Array.from(e))])]))));return h.createElement("tr",{children:v.Children.toArray(Array.from(n))})})();function Zk(e,t,n){let r,l,o;return h.createElement("div",O(K("field",S([["className","has-addons"],(r=[(l=X(h.createElement("button",O(K("button",S([["tabIndex",-1],["className","is-static"],["children","/"]]))))),h.createElement("div",{className:"control",children:v.Children.toArray(Array.from(l))})),h.createElement("div",O(K("control",S([["className","is-flex-grow-1"],(o=[h.createElement("input",O(be(["type","text"],K("input",oe(N(()=>ee(F(["id",Uy]),N(()=>ee(e.DiceStorage.has(t.Name)?F(["className","is-danger"]):Ue(),N(()=>ee(F(["autoFocus",!0]),N(()=>ee(F(["tabIndex",0]),N(()=>ee(F(["placeholder","..name"]),N(()=>F(["onChange",i=>{n(new Kd(i.target.value,t.DiceString))}])))))))))))))))))],["children",v.Children.toArray(Array.from(o))])]))))],["children",v.Children.toArray(Array.from(r))])]))))}function qk(e,t){let n,r,l;return h.createElement("div",O(K("field",X((n=[h.createElement("div",O(K("control",S([["className","has-icons-left"],(r=[h.createElement("input",O(be(["type","text"],K("input",S([["id",Vy],["tabIndex",0],["placeholder",$y()],["onChange",o=>{t(new Kd(e.Name,o.target.value))}]]))))),h.createElement("span",O(K("icon",S([["className","is-left"],["className","is-small"],(l=[h.createElement("i",{className:"fa-solid fa-dice-d20"})],["children",v.Children.toArray(Array.from(l))])]))))],["children",v.Children.toArray(Array.from(r))])]))))],["children",v.Children.toArray(Array.from(n))])))))}function Yk(e,t,n,r,l){const o=new $n(t.Input,t.Results,t.DiceStorage,t.History,S4(t.QuickAccess,e));n(o),Py(o.QuickAccess)}function Hy(e,t,n,r,l){const o=new $n(t.Input,t.Results,t.DiceStorage,t.History,C4(t.QuickAccess,e));n(o),Py(o.QuickAccess)}function Xk(e,t,n,r){wf(e.DiceStorage,n.Name,n.DiceString),t(new $n(e.Input,e.Results,e.DiceStorage,e.History,e.QuickAccess)),r(Oy());const l=document.getElementById(Uy),o=document.getElementById(Vy);l.value=Ke(),o.value=Ke(),Fy(e.DiceStorage)}function bk(e,t,n,r,l){t.DiceStorage.delete(e),n(new $n(t.Input,t.Results,t.DiceStorage,t.History,t.QuickAccess)),Fy(t.DiceStorage),Hy(e,t,n)}function ex(e,t,n,r,l){const o=X(h.createElement("input",O(be(["type","checkbox"],K("checkbox",S([["defaultChecked",Ay(t.QuickAccess,e)],["onChange",i=>{i.target.checked?Yk(e,t,n):Hy(e,t,n)}]]))))));return h.createElement("label",{className:"label",children:v.Children.toArray(Array.from(o))})}function tx(e,t,n,r){let l;const o=X((l=oe(N(()=>{let i,s;return e.DiceStorage.size>0?ee(F((i=X((s=S([h.createElement("th",{children:["Shortcut"]}),h.createElement("th",{children:["Dice"]}),h.createElement("th",{children:["Quick Access"]}),h.createElement("th",{})]),h.createElement("tr",{children:v.Children.toArray(Array.from(s))}))),h.createElement("thead",{children:v.Children.toArray(Array.from(i))}))),N(()=>{let u;return F((u=oe(N(()=>En(a=>{let c,d,f,y,w,C;const R=a,m=R[0];return F(h.createElement("tr",O(S([["key",(c=Te(H("Stored-Dice-%s")),c(m))],(d=[h.createElement("td",{key:(f=Te(H("Stored-Dice-Name-%s")),f(m)),children:h.createElement("code",{children:["/"+m]})}),h.createElement("td",{key:(y=Te(H("Stored-Dice-diceString-%s")),y(m)),children:R[1]}),h.createElement("td",{key:(w=Te(H("Stored-Dice-quick-access-%s")),w(m)),children:ex(m,e,t)}),h.createElement("td",{key:(C=Te(H("Stored-Dice-remove-%s")),C(m)),children:h.createElement("button",O(K("delete",S([["style",{float:"right"}],["onClick",p=>{bk(m,e,t)}]]))))})],["children",v.Children.toArray(Array.from(d))])]))))},e.DiceStorage))),h.createElement("tbody",{children:v.Children.toArray(Array.from(u))})))})):F(h.createElement("tbody",{children:v.Children.toArray([Jk])}))})),h.createElement("table",{className:"table",children:v.Children.toArray(Array.from(l))})));return h.createElement("div",{className:"table-container",children:v.Children.toArray(Array.from(o))})}function nx(e,t,n,r){let l,o,i,s;const u=S([(l=X(Zk(e,n,r)),h.createElement("div",{className:"column",children:v.Children.toArray(Array.from(l))})),(o=X(qk(n,r)),h.createElement("div",{className:"column",children:v.Children.toArray(Array.from(o))})),h.createElement("div",O(K("column",S([["className","is-narrow"],(i=[h.createElement("div",O(K("control",S([["className","is-flex is-justify-content-end"],(s=[h.createElement("button",O(K("button",oe(N(()=>{const a=!e.DiceStorage.has(n.Name),c=n.Name!==""&&n.DiceString!==""&&a;return ee(F(["children",n.Name==="fireball"&&a?"🔥":"+"]),N(()=>ee(F(["role",se(" ",["button"])]),N(()=>ee(c?Ue():F(["className","is-static"]),N(()=>ee(F(["style",{borderRadius:"4px"}]),N(()=>ee(F(["tabIndex",0]),N(()=>F(["onClick",d=>{c&&Xk(e,t,n,r)}])))))))))))})))))],["children",v.Children.toArray(Array.from(s))])]))))],["children",v.Children.toArray(Array.from(i))])]))))]);return h.createElement("div",{className:"columns",children:v.Children.toArray(Array.from(u))})}function rx(e){let t,n,r,l,o;const i=e.rmv,s=e.setState,u=e.state,a=ga(Oy),c=a[1],d=a[0],f=y=>{i(),document.getElementById("dice-roller-input").focus()};return h.createElement("div",O(K("modal",S([["onKeyDown",y=>{Wk(Kk,f,y)}],["className","is-active"],(t=[h.createElement("div",O(K("modal-background",X(["onClick",f])))),(n=X((r=X((l=S([h.createElement("h1",{children:["Dice Storage"]}),(o=S([h.createElement("span",{children:["Type "]}),h.createElement("code",{children:["/placeholder"]}),h.createElement("span",{children:["in main field to quick access any stored dice!"]})]),h.createElement("p",{className:"help",children:v.Children.toArray(Array.from(o))})),tx(u,s),nx(u,s,d,c)]),h.createElement("div",{className:"content",children:v.Children.toArray(Array.from(l))}))),h.createElement("div",{className:"box",children:v.Children.toArray(Array.from(r))}))),h.createElement("div",{className:"modal-content",children:v.Children.toArray(Array.from(n))})),h.createElement("button",O(K("modal-close",S([["className","is-medium"],["className","has-background-black"],["aria-label","close"],["onClick",f]]))))],["children",v.Children.toArray(Array.from(t))])]))))}function lx(e,t,n){let r;const l="/"+e;return h.createElement("span",O(K("tag",S([["title",t],["style",{cursor:"pointer"}],["onClick",o=>{n(l)}],(r=[h.createElement("code",{style:{userSelect:"none"},children:l})],["children",v.Children.toArray(Array.from(r))])]))))}function ox(e,t){const n=oe(N(()=>ae(r=>lx(r,xr(e.DiceStorage,r),t),e.QuickAccess)));return h.createElement("div",{className:"tags",children:v.Children.toArray(Array.from(n))})}function ix(e){const t=oe(N(()=>ae(n=>{let r,l;return h.createElement("li",O(S([["key",(r=Te(H("set-index-%i")),r(n.Index))],(l=[zy(n)],["children",v.Children.toArray(Array.from(l))])])))},e.Results)));return h.createElement("ol",{children:v.Children.toArray(Array.from(t))})}const sx=(()=>{const e=X(h.createElement("div",O(K("notification",S([["className","mb-1"],["children","History is empty"]])))));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(e))})})();function ux(e,t,n){let r,l,o;return h.createElement("div",O(S([["className","mb-1"],(r=[h.createElement("code",{children:[e.Input]}),h.createElement("button",O(K("button",S([["onClick",i=>{n(new $n(e.Input,t.Results,t.DiceStorage,t.History,t.QuickAccess))}],["className","is-small"],["className","is-ghost"],["style",{float:"right"}],(l=[(o=X(h.createElement("i",{className:"fa-regular fa-paste"})),h.createElement("span",{className:"icon",children:v.Children.toArray(Array.from(o))}))],["children",v.Children.toArray(Array.from(l))])]))))],["children",v.Children.toArray(Array.from(r))])])))}function ax(e){let t;return h.createElement("div",O(S([["className","mb-1"],(t=[h.createElement("p",O(K("help",X(["children",K2(e.Time)+" "+J2(e.Time)]))))],["children",v.Children.toArray(Array.from(t))])])))}function cx(e,t){return h.createElement("button",O(K("button",S([["onClick",n=>{const r=new $n(e.Input,e.Results,e.DiceStorage,[],e.QuickAccess);t(r),Ry(r.History)}],["className","is-danger"],["className","is-fullwidth"],["children","Clear History"]]))))}function fx(e,t){let n;return h.createElement("div",O(K("field",S([["id","history-container"],(n=oe(N(()=>e.History.length===0?F(sx):ee(ae(r=>{const l=oe(N(()=>ee(F(ax(r)),N(()=>ee(F(ux(r,e,t)),N(()=>ae(ix,r.DiceSets)))))));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(l))})},e.History),N(()=>F(cx(e,t)))))),["children",v.Children.toArray(Array.from(n))])]))))}function dx(e,t){let n;return h.createElement("button",O(K("button",S([["id","dice-roller-history-toggle-button"],["role",se(" ",["button"])],["title","Toggle History"],["onClick",r=>{t(new Ly(!e.IsActive))}],(n=[h.createElement("span",O(K("icon",S([["className","is-small"],["children",h.createElement("i",{className:"fa-regular fa-rectangle-list"})]]))))],["children",v.Children.toArray(Array.from(n))])]))))}function hx(e){let t,n;const r=e.setDicacleState,l=e.diceState,o=ga(fk),i=o[0];return h.createElement("div",O(S([["id","dice-roller-history"],["style",O(oe(N(()=>i.IsActive?Ue():F(["minWidth","unset"]))))],(t=[dx(i,o[1]),h.createElement("div",O(S([["id","dice-roller-history-inner"],["style",O(oe(N(()=>i.IsActive?Ue():F(["display","none"]))))],(n=[fx(l,r)],["children",v.Children.toArray(Array.from(n))])])))],["children",v.Children.toArray(Array.from(t))])])))}function jy(e,t,n){const r=CE(e.indexOf("/")===0?xr(t.DiceStorage,e.slice(1,e.length)):e);console.log(Gt("[DICE]"),r);const l=200;n(new $n(e,r,t.DiceStorage,(t.History.push(r),t.History.length>=l&&t.History.splice(l,t.History.length-l),Ry(t.History),t.History),t.QuickAccess))}function Gy(e,t){jy(e.Input,e,t)}function Qp(e,t,n){let r;const l=Ln(e,-1)|0;if(r=n?D_(nr,l+1,t.length-1):l-1,!(r<0))return r}function px(e){let t;const n=e.setState,r=e.state,l=$y(),o=r.Input.indexOf("/")===0,i=o&&r.DiceStorage.has(Gp(r)),s=Gp(r),u=$l(N(()=>En(f=>f[0].indexOf(s)===0&&f[0]!==s?F(f):Ue(),r.DiceStorage))),a=ya(void 0),c=a[0],d=a[1];return h.createElement("div",O(S([["style",{display:"flex",position:"relative",zIndex:1}],(t=oe(N(()=>ee(F(h.createElement("input",O(be(["type","text"],K("input",oe(N(()=>ee(F(["className","is-large"]),N(()=>ee(F(["placeholder",l]),N(()=>ee(F(["autoFocus",!0]),N(()=>ee(i?F(["className","has-text-danger-dark"]):Ue(),N(()=>{let f;return ee(F((f=r.Input,["ref",y=>{y!=null&&!me(y.value,f)&&(y.value=f)}])),N(()=>ee(F(["onChange",y=>{const w=new $n(y.target.value,r.Results,r.DiceStorage,r.History,r.QuickAccess);d(void 0),n(w)}]),N(()=>ee(F(["id","dice-roller-input"]),N(()=>F(["onKeyDown",y=>{if(o&&u.length>0){const w=y.which;w===40?d(Qp(c,u,!0)):w===38?d(Qp(c,u,!1)):w===13&&c!=null&&(n(new $n("/"+u[Se(c)][0],r.Results,r.DiceStorage,r.History,r.QuickAccess)),d(void 0))}else y.which===13&&(Gy(r,n),d(void 0))}])))))))}))))))))))))))),N(()=>{let f;return o?F(h.createElement("div",{id:"command-container",style:{backgroundColor:"#F5F5F5",zIndex:3,position:"absolute",top:"100%",left:0,width:"100%",maxHeight:"100px"},children:(f=oe(N(()=>En(y=>{let w,C;const R=u[y];return F(h.createElement("li",O(S([["style",O(oe(N(()=>c!=null&&Se(c)===y?F(["filter","brightness(85%)"]):Ue())))],(w=[h.createElement("div",O(S([["onClick",m=>{n(new $n("/"+R[0],r.Results,r.DiceStorage,r.History,r.QuickAccess))}],(C=[h.createElement("code",{children:["/"+R[0]]}),h.createElement("span",{children:[R[1]]})],["children",v.Children.toArray(Array.from(C))])])))],["children",v.Children.toArray(Array.from(w))])]))))},da(0,1,u.length-1)))),h.createElement("ul",{children:v.Children.toArray(Array.from(f))}))})):Ue()})))),["children",v.Children.toArray(Array.from(t))])])))}function mx(e){const t=oe(N(()=>ae(n=>{let r,l;return h.createElement("li",O(S([["key",(r=Te(H("set-index-%i")),r(n.Index))],(l=[zy(n)],["children",v.Children.toArray(Array.from(l))])])))},e.Results)));return h.createElement("ol",{children:v.Children.toArray(Array.from(t))})}function gx(e){const t=oe(N(()=>e.Results==null?F(Ke()):ae(n=>{const r=X(mx(n));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(r))})},Se(e.Results).DiceSets)));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(t))})}function yx(e){const t=e.setState,n=e.state,r=ya(!1),l=r[1],o=r[0],i=oe(N(()=>ee(o?F(h.createElement(rx,{state:n,setState:t,rmv:()=>{l(!1)}})):Ue(),N(()=>F(h.createElement("button",O(K("button",S([["style",{zIndex:1}],["className","is-large"],["id","dice-roller-dice-storage"],["title","Manage stored dice"],["role",se(" ",["button"])],["children","+"],["onClick",s=>{l(!o)}]])))))))));return h.createElement("div",{children:v.Children.toArray(Array.from(i))})}function vx(e,t){return h.createElement("button",O(K("button",S([["id","dice-roller-button"],["className","is-large"],["role",se(" ",["button"])],["onClick",n=>{Gy(e,t)}],["children",h.createElement("span",O(K("icon",vt())))]]))))}function wx(){let e,t,n,r,l,o,i,s;const u=ga(ck),a=u[0],c=u[1];return h.createElement("div",O(S([["className","is-flex is-flex-grow-1"],["style",{maxHeight:"100%",overflow:"hidden"}],(e=[(t=X(h.createElement("div",O(K("container",S([["className","is-max-desktop"],(n=[(r=X(ox(a,d=>{jy(d,a,c)})),h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(r))})),h.createElement("div",O(K("field",S([["id","dice-roller-container"],["onAnimationEnd",d=>{const f=document.getElementById("dice-roller-container");f.style.animation="initial"}],["className","has-addons"],(l=[(o=X(h.createElement(yx,{state:a,setState:c})),h.createElement("div",{className:"control",children:v.Children.toArray(Array.from(o))})),h.createElement("div",O(K("control",S([["className","is-expanded"],(i=[h.createElement(px,{state:a,setState:c})],["children",v.Children.toArray(Array.from(i))])])))),(s=oe(N(()=>{let d;return ee(a.Input.toLocaleLowerCase()==="/fireball"?F(h.createElement("div",O(S([["style",{position:"fixed"}],(d=[h.createElement("div",{className:"glow"}),h.createElement("div",{className:"flame"})],["children",v.Children.toArray(Array.from(d))])])))):Ue(),N(()=>F(vx(a,c))))})),h.createElement("div",{className:"control",children:v.Children.toArray(Array.from(s))}))],["children",v.Children.toArray(Array.from(l))])])))),gx(a)],["children",v.Children.toArray(Array.from(n))])]))))),h.createElement("div",{className:"hero-body",children:v.Children.toArray(Array.from(t))})),h.createElement(hx,{diceState:a,setDicacleState:c})],["children",v.Children.toArray(Array.from(e))])])))}class Zr extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Dicacle","Reference","NotFound"]}}function _x(e){switch(e.tag){case 1:return"#/reference";case 2:return"#/404";default:return"#/"}}function Kp(e){let t;switch(U(e)?t=0:T(e)==="/"?U(k(e))?t=0:t=2:T(e)==="reference"&&U(k(e))?t=1:t=2,t){case 0:return new Zr(0,[]);case 1:return new Zr(1,[]);case 2:return new Zr(2,[])}}function Sx(e){let t;switch(e===""||e==="#/"?t=0:e==="#/reference"?t=1:t=2,t){case 0:return new Zr(0,[]);case 1:return new Zr(1,[]);case 2:return new Zr(2,[])}}function Cx(e){switch(e.tag){case 1:return"Reference";case 2:return"404";default:return"Dicacle"}}function Jp(e,t){if(t.indexOf(e)===0)return t}function Zp(e,t){if(Fu(t,e))return t}function Wy(e,t){return wS(n=>{if(b2(n))return vt();{const r=iS(n,"#");if(r==="?")return vt();if(Jp("?",r)!=null)return X(r);{const l=r.split("?");if(!df((o,i)=>o===i,l,Ke())&&l.length===1){const o=l[0];return X(decodeURIComponent(o))}else if(!df((o,i)=>o===i,l,Ke())&&l.length===2)if(l[1]===""){const o=l[0];return X(decodeURIComponent(o))}else{const o=l[0],i=l[1];return S([decodeURIComponent(o),"?"+i])}else return vt()}}},S(lS(Jp("#",e)!=null?Rg(e,1,e.length-1):t===1&&(Zp("#",e)!=null||Zp("#/",e)!=null)?"":e,["/"],void 0,0)))}function Ex(e,t,n){return t(Wy(e===2?window.location.pathname+window.location.search:window.location.hash,e))}const kx=jk(e=>{const t=Gk(r=>{const l=Ln(e.onUrlChanged,o=>{});Ex(Ln(e.hashMode,1),l)});zk(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),ma(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),$k(()=>{const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)});const n=e.application;return n??Ke()});class qp extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}class Cl extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Light","Dark","Auto"]}}function Jd(){return ts("Component.DarkModeButton.ColorMode",[],Cl,()=>[[],[],[["Item",Jd()]]])}function xx(e){let t;const n=e.tag===2?e.fields[0].tag===0?"fa-regular fa-sun":e.fields[0].tag===1?"fa-solid fa-moon":"":e.tag===1?"fa-solid fa-moon":"fa-regular fa-sun";return h.createElement("i",{className:(t=Te(H("%s fa-xl")),t(n))})}function Qy(e){let t;switch(e.tag===2?e.fields[0].tag===0?t=0:e.fields[0].tag===1?t=1:t=2:e.tag===1?t=1:t=0,t){case 0:return new qp(0,[void 0]);case 1:return new qp(1,[void 0]);case 2:throw new Error("This can never happen")}}function Nx(e){const t=qe(e,ge(Jd()));localStorage.setItem("ColorMode",t)}function Ix(){let e;try{return e=ss(localStorage.getItem("ColorMode")),e!=null?pa(e,ge(Jd())):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("ColorMode"),sa(H("Could not find %s"))("ColorMode");return}}function Tx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?new Cl(2,[new Cl(1,[])]):new Cl(2,[new Cl(0,[])])}function Ax(){const e=document.getElementById("style-dark");document.getElementById("style-light"),e.disabled="disabled"}function Mx(){const e=document.getElementById("style-dark");e.removeAttribute("disabled"),e.removeAttribute("media")}function Ky(e){Qy(e).tag===1?Mx():Ax()}class Jy extends tt{constructor(t){super(),this.ColorMode=t}}function Dx(){const e=Tx(),t=Ln(Ix(),e);return Ky(t),new Jy(t)}function Fx(){let e;const t=ga(Dx),n=t[0];return Bk(()=>{Ky(n.ColorMode)}),h.createElement("a",O(K("navbar-item",S([["onClick",r=>{r.preventDefault();const l=Qy(n.ColorMode).tag===1?new Cl(0,[]):new Cl(1,[]);Nx(l),t[1](new Jy(l))}],(e=[h.createElement("span",O(K("icon",S([["className","is-medium"],["children",xx(n.ColorMode)]]))))],["children",v.Children.toArray(Array.from(e))])]))))}const Rx=""+new URL("logo-9903a27e.svg",import.meta.url).href;function Yp(e,t){return h.createElement("a",O(K("navbar-item",oe(N(()=>ee(me(e,t)?F(["className","is-active"]):Ue(),N(()=>ee(F(["href",_x(e)]),N(()=>F(["children",Cx(e)]))))))))))}function Px(){const e=Sx(window.location.hash),t=S([Yp(new Zr(0,[]),e),Yp(new Zr(1,[]),e)]);return h.createElement("div",{className:"navbar-start",children:v.Children.toArray(Array.from(t))})}const Ox=(()=>{let e;const t=S([h.createElement(Fx,null),h.createElement("a",O(K("navbar-item",S([["href","https://github.com/Freymaurer/Dicacle"],["target","_blank"],(e=[h.createElement("span",{children:["GitHub"]}),h.createElement("span",O(K("icon",S([["className","is-medium"],["children",h.createElement("i",{className:"fa-brands fa-github fa-xl"})]]))))],["children",v.Children.toArray(Array.from(e))])]))))]);return h.createElement("div",{className:"navbar-end",children:v.Children.toArray(Array.from(t))})})();function Lx(e){return h.createElement("div",O(K("navbar-menu",oe(N(()=>ee(e?F(["className","is-active"]):Ue(),N(()=>{let t;return F((t=[Px(),Ox],["children",v.Children.toArray(Array.from(t))]))})))))))}function $x(){let e,t,n,r,l;const o=ya(!1),i=o[0];return h.createElement("nav",O(K("navbar",S([["className","has-shadow"],["className","is-fixed-top"],["className","is-black"],(e=[(t=S([(n=X(h.createElement("span",O(K("icon",S([["className","is-medium"],(r=[h.createElement("img",{src:Rx,alt:"logo"})],["children",v.Children.toArray(Array.from(r))])]))))),h.createElement("a",{className:"navbar-item",children:v.Children.toArray(Array.from(n))})),h.createElement("a",O(K("navbar-burger",S([["aria-label","menu"],["aria-expanded",i],["role",se(" ",["button"])],["onClick",s=>{o[1](!i)}],(l=[h.createElement("span",{"aria-hidden":!0}),h.createElement("span",{"aria-hidden":!0}),h.createElement("span",{"aria-hidden":!0})],["children",v.Children.toArray(Array.from(l))])]))))]),h.createElement("div",{className:"navbar-brand",children:v.Children.toArray(Array.from(t))})),Lx(i)],["children",v.Children.toArray(Array.from(e))])]))))}const Xp=h.createElement("span",{children:" • ",className:"mx-1"}),zx=(()=>{let e,t,n,r;const l=X((e=S([(t=S([h.createElement("span",{children:["Icons from "]}),h.createElement("a",{href:"https://www.flaticon.com",children:"flaticon"})]),h.createElement("span",{children:v.Children.toArray(Array.from(t))})),Xp,(n=S([h.createElement("a",{href:"https://fable.io",children:"Fable"}),h.createElement("span",{children:[" |> ❤️"]})]),h.createElement("span",{children:v.Children.toArray(Array.from(n))})),Xp,(r=S([h.createElement("span",{children:["Usage under "]}),h.createElement("a",{href:"https://github.com/Freymaurer/Dicacle/blob/main/LICENSE",children:"GNU GPL"})]),h.createElement("span",{children:v.Children.toArray(Array.from(r))}))]),h.createElement("div",{className:"container",children:v.Children.toArray(Array.from(e))})));return h.createElement("div",{className:"hero-foot",children:v.Children.toArray(Array.from(l))})})();function Bx(){return h.createElement(JS,null)}function Ux(){return h.createElement(wx,null)}function Vx(){let e,t,n;const r=ya(Kp(Wy(window.location.hash,1)));return kx(O(S([["onUrlChanged",l=>{r[1](Kp(l))}],(e=X((t=S([h.createElement($x,null),h.createElement("section",O(K("hero",S([["className","is-fullheight-with-navbar"],(n=oe(N(()=>{let l;return ee((l=r[0],l.tag===1?F(Bx()):l.tag===2?F(h.createElement("h1",{children:["404: Page not found"]})):F(Ux())),N(()=>F(zx)))})),["children",v.Children.toArray(Array.from(n))])]))))]),h.createElement("div",{children:v.Children.toArray(Array.from(t))}))),["application",h.createElement(h.Fragment,{},...e)])])))}const Hx=cg(document.getElementById("feliz-app"));Hx.render(h.createElement(Vx,null)); + %s`))(Y)}else{const Y=Et(V=>{const te=V[0];return[Si(te)?pe(oc(te),$):pe(new fe(1,[te]),$),pe(V[1],D)]},Df(he));switch($.tag){case 6:case 2:case 7:return bn(Y,{Compare:nr});default:return bn(Y,{Compare:mn})}}}case 1:{e=new fe(5,[bn(Rf(Ee),{Compare:nr})]),t=u;continue e}case 2:{const he=Et(Y=>{const V=Y[0];return[Si(V)?pe(oc(V),$):ci($)||Zl($)?pe(new fe(1,[V]),$):pe(oc(V),$),pe(Y[1],D)]},yl(cs));switch($.tag){case 6:case 2:case 7:return bn(he,{Compare:nr});default:return bn(he,{Compare:mn})}}}}case 66:{const z=fl(),D=uo(s),$=Qe(z);return xe(H("Cannot convert %s to %s"))(D)($)}case 67:{const z=uo(s),D=JSON.stringify(u);return xe(H("Cannot convert %s to %s"))(z)(D)}}break}}function pa(e,t){return pe(e,t)}const Ds=Z4;function qe(e,t){let n;e:for(;;){const r=e,l=t;switch(l.tag){case 2:{const o=r;return o==null?"null":Ds(o)}case 0:return"null";case 9:case 8:return Number.isNaN(r)?Ds("NaN"):r.toString();case 1:return Ds(r);case 13:case 14:case 3:case 4:case 11:case 38:case 20:case 6:return of(r);case 5:case 12:return cn(tp(r));case 19:return cn(ZC(r));case 10:return cn(af(r));case 7:return r?"true":"false";case 21:return cn((n=r,n));case 22:return cn(Ht(r));case 15:return cn(Ao(r,"O"));case 16:return cn(Ao(r,"O"));case 17:return of(e4(r));case 18:return cn(tp(t4(r)));case 39:return"{"+se(", ",$e(o=>{const i=z2(r,o.PropertyInfo),s=qe(i,o.FieldType);return Te(H('"%s": %s'))(o.FieldName)(s)},l.fields[0]()[0],null))+"}";case 35:{const o=l.fields[0]();return"["+se(", ",ae(i=>qe(i,o),r))+"]"}case 36:{const o=l.fields[0]();return"["+se(", ",ae(i=>qe(i,o),r))+"]"}case 29:{const o=l.fields[0]();return"["+se(", ",ae(i=>qe(i,o),r))+"]"}case 30:{const o=l.fields[0]();return"["+se(", ",$e(i=>qe(i,o),r,null))+"]"}case 28:{const o=l.fields[0]();return"["+se(", ",Et(i=>qe(i,o),r))+"]"}case 31:{const o=l.fields[0]();return"["+se(", ",$e(i=>qe(i,o),$l(r),null))+"]"}case 27:{const o=r;if(o!=null){e=Se(o),t=l.fields[0]();continue e}else return"null"}case 40:{const o=l.fields[0](),i=L2(r,o[1]),s=i[0],u=i[1],a=hS(c=>c.CaseName===Ye(s),o[0]).CaseTypes;if(Zl(l)||a.length===0)return cn(Ye(s));if(a.length===1)return"{"+cn(Ye(s))+": "+qe(u[0],a[0])+"}";{const c=se(", ",ff((d,f)=>qe(u[d],f),a,null));return"{"+cn(Ye(s))+": ["+c+"] }"}}case 33:{const o=l.fields[0](),i=o[0],s=se(", ",$e(u=>{const a=qe(u[0],i),c=qe(u[1],o[1]);return ci(i)||Zl(i)?Si(a)?a+": "+c:Ds(a)+": "+c:"["+a+", "+c+"]"},WE(r),null));return ci(i)||Zl(i)?"{"+s+"}":"["+s+"]"}case 34:{const o=l.fields[0](),i=o[0],s=se(", ",ae(u=>{const a=qe(u[0],i),c=qe(u[1],o[1]);return ci(i)||Zl(i)?Si(a)?a+": "+c:cn(a)+": "+c:"["+a+", "+c+"]"},r));return ci(i)||Zl(i)?"{"+s+"}":"["+s+"]"}case 32:{const o=l.fields[0]();return o.length===1?"["+qe(r,o[0])+"]":"["+se(", ",ff((i,s)=>qe(s,o[i]),r,null))+"]"}case 23:return xp(r);case 24:return xp(r);default:return"null"}break}}function Fy(e){const t=qe(e,ge(bi("System.Collections.Generic.Dictionary`2",[Ol,Ol])));localStorage.setItem("DiceStorage",t)}function sk(){let e;try{return e=ss(localStorage.getItem("DiceStorage")),e!=null?pa(e,ge(bi("System.Collections.Generic.Dictionary`2",[Ol,Ol]))):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("DiceStorage"),sa(H("Could not find DiceStorage"));return}}function Ry(e){const t=qe(e,ge(Pl(Hg())));localStorage.setItem("History",t)}function uk(){let e;try{return e=ss(localStorage.getItem("History")),e!=null?pa(e,ge(Pl(Hg()))):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("History"),sa(H("Could not find History"));return}}function Py(e){const t=qe(e,ge(bi("Microsoft.FSharp.Collections.FSharpSet`1",[Ol])));localStorage.setItem("QuickAccess",t)}function ak(){let e;try{return e=ss(localStorage.getItem("QuickAccess")),e!=null?pa(e,ge(bi("Microsoft.FSharp.Collections.FSharpSet`1",[Ol]))):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("QuickAccess"),sa(H("Could not find QuickAccess"));return}}class Kd extends tt{constructor(t,n){super(),this.Name=t,this.DiceString=n}}function Oy(){return new Kd("","")}class $n extends tt{constructor(t,n,r,l,o){super(),this.Input=t,this.Results=n,this.DiceStorage=r,this.History=l,this.QuickAccess=o}}function ck(){let e,t,n;const r=sk();return n=Ln(r,new Map([])),new $n("",void 0,n,Ln(uk(),[]),N4(o=>n.has(o),(e=ak(),t=x4({Compare:nr}),Ln(e,t))))}function Gp(e){return e.Input!==""?Fg(e.Input,0,1):""}class Ly extends tt{constructor(t){super(),this.IsActive=t}}function fk(){return new Ly(!1)}const dk=""+new URL("dice-d4-1964b8dc.svg",import.meta.url).href,hk=""+new URL("dice-d6-a33df87d.svg",import.meta.url).href,pk=""+new URL("dice-d8-782600dd.svg",import.meta.url).href,mk=""+new URL("dice-d10-b415942f.svg",import.meta.url).href,gk=""+new URL("dice-d12-2bc389b8.svg",import.meta.url).href,yk=""+new URL("dice-d20-e0ea49df.svg",import.meta.url).href,vk=""+new URL("dice-alt-0d13a200.svg",import.meta.url).href,wk=dk,_k=hk,Sk=pk,Ck=mk,Ek=gk,kk=yk,xk=vk,Wp=["3d6 + 1d11","2 (1d20+14) (1d20+9)","2d20k1 + 9","1d12 + 12 + 2d6"];function $y(){const e=jg();return Wp[e.Next1(Wp.length)]}function Nk(e,t){let n;const r=t===4?wk:t===6?_k:t===8?Sk:t===10?Ck:t===12?Ek:t===20?kk:xk,l=e>t?["className","has-text-link"]:e===t?["className","has-text-success-dark"]:e===1?["className","has-text-danger"]:["className","is-black"];return h.createElement("span",O(K("icon",S([["className","is-medium"],["style",{position:"relative"}],(n=[h.createElement("img",{style:{opacity:.4},src:r}),h.createElement("span",O(S([l,["style",{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:2,fontSize:1.5+"rem",fontWeight:"bold"}],["children",e]])))],["children",v.Children.toArray(Array.from(n))])]))))}function Ik(e){const t=e.Dice.DiceSize|0,n=h.createElement("span",{className:"mr-2 dice-result-subsum",children:`${rC(e.Dice.Command)}${e.DiceRollSum}`}),r=t===0?X(n):oe(N(()=>ee(F(n),N(()=>ee(F(h.createElement("span",{children:["["]})),N(()=>ee(En(l=>{const o=e.DiceRolled[l]|0,i=l===e.DiceRolled.length-1;return ee(F(Nk(o,t)),N(()=>i?Ue():F(h.createElement("span",{children:[" + "]}))))},da(0,1,e.DiceRolled.length-1)),N(()=>F(h.createElement("span",{children:["]"]}))))))))));return h.createElement("span",{children:v.Children.toArray(Array.from(r))})}function zy(e){let t,n,r;const l=VS(o=>me(o.Dice.Command,new ji(1,[]))?o.DiceRollSum*-1|0:o.DiceRollSum|0,e.Results,{GetZero:()=>0,Add:(o,i)=>o+i})|0;return h.createElement("div",O(S([["className","dice-result-container is-flex is-align-items-center"],(t=[h.createElement("span",O(S([["className","dice-result-subsum-container"],["style",{fontSize:"10px"}],(n=oe(N(()=>ae(Ik,e.Results))),["children",v.Children.toArray(Array.from(n))])]))),h.createElement("span",O(S([["className","dice-roll-sum"],["style",{marginLeft:"auto",minWidth:"max-content"}],(r=[h.createElement("span",{children:[" = "]}),h.createElement("span",{style:{fontWeight:"bold"},children:l})],["children",v.Children.toArray(Array.from(r))])])))],["children",v.Children.toArray(Array.from(t))])])))}const Tk=e=>{h.useEffect(()=>{const t=e();return()=>{t.Dispose()}})},Ak=(e,t)=>{h.useEffect(()=>{const n=e();return()=>{n.Dispose()}},t)},Mk=e=>{h.useLayoutEffect(()=>{const t=e();return()=>{t.Dispose()}})},Dk=Tk,By=Ak,Fk=Mk;function Rk(e,t,n,r){const l=v.memo(e,F_(2,Ln(R_(2,n),Ke())));return jo(o=>{e.displayName=o},xg(t)),o=>{const i=Pk(r,o);return v.createElement(l,i)}}function Pk(e,t){if(e==null)return t;{const n=e;return t.key=n(t),t}}function ma(e){return{Dispose(){e()}}}function ga(e){return v.useState(e)}function Ok(e,t){By(e,t)}function Lk(e){Fk(t=>(e(),ma(()=>{})))}function $k(e){const t=v.useRef(!1);Uk(()=>{t.current||(t.current=!0,e())},[])}function zk(e){const t=v.useRef(void 0),n=v.useRef(!1),r=v.useRef(!1);n.current&&(r.current=!0),Ok(()=>{let l;return n.current?l=void 0:(n.current=!0,t.current=Gt(e()),l=r.current?t.current:void 0),{Dispose(){jo(o=>{ye(o)},xg(l))}}},[])}function Bk(e){Dk(t=>(e(),ma(()=>{})))}function Uk(e,t){By(n=>(e(),ma(()=>{})),t)}function Vk(e,t){const n=Ln(t,[]);return v.useCallback(e,n)}function Hk(e){return v.useRef(e)}function jk(e,t,n){return Rk(e,void 0,n,t)}function Gk(e){const t=Hk(e),n=Vk(r=>t.current(r),[]);return Lk(()=>{t.current=e}),n}function ya(e){return v.useState(e)}function Wk(e,t,n){const r=e,l=r[2],o=r[0];let i;switch(r[1]?l?o.toLocaleLowerCase()===n.key.toLocaleLowerCase()&&n.ctrlKey&&n.shiftKey?i=0:i=4:o.toLocaleLowerCase()===n.key.toLocaleLowerCase()&&n.ctrlKey?i=1:i=4:l?o.toLocaleLowerCase()===n.key.toLocaleLowerCase()&&n.shiftKey?i=2:i=4:o.toLocaleLowerCase()===n.key.toLocaleLowerCase()?i=3:i=4,i){case 0:{t(n);break}case 1:{t(n);break}case 2:{t(n);break}case 3:{t(n);break}}}function Qk(e){return[e,!1,!1]}const Kk=Qk("Escape"),Uy="dice-storage-new-name",Vy="dice-storage-new-diceString",Jk=(()=>{let e,t;const n=X(h.createElement("td",O(S([["colSpan",2],["style",{textAlign:"center"}],(e=[h.createElement("span",O(K("icon",S([["className","is-large"],(t=[h.createElement("i",{className:"fa-solid fa-broom fa-shake fa-2xl"})],["children",v.Children.toArray(Array.from(t))])])))),h.createElement("span",{children:["..empty"]})],["children",v.Children.toArray(Array.from(e))])]))));return h.createElement("tr",{children:v.Children.toArray(Array.from(n))})})();function Zk(e,t,n){let r,l,o;return h.createElement("div",O(K("field",S([["className","has-addons"],(r=[(l=X(h.createElement("button",O(K("button",S([["tabIndex",-1],["className","is-static"],["children","/"]]))))),h.createElement("div",{className:"control",children:v.Children.toArray(Array.from(l))})),h.createElement("div",O(K("control",S([["className","is-flex-grow-1"],(o=[h.createElement("input",O(be(["type","text"],K("input",oe(N(()=>ee(F(["id",Uy]),N(()=>ee(e.DiceStorage.has(t.Name)?F(["className","is-danger"]):Ue(),N(()=>ee(F(["autoFocus",!0]),N(()=>ee(F(["tabIndex",0]),N(()=>ee(F(["placeholder","..name"]),N(()=>F(["onChange",i=>{n(new Kd(i.target.value,t.DiceString))}])))))))))))))))))],["children",v.Children.toArray(Array.from(o))])]))))],["children",v.Children.toArray(Array.from(r))])]))))}function qk(e,t){let n,r,l;return h.createElement("div",O(K("field",X((n=[h.createElement("div",O(K("control",S([["className","has-icons-left"],(r=[h.createElement("input",O(be(["type","text"],K("input",S([["id",Vy],["tabIndex",0],["placeholder",$y()],["onChange",o=>{t(new Kd(e.Name,o.target.value))}]]))))),h.createElement("span",O(K("icon",S([["className","is-left"],["className","is-small"],(l=[h.createElement("i",{className:"fa-solid fa-dice-d20"})],["children",v.Children.toArray(Array.from(l))])]))))],["children",v.Children.toArray(Array.from(r))])]))))],["children",v.Children.toArray(Array.from(n))])))))}function Yk(e,t,n,r,l){const o=new $n(t.Input,t.Results,t.DiceStorage,t.History,S4(t.QuickAccess,e));n(o),Py(o.QuickAccess)}function Hy(e,t,n,r,l){const o=new $n(t.Input,t.Results,t.DiceStorage,t.History,C4(t.QuickAccess,e));n(o),Py(o.QuickAccess)}function Xk(e,t,n,r){wf(e.DiceStorage,n.Name,n.DiceString),t(new $n(e.Input,e.Results,e.DiceStorage,e.History,e.QuickAccess)),r(Oy());const l=document.getElementById(Uy),o=document.getElementById(Vy);l.value=Ke(),o.value=Ke(),Fy(e.DiceStorage)}function bk(e,t,n,r,l){t.DiceStorage.delete(e),n(new $n(t.Input,t.Results,t.DiceStorage,t.History,t.QuickAccess)),Fy(t.DiceStorage),Hy(e,t,n)}function ex(e,t,n,r,l){const o=X(h.createElement("input",O(be(["type","checkbox"],K("checkbox",S([["defaultChecked",Ay(t.QuickAccess,e)],["onChange",i=>{i.target.checked?Yk(e,t,n):Hy(e,t,n)}]]))))));return h.createElement("label",{className:"label",children:v.Children.toArray(Array.from(o))})}function tx(e,t,n,r){let l;const o=X((l=oe(N(()=>{let i,s;return e.DiceStorage.size>0?ee(F((i=X((s=S([h.createElement("th",{children:["Shortcut"]}),h.createElement("th",{children:["Dice"]}),h.createElement("th",{children:["Quick Access"]}),h.createElement("th",{})]),h.createElement("tr",{children:v.Children.toArray(Array.from(s))}))),h.createElement("thead",{children:v.Children.toArray(Array.from(i))}))),N(()=>{let u;return F((u=oe(N(()=>En(a=>{let c,d,f,y,w,C;const R=a,m=R[0];return F(h.createElement("tr",O(S([["key",(c=Te(H("Stored-Dice-%s")),c(m))],(d=[h.createElement("td",{key:(f=Te(H("Stored-Dice-Name-%s")),f(m)),children:h.createElement("code",{children:["/"+m]})}),h.createElement("td",{key:(y=Te(H("Stored-Dice-diceString-%s")),y(m)),children:R[1]}),h.createElement("td",{key:(w=Te(H("Stored-Dice-quick-access-%s")),w(m)),children:ex(m,e,t)}),h.createElement("td",{key:(C=Te(H("Stored-Dice-remove-%s")),C(m)),children:h.createElement("button",O(K("delete",S([["style",{float:"right"}],["onClick",p=>{bk(m,e,t)}]]))))})],["children",v.Children.toArray(Array.from(d))])]))))},e.DiceStorage))),h.createElement("tbody",{children:v.Children.toArray(Array.from(u))})))})):F(h.createElement("tbody",{children:v.Children.toArray([Jk])}))})),h.createElement("table",{className:"table",children:v.Children.toArray(Array.from(l))})));return h.createElement("div",{className:"table-container",children:v.Children.toArray(Array.from(o))})}function nx(e,t,n,r){let l,o,i,s;const u=S([(l=X(Zk(e,n,r)),h.createElement("div",{className:"column",children:v.Children.toArray(Array.from(l))})),(o=X(qk(n,r)),h.createElement("div",{className:"column",children:v.Children.toArray(Array.from(o))})),h.createElement("div",O(K("column",S([["className","is-narrow"],(i=[h.createElement("div",O(K("control",S([["className","is-flex is-justify-content-end"],(s=[h.createElement("button",O(K("button",oe(N(()=>{const a=!e.DiceStorage.has(n.Name),c=n.Name!==""&&n.DiceString!==""&&a;return ee(F(["children",n.Name==="fireball"&&a?"🔥":"+"]),N(()=>ee(F(["role",se(" ",["button"])]),N(()=>ee(c?Ue():F(["className","is-static"]),N(()=>ee(F(["style",{borderRadius:"4px"}]),N(()=>ee(F(["tabIndex",0]),N(()=>F(["onClick",d=>{c&&Xk(e,t,n,r)}])))))))))))})))))],["children",v.Children.toArray(Array.from(s))])]))))],["children",v.Children.toArray(Array.from(i))])]))))]);return h.createElement("div",{className:"columns",children:v.Children.toArray(Array.from(u))})}function rx(e){let t,n,r,l,o;const i=e.rmv,s=e.setState,u=e.state,a=ga(Oy),c=a[1],d=a[0],f=y=>{i(),document.getElementById("dice-roller-input").focus()};return h.createElement("div",O(K("modal",S([["onKeyDown",y=>{Wk(Kk,f,y)}],["className","is-active"],(t=[h.createElement("div",O(K("modal-background",X(["onClick",f])))),(n=X((r=X((l=S([h.createElement("h1",{children:["Dice Storage"]}),(o=S([h.createElement("span",{children:["Type "]}),h.createElement("code",{children:["/placeholder"]}),h.createElement("span",{children:["in main field to quick access any stored dice!"]})]),h.createElement("p",{className:"help",children:v.Children.toArray(Array.from(o))})),tx(u,s),nx(u,s,d,c)]),h.createElement("div",{className:"content",children:v.Children.toArray(Array.from(l))}))),h.createElement("div",{className:"box",children:v.Children.toArray(Array.from(r))}))),h.createElement("div",{className:"modal-content",children:v.Children.toArray(Array.from(n))})),h.createElement("button",O(K("modal-close",S([["className","is-medium"],["className","has-background-black"],["aria-label","close"],["onClick",f]]))))],["children",v.Children.toArray(Array.from(t))])]))))}function lx(e,t,n){let r;const l="/"+e;return h.createElement("span",O(K("tag",S([["title",t],["style",{cursor:"pointer"}],["onClick",o=>{n(t)}],(r=[h.createElement("code",{style:{userSelect:"none"},children:l})],["children",v.Children.toArray(Array.from(r))])]))))}function ox(e,t){const n=oe(N(()=>ae(r=>lx(r,fr(e.DiceStorage,r),t),e.QuickAccess)));return h.createElement("div",{className:"tags",children:v.Children.toArray(Array.from(n))})}function ix(e){const t=oe(N(()=>ae(n=>{let r,l;return h.createElement("li",O(S([["key",(r=Te(H("set-index-%i")),r(n.Index))],(l=[zy(n)],["children",v.Children.toArray(Array.from(l))])])))},e.Results)));return h.createElement("ol",{children:v.Children.toArray(Array.from(t))})}const sx=(()=>{const e=X(h.createElement("div",O(K("notification",S([["className","mb-1"],["children","History is empty"]])))));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(e))})})();function ux(e,t,n){let r,l,o;return h.createElement("div",O(S([["className","mb-1"],(r=[h.createElement("code",{children:[e.Input]}),h.createElement("button",O(K("button",S([["onClick",i=>{n(new $n(e.Input,t.Results,t.DiceStorage,t.History,t.QuickAccess))}],["className","is-small"],["className","is-ghost"],["style",{float:"right"}],(l=[(o=X(h.createElement("i",{className:"fa-regular fa-paste"})),h.createElement("span",{className:"icon",children:v.Children.toArray(Array.from(o))}))],["children",v.Children.toArray(Array.from(l))])]))))],["children",v.Children.toArray(Array.from(r))])])))}function ax(e){let t;return h.createElement("div",O(S([["className","mb-1"],(t=[h.createElement("p",O(K("help",X(["children",K2(e.Time)+" "+J2(e.Time)]))))],["children",v.Children.toArray(Array.from(t))])])))}function cx(e,t){return h.createElement("button",O(K("button",S([["onClick",n=>{const r=new $n(e.Input,e.Results,e.DiceStorage,[],e.QuickAccess);t(r),Ry(r.History)}],["className","is-danger"],["className","is-fullwidth"],["children","Clear History"]]))))}function fx(e,t){let n;return h.createElement("div",O(K("field",S([["id","history-container"],(n=oe(N(()=>e.History.length===0?F(sx):ee(ae(r=>{const l=oe(N(()=>ee(F(ax(r)),N(()=>ee(F(ux(r,e,t)),N(()=>ae(ix,r.DiceSets)))))));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(l))})},e.History),N(()=>F(cx(e,t)))))),["children",v.Children.toArray(Array.from(n))])]))))}function dx(e,t){let n;return h.createElement("button",O(K("button",S([["id","dice-roller-history-toggle-button"],["role",se(" ",["button"])],["title","Toggle History"],["onClick",r=>{t(new Ly(!e.IsActive))}],(n=[h.createElement("span",O(K("icon",S([["className","is-small"],["children",h.createElement("i",{className:"fa-regular fa-rectangle-list"})]]))))],["children",v.Children.toArray(Array.from(n))])]))))}function hx(e){let t,n;const r=e.setDicacleState,l=e.diceState,o=ga(fk),i=o[0];return h.createElement("div",O(S([["id","dice-roller-history"],["style",O(oe(N(()=>i.IsActive?Ue():F(["minWidth","unset"]))))],(t=[dx(i,o[1]),h.createElement("div",O(S([["id","dice-roller-history-inner"],["style",O(oe(N(()=>i.IsActive?Ue():F(["display","none"]))))],(n=[fx(l,r)],["children",v.Children.toArray(Array.from(n))])])))],["children",v.Children.toArray(Array.from(t))])])))}function jy(e,t,n){const r=CE(e.indexOf("/")===0?fr(t.DiceStorage,e.slice(1,e.length)):e);console.log(Gt("[DICE]"),r);const l=200;n(new $n(e,r,t.DiceStorage,(t.History.push(r),t.History.length>=l&&t.History.splice(l,t.History.length-l),Ry(t.History),t.History),t.QuickAccess))}function Gy(e,t){jy(e.Input,e,t)}function Qp(e,t,n){let r;const l=Ln(e,-1)|0;if(r=n?D_(nr,l+1,t.length-1):l-1,!(r<0))return r}function px(e){let t;const n=e.setState,r=e.state,l=$y(),o=r.Input.indexOf("/")===0,i=o&&r.DiceStorage.has(Gp(r)),s=Gp(r),u=$l(N(()=>En(f=>f[0].indexOf(s)===0&&f[0]!==s?F(f):Ue(),r.DiceStorage))),a=ya(void 0),c=a[0],d=a[1];return h.createElement("div",O(S([["style",{display:"flex",position:"relative",zIndex:1}],(t=oe(N(()=>ee(F(h.createElement("input",O(be(["type","text"],K("input",oe(N(()=>ee(F(["className","is-large"]),N(()=>ee(F(["placeholder",l]),N(()=>ee(F(["autoFocus",!0]),N(()=>ee(i?F(["className","has-text-danger-dark"]):Ue(),N(()=>{let f;return ee(F((f=r.Input,["ref",y=>{y!=null&&!me(y.value,f)&&(y.value=f)}])),N(()=>ee(F(["onChange",y=>{const w=new $n(y.target.value,r.Results,r.DiceStorage,r.History,r.QuickAccess);d(void 0),n(w)}]),N(()=>ee(F(["id","dice-roller-input"]),N(()=>F(["onKeyDown",y=>{if(o&&u.length>0){const w=y.which;w===40?d(Qp(c,u,!0)):w===38?d(Qp(c,u,!1)):w===13&&c!=null&&(n(new $n("/"+u[Se(c)][0],r.Results,r.DiceStorage,r.History,r.QuickAccess)),d(void 0))}else y.which===13&&(Gy(r,n),d(void 0))}])))))))}))))))))))))))),N(()=>{let f;return o?F(h.createElement("div",{id:"command-container",style:{backgroundColor:"#F5F5F5",zIndex:3,position:"absolute",top:"100%",left:0,width:"100%",maxHeight:"100px"},children:(f=oe(N(()=>En(y=>{let w,C;const R=u[y];return F(h.createElement("li",O(S([["style",O(oe(N(()=>c!=null&&Se(c)===y?F(["filter","brightness(85%)"]):Ue())))],(w=[h.createElement("div",O(S([["onClick",m=>{n(new $n("/"+R[0],r.Results,r.DiceStorage,r.History,r.QuickAccess))}],(C=[h.createElement("code",{children:["/"+R[0]]}),h.createElement("span",{children:[R[1]]})],["children",v.Children.toArray(Array.from(C))])])))],["children",v.Children.toArray(Array.from(w))])]))))},da(0,1,u.length-1)))),h.createElement("ul",{children:v.Children.toArray(Array.from(f))}))})):Ue()})))),["children",v.Children.toArray(Array.from(t))])])))}function mx(e){const t=oe(N(()=>ae(n=>{let r,l;return h.createElement("li",O(S([["key",(r=Te(H("set-index-%i")),r(n.Index))],(l=[zy(n)],["children",v.Children.toArray(Array.from(l))])])))},e.Results)));return h.createElement("ol",{children:v.Children.toArray(Array.from(t))})}function gx(e){const t=oe(N(()=>e.Results==null?F(Ke()):ae(n=>{const r=X(mx(n));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(r))})},Se(e.Results).DiceSets)));return h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(t))})}function yx(e){const t=e.setState,n=e.state,r=ya(!1),l=r[1],o=r[0],i=oe(N(()=>ee(o?F(h.createElement(rx,{state:n,setState:t,rmv:()=>{l(!1)}})):Ue(),N(()=>F(h.createElement("button",O(K("button",S([["style",{zIndex:1}],["className","is-large"],["id","dice-roller-dice-storage"],["title","Manage stored dice"],["role",se(" ",["button"])],["children","+"],["onClick",s=>{l(!o)}]])))))))));return h.createElement("div",{children:v.Children.toArray(Array.from(i))})}function vx(e,t){return h.createElement("button",O(K("button",S([["id","dice-roller-button"],["className","is-large"],["role",se(" ",["button"])],["onClick",n=>{Gy(e,t)}],["children",h.createElement("span",O(K("icon",vt())))]]))))}function wx(){let e,t,n,r,l,o,i,s;const u=ga(ck),a=u[0],c=u[1];return h.createElement("div",O(S([["className","is-flex is-flex-grow-1"],["style",{maxHeight:"100%",overflow:"hidden"}],(e=[(t=X(h.createElement("div",O(K("container",S([["className","is-max-desktop"],(n=[(r=X(ox(a,d=>{jy(d,a,c)})),h.createElement("div",{className:"field",children:v.Children.toArray(Array.from(r))})),h.createElement("div",O(K("field",S([["id","dice-roller-container"],["onAnimationEnd",d=>{const f=document.getElementById("dice-roller-container");f.style.animation="initial"}],["className","has-addons"],(l=[(o=X(h.createElement(yx,{state:a,setState:c})),h.createElement("div",{className:"control",children:v.Children.toArray(Array.from(o))})),h.createElement("div",O(K("control",S([["className","is-expanded"],(i=[h.createElement(px,{state:a,setState:c})],["children",v.Children.toArray(Array.from(i))])])))),(s=oe(N(()=>{let d;return ee(a.Input.toLocaleLowerCase()==="/fireball"||a.Input===fr(a.DiceStorage,"fireball")?F(h.createElement("div",O(S([["style",{position:"fixed"}],(d=[h.createElement("div",{className:"glow"}),h.createElement("div",{className:"flame"})],["children",v.Children.toArray(Array.from(d))])])))):Ue(),N(()=>F(vx(a,c))))})),h.createElement("div",{className:"control",children:v.Children.toArray(Array.from(s))}))],["children",v.Children.toArray(Array.from(l))])])))),gx(a)],["children",v.Children.toArray(Array.from(n))])]))))),h.createElement("div",{className:"hero-body",children:v.Children.toArray(Array.from(t))})),h.createElement(hx,{diceState:a,setDicacleState:c})],["children",v.Children.toArray(Array.from(e))])])))}class Zr extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Dicacle","Reference","NotFound"]}}function _x(e){switch(e.tag){case 1:return"#/reference";case 2:return"#/404";default:return"#/"}}function Kp(e){let t;switch(U(e)?t=0:T(e)==="/"?U(k(e))?t=0:t=2:T(e)==="reference"&&U(k(e))?t=1:t=2,t){case 0:return new Zr(0,[]);case 1:return new Zr(1,[]);case 2:return new Zr(2,[])}}function Sx(e){let t;switch(e===""||e==="#/"?t=0:e==="#/reference"?t=1:t=2,t){case 0:return new Zr(0,[]);case 1:return new Zr(1,[]);case 2:return new Zr(2,[])}}function Cx(e){switch(e.tag){case 1:return"Reference";case 2:return"404";default:return"Dicacle"}}function Jp(e,t){if(t.indexOf(e)===0)return t}function Zp(e,t){if(Fu(t,e))return t}function Wy(e,t){return wS(n=>{if(b2(n))return vt();{const r=iS(n,"#");if(r==="?")return vt();if(Jp("?",r)!=null)return X(r);{const l=r.split("?");if(!df((o,i)=>o===i,l,Ke())&&l.length===1){const o=l[0];return X(decodeURIComponent(o))}else if(!df((o,i)=>o===i,l,Ke())&&l.length===2)if(l[1]===""){const o=l[0];return X(decodeURIComponent(o))}else{const o=l[0],i=l[1];return S([decodeURIComponent(o),"?"+i])}else return vt()}}},S(lS(Jp("#",e)!=null?Rg(e,1,e.length-1):t===1&&(Zp("#",e)!=null||Zp("#/",e)!=null)?"":e,["/"],void 0,0)))}function Ex(e,t,n){return t(Wy(e===2?window.location.pathname+window.location.search:window.location.hash,e))}const kx=jk(e=>{const t=Gk(r=>{const l=Ln(e.onUrlChanged,o=>{});Ex(Ln(e.hashMode,1),l)});zk(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),ma(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),$k(()=>{const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)});const n=e.application;return n??Ke()});class qp extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}class Cl extends Hn{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Light","Dark","Auto"]}}function Jd(){return ts("Component.DarkModeButton.ColorMode",[],Cl,()=>[[],[],[["Item",Jd()]]])}function xx(e){let t;const n=e.tag===2?e.fields[0].tag===0?"fa-regular fa-sun":e.fields[0].tag===1?"fa-solid fa-moon":"":e.tag===1?"fa-solid fa-moon":"fa-regular fa-sun";return h.createElement("i",{className:(t=Te(H("%s fa-xl")),t(n))})}function Qy(e){let t;switch(e.tag===2?e.fields[0].tag===0?t=0:e.fields[0].tag===1?t=1:t=2:e.tag===1?t=1:t=0,t){case 0:return new qp(0,[void 0]);case 1:return new qp(1,[void 0]);case 2:throw new Error("This can never happen")}}function Nx(e){const t=qe(e,ge(Jd()));localStorage.setItem("ColorMode",t)}function Ix(){let e;try{return e=ss(localStorage.getItem("ColorMode")),e!=null?pa(e,ge(Jd())):(()=>{throw new Error("Couldn't parse the input JSON string because it seems to be invalid")})()}catch{localStorage.removeItem("ColorMode"),sa(H("Could not find %s"))("ColorMode");return}}function Tx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?new Cl(2,[new Cl(1,[])]):new Cl(2,[new Cl(0,[])])}function Ax(){const e=document.getElementById("style-dark");document.getElementById("style-light"),e.disabled="disabled"}function Mx(){const e=document.getElementById("style-dark");e.removeAttribute("disabled"),e.removeAttribute("media")}function Ky(e){Qy(e).tag===1?Mx():Ax()}class Jy extends tt{constructor(t){super(),this.ColorMode=t}}function Dx(){const e=Tx(),t=Ln(Ix(),e);return Ky(t),new Jy(t)}function Fx(){let e;const t=ga(Dx),n=t[0];return Bk(()=>{Ky(n.ColorMode)}),h.createElement("a",O(K("navbar-item",S([["onClick",r=>{r.preventDefault();const l=Qy(n.ColorMode).tag===1?new Cl(0,[]):new Cl(1,[]);Nx(l),t[1](new Jy(l))}],(e=[h.createElement("span",O(K("icon",S([["className","is-medium"],["children",xx(n.ColorMode)]]))))],["children",v.Children.toArray(Array.from(e))])]))))}const Rx=""+new URL("logo-9903a27e.svg",import.meta.url).href;function Yp(e,t){return h.createElement("a",O(K("navbar-item",oe(N(()=>ee(me(e,t)?F(["className","is-active"]):Ue(),N(()=>ee(F(["href",_x(e)]),N(()=>F(["children",Cx(e)]))))))))))}function Px(){const e=Sx(window.location.hash),t=S([Yp(new Zr(0,[]),e),Yp(new Zr(1,[]),e)]);return h.createElement("div",{className:"navbar-start",children:v.Children.toArray(Array.from(t))})}const Ox=(()=>{let e;const t=S([h.createElement(Fx,null),h.createElement("a",O(K("navbar-item",S([["href","https://github.com/Freymaurer/Dicacle"],["target","_blank"],(e=[h.createElement("span",{children:["GitHub"]}),h.createElement("span",O(K("icon",S([["className","is-medium"],["children",h.createElement("i",{className:"fa-brands fa-github fa-xl"})]]))))],["children",v.Children.toArray(Array.from(e))])]))))]);return h.createElement("div",{className:"navbar-end",children:v.Children.toArray(Array.from(t))})})();function Lx(e){return h.createElement("div",O(K("navbar-menu",oe(N(()=>ee(e?F(["className","is-active"]):Ue(),N(()=>{let t;return F((t=[Px(),Ox],["children",v.Children.toArray(Array.from(t))]))})))))))}function $x(){let e,t,n,r,l;const o=ya(!1),i=o[0];return h.createElement("nav",O(K("navbar",S([["className","has-shadow"],["className","is-fixed-top"],["className","is-black"],(e=[(t=S([(n=X(h.createElement("span",O(K("icon",S([["className","is-medium"],(r=[h.createElement("img",{src:Rx,alt:"logo"})],["children",v.Children.toArray(Array.from(r))])]))))),h.createElement("a",{className:"navbar-item",children:v.Children.toArray(Array.from(n))})),h.createElement("a",O(K("navbar-burger",S([["aria-label","menu"],["aria-expanded",i],["role",se(" ",["button"])],["onClick",s=>{o[1](!i)}],(l=[h.createElement("span",{"aria-hidden":!0}),h.createElement("span",{"aria-hidden":!0}),h.createElement("span",{"aria-hidden":!0})],["children",v.Children.toArray(Array.from(l))])]))))]),h.createElement("div",{className:"navbar-brand",children:v.Children.toArray(Array.from(t))})),Lx(i)],["children",v.Children.toArray(Array.from(e))])]))))}const Xp=h.createElement("span",{children:" • ",className:"mx-1"}),zx=(()=>{let e,t,n,r;const l=X((e=S([(t=S([h.createElement("span",{children:["Icons from "]}),h.createElement("a",{href:"https://www.flaticon.com",children:"flaticon"})]),h.createElement("span",{children:v.Children.toArray(Array.from(t))})),Xp,(n=S([h.createElement("a",{href:"https://fable.io",children:"Fable"}),h.createElement("span",{children:[" |> ❤️"]})]),h.createElement("span",{children:v.Children.toArray(Array.from(n))})),Xp,(r=S([h.createElement("span",{children:["Usage under "]}),h.createElement("a",{href:"https://github.com/Freymaurer/Dicacle/blob/main/LICENSE",children:"GNU GPL"})]),h.createElement("span",{children:v.Children.toArray(Array.from(r))}))]),h.createElement("div",{className:"container",children:v.Children.toArray(Array.from(e))})));return h.createElement("div",{className:"hero-foot",children:v.Children.toArray(Array.from(l))})})();function Bx(){return h.createElement(JS,null)}function Ux(){return h.createElement(wx,null)}function Vx(){let e,t,n;const r=ya(Kp(Wy(window.location.hash,1)));return kx(O(S([["onUrlChanged",l=>{r[1](Kp(l))}],(e=X((t=S([h.createElement($x,null),h.createElement("section",O(K("hero",S([["className","is-fullheight-with-navbar"],(n=oe(N(()=>{let l;return ee((l=r[0],l.tag===1?F(Bx()):l.tag===2?F(h.createElement("h1",{children:["404: Page not found"]})):F(Ux())),N(()=>F(zx)))})),["children",v.Children.toArray(Array.from(n))])]))))]),h.createElement("div",{children:v.Children.toArray(Array.from(t))}))),["application",h.createElement(h.Fragment,{},...e)])])))}const Hx=cg(document.getElementById("feliz-app"));Hx.render(h.createElement(Vx,null)); diff --git a/assets/index-c06a6b9f.css b/assets/index-f1215055.css similarity index 96% rename from assets/index-c06a6b9f.css rename to assets/index-f1215055.css index 2d2a66c..a377f19 100644 --- a/assets/index-c06a6b9f.css +++ b/assets/index-f1215055.css @@ -1 +1 @@ -.hero{max-height:calc(100vh - 3.25rem)}.hero-body{flex-shrink:1}.dice-result-container{width:100%}.dice-result-container span{font-size:1rem;display:flex;align-items:center;flex-wrap:wrap}.dice-result-subsum-container>span:not(:last-child){margin-right:1rem}.dice-result-subsum{font-size:1.3rem!important;border-radius:3px;border:1px solid black;padding:2px 3px}.dice-roll-sum span{font-size:1.7rem!important}.reference-table tr td:first-child{width:30%}#command-container ul>li{margin-top:.25rem;cursor:pointer;background-color:#f5f5f5;height:fit-content}#command-container ul>li code{margin-right:1rem}#command-container ul>li div{display:flex;align-items:center}#command-container ul>li:hover{filter:brightness(90%)}#dice-roller-button .icon:before{display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased;content:"Roll!"}#dice-roller-history{position:relative;overflow:hidden;max-width:40%;max-height:calc(100vh - 3.25rem);min-width:300px}#dice-roller-history-inner{padding-left:1.5rem;padding-right:1.5rem;display:flex;height:100%;overflow:auto;flex-direction:column-reverse;border-left:.5px solid lightgrey}#history-container>.field:not(:last-child){border-bottom:1px solid black;padding-bottom:.2rem}#dice-roller-history-toggle-button{font-size:1.25rem;position:fixed;right:0;margin-top:2px;z-index:31}@media screen and (max-width: 1228px){#dice-roller-history{max-width:30%}}@media screen and (max-width: 481px),screen and (max-height: 481px){.hero-body{align-items:flex-start!important}#dice-roller-history{position:absolute;left:0;max-width:unset;min-width:unset;width:100%;z-index:10}#dice-roller-history-inner{height:calc(100vh - 3.25rem);padding-bottom:1rem}#dice-roller-button,#dice-roller-dice-storage{padding:.5em!important}#dice-roller-button .icon:before{display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased;font:var(--fa-font-solid);content:""}.modal-content{max-height:unset;flex-grow:1}.modal-content .box{min-height:100%}}.flame{z-index:0;animation:burnBabyBurn .4s linear infinite;height:1px;transform:scale(5) translate(-13px,-15px);width:1px}.glow{background-color:#ffb778;border-radius:50%;filter:blur(100px);height:280px;opacity:.5;width:280px}.flame,.glow{bottom:0;left:0;margin:auto;pointer-events:none;position:absolute;right:-50px;top:-60px}@keyframes burnBabyBurn{0%{box-shadow:12px 2px #fd3b1c,12px 3px #fe2d00,13px 3px #fe633b,12px 4px #fe6500,13px 4px #fe7b00,14px 4px #fd4400,15px 4px #fd3a1d,12px 5px #fe6501,13px 5px #febb03,14px 5px #fca306,15px 5px #fd5107,16px 5px #fd3c17,12px 6px #fd4017,13px 6px #fe760c,14px 6px #fdac05,15px 6px #fd9c05,16px 6px #fe520a,17px 6px #fe471f,13px 7px #fd390d,14px 7px #fe7315,15px 7px #feb202,16px 7px #fd9701,17px 7px #fd530b,13px 8px #fe5f13,14px 8px #fd9009,15px 8px #fda300,16px 8px #fd9d00,17px 8px #fd5d13,11px 9px #fe3813,12px 9px #fe691b,13px 9px #fd9609,14px 9px #fdaa00,15px 9px #fdb302,16px 9px #fd9b00,17px 9px #fe5a11,10px 10px #ff441a,11px 10px #fe6b1f,12px 10px #fe9405,13px 10px #fdac00,14px 10px #feb504,15px 10px #fdc804,16px 10px #fca202,17px 10px #fe581a,8px 11px #fc330e,9px 11px #ff4521,10px 11px #fe691e,11px 11px #fd9907,12px 11px #fda500,13px 11px #feb403,14px 11px #fec807,15px 11px #fdc403,16px 11px #fca102,17px 11px #fe6117,18px 11px #fe3102,7px 12px #fb5326,8px 12px #ff2d06,9px 12px #ff6722,10px 12px #fd9b09,11px 12px #fda400,12px 12px #feb103,13px 12px #fdc306,14px 12px #fec505,15px 12px #fdbb04,16px 12px #fd9f00,17px 12px #fd9504,18px 12px #fc6b11,7px 13px #fe491e,8px 13px #fe660e,9px 13px #fe9708,10px 13px #fdad00,11px 13px #feb603,12px 13px #fdc106,13px 13px #fdc407,14px 13px #fdc405,15px 13px #fdb904,16px 13px #fe9c00,17px 13px #fda600,18px 13px #fc7f15,19px 13px #fe2c00,6px 14px #fb5337,7px 14px #ff3313,8px 14px #fe8018,9px 14px #feaa00,10px 14px #fda501,11px 14px #febf07,12px 14px #fdc906,13px 14px #fdbb00,14px 14px #fdbc00,15px 14px #fdc005,16px 14px #feb002,17px 14px #fca800,18px 14px #fc7711,19px 14px #ff4212,6px 15px #fb6341,7px 15px #ff4403,8px 15px #fe860e,9px 15px #fea200,10px 15px #fead03,11px 15px #fec006,12px 15px #fdc406,13px 15px #fec70d,14px 15px #fcc309,15px 15px #fcba00,16px 15px #fec401,17px 15px #fcae00,18px 15px #fc6713,19px 15px #fe4829,20px 15px #fe4b1d,6px 16px #fb6e40,7px 16px #fe7300,8px 16px #fda302,9px 16px #fda902,10px 16px #fdc205,11px 16px #fdbf03,12px 16px #fdb702,13px 16px #fed71d,14px 16px #fce32a,15px 16px #fdc60c,16px 16px #fdc502,17px 16px #fca700,18px 16px #fc700f,19px 16px #fe5426,20px 16px #fe4b1a,6px 17px #fc5b21,7px 17px #fe8f05,8px 17px #febe00,9px 17px #fec205,10px 17px #fdc605,11px 17px #fdbc03,12px 17px #fdb803,13px 17px #fed920,14px 17px #fdf63c,15px 17px #fde124,16px 17px #fdc107,17px 17px #fc9d00,18px 17px #fd9804,19px 17px #fd7a12,20px 17px #fd4c1a,21px 17px #ff5124,6px 18px #fe4e10,7px 18px #fe970d,8px 18px #fec701,9px 18px #fdcc06,10px 18px #febe03,11px 18px #fdbc05,12px 18px #fed319,13px 18px #feea30,14px 18px #fde92f,15px 18px #fbd318,16px 18px #febf06,17px 18px #feb204,18px 18px #fcb800,19px 18px #fc8d0a,20px 18px #fd420d,21px 18px #fe4d23,6px 19px #fe5211,7px 19px #fe9d0e,8px 19px #febd00,9px 19px #fdb904,10px 19px #febc02,11px 19px #fec207,12px 19px #feeb31,13px 19px #fcff44,14px 19px #fcdd22,15px 19px #fcb601,16px 19px #febe02,17px 19px #fecd07,18px 19px #fcbf01,19px 19px #fc880e,20px 19px #fd3803,21px 19px #fe491e,6px 20px #fd5b20,7px 20px #fd7e08,8px 20px #fc9c03,9px 20px #feaa01,10px 20px #fec504,11px 20px #fec507,12px 20px #fddc23,13px 20px #fcec31,14px 20px #fcd41a,15px 20px #fdb901,16px 20px #febe04,17px 20px #fdc006,18px 20px #fdba00,19px 20px #fc8307,20px 20px #fd4a19,21px 20px #fd6747,6px 21px #fa5732,7px 21px #fe3d05,8px 21px #fd8210,9px 21px #fdb600,10px 21px #fec504,11px 21px #fdc106,12px 21px #fdbf07,13px 21px #fcc20a,14px 21px #fdc106,15px 21px #fdc305,16px 21px #fdc306,17px 21px #fda502,18px 21px #fda202,19px 21px #fc6e00,20px 21px #fd6640,6px 22px #fb5a46,7px 22px #ff2f10,8px 22px #fe8016,9px 22px #fdaf01,10px 22px #feb102,11px 22px #febf06,12px 22px #fdbf02,13px 22px #fdb900,14px 22px #fdbc01,15px 22px #fdc507,16px 22px #fec605,17px 22px #fda900,18px 22px #fc7f0d,19px 22px #fd3f00,7px 23px #fc5a31,8px 23px #fe5508,9px 23px #fe850d,10px 23px #feaa01,11px 23px #fec904,12px 23px #fdcd07,13px 23px #fdc706,14px 23px #fdc806,15px 23px #fdc304,16px 23px #feb501,17px 23px #fdb101,18px 23px #fb7518,19px 23px #fd2807,7px 24px #fb7455,8px 24px #fe1c00,9px 24px #ff6b1d,10px 24px #feb601,11px 24px #fdc400,12px 24px #fcbd02,13px 24px #fdbc01,14px 24px #fdbe01,15px 24px #fcbb00,16px 24px #fca200,17px 24px #fc8d06,18px 24px #fc5f0e,8px 25px #fc3917,9px 25px #fe5708,10px 25px #fe8c02,11px 25px #fe8b03,12px 25px #fc8003,13px 25px #fc8303,14px 25px #fd8203,15px 25px #fd8a03,16px 25px #fc8603,17px 25px #fc4e0a,18px 25px #fe1f00,9px 26px #fc4518,10px 26px #ff5428,11px 26px #fd5c2b,12px 26px #fe592b,13px 26px #fd592b,14px 26px #fe592b,15px 26px #fe5b2b,16px 26px #fd5d2a,17px 26px #fe5128}33%{box-shadow:12px 2px #fd3b1c,12px 3px #fe2d00,13px 3px #fe633b,12px 4px #fe6500,13px 4px #fe7b00,14px 4px #fd4400,15px 4px #fd3a1d,12px 5px #fe6501,13px 5px #febb03,14px 5px #fca306,15px 5px #fd5107,16px 5px #fd3c17,12px 6px #fd4017,13px 6px #fe760c,14px 6px #fdac05,15px 6px #fd9c05,16px 6px #fe520a,17px 6px #fe471f,13px 7px #fd390d,14px 7px #fe7315,15px 7px #feb202,16px 7px #fd9701,17px 7px #fd530b,13px 8px #fe5f13,14px 8px #fd9009,15px 8px #fda300,16px 8px #fd9d00,17px 8px #fd5d13,11px 9px #fe3813,12px 9px #fe691b,13px 9px #fd9609,14px 9px #fdaa00,15px 9px #fdb302,16px 9px #fd9b00,17px 9px #fe5a11,10px 10px #ff441a,11px 10px #fe6b1f,12px 10px #fe9405,13px 10px #fdac00,14px 10px #feb504,15px 10px #fdc804,16px 10px #fca202,17px 10px #fe581a,8px 11px #fc330e,9px 11px #ff4521,10px 11px #fe691e,11px 11px #fd9907,12px 11px #fda500,13px 11px #feb403,14px 11px #fec807,15px 11px #fdc403,16px 11px #fca102,17px 11px #fe6117,18px 11px #fe3102,7px 12px #fb5326,8px 12px #ff2d06,9px 12px #ff6722,10px 12px #fd9b09,11px 12px #fda400,12px 12px #feb103,13px 12px #fdc306,14px 12px #fec505,15px 12px #fdbb04,16px 12px #fd9f00,17px 12px #fd9504,18px 12px #fc6b11,7px 13px #fe491e,8px 13px #fe660e,9px 13px #fe9708,10px 13px #fdad00,11px 13px #feb603,12px 13px #fdc106,13px 13px #fdc407,14px 13px #fdc405,15px 13px #fdb904,16px 13px #fe9c00,17px 13px #fda600,18px 13px #fc7f15,19px 13px #fe2c00,6px 14px #fb5337,7px 14px #ff3313,8px 14px #fe8018,9px 14px #feaa00,10px 14px #fda501,11px 14px #febf07,12px 14px #fdc906,13px 14px #fdbb00,14px 14px #fdbc00,15px 14px #fdc005,16px 14px #feb002,17px 14px #fca800,18px 14px #fc7711,19px 14px #ff4212,6px 15px #fb6341,7px 15px #ff4403,8px 15px #fe860e,9px 15px #fea200,10px 15px #fead03,11px 15px #fec006,12px 15px #fdc406,13px 15px #fec70d,14px 15px #fcc309,15px 15px #fcba00,16px 15px #fec401,17px 15px #fcae00,18px 15px #fc6713,19px 15px #fe4829,20px 15px #fe4b1d,6px 16px #fb6e40,7px 16px #fe7300,8px 16px #fda302,9px 16px #fda902,10px 16px #fdc205,11px 16px #fdbf03,12px 16px #fdb702,13px 16px #fed71d,14px 16px #fce32a,15px 16px #fdc60c,16px 16px #fdc502,17px 16px #fca700,18px 16px #fc700f,19px 16px #fe5426,20px 16px #fe4b1a,6px 17px #fc5b21,7px 17px #fe8f05,8px 17px #febe00,9px 17px #fec205,10px 17px #fdc605,11px 17px #fdbc03,12px 17px #fdb803,13px 17px #fed920,14px 17px #fdf63c,15px 17px #fde124,16px 17px #fdc107,17px 17px #fc9d00,18px 17px #fd9804,19px 17px #fd7a12,20px 17px #fd4c1a,21px 17px #ff5124,6px 18px #fe4e10,7px 18px #fe970d,8px 18px #fec701,9px 18px #fdcc06,10px 18px #febe03,11px 18px #fdbc05,12px 18px #fed319,13px 18px #feea30,14px 18px #fde92f,15px 18px #fbd318,16px 18px #febf06,17px 18px #feb204,18px 18px #fcb800,19px 18px #fc8d0a,20px 18px #fd420d,21px 18px #fe4d23,6px 19px #fe5211,7px 19px #fe9d0e,8px 19px #febd00,9px 19px #fdb904,10px 19px #febc02,11px 19px #fec207,12px 19px #feeb31,13px 19px #fcff44,14px 19px #fcdd22,15px 19px #fcb601,16px 19px #febe02,17px 19px #fecd07,18px 19px #fcbf01,19px 19px #fc880e,20px 19px #fd3803,21px 19px #fe491e,6px 20px #fd5b20,7px 20px #fd7e08,8px 20px #fc9c03,9px 20px #feaa01,10px 20px #fec504,11px 20px #fec507,12px 20px #fddc23,13px 20px #fcec31,14px 20px #fcd41a,15px 20px #fdb901,16px 20px #febe04,17px 20px #fdc006,18px 20px #fdba00,19px 20px #fc8307,20px 20px #fd4a19,21px 20px #fd6747,6px 21px #fa5732,7px 21px #fe3d05,8px 21px #fd8210,9px 21px #fdb600,10px 21px #fec504,11px 21px #fdc106,12px 21px #fdbf07,13px 21px #fcc20a,14px 21px #fdc106,15px 21px #fdc305,16px 21px #fdc306,17px 21px #fda502,18px 21px #fda202,19px 21px #fc6e00,20px 21px #fd6640,6px 22px #fb5a46,7px 22px #ff2f10,8px 22px #fe8016,9px 22px #fdaf01,10px 22px #feb102,11px 22px #febf06,12px 22px #fdbf02,13px 22px #fdb900,14px 22px #fdbc01,15px 22px #fdc507,16px 22px #fec605,17px 22px #fda900,18px 22px #fc7f0d,19px 22px #fd3f00,7px 23px #fc5a31,8px 23px #fe5508,9px 23px #fe850d,10px 23px #feaa01,11px 23px #fec904,12px 23px #fdcd07,13px 23px #fdc706,14px 23px #fdc806,15px 23px #fdc304,16px 23px #feb501,17px 23px #fdb101,18px 23px #fb7518,19px 23px #fd2807,7px 24px #fb7455,8px 24px #fe1c00,9px 24px #ff6b1d,10px 24px #feb601,11px 24px #fdc400,12px 24px #fcbd02,13px 24px #fdbc01,14px 24px #fdbe01,15px 24px #fcbb00,16px 24px #fca200,17px 24px #fc8d06,18px 24px #fc5f0e,8px 25px #fc3917,9px 25px #fe5708,10px 25px #fe8c02,11px 25px #fe8b03,12px 25px #fc8003,13px 25px #fc8303,14px 25px #fd8203,15px 25px #fd8a03,16px 25px #fc8603,17px 25px #fc4e0a,18px 25px #fe1f00,9px 26px #fc4518,10px 26px #ff5428,11px 26px #fd5c2b,12px 26px #fe592b,13px 26px #fd592b,14px 26px #fe592b,15px 26px #fe5b2b,16px 26px #fd5d2a,17px 26px #fe5128}33.01%{box-shadow:14px 0 #fc7659,13px 1px #f74f31,14px 1px #fe5a42,12px 2px #fc785e,13px 2px #fc2a08,14px 2px #ff3c1a,11px 3px #f96d4a,12px 3px #fe410c,13px 3px #ff5f08,14px 3px #fe541e,11px 4px #fd3109,12px 4px #fe6514,13px 4px #fd9e04,14px 4px #fd5620,10px 5px #fc744f,11px 5px #ff3000,12px 5px #ff7118,13px 5px #fda107,14px 5px #fc6012,15px 5px #fe4620,10px 6px #fd4822,11px 6px #ff7211,12px 6px #fe9e06,13px 6px #fda102,14px 6px #fd9506,15px 6px #fd5400,16px 6px #fd3c19,9px 7px #fd401a,10px 7px #ff3314,11px 7px #fe801a,12px 7px #febb00,13px 7px #feb801,14px 7px #fdae00,15px 7px #fc6c18,16px 7px #fe1c05,17px 7px #fd6e4d,8px 8px #fc4a1f,9px 8px #ff3e0b,10px 8px #fe6d24,11px 8px #fd8609,12px 8px #feb300,13px 8px #fec604,14px 8px #fda301,15px 8px #fd7a0c,16px 8px #fc4f09,17px 8px #fc6035,8px 9px #fd4721,9px 9px #ff430a,10px 9px #fe9415,11px 9px #fdaa00,12px 9px #feaa03,13px 9px #fec006,14px 9px #fda900,15px 9px #fea600,16px 9px #fc880f,17px 9px #fe3813,18px 9px #ff4e27,8px 10px #fd4b23,9px 10px #ff450a,10px 10px #fe9113,11px 10px #fda900,12px 10px #fea803,13px 10px #fec207,14px 10px #fec404,15px 10px #fdb100,16px 10px #fc7f0d,17px 10px #fe3b0f,18px 10px #ff5328,19px 10px #fb6c3c,8px 11px #fe5916,9px 11px #fe890b,10px 11px #fea002,11px 11px #fd9900,12px 11px #fea602,13px 11px #fec406,14px 11px #fec706,15px 11px #fca601,16px 11px #fd9402,17px 11px #fd800a,18px 11px #fe5520,19px 11px #fc4e26,7px 12px #fd330f,8px 12px #ff6214,9px 12px #fea80b,10px 12px #fea900,11px 12px #fd9100,12px 12px #fea100,13px 12px #fec305,14px 12px #fdc407,15px 12px #feb504,16px 12px #fcb800,17px 12px #fc9a08,18px 12px #fd4923,19px 12px #ff3212,20px 12px #fe5f3a,7px 13px #fd3a0f,8px 13px #ff6014,9px 13px #fe9f09,10px 13px #fea700,11px 13px #fd9e01,12px 13px #feb103,13px 13px #fdbf05,14px 13px #fdba00,15px 13px #fec303,16px 13px #fcbc03,17px 13px #fd9303,18px 13px #fe6f16,19px 13px #ff561c,20px 13px #ff350d,7px 14px #fd3a0d,8px 14px #ff6215,9px 14px #fe9909,10px 14px #fe9f00,11px 14px #fea904,12px 14px #fdc705,13px 14px #fdc107,14px 14px #fec40b,15px 14px #fdc204,16px 14px #fdb000,17px 14px #ffa501,18px 14px #fd9d03,19px 14px #fb5f1b,20px 14px #fe310e,21px 14px #fd6b44,7px 15px #fe360e,8px 15px #ff5c19,9px 15px #fe9a09,10px 15px #fea500,11px 15px #fdad04,12px 15px #fdc604,13px 15px #fdc108,14px 15px #ffe128,15px 15px #fdd119,16px 15px #fdba02,17px 15px #febe02,18px 15px #fca200,19px 15px #fc6315,20px 15px #ff4a20,21px 15px #fe5422,6px 16px #fb5a35,7px 16px #ff3f1d,8px 16px #fe5c20,9px 16px #fe9b07,10px 16px #febb00,11px 16px #fdbe06,12px 16px #fdbd01,13px 16px #fdbe05,14px 16px #ffe830,15px 16px #feeb36,16px 16px #fdd717,17px 16px #fcbe03,18px 16px #fd9a00,19px 16px #fd9007,20px 16px #fe7018,21px 16px #fe4616,22px 16px #fe4212,6px 17px #ff4019,7px 17px #ff601c,8px 17px #fe8412,9px 17px #fd9d02,10px 17px #febd01,11px 17px #fdc905,12px 17px #fec50a,13px 17px #fed81f,14px 17px #ffeb32,15px 17px #fff63e,16px 17px #fde124,17px 17px #fdba04,18px 17px #fead00,19px 17px #fdb200,20px 17px #fc7e0e,21px 17px #fd4519,22px 17px #fe4318,6px 18px #ff4217,7px 18px #fe740f,8px 18px #fdae02,9px 18px #fdb100,10px 18px #fdb703,11px 18px #fdc001,12px 18px #fed116,13px 18px #fff941,14px 18px #fff73d,15px 18px #fff73f,16px 18px #fcdf26,17px 18px #fdbe03,18px 18px #fdc001,19px 18px #fcb401,20px 18px #fc7b12,21px 18px #fd4011,22px 18px #fe3b0e,6px 19px #fe3d13,7px 19px #fe710f,8px 19px #fdb501,9px 19px #feca03,10px 19px #fdc306,11px 19px #fdbb02,12px 19px #fdcb13,13px 19px #feeb33,14px 19px #ffe92f,15px 19px #ffe72e,16px 19px #fcd51b,17px 19px #fec103,18px 19px #fdc604,19px 19px #fcb001,20px 19px #fc720d,21px 19px #fd4e24,22px 19px #fe5c36,6px 20px #fe4722,7px 20px #fe6f0f,8px 20px #feb502,9px 20px #fece01,10px 20px #fec306,11px 20px #febc04,12px 20px #fdc207,13px 20px #fdc40a,14px 20px #fdc40b,15px 20px #fdc40b,16px 20px #fdc409,17px 20px #fec405,18px 20px #fdc005,19px 20px #fcb200,20px 20px #fc6903,21px 20px #fd6d52,6px 21px #fb6e51,7px 21px #fd6404,8px 21px #ffac00,9px 21px #fdb604,10px 21px #fda901,11px 21px #feb603,12px 21px #fdc404,13px 21px #feba00,14px 21px #fcb900,15px 21px #fdb900,16px 21px #fdc003,17px 21px #fdc005,18px 21px #fdae02,19px 21px #fdaa00,20px 21px #fb6701,21px 21px #ff6c31,7px 22px #fc4c0b,8px 22px #ff6e04,9px 22px #fd7a0f,10px 22px #fe9103,11px 22px #fdb101,12px 22px #fdbc04,13px 22px #fec606,14px 22px #fdc606,15px 22px #fec806,16px 22px #fdc005,17px 22px #fdb001,18px 22px #fea000,19px 22px #fd8709,20px 22px #fd4f04,21px 22px #ff6c31,7px 23px #fc5630,8px 23px #ff3314,9px 23px #fe3911,10px 23px #ff730e,11px 23px #fd9f04,12px 23px #fead00,13px 23px #fdbf02,14px 23px #fdbf03,15px 23px #fdc102,16px 23px #fcb500,17px 23px #fd9f01,18px 23px #fd880a,19px 23px #fc571e,20px 23px #fe2d07,21px 23px #ff7049,9px 24px #ff5034,10px 24px #fc4d23,11px 24px #fd5f02,12px 24px #fe9502,13px 24px #fc9705,14px 24px #fc9408,15px 24px #fc9405,16px 24px #fd9c04,17px 24px #fd8d0c,18px 24px #fd5620,19px 24px #fe3918,20px 24px #ff451f,11px 25px #fe3913,12px 25px #fe5d20,13px 25px #fe5615,14px 25px #fe5415,15px 25px #fe5516,16px 25px #fe5a15,17px 25px #fe5918,18px 25px #fe4619,19px 25px #fe3f19,13px 26px #fb411c,14px 26px #ff411a,15px 26px #fe4925,16px 26px #fe4725,17px 26px #fe3c12,18px 26px #fe521b,13px 27px #f96034,14px 27px #ff6232,15px 27px #fe6c3f,16px 27px #fe6b40}66%{box-shadow:14px 0 #fc7659,13px 1px #f74f31,14px 1px #fe5a42,12px 2px #fc785e,13px 2px #fc2a08,14px 2px #ff3c1a,11px 3px #f96d4a,12px 3px #fe410c,13px 3px #ff5f08,14px 3px #fe541e,11px 4px #fd3109,12px 4px #fe6514,13px 4px #fd9e04,14px 4px #fd5620,10px 5px #fc744f,11px 5px #ff3000,12px 5px #ff7118,13px 5px #fda107,14px 5px #fc6012,15px 5px #fe4620,10px 6px #fd4822,11px 6px #ff7211,12px 6px #fe9e06,13px 6px #fda102,14px 6px #fd9506,15px 6px #fd5400,16px 6px #fd3c19,9px 7px #fd401a,10px 7px #ff3314,11px 7px #fe801a,12px 7px #febb00,13px 7px #feb801,14px 7px #fdae00,15px 7px #fc6c18,16px 7px #fe1c05,17px 7px #fd6e4d,8px 8px #fc4a1f,9px 8px #ff3e0b,10px 8px #fe6d24,11px 8px #fd8609,12px 8px #feb300,13px 8px #fec604,14px 8px #fda301,15px 8px #fd7a0c,16px 8px #fc4f09,17px 8px #fc6035,8px 9px #fd4721,9px 9px #ff430a,10px 9px #fe9415,11px 9px #fdaa00,12px 9px #feaa03,13px 9px #fec006,14px 9px #fda900,15px 9px #fea600,16px 9px #fc880f,17px 9px #fe3813,18px 9px #ff4e27,8px 10px #fd4b23,9px 10px #ff450a,10px 10px #fe9113,11px 10px #fda900,12px 10px #fea803,13px 10px #fec207,14px 10px #fec404,15px 10px #fdb100,16px 10px #fc7f0d,17px 10px #fe3b0f,18px 10px #ff5328,19px 10px #fb6c3c,8px 11px #fe5916,9px 11px #fe890b,10px 11px #fea002,11px 11px #fd9900,12px 11px #fea602,13px 11px #fec406,14px 11px #fec706,15px 11px #fca601,16px 11px #fd9402,17px 11px #fd800a,18px 11px #fe5520,19px 11px #fc4e26,7px 12px #fd330f,8px 12px #ff6214,9px 12px #fea80b,10px 12px #fea900,11px 12px #fd9100,12px 12px #fea100,13px 12px #fec305,14px 12px #fdc407,15px 12px #feb504,16px 12px #fcb800,17px 12px #fc9a08,18px 12px #fd4923,19px 12px #ff3212,20px 12px #fe5f3a,7px 13px #fd3a0f,8px 13px #ff6014,9px 13px #fe9f09,10px 13px #fea700,11px 13px #fd9e01,12px 13px #feb103,13px 13px #fdbf05,14px 13px #fdba00,15px 13px #fec303,16px 13px #fcbc03,17px 13px #fd9303,18px 13px #fe6f16,19px 13px #ff561c,20px 13px #ff350d,7px 14px #fd3a0d,8px 14px #ff6215,9px 14px #fe9909,10px 14px #fe9f00,11px 14px #fea904,12px 14px #fdc705,13px 14px #fdc107,14px 14px #fec40b,15px 14px #fdc204,16px 14px #fdb000,17px 14px #ffa501,18px 14px #fd9d03,19px 14px #fb5f1b,20px 14px #fe310e,21px 14px #fd6b44,7px 15px #fe360e,8px 15px #ff5c19,9px 15px #fe9a09,10px 15px #fea500,11px 15px #fdad04,12px 15px #fdc604,13px 15px #fdc108,14px 15px #ffe128,15px 15px #fdd119,16px 15px #fdba02,17px 15px #febe02,18px 15px #fca200,19px 15px #fc6315,20px 15px #ff4a20,21px 15px #fe5422,6px 16px #fb5a35,7px 16px #ff3f1d,8px 16px #fe5c20,9px 16px #fe9b07,10px 16px #febb00,11px 16px #fdbe06,12px 16px #fdbd01,13px 16px #fdbe05,14px 16px #ffe830,15px 16px #feeb36,16px 16px #fdd717,17px 16px #fcbe03,18px 16px #fd9a00,19px 16px #fd9007,20px 16px #fe7018,21px 16px #fe4616,22px 16px #fe4212,6px 17px #ff4019,7px 17px #ff601c,8px 17px #fe8412,9px 17px #fd9d02,10px 17px #febd01,11px 17px #fdc905,12px 17px #fec50a,13px 17px #fed81f,14px 17px #ffeb32,15px 17px #fff63e,16px 17px #fde124,17px 17px #fdba04,18px 17px #fead00,19px 17px #fdb200,20px 17px #fc7e0e,21px 17px #fd4519,22px 17px #fe4318,6px 18px #ff4217,7px 18px #fe740f,8px 18px #fdae02,9px 18px #fdb100,10px 18px #fdb703,11px 18px #fdc001,12px 18px #fed116,13px 18px #fff941,14px 18px #fff73d,15px 18px #fff73f,16px 18px #fcdf26,17px 18px #fdbe03,18px 18px #fdc001,19px 18px #fcb401,20px 18px #fc7b12,21px 18px #fd4011,22px 18px #fe3b0e,6px 19px #fe3d13,7px 19px #fe710f,8px 19px #fdb501,9px 19px #feca03,10px 19px #fdc306,11px 19px #fdbb02,12px 19px #fdcb13,13px 19px #feeb33,14px 19px #ffe92f,15px 19px #ffe72e,16px 19px #fcd51b,17px 19px #fec103,18px 19px #fdc604,19px 19px #fcb001,20px 19px #fc720d,21px 19px #fd4e24,22px 19px #fe5c36,6px 20px #fe4722,7px 20px #fe6f0f,8px 20px #feb502,9px 20px #fece01,10px 20px #fec306,11px 20px #febc04,12px 20px #fdc207,13px 20px #fdc40a,14px 20px #fdc40b,15px 20px #fdc40b,16px 20px #fdc409,17px 20px #fec405,18px 20px #fdc005,19px 20px #fcb200,20px 20px #fc6903,21px 20px #fd6d52,6px 21px #fb6e51,7px 21px #fd6404,8px 21px #ffac00,9px 21px #fdb604,10px 21px #fda901,11px 21px #feb603,12px 21px #fdc404,13px 21px #feba00,14px 21px #fcb900,15px 21px #fdb900,16px 21px #fdc003,17px 21px #fdc005,18px 21px #fdae02,19px 21px #fdaa00,20px 21px #fb6701,21px 21px #ff6c31,7px 22px #fc4c0b,8px 22px #ff6e04,9px 22px #fd7a0f,10px 22px #fe9103,11px 22px #fdb101,12px 22px #fdbc04,13px 22px #fec606,14px 22px #fdc606,15px 22px #fec806,16px 22px #fdc005,17px 22px #fdb001,18px 22px #fea000,19px 22px #fd8709,20px 22px #fd4f04,21px 22px #ff6c31,7px 23px #fc5630,8px 23px #ff3314,9px 23px #fe3911,10px 23px #ff730e,11px 23px #fd9f04,12px 23px #fead00,13px 23px #fdbf02,14px 23px #fdbf03,15px 23px #fdc102,16px 23px #fcb500,17px 23px #fd9f01,18px 23px #fd880a,19px 23px #fc571e,20px 23px #fe2d07,21px 23px #ff7049,9px 24px #ff5034,10px 24px #fc4d23,11px 24px #fd5f02,12px 24px #fe9502,13px 24px #fc9705,14px 24px #fc9408,15px 24px #fc9405,16px 24px #fd9c04,17px 24px #fd8d0c,18px 24px #fd5620,19px 24px #fe3918,20px 24px #ff451f,11px 25px #fe3913,12px 25px #fe5d20,13px 25px #fe5615,14px 25px #fe5415,15px 25px #fe5516,16px 25px #fe5a15,17px 25px #fe5918,18px 25px #fe4619,19px 25px #fe3f19,13px 26px #fb411c,14px 26px #ff411a,15px 26px #fe4925,16px 26px #fe4725,17px 26px #fe3c12,18px 26px #fe521b,13px 27px #f96034,14px 27px #ff6232,15px 27px #fe6c3f,16px 27px #fe6b40}66.01%{box-shadow:17px 2px #f96648,18px 2px #f82100,15px 3px #fb4a1f,16px 3px #fc5b28,17px 3px #fe4d15,18px 3px #fd3c0a,14px 4px #fd4d2a,15px 4px #ff3e0e,16px 4px #ff4006,17px 4px #fe460b,18px 4px #ff6231,13px 5px #f93611,14px 5px #ff4f08,15px 5px #fe7d16,16px 5px #fe5a2b,17px 5px #fd6138,12px 6px #fb5029,13px 6px #ff4908,14px 6px #fe8b12,15px 6px #fd7b00,16px 6px #fe6948,12px 7px #fd5927,13px 7px #ff8200,14px 7px #fe850e,15px 7px #fd3b11,16px 7px #fe653c,17px 7px #f98259,11px 8px #fc5a39,12px 8px #fe5118,13px 8px #ff9807,14px 8px #fe790c,15px 8px #fd352c,16px 8px #fe4926,17px 8px #fd5826,11px 9px #ff360b,12px 9px #ff4920,13px 9px #ff8e0e,14px 9px #ff8d05,15px 9px #fe6f19,16px 9px #ff6b0b,17px 9px #fe3f00,10px 10px #fd480f,11px 10px #ff551c,12px 10px #fe6722,13px 10px #ff8907,14px 10px orange,15px 10px #ffb002,16px 10px #fe9900,17px 10px #fd4c09,18px 10px #fc867c,9px 11px #fb4312,10px 11px #fe3f16,11px 11px #ff631b,12px 11px #ff9a09,13px 11px #ff9801,14px 11px #ffb003,15px 11px #fec702,16px 11px #fe9800,17px 11px #fd5b18,18px 11px #fd2f15,19px 11px #fd7d63,9px 12px #fe4519,10px 12px #ff4727,11px 12px #fe5b1e,12px 12px #ffa002,13px 12px #ffb800,14px 12px #ffc403,15px 12px #febb01,16px 12px #fe9200,17px 12px #ff8c07,18px 12px #fe5509,19px 12px #fe4322,20px 12px #fd6f4b,8px 13px #fc5136,9px 13px #fe2d10,10px 13px #fe672a,11px 13px #ff820f,12px 13px #ff9600,13px 13px #ffbe02,14px 13px #ffc800,15px 13px #ffb600,16px 13px #feaf02,17px 13px #fe9e00,18px 13px #fe8c0b,19px 13px #fd5803,20px 13px #fc4813,8px 14px #fd5a34,9px 14px #ff4202,10px 14px #ff8616,11px 14px #ff9d01,12px 14px #ffa401,13px 14px #ffbc04,14px 14px #fecc0c,15px 14px #fec90e,16px 14px #febd00,17px 14px #fea501,18px 14px #ffab02,19px 14px #fe7c00,20px 14px #fc441b,8px 15px #fc6738,9px 15px #ff6b00,10px 15px #ffa203,11px 15px #ffa401,12px 15px #ffbd02,13px 15px #ffbd02,14px 15px #fdd71f,15px 15px #fce432,16px 15px #fec207,17px 15px #ffbc02,18px 15px #feb700,19px 15px #fc8906,20px 15px #fc4c18,21px 15px #fe4a2c,8px 16px #fc6738,9px 16px #ff7400,10px 16px #ffbc00,11px 16px #ffbf02,12px 16px #ffc402,13px 16px #ffba00,14px 16px #fed620,15px 16px #fdf449,16px 16px #fde12f,17px 16px #ffcd0e,18px 16px #feab01,19px 16px #fd9704,20px 16px #fc7805,21px 16px #fe4c0f,22px 16px #ff1c1c,8px 17px #fc6438,9px 17px #ff7000,10px 17px #ffc801,11px 17px #ffd301,12px 17px #ffc303,13px 17px #ffcc18,14px 17px #fee12e,15px 17px #fdf44a,16px 17px #fcfb4d,17px 17px #fdd017,18px 17px #fea101,19px 17px #ff9e00,20px 17px #fe9300,21px 17px #fc5d0b,22px 17px #ff6c31,8px 18px #fc6738,9px 18px #f70,10px 18px #ffc100,11px 18px #febc00,12px 18px #ffc208,13px 18px #fde93a,14px 18px #fdf94f,15px 18px #fcef42,16px 18px #fde632,17px 18px #fec90f,18px 18px #fea301,19px 18px #ff9f00,20px 18px #ff9600,21px 18px #fc610f,22px 18px #ff6c31,8px 19px #fc6a3a,9px 19px #fe7000,10px 19px #ffa302,11px 19px #fe9f00,12px 19px #ffc708,13px 19px #fdea35,14px 19px #fcf44a,15px 19px #fcdf2d,16px 19px #ffc20a,17px 19px #ffc403,18px 19px #fead01,19px 19px #ff9a01,20px 19px #fe8800,21px 19px #fc5c10,22px 19px #ff1c1c,8px 20px #fc5c34,9px 20px #fe4603,10px 20px #fe8511,11px 20px #ffa700,12px 20px #ffcb04,13px 20px #fed011,14px 20px #fed019,15px 20px #fec90f,16px 20px #ffbc00,17px 20px #fec601,18px 20px #feb801,19px 20px #fe9006,20px 20px #fc5d09,21px 20px #fd4711,8px 21px #fd5236,9px 21px #ff2c0e,10px 21px #fe801d,11px 21px #ffb200,12px 21px #ffb400,13px 21px #ffbd00,14px 21px #ffc100,15px 21px #ffc300,16px 21px #ffc702,17px 21px #feb502,18px 21px #ffb200,19px 21px #fe8f0a,20px 21px #fd431a,21px 21px #fe361a,9px 22px #fd3c14,10px 22px #ff731a,11px 22px #ff9304,12px 22px #ff9601,13px 22px #ffb102,14px 22px #ffbc00,15px 22px #ffba02,16px 22px #feba03,17px 22px #fd9a01,18px 22px #fe9303,19px 22px #fe7c0c,20px 22px #fd4e1b,9px 23px #fa3b08,10px 23px #fe4716,11px 23px #ff6b14,12px 23px #ff9f05,13px 23px #ffa401,14px 23px #ffa002,15px 23px #ffa001,16px 23px #ffa201,17px 23px #fea100,18px 23px #fd7b12,19px 23px #fd450f,20px 23px #fc4815,9px 24px #f9390b,10px 24px #fd3915,11px 24px #ff5e17,12px 24px #ffa506,13px 24px #ff9e00,14px 24px #ff9400,15px 24px #ff9600,16px 24px #ff9a00,17px 24px #ffa600,18px 24px #fc7414,19px 24px #fd330e,10px 25px #fc613b,11px 25px #fe460a,12px 25px #fe6704,13px 25px #ff7006,14px 25px #ff6b06,15px 25px #ff6b06,16px 25px #ff6e06,17px 25px #fe7006,18px 25px #fd4802,12px 26px #fe5e45,13px 26px #fe6d4d,14px 26px #fe6a4d,15px 26px #fe694d,16px 26px #fe6b4d}to{box-shadow:17px 2px #f96648,18px 2px #f82100,15px 3px #fb4a1f,16px 3px #fc5b28,17px 3px #fe4d15,18px 3px #fd3c0a,14px 4px #fd4d2a,15px 4px #ff3e0e,16px 4px #ff4006,17px 4px #fe460b,18px 4px #ff6231,13px 5px #f93611,14px 5px #ff4f08,15px 5px #fe7d16,16px 5px #fe5a2b,17px 5px #fd6138,12px 6px #fb5029,13px 6px #ff4908,14px 6px #fe8b12,15px 6px #fd7b00,16px 6px #fe6948,12px 7px #fd5927,13px 7px #ff8200,14px 7px #fe850e,15px 7px #fd3b11,16px 7px #fe653c,17px 7px #f98259,11px 8px #fc5a39,12px 8px #fe5118,13px 8px #ff9807,14px 8px #fe790c,15px 8px #fd352c,16px 8px #fe4926,17px 8px #fd5826,11px 9px #ff360b,12px 9px #ff4920,13px 9px #ff8e0e,14px 9px #ff8d05,15px 9px #fe6f19,16px 9px #ff6b0b,17px 9px #fe3f00,10px 10px #fd480f,11px 10px #ff551c,12px 10px #fe6722,13px 10px #ff8907,14px 10px orange,15px 10px #ffb002,16px 10px #fe9900,17px 10px #fd4c09,18px 10px #fc867c,9px 11px #fb4312,10px 11px #fe3f16,11px 11px #ff631b,12px 11px #ff9a09,13px 11px #ff9801,14px 11px #ffb003,15px 11px #fec702,16px 11px #fe9800,17px 11px #fd5b18,18px 11px #fd2f15,19px 11px #fd7d63,9px 12px #fe4519,10px 12px #ff4727,11px 12px #fe5b1e,12px 12px #ffa002,13px 12px #ffb800,14px 12px #ffc403,15px 12px #febb01,16px 12px #fe9200,17px 12px #ff8c07,18px 12px #fe5509,19px 12px #fe4322,20px 12px #fd6f4b,8px 13px #fc5136,9px 13px #fe2d10,10px 13px #fe672a,11px 13px #ff820f,12px 13px #ff9600,13px 13px #ffbe02,14px 13px #ffc800,15px 13px #ffb600,16px 13px #feaf02,17px 13px #fe9e00,18px 13px #fe8c0b,19px 13px #fd5803,20px 13px #fc4813,8px 14px #fd5a34,9px 14px #ff4202,10px 14px #ff8616,11px 14px #ff9d01,12px 14px #ffa401,13px 14px #ffbc04,14px 14px #fecc0c,15px 14px #fec90e,16px 14px #febd00,17px 14px #fea501,18px 14px #ffab02,19px 14px #fe7c00,20px 14px #fc441b,8px 15px #fc6738,9px 15px #ff6b00,10px 15px #ffa203,11px 15px #ffa401,12px 15px #ffbd02,13px 15px #ffbd02,14px 15px #fdd71f,15px 15px #fce432,16px 15px #fec207,17px 15px #ffbc02,18px 15px #feb700,19px 15px #fc8906,20px 15px #fc4c18,21px 15px #fe4a2c,8px 16px #fc6738,9px 16px #ff7400,10px 16px #ffbc00,11px 16px #ffbf02,12px 16px #ffc402,13px 16px #ffba00,14px 16px #fed620,15px 16px #fdf449,16px 16px #fde12f,17px 16px #ffcd0e,18px 16px #feab01,19px 16px #fd9704,20px 16px #fc7805,21px 16px #fe4c0f,22px 16px #ff1c1c,8px 17px #fc6438,9px 17px #ff7000,10px 17px #ffc801,11px 17px #ffd301,12px 17px #ffc303,13px 17px #ffcc18,14px 17px #fee12e,15px 17px #fdf44a,16px 17px #fcfb4d,17px 17px #fdd017,18px 17px #fea101,19px 17px #ff9e00,20px 17px #fe9300,21px 17px #fc5d0b,22px 17px #ff6c31,8px 18px #fc6738,9px 18px #f70,10px 18px #ffc100,11px 18px #febc00,12px 18px #ffc208,13px 18px #fde93a,14px 18px #fdf94f,15px 18px #fcef42,16px 18px #fde632,17px 18px #fec90f,18px 18px #fea301,19px 18px #ff9f00,20px 18px #ff9600,21px 18px #fc610f,22px 18px #ff6c31,8px 19px #fc6a3a,9px 19px #fe7000,10px 19px #ffa302,11px 19px #fe9f00,12px 19px #ffc708,13px 19px #fdea35,14px 19px #fcf44a,15px 19px #fcdf2d,16px 19px #ffc20a,17px 19px #ffc403,18px 19px #fead01,19px 19px #ff9a01,20px 19px #fe8800,21px 19px #fc5c10,22px 19px #ff1c1c,8px 20px #fc5c34,9px 20px #fe4603,10px 20px #fe8511,11px 20px #ffa700,12px 20px #ffcb04,13px 20px #fed011,14px 20px #fed019,15px 20px #fec90f,16px 20px #ffbc00,17px 20px #fec601,18px 20px #feb801,19px 20px #fe9006,20px 20px #fc5d09,21px 20px #fd4711,8px 21px #fd5236,9px 21px #ff2c0e,10px 21px #fe801d,11px 21px #ffb200,12px 21px #ffb400,13px 21px #ffbd00,14px 21px #ffc100,15px 21px #ffc300,16px 21px #ffc702,17px 21px #feb502,18px 21px #ffb200,19px 21px #fe8f0a,20px 21px #fd431a,21px 21px #fe361a,9px 22px #fd3c14,10px 22px #ff731a,11px 22px #ff9304,12px 22px #ff9601,13px 22px #ffb102,14px 22px #ffbc00,15px 22px #ffba02,16px 22px #feba03,17px 22px #fd9a01,18px 22px #fe9303,19px 22px #fe7c0c,20px 22px #fd4e1b,9px 23px #fa3b08,10px 23px #fe4716,11px 23px #ff6b14,12px 23px #ff9f05,13px 23px #ffa401,14px 23px #ffa002,15px 23px #ffa001,16px 23px #ffa201,17px 23px #fea100,18px 23px #fd7b12,19px 23px #fd450f,20px 23px #fc4815,9px 24px #f9390b,10px 24px #fd3915,11px 24px #ff5e17,12px 24px #ffa506,13px 24px #ff9e00,14px 24px #ff9400,15px 24px #ff9600,16px 24px #ff9a00,17px 24px #ffa600,18px 24px #fc7414,19px 24px #fd330e,10px 25px #fc613b,11px 25px #fe460a,12px 25px #fe6704,13px 25px #ff7006,14px 25px #ff6b06,15px 25px #ff6b06,16px 25px #ff6e06,17px 25px #fe7006,18px 25px #fd4802,12px 26px #fe5e45,13px 26px #fe6d4d,14px 26px #fe6a4d,15px 26px #fe694d,16px 26px #fe6b4d}}@keyframes tilt-n-move-shaking-medium{0%{transform:translate(0) rotate(0)}25%{transform:translate(5px,5px) rotate(5deg)}50%{transform:translate(0) rotate(0)}75%{transform:translate(-5px,5px) rotate(-5deg)}to{transform:translate(0) rotate(0)}}@keyframes tilt-n-move-shaking-light{0%{transform:translate(0) rotate(0)}25%{transform:translate(2.5px,2.5px) rotate(2.5deg)}2.50%{transform:translate(0) rotate(0)}72.5%{transform:translate(-2.5px,2.5px) rotate(-2.5deg)}to{transform:translate(0) rotate(0)}}@keyframes tilt-n-move-shaking-strong{0%{transform:translate(0) rotate(0)}25%{transform:translate(10px,10px) rotate(10deg)}50%{transform:translate(0) rotate(0)}75%{transform:translate(-10px,10px) rotate(-10deg)}to{transform:translate(0) rotate(0)}}@keyframes tilt-n-move-shaking-stronger{0%{transform:translate(0) rotate(0)}25%{transform:translate(15px,15px) rotate(15deg)}50%{transform:translate(0) rotate(0)}75%{transform:translate(-15px,10px) rotate(-15deg)}to{transform:translate(0) rotate(0)}} +.hero{max-height:calc(100vh - 3.25rem)}.hero-body{flex-shrink:1}.dice-result-container{width:100%}.dice-result-container span{font-size:1rem;display:flex;align-items:center;flex-wrap:wrap}.dice-result-subsum-container>span:not(:last-child){margin-right:1rem}.dice-result-subsum{font-size:1.3rem!important;border-radius:3px;border:1px solid black;padding:2px 3px}.dice-roll-sum span{font-size:1.7rem!important}.reference-table tr td:first-child{width:30%}#command-container ul>li{margin-top:.25rem;cursor:pointer;background-color:#f5f5f5;height:fit-content}#command-container ul>li code{margin-right:1rem}#command-container ul>li div{display:flex;align-items:center}#command-container ul>li:hover{filter:brightness(90%)}#dice-roller-button .icon:before{display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased;content:"Roll!"}#dice-roller-history{position:relative;overflow:hidden;max-width:40%;max-height:calc(100vh - 3.25rem);min-width:300px}#dice-roller-history-inner{padding-left:1.5rem;padding-right:1.5rem;display:flex;height:100%;overflow:auto;flex-direction:column-reverse;border-left:.5px solid lightgrey}#history-container>.field:not(:last-child){border-bottom:1px solid black;padding-bottom:.2rem}#dice-roller-history-toggle-button{font-size:1.25rem;position:fixed;right:0;margin-top:2px;z-index:1000}@media screen and (max-width: 1228px){#dice-roller-history{max-width:30%}}@media screen and (max-width: 481px),screen and (max-height: 481px){.hero-body{align-items:flex-start!important}#dice-roller-history{position:absolute;left:0;max-width:unset;min-width:unset;width:100%;z-index:10}#dice-roller-history-inner{height:calc(100vh - 3.25rem);padding-bottom:1rem}#dice-roller-button,#dice-roller-dice-storage{padding:.5em!important}#dice-roller-button .icon:before{display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased;font:var(--fa-font-solid);content:""}.modal-content{max-height:unset;flex-grow:1}.modal-content .box{min-height:100%}}.flame{z-index:0;animation:burnBabyBurn .4s linear infinite;height:1px;transform:scale(5) translate(-13px,-15px);width:1px;bottom:0;left:0;margin:auto;pointer-events:none;position:absolute;top:-60px;right:-50px}.glow{background-color:#ffb778;border-radius:50%;filter:blur(100px);height:280px;opacity:.5;width:280px;bottom:-60px;left:-110px;margin:auto;pointer-events:none;position:absolute}@keyframes burnBabyBurn{0%{box-shadow:12px 2px #fd3b1c,12px 3px #fe2d00,13px 3px #fe633b,12px 4px #fe6500,13px 4px #fe7b00,14px 4px #fd4400,15px 4px #fd3a1d,12px 5px #fe6501,13px 5px #febb03,14px 5px #fca306,15px 5px #fd5107,16px 5px #fd3c17,12px 6px #fd4017,13px 6px #fe760c,14px 6px #fdac05,15px 6px #fd9c05,16px 6px #fe520a,17px 6px #fe471f,13px 7px #fd390d,14px 7px #fe7315,15px 7px #feb202,16px 7px #fd9701,17px 7px #fd530b,13px 8px #fe5f13,14px 8px #fd9009,15px 8px #fda300,16px 8px #fd9d00,17px 8px #fd5d13,11px 9px #fe3813,12px 9px #fe691b,13px 9px #fd9609,14px 9px #fdaa00,15px 9px #fdb302,16px 9px #fd9b00,17px 9px #fe5a11,10px 10px #ff441a,11px 10px #fe6b1f,12px 10px #fe9405,13px 10px #fdac00,14px 10px #feb504,15px 10px #fdc804,16px 10px #fca202,17px 10px #fe581a,8px 11px #fc330e,9px 11px #ff4521,10px 11px #fe691e,11px 11px #fd9907,12px 11px #fda500,13px 11px #feb403,14px 11px #fec807,15px 11px #fdc403,16px 11px #fca102,17px 11px #fe6117,18px 11px #fe3102,7px 12px #fb5326,8px 12px #ff2d06,9px 12px #ff6722,10px 12px #fd9b09,11px 12px #fda400,12px 12px #feb103,13px 12px #fdc306,14px 12px #fec505,15px 12px #fdbb04,16px 12px #fd9f00,17px 12px #fd9504,18px 12px #fc6b11,7px 13px #fe491e,8px 13px #fe660e,9px 13px #fe9708,10px 13px #fdad00,11px 13px #feb603,12px 13px #fdc106,13px 13px #fdc407,14px 13px #fdc405,15px 13px #fdb904,16px 13px #fe9c00,17px 13px #fda600,18px 13px #fc7f15,19px 13px #fe2c00,6px 14px #fb5337,7px 14px #ff3313,8px 14px #fe8018,9px 14px #feaa00,10px 14px #fda501,11px 14px #febf07,12px 14px #fdc906,13px 14px #fdbb00,14px 14px #fdbc00,15px 14px #fdc005,16px 14px #feb002,17px 14px #fca800,18px 14px #fc7711,19px 14px #ff4212,6px 15px #fb6341,7px 15px #ff4403,8px 15px #fe860e,9px 15px #fea200,10px 15px #fead03,11px 15px #fec006,12px 15px #fdc406,13px 15px #fec70d,14px 15px #fcc309,15px 15px #fcba00,16px 15px #fec401,17px 15px #fcae00,18px 15px #fc6713,19px 15px #fe4829,20px 15px #fe4b1d,6px 16px #fb6e40,7px 16px #fe7300,8px 16px #fda302,9px 16px #fda902,10px 16px #fdc205,11px 16px #fdbf03,12px 16px #fdb702,13px 16px #fed71d,14px 16px #fce32a,15px 16px #fdc60c,16px 16px #fdc502,17px 16px #fca700,18px 16px #fc700f,19px 16px #fe5426,20px 16px #fe4b1a,6px 17px #fc5b21,7px 17px #fe8f05,8px 17px #febe00,9px 17px #fec205,10px 17px #fdc605,11px 17px #fdbc03,12px 17px #fdb803,13px 17px #fed920,14px 17px #fdf63c,15px 17px #fde124,16px 17px #fdc107,17px 17px #fc9d00,18px 17px #fd9804,19px 17px #fd7a12,20px 17px #fd4c1a,21px 17px #ff5124,6px 18px #fe4e10,7px 18px #fe970d,8px 18px #fec701,9px 18px #fdcc06,10px 18px #febe03,11px 18px #fdbc05,12px 18px #fed319,13px 18px #feea30,14px 18px #fde92f,15px 18px #fbd318,16px 18px #febf06,17px 18px #feb204,18px 18px #fcb800,19px 18px #fc8d0a,20px 18px #fd420d,21px 18px #fe4d23,6px 19px #fe5211,7px 19px #fe9d0e,8px 19px #febd00,9px 19px #fdb904,10px 19px #febc02,11px 19px #fec207,12px 19px #feeb31,13px 19px #fcff44,14px 19px #fcdd22,15px 19px #fcb601,16px 19px #febe02,17px 19px #fecd07,18px 19px #fcbf01,19px 19px #fc880e,20px 19px #fd3803,21px 19px #fe491e,6px 20px #fd5b20,7px 20px #fd7e08,8px 20px #fc9c03,9px 20px #feaa01,10px 20px #fec504,11px 20px #fec507,12px 20px #fddc23,13px 20px #fcec31,14px 20px #fcd41a,15px 20px #fdb901,16px 20px #febe04,17px 20px #fdc006,18px 20px #fdba00,19px 20px #fc8307,20px 20px #fd4a19,21px 20px #fd6747,6px 21px #fa5732,7px 21px #fe3d05,8px 21px #fd8210,9px 21px #fdb600,10px 21px #fec504,11px 21px #fdc106,12px 21px #fdbf07,13px 21px #fcc20a,14px 21px #fdc106,15px 21px #fdc305,16px 21px #fdc306,17px 21px #fda502,18px 21px #fda202,19px 21px #fc6e00,20px 21px #fd6640,6px 22px #fb5a46,7px 22px #ff2f10,8px 22px #fe8016,9px 22px #fdaf01,10px 22px #feb102,11px 22px #febf06,12px 22px #fdbf02,13px 22px #fdb900,14px 22px #fdbc01,15px 22px #fdc507,16px 22px #fec605,17px 22px #fda900,18px 22px #fc7f0d,19px 22px #fd3f00,7px 23px #fc5a31,8px 23px #fe5508,9px 23px #fe850d,10px 23px #feaa01,11px 23px #fec904,12px 23px #fdcd07,13px 23px #fdc706,14px 23px #fdc806,15px 23px #fdc304,16px 23px #feb501,17px 23px #fdb101,18px 23px #fb7518,19px 23px #fd2807,7px 24px #fb7455,8px 24px #fe1c00,9px 24px #ff6b1d,10px 24px #feb601,11px 24px #fdc400,12px 24px #fcbd02,13px 24px #fdbc01,14px 24px #fdbe01,15px 24px #fcbb00,16px 24px #fca200,17px 24px #fc8d06,18px 24px #fc5f0e,8px 25px #fc3917,9px 25px #fe5708,10px 25px #fe8c02,11px 25px #fe8b03,12px 25px #fc8003,13px 25px #fc8303,14px 25px #fd8203,15px 25px #fd8a03,16px 25px #fc8603,17px 25px #fc4e0a,18px 25px #fe1f00,9px 26px #fc4518,10px 26px #ff5428,11px 26px #fd5c2b,12px 26px #fe592b,13px 26px #fd592b,14px 26px #fe592b,15px 26px #fe5b2b,16px 26px #fd5d2a,17px 26px #fe5128}33%{box-shadow:12px 2px #fd3b1c,12px 3px #fe2d00,13px 3px #fe633b,12px 4px #fe6500,13px 4px #fe7b00,14px 4px #fd4400,15px 4px #fd3a1d,12px 5px #fe6501,13px 5px #febb03,14px 5px #fca306,15px 5px #fd5107,16px 5px #fd3c17,12px 6px #fd4017,13px 6px #fe760c,14px 6px #fdac05,15px 6px #fd9c05,16px 6px #fe520a,17px 6px #fe471f,13px 7px #fd390d,14px 7px #fe7315,15px 7px #feb202,16px 7px #fd9701,17px 7px #fd530b,13px 8px #fe5f13,14px 8px #fd9009,15px 8px #fda300,16px 8px #fd9d00,17px 8px #fd5d13,11px 9px #fe3813,12px 9px #fe691b,13px 9px #fd9609,14px 9px #fdaa00,15px 9px #fdb302,16px 9px #fd9b00,17px 9px #fe5a11,10px 10px #ff441a,11px 10px #fe6b1f,12px 10px #fe9405,13px 10px #fdac00,14px 10px #feb504,15px 10px #fdc804,16px 10px #fca202,17px 10px #fe581a,8px 11px #fc330e,9px 11px #ff4521,10px 11px #fe691e,11px 11px #fd9907,12px 11px #fda500,13px 11px #feb403,14px 11px #fec807,15px 11px #fdc403,16px 11px #fca102,17px 11px #fe6117,18px 11px #fe3102,7px 12px #fb5326,8px 12px #ff2d06,9px 12px #ff6722,10px 12px #fd9b09,11px 12px #fda400,12px 12px #feb103,13px 12px #fdc306,14px 12px #fec505,15px 12px #fdbb04,16px 12px #fd9f00,17px 12px #fd9504,18px 12px #fc6b11,7px 13px #fe491e,8px 13px #fe660e,9px 13px #fe9708,10px 13px #fdad00,11px 13px #feb603,12px 13px #fdc106,13px 13px #fdc407,14px 13px #fdc405,15px 13px #fdb904,16px 13px #fe9c00,17px 13px #fda600,18px 13px #fc7f15,19px 13px #fe2c00,6px 14px #fb5337,7px 14px #ff3313,8px 14px #fe8018,9px 14px #feaa00,10px 14px #fda501,11px 14px #febf07,12px 14px #fdc906,13px 14px #fdbb00,14px 14px #fdbc00,15px 14px #fdc005,16px 14px #feb002,17px 14px #fca800,18px 14px #fc7711,19px 14px #ff4212,6px 15px #fb6341,7px 15px #ff4403,8px 15px #fe860e,9px 15px #fea200,10px 15px #fead03,11px 15px #fec006,12px 15px #fdc406,13px 15px #fec70d,14px 15px #fcc309,15px 15px #fcba00,16px 15px #fec401,17px 15px #fcae00,18px 15px #fc6713,19px 15px #fe4829,20px 15px #fe4b1d,6px 16px #fb6e40,7px 16px #fe7300,8px 16px #fda302,9px 16px #fda902,10px 16px #fdc205,11px 16px #fdbf03,12px 16px #fdb702,13px 16px #fed71d,14px 16px #fce32a,15px 16px #fdc60c,16px 16px #fdc502,17px 16px #fca700,18px 16px #fc700f,19px 16px #fe5426,20px 16px #fe4b1a,6px 17px #fc5b21,7px 17px #fe8f05,8px 17px #febe00,9px 17px #fec205,10px 17px #fdc605,11px 17px #fdbc03,12px 17px #fdb803,13px 17px #fed920,14px 17px #fdf63c,15px 17px #fde124,16px 17px #fdc107,17px 17px #fc9d00,18px 17px #fd9804,19px 17px #fd7a12,20px 17px #fd4c1a,21px 17px #ff5124,6px 18px #fe4e10,7px 18px #fe970d,8px 18px #fec701,9px 18px #fdcc06,10px 18px #febe03,11px 18px #fdbc05,12px 18px #fed319,13px 18px #feea30,14px 18px #fde92f,15px 18px #fbd318,16px 18px #febf06,17px 18px #feb204,18px 18px #fcb800,19px 18px #fc8d0a,20px 18px #fd420d,21px 18px #fe4d23,6px 19px #fe5211,7px 19px #fe9d0e,8px 19px #febd00,9px 19px #fdb904,10px 19px #febc02,11px 19px #fec207,12px 19px #feeb31,13px 19px #fcff44,14px 19px #fcdd22,15px 19px #fcb601,16px 19px #febe02,17px 19px #fecd07,18px 19px #fcbf01,19px 19px #fc880e,20px 19px #fd3803,21px 19px #fe491e,6px 20px #fd5b20,7px 20px #fd7e08,8px 20px #fc9c03,9px 20px #feaa01,10px 20px #fec504,11px 20px #fec507,12px 20px #fddc23,13px 20px #fcec31,14px 20px #fcd41a,15px 20px #fdb901,16px 20px #febe04,17px 20px #fdc006,18px 20px #fdba00,19px 20px #fc8307,20px 20px #fd4a19,21px 20px #fd6747,6px 21px #fa5732,7px 21px #fe3d05,8px 21px #fd8210,9px 21px #fdb600,10px 21px #fec504,11px 21px #fdc106,12px 21px #fdbf07,13px 21px #fcc20a,14px 21px #fdc106,15px 21px #fdc305,16px 21px #fdc306,17px 21px #fda502,18px 21px #fda202,19px 21px #fc6e00,20px 21px #fd6640,6px 22px #fb5a46,7px 22px #ff2f10,8px 22px #fe8016,9px 22px #fdaf01,10px 22px #feb102,11px 22px #febf06,12px 22px #fdbf02,13px 22px #fdb900,14px 22px #fdbc01,15px 22px #fdc507,16px 22px #fec605,17px 22px #fda900,18px 22px #fc7f0d,19px 22px #fd3f00,7px 23px #fc5a31,8px 23px #fe5508,9px 23px #fe850d,10px 23px #feaa01,11px 23px #fec904,12px 23px #fdcd07,13px 23px #fdc706,14px 23px #fdc806,15px 23px #fdc304,16px 23px #feb501,17px 23px #fdb101,18px 23px #fb7518,19px 23px #fd2807,7px 24px #fb7455,8px 24px #fe1c00,9px 24px #ff6b1d,10px 24px #feb601,11px 24px #fdc400,12px 24px #fcbd02,13px 24px #fdbc01,14px 24px #fdbe01,15px 24px #fcbb00,16px 24px #fca200,17px 24px #fc8d06,18px 24px #fc5f0e,8px 25px #fc3917,9px 25px #fe5708,10px 25px #fe8c02,11px 25px #fe8b03,12px 25px #fc8003,13px 25px #fc8303,14px 25px #fd8203,15px 25px #fd8a03,16px 25px #fc8603,17px 25px #fc4e0a,18px 25px #fe1f00,9px 26px #fc4518,10px 26px #ff5428,11px 26px #fd5c2b,12px 26px #fe592b,13px 26px #fd592b,14px 26px #fe592b,15px 26px #fe5b2b,16px 26px #fd5d2a,17px 26px #fe5128}33.01%{box-shadow:14px 0 #fc7659,13px 1px #f74f31,14px 1px #fe5a42,12px 2px #fc785e,13px 2px #fc2a08,14px 2px #ff3c1a,11px 3px #f96d4a,12px 3px #fe410c,13px 3px #ff5f08,14px 3px #fe541e,11px 4px #fd3109,12px 4px #fe6514,13px 4px #fd9e04,14px 4px #fd5620,10px 5px #fc744f,11px 5px #ff3000,12px 5px #ff7118,13px 5px #fda107,14px 5px #fc6012,15px 5px #fe4620,10px 6px #fd4822,11px 6px #ff7211,12px 6px #fe9e06,13px 6px #fda102,14px 6px #fd9506,15px 6px #fd5400,16px 6px #fd3c19,9px 7px #fd401a,10px 7px #ff3314,11px 7px #fe801a,12px 7px #febb00,13px 7px #feb801,14px 7px #fdae00,15px 7px #fc6c18,16px 7px #fe1c05,17px 7px #fd6e4d,8px 8px #fc4a1f,9px 8px #ff3e0b,10px 8px #fe6d24,11px 8px #fd8609,12px 8px #feb300,13px 8px #fec604,14px 8px #fda301,15px 8px #fd7a0c,16px 8px #fc4f09,17px 8px #fc6035,8px 9px #fd4721,9px 9px #ff430a,10px 9px #fe9415,11px 9px #fdaa00,12px 9px #feaa03,13px 9px #fec006,14px 9px #fda900,15px 9px #fea600,16px 9px #fc880f,17px 9px #fe3813,18px 9px #ff4e27,8px 10px #fd4b23,9px 10px #ff450a,10px 10px #fe9113,11px 10px #fda900,12px 10px #fea803,13px 10px #fec207,14px 10px #fec404,15px 10px #fdb100,16px 10px #fc7f0d,17px 10px #fe3b0f,18px 10px #ff5328,19px 10px #fb6c3c,8px 11px #fe5916,9px 11px #fe890b,10px 11px #fea002,11px 11px #fd9900,12px 11px #fea602,13px 11px #fec406,14px 11px #fec706,15px 11px #fca601,16px 11px #fd9402,17px 11px #fd800a,18px 11px #fe5520,19px 11px #fc4e26,7px 12px #fd330f,8px 12px #ff6214,9px 12px #fea80b,10px 12px #fea900,11px 12px #fd9100,12px 12px #fea100,13px 12px #fec305,14px 12px #fdc407,15px 12px #feb504,16px 12px #fcb800,17px 12px #fc9a08,18px 12px #fd4923,19px 12px #ff3212,20px 12px #fe5f3a,7px 13px #fd3a0f,8px 13px #ff6014,9px 13px #fe9f09,10px 13px #fea700,11px 13px #fd9e01,12px 13px #feb103,13px 13px #fdbf05,14px 13px #fdba00,15px 13px #fec303,16px 13px #fcbc03,17px 13px #fd9303,18px 13px #fe6f16,19px 13px #ff561c,20px 13px #ff350d,7px 14px #fd3a0d,8px 14px #ff6215,9px 14px #fe9909,10px 14px #fe9f00,11px 14px #fea904,12px 14px #fdc705,13px 14px #fdc107,14px 14px #fec40b,15px 14px #fdc204,16px 14px #fdb000,17px 14px #ffa501,18px 14px #fd9d03,19px 14px #fb5f1b,20px 14px #fe310e,21px 14px #fd6b44,7px 15px #fe360e,8px 15px #ff5c19,9px 15px #fe9a09,10px 15px #fea500,11px 15px #fdad04,12px 15px #fdc604,13px 15px #fdc108,14px 15px #ffe128,15px 15px #fdd119,16px 15px #fdba02,17px 15px #febe02,18px 15px #fca200,19px 15px #fc6315,20px 15px #ff4a20,21px 15px #fe5422,6px 16px #fb5a35,7px 16px #ff3f1d,8px 16px #fe5c20,9px 16px #fe9b07,10px 16px #febb00,11px 16px #fdbe06,12px 16px #fdbd01,13px 16px #fdbe05,14px 16px #ffe830,15px 16px #feeb36,16px 16px #fdd717,17px 16px #fcbe03,18px 16px #fd9a00,19px 16px #fd9007,20px 16px #fe7018,21px 16px #fe4616,22px 16px #fe4212,6px 17px #ff4019,7px 17px #ff601c,8px 17px #fe8412,9px 17px #fd9d02,10px 17px #febd01,11px 17px #fdc905,12px 17px #fec50a,13px 17px #fed81f,14px 17px #ffeb32,15px 17px #fff63e,16px 17px #fde124,17px 17px #fdba04,18px 17px #fead00,19px 17px #fdb200,20px 17px #fc7e0e,21px 17px #fd4519,22px 17px #fe4318,6px 18px #ff4217,7px 18px #fe740f,8px 18px #fdae02,9px 18px #fdb100,10px 18px #fdb703,11px 18px #fdc001,12px 18px #fed116,13px 18px #fff941,14px 18px #fff73d,15px 18px #fff73f,16px 18px #fcdf26,17px 18px #fdbe03,18px 18px #fdc001,19px 18px #fcb401,20px 18px #fc7b12,21px 18px #fd4011,22px 18px #fe3b0e,6px 19px #fe3d13,7px 19px #fe710f,8px 19px #fdb501,9px 19px #feca03,10px 19px #fdc306,11px 19px #fdbb02,12px 19px #fdcb13,13px 19px #feeb33,14px 19px #ffe92f,15px 19px #ffe72e,16px 19px #fcd51b,17px 19px #fec103,18px 19px #fdc604,19px 19px #fcb001,20px 19px #fc720d,21px 19px #fd4e24,22px 19px #fe5c36,6px 20px #fe4722,7px 20px #fe6f0f,8px 20px #feb502,9px 20px #fece01,10px 20px #fec306,11px 20px #febc04,12px 20px #fdc207,13px 20px #fdc40a,14px 20px #fdc40b,15px 20px #fdc40b,16px 20px #fdc409,17px 20px #fec405,18px 20px #fdc005,19px 20px #fcb200,20px 20px #fc6903,21px 20px #fd6d52,6px 21px #fb6e51,7px 21px #fd6404,8px 21px #ffac00,9px 21px #fdb604,10px 21px #fda901,11px 21px #feb603,12px 21px #fdc404,13px 21px #feba00,14px 21px #fcb900,15px 21px #fdb900,16px 21px #fdc003,17px 21px #fdc005,18px 21px #fdae02,19px 21px #fdaa00,20px 21px #fb6701,21px 21px #ff6c31,7px 22px #fc4c0b,8px 22px #ff6e04,9px 22px #fd7a0f,10px 22px #fe9103,11px 22px #fdb101,12px 22px #fdbc04,13px 22px #fec606,14px 22px #fdc606,15px 22px #fec806,16px 22px #fdc005,17px 22px #fdb001,18px 22px #fea000,19px 22px #fd8709,20px 22px #fd4f04,21px 22px #ff6c31,7px 23px #fc5630,8px 23px #ff3314,9px 23px #fe3911,10px 23px #ff730e,11px 23px #fd9f04,12px 23px #fead00,13px 23px #fdbf02,14px 23px #fdbf03,15px 23px #fdc102,16px 23px #fcb500,17px 23px #fd9f01,18px 23px #fd880a,19px 23px #fc571e,20px 23px #fe2d07,21px 23px #ff7049,9px 24px #ff5034,10px 24px #fc4d23,11px 24px #fd5f02,12px 24px #fe9502,13px 24px #fc9705,14px 24px #fc9408,15px 24px #fc9405,16px 24px #fd9c04,17px 24px #fd8d0c,18px 24px #fd5620,19px 24px #fe3918,20px 24px #ff451f,11px 25px #fe3913,12px 25px #fe5d20,13px 25px #fe5615,14px 25px #fe5415,15px 25px #fe5516,16px 25px #fe5a15,17px 25px #fe5918,18px 25px #fe4619,19px 25px #fe3f19,13px 26px #fb411c,14px 26px #ff411a,15px 26px #fe4925,16px 26px #fe4725,17px 26px #fe3c12,18px 26px #fe521b,13px 27px #f96034,14px 27px #ff6232,15px 27px #fe6c3f,16px 27px #fe6b40}66%{box-shadow:14px 0 #fc7659,13px 1px #f74f31,14px 1px #fe5a42,12px 2px #fc785e,13px 2px #fc2a08,14px 2px #ff3c1a,11px 3px #f96d4a,12px 3px #fe410c,13px 3px #ff5f08,14px 3px #fe541e,11px 4px #fd3109,12px 4px #fe6514,13px 4px #fd9e04,14px 4px #fd5620,10px 5px #fc744f,11px 5px #ff3000,12px 5px #ff7118,13px 5px #fda107,14px 5px #fc6012,15px 5px #fe4620,10px 6px #fd4822,11px 6px #ff7211,12px 6px #fe9e06,13px 6px #fda102,14px 6px #fd9506,15px 6px #fd5400,16px 6px #fd3c19,9px 7px #fd401a,10px 7px #ff3314,11px 7px #fe801a,12px 7px #febb00,13px 7px #feb801,14px 7px #fdae00,15px 7px #fc6c18,16px 7px #fe1c05,17px 7px #fd6e4d,8px 8px #fc4a1f,9px 8px #ff3e0b,10px 8px #fe6d24,11px 8px #fd8609,12px 8px #feb300,13px 8px #fec604,14px 8px #fda301,15px 8px #fd7a0c,16px 8px #fc4f09,17px 8px #fc6035,8px 9px #fd4721,9px 9px #ff430a,10px 9px #fe9415,11px 9px #fdaa00,12px 9px #feaa03,13px 9px #fec006,14px 9px #fda900,15px 9px #fea600,16px 9px #fc880f,17px 9px #fe3813,18px 9px #ff4e27,8px 10px #fd4b23,9px 10px #ff450a,10px 10px #fe9113,11px 10px #fda900,12px 10px #fea803,13px 10px #fec207,14px 10px #fec404,15px 10px #fdb100,16px 10px #fc7f0d,17px 10px #fe3b0f,18px 10px #ff5328,19px 10px #fb6c3c,8px 11px #fe5916,9px 11px #fe890b,10px 11px #fea002,11px 11px #fd9900,12px 11px #fea602,13px 11px #fec406,14px 11px #fec706,15px 11px #fca601,16px 11px #fd9402,17px 11px #fd800a,18px 11px #fe5520,19px 11px #fc4e26,7px 12px #fd330f,8px 12px #ff6214,9px 12px #fea80b,10px 12px #fea900,11px 12px #fd9100,12px 12px #fea100,13px 12px #fec305,14px 12px #fdc407,15px 12px #feb504,16px 12px #fcb800,17px 12px #fc9a08,18px 12px #fd4923,19px 12px #ff3212,20px 12px #fe5f3a,7px 13px #fd3a0f,8px 13px #ff6014,9px 13px #fe9f09,10px 13px #fea700,11px 13px #fd9e01,12px 13px #feb103,13px 13px #fdbf05,14px 13px #fdba00,15px 13px #fec303,16px 13px #fcbc03,17px 13px #fd9303,18px 13px #fe6f16,19px 13px #ff561c,20px 13px #ff350d,7px 14px #fd3a0d,8px 14px #ff6215,9px 14px #fe9909,10px 14px #fe9f00,11px 14px #fea904,12px 14px #fdc705,13px 14px #fdc107,14px 14px #fec40b,15px 14px #fdc204,16px 14px #fdb000,17px 14px #ffa501,18px 14px #fd9d03,19px 14px #fb5f1b,20px 14px #fe310e,21px 14px #fd6b44,7px 15px #fe360e,8px 15px #ff5c19,9px 15px #fe9a09,10px 15px #fea500,11px 15px #fdad04,12px 15px #fdc604,13px 15px #fdc108,14px 15px #ffe128,15px 15px #fdd119,16px 15px #fdba02,17px 15px #febe02,18px 15px #fca200,19px 15px #fc6315,20px 15px #ff4a20,21px 15px #fe5422,6px 16px #fb5a35,7px 16px #ff3f1d,8px 16px #fe5c20,9px 16px #fe9b07,10px 16px #febb00,11px 16px #fdbe06,12px 16px #fdbd01,13px 16px #fdbe05,14px 16px #ffe830,15px 16px #feeb36,16px 16px #fdd717,17px 16px #fcbe03,18px 16px #fd9a00,19px 16px #fd9007,20px 16px #fe7018,21px 16px #fe4616,22px 16px #fe4212,6px 17px #ff4019,7px 17px #ff601c,8px 17px #fe8412,9px 17px #fd9d02,10px 17px #febd01,11px 17px #fdc905,12px 17px #fec50a,13px 17px #fed81f,14px 17px #ffeb32,15px 17px #fff63e,16px 17px #fde124,17px 17px #fdba04,18px 17px #fead00,19px 17px #fdb200,20px 17px #fc7e0e,21px 17px #fd4519,22px 17px #fe4318,6px 18px #ff4217,7px 18px #fe740f,8px 18px #fdae02,9px 18px #fdb100,10px 18px #fdb703,11px 18px #fdc001,12px 18px #fed116,13px 18px #fff941,14px 18px #fff73d,15px 18px #fff73f,16px 18px #fcdf26,17px 18px #fdbe03,18px 18px #fdc001,19px 18px #fcb401,20px 18px #fc7b12,21px 18px #fd4011,22px 18px #fe3b0e,6px 19px #fe3d13,7px 19px #fe710f,8px 19px #fdb501,9px 19px #feca03,10px 19px #fdc306,11px 19px #fdbb02,12px 19px #fdcb13,13px 19px #feeb33,14px 19px #ffe92f,15px 19px #ffe72e,16px 19px #fcd51b,17px 19px #fec103,18px 19px #fdc604,19px 19px #fcb001,20px 19px #fc720d,21px 19px #fd4e24,22px 19px #fe5c36,6px 20px #fe4722,7px 20px #fe6f0f,8px 20px #feb502,9px 20px #fece01,10px 20px #fec306,11px 20px #febc04,12px 20px #fdc207,13px 20px #fdc40a,14px 20px #fdc40b,15px 20px #fdc40b,16px 20px #fdc409,17px 20px #fec405,18px 20px #fdc005,19px 20px #fcb200,20px 20px #fc6903,21px 20px #fd6d52,6px 21px #fb6e51,7px 21px #fd6404,8px 21px #ffac00,9px 21px #fdb604,10px 21px #fda901,11px 21px #feb603,12px 21px #fdc404,13px 21px #feba00,14px 21px #fcb900,15px 21px #fdb900,16px 21px #fdc003,17px 21px #fdc005,18px 21px #fdae02,19px 21px #fdaa00,20px 21px #fb6701,21px 21px #ff6c31,7px 22px #fc4c0b,8px 22px #ff6e04,9px 22px #fd7a0f,10px 22px #fe9103,11px 22px #fdb101,12px 22px #fdbc04,13px 22px #fec606,14px 22px #fdc606,15px 22px #fec806,16px 22px #fdc005,17px 22px #fdb001,18px 22px #fea000,19px 22px #fd8709,20px 22px #fd4f04,21px 22px #ff6c31,7px 23px #fc5630,8px 23px #ff3314,9px 23px #fe3911,10px 23px #ff730e,11px 23px #fd9f04,12px 23px #fead00,13px 23px #fdbf02,14px 23px #fdbf03,15px 23px #fdc102,16px 23px #fcb500,17px 23px #fd9f01,18px 23px #fd880a,19px 23px #fc571e,20px 23px #fe2d07,21px 23px #ff7049,9px 24px #ff5034,10px 24px #fc4d23,11px 24px #fd5f02,12px 24px #fe9502,13px 24px #fc9705,14px 24px #fc9408,15px 24px #fc9405,16px 24px #fd9c04,17px 24px #fd8d0c,18px 24px #fd5620,19px 24px #fe3918,20px 24px #ff451f,11px 25px #fe3913,12px 25px #fe5d20,13px 25px #fe5615,14px 25px #fe5415,15px 25px #fe5516,16px 25px #fe5a15,17px 25px #fe5918,18px 25px #fe4619,19px 25px #fe3f19,13px 26px #fb411c,14px 26px #ff411a,15px 26px #fe4925,16px 26px #fe4725,17px 26px #fe3c12,18px 26px #fe521b,13px 27px #f96034,14px 27px #ff6232,15px 27px #fe6c3f,16px 27px #fe6b40}66.01%{box-shadow:17px 2px #f96648,18px 2px #f82100,15px 3px #fb4a1f,16px 3px #fc5b28,17px 3px #fe4d15,18px 3px #fd3c0a,14px 4px #fd4d2a,15px 4px #ff3e0e,16px 4px #ff4006,17px 4px #fe460b,18px 4px #ff6231,13px 5px #f93611,14px 5px #ff4f08,15px 5px #fe7d16,16px 5px #fe5a2b,17px 5px #fd6138,12px 6px #fb5029,13px 6px #ff4908,14px 6px #fe8b12,15px 6px #fd7b00,16px 6px #fe6948,12px 7px #fd5927,13px 7px #ff8200,14px 7px #fe850e,15px 7px #fd3b11,16px 7px #fe653c,17px 7px #f98259,11px 8px #fc5a39,12px 8px #fe5118,13px 8px #ff9807,14px 8px #fe790c,15px 8px #fd352c,16px 8px #fe4926,17px 8px #fd5826,11px 9px #ff360b,12px 9px #ff4920,13px 9px #ff8e0e,14px 9px #ff8d05,15px 9px #fe6f19,16px 9px #ff6b0b,17px 9px #fe3f00,10px 10px #fd480f,11px 10px #ff551c,12px 10px #fe6722,13px 10px #ff8907,14px 10px orange,15px 10px #ffb002,16px 10px #fe9900,17px 10px #fd4c09,18px 10px #fc867c,9px 11px #fb4312,10px 11px #fe3f16,11px 11px #ff631b,12px 11px #ff9a09,13px 11px #ff9801,14px 11px #ffb003,15px 11px #fec702,16px 11px #fe9800,17px 11px #fd5b18,18px 11px #fd2f15,19px 11px #fd7d63,9px 12px #fe4519,10px 12px #ff4727,11px 12px #fe5b1e,12px 12px #ffa002,13px 12px #ffb800,14px 12px #ffc403,15px 12px #febb01,16px 12px #fe9200,17px 12px #ff8c07,18px 12px #fe5509,19px 12px #fe4322,20px 12px #fd6f4b,8px 13px #fc5136,9px 13px #fe2d10,10px 13px #fe672a,11px 13px #ff820f,12px 13px #ff9600,13px 13px #ffbe02,14px 13px #ffc800,15px 13px #ffb600,16px 13px #feaf02,17px 13px #fe9e00,18px 13px #fe8c0b,19px 13px #fd5803,20px 13px #fc4813,8px 14px #fd5a34,9px 14px #ff4202,10px 14px #ff8616,11px 14px #ff9d01,12px 14px #ffa401,13px 14px #ffbc04,14px 14px #fecc0c,15px 14px #fec90e,16px 14px #febd00,17px 14px #fea501,18px 14px #ffab02,19px 14px #fe7c00,20px 14px #fc441b,8px 15px #fc6738,9px 15px #ff6b00,10px 15px #ffa203,11px 15px #ffa401,12px 15px #ffbd02,13px 15px #ffbd02,14px 15px #fdd71f,15px 15px #fce432,16px 15px #fec207,17px 15px #ffbc02,18px 15px #feb700,19px 15px #fc8906,20px 15px #fc4c18,21px 15px #fe4a2c,8px 16px #fc6738,9px 16px #ff7400,10px 16px #ffbc00,11px 16px #ffbf02,12px 16px #ffc402,13px 16px #ffba00,14px 16px #fed620,15px 16px #fdf449,16px 16px #fde12f,17px 16px #ffcd0e,18px 16px #feab01,19px 16px #fd9704,20px 16px #fc7805,21px 16px #fe4c0f,22px 16px #ff1c1c,8px 17px #fc6438,9px 17px #ff7000,10px 17px #ffc801,11px 17px #ffd301,12px 17px #ffc303,13px 17px #ffcc18,14px 17px #fee12e,15px 17px #fdf44a,16px 17px #fcfb4d,17px 17px #fdd017,18px 17px #fea101,19px 17px #ff9e00,20px 17px #fe9300,21px 17px #fc5d0b,22px 17px #ff6c31,8px 18px #fc6738,9px 18px #f70,10px 18px #ffc100,11px 18px #febc00,12px 18px #ffc208,13px 18px #fde93a,14px 18px #fdf94f,15px 18px #fcef42,16px 18px #fde632,17px 18px #fec90f,18px 18px #fea301,19px 18px #ff9f00,20px 18px #ff9600,21px 18px #fc610f,22px 18px #ff6c31,8px 19px #fc6a3a,9px 19px #fe7000,10px 19px #ffa302,11px 19px #fe9f00,12px 19px #ffc708,13px 19px #fdea35,14px 19px #fcf44a,15px 19px #fcdf2d,16px 19px #ffc20a,17px 19px #ffc403,18px 19px #fead01,19px 19px #ff9a01,20px 19px #fe8800,21px 19px #fc5c10,22px 19px #ff1c1c,8px 20px #fc5c34,9px 20px #fe4603,10px 20px #fe8511,11px 20px #ffa700,12px 20px #ffcb04,13px 20px #fed011,14px 20px #fed019,15px 20px #fec90f,16px 20px #ffbc00,17px 20px #fec601,18px 20px #feb801,19px 20px #fe9006,20px 20px #fc5d09,21px 20px #fd4711,8px 21px #fd5236,9px 21px #ff2c0e,10px 21px #fe801d,11px 21px #ffb200,12px 21px #ffb400,13px 21px #ffbd00,14px 21px #ffc100,15px 21px #ffc300,16px 21px #ffc702,17px 21px #feb502,18px 21px #ffb200,19px 21px #fe8f0a,20px 21px #fd431a,21px 21px #fe361a,9px 22px #fd3c14,10px 22px #ff731a,11px 22px #ff9304,12px 22px #ff9601,13px 22px #ffb102,14px 22px #ffbc00,15px 22px #ffba02,16px 22px #feba03,17px 22px #fd9a01,18px 22px #fe9303,19px 22px #fe7c0c,20px 22px #fd4e1b,9px 23px #fa3b08,10px 23px #fe4716,11px 23px #ff6b14,12px 23px #ff9f05,13px 23px #ffa401,14px 23px #ffa002,15px 23px #ffa001,16px 23px #ffa201,17px 23px #fea100,18px 23px #fd7b12,19px 23px #fd450f,20px 23px #fc4815,9px 24px #f9390b,10px 24px #fd3915,11px 24px #ff5e17,12px 24px #ffa506,13px 24px #ff9e00,14px 24px #ff9400,15px 24px #ff9600,16px 24px #ff9a00,17px 24px #ffa600,18px 24px #fc7414,19px 24px #fd330e,10px 25px #fc613b,11px 25px #fe460a,12px 25px #fe6704,13px 25px #ff7006,14px 25px #ff6b06,15px 25px #ff6b06,16px 25px #ff6e06,17px 25px #fe7006,18px 25px #fd4802,12px 26px #fe5e45,13px 26px #fe6d4d,14px 26px #fe6a4d,15px 26px #fe694d,16px 26px #fe6b4d}to{box-shadow:17px 2px #f96648,18px 2px #f82100,15px 3px #fb4a1f,16px 3px #fc5b28,17px 3px #fe4d15,18px 3px #fd3c0a,14px 4px #fd4d2a,15px 4px #ff3e0e,16px 4px #ff4006,17px 4px #fe460b,18px 4px #ff6231,13px 5px #f93611,14px 5px #ff4f08,15px 5px #fe7d16,16px 5px #fe5a2b,17px 5px #fd6138,12px 6px #fb5029,13px 6px #ff4908,14px 6px #fe8b12,15px 6px #fd7b00,16px 6px #fe6948,12px 7px #fd5927,13px 7px #ff8200,14px 7px #fe850e,15px 7px #fd3b11,16px 7px #fe653c,17px 7px #f98259,11px 8px #fc5a39,12px 8px #fe5118,13px 8px #ff9807,14px 8px #fe790c,15px 8px #fd352c,16px 8px #fe4926,17px 8px #fd5826,11px 9px #ff360b,12px 9px #ff4920,13px 9px #ff8e0e,14px 9px #ff8d05,15px 9px #fe6f19,16px 9px #ff6b0b,17px 9px #fe3f00,10px 10px #fd480f,11px 10px #ff551c,12px 10px #fe6722,13px 10px #ff8907,14px 10px orange,15px 10px #ffb002,16px 10px #fe9900,17px 10px #fd4c09,18px 10px #fc867c,9px 11px #fb4312,10px 11px #fe3f16,11px 11px #ff631b,12px 11px #ff9a09,13px 11px #ff9801,14px 11px #ffb003,15px 11px #fec702,16px 11px #fe9800,17px 11px #fd5b18,18px 11px #fd2f15,19px 11px #fd7d63,9px 12px #fe4519,10px 12px #ff4727,11px 12px #fe5b1e,12px 12px #ffa002,13px 12px #ffb800,14px 12px #ffc403,15px 12px #febb01,16px 12px #fe9200,17px 12px #ff8c07,18px 12px #fe5509,19px 12px #fe4322,20px 12px #fd6f4b,8px 13px #fc5136,9px 13px #fe2d10,10px 13px #fe672a,11px 13px #ff820f,12px 13px #ff9600,13px 13px #ffbe02,14px 13px #ffc800,15px 13px #ffb600,16px 13px #feaf02,17px 13px #fe9e00,18px 13px #fe8c0b,19px 13px #fd5803,20px 13px #fc4813,8px 14px #fd5a34,9px 14px #ff4202,10px 14px #ff8616,11px 14px #ff9d01,12px 14px #ffa401,13px 14px #ffbc04,14px 14px #fecc0c,15px 14px #fec90e,16px 14px #febd00,17px 14px #fea501,18px 14px #ffab02,19px 14px #fe7c00,20px 14px #fc441b,8px 15px #fc6738,9px 15px #ff6b00,10px 15px #ffa203,11px 15px #ffa401,12px 15px #ffbd02,13px 15px #ffbd02,14px 15px #fdd71f,15px 15px #fce432,16px 15px #fec207,17px 15px #ffbc02,18px 15px #feb700,19px 15px #fc8906,20px 15px #fc4c18,21px 15px #fe4a2c,8px 16px #fc6738,9px 16px #ff7400,10px 16px #ffbc00,11px 16px #ffbf02,12px 16px #ffc402,13px 16px #ffba00,14px 16px #fed620,15px 16px #fdf449,16px 16px #fde12f,17px 16px #ffcd0e,18px 16px #feab01,19px 16px #fd9704,20px 16px #fc7805,21px 16px #fe4c0f,22px 16px #ff1c1c,8px 17px #fc6438,9px 17px #ff7000,10px 17px #ffc801,11px 17px #ffd301,12px 17px #ffc303,13px 17px #ffcc18,14px 17px #fee12e,15px 17px #fdf44a,16px 17px #fcfb4d,17px 17px #fdd017,18px 17px #fea101,19px 17px #ff9e00,20px 17px #fe9300,21px 17px #fc5d0b,22px 17px #ff6c31,8px 18px #fc6738,9px 18px #f70,10px 18px #ffc100,11px 18px #febc00,12px 18px #ffc208,13px 18px #fde93a,14px 18px #fdf94f,15px 18px #fcef42,16px 18px #fde632,17px 18px #fec90f,18px 18px #fea301,19px 18px #ff9f00,20px 18px #ff9600,21px 18px #fc610f,22px 18px #ff6c31,8px 19px #fc6a3a,9px 19px #fe7000,10px 19px #ffa302,11px 19px #fe9f00,12px 19px #ffc708,13px 19px #fdea35,14px 19px #fcf44a,15px 19px #fcdf2d,16px 19px #ffc20a,17px 19px #ffc403,18px 19px #fead01,19px 19px #ff9a01,20px 19px #fe8800,21px 19px #fc5c10,22px 19px #ff1c1c,8px 20px #fc5c34,9px 20px #fe4603,10px 20px #fe8511,11px 20px #ffa700,12px 20px #ffcb04,13px 20px #fed011,14px 20px #fed019,15px 20px #fec90f,16px 20px #ffbc00,17px 20px #fec601,18px 20px #feb801,19px 20px #fe9006,20px 20px #fc5d09,21px 20px #fd4711,8px 21px #fd5236,9px 21px #ff2c0e,10px 21px #fe801d,11px 21px #ffb200,12px 21px #ffb400,13px 21px #ffbd00,14px 21px #ffc100,15px 21px #ffc300,16px 21px #ffc702,17px 21px #feb502,18px 21px #ffb200,19px 21px #fe8f0a,20px 21px #fd431a,21px 21px #fe361a,9px 22px #fd3c14,10px 22px #ff731a,11px 22px #ff9304,12px 22px #ff9601,13px 22px #ffb102,14px 22px #ffbc00,15px 22px #ffba02,16px 22px #feba03,17px 22px #fd9a01,18px 22px #fe9303,19px 22px #fe7c0c,20px 22px #fd4e1b,9px 23px #fa3b08,10px 23px #fe4716,11px 23px #ff6b14,12px 23px #ff9f05,13px 23px #ffa401,14px 23px #ffa002,15px 23px #ffa001,16px 23px #ffa201,17px 23px #fea100,18px 23px #fd7b12,19px 23px #fd450f,20px 23px #fc4815,9px 24px #f9390b,10px 24px #fd3915,11px 24px #ff5e17,12px 24px #ffa506,13px 24px #ff9e00,14px 24px #ff9400,15px 24px #ff9600,16px 24px #ff9a00,17px 24px #ffa600,18px 24px #fc7414,19px 24px #fd330e,10px 25px #fc613b,11px 25px #fe460a,12px 25px #fe6704,13px 25px #ff7006,14px 25px #ff6b06,15px 25px #ff6b06,16px 25px #ff6e06,17px 25px #fe7006,18px 25px #fd4802,12px 26px #fe5e45,13px 26px #fe6d4d,14px 26px #fe6a4d,15px 26px #fe694d,16px 26px #fe6b4d}}@keyframes tilt-n-move-shaking-medium{0%{transform:translate(0) rotate(0)}25%{transform:translate(5px,5px) rotate(5deg)}50%{transform:translate(0) rotate(0)}75%{transform:translate(-5px,5px) rotate(-5deg)}to{transform:translate(0) rotate(0)}}@keyframes tilt-n-move-shaking-light{0%{transform:translate(0) rotate(0)}25%{transform:translate(2.5px,2.5px) rotate(2.5deg)}2.50%{transform:translate(0) rotate(0)}72.5%{transform:translate(-2.5px,2.5px) rotate(-2.5deg)}to{transform:translate(0) rotate(0)}}@keyframes tilt-n-move-shaking-strong{0%{transform:translate(0) rotate(0)}25%{transform:translate(10px,10px) rotate(10deg)}50%{transform:translate(0) rotate(0)}75%{transform:translate(-10px,10px) rotate(-10deg)}to{transform:translate(0) rotate(0)}}@keyframes tilt-n-move-shaking-stronger{0%{transform:translate(0) rotate(0)}25%{transform:translate(15px,15px) rotate(15deg)}50%{transform:translate(0) rotate(0)}75%{transform:translate(-15px,10px) rotate(-15deg)}to{transform:translate(0) rotate(0)}} diff --git a/index.html b/index.html index 72d5087..f3ef3da 100644 --- a/index.html +++ b/index.html @@ -36,8 +36,8 @@ } } - - + +