diff --git a/assets/index-66c8c424.css b/assets/index-66c8c424.css
deleted file mode 100644
index 963649b..0000000
--- a/assets/index-66c8c424.css
+++ /dev/null
@@ -1 +0,0 @@
-:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{margin:0;display:flex;place-items:center;min-height:100vh}body #root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}*{box-sizing:border-box}
diff --git a/assets/index-840296d2.css b/assets/index-840296d2.css
new file mode 100644
index 0000000..8dd6243
--- /dev/null
+++ b/assets/index-840296d2.css
@@ -0,0 +1 @@
+:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;background-image:url("data:image/svg+xml,");-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{margin:0;display:flex;place-items:center;min-height:100vh}body #root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}*{box-sizing:border-box}
diff --git a/assets/index-befc9939.js b/assets/index-8961b4b0.js
similarity index 57%
rename from assets/index-befc9939.js
rename to assets/index-8961b4b0.js
index dc717ef..aef0ec6 100644
--- a/assets/index-befc9939.js
+++ b/assets/index-8961b4b0.js
@@ -1,4 +1,4 @@
-(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var ud=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gc={exports:{}},_i={},yc={exports:{}},B={};/**
+(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var ud=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mc={exports:{}},Pi={},vc={exports:{}},B={};/**
* @license React
* react.production.min.js
*
@@ -6,7 +6,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var io=Symbol.for("react.element"),sd=Symbol.for("react.portal"),ad=Symbol.for("react.fragment"),cd=Symbol.for("react.strict_mode"),fd=Symbol.for("react.profiler"),dd=Symbol.for("react.provider"),pd=Symbol.for("react.context"),hd=Symbol.for("react.forward_ref"),md=Symbol.for("react.suspense"),vd=Symbol.for("react.memo"),gd=Symbol.for("react.lazy"),Bs=Symbol.iterator;function yd(e){return e===null||typeof e!="object"?null:(e=Bs&&e[Bs]||e["@@iterator"],typeof e=="function"?e:null)}var wc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sc=Object.assign,kc={};function cr(e,t,n){this.props=e,this.context=t,this.refs=kc,this.updater=n||wc}cr.prototype.isReactComponent={};cr.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")};cr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xc(){}xc.prototype=cr.prototype;function Du(e,t,n){this.props=e,this.context=t,this.refs=kc,this.updater=n||wc}var ju=Du.prototype=new xc;ju.constructor=Du;Sc(ju,cr.prototype);ju.isPureReactComponent=!0;var Us=Array.isArray,Cc=Object.prototype.hasOwnProperty,Au={current:null},Ec={key:!0,ref:!0,__self:!0,__source:!0};function Pc(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Cc.call(t,r)&&!Ec.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,Y=z[W];if(0>>1;W<_e;){var Oe=2*(W+1)-1,Xe=z[Oe],ge=Oe+1,ze=z[ge];if(0>o(Xe,$))geo(ze,Xe)?(z[W]=ze,z[ge]=$,W=ge):(z[W]=Xe,z[Oe]=$,W=Oe);else if(geo(ze,$))z[W]=ze,z[ge]=$,W=ge;else break e}}return I}function o(z,I){var $=z.sortIndex-I.sortIndex;return $!==0?$:z.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],c=1,d=null,p=3,v=!1,g=!1,P=!1,L=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(z){for(var I=n(a);I!==null;){if(I.callback===null)r(a);else if(I.startTime<=z)r(a),I.sortIndex=I.expirationTime,t(s,I);else break;I=n(a)}}function w(z){if(P=!1,m(z),!g)if(n(s)!==null)g=!0,Et(x);else{var I=n(a);I!==null&&$e(w,I.startTime-z)}}function x(z,I){g=!1,P&&(P=!1,h(R),R=-1),v=!0;var $=p;try{for(m(I),d=n(s);d!==null&&(!(d.expirationTime>I)||z&&!ke());){var W=d.callback;if(typeof W=="function"){d.callback=null,p=d.priorityLevel;var Y=W(d.expirationTime<=I);I=e.unstable_now(),typeof Y=="function"?d.callback=Y:d===n(s)&&r(s),m(I)}else r(s);d=n(s)}if(d!==null)var _e=!0;else{var Oe=n(a);Oe!==null&&$e(w,Oe.startTime-I),_e=!1}return _e}finally{d=null,p=$,v=!1}}var O=!1,_=null,R=-1,Q=5,D=-1;function ke(){return!(e.unstable_now()-Dz||125W?(z.sortIndex=$,t(a,z),n(s)===null&&z===n(a)&&(P?(h(R),R=-1):P=!0,$e(w,$-W))):(z.sortIndex=Y,t(s,z),g||v||(g=!0,Et(x))),z},e.unstable_shouldYield=ke,e.unstable_wrapCallback=function(z){var I=p;return function(){var $=p;p=I;try{return z.apply(this,arguments)}finally{p=$}}}})(Nc);zc.exports=Nc;var Nd=zc.exports;/**
+ */(function(e){function t(z,I){var $=z.length;z.push(I);e:for(;0<$;){var W=$-1>>>1,Y=z[W];if(0>>1;Wo(Ze,$))geo(ze,Ze)?(z[W]=ze,z[ge]=$,W=ge):(z[W]=Ze,z[Oe]=$,W=Oe);else if(geo(ze,$))z[W]=ze,z[ge]=$,W=ge;else break e}}return I}function o(z,I){var $=z.sortIndex-I.sortIndex;return $!==0?$:z.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],c=1,d=null,p=3,v=!1,g=!1,_=!1,L=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(z){for(var I=n(a);I!==null;){if(I.callback===null)r(a);else if(I.startTime<=z)r(a),I.sortIndex=I.expirationTime,t(s,I);else break;I=n(a)}}function w(z){if(_=!1,m(z),!g)if(n(s)!==null)g=!0,Et(x);else{var I=n(a);I!==null&&$e(w,I.startTime-z)}}function x(z,I){g=!1,_&&(_=!1,h(R),R=-1),v=!0;var $=p;try{for(m(I),d=n(s);d!==null&&(!(d.expirationTime>I)||z&&!ke());){var W=d.callback;if(typeof W=="function"){d.callback=null,p=d.priorityLevel;var Y=W(d.expirationTime<=I);I=e.unstable_now(),typeof Y=="function"?d.callback=Y:d===n(s)&&r(s),m(I)}else r(s);d=n(s)}if(d!==null)var Pe=!0;else{var Oe=n(a);Oe!==null&&$e(w,Oe.startTime-I),Pe=!1}return Pe}finally{d=null,p=$,v=!1}}var O=!1,P=null,R=-1,Q=5,j=-1;function ke(){return!(e.unstable_now()-jz||125W?(z.sortIndex=$,t(a,z),n(s)===null&&z===n(a)&&(_?(h(R),R=-1):_=!0,$e(w,$-W))):(z.sortIndex=Y,t(s,z),g||v||(g=!0,Et(x))),z},e.unstable_shouldYield=ke,e.unstable_wrapCallback=function(z){var I=p;return function(){var $=p;p=I;try{return z.apply(this,arguments)}finally{p=$}}}})(Oc);Pc.exports=Oc;var Nd=Pc.exports;/**
* @license React
* react-dom.production.min.js
*
@@ -30,14 +30,14 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var Tc=M,Qe=Nd;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$l=Object.prototype.hasOwnProperty,Td=/^[: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]*$/,Hs={},Vs={};function Rd(e){return $l.call(Vs,e)?!0:$l.call(Hs,e)?!1:Td.test(e)?Vs[e]=!0:(Hs[e]=!0,!1)}function Ld(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 Id(e,t,n,r){if(t===null||typeof t>"u"||Ld(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 Ie(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Se[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Se[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Se[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Se[e]=new Ie(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){Se[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Se[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Se[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Se[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Se[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bu=/[\-:]([a-z])/g;function Uu(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(Bu,Uu);Se[t]=new Ie(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(Bu,Uu);Se[t]=new Ie(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(Bu,Uu);Se[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Se[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});Se.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Se[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Gu(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Il=Object.prototype.hasOwnProperty,Td=/^[: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]*$/,Hs={},Vs={};function Rd(e){return Il.call(Vs,e)?!0:Il.call(Hs,e)?!1:Td.test(e)?Vs[e]=!0:(Hs[e]=!0,!1)}function Ld(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 Id(e,t,n,r){if(t===null||typeof t>"u"||Ld(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 Ie(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Se[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Se[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Se[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Se[e]=new Ie(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){Se[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Se[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Se[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Se[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Se[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fu=/[\-:]([a-z])/g;function Bu(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(Fu,Bu);Se[t]=new Ie(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(Fu,Bu);Se[t]=new Ie(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(Fu,Bu);Se[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Se[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});Se.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Se[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Uu(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=`
-`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function $d(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=rl(e.type,!1),e;case 11:return e=rl(e.type.render,!1),e;case 1:return e=rl(e.type,!0),e;default:return""}}function Al(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 $n:return"Fragment";case In:return"Portal";case Ml:return"Profiler";case Hu:return"StrictMode";case Dl:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ic:return(e.displayName||"Context")+".Consumer";case Lc:return(e._context.displayName||"Context")+".Provider";case Vu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wu:return t=e.displayName||null,t!==null?t:Al(e.type)||"Memo";case Gt:t=e._payload,e=e._init;try{return Al(e(t))}catch{}}return null}function Md(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 Al(t);case 8:return t===Hu?"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 on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dd(e){var t=Mc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mo(e){e._valueTracker||(e._valueTracker=Dd(e))}function Dc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Mc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(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 Fl(e,t){var n=t.checked;return oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(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&&Gu(e,"checked",t,!1)}function Bl(e,t){jc(e,t);var n=on(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")?Ul(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ul(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ys(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 Ul(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pr=Array.isArray;function Qn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=vo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ur(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tr={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},jd=["Webkit","ms","Moz","O"];Object.keys(Tr).forEach(function(e){jd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tr[t]=Tr[e]})});function Uc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tr.hasOwnProperty(e)&&Tr[e]?(""+t).trim():t+"px"}function Gc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Uc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Ad=oe({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 Vl(e,t){if(t){if(Ad[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Wl(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 Ql=null;function Qu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Yn=null,Kn=null;function Zs(e){if(e=so(e)){if(typeof Yl!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Ri(t),Yl(e.stateNode,e.type,t))}}function Hc(e){Yn?Kn?Kn.push(e):Kn=[e]:Yn=e}function Vc(){if(Yn){var e=Yn,t=Kn;if(Kn=Yn=null,Zs(e),t)for(e=0;e>>=0,e===0?32:31-(Xd(e)/Zd|0)|0}var go=64,yo=4194304;function _r(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 ni(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=_r(u):(i&=l,i!==0&&(r=_r(i)))}else l=n&~o,l!==0?r=_r(l):i!==0&&(r=_r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===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 lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function e0(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=Lr),ia=String.fromCharCode(32),la=!1;function c1(e,t){switch(e){case"keyup":return z0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function f1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function T0(e,t){switch(e){case"compositionend":return f1(t);case"keypress":return t.which!==32?null:(la=!0,ia);case"textInput":return e=t.data,e===ia&&la?null:e;default:return null}}function R0(e,t){if(Mn)return e==="compositionend"||!es&&c1(e,t)?(e=s1(),Do=qu=Yt=null,Mn=!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=ca(n)}}function m1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?m1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function v1(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function ts(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 B0(e){var t=v1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&m1(n.ownerDocument.documentElement,n)){if(r!==null&&ts(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=fa(n,i);var l=fa(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,Dn=null,bl=null,$r=null,eu=!1;function da(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;eu||Dn==null||Dn!==Jo(r)||(r=Dn,"selectionStart"in r&&ts(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}),$r&&Yr($r,r)||($r=r,r=ii(bl,"onSelect"),0Fn||(e.current=lu[Fn],lu[Fn]=null,Fn--)}function K(e,t){Fn++,lu[Fn]=e.current,e.current=t}var ln={},Pe=sn(ln),Ae=sn(!1),Cn=ln;function bn(e,t){var n=e.type.contextTypes;if(!n)return ln;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fe(e){return e=e.childContextTypes,e!=null}function ui(){b(Ae),b(Pe)}function wa(e,t,n){if(Pe.current!==ln)throw Error(E(168));K(Pe,t),K(Ae,n)}function P1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(E(108,Md(e)||"Unknown",o));return oe({},n,r)}function si(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ln,Cn=Pe.current,K(Pe,e),K(Ae,Ae.current),!0}function Sa(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=P1(e,t,Cn),r.__reactInternalMemoizedMergedChildContext=e,b(Ae),b(Pe),K(Pe,e)):b(Ae),K(Ae,n)}var Nt=null,Li=!1,gl=!1;function _1(e){Nt===null?Nt=[e]:Nt.push(e)}function J0(e){Li=!0,_1(e)}function an(){if(!gl&&Nt!==null){gl=!0;var e=0,t=V;try{var n=Nt;for(V=1;e>=l,o-=l,Tt=1<<32-at(t)+o|n<R?(Q=_,_=null):Q=_.sibling;var D=p(h,_,m[R],w);if(D===null){_===null&&(_=Q);break}e&&_&&D.alternate===null&&t(h,_),f=i(D,f,R),O===null?x=D:O.sibling=D,O=D,_=Q}if(R===m.length)return n(h,_),ee&&pn(h,R),x;if(_===null){for(;RR?(Q=_,_=null):Q=_.sibling;var ke=p(h,_,D.value,w);if(ke===null){_===null&&(_=Q);break}e&&_&&ke.alternate===null&&t(h,_),f=i(ke,f,R),O===null?x=ke:O.sibling=ke,O=ke,_=Q}if(D.done)return n(h,_),ee&&pn(h,R),x;if(_===null){for(;!D.done;R++,D=m.next())D=d(h,D.value,w),D!==null&&(f=i(D,f,R),O===null?x=D:O.sibling=D,O=D);return ee&&pn(h,R),x}for(_=r(h,_);!D.done;R++,D=m.next())D=v(_,h,R,D.value,w),D!==null&&(e&&D.alternate!==null&&_.delete(D.key===null?R:D.key),f=i(D,f,R),O===null?x=D:O.sibling=D,O=D);return e&&_.forEach(function(vt){return t(h,vt)}),ee&&pn(h,R),x}function L(h,f,m,w){if(typeof m=="object"&&m!==null&&m.type===$n&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ho:e:{for(var x=m.key,O=f;O!==null;){if(O.key===x){if(x=m.type,x===$n){if(O.tag===7){n(h,O.sibling),f=o(O,m.props.children),f.return=h,h=f;break e}}else if(O.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Gt&&Oa(x)===O.type){n(h,O.sibling),f=o(O,m.props),f.ref=kr(h,O,m),f.return=h,h=f;break e}n(h,O);break}else t(h,O);O=O.sibling}m.type===$n?(f=Sn(m.props.children,h.mode,w,m.key),f.return=h,h=f):(w=Vo(m.type,m.key,m.props,null,h.mode,w),w.ref=kr(h,f,m),w.return=h,h=w)}return l(h);case In:e:{for(O=m.key;f!==null;){if(f.key===O)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(h,f.sibling),f=o(f,m.children||[]),f.return=h,h=f;break e}else{n(h,f);break}else t(h,f);f=f.sibling}f=Pl(m,h.mode,w),f.return=h,h=f}return l(h);case Gt:return O=m._init,L(h,f,O(m._payload),w)}if(Pr(m))return g(h,f,m,w);if(vr(m))return P(h,f,m,w);Po(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(h,f.sibling),f=o(f,m),f.return=h,h=f):(n(h,f),f=El(m,h.mode,w),f.return=h,h=f),l(h)):n(h,f)}return L}var tr=$1(!0),M1=$1(!1),ao={},xt=sn(ao),qr=sn(ao),Jr=sn(ao);function gn(e){if(e===ao)throw Error(E(174));return e}function cs(e,t){switch(K(Jr,t),K(qr,e),K(xt,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Hl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Hl(t,e)}b(xt),K(xt,t)}function nr(){b(xt),b(qr),b(Jr)}function D1(e){gn(Jr.current);var t=gn(xt.current),n=Hl(t,e.type);t!==n&&(K(qr,e),K(xt,n))}function fs(e){qr.current===e&&(b(xt),b(qr))}var te=sn(0);function hi(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 yl=[];function ds(){for(var e=0;en?n:4,e(!0);var r=wl.transition;wl.transition={};try{e(!1),t()}finally{V=n,wl.transition=r}}function J1(){return tt().memoizedState}function n2(e,t,n){var r=tn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},b1(e))ef(t,n);else if(n=T1(e,t,n,r),n!==null){var o=Re();ct(n,e,r,o),tf(n,t,r)}}function r2(e,t,n){var r=tn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(b1(e))ef(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,pt(u,l)){var s=t.interleaved;s===null?(o.next=o,ss(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=T1(e,t,o,r),n!==null&&(o=Re(),ct(n,e,r,o),tf(n,t,r))}}function b1(e){var t=e.alternate;return e===re||t!==null&&t===re}function ef(e,t){Mr=mi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function tf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ku(e,n)}}var vi={readContext:et,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},o2={readContext:et,useCallback:function(e,t){return yt().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:Na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bo(4194308,4,Y1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bo(4,2,e,t)},useMemo:function(e,t){var n=yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yt();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=n2.bind(null,re,e),[r.memoizedState,e]},useRef:function(e){var t=yt();return e={current:e},t.memoizedState=e},useState:za,useDebugValue:gs,useDeferredValue:function(e){return yt().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=t2.bind(null,e[1]),yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=re,o=yt();if(ee){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),ve===null)throw Error(E(349));Pn&30||F1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Na(U1.bind(null,r,i,e),[e]),r.flags|=2048,to(9,B1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=yt(),t=ve.identifierPrefix;if(ee){var n=Rt,r=Tt;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=br++,0")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{tl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function $d(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=nl(e.type,!1),e;case 11:return e=nl(e.type.render,!1),e;case 1:return e=nl(e.type,!0),e;default:return""}}function jl(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 $n:return"Fragment";case In:return"Portal";case $l:return"Profiler";case Gu:return"StrictMode";case Ml:return"Suspense";case Dl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rc:return(e.displayName||"Context")+".Consumer";case Tc:return(e._context.displayName||"Context")+".Provider";case Hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Vu:return t=e.displayName||null,t!==null?t:jl(e.type)||"Memo";case Ut:t=e._payload,e=e._init;try{return jl(e(t))}catch{}}return null}function Md(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 jl(t);case 8:return t===Gu?"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 on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ic(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dd(e){var t=Ic(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mo(e){e._valueTracker||(e._valueTracker=Dd(e))}function $c(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ic(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qo(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 Al(e,t){var n=t.checked;return oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(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 Mc(e,t){t=t.checked,t!=null&&Uu(e,"checked",t,!1)}function Fl(e,t){Mc(e,t);var n=on(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")?Bl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bl(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ys(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 Bl(e,t,n){(t!=="number"||qo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Qn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=vo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ur(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tr={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},jd=["Webkit","ms","Moz","O"];Object.keys(Tr).forEach(function(e){jd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tr[t]=Tr[e]})});function Fc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tr.hasOwnProperty(e)&&Tr[e]?(""+t).trim():t+"px"}function Bc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Fc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Ad=oe({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 Hl(e,t){if(t){if(Ad[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Vl(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 Wl=null;function Wu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ql=null,Yn=null,Kn=null;function Zs(e){if(e=so(e)){if(typeof Ql!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Ri(t),Ql(e.stateNode,e.type,t))}}function Uc(e){Yn?Kn?Kn.push(e):Kn=[e]:Yn=e}function Gc(){if(Yn){var e=Yn,t=Kn;if(Kn=Yn=null,Zs(e),t)for(e=0;e>>=0,e===0?32:31-(Xd(e)/Zd|0)|0}var go=64,yo=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 ni(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Pr(u):(i&=l,i!==0&&(r=Pr(i)))}else l=n&~o,l!==0?r=Pr(l):i!==0&&(r=Pr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===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 lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ft(t),e[t]=n}function e0(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=Lr),ia=String.fromCharCode(32),la=!1;function s1(e,t){switch(e){case"keyup":return z0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function a1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function T0(e,t){switch(e){case"compositionend":return a1(t);case"keypress":return t.which!==32?null:(la=!0,ia);case"textInput":return e=t.data,e===ia&&la?null:e;default:return null}}function R0(e,t){if(Mn)return e==="compositionend"||!bu&&s1(e,t)?(e=l1(),Do=Zu=Qt=null,Mn=!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=ca(n)}}function p1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?p1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function h1(){for(var e=window,t=qo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qo(e.document)}return t}function es(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 B0(e){var t=h1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&p1(n.ownerDocument.documentElement,n)){if(r!==null&&es(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=fa(n,i);var l=fa(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,Dn=null,ql=null,$r=null,bl=!1;function da(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bl||Dn==null||Dn!==qo(r)||(r=Dn,"selectionStart"in r&&es(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}),$r&&Yr($r,r)||($r=r,r=ii(ql,"onSelect"),0Fn||(e.current=iu[Fn],iu[Fn]=null,Fn--)}function K(e,t){Fn++,iu[Fn]=e.current,e.current=t}var ln={},_e=sn(ln),Fe=sn(!1),Cn=ln;function bn(e,t){var n=e.type.contextTypes;if(!n)return ln;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Be(e){return e=e.childContextTypes,e!=null}function ui(){b(Fe),b(_e)}function wa(e,t,n){if(_e.current!==ln)throw Error(E(168));K(_e,t),K(Fe,n)}function C1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(E(108,Md(e)||"Unknown",o));return oe({},n,r)}function si(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ln,Cn=_e.current,K(_e,e),K(Fe,Fe.current),!0}function Sa(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=C1(e,t,Cn),r.__reactInternalMemoizedMergedChildContext=e,b(Fe),b(_e),K(_e,e)):b(Fe),K(Fe,n)}var Nt=null,Li=!1,vl=!1;function E1(e){Nt===null?Nt=[e]:Nt.push(e)}function q0(e){Li=!0,E1(e)}function an(){if(!vl&&Nt!==null){vl=!0;var e=0,t=V;try{var n=Nt;for(V=1;e>=l,o-=l,Tt=1<<32-ft(t)+o|n<R?(Q=P,P=null):Q=P.sibling;var j=p(h,P,m[R],w);if(j===null){P===null&&(P=Q);break}e&&P&&j.alternate===null&&t(h,P),f=i(j,f,R),O===null?x=j:O.sibling=j,O=j,P=Q}if(R===m.length)return n(h,P),ee&&pn(h,R),x;if(P===null){for(;RR?(Q=P,P=null):Q=P.sibling;var ke=p(h,P,j.value,w);if(ke===null){P===null&&(P=Q);break}e&&P&&ke.alternate===null&&t(h,P),f=i(ke,f,R),O===null?x=ke:O.sibling=ke,O=ke,P=Q}if(j.done)return n(h,P),ee&&pn(h,R),x;if(P===null){for(;!j.done;R++,j=m.next())j=d(h,j.value,w),j!==null&&(f=i(j,f,R),O===null?x=j:O.sibling=j,O=j);return ee&&pn(h,R),x}for(P=r(h,P);!j.done;R++,j=m.next())j=v(P,h,R,j.value,w),j!==null&&(e&&j.alternate!==null&&P.delete(j.key===null?R:j.key),f=i(j,f,R),O===null?x=j:O.sibling=j,O=j);return e&&P.forEach(function(vt){return t(h,vt)}),ee&&pn(h,R),x}function L(h,f,m,w){if(typeof m=="object"&&m!==null&&m.type===$n&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ho:e:{for(var x=m.key,O=f;O!==null;){if(O.key===x){if(x=m.type,x===$n){if(O.tag===7){n(h,O.sibling),f=o(O,m.props.children),f.return=h,h=f;break e}}else if(O.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ut&&Oa(x)===O.type){n(h,O.sibling),f=o(O,m.props),f.ref=kr(h,O,m),f.return=h,h=f;break e}n(h,O);break}else t(h,O);O=O.sibling}m.type===$n?(f=Sn(m.props.children,h.mode,w,m.key),f.return=h,h=f):(w=Vo(m.type,m.key,m.props,null,h.mode,w),w.ref=kr(h,f,m),w.return=h,h=w)}return l(h);case In:e:{for(O=m.key;f!==null;){if(f.key===O)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(h,f.sibling),f=o(f,m.children||[]),f.return=h,h=f;break e}else{n(h,f);break}else t(h,f);f=f.sibling}f=El(m,h.mode,w),f.return=h,h=f}return l(h);case Ut:return O=m._init,L(h,f,O(m._payload),w)}if(_r(m))return g(h,f,m,w);if(vr(m))return _(h,f,m,w);_o(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(h,f.sibling),f=o(f,m),f.return=h,h=f):(n(h,f),f=Cl(m,h.mode,w),f.return=h,h=f),l(h)):n(h,f)}return L}var tr=L1(!0),I1=L1(!1),ao={},xt=sn(ao),Jr=sn(ao),qr=sn(ao);function gn(e){if(e===ao)throw Error(E(174));return e}function as(e,t){switch(K(qr,t),K(Jr,e),K(xt,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gl(t,e)}b(xt),K(xt,t)}function nr(){b(xt),b(Jr),b(qr)}function $1(e){gn(qr.current);var t=gn(xt.current),n=Gl(t,e.type);t!==n&&(K(Jr,e),K(xt,n))}function cs(e){Jr.current===e&&(b(xt),b(Jr))}var te=sn(0);function hi(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 gl=[];function fs(){for(var e=0;en?n:4,e(!0);var r=yl.transition;yl.transition={};try{e(!1),t()}finally{V=n,yl.transition=r}}function Z1(){return rt().memoizedState}function n2(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},J1(e))q1(t,n);else if(n=z1(e,t,n,r),n!==null){var o=Re();dt(n,e,r,o),b1(n,t,r)}}function r2(e,t,n){var r=en(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(J1(e))q1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,ht(u,l)){var s=t.interleaved;s===null?(o.next=o,us(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=z1(e,t,o,r),n!==null&&(o=Re(),dt(n,e,r,o),b1(n,t,r))}}function J1(e){var t=e.alternate;return e===re||t!==null&&t===re}function q1(e,t){Mr=mi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function b1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yu(e,n)}}var vi={readContext:nt,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},o2={readContext:nt,useCallback:function(e,t){return yt().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:Na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bo(4194308,4,W1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bo(4,2,e,t)},useMemo:function(e,t){var n=yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yt();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=n2.bind(null,re,e),[r.memoizedState,e]},useRef:function(e){var t=yt();return e={current:e},t.memoizedState=e},useState:za,useDebugValue:vs,useDeferredValue:function(e){return yt().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=t2.bind(null,e[1]),yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=re,o=yt();if(ee){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),ve===null)throw Error(E(349));_n&30||j1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Na(F1.bind(null,r,i,e),[e]),r.flags|=2048,to(9,A1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=yt(),t=ve.identifierPrefix;if(ee){var n=Rt,r=Tt;n=(r&~(1<<32-ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=br++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[St]=t,e[Zr]=r,ff(e,t,!1,!1),t.stateNode=e;e:{switch(l=Wl(n,r),n){case"dialog":q("cancel",e),q("close",e),o=r;break;case"iframe":case"object":case"embed":q("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,xr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ee)return Ce(t),null}else 2*ue()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,xr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ue(),t.sibling=null,n=te.current,K(te,r?n&1|2:n&1),t):(Ce(t),null);case 22:case 23:return Cs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ue&1073741824&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function d2(e,t){switch(rs(t),t.tag){case 1:return Fe(t.type)&&ui(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),b(Ae),b(Pe),ds(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return fs(t),null;case 13:if(b(te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(te),null;case 4:return nr(),null;case 10:return us(t.type._context),null;case 22:case 23:return Cs(),null;case 24:return null;default:return null}}var Oo=!1,Ee=!1,p2=typeof WeakSet=="function"?WeakSet:Set,N=null;function Hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function yu(e,t,n){try{n()}catch(r){le(e,t,r)}}var Aa=!1;function h2(e,t){if(tu=ri,e=v1(),ts(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,c=0,d=e,p=null;t:for(;;){for(var v;d!==n||o!==0&&d.nodeType!==3||(u=l+o),d!==i||r!==0&&d.nodeType!==3||(s=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(v=d.firstChild)!==null;)p=d,d=v;for(;;){if(d===e)break t;if(p===n&&++a===o&&(u=l),p===i&&++c===r&&(s=l),(v=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=v}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(nu={focusedElem:e,selectionRange:n},ri=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var P=g.memoizedProps,L=g.memoizedState,h=t.stateNode,f=h.getSnapshotBeforeUpdate(t.elementType===t.type?P:lt(t.type,P),L);h.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(w){le(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return g=Aa,Aa=!1,g}function Dr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&yu(t,n,i)}o=o.next}while(o!==r)}}function Mi(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 wu(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 hf(e){var t=e.alternate;t!==null&&(e.alternate=null,hf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[St],delete t[Zr],delete t[iu],delete t[Z0],delete t[q0])),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 mf(e){return e.tag===5||e.tag===3||e.tag===4}function Fa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mf(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 Su(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=li));else if(r!==4&&(e=e.child,e!==null))for(Su(e,t,n),e=e.sibling;e!==null;)Su(e,t,n),e=e.sibling}function ku(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(ku(e,t,n),e=e.sibling;e!==null;)ku(e,t,n),e=e.sibling}var ye=null,ut=!1;function Bt(e,t,n){for(n=n.child;n!==null;)vf(e,t,n),n=n.sibling}function vf(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(Oi,n)}catch{}switch(n.tag){case 5:Ee||Hn(n,t);case 6:var r=ye,o=ut;ye=null,Bt(e,t,n),ye=r,ut=o,ye!==null&&(ut?(e=ye,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ye.removeChild(n.stateNode));break;case 18:ye!==null&&(ut?(e=ye,n=n.stateNode,e.nodeType===8?vl(e.parentNode,n):e.nodeType===1&&vl(e,n),Wr(e)):vl(ye,n.stateNode));break;case 4:r=ye,o=ut,ye=n.stateNode.containerInfo,ut=!0,Bt(e,t,n),ye=r,ut=o;break;case 0:case 11:case 14:case 15:if(!Ee&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&yu(n,t,l),o=o.next}while(o!==r)}Bt(e,t,n);break;case 1:if(!Ee&&(Hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){le(n,t,u)}Bt(e,t,n);break;case 21:Bt(e,t,n);break;case 22:n.mode&1?(Ee=(r=Ee)||n.memoizedState!==null,Bt(e,t,n),Ee=r):Bt(e,t,n);break;default:Bt(e,t,n)}}function Ba(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new p2),t.forEach(function(r){var o=C2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function it(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*v2(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,wi=0,U&6)throw Error(E(331));var o=U;for(U|=4,N=e.current;N!==null;){var i=N,l=i.child;if(N.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sue()-ks?wn(e,0):Ss|=n),Be(e,t)}function Ef(e,t){t===0&&(e.mode&1?(t=yo,yo<<=1,!(yo&130023424)&&(yo=4194304)):t=1);var n=Re();e=Dt(e,t),e!==null&&(lo(e,t,n),Be(e,n))}function x2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ef(e,n)}function C2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),Ef(e,n)}var Pf;Pf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ae.current)De=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return De=!1,c2(e,t,n);De=!!(e.flags&131072)}else De=!1,ee&&t.flags&1048576&&O1(t,ci,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Uo(e,t),e=t.pendingProps;var o=bn(t,Pe.current);Zn(t,n),o=hs(null,t,r,e,o,n);var i=ms();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(i=!0,si(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,as(t),o.updater=Ii,t.stateNode=o,o._reactInternals=t,fu(t,r,e,n),t=hu(null,t,r,!0,i,n)):(t.tag=0,ee&&i&&ns(t),Ne(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Uo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=P2(r),e=lt(r,e),o){case 0:t=pu(null,t,r,e,n);break e;case 1:t=Ma(null,t,r,e,n);break e;case 11:t=Ia(null,t,r,e,n);break e;case 14:t=$a(null,t,r,lt(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),pu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),Ma(e,t,r,o,n);case 3:e:{if(sf(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,o=i.element,R1(e,t),pi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(E(423)),t),t=Da(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(E(424)),t),t=Da(e,t,r,n,o);break e}else for(Ge=Jt(t.stateNode.containerInfo.firstChild),We=t,ee=!0,st=null,n=M1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=jt(e,t,n);break e}Ne(e,t,r,n)}t=t.child}return t;case 5:return D1(t),e===null&&su(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,ru(r,o)?l=null:i!==null&&ru(r,i)&&(t.flags|=32),uf(e,t),Ne(e,t,l,n),t.child;case 6:return e===null&&su(t),null;case 13:return af(e,t,n);case 4:return cs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):Ne(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),Ia(e,t,r,o,n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:return Ne(e,t,t.pendingProps.children,n),t.child;case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,K(fi,r._currentValue),r._currentValue=l,i!==null)if(pt(i.value,l)){if(i.children===o.children&&!Ae.current){t=jt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Lt(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),au(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(E(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),au(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ne(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Zn(t,n),o=et(o),r=r(o),t.flags|=1,Ne(e,t,r,n),t.child;case 14:return r=t.type,o=lt(r,t.pendingProps),o=lt(r.type,o),$a(e,t,r,o,n);case 15:return of(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),Uo(e,t),t.tag=1,Fe(r)?(e=!0,si(t)):e=!1,Zn(t,n),I1(t,r,o),fu(t,r,o,n),hu(null,t,r,!0,e,n);case 19:return cf(e,t,n);case 22:return lf(e,t,n)}throw Error(E(156,t.tag))};function _f(e,t){return qc(e,t)}function E2(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 Je(e,t,n,r){return new E2(e,t,n,r)}function Ps(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P2(e){if(typeof e=="function")return Ps(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vu)return 11;if(e===Wu)return 14}return 2}function nn(e,t){var n=e.alternate;return n===null?(n=Je(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 Vo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ps(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case $n:return Sn(n.children,o,i,t);case Hu:l=8,o|=8;break;case Ml:return e=Je(12,n,t,o|2),e.elementType=Ml,e.lanes=i,e;case Dl:return e=Je(13,n,t,o),e.elementType=Dl,e.lanes=i,e;case jl:return e=Je(19,n,t,o),e.elementType=jl,e.lanes=i,e;case $c:return ji(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lc:l=10;break e;case Ic:l=9;break e;case Vu:l=11;break e;case Wu:l=14;break e;case Gt:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Je(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Sn(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=Je(22,e,r,t),e.elementType=$c,e.lanes=n,e.stateNode={isHidden:!1},e}function El(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function Pl(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _2(e,t,n,r,o){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=il(0),this.expirationTimes=il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=il(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function _s(e,t,n,r,o,i,l,u,s){return e=new _2(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Je(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},as(i),e}function O2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Tf)}catch(e){console.error(e)}}Tf(),Oc.exports=Ye;var L2=Oc.exports,Ka=L2;Il.createRoot=Ka.createRoot,Il.hydrateRoot=Ka.hydrateRoot;let I2={data:""},$2=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||I2,M2=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,D2=/\/\*[^]*?\*\/| +/g,Xa=/\n+/g,Qt=(e,t)=>{let n="",r="",o="";for(let i in e){let l=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+l+";":r+=i[1]=="f"?Qt(l,i):i+"{"+Qt(l,i[1]=="k"?"":t)+"}":typeof l=="object"?r+=Qt(l,t?t.replace(/([^,])+/g,u=>i.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,u):u?u+" "+s:s)):i):l!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Qt.p?Qt.p(i,l):i+":"+l+";")}return n+(t&&o?t+"{"+o+"}":o)+r},_t={},Rf=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Rf(e[n]);return t}return e},j2=(e,t,n,r,o)=>{let i=Rf(e),l=_t[i]||(_t[i]=(s=>{let a=0,c=11;for(;a>>0;return"go"+c})(i));if(!_t[l]){let s=i!==e?e:(a=>{let c,d,p=[{}];for(;c=M2.exec(a.replace(D2,""));)c[4]?p.shift():c[3]?(d=c[3].replace(Xa," ").trim(),p.unshift(p[0][d]=p[0][d]||{})):p[0][c[1]]=c[2].replace(Xa," ").trim();return p[0]})(e);_t[l]=Qt(o?{["@keyframes "+l]:s}:s,n?"":"."+l)}let u=n&&_t.g?_t.g:null;return n&&(_t.g=_t[l]),((s,a,c,d)=>{d?a.data=a.data.replace(d,s):a.data.indexOf(s)===-1&&(a.data=c?s+a.data:a.data+s)})(_t[l],t,r,u),l},A2=(e,t,n)=>e.reduce((r,o,i)=>{let l=t[i];if(l&&l.call){let u=l(n),s=u&&u.props&&u.props.className||/^go/.test(u)&&u;l=s?"."+s:u&&typeof u=="object"?u.props?"":Qt(u,""):u===!1?"":u}return r+o+(l??"")},"");function Gi(e){let t=this||{},n=e.call?e(t.p):e;return j2(n.unshift?n.raw?A2(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,$2(t.target),t.g,t.o,t.k)}let Lf,_u,Ou;Gi.bind({g:1});let At=Gi.bind({k:1});function F2(e,t,n,r){Qt.p=t,Lf=e,_u=n,Ou=r}function cn(e,t){let n=this||{};return function(){let r=arguments;function o(i,l){let u=Object.assign({},i),s=u.className||o.className;n.p=Object.assign({theme:_u&&_u()},u),n.o=/ *go\d+/.test(s),u.className=Gi.apply(n,r)+(s?" "+s:""),t&&(u.ref=l);let a=e;return e[0]&&(a=u.as||e,delete u.as),Ou&&a[0]&&Ou(u),Lf(a,u)}return t?t(o):o}}var B2=e=>typeof e=="function",xi=(e,t)=>B2(e)?e(t):e,U2=(()=>{let e=0;return()=>(++e).toString()})(),If=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),G2=20,Wo=new Map,H2=1e3,Za=e=>{if(Wo.has(e))return;let t=setTimeout(()=>{Wo.delete(e),Tn({type:4,toastId:e})},H2);Wo.set(e,t)},V2=e=>{let t=Wo.get(e);t&&clearTimeout(t)},zu=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,G2)};case 1:return t.toast.id&&V2(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:n}=t;return e.toasts.find(i=>i.id===n.id)?zu(e,{type:1,toast:n}):zu(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Za(r):e.toasts.forEach(i=>{Za(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===r||r===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},Qo=[],Yo={toasts:[],pausedAt:void 0},Tn=e=>{Yo=zu(Yo,e),Qo.forEach(t=>{t(Yo)})},W2={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Q2=(e={})=>{let[t,n]=M.useState(Yo);M.useEffect(()=>(Qo.push(n),()=>{let o=Qo.indexOf(n);o>-1&&Qo.splice(o,1)}),[t]);let r=t.toasts.map(o=>{var i,l;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||W2[o.type],style:{...e.style,...(l=e[o.type])==null?void 0:l.style,...o.style}}});return{...t,toasts:r}},Y2=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||U2()}),co=e=>(t,n)=>{let r=Y2(t,e,n);return Tn({type:2,toast:r}),r.id},He=(e,t)=>co("blank")(e,t);He.error=co("error");He.success=co("success");He.loading=co("loading");He.custom=co("custom");He.dismiss=e=>{Tn({type:3,toastId:e})};He.remove=e=>Tn({type:4,toastId:e});He.promise=(e,t,n)=>{let r=He.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(o=>(He.success(xi(t.success,o),{id:r,...n,...n==null?void 0:n.success}),o)).catch(o=>{He.error(xi(t.error,o),{id:r,...n,...n==null?void 0:n.error})}),e};var K2=(e,t)=>{Tn({type:1,toast:{id:e,height:t}})},X2=()=>{Tn({type:5,time:Date.now()})},Z2=e=>{let{toasts:t,pausedAt:n}=Q2(e);M.useEffect(()=>{if(n)return;let i=Date.now(),l=t.map(u=>{if(u.duration===1/0)return;let s=(u.duration||0)+u.pauseDuration-(i-u.createdAt);if(s<0){u.visible&&He.dismiss(u.id);return}return setTimeout(()=>He.dismiss(u.id),s)});return()=>{l.forEach(u=>u&&clearTimeout(u))}},[t,n]);let r=M.useCallback(()=>{n&&Tn({type:6,time:Date.now()})},[n]),o=M.useCallback((i,l)=>{let{reverseOrder:u=!1,gutter:s=8,defaultPosition:a}=l||{},c=t.filter(v=>(v.position||a)===(i.position||a)&&v.height),d=c.findIndex(v=>v.id===i.id),p=c.filter((v,g)=>gv.visible).slice(...u?[p+1]:[0,p]).reduce((v,g)=>v+(g.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:K2,startPause:X2,endPause:r,calculateOffset:o}}},q2=At`
+`+i.stack}return{value:e,source:t,stack:o,digest:null}}function kl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var u2=typeof WeakMap=="function"?WeakMap:Map;function ef(e,t,n){n=Lt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){yi||(yi=!0,ku=r),fu(e,t)},n}function tf(e,t,n){n=Lt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){fu(e,t),typeof r!="function"&&(bt===null?bt=new Set([this]):bt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Ta(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new u2;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=k2.bind(null,e,t,n),t.then(e,e))}function Ra(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function La(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Lt(-1,1),t.tag=2,qt(n,t,1))),n.lanes|=1),e)}var s2=At.ReactCurrentOwner,De=!1;function Ne(e,t,n,r){t.child=e===null?I1(t,null,n,r):tr(t,e.child,n,r)}function Ia(e,t,n,r,o){n=n.render;var i=t.ref;return Zn(t,o),r=ps(e,t,n,r,i,o),n=hs(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Dt(e,t,o)):(ee&&n&&ts(t),t.flags|=1,Ne(e,t,r,o),t.child)}function $a(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Es(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,nf(e,t,i,r,o)):(e=Vo(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Yr,n(l,r)&&e.ref===t.ref)return Dt(e,t,o)}return t.flags|=1,e=tn(i,r),e.ref=t.ref,e.return=t,t.child=e}function nf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Yr(i,r)&&e.ref===t.ref)if(De=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(De=!0);else return t.lanes=e.lanes,Dt(e,t,o)}return du(e,t,n,r,o)}function rf(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(Vn,Ge),Ge|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(Vn,Ge),Ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,K(Vn,Ge),Ge|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,K(Vn,Ge),Ge|=r;return Ne(e,t,o,n),t.child}function of(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function du(e,t,n,r,o){var i=Be(n)?Cn:_e.current;return i=bn(t,i),Zn(t,o),n=ps(e,t,n,r,i,o),r=hs(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Dt(e,t,o)):(ee&&r&&ts(t),t.flags|=1,Ne(e,t,n,o),t.child)}function Ma(e,t,n,r,o){if(Be(n)){var i=!0;si(t)}else i=!1;if(Zn(t,o),t.stateNode===null)Uo(e,t),R1(t,n,r),cu(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var s=l.context,a=n.contextType;typeof a=="object"&&a!==null?a=nt(a):(a=Be(n)?Cn:_e.current,a=bn(t,a));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||s!==a)&&Pa(t,l,r,a),Gt=!1;var p=t.memoizedState;l.state=p,pi(t,r,l,o),s=t.memoizedState,u!==r||p!==s||Fe.current||Gt?(typeof c=="function"&&(au(t,n,c,r),s=t.memoizedState),(u=Gt||_a(t,n,u,r,p,s,a))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),l.props=r,l.state=s,l.context=a,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,N1(e,t),u=t.memoizedProps,a=t.type===t.elementType?u:st(t.type,u),l.props=a,d=t.pendingProps,p=l.context,s=n.contextType,typeof s=="object"&&s!==null?s=nt(s):(s=Be(n)?Cn:_e.current,s=bn(t,s));var v=n.getDerivedStateFromProps;(c=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==d||p!==s)&&Pa(t,l,r,s),Gt=!1,p=t.memoizedState,l.state=p,pi(t,r,l,o);var g=t.memoizedState;u!==d||p!==g||Fe.current||Gt?(typeof v=="function"&&(au(t,n,v,r),g=t.memoizedState),(a=Gt||_a(t,n,a,r,p,g,s)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,g,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,g,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),l.props=r,l.state=g,l.context=s,r=a):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return pu(e,t,n,r,i,o)}function pu(e,t,n,r,o,i){of(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&Sa(t,n,!1),Dt(e,t,i);r=t.stateNode,s2.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=tr(t,e.child,null,i),t.child=tr(t,null,u,i)):Ne(e,t,u,i),t.memoizedState=r.state,o&&Sa(t,n,!0),t.child}function lf(e){var t=e.stateNode;t.pendingContext?wa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wa(e,t.context,!1),as(e,t.containerInfo)}function Da(e,t,n,r,o){return er(),rs(o),t.flags|=256,Ne(e,t,n,r),t.child}var hu={dehydrated:null,treeContext:null,retryLane:0};function mu(e){return{baseLanes:e,cachePool:null,transitions:null}}function uf(e,t,n){var r=t.pendingProps,o=te.current,i=!1,l=(t.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(o&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),K(te,o&1),e===null)return uu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=l):i=ji(l,r,0,null),e=Sn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=mu(n),t.memoizedState=hu,e):gs(t,l));if(o=e.memoizedState,o!==null&&(u=o.dehydrated,u!==null))return a2(e,t,l,r,u,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,u=o.sibling;var s={mode:"hidden",children:r.children};return!(l&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=tn(o,s),r.subtreeFlags=o.subtreeFlags&14680064),u!==null?i=tn(u,i):(i=Sn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?mu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=hu,r}return i=e.child,e=i.sibling,r=tn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function gs(e,t){return t=ji({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Po(e,t,n,r){return r!==null&&rs(r),tr(t,e.child,null,n),e=gs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function a2(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=kl(Error(E(422))),Po(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ji({mode:"visible",children:r.children},o,0,null),i=Sn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&tr(t,e.child,null,l),t.child.memoizedState=mu(l),t.memoizedState=hu,i);if(!(t.mode&1))return Po(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(E(419)),r=kl(i,r,void 0),Po(e,t,l,r)}if(u=(l&e.childLanes)!==0,De||u){if(r=ve,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|l)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Mt(e,o),dt(r,e,o,-1))}return Cs(),r=kl(Error(E(421))),Po(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=x2.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,He=Jt(o.nextSibling),We=t,ee=!0,ct=null,e!==null&&(Je[qe++]=Tt,Je[qe++]=Rt,Je[qe++]=En,Tt=e.id,Rt=e.overflow,En=t),t=gs(t,r.children),t.flags|=4096,t)}function ja(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),su(e.return,t,n)}function xl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function sf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ne(e,t,r.children,n),r=te.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ja(e,n,t);else if(e.tag===19)ja(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(te,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&hi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),xl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&hi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}xl(t,!0,n,null,i);break;case"together":xl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Uo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Dt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Pn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=tn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function c2(e,t,n){switch(t.tag){case 3:lf(t),er();break;case 5:$1(t);break;case 1:Be(t.type)&&si(t);break;case 4:as(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;K(fi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(te,te.current&1),t.flags|=128,null):n&t.child.childLanes?uf(e,t,n):(K(te,te.current&1),e=Dt(e,t,n),e!==null?e.sibling:null);K(te,te.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return sf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),K(te,te.current),r)break;return null;case 22:case 23:return t.lanes=0,rf(e,t,n)}return Dt(e,t,n)}var af,vu,cf,ff;af=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};vu=function(){};cf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,gn(xt.current);var i=null;switch(n){case"input":o=Al(e,o),r=Al(e,r),i=[];break;case"select":o=oe({},o,{value:void 0}),r=oe({},r,{value:void 0}),i=[];break;case"textarea":o=Ul(e,o),r=Ul(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=li)}Hl(n,r);var l;n=null;for(a in o)if(!r.hasOwnProperty(a)&&o.hasOwnProperty(a)&&o[a]!=null)if(a==="style"){var u=o[a];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Br.hasOwnProperty(a)?i||(i=[]):(i=i||[]).push(a,null));for(a in r){var s=r[a];if(u=o!=null?o[a]:void 0,r.hasOwnProperty(a)&&s!==u&&(s!=null||u!=null))if(a==="style")if(u){for(l in u)!u.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&u[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(i||(i=[]),i.push(a,n)),n=s;else a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(i=i||[]).push(a,s)):a==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(a,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(Br.hasOwnProperty(a)?(s!=null&&a==="onScroll"&&J("scroll",e),i||u===s||(i=[])):(i=i||[]).push(a,s))}n&&(i=i||[]).push("style",n);var a=i;(t.updateQueue=a)&&(t.flags|=4)}};ff=function(e,t,n,r){n!==r&&(t.flags|=4)};function xr(e,t){if(!ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function f2(e,t,n){var r=t.pendingProps;switch(ns(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ce(t),null;case 1:return Be(t.type)&&ui(),Ce(t),null;case 3:return r=t.stateNode,nr(),b(Fe),b(_e),fs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Eo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ct!==null&&(Eu(ct),ct=null))),vu(e,t),Ce(t),null;case 5:cs(t);var o=gn(qr.current);if(n=t.type,e!==null&&t.stateNode!=null)cf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(E(166));return Ce(t),null}if(e=gn(xt.current),Eo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[St]=t,r[Zr]=i,e=(t.mode&1)!==0,n){case"dialog":J("cancel",r),J("close",r);break;case"iframe":case"object":case"embed":J("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[St]=t,e[Zr]=r,af(e,t,!1,!1),t.stateNode=e;e:{switch(l=Vl(n,r),n){case"dialog":J("cancel",e),J("close",e),o=r;break;case"iframe":case"object":case"embed":J("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,xr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ee)return Ce(t),null}else 2*ue()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,xr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ue(),t.sibling=null,n=te.current,K(te,r?n&1|2:n&1),t):(Ce(t),null);case 22:case 23:return xs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ge&1073741824&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function d2(e,t){switch(ns(t),t.tag){case 1:return Be(t.type)&&ui(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),b(Fe),b(_e),fs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cs(t),null;case 13:if(b(te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(te),null;case 4:return nr(),null;case 10:return ls(t.type._context),null;case 22:case 23:return xs(),null;case 24:return null;default:return null}}var Oo=!1,Ee=!1,p2=typeof WeakSet=="function"?WeakSet:Set,N=null;function Hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function gu(e,t,n){try{n()}catch(r){le(e,t,r)}}var Aa=!1;function h2(e,t){if(eu=ri,e=h1(),es(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,c=0,d=e,p=null;t:for(;;){for(var v;d!==n||o!==0&&d.nodeType!==3||(u=l+o),d!==i||r!==0&&d.nodeType!==3||(s=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(v=d.firstChild)!==null;)p=d,d=v;for(;;){if(d===e)break t;if(p===n&&++a===o&&(u=l),p===i&&++c===r&&(s=l),(v=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=v}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(tu={focusedElem:e,selectionRange:n},ri=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var _=g.memoizedProps,L=g.memoizedState,h=t.stateNode,f=h.getSnapshotBeforeUpdate(t.elementType===t.type?_:st(t.type,_),L);h.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(w){le(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return g=Aa,Aa=!1,g}function Dr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&gu(t,n,i)}o=o.next}while(o!==r)}}function Mi(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 yu(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 df(e){var t=e.alternate;t!==null&&(e.alternate=null,df(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[St],delete t[Zr],delete t[ou],delete t[Z0],delete t[J0])),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 pf(e){return e.tag===5||e.tag===3||e.tag===4}function Fa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pf(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 wu(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=li));else if(r!==4&&(e=e.child,e!==null))for(wu(e,t,n),e=e.sibling;e!==null;)wu(e,t,n),e=e.sibling}function Su(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(Su(e,t,n),e=e.sibling;e!==null;)Su(e,t,n),e=e.sibling}var ye=null,at=!1;function Ft(e,t,n){for(n=n.child;n!==null;)hf(e,t,n),n=n.sibling}function hf(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(Oi,n)}catch{}switch(n.tag){case 5:Ee||Hn(n,t);case 6:var r=ye,o=at;ye=null,Ft(e,t,n),ye=r,at=o,ye!==null&&(at?(e=ye,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ye.removeChild(n.stateNode));break;case 18:ye!==null&&(at?(e=ye,n=n.stateNode,e.nodeType===8?ml(e.parentNode,n):e.nodeType===1&&ml(e,n),Wr(e)):ml(ye,n.stateNode));break;case 4:r=ye,o=at,ye=n.stateNode.containerInfo,at=!0,Ft(e,t,n),ye=r,at=o;break;case 0:case 11:case 14:case 15:if(!Ee&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&gu(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!Ee&&(Hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){le(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(Ee=(r=Ee)||n.memoizedState!==null,Ft(e,t,n),Ee=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Ba(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new p2),t.forEach(function(r){var o=C2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*v2(r/1960))-r,10e?16:e,Yt===null)var r=!1;else{if(e=Yt,Yt=null,wi=0,U&6)throw Error(E(331));var o=U;for(U|=4,N=e.current;N!==null;){var i=N,l=i.child;if(N.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sue()-Ss?wn(e,0):ws|=n),Ue(e,t)}function xf(e,t){t===0&&(e.mode&1?(t=yo,yo<<=1,!(yo&130023424)&&(yo=4194304)):t=1);var n=Re();e=Mt(e,t),e!==null&&(lo(e,t,n),Ue(e,n))}function x2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),xf(e,n)}function C2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),xf(e,n)}var Cf;Cf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fe.current)De=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return De=!1,c2(e,t,n);De=!!(e.flags&131072)}else De=!1,ee&&t.flags&1048576&&_1(t,ci,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Uo(e,t),e=t.pendingProps;var o=bn(t,_e.current);Zn(t,n),o=ps(null,t,r,e,o,n);var i=hs();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Be(r)?(i=!0,si(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ss(t),o.updater=Ii,t.stateNode=o,o._reactInternals=t,cu(t,r,e,n),t=pu(null,t,r,!0,i,n)):(t.tag=0,ee&&i&&ts(t),Ne(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Uo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=_2(r),e=st(r,e),o){case 0:t=du(null,t,r,e,n);break e;case 1:t=Ma(null,t,r,e,n);break e;case 11:t=Ia(null,t,r,e,n);break e;case 14:t=$a(null,t,r,st(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),du(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Ma(e,t,r,o,n);case 3:e:{if(lf(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,o=i.element,N1(e,t),pi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(E(423)),t),t=Da(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(E(424)),t),t=Da(e,t,r,n,o);break e}else for(He=Jt(t.stateNode.containerInfo.firstChild),We=t,ee=!0,ct=null,n=I1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=Dt(e,t,n);break e}Ne(e,t,r,n)}t=t.child}return t;case 5:return $1(t),e===null&&uu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,nu(r,o)?l=null:i!==null&&nu(r,i)&&(t.flags|=32),of(e,t),Ne(e,t,l,n),t.child;case 6:return e===null&&uu(t),null;case 13:return uf(e,t,n);case 4:return as(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):Ne(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Ia(e,t,r,o,n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:return Ne(e,t,t.pendingProps.children,n),t.child;case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,K(fi,r._currentValue),r._currentValue=l,i!==null)if(ht(i.value,l)){if(i.children===o.children&&!Fe.current){t=Dt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Lt(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),su(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(E(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),su(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ne(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Zn(t,n),o=nt(o),r=r(o),t.flags|=1,Ne(e,t,r,n),t.child;case 14:return r=t.type,o=st(r,t.pendingProps),o=st(r.type,o),$a(e,t,r,o,n);case 15:return nf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Uo(e,t),t.tag=1,Be(r)?(e=!0,si(t)):e=!1,Zn(t,n),R1(t,r,o),cu(t,r,o,n),pu(null,t,r,!0,e,n);case 19:return sf(e,t,n);case 22:return rf(e,t,n)}throw Error(E(156,t.tag))};function Ef(e,t){return Xc(e,t)}function E2(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 be(e,t,n,r){return new E2(e,t,n,r)}function Es(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _2(e){if(typeof e=="function")return Es(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hu)return 11;if(e===Vu)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=be(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 Vo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Es(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case $n:return Sn(n.children,o,i,t);case Gu:l=8,o|=8;break;case $l:return e=be(12,n,t,o|2),e.elementType=$l,e.lanes=i,e;case Ml:return e=be(13,n,t,o),e.elementType=Ml,e.lanes=i,e;case Dl:return e=be(19,n,t,o),e.elementType=Dl,e.lanes=i,e;case Lc:return ji(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Tc:l=10;break e;case Rc:l=9;break e;case Hu:l=11;break e;case Vu:l=14;break e;case Ut:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=be(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Sn(e,t,n,r){return e=be(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=be(22,e,r,t),e.elementType=Lc,e.lanes=n,e.stateNode={isHidden:!1},e}function Cl(e,t,n){return e=be(6,e,null,t),e.lanes=n,e}function El(e,t,n){return t=be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function P2(e,t,n,r,o){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=ol(0),this.expirationTimes=ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function _s(e,t,n,r,o,i,l,u,s){return e=new P2(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=be(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ss(i),e}function O2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zf)}catch(e){console.error(e)}}zf(),_c.exports=Ye;var L2=_c.exports,Ka=L2;Ll.createRoot=Ka.createRoot,Ll.hydrateRoot=Ka.hydrateRoot;let I2={data:""},$2=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||I2,M2=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,D2=/\/\*[^]*?\*\/| +/g,Xa=/\n+/g,Wt=(e,t)=>{let n="",r="",o="";for(let i in e){let l=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+l+";":r+=i[1]=="f"?Wt(l,i):i+"{"+Wt(l,i[1]=="k"?"":t)+"}":typeof l=="object"?r+=Wt(l,t?t.replace(/([^,])+/g,u=>i.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,u):u?u+" "+s:s)):i):l!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Wt.p?Wt.p(i,l):i+":"+l+";")}return n+(t&&o?t+"{"+o+"}":o)+r},Pt={},Nf=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Nf(e[n]);return t}return e},j2=(e,t,n,r,o)=>{let i=Nf(e),l=Pt[i]||(Pt[i]=(s=>{let a=0,c=11;for(;a>>0;return"go"+c})(i));if(!Pt[l]){let s=i!==e?e:(a=>{let c,d,p=[{}];for(;c=M2.exec(a.replace(D2,""));)c[4]?p.shift():c[3]?(d=c[3].replace(Xa," ").trim(),p.unshift(p[0][d]=p[0][d]||{})):p[0][c[1]]=c[2].replace(Xa," ").trim();return p[0]})(e);Pt[l]=Wt(o?{["@keyframes "+l]:s}:s,n?"":"."+l)}let u=n&&Pt.g?Pt.g:null;return n&&(Pt.g=Pt[l]),((s,a,c,d)=>{d?a.data=a.data.replace(d,s):a.data.indexOf(s)===-1&&(a.data=c?s+a.data:a.data+s)})(Pt[l],t,r,u),l},A2=(e,t,n)=>e.reduce((r,o,i)=>{let l=t[i];if(l&&l.call){let u=l(n),s=u&&u.props&&u.props.className||/^go/.test(u)&&u;l=s?"."+s:u&&typeof u=="object"?u.props?"":Wt(u,""):u===!1?"":u}return r+o+(l??"")},"");function Gi(e){let t=this||{},n=e.call?e(t.p):e;return j2(n.unshift?n.raw?A2(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,$2(t.target),t.g,t.o,t.k)}let Tf,_u,Pu;Gi.bind({g:1});let jt=Gi.bind({k:1});function F2(e,t,n,r){Wt.p=t,Tf=e,_u=n,Pu=r}function cn(e,t){let n=this||{};return function(){let r=arguments;function o(i,l){let u=Object.assign({},i),s=u.className||o.className;n.p=Object.assign({theme:_u&&_u()},u),n.o=/ *go\d+/.test(s),u.className=Gi.apply(n,r)+(s?" "+s:""),t&&(u.ref=l);let a=e;return e[0]&&(a=u.as||e,delete u.as),Pu&&a[0]&&Pu(u),Tf(a,u)}return t?t(o):o}}var B2=e=>typeof e=="function",xi=(e,t)=>B2(e)?e(t):e,U2=(()=>{let e=0;return()=>(++e).toString()})(),Rf=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),G2=20,Wo=new Map,H2=1e3,Za=e=>{if(Wo.has(e))return;let t=setTimeout(()=>{Wo.delete(e),Tn({type:4,toastId:e})},H2);Wo.set(e,t)},V2=e=>{let t=Wo.get(e);t&&clearTimeout(t)},Ou=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,G2)};case 1:return t.toast.id&&V2(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:n}=t;return e.toasts.find(i=>i.id===n.id)?Ou(e,{type:1,toast:n}):Ou(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Za(r):e.toasts.forEach(i=>{Za(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===r||r===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},Qo=[],Yo={toasts:[],pausedAt:void 0},Tn=e=>{Yo=Ou(Yo,e),Qo.forEach(t=>{t(Yo)})},W2={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Q2=(e={})=>{let[t,n]=M.useState(Yo);M.useEffect(()=>(Qo.push(n),()=>{let o=Qo.indexOf(n);o>-1&&Qo.splice(o,1)}),[t]);let r=t.toasts.map(o=>{var i,l;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||W2[o.type],style:{...e.style,...(l=e[o.type])==null?void 0:l.style,...o.style}}});return{...t,toasts:r}},Y2=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||U2()}),co=e=>(t,n)=>{let r=Y2(t,e,n);return Tn({type:2,toast:r}),r.id},Ve=(e,t)=>co("blank")(e,t);Ve.error=co("error");Ve.success=co("success");Ve.loading=co("loading");Ve.custom=co("custom");Ve.dismiss=e=>{Tn({type:3,toastId:e})};Ve.remove=e=>Tn({type:4,toastId:e});Ve.promise=(e,t,n)=>{let r=Ve.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(o=>(Ve.success(xi(t.success,o),{id:r,...n,...n==null?void 0:n.success}),o)).catch(o=>{Ve.error(xi(t.error,o),{id:r,...n,...n==null?void 0:n.error})}),e};var K2=(e,t)=>{Tn({type:1,toast:{id:e,height:t}})},X2=()=>{Tn({type:5,time:Date.now()})},Z2=e=>{let{toasts:t,pausedAt:n}=Q2(e);M.useEffect(()=>{if(n)return;let i=Date.now(),l=t.map(u=>{if(u.duration===1/0)return;let s=(u.duration||0)+u.pauseDuration-(i-u.createdAt);if(s<0){u.visible&&Ve.dismiss(u.id);return}return setTimeout(()=>Ve.dismiss(u.id),s)});return()=>{l.forEach(u=>u&&clearTimeout(u))}},[t,n]);let r=M.useCallback(()=>{n&&Tn({type:6,time:Date.now()})},[n]),o=M.useCallback((i,l)=>{let{reverseOrder:u=!1,gutter:s=8,defaultPosition:a}=l||{},c=t.filter(v=>(v.position||a)===(i.position||a)&&v.height),d=c.findIndex(v=>v.id===i.id),p=c.filter((v,g)=>gv.visible).slice(...u?[p+1]:[0,p]).reduce((v,g)=>v+(g.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:K2,startPause:X2,endPause:r,calculateOffset:o}}},J2=jt`
from {
transform: scale(0) rotate(45deg);
opacity: 0;
@@ -45,7 +45,7 @@ from {
to {
transform: scale(1) rotate(45deg);
opacity: 1;
-}`,J2=At`
+}`,q2=jt`
from {
transform: scale(0);
opacity: 0;
@@ -53,7 +53,7 @@ from {
to {
transform: scale(1);
opacity: 1;
-}`,b2=At`
+}`,b2=jt`
from {
transform: scale(0) rotate(90deg);
opacity: 0;
@@ -70,14 +70,14 @@ to {
position: relative;
transform: rotate(45deg);
- animation: ${q2} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
+ animation: ${J2} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
forwards;
animation-delay: 100ms;
&:after,
&:before {
content: '';
- animation: ${J2} 0.15s ease-out forwards;
+ animation: ${q2} 0.15s ease-out forwards;
animation-delay: 150ms;
position: absolute;
border-radius: 3px;
@@ -94,7 +94,7 @@ to {
animation-delay: 180ms;
transform: rotate(90deg);
}
-`,tp=At`
+`,tp=jt`
from {
transform: rotate(0deg);
}
@@ -110,7 +110,7 @@ to {
border-color: ${e=>e.secondary||"#e0e0e0"};
border-right-color: ${e=>e.primary||"#616161"};
animation: ${tp} 1s linear infinite;
-`,rp=At`
+`,rp=jt`
from {
transform: scale(0) rotate(45deg);
opacity: 0;
@@ -118,7 +118,7 @@ from {
to {
transform: scale(1) rotate(45deg);
opacity: 1;
-}`,op=At`
+}`,op=jt`
0% {
height: 0;
width: 0;
@@ -168,7 +168,7 @@ to {
align-items: center;
min-width: 20px;
min-height: 20px;
-`,sp=At`
+`,sp=jt`
from {
transform: scale(0.6);
opacity: 0.4;
@@ -208,25 +208,25 @@ to {
color: inherit;
flex: 1 1 auto;
white-space: pre-line;
-`,gp=(e,t)=>{let n=e.includes("top")?1:-1,[r,o]=If()?[pp,hp]:[fp(n),dp(n)];return{animation:t?`${At(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${At(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},yp=M.memo(({toast:e,position:t,style:n,children:r})=>{let o=e.height?gp(e.position||t||"top-center",e.visible):{opacity:0},i=M.createElement(cp,{toast:e}),l=M.createElement(vp,{...e.ariaProps},xi(e.message,e));return M.createElement(mp,{className:e.className,style:{...o,...n,...e.style}},typeof r=="function"?r({icon:i,message:l}):M.createElement(M.Fragment,null,i,l))});F2(M.createElement);var wp=({id:e,className:t,style:n,onHeightUpdate:r,children:o})=>{let i=M.useCallback(l=>{if(l){let u=()=>{let s=l.getBoundingClientRect().height;r(e,s)};u(),new MutationObserver(u).observe(l,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return M.createElement("div",{ref:i,className:t,style:n},o)},Sp=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:If()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}},kp=Gi`
+`,gp=(e,t)=>{let n=e.includes("top")?1:-1,[r,o]=Rf()?[pp,hp]:[fp(n),dp(n)];return{animation:t?`${jt(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${jt(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},yp=M.memo(({toast:e,position:t,style:n,children:r})=>{let o=e.height?gp(e.position||t||"top-center",e.visible):{opacity:0},i=M.createElement(cp,{toast:e}),l=M.createElement(vp,{...e.ariaProps},xi(e.message,e));return M.createElement(mp,{className:e.className,style:{...o,...n,...e.style}},typeof r=="function"?r({icon:i,message:l}):M.createElement(M.Fragment,null,i,l))});F2(M.createElement);var wp=({id:e,className:t,style:n,onHeightUpdate:r,children:o})=>{let i=M.useCallback(l=>{if(l){let u=()=>{let s=l.getBoundingClientRect().height;r(e,s)};u(),new MutationObserver(u).observe(l,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return M.createElement("div",{ref:i,className:t,style:n},o)},Sp=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Rf()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}},kp=Gi`
z-index: 9999;
> * {
pointer-events: auto;
}
-`,To=16,xp=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:i,containerClassName:l})=>{let{toasts:u,handlers:s}=Z2(n);return M.createElement("div",{style:{position:"fixed",zIndex:9999,top:To,left:To,right:To,bottom:To,pointerEvents:"none",...i},className:l,onMouseEnter:s.startPause,onMouseLeave:s.endPause},u.map(a=>{let c=a.position||t,d=s.calculateOffset(a,{reverseOrder:e,gutter:r,defaultPosition:t}),p=Sp(c,d);return M.createElement(wp,{id:a.id,key:a.id,onHeightUpdate:s.updateHeight,className:a.visible?kp:"",style:p},a.type==="custom"?xi(a.message,a):o?o(a):M.createElement(yp,{toast:a,position:c}))}))},Cp=He,je=function(){return je=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0?me(pr,--nt):0,lr--,se===10&&(lr=1,Vi--),se}function ft(){return se=nt2||Tu(se)>3?"":" "}function $p(e,t){for(;--t&&ft()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Qi(e,Xo()+(t<6&&kn()==32&&ft()==32))}function Ru(e){for(;ft();)switch(se){case e:return nt;case 34:case 39:e!==34&&e!==39&&Ru(se);break;case 40:e===41&&Ru(e);break;case 92:ft();break}return nt}function Mp(e,t){for(;ft()&&e+se!==47+10;)if(e+se===42+42&&kn()===47)break;return"/*"+Qi(t,nt-1)+"*"+Rs(e===47?e:ft())}function Dp(e){for(;!Tu(kn());)ft();return Qi(e,nt)}function jp(e){return Lp(Zo("",null,null,null,[""],e=Rp(e),0,[0],e))}function Zo(e,t,n,r,o,i,l,u,s){for(var a=0,c=0,d=l,p=0,v=0,g=0,P=1,L=1,h=1,f=0,m="",w=o,x=i,O=r,_=m;L;)switch(g=f,f=ft()){case 40:if(g!=108&&me(_,d-1)==58){Ko(_+=A(_l(f),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:_+=_l(f);break;case 9:case 10:case 13:case 32:_+=Ip(g);break;case 92:_+=$p(Xo()-1,7);continue;case 47:switch(kn()){case 42:case 47:zr(Ap(Mp(ft(),Xo()),t,n,s),s);break;default:_+="/"}break;case 123*P:u[a++]=wt(_)*h;case 125*P:case 59:case 0:switch(f){case 0:case 125:L=0;case 59+c:h==-1&&(_=A(_,/\f/g,"")),v>0&&wt(_)-d&&zr(v>32?ba(_+";",r,n,d-1,s):ba(A(_," ","")+";",r,n,d-2,s),s);break;case 59:_+=";";default:if(zr(O=Ja(_,t,n,a,c,o,u,m,w=[],x=[],d,i),i),f===123)if(c===0)Zo(_,t,O,O,w,i,d,u,x);else switch(p===99&&me(_,3)===110?100:p){case 100:case 108:case 109:case 115:Zo(e,O,O,r&&zr(Ja(e,O,O,0,0,o,u,m,o,w=[],d,x),x),o,x,d,u,r?w:x);break;default:Zo(_,O,O,O,[""],x,0,u,x)}}a=c=v=0,P=h=1,m=_="",d=l;break;case 58:d=1+wt(_),v=g;default:if(P<1){if(f==123)--P;else if(f==125&&P++==0&&Tp()==125)continue}switch(_+=Rs(f),f*P){case 38:h=c>0?1:(_+="\f",-1);break;case 44:u[a++]=(wt(_)-1)*h,h=1;break;case 64:kn()===45&&(_+=_l(ft())),p=kn(),c=d=wt(m=_+=Dp(Xo())),f++;break;case 45:g===45&&wt(_)==2&&(P=0)}}return i}function Ja(e,t,n,r,o,i,l,u,s,a,c,d){for(var p=o-1,v=o===0?i:[""],g=jf(v),P=0,L=0,h=0;P0?v[f]+" "+m:A(m,/&\f/g,v[f])))&&(s[h++]=w);return Wi(e,t,n,o===0?Hi:u,s,a,c,d)}function Ap(e,t,n,r){return Wi(e,t,n,$f,Rs(Np()),ir(e,2,-2),0,r)}function ba(e,t,n,r,o){return Wi(e,t,n,Ts,ir(e,0,r),ir(e,r+1,-1),r,o)}function Ff(e,t,n){switch(Op(e,t)){case 5103:return G+"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 G+e+e;case 4789:return Fr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+Fr+e+J+e+e;case 5936:switch(me(e,t+11)){case 114:return G+e+J+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+J+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+J+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return G+e+J+e+e;case 6165:return G+e+J+"flex-"+e+e;case 5187:return G+e+A(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+J+"flex-$1$2")+e;case 5443:return G+e+J+"flex-item-"+A(e,/flex-|-self/g,"")+(zt(e,/flex-|baseline/)?"":J+"grid-row-"+A(e,/flex-|-self/g,""))+e;case 4675:return G+e+J+"flex-line-pack"+A(e,/align-content|flex-|-self/g,"")+e;case 5548:return G+e+J+A(e,"shrink","negative")+e;case 5292:return G+e+J+A(e,"basis","preferred-size")+e;case 6060:return G+"box-"+A(e,"-grow","")+G+e+J+A(e,"grow","positive")+e;case 4554:return G+A(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+J+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4200:if(!zt(e,/flex-|baseline/))return J+"grid-column-align"+ir(e,t)+e;break;case 2592:case 3360:return J+A(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,zt(r.props,/grid-\w+-end/)})?~Ko(e+(n=n[t].value),"span")?e:J+A(e,"-start","")+e+J+"grid-row-span:"+(~Ko(n,"span")?zt(n,/\d+/):+zt(n,/\d+/)-+zt(e,/\d+/))+";":J+A(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return zt(r.props,/grid-\w+-start/)})?e:J+A(A(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,G+"$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(wt(e)-1-t>6)switch(me(e,t+1)){case 109:if(me(e,t+4)!==45)break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Fr+(me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ko(e,"stretch")?Ff(A(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return A(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,l,u,s,a){return J+o+":"+i+a+(l?J+o+"-span:"+(u?s:+s-+i)+a:"")+e});case 4949:if(me(e,t+6)===121)return A(e,":",":"+G)+e;break;case 6444:switch(me(e,me(e,14)===45?18:11)){case 120:return A(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+G+(me(e,14)===45?"inline-":"")+"box$3$1"+G+"$2$3$1"+J+"$2box$3")+e;case 100:return A(e,":",":"+J)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return A(e,"scroll-","scroll-snap-")+e}return e}function Ei(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case Ts:e.return=Ff(e.value,e.length,n);return;case Mf:return Ei([Ut(e,{value:A(e.value,"@","@"+G)})],r);case Hi:if(e.length)return zp(n=e.props,function(o){switch(zt(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ln(Ut(e,{props:[A(o,/:(read-\w+)/,":"+Fr+"$1")]})),Ln(Ut(e,{props:[o]})),Nu(e,{props:qa(n,r)});break;case"::placeholder":Ln(Ut(e,{props:[A(o,/:(plac\w+)/,":"+G+"input-$1")]})),Ln(Ut(e,{props:[A(o,/:(plac\w+)/,":"+Fr+"$1")]})),Ln(Ut(e,{props:[A(o,/:(plac\w+)/,J+"input-$1")]})),Ln(Ut(e,{props:[o]})),Nu(e,{props:qa(n,r)});break}return""})}}var Hp={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},ur=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Ls=typeof window<"u"&&"HTMLElement"in window,Vp=!!(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),Yi=Object.freeze([]),sr=Object.freeze({});function Wp(e,t,n){return n===void 0&&(n=sr),e.theme!==n.theme&&e.theme||t||n.theme}var Bf=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"]),Qp=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Yp=/(^-|-$)/g;function ec(e){return e.replace(Qp,"-").replace(Yp,"")}var Kp=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Lu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(Kp,"$1-$2")}var Ol,Wn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Uf=function(e){return Wn(5381,e)};function Xp(e){return Lu(Uf(e)>>>0)}function Zp(e){return e.displayName||e.name||"Component"}function zl(e){return typeof e=="string"&&!0}var Gf=typeof Symbol=="function"&&Symbol.for,Hf=Gf?Symbol.for("react.memo"):60115,qp=Gf?Symbol.for("react.forward_ref"):60112,Jp={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},bp={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Vf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},e3=((Ol={})[qp]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ol[Hf]=Vf,Ol);function nc(e){return("type"in(t=e)&&t.type.$$typeof)===Hf?Vf:"$$typeof"in e?e3[e.$$typeof]:Jp;var t}var t3=Object.defineProperty,n3=Object.getOwnPropertyNames,rc=Object.getOwnPropertySymbols,r3=Object.getOwnPropertyDescriptor,o3=Object.getPrototypeOf,oc=Object.prototype;function Wf(e,t,n){if(typeof t!="string"){if(oc){var r=o3(t);r&&r!==oc&&Wf(e,r,n)}var o=n3(t);rc&&(o=o.concat(rc(t)));for(var i=nc(e),l=nc(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var i3=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,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw fo(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var l=o;l=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,l=o;l=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&&(L+="".concat(h,","))}),s+="".concat(g).concat(P,'{content:"').concat(L,'"}').concat(`/*!sc*/
-`)},c=0;c0?".".concat(t):p},c=s.slice();c.push(function(p){p.type===Hi&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(v3,n).replace(r,a))}),l.prefix&&c.push(Gp),c.push(Fp);var d=function(p,v,g,P){v===void 0&&(v=""),g===void 0&&(g=""),P===void 0&&(P="&"),t=P,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var L=p.replace(g3,""),h=jp(g||v?"".concat(g," ").concat(v," { ").concat(L," }"):L);l.namespace&&(h=Kf(h,l.namespace));var f=[];return Ei(h,Bp(c.concat(Up(function(m){return f.push(m)})))),f};return d.hash=s.length?s.reduce(function(p,v){return v.name||fo(15),Wn(p,v.name)},5381).toString():"",d}var w3=new Yf,$u=y3(),Xf=Ve.createContext({shouldForwardProp:void 0,styleSheet:w3,stylis:$u});Xf.Consumer;Ve.createContext(void 0);function uc(){return M.useContext(Xf)}var S3=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=$u);var l=r.name+i.hash;o.hasNameForId(r.id,l)||o.insertRules(r.id,l,i(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,$s(this,function(){throw fo(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=$u),this.name+t.hash},e}(),k3=function(e){return e>="A"&&e<="Z"};function sc(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,l)){var u=r(i,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,u)}o=yn(o,l),this.staticRulesId=l}else{for(var s=Wn(this.baseHash,r.hash),a="",c=0;c>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(a,".".concat(v),void 0,this.componentId)),o=yn(o,v)}}return o},e}(),Jf=Ve.createContext(void 0);Jf.Consumer;var Tl={};function P3(e,t,n){var r=Is(e),o=e,i=!zl(e),l=t.attrs,u=l===void 0?Yi:l,s=t.componentId,a=s===void 0?function(m,w){var x=typeof m!="string"?"sc":ec(m);Tl[x]=(Tl[x]||0)+1;var O="".concat(x,"-").concat(Xp("6.0.8"+x+Tl[x]));return w?"".concat(w,"-").concat(O):O}(t.displayName,t.parentComponentId):s,c=t.displayName;c===void 0&&function(m){return zl(m)?"styled.".concat(m):"Styled(".concat(Zp(m),")")}(e);var d=t.displayName&&t.componentId?"".concat(ec(t.displayName),"-").concat(t.componentId):t.componentId||a,p=r&&o.attrs?o.attrs.concat(u).filter(Boolean):u,v=t.shouldForwardProp;if(r&&o.shouldForwardProp){var g=o.shouldForwardProp;if(t.shouldForwardProp){var P=t.shouldForwardProp;v=function(m,w){return g(m,w)&&P(m,w)}}else v=g}var L=new E3(n,d,r?o.componentStyle:void 0);function h(m,w){return function(x,O,_){var R=x.attrs,Q=x.componentStyle,D=x.defaultProps,ke=x.foldedComponentIds,vt=x.styledComponentId,Ct=x.target,fn=Ve.useContext(Jf),dn=uc(),Et=x.shouldForwardProp||dn.shouldForwardProp,$e=function(_e,Oe,Xe){for(var ge,ze=je(je({},Oe),{className:void 0,theme:Xe}),y=0;y<_e.length;y+=1){var S=ar(ge=_e[y])?ge(ze):ge;for(var C in S)ze[C]=C==="className"?yn(ze[C],S[C]):C==="style"?je(je({},ze[C]),S[C]):S[C]}return Oe.className&&(ze.className=yn(ze.className,Oe.className)),ze}(R,O,Wp(O,fn,D)||sr),z=$e.as||Ct,I={};for(var $ in $e)$e[$]===void 0||$[0]==="$"||$==="as"||$==="theme"||($==="forwardedAs"?I.as=$e.forwardedAs:Et&&!Et($,z)||(I[$]=$e[$]));var W=function(_e,Oe){var Xe=uc(),ge=_e.generateAndInjectStyles(Oe,Xe.styleSheet,Xe.stylis);return ge}(Q,$e),Y=yn(ke,vt);return W&&(Y+=" "+W),$e.className&&(Y+=" "+$e.className),I[zl(z)&&!Bf.has(z)?"class":"className"]=Y,I.ref=_,M.createElement(z,I)}(f,m,w)}var f=Ve.forwardRef(h);return f.attrs=p,f.componentStyle=L,f.shouldForwardProp=v,f.foldedComponentIds=r?yn(o.foldedComponentIds,o.styledComponentId):"",f.styledComponentId=d,f.target=r?o.target:e,Object.defineProperty(f,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(m){this._foldedDefaultProps=r?function(w){for(var x=[],O=1;O(e.FB="facebook",e.DOCKER="docker",e.REACT="react",e.RUST="rust",e.SNAPCHAT="snapchat",e.TELEGRAM="telegram",e.LINUX="linux",e.GITHUB="github",e.REDHAT="redhat",e.PYTHON="python",e.APP_STORE="app_store",e.TIKTOK="tiktok",e.JAVA="java",e.GITLAB="gitlab",e.GOLANG="golang",e.CHROME="chrome",e))(pe||{});const K3=e=>({[pe.FB]:R3,[pe.DOCKER]:T3,[pe.REACT]:A3,[pe.RUST]:B3,[pe.SNAPCHAT]:U3,[pe.TELEGRAM]:G3,[pe.LINUX]:D3,[pe.GITHUB]:L3,[pe.REDHAT]:F3,[pe.PYTHON]:j3,[pe.APP_STORE]:z3,[pe.TIKTOK]:H3,[pe.JAVA]:M3,[pe.GITLAB]:I3,[pe.GOLANG]:$3,[pe.CHROME]:N3})[e],X3=()=>Y3,Nr=86,Z3=8,q3=({iconName:e,isClosed:t,animation:n,bgColor:r,highlightColor:o,iconColor:i,onClick:l})=>{const u=K3(e),s=X3();return j.jsx(nd,{onClick:l,children:j.jsxs(J3,{isClosed:t,children:[j.jsx(b3,{bgColor:r,highlightColor:o,children:j.jsx(dc,{animation:n,children:j.jsx(u,{size:70,color:i})})}),j.jsx(e4,{bgColor:r,highlightColor:o,children:j.jsx(dc,{animation:n,children:j.jsx(s,{size:70,color:i})})})]})})},nd=ht.div`
+`,To=16,xp=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:i,containerClassName:l})=>{let{toasts:u,handlers:s}=Z2(n);return M.createElement("div",{style:{position:"fixed",zIndex:9999,top:To,left:To,right:To,bottom:To,pointerEvents:"none",...i},className:l,onMouseEnter:s.startPause,onMouseLeave:s.endPause},u.map(a=>{let c=a.position||t,d=s.calculateOffset(a,{reverseOrder:e,gutter:r,defaultPosition:t}),p=Sp(c,d);return M.createElement(wp,{id:a.id,key:a.id,onHeightUpdate:s.updateHeight,className:a.visible?kp:"",style:p},a.type==="custom"?xi(a.message,a):o?o(a):M.createElement(yp,{toast:a,position:c}))}))},Cp=Ve,Te=(e=>(e.NOT_STARTED="not_started",e.IN_PROGRESS="in_progress",e.PAUSED="paused",e.DONE="done",e))(Te||{});const Ep=e=>[Te.DONE,Te.NOT_STARTED].includes(e),_p=e=>[Te.PAUSED].includes(e),Pp=e=>[Te.IN_PROGRESS].includes(e),Op=e=>[Te.IN_PROGRESS].includes(e),zp=e=>{const[t,n]=M.useState(e),r=Ep(t)?()=>n(Te.IN_PROGRESS):null,o=_p(t)?()=>n(Te.IN_PROGRESS):null,i=Pp(t)?()=>n(Te.PAUSED):null,l=Op(t)?()=>n(Te.DONE):null;return{isIdle:t===Te.NOT_STARTED,isRunning:t===Te.IN_PROGRESS,isPaused:t===Te.PAUSED,isFinished:t===Te.DONE,startGame:r,resumeGame:o,pauseGame:i,finishGame:l}};var je=function(){return je=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0?me(pr,--ot):0,lr--,se===10&&(lr=1,Vi--),se}function pt(){return se=ot2||Nu(se)>3?"":" "}function Fp(e,t){for(;--t&&pt()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Qi(e,Xo()+(t<6&&kn()==32&&pt()==32))}function Tu(e){for(;pt();)switch(se){case e:return ot;case 34:case 39:e!==34&&e!==39&&Tu(se);break;case 40:e===41&&Tu(e);break;case 92:pt();break}return ot}function Bp(e,t){for(;pt()&&e+se!==47+10;)if(e+se===42+42&&kn()===47)break;return"/*"+Qi(t,ot-1)+"*"+Ts(e===47?e:pt())}function Up(e){for(;!Nu(kn());)pt();return Qi(e,ot)}function Gp(e){return jp(Zo("",null,null,null,[""],e=Dp(e),0,[0],e))}function Zo(e,t,n,r,o,i,l,u,s){for(var a=0,c=0,d=l,p=0,v=0,g=0,_=1,L=1,h=1,f=0,m="",w=o,x=i,O=r,P=m;L;)switch(g=f,f=pt()){case 40:if(g!=108&&me(P,d-1)==58){Ko(P+=A(_l(f),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:P+=_l(f);break;case 9:case 10:case 13:case 32:P+=Ap(g);break;case 92:P+=Fp(Xo()-1,7);continue;case 47:switch(kn()){case 42:case 47:zr(Hp(Bp(pt(),Xo()),t,n,s),s);break;default:P+="/"}break;case 123*_:u[a++]=wt(P)*h;case 125*_:case 59:case 0:switch(f){case 0:case 125:L=0;case 59+c:h==-1&&(P=A(P,/\f/g,"")),v>0&&wt(P)-d&&zr(v>32?ba(P+";",r,n,d-1,s):ba(A(P," ","")+";",r,n,d-2,s),s);break;case 59:P+=";";default:if(zr(O=qa(P,t,n,a,c,o,u,m,w=[],x=[],d,i),i),f===123)if(c===0)Zo(P,t,O,O,w,i,d,u,x);else switch(p===99&&me(P,3)===110?100:p){case 100:case 108:case 109:case 115:Zo(e,O,O,r&&zr(qa(e,O,O,0,0,o,u,m,o,w=[],d,x),x),o,x,d,u,r?w:x);break;default:Zo(P,O,O,O,[""],x,0,u,x)}}a=c=v=0,_=h=1,m=P="",d=l;break;case 58:d=1+wt(P),v=g;default:if(_<1){if(f==123)--_;else if(f==125&&_++==0&&Mp()==125)continue}switch(P+=Ts(f),f*_){case 38:h=c>0?1:(P+="\f",-1);break;case 44:u[a++]=(wt(P)-1)*h,h=1;break;case 64:kn()===45&&(P+=_l(pt())),p=kn(),c=d=wt(m=P+=Up(Xo())),f++;break;case 45:g===45&&wt(P)==2&&(_=0)}}return i}function qa(e,t,n,r,o,i,l,u,s,a,c,d){for(var p=o-1,v=o===0?i:[""],g=Mf(v),_=0,L=0,h=0;_0?v[f]+" "+m:A(m,/&\f/g,v[f])))&&(s[h++]=w);return Wi(e,t,n,o===0?Hi:u,s,a,c,d)}function Hp(e,t,n,r){return Wi(e,t,n,Lf,Ts($p()),ir(e,2,-2),0,r)}function ba(e,t,n,r,o){return Wi(e,t,n,Ns,ir(e,0,r),ir(e,r+1,-1),r,o)}function jf(e,t,n){switch(Lp(e,t)){case 5103:return G+"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 G+e+e;case 4789:return Fr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+Fr+e+q+e+e;case 5936:switch(me(e,t+11)){case 114:return G+e+q+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+q+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+q+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return G+e+q+e+e;case 6165:return G+e+q+"flex-"+e+e;case 5187:return G+e+A(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+q+"flex-$1$2")+e;case 5443:return G+e+q+"flex-item-"+A(e,/flex-|-self/g,"")+(zt(e,/flex-|baseline/)?"":q+"grid-row-"+A(e,/flex-|-self/g,""))+e;case 4675:return G+e+q+"flex-line-pack"+A(e,/align-content|flex-|-self/g,"")+e;case 5548:return G+e+q+A(e,"shrink","negative")+e;case 5292:return G+e+q+A(e,"basis","preferred-size")+e;case 6060:return G+"box-"+A(e,"-grow","")+G+e+q+A(e,"grow","positive")+e;case 4554:return G+A(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4200:if(!zt(e,/flex-|baseline/))return q+"grid-column-align"+ir(e,t)+e;break;case 2592:case 3360:return q+A(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,zt(r.props,/grid-\w+-end/)})?~Ko(e+(n=n[t].value),"span")?e:q+A(e,"-start","")+e+q+"grid-row-span:"+(~Ko(n,"span")?zt(n,/\d+/):+zt(n,/\d+/)-+zt(e,/\d+/))+";":q+A(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return zt(r.props,/grid-\w+-start/)})?e:q+A(A(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,G+"$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(wt(e)-1-t>6)switch(me(e,t+1)){case 109:if(me(e,t+4)!==45)break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Fr+(me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ko(e,"stretch")?jf(A(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return A(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,l,u,s,a){return q+o+":"+i+a+(l?q+o+"-span:"+(u?s:+s-+i)+a:"")+e});case 4949:if(me(e,t+6)===121)return A(e,":",":"+G)+e;break;case 6444:switch(me(e,me(e,14)===45?18:11)){case 120:return A(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+G+(me(e,14)===45?"inline-":"")+"box$3$1"+G+"$2$3$1"+q+"$2box$3")+e;case 100:return A(e,":",":"+q)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return A(e,"scroll-","scroll-snap-")+e}return e}function Ei(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case Ns:e.return=jf(e.value,e.length,n);return;case If:return Ei([Bt(e,{value:A(e.value,"@","@"+G)})],r);case Hi:if(e.length)return Ip(n=e.props,function(o){switch(zt(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ln(Bt(e,{props:[A(o,/:(read-\w+)/,":"+Fr+"$1")]})),Ln(Bt(e,{props:[o]})),zu(e,{props:Ja(n,r)});break;case"::placeholder":Ln(Bt(e,{props:[A(o,/:(plac\w+)/,":"+G+"input-$1")]})),Ln(Bt(e,{props:[A(o,/:(plac\w+)/,":"+Fr+"$1")]})),Ln(Bt(e,{props:[A(o,/:(plac\w+)/,q+"input-$1")]})),Ln(Bt(e,{props:[o]})),zu(e,{props:Ja(n,r)});break}return""})}}var Kp={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},ur=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Rs=typeof window<"u"&&"HTMLElement"in window,Xp=!!(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),Yi=Object.freeze([]),sr=Object.freeze({});function Zp(e,t,n){return n===void 0&&(n=sr),e.theme!==n.theme&&e.theme||t||n.theme}var Af=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"]),Jp=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,qp=/(^-|-$)/g;function ec(e){return e.replace(Jp,"-").replace(qp,"")}var bp=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ru(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(bp,"$1-$2")}var Pl,Wn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ff=function(e){return Wn(5381,e)};function e3(e){return Ru(Ff(e)>>>0)}function t3(e){return e.displayName||e.name||"Component"}function Ol(e){return typeof e=="string"&&!0}var Bf=typeof Symbol=="function"&&Symbol.for,Uf=Bf?Symbol.for("react.memo"):60115,n3=Bf?Symbol.for("react.forward_ref"):60112,r3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Gf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i3=((Pl={})[n3]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pl[Uf]=Gf,Pl);function nc(e){return("type"in(t=e)&&t.type.$$typeof)===Uf?Gf:"$$typeof"in e?i3[e.$$typeof]:r3;var t}var l3=Object.defineProperty,u3=Object.getOwnPropertyNames,rc=Object.getOwnPropertySymbols,s3=Object.getOwnPropertyDescriptor,a3=Object.getPrototypeOf,oc=Object.prototype;function Hf(e,t,n){if(typeof t!="string"){if(oc){var r=a3(t);r&&r!==oc&&Hf(e,r,n)}var o=u3(t);rc&&(o=o.concat(rc(t)));for(var i=nc(e),l=nc(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var c3=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,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw fo(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var l=o;l=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,l=o;l=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&&(L+="".concat(h,","))}),s+="".concat(g).concat(_,'{content:"').concat(L,'"}').concat(`/*!sc*/
+`)},c=0;c0?".".concat(t):p},c=s.slice();c.push(function(p){p.type===Hi&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(k3,n).replace(r,a))}),l.prefix&&c.push(Yp),c.push(Vp);var d=function(p,v,g,_){v===void 0&&(v=""),g===void 0&&(g=""),_===void 0&&(_="&"),t=_,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var L=p.replace(x3,""),h=Gp(g||v?"".concat(g," ").concat(v," { ").concat(L," }"):L);l.namespace&&(h=Qf(h,l.namespace));var f=[];return Ei(h,Wp(c.concat(Qp(function(m){return f.push(m)})))),f};return d.hash=s.length?s.reduce(function(p,v){return v.name||fo(15),Wn(p,v.name)},5381).toString():"",d}var E3=new Wf,Iu=C3(),Yf=Ae.createContext({shouldForwardProp:void 0,styleSheet:E3,stylis:Iu});Yf.Consumer;Ae.createContext(void 0);function uc(){return M.useContext(Yf)}var _3=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Iu);var l=r.name+i.hash;o.hasNameForId(r.id,l)||o.insertRules(r.id,l,i(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Is(this,function(){throw fo(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Iu),this.name+t.hash},e}(),P3=function(e){return e>="A"&&e<="Z"};function sc(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,l)){var u=r(i,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,u)}o=yn(o,l),this.staticRulesId=l}else{for(var s=Wn(this.baseHash,r.hash),a="",c=0;c>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(a,".".concat(v),void 0,this.componentId)),o=yn(o,v)}}return o},e}(),Zf=Ae.createContext(void 0);Zf.Consumer;var Nl={};function T3(e,t,n){var r=Ls(e),o=e,i=!Ol(e),l=t.attrs,u=l===void 0?Yi:l,s=t.componentId,a=s===void 0?function(m,w){var x=typeof m!="string"?"sc":ec(m);Nl[x]=(Nl[x]||0)+1;var O="".concat(x,"-").concat(e3("6.0.8"+x+Nl[x]));return w?"".concat(w,"-").concat(O):O}(t.displayName,t.parentComponentId):s,c=t.displayName;c===void 0&&function(m){return Ol(m)?"styled.".concat(m):"Styled(".concat(t3(m),")")}(e);var d=t.displayName&&t.componentId?"".concat(ec(t.displayName),"-").concat(t.componentId):t.componentId||a,p=r&&o.attrs?o.attrs.concat(u).filter(Boolean):u,v=t.shouldForwardProp;if(r&&o.shouldForwardProp){var g=o.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;v=function(m,w){return g(m,w)&&_(m,w)}}else v=g}var L=new N3(n,d,r?o.componentStyle:void 0);function h(m,w){return function(x,O,P){var R=x.attrs,Q=x.componentStyle,j=x.defaultProps,ke=x.foldedComponentIds,vt=x.styledComponentId,Ct=x.target,fn=Ae.useContext(Zf),dn=uc(),Et=x.shouldForwardProp||dn.shouldForwardProp,$e=function(Pe,Oe,Ze){for(var ge,ze=je(je({},Oe),{className:void 0,theme:Ze}),y=0;y(e.FB="facebook",e.DOCKER="docker",e.REACT="react",e.RUST="rust",e.SNAPCHAT="snapchat",e.TELEGRAM="telegram",e.LINUX="linux",e.GITHUB="github",e.REDHAT="redhat",e.PYTHON="python",e.APP_STORE="app_store",e.TIKTOK="tiktok",e.JAVA="java",e.GITLAB="gitlab",e.GOLANG="golang",e.CHROME="chrome",e))(pe||{});const b3=e=>({[pe.FB]:D3,[pe.DOCKER]:M3,[pe.REACT]:H3,[pe.RUST]:W3,[pe.SNAPCHAT]:Q3,[pe.TELEGRAM]:Y3,[pe.LINUX]:U3,[pe.GITHUB]:j3,[pe.REDHAT]:V3,[pe.PYTHON]:G3,[pe.APP_STORE]:I3,[pe.TIKTOK]:K3,[pe.JAVA]:B3,[pe.GITLAB]:A3,[pe.GOLANG]:F3,[pe.CHROME]:$3})[e],e4=()=>q3,Nr=112,t4=86,n4=72,r4=8,o4=({iconName:e,isClosed:t,animation:n,bgColor:r,highlightColor:o,iconColor:i,onClick:l})=>{const u=b3(e),s=e4();return D.jsx(ed,{onClick:l,children:D.jsxs(i4,{isClosed:t,children:[D.jsx(l4,{bgColor:r,highlightColor:o,children:D.jsx(dc,{animation:n,children:D.jsx(u,{size:t4,color:i})})}),D.jsx(u4,{bgColor:r,highlightColor:o,children:D.jsx(dc,{animation:n,children:D.jsx(s,{size:n4,color:i})})})]})})},ed=Xe.div`
width: ${Nr}px;
height: ${Nr}px;
max-width: ${Nr}px;
max-height: ${Nr}px;
- border-radius: ${Z3}px;
+ border-radius: ${r4}px;
cursor: pointer;
background: transparent;
-`,J3=ht.div`
+`,i4=Xe.div`
position: relative;
width: 100%;
height: 100%;
@@ -237,7 +237,7 @@ to {
${e=>e.isClosed&&oo`
transform: rotateY(180deg);
`}
-`,dc=ht.span`
+`,dc=Xe.span`
${e=>e.animation==="shake"&&oo`
animation: shake 0.2s;
`}
@@ -280,7 +280,7 @@ to {
transform: translate(1px, -2px);
}
}
-`,rd=ht(nd)`
+`,td=Xe(ed)`
position: absolute;
display: flex;
align-items: center;
@@ -290,36 +290,56 @@ to {
background: ${e=>e.bgColor};
+ &:hover {
+ filter: brightness(.95);
+ }
+ transition: filter .2s ease-in-out;
+
${e=>e.highlightColor&&oo`
box-shadow: 0px 0px 6px 0 ${e.highlightColor};
`}
-`,b3=ht(rd)``,e4=ht(rd)`
+`,l4=Xe(td)``,u4=Xe(td)`
transform: rotateY(180deg);
outline: 1px dashed #44444488;
-`;var Te=(e=>(e.NOT_STARTED="not_started",e.IN_PROGRESS="in_progress",e.PAUSED="paused",e.DONE="done",e))(Te||{}),ne=(e=>(e.CLOSED="closed",e.PICKED="picked",e.GUESSED="guessed",e.GUESSED_WRONG="guessed_wrong",e.SOLVED="solved",e))(ne||{});const dt={cardsForSingleGuess:2,cardsAmount:16,autoSolveLastGuess:!0,wrongGuessDisplayMs:700,iconsToChooseFrom:Object.values(pe),initialGameState:Te.NOT_STARTED,autoRestartOnFinish:!0,autoRestartDelay:2500,displayDebugStats:!1},t4=({cardsAmount:e,cardsForSingleGuess:t})=>{const n=t>0&&e>=t,r=e%t===0;return n&&r},n4=({cardsAmount:e,cardsForSingleGuess:t,iconsToChooseFrom:n})=>t>0&&n.length>=e/t,r4=e=>e!==null,pc=e=>{if(!e.length)return null;const t=Math.floor(Math.random()*e.length),n=e[t];return e.splice(t,1),n},o4=(e,t=n=>n)=>e.every(n=>t(n)===t(e[0]));var It=(e=>(e[e.DEV=0]="DEV",e[e.INFO=1]="INFO",e[e.ERROR=2]="ERROR",e))(It||{});const i4=[It.DEV],l4={[It.DEV]:W3,[It.INFO]:Q3,[It.ERROR]:V3},Ki=({icon:e,level:t,requirePrefix:n=!1})=>{const r=i4.includes(t),o=e??l4[t],i=l=>{r||Cp(l,{icon:j.jsx(o,{})})};return n?(l,u)=>i(`${l}: ${u}`):i},u4=({level:e,prefix:t,icon:n})=>{const r=Ki({icon:n,requirePrefix:!0,level:e});return o=>{r(t,o)}};Ki({level:It.INFO});Ki({level:It.DEV});Ki({level:It.ERROR});const s4=e=>{if(!t4(e))throw new Error("Invalid amount of cards to play guessing game!");if(!n4(e))throw new Error("Not enough icons to choose from!");const t=[...e.iconsToChooseFrom],n=Array.from({length:e.cardsAmount}).map(()=>null),r=Array.from({length:e.cardsAmount}).map((l,u)=>u);let o=r.length,i=1;for(;o;){const l=pc(t);Array.from({length:e.cardsForSingleGuess}).map(()=>pc(r)).forEach(s=>{const a={icon:l,state:ne.CLOSED,id:i++};n[s]=a}),o-=e.cardsForSingleGuess}return n.filter(r4)},a4=e=>{const[t,n]=M.useState(e),r=M.useCallback(a=>t.find(c=>c.id===a),[t]),o=M.useCallback(a=>{n(c=>c.map(d=>d.id===a.id?a:d))},[]),i=M.useMemo(()=>t.filter(a=>a.state===ne.PICKED),[t]),l=M.useMemo(()=>t.filter(a=>a.state!==ne.GUESSED),[t]),u=M.useCallback(a=>{const c=r(a),d=i.length===dt.cardsForSingleGuess;c.state===ne.CLOSED&&!d&&o({...c,state:ne.PICKED})},[i,o,r]),s=M.useCallback(()=>{n(e())},[e]);return{allCards:t,pickCard:u,pickedCards:i,nonGuessedCards:l,updateCard:o,reset:s}},c4=e=>[Te.DONE,Te.NOT_STARTED].includes(e),f4=e=>[Te.PAUSED].includes(e),d4=e=>[Te.IN_PROGRESS].includes(e),p4=e=>[Te.IN_PROGRESS].includes(e),h4=e=>{const[t,n]=M.useState(e),r=c4(t)?()=>n(Te.IN_PROGRESS):null,o=f4(t)?()=>n(Te.IN_PROGRESS):null,i=d4(t)?()=>n(Te.PAUSED):null,l=p4(t)?()=>n(Te.DONE):null;return{isIdle:t===Te.NOT_STARTED,isRunning:t===Te.IN_PROGRESS,isPaused:t===Te.PAUSED,isFinished:t===Te.DONE,startGame:r,resumeGame:o,pauseGame:i,finishGame:l}},od=Ve.createContext({}),m4=({children:e})=>{const t=h4(dt.initialGameState),n=a4(()=>s4(dt));return j.jsx(od.Provider,{value:{state:t,cards:n},children:e})},mt=()=>M.useContext(od),Rl=()=>{},Ll=u4({level:It.DEV,prefix:"useGameEvents"}),Ms=({onGuessed:e=Rl,onLastGuessLeft:t=Rl,onGameFinished:n=Rl})=>{const{cards:{pickedCards:r,nonGuessedCards:o},state:{isFinished:i}}=mt();M.useEffect(()=>{if(r.length===dt.cardsForSingleGuess){const u=o4(r,s=>s.icon);Ll("onGuessed"),e(u,r)}},[r,e]),M.useEffect(()=>{i&&(Ll("onGameFinished"),n())},[i,n]),M.useEffect(()=>{dt.autoSolveLastGuess&&o.length===dt.cardsForSingleGuess&&(Ll("onLastGuessLeft"),t(o))},[o,t])},v4=e=>e?ne.GUESSED:ne.GUESSED_WRONG,g4=()=>{w4(),x4(),S4(),k4(),y4()},y4=()=>{const{cards:{reset:e},state:{startGame:t}}=mt();Ms({onGameFinished:()=>{dt.autoRestartOnFinish&&setTimeout(()=>{t&&(t(),e())},dt.autoRestartDelay)}})},w4=()=>{const{cards:{updateCard:e}}=mt();Ms({onGuessed:(t,n)=>{const r=v4(t);n.forEach(o=>{e({...o,state:r})}),t||setTimeout(()=>{n.forEach(o=>{e({...o,state:ne.CLOSED})})},dt.wrongGuessDisplayMs)}})},S4=()=>{const{state:{isIdle:e,startGame:t}}=mt();M.useEffect(()=>{e&&t&&t()},[e,t])},k4=()=>{const{cards:{nonGuessedCards:e},state:{finishGame:t}}=mt();M.useEffect(()=>{e.length===0&&t&&t()},[e,t])},x4=()=>{const{cards:{updateCard:e}}=mt();Ms({onLastGuessLeft:t=>{dt.autoSolveLastGuess&&t.forEach(n=>{e({...n,state:ne.GUESSED})})}})},C4=e=>e===!0?"TRUE":"FALSE",E4=e=>e===!0?"lightgreen":"red",Lo=({children:e})=>{const t=C4(e),n=E4(e);return j.jsx(P4,{color:n,children:t})},P4=ht.span`
+`,tt={cardsForSingleGuess:2,cardsAmount:16,autoSolveLastGuess:!0,maxColumns:4,wrongGuessDisplayMs:700,iconsToChooseFrom:Object.values(pe),initialGameState:Te.NOT_STARTED,autoRestartOnFinish:!0,autoRestartDelay:2500,displayDebugStats:!1},s4=()=>{const[e,t]=M.useState(tt),n=M.useCallback(r=>{t(o=>({...o,...r}))},[]);return{config:e,updateConfigWith:n}},a4=e=>t=>null,c4=a4();Xe.div``;Xe.p`
+ display: flex;
+ gap: 8px;
+ padding: 8px 32px;
+ align-items: center;
+
+ cursor: pointer;
+
+ border-radius: 8px;
+ border: 1px dashed #ffffff33;
+
+ &:hover {
+ filter: brightness(0.9);
+ }
+`;var ne=(e=>(e.CLOSED="closed",e.PICKED="picked",e.GUESSED="guessed",e.GUESSED_WRONG="guessed_wrong",e.SOLVED="solved",e))(ne||{});const f4=({cardsAmount:e,cardsForSingleGuess:t})=>{const n=t>0&&e>=t,r=e%t===0;return n&&r},d4=({cardsAmount:e,cardsForSingleGuess:t,iconsToChooseFrom:n})=>t>0&&n.length>=e/t,p4=e=>e!==null,pc=e=>{if(!e.length)return null;const t=Math.floor(Math.random()*e.length),n=e[t];return e.splice(t,1),n},h4=(e,t=n=>n)=>e.every(n=>t(n)===t(e[0]));var rn=(e=>(e[e.DEV=0]="DEV",e[e.INFO=1]="INFO",e[e.ERROR=2]="ERROR",e))(rn||{});const m4=[rn.DEV],v4={[rn.DEV]:Z3,[rn.INFO]:J3,[rn.ERROR]:X3},$s=({icon:e,level:t,requirePrefix:n=!1})=>{const r=m4.includes(t),o=e??v4[t],i=l=>{r||Cp(l,{icon:D.jsx(o,{})})};return n?(l,u)=>i(`${l}: ${u}`):i};$s({level:rn.INFO});$s({level:rn.DEV});$s({level:rn.ERROR});const g4=e=>{if(!f4(e))throw new Error("Invalid amount of cards to play guessing game!");if(!d4(e))throw new Error("Not enough icons to choose from!");const t=[...e.iconsToChooseFrom],n=Array.from({length:e.cardsAmount}).map(()=>null),r=Array.from({length:e.cardsAmount}).map((l,u)=>u);let o=r.length,i=1;for(;o;){const l=pc(t);Array.from({length:e.cardsForSingleGuess}).map(()=>pc(r)).forEach(s=>{const a={icon:l,state:ne.CLOSED,id:i++};n[s]=a}),o-=e.cardsForSingleGuess}return n.filter(p4)},y4=e=>{const[t,n]=M.useState(e),r=M.useCallback(a=>t.find(c=>c.id===a),[t]),o=M.useCallback(a=>{n(c=>c.map(d=>d.id===a.id?a:d))},[]),i=M.useMemo(()=>t.filter(a=>a.state===ne.PICKED),[t]),l=M.useMemo(()=>t.filter(a=>a.state!==ne.GUESSED),[t]),u=M.useCallback(a=>{const c=r(a),d=i.length===tt.cardsForSingleGuess;c.state===ne.CLOSED&&!d&&o({...c,state:ne.PICKED})},[i,o,r]),s=M.useCallback(()=>{n(e())},[e]);return{allCards:t,pickCard:u,pickedCards:i,nonGuessedCards:l,updateCard:o,reset:s}},nd=Ae.createContext({}),w4=({children:e})=>{const t=s4(),n=zp(tt.initialGameState),r=y4(()=>g4(tt));return D.jsx(nd.Provider,{value:{state:n,cards:r,config:t},children:e})},mt=()=>M.useContext(nd),Tl=()=>{},Ms=({onGuessed:e=Tl,onLastGuessLeft:t=Tl,onGameFinished:n=Tl})=>{const{cards:{pickedCards:r,nonGuessedCards:o},state:{isFinished:i}}=mt();M.useEffect(()=>{if(r.length===tt.cardsForSingleGuess){const u=h4(r,s=>s.icon);e(u,r)}},[r,e]),M.useEffect(()=>{i&&n()},[i,n]),M.useEffect(()=>{tt.autoSolveLastGuess&&o.length===tt.cardsForSingleGuess&&t(o)},[o,t])},S4=e=>e?ne.GUESSED:ne.GUESSED_WRONG,k4=()=>{C4(),P4(),E4(),_4(),x4()},x4=()=>{const{cards:{reset:e},state:{startGame:t}}=mt();Ms({onGameFinished:()=>{tt.autoRestartOnFinish&&setTimeout(()=>{t&&(t(),e())},tt.autoRestartDelay)}})},C4=()=>{const{cards:{updateCard:e}}=mt();Ms({onGuessed:(t,n)=>{const r=S4(t);n.forEach(o=>{e({...o,state:r})}),t||setTimeout(()=>{n.forEach(o=>{e({...o,state:ne.CLOSED})})},tt.wrongGuessDisplayMs)}})},E4=()=>{const{state:{isIdle:e,startGame:t}}=mt();M.useEffect(()=>{e&&t&&t()},[e,t])},_4=()=>{const{cards:{nonGuessedCards:e},state:{finishGame:t}}=mt();M.useEffect(()=>{e.length===0&&t&&t()},[e,t])},P4=()=>{const{cards:{updateCard:e}}=mt();Ms({onLastGuessLeft:t=>{tt.autoSolveLastGuess&&t.forEach(n=>{e({...n,state:ne.GUESSED})})}})},O4=e=>e===!0?"TRUE":"FALSE",z4=e=>e===!0?"lightgreen":"red",Lo=({children:e})=>{const t=O4(e),n=z4(e);return D.jsx(N4,{color:n,children:t})},N4=Xe.span`
color: ${e=>e.color};
-`,_4=()=>{const{state:{isIdle:e,isPaused:t,isRunning:n,isFinished:r}}=mt();return j.jsxs("div",{children:[j.jsx("h2",{children:"Debug info"}),j.jsxs("p",{children:["isIdle? ",j.jsx(Lo,{children:e})]}),j.jsxs("p",{children:["isPaused? ",j.jsx(Lo,{children:t})]}),j.jsxs("p",{children:["isRunning? ",j.jsx(Lo,{children:n})]}),j.jsxs("p",{children:["isFinished? ",j.jsx(Lo,{children:r})]})]})},O4=e=>({[ne.CLOSED]:"grey",[ne.PICKED]:"lightblue",[ne.GUESSED]:"lightgreen",[ne.GUESSED_WRONG]:"indianred",[ne.SOLVED]:"white"})[e],z4=e=>({[ne.CLOSED]:void 0,[ne.PICKED]:"#ffffff44",[ne.GUESSED]:void 0,[ne.GUESSED_WRONG]:void 0,[ne.SOLVED]:void 0})[e],N4=e=>{switch(e){case ne.GUESSED:return"shake";case ne.GUESSED_WRONG:return"infinite-shake";default:return}},T4=e=>{const{cards:{allCards:t}}=mt();return t.find(n=>n.id===e)},R4=e=>{const{cards:{pickCard:t}}=mt(),n=T4(e),r=n.state===ne.CLOSED,o=M.useMemo(()=>N4(n.state),[n.state]);return{pickCard:()=>t(n.id),icon:n.icon,state:n.state,isCardClosed:r,cardAnimation:o}},L4=({id:e})=>{const{icon:t,state:n,pickCard:r,isCardClosed:o,cardAnimation:i}=R4(e);return j.jsx(q3,{iconName:t,onClick:r,isClosed:o,bgColor:O4(n),highlightColor:z4(n),animation:i,iconColor:"black"})},I4="#b993d6",$4="linear-gradient(to right, #b993d6, #8ca6db)",hc=16,mc=16,M4=({maxColumns:e,children:t})=>j.jsx(D4,{maxColumns:e,children:t}),D4=ht.div`
+`,T4=()=>{const{state:{isIdle:e,isPaused:t,isRunning:n,isFinished:r}}=mt();return D.jsxs("div",{children:[D.jsx("h2",{children:"Debug info"}),D.jsxs("p",{children:["isIdle? ",D.jsx(Lo,{children:e})]}),D.jsxs("p",{children:["isPaused? ",D.jsx(Lo,{children:t})]}),D.jsxs("p",{children:["isRunning? ",D.jsx(Lo,{children:n})]}),D.jsxs("p",{children:["isFinished? ",D.jsx(Lo,{children:r})]})]})},R4=e=>({[ne.CLOSED]:"grey",[ne.PICKED]:"lightblue",[ne.GUESSED]:"lightgreen",[ne.GUESSED_WRONG]:"indianred",[ne.SOLVED]:"white"})[e],L4=e=>({[ne.CLOSED]:void 0,[ne.PICKED]:"#ffffff88",[ne.GUESSED]:"#00ff0055",[ne.GUESSED_WRONG]:"#ff000055",[ne.SOLVED]:void 0})[e],I4=e=>{switch(e){case ne.GUESSED:return"shake";case ne.GUESSED_WRONG:return"infinite-shake";default:return}},$4=e=>{const{cards:{allCards:t}}=mt();return t.find(n=>n.id===e)},M4=e=>{const{cards:{pickCard:t}}=mt(),n=$4(e),r=n.state===ne.CLOSED,o=M.useMemo(()=>I4(n.state),[n.state]);return{pickCard:()=>t(n.id),icon:n.icon,state:n.state,isCardClosed:r,cardAnimation:o}},D4=({id:e})=>{const{icon:t,state:n,pickCard:r,isCardClosed:o,cardAnimation:i}=M4(e);return D.jsx(o4,{iconName:t,onClick:r,isClosed:o,bgColor:R4(n),highlightColor:L4(n),animation:i,iconColor:"black"})},Rl={BG:"#b993d6",BG_GRADIENT:["#b993d6","#8ca6db"],BORDER:"#ffffff22"},rd=16,od=16,j4=({maxColumns:e})=>{const t=Nr*e,n=rd*(e-1),r=od*2;return t+n+r},A4=({maxColumns:e,children:t})=>D.jsx(F4,{maxColumns:e,children:t}),F4=Xe.div`
display: flex;
- max-width: ${e=>Nr*e.maxColumns+hc*(e.maxColumns-1)+mc*2}px;
+ max-width: ${j4}px;
align: auto;
flex-wrap: wrap;
- gap: ${hc}px;
- padding: ${mc}px;
+ gap: ${rd}px;
+ padding: ${od}px;
border-radius: 8px;
+ box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.4);
- background: ${I4};
- background: ${$4};
- outline: 2px solid #ffffff22;
-`,j4=()=>{const{cards:{allCards:e}}=mt();return j.jsx(M4,{maxColumns:4,children:e.map(t=>j.jsx(L4,{id:t.id},t.id))})};var id={exports:{}};(function(e,t){(function(n,r){e.exports=r(M)})(typeof self<"u"?self:ud,function(n){return function(r){var o={};function i(l){if(o[l])return o[l].exports;var u=o[l]={i:l,l:!1,exports:{}};return r[l].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=r,i.c=o,i.d=function(l,u,s){i.o(l,u)||Object.defineProperty(l,u,{enumerable:!0,get:s})},i.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,u){if(1&u&&(l=i(l)),8&u||4&u&&typeof l=="object"&&l&&l.__esModule)return l;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:l}),2&u&&typeof l!="string")for(var a in l)i.d(s,a,(function(c){return l[c]}).bind(null,a));return s},i.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(u,"a",u),u},i.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},i.p="",i(i.s=2)}([function(r,o){r.exports=n},function(r,o,i){var l={linear:function(u,s,a,c){return(a-s)*u/c+s},easeInQuad:function(u,s,a,c){return(a-s)*(u/=c)*u+s},easeOutQuad:function(u,s,a,c){return-(a-s)*(u/=c)*(u-2)+s},easeInOutQuad:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u+s:-d/2*(--u*(u-2)-1)+s},easeInCubic:function(u,s,a,c){return(a-s)*(u/=c)*u*u+s},easeOutCubic:function(u,s,a,c){return(a-s)*((u=u/c-1)*u*u+1)+s},easeInOutCubic:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u*u+s:d/2*((u-=2)*u*u+2)+s},easeInQuart:function(u,s,a,c){return(a-s)*(u/=c)*u*u*u+s},easeOutQuart:function(u,s,a,c){return-(a-s)*((u=u/c-1)*u*u*u-1)+s},easeInOutQuart:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u*u*u+s:-d/2*((u-=2)*u*u*u-2)+s},easeInQuint:function(u,s,a,c){return(a-s)*(u/=c)*u*u*u*u+s},easeOutQuint:function(u,s,a,c){return(a-s)*((u=u/c-1)*u*u*u*u+1)+s},easeInOutQuint:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u*u*u*u+s:d/2*((u-=2)*u*u*u*u+2)+s},easeInSine:function(u,s,a,c){var d=a-s;return-d*Math.cos(u/c*(Math.PI/2))+d+s},easeOutSine:function(u,s,a,c){return(a-s)*Math.sin(u/c*(Math.PI/2))+s},easeInOutSine:function(u,s,a,c){return-(a-s)/2*(Math.cos(Math.PI*u/c)-1)+s},easeInExpo:function(u,s,a,c){return u==0?s:(a-s)*Math.pow(2,10*(u/c-1))+s},easeOutExpo:function(u,s,a,c){var d=a-s;return u==c?s+d:d*(1-Math.pow(2,-10*u/c))+s},easeInOutExpo:function(u,s,a,c){var d=a-s;return u===0?s:u===c?s+d:(u/=c/2)<1?d/2*Math.pow(2,10*(u-1))+s:d/2*(2-Math.pow(2,-10*--u))+s},easeInCirc:function(u,s,a,c){return-(a-s)*(Math.sqrt(1-(u/=c)*u)-1)+s},easeOutCirc:function(u,s,a,c){return(a-s)*Math.sqrt(1-(u=u/c-1)*u)+s},easeInOutCirc:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?-d/2*(Math.sqrt(1-u*u)-1)+s:d/2*(Math.sqrt(1-(u-=2)*u)+1)+s},easeInElastic:function(u,s,a,c){var d,p,v,g=a-s;return v=1.70158,u===0?s:(u/=c)==1?s+g:((p=0)||(p=.3*c),(d=g)=1&&this.rotationDirection===u.Positive?this.rotationDirection=u.Negative:this.rotateY<=-1&&this.rotationDirection===u.Negative&&(this.rotationDirection=u.Positive);var Z=.1*this.rotationDirection;if(this.rotateY+=Z,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=X,this.context.lineCap="round",this.context.lineWidth=2,ie&&typeof ie=="function")ie.call(this,this.context);else switch(this.shape){case l.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case l.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case l.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&v(S.prototype,C),y}();function L(y,S,C){return S in y?Object.defineProperty(y,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[S]=C,y}var h=function y(S,C){var k=this;(function(T,F){if(!(T instanceof F))throw new TypeError("Cannot call a class as a function")})(this,y),L(this,"canvas",void 0),L(this,"context",void 0),L(this,"getOptions",void 0),L(this,"x",0),L(this,"y",0),L(this,"w",0),L(this,"h",0),L(this,"lastNumberOfPieces",0),L(this,"tweenInitTime",Date.now()),L(this,"particles",[]),L(this,"particlesGenerated",0),L(this,"removeParticleAt",function(T){k.particles.splice(T,1)}),L(this,"getParticle",function(){var T=p(k.x,k.w+k.x),F=p(k.y,k.h+k.y);return new P(k.context,k.getOptions,T,F)}),L(this,"animate",function(){var T=k.canvas,F=k.context,X=k.particlesGenerated,ie=k.lastNumberOfPieces,Z=k.getOptions(),Pt=Z.run,rt=Z.recycle,ot=Z.numberOfPieces,Xi=Z.debug,Zi=Z.tweenFunction,qi=Z.tweenDuration;if(!Pt)return!1;var Ji=k.particles.length,hr=rt?Ji:X,bi=Date.now();if(hrqi?qi:Math.max(0,bi-Ds),hr,ot,qi),js=Math.round(ld-hr),As=0;AsT.height||mr.y<-100||mr.x>T.width+100||mr.x<-100)&&(rt&&hr<=ot?k.particles[Fs]=k.getParticle():k.removeParticleAt(Fs))}),Ji>0||hr0&&Z.call(T,T),T._options.run=!1)}),x(this,"reset",function(){T.generator&&T.generator.particlesGenerated>0&&(T.generator.particlesGenerated=0,T.generator.particles=[],T.generator.lastNumberOfPieces=0)}),x(this,"stop",function(){T.options={run:!1},T.rafId&&(cancelAnimationFrame(T.rafId),T.rafId=void 0)}),this.canvas=k;var F=this.canvas.getContext("2d");if(!F)throw new Error("Could not get canvas context");this.context=F,this.generator=new h(this.canvas,function(){return T.options}),this.options=H,this.update()}var S,C;return S=y,(C=[{key:"options",get:function(){return this._options},set:function(k){var H=this._options&&this._options.run,T=this._options&&this._options.recycle;this.setOptionsWithDefaults(k),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof k.recycle=="boolean"&&k.recycle&&T===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof k.run=="boolean"&&k.run&&H===!1&&this.update()}}])&&w(S.prototype,C),y}();function R(y){return function(S){if(Array.isArray(S))return dn(S)}(y)||function(S){if(typeof Symbol<"u"&&Symbol.iterator in Object(S))return Array.from(S)}(y)||fn(y)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Q(y){return(Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(y)}function D(){return(D=Object.assign||function(y){for(var S=1;S"u"||!(Symbol.iterator in Object(C)))){var H=[],T=!0,F=!1,X=void 0;try{for(var ie,Z=C[Symbol.iterator]();!(T=(ie=Z.next()).done)&&(H.push(ie.value),!k||H.length!==k);T=!0);}catch(Pt){F=!0,X=Pt}finally{try{T||Z.return==null||Z.return()}finally{if(F)throw X}}return H}}(y,S)||fn(y,S)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function fn(y,S){if(y){if(typeof y=="string")return dn(y,S);var C=Object.prototype.toString.call(y).slice(8,-1);return C==="Object"&&y.constructor&&(C=y.constructor.name),C==="Map"||C==="Set"?Array.from(y):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?dn(y,S):void 0}}function dn(y,S){(S==null||S>y.length)&&(S=y.length);for(var C=0,k=new Array(S);C"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var C,k=Y(y);if(S){var H=Y(this).constructor;C=Reflect.construct(k,arguments,H)}else C=k.apply(this,arguments);return $(this,C)}}function $(y,S){return!S||Q(S)!=="object"&&typeof S!="function"?W(y):S}function W(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function Y(y){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)})(y)}function _e(y,S,C){return S in y?Object.defineProperty(y,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[S]=C,y}var Oe=a.a.createRef(),Xe=function(y){(function(T,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(F&&F.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),F&&z(T,F)})(H,y);var S,C,k=I(H);function H(T){var F;Et(this,H);for(var X=arguments.length,ie=new Array(X>1?X-1:0),Z=1;Zj.jsx(F4,{width:e,height:t,recycle:!n}),U4=()=>{const{state:{isFinished:e}}=mt();return j.jsxs(j.Fragment,{children:[j.jsxs(H4,{children:[j.jsx(G4,{children:"Guessing game"}),j.jsx(j4,{})]}),dt.displayDebugStats&&j.jsx(_4,{}),e&&j.jsx(B4,{})]})},G4=ht.h1`
+ background: ${Rl.BG};
+ background: linear-gradient(to right, ${Rl.BG_GRADIENT.join(", ")});
+ outline: 2px solid ${Rl.BORDER};
+`,B4=()=>{const{cards:{allCards:e},config:{config:t}}=mt();return D.jsx(A4,{maxColumns:t.maxColumns,children:e.map(n=>D.jsx(D4,{id:n.id},n.id))})};var id={exports:{}};(function(e,t){(function(n,r){e.exports=r(M)})(typeof self<"u"?self:ud,function(n){return function(r){var o={};function i(l){if(o[l])return o[l].exports;var u=o[l]={i:l,l:!1,exports:{}};return r[l].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=r,i.c=o,i.d=function(l,u,s){i.o(l,u)||Object.defineProperty(l,u,{enumerable:!0,get:s})},i.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,u){if(1&u&&(l=i(l)),8&u||4&u&&typeof l=="object"&&l&&l.__esModule)return l;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:l}),2&u&&typeof l!="string")for(var a in l)i.d(s,a,(function(c){return l[c]}).bind(null,a));return s},i.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(u,"a",u),u},i.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},i.p="",i(i.s=2)}([function(r,o){r.exports=n},function(r,o,i){var l={linear:function(u,s,a,c){return(a-s)*u/c+s},easeInQuad:function(u,s,a,c){return(a-s)*(u/=c)*u+s},easeOutQuad:function(u,s,a,c){return-(a-s)*(u/=c)*(u-2)+s},easeInOutQuad:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u+s:-d/2*(--u*(u-2)-1)+s},easeInCubic:function(u,s,a,c){return(a-s)*(u/=c)*u*u+s},easeOutCubic:function(u,s,a,c){return(a-s)*((u=u/c-1)*u*u+1)+s},easeInOutCubic:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u*u+s:d/2*((u-=2)*u*u+2)+s},easeInQuart:function(u,s,a,c){return(a-s)*(u/=c)*u*u*u+s},easeOutQuart:function(u,s,a,c){return-(a-s)*((u=u/c-1)*u*u*u-1)+s},easeInOutQuart:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u*u*u+s:-d/2*((u-=2)*u*u*u-2)+s},easeInQuint:function(u,s,a,c){return(a-s)*(u/=c)*u*u*u*u+s},easeOutQuint:function(u,s,a,c){return(a-s)*((u=u/c-1)*u*u*u*u+1)+s},easeInOutQuint:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?d/2*u*u*u*u*u+s:d/2*((u-=2)*u*u*u*u+2)+s},easeInSine:function(u,s,a,c){var d=a-s;return-d*Math.cos(u/c*(Math.PI/2))+d+s},easeOutSine:function(u,s,a,c){return(a-s)*Math.sin(u/c*(Math.PI/2))+s},easeInOutSine:function(u,s,a,c){return-(a-s)/2*(Math.cos(Math.PI*u/c)-1)+s},easeInExpo:function(u,s,a,c){return u==0?s:(a-s)*Math.pow(2,10*(u/c-1))+s},easeOutExpo:function(u,s,a,c){var d=a-s;return u==c?s+d:d*(1-Math.pow(2,-10*u/c))+s},easeInOutExpo:function(u,s,a,c){var d=a-s;return u===0?s:u===c?s+d:(u/=c/2)<1?d/2*Math.pow(2,10*(u-1))+s:d/2*(2-Math.pow(2,-10*--u))+s},easeInCirc:function(u,s,a,c){return-(a-s)*(Math.sqrt(1-(u/=c)*u)-1)+s},easeOutCirc:function(u,s,a,c){return(a-s)*Math.sqrt(1-(u=u/c-1)*u)+s},easeInOutCirc:function(u,s,a,c){var d=a-s;return(u/=c/2)<1?-d/2*(Math.sqrt(1-u*u)-1)+s:d/2*(Math.sqrt(1-(u-=2)*u)+1)+s},easeInElastic:function(u,s,a,c){var d,p,v,g=a-s;return v=1.70158,u===0?s:(u/=c)==1?s+g:((p=0)||(p=.3*c),(d=g)=1&&this.rotationDirection===u.Positive?this.rotationDirection=u.Negative:this.rotateY<=-1&&this.rotationDirection===u.Negative&&(this.rotationDirection=u.Positive);var Z=.1*this.rotationDirection;if(this.rotateY+=Z,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=X,this.context.lineCap="round",this.context.lineWidth=2,ie&&typeof ie=="function")ie.call(this,this.context);else switch(this.shape){case l.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case l.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case l.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&v(S.prototype,C),y}();function L(y,S,C){return S in y?Object.defineProperty(y,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[S]=C,y}var h=function y(S,C){var k=this;(function(T,F){if(!(T instanceof F))throw new TypeError("Cannot call a class as a function")})(this,y),L(this,"canvas",void 0),L(this,"context",void 0),L(this,"getOptions",void 0),L(this,"x",0),L(this,"y",0),L(this,"w",0),L(this,"h",0),L(this,"lastNumberOfPieces",0),L(this,"tweenInitTime",Date.now()),L(this,"particles",[]),L(this,"particlesGenerated",0),L(this,"removeParticleAt",function(T){k.particles.splice(T,1)}),L(this,"getParticle",function(){var T=p(k.x,k.w+k.x),F=p(k.y,k.h+k.y);return new _(k.context,k.getOptions,T,F)}),L(this,"animate",function(){var T=k.canvas,F=k.context,X=k.particlesGenerated,ie=k.lastNumberOfPieces,Z=k.getOptions(),_t=Z.run,it=Z.recycle,lt=Z.numberOfPieces,Ki=Z.debug,Xi=Z.tweenFunction,Zi=Z.tweenDuration;if(!_t)return!1;var Ji=k.particles.length,hr=it?Ji:X,qi=Date.now();if(hrZi?Zi:Math.max(0,qi-Ds),hr,lt,Zi),js=Math.round(ld-hr),As=0;AsT.height||mr.y<-100||mr.x>T.width+100||mr.x<-100)&&(it&&hr<=lt?k.particles[Fs]=k.getParticle():k.removeParticleAt(Fs))}),Ji>0||hr0&&Z.call(T,T),T._options.run=!1)}),x(this,"reset",function(){T.generator&&T.generator.particlesGenerated>0&&(T.generator.particlesGenerated=0,T.generator.particles=[],T.generator.lastNumberOfPieces=0)}),x(this,"stop",function(){T.options={run:!1},T.rafId&&(cancelAnimationFrame(T.rafId),T.rafId=void 0)}),this.canvas=k;var F=this.canvas.getContext("2d");if(!F)throw new Error("Could not get canvas context");this.context=F,this.generator=new h(this.canvas,function(){return T.options}),this.options=H,this.update()}var S,C;return S=y,(C=[{key:"options",get:function(){return this._options},set:function(k){var H=this._options&&this._options.run,T=this._options&&this._options.recycle;this.setOptionsWithDefaults(k),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof k.recycle=="boolean"&&k.recycle&&T===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof k.run=="boolean"&&k.run&&H===!1&&this.update()}}])&&w(S.prototype,C),y}();function R(y){return function(S){if(Array.isArray(S))return dn(S)}(y)||function(S){if(typeof Symbol<"u"&&Symbol.iterator in Object(S))return Array.from(S)}(y)||fn(y)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Q(y){return(Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(y)}function j(){return(j=Object.assign||function(y){for(var S=1;S"u"||!(Symbol.iterator in Object(C)))){var H=[],T=!0,F=!1,X=void 0;try{for(var ie,Z=C[Symbol.iterator]();!(T=(ie=Z.next()).done)&&(H.push(ie.value),!k||H.length!==k);T=!0);}catch(_t){F=!0,X=_t}finally{try{T||Z.return==null||Z.return()}finally{if(F)throw X}}return H}}(y,S)||fn(y,S)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function fn(y,S){if(y){if(typeof y=="string")return dn(y,S);var C=Object.prototype.toString.call(y).slice(8,-1);return C==="Object"&&y.constructor&&(C=y.constructor.name),C==="Map"||C==="Set"?Array.from(y):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?dn(y,S):void 0}}function dn(y,S){(S==null||S>y.length)&&(S=y.length);for(var C=0,k=new Array(S);C"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var C,k=Y(y);if(S){var H=Y(this).constructor;C=Reflect.construct(k,arguments,H)}else C=k.apply(this,arguments);return $(this,C)}}function $(y,S){return!S||Q(S)!=="object"&&typeof S!="function"?W(y):S}function W(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function Y(y){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)})(y)}function Pe(y,S,C){return S in y?Object.defineProperty(y,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[S]=C,y}var Oe=a.a.createRef(),Ze=function(y){(function(T,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(F&&F.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),F&&z(T,F)})(H,y);var S,C,k=I(H);function H(T){var F;Et(this,H);for(var X=arguments.length,ie=new Array(X>1?X-1:0),Z=1;ZD.jsx(G4,{width:e,height:t,recycle:!n}),V4=()=>{const{state:{isFinished:e}}=mt();return D.jsxs(D.Fragment,{children:[D.jsxs(Q4,{children:[D.jsx(W4,{children:"Guessing game"}),D.jsx(B4,{}),D.jsx(c4,{})]}),tt.displayDebugStats&&D.jsx(T4,{}),e&&D.jsx(H4,{})]})},W4=Xe.h1`
color: #b993d6;
-`,H4=ht.div`
+`,Q4=Xe.div`
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
-`,V4=()=>j.jsx(m4,{children:j.jsx(W4,{})}),W4=()=>(g4(),j.jsx(U4,{}));function Q4(){return j.jsxs(j.Fragment,{children:[j.jsx(V4,{}),j.jsx(xp,{position:"bottom-right"})]})}Il.createRoot(document.getElementById("root")).render(j.jsx(Q4,{}));
+`,Y4=()=>D.jsx(w4,{children:D.jsx(K4,{})}),K4=Ae.memo(()=>(k4(),D.jsx(V4,{})));function X4(){return D.jsxs(D.Fragment,{children:[D.jsx(Y4,{}),D.jsx(xp,{position:"bottom-right"})]})}Ll.createRoot(document.getElementById("root")).render(D.jsx(X4,{}));
diff --git a/index.html b/index.html
index 5d6e6ac..a857884 100644
--- a/index.html
+++ b/index.html
@@ -5,8 +5,8 @@
Vite + React + TS
-
-
+
+