diff --git a/assets/404Error-40e8e704.svg b/assets/404Error-40e8e704.svg
deleted file mode 100644
index e646e57..0000000
--- a/assets/404Error-40e8e704.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/404Error-54fb3a76.png b/assets/404Error-54fb3a76.png
new file mode 100644
index 0000000..4963a6c
Binary files /dev/null and b/assets/404Error-54fb3a76.png differ
diff --git a/assets/AboutUs1-fd477dc8.png b/assets/AboutUs1-fd477dc8.png
new file mode 100644
index 0000000..994fed9
Binary files /dev/null and b/assets/AboutUs1-fd477dc8.png differ
diff --git a/assets/AboutUs2-9f0e362a.png b/assets/AboutUs2-9f0e362a.png
new file mode 100644
index 0000000..1cec497
Binary files /dev/null and b/assets/AboutUs2-9f0e362a.png differ
diff --git a/assets/CardDecks-bb474b3e.svg b/assets/CardDecks-bb474b3e.svg
deleted file mode 100644
index 5b6efe1..0000000
--- a/assets/CardDecks-bb474b3e.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/CardFan2-7ec4e5d9.svg b/assets/CardFan2-7ec4e5d9.svg
deleted file mode 100644
index 43600ee..0000000
--- a/assets/CardFan2-7ec4e5d9.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/CardsAndChips-891df8e4.svg b/assets/CardsAndChips-891df8e4.svg
deleted file mode 100644
index 0092eb8..0000000
--- a/assets/CardsAndChips-891df8e4.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/HomePage1-5cae91d8.png b/assets/HomePage1-5cae91d8.png
new file mode 100644
index 0000000..ac663db
Binary files /dev/null and b/assets/HomePage1-5cae91d8.png differ
diff --git a/assets/HomePage2-91b77c51.png b/assets/HomePage2-91b77c51.png
new file mode 100644
index 0000000..88b30b5
Binary files /dev/null and b/assets/HomePage2-91b77c51.png differ
diff --git a/assets/HomePage3-a31c86df.png b/assets/HomePage3-a31c86df.png
new file mode 100644
index 0000000..e388903
Binary files /dev/null and b/assets/HomePage3-a31c86df.png differ
diff --git a/assets/HomePage4-10ab7789.png b/assets/HomePage4-10ab7789.png
new file mode 100644
index 0000000..d5f6995
Binary files /dev/null and b/assets/HomePage4-10ab7789.png differ
diff --git a/assets/PiggyBank-fe8bea6a.svg b/assets/PiggyBank-fe8bea6a.svg
deleted file mode 100644
index 3f50de0..0000000
--- a/assets/PiggyBank-fe8bea6a.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/PuzzleWall-d409c30e.svg b/assets/PuzzleWall-d409c30e.svg
deleted file mode 100644
index 32e941a..0000000
--- a/assets/PuzzleWall-d409c30e.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/assets/Wireframe-a972ebe5.svg b/assets/Wireframe-a972ebe5.svg
deleted file mode 100644
index 6287efe..0000000
--- a/assets/Wireframe-a972ebe5.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/index-11588a5c.js b/assets/index-11588a5c.js
deleted file mode 100644
index 4fca1e6..0000000
--- a/assets/index-11588a5c.js
+++ /dev/null
@@ -1,99 +0,0 @@
-function lp(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 i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function ip(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rc={exports:{}},fi={},lc={exports:{}},A={};/**
- * @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 Vr=Symbol.for("react.element"),op=Symbol.for("react.portal"),sp=Symbol.for("react.fragment"),ap=Symbol.for("react.strict_mode"),up=Symbol.for("react.profiler"),cp=Symbol.for("react.provider"),dp=Symbol.for("react.context"),fp=Symbol.for("react.forward_ref"),pp=Symbol.for("react.suspense"),hp=Symbol.for("react.memo"),mp=Symbol.for("react.lazy"),xa=Symbol.iterator;function vp(e){return e===null||typeof e!="object"?null:(e=xa&&e[xa]||e["@@iterator"],typeof e=="function"?e:null)}var ic={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oc=Object.assign,sc={};function Jn(e,t,n){this.props=e,this.context=t,this.refs=sc,this.updater=n||ic}Jn.prototype.isReactComponent={};Jn.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")};Jn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ac(){}ac.prototype=Jn.prototype;function gs(e,t,n){this.props=e,this.context=t,this.refs=sc,this.updater=n||ic}var ys=gs.prototype=new ac;ys.constructor=gs;oc(ys,Jn.prototype);ys.isPureReactComponent=!0;var Ea=Array.isArray,uc=Object.prototype.hasOwnProperty,ws={current:null},cc={key:!0,ref:!0,__self:!0,__source:!0};function dc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)uc.call(t,r)&&!cc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,J=R[F];if(0>>1;Fl(at,I))_el(P,at)?(R[F]=P,R[_e]=I,F=_e):(R[F]=at,R[Ne]=I,F=Ne);else if(_el(P,I))R[F]=P,R[_e]=I,F=_e;else break e}}return L}function l(R,L){var I=R.sortIndex-L.sortIndex;return I!==0?I:R.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],u=[],p=1,h=null,m=3,g=!1,S=!1,y=!1,N=typeof setTimeout=="function"?setTimeout:null,d=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 f(R){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=R)r(u),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(u)}}function w(R){if(y=!1,f(R),!S)if(n(a)!==null)S=!0,ye(k);else{var L=n(u);L!==null&&he(w,L.startTime-R)}}function k(R,L){S=!1,y&&(y=!1,d(T),T=-1),g=!0;var I=m;try{for(f(L),h=n(a);h!==null&&(!(h.expirationTime>L)||R&&!z());){var F=h.callback;if(typeof F=="function"){h.callback=null,m=h.priorityLevel;var J=F(h.expirationTime<=L);L=e.unstable_now(),typeof J=="function"?h.callback=J:h===n(a)&&r(a),f(L)}else r(a);h=n(a)}if(h!==null)var qe=!0;else{var Ne=n(u);Ne!==null&&he(w,Ne.startTime-L),qe=!1}return qe}finally{h=null,m=I,g=!1}}var x=!1,E=null,T=-1,M=5,O=-1;function z(){return!(e.unstable_now()-OR||125F?(R.sortIndex=I,t(u,R),n(a)===null&&R===n(u)&&(y?(d(T),T=-1):y=!0,he(w,I-F))):(R.sortIndex=J,t(a,R),S||g||(S=!0,ye(k))),R},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(R){var L=m;return function(){var I=m;m=L;try{return R.apply(this,arguments)}finally{m=I}}}})(mc);hc.exports=mc;var Rp=hc.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 vc=_,We=Rp;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"),mo=Object.prototype.hasOwnProperty,jp=/^[: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]*$/,Na={},_a={};function Tp(e){return mo.call(_a,e)?!0:mo.call(Na,e)?!1:jp.test(e)?_a[e]=!0:(Na[e]=!0,!1)}function Ip(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 Lp(e,t,n,r){if(t===null||typeof t>"u"||Ip(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 Te(e,t,n,r,l,i,o){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=i,this.removeEmptyString=o}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Te(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Te(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){ge[e]=new Te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Te(e,5,!1,e.toLowerCase(),null,!1,!1)});var ks=/[\-:]([a-z])/g;function xs(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(ks,xs);ge[t]=new Te(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(ks,xs);ge[t]=new Te(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(ks,xs);ge[t]=new Te(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Te(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Te(e,1,!1,e.toLowerCase(),null,!0,!0)});function Es(e,t,n,r){var l=ge.hasOwnProperty(t)?ge[t]:null;(l!==null?l.type!==0:r||!(2s||l[o]!==i[s]){var a=`
-`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{$i=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?dr(e):""}function zp(e){switch(e.tag){case 5:return dr(e.type);case 16:return dr("Lazy");case 13:return dr("Suspense");case 19:return dr("SuspenseList");case 0:case 2:case 15:return e=Ai(e.type,!1),e;case 11:return e=Ai(e.type.render,!1),e;case 1:return e=Ai(e.type,!0),e;default:return""}}function wo(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 kn:return"Fragment";case Sn:return"Portal";case vo:return"Profiler";case Cs:return"StrictMode";case go:return"Suspense";case yo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wc:return(e.displayName||"Context")+".Consumer";case yc:return(e._context.displayName||"Context")+".Provider";case Ns:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _s:return t=e.displayName||null,t!==null?t:wo(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return wo(e(t))}catch{}}return null}function Op(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 wo(t);case 8:return t===Cs?"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 Gt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function kc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dp(e){var t=kc(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nl(e){e._valueTracker||(e._valueTracker=Dp(e))}function xc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=kc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Dl(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 So(e,t){var n=t.checked;return te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ra(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Gt(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 Ec(e,t){t=t.checked,t!=null&&Es(e,"checked",t,!1)}function ko(e,t){Ec(e,t);var n=Gt(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")?xo(e,t.type,n):t.hasOwnProperty("defaultValue")&&xo(e,t.type,Gt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ja(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 xo(e,t,n){(t!=="number"||Dl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var fr=Array.isArray;function zn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=rl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vr={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},$p=["Webkit","ms","Moz","O"];Object.keys(vr).forEach(function(e){$p.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vr[t]=vr[e]})});function Pc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vr.hasOwnProperty(e)&&vr[e]?(""+t).trim():t+"px"}function Rc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Pc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ap=te({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 No(e,t){if(t){if(Ap[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 _o(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 Po=null;function Ps(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ro=null,On=null,Dn=null;function La(e){if(e=Kr(e)){if(typeof Ro!="function")throw Error(C(280));var t=e.stateNode;t&&(t=gi(t),Ro(e.stateNode,e.type,t))}}function jc(e){On?Dn?Dn.push(e):Dn=[e]:On=e}function Tc(){if(On){var e=On,t=Dn;if(Dn=On=null,La(e),t)for(e=0;e>>=0,e===0?32:31-(Kp(e)/Xp|0)|0}var ll=64,il=4194304;function pr(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 Hl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=pr(s):(i&=o,i!==0&&(r=pr(i)))}else o=n&~l,o!==0?r=pr(o):i!==0&&(r=pr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&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 Qr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-lt(t),e[t]=n}function qp(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=yr),Ba=String.fromCharCode(32),Fa=!1;function bc(e,t){switch(e){case"keyup":return Ph.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xn=!1;function jh(e,t){switch(e){case"compositionend":return Jc(t);case"keypress":return t.which!==32?null:(Fa=!0,Ba);case"textInput":return e=t.data,e===Ba&&Fa?null:e;default:return null}}function Th(e,t){if(xn)return e==="compositionend"||!Ds&&bc(e,t)?(e=Kc(),xl=Ls=Dt=null,xn=!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=Qa(n)}}function td(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?td(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nd(){for(var e=window,t=Dl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Dl(e.document)}return t}function $s(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 Hh(e){var t=nd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&td(n.ownerDocument.documentElement,n)){if(r!==null&&$s(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Ga(n,i);var o=Ga(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,En=null,Oo=null,Sr=null,Do=!1;function Ka(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Do||En==null||En!==Dl(r)||(r=En,"selectionStart"in r&&$s(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}),Sr&&zr(Sr,r)||(Sr=r,r=Fl(Oo,"onSelect"),0_n||(e.current=Bo[_n],Bo[_n]=null,_n--)}function Q(e,t){_n++,Bo[_n]=e.current,e.current=t}var Kt={},Ee=bt(Kt),$e=bt(!1),un=Kt;function Un(e,t){var n=e.type.contextTypes;if(!n)return Kt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ae(e){return e=e.childContextTypes,e!=null}function Yl(){b($e),b(Ee)}function tu(e,t,n){if(Ee.current!==Kt)throw Error(C(168));Q(Ee,t),Q($e,n)}function dd(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,Op(e)||"Unknown",l));return te({},n,r)}function Vl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kt,un=Ee.current,Q(Ee,e),Q($e,$e.current),!0}function nu(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=dd(e,t,un),r.__reactInternalMemoizedMergedChildContext=e,b($e),b(Ee),Q(Ee,e)):b($e),Q($e,n)}var yt=null,yi=!1,Ji=!1;function fd(e){yt===null?yt=[e]:yt.push(e)}function Jh(e){yi=!0,fd(e)}function Jt(){if(!Ji&&yt!==null){Ji=!0;var e=0,t=B;try{var n=yt;for(B=1;e>=o,l-=o,wt=1<<32-lt(t)+l|n<T?(M=E,E=null):M=E.sibling;var O=m(d,E,f[T],w);if(O===null){E===null&&(E=M);break}e&&E&&O.alternate===null&&t(d,E),c=i(O,c,T),x===null?k=O:x.sibling=O,x=O,E=M}if(T===f.length)return n(d,E),Z&&Zt(d,T),k;if(E===null){for(;TT?(M=E,E=null):M=E.sibling;var z=m(d,E,O.value,w);if(z===null){E===null&&(E=M);break}e&&E&&z.alternate===null&&t(d,E),c=i(z,c,T),x===null?k=z:x.sibling=z,x=z,E=M}if(O.done)return n(d,E),Z&&Zt(d,T),k;if(E===null){for(;!O.done;T++,O=f.next())O=h(d,O.value,w),O!==null&&(c=i(O,c,T),x===null?k=O:x.sibling=O,x=O);return Z&&Zt(d,T),k}for(E=r(d,E);!O.done;T++,O=f.next())O=g(E,d,T,O.value,w),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?T:O.key),c=i(O,c,T),x===null?k=O:x.sibling=O,x=O);return e&&E.forEach(function(G){return t(d,G)}),Z&&Zt(d,T),k}function N(d,c,f,w){if(typeof f=="object"&&f!==null&&f.type===kn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case tl:e:{for(var k=f.key,x=c;x!==null;){if(x.key===k){if(k=f.type,k===kn){if(x.tag===7){n(d,x.sibling),c=l(x,f.props.children),c.return=d,d=c;break e}}else if(x.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===It&&uu(k)===x.type){n(d,x.sibling),c=l(x,f.props),c.ref=sr(d,x,f),c.return=d,d=c;break e}n(d,x);break}else t(d,x);x=x.sibling}f.type===kn?(c=on(f.props.children,d.mode,w,f.key),c.return=d,d=c):(w=Tl(f.type,f.key,f.props,null,d.mode,w),w.ref=sr(d,c,f),w.return=d,d=w)}return o(d);case Sn:e:{for(x=f.key;c!==null;){if(c.key===x)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(d,c.sibling),c=l(c,f.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=io(f,d.mode,w),c.return=d,d=c}return o(d);case It:return x=f._init,N(d,c,x(f._payload),w)}if(fr(f))return S(d,c,f,w);if(nr(f))return y(d,c,f,w);fl(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,f),c.return=d,d=c):(n(d,c),c=lo(f,d.mode,w),c.return=d,d=c),o(d)):n(d,c)}return N}var Fn=Sd(!0),kd=Sd(!1),Xr={},mt=bt(Xr),Ar=bt(Xr),Mr=bt(Xr);function nn(e){if(e===Xr)throw Error(C(174));return e}function Vs(e,t){switch(Q(Mr,t),Q(Ar,e),Q(mt,Xr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Co(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Co(t,e)}b(mt),Q(mt,t)}function Wn(){b(mt),b(Ar),b(Mr)}function xd(e){nn(Mr.current);var t=nn(mt.current),n=Co(t,e.type);t!==n&&(Q(Ar,e),Q(mt,n))}function Qs(e){Ar.current===e&&(b(mt),b(Ar))}var q=bt(0);function Jl(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 Zi=[];function Gs(){for(var e=0;en?n:4,e(!0);var r=qi.transition;qi.transition={};try{e(!1),t()}finally{B=n,qi.transition=r}}function Md(){return Je().memoizedState}function tm(e,t,n){var r=Yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hd(e))Ud(t,n);else if(n=vd(e,t,n,r),n!==null){var l=Re();it(n,e,r,l),Bd(n,t,r)}}function nm(e,t,n){var r=Yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hd(e))Ud(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,st(s,o)){var a=t.interleaved;a===null?(l.next=l,Ws(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=vd(e,t,l,r),n!==null&&(l=Re(),it(n,e,r,l),Bd(n,t,r))}}function Hd(e){var t=e.alternate;return e===ee||t!==null&&t===ee}function Ud(e,t){kr=Zl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,js(e,n)}}var ql={readContext:be,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},rm={readContext:be,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:be,useEffect:du,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_l(4194308,4,zd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _l(4194308,4,e,t)},useInsertionEffect:function(e,t){return _l(4,2,e,t)},useMemo:function(e,t){var n=dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dt();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=tm.bind(null,ee,e),[r.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:cu,useDebugValue:Zs,useDeferredValue:function(e){return dt().memoizedState=e},useTransition:function(){var e=cu(!1),t=e[0];return e=em.bind(null,e[1]),dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ee,l=dt();if(Z){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),pe===null)throw Error(C(349));dn&30||Nd(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,du(Pd.bind(null,r,i,e),[e]),r.flags|=2048,Br(9,_d.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=dt(),t=pe.identifierPrefix;if(Z){var n=St,r=wt;n=(r&~(1<<32-lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[pt]=t,e[$r]=r,bd(e,t,!1,!1),t.stateNode=e;e:{switch(o=_o(n,r),n){case"dialog":K("cancel",e),K("close",e),l=r;break;case"iframe":case"object":case"embed":K("load",e),l=r;break;case"video":case"audio":for(l=0;lVn&&(t.flags|=128,r=!0,ar(i,!1),t.lanes=4194304)}else{if(!r)if(e=Jl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ar(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!Z)return Se(t),null}else 2*re()-i.renderingStartTime>Vn&&n!==1073741824&&(t.flags|=128,r=!0,ar(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=re(),t.sibling=null,n=q.current,Q(q,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return la(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ue&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function dm(e,t){switch(Ms(t),t.tag){case 1:return Ae(t.type)&&Yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Wn(),b($e),b(Ee),Gs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(b(q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Bn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(q),null;case 4:return Wn(),null;case 10:return Fs(t.type._context),null;case 22:case 23:return la(),null;case 24:return null;default:return null}}var hl=!1,xe=!1,fm=typeof WeakSet=="function"?WeakSet:Set,j=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function qo(e,t,n){try{n()}catch(r){ne(e,t,r)}}var Su=!1;function pm(e,t){if($o=Ul,e=nd(),$s(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,a=-1,u=0,p=0,h=e,m=null;t:for(;;){for(var g;h!==n||l!==0&&h.nodeType!==3||(s=o+l),h!==i||r!==0&&h.nodeType!==3||(a=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(g=h.firstChild)!==null;)m=h,h=g;for(;;){if(h===e)break t;if(m===n&&++u===l&&(s=o),m===i&&++p===r&&(a=o),(g=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ao={focusedElem:e,selectionRange:n},Ul=!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 S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,N=S.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?y:tt(t.type,y),N);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){ne(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return S=Su,Su=!1,S}function xr(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 i=l.destroy;l.destroy=void 0,i!==void 0&&qo(t,n,i)}l=l.next}while(l!==r)}}function ki(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 es(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 qd(e){var t=e.alternate;t!==null&&(e.alternate=null,qd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[$r],delete t[Uo],delete t[Xh],delete t[bh])),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 ef(e){return e.tag===5||e.tag===3||e.tag===4}function ku(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ef(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 ts(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=Wl));else if(r!==4&&(e=e.child,e!==null))for(ts(e,t,n),e=e.sibling;e!==null;)ts(e,t,n),e=e.sibling}function ns(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(ns(e,t,n),e=e.sibling;e!==null;)ns(e,t,n),e=e.sibling}var me=null,nt=!1;function Rt(e,t,n){for(n=n.child;n!==null;)tf(e,t,n),n=n.sibling}function tf(e,t,n){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(pi,n)}catch{}switch(n.tag){case 5:xe||Tn(n,t);case 6:var r=me,l=nt;me=null,Rt(e,t,n),me=r,nt=l,me!==null&&(nt?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(nt?(e=me,n=n.stateNode,e.nodeType===8?bi(e.parentNode,n):e.nodeType===1&&bi(e,n),Ir(e)):bi(me,n.stateNode));break;case 4:r=me,l=nt,me=n.stateNode.containerInfo,nt=!0,Rt(e,t,n),me=r,nt=l;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&qo(n,t,o),l=l.next}while(l!==r)}Rt(e,t,n);break;case 1:if(!xe&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ne(n,t,s)}Rt(e,t,n);break;case 21:Rt(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Rt(e,t,n),xe=r):Rt(e,t,n);break;default:Rt(e,t,n)}}function xu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fm),t.forEach(function(r){var l=xm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function et(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mm(r/1960))-r,10e?16:e,$t===null)var r=!1;else{if(e=$t,$t=null,ni=0,H&6)throw Error(C(331));var l=H;for(H|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var s=i.deletions;if(s!==null){for(var a=0;are()-na?ln(e,0):ta|=n),Me(e,t)}function cf(e,t){t===0&&(e.mode&1?(t=il,il<<=1,!(il&130023424)&&(il=4194304)):t=1);var n=Re();e=Ct(e,t),e!==null&&(Qr(e,t,n),Me(e,n))}function km(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cf(e,n)}function xm(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),cf(e,n)}var df;df=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Oe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Oe=!1,um(e,t,n);Oe=!!(e.flags&131072)}else Oe=!1,Z&&t.flags&1048576&&pd(t,Gl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pl(e,t),e=t.pendingProps;var l=Un(t,Ee.current);An(t,n),l=Xs(null,t,r,e,l,n);var i=bs();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,Ae(r)?(i=!0,Vl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ys(t),l.updater=wi,t.stateNode=l,l._reactInternals=t,Qo(t,r,e,n),t=Xo(null,t,r,!0,i,n)):(t.tag=0,Z&&i&&As(t),Pe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Cm(r),e=tt(r,e),l){case 0:t=Ko(null,t,r,e,n);break e;case 1:t=gu(null,t,r,e,n);break e;case 11:t=mu(null,t,r,e,n);break e;case 14:t=vu(null,t,r,tt(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:tt(r,l),Ko(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:tt(r,l),gu(e,t,r,l,n);case 3:e:{if(Gd(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,l=i.element,gd(e,t),bl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Yn(Error(C(423)),t),t=yu(e,t,r,n,l);break e}else if(r!==l){l=Yn(Error(C(424)),t),t=yu(e,t,r,n,l);break e}else for(Be=Bt(t.stateNode.containerInfo.firstChild),Fe=t,Z=!0,rt=null,n=kd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bn(),r===l){t=Nt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return xd(t),e===null&&Wo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Mo(r,l)?o=null:i!==null&&Mo(r,i)&&(t.flags|=32),Qd(e,t),Pe(e,t,o,n),t.child;case 6:return e===null&&Wo(t),null;case 13:return Kd(e,t,n);case 4:return Vs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(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:tt(r,l),mu(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,i=t.memoizedProps,o=l.value,Q(Kl,r._currentValue),r._currentValue=o,i!==null)if(st(i.value,o)){if(i.children===l.children&&!$e.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=kt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?a.next=a:(a.next=p.next,p.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Yo(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(C(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Yo(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Pe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,An(t,n),l=be(l),r=r(l),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,l=tt(r,t.pendingProps),l=tt(r.type,l),vu(e,t,r,l,n);case 15:return Yd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:tt(r,l),Pl(e,t),t.tag=1,Ae(r)?(e=!0,Vl(t)):e=!1,An(t,n),wd(t,r,l),Qo(t,r,l,n),Xo(null,t,r,!0,e,n);case 19:return Xd(e,t,n);case 22:return Vd(e,t,n)}throw Error(C(156,t.tag))};function ff(e,t){return Ac(e,t)}function Em(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 Ke(e,t,n,r){return new Em(e,t,n,r)}function oa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cm(e){if(typeof e=="function")return oa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ns)return 11;if(e===_s)return 14}return 2}function Vt(e,t){var n=e.alternate;return n===null?(n=Ke(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 Tl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")oa(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case kn:return on(n.children,l,i,t);case Cs:o=8,l|=8;break;case vo:return e=Ke(12,n,t,l|2),e.elementType=vo,e.lanes=i,e;case go:return e=Ke(13,n,t,l),e.elementType=go,e.lanes=i,e;case yo:return e=Ke(19,n,t,l),e.elementType=yo,e.lanes=i,e;case Sc:return Ei(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yc:o=10;break e;case wc:o=9;break e;case Ns:o=11;break e;case _s:o=14;break e;case It:o=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Ke(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function on(e,t,n,r){return e=Ke(7,e,r,t),e.lanes=n,e}function Ei(e,t,n,r){return e=Ke(22,e,r,t),e.elementType=Sc,e.lanes=n,e.stateNode={isHidden:!1},e}function lo(e,t,n){return e=Ke(6,e,null,t),e.lanes=n,e}function io(e,t,n){return t=Ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nm(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=Hi(0),this.expirationTimes=Hi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function sa(e,t,n,r,l,i,o,s,a){return e=new Nm(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ke(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ys(i),e}function _m(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vf)}catch(e){console.error(e)}}vf(),pc.exports=Ye;var Im=pc.exports,Tu=Im;ho.createRoot=Tu.createRoot,ho.hydrateRoot=Tu.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 Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function da(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function zm(){return Math.random().toString(36).substr(2,8)}function Lu(e,t){return{usr:e.state,key:e.key,idx:t}}function ss(e,t,n,r){return n===void 0&&(n=null),Wr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?er(t):t,{state:n,key:t&&t.key||r||zm()})}function ii(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 er(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 Om(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,s=At.Pop,a=null,u=p();u==null&&(u=0,o.replaceState(Wr({},o.state,{idx:u}),""));function p(){return(o.state||{idx:null}).idx}function h(){s=At.Pop;let N=p(),d=N==null?null:N-u;u=N,a&&a({action:s,location:y.location,delta:d})}function m(N,d){s=At.Push;let c=ss(y.location,N,d);n&&n(c,N),u=p()+1;let f=Lu(c,u),w=y.createHref(c);try{o.pushState(f,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(w)}i&&a&&a({action:s,location:y.location,delta:1})}function g(N,d){s=At.Replace;let c=ss(y.location,N,d);n&&n(c,N),u=p();let f=Lu(c,u),w=y.createHref(c);o.replaceState(f,"",w),i&&a&&a({action:s,location:y.location,delta:0})}function S(N){let d=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof N=="string"?N:ii(N);return se(d,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,d)}let y={get action(){return s},get location(){return e(l,o)},listen(N){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(Iu,h),a=N,()=>{l.removeEventListener(Iu,h),a=null}},createHref(N){return t(l,N)},createURL:S,encodeLocation(N){let d=S(N);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:m,replace:g,go(N){return o.go(N)}};return y}var zu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(zu||(zu={}));function Dm(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?er(t):t,l=fa(r.pathname||"/",n);if(l==null)return null;let i=gf(e);$m(i);let o=null;for(let s=0;o==null&&s{let a={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&(se(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 u=Qt([r,a.relativePath]),p=n.concat(a);i.children&&i.children.length>0&&(se(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),gf(i.children,t,p,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:Wm(u,i.index),routesMeta:p})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))l(i,o);else for(let a of yf(i.path))l(i,o,a)}),t}function yf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=yf(r.join("/")),s=[];return s.push(...o.map(a=>a===""?i:[i,a].join("/"))),l&&s.push(...o),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function $m(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ym(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Am=/^:\w+$/,Mm=3,Hm=2,Um=1,Bm=10,Fm=-2,Ou=e=>e==="*";function Wm(e,t){let n=e.split("/"),r=n.length;return n.some(Ou)&&(r+=Fm),t&&(r+=Hm),n.filter(l=>!Ou(l)).reduce((l,i)=>l+(Am.test(i)?Mm:i===""?Um:Bm),r)}function Ym(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 Vm(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{if(p==="*"){let m=s[h]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}return u[p]=Xm(s[h]||"",p),u},{}),pathname:i,pathnameBase:o,pattern:e}}function Gm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),da(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,(o,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Km(e){try{return decodeURI(e)}catch(t){return da(!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 Xm(e,t){try{return decodeURIComponent(e)}catch(n){return da(!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 fa(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 bm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?er(e):e;return{pathname:n?n.startsWith("/")?n:Jm(n,t):t,search:qm(r),hash:ev(l)}}function Jm(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 oo(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 wf(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Sf(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=er(e):(l=Wr({},e),se(!l.pathname||!l.pathname.includes("?"),oo("?","pathname","search",l)),se(!l.pathname||!l.pathname.includes("#"),oo("#","pathname","hash",l)),se(!l.search||!l.search.includes("#"),oo("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,s;if(r||o==null)s=n;else{let h=t.length-1;if(o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),h-=1;l.pathname=m.join("/")}s=h>=0?t[h]:"/"}let a=bm(l,s),u=o&&o!=="/"&&o.endsWith("/"),p=(i||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||p)&&(a.pathname+="/"),a}const Qt=e=>e.join("/").replace(/\/\/+/g,"/"),Zm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),qm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ev=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const kf=["post","put","patch","delete"];new Set(kf);const nv=["get",...kf];new Set(nv);/**
- * 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 oi(){return oi=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.pathnameBase)),o=_.useRef(!1);return Cf(()=>{o.current=!0}),_.useCallback(function(a,u){if(u===void 0&&(u={}),!o.current)return;if(typeof a=="number"){n.go(a);return}let p=Sf(a,JSON.parse(i),l,u.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Qt([t,p.pathname])),(u.replace?n.replace:n.push)(p,u.state,u)},[t,n,i,l,e])}function ha(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=_.useContext(gn),{pathname:l}=Jr(),i=JSON.stringify(wf(r).map(o=>o.pathnameBase));return _.useMemo(()=>Sf(e,JSON.parse(i),l,n==="path"),[e,i,l,n])}function iv(e,t){return ov(e,t)}function ov(e,t,n){br()||se(!1);let{navigator:r}=_.useContext(vn),{matches:l}=_.useContext(gn),i=l[l.length-1],o=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Jr(),u;if(t){var p;let y=typeof t=="string"?er(t):t;s==="/"||(p=y.pathname)!=null&&p.startsWith(s)||se(!1),u=y}else u=a;let h=u.pathname||"/",m=s==="/"?h:h.slice(s.length)||"/",g=Dm(e,{pathname:m}),S=dv(g&&g.map(y=>Object.assign({},y,{params:Object.assign({},o,y.params),pathname:Qt([s,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Qt([s,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),l,n);return t&&S?_.createElement(Ri.Provider,{value:{location:oi({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:At.Pop}},S):S}function sv(){let e=mv(),t=tv(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)"},i=null;return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:l},n):null,i)}const av=_.createElement(sv,null);class uv extends _.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?_.createElement(gn.Provider,{value:this.props.routeContext},_.createElement(Ef.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function cv(e){let{routeContext:t,match:n,children:r}=e,l=_.useContext(pa);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(gn.Provider,{value:t},r)}function dv(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 i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let s=i.findIndex(a=>a.route.id&&(o==null?void 0:o[a.route.id]));s>=0||se(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,a,u)=>{let p=a.route.id?o==null?void 0:o[a.route.id]:null,h=null;n&&(h=a.route.errorElement||av);let m=t.concat(i.slice(0,u+1)),g=()=>{let S;return p?S=h:a.route.Component?S=_.createElement(a.route.Component,null):a.route.element?S=a.route.element:S=s,_.createElement(cv,{match:a,routeContext:{outlet:s,matches:m,isDataRoute:n!=null},children:S})};return n&&(a.route.ErrorBoundary||a.route.errorElement||u===0)?_.createElement(uv,{location:n.location,revalidation:n.revalidation,component:h,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var _f=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(_f||{}),si=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}(si||{});function fv(e){let t=_.useContext(pa);return t||se(!1),t}function pv(e){let t=_.useContext(xf);return t||se(!1),t}function hv(e){let t=_.useContext(gn);return t||se(!1),t}function Pf(e){let t=hv(),n=t.matches[t.matches.length-1];return n.route.id||se(!1),n.route.id}function mv(){var e;let t=_.useContext(Ef),n=pv(si.UseRouteError),r=Pf(si.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function vv(){let{router:e}=fv(_f.UseNavigateStable),t=Pf(si.UseNavigateStable),n=_.useRef(!1);return Cf(()=>{n.current=!0}),_.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,oi({fromRouteId:t},i)))},[e,t])}function jt(e){se(!1)}function gv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=At.Pop,navigator:i,static:o=!1}=e;br()&&se(!1);let s=t.replace(/^\/*/,"/"),a=_.useMemo(()=>({basename:s,navigator:i,static:o}),[s,i,o]);typeof r=="string"&&(r=er(r));let{pathname:u="/",search:p="",hash:h="",state:m=null,key:g="default"}=r,S=_.useMemo(()=>{let y=fa(u,s);return y==null?null:{location:{pathname:y,search:p,hash:h,state:m,key:g},navigationType:l}},[s,u,p,h,m,g,l]);return S==null?null:_.createElement(vn.Provider,{value:a},_.createElement(Ri.Provider,{children:n,value:S}))}function yv(e){let{children:t,location:n}=e;return iv(as(t),n)}new Promise(()=>{});function as(e,t){t===void 0&&(t=[]);let n=[];return _.Children.forEach(e,(r,l)=>{if(!_.isValidElement(r))return;let i=[...t,l];if(r.type===_.Fragment){n.push.apply(n,as(r.props.children,i));return}r.type!==jt&&se(!1),!r.props.index||!r.props.children||se(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=as(r.props.children,i)),n.push(o)}),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 ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function wv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Sv(e,t){return e.button===0&&(!t||t==="_self")&&!wv(e)}const kv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],xv=["aria-current","caseSensitive","className","end","style","to","children"],Ev="startTransition",Du=kp[Ev];function Cv(e){let{basename:t,children:n,future:r,window:l}=e,i=_.useRef();i.current==null&&(i.current=Lm({window:l,v5Compat:!0}));let o=i.current,[s,a]=_.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},p=_.useCallback(h=>{u&&Du?Du(()=>a(h)):a(h)},[a,u]);return _.useLayoutEffect(()=>o.listen(p),[o,p]),_.createElement(gv,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o})}const Nv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_v=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pv=_.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:s,target:a,to:u,preventScrollReset:p}=t,h=Rf(t,kv),{basename:m}=_.useContext(vn),g,S=!1;if(typeof u=="string"&&_v.test(u)&&(g=u,Nv))try{let c=new URL(window.location.href),f=u.startsWith("//")?new URL(c.protocol+u):new URL(u),w=fa(f.pathname,m);f.origin===c.origin&&w!=null?u=w+f.search+f.hash:S=!0}catch{}let y=rv(u,{relative:l}),N=jv(u,{replace:o,state:s,target:a,preventScrollReset:p,relative:l});function d(c){r&&r(c),c.defaultPrevented||N(c)}return _.createElement("a",ai({},h,{href:g||y,onClick:S||i?r:d,ref:n,target:a}))}),Rv=_.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:s,to:a,children:u}=t,p=Rf(t,xv),h=ha(a,{relative:p.relative}),m=Jr(),g=_.useContext(xf),{navigator:S}=_.useContext(vn),y=S.encodeLocation?S.encodeLocation(h).pathname:h.pathname,N=m.pathname,d=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;l||(N=N.toLowerCase(),d=d?d.toLowerCase():null,y=y.toLowerCase());let c=N===y||!o&&N.startsWith(y)&&N.charAt(y.length)==="/",f=d!=null&&(d===y||!o&&d.startsWith(y)&&d.charAt(y.length)==="/"),w=c?r:void 0,k;typeof i=="function"?k=i({isActive:c,isPending:f}):k=[i,c?"active":null,f?"pending":null].filter(Boolean).join(" ");let x=typeof s=="function"?s({isActive:c,isPending:f}):s;return _.createElement(Pv,ai({},p,{"aria-current":w,className:k,ref:n,style:x,to:a}),typeof u=="function"?u({isActive:c,isPending:f}):u)});var $u;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})($u||($u={}));var Au;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Au||(Au={}));function jv(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o}=t===void 0?{}:t,s=Nf(),a=Jr(),u=ha(e,{relative:o});return _.useCallback(p=>{if(Sv(p,n)){p.preventDefault();let h=r!==void 0?r:ii(a)===ii(u);s(e,{replace:h,state:l,preventScrollReset:i,relative:o})}},[a,s,u,r,l,n,e,i,o])}const jf="/blackjack_probability",Tf="/blackjack_probability/about-us",If="/blackjack_probability/charts",Lf="/blackjack_probability/terms",ma="/blackjack_probability/game",zf="/blackjack_probability/customize",Tv="*",Iv=()=>{const e=Nf(),t=()=>{e(ma)},n=()=>{e(zf)};return v.jsx("div",{className:"background",children:v.jsxs("div",{className:"titleHolder",children:[v.jsx("h1",{className:"title",children:"Blackjack Probability"}),v.jsx("p",{className:"info",children:"Ever wanted to learn how to become a true professional at Blackjack? Well click 'Play' below to get started!"}),v.jsxs("div",{className:"row",children:[v.jsx("button",{className:"btn-hover",onClick:t,children:"Play the Game"}),v.jsx("button",{className:"btn-hover",onClick:n,children:"Customize Table"})]})]})})};const Lv="/blackjack_probability/assets/CardsAndChips-891df8e4.svg",zv="/blackjack_probability/assets/PuzzleWall-d409c30e.svg",Ov="/blackjack_probability/assets/PiggyBank-fe8bea6a.svg",Dv="/blackjack_probability/assets/CardDecks-bb474b3e.svg",$v=()=>v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"subContainer",children:[v.jsx("p",{className:"titleText",children:"Learn How to Play!"}),v.jsx("img",{className:"image",src:Lv})]}),v.jsxs("div",{className:"subContainer",children:[v.jsx("img",{className:"image",src:Dv}),v.jsx("p",{className:"titleText",children:"Learn Basic Strategy!"})]}),v.jsxs("div",{className:"subContainer",children:[v.jsx("p",{className:"titleText",children:"See The Odds and Learn to Beat Them!"}),v.jsx("img",{className:"image",src:zv})]}),v.jsxs("div",{className:"subContainer",children:[v.jsx("img",{className:"image",src:Ov}),v.jsx("p",{className:"titleText",children:"Learn Without Spending a Dime!"})]})]}),Av=()=>v.jsxs("div",{children:[v.jsx(Iv,{}),v.jsx($v,{})]});var De=function(){return De=Object.assign||function(t){for(var n,r=1,l=arguments.length;r0?fe(tr,--Ze):0,Gn--,ie===10&&(Gn=1,Ti--),ie}function ot(){return ie=Ze2||cs(ie)>3?"":" "}function Kv(e,t){for(;--t&&ot()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return Li(e,Ll()+(t<6&&sn()==32&&ot()==32))}function ds(e){for(;ot();)switch(ie){case e:return Ze;case 34:case 39:e!==34&&e!==39&&ds(ie);break;case 40:e===41&&ds(e);break;case 92:ot();break}return Ze}function Xv(e,t){for(;ot()&&e+ie!==47+10;)if(e+ie===42+42&&sn()===47)break;return"/*"+Li(t,Ze-1)+"*"+ga(e===47?e:ot())}function bv(e){for(;!cs(sn());)ot();return Li(e,Ze)}function Jv(e){return Qv(zl("",null,null,null,[""],e=Vv(e),0,[0],e))}function zl(e,t,n,r,l,i,o,s,a){for(var u=0,p=0,h=o,m=0,g=0,S=0,y=1,N=1,d=1,c=0,f="",w=l,k=i,x=r,E=f;N;)switch(S=c,c=ot()){case 40:if(S!=108&&fe(E,h-1)==58){Il(E+=D(so(c),"&","&\f"),"&\f")!=-1&&(d=-1);break}case 34:case 39:case 91:E+=so(c);break;case 9:case 10:case 13:case 32:E+=Gv(S);break;case 92:E+=Kv(Ll()-1,7);continue;case 47:switch(sn()){case 42:case 47:mr(Zv(Xv(ot(),Ll()),t,n,a),a);break;default:E+="/"}break;case 123*y:s[u++]=ft(E)*d;case 125*y:case 59:case 0:switch(c){case 0:case 125:N=0;case 59+p:d==-1&&(E=D(E,/\f/g,"")),g>0&&ft(E)-h&&mr(g>32?Uu(E+";",r,n,h-1,a):Uu(D(E," ","")+";",r,n,h-2,a),a);break;case 59:E+=";";default:if(mr(x=Hu(E,t,n,u,p,l,s,f,w=[],k=[],h,i),i),c===123)if(p===0)zl(E,t,x,x,w,i,h,s,k);else switch(m===99&&fe(E,3)===110?100:m){case 100:case 108:case 109:case 115:zl(e,x,x,r&&mr(Hu(e,x,x,0,0,l,s,f,l,w=[],h,k),k),l,k,h,s,r?w:k);break;default:zl(E,x,x,x,[""],k,0,s,k)}}u=p=g=0,y=d=1,f=E="",h=o;break;case 58:h=1+ft(E),g=S;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&Yv()==125)continue}switch(E+=ga(c),c*y){case 38:d=p>0?1:(E+="\f",-1);break;case 44:s[u++]=(ft(E)-1)*d,d=1;break;case 64:sn()===45&&(E+=so(ot())),m=sn(),p=h=ft(f=E+=bv(Ll())),c++;break;case 45:S===45&&ft(E)==2&&(y=0)}}return i}function Hu(e,t,n,r,l,i,o,s,a,u,p,h){for(var m=l-1,g=l===0?i:[""],S=Af(g),y=0,N=0,d=0;y0?g[c]+" "+f:D(f,/&\f/g,g[c])))&&(a[d++]=w);return Ii(e,t,n,l===0?ji:s,a,u,p,h)}function Zv(e,t,n,r){return Ii(e,t,n,Of,ga(Wv()),Qn(e,2,-2),0,r)}function Uu(e,t,n,r,l){return Ii(e,t,n,va,Qn(e,0,r),Qn(e,r+1,-1),r,l)}function Hf(e,t,n){switch(Bv(e,t)){case 5103:return U+"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 U+e+e;case 4789:return Nr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+Nr+e+X+e+e;case 5936:switch(fe(e,t+11)){case 114:return U+e+X+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+X+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+X+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return U+e+X+e+e;case 6165:return U+e+X+"flex-"+e+e;case 5187:return U+e+D(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return U+e+X+"flex-item-"+D(e,/flex-|-self/g,"")+(gt(e,/flex-|baseline/)?"":X+"grid-row-"+D(e,/flex-|-self/g,""))+e;case 4675:return U+e+X+"flex-line-pack"+D(e,/align-content|flex-|-self/g,"")+e;case 5548:return U+e+X+D(e,"shrink","negative")+e;case 5292:return U+e+X+D(e,"basis","preferred-size")+e;case 6060:return U+"box-"+D(e,"-grow","")+U+e+X+D(e,"grow","positive")+e;case 4554:return U+D(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return D(D(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4200:if(!gt(e,/flex-|baseline/))return X+"grid-column-align"+Qn(e,t)+e;break;case 2592:case 3360:return X+D(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,l){return t=l,gt(r.props,/grid-\w+-end/)})?~Il(e+(n=n[t].value),"span")?e:X+D(e,"-start","")+e+X+"grid-row-span:"+(~Il(n,"span")?gt(n,/\d+/):+gt(n,/\d+/)-+gt(e,/\d+/))+";":X+D(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return gt(r.props,/grid-\w+-start/)})?e:X+D(D(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,U+"$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(ft(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return D(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+Nr+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Il(e,"stretch")?Hf(D(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return D(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,l,i,o,s,a,u){return X+l+":"+i+u+(o?X+l+"-span:"+(s?a:+a-+i)+u:"")+e});case 4949:if(fe(e,t+6)===121)return D(e,":",":"+U)+e;break;case 6444:switch(fe(e,fe(e,14)===45?18:11)){case 120:return D(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+U+(fe(e,14)===45?"inline-":"")+"box$3$1"+U+"$2$3$1"+X+"$2box$3")+e;case 100:return D(e,":",":"+X)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return D(e,"scroll-","scroll-snap-")+e}return e}function ci(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case va:e.return=Hf(e.value,e.length,n);return;case Df:return ci([Tt(e,{value:D(e.value,"@","@"+U)})],r);case ji:if(e.length)return Fv(n=e.props,function(l){switch(gt(l,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":wn(Tt(e,{props:[D(l,/:(read-\w+)/,":"+Nr+"$1")]})),wn(Tt(e,{props:[l]})),us(e,{props:Mu(n,r)});break;case"::placeholder":wn(Tt(e,{props:[D(l,/:(plac\w+)/,":"+U+"input-$1")]})),wn(Tt(e,{props:[D(l,/:(plac\w+)/,":"+Nr+"$1")]})),wn(Tt(e,{props:[D(l,/:(plac\w+)/,X+"input-$1")]})),wn(Tt(e,{props:[l]})),us(e,{props:Mu(n,r)});break}return""})}}var rg={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},Kn=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",ya=typeof window<"u"&&"HTMLElement"in window,lg=!!(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),zi=Object.freeze([]),Xn=Object.freeze({});function ig(e,t,n){return n===void 0&&(n=Xn),e.theme!==n.theme&&e.theme||t||n.theme}var Uf=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"]),og=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,sg=/(^-|-$)/g;function Bu(e){return e.replace(og,"-").replace(sg,"")}var ag=/(a)(d)/gi,Fu=function(e){return String.fromCharCode(e+(e>25?39:97))};function fs(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Fu(t%52)+n;return(Fu(t%52)+n).replace(ag,"$1-$2")}var ao,Ln=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Bf=function(e){return Ln(5381,e)};function ug(e){return fs(Bf(e)>>>0)}function cg(e){return e.displayName||e.name||"Component"}function uo(e){return typeof e=="string"&&!0}var Ff=typeof Symbol=="function"&&Symbol.for,Wf=Ff?Symbol.for("react.memo"):60115,dg=Ff?Symbol.for("react.forward_ref"):60112,fg={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pg={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Yf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hg=((ao={})[dg]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ao[Wf]=Yf,ao);function Wu(e){return("type"in(t=e)&&t.type.$$typeof)===Wf?Yf:"$$typeof"in e?hg[e.$$typeof]:fg;var t}var mg=Object.defineProperty,vg=Object.getOwnPropertyNames,Yu=Object.getOwnPropertySymbols,gg=Object.getOwnPropertyDescriptor,yg=Object.getPrototypeOf,Vu=Object.prototype;function Vf(e,t,n){if(typeof t!="string"){if(Vu){var r=yg(t);r&&r!==Vu&&Vf(e,r,n)}var l=vg(t);Yu&&(l=l.concat(Yu(t)));for(var i=Wu(e),o=Wu(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var wg=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,i=l;t>=i;)if((i<<=1)<0)throw Zr(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=l;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],l=this.indexOfGroup(t),i=l+r,o=l;o=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(d,","))}),a+="".concat(S).concat(y,'{content:"').concat(N,'"}').concat(`/*!sc*/
-`)},p=0;p0?".".concat(t):m},p=a.slice();p.push(function(m){m.type===ji&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(Tg,n).replace(r,u))}),o.prefix&&p.push(ng),p.push(qv);var h=function(m,g,S,y){g===void 0&&(g=""),S===void 0&&(S=""),y===void 0&&(y="&"),t=y,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var N=m.replace(Ig,""),d=Jv(S||g?"".concat(S," ").concat(g," { ").concat(N," }"):N);o.namespace&&(d=Kf(d,o.namespace));var c=[];return ci(d,eg(p.concat(tg(function(f){return c.push(f)})))),c};return h.hash=a.length?a.reduce(function(m,g){return g.name||Zr(15),Ln(m,g.name)},5381).toString():"",h}var zg=new Gf,hs=Lg(),Xf=ae.createContext({shouldForwardProp:void 0,styleSheet:zg,stylis:hs});Xf.Consumer;ae.createContext(void 0);function Ku(){return _.useContext(Xf)}var Og=function(){function e(t,n){var r=this;this.inject=function(l,i){i===void 0&&(i=hs);var o=r.name+i.hash;l.hasNameForId(r.id,o)||l.insertRules(r.id,o,i(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Sa(this,function(){throw Zr(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=hs),this.name+t.hash},e}(),Dg=function(e){return e>="A"&&e<="Z"};function Xu(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}l=rn(l,o),this.staticRulesId=o}else{for(var a=Ln(this.baseHash,r.hash),u="",p=0;p>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(u,".".concat(g),void 0,this.componentId)),l=rn(l,g)}}return l},e}(),Zf=ae.createContext(void 0);Zf.Consumer;var fo={};function Hg(e,t,n){var r=wa(e),l=e,i=!uo(e),o=t.attrs,s=o===void 0?zi:o,a=t.componentId,u=a===void 0?function(f,w){var k=typeof f!="string"?"sc":Bu(f);fo[k]=(fo[k]||0)+1;var x="".concat(k,"-").concat(ug("6.0.8"+k+fo[k]));return w?"".concat(w,"-").concat(x):x}(t.displayName,t.parentComponentId):a,p=t.displayName;p===void 0&&function(f){return uo(f)?"styled.".concat(f):"Styled(".concat(cg(f),")")}(e);var h=t.displayName&&t.componentId?"".concat(Bu(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&l.attrs?l.attrs.concat(s).filter(Boolean):s,g=t.shouldForwardProp;if(r&&l.shouldForwardProp){var S=l.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;g=function(f,w){return S(f,w)&&y(f,w)}}else g=S}var N=new Mg(n,h,r?l.componentStyle:void 0);function d(f,w){return function(k,x,E){var T=k.attrs,M=k.componentStyle,O=k.defaultProps,z=k.foldedComponentIds,G=k.styledComponentId,Ce=k.target,Pt=ae.useContext(Zf),He=Ku(),ye=k.shouldForwardProp||He.shouldForwardProp,he=function(qe,Ne,at){for(var _e,P=De(De({},Ne),{className:void 0,theme:at}),$=0;$v.jsx(v.Fragment,{children:v.jsxs(Bg,{children:[v.jsx(Wg,{children:"The Gamblers Inc."}),v.jsxs(Fg,{children:[v.jsx(cr,{to:jf,end:!0,children:"Home"}),v.jsx(cr,{to:ma,children:"Play the Game"}),v.jsx(cr,{to:Tf,children:"About Us"}),v.jsx(cr,{to:If,children:"Charts"}),v.jsx(cr,{to:Lf,children:"Terms"})]})]})}),Vg="/blackjack_probability/assets/Wireframe-a972ebe5.svg",Qg="/blackjack_probability/assets/CardFan2-7ec4e5d9.svg";const Gg=()=>v.jsx("div",{className:"container",children:v.jsxs("div",{className:"column",children:[v.jsxs("div",{className:"about-row",children:[v.jsx("div",{className:"column",children:v.jsxs("div",{className:"text-holder",children:[v.jsx("h1",{className:"about-header",children:"Who are we?"}),v.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."})]})}),v.jsx("img",{src:Vg})]}),v.jsxs("div",{className:"about-row",children:[v.jsx("img",{src:Qg}),v.jsx("div",{className:"column",children:v.jsxs("div",{className:"text-holder",children:[v.jsx("h1",{className:"about-header",children:"What is the purpose of this website?"}),v.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 Kg="/blackjack_probability/assets/404Error-40e8e704.svg",Xg=()=>v.jsx("div",{className:"errorContainer",children:v.jsx("img",{src:Kg,className:"error-img"})});const bg={data:[{label:"8",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"9",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"10",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"11",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"12",value:["H","H","S","S","S","H","H","H","H","H"]},{label:"13",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"14",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"15",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"16",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"17",value:["S","S","S","S","S","S","S","S","S","S"]}],data2:[{label:"A/2",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/3",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/4",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/5",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/6",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/7",value:["H","H","H","H","H","S","S","H","H","H"]},{label:"A/8",value:["S","S","S","S","H","S","S","S","S","S"]},{label:"A/9",value:["S","S","S","S","S","S","S","S","S","S"]}],data3:[{label:"A/A",value:["Y","Y","Y","Y","Y","Y","Y","Y","Y","Y"]},{label:"T/T",value:["N","N","N","N","N","N","N","N","N","N"]},{label:"9/9",value:["Y","Y","Y","Y","Y","N","Y","Y","N","N"]},{label:"8/8",value:["Y","Y","Y","Y","Y","Y","Y","Y","Y","Y"]},{label:"7/7",value:["Y","Y","Y","Y","Y","Y","N","N","N","N"]},{label:"6/6",value:["Y","Y","Y","Y","Y","N","N","N","N","N"]},{label:"5/5",value:["N","N","N","N","N","N","N","N","N","N"]},{label:"4/4",value:["N","N","N","Y","Y","N","N","N","N","N"]},{label:"3/3",value:["Y","Y","Y","Y","Y","Y","N","N","N","N"]},{label:"2/2",value:["Y","Y","Y","Y","Y","Y","N","N","N","N"]}]},Jg=["2","3","4","5","6","7","8","9","10","A"],Zu={chart1:bg,dealerRow:Jg},Zg=()=>{const e=JSON.parse(JSON.stringify(Zu.chart1)),t=JSON.parse(JSON.stringify(Zu.dealerRow)),n=r=>{switch(r){case"H":return"green";case"S":return"red"}};return v.jsxs("div",{className:"table-container",children:[v.jsxs("table",{className:"chart-table",children:[v.jsxs("tr",{children:[v.jsx("th",{children:`Dealer's Card
-Your Hand`}),t.map((r,l)=>v.jsx("th",{children:r},l))]}),e.data.map((r,l)=>v.jsxs("tr",{children:[v.jsx("th",{children:r.label}),r.value.map(i=>v.jsx("td",{style:{backgroundColor:n(i)},children:i}))]},l))]}),v.jsxs("table",{className:"chart-table",children:[v.jsxs("tr",{children:[v.jsx("th",{children:"Your Hand\\Dealer's Card"}),t.map((r,l)=>v.jsx("th",{children:r},l))]}),e.data2.map((r,l)=>v.jsxs("tr",{children:[v.jsx("th",{children:r.label}),r.value.map(i=>v.jsx("td",{style:{backgroundColor:n(i)},children:i}))]},l))]})]})};const qg=()=>{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 v.jsx("div",{className:"term-container",children:e.map((t,n)=>v.jsxs("div",{className:"term-row",children:[v.jsxs("h1",{className:"term-text",children:[t.term,":"]}),v.jsx("p",{className:"term-text",children:t.definition})]},n))})},ey="_statusContainer_1dlho_1",ty="_status_1dlho_1",ny="_balance_1dlho_37",ry="_value_1dlho_65",yl={statusContainer:ey,status:ty,balance:ny,value:ry},ly="_controlsContainer_db8is_1",iy="_totalContainer_db8is_13",oy="_totalText_db8is_25",sy="_row_db8is_33",ay="_column_db8is_45",uy="_button_db8is_57",cy="_betContainer_db8is_117",ct={controlsContainer:ly,totalContainer:iy,totalText:oy,row:sy,column:ay,button:uy,betContainer:cy};function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=a)&&this.A(n),this.W&&this.setState({N:!1,j:!1}),this.l=Date.now()},t.prototype.p=function(n){n.preventDefault(),typeof n.button=="number"&&n.button!==0||(this.I(n.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},t.prototype.v=function(n){n.preventDefault(),this.L(n.clientX)},t.prototype.g=function(n){this.U(n),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},t.prototype.k=function(n){this.X=null,this.I(n.touches[0].clientX)},t.prototype.m=function(n){this.L(n.touches[0].clientX)},t.prototype.M=function(n){n.preventDefault(),this.U(n)},t.prototype.$=function(n){Date.now()-this.l>50&&(this.A(n),Date.now()-this.u>50&&this.W&&this.setState({j:!1}))},t.prototype.C=function(){this.u=Date.now()},t.prototype.D=function(){this.setState({j:!0})},t.prototype.O=function(){this.setState({j:!1})},t.prototype.S=function(n){this.H=n},t.prototype.T=function(n){n.preventDefault(),this.H.focus(),this.A(n),this.W&&this.setState({j:!1})},t.prototype.A=function(n){var r=this.props;(0,r.onChange)(!r.checked,n,r.id)},t.prototype.render=function(){var n=this.props,r=n.checked,l=n.disabled,i=n.className,o=n.offColor,s=n.onColor,a=n.offHandleColor,u=n.onHandleColor,p=n.checkedIcon,h=n.uncheckedIcon,m=n.checkedHandleIcon,g=n.uncheckedHandleIcon,S=n.boxShadow,y=n.activeBoxShadow,N=n.height,d=n.width,c=n.borderRadius,f=function(He,ye){var he={};for(var R in He)Object.prototype.hasOwnProperty.call(He,R)&&ye.indexOf(R)===-1&&(he[R]=He[R]);return he}(n,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),w=this.state,k=w.h,x=w.N,E=w.j,T={position:"relative",display:"inline-block",textAlign:"left",opacity:l?.5:1,direction:"ltr",borderRadius:N/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},M={height:N,width:d,margin:Math.max(0,(this.t-N)/2),position:"relative",background:ec(k,this.i,this.o,o,s),borderRadius:typeof c=="number"?c:N/2,cursor:l?"default":"pointer",WebkitTransition:x?null:"background 0.25s",MozTransition:x?null:"background 0.25s",transition:x?null:"background 0.25s"},O={height:N,width:Math.min(1.5*N,d-(this.t+N)/2+1),position:"relative",opacity:(k-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"},z={height:N,width:Math.min(1.5*N,d-(this.t+N)/2+1),position:"absolute",opacity:1-(k-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"},G={height:this.t,width:this.t,background:ec(k,this.i,this.o,a,u),display:"inline-block",cursor:l?"default":"pointer",borderRadius:typeof c=="number"?c-1:"50%",position:"absolute",transform:"translateX("+k+"px)",top:Math.max(0,(N-this.t)/2),outline:0,boxShadow:E?y:S,border:0,WebkitTransition:x?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:x?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:x?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},Ce={height:this.t,width:this.t,opacity:Math.max(2*(1-(k-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"},Pt={height:this.t,width:this.t,opacity:Math.max(2*((k-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"};return ae.createElement("div",{className:i,style:T},ae.createElement("div",{className:"react-switch-bg",style:M,onClick:l?null:this.T,onMouseDown:function(He){return He.preventDefault()}},p&&ae.createElement("div",{style:O},p),h&&ae.createElement("div",{style:z},h)),ae.createElement("div",{className:"react-switch-handle",style:G,onClick:function(He){return He.preventDefault()},onMouseDown:l?null:this.p,onTouchStart:l?null:this.k,onTouchMove:l?null:this.m,onTouchEnd:l?null:this.M,onTouchCancel:l?null:this.O},g&&ae.createElement("div",{style:Ce},g),m&&ae.createElement("div",{style:Pt},m)),ae.createElement("input",vs({},{type:"checkbox",role:"switch","aria-checked":r,checked:r,disabled:l,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},f,{ref:this.S,onFocus:this.D,onBlur:this.O,onKeyUp:this.C,onChange:this.$})))},t}(_.Component);ep.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:dy,checkedIcon:fy,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};const py=({gameState:e,buttonState:t,playEvent:n,hitEvent:r,standEvent:l,resetEvent:i,displayTotal:o,toggleDisplayTotal:s})=>{const a=()=>{n()},u=h=>{s(h)},p=()=>e===0?v.jsx("div",{className:ct.controlsContainer,children:v.jsx("button",{onClick:()=>a(),className:ct.button,children:"Play"})}):v.jsx("div",{className:ct.controlsContainer,children:v.jsxs("div",{className:ct.column,children:[v.jsxs("div",{className:ct.totalContainer,children:[v.jsx("h2",{className:ct.totalText,children:"Toggle Total"}),v.jsx(ep,{checked:o,onChange:u})]}),v.jsxs("div",{className:ct.row,children:[v.jsx("button",{onClick:()=>r(),disabled:t.hitDisabled,className:ct.button,children:"Hit"}),v.jsx("button",{onClick:()=>l(),disabled:t.standDisabled,className:ct.button,children:"Stand"}),v.jsx("button",{onClick:()=>i(),disabled:t.resetDisabled,className:ct.button,children:"Reset"})]})]})});return v.jsx(v.Fragment,{children:p()})},hy=({message:e,choice:t,gameState:n,buttonState:r,playGame:l,hit:i,stand:o,resetGame:s,displayTotal:a,toggleDisplayTotal:u})=>v.jsx("div",{className:yl.statusContainer,children:v.jsxs("div",{className:yl.status,children:[v.jsxs("div",{children:[v.jsx("h1",{className:yl.value,children:e}),v.jsx("h1",{className:yl.value,children:t})]}),v.jsx(py,{gameState:n,buttonState:r,playEvent:l,hitEvent:i,standEvent:o,resetEvent:s,displayTotal:a,toggleDisplayTotal:u})]})}),my="_handContainer_1ev8b_1",vy="_cardContainer_1ev8b_19",gy="_title_1ev8b_39",po={handContainer:my,cardContainer:vy,title:gy},yy="_card_1x2tl_1",wy="_baseStyleRed_1x2tl_25",Sy="_baseStyleBlue_1x2tl_69",ky="_baseStyleGreen_1x2tl_113",xy="_baseStyleUnique_1x2tl_157",Ey="_baseStyleUniqueAnimation_1x2tl_1",Cy="_gradientStyleRed_1x2tl_225",Ny="_gradientStyleBlue_1x2tl_251",_y="_gradientStyleGreen_1x2tl_277",Py="_gradientStyleUnique_1x2tl_303",Ry="_gradientStyleUniqueAnimation_1x2tl_1",jy="_black_1x2tl_393",Ty="_red_1x2tl_401",Iy="_value_1x2tl_409",Ly="_suit_1x2tl_419",zy="_hiddenCard_1x2tl_443",ke={card:yy,baseStyleRed:wy,baseStyleBlue:Sy,baseStyleGreen:ky,baseStyleUnique:xy,baseStyleUniqueAnimation:Ey,gradientStyleRed:Cy,gradientStyleBlue:Ny,gradientStyleGreen:_y,gradientStyleUnique:Py,gradientStyleUniqueAnimation:Ry,black:jy,red:Ty,value:Iy,suit:Ly,hiddenCard:zy};var V=(e=>(e[e.RED=0]="RED",e[e.BLUE=1]="BLUE",e[e.GREEN=2]="GREEN",e[e.UNIQUE=3]="UNIQUE",e))(V||{}),le=(e=>(e[e.BASE=0]="BASE",e[e.GRADIENT=1]="GRADIENT",e))(le||{});const tp=_.createContext({cardColor:0,setCardColor:()=>{},cardStyle:0,setCardStyle:()=>{}}),np=()=>_.useContext(tp),rp=({value:e,suit:t,hidden:n})=>{const{cardColor:r,cardStyle:l}=np(),i=()=>t==="♠"||t==="♣"?ke.black:ke.red,o=()=>{switch(l){case le.BASE:switch(r){case V.RED:return ke.baseStyleRed;case V.BLUE:return ke.baseStyleBlue;case V.GREEN:return ke.baseStyleGreen;case V.UNIQUE:return ke.baseStyleUnique;default:return ke.baseStyleRed}case le.GRADIENT:switch(r){case V.RED:return ke.gradientStyleRed;case V.BLUE:return ke.gradientStyleBlue;case V.GREEN:return ke.gradientStyleGreen;case V.UNIQUE:return ke.gradientStyleUnique;default:return ke.gradientStyleRed}default:return ke.baseStyleRed}},s=()=>n?v.jsx("div",{className:o()}):v.jsx("div",{className:ke.card,children:v.jsxs("div",{className:i(),children:[v.jsx("h1",{className:ke.value,children:e}),v.jsx("h1",{className:ke.suit,children:t})]})});return v.jsx(v.Fragment,{children:s()})},tc=({title:e,cards:t})=>{const n=()=>{if(t.length>0)return v.jsx("h1",{className:po.title,children:e})};return v.jsxs("div",{className:po.handContainer,children:[n(),v.jsx("div",{className:t.length>0?po.cardContainer:"",children:t.map((r,l)=>v.jsx(rp,{value:r.value,suit:r.suit,hidden:r.hidden},l))})]})},Oy=[{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"}],Dy={cards:Oy},$y="_gameBackground_1qn7p_1",Ay="_handSection_1qn7p_21",nc={gameBackground:$y,handSection:Ay},My=()=>{let e;(P=>{P[P.bet=0]="bet",P[P.init=1]="init",P[P.userTurn=2]="userTurn",P[P.dealerTurn=3]="dealerTurn"})(e||(e={}));let t;(P=>{P[P.user=0]="user",P[P.dealer=1]="dealer",P[P.hidden=2]="hidden"})(t||(t={}));let n;(P=>{P.bet="Press Play to Start!",P.hitStand="Hit or Stand?",P.bust="Bust!",P.blackjack="Blackjack!",P.userWin="You Win!",P.dealerWin="Dealer Wins!",P.tie="Tie!"})(n||(n={}));let r;(P=>{P.noChoice="",P.rightChoice="That was the right choice!",P.wrongChoice="That was the wrong choice :("})(r||(r={}));let l;(P=>{P.hit="hit",P.stand="stand",P.total="total"})(l||(l={}));const i=JSON.parse(JSON.stringify(Dy.cards)),[o,s]=_.useState(i),[a,u]=_.useState([]),[p,h]=_.useState(0),[m,g]=_.useState(0),[S,y]=_.useState(!1),[N,d]=_.useState([]),[c,f]=_.useState(0),[w,k]=_.useState(0),[x,E]=_.useState(0),[T,M]=_.useState("Press Play to Start!"),[O,z]=_.useState(""),[G,Ce]=_.useState({hitDisabled:!1,standDisabled:!1,resetDisabled:!0});_.useEffect(()=>{x===1&&(ye(0),ye(2),ye(0),ye(1),E(2),M("Hit or Stand?"),z(""))},[x]),_.useEffect(()=>{I(a,h),g(m+1)},[a]),_.useEffect(()=>{I(N,f),k(w+1)},[N]),_.useEffect(()=>{x===2&&(p===21?a.length===2?at():(G.hitDisabled=!0,Ce({...G})):p>21&&Ne())},[m]),_.useEffect(()=>{x===3&&(c>=17?_e():ye(1))},[w]);const Pt=()=>{E(1)},He=()=>{console.clear(),s(i),u([]),h(0),g(0),d([]),f(0),k(0),E(0),M("Press Play to Start!"),z(""),Ce({hitDisabled:!1,standDisabled:!1,resetDisabled:!0})},ye=P=>{if(o.length>0){const $=Math.floor(Math.random()*o.length),W=o[$];switch(o.splice($,1),s([...o]),console.log("Remaining Cards:",o.length),W.suit){case"spades":R(P,W.value,"♠");break;case"diamonds":R(P,W.value,"♦");break;case"clubs":R(P,W.value,"♣");break;case"hearts":R(P,W.value,"♥");break}}else alert("All cards have been drawn")},he=P=>{y(P)},R=(P,$,W)=>{switch(P){case 0:a.push({value:$,suit:W,hidden:!1}),u([...a]);break;case 1:N.push({value:$,suit:W,hidden:!1}),d([...N]);break;case 2:N.push({value:$,suit:W,hidden:!0}),d([...N]);break}},L=()=>{N.filter(P=>(P.hidden===!0&&(P.hidden=!1),P)),d([...N])},I=(P,$)=>{let W=0;P.forEach(Ie=>{if(Ie.hidden===!1&&Ie.value!=="A")switch(Ie.value){case"K":W+=10;break;case"Q":W+=10;break;case"J":W+=10;break;default:W+=Number(Ie.value);break}});const Y=P.filter(Ie=>Ie.value==="A");Y.forEach(Ie=>{Ie.hidden===!1&&(W+11>21||W+11===21&&Y.length>1?W+=1:W+=11)}),$(W)},F=P=>{if(p<=11&&P=="hit"){z("That was the right choice!");return}else if(p<=11&&P=="stand"){z("That was the wrong choice :(");return}if(a.length<=2){const Y=a.filter(Le=>Le.value==="A"),Ie=a.filter(Le=>Le.value!="A");if(Y.length>=1){let Le=0;if(Ie.forEach(ka=>{ka.value=="K"?Le+=10:Le+=parseInt(ka.value)}),Y.length>=2&&(Le-=1,Y.forEach(()=>{Le+=1})),Le<=6&&P=="hit"){z("That was the right choice!");return}else if(Le<=6&&P=="stand"){z("That was the wrong choice :(");return}else if(Le>=9&&Le<=10&&P=="hit"){z("That was the wrong choice :(");return}else if(Le>=9&&Le<=10&&P=="stand"){z("That was the right choice!");return}}}if(p>=17&&P=="hit"){z("That was the wrong choice :(");return}else if(p>=17&&P=="stand"){z("That was the right choice!");return}let $=0;if(N.forEach(Y=>{Y.hidden===!1&&(Y.value==="A"?$=11:Y.value==="K"?$=10:$=parseInt(Y.value))}),a.filter(Y=>Y.value==="A").length>=1){let Y=0;if(a.forEach(Ie=>{Ie.value!="A"&&(Ie.value==="K"?Y+=10:Y+=parseInt(Ie.value))}),Y===7){if($==7||$===8){if(P==="hit"){z("That was the wrong choice :(");return}else if(P==="stand"){z("That was the right choice!");return}}else if(P==="hit"){z("That was the right choice!");return}else if(P==="stand"){z("That was the wrong choice :(");return}}else if(Y===8){if($==2||$===3||$===4||$===5||$===6||$===7||$===8||$===9||$===10||$===11){if(P==="hit"){z("That was the wrong choice :(");return}else if(P==="stand"){z("That was the right choice!");return}}else if(P==="hit"){z("That was the right choice!");return}else if(P==="stand"){z("That was the wrong choice :(");return}}}if(p===12){if($===4||$===5||$===6){if(P==="hit"){z("That was the wrong choice :(");return}else if(P==="stand"){z("That was the right choice!");return}}else if(P==="hit"){z("That was the right choice!");return}else if(P==="stand"){z("That was the wrong choice :(");return}}else if(p===13||p===14||p===15||p===16){if($===2||$===3||$===4||$===5||$===6){if(P==="hit"){z("That was the wrong choice :(");return}else if(P==="stand"){z("That was the right choice!");return}}else if(P==="hit"){z("That was the right choice!");return}else if(P==="stand"){z("That was the wrong choice :(");return}}},J=()=>{F("hit"),ye(0)},qe=()=>{F("stand"),G.hitDisabled=!0,G.standDisabled=!0,G.resetDisabled=!1,Ce({...G}),E(3),L()},Ne=()=>{G.hitDisabled=!0,G.standDisabled=!0,G.resetDisabled=!1,Ce({...G}),M("Bust!")},at=()=>{G.hitDisabled=!0,G.standDisabled=!0,G.resetDisabled=!1,Ce({...G}),M("Blackjack!")},_e=()=>{p>c||c>21?M("You Win!"):c>p?M("Dealer Wins!"):M("Tie!")};return v.jsxs("div",{className:nc.gameBackground,children:[v.jsx(hy,{message:T,choice:O,gameState:x,buttonState:G,playGame:Pt,hit:J,stand:qe,resetGame:He,displayTotal:S,toggleDisplayTotal:he}),v.jsxs("div",{className:nc.handSection,children:[v.jsx(tc,{title:`Dealer's Hand ${S?`(${c})`:""}`,cards:N}),v.jsx(tc,{title:`Your Hand ${S?`(${p})`:""}`,cards:a})]})]})};const Hy=()=>{const{cardColor:e,setCardColor:t,cardStyle:n,setCardStyle:r}=np(),l=(o,s)=>e.valueOf()===o.valueOf()&&n.valueOf()===s.valueOf()?"buttonSelected":"button",i=(o,s)=>{t(o),r(s)};return v.jsxs("div",{className:"pageContainer",children:[v.jsx(rp,{value:"A",suit:"spade",hidden:!0}),v.jsxs("div",{className:"buttonsContainer",children:[v.jsxs("div",{className:"buttonGroup",children:[v.jsx("h1",{children:"Base"}),v.jsx("button",{className:l(V.RED,le.BASE),onClick:()=>i(V.RED,le.BASE),children:"Red"}),v.jsx("button",{className:l(V.BLUE,le.BASE),onClick:()=>i(V.BLUE,le.BASE),children:"Blue"}),v.jsx("button",{className:l(V.GREEN,le.BASE),onClick:()=>i(V.GREEN,le.BASE),children:"Green"}),v.jsx("button",{className:l(V.UNIQUE,le.BASE),onClick:()=>i(V.UNIQUE,le.BASE),children:"Unique"})]}),v.jsxs("div",{className:"buttonGroup",children:[v.jsx("h1",{children:"Gradient"}),v.jsx("button",{className:l(V.RED,le.GRADIENT),onClick:()=>i(V.RED,le.GRADIENT),children:"Red"}),v.jsx("button",{className:l(V.BLUE,le.GRADIENT),onClick:()=>i(V.BLUE,le.GRADIENT),children:"Blue"}),v.jsx("button",{className:l(V.GREEN,le.GRADIENT),onClick:()=>i(V.GREEN,le.GRADIENT),children:"Green"}),v.jsx("button",{className:l(V.UNIQUE,le.GRADIENT),onClick:()=>i(V.UNIQUE,le.GRADIENT),children:"Unique"})]})]})]})},Uy=()=>{const[e,t]=_.useState(V.RED),[n,r]=_.useState(le.BASE);return v.jsx("div",{className:"background-color",children:v.jsxs(tp.Provider,{value:{cardColor:e,setCardColor:t,cardStyle:n,setCardStyle:r},children:[v.jsx(Yg,{}),v.jsxs(yv,{children:[v.jsx(jt,{path:jf,element:v.jsx(Av,{})}),v.jsx(jt,{path:Tf,element:v.jsx(Gg,{})}),v.jsx(jt,{path:If,element:v.jsx(Zg,{})}),v.jsx(jt,{path:Lf,element:v.jsx(qg,{})}),v.jsx(jt,{path:ma,element:v.jsx(My,{})}),v.jsx(jt,{path:zf,element:v.jsx(Hy,{})}),v.jsx(jt,{path:Tv,element:v.jsx(Xg,{})})]})]})})};ho.createRoot(document.getElementById("root")).render(v.jsx(ae.StrictMode,{children:v.jsx(Cv,{children:v.jsx(Uy,{})})}));
diff --git a/assets/index-01d9570d.css b/assets/index-74dcc731.css
similarity index 87%
rename from assets/index-01d9570d.css
rename to assets/index-74dcc731.css
index ede5136..3cf8c57 100644
--- a/assets/index-01d9570d.css
+++ b/assets/index-74dcc731.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";.background-color{background:radial-gradient(rgb(51,48,48),#000000)}.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-660d8671.jpg);background-position:center;background-repeat:no-repeat;background-color:#fff;background-size:cover;height:95vh}.row{display:flex;flex-direction:row;align-items:center}.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:83vh}.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;animation:shine 3s infinite linear;text-wrap:wrap}@keyframes shine{0%{background-position:-100px}60%{background-position:400px}60%{background-position:500px}to{background-position:750px}}.container{display:flex;flex-direction:column;background:radial-gradient(rgb(51,48,48),#000000)}.subContainer{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;padding:50px}.image{height:300px}.titleText{font-size:40px;color:#fff}.container{background:radial-gradient(rgb(51,48,48),#000000)}img{height:350px;width:350px}.about-row{display:flex;flex-direction:row;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;color:#fff}.errorContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px}.error-img{height:500px;width:500px}.table-container{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;padding:50px;background:radial-gradient(rgb(51,48,48),#000000)}.chart-table{height:600px;width:500px;border:2px solid white;margin:20px;background-color:#fff}th,td{align-items:center;height:50px;width:50px;text-align:center;background-color:#000;color:#fff}.floating-key{top:25vh;left:5vw;background-color:#fff;position:fixed}.term-text{font-size:20px;width:800px;color:#fff}.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;background:radial-gradient(rgb(51,48,48),#000000)}._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_db8is_1{display:flex;justify-content:center;margin:.5em 1em 1em}._totalContainer_db8is_13{display:flex;justify-content:space-evenly;align-items:center}._totalText_db8is_25{color:#fff}._row_db8is_33{display:flex;justify-content:center;flex-direction:row}._column_db8is_45{display:flex;justify-content:center;flex-direction:column}._button_db8is_57{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_db8is_57:hover{color:#000;background:white;border:5px solid black}}._button_db8is_57:disabled{color:gray;background:rgb(60,60,60);border:5px solid gray}@media screen and (max-width: 992px){._betContainer_db8is_117{width:50%}}@media screen and (max-width: 600px){._betContainer_db8is_117{width:70%}._betContainer_db8is_117 h4{font-size:75%}._betContainer_db8is_117 input{font-size:125%}}._handContainer_1ev8b_1{color:#000;display:flex;align-items:center;flex-direction:column;margin:.5em;min-height:0}._cardContainer_1ev8b_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_1ev8b_39{text-align:center;margin-bottom:5px;margin-top:5px;color:#fff}@media screen and (max-width: 600px){._title_1ev8b_39{font-size:150%}}._card_1x2tl_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}._baseStyleRed_1x2tl_25{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}._baseStyleBlue_1x2tl_69{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(176deg,#ffffff 8.33%,#002aff 8.33%,#002aff 50%,#ffffff 50%,#ffffff 58.33%,#002aff 58.33%,#002aff 100%);background-size:60px 4.2px;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._baseStyleGreen_1x2tl_113{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(176deg,#ffffff 8.33%,#06fb06 8.33%,#06fb06 50%,#ffffff 50%,#ffffff 58.33%,#06fb06 58.33%,#06fb06 100%);background-size:60px 4.2px;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._baseStyleUnique_1x2tl_157{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#3cc;animation:_baseStyleUniqueAnimation_1x2tl_1 9s infinite;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}@keyframes _baseStyleUniqueAnimation_1x2tl_1{0%{background:#33cccc}20%{background:#33cc36}40%{background:#b8cc33}60%{background:#fcca00}80%{background:#33cc36}to{background:#33cccc}}._gradientStyleRed_1x2tl_225{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#fc8e8e;background-image:linear-gradient(62deg,#fc8e8e 0%,#fcc3c3 100%);border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._gradientStyleBlue_1x2tl_251{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#8ec5fc;background-image:linear-gradient(62deg,#8ec5fc 0%,#e0c3fc 100%);border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._gradientStyleGreen_1x2tl_277{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#8efc99;background-image:linear-gradient(62deg,#8efc99 0%,#c3fcda 100%);border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._gradientStyleUnique_1x2tl_303{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(to left,rgb(255,196,0),#ff357f 25%,#ff357f 75%,rgb(255,196,0) 100%);background-size:300% 300%;-webkit-animation:_gradientStyleUniqueAnimation_1x2tl_1 5s ease infinite;animation:_gradientStyleUniqueAnimation_1x2tl_1 5s ease infinite;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}@-webkit-keyframes _gradientStyleUniqueAnimation_1x2tl_1{0%{background-position:0% 50%}40%{background-position:100% 50%}60%{background-position:150% 100%}to{background-position:150% 150%}}@keyframes _gradientStyleUniqueAnimation_1x2tl_1{0%{background-position:0% 50%}25%{background-position:100% 50%}75%{background-position:150% 100%}to{background-position:150% 150%}}._black_1x2tl_393{color:#000}._red_1x2tl_401{color:red}._value_1x2tl_409{font-size:300%;margin-top:2px}._suit_1x2tl_419{font-size:450%;margin:0;text-align:center}@media screen and (max-width: 992px){._card_1x2tl_1{width:70px;height:180px}._hiddenCard_1x2tl_443{width:60px;height:170px}._value_1x2tl_409{font-size:300%}._suit_1x2tl_419{font-size:500%}}@media screen and (max-width: 600px){._card_1x2tl_1{width:45px;height:100px;padding:5px 10px}._hiddenCard_1x2tl_443{width:41px;height:96px;padding:5px 10px;border:2px solid white}._value_1x2tl_409{font-size:150%}._suit_1x2tl_419{font-size:250%}}._gameBackground_1qn7p_1{background-size:cover;background-repeat:no-repeat;background-color:#006400;display:flex;flex-direction:row;justify-content:space-between;align-items:center}._handSection_1qn7p_21{display:flex;flex-direction:column;justify-content:center;align-items:center;width:80vw;min-height:100vh}.pageContainer{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;min-height:80vh;min-width:100vw}.buttonsContainer{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;min-width:80vw}.buttonGroup{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center}.button{transition-duration:.4s;width:150px;height:50px;background-color:#fff;color:#000;margin:10px}.button:hover{background-color:#000;color:#fff}.buttonSelected{transition-duration:.4s;width:150px;height:50px;background-color:#000;color:#fff;margin:10px}button{border-radius:10px;border:10px;box-shadow:10px}html,body{padding:0;margin:0;background-color:#000}/*!
+@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@1,700&family=Source+Sans+3:wght@300&display=swap";.background-color{background:radial-gradient(rgb(51,48,48),#000000)}.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-660d8671.jpg);background-position:center;background-repeat:no-repeat;background-color:#fff;background-size:cover;height:95vh}.row{display:flex;flex-direction:row;align-items:center}.info{font-size:30px;text-wrap:wrap;width:550px;padding:20px;color:#fff;text-align:center;-webkit-text-stroke:1;-webkit-text-stroke-width:.5px;-webkit-text-stroke-color:black}.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:83vh}.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;animation:shine 3s infinite linear;text-wrap:wrap}@keyframes shine{0%{background-position:-100px}60%{background-position:400px}60%{background-position:500px}to{background-position:750px}}.container{display:flex;flex-direction:column;background:radial-gradient(rgb(51,48,48),#000000)}.subContainer{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;padding:50px}.image{height:300px;width:400px}.titleText{width:50vw;font-size:40px;color:#fff;text-align:center}.container{background:radial-gradient(rgb(51,48,48),#000000)}img{height:350px;width:350px}.about-row{display:flex;flex-direction:row;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;color:#fff}.errorContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px;height:100vh}.error-img{height:500px;width:500px}.table-container{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;padding:50px;background:radial-gradient(rgb(51,48,48),#000000)}.chart-table{height:600px;width:500px;border:2px solid white;margin:20px;background-color:#fff}th,td{align-items:center;height:50px;width:50px;text-align:center;background-color:#000;color:#fff}.floating-key{top:25vh;left:5vw;background-color:#fff;position:fixed}.term-text{font-size:20px;width:800px;color:#fff}.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;background:radial-gradient(rgb(51,48,48),#000000)}._status_k74mu_1{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}._value_k74mu_35{color:#fff;text-align:center}@media screen and (max-width: 992px){._value_k74mu_35{font-size:150%}}@media screen and (max-width: 600px){._value_k74mu_35{font-size:115%}}._controlsContainer_wdpsv_1{display:flex;justify-content:center;margin:.5em 1em 1em}._toggleContainer_wdpsv_13{display:flex;justify-content:space-evenly;align-items:center}._toggleText_wdpsv_25{color:#fff}._row_wdpsv_33{display:flex;justify-content:center;flex-direction:row}._column_wdpsv_45{display:flex;justify-content:center;flex-direction:column}._button_wdpsv_57{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_wdpsv_57:hover{color:#000;background:white;border:5px solid black}}._button_wdpsv_57:disabled{color:gray;background:rgb(60,60,60);border:5px solid gray}@media screen and (max-width: 992px){._betContainer_wdpsv_117{width:50%}}@media screen and (max-width: 600px){._betContainer_wdpsv_117{width:70%}._betContainer_wdpsv_117 h4{font-size:75%}._betContainer_wdpsv_117 input{font-size:125%}}._status_1r0kp_1{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_1r0kp_35{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_1r0kp_63{color:#fff;text-align:center}@media screen and (max-width: 992px){._value_1r0kp_63{font-size:150%}}@media screen and (max-width: 600px){._value_1r0kp_63{font-size:115%}}._handContainer_1ev8b_1{color:#000;display:flex;align-items:center;flex-direction:column;margin:.5em;min-height:0}._cardContainer_1ev8b_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_1ev8b_39{text-align:center;margin-bottom:5px;margin-top:5px;color:#fff}@media screen and (max-width: 600px){._title_1ev8b_39{font-size:150%}}._card_1x2tl_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}._baseStyleRed_1x2tl_25{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}._baseStyleBlue_1x2tl_69{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(176deg,#ffffff 8.33%,#002aff 8.33%,#002aff 50%,#ffffff 50%,#ffffff 58.33%,#002aff 58.33%,#002aff 100%);background-size:60px 4.2px;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._baseStyleGreen_1x2tl_113{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(176deg,#ffffff 8.33%,#06fb06 8.33%,#06fb06 50%,#ffffff 50%,#ffffff 58.33%,#06fb06 58.33%,#06fb06 100%);background-size:60px 4.2px;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._baseStyleUnique_1x2tl_157{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#3cc;animation:_baseStyleUniqueAnimation_1x2tl_1 9s infinite;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}@keyframes _baseStyleUniqueAnimation_1x2tl_1{0%{background:#33cccc}20%{background:#33cc36}40%{background:#b8cc33}60%{background:#fcca00}80%{background:#33cc36}to{background:#33cccc}}._gradientStyleRed_1x2tl_225{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#fc8e8e;background-image:linear-gradient(62deg,#fc8e8e 0%,#fcc3c3 100%);border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._gradientStyleBlue_1x2tl_251{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#8ec5fc;background-image:linear-gradient(62deg,#8ec5fc 0%,#e0c3fc 100%);border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._gradientStyleGreen_1x2tl_277{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-color:#8efc99;background-image:linear-gradient(62deg,#8efc99 0%,#c3fcda 100%);border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}._gradientStyleUnique_1x2tl_303{width:125px;height:240px;margin:20px;padding:.5em 1.5em;background-image:linear-gradient(to left,rgb(255,196,0),#ff357f 25%,#ff357f 75%,rgb(255,196,0) 100%);background-size:300% 300%;-webkit-animation:_gradientStyleUniqueAnimation_1x2tl_1 5s ease infinite;animation:_gradientStyleUniqueAnimation_1x2tl_1 5s ease infinite;border:5px solid white;border-radius:15px;box-shadow:0 1px 10px #000;cursor:default}@-webkit-keyframes _gradientStyleUniqueAnimation_1x2tl_1{0%{background-position:0% 50%}40%{background-position:100% 50%}60%{background-position:150% 100%}to{background-position:150% 150%}}@keyframes _gradientStyleUniqueAnimation_1x2tl_1{0%{background-position:0% 50%}25%{background-position:100% 50%}75%{background-position:150% 100%}to{background-position:150% 150%}}._black_1x2tl_393{color:#000}._red_1x2tl_401{color:red}._value_1x2tl_409{font-size:300%;margin-top:2px}._suit_1x2tl_419{font-size:450%;margin:0;text-align:center}@media screen and (max-width: 992px){._card_1x2tl_1{width:70px;height:180px}._hiddenCard_1x2tl_443{width:60px;height:170px}._value_1x2tl_409{font-size:300%}._suit_1x2tl_419{font-size:500%}}@media screen and (max-width: 600px){._card_1x2tl_1{width:45px;height:100px;padding:5px 10px}._hiddenCard_1x2tl_443{width:41px;height:96px;padding:5px 10px;border:2px solid white}._value_1x2tl_409{font-size:150%}._suit_1x2tl_419{font-size:250%}}._gameBackground_19aqy_1{background:radial-gradient(rgb(1,131,1),rgb(1,70,1))!important;display:flex;flex-direction:row;justify-content:space-between;align-items:center}._handSection_19aqy_17{display:flex;flex-direction:column;justify-content:center;align-items:center;width:80vw;min-height:100vh}.pageContainer{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;min-height:80vh;min-width:100vw}.buttonLabel{color:#fff}.buttonsContainer{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;min-width:80vw}.buttonGroup{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center}.button{transition-duration:.4s;width:150px;height:50px;background-color:#fff;color:#000;margin:10px}.button:hover{background-color:#000;color:#fff}.buttonSelected{transition-duration:.4s;width:150px;height:50px;background-color:#000;color:#fff;margin:10px}button{border-radius:10px;border:10px;box-shadow:10px}html,body{padding:0;margin:0;background-color:#000}/*!
* animate.css - https://animate.style/
* Version - 4.1.1
* Licensed under the MIT license - http://opensource.org/licenses/MIT
diff --git a/assets/index-e562f502.js b/assets/index-e562f502.js
new file mode 100644
index 0000000..7ee836c
--- /dev/null
+++ b/assets/index-e562f502.js
@@ -0,0 +1,99 @@
+function dp(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 i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function fp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ac={exports:{}},vi={},uc={exports:{}},$={};/**
+ * @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 Kr=Symbol.for("react.element"),pp=Symbol.for("react.portal"),hp=Symbol.for("react.fragment"),mp=Symbol.for("react.strict_mode"),vp=Symbol.for("react.profiler"),gp=Symbol.for("react.provider"),yp=Symbol.for("react.context"),wp=Symbol.for("react.forward_ref"),Sp=Symbol.for("react.suspense"),kp=Symbol.for("react.memo"),xp=Symbol.for("react.lazy"),Pa=Symbol.iterator;function Ep(e){return e===null||typeof e!="object"?null:(e=Pa&&e[Pa]||e["@@iterator"],typeof e=="function"?e:null)}var cc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dc=Object.assign,fc={};function qn(e,t,n){this.props=e,this.context=t,this.refs=fc,this.updater=n||cc}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 pc(){}pc.prototype=qn.prototype;function xs(e,t,n){this.props=e,this.context=t,this.refs=fc,this.updater=n||cc}var Es=xs.prototype=new pc;Es.constructor=xs;dc(Es,qn.prototype);Es.isPureReactComponent=!0;var ja=Array.isArray,hc=Object.prototype.hasOwnProperty,Cs={current:null},mc={key:!0,ref:!0,__self:!0,__source:!0};function vc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)hc.call(t,r)&&!mc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,X=P[U];if(0>>1;Ul(ct,L))Sel(ke,ct)?(P[U]=ke,P[Se]=L,U=Se):(P[U]=ct,P[ce]=L,U=ce);else if(Sel(ke,L))P[U]=ke,P[Se]=L,U=Se;else break e}}return I}function l(P,I){var L=P.sortIndex-I.sortIndex;return L!==0?L:P.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],u=[],h=1,p=null,m=3,y=!1,k=!1,g=!1,_=typeof setTimeout=="function"?setTimeout:null,d=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 f(P){for(var I=n(u);I!==null;){if(I.callback===null)r(u);else if(I.startTime<=P)r(u),I.sortIndex=I.expirationTime,t(a,I);else break;I=n(u)}}function w(P){if(g=!1,f(P),!k)if(n(a)!==null)k=!0,Ve(S);else{var I=n(u);I!==null&&M(w,I.startTime-P)}}function S(P,I){k=!1,g&&(g=!1,d(T),T=-1),y=!0;var L=m;try{for(f(I),p=n(a);p!==null&&(!(p.expirationTime>I)||P&&!he());){var U=p.callback;if(typeof U=="function"){p.callback=null,m=p.priorityLevel;var X=U(p.expirationTime<=I);I=e.unstable_now(),typeof X=="function"?p.callback=X:p===n(a)&&r(a),f(I)}else r(a);p=n(a)}if(p!==null)var tt=!0;else{var ce=n(u);ce!==null&&M(w,ce.startTime-I),tt=!1}return tt}finally{p=null,m=L,y=!1}}var x=!1,C=null,T=-1,H=5,z=-1;function he(){return!(e.unstable_now()-zP||125
U?(P.sortIndex=L,t(u,P),n(a)===null&&P===n(u)&&(g?(d(T),T=-1):g=!0,M(w,L-U))):(P.sortIndex=X,t(a,P),k||y||(k=!0,Ve(S))),P},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(P){var I=m;return function(){var L=m;m=I;try{return P.apply(this,arguments)}finally{m=L}}}})(Sc);wc.exports=Sc;var Dp=wc.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 kc=E,Fe=Dp;function N(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"),wo=Object.prototype.hasOwnProperty,$p=/^[: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]*$/,Ta={},Ia={};function Ap(e){return wo.call(Ia,e)?!0:wo.call(Ta,e)?!1:$p.test(e)?Ia[e]=!0:(Ta[e]=!0,!1)}function Hp(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 Mp(e,t,n,r){if(t===null||typeof t>"u"||Hp(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 Te(e,t,n,r,l,i,o){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=i,this.removeEmptyString=o}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new Te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new Te(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new Te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new Te(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){we[e]=new Te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){we[e]=new Te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){we[e]=new Te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){we[e]=new Te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){we[e]=new Te(e,5,!1,e.toLowerCase(),null,!1,!1)});var _s=/[\-:]([a-z])/g;function Ps(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(_s,Ps);we[t]=new Te(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(_s,Ps);we[t]=new Te(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(_s,Ps);we[t]=new Te(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){we[e]=new Te(e,1,!1,e.toLowerCase(),null,!1,!1)});we.xlinkHref=new Te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){we[e]=new Te(e,1,!1,e.toLowerCase(),null,!0,!0)});function js(e,t,n,r){var l=we.hasOwnProperty(t)?we[t]:null;(l!==null?l.type!==0:r||!(2s||l[o]!==i[s]){var a=`
+`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{Ui=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hr(e):""}function Up(e){switch(e.tag){case 5:return hr(e.type);case 16:return hr("Lazy");case 13:return hr("Suspense");case 19:return hr("SuspenseList");case 0:case 2:case 15:return e=Fi(e.type,!1),e;case 11:return e=Fi(e.type.render,!1),e;case 1:return e=Fi(e.type,!0),e;default:return""}}function Eo(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 En:return"Fragment";case xn:return"Portal";case So:return"Profiler";case Rs:return"StrictMode";case ko:return"Suspense";case xo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cc:return(e.displayName||"Context")+".Consumer";case Ec:return(e._context.displayName||"Context")+".Provider";case Ts:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Is:return t=e.displayName||null,t!==null?t:Eo(e.type)||"Memo";case Lt:t=e._payload,e=e._init;try{return Eo(e(t))}catch{}}return null}function Fp(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 Eo(t);case 8:return t===Rs?"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 Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _c(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bp(e){var t=_c(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function il(e){e._valueTracker||(e._valueTracker=Bp(e))}function Pc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_c(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ml(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 Co(e,t){var n=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function za(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kt(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 jc(e,t){t=t.checked,t!=null&&js(e,"checked",t,!1)}function No(e,t){jc(e,t);var n=Kt(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")?_o(e,t.type,n):t.hasOwnProperty("defaultValue")&&_o(e,t.type,Kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oa(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 _o(e,t,n){(t!=="number"||Ml(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var mr=Array.isArray;function Dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ol.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Tr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wr={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},Wp=["Webkit","ms","Moz","O"];Object.keys(wr).forEach(function(e){Wp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wr[t]=wr[e]})});function Lc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wr.hasOwnProperty(e)&&wr[e]?(""+t).trim():t+"px"}function zc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Lc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Vp=ee({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 Ro(e,t){if(t){if(Vp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function To(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 Io=null;function Ls(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lo=null,$n=null,An=null;function Aa(e){if(e=Jr(e)){if(typeof Lo!="function")throw Error(N(280));var t=e.stateNode;t&&(t=ki(t),Lo(e.stateNode,e.type,t))}}function Oc(e){$n?An?An.push(e):An=[e]:$n=e}function Dc(){if($n){var e=$n,t=An;if(An=$n=null,Aa(e),t)for(e=0;e>>=0,e===0?32:31-(th(e)/nh|0)|0}var sl=64,al=4194304;function vr(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 Wl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=vr(s):(i&=o,i!==0&&(r=vr(i)))}else o=n&~l,o!==0?r=vr(o):i!==0&&(r=vr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&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 Xr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ot(t),e[t]=n}function oh(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=kr),Qa=String.fromCharCode(32),Ga=!1;function td(e,t){switch(e){case"keyup":return Oh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cn=!1;function $h(e,t){switch(e){case"compositionend":return nd(t);case"keypress":return t.which!==32?null:(Ga=!0,Qa);case"textInput":return e=t.data,e===Qa&&Ga?null:e;default:return null}}function Ah(e,t){if(Cn)return e==="compositionend"||!Us&&td(e,t)?(e=qc(),_l=As=$t=null,Cn=!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=Ja(n)}}function od(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?od(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sd(){for(var e=window,t=Ml();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ml(e.document)}return t}function Fs(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 Qh(e){var t=sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&od(n.ownerDocument.documentElement,n)){if(r!==null&&Fs(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Za(n,i);var o=Za(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Nn=null,Ho=null,Er=null,Mo=!1;function qa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mo||Nn==null||Nn!==Ml(r)||(r=Nn,"selectionStart"in r&&Fs(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}),Er&&$r(Er,r)||(Er=r,r=Ql(Ho,"onSelect"),0jn||(e.current=Yo[jn],Yo[jn]=null,jn--)}function Y(e,t){jn++,Yo[jn]=e.current,e.current=t}var Xt={},_e=Jt(Xt),Oe=Jt(!1),cn=Xt;function Bn(e,t){var n=e.type.contextTypes;if(!n)return Xt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function De(e){return e=e.childContextTypes,e!=null}function Kl(){K(Oe),K(_e)}function ou(e,t,n){if(_e.current!==Xt)throw Error(N(168));Y(_e,t),Y(Oe,n)}function vd(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(N(108,Fp(e)||"Unknown",l));return ee({},n,r)}function Xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xt,cn=_e.current,Y(_e,e),Y(Oe,Oe.current),!0}function su(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=vd(e,t,cn),r.__reactInternalMemoizedMergedChildContext=e,K(Oe),K(_e),Y(_e,e)):K(Oe),Y(Oe,n)}var St=null,xi=!1,to=!1;function gd(e){St===null?St=[e]:St.push(e)}function lm(e){xi=!0,gd(e)}function Zt(){if(!to&&St!==null){to=!0;var e=0,t=B;try{var n=St;for(B=1;e>=o,l-=o,kt=1<<32-ot(t)+l|n<T?(H=C,C=null):H=C.sibling;var z=m(d,C,f[T],w);if(z===null){C===null&&(C=H);break}e&&C&&z.alternate===null&&t(d,C),c=i(z,c,T),x===null?S=z:x.sibling=z,x=z,C=H}if(T===f.length)return n(d,C),b&&qt(d,T),S;if(C===null){for(;TT?(H=C,C=null):H=C.sibling;var he=m(d,C,z.value,w);if(he===null){C===null&&(C=H);break}e&&C&&he.alternate===null&&t(d,C),c=i(he,c,T),x===null?S=he:x.sibling=he,x=he,C=H}if(z.done)return n(d,C),b&&qt(d,T),S;if(C===null){for(;!z.done;T++,z=f.next())z=p(d,z.value,w),z!==null&&(c=i(z,c,T),x===null?S=z:x.sibling=z,x=z);return b&&qt(d,T),S}for(C=r(d,C);!z.done;T++,z=f.next())z=y(C,d,T,z.value,w),z!==null&&(e&&z.alternate!==null&&C.delete(z.key===null?T:z.key),c=i(z,c,T),x===null?S=z:x.sibling=z,x=z);return e&&C.forEach(function(me){return t(d,me)}),b&&qt(d,T),S}function _(d,c,f,w){if(typeof f=="object"&&f!==null&&f.type===En&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case ll:e:{for(var S=f.key,x=c;x!==null;){if(x.key===S){if(S=f.type,S===En){if(x.tag===7){n(d,x.sibling),c=l(x,f.props.children),c.return=d,d=c;break e}}else if(x.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Lt&&hu(S)===x.type){n(d,x.sibling),c=l(x,f.props),c.ref=cr(d,x,f),c.return=d,d=c;break e}n(d,x);break}else t(d,x);x=x.sibling}f.type===En?(c=sn(f.props.children,d.mode,w,f.key),c.return=d,d=c):(w=Ol(f.type,f.key,f.props,null,d.mode,w),w.ref=cr(d,c,f),w.return=d,d=w)}return o(d);case xn:e:{for(x=f.key;c!==null;){if(c.key===x)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(d,c.sibling),c=l(c,f.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=uo(f,d.mode,w),c.return=d,d=c}return o(d);case Lt:return x=f._init,_(d,c,x(f._payload),w)}if(mr(f))return k(d,c,f,w);if(ir(f))return g(d,c,f,w);ml(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,f),c.return=d,d=c):(n(d,c),c=ao(f,d.mode,w),c.return=d,d=c),o(d)):n(d,c)}return _}var Vn=Nd(!0),_d=Nd(!1),Zr={},gt=Jt(Zr),Ur=Jt(Zr),Fr=Jt(Zr);function rn(e){if(e===Zr)throw Error(N(174));return e}function bs(e,t){switch(Y(Fr,t),Y(Ur,e),Y(gt,Zr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=jo(t,e)}K(gt),Y(gt,t)}function Yn(){K(gt),K(Ur),K(Fr)}function Pd(e){rn(Fr.current);var t=rn(gt.current),n=jo(t,e.type);t!==n&&(Y(Ur,e),Y(gt,n))}function Js(e){Ur.current===e&&(K(gt),K(Ur))}var Z=Jt(0);function ti(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 no=[];function Zs(){for(var e=0;en?n:4,e(!0);var r=ro.transition;ro.transition={};try{e(!1),t()}finally{B=n,ro.transition=r}}function Wd(){return Je().memoizedState}function am(e,t,n){var r=Yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vd(e))Yd(t,n);else if(n=kd(e,t,n,r),n!==null){var l=je();st(n,e,r,l),Qd(n,t,r)}}function um(e,t,n){var r=Yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vd(e))Yd(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,ut(s,o)){var a=t.interleaved;a===null?(l.next=l,Ks(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=kd(e,t,l,r),n!==null&&(l=je(),st(n,e,r,l),Qd(n,t,r))}}function Vd(e){var t=e.alternate;return e===q||t!==null&&t===q}function Yd(e,t){Cr=ni=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Os(e,n)}}var ri={readContext:be,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useInsertionEffect:xe,useLayoutEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useMutableSource:xe,useSyncExternalStore:xe,useId:xe,unstable_isNewReconciler:!1},cm={readContext:be,useCallback:function(e,t){return pt().memoizedState=[e,t===void 0?null:t],e},useContext:be,useEffect:vu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Tl(4194308,4,Hd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Tl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Tl(4,2,e,t)},useMemo:function(e,t){var n=pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pt();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=am.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=pt();return e={current:e},t.memoizedState=e},useState:mu,useDebugValue:ra,useDeferredValue:function(e){return pt().memoizedState=e},useTransition:function(){var e=mu(!1),t=e[0];return e=sm.bind(null,e[1]),pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=pt();if(b){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),pe===null)throw Error(N(349));fn&30||Td(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,vu(Ld.bind(null,r,i,e),[e]),r.flags|=2048,Vr(9,Id.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=pt(),t=pe.identifierPrefix;if(b){var n=xt,r=kt;n=(r&~(1<<32-ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Br++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[mt]=t,e[Mr]=r,tf(e,t,!1,!1),t.stateNode=e;e:{switch(o=To(n,r),n){case"dialog":Q("cancel",e),Q("close",e),l=r;break;case"iframe":case"object":case"embed":Q("load",e),l=r;break;case"video":case"audio":for(l=0;lGn&&(t.flags|=128,r=!0,dr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ti(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),dr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!b)return Ee(t),null}else 2*ne()-i.renderingStartTime>Gn&&n!==1073741824&&(t.flags|=128,r=!0,dr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=Z.current,Y(Z,r?n&1|2:n&1),t):(Ee(t),null);case 22:case 23:return ua(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Ee(t),t.subtreeFlags&6&&(t.flags|=8192)):Ee(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function ym(e,t){switch(Ws(t),t.tag){case 1:return De(t.type)&&Kl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yn(),K(Oe),K(_e),Zs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Js(t),null;case 13:if(K(Z),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));Wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(Z),null;case 4:return Yn(),null;case 10:return Gs(t.type._context),null;case 22:case 23:return ua(),null;case 24:return null;default:return null}}var gl=!1,Ne=!1,wm=typeof WeakSet=="function"?WeakSet:Set,j=null;function Ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function rs(e,t,n){try{n()}catch(r){te(e,t,r)}}var Nu=!1;function Sm(e,t){if(Uo=Vl,e=sd(),Fs(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,a=-1,u=0,h=0,p=e,m=null;t:for(;;){for(var y;p!==n||l!==0&&p.nodeType!==3||(s=o+l),p!==i||r!==0&&p.nodeType!==3||(a=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(y=p.firstChild)!==null;)m=p,p=y;for(;;){if(p===e)break t;if(m===n&&++u===l&&(s=o),m===i&&++h===r&&(a=o),(y=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fo={focusedElem:e,selectionRange:n},Vl=!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 k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var g=k.memoizedProps,_=k.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?g:rt(t.type,g),_);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(w){te(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return k=Nu,Nu=!1,k}function Nr(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 i=l.destroy;l.destroy=void 0,i!==void 0&&rs(t,n,i)}l=l.next}while(l!==r)}}function Ni(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 ls(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 lf(e){var t=e.alternate;t!==null&&(e.alternate=null,lf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mt],delete t[Mr],delete t[Vo],delete t[nm],delete t[rm])),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 of(e){return e.tag===5||e.tag===3||e.tag===4}function _u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||of(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 is(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=Gl));else if(r!==4&&(e=e.child,e!==null))for(is(e,t,n),e=e.sibling;e!==null;)is(e,t,n),e=e.sibling}function os(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(os(e,t,n),e=e.sibling;e!==null;)os(e,t,n),e=e.sibling}var ge=null,lt=!1;function Rt(e,t,n){for(n=n.child;n!==null;)sf(e,t,n),n=n.sibling}function sf(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(gi,n)}catch{}switch(n.tag){case 5:Ne||Ln(n,t);case 6:var r=ge,l=lt;ge=null,Rt(e,t,n),ge=r,lt=l,ge!==null&&(lt?(e=ge,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ge.removeChild(n.stateNode));break;case 18:ge!==null&&(lt?(e=ge,n=n.stateNode,e.nodeType===8?eo(e.parentNode,n):e.nodeType===1&&eo(e,n),Or(e)):eo(ge,n.stateNode));break;case 4:r=ge,l=lt,ge=n.stateNode.containerInfo,lt=!0,Rt(e,t,n),ge=r,lt=l;break;case 0:case 11:case 14:case 15:if(!Ne&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&rs(n,t,o),l=l.next}while(l!==r)}Rt(e,t,n);break;case 1:if(!Ne&&(Ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){te(n,t,s)}Rt(e,t,n);break;case 21:Rt(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,Rt(e,t,n),Ne=r):Rt(e,t,n);break;default:Rt(e,t,n)}}function Pu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new wm),t.forEach(function(r){var l=Rm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xm(r/1960))-r,10e?16:e,At===null)var r=!1;else{if(e=At,At=null,oi=0,A&6)throw Error(N(331));var l=A;for(A|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var s=i.deletions;if(s!==null){for(var a=0;ane()-sa?on(e,0):oa|=n),$e(e,t)}function mf(e,t){t===0&&(e.mode&1?(t=al,al<<=1,!(al&130023424)&&(al=4194304)):t=1);var n=je();e=_t(e,t),e!==null&&(Xr(e,t,n),$e(e,n))}function jm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mf(e,n)}function Rm(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(N(314))}r!==null&&r.delete(t),mf(e,n)}var vf;vf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Oe.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,vm(e,t,n);Le=!!(e.flags&131072)}else Le=!1,b&&t.flags&1048576&&yd(t,Jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Il(e,t),e=t.pendingProps;var l=Bn(t,_e.current);Mn(t,n),l=ea(null,t,r,e,l,n);var i=ta();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,De(r)?(i=!0,Xl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Xs(t),l.updater=Ei,t.stateNode=l,l._reactInternals=t,bo(t,r,e,n),t=qo(null,t,r,!0,i,n)):(t.tag=0,b&&i&&Bs(t),Pe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Il(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Im(r),e=rt(r,e),l){case 0:t=Zo(null,t,r,e,n);break e;case 1:t=xu(null,t,r,e,n);break e;case 11:t=Su(null,t,r,e,n);break e;case 14:t=ku(null,t,r,rt(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),Zo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),xu(e,t,r,l,n);case 3:e:{if(Zd(t),e===null)throw Error(N(387));r=t.pendingProps,i=t.memoizedState,l=i.element,xd(e,t),ei(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Qn(Error(N(423)),t),t=Eu(e,t,r,n,l);break e}else if(r!==l){l=Qn(Error(N(424)),t),t=Eu(e,t,r,n,l);break e}else for(Me=Bt(t.stateNode.containerInfo.firstChild),Ue=t,b=!0,it=null,n=_d(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Wn(),r===l){t=Pt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Pd(t),e===null&&Go(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Bo(r,l)?o=null:i!==null&&Bo(r,i)&&(t.flags|=32),Jd(e,t),Pe(e,t,o,n),t.child;case 6:return e===null&&Go(t),null;case 13:return qd(e,t,n);case 4:return bs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(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:rt(r,l),Su(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,i=t.memoizedProps,o=l.value,Y(Zl,r._currentValue),r._currentValue=o,i!==null)if(ut(i.value,o)){if(i.children===l.children&&!Oe.current){t=Pt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Et(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?a.next=a:(a.next=h.next,h.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ko(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(N(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Ko(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Pe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Mn(t,n),l=be(l),r=r(l),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,l=rt(r,t.pendingProps),l=rt(r.type,l),ku(e,t,r,l,n);case 15:return Xd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),Il(e,t),t.tag=1,De(r)?(e=!0,Xl(t)):e=!1,Mn(t,n),Cd(t,r,l),bo(t,r,l,n),qo(null,t,r,!0,e,n);case 19:return ef(e,t,n);case 22:return bd(e,t,n)}throw Error(N(156,t.tag))};function gf(e,t){return Bc(e,t)}function Tm(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 Ke(e,t,n,r){return new Tm(e,t,n,r)}function da(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Im(e){if(typeof e=="function")return da(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ts)return 11;if(e===Is)return 14}return 2}function Qt(e,t){var n=e.alternate;return n===null?(n=Ke(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 Ol(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")da(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case En:return sn(n.children,l,i,t);case Rs:o=8,l|=8;break;case So:return e=Ke(12,n,t,l|2),e.elementType=So,e.lanes=i,e;case ko:return e=Ke(13,n,t,l),e.elementType=ko,e.lanes=i,e;case xo:return e=Ke(19,n,t,l),e.elementType=xo,e.lanes=i,e;case Nc:return Pi(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ec:o=10;break e;case Cc:o=9;break e;case Ts:o=11;break e;case Is:o=14;break e;case Lt:o=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=Ke(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function sn(e,t,n,r){return e=Ke(7,e,r,t),e.lanes=n,e}function Pi(e,t,n,r){return e=Ke(22,e,r,t),e.elementType=Nc,e.lanes=n,e.stateNode={isHidden:!1},e}function ao(e,t,n){return e=Ke(6,e,null,t),e.lanes=n,e}function uo(e,t,n){return t=Ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lm(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=Wi(0),this.expirationTimes=Wi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function fa(e,t,n,r,l,i,o,s,a){return e=new Lm(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ke(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xs(i),e}function zm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kf)}catch(e){console.error(e)}}kf(),yc.exports=Be;var Hm=yc.exports,Du=Hm;yo.createRoot=Du.createRoot,yo.hydrateRoot=Du.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 Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function va(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Um(){return Math.random().toString(36).substr(2,8)}function Au(e,t){return{usr:e.state,key:e.key,idx:t}}function ds(e,t,n,r){return n===void 0&&(n=null),Qr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?nr(t):t,{state:n,key:t&&t.key||r||Um()})}function ui(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 nr(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 Fm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,s=Ht.Pop,a=null,u=h();u==null&&(u=0,o.replaceState(Qr({},o.state,{idx:u}),""));function h(){return(o.state||{idx:null}).idx}function p(){s=Ht.Pop;let _=h(),d=_==null?null:_-u;u=_,a&&a({action:s,location:g.location,delta:d})}function m(_,d){s=Ht.Push;let c=ds(g.location,_,d);n&&n(c,_),u=h()+1;let f=Au(c,u),w=g.createHref(c);try{o.pushState(f,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;l.location.assign(w)}i&&a&&a({action:s,location:g.location,delta:1})}function y(_,d){s=Ht.Replace;let c=ds(g.location,_,d);n&&n(c,_),u=h();let f=Au(c,u),w=g.createHref(c);o.replaceState(f,"",w),i&&a&&a({action:s,location:g.location,delta:0})}function k(_){let d=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof _=="string"?_:ui(_);return oe(d,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,d)}let g={get action(){return s},get location(){return e(l,o)},listen(_){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener($u,p),a=_,()=>{l.removeEventListener($u,p),a=null}},createHref(_){return t(l,_)},createURL:k,encodeLocation(_){let d=k(_);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:m,replace:y,go(_){return o.go(_)}};return g}var Hu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hu||(Hu={}));function Bm(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?nr(t):t,l=ga(r.pathname||"/",n);if(l==null)return null;let i=xf(e);Wm(i);let o=null;for(let s=0;o==null&&s{let a={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&(oe(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 u=Gt([r,a.relativePath]),h=n.concat(a);i.children&&i.children.length>0&&(oe(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),xf(i.children,t,h,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:bm(u,i.index),routesMeta:h})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))l(i,o);else for(let a of Ef(i.path))l(i,o,a)}),t}function Ef(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Ef(r.join("/")),s=[];return s.push(...o.map(a=>a===""?i:[i,a].join("/"))),l&&s.push(...o),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function Wm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Jm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Vm=/^:\w+$/,Ym=3,Qm=2,Gm=1,Km=10,Xm=-2,Mu=e=>e==="*";function bm(e,t){let n=e.split("/"),r=n.length;return n.some(Mu)&&(r+=Xm),t&&(r+=Qm),n.filter(l=>!Mu(l)).reduce((l,i)=>l+(Vm.test(i)?Ym:i===""?Gm:Km),r)}function Jm(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 Zm(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{if(h==="*"){let m=s[p]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}return u[h]=nv(s[p]||"",h),u},{}),pathname:i,pathnameBase:o,pattern:e}}function ev(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),va(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,(o,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function tv(e){try{return decodeURI(e)}catch(t){return va(!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 nv(e,t){try{return decodeURIComponent(e)}catch(n){return va(!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 ga(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 rv(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?nr(e):e;return{pathname:n?n.startsWith("/")?n:lv(n,t):t,search:ov(r),hash:sv(l)}}function lv(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 co(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 Cf(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Nf(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=nr(e):(l=Qr({},e),oe(!l.pathname||!l.pathname.includes("?"),co("?","pathname","search",l)),oe(!l.pathname||!l.pathname.includes("#"),co("#","pathname","hash",l)),oe(!l.search||!l.search.includes("#"),co("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,s;if(r||o==null)s=n;else{let p=t.length-1;if(o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),p-=1;l.pathname=m.join("/")}s=p>=0?t[p]:"/"}let a=rv(l,s),u=o&&o!=="/"&&o.endsWith("/"),h=(i||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||h)&&(a.pathname+="/"),a}const Gt=e=>e.join("/").replace(/\/\/+/g,"/"),iv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ov=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,sv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function av(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _f=["post","put","patch","delete"];new Set(_f);const uv=["get",..._f];new Set(uv);/**
+ * 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 ci(){return ci=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.pathnameBase)),o=E.useRef(!1);return Rf(()=>{o.current=!0}),E.useCallback(function(a,u){if(u===void 0&&(u={}),!o.current)return;if(typeof a=="number"){n.go(a);return}let h=Nf(a,JSON.parse(i),l,u.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Gt([t,h.pathname])),(u.replace?n.replace:n.push)(h,u.state,u)},[t,n,i,l,e])}function wa(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=E.useContext(yn),{pathname:l}=el(),i=JSON.stringify(Cf(r).map(o=>o.pathnameBase));return E.useMemo(()=>Nf(e,JSON.parse(i),l,n==="path"),[e,i,l,n])}function fv(e,t){return pv(e,t)}function pv(e,t,n){qr()||oe(!1);let{navigator:r}=E.useContext(gn),{matches:l}=E.useContext(yn),i=l[l.length-1],o=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=el(),u;if(t){var h;let g=typeof t=="string"?nr(t):t;s==="/"||(h=g.pathname)!=null&&h.startsWith(s)||oe(!1),u=g}else u=a;let p=u.pathname||"/",m=s==="/"?p:p.slice(s.length)||"/",y=Bm(e,{pathname:m}),k=yv(y&&y.map(g=>Object.assign({},g,{params:Object.assign({},o,g.params),pathname:Gt([s,r.encodeLocation?r.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?s:Gt([s,r.encodeLocation?r.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),l,n);return t&&k?E.createElement(Li.Provider,{value:{location:ci({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Ht.Pop}},k):k}function hv(){let e=xv(),t=av(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)"},i=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,i)}const mv=E.createElement(hv,null);class vv 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(yn.Provider,{value:this.props.routeContext},E.createElement(jf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gv(e){let{routeContext:t,match:n,children:r}=e,l=E.useContext(ya);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(yn.Provider,{value:t},r)}function yv(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 i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let s=i.findIndex(a=>a.route.id&&(o==null?void 0:o[a.route.id]));s>=0||oe(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,a,u)=>{let h=a.route.id?o==null?void 0:o[a.route.id]:null,p=null;n&&(p=a.route.errorElement||mv);let m=t.concat(i.slice(0,u+1)),y=()=>{let k;return h?k=p:a.route.Component?k=E.createElement(a.route.Component,null):a.route.element?k=a.route.element:k=s,E.createElement(gv,{match:a,routeContext:{outlet:s,matches:m,isDataRoute:n!=null},children:k})};return n&&(a.route.ErrorBoundary||a.route.errorElement||u===0)?E.createElement(vv,{location:n.location,revalidation:n.revalidation,component:p,error:h,children:y(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):y()},null)}var If=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(If||{}),di=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}(di||{});function wv(e){let t=E.useContext(ya);return t||oe(!1),t}function Sv(e){let t=E.useContext(Pf);return t||oe(!1),t}function kv(e){let t=E.useContext(yn);return t||oe(!1),t}function Lf(e){let t=kv(),n=t.matches[t.matches.length-1];return n.route.id||oe(!1),n.route.id}function xv(){var e;let t=E.useContext(jf),n=Sv(di.UseRouteError),r=Lf(di.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Ev(){let{router:e}=wv(If.UseNavigateStable),t=Lf(di.UseNavigateStable),n=E.useRef(!1);return Rf(()=>{n.current=!0}),E.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,ci({fromRouteId:t},i)))},[e,t])}function Tt(e){oe(!1)}function Cv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=Ht.Pop,navigator:i,static:o=!1}=e;qr()&&oe(!1);let s=t.replace(/^\/*/,"/"),a=E.useMemo(()=>({basename:s,navigator:i,static:o}),[s,i,o]);typeof r=="string"&&(r=nr(r));let{pathname:u="/",search:h="",hash:p="",state:m=null,key:y="default"}=r,k=E.useMemo(()=>{let g=ga(u,s);return g==null?null:{location:{pathname:g,search:h,hash:p,state:m,key:y},navigationType:l}},[s,u,h,p,m,y,l]);return k==null?null:E.createElement(gn.Provider,{value:a},E.createElement(Li.Provider,{children:n,value:k}))}function Nv(e){let{children:t,location:n}=e;return fv(fs(t),n)}new Promise(()=>{});function fs(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,l)=>{if(!E.isValidElement(r))return;let i=[...t,l];if(r.type===E.Fragment){n.push.apply(n,fs(r.props.children,i));return}r.type!==Tt&&oe(!1),!r.props.index||!r.props.children||oe(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=fs(r.props.children,i)),n.push(o)}),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 fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function _v(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Pv(e,t){return e.button===0&&(!t||t==="_self")&&!_v(e)}const jv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Rv=["aria-current","caseSensitive","className","end","style","to","children"],Tv="startTransition",Uu=jp[Tv];function Iv(e){let{basename:t,children:n,future:r,window:l}=e,i=E.useRef();i.current==null&&(i.current=Mm({window:l,v5Compat:!0}));let o=i.current,[s,a]=E.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},h=E.useCallback(p=>{u&&Uu?Uu(()=>a(p)):a(p)},[a,u]);return E.useLayoutEffect(()=>o.listen(h),[o,h]),E.createElement(Cv,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o})}const Lv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ov=E.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:s,target:a,to:u,preventScrollReset:h}=t,p=zf(t,jv),{basename:m}=E.useContext(gn),y,k=!1;if(typeof u=="string"&&zv.test(u)&&(y=u,Lv))try{let c=new URL(window.location.href),f=u.startsWith("//")?new URL(c.protocol+u):new URL(u),w=ga(f.pathname,m);f.origin===c.origin&&w!=null?u=w+f.search+f.hash:k=!0}catch{}let g=cv(u,{relative:l}),_=$v(u,{replace:o,state:s,target:a,preventScrollReset:h,relative:l});function d(c){r&&r(c),c.defaultPrevented||_(c)}return E.createElement("a",fi({},p,{href:y||g,onClick:k||i?r:d,ref:n,target:a}))}),Dv=E.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:s,to:a,children:u}=t,h=zf(t,Rv),p=wa(a,{relative:h.relative}),m=el(),y=E.useContext(Pf),{navigator:k}=E.useContext(gn),g=k.encodeLocation?k.encodeLocation(p).pathname:p.pathname,_=m.pathname,d=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;l||(_=_.toLowerCase(),d=d?d.toLowerCase():null,g=g.toLowerCase());let c=_===g||!o&&_.startsWith(g)&&_.charAt(g.length)==="/",f=d!=null&&(d===g||!o&&d.startsWith(g)&&d.charAt(g.length)==="/"),w=c?r:void 0,S;typeof i=="function"?S=i({isActive:c,isPending:f}):S=[i,c?"active":null,f?"pending":null].filter(Boolean).join(" ");let x=typeof s=="function"?s({isActive:c,isPending:f}):s;return E.createElement(Ov,fi({},h,{"aria-current":w,className:S,ref:n,style:x,to:a}),typeof u=="function"?u({isActive:c,isPending:f}):u)});var Fu;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Fu||(Fu={}));var Bu;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bu||(Bu={}));function $v(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o}=t===void 0?{}:t,s=Tf(),a=el(),u=wa(e,{relative:o});return E.useCallback(h=>{if(Pv(h,n)){h.preventDefault();let p=r!==void 0?r:ui(a)===ui(u);s(e,{replace:p,state:l,preventScrollReset:i,relative:o})}},[a,s,u,r,l,n,e,i,o])}const Of="/blackjack_probability",Df="/blackjack_probability/about-us",$f="/blackjack_probability/charts",Af="/blackjack_probability/terms",Sa="/blackjack_probability/game",Hf="/blackjack_probability/customize",Av="*",Hv=()=>{const e=Tf(),t=()=>{e(Sa)},n=()=>{e(Hf)};return v.jsx("div",{className:"background",children:v.jsxs("div",{className:"titleHolder",children:[v.jsx("h1",{className:"title",children:"Blackjack Probability"}),v.jsx("p",{className:"info",children:"Ever wanted to learn how to become a true professional at Blackjack? Well click 'Play' below to get started!"}),v.jsxs("div",{className:"row",children:[v.jsx("button",{className:"btn-hover",onClick:t,children:"Play the Game"}),v.jsx("button",{className:"btn-hover",onClick:n,children:"Customize Table"})]})]})})};const Mv="/blackjack_probability/assets/HomePage1-5cae91d8.png",Uv="/blackjack_probability/assets/HomePage2-91b77c51.png",Fv="/blackjack_probability/assets/HomePage3-a31c86df.png",Bv="/blackjack_probability/assets/HomePage4-10ab7789.png",Wv=()=>v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"subContainer",children:[v.jsx("p",{className:"titleText",children:"Play Blackjack in a risk free environment!"}),v.jsx("img",{className:"image",src:Mv})]}),v.jsxs("div",{className:"subContainer",children:[v.jsx("img",{className:"image",src:Uv}),v.jsx("p",{className:"titleText",children:"Learn basic strategy with our Dealer AI!"})]}),v.jsxs("div",{className:"subContainer",children:[v.jsx("p",{className:"titleText",children:"Map out strategies with the charts and learn basic Blackjack terms!"}),v.jsx("img",{className:"image",src:Fv})]}),v.jsxs("div",{className:"subContainer",children:[v.jsx("img",{className:"image",src:Bv}),v.jsx("p",{className:"titleText",children:"Customize your playing area to your own liking!"})]})]}),Vv=()=>v.jsxs("div",{children:[v.jsx(Hv,{}),v.jsx(Wv,{})]});var ze=function(){return ze=Object.assign||function(t){for(var n,r=1,l=arguments.length;r0?fe(rr,--Ze):0,Xn--,le===10&&(Xn=1,Oi--),le}function at(){return le=Ze2||hs(le)>3?"":" "}function tg(e,t){for(;--t&&at()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return $i(e,$l()+(t<6&&an()==32&&at()==32))}function ms(e){for(;at();)switch(le){case e:return Ze;case 34:case 39:e!==34&&e!==39&&ms(le);break;case 40:e===41&&ms(e);break;case 92:at();break}return Ze}function ng(e,t){for(;at()&&e+le!==47+10;)if(e+le===42+42&&an()===47)break;return"/*"+$i(t,Ze-1)+"*"+xa(e===47?e:at())}function rg(e){for(;!hs(an());)at();return $i(e,Ze)}function lg(e){return qv(Al("",null,null,null,[""],e=Zv(e),0,[0],e))}function Al(e,t,n,r,l,i,o,s,a){for(var u=0,h=0,p=o,m=0,y=0,k=0,g=1,_=1,d=1,c=0,f="",w=l,S=i,x=r,C=f;_;)switch(k=c,c=at()){case 40:if(k!=108&&fe(C,p-1)==58){Dl(C+=O(fo(c),"&","&\f"),"&\f")!=-1&&(d=-1);break}case 34:case 39:case 91:C+=fo(c);break;case 9:case 10:case 13:case 32:C+=eg(k);break;case 92:C+=tg($l()-1,7);continue;case 47:switch(an()){case 42:case 47:yr(ig(ng(at(),$l()),t,n,a),a);break;default:C+="/"}break;case 123*g:s[u++]=ht(C)*d;case 125*g:case 59:case 0:switch(c){case 0:case 125:_=0;case 59+h:d==-1&&(C=O(C,/\f/g,"")),y>0&&ht(C)-p&&yr(y>32?Yu(C+";",r,n,p-1,a):Yu(O(C," ","")+";",r,n,p-2,a),a);break;case 59:C+=";";default:if(yr(x=Vu(C,t,n,u,h,l,s,f,w=[],S=[],p,i),i),c===123)if(h===0)Al(C,t,x,x,w,i,p,s,S);else switch(m===99&&fe(C,3)===110?100:m){case 100:case 108:case 109:case 115:Al(e,x,x,r&&yr(Vu(e,x,x,0,0,l,s,f,l,w=[],p,S),S),l,S,p,s,r?w:S);break;default:Al(C,x,x,x,[""],S,0,s,S)}}u=h=y=0,g=d=1,f=C="",p=o;break;case 58:p=1+ht(C),y=k;default:if(g<1){if(c==123)--g;else if(c==125&&g++==0&&Jv()==125)continue}switch(C+=xa(c),c*g){case 38:d=h>0?1:(C+="\f",-1);break;case 44:s[u++]=(ht(C)-1)*d,d=1;break;case 64:an()===45&&(C+=fo(at())),m=an(),h=p=ht(f=C+=rg($l())),c++;break;case 45:k===45&&ht(C)==2&&(g=0)}}return i}function Vu(e,t,n,r,l,i,o,s,a,u,h,p){for(var m=l-1,y=l===0?i:[""],k=Bf(y),g=0,_=0,d=0;g0?y[c]+" "+f:O(f,/&\f/g,y[c])))&&(a[d++]=w);return Di(e,t,n,l===0?zi:s,a,u,h,p)}function ig(e,t,n,r){return Di(e,t,n,Mf,xa(bv()),Kn(e,2,-2),0,r)}function Yu(e,t,n,r,l){return Di(e,t,n,ka,Kn(e,0,r),Kn(e,r+1,-1),r,l)}function Vf(e,t,n){switch(Kv(e,t)){case 5103:return F+"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 F+e+e;case 4789:return jr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+jr+e+G+e+e;case 5936:switch(fe(e,t+11)){case 114:return F+e+G+O(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+G+O(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+G+O(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return F+e+G+e+e;case 6165:return F+e+G+"flex-"+e+e;case 5187:return F+e+O(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+G+"flex-$1$2")+e;case 5443:return F+e+G+"flex-item-"+O(e,/flex-|-self/g,"")+(wt(e,/flex-|baseline/)?"":G+"grid-row-"+O(e,/flex-|-self/g,""))+e;case 4675:return F+e+G+"flex-line-pack"+O(e,/align-content|flex-|-self/g,"")+e;case 5548:return F+e+G+O(e,"shrink","negative")+e;case 5292:return F+e+G+O(e,"basis","preferred-size")+e;case 6060:return F+"box-"+O(e,"-grow","")+F+e+G+O(e,"grow","positive")+e;case 4554:return F+O(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return O(O(O(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return O(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return O(O(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+G+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4200:if(!wt(e,/flex-|baseline/))return G+"grid-column-align"+Kn(e,t)+e;break;case 2592:case 3360:return G+O(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,l){return t=l,wt(r.props,/grid-\w+-end/)})?~Dl(e+(n=n[t].value),"span")?e:G+O(e,"-start","")+e+G+"grid-row-span:"+(~Dl(n,"span")?wt(n,/\d+/):+wt(n,/\d+/)-+wt(e,/\d+/))+";":G+O(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return wt(r.props,/grid-\w+-start/)})?e:G+O(O(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return O(e,/(.+)-inline(.+)/,F+"$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(ht(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return O(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+jr+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dl(e,"stretch")?Vf(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,i,o,s,a,u){return G+l+":"+i+u+(o?G+l+"-span:"+(s?a:+a-+i)+u:"")+e});case 4949:if(fe(e,t+6)===121)return O(e,":",":"+F)+e;break;case 6444:switch(fe(e,fe(e,14)===45?18:11)){case 120:return O(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+F+(fe(e,14)===45?"inline-":"")+"box$3$1"+F+"$2$3$1"+G+"$2box$3")+e;case 100:return O(e,":",":"+G)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return O(e,"scroll-","scroll-snap-")+e}return e}function hi(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case ka:e.return=Vf(e.value,e.length,n);return;case Uf:return hi([It(e,{value:O(e.value,"@","@"+F)})],r);case zi:if(e.length)return Xv(n=e.props,function(l){switch(wt(l,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":kn(It(e,{props:[O(l,/:(read-\w+)/,":"+jr+"$1")]})),kn(It(e,{props:[l]})),ps(e,{props:Wu(n,r)});break;case"::placeholder":kn(It(e,{props:[O(l,/:(plac\w+)/,":"+F+"input-$1")]})),kn(It(e,{props:[O(l,/:(plac\w+)/,":"+jr+"$1")]})),kn(It(e,{props:[O(l,/:(plac\w+)/,G+"input-$1")]})),kn(It(e,{props:[l]})),ps(e,{props:Wu(n,r)});break}return""})}}var cg={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",Ea=typeof window<"u"&&"HTMLElement"in window,dg=!!(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),Ai=Object.freeze([]),Jn=Object.freeze({});function fg(e,t,n){return n===void 0&&(n=Jn),e.theme!==n.theme&&e.theme||t||n.theme}var Yf=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"]),pg=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,hg=/(^-|-$)/g;function Qu(e){return e.replace(pg,"-").replace(hg,"")}var mg=/(a)(d)/gi,Gu=function(e){return String.fromCharCode(e+(e>25?39:97))};function vs(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Gu(t%52)+n;return(Gu(t%52)+n).replace(mg,"$1-$2")}var po,On=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Qf=function(e){return On(5381,e)};function vg(e){return vs(Qf(e)>>>0)}function gg(e){return e.displayName||e.name||"Component"}function ho(e){return typeof e=="string"&&!0}var Gf=typeof Symbol=="function"&&Symbol.for,Kf=Gf?Symbol.for("react.memo"):60115,yg=Gf?Symbol.for("react.forward_ref"):60112,wg={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Sg={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kg=((po={})[yg]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},po[Kf]=Xf,po);function Ku(e){return("type"in(t=e)&&t.type.$$typeof)===Kf?Xf:"$$typeof"in e?kg[e.$$typeof]:wg;var t}var xg=Object.defineProperty,Eg=Object.getOwnPropertyNames,Xu=Object.getOwnPropertySymbols,Cg=Object.getOwnPropertyDescriptor,Ng=Object.getPrototypeOf,bu=Object.prototype;function bf(e,t,n){if(typeof t!="string"){if(bu){var r=Ng(t);r&&r!==bu&&bf(e,r,n)}var l=Eg(t);Xu&&(l=l.concat(Xu(t)));for(var i=Ku(e),o=Ku(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var _g=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,i=l;t>=i;)if((i<<=1)<0)throw tl(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=l;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],l=this.indexOfGroup(t),i=l+r,o=l;o=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&&(_+="".concat(d,","))}),a+="".concat(k).concat(g,'{content:"').concat(_,'"}').concat(`/*!sc*/
+`)},h=0;h0?".".concat(t):m},h=a.slice();h.push(function(m){m.type===zi&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(Ag,n).replace(r,u))}),o.prefix&&h.push(ug),h.push(og);var p=function(m,y,k,g){y===void 0&&(y=""),k===void 0&&(k=""),g===void 0&&(g="&"),t=g,n=y,r=new RegExp("\\".concat(n,"\\b"),"g");var _=m.replace(Hg,""),d=lg(k||y?"".concat(k," ").concat(y," { ").concat(_," }"):_);o.namespace&&(d=qf(d,o.namespace));var c=[];return hi(d,sg(h.concat(ag(function(f){return c.push(f)})))),c};return p.hash=a.length?a.reduce(function(m,y){return y.name||tl(15),On(m,y.name)},5381).toString():"",p}var Ug=new Zf,ys=Mg(),ep=se.createContext({shouldForwardProp:void 0,styleSheet:Ug,stylis:ys});ep.Consumer;se.createContext(void 0);function qu(){return E.useContext(ep)}var Fg=function(){function e(t,n){var r=this;this.inject=function(l,i){i===void 0&&(i=ys);var o=r.name+i.hash;l.hasNameForId(r.id,o)||l.insertRules(r.id,o,i(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Na(this,function(){throw tl(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=ys),this.name+t.hash},e}(),Bg=function(e){return e>="A"&&e<="Z"};function ec(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}l=ln(l,o),this.staticRulesId=o}else{for(var a=On(this.baseHash,r.hash),u="",h=0;h>>0);n.hasNameForId(this.componentId,y)||n.insertRules(this.componentId,y,r(u,".".concat(y),void 0,this.componentId)),l=ln(l,y)}}return l},e}(),rp=se.createContext(void 0);rp.Consumer;var vo={};function Qg(e,t,n){var r=Ca(e),l=e,i=!ho(e),o=t.attrs,s=o===void 0?Ai:o,a=t.componentId,u=a===void 0?function(f,w){var S=typeof f!="string"?"sc":Qu(f);vo[S]=(vo[S]||0)+1;var x="".concat(S,"-").concat(vg("6.0.8"+S+vo[S]));return w?"".concat(w,"-").concat(x):x}(t.displayName,t.parentComponentId):a,h=t.displayName;h===void 0&&function(f){return ho(f)?"styled.".concat(f):"Styled(".concat(gg(f),")")}(e);var p=t.displayName&&t.componentId?"".concat(Qu(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&l.attrs?l.attrs.concat(s).filter(Boolean):s,y=t.shouldForwardProp;if(r&&l.shouldForwardProp){var k=l.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;y=function(f,w){return k(f,w)&&g(f,w)}}else y=k}var _=new Yg(n,p,r?l.componentStyle:void 0);function d(f,w){return function(S,x,C){var T=S.attrs,H=S.componentStyle,z=S.defaultProps,he=S.foldedComponentIds,me=S.styledComponentId,qe=S.target,et=se.useContext(rp),Ae=qu(),Ve=S.shouldForwardProp||Ae.shouldForwardProp,M=function(tt,ce,ct){for(var Se,ke=ze(ze({},ce),{className:void 0,theme:ct}),lr=0;lrv.jsx(v.Fragment,{children:v.jsxs(Kg,{children:[v.jsx(bg,{children:"The Gamblers Inc."}),v.jsxs(Xg,{children:[v.jsx(pr,{to:Of,end:!0,children:"Home"}),v.jsx(pr,{to:Sa,children:"Play the Game"}),v.jsx(pr,{to:Df,children:"About Us"}),v.jsx(pr,{to:$f,children:"Charts"}),v.jsx(pr,{to:Af,children:"Terms"})]})]})}),Zg="/blackjack_probability/assets/AboutUs1-fd477dc8.png",qg="/blackjack_probability/assets/AboutUs2-9f0e362a.png";const ey=()=>v.jsx("div",{className:"container",children:v.jsxs("div",{className:"column",children:[v.jsxs("div",{className:"about-row",children:[v.jsx("div",{className:"column",children:v.jsxs("div",{className:"text-holder",children:[v.jsx("h1",{className:"about-header",children:"Who are we?"}),v.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."})]})}),v.jsx("img",{src:Zg})]}),v.jsxs("div",{className:"about-row",children:[v.jsx("img",{src:qg}),v.jsx("div",{className:"column",children:v.jsxs("div",{className:"text-holder",children:[v.jsx("h1",{className:"about-header",children:"What is the purpose of this website?"}),v.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 ty="/blackjack_probability/assets/404Error-54fb3a76.png",ny=()=>v.jsx("div",{className:"errorContainer",children:v.jsx("img",{src:ty,className:"error-img"})});const ry={data:[{label:"8",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"9",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"10",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"11",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"12",value:["H","H","S","S","S","H","H","H","H","H"]},{label:"13",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"14",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"15",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"16",value:["S","S","S","S","S","H","H","H","H","H"]},{label:"17",value:["S","S","S","S","S","S","S","S","S","S"]}],data2:[{label:"A/2",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/3",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/4",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/5",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/6",value:["H","H","H","H","H","H","H","H","H","H"]},{label:"A/7",value:["H","H","H","H","H","S","S","H","H","H"]},{label:"A/8",value:["S","S","S","S","H","S","S","S","S","S"]},{label:"A/9",value:["S","S","S","S","S","S","S","S","S","S"]}],data3:[{label:"A/A",value:["Y","Y","Y","Y","Y","Y","Y","Y","Y","Y"]},{label:"T/T",value:["N","N","N","N","N","N","N","N","N","N"]},{label:"9/9",value:["Y","Y","Y","Y","Y","N","Y","Y","N","N"]},{label:"8/8",value:["Y","Y","Y","Y","Y","Y","Y","Y","Y","Y"]},{label:"7/7",value:["Y","Y","Y","Y","Y","Y","N","N","N","N"]},{label:"6/6",value:["Y","Y","Y","Y","Y","N","N","N","N","N"]},{label:"5/5",value:["N","N","N","N","N","N","N","N","N","N"]},{label:"4/4",value:["N","N","N","Y","Y","N","N","N","N","N"]},{label:"3/3",value:["Y","Y","Y","Y","Y","Y","N","N","N","N"]},{label:"2/2",value:["Y","Y","Y","Y","Y","Y","N","N","N","N"]}]},ly=["2","3","4","5","6","7","8","9","10","A"],rc={chart1:ry,dealerRow:ly},iy=()=>{const e=JSON.parse(JSON.stringify(rc.chart1)),t=JSON.parse(JSON.stringify(rc.dealerRow)),n=r=>{switch(r){case"H":return"green";case"S":return"red"}};return v.jsxs("div",{className:"table-container",children:[v.jsxs("table",{className:"chart-table",children:[v.jsxs("tr",{children:[v.jsx("th",{children:`Dealer's Card
+Your Hand`}),t.map((r,l)=>v.jsx("th",{children:r},l))]}),e.data.map((r,l)=>v.jsxs("tr",{children:[v.jsx("th",{children:r.label}),r.value.map(i=>v.jsx("td",{style:{backgroundColor:n(i)},children:i}))]},l))]}),v.jsxs("table",{className:"chart-table",children:[v.jsxs("tr",{children:[v.jsx("th",{children:"Your Hand\\Dealer's Card"}),t.map((r,l)=>v.jsx("th",{children:r},l))]}),e.data2.map((r,l)=>v.jsxs("tr",{children:[v.jsx("th",{children:r.label}),r.value.map(i=>v.jsx("td",{style:{backgroundColor:n(i)},children:i}))]},l))]})]})};const oy=()=>{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 v.jsx("div",{className:"term-container",children:e.map((t,n)=>v.jsxs("div",{className:"term-row",children:[v.jsxs("h1",{className:"term-text",children:[t.term,":"]}),v.jsx("p",{className:"term-text",children:t.definition})]},n))})},sy="_statusContainer_k74mu_1",ay="_status_k74mu_1",uy="_value_k74mu_35",kl={statusContainer:sy,status:ay,value:uy},cy="_controlsContainer_wdpsv_1",dy="_toggleContainer_wdpsv_13",fy="_toggleText_wdpsv_25",py="_row_wdpsv_33",hy="_column_wdpsv_45",my="_button_wdpsv_57",vy="_betContainer_wdpsv_117",Ye={controlsContainer:cy,toggleContainer:dy,toggleText:fy,row:py,column:hy,button:my,betContainer:vy};function Ss(){return Ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t=a)&&this.A(n),this.W&&this.setState({N:!1,j:!1}),this.l=Date.now()},t.prototype.p=function(n){n.preventDefault(),typeof n.button=="number"&&n.button!==0||(this.I(n.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},t.prototype.v=function(n){n.preventDefault(),this.L(n.clientX)},t.prototype.g=function(n){this.U(n),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},t.prototype.k=function(n){this.X=null,this.I(n.touches[0].clientX)},t.prototype.m=function(n){this.L(n.touches[0].clientX)},t.prototype.M=function(n){n.preventDefault(),this.U(n)},t.prototype.$=function(n){Date.now()-this.l>50&&(this.A(n),Date.now()-this.u>50&&this.W&&this.setState({j:!1}))},t.prototype.C=function(){this.u=Date.now()},t.prototype.D=function(){this.setState({j:!0})},t.prototype.O=function(){this.setState({j:!1})},t.prototype.S=function(n){this.H=n},t.prototype.T=function(n){n.preventDefault(),this.H.focus(),this.A(n),this.W&&this.setState({j:!1})},t.prototype.A=function(n){var r=this.props;(0,r.onChange)(!r.checked,n,r.id)},t.prototype.render=function(){var n=this.props,r=n.checked,l=n.disabled,i=n.className,o=n.offColor,s=n.onColor,a=n.offHandleColor,u=n.onHandleColor,h=n.checkedIcon,p=n.uncheckedIcon,m=n.checkedHandleIcon,y=n.uncheckedHandleIcon,k=n.boxShadow,g=n.activeBoxShadow,_=n.height,d=n.width,c=n.borderRadius,f=function(Ae,Ve){var M={};for(var P in Ae)Object.prototype.hasOwnProperty.call(Ae,P)&&Ve.indexOf(P)===-1&&(M[P]=Ae[P]);return M}(n,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),w=this.state,S=w.h,x=w.N,C=w.j,T={position:"relative",display:"inline-block",textAlign:"left",opacity:l?.5:1,direction:"ltr",borderRadius:_/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},H={height:_,width:d,margin:Math.max(0,(this.t-_)/2),position:"relative",background:ic(S,this.i,this.o,o,s),borderRadius:typeof c=="number"?c:_/2,cursor:l?"default":"pointer",WebkitTransition:x?null:"background 0.25s",MozTransition:x?null:"background 0.25s",transition:x?null:"background 0.25s"},z={height:_,width:Math.min(1.5*_,d-(this.t+_)/2+1),position:"relative",opacity:(S-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"},he={height:_,width:Math.min(1.5*_,d-(this.t+_)/2+1),position:"absolute",opacity:1-(S-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"},me={height:this.t,width:this.t,background:ic(S,this.i,this.o,a,u),display:"inline-block",cursor:l?"default":"pointer",borderRadius:typeof c=="number"?c-1:"50%",position:"absolute",transform:"translateX("+S+"px)",top:Math.max(0,(_-this.t)/2),outline:0,boxShadow:C?g:k,border:0,WebkitTransition:x?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:x?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:x?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},qe={height:this.t,width:this.t,opacity:Math.max(2*(1-(S-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"},et={height:this.t,width:this.t,opacity:Math.max(2*((S-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:x?null:"opacity 0.25s",MozTransition:x?null:"opacity 0.25s",transition:x?null:"opacity 0.25s"};return se.createElement("div",{className:i,style:T},se.createElement("div",{className:"react-switch-bg",style:H,onClick:l?null:this.T,onMouseDown:function(Ae){return Ae.preventDefault()}},h&&se.createElement("div",{style:z},h),p&&se.createElement("div",{style:he},p)),se.createElement("div",{className:"react-switch-handle",style:me,onClick:function(Ae){return Ae.preventDefault()},onMouseDown:l?null:this.p,onTouchStart:l?null:this.k,onTouchMove:l?null:this.m,onTouchEnd:l?null:this.M,onTouchCancel:l?null:this.O},y&&se.createElement("div",{style:qe},y),m&&se.createElement("div",{style:et},m)),se.createElement("input",Ss({},{type:"checkbox",role:"switch","aria-checked":r,checked:r,disabled:l,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},f,{ref:this.S,onFocus:this.D,onBlur:this.O,onKeyUp:this.C,onChange:this.$})))},t}(E.Component);ks.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:gy,checkedIcon:yy,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};const wy=(e,t,n=null)=>{const r=E.useRef(t);E.useLayoutEffect(()=>{r.current=t});const l=E.useCallback(i=>{e.some(o=>i.key===o)&&r.current(i)},[e]);E.useEffect(()=>{const i=n??document;return i&&i.addEventListener("keydown",l),()=>i&&i.removeEventListener("keydown",l)},[l,n])},Sy=({gameState:e,buttonState:t,playEvent:n,hitEvent:r,standEvent:l,resetEvent:i,displayTotal:o,dealerHelp:s,toggleDisplayTotal:a,toggleDealerHelp:u})=>{const h=()=>{n()},p=g=>{a(g)},m=g=>{u(g)};wy(["a","s","d","w","e"],g=>{g.key==="a"&&!t.hitDisabled?r():g.key==="s"&&!t.standDisabled?l():g.key==="d"&&!t.resetDisabled?i():g.key==="w"?p(!o):g.key==="e"&&m(!s)});const k=()=>e===0?v.jsx("div",{className:Ye.controlsContainer,children:v.jsx("button",{onClick:()=>h(),className:Ye.button,children:"Play"})}):v.jsx("div",{className:Ye.controlsContainer,children:v.jsxs("div",{className:Ye.column,children:[v.jsxs("div",{className:Ye.toggleContainer,children:[v.jsx("h2",{className:Ye.toggleText,children:"Toggle Total (W)"}),v.jsx(ks,{checked:o,onChange:p})]}),v.jsxs("div",{className:Ye.toggleContainer,children:[v.jsx("h2",{className:Ye.toggleText,children:"Toggle Help (E)"}),v.jsx(ks,{checked:s,onChange:m})]}),v.jsxs("div",{className:Ye.row,children:[v.jsx("button",{onClick:()=>r(),disabled:t.hitDisabled,className:Ye.button,children:"Hit (A)"}),v.jsx("button",{onClick:()=>l(),disabled:t.standDisabled,className:Ye.button,children:"Stand (S)"}),v.jsx("button",{onClick:()=>i(),disabled:t.resetDisabled,className:Ye.button,children:"New Hand (D)"})]})]})});return v.jsx(v.Fragment,{children:k()})},ky="_statusContainer_1r0kp_1",xy="_status_1r0kp_1",Ey="_balance_1r0kp_35",Cy="_value_1r0kp_63",xl={statusContainer:ky,status:xy,balance:Ey,value:Cy},Ny=({message:e})=>v.jsx("div",{className:xl.statusContainer,children:v.jsx("div",{className:xl.status,children:v.jsxs("div",{children:[v.jsx("h1",{className:xl.value,children:"Dealer says:"}),v.jsx("h3",{className:xl.value,children:e})]})})}),_y=({message:e,choice:t,gameState:n,buttonState:r,playGame:l,hit:i,stand:o,resetGame:s,displayTotal:a,dealerHelp:u,dealerMessage:h,toggleDisplayTotal:p,toggleDealerHelp:m})=>v.jsxs("div",{className:kl.statusContainer,children:[u&&v.jsx(Ny,{message:h}),v.jsxs("div",{className:kl.status,children:[v.jsxs("div",{children:[v.jsx("h1",{className:kl.value,children:e}),v.jsx("h1",{className:kl.value,children:t})]}),v.jsx(Sy,{gameState:n,buttonState:r,playEvent:l,hitEvent:i,standEvent:o,resetEvent:s,displayTotal:a,dealerHelp:u,toggleDisplayTotal:p,toggleDealerHelp:m})]})]}),Py="_handContainer_1ev8b_1",jy="_cardContainer_1ev8b_19",Ry="_title_1ev8b_39",go={handContainer:Py,cardContainer:jy,title:Ry},Ty="_card_1x2tl_1",Iy="_baseStyleRed_1x2tl_25",Ly="_baseStyleBlue_1x2tl_69",zy="_baseStyleGreen_1x2tl_113",Oy="_baseStyleUnique_1x2tl_157",Dy="_baseStyleUniqueAnimation_1x2tl_1",$y="_gradientStyleRed_1x2tl_225",Ay="_gradientStyleBlue_1x2tl_251",Hy="_gradientStyleGreen_1x2tl_277",My="_gradientStyleUnique_1x2tl_303",Uy="_gradientStyleUniqueAnimation_1x2tl_1",Fy="_black_1x2tl_393",By="_red_1x2tl_401",Wy="_value_1x2tl_409",Vy="_suit_1x2tl_419",Yy="_hiddenCard_1x2tl_443",Ce={card:Ty,baseStyleRed:Iy,baseStyleBlue:Ly,baseStyleGreen:zy,baseStyleUnique:Oy,baseStyleUniqueAnimation:Dy,gradientStyleRed:$y,gradientStyleBlue:Ay,gradientStyleGreen:Hy,gradientStyleUnique:My,gradientStyleUniqueAnimation:Uy,black:Fy,red:By,value:Wy,suit:Vy,hiddenCard:Yy};var V=(e=>(e[e.RED=0]="RED",e[e.BLUE=1]="BLUE",e[e.GREEN=2]="GREEN",e[e.UNIQUE=3]="UNIQUE",e))(V||{}),re=(e=>(e[e.BASE=0]="BASE",e[e.GRADIENT=1]="GRADIENT",e))(re||{});const ip=E.createContext({cardColor:0,setCardColor:()=>{},cardStyle:0,setCardStyle:()=>{}}),op=()=>E.useContext(ip),sp=({value:e,suit:t,hidden:n})=>{const{cardColor:r,cardStyle:l}=op(),i=()=>t==="♠"||t==="♣"?Ce.black:Ce.red,o=()=>{switch(l){case re.BASE:switch(r){case V.RED:return Ce.baseStyleRed;case V.BLUE:return Ce.baseStyleBlue;case V.GREEN:return Ce.baseStyleGreen;case V.UNIQUE:return Ce.baseStyleUnique;default:return Ce.baseStyleRed}case re.GRADIENT:switch(r){case V.RED:return Ce.gradientStyleRed;case V.BLUE:return Ce.gradientStyleBlue;case V.GREEN:return Ce.gradientStyleGreen;case V.UNIQUE:return Ce.gradientStyleUnique;default:return Ce.gradientStyleRed}default:return Ce.baseStyleRed}},s=()=>n?v.jsx("div",{className:o()}):v.jsx("div",{className:Ce.card,children:v.jsxs("div",{className:i(),children:[v.jsx("h1",{className:Ce.value,children:e}),v.jsx("h1",{className:Ce.suit,children:t})]})});return v.jsx(v.Fragment,{children:s()})},oc=({title:e,cards:t})=>{const n=()=>{if(t.length>0)return v.jsx("h1",{className:go.title,children:e})};return v.jsxs("div",{className:go.handContainer,children:[n(),v.jsx("div",{className:t.length>0?go.cardContainer:"",children:t.map((r,l)=>v.jsx(sp,{value:r.value,suit:r.suit,hidden:r.hidden},l))})]})},Qy=[{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"}],Gy={cards:Qy},Ky="_gameBackground_19aqy_1",Xy="_handSection_19aqy_17",sc={gameBackground:Ky,handSection:Xy},by=()=>{let e;(R=>{R[R.bet=0]="bet",R[R.init=1]="init",R[R.userTurn=2]="userTurn",R[R.dealerTurn=3]="dealerTurn"})(e||(e={}));let t;(R=>{R[R.user=0]="user",R[R.dealer=1]="dealer",R[R.hidden=2]="hidden"})(t||(t={}));let n;(R=>{R.bet="Press Play to Start!",R.hitStand="Hit or Stand?",R.bust="Bust!",R.blackjack="Blackjack!",R.userWin="You Win!",R.dealerWin="Dealer Wins!",R.tie="Tie!"})(n||(n={}));let r;(R=>{R.noChoice="",R.underElevenHit="That was the correct choice! In this scenario, you cannot bust so it is better to hit!",R.underElevenStand="That was the wrong choice. In this scenario, you cannot bust so it is better to hit!",R.rightChoice="Filler",R.wrongChoice="Filler2"})(r||(r={}));let l;(R=>{R.hit="hit",R.stand="stand",R.total="total",R.ignore="ignore"})(l||(l={}));let i;(R=>{R.noMessage="I have no advice.",R.hitMessage="I suggest you hit.",R.standMessage="I suggest you stand."})(i||(i={}));const o=JSON.parse(JSON.stringify(Gy.cards)),[s,a]=E.useState(o),[u,h]=E.useState([]),[p,m]=E.useState(0),[y,k]=E.useState(0),[g,_]=E.useState(!1),[d,c]=E.useState(!1),[f,w]=E.useState([]),[S,x]=E.useState(0),[C,T]=E.useState(0),[H,z]=E.useState(0),[he,me]=E.useState("Press Play to Start!"),[qe,et]=E.useState(""),[Ae,Ve]=E.useState("I have no advice."),[M,P]=E.useState({hitDisabled:!1,standDisabled:!1,resetDisabled:!0});E.useEffect(()=>{H===1&&(U(0),U(2),U(0),U(1),z(2),me("Hit or Stand?"),et(""))},[H]),E.useEffect(()=>{Se(u,m),k(y+1)},[u]),E.useEffect(()=>{Se(f,x),T(C+1)},[f]),E.useEffect(()=>{H===2&&(p===21?u.length===2?ap():(M.hitDisabled=!0,P({...M})):p>21&&dt())},[y]),E.useEffect(()=>{H===3&&(S>=17?up():U(1))},[C]),E.useEffect(()=>{p<=21?ke("ignore"):Ve("I have no advice.")},[p]);const I=()=>{z(1)},L=()=>{console.clear(),a(o),h([]),m(0),k(0),w([]),x(0),T(0),z(1),me("Press Play to Start!"),et(""),P({hitDisabled:!1,standDisabled:!1,resetDisabled:!0})},U=R=>{if(s.length>0){const J=Math.floor(Math.random()*s.length),D=s[J];switch(s.splice(J,1),a([...s]),console.log("Remaining Cards:",s.length),D.suit){case"spades":ce(R,D.value,"♠");break;case"diamonds":ce(R,D.value,"♦");break;case"clubs":ce(R,D.value,"♣");break;case"hearts":ce(R,D.value,"♥");break}}else alert("All cards have been drawn")},X=R=>{_(R)},tt=R=>{c(R)},ce=(R,J,D)=>{switch(R){case 0:u.push({value:J,suit:D,hidden:!1}),h([...u]);break;case 1:f.push({value:J,suit:D,hidden:!1}),w([...f]);break;case 2:f.push({value:J,suit:D,hidden:!0}),w([...f]);break}},ct=()=>{f.filter(R=>(R.hidden===!0&&(R.hidden=!1),R)),w([...f])},Se=(R,J)=>{let D=0;R.forEach(W=>{if(W.hidden===!1&&W.value!=="A")switch(W.value){case"K":D+=10;break;case"Q":D+=10;break;case"J":D+=10;break;default:D+=Number(W.value);break}});const ve=R.filter(W=>W.value==="A");ve.forEach(W=>{W.hidden===!1&&(D+11>21||D+11===21&&ve.length>1?D+=1:D+=11)}),J(D)},ke=R=>{const J=(D,ve,W)=>{R==="hit"?et(D):R==="stand"?et(ve):R=="ignore"&&Ve(W)};if(p<=11)J("That was the correct choice! In this scenario, you cannot bust so it is better to hit!","That was the wrong choice. In this scenario, you cannot bust so it is better to hit!","I suggest you hit.");else if(u.length<=2&&u.filter(D=>D.value==="A").length>=1){const D=u.filter(W=>W.value==="A"),ve=u.filter(W=>W.value!="A");if(D.length>=1){let W=0;ve.forEach(_a=>{_a.value=="K"?W+=10:W+=parseInt(_a.value)}),D.length>=2&&(W-=1,D.forEach(()=>{W+=1})),W<=6?J("Filler","Filler2","I suggest you hit."):W>=9&&W<=10&&R=="hit"&&J("Filler","Filler2","I suggest you stand.")}}else if(p>=17)J("Filler","Filler2","I suggest you stand.");else if(u.filter(ve=>ve.value==="A").length>=1){let ve=0;u.forEach(W=>{W.value!="A"&&(W.value==="K"?ve+=10:ve+=parseInt(W.value))}),ve===7?S==7||S===8?J("Filler","Filler2","I suggest you stand."):J("Filler","Filler2","I suggest you hit."):ve===8&&(S==2||S===3||S===4||S===5||S===7||S===8||S===9||S===10||S===11?J("Filler","Filler2","I suggest you stand."):J("Filler","Filler2","I suggest you hit."))}else p===12?S===4||S===5||S===6?J("Filler","Filler2","I suggest you stand."):J("Filler","Filler2","I suggest you hit."):(p===13||p===14||p===15||p===16)&&(S===2||S===3||S===4||S===5||S===6?J("Filler","Filler2","I suggest you stand."):J("Filler","Filler2","I suggest you hit."))},lr=()=>{ke("hit"),U(0)},wn=()=>{ke("stand"),M.hitDisabled=!0,M.standDisabled=!0,M.resetDisabled=!1,P({...M}),z(3),ct()},dt=()=>{M.hitDisabled=!0,M.standDisabled=!0,M.resetDisabled=!1,P({...M}),me("Bust!")},ap=()=>{M.hitDisabled=!0,M.standDisabled=!0,M.resetDisabled=!1,P({...M}),me("Blackjack!")},up=()=>{p>S||S>21?me("You Win!"):S>p?me("Dealer Wins!"):me("Tie!")},cp=(R,J)=>{if(R.filter(D=>D.value==="A").length>=1&&J!=21){let D=0;if(R.map(ve=>{ve.value=="A"?D+=11:ve.value=="K"?D+=10:D+=parseInt(ve.value)}),D<=21)return`${p}/${p-10}`}return`${p}`};return v.jsxs("div",{className:sc.gameBackground,children:[v.jsx(_y,{message:he,choice:qe,gameState:H,buttonState:M,playGame:I,hit:lr,stand:wn,resetGame:L,displayTotal:g,dealerHelp:d,dealerMessage:Ae,toggleDisplayTotal:X,toggleDealerHelp:tt}),v.jsxs("div",{className:sc.handSection,children:[v.jsx(oc,{title:`Dealer's Hand ${g?`(${S})`:""}`,cards:f}),v.jsx(oc,{title:`Your Hand ${g?`(${cp(u,p)})`:""}`,cards:u})]})]})};const Jy=()=>{const{cardColor:e,setCardColor:t,cardStyle:n,setCardStyle:r}=op(),l=(o,s)=>e.valueOf()===o.valueOf()&&n.valueOf()===s.valueOf()?"buttonSelected":"button",i=(o,s)=>{t(o),r(s)};return v.jsxs("div",{className:"pageContainer",children:[v.jsx(sp,{value:"A",suit:"spade",hidden:!0}),v.jsxs("div",{className:"buttonsContainer",children:[v.jsxs("div",{className:"buttonGroup",children:[v.jsx("h1",{className:"buttonLabel",children:"Base"}),v.jsx("button",{className:l(V.RED,re.BASE),onClick:()=>i(V.RED,re.BASE),children:"Red"}),v.jsx("button",{className:l(V.BLUE,re.BASE),onClick:()=>i(V.BLUE,re.BASE),children:"Blue"}),v.jsx("button",{className:l(V.GREEN,re.BASE),onClick:()=>i(V.GREEN,re.BASE),children:"Green"}),v.jsx("button",{className:l(V.UNIQUE,re.BASE),onClick:()=>i(V.UNIQUE,re.BASE),children:"Unique"})]}),v.jsxs("div",{className:"buttonGroup",children:[v.jsx("h1",{className:"buttonLabel",children:"Gradient"}),v.jsx("button",{className:l(V.RED,re.GRADIENT),onClick:()=>i(V.RED,re.GRADIENT),children:"Red"}),v.jsx("button",{className:l(V.BLUE,re.GRADIENT),onClick:()=>i(V.BLUE,re.GRADIENT),children:"Blue"}),v.jsx("button",{className:l(V.GREEN,re.GRADIENT),onClick:()=>i(V.GREEN,re.GRADIENT),children:"Green"}),v.jsx("button",{className:l(V.UNIQUE,re.GRADIENT),onClick:()=>i(V.UNIQUE,re.GRADIENT),children:"Unique"})]})]})]})},Zy=()=>{const[e,t]=E.useState(V.RED),[n,r]=E.useState(re.BASE);return v.jsx("div",{className:"background-color",children:v.jsxs(ip.Provider,{value:{cardColor:e,setCardColor:t,cardStyle:n,setCardStyle:r},children:[v.jsx(Jg,{}),v.jsxs(Nv,{children:[v.jsx(Tt,{path:Of,element:v.jsx(Vv,{})}),v.jsx(Tt,{path:Df,element:v.jsx(ey,{})}),v.jsx(Tt,{path:$f,element:v.jsx(iy,{})}),v.jsx(Tt,{path:Af,element:v.jsx(oy,{})}),v.jsx(Tt,{path:Sa,element:v.jsx(by,{})}),v.jsx(Tt,{path:Hf,element:v.jsx(Jy,{})}),v.jsx(Tt,{path:Av,element:v.jsx(ny,{})})]})]})})};yo.createRoot(document.getElementById("root")).render(v.jsx(se.StrictMode,{children:v.jsx(Iv,{children:v.jsx(Zy,{})})}));
diff --git a/index.html b/index.html
index 60a7fd2..53bf7ae 100644
--- a/index.html
+++ b/index.html
@@ -5,8 +5,8 @@
Blackjack Probability
-
-
+
+