From 43a36b76908d73c361c0cf4fb1f5162f08ab09b2 Mon Sep 17 00:00:00 2001 From: SealyBoi Date: Mon, 23 Oct 2023 10:37:14 -0500 Subject: [PATCH] Updates --- assets/index-0556f2e7.js | 92 +++++++++++++++++++ assets/index-54c1cf2d.js | 92 ------------------- ...{index-e543f10a.css => index-7057400e.css} | 2 +- index.html | 4 +- 4 files changed, 95 insertions(+), 95 deletions(-) create mode 100644 assets/index-0556f2e7.js delete mode 100644 assets/index-54c1cf2d.js rename assets/{index-e543f10a.css => index-7057400e.css} (92%) diff --git a/assets/index-0556f2e7.js b/assets/index-0556f2e7.js new file mode 100644 index 0000000..f155772 --- /dev/null +++ b/assets/index-0556f2e7.js @@ -0,0 +1,92 @@ +function Zd(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function qd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zs={exports:{}},io={},qs={exports:{}},O={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ar=Symbol.for("react.element"),bd=Symbol.for("react.portal"),ep=Symbol.for("react.fragment"),tp=Symbol.for("react.strict_mode"),np=Symbol.for("react.profiler"),rp=Symbol.for("react.provider"),lp=Symbol.for("react.context"),op=Symbol.for("react.forward_ref"),ip=Symbol.for("react.suspense"),up=Symbol.for("react.memo"),ap=Symbol.for("react.lazy"),ga=Symbol.iterator;function sp(e){return e===null||typeof e!="object"?null:(e=ga&&e[ga]||e["@@iterator"],typeof e=="function"?e:null)}var bs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ec=Object.assign,tc={};function Qn(e,t,n){this.props=e,this.context=t,this.refs=tc,this.updater=n||bs}Qn.prototype.isReactComponent={};Qn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nc(){}nc.prototype=Qn.prototype;function hu(e,t,n){this.props=e,this.context=t,this.refs=tc,this.updater=n||bs}var mu=hu.prototype=new nc;mu.constructor=hu;ec(mu,Qn.prototype);mu.isPureReactComponent=!0;var ya=Array.isArray,rc=Object.prototype.hasOwnProperty,vu={current:null},lc={key:!0,ref:!0,__self:!0,__source:!0};function oc(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)rc.call(t,r)&&!lc.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,$=k[A];if(0>>1;Al(vt,H))Pe<$&&0>l(Le,vt)?(k[A]=Le,k[Pe]=H,A=Pe):(k[A]=vt,k[_e]=H,A=_e);else if(Pe<$&&0>l(Le,H))k[A]=Le,k[Pe]=H,A=Pe;else break e}}return T}function l(k,T){var H=k.sortIndex-T.sortIndex;return H!==0?H:k.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var a=[],s=[],p=1,m=null,h=3,v=!1,y=!1,g=!1,N=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(k){for(var T=n(s);T!==null;){if(T.callback===null)r(s);else if(T.startTime<=k)r(s),T.sortIndex=T.expirationTime,t(a,T);else break;T=n(s)}}function S(k){if(g=!1,d(k),!y)if(n(a)!==null)y=!0,rt(x);else{var T=n(s);T!==null&&ge(S,T.startTime-k)}}function x(k,T){y=!1,g&&(g=!1,f(R),R=-1),v=!0;var H=h;try{for(d(T),m=n(a);m!==null&&(!(m.expirationTime>T)||k&&!ne());){var A=m.callback;if(typeof A=="function"){m.callback=null,h=m.priorityLevel;var $=A(m.expirationTime<=T);T=e.unstable_now(),typeof $=="function"?m.callback=$:m===n(a)&&r(a),d(T)}else r(a);m=n(a)}if(m!==null)var lt=!0;else{var _e=n(s);_e!==null&&ge(S,_e.startTime-T),lt=!1}return lt}finally{m=null,h=H,v=!1}}var E=!1,C=null,R=-1,U=5,z=-1;function ne(){return!(e.unstable_now()-zk||125A?(k.sortIndex=H,t(s,k),n(a)===null&&k===n(s)&&(g?(f(R),R=-1):g=!0,ge(S,H-A))):(k.sortIndex=$,t(a,k),y||v||(y=!0,rt(x))),k},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(k){var T=h;return function(){var H=h;h=T;try{return k.apply(this,arguments)}finally{h=H}}}})(sc);ac.exports=sc;var kp=ac.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cc=P,Re=kp;function _(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"),pi=Object.prototype.hasOwnProperty,xp=/^[: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]*$/,wa={},ka={};function Cp(e){return pi.call(ka,e)?!0:pi.call(wa,e)?!1:xp.test(e)?ka[e]=!0:(wa[e]=!0,!1)}function Ep(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 _p(e,t,n,r){if(t===null||typeof t>"u"||Ep(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 ve(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 ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ve(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ve(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ve(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ve(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){ae[e]=new ve(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ve(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new ve(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new ve(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var yu=/[\-:]([a-z])/g;function Su(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(yu,Su);ae[t]=new ve(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(yu,Su);ae[t]=new ve(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(yu,Su);ae[t]=new ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ve(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function wu(e,t,n,r){var l=ae.hasOwnProperty(t)?ae[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var a=` +`+l[i].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=u);break}}}finally{Lo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?or(e):""}function Pp(e){switch(e.tag){case 5:return or(e.type);case 16:return or("Lazy");case 13:return or("Suspense");case 19:return or("SuspenseList");case 0:case 2:case 15:return e=Oo(e.type,!1),e;case 11:return e=Oo(e.type.render,!1),e;case 1:return e=Oo(e.type,!0),e;default:return""}}function gi(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 mn:return"Fragment";case hn:return"Portal";case hi:return"Profiler";case ku:return"StrictMode";case mi:return"Suspense";case vi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pc:return(e.displayName||"Context")+".Consumer";case dc:return(e._context.displayName||"Context")+".Provider";case xu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cu:return t=e.displayName||null,t!==null?t:gi(e.type)||"Memo";case kt:t=e._payload,e=e._init;try{return gi(e(t))}catch{}}return null}function Np(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 gi(t);case 8:return t===ku?"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 Mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hp(e){var t=mc(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 Jr(e){e._valueTracker||(e._valueTracker=Hp(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function jl(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 yi(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ca(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mt(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 gc(e,t){t=t.checked,t!=null&&wu(e,"checked",t,!1)}function Si(e,t){gc(e,t);var n=Mt(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")?wi(e,t.type,n):t.hasOwnProperty("defaultValue")&&wi(e,t.type,Mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ea(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 wi(e,t,n){(t!=="number"||jl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ir=Array.isArray;function Nn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Zr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var cr={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},jp=["Webkit","ms","Moz","O"];Object.keys(cr).forEach(function(e){jp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cr[t]=cr[e]})});function kc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||cr.hasOwnProperty(e)&&cr[e]?(""+t).trim():t+"px"}function xc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=kc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Rp=G({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 Ci(e,t){if(t){if(Rp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function Ei(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 _i=null;function Eu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pi=null,Hn=null,jn=null;function Na(e){if(e=Br(e)){if(typeof Pi!="function")throw Error(_(280));var t=e.stateNode;t&&(t=fo(t),Pi(e.stateNode,e.type,t))}}function Cc(e){Hn?jn?jn.push(e):jn=[e]:Hn=e}function Ec(){if(Hn){var e=Hn,t=jn;if(jn=Hn=null,Na(e),t)for(e=0;e>>=0,e===0?32:31-(Up(e)/Bp|0)|0}var qr=64,br=4194304;function ur(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 Ll(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 u=i&~l;u!==0?r=ur(u):(o&=i,o!==0&&(r=ur(o)))}else i=n&~l,i!==0?r=ur(i):o!==0&&(r=ur(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 Fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Qe(t),e[t]=n}function Kp(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=dr),$a=String.fromCharCode(32),Da=!1;function Vc(e,t){switch(e){case"keyup":return wh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function xh(e,t){switch(e){case"compositionend":return Qc(t);case"keypress":return t.which!==32?null:(Da=!0,$a);case"textInput":return e=t.data,e===$a&&Da?null:e;default:return null}}function Ch(e,t){if(vn)return e==="compositionend"||!zu&&Vc(e,t)?(e=Bc(),vl=ju=_t=null,vn=!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=Ua(n)}}function Xc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jc(){for(var e=window,t=jl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=jl(e.document)}return t}function Lu(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 zh(e){var t=Jc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xc(n.ownerDocument.documentElement,n)){if(r!==null&&Lu(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=Ba(n,o);var i=Ba(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,gn=null,zi=null,hr=null,Li=!1;function Wa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Li||gn==null||gn!==jl(r)||(r=gn,"selectionStart"in r&&Lu(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}),hr&&Nr(hr,r)||(hr=r,r=$l(zi,"onSelect"),0wn||(e.current=Ai[wn],Ai[wn]=null,wn--)}function F(e,t){wn++,Ai[wn]=e.current,e.current=t}var At={},de=Ut(At),xe=Ut(!1),bt=At;function On(e,t){var n=e.type.contextTypes;if(!n)return At;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 Ce(e){return e=e.childContextTypes,e!=null}function Ml(){V(xe),V(de)}function Ja(e,t,n){if(de.current!==At)throw Error(_(168));F(de,t),F(xe,n)}function of(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(_(108,Np(e)||"Unknown",l));return G({},n,r)}function Al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||At,bt=de.current,F(de,e),F(xe,xe.current),!0}function Za(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=of(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,V(xe),V(de),F(de,e)):V(xe),F(xe,n)}var ut=null,po=!1,Go=!1;function uf(e){ut===null?ut=[e]:ut.push(e)}function Vh(e){po=!0,uf(e)}function Bt(){if(!Go&&ut!==null){Go=!0;var e=0,t=M;try{var n=ut;for(M=1;e>=i,l-=i,at=1<<32-Qe(t)+l|n<R?(U=C,C=null):U=C.sibling;var z=h(f,C,d[R],S);if(z===null){C===null&&(C=U);break}e&&C&&z.alternate===null&&t(f,C),c=o(z,c,R),E===null?x=z:E.sibling=z,E=z,C=U}if(R===d.length)return n(f,C),Q&&Wt(f,R),x;if(C===null){for(;RR?(U=C,C=null):U=C.sibling;var ne=h(f,C,z.value,S);if(ne===null){C===null&&(C=U);break}e&&C&&ne.alternate===null&&t(f,C),c=o(ne,c,R),E===null?x=ne:E.sibling=ne,E=ne,C=U}if(z.done)return n(f,C),Q&&Wt(f,R),x;if(C===null){for(;!z.done;R++,z=d.next())z=m(f,z.value,S),z!==null&&(c=o(z,c,R),E===null?x=z:E.sibling=z,E=z);return Q&&Wt(f,R),x}for(C=r(f,C);!z.done;R++,z=d.next())z=v(C,f,R,z.value,S),z!==null&&(e&&z.alternate!==null&&C.delete(z.key===null?R:z.key),c=o(z,c,R),E===null?x=z:E.sibling=z,E=z);return e&&C.forEach(function(nt){return t(f,nt)}),Q&&Wt(f,R),x}function N(f,c,d,S){if(typeof d=="object"&&d!==null&&d.type===mn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Xr:e:{for(var x=d.key,E=c;E!==null;){if(E.key===x){if(x=d.type,x===mn){if(E.tag===7){n(f,E.sibling),c=l(E,d.props.children),c.return=f,f=c;break e}}else if(E.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===kt&&ls(x)===E.type){n(f,E.sibling),c=l(E,d.props),c.ref=nr(f,E,d),c.return=f,f=c;break e}n(f,E);break}else t(f,E);E=E.sibling}d.type===mn?(c=Jt(d.props.children,f.mode,S,d.key),c.return=f,f=c):(S=El(d.type,d.key,d.props,null,f.mode,S),S.ref=nr(f,c,d),S.return=f,f=S)}return i(f);case hn:e:{for(E=d.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=ni(d,f.mode,S),c.return=f,f=c}return i(f);case kt:return E=d._init,N(f,c,E(d._payload),S)}if(ir(d))return y(f,c,d,S);if(Zn(d))return g(f,c,d,S);il(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=ti(d,f.mode,S),c.return=f,f=c),i(f)):n(f,c)}return N}var $n=mf(!0),vf=mf(!1),Wr={},tt=Ut(Wr),Tr=Ut(Wr),zr=Ut(Wr);function Yt(e){if(e===Wr)throw Error(_(174));return e}function Bu(e,t){switch(F(zr,t),F(Tr,e),F(tt,Wr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xi(t,e)}V(tt),F(tt,t)}function Dn(){V(tt),V(Tr),V(zr)}function gf(e){Yt(zr.current);var t=Yt(tt.current),n=xi(t,e.type);t!==n&&(F(Tr,e),F(tt,n))}function Wu(e){Tr.current===e&&(V(tt),V(Tr))}var K=Ut(0);function Ql(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 Xo=[];function Vu(){for(var e=0;en?n:4,e(!0);var r=Jo.transition;Jo.transition={};try{e(!1),t()}finally{M=n,Jo.transition=r}}function Lf(){return Ae().memoizedState}function Gh(e,t,n){var r=Ot(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Of(e))If(t,n);else if(n=ff(e,t,n,r),n!==null){var l=he();Ke(n,e,r,l),$f(n,t,r)}}function Xh(e,t,n){var r=Ot(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Of(e))If(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,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Ge(u,i)){var a=t.interleaved;a===null?(l.next=l,Fu(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=ff(e,t,l,r),n!==null&&(l=he(),Ke(n,e,r,l),$f(n,t,r))}}function Of(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function If(e,t){mr=Kl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $f(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pu(e,n)}}var Yl={readContext:Me,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useInsertionEffect:se,useLayoutEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useMutableSource:se,useSyncExternalStore:se,useId:se,unstable_isNewReconciler:!1},Jh={readContext:Me,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Me,useEffect:is,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,wl(4194308,4,Hf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wl(4194308,4,e,t)},useInsertionEffect:function(e,t){return wl(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();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=Gh.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:os,useDebugValue:Xu,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=os(!1),t=e[0];return e=Yh.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,l=Ze();if(Q){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),oe===null)throw Error(_(349));tn&30||wf(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,is(xf.bind(null,r,o,e),[e]),r.flags|=2048,Ir(9,kf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ze(),t=oe.identifierPrefix;if(Q){var n=st,r=at;n=(r&~(1<<32-Qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Lr++,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[be]=t,e[Rr]=r,Qf(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ei(n,r),n){case"dialog":B("cancel",e),B("close",e),l=r;break;case"iframe":case"object":case"embed":B("load",e),l=r;break;case"video":case"audio":for(l=0;lAn&&(t.flags|=128,r=!0,rr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ql(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),rr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Q)return ce(t),null}else 2*J()-o.renderingStartTime>An&&n!==1073741824&&(t.flags|=128,r=!0,rr(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=J(),t.sibling=null,n=K.current,F(K,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return ta(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ne&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function lm(e,t){switch(Iu(t),t.tag){case 1:return Ce(t.type)&&Ml(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dn(),V(xe),V(de),Vu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Wu(t),null;case 13:if(V(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));In()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(K),null;case 4:return Dn(),null;case 10:return Au(t.type._context),null;case 22:case 23:return ta(),null;case 24:return null;default:return null}}var al=!1,fe=!1,om=typeof WeakSet=="function"?WeakSet:Set,j=null;function En(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function Zi(e,t,n){try{n()}catch(r){X(e,t,r)}}var ms=!1;function im(e,t){if(Oi=Ol,e=Jc(),Lu(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,u=-1,a=-1,s=0,p=0,m=e,h=null;t:for(;;){for(var v;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(a=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(v=m.firstChild)!==null;)h=m,m=v;for(;;){if(m===e)break t;if(h===n&&++s===l&&(u=i),h===o&&++p===r&&(a=i),(v=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=v}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ii={focusedElem:e,selectionRange:n},Ol=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,N=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?g:Be(t.type,g),N);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(S){X(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return y=ms,ms=!1,y}function vr(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&&Zi(t,n,o)}l=l.next}while(l!==r)}}function vo(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 qi(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 Gf(e){var t=e.alternate;t!==null&&(e.alternate=null,Gf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[be],delete t[Rr],delete t[Mi],delete t[Bh],delete t[Wh])),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 Xf(e){return e.tag===5||e.tag===3||e.tag===4}function vs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xf(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 bi(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=Dl));else if(r!==4&&(e=e.child,e!==null))for(bi(e,t,n),e=e.sibling;e!==null;)bi(e,t,n),e=e.sibling}function eu(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(eu(e,t,n),e=e.sibling;e!==null;)eu(e,t,n),e=e.sibling}var ie=null,We=!1;function yt(e,t,n){for(n=n.child;n!==null;)Jf(e,t,n),n=n.sibling}function Jf(e,t,n){if(et&&typeof et.onCommitFiberUnmount=="function")try{et.onCommitFiberUnmount(uo,n)}catch{}switch(n.tag){case 5:fe||En(n,t);case 6:var r=ie,l=We;ie=null,yt(e,t,n),ie=r,We=l,ie!==null&&(We?(e=ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ie.removeChild(n.stateNode));break;case 18:ie!==null&&(We?(e=ie,n=n.stateNode,e.nodeType===8?Yo(e.parentNode,n):e.nodeType===1&&Yo(e,n),_r(e)):Yo(ie,n.stateNode));break;case 4:r=ie,l=We,ie=n.stateNode.containerInfo,We=!0,yt(e,t,n),ie=r,We=l;break;case 0:case 11:case 14:case 15:if(!fe&&(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)&&Zi(n,t,i),l=l.next}while(l!==r)}yt(e,t,n);break;case 1:if(!fe&&(En(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){X(n,t,u)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(fe=(r=fe)||n.memoizedState!==null,yt(e,t,n),fe=r):yt(e,t,n);break;default:yt(e,t,n)}}function gs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new om),t.forEach(function(r){var l=mm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ue(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*am(r/1960))-r,10e?16:e,Pt===null)var r=!1;else{if(e=Pt,Pt=null,Jl=0,I&6)throw Error(_(331));var l=I;for(I|=4,j=e.current;j!==null;){var o=j,i=o.child;if(j.flags&16){var u=o.deletions;if(u!==null){for(var a=0;aJ()-bu?Xt(e,0):qu|=n),Ee(e,t)}function ld(e,t){t===0&&(e.mode&1?(t=br,br<<=1,!(br&130023424)&&(br=4194304)):t=1);var n=he();e=pt(e,t),e!==null&&(Fr(e,t,n),Ee(e,n))}function hm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ld(e,n)}function mm(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(_(314))}r!==null&&r.delete(t),ld(e,n)}var od;od=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||xe.current)Se=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Se=!1,nm(e,t,n);Se=!!(e.flags&131072)}else Se=!1,Q&&t.flags&1048576&&af(t,Ul,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;kl(e,t),e=t.pendingProps;var l=On(t,de.current);Tn(t,n),l=Ku(null,t,r,e,l,n);var o=Yu();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,Ce(r)?(o=!0,Al(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Uu(t),l.updater=ho,t.stateNode=l,l._reactInternals=t,Vi(t,r,e,n),t=Yi(null,t,r,!0,o,n)):(t.tag=0,Q&&o&&Ou(t),pe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(kl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=gm(r),e=Be(r,e),l){case 0:t=Ki(null,t,r,e,n);break e;case 1:t=ds(null,t,r,e,n);break e;case 11:t=cs(null,t,r,e,n);break e;case 14:t=fs(null,t,r,Be(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Be(r,l),Ki(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Be(r,l),ds(e,t,r,l,n);case 3:e:{if(Bf(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,l=o.element,df(e,t),Vl(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=Mn(Error(_(423)),t),t=ps(e,t,r,n,l);break e}else if(r!==l){l=Mn(Error(_(424)),t),t=ps(e,t,r,n,l);break e}else for(He=Tt(t.stateNode.containerInfo.firstChild),je=t,Q=!0,Ve=null,n=vf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(In(),r===l){t=ht(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return gf(t),e===null&&Ui(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,$i(r,l)?i=null:o!==null&&$i(r,o)&&(t.flags|=32),Uf(e,t),pe(e,t,i,n),t.child;case 6:return e===null&&Ui(t),null;case 13:return Wf(e,t,n);case 4:return Bu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$n(t,null,r,n):pe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Be(r,l),cs(e,t,r,l,n);case 7:return pe(e,t,t.pendingProps,n),t.child;case 8:return pe(e,t,t.pendingProps.children,n),t.child;case 12:return pe(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,F(Bl,r._currentValue),r._currentValue=i,o!==null)if(Ge(o.value,i)){if(o.children===l.children&&!xe.current){t=ht(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=ct(-1,n&-n),a.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var p=s.pending;p===null?a.next=a:(a.next=p.next,p.next=a),s.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Bi(o.return,n,t),u.lanes|=n;break}a=a.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(_(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Bi(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}pe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Tn(t,n),l=Me(l),r=r(l),t.flags|=1,pe(e,t,r,n),t.child;case 14:return r=t.type,l=Be(r,t.pendingProps),l=Be(r.type,l),fs(e,t,r,l,n);case 15:return Af(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Be(r,l),kl(e,t),t.tag=1,Ce(r)?(e=!0,Al(t)):e=!1,Tn(t,n),hf(t,r,l),Vi(t,r,l,n),Yi(null,t,r,!0,e,n);case 19:return Vf(e,t,n);case 22:return Ff(e,t,n)}throw Error(_(156,t.tag))};function id(e,t){return Tc(e,t)}function vm(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 $e(e,t,n,r){return new vm(e,t,n,r)}function ra(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gm(e){if(typeof e=="function")return ra(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xu)return 11;if(e===Cu)return 14}return 2}function It(e,t){var n=e.alternate;return n===null?(n=$e(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 El(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")ra(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case mn:return Jt(n.children,l,o,t);case ku:i=8,l|=8;break;case hi:return e=$e(12,n,t,l|2),e.elementType=hi,e.lanes=o,e;case mi:return e=$e(13,n,t,l),e.elementType=mi,e.lanes=o,e;case vi:return e=$e(19,n,t,l),e.elementType=vi,e.lanes=o,e;case hc:return yo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dc:i=10;break e;case pc:i=9;break e;case xu:i=11;break e;case Cu:i=14;break e;case kt:i=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=$e(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Jt(e,t,n,r){return e=$e(7,e,r,t),e.lanes=n,e}function yo(e,t,n,r){return e=$e(22,e,r,t),e.elementType=hc,e.lanes=n,e.stateNode={isHidden:!1},e}function ti(e,t,n){return e=$e(6,e,null,t),e.lanes=n,e}function ni(e,t,n){return t=$e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ym(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=$o(0),this.expirationTimes=$o(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$o(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function la(e,t,n,r,l,o,i,u,a){return e=new ym(e,t,n,u,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=$e(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uu(o),e}function Sm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cd)}catch(e){console.error(e)}}cd(),uc.exports=Te;var Em=uc.exports,_s=Em;di.createRoot=_s.createRoot,di.hydrateRoot=_s.hydrateRoot;/** + * @remix-run/router v1.9.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Dr(){return Dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function aa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Pm(){return Math.random().toString(36).substr(2,8)}function Ns(e,t){return{usr:e.state,key:e.key,idx:t}}function ou(e,t,n,r){return n===void 0&&(n=null),Dr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Gn(t):t,{state:n,key:t&&t.key||r||Pm()})}function bl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Gn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Nm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=Nt.Pop,a=null,s=p();s==null&&(s=0,i.replaceState(Dr({},i.state,{idx:s}),""));function p(){return(i.state||{idx:null}).idx}function m(){u=Nt.Pop;let N=p(),f=N==null?null:N-s;s=N,a&&a({action:u,location:g.location,delta:f})}function h(N,f){u=Nt.Push;let c=ou(g.location,N,f);n&&n(c,N),s=p()+1;let d=Ns(c,s),S=g.createHref(c);try{i.pushState(d,"",S)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;l.location.assign(S)}o&&a&&a({action:u,location:g.location,delta:1})}function v(N,f){u=Nt.Replace;let c=ou(g.location,N,f);n&&n(c,N),s=p();let d=Ns(c,s),S=g.createHref(c);i.replaceState(d,"",S),o&&a&&a({action:u,location:g.location,delta:0})}function y(N){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof N=="string"?N:bl(N);return b(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let g={get action(){return u},get location(){return e(l,i)},listen(N){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(Ps,m),a=N,()=>{l.removeEventListener(Ps,m),a=null}},createHref(N){return t(l,N)},createURL:y,encodeLocation(N){let f=y(N);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:h,replace:v,go(N){return i.go(N)}};return g}var Hs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hs||(Hs={}));function Hm(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Gn(t):t,l=sa(r.pathname||"/",n);if(l==null)return null;let o=fd(e);jm(o);let i=null;for(let u=0;i==null&&u{let a={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};a.relativePath.startsWith("/")&&(b(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=$t([r,a.relativePath]),p=n.concat(a);o.children&&o.children.length>0&&(b(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),fd(o.children,t,p,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:$m(s,o.index),routesMeta:p})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let a of dd(o.path))l(o,i,a)}),t}function dd(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=dd(r.join("/")),u=[];return u.push(...i.map(a=>a===""?o:[o,a].join("/"))),l&&u.push(...i),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function jm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Dm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Rm=/^:\w+$/,Tm=3,zm=2,Lm=1,Om=10,Im=-2,js=e=>e==="*";function $m(e,t){let n=e.split("/"),r=n.length;return n.some(js)&&(r+=Im),t&&(r+=zm),n.filter(l=>!js(l)).reduce((l,o)=>l+(Rm.test(o)?Tm:o===""?Lm:Om),r)}function Dm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Mm(e,t){let{routesMeta:n}=e,r={},l="/",o=[];for(let i=0;i{if(p==="*"){let h=u[m]||"";i=o.slice(0,o.length-h.length).replace(/(.)\/+$/,"$1")}return s[p]=Bm(u[m]||"",p),s},{}),pathname:o,pathnameBase:i,pattern:e}}function Fm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),aa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,u)=>(r.push(u),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Um(e){try{return decodeURI(e)}catch(t){return aa(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Bm(e,t){try{return decodeURIComponent(e)}catch(n){return aa(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function sa(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Wm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Gn(e):e;return{pathname:n?n.startsWith("/")?n:Vm(n,t):t,search:Km(r),hash:Ym(l)}}function Vm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function ri(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function pd(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function hd(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Gn(e):(l=Dr({},e),b(!l.pathname||!l.pathname.includes("?"),ri("?","pathname","search",l)),b(!l.pathname||!l.pathname.includes("#"),ri("#","pathname","hash",l)),b(!l.search||!l.search.includes("#"),ri("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(r||i==null)u=n;else{let m=t.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),m-=1;l.pathname=h.join("/")}u=m>=0?t[m]:"/"}let a=Wm(l,u),s=i&&i!=="/"&&i.endsWith("/"),p=(o||i===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||p)&&(a.pathname+="/"),a}const $t=e=>e.join("/").replace(/\/\/+/g,"/"),Qm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Km=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ym=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Gm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const md=["post","put","patch","delete"];new Set(md);const Xm=["get",...md];new Set(Xm);/** + * React Router v6.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.pathnameBase)),i=P.useRef(!1);return yd(()=>{i.current=!0}),P.useCallback(function(a,s){if(s===void 0&&(s={}),!i.current)return;if(typeof a=="number"){n.go(a);return}let p=hd(a,JSON.parse(o),l,s.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:$t([t,p.pathname])),(s.replace?n.replace:n.push)(p,s.state,s)},[t,n,o,l,e])}function fa(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=P.useContext(an),{pathname:l}=Qr(),o=JSON.stringify(pd(r).map(i=>i.pathnameBase));return P.useMemo(()=>hd(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function qm(e,t){return bm(e,t)}function bm(e,t,n){Vr()||b(!1);let{navigator:r}=P.useContext(un),{matches:l}=P.useContext(an),o=l[l.length-1],i=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let a=Qr(),s;if(t){var p;let g=typeof t=="string"?Gn(t):t;u==="/"||(p=g.pathname)!=null&&p.startsWith(u)||b(!1),s=g}else s=a;let m=s.pathname||"/",h=u==="/"?m:m.slice(u.length)||"/",v=Hm(e,{pathname:h}),y=lv(v&&v.map(g=>Object.assign({},g,{params:Object.assign({},i,g.params),pathname:$t([u,r.encodeLocation?r.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?u:$t([u,r.encodeLocation?r.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),l,n);return t&&y?P.createElement(Co.Provider,{value:{location:eo({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:Nt.Pop}},y):y}function ev(){let e=av(),t=Gm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:l},n):null,o)}const tv=P.createElement(ev,null);class nv extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?P.createElement(an.Provider,{value:this.props.routeContext},P.createElement(gd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rv(e){let{routeContext:t,match:n,children:r}=e,l=P.useContext(ca);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(an.Provider,{value:t},r)}function lv(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let o=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let u=o.findIndex(a=>a.route.id&&(i==null?void 0:i[a.route.id]));u>=0||b(!1),o=o.slice(0,Math.min(o.length,u+1))}return o.reduceRight((u,a,s)=>{let p=a.route.id?i==null?void 0:i[a.route.id]:null,m=null;n&&(m=a.route.errorElement||tv);let h=t.concat(o.slice(0,s+1)),v=()=>{let y;return p?y=m:a.route.Component?y=P.createElement(a.route.Component,null):a.route.element?y=a.route.element:y=u,P.createElement(rv,{match:a,routeContext:{outlet:u,matches:h,isDataRoute:n!=null},children:y})};return n&&(a.route.ErrorBoundary||a.route.errorElement||s===0)?P.createElement(nv,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var wd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(wd||{}),to=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(to||{});function ov(e){let t=P.useContext(ca);return t||b(!1),t}function iv(e){let t=P.useContext(vd);return t||b(!1),t}function uv(e){let t=P.useContext(an);return t||b(!1),t}function kd(e){let t=uv(),n=t.matches[t.matches.length-1];return n.route.id||b(!1),n.route.id}function av(){var e;let t=P.useContext(gd),n=iv(to.UseRouteError),r=kd(to.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function sv(){let{router:e}=ov(wd.UseNavigateStable),t=kd(to.UseNavigateStable),n=P.useRef(!1);return yd(()=>{n.current=!0}),P.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,eo({fromRouteId:t},o)))},[e,t])}function St(e){b(!1)}function cv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=Nt.Pop,navigator:o,static:i=!1}=e;Vr()&&b(!1);let u=t.replace(/^\/*/,"/"),a=P.useMemo(()=>({basename:u,navigator:o,static:i}),[u,o,i]);typeof r=="string"&&(r=Gn(r));let{pathname:s="/",search:p="",hash:m="",state:h=null,key:v="default"}=r,y=P.useMemo(()=>{let g=sa(s,u);return g==null?null:{location:{pathname:g,search:p,hash:m,state:h,key:v},navigationType:l}},[u,s,p,m,h,v,l]);return y==null?null:P.createElement(un.Provider,{value:a},P.createElement(Co.Provider,{children:n,value:y}))}function fv(e){let{children:t,location:n}=e;return qm(iu(t),n)}new Promise(()=>{});function iu(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,l)=>{if(!P.isValidElement(r))return;let o=[...t,l];if(r.type===P.Fragment){n.push.apply(n,iu(r.props.children,o));return}r.type!==St&&b(!1),!r.props.index||!r.props.children||b(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=iu(r.props.children,o)),n.push(i)}),n}/** + * React Router DOM v6.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function no(){return no=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function dv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pv(e,t){return e.button===0&&(!t||t==="_self")&&!dv(e)}const hv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],mv=["aria-current","caseSensitive","className","end","style","to","children"],vv="startTransition",Rs=hp[vv];function gv(e){let{basename:t,children:n,future:r,window:l}=e,o=P.useRef();o.current==null&&(o.current=_m({window:l,v5Compat:!0}));let i=o.current,[u,a]=P.useState({action:i.action,location:i.location}),{v7_startTransition:s}=r||{},p=P.useCallback(m=>{s&&Rs?Rs(()=>a(m)):a(m)},[a,s]);return P.useLayoutEffect(()=>i.listen(p),[i,p]),P.createElement(cv,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const yv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wv=P.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:a,to:s,preventScrollReset:p}=t,m=xd(t,hv),{basename:h}=P.useContext(un),v,y=!1;if(typeof s=="string"&&Sv.test(s)&&(v=s,yv))try{let c=new URL(window.location.href),d=s.startsWith("//")?new URL(c.protocol+s):new URL(s),S=sa(d.pathname,h);d.origin===c.origin&&S!=null?s=S+d.search+d.hash:y=!0}catch{}let g=Jm(s,{relative:l}),N=xv(s,{replace:i,state:u,target:a,preventScrollReset:p,relative:l});function f(c){r&&r(c),c.defaultPrevented||N(c)}return P.createElement("a",no({},m,{href:v||g,onClick:y||o?r:f,ref:n,target:a}))}),kv=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:o="",end:i=!1,style:u,to:a,children:s}=t,p=xd(t,mv),m=fa(a,{relative:p.relative}),h=Qr(),v=P.useContext(vd),{navigator:y}=P.useContext(un),g=y.encodeLocation?y.encodeLocation(m).pathname:m.pathname,N=h.pathname,f=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;l||(N=N.toLowerCase(),f=f?f.toLowerCase():null,g=g.toLowerCase());let c=N===g||!i&&N.startsWith(g)&&N.charAt(g.length)==="/",d=f!=null&&(f===g||!i&&f.startsWith(g)&&f.charAt(g.length)==="/"),S=c?r:void 0,x;typeof o=="function"?x=o({isActive:c,isPending:d}):x=[o,c?"active":null,d?"pending":null].filter(Boolean).join(" ");let E=typeof u=="function"?u({isActive:c,isPending:d}):u;return P.createElement(wv,no({},p,{"aria-current":S,className:x,ref:n,style:E,to:a}),typeof s=="function"?s({isActive:c,isPending:d}):s)});var Ts;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Ts||(Ts={}));var zs;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zs||(zs={}));function xv(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i}=t===void 0?{}:t,u=Sd(),a=Qr(),s=fa(e,{relative:i});return P.useCallback(p=>{if(pv(p,n)){p.preventDefault();let m=r!==void 0?r:bl(a)===bl(s);u(e,{replace:m,state:l,preventScrollReset:o,relative:i})}},[a,u,s,r,l,n,e,o,i])}const Cd="/blackjack_probability",Ed="/about-us",_d="/charts",Pd="/terms",Nd="/game",Hd="/customize",Cv="*",Ev=()=>{const e=Sd(),t=()=>{e(Nd)},n=()=>{e(Hd)};return w.jsx("div",{className:"background",children:w.jsxs("div",{className:"titleHolder",children:[w.jsx("h1",{className:"title",children:"Blackjack Probability"}),w.jsx("p",{className:"info",children:"Ever wanted to learn how to become a true professional at Blackjack? Well click 'Learn the Game' below to learn how you can!"}),w.jsxs("div",{className:"row",children:[w.jsx("button",{className:"btn-hover",onClick:t,children:"Play the Game"}),w.jsx("button",{className:"btn-hover",onClick:n,children:"Customize Table"})]})]})})};const _v="/blackjack_probability/assets/CardsAndChips-891df8e4.svg",Pv="/blackjack_probability/assets/PuzzleWall-d409c30e.svg",Nv="/blackjack_probability/assets/PiggyBank-fe8bea6a.svg",Hv="/blackjack_probability/assets/CardDecks-bb474b3e.svg",jv=()=>w.jsxs("div",{className:"container",children:[w.jsxs("div",{className:"subContainer",children:[w.jsx("p",{className:"titleText",children:"Learn How to Play!"}),w.jsx("img",{className:"image",src:_v})]}),w.jsxs("div",{className:"subContainer",children:[w.jsx("img",{className:"image",src:Hv}),w.jsx("p",{className:"titleText",children:"Learn Basic Strategy!"})]}),w.jsxs("div",{className:"subContainer",children:[w.jsx("p",{className:"titleText",children:"See The Odds and Learn to Beat Them!"}),w.jsx("img",{className:"image",src:Pv})]}),w.jsxs("div",{className:"subContainer",children:[w.jsx("img",{className:"image",src:Nv}),w.jsx("p",{className:"titleText",children:"Learn Without Spending a Dime!"})]})]}),Rv=()=>w.jsxs("div",{children:[w.jsx(Ev,{}),w.jsx(jv,{})]});var we=function(){return we=Object.assign||function(t){for(var n,r=1,l=arguments.length;r0?le(Xn,--Fe):0,Un--,Z===10&&(Un=1,_o--),Z}function Ye(){return Z=Fe2||au(Z)>3?"":" "}function Uv(e,t){for(;--t&&Ye()&&!(Z<48||Z>102||Z>57&&Z<65||Z>70&&Z<97););return No(e,Pl()+(t<6&&Zt()==32&&Ye()==32))}function su(e){for(;Ye();)switch(Z){case e:return Fe;case 34:case 39:e!==34&&e!==39&&su(Z);break;case 40:e===41&&su(e);break;case 92:Ye();break}return Fe}function Bv(e,t){for(;Ye()&&e+Z!==47+10;)if(e+Z===42+42&&Zt()===47)break;return"/*"+No(t,Fe-1)+"*"+pa(e===47?e:Ye())}function Wv(e){for(;!au(Zt());)Ye();return No(e,Fe)}function Vv(e){return Av(Nl("",null,null,null,[""],e=Mv(e),0,[0],e))}function Nl(e,t,n,r,l,o,i,u,a){for(var s=0,p=0,m=i,h=0,v=0,y=0,g=1,N=1,f=1,c=0,d="",S=l,x=o,E=r,C=d;N;)switch(y=c,c=Ye()){case 40:if(y!=108&&le(C,m-1)==58){_l(C+=L(li(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:C+=li(c);break;case 9:case 10:case 13:case 32:C+=Fv(y);break;case 92:C+=Uv(Pl()-1,7);continue;case 47:switch(Zt()){case 42:case 47:sr(Qv(Bv(Ye(),Pl()),t,n,a),a);break;default:C+="/"}break;case 123*g:u[s++]=qe(C)*f;case 125*g:case 59:case 0:switch(c){case 0:case 125:N=0;case 59+p:f==-1&&(C=L(C,/\f/g,"")),v>0&&qe(C)-m&&sr(v>32?Is(C+";",r,n,m-1,a):Is(L(C," ","")+";",r,n,m-2,a),a);break;case 59:C+=";";default:if(sr(E=Os(C,t,n,s,p,l,u,d,S=[],x=[],m,o),o),c===123)if(p===0)Nl(C,t,E,E,S,o,m,u,x);else switch(h===99&&le(C,3)===110?100:h){case 100:case 108:case 109:case 115:Nl(e,E,E,r&&sr(Os(e,E,E,0,0,l,u,d,l,S=[],m,x),x),l,x,m,u,r?S:x);break;default:Nl(C,E,E,E,[""],x,0,u,x)}}s=p=v=0,g=f=1,d=C="",m=i;break;case 58:m=1+qe(C),v=y;default:if(g<1){if(c==123)--g;else if(c==125&&g++==0&&Dv()==125)continue}switch(C+=pa(c),c*g){case 38:f=p>0?1:(C+="\f",-1);break;case 44:u[s++]=(qe(C)-1)*f,f=1;break;case 64:Zt()===45&&(C+=li(Ye())),h=Zt(),p=m=qe(d=C+=Wv(Pl())),c++;break;case 45:y===45&&qe(C)==2&&(g=0)}}return o}function Os(e,t,n,r,l,o,i,u,a,s,p,m){for(var h=l-1,v=l===0?o:[""],y=zd(v),g=0,N=0,f=0;g0?v[c]+" "+d:L(d,/&\f/g,v[c])))&&(a[f++]=S);return Po(e,t,n,l===0?Eo:u,a,s,p,m)}function Qv(e,t,n,r){return Po(e,t,n,jd,pa($v()),Fn(e,2,-2),0,r)}function Is(e,t,n,r,l){return Po(e,t,n,da,Fn(e,0,r),Fn(e,r+1,-1),r,l)}function Od(e,t,n){switch(Ov(e,t)){case 5103:return D+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+e+e;case 4789:return Sr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+Sr+e+W+e+e;case 5936:switch(le(e,t+11)){case 114:return D+e+W+L(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+W+L(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+W+L(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return D+e+W+e+e;case 6165:return D+e+W+"flex-"+e+e;case 5187:return D+e+L(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return D+e+W+"flex-item-"+L(e,/flex-|-self/g,"")+(it(e,/flex-|baseline/)?"":W+"grid-row-"+L(e,/flex-|-self/g,""))+e;case 4675:return D+e+W+"flex-line-pack"+L(e,/align-content|flex-|-self/g,"")+e;case 5548:return D+e+W+L(e,"shrink","negative")+e;case 5292:return D+e+W+L(e,"basis","preferred-size")+e;case 6060:return D+"box-"+L(e,"-grow","")+D+e+W+L(e,"grow","positive")+e;case 4554:return D+L(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return L(L(L(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4200:if(!it(e,/flex-|baseline/))return W+"grid-column-align"+Fn(e,t)+e;break;case 2592:case 3360:return W+L(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,l){return t=l,it(r.props,/grid-\w+-end/)})?~_l(e+(n=n[t].value),"span")?e:W+L(e,"-start","")+e+W+"grid-row-span:"+(~_l(n,"span")?it(n,/\d+/):+it(n,/\d+/)-+it(e,/\d+/))+";":W+L(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return it(r.props,/grid-\w+-start/)})?e:W+L(L(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,D+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qe(e)-1-t>6)switch(le(e,t+1)){case 109:if(le(e,t+4)!==45)break;case 102:return L(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+Sr+(le(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_l(e,"stretch")?Od(L(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return L(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,l,o,i,u,a,s){return W+l+":"+o+s+(i?W+l+"-span:"+(u?a:+a-+o)+s:"")+e});case 4949:if(le(e,t+6)===121)return L(e,":",":"+D)+e;break;case 6444:switch(le(e,le(e,14)===45?18:11)){case 120:return L(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+D+(le(e,14)===45?"inline-":"")+"box$3$1"+D+"$2$3$1"+W+"$2box$3")+e;case 100:return L(e,":",":"+W)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return L(e,"scroll-","scroll-snap-")+e}return e}function lo(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case da:e.return=Od(e.value,e.length,n);return;case Rd:return lo([wt(e,{value:L(e.value,"@","@"+D)})],r);case Eo:if(e.length)return Iv(n=e.props,function(l){switch(it(l,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":fn(wt(e,{props:[L(l,/:(read-\w+)/,":"+Sr+"$1")]})),fn(wt(e,{props:[l]})),uu(e,{props:Ls(n,r)});break;case"::placeholder":fn(wt(e,{props:[L(l,/:(plac\w+)/,":"+D+"input-$1")]})),fn(wt(e,{props:[L(l,/:(plac\w+)/,":"+Sr+"$1")]})),fn(wt(e,{props:[L(l,/:(plac\w+)/,W+"input-$1")]})),fn(wt(e,{props:[l]})),uu(e,{props:Ls(n,r)});break}return""})}}var Jv={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bn=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",ha=typeof window<"u"&&"HTMLElement"in window,Zv=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),Ho=Object.freeze([]),Wn=Object.freeze({});function qv(e,t,n){return n===void 0&&(n=Wn),e.theme!==n.theme&&e.theme||t||n.theme}var Id=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),bv=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eg=/(^-|-$)/g;function $s(e){return e.replace(bv,"-").replace(eg,"")}var tg=/(a)(d)/gi,Ds=function(e){return String.fromCharCode(e+(e>25?39:97))};function cu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ds(t%52)+n;return(Ds(t%52)+n).replace(tg,"$1-$2")}var oi,Pn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$d=function(e){return Pn(5381,e)};function ng(e){return cu($d(e)>>>0)}function rg(e){return e.displayName||e.name||"Component"}function ii(e){return typeof e=="string"&&!0}var Dd=typeof Symbol=="function"&&Symbol.for,Md=Dd?Symbol.for("react.memo"):60115,lg=Dd?Symbol.for("react.forward_ref"):60112,og={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ig={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ad={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ug=((oi={})[lg]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},oi[Md]=Ad,oi);function Ms(e){return("type"in(t=e)&&t.type.$$typeof)===Md?Ad:"$$typeof"in e?ug[e.$$typeof]:og;var t}var ag=Object.defineProperty,sg=Object.getOwnPropertyNames,As=Object.getOwnPropertySymbols,cg=Object.getOwnPropertyDescriptor,fg=Object.getPrototypeOf,Fs=Object.prototype;function Fd(e,t,n){if(typeof t!="string"){if(Fs){var r=fg(t);r&&r!==Fs&&Fd(e,r,n)}var l=sg(t);As&&(l=l.concat(As(t)));for(var o=Ms(e),i=Ms(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var dg=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,l=r.length,o=l;t>=o;)if((o<<=1)<0)throw Kr(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=l;i=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],l=this.indexOfGroup(t),o=l+r,i=l;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(N+="".concat(f,","))}),a+="".concat(y).concat(g,'{content:"').concat(N,'"}').concat(`/*!sc*/ +`)},p=0;p0?".".concat(t):h},p=a.slice();p.push(function(h){h.type===Eo&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Cg,n).replace(r,s))}),i.prefix&&p.push(Xv),p.push(Kv);var m=function(h,v,y,g){v===void 0&&(v=""),y===void 0&&(y=""),g===void 0&&(g="&"),t=g,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var N=h.replace(Eg,""),f=Vv(y||v?"".concat(y," ").concat(v," { ").concat(N," }"):N);i.namespace&&(f=Wd(f,i.namespace));var c=[];return lo(f,Yv(p.concat(Gv(function(d){return c.push(d)})))),c};return m.hash=a.length?a.reduce(function(h,v){return v.name||Kr(15),Pn(h,v.name)},5381).toString():"",m}var Pg=new Bd,du=_g(),Vd=ke.createContext({shouldForwardProp:void 0,styleSheet:Pg,stylis:du});Vd.Consumer;ke.createContext(void 0);function Ws(){return P.useContext(Vd)}var Ng=function(){function e(t,n){var r=this;this.inject=function(l,o){o===void 0&&(o=du);var i=r.name+o.hash;l.hasNameForId(r.id,i)||l.insertRules(r.id,i,o(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,va(this,function(){throw Kr(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=du),this.name+t.hash},e}(),Hg=function(e){return e>="A"&&e<="Z"};function Vs(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,i)){var u=r(o,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,u)}l=Gt(l,i),this.staticRulesId=i}else{for(var a=Pn(this.baseHash,r.hash),s="",p=0;p>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(s,".".concat(v),void 0,this.componentId)),l=Gt(l,v)}}return l},e}(),Yd=ke.createContext(void 0);Yd.Consumer;var ai={};function zg(e,t,n){var r=ma(e),l=e,o=!ii(e),i=t.attrs,u=i===void 0?Ho:i,a=t.componentId,s=a===void 0?function(d,S){var x=typeof d!="string"?"sc":$s(d);ai[x]=(ai[x]||0)+1;var E="".concat(x,"-").concat(ng("6.0.8"+x+ai[x]));return S?"".concat(S,"-").concat(E):E}(t.displayName,t.parentComponentId):a,p=t.displayName;p===void 0&&function(d){return ii(d)?"styled.".concat(d):"Styled(".concat(rg(d),")")}(e);var m=t.displayName&&t.componentId?"".concat($s(t.displayName),"-").concat(t.componentId):t.componentId||s,h=r&&l.attrs?l.attrs.concat(u).filter(Boolean):u,v=t.shouldForwardProp;if(r&&l.shouldForwardProp){var y=l.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;v=function(d,S){return y(d,S)&&g(d,S)}}else v=y}var N=new Tg(n,m,r?l.componentStyle:void 0);function f(d,S){return function(x,E,C){var R=x.attrs,U=x.componentStyle,z=x.defaultProps,ne=x.foldedComponentIds,nt=x.styledComponentId,Xe=x.target,sn=ke.useContext(Yd),Jn=Ws(),rt=x.shouldForwardProp||Jn.shouldForwardProp,ge=function(lt,_e,vt){for(var Pe,Le=we(we({},_e),{className:void 0,theme:vt}),Ro=0;Row.jsx(w.Fragment,{children:w.jsx(Og,{children:w.jsxs(Ig,{children:[w.jsx(Gs,{size:"50px",color:"red"}),w.jsx(dl,{to:Cd,children:"Home"}),w.jsx(dl,{to:Ed,children:"About Us"}),w.jsx(dl,{to:_d,children:"Charts"}),w.jsx(dl,{to:Pd,children:"Terms"}),w.jsx(Gs,{size:"50px",color:"red"})]})})}),Fg="/blackjack_probability/assets/Wireframe-a972ebe5.svg",Ug="/blackjack_probability/assets/CardFan2-7ec4e5d9.svg";const Bg=()=>w.jsxs("div",{className:"column",children:[w.jsxs("div",{className:"about-row",children:[w.jsx("div",{className:"column",children:w.jsxs("div",{className:"text-holder",children:[w.jsx("h1",{className:"about-header",children:"Who are we?"}),w.jsx("p",{className:"about-p",children:"We are a group of college students currently completing a course called Interface Design. We are a small group of four hoping to create an easy to use application for those wanting to delve deeper into the game of Blackjack."})]})}),w.jsx("img",{src:Fg})]}),w.jsxs("div",{className:"about-row",children:[w.jsx("img",{src:Ug}),w.jsx("div",{className:"column",children:w.jsxs("div",{className:"text-holder",children:[w.jsx("h1",{className:"about-header",children:"What is the purpose of this website?"}),w.jsx("p",{className:"about-p",children:"We believe there aren't many applications on the web suited for learning how to count cards easily. Most of the methods used today are charts that you must memorize for different true counts. We want to create a user-friendly website that allows people to learn these deviations without memorizing a set of tables."})]})})]})]});const Wg="/blackjack_probability/assets/404Error-40e8e704.svg",Vg=()=>w.jsx("div",{className:"errorContainer",children:w.jsx("img",{src:Wg,className:"error-img"})});const Qg={data:[{label:"5",value:["H","S","H","H","H","H","H","H","H"]},{label:"6",value:["H","S","H","H","H","H","H","H","H"]},{label:"7",value:["H","S","H","H","H","H","H","H","H"]},{label:"8",value:["H","S","H","H","H","H","H","H","H"]},{label:"9",value:["H","S","H","H","H","H","H","H","H"]},{label:"10",value:["H","S","H","H","H","H","H","H","H"]},{label:"11",value:["H","S","H","H","H","H","H","H","H"]},{label:"12",value:["H","S","H","H","H","H","H","H","H"]},{label:"13",value:["H","S","H","H","H","H","H","H","H"]},{label:"14",value:["H","S","H","H","H","H","H","H","H"]},{label:"15",value:["H","S","H","H","H","H","H","H","H"]},{label:"16",value:["H","S","H","H","H","H","H","H","H"]},{label:"17",value:["H","S","H","H","H","H","H","H","H"]}],data2:[{label:"A/2",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/3",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/4",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/5",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/6",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/7",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/8",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/9",value:["H","S","H","H","H","H","H","H","H"]}]},Kg={data:[{label:"5",value:["S","S","S","S","S","S","S","S","S"]},{label:"6",value:["S","S","S","S","S","S","S","S","S"]},{label:"7",value:["S","S","S","S","S","S","S","S","S"]},{label:"8",value:["S","S","S","S","S","S","S","S","S"]},{label:"9",value:["S","S","S","S","S","S","S","S","S"]},{label:"10",value:["S","S","S","S","S","S","S","S","S"]},{label:"11",value:["S","S","S","S","S","S","S","S","S"]},{label:"12",value:["S","S","S","S","S","S","S","S","S"]},{label:"13",value:["S","S","S","S","S","S","S","S","S"]},{label:"14",value:["S","S","S","S","S","S","S","S","S"]},{label:"15",value:["S","S","S","S","S","S","S","S","S"]},{label:"16",value:["S","S","S","S","S","S","S","S","S"]},{label:"17",value:["S","S","S","S","S","S","S","S","S"]}],data2:[{label:"A/2",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/3",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/4",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/5",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/6",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/7",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/8",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/9",value:["H","S","H","H","H","H","H","H","H"]}]},Yg=[2,3,4,5,6,7,8,9,10],si={chart1:Qg,chart2:Kg,dealerRow:Yg},Gg=()=>{const e=JSON.parse(JSON.stringify(si.chart1)),t=JSON.parse(JSON.stringify(si.chart2)),n=JSON.parse(JSON.stringify(si.dealerRow)),[r,l]=P.useState(e),o=()=>{l(t)};return w.jsxs("div",{className:"table-container",children:[w.jsxs("table",{children:[w.jsxs("tr",{children:[w.jsx("th",{children:`Dealer's Card +Your Hand`}),n.map((i,u)=>w.jsx("th",{children:i},u))]}),r.data.map((i,u)=>w.jsxs("tr",{children:[w.jsx("th",{children:i.label}),i.value.map(a=>w.jsx("td",{style:{backgroundColor:a=="H"?"green":"red"},children:a}))]},u))]}),w.jsxs("table",{children:[w.jsxs("tr",{children:[w.jsx("th",{children:"Your Hand\\Dealer's Card"}),n.map((i,u)=>w.jsx("th",{children:i},u))]}),r.data2.map((i,u)=>w.jsxs("tr",{children:[w.jsx("th",{children:i.label}),i.value.map(a=>w.jsx("td",{style:{backgroundColor:a=="H"?"green":"red"},children:a}))]},u))]}),w.jsx("button",{onClick:o,children:"Switch Charts"})]})};const Xg=()=>{const e=[{term:"Anchorman",definition:"When seated at the blackjack table, the last player to act before the dealer is called the Anchorman."},{term:"Bankroll",definition:"The money you have available to gamble with is called your bankroll. It would help if you did not confuse this with your total available cash - only count the portion you are willing to risk in a casino."},{term:"Blackjack",definition:"Blackjack is the name of the game, but also the perfect hand to receive - one ace and one ten or a picture card, making 21."},{term:"Burn Card",definition:"Before the dealer commences dealing, he places the first card to one side, face down. This is the burn card, designed to make it impossible for the first player to know what the first card is going to be (which would affect how he bets)."},{term:"Bust",definition:"Bust is a word you never wish to be applied to you. Bust means you have run out of money (it is not the end of the world if you lose your bankroll, so long as you did separate it from your day-to-day living funds)."},{term:"Cold Deck",definition:"If the shoe, the name applied to the box holding the cards, is spewing out awful cards and causing the players to lose too much, it is known as a cold deck, as opposed to the players running hot."},{term:"Color Up",definition:"If a player has lots of low denomination chips, he might ask the dealer to color up some of them, changing many small-value chips for higher-value ones."},{term:"Cut Card",definition:"When a new shoe, complete with shuffled cards, is introduced, the dealer asks one player to cut the deck with a cut card. The cut card then signals when action with that shoe finishes, and a new one is required."},{term:"Discards",definition:"All cards that have already been dealt are discards, which then sit idly to one side until a new shoe is needed, and they get reshuffled and re-used."},{term:"Double Down",definition:"If luck is on your side, you have a promising starting hand, and the dealer looks weak—time to double down and double your initial wager. If your hand holds up, you win twice as much as you would have done. However, if it loses… well, let’s not go there."},{term:"House Edge",definition:"The house edge is the expected advantage the house or casino has in a particular game. In blackjack, against players with a basic knowledge of blackjack strategy, the house edge is little over 1%. This means that on average, for every $100 you gamble, you’ll lose $1."},{term:"Flat Betting",definition:"When a player bets the same amount consistently, hand after hand, he is considered to be flat betting. It’s perfectly okay to flat bet, but just not very adventurous."},{term:"Hit",definition:"When you wish the dealer to give you another card, you hit."},{term:"Surrender/Late Surrender",definition:"In some variations of blackjack, you can surrender your hand without making any further decisions. You will receive only half of your stake back, but if your hand looks a dud, you potentially save some money."},{term:"Multi Deck",definition:"Most blackjack games in a casino have multi decks, rather than using one deck of cards. Many games will use six to eight decks at a time."},{term:"Pit",definition:"The table area you sit at for your blackjack game is called the pit, overseen by an often stern-looking casino employee called a pit boss."},{term:"Split",definition:"If you receive two cards of the same value, you have the option to split, matching your initial wager. Now you play two separate hands."},{term:"Stand",definition:"If you like your first two cards or have hit and taken another, you can choose to stand at any time, meaning you won’t take another."},{term:"Toke",definition:"Toke is a casino term for a tip. In bricks and mortar casino games, you don’t have to tip the staff, but they don’t get paid massive amounts, and it’s nice to show your appreciation once in a while."},{term:"Up Card",definition:"You only get to see one face-up card for the dealer while you are playing your hands. This is the up card, while his other card remains face down."}];return w.jsx("div",{className:"term-container",children:e.map((t,n)=>w.jsxs("div",{className:"term-row",children:[w.jsxs("h1",{className:"term-text",children:[t.term,":"]}),w.jsx("p",{className:"term-text",children:t.definition})]},n))})},Jg="_statusContainer_1dlho_1",Zg="_status_1dlho_1",qg="_balance_1dlho_37",bg="_value_1dlho_65",ci={statusContainer:Jg,status:Zg,balance:qg,value:bg},e1="_controlsContainer_1wb3m_1",t1="_button_1wb3m_13",n1="_betContainer_1wb3m_73",dn={controlsContainer:e1,button:t1,betContainer:n1},r1=({gameState:e,buttonState:t,playEvent:n,hitEvent:r,standEvent:l,resetEvent:o})=>{const i=()=>{n()},u=()=>e===0?w.jsx("div",{className:dn.controlsContainer,children:w.jsx("button",{onClick:()=>i(),className:dn.button,children:"Play"})}):w.jsxs("div",{className:dn.controlsContainer,children:[w.jsx("button",{onClick:()=>r(),disabled:t.hitDisabled,className:dn.button,children:"Hit"}),w.jsx("button",{onClick:()=>l(),disabled:t.standDisabled,className:dn.button,children:"Stand"}),w.jsx("button",{onClick:()=>o(),disabled:t.resetDisabled,className:dn.button,children:"Reset"})]});return w.jsx(w.Fragment,{children:u()})},l1=({message:e,gameState:t,buttonState:n,playGame:r,hit:l,stand:o,resetGame:i})=>w.jsx("div",{className:ci.statusContainer,children:w.jsxs("div",{className:ci.status,children:[w.jsx("h1",{className:ci.value,children:e}),w.jsx(r1,{gameState:t,buttonState:n,playEvent:r,hitEvent:l,standEvent:o,resetEvent:i})]})}),o1="_handContainer_fyrow_1",i1="_cardContainer_fyrow_19",u1="_title_fyrow_39",fi={handContainer:o1,cardContainer:i1,title:u1},a1="_card_16txk_1",s1="_hiddenCard_16txk_23",c1="_black_16txk_49",f1="_red_16txk_57",d1="_value_16txk_65",p1="_suit_16txk_75",pn={card:a1,hiddenCard:s1,black:c1,red:f1,value:d1,suit:p1},h1=({value:e,suit:t,hidden:n})=>{const r=()=>t==="♠"||t==="♣"?pn.black:pn.red,l=()=>n?w.jsx("div",{className:pn.hiddenCard}):w.jsx("div",{className:pn.card,children:w.jsxs("div",{className:r(),children:[w.jsx("h1",{className:pn.value,children:e}),w.jsx("h1",{className:pn.suit,children:t})]})});return w.jsx(w.Fragment,{children:l()})},Xs=({title:e,cards:t})=>{const n=()=>{if(t.length>0)return w.jsx("h1",{className:fi.title,children:e})};return w.jsxs("div",{className:fi.handContainer,children:[n(),w.jsx("div",{className:fi.cardContainer,children:t.map((r,l)=>w.jsx(h1,{value:r.value,suit:r.suit,hidden:r.hidden},l))})]})},m1=[{value:"A",suit:"spades"},{value:"A",suit:"diamonds"},{value:"A",suit:"clubs"},{value:"A",suit:"hearts"},{value:"2",suit:"spades"},{value:"2",suit:"diamonds"},{value:"2",suit:"clubs"},{value:"2",suit:"hearts"},{value:"3",suit:"spades"},{value:"3",suit:"diamonds"},{value:"3",suit:"clubs"},{value:"3",suit:"hearts"},{value:"4",suit:"spades"},{value:"4",suit:"diamonds"},{value:"4",suit:"clubs"},{value:"4",suit:"hearts"},{value:"5",suit:"spades"},{value:"5",suit:"diamonds"},{value:"5",suit:"clubs"},{value:"5",suit:"hearts"},{value:"6",suit:"spades"},{value:"6",suit:"diamonds"},{value:"6",suit:"clubs"},{value:"6",suit:"hearts"},{value:"7",suit:"spades"},{value:"7",suit:"diamonds"},{value:"7",suit:"clubs"},{value:"7",suit:"hearts"},{value:"8",suit:"spades"},{value:"8",suit:"diamonds"},{value:"8",suit:"clubs"},{value:"8",suit:"hearts"},{value:"9",suit:"spades"},{value:"9",suit:"diamonds"},{value:"9",suit:"clubs"},{value:"9",suit:"hearts"},{value:"10",suit:"spades"},{value:"10",suit:"diamonds"},{value:"10",suit:"clubs"},{value:"10",suit:"hearts"},{value:"J",suit:"spades"},{value:"J",suit:"diamonds"},{value:"J",suit:"clubs"},{value:"J",suit:"hearts"},{value:"Q",suit:"spades"},{value:"Q",suit:"diamonds"},{value:"Q",suit:"clubs"},{value:"Q",suit:"hearts"},{value:"K",suit:"spades"},{value:"K",suit:"diamonds"},{value:"K",suit:"clubs"},{value:"K",suit:"hearts"}],v1={cards:m1},g1="_gameBackground_rw94s_1",y1="_handSection_rw94s_17",Js={gameBackground:g1,handSection:y1},S1=()=>{let e;(k=>{k[k.bet=0]="bet",k[k.init=1]="init",k[k.userTurn=2]="userTurn",k[k.dealerTurn=3]="dealerTurn"})(e||(e={}));let t;(k=>{k[k.user=0]="user",k[k.dealer=1]="dealer",k[k.hidden=2]="hidden"})(t||(t={}));let n;(k=>{k.bet="Press Play to Start!",k.hitStand="Hit or Stand?",k.bust="Bust!",k.userWin="You Win!",k.dealerWin="Dealer Wins!",k.tie="Tie!"})(n||(n={}));const r=JSON.parse(JSON.stringify(v1.cards)),[l,o]=P.useState(r),[i,u]=P.useState([]),[a,s]=P.useState(0),[p,m]=P.useState(0),[h,v]=P.useState([]),[y,g]=P.useState(0),[N,f]=P.useState(0),[c,d]=P.useState(0),[S,x]=P.useState("Press Play to Start!"),[E,C]=P.useState({hitDisabled:!1,standDisabled:!1,resetDisabled:!0});P.useEffect(()=>{c===1&&(z(0),z(2),z(0),z(1),d(2),x("Hit or Stand?"))},[c]),P.useEffect(()=>{Xe(i,s),m(p+1)},[i]),P.useEffect(()=>{Xe(h,g),f(N+1)},[h]),P.useEffect(()=>{c===2&&(a===21?(E.hitDisabled=!0,C({...E})):a>21&&rt())},[p]),P.useEffect(()=>{c===3&&(y>=17?ge():z(1))},[N]);const R=()=>{d(1)},U=()=>{console.clear(),o(r),u([]),s(0),m(0),v([]),g(0),f(0),d(0),x("Press Play to Start!"),C({hitDisabled:!1,standDisabled:!1,resetDisabled:!0})},z=k=>{if(l.length>0){const T=Math.floor(Math.random()*l.length),H=l[T];switch(l.splice(T,1),o([...l]),console.log("Remaining Cards:",l.length),H.suit){case"spades":ne(k,H.value,"♠");break;case"diamonds":ne(k,H.value,"♦");break;case"clubs":ne(k,H.value,"♣");break;case"hearts":ne(k,H.value,"♥");break}}else alert("All cards have been drawn")},ne=(k,T,H)=>{switch(k){case 0:i.push({value:T,suit:H,hidden:!1}),u([...i]);break;case 1:h.push({value:T,suit:H,hidden:!1}),v([...h]);break;case 2:h.push({value:T,suit:H,hidden:!0}),v([...h]);break}},nt=()=>{h.filter(k=>(k.hidden===!0&&(k.hidden=!1),k)),v([...h])},Xe=(k,T)=>{let H=0;k.forEach($=>{if($.hidden===!1&&$.value!=="A")switch($.value){case"K":H+=10;break;case"Q":H+=10;break;case"J":H+=10;break;default:H+=Number($.value);break}});const A=k.filter($=>$.value==="A");A.forEach($=>{$.hidden===!1&&(H+11>21||H+11===21&&A.length>1?H+=1:H+=11)}),T(H)},sn=()=>{z(0)},Jn=()=>{E.hitDisabled=!0,E.standDisabled=!0,E.resetDisabled=!1,C({...E}),d(3),nt()},rt=()=>{E.hitDisabled=!0,E.standDisabled=!0,E.resetDisabled=!1,C({...E}),x("Bust!")},ge=()=>{a>y||y>21?x("You Win!"):y>a?x("Dealer Wins!"):x("Tie!")};return w.jsxs("div",{className:Js.gameBackground,children:[w.jsx(l1,{message:S,gameState:c,buttonState:E,playGame:R,hit:sn,stand:Jn,resetGame:U}),w.jsxs("div",{className:Js.handSection,children:[w.jsx(Xs,{title:`Dealer's Hand (${y})`,cards:h}),w.jsx(Xs,{title:`Your Hand (${a})`,cards:i})]})]})},w1=()=>w.jsx("div",{children:"Customize page"}),k1=()=>w.jsxs("div",{children:[w.jsx(Ag,{}),w.jsxs(fv,{children:[w.jsx(St,{path:Cd,element:w.jsx(Rv,{})}),w.jsx(St,{path:Ed,element:w.jsx(Bg,{})}),w.jsx(St,{path:_d,element:w.jsx(Gg,{})}),w.jsx(St,{path:Pd,element:w.jsx(Xg,{})}),w.jsx(St,{path:Nd,element:w.jsx(S1,{})}),w.jsx(St,{path:Hd,element:w.jsx(w1,{})}),w.jsx(St,{path:Cv,element:w.jsx(Vg,{})})]})]});di.createRoot(document.getElementById("root")).render(w.jsx(ke.StrictMode,{children:w.jsx(gv,{children:w.jsx(k1,{})})})); diff --git a/assets/index-54c1cf2d.js b/assets/index-54c1cf2d.js deleted file mode 100644 index 6b697a7..0000000 --- a/assets/index-54c1cf2d.js +++ /dev/null @@ -1,92 +0,0 @@ -function Zd(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function qd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={exports:{}},uo={},Zs={exports:{}},I={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Fr=Symbol.for("react.element"),bd=Symbol.for("react.portal"),ep=Symbol.for("react.fragment"),tp=Symbol.for("react.strict_mode"),np=Symbol.for("react.profiler"),rp=Symbol.for("react.provider"),lp=Symbol.for("react.context"),op=Symbol.for("react.forward_ref"),ip=Symbol.for("react.suspense"),up=Symbol.for("react.memo"),ap=Symbol.for("react.lazy"),ga=Symbol.iterator;function sp(e){return e===null||typeof e!="object"?null:(e=ga&&e[ga]||e["@@iterator"],typeof e=="function"?e:null)}var qs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},bs=Object.assign,ec={};function Kn(e,t,n){this.props=e,this.context=t,this.refs=ec,this.updater=n||qs}Kn.prototype.isReactComponent={};Kn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tc(){}tc.prototype=Kn.prototype;function hu(e,t,n){this.props=e,this.context=t,this.refs=ec,this.updater=n||qs}var mu=hu.prototype=new tc;mu.constructor=hu;bs(mu,Kn.prototype);mu.isPureReactComponent=!0;var ya=Array.isArray,nc=Object.prototype.hasOwnProperty,vu={current:null},rc={key:!0,ref:!0,__self:!0,__source:!0};function lc(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)nc.call(t,r)&&!rc.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,H=N[U];if(0>>1;Ul(We,z))Jl(Oe,We)?(N[U]=Oe,N[J]=z,U=J):(N[U]=We,N[$]=z,U=$);else if(Jl(Oe,z))N[U]=Oe,N[J]=z,U=J;else break e}}return L}function l(N,L){var z=N.sortIndex-L.sortIndex;return z!==0?z:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var a=[],s=[],p=1,m=null,h=3,v=!1,y=!1,g=!1,P=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(N){for(var L=n(s);L!==null;){if(L.callback===null)r(s);else if(L.startTime<=N)r(s),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(s)}}function w(N){if(g=!1,d(N),!y)if(n(a)!==null)y=!0,ut(k);else{var L=n(s);L!==null&&ve(w,L.startTime-N)}}function k(N,L){y=!1,g&&(g=!1,f(R),R=-1),v=!0;var z=h;try{for(d(L),m=n(a);m!==null&&(!(m.expirationTime>L)||N&&!le());){var U=m.callback;if(typeof U=="function"){m.callback=null,h=m.priorityLevel;var H=U(m.expirationTime<=L);L=e.unstable_now(),typeof H=="function"?m.callback=H:m===n(a)&&r(a),d(L)}else r(a);m=n(a)}if(m!==null)var oe=!0;else{var $=n(s);$!==null&&ve(w,$.startTime-L),oe=!1}return oe}finally{m=null,h=z,v=!1}}var _=!1,x=null,R=-1,M=5,T=-1;function le(){return!(e.unstable_now()-TN||125U?(N.sortIndex=z,t(s,N),n(a)===null&&N===n(s)&&(g?(f(R),R=-1):g=!0,ve(w,z-U))):(N.sortIndex=H,t(a,N),y||v||(y=!0,ut(k))),N},e.unstable_shouldYield=le,e.unstable_wrapCallback=function(N){var L=h;return function(){var z=h;h=L;try{return N.apply(this,arguments)}finally{h=z}}}})(ac);uc.exports=ac;var kp=uc.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var sc=E,Te=kp;function C(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"),pi=Object.prototype.hasOwnProperty,xp=/^[: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]*$/,wa={},ka={};function Cp(e){return pi.call(ka,e)?!0:pi.call(wa,e)?!1:xp.test(e)?ka[e]=!0:(wa[e]=!0,!1)}function Ep(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 _p(e,t,n,r){if(t===null||typeof t>"u"||Ep(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 we(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 fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new we(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new we(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new we(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){fe[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new we(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new we(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new we(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)});var yu=/[\-:]([a-z])/g;function Su(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(yu,Su);fe[t]=new we(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(yu,Su);fe[t]=new we(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(yu,Su);fe[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)});function wu(e,t,n,r){var l=fe.hasOwnProperty(t)?fe[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var a=` -`+l[i].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=u);break}}}finally{Oo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ir(e):""}function Pp(e){switch(e.tag){case 5:return ir(e.type);case 16:return ir("Lazy");case 13:return ir("Suspense");case 19:return ir("SuspenseList");case 0:case 2:case 15:return e=Io(e.type,!1),e;case 11:return e=Io(e.type.render,!1),e;case 1:return e=Io(e.type,!0),e;default:return""}}function gi(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 vn:return"Fragment";case mn:return"Portal";case hi:return"Profiler";case ku:return"StrictMode";case mi:return"Suspense";case vi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case dc:return(e.displayName||"Context")+".Consumer";case fc:return(e._context.displayName||"Context")+".Provider";case xu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cu:return t=e.displayName||null,t!==null?t:gi(e.type)||"Memo";case Et:t=e._payload,e=e._init;try{return gi(e(t))}catch{}}return null}function Np(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 gi(t);case 8:return t===ku?"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 Ut(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jp(e){var t=hc(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 Zr(e){e._valueTracker||(e._valueTracker=jp(e))}function mc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=hc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Rl(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 yi(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ca(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ut(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 vc(e,t){t=t.checked,t!=null&&wu(e,"checked",t,!1)}function Si(e,t){vc(e,t);var n=Ut(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")?wi(e,t.type,n):t.hasOwnProperty("defaultValue")&&wi(e,t.type,Ut(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ea(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 wi(e,t,n){(t!=="number"||Rl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ur=Array.isArray;function jn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=qr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fr={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},Hp=["Webkit","ms","Moz","O"];Object.keys(fr).forEach(function(e){Hp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fr[t]=fr[e]})});function wc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||fr.hasOwnProperty(e)&&fr[e]?(""+t).trim():t+"px"}function kc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=wc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Rp=X({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 Ci(e,t){if(t){if(Rp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Ei(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 _i=null;function Eu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pi=null,Hn=null,Rn=null;function Na(e){if(e=Wr(e)){if(typeof Pi!="function")throw Error(C(280));var t=e.stateNode;t&&(t=po(t),Pi(e.stateNode,e.type,t))}}function xc(e){Hn?Rn?Rn.push(e):Rn=[e]:Hn=e}function Cc(){if(Hn){var e=Hn,t=Rn;if(Rn=Hn=null,Na(e),t)for(e=0;e>>=0,e===0?32:31-(Up(e)/Bp|0)|0}var br=64,el=4194304;function ar(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 Ol(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 u=i&~l;u!==0?r=ar(u):(o&=i,o!==0&&(r=ar(o)))}else i=n&~l,i!==0?r=ar(i):o!==0&&(r=ar(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 Ur(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xe(t),e[t]=n}function Kp(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=pr),$a=String.fromCharCode(32),Da=!1;function Wc(e,t){switch(e){case"keyup":return wh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gn=!1;function xh(e,t){switch(e){case"compositionend":return Vc(t);case"keypress":return t.which!==32?null:(Da=!0,$a);case"textInput":return e=t.data,e===$a&&Da?null:e;default:return null}}function Ch(e,t){if(gn)return e==="compositionend"||!Lu&&Wc(e,t)?(e=Uc(),gl=Hu=jt=null,gn=!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=Ua(n)}}function Gc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xc(){for(var e=window,t=Rl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rl(e.document)}return t}function zu(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 Lh(e){var t=Xc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Gc(n.ownerDocument.documentElement,n)){if(r!==null&&zu(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=Ba(n,o);var i=Ba(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,yn=null,Li=null,mr=null,zi=!1;function Wa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zi||yn==null||yn!==Rl(r)||(r=yn,"selectionStart"in r&&zu(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}),mr&&jr(mr,r)||(mr=r,r=Dl(Li,"onSelect"),0kn||(e.current=Ai[kn],Ai[kn]=null,kn--)}function B(e,t){kn++,Ai[kn]=e.current,e.current=t}var Bt={},me=Vt(Bt),_e=Vt(!1),nn=Bt;function In(e,t){var n=e.type.contextTypes;if(!n)return Bt;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 Pe(e){return e=e.childContextTypes,e!=null}function Al(){Q(_e),Q(me)}function Ja(e,t,n){if(me.current!==Bt)throw Error(C(168));B(me,t),B(_e,n)}function lf(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(C(108,Np(e)||"Unknown",l));return X({},n,r)}function Fl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,nn=me.current,B(me,e),B(_e,_e.current),!0}function Za(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=lf(e,t,nn),r.__reactInternalMemoizedMergedChildContext=e,Q(_e),Q(me),B(me,e)):Q(_e),B(_e,n)}var ft=null,ho=!1,Xo=!1;function of(e){ft===null?ft=[e]:ft.push(e)}function Vh(e){ho=!0,of(e)}function Qt(){if(!Xo&&ft!==null){Xo=!0;var e=0,t=F;try{var n=ft;for(F=1;e>=i,l-=i,dt=1<<32-Xe(t)+l|n<R?(M=x,x=null):M=x.sibling;var T=h(f,x,d[R],w);if(T===null){x===null&&(x=M);break}e&&x&&T.alternate===null&&t(f,x),c=o(T,c,R),_===null?k=T:_.sibling=T,_=T,x=M}if(R===d.length)return n(f,x),K&&Kt(f,R),k;if(x===null){for(;RR?(M=x,x=null):M=x.sibling;var le=h(f,x,T.value,w);if(le===null){x===null&&(x=M);break}e&&x&&le.alternate===null&&t(f,x),c=o(le,c,R),_===null?k=le:_.sibling=le,_=le,x=M}if(T.done)return n(f,x),K&&Kt(f,R),k;if(x===null){for(;!T.done;R++,T=d.next())T=m(f,T.value,w),T!==null&&(c=o(T,c,R),_===null?k=T:_.sibling=T,_=T);return K&&Kt(f,R),k}for(x=r(f,x);!T.done;R++,T=d.next())T=v(x,f,R,T.value,w),T!==null&&(e&&T.alternate!==null&&x.delete(T.key===null?R:T.key),c=o(T,c,R),_===null?k=T:_.sibling=T,_=T);return e&&x.forEach(function(ot){return t(f,ot)}),K&&Kt(f,R),k}function P(f,c,d,w){if(typeof d=="object"&&d!==null&&d.type===vn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Jr:e:{for(var k=d.key,_=c;_!==null;){if(_.key===k){if(k=d.type,k===vn){if(_.tag===7){n(f,_.sibling),c=l(_,d.props.children),c.return=f,f=c;break e}}else if(_.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Et&&ls(k)===_.type){n(f,_.sibling),c=l(_,d.props),c.ref=nr(f,_,d),c.return=f,f=c;break e}n(f,_);break}else t(f,_);_=_.sibling}d.type===vn?(c=bt(d.props.children,f.mode,w,d.key),c.return=f,f=c):(w=_l(d.type,d.key,d.props,null,f.mode,w),w.ref=nr(f,c,d),w.return=f,f=w)}return i(f);case mn:e:{for(_=d.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=ri(d,f.mode,w),c.return=f,f=c}return i(f);case Et:return _=d._init,P(f,c,_(d._payload),w)}if(ur(d))return y(f,c,d,w);if(Zn(d))return g(f,c,d,w);ul(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=ni(d,f.mode,w),c.return=f,f=c),i(f)):n(f,c)}return P}var Dn=hf(!0),mf=hf(!1),Vr={},lt=Vt(Vr),Lr=Vt(Vr),zr=Vt(Vr);function Jt(e){if(e===Vr)throw Error(C(174));return e}function Bu(e,t){switch(B(zr,t),B(Lr,e),B(lt,Vr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xi(t,e)}Q(lt),B(lt,t)}function Mn(){Q(lt),Q(Lr),Q(zr)}function vf(e){Jt(zr.current);var t=Jt(lt.current),n=xi(t,e.type);t!==n&&(B(Lr,e),B(lt,n))}function Wu(e){Lr.current===e&&(Q(lt),Q(Lr))}var Y=Vt(0);function Kl(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 Jo=[];function Vu(){for(var e=0;en?n:4,e(!0);var r=Zo.transition;Zo.transition={};try{e(!1),t()}finally{F=n,Zo.transition=r}}function Lf(){return Fe().memoizedState}function Gh(e,t,n){var r=Dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zf(e))Of(t,n);else if(n=cf(e,t,n,r),n!==null){var l=ye();Je(n,e,r,l),If(n,t,r)}}function Xh(e,t,n){var r=Dt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zf(e))Of(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,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,qe(u,i)){var a=t.interleaved;a===null?(l.next=l,Fu(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=cf(e,t,l,r),n!==null&&(l=ye(),Je(n,e,r,l),If(n,t,r))}}function zf(e){var t=e.alternate;return e===G||t!==null&&t===G}function Of(e,t){vr=Yl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function If(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pu(e,n)}}var Gl={readContext:Ae,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},Jh={readContext:Ae,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:Ae,useEffect:is,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,kl(4194308,4,Nf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return kl(4194308,4,e,t)},useInsertionEffect:function(e,t){return kl(4,2,e,t)},useMemo:function(e,t){var n=et();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=et();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=Gh.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:os,useDebugValue:Xu,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=os(!1),t=e[0];return e=Yh.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,l=et();if(K){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ae===null)throw Error(C(349));ln&30||Sf(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,is(kf.bind(null,r,o,e),[e]),r.flags|=2048,$r(9,wf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=et(),t=ae.identifierPrefix;if(K){var n=pt,r=dt;n=(r&~(1<<32-Xe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Or++,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[nt]=t,e[Tr]=r,Vf(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ei(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;lFn&&(t.flags|=128,r=!0,rr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Kl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),rr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!K)return pe(t),null}else 2*q()-o.renderingStartTime>Fn&&n!==1073741824&&(t.flags|=128,r=!0,rr(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=q(),t.sibling=null,n=Y.current,B(Y,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return ta(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function lm(e,t){switch(Iu(t),t.tag){case 1:return Pe(t.type)&&Al(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mn(),Q(_e),Q(me),Vu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Wu(t),null;case 13:if(Q(Y),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));$n()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(Y),null;case 4:return Mn(),null;case 10:return Au(t.type._context),null;case 22:case 23:return ta(),null;case 24:return null;default:return null}}var sl=!1,he=!1,om=typeof WeakSet=="function"?WeakSet:Set,j=null;function _n(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function Zi(e,t,n){try{n()}catch(r){Z(e,t,r)}}var ms=!1;function im(e,t){if(Oi=Il,e=Xc(),zu(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,u=-1,a=-1,s=0,p=0,m=e,h=null;t:for(;;){for(var v;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(a=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(v=m.firstChild)!==null;)h=m,m=v;for(;;){if(m===e)break t;if(h===n&&++s===l&&(u=i),h===o&&++p===r&&(a=i),(v=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=v}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ii={focusedElem:e,selectionRange:n},Il=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,P=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ke(t.type,g),P);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){Z(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return y=ms,ms=!1,y}function gr(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&&Zi(t,n,o)}l=l.next}while(l!==r)}}function go(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 qi(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 Yf(e){var t=e.alternate;t!==null&&(e.alternate=null,Yf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nt],delete t[Tr],delete t[Mi],delete t[Bh],delete t[Wh])),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 Gf(e){return e.tag===5||e.tag===3||e.tag===4}function vs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gf(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 bi(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=Ml));else if(r!==4&&(e=e.child,e!==null))for(bi(e,t,n),e=e.sibling;e!==null;)bi(e,t,n),e=e.sibling}function eu(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(eu(e,t,n),e=e.sibling;e!==null;)eu(e,t,n),e=e.sibling}var se=null,Ye=!1;function xt(e,t,n){for(n=n.child;n!==null;)Xf(e,t,n),n=n.sibling}function Xf(e,t,n){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(ao,n)}catch{}switch(n.tag){case 5:he||_n(n,t);case 6:var r=se,l=Ye;se=null,xt(e,t,n),se=r,Ye=l,se!==null&&(Ye?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(Ye?(e=se,n=n.stateNode,e.nodeType===8?Go(e.parentNode,n):e.nodeType===1&&Go(e,n),Pr(e)):Go(se,n.stateNode));break;case 4:r=se,l=Ye,se=n.stateNode.containerInfo,Ye=!0,xt(e,t,n),se=r,Ye=l;break;case 0:case 11:case 14:case 15:if(!he&&(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)&&Zi(n,t,i),l=l.next}while(l!==r)}xt(e,t,n);break;case 1:if(!he&&(_n(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Z(n,t,u)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(he=(r=he)||n.memoizedState!==null,xt(e,t,n),he=r):xt(e,t,n);break;default:xt(e,t,n)}}function gs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new om),t.forEach(function(r){var l=mm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ve(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*am(r/1960))-r,10e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,Zl=0,D&6)throw Error(C(331));var l=D;for(D|=4,j=e.current;j!==null;){var o=j,i=o.child;if(j.flags&16){var u=o.deletions;if(u!==null){for(var a=0;aq()-bu?qt(e,0):qu|=n),Ne(e,t)}function rd(e,t){t===0&&(e.mode&1?(t=el,el<<=1,!(el&130023424)&&(el=4194304)):t=1);var n=ye();e=gt(e,t),e!==null&&(Ur(e,t,n),Ne(e,n))}function hm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rd(e,n)}function mm(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(C(314))}r!==null&&r.delete(t),rd(e,n)}var ld;ld=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)xe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return xe=!1,nm(e,t,n);xe=!!(e.flags&131072)}else xe=!1,K&&t.flags&1048576&&uf(t,Bl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;xl(e,t),e=t.pendingProps;var l=In(t,me.current);Ln(t,n),l=Ku(null,t,r,e,l,n);var o=Yu();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,Pe(r)?(o=!0,Fl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Uu(t),l.updater=mo,t.stateNode=l,l._reactInternals=t,Vi(t,r,e,n),t=Yi(null,t,r,!0,o,n)):(t.tag=0,K&&o&&Ou(t),ge(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(xl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=gm(r),e=Ke(r,e),l){case 0:t=Ki(null,t,r,e,n);break e;case 1:t=ds(null,t,r,e,n);break e;case 11:t=cs(null,t,r,e,n);break e;case 14:t=fs(null,t,r,Ke(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),Ki(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),ds(e,t,r,l,n);case 3:e:{if(Uf(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,l=o.element,ff(e,t),Ql(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=An(Error(C(423)),t),t=ps(e,t,r,n,l);break e}else if(r!==l){l=An(Error(C(424)),t),t=ps(e,t,r,n,l);break e}else for(He=Ot(t.stateNode.containerInfo.firstChild),Re=t,K=!0,Ge=null,n=mf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($n(),r===l){t=yt(e,t,n);break e}ge(e,t,r,n)}t=t.child}return t;case 5:return vf(t),e===null&&Ui(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,$i(r,l)?i=null:o!==null&&$i(r,o)&&(t.flags|=32),Ff(e,t),ge(e,t,i,n),t.child;case 6:return e===null&&Ui(t),null;case 13:return Bf(e,t,n);case 4:return Bu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Dn(t,null,r,n):ge(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),cs(e,t,r,l,n);case 7:return ge(e,t,t.pendingProps,n),t.child;case 8:return ge(e,t,t.pendingProps.children,n),t.child;case 12:return ge(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,B(Wl,r._currentValue),r._currentValue=i,o!==null)if(qe(o.value,i)){if(o.children===l.children&&!_e.current){t=yt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=ht(-1,n&-n),a.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var p=s.pending;p===null?a.next=a:(a.next=p.next,p.next=a),s.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Bi(o.return,n,t),u.lanes|=n;break}a=a.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(C(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Bi(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}ge(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Ln(t,n),l=Ae(l),r=r(l),t.flags|=1,ge(e,t,r,n),t.child;case 14:return r=t.type,l=Ke(r,t.pendingProps),l=Ke(r.type,l),fs(e,t,r,l,n);case 15:return Mf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),xl(e,t),t.tag=1,Pe(r)?(e=!0,Fl(t)):e=!1,Ln(t,n),pf(t,r,l),Vi(t,r,l,n),Yi(null,t,r,!0,e,n);case 19:return Wf(e,t,n);case 22:return Af(e,t,n)}throw Error(C(156,t.tag))};function od(e,t){return Rc(e,t)}function vm(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 De(e,t,n,r){return new vm(e,t,n,r)}function ra(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gm(e){if(typeof e=="function")return ra(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xu)return 11;if(e===Cu)return 14}return 2}function Mt(e,t){var n=e.alternate;return n===null?(n=De(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 _l(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")ra(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case vn:return bt(n.children,l,o,t);case ku:i=8,l|=8;break;case hi:return e=De(12,n,t,l|2),e.elementType=hi,e.lanes=o,e;case mi:return e=De(13,n,t,l),e.elementType=mi,e.lanes=o,e;case vi:return e=De(19,n,t,l),e.elementType=vi,e.lanes=o,e;case pc:return So(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fc:i=10;break e;case dc:i=9;break e;case xu:i=11;break e;case Cu:i=14;break e;case Et:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=De(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function bt(e,t,n,r){return e=De(7,e,r,t),e.lanes=n,e}function So(e,t,n,r){return e=De(22,e,r,t),e.elementType=pc,e.lanes=n,e.stateNode={isHidden:!1},e}function ni(e,t,n){return e=De(6,e,null,t),e.lanes=n,e}function ri(e,t,n){return t=De(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ym(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=Do(0),this.expirationTimes=Do(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Do(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function la(e,t,n,r,l,o,i,u,a){return e=new ym(e,t,n,u,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=De(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uu(o),e}function Sm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sd)}catch(e){console.error(e)}}sd(),ic.exports=Le;var Em=ic.exports,_s=Em;di.createRoot=_s.createRoot,di.hydrateRoot=_s.hydrateRoot;/** - * @remix-run/router v1.9.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Mr(){return Mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function aa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Pm(){return Math.random().toString(36).substr(2,8)}function Ns(e,t){return{usr:e.state,key:e.key,idx:t}}function ou(e,t,n,r){return n===void 0&&(n=null),Mr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Xn(t):t,{state:n,key:t&&t.key||r||Pm()})}function eo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Xn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Nm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=Rt.Pop,a=null,s=p();s==null&&(s=0,i.replaceState(Mr({},i.state,{idx:s}),""));function p(){return(i.state||{idx:null}).idx}function m(){u=Rt.Pop;let P=p(),f=P==null?null:P-s;s=P,a&&a({action:u,location:g.location,delta:f})}function h(P,f){u=Rt.Push;let c=ou(g.location,P,f);n&&n(c,P),s=p()+1;let d=Ns(c,s),w=g.createHref(c);try{i.pushState(d,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(w)}o&&a&&a({action:u,location:g.location,delta:1})}function v(P,f){u=Rt.Replace;let c=ou(g.location,P,f);n&&n(c,P),s=p();let d=Ns(c,s),w=g.createHref(c);i.replaceState(d,"",w),o&&a&&a({action:u,location:g.location,delta:0})}function y(P){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof P=="string"?P:eo(P);return te(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let g={get action(){return u},get location(){return e(l,i)},listen(P){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(Ps,m),a=P,()=>{l.removeEventListener(Ps,m),a=null}},createHref(P){return t(l,P)},createURL:y,encodeLocation(P){let f=y(P);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:h,replace:v,go(P){return i.go(P)}};return g}var js;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(js||(js={}));function jm(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Xn(t):t,l=sa(r.pathname||"/",n);if(l==null)return null;let o=cd(e);Hm(o);let i=null;for(let u=0;i==null&&u{let a={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};a.relativePath.startsWith("/")&&(te(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=At([r,a.relativePath]),p=n.concat(a);o.children&&o.children.length>0&&(te(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),cd(o.children,t,p,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:$m(s,o.index),routesMeta:p})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let a of fd(o.path))l(o,i,a)}),t}function fd(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=fd(r.join("/")),u=[];return u.push(...i.map(a=>a===""?o:[o,a].join("/"))),l&&u.push(...i),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function Hm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Dm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Rm=/^:\w+$/,Tm=3,Lm=2,zm=1,Om=10,Im=-2,Hs=e=>e==="*";function $m(e,t){let n=e.split("/"),r=n.length;return n.some(Hs)&&(r+=Im),t&&(r+=Lm),n.filter(l=>!Hs(l)).reduce((l,o)=>l+(Rm.test(o)?Tm:o===""?zm:Om),r)}function Dm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Mm(e,t){let{routesMeta:n}=e,r={},l="/",o=[];for(let i=0;i{if(p==="*"){let h=u[m]||"";i=o.slice(0,o.length-h.length).replace(/(.)\/+$/,"$1")}return s[p]=Bm(u[m]||"",p),s},{}),pathname:o,pathnameBase:i,pattern:e}}function Fm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),aa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,u)=>(r.push(u),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Um(e){try{return decodeURI(e)}catch(t){return aa(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Bm(e,t){try{return decodeURIComponent(e)}catch(n){return aa(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function sa(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Wm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Xn(e):e;return{pathname:n?n.startsWith("/")?n:Vm(n,t):t,search:Km(r),hash:Ym(l)}}function Vm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function li(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function dd(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function pd(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Xn(e):(l=Mr({},e),te(!l.pathname||!l.pathname.includes("?"),li("?","pathname","search",l)),te(!l.pathname||!l.pathname.includes("#"),li("#","pathname","hash",l)),te(!l.search||!l.search.includes("#"),li("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(r||i==null)u=n;else{let m=t.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),m-=1;l.pathname=h.join("/")}u=m>=0?t[m]:"/"}let a=Wm(l,u),s=i&&i!=="/"&&i.endsWith("/"),p=(o||i===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||p)&&(a.pathname+="/"),a}const At=e=>e.join("/").replace(/\/\/+/g,"/"),Qm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Km=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ym=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Gm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const hd=["post","put","patch","delete"];new Set(hd);const Xm=["get",...hd];new Set(Xm);/** - * React Router v6.16.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function to(){return to=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.pathnameBase)),i=E.useRef(!1);return gd(()=>{i.current=!0}),E.useCallback(function(a,s){if(s===void 0&&(s={}),!i.current)return;if(typeof a=="number"){n.go(a);return}let p=pd(a,JSON.parse(o),l,s.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:At([t,p.pathname])),(s.replace?n.replace:n.push)(p,s.state,s)},[t,n,o,l,e])}function fa(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=E.useContext(fn),{pathname:l}=Kr(),o=JSON.stringify(dd(r).map(i=>i.pathnameBase));return E.useMemo(()=>pd(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function qm(e,t){return bm(e,t)}function bm(e,t,n){Qr()||te(!1);let{navigator:r}=E.useContext(cn),{matches:l}=E.useContext(fn),o=l[l.length-1],i=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let a=Kr(),s;if(t){var p;let g=typeof t=="string"?Xn(t):t;u==="/"||(p=g.pathname)!=null&&p.startsWith(u)||te(!1),s=g}else s=a;let m=s.pathname||"/",h=u==="/"?m:m.slice(u.length)||"/",v=jm(e,{pathname:h}),y=lv(v&&v.map(g=>Object.assign({},g,{params:Object.assign({},i,g.params),pathname:At([u,r.encodeLocation?r.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?u:At([u,r.encodeLocation?r.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),l,n);return t&&y?E.createElement(Eo.Provider,{value:{location:to({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:Rt.Pop}},y):y}function ev(){let e=av(),t=Gm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:l},n):null,o)}const tv=E.createElement(ev,null);class nv extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?E.createElement(fn.Provider,{value:this.props.routeContext},E.createElement(vd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rv(e){let{routeContext:t,match:n,children:r}=e,l=E.useContext(ca);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(fn.Provider,{value:t},r)}function lv(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let o=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let u=o.findIndex(a=>a.route.id&&(i==null?void 0:i[a.route.id]));u>=0||te(!1),o=o.slice(0,Math.min(o.length,u+1))}return o.reduceRight((u,a,s)=>{let p=a.route.id?i==null?void 0:i[a.route.id]:null,m=null;n&&(m=a.route.errorElement||tv);let h=t.concat(o.slice(0,s+1)),v=()=>{let y;return p?y=m:a.route.Component?y=E.createElement(a.route.Component,null):a.route.element?y=a.route.element:y=u,E.createElement(rv,{match:a,routeContext:{outlet:u,matches:h,isDataRoute:n!=null},children:y})};return n&&(a.route.ErrorBoundary||a.route.errorElement||s===0)?E.createElement(nv,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var Sd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Sd||{}),no=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(no||{});function ov(e){let t=E.useContext(ca);return t||te(!1),t}function iv(e){let t=E.useContext(md);return t||te(!1),t}function uv(e){let t=E.useContext(fn);return t||te(!1),t}function wd(e){let t=uv(),n=t.matches[t.matches.length-1];return n.route.id||te(!1),n.route.id}function av(){var e;let t=E.useContext(vd),n=iv(no.UseRouteError),r=wd(no.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function sv(){let{router:e}=ov(Sd.UseNavigateStable),t=wd(no.UseNavigateStable),n=E.useRef(!1);return gd(()=>{n.current=!0}),E.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,to({fromRouteId:t},o)))},[e,t])}function at(e){te(!1)}function cv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=Rt.Pop,navigator:o,static:i=!1}=e;Qr()&&te(!1);let u=t.replace(/^\/*/,"/"),a=E.useMemo(()=>({basename:u,navigator:o,static:i}),[u,o,i]);typeof r=="string"&&(r=Xn(r));let{pathname:s="/",search:p="",hash:m="",state:h=null,key:v="default"}=r,y=E.useMemo(()=>{let g=sa(s,u);return g==null?null:{location:{pathname:g,search:p,hash:m,state:h,key:v},navigationType:l}},[u,s,p,m,h,v,l]);return y==null?null:E.createElement(cn.Provider,{value:a},E.createElement(Eo.Provider,{children:n,value:y}))}function fv(e){let{children:t,location:n}=e;return qm(iu(t),n)}new Promise(()=>{});function iu(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,l)=>{if(!E.isValidElement(r))return;let o=[...t,l];if(r.type===E.Fragment){n.push.apply(n,iu(r.props.children,o));return}r.type!==at&&te(!1),!r.props.index||!r.props.children||te(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=iu(r.props.children,o)),n.push(i)}),n}/** - * React Router DOM v6.16.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function dv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pv(e,t){return e.button===0&&(!t||t==="_self")&&!dv(e)}const hv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],mv=["aria-current","caseSensitive","className","end","style","to","children"],vv="startTransition",Rs=hp[vv];function gv(e){let{basename:t,children:n,future:r,window:l}=e,o=E.useRef();o.current==null&&(o.current=_m({window:l,v5Compat:!0}));let i=o.current,[u,a]=E.useState({action:i.action,location:i.location}),{v7_startTransition:s}=r||{},p=E.useCallback(m=>{s&&Rs?Rs(()=>a(m)):a(m)},[a,s]);return E.useLayoutEffect(()=>i.listen(p),[i,p]),E.createElement(cv,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const yv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wv=E.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:a,to:s,preventScrollReset:p}=t,m=kd(t,hv),{basename:h}=E.useContext(cn),v,y=!1;if(typeof s=="string"&&Sv.test(s)&&(v=s,yv))try{let c=new URL(window.location.href),d=s.startsWith("//")?new URL(c.protocol+s):new URL(s),w=sa(d.pathname,h);d.origin===c.origin&&w!=null?s=w+d.search+d.hash:y=!0}catch{}let g=Jm(s,{relative:l}),P=xv(s,{replace:i,state:u,target:a,preventScrollReset:p,relative:l});function f(c){r&&r(c),c.defaultPrevented||P(c)}return E.createElement("a",ro({},m,{href:v||g,onClick:y||o?r:f,ref:n,target:a}))}),kv=E.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:o="",end:i=!1,style:u,to:a,children:s}=t,p=kd(t,mv),m=fa(a,{relative:p.relative}),h=Kr(),v=E.useContext(md),{navigator:y}=E.useContext(cn),g=y.encodeLocation?y.encodeLocation(m).pathname:m.pathname,P=h.pathname,f=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;l||(P=P.toLowerCase(),f=f?f.toLowerCase():null,g=g.toLowerCase());let c=P===g||!i&&P.startsWith(g)&&P.charAt(g.length)==="/",d=f!=null&&(f===g||!i&&f.startsWith(g)&&f.charAt(g.length)==="/"),w=c?r:void 0,k;typeof o=="function"?k=o({isActive:c,isPending:d}):k=[o,c?"active":null,d?"pending":null].filter(Boolean).join(" ");let _=typeof u=="function"?u({isActive:c,isPending:d}):u;return E.createElement(wv,ro({},p,{"aria-current":w,className:k,ref:n,style:_,to:a}),typeof s=="function"?s({isActive:c,isPending:d}):s)});var Ts;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Ts||(Ts={}));var Ls;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ls||(Ls={}));function xv(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i}=t===void 0?{}:t,u=yd(),a=Kr(),s=fa(e,{relative:i});return E.useCallback(p=>{if(pv(p,n)){p.preventDefault();let m=r!==void 0?r:eo(a)===eo(s);u(e,{replace:m,state:l,preventScrollReset:o,relative:i})}},[a,u,s,r,l,n,e,o,i])}const xd="/blackjack_probability",Cd="/about-us",Ed="/charts",_d="/terms",Pd="/learn",Nd="/game",jd="/customize",Cv="*",Ev=()=>{const e=yd(),t=()=>{e(Pd)},n=()=>{e(Nd)},r=()=>{e(jd)};return S.jsx("div",{className:"background",children:S.jsxs("div",{className:"titleHolder",children:[S.jsx("h1",{className:"title",children:"Blackjack Probability"}),S.jsx("p",{className:"info",children:"Ever wanted to learn how to become a true professional at Blackjack? Well click 'Learn the Game' below to learn how you can!"}),S.jsxs("div",{className:"column",children:[S.jsxs("div",{className:"row",children:[S.jsx("button",{className:"btn-hover",onClick:t,children:"Learn the Game"}),S.jsx("button",{className:"btn-hover",onClick:n,children:"Play the Game"})]}),S.jsx("button",{className:"btn-hover",onClick:r,children:"Customize Table"})]})]})})};const _v="/blackjack_probability/assets/CardsAndChips-891df8e4.svg",Pv="/blackjack_probability/assets/PuzzleWall-d409c30e.svg",Nv="/blackjack_probability/assets/PiggyBank-fe8bea6a.svg",jv="/blackjack_probability/assets/CardDecks-bb474b3e.svg",Hv=()=>S.jsxs("div",{className:"container",children:[S.jsxs("div",{className:"subContainer",children:[S.jsx("p",{className:"titleText",children:"Learn How to Play!"}),S.jsx("img",{className:"image",src:_v})]}),S.jsxs("div",{className:"subContainer",children:[S.jsx("img",{className:"image",src:jv}),S.jsx("p",{className:"titleText",children:"Learn Basic Strategy!"})]}),S.jsxs("div",{className:"subContainer",children:[S.jsx("p",{className:"titleText",children:"See The Odds and Learn to Beat Them!"}),S.jsx("img",{className:"image",src:Pv})]}),S.jsxs("div",{className:"subContainer",children:[S.jsx("img",{className:"image",src:Nv}),S.jsx("p",{className:"titleText",children:"Learn Without Spending a Dime!"})]})]}),Rv=()=>S.jsxs("div",{children:[S.jsx(Ev,{}),S.jsx(Hv,{})]});var Ce=function(){return Ce=Object.assign||function(t){for(var n,r=1,l=arguments.length;r0?ue(Jn,--Ue):0,Bn--,b===10&&(Bn=1,Po--),b}function Ze(){return b=Ue2||au(b)>3?"":" "}function Uv(e,t){for(;--t&&Ze()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return jo(e,Nl()+(t<6&&en()==32&&Ze()==32))}function su(e){for(;Ze();)switch(b){case e:return Ue;case 34:case 39:e!==34&&e!==39&&su(b);break;case 40:e===41&&su(e);break;case 92:Ze();break}return Ue}function Bv(e,t){for(;Ze()&&e+b!==47+10;)if(e+b===42+42&&en()===47)break;return"/*"+jo(t,Ue-1)+"*"+pa(e===47?e:Ze())}function Wv(e){for(;!au(en());)Ze();return jo(e,Ue)}function Vv(e){return Av(jl("",null,null,null,[""],e=Mv(e),0,[0],e))}function jl(e,t,n,r,l,o,i,u,a){for(var s=0,p=0,m=i,h=0,v=0,y=0,g=1,P=1,f=1,c=0,d="",w=l,k=o,_=r,x=d;P;)switch(y=c,c=Ze()){case 40:if(y!=108&&ue(x,m-1)==58){Pl(x+=O(oi(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:x+=oi(c);break;case 9:case 10:case 13:case 32:x+=Fv(y);break;case 92:x+=Uv(Nl()-1,7);continue;case 47:switch(en()){case 42:case 47:cr(Qv(Bv(Ze(),Nl()),t,n,a),a);break;default:x+="/"}break;case 123*g:u[s++]=tt(x)*f;case 125*g:case 59:case 0:switch(c){case 0:case 125:P=0;case 59+p:f==-1&&(x=O(x,/\f/g,"")),v>0&&tt(x)-m&&cr(v>32?Is(x+";",r,n,m-1,a):Is(O(x," ","")+";",r,n,m-2,a),a);break;case 59:x+=";";default:if(cr(_=Os(x,t,n,s,p,l,u,d,w=[],k=[],m,o),o),c===123)if(p===0)jl(x,t,_,_,w,o,m,u,k);else switch(h===99&&ue(x,3)===110?100:h){case 100:case 108:case 109:case 115:jl(e,_,_,r&&cr(Os(e,_,_,0,0,l,u,d,l,w=[],m,k),k),l,k,m,u,r?w:k);break;default:jl(x,_,_,_,[""],k,0,u,k)}}s=p=v=0,g=f=1,d=x="",m=i;break;case 58:m=1+tt(x),v=y;default:if(g<1){if(c==123)--g;else if(c==125&&g++==0&&Dv()==125)continue}switch(x+=pa(c),c*g){case 38:f=p>0?1:(x+="\f",-1);break;case 44:u[s++]=(tt(x)-1)*f,f=1;break;case 64:en()===45&&(x+=oi(Ze())),h=en(),p=m=tt(d=x+=Wv(Nl())),c++;break;case 45:y===45&&tt(x)==2&&(g=0)}}return o}function Os(e,t,n,r,l,o,i,u,a,s,p,m){for(var h=l-1,v=l===0?o:[""],y=Ld(v),g=0,P=0,f=0;g0?v[c]+" "+d:O(d,/&\f/g,v[c])))&&(a[f++]=w);return No(e,t,n,l===0?_o:u,a,s,p,m)}function Qv(e,t,n,r){return No(e,t,n,Hd,pa($v()),Un(e,2,-2),0,r)}function Is(e,t,n,r,l){return No(e,t,n,da,Un(e,0,r),Un(e,r+1,-1),r,l)}function Od(e,t,n){switch(Ov(e,t)){case 5103:return A+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+e+e;case 4789:return wr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+wr+e+V+e+e;case 5936:switch(ue(e,t+11)){case 114:return A+e+V+O(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+V+O(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+V+O(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return A+e+V+e+e;case 6165:return A+e+V+"flex-"+e+e;case 5187:return A+e+O(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return A+e+V+"flex-item-"+O(e,/flex-|-self/g,"")+(ct(e,/flex-|baseline/)?"":V+"grid-row-"+O(e,/flex-|-self/g,""))+e;case 4675:return A+e+V+"flex-line-pack"+O(e,/align-content|flex-|-self/g,"")+e;case 5548:return A+e+V+O(e,"shrink","negative")+e;case 5292:return A+e+V+O(e,"basis","preferred-size")+e;case 6060:return A+"box-"+O(e,"-grow","")+A+e+V+O(e,"grow","positive")+e;case 4554:return A+O(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return O(O(O(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return O(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return O(O(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4200:if(!ct(e,/flex-|baseline/))return V+"grid-column-align"+Un(e,t)+e;break;case 2592:case 3360:return V+O(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,l){return t=l,ct(r.props,/grid-\w+-end/)})?~Pl(e+(n=n[t].value),"span")?e:V+O(e,"-start","")+e+V+"grid-row-span:"+(~Pl(n,"span")?ct(n,/\d+/):+ct(n,/\d+/)-+ct(e,/\d+/))+";":V+O(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ct(r.props,/grid-\w+-start/)})?e:V+O(O(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return O(e,/(.+)-inline(.+)/,A+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(tt(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return O(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+wr+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Pl(e,"stretch")?Od(O(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return O(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,l,o,i,u,a,s){return V+l+":"+o+s+(i?V+l+"-span:"+(u?a:+a-+o)+s:"")+e});case 4949:if(ue(e,t+6)===121)return O(e,":",":"+A)+e;break;case 6444:switch(ue(e,ue(e,14)===45?18:11)){case 120:return O(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+A+(ue(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+V+"$2box$3")+e;case 100:return O(e,":",":"+V)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return O(e,"scroll-","scroll-snap-")+e}return e}function oo(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case da:e.return=Od(e.value,e.length,n);return;case Rd:return oo([Ct(e,{value:O(e.value,"@","@"+A)})],r);case _o:if(e.length)return Iv(n=e.props,function(l){switch(ct(l,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":pn(Ct(e,{props:[O(l,/:(read-\w+)/,":"+wr+"$1")]})),pn(Ct(e,{props:[l]})),uu(e,{props:zs(n,r)});break;case"::placeholder":pn(Ct(e,{props:[O(l,/:(plac\w+)/,":"+A+"input-$1")]})),pn(Ct(e,{props:[O(l,/:(plac\w+)/,":"+wr+"$1")]})),pn(Ct(e,{props:[O(l,/:(plac\w+)/,V+"input-$1")]})),pn(Ct(e,{props:[l]})),uu(e,{props:zs(n,r)});break}return""})}}var Jv={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Wn=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",ha=typeof window<"u"&&"HTMLElement"in window,Zv=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),Ho=Object.freeze([]),Vn=Object.freeze({});function qv(e,t,n){return n===void 0&&(n=Vn),e.theme!==n.theme&&e.theme||t||n.theme}var Id=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),bv=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eg=/(^-|-$)/g;function $s(e){return e.replace(bv,"-").replace(eg,"")}var tg=/(a)(d)/gi,Ds=function(e){return String.fromCharCode(e+(e>25?39:97))};function cu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ds(t%52)+n;return(Ds(t%52)+n).replace(tg,"$1-$2")}var ii,Nn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$d=function(e){return Nn(5381,e)};function ng(e){return cu($d(e)>>>0)}function rg(e){return e.displayName||e.name||"Component"}function ui(e){return typeof e=="string"&&!0}var Dd=typeof Symbol=="function"&&Symbol.for,Md=Dd?Symbol.for("react.memo"):60115,lg=Dd?Symbol.for("react.forward_ref"):60112,og={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ig={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ad={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ug=((ii={})[lg]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ii[Md]=Ad,ii);function Ms(e){return("type"in(t=e)&&t.type.$$typeof)===Md?Ad:"$$typeof"in e?ug[e.$$typeof]:og;var t}var ag=Object.defineProperty,sg=Object.getOwnPropertyNames,As=Object.getOwnPropertySymbols,cg=Object.getOwnPropertyDescriptor,fg=Object.getPrototypeOf,Fs=Object.prototype;function Fd(e,t,n){if(typeof t!="string"){if(Fs){var r=fg(t);r&&r!==Fs&&Fd(e,r,n)}var l=sg(t);As&&(l=l.concat(As(t)));for(var o=Ms(e),i=Ms(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var dg=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,l=r.length,o=l;t>=o;)if((o<<=1)<0)throw Yr(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=l;i=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],l=this.indexOfGroup(t),o=l+r,i=l;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(P+="".concat(f,","))}),a+="".concat(y).concat(g,'{content:"').concat(P,'"}').concat(`/*!sc*/ -`)},p=0;p0?".".concat(t):h},p=a.slice();p.push(function(h){h.type===_o&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Cg,n).replace(r,s))}),i.prefix&&p.push(Xv),p.push(Kv);var m=function(h,v,y,g){v===void 0&&(v=""),y===void 0&&(y=""),g===void 0&&(g="&"),t=g,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var P=h.replace(Eg,""),f=Vv(y||v?"".concat(y," ").concat(v," { ").concat(P," }"):P);i.namespace&&(f=Wd(f,i.namespace));var c=[];return oo(f,Yv(p.concat(Gv(function(d){return c.push(d)})))),c};return m.hash=a.length?a.reduce(function(h,v){return v.name||Yr(15),Nn(h,v.name)},5381).toString():"",m}var Pg=new Bd,du=_g(),Vd=Ee.createContext({shouldForwardProp:void 0,styleSheet:Pg,stylis:du});Vd.Consumer;Ee.createContext(void 0);function Ws(){return E.useContext(Vd)}var Ng=function(){function e(t,n){var r=this;this.inject=function(l,o){o===void 0&&(o=du);var i=r.name+o.hash;l.hasNameForId(r.id,i)||l.insertRules(r.id,i,o(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,va(this,function(){throw Yr(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=du),this.name+t.hash},e}(),jg=function(e){return e>="A"&&e<="Z"};function Vs(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,i)){var u=r(o,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,u)}l=Zt(l,i),this.staticRulesId=i}else{for(var a=Nn(this.baseHash,r.hash),s="",p=0;p>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(s,".".concat(v),void 0,this.componentId)),l=Zt(l,v)}}return l},e}(),Yd=Ee.createContext(void 0);Yd.Consumer;var si={};function Lg(e,t,n){var r=ma(e),l=e,o=!ui(e),i=t.attrs,u=i===void 0?Ho:i,a=t.componentId,s=a===void 0?function(d,w){var k=typeof d!="string"?"sc":$s(d);si[k]=(si[k]||0)+1;var _="".concat(k,"-").concat(ng("6.0.8"+k+si[k]));return w?"".concat(w,"-").concat(_):_}(t.displayName,t.parentComponentId):a,p=t.displayName;p===void 0&&function(d){return ui(d)?"styled.".concat(d):"Styled(".concat(rg(d),")")}(e);var m=t.displayName&&t.componentId?"".concat($s(t.displayName),"-").concat(t.componentId):t.componentId||s,h=r&&l.attrs?l.attrs.concat(u).filter(Boolean):u,v=t.shouldForwardProp;if(r&&l.shouldForwardProp){var y=l.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;v=function(d,w){return y(d,w)&&g(d,w)}}else v=y}var P=new Tg(n,m,r?l.componentStyle:void 0);function f(d,w){return function(k,_,x){var R=k.attrs,M=k.componentStyle,T=k.defaultProps,le=k.foldedComponentIds,ot=k.styledComponentId,it=k.target,Be=Ee.useContext(Yd),wt=Ws(),ut=k.shouldForwardProp||wt.shouldForwardProp,ve=function(oe,$,We){for(var J,Oe=Ce(Ce({},$),{className:void 0,theme:We}),To=0;ToS.jsx(S.Fragment,{children:S.jsx(Og,{children:S.jsxs(Ig,{children:[S.jsx(Gs,{size:"50px",color:"red"}),S.jsx(pl,{to:xd,children:"Home"}),S.jsx(pl,{to:Cd,children:"About Us"}),S.jsx(pl,{to:Ed,children:"Charts"}),S.jsx(pl,{to:_d,children:"Terms"}),S.jsx(Gs,{size:"50px",color:"red"})]})})}),Fg="/blackjack_probability/assets/Wireframe-a972ebe5.svg",Ug="/blackjack_probability/assets/CardFan2-7ec4e5d9.svg";const Bg=()=>S.jsxs("div",{className:"column",children:[S.jsxs("div",{className:"about-row",children:[S.jsx("div",{className:"column",children:S.jsxs("div",{className:"text-holder",children:[S.jsx("h1",{className:"about-header",children:"Who are we?"}),S.jsx("p",{className:"about-p",children:"We are a group of college students currently completing a course called Interface Design. We are a small group of four hoping to create an easy to use application for those wanting to delve deeper into the game of Blackjack."})]})}),S.jsx("img",{src:Fg})]}),S.jsxs("div",{className:"about-row",children:[S.jsx("img",{src:Ug}),S.jsx("div",{className:"column",children:S.jsxs("div",{className:"text-holder",children:[S.jsx("h1",{className:"about-header",children:"What is the purpose of this website?"}),S.jsx("p",{className:"about-p",children:"We believe there aren't many applications on the web suited for learning how to count cards easily. Most of the methods used today are charts that you must memorize for different true counts. We want to create a user-friendly website that allows people to learn these deviations without memorizing a set of tables."})]})})]})]});const Wg="/blackjack_probability/assets/404Error-40e8e704.svg",Vg=()=>S.jsx("div",{className:"errorContainer",children:S.jsx("img",{src:Wg,className:"error-img"})});const Qg={data:[{label:"5",value:["H","S","H","H","H","H","H","H","H"]},{label:"6",value:["H","S","H","H","H","H","H","H","H"]},{label:"7",value:["H","S","H","H","H","H","H","H","H"]},{label:"8",value:["H","S","H","H","H","H","H","H","H"]},{label:"9",value:["H","S","H","H","H","H","H","H","H"]},{label:"10",value:["H","S","H","H","H","H","H","H","H"]},{label:"11",value:["H","S","H","H","H","H","H","H","H"]},{label:"12",value:["H","S","H","H","H","H","H","H","H"]},{label:"13",value:["H","S","H","H","H","H","H","H","H"]},{label:"14",value:["H","S","H","H","H","H","H","H","H"]},{label:"15",value:["H","S","H","H","H","H","H","H","H"]},{label:"16",value:["H","S","H","H","H","H","H","H","H"]},{label:"17",value:["H","S","H","H","H","H","H","H","H"]}],data2:[{label:"A/2",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/3",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/4",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/5",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/6",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/7",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/8",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/9",value:["H","S","H","H","H","H","H","H","H"]}]},Kg={data:[{label:"5",value:["S","S","S","S","S","S","S","S","S"]},{label:"6",value:["S","S","S","S","S","S","S","S","S"]},{label:"7",value:["S","S","S","S","S","S","S","S","S"]},{label:"8",value:["S","S","S","S","S","S","S","S","S"]},{label:"9",value:["S","S","S","S","S","S","S","S","S"]},{label:"10",value:["S","S","S","S","S","S","S","S","S"]},{label:"11",value:["S","S","S","S","S","S","S","S","S"]},{label:"12",value:["S","S","S","S","S","S","S","S","S"]},{label:"13",value:["S","S","S","S","S","S","S","S","S"]},{label:"14",value:["S","S","S","S","S","S","S","S","S"]},{label:"15",value:["S","S","S","S","S","S","S","S","S"]},{label:"16",value:["S","S","S","S","S","S","S","S","S"]},{label:"17",value:["S","S","S","S","S","S","S","S","S"]}],data2:[{label:"A/2",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/3",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/4",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/5",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/6",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/7",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/8",value:["H","S","H","H","H","H","H","H","H"]},{label:"A/9",value:["H","S","H","H","H","H","H","H","H"]}]},Yg=[2,3,4,5,6,7,8,9,10],ci={chart1:Qg,chart2:Kg,dealerRow:Yg},Gg=()=>{const e=JSON.parse(JSON.stringify(ci.chart1)),t=JSON.parse(JSON.stringify(ci.chart2)),n=JSON.parse(JSON.stringify(ci.dealerRow)),[r,l]=E.useState(e),o=()=>{l(t)};return S.jsxs("div",{className:"table-container",children:[S.jsxs("table",{children:[S.jsxs("tr",{children:[S.jsx("th",{children:`Dealer's Card -Your Hand`}),n.map((i,u)=>S.jsx("th",{children:i},u))]}),r.data.map((i,u)=>S.jsxs("tr",{children:[S.jsx("th",{children:i.label}),i.value.map(a=>S.jsx("td",{style:{backgroundColor:a=="H"?"green":"red"},children:a}))]},u))]}),S.jsxs("table",{children:[S.jsxs("tr",{children:[S.jsx("th",{children:"Your Hand\\Dealer's Card"}),n.map((i,u)=>S.jsx("th",{children:i},u))]}),r.data2.map((i,u)=>S.jsxs("tr",{children:[S.jsx("th",{children:i.label}),i.value.map(a=>S.jsx("td",{style:{backgroundColor:a=="H"?"green":"red"},children:a}))]},u))]}),S.jsx("button",{onClick:o,children:"Switch Charts"})]})};const Xg=()=>{const e=[{term:"Anchorman",definition:"When seated at the blackjack table, the last player to act before the dealer is called the Anchorman."},{term:"Bankroll",definition:"The money you have available to gamble with is called your bankroll. It would help if you did not confuse this with your total available cash - only count the portion you are willing to risk in a casino."},{term:"Blackjack",definition:"Blackjack is the name of the game, but also the perfect hand to receive - one ace and one ten or a picture card, making 21."},{term:"Burn Card",definition:"Before the dealer commences dealing, he places the first card to one side, face down. This is the burn card, designed to make it impossible for the first player to know what the first card is going to be (which would affect how he bets)."},{term:"Bust",definition:"Bust is a word you never wish to be applied to you. Bust means you have run out of money (it is not the end of the world if you lose your bankroll, so long as you did separate it from your day-to-day living funds)."},{term:"Cold Deck",definition:"If the shoe, the name applied to the box holding the cards, is spewing out awful cards and causing the players to lose too much, it is known as a cold deck, as opposed to the players running hot."},{term:"Color Up",definition:"If a player has lots of low denomination chips, he might ask the dealer to color up some of them, changing many small-value chips for higher-value ones."},{term:"Cut Card",definition:"When a new shoe, complete with shuffled cards, is introduced, the dealer asks one player to cut the deck with a cut card. The cut card then signals when action with that shoe finishes, and a new one is required."},{term:"Discards",definition:"All cards that have already been dealt are discards, which then sit idly to one side until a new shoe is needed, and they get reshuffled and re-used."},{term:"Double Down",definition:"If luck is on your side, you have a promising starting hand, and the dealer looks weak—time to double down and double your initial wager. If your hand holds up, you win twice as much as you would have done. However, if it loses… well, let’s not go there."},{term:"House Edge",definition:"The house edge is the expected advantage the house or casino has in a particular game. In blackjack, against players with a basic knowledge of blackjack strategy, the house edge is little over 1%. This means that on average, for every $100 you gamble, you’ll lose $1."},{term:"Flat Betting",definition:"When a player bets the same amount consistently, hand after hand, he is considered to be flat betting. It’s perfectly okay to flat bet, but just not very adventurous."},{term:"Hit",definition:"When you wish the dealer to give you another card, you hit."},{term:"Surrender/Late Surrender",definition:"In some variations of blackjack, you can surrender your hand without making any further decisions. You will receive only half of your stake back, but if your hand looks a dud, you potentially save some money."},{term:"Multi Deck",definition:"Most blackjack games in a casino have multi decks, rather than using one deck of cards. Many games will use six to eight decks at a time."},{term:"Pit",definition:"The table area you sit at for your blackjack game is called the pit, overseen by an often stern-looking casino employee called a pit boss."},{term:"Split",definition:"If you receive two cards of the same value, you have the option to split, matching your initial wager. Now you play two separate hands."},{term:"Stand",definition:"If you like your first two cards or have hit and taken another, you can choose to stand at any time, meaning you won’t take another."},{term:"Toke",definition:"Toke is a casino term for a tip. In bricks and mortar casino games, you don’t have to tip the staff, but they don’t get paid massive amounts, and it’s nice to show your appreciation once in a while."},{term:"Up Card",definition:"You only get to see one face-up card for the dealer while you are playing your hands. This is the up card, while his other card remains face down."}];return S.jsx("div",{className:"term-container",children:e.map((t,n)=>S.jsxs("div",{className:"term-row",children:[S.jsxs("h1",{className:"term-text",children:[t.term,":"]}),S.jsx("p",{className:"term-text",children:t.definition})]},n))})},Jg=()=>S.jsx("div",{children:"Learn Mode"}),Zg="_statusContainer_nxvn8_1",qg="_status_nxvn8_1",bg="_balance_nxvn8_39",e0="_value_nxvn8_67",or={statusContainer:Zg,status:qg,balance:bg,value:e0},t0=({message:e,balance:t})=>S.jsxs("div",{className:or.statusContainer,children:[S.jsx("div",{className:or.status,children:S.jsx("h1",{className:or.value,children:e})}),S.jsx("div",{className:or.balance,children:S.jsxs("h1",{className:or.value,children:["$",t]})})]}),n0="_controlsContainer_jxods_1",r0="_betContainer_jxods_13",l0="_input_jxods_39",o0="_inputError_jxods_67",i0="_button_jxods_107",Qe={controlsContainer:n0,betContainer:r0,input:l0,inputError:o0,button:i0},u0=({balance:e,gameState:t,buttonState:n,betEvent:r,hitEvent:l,standEvent:o,resetEvent:i})=>{const[u,a]=E.useState(10),[s,p]=E.useState(Qe.input);E.useEffect(()=>{m()},[u,e]);const m=()=>u>e||u<.01?(p(Qe.inputError),!1):(p(Qe.input),!0),h=g=>{a(g.target.value)},v=()=>{m()&&r(Math.round(u*100)/100)},y=()=>t===0?S.jsxs("div",{className:Qe.controlsContainer,children:[S.jsxs("div",{className:Qe.betContainer,children:[S.jsx("h4",{children:"Amount:"}),S.jsx("input",{autoFocus:!0,type:"number",value:u,onChange:h,className:s})]}),S.jsx("button",{onClick:()=>v(),className:Qe.button,children:"Bet"})]}):S.jsxs("div",{className:Qe.controlsContainer,children:[S.jsx("button",{onClick:()=>l(),disabled:n.hitDisabled,className:Qe.button,children:"Hit"}),S.jsx("button",{onClick:()=>o(),disabled:n.standDisabled,className:Qe.button,children:"Stand"}),S.jsx("button",{onClick:()=>i(),disabled:n.resetDisabled,className:Qe.button,children:"Reset"})]});return S.jsx(S.Fragment,{children:y()})},a0="_handContainer_t09td_1",s0="_cardContainer_t09td_17",c0="_title_t09td_29",fi={handContainer:a0,cardContainer:s0,title:c0},f0="_card_1cv5a_1",d0="_hiddenCard_1cv5a_23",p0="_black_1cv5a_49",h0="_red_1cv5a_57",m0="_value_1cv5a_65",v0="_suit_1cv5a_75",hn={card:f0,hiddenCard:d0,black:p0,red:h0,value:m0,suit:v0},g0=({value:e,suit:t,hidden:n})=>{const r=()=>t==="♠"||t==="♣"?hn.black:hn.red,l=()=>n?S.jsx("div",{className:hn.hiddenCard}):S.jsx("div",{className:hn.card,children:S.jsxs("div",{className:r(),children:[S.jsx("h1",{className:hn.value,children:e}),S.jsx("h1",{className:hn.suit,children:t})]})});return S.jsx(S.Fragment,{children:l()})},Xs=({title:e,cards:t})=>{const n=()=>{if(t.length>0)return S.jsx("h1",{className:fi.title,children:e})};return S.jsxs("div",{className:fi.handContainer,children:[n(),S.jsx("div",{className:fi.cardContainer,children:t.map((r,l)=>S.jsx(g0,{value:r.value,suit:r.suit,hidden:r.hidden},l))})]})},y0=[{value:"A",suit:"spades"},{value:"A",suit:"diamonds"},{value:"A",suit:"clubs"},{value:"A",suit:"hearts"},{value:"2",suit:"spades"},{value:"2",suit:"diamonds"},{value:"2",suit:"clubs"},{value:"2",suit:"hearts"},{value:"3",suit:"spades"},{value:"3",suit:"diamonds"},{value:"3",suit:"clubs"},{value:"3",suit:"hearts"},{value:"4",suit:"spades"},{value:"4",suit:"diamonds"},{value:"4",suit:"clubs"},{value:"4",suit:"hearts"},{value:"5",suit:"spades"},{value:"5",suit:"diamonds"},{value:"5",suit:"clubs"},{value:"5",suit:"hearts"},{value:"6",suit:"spades"},{value:"6",suit:"diamonds"},{value:"6",suit:"clubs"},{value:"6",suit:"hearts"},{value:"7",suit:"spades"},{value:"7",suit:"diamonds"},{value:"7",suit:"clubs"},{value:"7",suit:"hearts"},{value:"8",suit:"spades"},{value:"8",suit:"diamonds"},{value:"8",suit:"clubs"},{value:"8",suit:"hearts"},{value:"9",suit:"spades"},{value:"9",suit:"diamonds"},{value:"9",suit:"clubs"},{value:"9",suit:"hearts"},{value:"10",suit:"spades"},{value:"10",suit:"diamonds"},{value:"10",suit:"clubs"},{value:"10",suit:"hearts"},{value:"J",suit:"spades"},{value:"J",suit:"diamonds"},{value:"J",suit:"clubs"},{value:"J",suit:"hearts"},{value:"Q",suit:"spades"},{value:"Q",suit:"diamonds"},{value:"Q",suit:"clubs"},{value:"Q",suit:"hearts"},{value:"K",suit:"spades"},{value:"K",suit:"diamonds"},{value:"K",suit:"clubs"},{value:"K",suit:"hearts"}],S0={cards:y0},w0="_gameBackground_1kbgl_1",k0={gameBackground:w0},x0=()=>{let e;(H=>{H[H.bet=0]="bet",H[H.init=1]="init",H[H.userTurn=2]="userTurn",H[H.dealerTurn=3]="dealerTurn"})(e||(e={}));let t;(H=>{H[H.user=0]="user",H[H.dealer=1]="dealer",H[H.hidden=2]="hidden"})(t||(t={}));let n;(H=>{H.bet="Place a Bet!",H.hitStand="Hit or Stand?",H.bust="Bust!",H.userWin="You Win!",H.dealerWin="Dealer Wins!",H.tie="Tie!"})(n||(n={}));const r=JSON.parse(JSON.stringify(S0.cards)),[l,o]=E.useState(r),[i,u]=E.useState([]),[a,s]=E.useState(0),[p,m]=E.useState(0),[h,v]=E.useState([]),[y,g]=E.useState(0),[P,f]=E.useState(0),[c,d]=E.useState(100),[w,k]=E.useState(0),[_,x]=E.useState(0),[R,M]=E.useState("Place a Bet!"),[T,le]=E.useState({hitDisabled:!1,standDisabled:!1,resetDisabled:!0});E.useEffect(()=>{_===1&&(Be(0),Be(2),Be(0),Be(1),x(2),M("Hit or Stand?"))},[_]),E.useEffect(()=>{ve(i,s),m(p+1)},[i]),E.useEffect(()=>{ve(h,g),f(P+1)},[h]),E.useEffect(()=>{_===2&&(a===21?(T.hitDisabled=!0,le({...T})):a>21&&z())},[p]),E.useEffect(()=>{_===3&&(y>=17?U():Be(1))},[P]);const ot=()=>{console.clear(),o(r),u([]),s(0),m(0),v([]),g(0),f(0),k(0),x(0),M("Place a Bet!"),le({hitDisabled:!1,standDisabled:!1,resetDisabled:!0})},it=H=>{k(H),d(Math.round((c-H)*100)/100),x(1)},Be=H=>{if(l.length>0){const oe=Math.floor(Math.random()*l.length),$=l[oe];switch(l.splice(oe,1),o([...l]),console.log("Remaining Cards:",l.length),$.suit){case"spades":wt(H,$.value,"♠");break;case"diamonds":wt(H,$.value,"♦");break;case"clubs":wt(H,$.value,"♣");break;case"hearts":wt(H,$.value,"♥");break}}else alert("All cards have been drawn")},wt=(H,oe,$)=>{switch(H){case 0:i.push({value:oe,suit:$,hidden:!1}),u([...i]);break;case 1:h.push({value:oe,suit:$,hidden:!1}),v([...h]);break;case 2:h.push({value:oe,suit:$,hidden:!0}),v([...h]);break}},ut=()=>{h.filter(H=>(H.hidden===!0&&(H.hidden=!1),H)),v([...h])},ve=(H,oe)=>{let $=0;H.forEach(J=>{if(J.hidden===!1&&J.value!=="A")switch(J.value){case"K":$+=10;break;case"Q":$+=10;break;case"J":$+=10;break;default:$+=Number(J.value);break}});const We=H.filter(J=>J.value==="A");We.forEach(J=>{J.hidden===!1&&($+11>21||$+11===21&&We.length>1?$+=1:$+=11)}),oe($)},N=()=>{Be(0)},L=()=>{T.hitDisabled=!0,T.standDisabled=!0,T.resetDisabled=!1,le({...T}),x(3),ut()},z=()=>{T.hitDisabled=!0,T.standDisabled=!0,T.resetDisabled=!1,le({...T}),M("Bust!")},U=()=>{a>y||y>21?(d(Math.round((c+w*2)*100)/100),M("You Win!")):y>a?M("Dealer Wins!"):(d(Math.round((c+w*1)*100)/100),M("Tie!"))};return S.jsxs("div",{className:k0.gameBackground,children:[S.jsx(t0,{message:R,balance:c}),S.jsx(Xs,{title:`Dealer's Hand (${y})`,cards:h}),S.jsx(Xs,{title:`Your Hand (${a})`,cards:i}),S.jsx(u0,{balance:c,gameState:_,buttonState:T,betEvent:it,hitEvent:N,standEvent:L,resetEvent:ot})]})},C0=()=>S.jsx("div",{children:"Customize page"}),E0=()=>S.jsxs("div",{children:[S.jsx(Ag,{}),S.jsxs(fv,{children:[S.jsx(at,{path:xd,element:S.jsx(Rv,{})}),S.jsx(at,{path:Cd,element:S.jsx(Bg,{})}),S.jsx(at,{path:Ed,element:S.jsx(Gg,{})}),S.jsx(at,{path:_d,element:S.jsx(Xg,{})}),S.jsx(at,{path:Pd,element:S.jsx(Jg,{})}),S.jsx(at,{path:Nd,element:S.jsx(x0,{})}),S.jsx(at,{path:jd,element:S.jsx(C0,{})}),S.jsx(at,{path:Cv,element:S.jsx(Vg,{})})]})]});di.createRoot(document.getElementById("root")).render(S.jsx(Ee.StrictMode,{children:S.jsx(gv,{children:S.jsx(E0,{})})})); diff --git a/assets/index-e543f10a.css b/assets/index-7057400e.css similarity index 92% rename from assets/index-e543f10a.css rename to assets/index-7057400e.css index c2462b1..56b078f 100644 --- a/assets/index-e543f10a.css +++ b/assets/index-7057400e.css @@ -1,4 +1,4 @@ -@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@1,700&family=Source+Sans+3:wght@300&display=swap";.backgroundImageHolder{background-image:url(../assets/image/poker-cards.png);background-repeat:no-repeat;background-position:center}.background{background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),url(/blackjack_probability/assets/blackjack-table-718e5917.jpg);background-position:center;background-repeat:no-repeat;background-color:#006400;background-size:contain;height:85vh;padding:15px}.row{display:flex;flex-direction:row;align-items:center;flex:1}.column{display:flex;flex-direction:column;align-items:center}.pokerChipIcon{padding:15px;color:red}.pokerChipCurrency{font-size:30px;color:#fff}.info{font-size:30px;text-wrap:wrap;width:550px;padding:20px;color:#fff;text-align:center}.btn-hover{width:200px;font-size:16px;font-weight:600;color:#fff;cursor:pointer;margin:20px;height:55px;text-align:center;border:none;background-size:300% 100%;border-radius:50px;moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out;background-image:linear-gradient(to right,#29323c,#485563,#2b5876,#4e4376);box-shadow:0 4px 15px #2d3641bf}.btn-hover:hover{background-position:100% 0;moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}.btn-hover:focus{outline:none}.titleHolder{flex-direction:column;display:flex;justify-content:center;align-items:center;height:90vh}.title{font-size:100px!important;margin:0;font-family:Lobster Two,cursive,"Sans Serif",sans-serif;background:linear-gradient(to right,hsl(57,92%,50%,.714) 0,hsl(0,0%,100%) 10%,hsla(57,92%,50%,.714) 20%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:2px;-webkit-text-stroke-color:black;animation:shine 3s infinite linear}@keyframes shine{0%{background-position:-100px}60%{background-position:400px}60%{background-position:500px}to{background-position:750px}}.container{display:flex;flex-direction:column}.subContainer{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;padding:50px}.image{height:300px}.titleText{font-size:40px}img{height:350px;width:350px}.about-row{display:flex;flex-direction:row;width:100vw;justify-content:space-evenly;align-items:center;margin-bottom:10px}.column{display:flex;flex-direction:column}.about-header{font-size:36px}.about-p{font-size:20px}.text-holder{width:400px;text-align:center}.errorContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px}.error-img{height:500px;width:500px}.table-container{display:flex;justify-content:space-evenly;align-items:center;padding:50px}table{height:600px;width:500px;border:2px solid forestgreen}th,td{border:1px solid black;align-items:center;height:50px;width:50px;text-align:center}.term-text{font-size:20px;width:800px}.term-row{display:flex;flex-direction:column;align-items:center;padding-top:25px;padding-bottom:25px}.term-container{display:flex;flex-direction:column;justify-content:center;align-items:center}._statusContainer_nxvn8_1{display:flex;justify-content:center}._status_nxvn8_1{display:flex;align-items:center;justify-content:center;margin:.5em .5em .5em 1em;padding:1em;width:40%;height:50px;background:black;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000}._balance_nxvn8_39{display:flex;align-items:center;justify-content:center;margin:.5em 1em .5em .5em;padding:1em;width:20%;height:50px;background:black;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000}._value_nxvn8_67{color:#fff;text-align:center}@media screen and (max-width: 992px){._value_nxvn8_67{font-size:150%}}@media screen and (max-width: 600px){._value_nxvn8_67{font-size:115%}}._controlsContainer_jxods_1{display:flex;justify-content:center;margin:.5em 1em 1em}._betContainer_jxods_13{display:flex;align-items:center;color:#fff;margin:0 .5em;padding:0 1em;width:40%;background:black;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000}._input_jxods_39{width:1px;flex-grow:1;font-size:200%;text-align:right;margin:5px;padding:0;border:0;outline:0;background:black;color:#fff}._inputError_jxods_67{width:1px;flex-grow:1;font-size:200%;text-align:right;margin:5px;padding:0;border:0;outline:0;background:black;color:red}._input_jxods_39::-webkit-inner-spin-button,._inputError_jxods_67::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._button_jxods_107{color:#fff;font-weight:700;margin:0 .5em;padding:1em;width:15%;background:black;outline:none;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;text-align:center;cursor:pointer}@media (hover: hover){._button_jxods_107:hover{color:#000;background:white;border:5px solid black}}._button_jxods_107:disabled{color:gray;background:rgb(60,60,60);border:5px solid gray}@media screen and (max-width: 992px){._betContainer_jxods_13{width:50%}}@media screen and (max-width: 600px){._betContainer_jxods_13{width:70%}._betContainer_jxods_13 h4{font-size:75%}._betContainer_jxods_13 input{font-size:125%}}._handContainer_t09td_1{color:#000;display:flex;align-items:center;flex-direction:column;margin:.5em}._cardContainer_t09td_17{display:flex;justify-content:center;flex-wrap:wrap}._title_t09td_29{text-align:center;margin-bottom:0;margin-top:5px}@media screen and (max-width: 600px){._title_t09td_29{font-size:150%}}._card_1cv5a_1{width:90px;height:195px;margin:10px;padding:.5em 1.5em;background:rgb(230,230,230);border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._hiddenCard_1cv5a_23{width:85px;height:185px;margin:10px;padding:.5em 1.5em;background-image:linear-gradient(176deg,#ffffff 8.33%,#ff0000 8.33%,#ff0000 50%,#ffffff 50%,#ffffff 58.33%,#ff0000 58.33%,#ff0000 100%);background-size:60px 4.2px;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._black_1cv5a_49{color:#000}._red_1cv5a_57{color:red}._value_1cv5a_65{font-size:300%;margin:0}._suit_1cv5a_75{font-size:450%;margin:0;text-align:center}@media screen and (max-width: 992px){._card_1cv5a_1{width:70px;height:180px}._hiddenCard_1cv5a_23{width:60px;height:170px}._value_1cv5a_65{font-size:300%}._suit_1cv5a_75{font-size:500%}}@media screen and (max-width: 600px){._card_1cv5a_1{width:45px;height:100px;padding:5px 10px}._hiddenCard_1cv5a_23{width:41px;height:96px;padding:5px 10px;border:2px solid white}._value_1cv5a_65{font-size:150%}._suit_1cv5a_75{font-size:250%}}._gameBackground_1kbgl_1{background-color:green;height:750px}html,body{padding:0;margin:0}/*! +@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@1,700&family=Source+Sans+3:wght@300&display=swap";.backgroundImageHolder{background-image:url(../assets/image/poker-cards.png);background-repeat:no-repeat;background-position:center}.background{background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),url(/blackjack_probability/assets/blackjack-table-718e5917.jpg);background-position:center;background-repeat:no-repeat;background-color:#006400;background-size:contain;height:85vh;padding:15px}.row{display:flex;flex-direction:row;align-items:center}.pokerChipIcon{padding:15px;color:red}.pokerChipCurrency{font-size:30px;color:#fff}.info{font-size:30px;text-wrap:wrap;width:550px;padding:20px;color:#fff;text-align:center}.btn-hover{width:200px;font-size:16px;font-weight:600;color:#fff;cursor:pointer;margin:20px;height:55px;text-align:center;border:none;background-size:300% 100%;border-radius:50px;moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out;background-image:linear-gradient(to right,#29323c,#485563,#2b5876,#4e4376);box-shadow:0 4px 15px #2d3641bf}.btn-hover:hover{background-position:100% 0;moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}.btn-hover:focus{outline:none}.titleHolder{flex-direction:column;display:flex;justify-content:center;align-items:center;height:90vh}.title{font-size:100px!important;margin:0;font-family:Lobster Two,cursive,"Sans Serif",sans-serif;background:linear-gradient(to right,hsl(57,92%,50%,.714) 0,hsl(0,0%,100%) 10%,hsla(57,92%,50%,.714) 20%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:2px;-webkit-text-stroke-color:black;animation:shine 3s infinite linear}@keyframes shine{0%{background-position:-100px}60%{background-position:400px}60%{background-position:500px}to{background-position:750px}}.container{display:flex;flex-direction:column}.subContainer{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;padding:50px}.image{height:300px}.titleText{font-size:40px}img{height:350px;width:350px}.about-row{display:flex;flex-direction:row;width:100vw;justify-content:space-evenly;align-items:center;margin-bottom:10px}.column{display:flex;flex-direction:column}.about-header{font-size:36px}.about-p{font-size:20px}.text-holder{width:400px;text-align:center}.errorContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px}.error-img{height:500px;width:500px}.table-container{display:flex;justify-content:space-evenly;align-items:center;padding:50px}table{height:600px;width:500px;border:2px solid forestgreen}th,td{border:1px solid black;align-items:center;height:50px;width:50px;text-align:center}.term-text{font-size:20px;width:800px}.term-row{display:flex;flex-direction:column;align-items:center;padding-top:25px;padding-bottom:25px}.term-container{display:flex;flex-direction:column;justify-content:center;align-items:center}._status_1dlho_1{height:80vh;width:20vw;display:flex;flex-direction:column;justify-content:space-between;margin:.5em .5em .5em 100px;padding:1em;background:black;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000}._balance_1dlho_37{display:flex;align-items:center;justify-content:center;margin:.5em 1em .5em .5em;padding:1em;width:20%;height:50px;background:black;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000}._value_1dlho_65{color:#fff;text-align:center}@media screen and (max-width: 992px){._value_1dlho_65{font-size:150%}}@media screen and (max-width: 600px){._value_1dlho_65{font-size:115%}}._controlsContainer_1wb3m_1{display:flex;justify-content:center;margin:.5em 1em 1em}._button_1wb3m_13{color:#fff;font-weight:700;margin:0 .5em;padding:1em;width:30%;background:black;outline:none;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;text-align:center;cursor:pointer}@media (hover: hover){._button_1wb3m_13:hover{color:#000;background:white;border:5px solid black}}._button_1wb3m_13:disabled{color:gray;background:rgb(60,60,60);border:5px solid gray}@media screen and (max-width: 992px){._betContainer_1wb3m_73{width:50%}}@media screen and (max-width: 600px){._betContainer_1wb3m_73{width:70%}._betContainer_1wb3m_73 h4{font-size:75%}._betContainer_1wb3m_73 input{font-size:125%}}._handContainer_fyrow_1{color:#000;display:flex;align-items:center;flex-direction:column;margin:.5em;min-height:0}._cardContainer_fyrow_19{display:flex;justify-content:center;flex-wrap:wrap;background-color:#000;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000}._title_fyrow_39{text-align:center;margin-bottom:0;margin-top:5px}@media screen and (max-width: 600px){._title_fyrow_39{font-size:150%}}._card_16txk_1{width:130px;height:250px;margin:20px;padding:.5em 1.5em;background:rgb(230,230,230);border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._hiddenCard_16txk_23{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(176deg,#ffffff 8.33%,#ff0000 8.33%,#ff0000 50%,#ffffff 50%,#ffffff 58.33%,#ff0000 58.33%,#ff0000 100%);background-size:60px 4.2px;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._black_16txk_49{color:#000}._red_16txk_57{color:red}._value_16txk_65{font-size:300%;margin-top:2px}._suit_16txk_75{font-size:450%;margin:0;text-align:center}@media screen and (max-width: 992px){._card_16txk_1{width:70px;height:180px}._hiddenCard_16txk_23{width:60px;height:170px}._value_16txk_65{font-size:300%}._suit_16txk_75{font-size:500%}}@media screen and (max-width: 600px){._card_16txk_1{width:45px;height:100px;padding:5px 10px}._hiddenCard_16txk_23{width:41px;height:96px;padding:5px 10px;border:2px solid white}._value_16txk_65{font-size:150%}._suit_16txk_75{font-size:250%}}._gameBackground_rw94s_1{background-color:green;display:flex;flex-direction:row;justify-content:space-between;align-items:center}._handSection_rw94s_17{display:flex;flex-direction:column;justify-content:center;align-items:center;width:80vw;min-height:100vh}html,body{padding:0;margin:0}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT diff --git a/index.html b/index.html index 0fbfa50..5d3795f 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Vite + React + TS - - + +