From 7334b8075ccf8ff60f9561606c302701a68aeef9 Mon Sep 17 00:00:00 2001 From: ovice Date: Tue, 25 Jun 2024 23:06:39 +0100 Subject: [PATCH] Updates --- jigsaw-puzzle/assets/index-BUisXJgp.js | 155 ++++++++++++++++++++++++ jigsaw-puzzle/assets/index-D6ALmUEr.css | 1 + jigsaw-puzzle/favicon.ico | Bin 0 -> 15086 bytes jigsaw-puzzle/index.html | 16 +++ 4 files changed, 172 insertions(+) create mode 100644 jigsaw-puzzle/assets/index-BUisXJgp.js create mode 100644 jigsaw-puzzle/assets/index-D6ALmUEr.css create mode 100644 jigsaw-puzzle/favicon.ico create mode 100644 jigsaw-puzzle/index.html diff --git a/jigsaw-puzzle/assets/index-BUisXJgp.js b/jigsaw-puzzle/assets/index-BUisXJgp.js new file mode 100644 index 0000000..4c126fc --- /dev/null +++ b/jigsaw-puzzle/assets/index-BUisXJgp.js @@ -0,0 +1,155 @@ +function Eh(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const 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 zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ph(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function It(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Qf={exports:{}},Qi={},Yf={exports:{}},D={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wo=Symbol.for("react.element"),$h=Symbol.for("react.portal"),Rh=Symbol.for("react.fragment"),Th=Symbol.for("react.strict_mode"),Oh=Symbol.for("react.profiler"),zh=Symbol.for("react.provider"),Ih=Symbol.for("react.context"),Mh=Symbol.for("react.forward_ref"),Nh=Symbol.for("react.suspense"),jh=Symbol.for("react.memo"),Lh=Symbol.for("react.lazy"),Zu=Symbol.iterator;function bh(e){return e===null||typeof e!="object"?null:(e=Zu&&e[Zu]||e["@@iterator"],typeof e=="function"?e:null)}var Xf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qf=Object.assign,Zf={};function yr(e,t,n){this.props=e,this.context=t,this.refs=Zf,this.updater=n||Xf}yr.prototype.isReactComponent={};yr.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")};yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jf(){}Jf.prototype=yr.prototype;function za(e,t,n){this.props=e,this.context=t,this.refs=Zf,this.updater=n||Xf}var Ia=za.prototype=new Jf;Ia.constructor=za;qf(Ia,yr.prototype);Ia.isPureReactComponent=!0;var Ju=Array.isArray,ed=Object.prototype.hasOwnProperty,Ma={current:null},td={key:!0,ref:!0,__self:!0,__source:!0};function nd(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)ed.call(t,r)&&!td.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,me=T[X];if(0>>1;Xo(Yt,A))dto(jn,Yt)?(T[X]=jn,T[dt]=A,X=dt):(T[X]=Yt,T[Me]=A,X=Me);else if(dto(jn,A))T[X]=jn,T[dt]=A,X=dt;else break e}}return b}function o(T,b){var A=T.sortIndex-b.sortIndex;return A!==0?A:T.id-b.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],p=1,m=null,f=3,v=!1,y=!1,g=!1,_=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(T){for(var b=n(u);b!==null;){if(b.callback===null)r(u);else if(b.startTime<=T)r(u),b.sortIndex=b.expirationTime,t(a,b);else break;b=n(u)}}function x(T){if(g=!1,h(T),!y)if(n(a)!==null)y=!0,V(S);else{var b=n(u);b!==null&&pe(x,b.startTime-T)}}function S(T,b){y=!1,g&&(g=!1,d(P),P=-1),v=!0;var A=f;try{for(h(b),m=n(a);m!==null&&(!(m.expirationTime>b)||T&&!N());){var X=m.callback;if(typeof X=="function"){m.callback=null,f=m.priorityLevel;var me=X(m.expirationTime<=b);b=e.unstable_now(),typeof me=="function"?m.callback=me:m===n(a)&&r(a),h(b)}else r(a);m=n(a)}if(m!==null)var Nn=!0;else{var Me=n(u);Me!==null&&pe(x,Me.startTime-b),Nn=!1}return Nn}finally{m=null,f=A,v=!1}}var w=!1,k=null,P=-1,M=5,z=-1;function N(){return!(e.unstable_now()-zT||125X?(T.sortIndex=A,t(u,T),n(a)===null&&T===n(u)&&(g?(d(P),P=-1):g=!0,pe(x,A-X))):(T.sortIndex=me,t(a,T),y||v||(y=!0,V(S))),T},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(T){var b=f;return function(){var A=f;f=b;try{return T.apply(this,arguments)}finally{f=A}}}})(sd);ld.exports=sd;var Qh=ld.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Yh=C,Ye=Qh;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"),Ts=Object.prototype.hasOwnProperty,Xh=/^[: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]*$/,tc={},nc={};function qh(e){return Ts.call(nc,e)?!0:Ts.call(tc,e)?!1:Xh.test(e)?nc[e]=!0:(tc[e]=!0,!1)}function Zh(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 Jh(e,t,n,r){if(t===null||typeof t>"u"||Zh(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 be(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 Pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pe[e]=new be(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pe[t]=new be(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pe[e]=new be(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pe[e]=new be(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){Pe[e]=new be(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pe[e]=new be(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pe[e]=new be(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pe[e]=new be(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pe[e]=new be(e,5,!1,e.toLowerCase(),null,!1,!1)});var ja=/[\-:]([a-z])/g;function La(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(ja,La);Pe[t]=new be(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(ja,La);Pe[t]=new be(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(ja,La);Pe[t]=new be(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pe[e]=new be(e,1,!1,e.toLowerCase(),null,!1,!1)});Pe.xlinkHref=new be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pe[e]=new be(e,1,!1,e.toLowerCase(),null,!0,!0)});function ba(e,t,n,r){var o=Pe.hasOwnProperty(t)?Pe[t]:null;(o!==null?o.type!==0:r||!(2s||o[l]!==i[s]){var a=` +`+o[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{Xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lr(e):""}function e0(e){switch(e.tag){case 5:return Lr(e.type);case 16:return Lr("Lazy");case 13:return Lr("Suspense");case 19:return Lr("SuspenseList");case 0:case 2:case 15:return e=ql(e.type,!1),e;case 11:return e=ql(e.type.render,!1),e;case 1:return e=ql(e.type,!0),e;default:return""}}function Ms(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vn:return"Fragment";case Un:return"Portal";case Os:return"Profiler";case Aa:return"StrictMode";case zs:return"Suspense";case Is:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cd:return(e.displayName||"Context")+".Consumer";case ud:return(e._context.displayName||"Context")+".Provider";case Fa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Da:return t=e.displayName||null,t!==null?t:Ms(e.type)||"Memo";case Zt:t=e._payload,e=e._init;try{return Ms(e(t))}catch{}}return null}function t0(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 Ms(t);case 8:return t===Aa?"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 pn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function n0(e){var t=dd(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 No(e){e._valueTracker||(e._valueTracker=n0(e))}function pd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Si(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 Ns(e,t){var n=t.checked;return oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function oc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pn(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 md(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function js(e,t){md(e,t);var n=pn(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")?Ls(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ls(e,t.type,pn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ic(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 Ls(e,t,n){(t!=="number"||Si(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var br=Array.isArray;function tr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=jo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Br={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},r0=["Webkit","ms","Moz","O"];Object.keys(Br).forEach(function(e){r0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Br[t]=Br[e]})});function vd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Br.hasOwnProperty(e)&&Br[e]?(""+t).trim():t+"px"}function xd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=vd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var o0=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 Fs(e,t){if(t){if(o0[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 Ds(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 Bs=null;function Ba(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ws=null,nr=null,rr=null;function ac(e){if(e=_o(e)){if(typeof Ws!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Ji(t),Ws(e.stateNode,e.type,t))}}function Sd(e){nr?rr?rr.push(e):rr=[e]:nr=e}function wd(){if(nr){var e=nr,t=rr;if(rr=nr=null,ac(e),t)for(e=0;e>>=0,e===0?32:31-(h0(e)/g0|0)|0}var Lo=64,bo=4194304;function Ar(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _i(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 s=l&~o;s!==0?r=Ar(s):(i&=l,i!==0&&(r=Ar(i)))}else l=n&~o,l!==0?r=Ar(l):i!==0&&(r=Ar(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 ko(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function S0(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=Ur),yc=" ",vc=!1;function Bd(e,t){switch(e){case"keyup":return Q0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hn=!1;function X0(e,t){switch(e){case"compositionend":return Wd(t);case"keypress":return t.which!==32?null:(vc=!0,yc);case"textInput":return e=t.data,e===yc&&vc?null:e;default:return null}}function q0(e,t){if(Hn)return e==="compositionend"||!Ya&&Bd(e,t)?(e=Fd(),oi=Ka=nn=null,Hn=!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=kc(n)}}function Kd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gd(){for(var e=window,t=Si();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Si(e.document)}return t}function Xa(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 lg(e){var t=Gd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Kd(n.ownerDocument.documentElement,n)){if(r!==null&&Xa(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=Cc(n,i);var l=Cc(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,Kn=null,Qs=null,Hr=null,Ys=!1;function _c(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ys||Kn==null||Kn!==Si(r)||(r=Kn,"selectionStart"in r&&Xa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hr&&io(Hr,r)||(Hr=r,r=$i(Qs,"onSelect"),0Yn||(e.current=ta[Yn],ta[Yn]=null,Yn--)}function q(e,t){Yn++,ta[Yn]=e.current,e.current=t}var mn={},Ie=gn(mn),De=gn(!1),Pn=mn;function cr(e,t){var n=e.type.contextTypes;if(!n)return mn;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 Ti(){J(De),J(Ie)}function zc(e,t,n){if(Ie.current!==mn)throw Error(E(168));q(Ie,t),q(De,n)}function np(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,t0(e)||"Unknown",o));return oe({},n,r)}function Oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mn,Pn=Ie.current,q(Ie,e),q(De,De.current),!0}function Ic(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=np(e,t,Pn),r.__reactInternalMemoizedMergedChildContext=e,J(De),J(Ie),q(Ie,e)):J(De),q(De,n)}var Lt=null,el=!1,fs=!1;function rp(e){Lt===null?Lt=[e]:Lt.push(e)}function vg(e){el=!0,rp(e)}function yn(){if(!fs&&Lt!==null){fs=!0;var e=0,t=G;try{var n=Lt;for(G=1;e>=l,o-=l,At=1<<32-yt(t)+o|n<P?(M=k,k=null):M=k.sibling;var z=f(d,k,h[P],x);if(z===null){k===null&&(k=M);break}e&&k&&z.alternate===null&&t(d,k),c=i(z,c,P),w===null?S=z:w.sibling=z,w=z,k=M}if(P===h.length)return n(d,k),te&&vn(d,P),S;if(k===null){for(;PP?(M=k,k=null):M=k.sibling;var N=f(d,k,z.value,x);if(N===null){k===null&&(k=M);break}e&&k&&N.alternate===null&&t(d,k),c=i(N,c,P),w===null?S=N:w.sibling=N,w=N,k=M}if(z.done)return n(d,k),te&&vn(d,P),S;if(k===null){for(;!z.done;P++,z=h.next())z=m(d,z.value,x),z!==null&&(c=i(z,c,P),w===null?S=z:w.sibling=z,w=z);return te&&vn(d,P),S}for(k=r(d,k);!z.done;P++,z=h.next())z=v(k,d,P,z.value,x),z!==null&&(e&&z.alternate!==null&&k.delete(z.key===null?P:z.key),c=i(z,c,P),w===null?S=z:w.sibling=z,w=z);return e&&k.forEach(function(L){return t(d,L)}),te&&vn(d,P),S}function _(d,c,h,x){if(typeof h=="object"&&h!==null&&h.type===Vn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Mo:e:{for(var S=h.key,w=c;w!==null;){if(w.key===S){if(S=h.type,S===Vn){if(w.tag===7){n(d,w.sibling),c=o(w,h.props.children),c.return=d,d=c;break e}}else if(w.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Zt&&jc(S)===w.type){n(d,w.sibling),c=o(w,h.props),c.ref=zr(d,w,h),c.return=d,d=c;break e}n(d,w);break}else t(d,w);w=w.sibling}h.type===Vn?(c=En(h.props.children,d.mode,x,h.key),c.return=d,d=c):(x=di(h.type,h.key,h.props,null,d.mode,x),x.ref=zr(d,c,h),x.return=d,d=x)}return l(d);case Un:e:{for(w=h.key;c!==null;){if(c.key===w)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(d,c.sibling),c=o(c,h.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=xs(h,d.mode,x),c.return=d,d=c}return l(d);case Zt:return w=h._init,_(d,c,w(h._payload),x)}if(br(h))return y(d,c,h,x);if(Pr(h))return g(d,c,h,x);Vo(d,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(d,c.sibling),c=o(c,h),c.return=d,d=c):(n(d,c),c=vs(h,d.mode,x),c.return=d,d=c),l(d)):n(d,c)}return _}var dr=sp(!0),ap=sp(!1),Mi=gn(null),Ni=null,Zn=null,eu=null;function tu(){eu=Zn=Ni=null}function nu(e){var t=Mi.current;J(Mi),e._currentValue=t}function oa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ir(e,t){Ni=e,eu=Zn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Fe=!0),e.firstContext=null)}function st(e){var t=e._currentValue;if(eu!==e)if(e={context:e,memoizedValue:t,next:null},Zn===null){if(Ni===null)throw Error(E(308));Zn=e,Ni.dependencies={lanes:0,firstContext:e}}else Zn=Zn.next=e;return t}var wn=null;function ru(e){wn===null?wn=[e]:wn.push(e)}function up(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ru(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ht(e,r)}function Ht(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Jt=!1;function ou(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function un(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ht(e,n)}return o=r.interleaved,o===null?(t.next=t,ru(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ht(e,n)}function li(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ua(e,n)}}function Lc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ji(e,t,n,r){var o=e.updateQueue;Jt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?i=u:l.next=u,l=a;var p=e.alternate;p!==null&&(p=p.updateQueue,s=p.lastBaseUpdate,s!==l&&(s===null?p.firstBaseUpdate=u:s.next=u,p.lastBaseUpdate=a))}if(i!==null){var m=o.baseState;l=0,p=u=a=null,s=i;do{var f=s.lane,v=s.eventTime;if((r&f)===f){p!==null&&(p=p.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,g=s;switch(f=t,v=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){m=y.call(v,m,f);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,f=typeof y=="function"?y.call(v,m,f):y,f==null)break e;m=oe({},m,f);break e;case 2:Jt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else v={eventTime:v,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},p===null?(u=p=v,a=m):p=p.next=v,l|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(p===null&&(a=m),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Tn|=l,e.lanes=l,e.memoizedState=m}}function bc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ps.transition;ps.transition={};try{e(!1),t()}finally{G=n,ps.transition=r}}function $p(){return at().memoizedState}function kg(e,t,n){var r=fn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Rp(e))Tp(t,n);else if(n=up(e,t,n,r),n!==null){var o=je();vt(n,e,r,o),Op(n,t,r)}}function Cg(e,t,n){var r=fn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Rp(e))Tp(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,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,xt(s,l)){var a=t.interleaved;a===null?(o.next=o,ru(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=up(e,t,o,r),n!==null&&(o=je(),vt(n,e,r,o),Op(n,t,r))}}function Rp(e){var t=e.alternate;return e===re||t!==null&&t===re}function Tp(e,t){Kr=bi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Op(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ua(e,n)}}var Ai={readContext:st,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useInsertionEffect:$e,useLayoutEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useMutableSource:$e,useSyncExternalStore:$e,useId:$e,unstable_isNewReconciler:!1},_g={readContext:st,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:Fc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ai(4194308,4,kp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ai(4194308,4,e,t)},useInsertionEffect:function(e,t){return ai(4,2,e,t)},useMemo:function(e,t){var n=_t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_t();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=kg.bind(null,re,e),[r.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:Ac,useDebugValue:du,useDeferredValue:function(e){return _t().memoizedState=e},useTransition:function(){var e=Ac(!1),t=e[0];return e=wg.bind(null,e[1]),_t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=re,o=_t();if(te){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),we===null)throw Error(E(349));Rn&30||mp(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Fc(gp.bind(null,r,i,e),[e]),r.flags|=2048,mo(9,hp.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_t(),t=we.identifierPrefix;if(te){var n=Ft,r=At;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fo++,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[$t]=t,e[ao]=r,Dp(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ds(n,r),n){case"dialog":Z("cancel",e),Z("close",e),o=r;break;case"iframe":case"object":case"embed":Z("load",e),o=r;break;case"video":case"audio":for(o=0;ohr&&(t.flags|=128,r=!0,Ir(i,!1),t.lanes=4194304)}else{if(!r)if(e=Li(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ir(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!te)return Re(t),null}else 2*ce()-i.renderingStartTime>hr&&n!==1073741824&&(t.flags|=128,r=!0,Ir(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=ce(),t.sibling=null,n=ne.current,q(ne,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return vu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ve&1073741824&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Ig(e,t){switch(Za(t),t.tag){case 1:return Be(t.type)&&Ti(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pr(),J(De),J(Ie),su(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return lu(t),null;case 13:if(J(ne),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));fr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return J(ne),null;case 4:return pr(),null;case 10:return nu(t.type._context),null;case 22:case 23:return vu(),null;case 24:return null;default:return null}}var Ko=!1,ze=!1,Mg=typeof WeakSet=="function"?WeakSet:Set,I=null;function Jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){se(e,t,r)}else n.current=null}function pa(e,t,n){try{n()}catch(r){se(e,t,r)}}var Xc=!1;function Ng(e,t){if(Xs=Ei,e=Gd(),Xa(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,s=-1,a=-1,u=0,p=0,m=e,f=null;t:for(;;){for(var v;m!==n||o!==0&&m.nodeType!==3||(s=l+o),m!==i||r!==0&&m.nodeType!==3||(a=l+r),m.nodeType===3&&(l+=m.nodeValue.length),(v=m.firstChild)!==null;)f=m,m=v;for(;;){if(m===e)break t;if(f===n&&++u===o&&(s=l),f===i&&++p===r&&(a=l),(v=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=v}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(qs={focusedElem:e,selectionRange:n},Ei=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,_=y.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?g:mt(t.type,g),_);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(x){se(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return y=Xc,Xc=!1,y}function Gr(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&&pa(t,n,i)}o=o.next}while(o!==r)}}function rl(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 ma(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 Up(e){var t=e.alternate;t!==null&&(e.alternate=null,Up(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$t],delete t[ao],delete t[ea],delete t[gg],delete t[yg])),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 Vp(e){return e.tag===5||e.tag===3||e.tag===4}function qc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vp(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 ha(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=Ri));else if(r!==4&&(e=e.child,e!==null))for(ha(e,t,n),e=e.sibling;e!==null;)ha(e,t,n),e=e.sibling}function ga(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(ga(e,t,n),e=e.sibling;e!==null;)ga(e,t,n),e=e.sibling}var Ce=null,ht=!1;function Xt(e,t,n){for(n=n.child;n!==null;)Hp(e,t,n),n=n.sibling}function Hp(e,t,n){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(Yi,n)}catch{}switch(n.tag){case 5:ze||Jn(n,t);case 6:var r=Ce,o=ht;Ce=null,Xt(e,t,n),Ce=r,ht=o,Ce!==null&&(ht?(e=Ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ce.removeChild(n.stateNode));break;case 18:Ce!==null&&(ht?(e=Ce,n=n.stateNode,e.nodeType===8?cs(e.parentNode,n):e.nodeType===1&&cs(e,n),ro(e)):cs(Ce,n.stateNode));break;case 4:r=Ce,o=ht,Ce=n.stateNode.containerInfo,ht=!0,Xt(e,t,n),Ce=r,ht=o;break;case 0:case 11:case 14:case 15:if(!ze&&(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)&&pa(n,t,l),o=o.next}while(o!==r)}Xt(e,t,n);break;case 1:if(!ze&&(Jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){se(n,t,s)}Xt(e,t,n);break;case 21:Xt(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,Xt(e,t,n),ze=r):Xt(e,t,n);break;default:Xt(e,t,n)}}function Zc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Mg),t.forEach(function(r){var o=Ug.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Lg(r/1960))-r,10e?16:e,rn===null)var r=!1;else{if(e=rn,rn=null,Bi=0,W&6)throw Error(E(331));var o=W;for(W|=4,I=e.current;I!==null;){var i=I,l=i.child;if(I.flags&16){var s=i.deletions;if(s!==null){for(var a=0;ace()-gu?_n(e,0):hu|=n),We(e,t)}function Jp(e,t){t===0&&(e.mode&1?(t=bo,bo<<=1,!(bo&130023424)&&(bo=4194304)):t=1);var n=je();e=Ht(e,t),e!==null&&(ko(e,t,n),We(e,n))}function Wg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jp(e,n)}function Ug(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),Jp(e,n)}var em;em=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||De.current)Fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Fe=!1,Og(e,t,n);Fe=!!(e.flags&131072)}else Fe=!1,te&&t.flags&1048576&&op(t,Ii,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ui(e,t),e=t.pendingProps;var o=cr(t,Ie.current);ir(t,n),o=uu(null,t,r,e,o,n);var i=cu();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,Oi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ou(t),o.updater=nl,t.stateNode=o,o._reactInternals=t,la(t,r,e,n),t=ua(null,t,r,!0,i,n)):(t.tag=0,te&&i&&qa(t),Ne(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ui(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Hg(r),e=mt(r,e),o){case 0:t=aa(null,t,r,e,n);break e;case 1:t=Gc(null,t,r,e,n);break e;case 11:t=Hc(null,t,r,e,n);break e;case 14:t=Kc(null,t,r,mt(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:mt(r,o),aa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Gc(e,t,r,o,n);case 3:e:{if(bp(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,o=i.element,cp(e,t),ji(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=mr(Error(E(423)),t),t=Qc(e,t,r,n,o);break e}else if(r!==o){o=mr(Error(E(424)),t),t=Qc(e,t,r,n,o);break e}else for(Ke=an(t.stateNode.containerInfo.firstChild),Ge=t,te=!0,gt=null,n=ap(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fr(),r===o){t=Kt(e,t,n);break e}Ne(e,t,r,n)}t=t.child}return t;case 5:return fp(t),e===null&&ra(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Zs(r,o)?l=null:i!==null&&Zs(r,i)&&(t.flags|=32),Lp(e,t),Ne(e,t,l,n),t.child;case 6:return e===null&&ra(t),null;case 13:return Ap(e,t,n);case 4:return iu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=dr(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:mt(r,o),Hc(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,q(Mi,r._currentValue),r._currentValue=l,i!==null)if(xt(i.value,l)){if(i.children===o.children&&!De.current){t=Kt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Wt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?a.next=a:(a.next=p.next,p.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),oa(i.return,n,t),s.lanes|=n;break}a=a.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,s=l.alternate,s!==null&&(s.lanes|=n),oa(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,ir(t,n),o=st(o),r=r(o),t.flags|=1,Ne(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),Kc(e,t,r,o,n);case 15:return Np(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),ui(e,t),t.tag=1,Be(r)?(e=!0,Oi(t)):e=!1,ir(t,n),zp(t,r,o),la(t,r,o,n),ua(null,t,r,!0,e,n);case 19:return Fp(e,t,n);case 22:return jp(e,t,n)}throw Error(E(156,t.tag))};function tm(e,t){return Rd(e,t)}function Vg(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 ot(e,t,n,r){return new Vg(e,t,n,r)}function Su(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hg(e){if(typeof e=="function")return Su(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Fa)return 11;if(e===Da)return 14}return 2}function dn(e,t){var n=e.alternate;return n===null?(n=ot(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 di(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Su(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Vn:return En(n.children,o,i,t);case Aa:l=8,o|=8;break;case Os:return e=ot(12,n,t,o|2),e.elementType=Os,e.lanes=i,e;case zs:return e=ot(13,n,t,o),e.elementType=zs,e.lanes=i,e;case Is:return e=ot(19,n,t,o),e.elementType=Is,e.lanes=i,e;case fd:return il(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ud:l=10;break e;case cd:l=9;break e;case Fa:l=11;break e;case Da:l=14;break e;case Zt:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=ot(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function En(e,t,n,r){return e=ot(7,e,r,t),e.lanes=n,e}function il(e,t,n,r){return e=ot(22,e,r,t),e.elementType=fd,e.lanes=n,e.stateNode={isHidden:!1},e}function vs(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function xs(e,t,n){return t=ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Kg(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=Jl(0),this.expirationTimes=Jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function wu(e,t,n,r,o,i,l,s,a){return e=new Kg(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ot(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ou(i),e}function Gg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(im)}catch(e){console.error(e)}}im(),id.exports=Xe;var Zg=id.exports,lm,sf=Zg;lm=sf.createRoot,sf.hydrateRoot;var sm={},cl={},Vi=zt&&zt.__assign||function(){return Vi=Object.assign||function(e){for(var t,n=1,r=arguments.length;nn?n:e},uf=.028,ny=function(e){var t=e.imageSrc,n=e.rows,r=n===void 0?3:n,o=e.columns,i=o===void 0?4:o,l=e.onSolved,s=l===void 0?function(){}:l;if(!t)return null;var a=(0,Te.useState)(),u=a[0],p=a[1],m=(0,Te.useState)(),f=m[0],v=m[1],y=(0,Te.useState)(),g=y[0],_=y[1],d=(0,Te.useState)(),c=d[0],h=d[1],x=(0,Te.useRef)(),S=(0,Te.useRef)(),w=(0,Te.useRef)(),k=(0,Te.useCallback)(function(R){v({width:R.width,height:R.height}),g&&h(g.width/R.width*R.height),p(Array.from(Array(r*i).keys()).map(function(j){return{correctPosition:j,tileHeight:R.height/r,tileWidth:R.width/i,tileOffsetX:j%i*(R.width/i),tileOffsetY:Math.floor(j/i)*(R.height/r),currentPosXPerc:Math.random()*(1-1/r),currentPosYPerc:Math.random()*(1-1/i),solved:!1}}))},[r,i]),P=(0,Te.useCallback)(function(R){var j,U=(j=R.find(function(V){return V.contentRect}))===null||j===void 0?void 0:j.contentRect;U&&(_({width:U.width,height:U.height}),f&&h(U.width/f.width*f.height))},[_,f]),M=(0,Te.useCallback)(function(R){if(R){x.current=R;var j=new ResizeObserver(P);j.observe(R),S.current=j,_({width:R.offsetWidth,height:R.offsetHeight}),f&&h(R.offsetWidth/f.width*f.height)}},[_,f,x,S]);(0,Te.useEffect)(function(){var R=new Image;R.onload=function(){return k(R)},R.src=t},[t,r,i]);var z=(0,Te.useCallback)(function(R,j){var U,V;if(!R.solved){j.type==="touchstart"&&document.documentElement.style.setProperty("overflow","hidden");var pe={x:(U=j.pageX)!==null&&U!==void 0?U:j.touches[0].pageX,y:(V=j.pageY)!==null&&V!==void 0?V:j.touches[0].pageY};w.current={tile:R,elem:j.target,mouseOffsetX:pe.x-j.target.getBoundingClientRect().x,mouseOffsetY:pe.y-j.target.getBoundingClientRect().y},j.target.classList.add("jigsaw-puzzle__piece--dragging")}},[w]),N=(0,Te.useCallback)(function(R){var j,U;if(w.current){R.stopPropagation(),R.preventDefault();var V={x:(j=R.pageX)!==null&&j!==void 0?j:R.touches[0].pageX,y:(U=R.pageY)!==null&&U!==void 0?U:R.touches[0].pageY},pe={x:Yo(V.x-x.current.getBoundingClientRect().left-w.current.mouseOffsetX,0,g.width-w.current.elem.offsetWidth),y:Yo(V.y-x.current.getBoundingClientRect().top-w.current.mouseOffsetY,0,g.height-w.current.elem.offsetHeight)};w.current.elem.style.setProperty("left","".concat(pe.x,"px")),w.current.elem.style.setProperty("top","".concat(pe.y,"px"))}},[w,g]),L=(0,Te.useCallback)(function(R){var j;if(w.current){R.type==="touchend"&&document.documentElement.style.removeProperty("overflow"),(j=w.current)===null||j===void 0||j.elem.classList.remove("jigsaw-puzzle__piece--dragging");var U={x:Yo(w.current.elem.offsetLeft/g.width,0,1),y:Yo(w.current.elem.offsetTop/g.height,0,1)},V=w.current.tile,pe={x:V.correctPosition%i/i,y:Math.floor(V.correctPosition/i)/r},T=Math.abs(pe.x-U.x)<=uf&&Math.abs(pe.y-U.y)<=uf;p(function(b){var A=af(af([],b.filter(function(X){return X.correctPosition!==V.correctPosition}),!0),[Vi(Vi({},V),{currentPosXPerc:T?pe.x:U.x,currentPosYPerc:T?pe.y:U.y,solved:T})],!1);return A.every(function(X){return X.solved})&&s(),A}),w.current=void 0}},[w,p,g,s]);return Te.default.createElement("div",{ref:M,onTouchMove:N,onMouseMove:N,onTouchEnd:L,onMouseUp:L,onTouchCancel:L,onMouseLeave:L,className:"jigsaw-puzzle",style:{height:c?"".concat(c,"px"):void 0},onDragEnter:function(R){R.stopPropagation(),R.preventDefault()},onDragOver:function(R){R.stopPropagation(),R.preventDefault()}},u&&g&&f&&u.map(function(R){return Te.default.createElement("div",{draggable:!1,onMouseDown:function(j){return z(R,j)},onTouchStart:function(j){return z(R,j)},key:R.correctPosition,className:"jigsaw-puzzle__piece ".concat(R.solved?" jigsaw-puzzle__piece--solved":""," "),style:{position:"absolute",height:"".concat(1/r*100,"%"),width:"".concat(1/i*100,"%"),backgroundImage:"url(".concat(t,")"),backgroundSize:"".concat(g.width,"px ").concat(g.height,"px"),backgroundPositionX:"".concat(R.correctPosition%i/(i-1)*100,"%"),backgroundPositionY:"".concat(Math.floor(R.correctPosition/i)/(r-1)*100,"%"),left:"".concat(R.currentPosXPerc*g.width,"px"),top:"".concat(R.currentPosYPerc*g.height,"px")}})}))};cl.JigsawPuzzle=ny;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.JigsawPuzzle=void 0;var t=cl;Object.defineProperty(e,"JigsawPuzzle",{enumerable:!0,get:function(){return t.JigsawPuzzle}})})(sm);const go={black:"#000",white:"#fff"},bn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},An={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Fn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Dn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Bn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Nr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ry={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function yo(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=0)continue;n[r]=e[r]}return n}function um(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var ly=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,sy=um(function(e){return ly.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function ay(e){if(e.sheet)return e.sheet;for(var t=0;t0?_e(Sr,--Ue):0,gr--,he===10&&(gr=1,dl--),he}function Qe(){return he=Ue2||xo(he)>3?"":" "}function wy(e,t){for(;--t&&Qe()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return Po(e,pi()+(t<6&&Ot()==32&&Qe()==32))}function ka(e){for(;Qe();)switch(he){case e:return Ue;case 34:case 39:e!==34&&e!==39&&ka(he);break;case 40:e===41&&ka(e);break;case 92:Qe();break}return Ue}function ky(e,t){for(;Qe()&&e+he!==57;)if(e+he===84&&Ot()===47)break;return"/*"+Po(t,Ue-1)+"*"+fl(e===47?e:Qe())}function Cy(e){for(;!xo(Ot());)Qe();return Po(e,Ue)}function _y(e){return hm(hi("",null,null,null,[""],e=mm(e),0,[0],e))}function hi(e,t,n,r,o,i,l,s,a){for(var u=0,p=0,m=l,f=0,v=0,y=0,g=1,_=1,d=1,c=0,h="",x=o,S=i,w=r,k=h;_;)switch(y=c,c=Qe()){case 40:if(y!=108&&_e(k,m-1)==58){wa(k+=K(mi(c),"&","&\f"),"&\f")!=-1&&(d=-1);break}case 34:case 39:case 91:k+=mi(c);break;case 9:case 10:case 13:case 32:k+=Sy(y);break;case 92:k+=wy(pi()-1,7);continue;case 47:switch(Ot()){case 42:case 47:Xo(Ey(ky(Qe(),pi()),t,n),a);break;default:k+="/"}break;case 123*g:s[u++]=Et(k)*d;case 125*g:case 59:case 0:switch(c){case 0:case 125:_=0;case 59+p:d==-1&&(k=K(k,/\f/g,"")),v>0&&Et(k)-m&&Xo(v>32?ff(k+";",r,n,m-1):ff(K(k," ","")+";",r,n,m-2),a);break;case 59:k+=";";default:if(Xo(w=cf(k,t,n,u,p,o,s,h,x=[],S=[],m),i),c===123)if(p===0)hi(k,t,w,w,x,i,m,s,S);else switch(f===99&&_e(k,3)===110?100:f){case 100:case 108:case 109:case 115:hi(e,w,w,r&&Xo(cf(e,w,w,0,0,o,s,h,o,x=[],m),S),o,S,m,s,r?x:S);break;default:hi(k,w,w,w,[""],S,0,s,S)}}u=p=v=0,g=d=1,h=k="",m=l;break;case 58:m=1+Et(k),v=y;default:if(g<1){if(c==123)--g;else if(c==125&&g++==0&&xy()==125)continue}switch(k+=fl(c),c*g){case 38:d=p>0?1:(k+="\f",-1);break;case 44:s[u++]=(Et(k)-1)*d,d=1;break;case 64:Ot()===45&&(k+=mi(Qe())),f=Ot(),p=m=Et(h=k+=Cy(pi())),c++;break;case 45:y===45&&Et(k)==2&&(g=0)}}return i}function cf(e,t,n,r,o,i,l,s,a,u,p){for(var m=o-1,f=o===0?i:[""],v=$u(f),y=0,g=0,_=0;y0?f[d]+" "+c:K(c,/&\f/g,f[d])))&&(a[_++]=h);return pl(e,t,n,o===0?Eu:s,a,u,p)}function Ey(e,t,n){return pl(e,t,n,cm,fl(vy()),vo(e,2,-2),0)}function ff(e,t,n,r){return pl(e,t,n,Pu,vo(e,0,r),vo(e,r+1,-1),r)}function sr(e,t){for(var n="",r=$u(e),o=0;o6)switch(_e(e,t+1)){case 109:if(_e(e,t+4)!==45)break;case 102:return K(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Hi+(_e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~wa(e,"stretch")?gm(K(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_e(e,t+1)!==115)break;case 6444:switch(_e(e,Et(e)-3-(~wa(e,"!important")&&10))){case 107:return K(e,":",":"+H)+e;case 101:return K(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(_e(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+Oe+"$2box$3")+e}break;case 5936:switch(_e(e,t+11)){case 114:return H+e+Oe+K(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+Oe+K(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+Oe+K(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+Oe+e+e}return e}var Ny=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Pu:t.return=gm(t.value,t.length);break;case fm:return sr([jr(t,{value:K(t.value,"@","@"+H)})],o);case Eu:if(t.length)return yy(t.props,function(i){switch(gy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return sr([jr(t,{props:[K(i,/:(read-\w+)/,":"+Hi+"$1")]})],o);case"::placeholder":return sr([jr(t,{props:[K(i,/:(plac\w+)/,":"+H+"input-$1")]}),jr(t,{props:[K(i,/:(plac\w+)/,":"+Hi+"$1")]}),jr(t,{props:[K(i,/:(plac\w+)/,Oe+"input-$1")]})],o)}return""})}},jy=[Ny],ym=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var _=g.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||jy,i={},l,s=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var _=g.getAttribute("data-emotion").split(" "),d=1;d<_.length;d++)i[_[d]]=!0;s.push(g)});var a,u=[Iy,My];{var p,m=[Py,Ry(function(g){p.insert(g)})],f=$y(u.concat(o,m)),v=function(_){return sr(_y(_),f)};a=function(_,d,c,h){p=c,v(_?_+"{"+d.styles+"}":d.styles),h&&(y.inserted[d.name]=!0)}}var y={key:n,sheet:new cy({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return y.sheet.hydrate(s),y},vm={exports:{}},Q={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ke=typeof Symbol=="function"&&Symbol.for,Ru=ke?Symbol.for("react.element"):60103,Tu=ke?Symbol.for("react.portal"):60106,ml=ke?Symbol.for("react.fragment"):60107,hl=ke?Symbol.for("react.strict_mode"):60108,gl=ke?Symbol.for("react.profiler"):60114,yl=ke?Symbol.for("react.provider"):60109,vl=ke?Symbol.for("react.context"):60110,Ou=ke?Symbol.for("react.async_mode"):60111,xl=ke?Symbol.for("react.concurrent_mode"):60111,Sl=ke?Symbol.for("react.forward_ref"):60112,wl=ke?Symbol.for("react.suspense"):60113,Ly=ke?Symbol.for("react.suspense_list"):60120,kl=ke?Symbol.for("react.memo"):60115,Cl=ke?Symbol.for("react.lazy"):60116,by=ke?Symbol.for("react.block"):60121,Ay=ke?Symbol.for("react.fundamental"):60117,Fy=ke?Symbol.for("react.responder"):60118,Dy=ke?Symbol.for("react.scope"):60119;function Ze(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ru:switch(e=e.type,e){case Ou:case xl:case ml:case gl:case hl:case wl:return e;default:switch(e=e&&e.$$typeof,e){case vl:case Sl:case Cl:case kl:case yl:return e;default:return t}}case Tu:return t}}}function xm(e){return Ze(e)===xl}Q.AsyncMode=Ou;Q.ConcurrentMode=xl;Q.ContextConsumer=vl;Q.ContextProvider=yl;Q.Element=Ru;Q.ForwardRef=Sl;Q.Fragment=ml;Q.Lazy=Cl;Q.Memo=kl;Q.Portal=Tu;Q.Profiler=gl;Q.StrictMode=hl;Q.Suspense=wl;Q.isAsyncMode=function(e){return xm(e)||Ze(e)===Ou};Q.isConcurrentMode=xm;Q.isContextConsumer=function(e){return Ze(e)===vl};Q.isContextProvider=function(e){return Ze(e)===yl};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ru};Q.isForwardRef=function(e){return Ze(e)===Sl};Q.isFragment=function(e){return Ze(e)===ml};Q.isLazy=function(e){return Ze(e)===Cl};Q.isMemo=function(e){return Ze(e)===kl};Q.isPortal=function(e){return Ze(e)===Tu};Q.isProfiler=function(e){return Ze(e)===gl};Q.isStrictMode=function(e){return Ze(e)===hl};Q.isSuspense=function(e){return Ze(e)===wl};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ml||e===xl||e===gl||e===hl||e===wl||e===Ly||typeof e=="object"&&e!==null&&(e.$$typeof===Cl||e.$$typeof===kl||e.$$typeof===yl||e.$$typeof===vl||e.$$typeof===Sl||e.$$typeof===Ay||e.$$typeof===Fy||e.$$typeof===Dy||e.$$typeof===by)};Q.typeOf=Ze;vm.exports=Q;var By=vm.exports,Sm=By,Wy={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Uy={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},wm={};wm[Sm.ForwardRef]=Wy;wm[Sm.Memo]=Uy;var Vy=!0;function Hy(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var km=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Vy===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Cm=function(t,n,r){km(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ky(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Gy={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},Qy=/[A-Z]|^ms/g,Yy=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_m=function(t){return t.charCodeAt(1)===45},pf=function(t){return t!=null&&typeof t!="boolean"},Ss=um(function(e){return _m(e)?e:e.replace(Qy,"-$&").toLowerCase()}),mf=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Yy,function(r,o,i){return Pt={name:o,styles:i,next:Pt},o})}return Gy[t]!==1&&!_m(t)&&typeof n=="number"&&n!==0?n+"px":n};function So(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Pt={name:n.name,styles:n.styles,next:Pt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Pt={name:r.name,styles:r.styles,next:Pt},r=r.next;var o=n.styles+";";return o}return Xy(e,t,n)}case"function":{if(e!==void 0){var i=Pt,l=n(e);return Pt=i,So(e,t,l)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Xy(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?tv:nv},vf=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},rv=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return km(n,r,o),Zy(function(){return Cm(n,r,o)}),null},ov=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var s=vf(t,n,r),a=s||yf(o),u=!a("as");return function(){var p=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&m.push("label:"+i+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{m.push(p[0][0]);for(var f=p.length,v=1;vt(sv(o)?n:o):t;return O.jsx(ev,{styles:r})}function Rm(e,t){return Ca(e,t)}const Tm=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},uv=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:av,StyledEngineProvider:lv,ThemeContext:_l,css:El,default:Rm,internal_processStyles:Tm,keyframes:wr},Symbol.toStringTag,{value:"Module"}));function bt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Om(e){if(!bt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Om(e[n])}),t}function lt(e,t,n={clone:!0}){const r=n.clone?$({},e):e;return bt(e)&&bt(t)&&Object.keys(t).forEach(o=>{bt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&bt(e[o])?r[o]=lt(e[o],t[o],n):n.clone?r[o]=bt(t[o])?Om(t[o]):t[o]:r[o]=t[o]}),r}const cv=Object.freeze(Object.defineProperty({__proto__:null,default:lt,isPlainObject:bt},Symbol.toStringTag,{value:"Module"})),fv=["values","unit","step"],dv=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>$({},n,{[r.key]:r.val}),{})};function zm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ae(e,fv),i=dv(t),l=Object.keys(i);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,v){const y=l.indexOf(v);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(y!==-1&&typeof t[l[y]]=="number"?t[l[y]]:v)-r/100}${n})`}function p(f){return l.indexOf(f)+1`@media (min-width:${Iu[e]}px)`};function St(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||xf;return t.reduce((l,s,a)=>(l[i.up(i.keys[a])]=n(t[a]),l),{})}if(typeof t=="object"){const i=r.breakpoints||xf;return Object.keys(t).reduce((l,s)=>{if(Object.keys(i.values||Iu).indexOf(s)!==-1){const a=i.up(s);l[a]=n(t[s],s)}else{const a=s;l[a]=t[a]}return l},{})}return n(t)}function Im(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Mm(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function mv(e,...t){const n=Im(e),r=[n,...t].reduce((o,i)=>lt(o,i),{});return Mm(Object.keys(n),r)}function hv(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function ws({values:e,breakpoints:t,base:n}){const r=n||hv(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((l,s,a)=>(Array.isArray(e)?(l[s]=e[a]!=null?e[a]:e[i],i=a):typeof e=="object"?(l[s]=e[s]!=null?e[s]:e[i],i=s):l[s]=e,l),{})}function B(e){if(typeof e!="string")throw new Error(yo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const gv=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"}));function Pl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ki(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Pl(e,n)||r,t&&(o=t(o,r,e)),o}function fe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const s=l[t],a=l.theme,u=Pl(a,r)||{};return St(l,s,m=>{let f=Ki(u,o,m);return m===f&&typeof m=="string"&&(f=Ki(u,o,`${t}${m==="default"?"":B(m)}`,m)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function yv(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const vv={m:"margin",p:"padding"},xv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sf={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Sv=yv(e=>{if(e.length>2)if(Sf[e])e=Sf[e];else return[e];const[t,n]=e.split(""),r=vv[t],o=xv[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Mu=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Nu=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Mu,...Nu];function $o(e,t,n,r){var o;const i=(o=Pl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function ju(e){return $o(e,"spacing",8)}function zn(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function wv(e,t){return n=>e.reduce((r,o)=>(r[o]=zn(t,n),r),{})}function kv(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Sv(n),i=wv(o,r),l=e[n];return St(e,l,i)}function Nm(e,t){const n=ju(e.theme);return Object.keys(e).map(r=>kv(e,t,r,n)).reduce(Xr,{})}function ie(e){return Nm(e,Mu)}ie.propTypes={};ie.filterProps=Mu;function le(e){return Nm(e,Nu)}le.propTypes={};le.filterProps=Nu;function Cv(e=8){if(e.mui)return e;const t=ju({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function $l(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Xr(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function rt(e){return typeof e!="number"?e:`${e}px solid`}function ct(e,t){return fe({prop:e,themeKey:"borders",transform:t})}const _v=ct("border",rt),Ev=ct("borderTop",rt),Pv=ct("borderRight",rt),$v=ct("borderBottom",rt),Rv=ct("borderLeft",rt),Tv=ct("borderColor"),Ov=ct("borderTopColor"),zv=ct("borderRightColor"),Iv=ct("borderBottomColor"),Mv=ct("borderLeftColor"),Nv=ct("outline",rt),jv=ct("outlineColor"),Rl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=$o(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:zn(t,r)});return St(e,e.borderRadius,n)}return null};Rl.propTypes={};Rl.filterProps=["borderRadius"];$l(_v,Ev,Pv,$v,Rv,Tv,Ov,zv,Iv,Mv,Rl,Nv,jv);const Tl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=$o(e.theme,"spacing",8),n=r=>({gap:zn(t,r)});return St(e,e.gap,n)}return null};Tl.propTypes={};Tl.filterProps=["gap"];const Ol=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=$o(e.theme,"spacing",8),n=r=>({columnGap:zn(t,r)});return St(e,e.columnGap,n)}return null};Ol.propTypes={};Ol.filterProps=["columnGap"];const zl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=$o(e.theme,"spacing",8),n=r=>({rowGap:zn(t,r)});return St(e,e.rowGap,n)}return null};zl.propTypes={};zl.filterProps=["rowGap"];const Lv=fe({prop:"gridColumn"}),bv=fe({prop:"gridRow"}),Av=fe({prop:"gridAutoFlow"}),Fv=fe({prop:"gridAutoColumns"}),Dv=fe({prop:"gridAutoRows"}),Bv=fe({prop:"gridTemplateColumns"}),Wv=fe({prop:"gridTemplateRows"}),Uv=fe({prop:"gridTemplateAreas"}),Vv=fe({prop:"gridArea"});$l(Tl,Ol,zl,Lv,bv,Av,Fv,Dv,Bv,Wv,Uv,Vv);function ar(e,t){return t==="grey"?t:e}const Hv=fe({prop:"color",themeKey:"palette",transform:ar}),Kv=fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ar}),Gv=fe({prop:"backgroundColor",themeKey:"palette",transform:ar});$l(Hv,Kv,Gv);function He(e){return e<=1&&e!==0?`${e*100}%`:e}const Qv=fe({prop:"width",transform:He}),Lu=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Iu[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:He(n)}};return St(e,e.maxWidth,t)}return null};Lu.filterProps=["maxWidth"];const Yv=fe({prop:"minWidth",transform:He}),Xv=fe({prop:"height",transform:He}),qv=fe({prop:"maxHeight",transform:He}),Zv=fe({prop:"minHeight",transform:He});fe({prop:"size",cssProperty:"width",transform:He});fe({prop:"size",cssProperty:"height",transform:He});const Jv=fe({prop:"boxSizing"});$l(Qv,Lu,Yv,Xv,qv,Zv,Jv);const Ro={border:{themeKey:"borders",transform:rt},borderTop:{themeKey:"borders",transform:rt},borderRight:{themeKey:"borders",transform:rt},borderBottom:{themeKey:"borders",transform:rt},borderLeft:{themeKey:"borders",transform:rt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:rt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Rl},color:{themeKey:"palette",transform:ar},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ar},backgroundColor:{themeKey:"palette",transform:ar},p:{style:le},pt:{style:le},pr:{style:le},pb:{style:le},pl:{style:le},px:{style:le},py:{style:le},padding:{style:le},paddingTop:{style:le},paddingRight:{style:le},paddingBottom:{style:le},paddingLeft:{style:le},paddingX:{style:le},paddingY:{style:le},paddingInline:{style:le},paddingInlineStart:{style:le},paddingInlineEnd:{style:le},paddingBlock:{style:le},paddingBlockStart:{style:le},paddingBlockEnd:{style:le},m:{style:ie},mt:{style:ie},mr:{style:ie},mb:{style:ie},ml:{style:ie},mx:{style:ie},my:{style:ie},margin:{style:ie},marginTop:{style:ie},marginRight:{style:ie},marginBottom:{style:ie},marginLeft:{style:ie},marginX:{style:ie},marginY:{style:ie},marginInline:{style:ie},marginInlineStart:{style:ie},marginInlineEnd:{style:ie},marginBlock:{style:ie},marginBlockStart:{style:ie},marginBlockEnd:{style:ie},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Tl},rowGap:{style:zl},columnGap:{style:Ol},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:He},maxWidth:{style:Lu},minWidth:{transform:He},height:{transform:He},maxHeight:{transform:He},minHeight:{transform:He},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function e1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function t1(e,t){return typeof e=="function"?e(t):e}function jm(){function e(n,r,o,i){const l={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:p,style:m}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Pl(o,u)||{};return m?m(l):St(l,r,y=>{let g=Ki(f,p,y);return y===g&&typeof y=="string"&&(g=Ki(f,p,`${n}${y==="default"?"":B(y)}`,y)),a===!1?g:{[a]:g}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:Ro;function s(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const p=Im(i.breakpoints),m=Object.keys(p);let f=p;return Object.keys(u).forEach(v=>{const y=t1(u[v],i);if(y!=null)if(typeof y=="object")if(l[v])f=Xr(f,e(v,y,i,l));else{const g=St({theme:i},y,_=>({[v]:_}));e1(g,y)?f[v]=t({sx:y,theme:i}):f=Xr(f,g)}else f=Xr(f,e(v,y,i,l))}),Mm(m,f)}return Array.isArray(o)?o.map(s):s(o)}return t}const To=jm();To.filterProps=["sx"];function Lm(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const n1=["breakpoints","palette","spacing","shape"];function kr(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=ae(e,n1),s=zm(n),a=Cv(o);let u=lt({breakpoints:s,direction:"ltr",components:{},palette:$({mode:"light"},r),spacing:a,shape:$({},pv,i)},l);return u.applyStyles=Lm,u=t.reduce((p,m)=>lt(p,m),u),u.unstable_sxConfig=$({},Ro,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(m){return To({sx:m,theme:this})},u}const r1=Object.freeze(Object.defineProperty({__proto__:null,default:kr,private_createBreakpoints:zm,unstable_applyStyles:Lm},Symbol.toStringTag,{value:"Module"}));function o1(e){return Object.keys(e).length===0}function i1(e=null){const t=C.useContext(_l);return!t||o1(t)?e:t}const l1=kr();function s1(e=l1){return i1(e)}const a1=["sx"],u1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Ro;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function bu(e){const{sx:t}=e,n=ae(e,a1),{systemProps:r,otherProps:o}=u1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const s=t(...l);return bt(s)?$({},r,s):r}:i=$({},r,t),$({},o,{sx:i})}const c1=Object.freeze(Object.defineProperty({__proto__:null,default:To,extendSxProp:bu,unstable_createStyleFunctionSx:jm,unstable_defaultSxConfig:Ro},Symbol.toStringTag,{value:"Module"})),wf=e=>e,f1=()=>{let e=wf;return{configure(t){e=t},generate(t){return e(t)},reset(){e=wf}}},bm=f1();function Am(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{r[o]=wt(e,o,n)}),r}var Fm={exports:{}},Y={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Au=Symbol.for("react.element"),Fu=Symbol.for("react.portal"),Il=Symbol.for("react.fragment"),Ml=Symbol.for("react.strict_mode"),Nl=Symbol.for("react.profiler"),jl=Symbol.for("react.provider"),Ll=Symbol.for("react.context"),p1=Symbol.for("react.server_context"),bl=Symbol.for("react.forward_ref"),Al=Symbol.for("react.suspense"),Fl=Symbol.for("react.suspense_list"),Dl=Symbol.for("react.memo"),Bl=Symbol.for("react.lazy"),m1=Symbol.for("react.offscreen"),Dm;Dm=Symbol.for("react.module.reference");function ft(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Au:switch(e=e.type,e){case Il:case Nl:case Ml:case Al:case Fl:return e;default:switch(e=e&&e.$$typeof,e){case p1:case Ll:case bl:case Bl:case Dl:case jl:return e;default:return t}}case Fu:return t}}}Y.ContextConsumer=Ll;Y.ContextProvider=jl;Y.Element=Au;Y.ForwardRef=bl;Y.Fragment=Il;Y.Lazy=Bl;Y.Memo=Dl;Y.Portal=Fu;Y.Profiler=Nl;Y.StrictMode=Ml;Y.Suspense=Al;Y.SuspenseList=Fl;Y.isAsyncMode=function(){return!1};Y.isConcurrentMode=function(){return!1};Y.isContextConsumer=function(e){return ft(e)===Ll};Y.isContextProvider=function(e){return ft(e)===jl};Y.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Au};Y.isForwardRef=function(e){return ft(e)===bl};Y.isFragment=function(e){return ft(e)===Il};Y.isLazy=function(e){return ft(e)===Bl};Y.isMemo=function(e){return ft(e)===Dl};Y.isPortal=function(e){return ft(e)===Fu};Y.isProfiler=function(e){return ft(e)===Nl};Y.isStrictMode=function(e){return ft(e)===Ml};Y.isSuspense=function(e){return ft(e)===Al};Y.isSuspenseList=function(e){return ft(e)===Fl};Y.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Il||e===Nl||e===Ml||e===Al||e===Fl||e===m1||typeof e=="object"&&e!==null&&(e.$$typeof===Bl||e.$$typeof===Dl||e.$$typeof===jl||e.$$typeof===Ll||e.$$typeof===bl||e.$$typeof===Dm||e.getModuleId!==void 0)};Y.typeOf=ft;Fm.exports=Y;var kf=Fm.exports;const h1=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Bm(e){const t=`${e}`.match(h1);return t&&t[1]||""}function Wm(e,t=""){return e.displayName||e.name||Bm(e)||t}function Cf(e,t,n){const r=Wm(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function g1(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Wm(e,"Component");if(typeof e=="object")switch(e.$$typeof){case kf.ForwardRef:return Cf(e,e.render,"ForwardRef");case kf.Memo:return Cf(e,e.type,"memo");default:return}}}const y1=Object.freeze(Object.defineProperty({__proto__:null,default:g1,getFunctionName:Bm},Symbol.toStringTag,{value:"Module"})),v1=["ownerState"],x1=["variants"],S1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function w1(e){return Object.keys(e).length===0}function k1(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ks(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const C1=kr(),_1=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function qo({defaultTheme:e,theme:t,themeId:n}){return w1(t)?e:t[n]||t}function E1(e){return e?(t,n)=>n[e]:null}function gi(e,t){let{ownerState:n}=t,r=ae(t,v1);const o=typeof e=="function"?e($({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>gi(i,$({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=ae(o,x1);return i.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props($({ownerState:n},r,n)):Object.keys(a.props).forEach(p=>{(n==null?void 0:n[p])!==a.props[p]&&r[p]!==a.props[p]&&(u=!1)}),u&&(Array.isArray(s)||(s=[s]),s.push(typeof a.style=="function"?a.style($({ownerState:n},r,n)):a.style))}),s}return o}function P1(e={}){const{themeId:t,defaultTheme:n=C1,rootShouldForwardProp:r=ks,slotShouldForwardProp:o=ks}=e,i=l=>To($({},l,{theme:qo($({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,s={})=>{Tm(l,S=>S.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:p,skipSx:m,overridesResolver:f=E1(_1(u))}=s,v=ae(s,S1),y=p!==void 0?p:u&&u!=="Root"&&u!=="root"||!1,g=m||!1;let _,d=ks;u==="Root"||u==="root"?d=r:u?d=o:k1(l)&&(d=void 0);const c=Rm(l,$({shouldForwardProp:d,label:_},v)),h=S=>typeof S=="function"&&S.__emotion_real!==S||bt(S)?w=>gi(S,$({},w,{theme:qo({theme:w.theme,defaultTheme:n,themeId:t})})):S,x=(S,...w)=>{let k=h(S);const P=w?w.map(h):[];a&&f&&P.push(N=>{const L=qo($({},N,{defaultTheme:n,themeId:t}));if(!L.components||!L.components[a]||!L.components[a].styleOverrides)return null;const R=L.components[a].styleOverrides,j={};return Object.entries(R).forEach(([U,V])=>{j[U]=gi(V,$({},N,{theme:L}))}),f(N,j)}),a&&!y&&P.push(N=>{var L;const R=qo($({},N,{defaultTheme:n,themeId:t})),j=R==null||(L=R.components)==null||(L=L[a])==null?void 0:L.variants;return gi({variants:j},$({},N,{theme:R}))}),g||P.push(i);const M=P.length-w.length;if(Array.isArray(S)&&M>0){const N=new Array(M).fill("");k=[...S,...N],k.raw=[...S.raw,...N]}const z=c(k,...P);return l.muiName&&(z.muiName=l.muiName),z};return c.withConfig&&(x.withConfig=c.withConfig),x}}const Um=P1();function Du(e,t){const n=$({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=$({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=$({},i),Object.keys(o).forEach(l=>{n[r][l]=Du(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function $1(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Du(t.components[n].defaultProps,r)}function Bu({props:e,name:t,defaultTheme:n,themeId:r}){let o=s1(n);return r&&(o=o[r]||o),$1({theme:o,name:t,props:e})}const Vm=typeof window<"u"?C.useLayoutEffect:C.useEffect;function R1(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const T1=Object.freeze(Object.defineProperty({__proto__:null,default:R1},Symbol.toStringTag,{value:"Module"}));function O1(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function z1(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function I1(e,t){return()=>null}function Hm(e,t){var n,r;return C.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Km(e){return e&&e.ownerDocument||document}function M1(e){return Km(e).defaultView||window}function N1(e,t){return()=>null}function Gm(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let _f=0;function j1(e){const[t,n]=C.useState(e),r=e||t;return C.useEffect(()=>{t==null&&(_f+=1,n(`mui-${_f}`))},[t]),r}const Ef=Rs.useId;function L1(e){if(Ef!==void 0){const t=Ef();return e??t}return j1(e)}function b1(e,t,n,r,o){return null}function A1({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=C.useRef(e!==void 0),[i,l]=C.useState(t),s=o?e:i,a=C.useCallback(u=>{o||l(u)},[]);return[s,a]}function Dr(e){const t=C.useRef(e);return Vm(()=>{t.current=e}),C.useRef((...n)=>(0,t.current)(...n)).current}function Ea(...e){return C.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Gm(n,t)})},e)}const Pf={};function F1(e,t){const n=C.useRef(Pf);return n.current===Pf&&(n.current=e(t)),n}const D1=[];function B1(e){C.useEffect(e,D1)}class Wl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Wl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function W1(){const e=F1(Wl.create).current;return B1(e.disposeEffect),e}let Ul=!0,Pa=!1;const U1=new Wl,V1={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function H1(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&V1[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function K1(e){e.metaKey||e.altKey||e.ctrlKey||(Ul=!0)}function Cs(){Ul=!1}function G1(){this.visibilityState==="hidden"&&Pa&&(Ul=!0)}function Q1(e){e.addEventListener("keydown",K1,!0),e.addEventListener("mousedown",Cs,!0),e.addEventListener("pointerdown",Cs,!0),e.addEventListener("touchstart",Cs,!0),e.addEventListener("visibilitychange",G1,!0)}function Y1(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Ul||H1(t)}function Qm(){const e=C.useCallback(o=>{o!=null&&Q1(o.ownerDocument)},[]),t=C.useRef(!1);function n(){return t.current?(Pa=!0,U1.start(100,()=>{Pa=!1}),t.current=!1,!0):!1}function r(o){return Y1(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Mt(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const s=t(l);s!==""&&i.push(s),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}const X1=["className","component","disableGutters","fixed","maxWidth","classes"],q1=kr(),Z1=Um("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${B(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),J1=e=>Bu({props:e,name:"MuiContainer",defaultTheme:q1}),ex=(e,t)=>{const n=a=>wt(t,a),{classes:r,fixed:o,disableGutters:i,maxWidth:l}=e,s={root:["root",l&&`maxWidth${B(String(l))}`,o&&"fixed",i&&"disableGutters"]};return Mt(s,n,r)};function tx(e={}){const{createStyledComponent:t=Z1,useThemeProps:n=J1,componentName:r="MuiContainer"}=e,o=t(({theme:l,ownerState:s})=>$({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:l.spacing(2),paddingRight:l.spacing(2),[l.breakpoints.up("sm")]:{paddingLeft:l.spacing(3),paddingRight:l.spacing(3)}}),({theme:l,ownerState:s})=>s.fixed&&Object.keys(l.breakpoints.values).reduce((a,u)=>{const p=u,m=l.breakpoints.values[p];return m!==0&&(a[l.breakpoints.up(p)]={maxWidth:`${m}${l.breakpoints.unit}`}),a},{}),({theme:l,ownerState:s})=>$({},s.maxWidth==="xs"&&{[l.breakpoints.up("xs")]:{maxWidth:Math.max(l.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[l.breakpoints.up(s.maxWidth)]:{maxWidth:`${l.breakpoints.values[s.maxWidth]}${l.breakpoints.unit}`}}));return C.forwardRef(function(s,a){const u=n(s),{className:p,component:m="div",disableGutters:f=!1,fixed:v=!1,maxWidth:y="lg"}=u,g=ae(u,X1),_=$({},u,{component:m,disableGutters:f,fixed:v,maxWidth:y}),d=ex(_,r);return O.jsx(o,$({as:m,ownerState:_,className:ue(d.root,p),ref:a},g))})}const nx=["component","direction","spacing","divider","children","className","useFlexGap"],rx=kr(),ox=Um("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ix(e){return Bu({props:e,name:"MuiStack",defaultTheme:rx})}function lx(e,t){const n=C.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],ax=({ownerState:e,theme:t})=>{let n=$({display:"flex",flexDirection:"column"},St({theme:t},ws({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=ju(t),o=Object.keys(t.breakpoints.values).reduce((a,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(a[u]=!0),a),{}),i=ws({values:e.direction,base:o}),l=ws({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((a,u,p)=>{if(!i[a]){const f=u>0?i[p[u-1]]:"column";i[a]=f}}),n=lt(n,St({theme:t},l,(a,u)=>e.useFlexGap?{gap:zn(r,a)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${sx(u?i[u]:e.direction)}`]:zn(r,a)}}))}return n=mv(t.breakpoints,n),n};function ux(e={}){const{createStyledComponent:t=ox,useThemeProps:n=ix,componentName:r="MuiStack"}=e,o=()=>Mt({root:["root"]},a=>wt(r,a),{}),i=t(ax);return C.forwardRef(function(a,u){const p=n(a),m=bu(p),{component:f="div",direction:v="column",spacing:y=0,divider:g,children:_,className:d,useFlexGap:c=!1}=m,h=ae(m,nx),x={direction:v,spacing:y,useFlexGap:c},S=o();return O.jsx(i,$({as:f,ownerState:x,ref:u,className:ue(S.root,d)},h,{children:g?lx(_,g):_}))})}function cx(e,t){return $({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var de={},Ym={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ym);var Wu=Ym.exports;const fx=It(oy),dx=It(T1);var Xm=Wu;Object.defineProperty(de,"__esModule",{value:!0});var Zo=de.alpha=eh;de.blend=Ex;de.colorChannel=void 0;var px=de.darken=Vu;de.decomposeColor=ut;de.emphasize=th;var mx=de.getContrastRatio=Sx;de.getLuminance=Gi;de.hexToRgb=qm;de.hslToRgb=Jm;var hx=de.lighten=Hu;de.private_safeAlpha=wx;de.private_safeColorChannel=void 0;de.private_safeDarken=kx;de.private_safeEmphasize=_x;de.private_safeLighten=Cx;de.recomposeColor=Cr;de.rgbToHex=xx;var $f=Xm(fx),gx=Xm(dx);function Uu(e,t=0,n=1){return(0,gx.default)(e,t,n)}function qm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function yx(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ut(e){if(e.type)return e;if(e.charAt(0)==="#")return ut(qm(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,$f.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,$f.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Zm=e=>{const t=ut(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};de.colorChannel=Zm;const vx=(e,t)=>{try{return Zm(e)}catch{return e}};de.private_safeColorChannel=vx;function Cr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function xx(e){if(e.indexOf("#")===0)return e;const{values:t}=ut(e);return`#${t.map((n,r)=>yx(r===3?Math.round(255*n):n)).join("")}`}function Jm(e){e=ut(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(u,p=(u+n/30)%12)=>o-i*Math.max(Math.min(p-3,9-p,1),-1);let s="rgb";const a=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(s+="a",a.push(t[3])),Cr({type:s,values:a})}function Gi(e){e=ut(e);let t=e.type==="hsl"||e.type==="hsla"?ut(Jm(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Sx(e,t){const n=Gi(e),r=Gi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function eh(e,t){return e=ut(e),t=Uu(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Cr(e)}function wx(e,t,n){try{return eh(e,t)}catch{return e}}function Vu(e,t){if(e=ut(e),t=Uu(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Cr(e)}function kx(e,t,n){try{return Vu(e,t)}catch{return e}}function Hu(e,t){if(e=ut(e),t=Uu(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Cr(e)}function Cx(e,t,n){try{return Hu(e,t)}catch{return e}}function th(e,t=.15){return Gi(e)>.5?Vu(e,t):Hu(e,t)}function _x(e,t,n){try{return th(e,t)}catch{return e}}function Ex(e,t,n,r=1){const o=(a,u)=>Math.round((a**(1/r)*(1-n)+u**(1/r)*n)**r),i=ut(e),l=ut(t),s=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return Cr({type:"rgb",values:s})}const Px=["mode","contrastThreshold","tonalOffset"],Rf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:go.white,default:go.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},_s={text:{primary:go.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:go.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Tf(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=hx(e.main,o):t==="dark"&&(e.dark=px(e.main,i)))}function $x(e="light"){return e==="dark"?{main:Fn[200],light:Fn[50],dark:Fn[400]}:{main:Fn[700],light:Fn[400],dark:Fn[800]}}function Rx(e="light"){return e==="dark"?{main:An[200],light:An[50],dark:An[400]}:{main:An[500],light:An[300],dark:An[700]}}function Tx(e="light"){return e==="dark"?{main:bn[500],light:bn[300],dark:bn[700]}:{main:bn[700],light:bn[400],dark:bn[800]}}function Ox(e="light"){return e==="dark"?{main:Dn[400],light:Dn[300],dark:Dn[700]}:{main:Dn[700],light:Dn[500],dark:Dn[900]}}function zx(e="light"){return e==="dark"?{main:Bn[400],light:Bn[300],dark:Bn[700]}:{main:Bn[800],light:Bn[500],dark:Bn[900]}}function Ix(e="light"){return e==="dark"?{main:Nr[400],light:Nr[300],dark:Nr[700]}:{main:"#ed6c02",light:Nr[500],dark:Nr[900]}}function Mx(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ae(e,Px),i=e.primary||$x(t),l=e.secondary||Rx(t),s=e.error||Tx(t),a=e.info||Ox(t),u=e.success||zx(t),p=e.warning||Ix(t);function m(g){return mx(g,_s.text.primary)>=n?_s.text.primary:Rf.text.primary}const f=({color:g,name:_,mainShade:d=500,lightShade:c=300,darkShade:h=700})=>{if(g=$({},g),!g.main&&g[d]&&(g.main=g[d]),!g.hasOwnProperty("main"))throw new Error(yo(11,_?` (${_})`:"",d));if(typeof g.main!="string")throw new Error(yo(12,_?` (${_})`:"",JSON.stringify(g.main)));return Tf(g,"light",c,r),Tf(g,"dark",h,r),g.contrastText||(g.contrastText=m(g.main)),g},v={dark:_s,light:Rf};return lt($({common:$({},go),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:p,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:ry,contrastThreshold:n,getContrastText:m,augmentColor:f,tonalOffset:r},v[t]),o)}const Nx=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function jx(e){return Math.round(e*1e5)/1e5}const Of={textTransform:"uppercase"},zf='"Roboto", "Helvetica", "Arial", sans-serif';function Lx(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=zf,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:p,pxToRem:m}=n,f=ae(n,Nx),v=o/14,y=m||(d=>`${d/u*v}rem`),g=(d,c,h,x,S)=>$({fontFamily:r,fontWeight:d,fontSize:y(c),lineHeight:h},r===zf?{letterSpacing:`${jx(x/c)}em`}:{},S,p),_={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(l,48,1.167,0),h4:g(l,34,1.235,.25),h5:g(l,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(l,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(l,16,1.5,.15),body2:g(l,14,1.43,.15),button:g(s,14,1.75,.4,Of),caption:g(l,12,1.66,.4),overline:g(l,12,2.66,1,Of),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return lt($({htmlFontSize:u,pxToRem:y,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:s,fontWeightBold:a},_),f,{clone:!1})}const bx=.2,Ax=.14,Fx=.12;function ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${bx})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ax})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Fx})`].join(",")}const Dx=["none",ee(0,2,1,-1,0,1,1,0,0,1,3,0),ee(0,3,1,-2,0,2,2,0,0,1,5,0),ee(0,3,3,-2,0,3,4,0,0,1,8,0),ee(0,2,4,-1,0,4,5,0,0,1,10,0),ee(0,3,5,-1,0,5,8,0,0,1,14,0),ee(0,3,5,-1,0,6,10,0,0,1,18,0),ee(0,4,5,-2,0,7,10,1,0,2,16,1),ee(0,5,5,-3,0,8,10,1,0,3,14,2),ee(0,5,6,-3,0,9,12,1,0,3,16,2),ee(0,6,6,-3,0,10,14,1,0,4,18,3),ee(0,6,7,-4,0,11,15,1,0,4,20,3),ee(0,7,8,-4,0,12,17,2,0,5,22,4),ee(0,7,8,-4,0,13,19,2,0,5,24,4),ee(0,7,9,-4,0,14,21,2,0,5,26,4),ee(0,8,9,-5,0,15,22,2,0,6,28,5),ee(0,8,10,-5,0,16,24,2,0,6,30,5),ee(0,8,11,-5,0,17,26,2,0,6,32,5),ee(0,9,11,-5,0,18,28,2,0,7,34,6),ee(0,9,12,-6,0,19,29,2,0,7,36,6),ee(0,10,13,-6,0,20,31,3,0,8,38,7),ee(0,10,13,-6,0,21,33,3,0,8,40,7),ee(0,10,14,-6,0,22,35,3,0,8,42,7),ee(0,11,14,-7,0,23,36,3,0,9,44,8),ee(0,11,15,-7,0,24,38,3,0,9,46,8)],Bx=["duration","easing","delay"],Wx={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ux={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function If(e){return`${Math.round(e)}ms`}function Vx(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Hx(e){const t=$({},Wx,e.easing),n=$({},Ux,e.duration);return $({getAutoHeightDuration:Vx,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:s=t.easeInOut,delay:a=0}=i;return ae(i,Bx),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof l=="string"?l:If(l)} ${s} ${typeof a=="string"?a:If(a)}`).join(",")}},e,{easing:t,duration:n})}const Kx={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Gx=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Qx(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=ae(e,Gx);if(e.vars)throw new Error(yo(18));const s=Mx(r),a=kr(e);let u=lt(a,{mixins:cx(a.breakpoints,n),palette:s,shadows:Dx.slice(),typography:Lx(s,i),transitions:Hx(o),zIndex:$({},Kx)});return u=lt(u,l),u=t.reduce((p,m)=>lt(p,m),u),u.unstable_sxConfig=$({},Ro,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(m){return To({sx:m,theme:this})},u}const nh=Qx();function kt({props:e,name:t}){return Bu({props:e,name:t,defaultTheme:nh,themeId:am})}var Oo={};const Yx=It(iy);var Es={exports:{}},Mf;function Xx(){return Mf||(Mf=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.indexOf(i)>=0)continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Es)),Es.exports}const qx=It(uv),Zx=It(cv),Jx=It(gv),eS=It(y1),tS=It(r1),nS=It(c1);var _r=Wu;Object.defineProperty(Oo,"__esModule",{value:!0});var rS=Oo.default=gS;Oo.shouldForwardProp=yi;Oo.systemDefaultTheme=void 0;var Je=_r(Yx),$a=_r(Xx()),Nf=cS(qx),oS=Zx;_r(Jx);_r(eS);var iS=_r(tS),lS=_r(nS);const sS=["ownerState"],aS=["variants"],uS=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function rh(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(rh=function(r){return r?n:t})(e)}function cS(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=rh(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function fS(e){return Object.keys(e).length===0}function dS(e){return typeof e=="string"&&e.charCodeAt(0)>96}function yi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const pS=Oo.systemDefaultTheme=(0,iS.default)(),mS=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Jo({defaultTheme:e,theme:t,themeId:n}){return fS(t)?e:t[n]||t}function hS(e){return e?(t,n)=>n[e]:null}function vi(e,t){let{ownerState:n}=t,r=(0,$a.default)(t,sS);const o=typeof e=="function"?e((0,Je.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>vi(i,(0,Je.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=(0,$a.default)(o,aS);return i.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props((0,Je.default)({ownerState:n},r,n)):Object.keys(a.props).forEach(p=>{(n==null?void 0:n[p])!==a.props[p]&&r[p]!==a.props[p]&&(u=!1)}),u&&(Array.isArray(s)||(s=[s]),s.push(typeof a.style=="function"?a.style((0,Je.default)({ownerState:n},r,n)):a.style))}),s}return o}function gS(e={}){const{themeId:t,defaultTheme:n=pS,rootShouldForwardProp:r=yi,slotShouldForwardProp:o=yi}=e,i=l=>(0,lS.default)((0,Je.default)({},l,{theme:Jo((0,Je.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,s={})=>{(0,Nf.internal_processStyles)(l,S=>S.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:p,skipSx:m,overridesResolver:f=hS(mS(u))}=s,v=(0,$a.default)(s,uS),y=p!==void 0?p:u&&u!=="Root"&&u!=="root"||!1,g=m||!1;let _,d=yi;u==="Root"||u==="root"?d=r:u?d=o:dS(l)&&(d=void 0);const c=(0,Nf.default)(l,(0,Je.default)({shouldForwardProp:d,label:_},v)),h=S=>typeof S=="function"&&S.__emotion_real!==S||(0,oS.isPlainObject)(S)?w=>vi(S,(0,Je.default)({},w,{theme:Jo({theme:w.theme,defaultTheme:n,themeId:t})})):S,x=(S,...w)=>{let k=h(S);const P=w?w.map(h):[];a&&f&&P.push(N=>{const L=Jo((0,Je.default)({},N,{defaultTheme:n,themeId:t}));if(!L.components||!L.components[a]||!L.components[a].styleOverrides)return null;const R=L.components[a].styleOverrides,j={};return Object.entries(R).forEach(([U,V])=>{j[U]=vi(V,(0,Je.default)({},N,{theme:L}))}),f(N,j)}),a&&!y&&P.push(N=>{var L;const R=Jo((0,Je.default)({},N,{defaultTheme:n,themeId:t})),j=R==null||(L=R.components)==null||(L=L[a])==null?void 0:L.variants;return vi({variants:j},(0,Je.default)({},N,{theme:R}))}),g||P.push(i);const M=P.length-w.length;if(Array.isArray(S)&&M>0){const N=new Array(M).fill("");k=[...S,...N],k.raw=[...S.raw,...N]}const z=c(k,...P);return l.muiName&&(z.muiName=l.muiName),z};return c.withConfig&&(x.withConfig=c.withConfig),x}}function yS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const oh=e=>yS(e)&&e!=="classes",ye=rS({themeId:am,defaultTheme:nh,rootShouldForwardProp:oh});function vS(e){return wt("MuiSvgIcon",e)}Qt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const xS=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],SS=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${B(t)}`,`fontSize${B(n)}`]};return Mt(o,vS,r)},wS=ye("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${B(n.color)}`],t[`fontSize${B(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,l,s,a,u,p,m,f,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(l=i.pxToRem)==null?void 0:l.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,24))||"1.5rem",large:((u=e.typography)==null||(p=u.pxToRem)==null?void 0:p.call(u,35))||"2.1875rem"}[t.fontSize],color:(m=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?m:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(y=(e.vars||e).palette)==null||(y=y.action)==null?void 0:y.disabled,inherit:void 0}[t.color]}}),Ra=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:l="inherit",component:s="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:m,viewBox:f="0 0 24 24"}=r,v=ae(r,xS),y=C.isValidElement(o)&&o.type==="svg",g=$({},r,{color:l,component:s,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:f,hasSvgAsChild:y}),_={};p||(_.viewBox=f);const d=SS(g);return O.jsxs(wS,$({as:s,className:ue(d.root,i),focusable:"false",color:u,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n},_,v,y&&o.props,{ownerState:g,children:[y?o.props.children:o,m?O.jsx("title",{children:m}):null]}))});Ra.muiName="SvgIcon";function kS(e,t){function n(r,o){return O.jsx(Ra,$({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=Ra.muiName,C.memo(C.forwardRef(n))}const CS={configure:e=>{bm.configure(e)}},_S=Object.freeze(Object.defineProperty({__proto__:null,capitalize:B,createChainedFunction:O1,createSvgIcon:kS,debounce:z1,deprecatedPropType:I1,isMuiElement:Hm,ownerDocument:Km,ownerWindow:M1,requirePropFactory:N1,setRef:Gm,unstable_ClassNameGenerator:CS,unstable_useEnhancedEffect:Vm,unstable_useId:L1,unsupportedProp:b1,useControlled:A1,useEventCallback:Dr,useForkRef:Ea,useIsFocusVisible:Qm},Symbol.toStringTag,{value:"Module"}));function Ta(e,t){return Ta=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ta(e,t)}function ES(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ta(e,t)}const jf=Wn.createContext(null);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ku(e,t){var n=function(i){return t&&C.isValidElement(i)?t(i):i},r=Object.create(null);return e&&C.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function $S(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,s={};for(var a in t){if(r[a])for(l=0;l{if(!s&&a!=null){const g=setTimeout(a,u);return()=>{clearTimeout(g)}}},[a,s,u]),O.jsx("span",{className:f,style:v,children:O.jsx("span",{className:y})})}const et=Qt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),MS=["center","classes","className"];let Vl=e=>e,Lf,bf,Af,Ff;const Oa=550,NS=80,jS=wr(Lf||(Lf=Vl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),LS=wr(bf||(bf=Vl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),bS=wr(Af||(Af=Vl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),AS=ye("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),FS=ye(IS,{name:"MuiTouchRipple",slot:"Ripple"})(Ff||(Ff=Vl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),et.rippleVisible,jS,Oa,({theme:e})=>e.transitions.easing.easeInOut,et.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,et.child,et.childLeaving,LS,Oa,({theme:e})=>e.transitions.easing.easeInOut,et.childPulsate,bS,({theme:e})=>e.transitions.easing.easeInOut),DS=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,s=ae(r,MS),[a,u]=C.useState([]),p=C.useRef(0),m=C.useRef(null);C.useEffect(()=>{m.current&&(m.current(),m.current=null)},[a]);const f=C.useRef(!1),v=W1(),y=C.useRef(null),g=C.useRef(null),_=C.useCallback(x=>{const{pulsate:S,rippleX:w,rippleY:k,rippleSize:P,cb:M}=x;u(z=>[...z,O.jsx(FS,{classes:{ripple:ue(i.ripple,et.ripple),rippleVisible:ue(i.rippleVisible,et.rippleVisible),ripplePulsate:ue(i.ripplePulsate,et.ripplePulsate),child:ue(i.child,et.child),childLeaving:ue(i.childLeaving,et.childLeaving),childPulsate:ue(i.childPulsate,et.childPulsate)},timeout:Oa,pulsate:S,rippleX:w,rippleY:k,rippleSize:P},p.current)]),p.current+=1,m.current=M},[i]),d=C.useCallback((x={},S={},w=()=>{})=>{const{pulsate:k=!1,center:P=o||S.pulsate,fakeElement:M=!1}=S;if((x==null?void 0:x.type)==="mousedown"&&f.current){f.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(f.current=!0);const z=M?null:g.current,N=z?z.getBoundingClientRect():{width:0,height:0,left:0,top:0};let L,R,j;if(P||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)L=Math.round(N.width/2),R=Math.round(N.height/2);else{const{clientX:U,clientY:V}=x.touches&&x.touches.length>0?x.touches[0]:x;L=Math.round(U-N.left),R=Math.round(V-N.top)}if(P)j=Math.sqrt((2*N.width**2+N.height**2)/3),j%2===0&&(j+=1);else{const U=Math.max(Math.abs((z?z.clientWidth:0)-L),L)*2+2,V=Math.max(Math.abs((z?z.clientHeight:0)-R),R)*2+2;j=Math.sqrt(U**2+V**2)}x!=null&&x.touches?y.current===null&&(y.current=()=>{_({pulsate:k,rippleX:L,rippleY:R,rippleSize:j,cb:w})},v.start(NS,()=>{y.current&&(y.current(),y.current=null)})):_({pulsate:k,rippleX:L,rippleY:R,rippleSize:j,cb:w})},[o,_,v]),c=C.useCallback(()=>{d({},{pulsate:!0})},[d]),h=C.useCallback((x,S)=>{if(v.clear(),(x==null?void 0:x.type)==="touchend"&&y.current){y.current(),y.current=null,v.start(0,()=>{h(x,S)});return}y.current=null,u(w=>w.length>0?w.slice(1):w),m.current=S},[v]);return C.useImperativeHandle(n,()=>({pulsate:c,start:d,stop:h}),[c,d,h]),O.jsx(AS,$({className:ue(et.root,i.root,l),ref:g},s,{children:O.jsx(Gu,{component:null,exit:!0,children:a})}))});function BS(e){return wt("MuiButtonBase",e)}const WS=Qt("MuiButtonBase",["root","disabled","focusVisible"]),US=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],VS=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Mt({root:["root",t&&"disabled",n&&"focusVisible"]},BS,o);return n&&r&&(l.root+=` ${r}`),l},HS=ye("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${WS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),KS=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:s,component:a="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:f=!1,LinkComponent:v="a",onBlur:y,onClick:g,onContextMenu:_,onDragLeave:d,onFocus:c,onFocusVisible:h,onKeyDown:x,onKeyUp:S,onMouseDown:w,onMouseLeave:k,onMouseUp:P,onTouchEnd:M,onTouchMove:z,onTouchStart:N,tabIndex:L=0,TouchRippleProps:R,touchRippleRef:j,type:U}=r,V=ae(r,US),pe=C.useRef(null),T=C.useRef(null),b=Ea(T,j),{isFocusVisibleRef:A,onFocus:X,onBlur:me,ref:Nn}=Qm(),[Me,Yt]=C.useState(!1);u&&Me&&Yt(!1),C.useImperativeHandle(o,()=>({focusVisible:()=>{Yt(!0),pe.current.focus()}}),[]);const[dt,jn]=C.useState(!1);C.useEffect(()=>{jn(!0)},[]);const uh=dt&&!p&&!u;C.useEffect(()=>{Me&&f&&!p&&dt&&T.current.pulsate()},[p,f,Me,dt]);function Nt(F,Xu,_h=m){return Dr(qu=>(Xu&&Xu(qu),!_h&&T.current&&T.current[F](qu),!0))}const ch=Nt("start",w),fh=Nt("stop",_),dh=Nt("stop",d),ph=Nt("stop",P),mh=Nt("stop",F=>{Me&&F.preventDefault(),k&&k(F)}),hh=Nt("start",N),gh=Nt("stop",M),yh=Nt("stop",z),vh=Nt("stop",F=>{me(F),A.current===!1&&Yt(!1),y&&y(F)},!1),xh=Dr(F=>{pe.current||(pe.current=F.currentTarget),X(F),A.current===!0&&(Yt(!0),h&&h(F)),c&&c(F)}),Kl=()=>{const F=pe.current;return a&&a!=="button"&&!(F.tagName==="A"&&F.href)},Gl=C.useRef(!1),Sh=Dr(F=>{f&&!Gl.current&&Me&&T.current&&F.key===" "&&(Gl.current=!0,T.current.stop(F,()=>{T.current.start(F)})),F.target===F.currentTarget&&Kl()&&F.key===" "&&F.preventDefault(),x&&x(F),F.target===F.currentTarget&&Kl()&&F.key==="Enter"&&!u&&(F.preventDefault(),g&&g(F))}),wh=Dr(F=>{f&&F.key===" "&&T.current&&Me&&!F.defaultPrevented&&(Gl.current=!1,T.current.stop(F,()=>{T.current.pulsate(F)})),S&&S(F),g&&F.target===F.currentTarget&&Kl()&&F.key===" "&&!F.defaultPrevented&&g(F)});let zo=a;zo==="button"&&(V.href||V.to)&&(zo=v);const Er={};zo==="button"?(Er.type=U===void 0?"button":U,Er.disabled=u):(!V.href&&!V.to&&(Er.role="button"),u&&(Er["aria-disabled"]=u));const kh=Ea(n,Nn,pe),Yu=$({},r,{centerRipple:i,component:a,disabled:u,disableRipple:p,disableTouchRipple:m,focusRipple:f,tabIndex:L,focusVisible:Me}),Ch=VS(Yu);return O.jsxs(HS,$({as:zo,className:ue(Ch.root,s),ownerState:Yu,onBlur:vh,onClick:g,onContextMenu:fh,onFocus:xh,onKeyDown:Sh,onKeyUp:wh,onMouseDown:ch,onMouseLeave:mh,onMouseUp:ph,onDragLeave:dh,onTouchEnd:gh,onTouchMove:yh,onTouchStart:hh,ref:kh,tabIndex:u?-1:L,type:U},Er,V,{children:[l,uh?O.jsx(DS,$({ref:b,center:i},R)):null]}))});function GS(e){return wt("MuiTypography",e)}Qt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const QS=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],YS=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:l}=e,s={root:["root",i,e.align!=="inherit"&&`align${B(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Mt(s,GS,l)},XS=ye("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${B(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>$({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Df={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},qS={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ZS=e=>qS[e]||e,Dt=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiTypography"}),o=ZS(r.color),i=bu($({},r,{color:o})),{align:l="inherit",className:s,component:a,gutterBottom:u=!1,noWrap:p=!1,paragraph:m=!1,variant:f="body1",variantMapping:v=Df}=i,y=ae(i,QS),g=$({},i,{align:l,color:o,className:s,component:a,gutterBottom:u,noWrap:p,paragraph:m,variant:f,variantMapping:v}),_=a||(m?"p":v[f]||Df[f])||"span",d=YS(g);return O.jsx(XS,$({as:_,ref:n,ownerState:g,className:ue(d.root,s)},y))});function JS(e){return wt("MuiButton",e)}const ei=Qt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),ew=C.createContext({}),tw=C.createContext(void 0),nw=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],rw=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e,s={root:["root",i,`${i}${B(t)}`,`size${B(o)}`,`${i}Size${B(o)}`,`color${B(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${B(o)}`],endIcon:["icon","endIcon",`iconSize${B(o)}`]},a=Mt(s,JS,l);return $({},l,a)},ih=e=>$({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),ow=ye(KS,{shouldForwardProp:e=>oh(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${B(n.color)}`],t[`size${B(n.size)}`],t[`${n.variant}Size${B(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return $({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":$({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Zo(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Zo(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Zo(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":$({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ei.focusVisible}`]:$({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ei.disabled}`]:$({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Zo(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ei.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ei.disabled}`]:{boxShadow:"none"}}),iw=ye("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${B(n.size)}`]]}})(({ownerState:e})=>$({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},ih(e))),lw=ye("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${B(n.size)}`]]}})(({ownerState:e})=>$({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},ih(e))),qr=C.forwardRef(function(t,n){const r=C.useContext(ew),o=C.useContext(tw),i=Du(r,t),l=kt({props:i,name:"MuiButton"}),{children:s,color:a="primary",component:u="button",className:p,disabled:m=!1,disableElevation:f=!1,disableFocusRipple:v=!1,endIcon:y,focusVisibleClassName:g,fullWidth:_=!1,size:d="medium",startIcon:c,type:h,variant:x="text"}=l,S=ae(l,nw),w=$({},l,{color:a,component:u,disabled:m,disableElevation:f,disableFocusRipple:v,fullWidth:_,size:d,type:h,variant:x}),k=rw(w),P=c&&O.jsx(iw,{className:k.startIcon,ownerState:w,children:c}),M=y&&O.jsx(lw,{className:k.endIcon,ownerState:w,children:y}),z=o||"";return O.jsxs(ow,$({ownerState:w,className:ue(r.className,k.root,p,z),component:u,disabled:m,focusRipple:!v,focusVisibleClassName:ue(k.focusVisible,g),ref:n,type:h},S,{classes:k,children:[P,s,M]}))});function sw(e){return wt("MuiCircularProgress",e)}Qt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const aw=["className","color","disableShrink","size","style","thickness","value","variant"];let Hl=e=>e,Bf,Wf,Uf,Vf;const qt=44,uw=wr(Bf||(Bf=Hl` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),cw=wr(Wf||(Wf=Hl` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),fw=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${B(r)}`],svg:["svg"],circle:["circle",`circle${B(n)}`,o&&"circleDisableShrink"]};return Mt(i,sw,t)},dw=ye("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${B(n.color)}`]]}})(({ownerState:e,theme:t})=>$({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&El(Uf||(Uf=Hl` + animation: ${0} 1.4s linear infinite; + `),uw)),pw=ye("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),mw=ye("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${B(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>$({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&El(Vf||(Vf=Hl` + animation: ${0} 1.4s ease-in-out infinite; + `),cw)),hw=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:l=!1,size:s=40,style:a,thickness:u=3.6,value:p=0,variant:m="indeterminate"}=r,f=ae(r,aw),v=$({},r,{color:i,disableShrink:l,size:s,thickness:u,value:p,variant:m}),y=fw(v),g={},_={},d={};if(m==="determinate"){const c=2*Math.PI*((qt-u)/2);g.strokeDasharray=c.toFixed(3),d["aria-valuenow"]=Math.round(p),g.strokeDashoffset=`${((100-p)/100*c).toFixed(3)}px`,_.transform="rotate(-90deg)"}return O.jsx(dw,$({className:ue(y.root,o),style:$({width:s,height:s},_,a),ownerState:v,ref:n,role:"progressbar"},d,f,{children:O.jsx(pw,{className:y.svg,ownerState:v,viewBox:`${qt/2} ${qt/2} ${qt} ${qt}`,children:O.jsx(mw,{className:y.circle,style:g,ownerState:v,cx:qt,cy:qt,r:(qt-u)/2,fill:"none",strokeWidth:u})})}))}),xi=tx({createStyledComponent:ye("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${B(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>kt({props:e,name:"MuiContainer"})}),Bt=ux({createStyledComponent:ye("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>kt({props:e,name:"MuiStack"})});function gw(e){return wt("MuiImageList",e)}Qt("MuiImageList",["root","masonry","quilted","standard","woven"]);const lh=C.createContext({}),yw=["children","className","cols","component","rowHeight","gap","style","variant"],vw=e=>{const{classes:t,variant:n}=e;return Mt({root:["root",n]},gw,t)},xw=ye("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})(({ownerState:e})=>$({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},e.variant==="masonry"&&{display:"block"})),Sw=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiImageList"}),{children:o,className:i,cols:l=2,component:s="ul",rowHeight:a="auto",gap:u=4,style:p,variant:m="standard"}=r,f=ae(r,yw),v=C.useMemo(()=>({rowHeight:a,gap:u,variant:m}),[a,u,m]);C.useEffect(()=>{},[]);const y=$(m==="masonry"?{columnCount:l,columnGap:u}:{gridTemplateColumns:`repeat(${l}, 1fr)`,gap:u},p),g=$({},r,{component:s,gap:u,rowHeight:a,variant:m}),_=vw(g);return O.jsx(xw,$({as:s,className:ue(_.root,_[m],i),ref:n,style:y,ownerState:g},f,{children:O.jsx(lh.Provider,{value:v,children:o})}))});function ww(e){return wt("MuiImageListItem",e)}const Hf=Qt("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]),kw=["children","className","cols","component","rows","style"],Cw=e=>{const{classes:t,variant:n}=e;return Mt({root:["root",n],img:["img"]},ww,t)},_w=ye("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Hf.img}`]:t.img},t.root,t[n.variant]]}})(({ownerState:e})=>$({display:"block",position:"relative"},e.variant==="standard"&&{display:"flex",flexDirection:"column"},e.variant==="woven"&&{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}},{[`& .${Hf.img}`]:$({objectFit:"cover",width:"100%",height:"100%",display:"block"},e.variant==="standard"&&{height:"auto",flexGrow:1})})),Ew=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiImageListItem"}),{children:o,className:i,cols:l=1,component:s="li",rows:a=1,style:u}=r,p=ae(r,kw),{rowHeight:m="auto",gap:f,variant:v}=C.useContext(lh);let y="auto";v==="woven"?y=void 0:m!=="auto"&&(y=m*a+f*(a-1));const g=$({},r,{cols:l,component:s,gap:f,rowHeight:m,rows:a,variant:v}),_=Cw(g);return O.jsx(_w,$({as:s,className:ue(_.root,_[v],i),ref:n,style:$({height:y,gridColumnEnd:v!=="masonry"?`span ${l}`:void 0,gridRowEnd:v!=="masonry"?`span ${a}`:void 0,marginBottom:v==="masonry"?f:void 0,breakInside:v==="masonry"?"avoid":void 0},u),ownerState:g},p,{children:C.Children.map(o,d=>C.isValidElement(d)?d.type==="img"||Hm(d,["Image"])?C.cloneElement(d,{className:ue(_.img,d.props.className)}):d:null)}))});function Pw(e){return wt("MuiImageListItemBar",e)}Qt("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]);const $w=["actionIcon","actionPosition","className","subtitle","title","position"],Rw=e=>{const{classes:t,position:n,actionIcon:r,actionPosition:o}=e,i={root:["root",`position${B(n)}`],titleWrap:["titleWrap",`titleWrap${B(n)}`,r&&`titleWrapActionPos${B(o)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${B(o)}`]};return Mt(i,Pw,t)},Tw=ye("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${B(n.position)}`]]}})(({theme:e,ownerState:t})=>$({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},t.position==="bottom"&&{bottom:0},t.position==="top"&&{top:0},t.position==="below"&&{position:"relative",background:"transparent",alignItems:"normal"})),Ow=ye("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.titleWrap,t[`titleWrap${B(n.position)}`],n.actionIcon&&t[`titleWrapActionPos${B(n.actionPosition)}`]]}})(({theme:e,ownerState:t})=>$({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden"},t.position==="below"&&{padding:"6px 0 12px",color:"inherit"},t.actionIcon&&t.actionPosition==="left"&&{paddingLeft:0},t.actionIcon&&t.actionPosition==="right"&&{paddingRight:0})),zw=ye("div",{name:"MuiImageListItemBar",slot:"Title",overridesResolver:(e,t)=>t.title})(({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})),Iw=ye("div",{name:"MuiImageListItemBar",slot:"Subtitle",overridesResolver:(e,t)=>t.subtitle})(({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})),Mw=ye("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actionIcon,t[`actionIconActionPos${B(n.actionPosition)}`]]}})(({ownerState:e})=>$({},e.actionPosition==="left"&&{order:-1})),Nw=C.forwardRef(function(t,n){const r=kt({props:t,name:"MuiImageListItemBar"}),{actionIcon:o,actionPosition:i="right",className:l,subtitle:s,title:a,position:u="bottom"}=r,p=ae(r,$w),m=$({},r,{position:u,actionPosition:i}),f=Rw(m);return O.jsxs(Tw,$({ownerState:m,className:ue(f.root,l),ref:n},p,{children:[O.jsxs(Ow,{ownerState:m,className:f.titleWrap,children:[O.jsx(zw,{className:f.title,children:a}),s?O.jsx(Iw,{className:f.subtitle,children:s}):null]}),o?O.jsx(Mw,{ownerState:m,className:f.actionIcon,children:o}):null]}))}),jw=({images:e,onImageClick:t})=>O.jsx(Sw,{sx:{width:500,height:450},children:e.map(n=>O.jsxs(Ew,{children:[O.jsx("img",{srcSet:`${n}?w=248&fit=crop&auto=format&dpr=2 2x`,src:`${n}?w=248&fit=crop&auto=format`,alt:"s",loading:"lazy"}),O.jsx(Nw,{sx:{height:"100%",cursor:"pointer","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.7)"}},onClick:()=>t==null?void 0:t(e.indexOf(n))})]},n))}),Kf=[{img:"https://images.unsplash.com/photo-1551963831-b3b1ca40c98e",title:"Breakfast",author:"@bkristastucchio",rows:2,cols:2,featured:!0},{img:"https://images.unsplash.com/photo-1551782450-a2132b4ba21d",title:"Burger",author:"@rollelflex_graphy726"},{img:"https://images.unsplash.com/photo-1522770179533-24471fcdba45",title:"Camera",author:"@helloimnik"},{img:"https://images.unsplash.com/photo-1444418776041-9c7e33cc5a9c",title:"Coffee",author:"@nolanissac",cols:2},{img:"https://images.unsplash.com/photo-1533827432537-70133748f5c8",title:"Hats",author:"@hjrc33",cols:2},{img:"https://images.unsplash.com/photo-1558642452-9d2a7deb7f62",title:"Honey",author:"@arwinneil",rows:2,cols:2,featured:!0},{img:"https://images.unsplash.com/photo-1516802273409-68526ee1bdd6",title:"Basketball",author:"@tjdragotta"},{img:"https://images.unsplash.com/photo-1518756131217-31eb79b20e8f",title:"Fern",author:"@katie_wasserman"},{img:"https://images.unsplash.com/photo-1597645587822-e99fa5d45d25",title:"Mushrooms",author:"@silverdalex",rows:2,cols:2},{img:"https://images.unsplash.com/photo-1567306301408-9b74779a11af",title:"Tomato basil",author:"@shelleypauls"},{img:"https://images.unsplash.com/photo-1471357674240-e1a485acb3e1",title:"Sea star",author:"@peterlaster"},{img:"https://images.unsplash.com/photo-1589118949245-7d38baf380d6",title:"Bike",author:"@southside_customs",cols:2}],Lw={easy:{rows:2,columns:2,time:60},medium:{rows:6,columns:6,time:120},hard:{rows:10,columns:10,time:180}},bw=({onStartGame:e})=>O.jsxs(xi,{children:[O.jsx(Dt,{variant:"h4",children:"Welcome to Jigsaw Puzzle"}),O.jsx(Dt,{variant:"body1",children:"Click on the button below to start the game"}),O.jsx(qr,{variant:"contained",onClick:e,children:"Start Game"})]}),Aw=({onLevelChange:e})=>O.jsxs(Bt,{alignItems:"center",children:[O.jsx(Dt,{variant:"h6",sx:{marginBottom:2,filter:"invert(1)"},children:"Select the level of difficulty"}),O.jsxs(Bt,{direction:"row",spacing:2,children:[O.jsx(qr,{variant:"contained",onClick:()=>e("easy"),children:"Easy"}),O.jsx(qr,{variant:"contained",onClick:()=>e("medium"),children:"Medium"}),O.jsx(qr,{variant:"contained",onClick:()=>e("hard"),children:"Hard"})]})]});var Qu={},Ps={};const Fw=It(_S);var Gf;function Dw(){return Gf||(Gf=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Fw}(Ps)),Ps}var Bw=Wu;Object.defineProperty(Qu,"__esModule",{value:!0});var sh=Qu.default=void 0,Ww=Bw(Dw()),Uw=O;sh=Qu.default=(0,Ww.default)((0,Uw.jsx)("path",{d:"M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"}),"EmojiEvents");const $s=({players:e})=>O.jsxs(Bt,{spacing:1,alignItems:"center",sx:{width:"100%",bgcolor:"background.paper",boxShadow:1,borderRadius:1,border:1,borderColor:"grey.500",borderStyle:"solid",padding:1,"&:hover":{borderColor:"grey.700",boxShadow:2},"&:active":{boxShadow:0,borderColor:"grey.500"},"&:focus":{borderColor:"grey.700",boxShadow:2}},children:[O.jsx(Dt,{variant:"h6",children:"List of Players"}),e.map((t,n)=>O.jsx(Bt,{gap:2,flexDirection:"row",children:O.jsxs(Bt,{flexDirection:"row",gap:1,children:[t.isWinner&&O.jsx(sh,{}),O.jsx(Dt,{variant:"body1",children:t.name})]})},t.name))]}),ah=()=>C.useCallback(e=>{window.parent.postMessage(e,"*")},[]),Vw=e=>{const t=ah(),n=C.useRef(!1);C.useEffect(()=>{const r=o=>{e(o)};return window.addEventListener("message",r),n.current||(t({type:"ovice_get_participants"}),n.current=!0),()=>{window.removeEventListener("message",r)}},[e,t])};function Hw(){const[e,t]=C.useState(!1),[n,r]=C.useState(null),[o,i]=C.useState(void 0),[l,s]=C.useState([]),[a,u]=C.useState(void 0),[p,m]=C.useState(!1),[f,v]=C.useState(!1),[y,g]=C.useState(),_=ah();Vw(P=>{var z;const M=P.data;if(M.type==="ovice_participants"){const N=M.payload,L=N.map(R=>({id:R.id,name:R.name,time:0,isWinner:!1}));s(L),u(N.some(R=>R.isHost&&R.isSelf)||!1),i((z=N.find(R=>R.isSelf))==null?void 0:z.id)}else if(M.type==="ovice_participant_joined"){const N=M.payload;if(l.find(L=>L.id===N.id))return;s(L=>[...L,{id:N.id,name:N.name,time:0,isWinner:!1}])}else if(M.type==="ovice_participant_unsubscribed"||M.type==="ovice_participant_left"){const N=M.payload;s(L=>L.filter(R=>R.id!==N.id))}else if(M.type==="ovice_message"){const N=M.payload;N.event==="started"?(t(!0),r(N.message.img),g(N.message.config),s(L=>L.map(R=>({...R,isWinner:!1}))),m(!1)):N.event==="solved"&&(c(N.message.winnerId),m(!0),d())}});const d=()=>{t(!1),r(null),g(void 0),v(!1)},c=P=>{const M=l.findIndex(z=>z.id===P);if(M!==-1){const z=[...l];z[M].isWinner=!0,s(z)}},h=()=>{t(!0),m(!1)},x=()=>{o&&(_({type:"ovice_broadcast_message",payload:{event:"solved",message:{winnerId:o}}}),c(o),d(),m(!0))},S=P=>{v(!0),r(Kf[P].img)},w=()=>{s(P=>P.map(M=>({...M,isWinner:!1}))),m(!1)},k=P=>{const M=Lw[P];_({type:"ovice_broadcast_message",payload:{event:"started",message:{config:M,img:n}}}),g(M)};return a===void 0?O.jsx(xi,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",backgroundColor:"#f0f0f0",position:"relative",backgroundImage:`url(${n})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:O.jsxs(Bt,{alignItems:"center",spacing:1,children:[O.jsx(hw,{color:"secondary",size:"50%"}),O.jsx(Dt,{variant:"h4",children:"Loading..."})]})}):a===!1&&!e?O.jsx(xi,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",backgroundColor:"#f0f0f0",position:"relative",backgroundImage:`url(${n})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:O.jsxs(Bt,{alignItems:"center",spacing:1,children:[!p&&O.jsx(Dt,{variant:"h4",children:"Waiting for host to start the game"}),p&&O.jsx(Dt,{variant:"h4",children:"Game Over"}),O.jsx($s,{players:l})]})}):O.jsxs(xi,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",backgroundColor:"#f0f0f0",position:"relative",backgroundImage:`url(${n})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:[n&&y&&!p&&O.jsx(sm.JigsawPuzzle,{imageSrc:n,rows:y.rows,columns:y.columns,onSolved:x}),a&&p&&O.jsxs(Bt,{alignItems:"center",spacing:1,children:[O.jsx(Dt,{variant:"h4",children:"Game Over"}),O.jsx($s,{players:l}),O.jsx(qr,{variant:"contained",onClick:w,children:"Restart"})]}),a&&!e&&!p&&O.jsxs(Bt,{flexDirection:"row",children:[O.jsx(bw,{onStartGame:h}),O.jsx($s,{players:l})]}),a&&e&&n===null&&!p&&O.jsx(jw,{images:Kf.map(P=>P.img),onImageClick:P=>{S(P)}}),a&&f&&!p&&!y&&O.jsx(Aw,{onLevelChange:k})]})}const Kw=lm(document.getElementById("root"));Kw.render(O.jsx(C.StrictMode,{children:O.jsx(Hw,{})})); diff --git a/jigsaw-puzzle/assets/index-D6ALmUEr.css b/jigsaw-puzzle/assets/index-D6ALmUEr.css new file mode 100644 index 0000000..bc4f1e7 --- /dev/null +++ b/jigsaw-puzzle/assets/index-D6ALmUEr.css @@ -0,0 +1 @@ +.jigsaw-puzzle{position:relative;background-color:#fff;width:60%}.jigsaw-puzzle__piece{position:absolute;border:1px solid #000;cursor:pointer;z-index:1;-webkit-user-select:none;user-select:none}.jigsaw-puzzle__piece.jigsaw-puzzle__piece--solved{border-color:#000;z-index:0}.jigsaw-puzzle__piece.jigsaw-puzzle__piece--dragging{z-index:5;box-shadow:1px 1px 5px #00000091} diff --git a/jigsaw-puzzle/favicon.ico b/jigsaw-puzzle/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..317ebcb2336e0833a22dddf0ab287849f26fda57 GIT binary patch literal 15086 zcmeI332;U^%p|z7g|#(P)qFEA@4f!_@qOK2 z_lJl}!lhL!VT_U|uN7%8B2iKH??xhDa;*`g{yjTFWHvXn;2s{4R7kH|pKGdy(7z!K zgftM+Ku7~24TLlh(!g)gz|foI94G^t2^IO$uvX$3(OR0<_5L2sB)lMAMy|+`xodJ{ z_Uh_1m)~h?a;2W{dmhM;u!YGo=)OdmId_B<%^V^{ovI@y`7^g1_V9G}*f# zNzAtvou}I!W1#{M^@ROc(BZ! z+F!!_aR&Px3_reO(EW+TwlW~tv*2zr?iP7(d~a~yA|@*a89IUke+c472NXM0wiX{- zl`UrZC^1XYyf%1u)-Y)jj9;MZ!SLfd2Hl?o|80Su%Z?To_=^g_Jt0oa#CT*tjx>BI z16wec&AOWNK<#i0Qd=1O$fymLRoUR*%;h@*@v7}wApDl^w*h}!sYq%kw+DKDY)@&A z@9$ULEB3qkR#85`lb8#WZw=@})#kQig9oqy^I$dj&k4jU&^2(M3q{n1AKeGUKPFbr z1^<)aH;VsG@J|B&l>UtU#Ejv3GIqERzYgL@UOAWtW<{p#zy`WyJgpCy8$c_e%wYJL zyGHRRx38)HyjU3y{-4z6)pzb>&Q1pR)B&u01F-|&Gx4EZWK$nkUkOI|(D4UHOXg_- zw{OBf!oWQUn)Pe(=f=nt=zkmdjpO^o8ZZ9o_|4tW1ni+Un9iCW47*-ut$KQOww!;u z`0q)$s6IZO!~9$e_P9X!hqLxu`fpcL|2f^I5d4*a@Dq28;@2271v_N+5HqYZ>x;&O z05*7JT)mUe&%S0@UD)@&8SmQrMtsDfZT;fkdA!r(S=}Oz>iP)w=W508=Rc#nNn7ym z1;42c|8($ALY8#a({%1#IXbWn9-Y|0eDY$_L&j{63?{?AH{);EzcqfydD$@-B`Y3<%IIj7S7rK_N}je^=dEk%JQ4c z!tBdTPE3Tse;oYF>cnrapWq*o)m47X1`~6@(!Y29#>-#8zm&LXrXa(3=7Z)ElaQqj z-#0JJy3Fi(C#Rx(`=VXtJ63E2_bZGCz+QRa{W0e2(m3sI?LOcUBx)~^YCqZ{XEPX)C>G>U4tfqeH8L(3|pQR*zbL1 zT9e~4Tb5p9_G}$y4t`i*4t_Mr9QYvL9C&Ah*}t`q*}S+VYh0M6GxTTSXI)hMpMpIq zD1ImYqJLzbj0}~EpE-aH#VCH_udYEW#`P2zYmi&xSPs_{n6tBj=MY|-XrA;SGA_>y zGtU$?HXm$gYj*!N)_nQ59%lQdXtQZS3*#PC-{iB_sm+ytD*7j`D*k(P&IH2GHT}Eh z5697eQECVIGQAUe#eU2I!yI&%0CP#>%6MWV z@zS!p@+Y1i1b^QuuEF*13CuB zu69dve5k7&Wgb+^s|UB08Dr3u`h@yM0NTj4h7MnHo-4@xmyr7(*4$rpPwsCDZ@2be zRz9V^GnV;;?^Lk%ynzq&K(Aix`mWmW`^152Hoy$CTYVehpD-S1-W^#k#{0^L`V6CN+E z!w+xte;2vu4AmVNEFUOBmrBL>6MK@!O2*N|2=d|Y;oN&A&qv=qKn73lDD zI(+oJAdgv>Yr}8(&@ZuAZE%XUXmX(U!N+Z_sjL<1vjy1R+1IeHt`79fnYdOL{$ci7 z%3f0A*;Zt@ED&Gjm|OFTYBDe%bbo*xXAQsFz+Q`fVBH!N2)kaxN8P$c>sp~QXnv>b zwq=W3&Mtmih7xkR$YA)1Yi?avHNR6C99!u6fh=cL|KQ&PwF!n@ud^n(HNIImHD!h87!i*t?G|p0o+eelJ?B@A64_9%SBhNaJ64EvKgD&%LjLCYnNfc; znj?%*p@*?dq#NqcQFmmX($wms@CSAr9#>hUR^=I+=0B)vvGX%T&#h$kmX*s=^M2E!@N9#m?LhMvz}YB+kd zG~mbP|D(;{s_#;hsKK9lbVK&Lo734x7SIFJ9V_}2$@q?zm^7?*XH94w5Qae{7zOMUF z^?%F%)c1Y)Q?Iy?I>knw*8gYW#ok|2gdS=YYZLiD=CW|Nj;n^x!=S#iJ#`~Ld79+xXpVmUK^B(xO_vO!btA9y7w3L3-0j-y4 z?M-V{%z;JI`bk7yFDcP}OcCd*{Q9S5$iGA7*E1@tfkyjAi!;wP^O71cZ^Ep)qrQ)N z#wqw0_HS;T7x3y|`P==i3hEwK%|>fZ)c&@kgKO1~5<5xBSk?iZV?KI6&i72H6S9A* z=U(*e)EqEs?Oc04)V-~K5AUmh|62H4*`UAtItO$O(q5?6jj+K^oD!04r=6#dsxp?~}{`?&sXn#q2 zGuY~7>O2=!u@@Kfu7q=W*4egu@qPMRM>(eyYyaIE<|j%d=iWNdGsx%c!902v#ngNg z@#U-O_4xN$s_9?(`{>{>7~-6FgWpBpqXb`Ydc3OFL#&I}Irse9F_8R@4zSS*Y*o*B zXL?6*Aw!AfkNCgcr#*yj&p3ZDe2y>v$>FUdKIy_2N~}6AbHc7gA3`6$g@1o|dE>vz z4pl(j9;kyMsjaw}lO?(?Xg%4k!5%^t#@5n=WVc&JRa+XT$~#@rldvN3S1rEpU$;XgxVny7mki3 z-Hh|jUCHrUXuLr!)`w>wgO0N%KTB-1di>cj(x3Bav`7v z3G7EIbU$z>`Nad7Rk_&OT-W{;qg)-GXV-aJT#(ozdmnA~Rq3GQ_3mby(>q6Ocb-RgTUhTN)))x>m&eD;$J5Bg zo&DhY36Yg=J=$Z>t}RJ>o|@hAcwWzN#r(WJ52^g$lh^!63@hh+dR$&_dEGu&^CR*< z!oFqSqO@>xZ*nC2oiOd0eS*F^IL~W-rsrO`J`ej{=ou_q^_(<$&-3f^J z&L^MSYWIe{&pYq&9eGaArA~*kA + + + + JigsawPuzzle + + + + + + + + +
+ +