From 647023d936f3d4f36491dd97c1ae18f9c7b23eab Mon Sep 17 00:00:00 2001 From: Goblin Oats Date: Tue, 27 Feb 2024 14:41:04 +0000 Subject: [PATCH] Updates --- assets/index-0be9a142.js | 382 ++++++++++++++++++++++++++++++++++++++ assets/index-ec2bd983.js | 384 --------------------------------------- index.html | 2 +- 3 files changed, 383 insertions(+), 385 deletions(-) create mode 100644 assets/index-0be9a142.js delete mode 100644 assets/index-ec2bd983.js diff --git a/assets/index-0be9a142.js b/assets/index-0be9a142.js new file mode 100644 index 0000000..98985bc --- /dev/null +++ b/assets/index-0be9a142.js @@ -0,0 +1,382 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ec={exports:{}},hl={},tc={exports:{}},A={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Wr=Symbol.for("react.element"),Kd=Symbol.for("react.portal"),Zd=Symbol.for("react.fragment"),Jd=Symbol.for("react.strict_mode"),qd=Symbol.for("react.profiler"),bd=Symbol.for("react.provider"),ep=Symbol.for("react.context"),tp=Symbol.for("react.forward_ref"),np=Symbol.for("react.suspense"),rp=Symbol.for("react.memo"),ip=Symbol.for("react.lazy"),xu=Symbol.iterator;function lp(e){return e===null||typeof e!="object"?null:(e=xu&&e[xu]||e["@@iterator"],typeof e=="function"?e:null)}var nc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},rc=Object.assign,ic={};function Qn(e,t,n){this.props=e,this.context=t,this.refs=ic,this.updater=n||nc}Qn.prototype.isReactComponent={};Qn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lc(){}lc.prototype=Qn.prototype;function gs(e,t,n){this.props=e,this.context=t,this.refs=ic,this.updater=n||nc}var ys=gs.prototype=new lc;ys.constructor=gs;rc(ys,Qn.prototype);ys.isPureReactComponent=!0;var Eu=Array.isArray,oc=Object.prototype.hasOwnProperty,ws={current:null},sc={key:!0,ref:!0,__self:!0,__source:!0};function uc(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)oc.call(t,r)&&!sc.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,j=_[F];if(0>>1;Fi(vt,N))kei(it,vt)?(_[F]=it,_[ke]=N,F=ke):(_[F]=vt,_[Fe]=N,F=Fe);else if(kei(it,N))_[F]=it,_[ke]=N,F=ke;else break e}}return T}function i(_,T){var N=_.sortIndex-T.sortIndex;return N!==0?N:_.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],a=[],p=1,m=null,h=3,g=!1,y=!1,w=!1,I=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=_)r(a),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(a)}}function v(_){if(w=!1,d(_),!y)if(n(u)!==null)y=!0,Jn(x);else{var T=n(a);T!==null&&Bt(v,T.startTime-_)}}function x(_,T){y=!1,w&&(w=!1,f(O),O=-1),g=!0;var N=h;try{for(d(T),m=n(u);m!==null&&(!(m.expirationTime>T)||_&&!pe());){var F=m.callback;if(typeof F=="function"){m.callback=null,h=m.priorityLevel;var j=F(m.expirationTime<=T);T=e.unstable_now(),typeof j=="function"?m.callback=j:m===n(u)&&r(u),d(T)}else r(u);m=n(u)}if(m!==null)var Ht=!0;else{var Fe=n(a);Fe!==null&&Bt(v,Fe.startTime-T),Ht=!1}return Ht}finally{m=null,h=N,g=!1}}var k=!1,S=null,O=-1,D=5,R=-1;function pe(){return!(e.unstable_now()-R_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(_){switch(h){case 1:case 2:case 3:var T=3;break;default:T=h}var N=h;h=T;try{return _()}finally{h=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,T){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var N=h;h=_;try{return T()}finally{h=N}},e.unstable_scheduleCallback=function(_,T,N){var F=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0F?(_.sortIndex=N,t(a,_),n(u)===null&&_===n(a)&&(w?(f(O),O=-1):w=!0,Bt(v,N-F))):(_.sortIndex=j,t(u,_),y||g||(y=!0,Jn(x))),_},e.unstable_shouldYield=pe,e.unstable_wrapCallback=function(_){var T=h;return function(){var N=h;h=T;try{return _.apply(this,arguments)}finally{h=N}}}})(dc);fc.exports=dc;var vp=fc.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 pc=b,Oe=vp;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"),vo=Object.prototype.hasOwnProperty,gp=/^[: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]*$/,Cu={},_u={};function yp(e){return vo.call(_u,e)?!0:vo.call(Cu,e)?!1:gp.test(e)?_u[e]=!0:(Cu[e]=!0,!1)}function wp(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 Sp(e,t,n,r){if(t===null||typeof t>"u"||wp(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 ge(e,t,n,r,i,l,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new ge(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){se[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){se[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){se[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){se[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){se[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var xs=/[\-:]([a-z])/g;function Es(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(xs,Es);se[t]=new ge(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(xs,Es);se[t]=new ge(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(xs,Es);se[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){se[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});se.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){se[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function ks(e,t,n,r){var i=se.hasOwnProperty(t)?se[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==l[s]){var u=` +`+i[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ur(e):""}function xp(e){switch(e.tag){case 5:return ur(e.type);case 16:return ur("Lazy");case 13:return ur("Suspense");case 19:return ur("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function So(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mn:return"Fragment";case hn:return"Portal";case go:return"Profiler";case Cs:return"StrictMode";case yo:return"Suspense";case wo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vc:return(e.displayName||"Context")+".Consumer";case mc:return(e._context.displayName||"Context")+".Provider";case _s:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ps:return t=e.displayName||null,t!==null?t:So(e.type)||"Memo";case St:t=e._payload,e=e._init;try{return So(e(t))}catch{}}return null}function Ep(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 So(t);case 8:return t===Cs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kp(e){var t=yc(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 i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qr(e){e._valueTracker||(e._valueTracker=kp(e))}function wc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fi(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 xo(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ou(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(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 Sc(e,t){t=t.checked,t!=null&&ks(e,"checked",t,!1)}function Eo(e,t){Sc(e,t);var n=$t(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")?ko(e,t.type,n):t.hasOwnProperty("defaultValue")&&ko(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Iu(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 ko(e,t,n){(t!=="number"||Fi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ar=Array.isArray;function On(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=br.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var hr={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},Cp=["Webkit","ms","Moz","O"];Object.keys(hr).forEach(function(e){Cp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hr[t]=hr[e]})});function Cc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||hr.hasOwnProperty(e)&&hr[e]?(""+t).trim():t+"px"}function _c(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var _p=X({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Po(e,t){if(t){if(_p[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 Oo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Io=null;function Os(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var To=null,In=null,Tn=null;function Ru(e){if(e=Qr(e)){if(typeof To!="function")throw Error(E(280));var t=e.stateNode;t&&(t=wl(t),To(e.stateNode,e.type,t))}}function Pc(e){In?Tn?Tn.push(e):Tn=[e]:In=e}function Oc(){if(In){var e=In,t=Tn;if(Tn=In=null,Ru(e),t)for(e=0;e>>=0,e===0?32:31-($p(e)/Mp|0)|0}var ei=64,ti=4194304;function cr(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 Hi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=cr(s):(l&=o,l!==0&&(r=cr(l)))}else o=n&~i,o!==0?r=cr(o):l!==0&&(r=cr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&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 Yr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-We(t),e[t]=n}function Bp(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=vr),Uu=String.fromCharCode(32),Bu=!1;function Xc(e,t){switch(e){case"keyup":return mh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function gh(e,t){switch(e){case"compositionend":return Gc(t);case"keypress":return t.which!==32?null:(Bu=!0,Uu);case"textInput":return e=t.data,e===Uu&&Bu?null:e;default:return null}}function yh(e,t){if(vn)return e==="compositionend"||!Ds&&Xc(e,t)?(e=Vc(),ki=zs=Ct=null,vn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Vu(n)}}function qc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bc(){for(var e=window,t=Fi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fi(e.document)}return t}function $s(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Oh(e){var t=bc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&qc(n.ownerDocument.documentElement,n)){if(r!==null&&$s(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Qu(n,l);var o=Qu(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,gn=null,Do=null,yr=null,$o=!1;function Xu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$o||gn==null||gn!==Fi(r)||(r=gn,"selectionStart"in r&&$s(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),yr&&zr(yr,r)||(yr=r,r=Vi(Do,"onSelect"),0Sn||(e.current=Ho[Sn],Ho[Sn]=null,Sn--)}function U(e,t){Sn++,Ho[Sn]=e.current,e.current=t}var Mt={},de=jt(Mt),Se=jt(!1),tn=Mt;function Ln(e,t){var n=e.type.contextTypes;if(!n)return Mt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xe(e){return e=e.childContextTypes,e!=null}function Xi(){W(Se),W(de)}function ea(e,t,n){if(de.current!==Mt)throw Error(E(168));U(de,t),U(Se,n)}function af(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(E(108,Ep(e)||"Unknown",i));return X({},n,r)}function Gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mt,tn=de.current,U(de,e),U(Se,Se.current),!0}function ta(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=af(e,t,tn),r.__reactInternalMemoizedMergedChildContext=e,W(Se),W(de),U(de,e)):W(Se),U(Se,n)}var st=null,Sl=!1,to=!1;function cf(e){st===null?st=[e]:st.push(e)}function jh(e){Sl=!0,cf(e)}function Ut(){if(!to&&st!==null){to=!0;var e=0,t=M;try{var n=st;for(M=1;e>=o,i-=o,ut=1<<32-We(t)+i|n<O?(D=S,S=null):D=S.sibling;var R=h(f,S,d[O],v);if(R===null){S===null&&(S=D);break}e&&S&&R.alternate===null&&t(f,S),c=l(R,c,O),k===null?x=R:k.sibling=R,k=R,S=D}if(O===d.length)return n(f,S),Y&&Vt(f,O),x;if(S===null){for(;OO?(D=S,S=null):D=S.sibling;var pe=h(f,S,R.value,v);if(pe===null){S===null&&(S=D);break}e&&S&&pe.alternate===null&&t(f,S),c=l(pe,c,O),k===null?x=pe:k.sibling=pe,k=pe,S=D}if(R.done)return n(f,S),Y&&Vt(f,O),x;if(S===null){for(;!R.done;O++,R=d.next())R=m(f,R.value,v),R!==null&&(c=l(R,c,O),k===null?x=R:k.sibling=R,k=R);return Y&&Vt(f,O),x}for(S=r(f,S);!R.done;O++,R=d.next())R=g(S,f,O,R.value,v),R!==null&&(e&&R.alternate!==null&&S.delete(R.key===null?O:R.key),c=l(R,c,O),k===null?x=R:k.sibling=R,k=R);return e&&S.forEach(function(nt){return t(f,nt)}),Y&&Vt(f,O),x}function I(f,c,d,v){if(typeof d=="object"&&d!==null&&d.type===mn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Jr:e:{for(var x=d.key,k=c;k!==null;){if(k.key===x){if(x=d.type,x===mn){if(k.tag===7){n(f,k.sibling),c=i(k,d.props.children),c.return=f,f=c;break e}}else if(k.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===St&&ua(x)===k.type){n(f,k.sibling),c=i(k,d.props),c.ref=ir(f,k,d),c.return=f,f=c;break e}n(f,k);break}else t(f,k);k=k.sibling}d.type===mn?(c=bt(d.props.children,f.mode,v,d.key),c.return=f,f=c):(v=Ri(d.type,d.key,d.props,null,f.mode,v),v.ref=ir(f,c,d),v.return=f,f=v)}return o(f);case hn:e:{for(k=d.key;c!==null;){if(c.key===k)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=i(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=ao(d,f.mode,v),c.return=f,f=c}return o(f);case St:return k=d._init,I(f,c,k(d._payload),v)}if(ar(d))return y(f,c,d,v);if(bn(d))return w(f,c,d,v);ui(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=i(c,d),c.return=f,f=c):(n(f,c),c=uo(d,f.mode,v),c.return=f,f=c),o(f)):n(f,c)}return I}var $n=yf(!0),wf=yf(!1),Xr={},et=jt(Xr),$r=jt(Xr),Mr=jt(Xr);function Kt(e){if(e===Xr)throw Error(E(174));return e}function Vs(e,t){switch(U(Mr,t),U($r,e),U(et,Xr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_o(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_o(t,e)}W(et),U(et,t)}function Mn(){W(et),W($r),W(Mr)}function Sf(e){Kt(Mr.current);var t=Kt(et.current),n=_o(t,e.type);t!==n&&(U($r,e),U(et,n))}function Qs(e){$r.current===e&&(W(et),W($r))}var V=jt(0);function el(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var no=[];function Xs(){for(var e=0;en?n:4,e(!0);var r=ro.transition;ro.transition={};try{e(!1),t()}finally{M=n,ro.transition=r}}function $f(){return $e().memoizedState}function Wh(e,t,n){var r=zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Mf(e))Ff(t,n);else if(n=hf(e,t,n,r),n!==null){var i=me();Ye(n,e,r,i),jf(n,t,r)}}function Yh(e,t,n){var r=zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mf(e))Ff(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,s=l(o,n);if(i.hasEagerState=!0,i.eagerState=s,Qe(s,o)){var u=t.interleaved;u===null?(i.next=i,Ws(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=hf(e,t,i,r),n!==null&&(i=me(),Ye(n,e,r,i),jf(n,t,r))}}function Mf(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Ff(e,t){wr=tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}var nl={readContext:De,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},Vh={readContext:De,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:De,useEffect:ca,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Oi(4194308,4,Rf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oi(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Wh.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:aa,useDebugValue:qs,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=aa(!1),t=e[0];return e=Hh.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=Ze();if(Y){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),ie===null)throw Error(E(349));rn&30||kf(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,ca(_f.bind(null,r,l,e),[e]),r.flags|=2048,Ur(9,Cf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ze(),t=ie.identifierPrefix;if(Y){var n=at,r=ut;n=(r&~(1<<32-We(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Fr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[qe]=t,e[Dr]=r,Gf(e,t,!1,!1),t.stateNode=e;e:{switch(o=Oo(n,r),n){case"dialog":B("cancel",e),B("close",e),i=r;break;case"iframe":case"object":case"embed":B("load",e),i=r;break;case"video":case"audio":for(i=0;ijn&&(t.flags|=128,r=!0,lr(l,!1),t.lanes=4194304)}else{if(!r)if(e=el(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),lr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!Y)return ae(t),null}else 2*Z()-l.renderingStartTime>jn&&n!==1073741824&&(t.flags|=128,r=!0,lr(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Z(),t.sibling=null,n=V.current,U(V,r?n&1|2:n&1),t):(ae(t),null);case 22:case 23:return iu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ce&1073741824&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function bh(e,t){switch(Fs(t),t.tag){case 1:return xe(t.type)&&Xi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mn(),W(Se),W(de),Xs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));Dn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return Mn(),null;case 10:return Hs(t.type._context),null;case 22:case 23:return iu(),null;case 24:return null;default:return null}}var ci=!1,ce=!1,e0=typeof WeakSet=="function"?WeakSet:Set,P=null;function Cn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){K(e,t,r)}}var wa=!1;function t0(e,t){if(Mo=Wi,e=bc(),$s(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,p=0,m=e,h=null;t:for(;;){for(var g;m!==n||i!==0&&m.nodeType!==3||(s=o+i),m!==l||r!==0&&m.nodeType!==3||(u=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(g=m.firstChild)!==null;)h=m,m=g;for(;;){if(m===e)break t;if(h===n&&++a===i&&(s=o),h===l&&++p===r&&(u=o),(g=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fo={focusedElem:e,selectionRange:n},Wi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,I=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Ue(t.type,w),I);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(v){K(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=wa,wa=!1,y}function Sr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&es(t,n,l)}i=i.next}while(i!==r)}}function kl(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 ts(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 Jf(e){var t=e.alternate;t!==null&&(e.alternate=null,Jf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qe],delete t[Dr],delete t[Bo],delete t[Mh],delete t[Fh])),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 qf(e){return e.tag===5||e.tag===3||e.tag===4}function Sa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qf(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 ns(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=Qi));else if(r!==4&&(e=e.child,e!==null))for(ns(e,t,n),e=e.sibling;e!==null;)ns(e,t,n),e=e.sibling}function rs(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(rs(e,t,n),e=e.sibling;e!==null;)rs(e,t,n),e=e.sibling}var le=null,Be=!1;function yt(e,t,n){for(n=n.child;n!==null;)bf(e,t,n),n=n.sibling}function bf(e,t,n){if(be&&typeof be.onCommitFiberUnmount=="function")try{be.onCommitFiberUnmount(ml,n)}catch{}switch(n.tag){case 5:ce||Cn(n,t);case 6:var r=le,i=Be;le=null,yt(e,t,n),le=r,Be=i,le!==null&&(Be?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&(Be?(e=le,n=n.stateNode,e.nodeType===8?eo(e.parentNode,n):e.nodeType===1&&eo(e,n),Nr(e)):eo(le,n.stateNode));break;case 4:r=le,i=Be,le=n.stateNode.containerInfo,Be=!0,yt(e,t,n),le=r,Be=i;break;case 0:case 11:case 14:case 15:if(!ce&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&es(n,t,o),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!ce&&(Cn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){K(n,t,s)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(ce=(r=ce)||n.memoizedState!==null,yt(e,t,n),ce=r):yt(e,t,n);break;default:yt(e,t,n)}}function xa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new e0),t.forEach(function(r){var i=c0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function je(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~l}if(r=i,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*r0(r/1960))-r,10e?16:e,_t===null)var r=!1;else{if(e=_t,_t=null,ll=0,L&6)throw Error(E(331));var i=L;for(L|=4,P=e.current;P!==null;){var l=P,o=l.child;if(P.flags&16){var s=l.deletions;if(s!==null){for(var u=0;uZ()-nu?qt(e,0):tu|=n),Ee(e,t)}function sd(e,t){t===0&&(e.mode&1?(t=ti,ti<<=1,!(ti&130023424)&&(ti=4194304)):t=1);var n=me();e=pt(e,t),e!==null&&(Yr(e,t,n),Ee(e,n))}function a0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),sd(e,n)}function c0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),sd(e,n)}var ud;ud=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Se.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Jh(e,t,n);we=!!(e.flags&131072)}else we=!1,Y&&t.flags&1048576&&ff(t,Zi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ii(e,t),e=t.pendingProps;var i=Ln(t,de.current);Rn(t,n),i=Ks(null,t,r,e,i,n);var l=Zs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xe(r)?(l=!0,Gi(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ys(t),i.updater=xl,t.stateNode=i,i._reactInternals=t,Xo(t,r,e,n),t=Zo(null,t,r,!0,l,n)):(t.tag=0,Y&&l&&Ms(t),he(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ii(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=d0(r),e=Ue(r,e),i){case 0:t=Ko(null,t,r,e,n);break e;case 1:t=va(null,t,r,e,n);break e;case 11:t=ha(null,t,r,e,n);break e;case 14:t=ma(null,t,r,Ue(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ue(r,i),Ko(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ue(r,i),va(e,t,r,i,n);case 3:e:{if(Vf(t),e===null)throw Error(E(387));r=t.pendingProps,l=t.memoizedState,i=l.element,mf(e,t),bi(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Fn(Error(E(423)),t),t=ga(e,t,r,n,i);break e}else if(r!==i){i=Fn(Error(E(424)),t),t=ga(e,t,r,n,i);break e}else for(_e=Tt(t.stateNode.containerInfo.firstChild),Pe=t,Y=!0,He=null,n=wf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Dn(),r===i){t=ht(e,t,n);break e}he(e,t,r,n)}t=t.child}return t;case 5:return Sf(t),e===null&&Yo(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,jo(r,i)?o=null:l!==null&&jo(r,l)&&(t.flags|=32),Yf(e,t),he(e,t,o,n),t.child;case 6:return e===null&&Yo(t),null;case 13:return Qf(e,t,n);case 4:return Vs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$n(t,null,r,n):he(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ue(r,i),ha(e,t,r,i,n);case 7:return he(e,t,t.pendingProps,n),t.child;case 8:return he(e,t,t.pendingProps.children,n),t.child;case 12:return he(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,U(Ji,r._currentValue),r._currentValue=o,l!==null)if(Qe(l.value,o)){if(l.children===i.children&&!Se.current){t=ht(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=ct(-1,n&-n),u.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?u.next=u:(u.next=p.next,p.next=u),a.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Vo(l.return,n,t),s.lanes|=n;break}u=u.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(E(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Vo(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}he(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Rn(t,n),i=De(i),r=r(i),t.flags|=1,he(e,t,r,n),t.child;case 14:return r=t.type,i=Ue(r,t.pendingProps),i=Ue(r.type,i),ma(e,t,r,i,n);case 15:return Hf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ue(r,i),Ii(e,t),t.tag=1,xe(r)?(e=!0,Gi(t)):e=!1,Rn(t,n),gf(t,r,i),Xo(t,r,i,n),Zo(null,t,r,!0,e,n);case 19:return Xf(e,t,n);case 22:return Wf(e,t,n)}throw Error(E(156,t.tag))};function ad(e,t){return Lc(e,t)}function f0(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 Ae(e,t,n,r){return new f0(e,t,n,r)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function d0(e){if(typeof e=="function")return ou(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_s)return 11;if(e===Ps)return 14}return 2}function At(e,t){var n=e.alternate;return n===null?(n=Ae(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 Ri(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")ou(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case mn:return bt(n.children,i,l,t);case Cs:o=8,i|=8;break;case go:return e=Ae(12,n,t,i|2),e.elementType=go,e.lanes=l,e;case yo:return e=Ae(13,n,t,i),e.elementType=yo,e.lanes=l,e;case wo:return e=Ae(19,n,t,i),e.elementType=wo,e.lanes=l,e;case gc:return _l(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mc:o=10;break e;case vc:o=9;break e;case _s:o=11;break e;case Ps:o=14;break e;case St:o=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Ae(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function bt(e,t,n,r){return e=Ae(7,e,r,t),e.lanes=n,e}function _l(e,t,n,r){return e=Ae(22,e,r,t),e.elementType=gc,e.lanes=n,e.stateNode={isHidden:!1},e}function uo(e,t,n){return e=Ae(6,e,null,t),e.lanes=n,e}function ao(e,t,n){return t=Ae(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function p0(e,t,n,r,i){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=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function su(e,t,n,r,i,l,o,s,u){return e=new p0(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ae(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ys(l),e}function h0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pd)}catch(e){console.error(e)}}pd(),cc.exports=Ie;var w0=cc.exports,Ta=w0;mo.createRoot=Ta.createRoot,mo.hydrateRoot=Ta.hydrateRoot;var fe=function(){return fe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?re(Kn,--Me):0,Hn--,J===10&&(Hn=1,Rl--),J}function Ve(){return J=Me2||as(J)>3?"":" "}function T0(e,t){for(;--t&&Ve()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return Al(e,Ai()+(t<6&&en()==32&&Ve()==32))}function cs(e){for(;Ve();)switch(J){case e:return Me;case 34:case 39:e!==34&&e!==39&&cs(J);break;case 40:e===41&&cs(e);break;case 92:Ve();break}return Me}function N0(e,t){for(;Ve()&&e+J!==47+10;)if(e+J===42+42&&en()===47)break;return"/*"+Al(t,Me-1)+"*"+du(e===47?e:Ve())}function R0(e){for(;!as(en());)Ve();return Al(e,Me)}function z0(e){return O0(Li("",null,null,null,[""],e=P0(e),0,[0],e))}function Li(e,t,n,r,i,l,o,s,u){for(var a=0,p=0,m=o,h=0,g=0,y=0,w=1,I=1,f=1,c=0,d="",v=i,x=l,k=r,S=d;I;)switch(y=c,c=Ve()){case 40:if(y!=108&&re(S,m-1)==58){zi(S+=z(co(c),"&","&\f"),"&\f",vd(a?s[a-1]:0))!=-1&&(f=-1);break}case 34:case 39:case 91:S+=co(c);break;case 9:case 10:case 13:case 32:S+=I0(y);break;case 92:S+=T0(Ai()-1,7);continue;case 47:switch(en()){case 42:case 47:dr(A0(N0(Ve(),Ai()),t,n,u),u);break;default:S+="/"}break;case 123*w:s[a++]=Je(S)*f;case 125*w:case 59:case 0:switch(c){case 0:case 125:I=0;case 59+p:f==-1&&(S=z(S,/\f/g,"")),g>0&&Je(S)-m&&dr(g>32?za(S+";",r,n,m-1,u):za(z(S," ","")+";",r,n,m-2,u),u);break;case 59:S+=";";default:if(dr(k=Ra(S,t,n,a,p,i,s,d,v=[],x=[],m,l),l),c===123)if(p===0)Li(S,t,k,k,v,l,m,s,x);else switch(h===99&&re(S,3)===110?100:h){case 100:case 108:case 109:case 115:Li(e,k,k,r&&dr(Ra(e,k,k,0,0,i,s,d,i,v=[],m,x),x),i,x,m,s,r?v:x);break;default:Li(S,k,k,k,[""],x,0,s,x)}}a=p=g=0,w=f=1,d=S="",m=o;break;case 58:m=1+Je(S),g=y;default:if(w<1){if(c==123)--w;else if(c==125&&w++==0&&_0()==125)continue}switch(S+=du(c),c*w){case 38:f=p>0?1:(S+="\f",-1);break;case 44:s[a++]=(Je(S)-1)*f,f=1;break;case 64:en()===45&&(S+=co(Ve())),h=en(),p=m=Je(d=S+=R0(Ai())),c++;break;case 45:y===45&&Je(S)==2&&(w=0)}}return l}function Ra(e,t,n,r,i,l,o,s,u,a,p,m){for(var h=i-1,g=i===0?l:[""],y=yd(g),w=0,I=0,f=0;w0?g[c]+" "+d:z(d,/&\f/g,g[c])))&&(u[f++]=v);return zl(e,t,n,i===0?Nl:s,u,a,p,m)}function A0(e,t,n,r){return zl(e,t,n,hd,du(C0()),Bn(e,2,-2),0,r)}function za(e,t,n,r,i){return zl(e,t,n,fu,Bn(e,0,r),Bn(e,r+1,-1),r,i)}function Sd(e,t,n){switch(E0(e,t)){case 5103:return $+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return $+e+e;case 4789:return kr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+kr+e+H+e+e;case 5936:switch(re(e,t+11)){case 114:return $+e+H+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+H+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+H+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return $+e+H+e+e;case 6165:return $+e+H+"flex-"+e+e;case 5187:return $+e+z(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+H+"flex-$1$2")+e;case 5443:return $+e+H+"flex-item-"+z(e,/flex-|-self/g,"")+(ot(e,/flex-|baseline/)?"":H+"grid-row-"+z(e,/flex-|-self/g,""))+e;case 4675:return $+e+H+"flex-line-pack"+z(e,/align-content|flex-|-self/g,"")+e;case 5548:return $+e+H+z(e,"shrink","negative")+e;case 5292:return $+e+H+z(e,"basis","preferred-size")+e;case 6060:return $+"box-"+z(e,"-grow","")+$+e+H+z(e,"grow","positive")+e;case 4554:return $+z(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+H+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4200:if(!ot(e,/flex-|baseline/))return H+"grid-column-align"+Bn(e,t)+e;break;case 2592:case 3360:return H+z(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,ot(r.props,/grid-\w+-end/)})?~zi(e+(n=n[t].value),"span",0)?e:H+z(e,"-start","")+e+H+"grid-row-span:"+(~zi(n,"span",0)?ot(n,/\d+/):+ot(n,/\d+/)-+ot(e,/\d+/))+";":H+z(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ot(r.props,/grid-\w+-start/)})?e:H+z(z(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Je(e)-1-t>6)switch(re(e,t+1)){case 109:if(re(e,t+4)!==45)break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+kr+(re(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~zi(e,"stretch",0)?Sd(z(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return z(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,l,o,s,u,a){return H+i+":"+l+a+(o?H+i+"-span:"+(s?u:+u-+l)+a:"")+e});case 4949:if(re(e,t+6)===121)return z(e,":",":"+$)+e;break;case 6444:switch(re(e,re(e,14)===45?18:11)){case 120:return z(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+$+(re(e,14)===45?"inline-":"")+"box$3$1"+$+"$2$3$1"+H+"$2box$3")+e;case 100:return z(e,":",":"+H)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return z(e,"scroll-","scroll-snap-")+e}return e}function ul(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case fu:e.return=Sd(e.value,e.length,n);return;case md:return ul([wt(e,{value:z(e.value,"@","@"+$)})],r);case Nl:if(e.length)return k0(n=e.props,function(i){switch(ot(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":dn(wt(e,{props:[z(i,/:(read-\w+)/,":"+kr+"$1")]})),dn(wt(e,{props:[i]})),us(e,{props:Na(n,r)});break;case"::placeholder":dn(wt(e,{props:[z(i,/:(plac\w+)/,":"+$+"input-$1")]})),dn(wt(e,{props:[z(i,/:(plac\w+)/,":"+kr+"$1")]})),dn(wt(e,{props:[z(i,/:(plac\w+)/,H+"input-$1")]})),dn(wt(e,{props:[i]})),us(e,{props:Na(n,r)});break}return""})}}var F0={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Wn=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",xd="active",Ed="data-styled-version",Ll="6.1.8",pu=`/*!sc*/ +`,hu=typeof window<"u"&&"HTMLElement"in window,j0=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),U0={},Dl=Object.freeze([]),Yn=Object.freeze({});function kd(e,t,n){return n===void 0&&(n=Yn),e.theme!==n.theme&&e.theme||t||n.theme}var Cd=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),B0=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,H0=/(^-|-$)/g;function Aa(e){return e.replace(B0,"-").replace(H0,"")}var W0=/(a)(d)/gi,pi=52,La=function(e){return String.fromCharCode(e+(e>25?39:97))};function fs(e){var t,n="";for(t=Math.abs(e);t>pi;t=t/pi|0)n=La(t%pi)+n;return(La(t%pi)+n).replace(W0,"$1-$2")}var fo,_d=5381,Pn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Pd=function(e){return Pn(_d,e)};function mu(e){return fs(Pd(e)>>>0)}function Y0(e){return e.displayName||e.name||"Component"}function po(e){return typeof e=="string"&&!0}var Od=typeof Symbol=="function"&&Symbol.for,Id=Od?Symbol.for("react.memo"):60115,V0=Od?Symbol.for("react.forward_ref"):60112,Q0={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},X0={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Td={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G0=((fo={})[V0]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fo[Id]=Td,fo);function Da(e){return("type"in(t=e)&&t.type.$$typeof)===Id?Td:"$$typeof"in e?G0[e.$$typeof]:Q0;var t}var K0=Object.defineProperty,Z0=Object.getOwnPropertyNames,$a=Object.getOwnPropertySymbols,J0=Object.getOwnPropertyDescriptor,q0=Object.getPrototypeOf,Ma=Object.prototype;function Nd(e,t,n){if(typeof t!="string"){if(Ma){var r=q0(t);r&&r!==Ma&&Nd(e,r,n)}var i=Z0(t);$a&&(i=i.concat($a(t)));for(var l=Da(e),o=Da(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var b0=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,l=i;t>=l;)if((l<<=1)<0)throw Gr(16,"".concat(t));this.groupSizes=new Uint32Array(l),this.groupSizes.set(r),this.length=l;for(var o=i;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),l=i+r,o=i;o=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(I+="".concat(f,","))}),u+="".concat(y).concat(w,'{content:"').concat(I,'"}').concat(pu)},p=0;p0?".".concat(t):h},p=u.slice();p.push(function(h){h.type===Nl&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(cm,n).replace(r,a))}),o.prefix&&p.push(M0),p.push(L0);var m=function(h,g,y,w){g===void 0&&(g=""),y===void 0&&(y=""),w===void 0&&(w="&"),t=w,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var I=h.replace(fm,""),f=z0(y||g?"".concat(y," ").concat(g," { ").concat(I," }"):I);o.namespace&&(f=zd(f,o.namespace));var c=[];return ul(f,D0(p.concat($0(function(d){return c.push(d)})))),c};return m.hash=u.length?u.reduce(function(h,g){return g.name||Gr(15),Pn(h,g.name)},_d).toString():"",m}var pm=new fl,ps=dm(),Ad=ze.createContext({shouldForwardProp:void 0,styleSheet:pm,stylis:ps});Ad.Consumer;ze.createContext(void 0);function hs(){return b.useContext(Ad)}var Ld=function(){function e(t,n){var r=this;this.inject=function(i,l){l===void 0&&(l=ps);var o=r.name+l.hash;i.hasNameForId(r.id,o)||i.insertRules(r.id,o,l(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,gu(this,function(){throw Gr(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=ps),this.name+t.hash},e}(),hm=function(e){return e>="A"&&e<="Z"};function ja(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(l,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}i=Zt(i,o),this.staticRulesId=o}else{for(var u=Pn(this.baseHash,r.hash),a="",p=0;p>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(a,".".concat(g),void 0,this.componentId)),i=Zt(i,g)}}return i},e}(),yu=ze.createContext(void 0);yu.Consumer;var ho={};function gm(e,t,n){var r=vu(e),i=e,l=!po(e),o=t.attrs,s=o===void 0?Dl:o,u=t.componentId,a=u===void 0?function(v,x){var k=typeof v!="string"?"sc":Aa(v);ho[k]=(ho[k]||0)+1;var S="".concat(k,"-").concat(mu(Ll+k+ho[k]));return x?"".concat(x,"-").concat(S):S}(t.displayName,t.parentComponentId):u,p=t.displayName,m=p===void 0?function(v){return po(v)?"styled.".concat(v):"Styled(".concat(Y0(v),")")}(e):p,h=t.displayName&&t.componentId?"".concat(Aa(t.displayName),"-").concat(t.componentId):t.componentId||a,g=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,y=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var I=t.shouldForwardProp;y=function(v,x){return w(v,x)&&I(v,x)}}else y=w}var f=new vm(n,h,r?i.componentStyle:void 0);function c(v,x){return function(k,S,O){var D=k.attrs,R=k.componentStyle,pe=k.defaultProps,nt=k.foldedComponentIds,rt=k.styledComponentId,cn=k.target,$l=ze.useContext(yu),Jn=hs(),Bt=k.shouldForwardProp||Jn.shouldForwardProp,_=kd(S,$l,pe)||Yn,T=function(vt,ke,it){for(var qn,Wt=fe(fe({},ke),{className:void 0,theme:it}),Ml=0;Ml2&&fl.registerId(this.componentId+t),this.removeStyles(t,r),this.createStyles(t,n,r,i)},e}();function wm(e){for(var t=[],n=1;ne?"10vh":0}; + padding-top: 10vh; + } +`,Em=G(jd)` + animation: 5s infinite ${xm} ease-in-out; +`;function km(e){return new Promise((t,n)=>{const r=new Image;r.onload=function(){t(r)},r.onerror=r.onabort=function(){n(e)},r.src=e})}function Cm(e){const[t,n]=b.useState(!1);return b.useEffect(()=>{async function r(){const i=[];for(const l of e)i.push(km(l));await Promise.all(i),n(!0)}r()},[e]),{imagesPreloaded:t}}const Yt=({srcList:e,initialSrc:t,float:n,pad:r,onPreloaded:i,showPreloaded:l=!0})=>{const{imagesPreloaded:o}=Cm(e);o&&!l&&i&&i();const s=o&&l,u=n?Em:jd;return s?C.jsx(u,{src:e[0],$pad:r}):C.jsx(u,{src:t,$pad:r})};var _m=4,Pm=.001,Om=1e-7,Im=10,pr=11,mi=1/(pr-1),Tm=typeof Float32Array=="function";function Ud(e,t){return 1-3*t+3*e}function Bd(e,t){return 3*t-6*e}function Hd(e){return 3*e}function dl(e,t,n){return((Ud(t,n)*e+Bd(t,n))*e+Hd(t))*e}function Wd(e,t,n){return 3*Ud(t,n)*e*e+2*Bd(t,n)*e+Hd(t)}function Nm(e,t,n,r,i){var l,o,s=0;do o=t+(n-t)/2,l=dl(o,r,i)-e,l>0?n=o:t=o;while(Math.abs(l)>Om&&++s=Pm?Rm(u,g,t,r):y===0?g:Nm(u,a,a+mi,t,r)}return function(a){return a===0?0:a===1?1:dl(s(a),n,i)}};const Ha=ba(Am);var Su=function(t){this.startX=t.startX,this.startY=t.startY,this.endX=t.endX,this.endY=t.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=t.startMultiplierX||1,this.endMultiplierX=t.endMultiplierX||1,this.startMultiplierY=t.startMultiplierY||1,this.endMultiplierY=t.endMultiplierY||1};function Dt(){return Dt=Object.assign||function(e){for(var t=1;t"u")return n;var r=typeof e=="number"||typeof e=="string";if(!r)throw new Error("Invalid value provided. Must provide a value as a string or number");e=String(e),n.value=parseFloat(e),n.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t;var i=$m.includes(n.unit);if(!i)throw new Error("Invalid unit provided.");return n}var Va={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function Yd(e){if(Array.isArray(e))return Ha(e[0],e[1],e[2],e[3]);if(typeof e=="string"&&typeof Va[e]<"u"){var t=Va[e];return Ha(t[0],t[1],t[2],t[3])}}var Mm=Object.values(pl),Fm={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function Qa(e,t){var n={};return Mm.forEach(function(r){var i=Fm[r];if(typeof(e==null?void 0:e[r])=="number"){var l=e==null?void 0:e[r],o=(l||0)*10+"px",s=(l||0)*-10+"px",u=vi(o),a=vi(s),p={start:u.value,end:a.value,unit:u.unit};t===Xe.vertical&&(n.translateY=p),t===Xe.horizontal&&(n.translateX=p)}if(Array.isArray(e==null?void 0:e[r])){var m=e==null?void 0:e[r];if(typeof m[0]<"u"&&typeof m[1]<"u"){var h=vi(m==null?void 0:m[0],i),g=vi(m==null?void 0:m[1],i),y=Yd(m==null?void 0:m[2]);if(n[r]={start:h.value,end:g.value,unit:h.unit,easing:y},h.unit!==g.unit)throw new Error("Must provide matching units for the min and max offset values of each axis.")}}}),n}function Xa(e,t,n,r){var i=n-e,l=i/t;return r&&(l=r(l)),l}function jm(e,t,n){var r=n>=e&&n<=t;return r}function Um(e,t,n,r,i){return(n-t)*(e-r)/(i-r)+t}function Vd(e,t){var n=Um(typeof e.easing=="function"?e.easing(t):t,(e==null?void 0:e.start)||0,(e==null?void 0:e.end)||0,0,1);return{value:n,unit:e==null?void 0:e.unit}}var Bm=Object.values(pl).filter(function(e){return e!=="opacity"});function Hm(e,t){var n=Object.keys(t),r=n.includes("opacity"),i="transform"+(r?",opacity":"");e.style.willChange=i}function Wm(e,t,n){if(n){var r=Vm(e,t),i=Ym(e,t);n.style.transform=r,n.style.opacity=i}}function Ym(e,t){var n=e.opacity&&Vd(e.opacity,t);if(typeof n>"u"||typeof n.value>"u"||typeof n.unit>"u")return"";var r=""+n.value;return r}function Vm(e,t){var n=Bm.reduce(function(r,i){var l=e[i]&&Vd(e[i],t);if(typeof l>"u"||typeof l.value>"u"||typeof l.unit>"u")return r;var o=i+"("+l.value+l.unit+")";return r+o},"");return n}function Mi(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function Qm(e,t,n,r){var i=e.top-t.height,l=e.left-t.width,o=e.bottom,s=e.right;l+=n.x,s+=n.x,i+=n.y,o+=n.y,r&&(n.y+e.topt.scrollHeight-t.height&&(o=t.scrollHeight-t.height),s>t.scrollWidth-t.width&&(s=t.scrollWidth-t.width));var u=new Su({startX:l,startY:i,endX:s,endY:o});return u}function pn(e,t,n){var r=t>e,i=(Math.abs(e)+Math.abs(t))*(r?-1:1),l=n+i,o=Math.max(n/l,1);return o}function Ga(e,t){var n=e.start,r=e.end,i=e.unit;if(i==="%"){var l=t/100;n=n*l,r=r*l}if(i==="vw"){var o=n/100,s=r/100;n=window.innerWidth*o,r=window.innerWidth*s}if(i==="vh"){var u=n/100,a=r/100;n=window.innerHeight*u,r=window.innerHeight*a}return{start:n,end:r}}var Ka={start:0,end:0,unit:""};function Xm(e,t,n,r,i,l){var o=n.translateX||Ka,s=n.translateY||Ka,u=Ga(o,e.width),a=u.start,p=u.end,m=Ga(s,e.height),h=m.start,g=m.end,y=e.top-t.height,w=e.left-t.width,I=e.bottom,f=e.right,c=1,d=1;i===Xe.vertical&&(c=pn(h,g,t.height+e.height),d=c);var v=1,x=1;if(i===Xe.horizontal&&(v=pn(a,p,t.width+e.width),x=v),h<0&&(y=y+h*c),g>0&&(I=I+g*d),a<0&&(w=w+a*v),p>0&&(f=f+p*x),w+=r.x,f+=r.x,y+=r.y,I+=r.y,l){var k=r.y+e.topt.scrollHeight-t.height,D=r.x+e.right>t.scrollWidth-t.height;if(k&&O&&(c=1,d=1,y=0,I=t.scrollHeight-t.height),S&&D&&(v=1,x=1,w=0,f=t.scrollWidth-t.width),!k&&O){y=e.top-t.height+r.y,I=t.scrollHeight-t.height;var R=I-y;c=pn(h,g,R),d=1,h<0&&(y=y+h*c)}if(!S&&D){w=e.left-t.width+r.x,f=t.scrollWidth-t.width;var pe=f-w;v=pn(a,p,pe),x=1,a<0&&(w=w+a*v)}if(k&&!O){y=0,I=e.bottom+r.y;var nt=I-y;c=1,d=pn(h,g,nt),g>0&&(I=I+g*d)}if(S&&!D){w=0,f=e.right+r.x;var rt=f-w;v=1,x=pn(a,p,rt),p>0&&(f=f+p*x)}}var cn=new Su({startX:w,startY:y,endX:f,endY:I,startMultiplierX:v,endMultiplierX:x,startMultiplierY:c,endMultiplierY:d});return cn}function Gm(e,t){var n=Dt({},e);return n.translateX&&(n.translateX=Dt({},e.translateX,{start:n.translateX.start*t.startMultiplierX,end:n.translateX.end*t.endMultiplierX})),n.translateY&&(n.translateY=Dt({},e.translateY,{start:n.translateY.start*t.startMultiplierY,end:n.translateY.end*t.endMultiplierY})),n}function Km(e,t,n){return e.rootMargin||e.targetElement||e.shouldDisableScalingTranslations?!1:!!(t.translateX&&n===Xe.horizontal||t.translateY&&n===Xe.vertical)}var Za=function(t,n,r){return Math.min(Math.max(t,n),r)},Zm=function(){function e(n){this.el=n.el,this.props=n.props,this.scrollAxis=n.scrollAxis,this.disabledParallaxController=n.disabledParallaxController||!1,this.id=Lm(),this.effects=Qa(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(n.props.easing),Hm(n.el,this.effects)}var t=e.prototype;return t.updateProps=function(r){return this.props=Dt({},this.props,r),this.effects=Qa(r,this.scrollAxis),this._setElementEasing(r.easing),this},t.setCachedAttributes=function(r,i){Mi(this),this.rect=new Dm({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:r});var l=Km(this.props,this.effects,this.scrollAxis);return typeof this.props.startScroll=="number"&&typeof this.props.endScroll=="number"?(this.limits=new Su({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(l?(this.limits=Xm(this.rect,r,this.effects,i,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=Gm(this.effects,this.limits)):this.limits=Qm(this.rect,r,i,this.props.shouldAlwaysCompleteAnimation),this._setElementStyles(),this)},t._updateElementIsInView=function(r){var i=this.isInView===null;r!==this.isInView&&(r?this.props.onEnter&&this.props.onEnter(this):i||(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=r},t._setFinalProgress=function(){var r=Za(Math.round(this.progress),0,1);this._updateElementProgress(r)},t._setElementStyles=function(){if(!(this.props.disabled||this.disabledParallaxController)){var r=this.scaledEffects||this.effects;Wm(r,this.progress,this.el)}},t._updateElementProgress=function(r){this.progress=r,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(r){this.easing=Yd(r)},t.updateElementOptions=function(r){this.scrollAxis=r.scrollAxis,this.disabledParallaxController=r.disabledParallaxController||!1},t.updatePosition=function(r){if(!this.limits)return this;var i=this.scrollAxis===Xe.vertical,l=this.isInView===null,o=i?this.limits.startY:this.limits.startX,s=i?this.limits.endY:this.limits.endX,u=i?this.limits.totalY:this.limits.totalX,a=i?r.y:r.x,p=jm(o,s,a);if(this._updateElementIsInView(p),p){var m=Xa(o,u,a,this.easing);this._updateElementProgress(m),this._setElementStyles()}else l&&(this.progress=Za(Math.round(Xa(o,u,a,this.easing)),0,1),this._setElementStyles());return this},e}(),Ja=function(){function e(n){this.scrollContainer=n.scrollContainer,this.width=n.width,this.height=n.height,this.scrollHeight=n.scrollHeight,this.scrollWidth=n.scrollWidth}var t=e.prototype;return t.hasChanged=function(r){return r.width!==this.width||r.height!==this.height||r.scrollWidth!==this.scrollWidth||r.scrollHeight!==this.scrollHeight},t.setSize=function(r){return this.width=r.width,this.height=r.height,this.scrollHeight=r.scrollHeight,this.scrollWidth=r.scrollWidth,this},e}(),Jm=function(){function e(n,r){this.x=n,this.y=r,this.dx=0,this.dy=0}var t=e.prototype;return t.setScroll=function(r,i){return this.dx=r-this.x,this.dy=i-this.y,this.x=r,this.y=i,this},e}();function qm(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}var Qd=function(){function e(n){var r=n.scrollAxis,i=r===void 0?Xe.vertical:r,l=n.scrollContainer,o=n.disabled,s=o===void 0?!1:o;this.disabled=s,this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!l,this.viewEl=l??window;var u=this._getScrollPosition(),a=u[0],p=u[1];this.scroll=new Jm(a,p),this.view=new Ja({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?l:void 0}),this._ticking=!1,this._supportsPassive=qm(),this._bindAllMethods(),!this.disabled&&(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}e.init=function(r){var i=typeof window<"u";if(!i)throw new Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(r)};var t=e.prototype;return t._bindAllMethods=function(){var r=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(i){r[i]=r[i].bind(r)})},t._addListeners=function(r){r.addEventListener("scroll",this._handleScroll,this._supportsPassive?{passive:!0}:!1),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(r){var i;r.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdateCache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),(i=this._resizeObserver)==null||i.disconnect()},t._addResizeObserver=function(){var r=this;try{var i=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return r.update()}),this._resizeObserver.observe(i)}catch{console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){var r=this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,i=this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset;return[r,i]},t._handleScroll=function(){var r,i=this._getScrollPosition(),l=i[0],o=i[1];this.scroll.setScroll(l,o),!this._ticking&&((r=this.elements)==null?void 0:r.length)>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(r){var i=this,l=r===void 0?{}:r,o=l.updateCache;this.elements&&this.elements.forEach(function(s){o&&s.setCachedAttributes(i.view,i.scroll),i._updateElementPosition(s)}),this._ticking=!1},t._updateElementPosition=function(r){r.props.disabled||this.disabled||r.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var r=this.viewEl.offsetWidth,i=this.viewEl.offsetHeight,l=this.viewEl.scrollHeight,o=this.viewEl.scrollWidth;return this.view.setSize({width:r,height:i,scrollHeight:l,scrollWidth:o})}var s=document.documentElement,u=window.innerWidth||s.clientWidth,a=window.innerHeight||s.clientHeight,p=s.scrollHeight,m=s.scrollWidth;return{width:u,height:a,scrollHeight:p,scrollWidth:m}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(r){var i=new Zm(Dt({},r,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return i.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[i]):[i],this._updateElementPosition(i),this._checkIfViewHasChanged()&&this.update(),i},t.removeElementById=function(r){this.elements&&(this.elements=this.elements.filter(function(i){return i.id!==r}))},t.updateElementPropsById=function(r,i){this.elements&&(this.elements=this.elements.map(function(l){return l.id===r?l.updateProps(i):l})),this.update()},t.resetElementStyles=function(r){Mi(r)},t.update=function(){var r=this._getScrollPosition(),i=r[0],l=r[1];this.scroll.setScroll(i,l),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(r){this._removeListeners(this.viewEl),this.viewEl=r,this._hasScrollContainer=!!r,this.view=new Ja({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:r}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(r){return Mi(r)})},t.enableParallaxController=function(){var r=this;this.disabled=!1,this.elements&&this.elements.forEach(function(i){return i.updateElementOptions({disabledParallaxController:!1,scrollAxis:r.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},t.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(r){return r.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(r){return r.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(r){return Mi(r)}),this.elements=void 0},e}();function bm(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l=0)&&(n[i]=e[i]);return n}function ev(e){return Object.keys(e).forEach(function(t){return e[t]===void 0&&delete e[t]}),e}var tv=["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"];function nv(e){var t=e.disabled,n=e.easing,r=e.endScroll,i=e.onChange,l=e.onEnter,o=e.onExit,s=e.onProgressChange,u=e.opacity,a=e.rootMargin,p=e.rotate,m=e.rotateX,h=e.rotateY,g=e.rotateZ,y=e.scale,w=e.scaleX,I=e.scaleY,f=e.scaleZ,c=e.shouldAlwaysCompleteAnimation,d=e.shouldDisableScalingTranslations,v=e.speed,x=e.startScroll,k=e.targetElement,S=e.translateX,O=e.translateY,D=bm(e,tv),R=ev({disabled:t,easing:n,endScroll:r,onChange:i,onEnter:l,onExit:o,onProgressChange:s,opacity:u,rootMargin:a,rotate:p,rotateX:m,rotateY:h,rotateZ:g,scale:y,scaleX:w,scaleY:I,scaleZ:f,shouldAlwaysCompleteAnimation:c,shouldDisableScalingTranslations:d,speed:v,startScroll:x,targetElement:k,translateX:S,translateY:O});return{parallaxProps:R,rest:D}}function rv(e){b.useEffect(function(){var t=typeof window>"u",n=e instanceof Qd;if(!t&&!e&&!n)throw new Error("Must wrap your application's components in a .")},[e])}var Xd=ze.createContext(null);function iv(){var e=b.useContext(Xd),t=typeof window>"u";if(t)return null;if(!e)throw new Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a ");return e}function lv(e){var t=iv(),n=b.useRef(null),r=nv(e),i=r.parallaxProps;rv(t);var l=b.useState(),o=l[0],s=l[1];return b.useEffect(function(){var u;if(n.current instanceof HTMLElement){var a={el:n.current,props:i};u=t==null?void 0:t.createElement(a),s(u)}else throw new Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return function(){u&&(t==null||t.removeElementById(u.id))}},[]),b.useEffect(function(){o&&(e.disabled&&(t==null||t.resetElementStyles(o)),t==null||t.updateElementPropsById(o.id,i))},[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:n,controller:t,element:o}}var ov=function(t){var n=typeof window>"u";return n?null:Qd.init(t)};function sv(e){var t=b.useRef(null);return t.current||(t.current=ov({scrollAxis:e.scrollAxis||Xe.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled})),b.useEffect(function(){e.scrollContainer&&t.current&&t.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer,t.current]),b.useEffect(function(){e.isDisabled&&t.current&&t.current.disableParallaxController(),!e.isDisabled&&t.current&&t.current.enableParallaxController()},[e.isDisabled,t.current]),b.useEffect(function(){return function(){t!=null&&t.current&&(t==null||t.current.destroy())}},[]),ze.createElement(Xd.Provider,{value:t.current},e.children)}const uv=G.div` + flex: none; + position: relative; + width: 80vw; + max-height: 80%; + padding: 0 5vw; + @media (max-width: ${Ge}) { + padding: 0; + margin-top: 20vh; + width: calc(100vw - 20px); + left: -20px; + } +`,av=G.div` + position: relative; + width: 100%; + left: 0; + height: auto; + max-width: 1920px; + @media (max-width: ${Ge}) { + left: 10px; + width: calc(100% - 10px); + } +`,qa=G.div` + position: absolute; + top: ${({$upsideDown:e})=>e?"10px;":"0;"} + left: ${({$upsideDown:e})=>e?"10px;":"0;"} + background: rgba(0,0,0,0); + border-image: ${({$upsideDown:e})=>e?"linear-gradient(180deg, #FEEF5C 0%, #FEEF5C 24.95%, #FECED1 41.67%, #FCA6DD 60.94%, #9186CE 100%) 30;":"linear-gradient(180deg, #9186CE 0%, #FCA6DD 24.95%, #FECED1 41.67%, #FEEF5C 60.94%, #FEEF5C 100%) 30;"}; + border-width: 10px; + height: calc(100% + 60px); + width: 100%; + padding: 0; + max-width: 1920px; + border-style: solid; + background: ${({$upsideDown:e})=>e?"":"rgba(0,0,0,0.33)"}; + @media (max-width: ${tt}) { + height: calc(100% + 20px); + } +`,cv=G.div` + position: relative; + top: 20px; + left: 20px; + padding: 60px 0 20px 80px; + width: calc(100% - 160px); + color: #FFF; + text-shadow: 2px 2px 0px #000; + font-family: 'Rubik Mono One', Verdana; + font-weight: 800; + font-size: 48px; + @media (max-width: ${Ge}) { + font-size: 36px; + } + @media (max-width: ${tt}) { + font-size: 24px; + padding: 20px 0 5px 30px; + width: calc(100% - 50px); + margin-top: -100px; + } + @media (max-width: ${an}) { + font-size: 18px; + padding: 10px 0 2px 20px; + } +`,gi=({children:e})=>{const{ref:t}=lv({speed:10});return C.jsx(uv,{children:C.jsxs(av,{ref:t,children:[C.jsx(qa,{}),C.jsx(qa,{$upsideDown:!0}),C.jsx(cv,{children:e})]})})},fv=G.div` + position: relative; + width: 1500px; + height: 300px; + @media(max-width: ${Zn}) { + width: 1250px; + height: 250px; + } + @media(max-width: ${Ge}) { + width: 900px; + height: 180px; + } + @media(max-width: ${tt}) { + width: 500px; + height: 100px; + } + @media(max-width: ${an}) { + width: 300px; + height: 60px; + } +`,dv=G.p` + position: absolute; + top: 0; + font-family: "Alro"; + left: 0; + margin: 0; + font-size: 300px; + color: white; + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; + @media(max-width: ${Zn}) { + font-size: 250px; + } + @media(max-width: ${Ge}) { + font-size: 180px; + } + @media(max-width: ${tt}) { + font-size: 100px; + } + @media(max-width: ${an}) { + font-size: 60px; + } + font-size: ${({$size:e})=>e}px; +`,pv=G.p` + position: absolute; + font-family: "Alro"; + top: 15px; + left: 15px; + color: rgb(139 143,191); + text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white; + font-size: 300px; + margin: 0; + @media(max-width: ${Zn}) { + font-size: 250px; + top: 12px; + left: 12px; + } + @media(max-width: ${Ge}) { + font-size: 180px; + top: 9px; + left: 9px; + } + @media(max-width: ${tt}) { + font-size: 100px; + top: 5px; + left: 5px; + } + @media(max-width: ${an}) { + font-size: 60px; + top: 3px; + left: 3px; + } +`,hv=()=>C.jsxs(fv,{children:[C.jsx(pv,{children:"DAPPICOM"}),C.jsx(dv,{children:"DAPPICOM"})]}),mv=G.a` + position: fixed; + right: 0; + top: 0; + height: 10vw; + width: 10vw; + z-index: 1; + cursor: pointer; + @media (max-width: ${tt}) { + height: 20vw; + width: 20vw; + } +`,vv=G.img` + width: 100%; + height: 100%; +`,gv=()=>C.jsx(mv,{href:"https://github.com/tonk-gg/dappicom",target:"_blank",children:C.jsx(vv,{src:"images/github-corner.svg"})}),yv=G.div` + display: flex; + align-items: flex-start; + justify-content: center; + width: 100vw; + max-height: 100vh; + height: 100vh; +`,wv=G.div` + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + overflow-y: scroll; + overflow-x: hidden; + width: 100%; +`,sr=G.div` + width: 100%; + height: auto; +`,yi=G.div` + width: 100%; + height: auto; + padding: 0 0; + margin: -1px 0; + display: flex; + justify-content: center; + padding: 0 0 20vh 0; + background: ${({$background:e})=>e==="DAPPICOM"?"#FF83BD;":e==="PLAY"?"linear-gradient(180deg, #017EC6 0%, #8D84CE 61.98%, #CE9DD6 100%);":e==="PROVE"?"linear-gradient(180deg, #8A93CE 0%, #748ECF 7.03%, #3567B7 23.44%, #5A73BD 59.89%, #BF9CD5 98.96%);":e==="PERSIST"?"linear-gradient(180deg, #FFDD3C 0%, #395FAC 100%);":"white;"}; + overflow: visible; + + @media (max-width: ${Ge}) { + padding: 0 0 100px 0; + } +`,wi=G.div` + width: 100%; + height: 62vw; + position: relative; + background: ${({$background:e})=>e==="DAPPICOM"?"#FF83BD;":e==="PLAY"?"linear-gradient(180deg, #FF83BD 0%, #FFBACD 35.94%, #FED700 84.90%, #037FC5 91.15%, #007DC6 100%);":e==="PROVE"?"linear-gradient(180deg, #CE9DD6 0%, #FFA5DE 25.52%, #FDBAD7 30.45%, #FECED1 38.02%, #FEEF5C 49.88%, #8992CE 100%);":e==="PERSIST"?"linear-gradient(180deg, #BF9CD5 0%, #DAD1B8 28.58%, #FEF554 43.86%, #FFDC3A 100%);":"linear-gradient(180deg, #3860AD 0%, #3B005F 100%);"}; + + @media (max-width: ${tt}) { + height: 82vw; + } +`,Sv=G.div` + padding-top: 20vh; + position: relative; + display: flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; + background: linear-gradient(180deg, #3860AD 0%, #3B005F 100%); +`,xv=G.p` + font-family: 'VisbyCF'; + font-weight: 800; + color: white; + margin: 0; + padding-top: 180px; + font-size: 70px; + @media(max-width: ${Zn}) { + font-size: 60px; + } + @media(max-width: ${Ge}) { + font-size: 40px; + padding-top: 130px; + } + @media(max-width: ${tt}) { + font-size: 25px; + padding-top: 90px; + } + @media(max-width: ${an}) { + padding-top: 60px; + font-size: 20px; + } +`,Ev=G.p` + font-family: 'Inter'; + font-size: 43px; + color: white; + width: 1400px; + text-align: center; + margin-top: 180px; + @media(max-width: ${Zn}) { + width: 1200px; + } + @media(max-width: ${Ge}) { + width: 800px; + font-size: 28px; + margin-top: 120px; + } + @media(max-width: ${tt}) { + width: 500px; + margin-top: 70px; + font-size: 26px; + } + @media(max-width: ${an}) { + width: 300px; + font-size: 18px; + margin-top: 40px; + } +`;G.a` + font-family: 'VisbyCF'; + font-weight: 700; + color: white; + text-decoration: underline; + font-size: 43px; + padding: 100px; + margin: 300px; + width: 100%; + height: auto; + cursor: pointer; + text-align: center; + @media(max-width: ${Zn}) { + } + @media(max-width: ${Ge}) { + font-size: 28px; + margin: 120px; + } + @media(max-width: ${tt}) { + font-size: 26px; + } + @media(max-width: ${an}) { + font-size: 21px; + margin-top: 0; + } + + &:hover { + color: #FEB9D8; + } + +`;const kv=G.div` + height: 50vh; + width: 100vw. +`,Cv=G.p` + text-align: center; + width: 100%; + position: absolute; + bottom: 0; + color: white; + font-size: 18px; + font-family: 'Inter'; +`;function _v(){const[e,t]=b.useState(!1),[n,r]=b.useState(!1);return b.useEffect(()=>{["images/preload/1_DappicomBox-1.png"].forEach(i=>{const l=new Image;l.src=i,l.onload=()=>{t(!0)}})},[]),e?C.jsx(C.Fragment,{children:C.jsxs(yv,{children:[C.jsx(gv,{}),C.jsxs(wv,{children:[C.jsxs(sr,{children:[C.jsxs(wi,{$background:"DAPPICOM",style:{paddingTop:"10vh"},children:[C.jsx(Yt,{float:!0,pad:!0,initialSrc:"",srcList:["images/HD/1_DappicomBox_illo.gif"],showPreloaded:n,onPreloaded:()=>r(!0)}),C.jsx(Yt,{float:!0,pad:!0,initialSrc:"images/preload/1_DappicomBox-1.png",srcList:["images/HD/1_DappicomBox_anim.gif"],showPreloaded:n})]}),C.jsx(yi,{$background:"DAPPICOM",children:C.jsxs(gi,{children:["DAPPICOM IS A NEW OPEN-SOURCE PROJECT BROUGHT TO YOU BY ",C.jsx("a",{href:"https://tonk.gg",target:"_blank",children:"TONK"})," AND FRIENDS.",C.jsx("br",{}),C.jsx("br",{}),"HERE'S HOW IT WORKS."]})})]}),C.jsxs(sr,{children:[C.jsxs(wi,{$background:"PLAY",children:[C.jsx(Yt,{initialSrc:"images/preload/2_PlayNESROMS-1.png",srcList:["images/HD/2_PlayNESROMS_illo.gif"]}),C.jsx(Yt,{initialSrc:"images/SMOL/2_PlayNESROMS_anim.gif",srcList:["images/HD/2_PlayNESROMS_anim.gif"]})]}),C.jsx(yi,{$background:"PLAY",children:C.jsxs(gi,{children:["RETRO GAMES SHOULD FEEL LIKE OLD TIMES. DAPPICOM LETS YOU PLAY YOUR GAMES AND ENJOY!",C.jsx("br",{}),C.jsx("br",{}),"WHAT'S NEW? AS YOU PLAY, BITS OF THE NES MACHINE STATE ARE STREAMED TO A SERVER."]})})]}),C.jsxs(sr,{children:[C.jsx(wi,{$background:"PROVE",children:C.jsx(Yt,{initialSrc:"images/preload/3_ProveGameplay-1.png",srcList:["images/HD/3_ProveGameplay_illo.gif"]})}),C.jsx(yi,{$background:"PROVE",children:C.jsxs(gi,{children:["THE SERVER WORKS FOR YOU DAY AND NIGHT IN A LAND FAR, FAR AWAY",C.jsx("br",{}),C.jsx("br",{}),"IT TAKES THE BITS OF MACHINE STATE AND USES THE ",C.jsx("a",{href:"https://noir-lang.org/",target:"_blank",children:"NOIR LANGUAGE"})," TO CONVERT PLAY INTO MATHEMATICAL PROOFS.",C.jsx("br",{}),C.jsx("br",{}),"YOU CAN'T ARGUE WITH MATHS."]})})]}),C.jsxs(sr,{children:[C.jsxs(wi,{$background:"PERSIST",children:[C.jsx(Yt,{initialSrc:"",srcList:["images/HD/4_PersistStateOnchain_anim.gif"]}),C.jsx(Yt,{initialSrc:"images/preload/4_PersistStateOnchain-1.png",srcList:["images/HD/4_PersistStateOnchain_illo.gif"]})]}),C.jsx(yi,{$background:"PERSIST",children:C.jsxs(gi,{children:["THOSE PROOFS ARE SENT TO A BLOCKCHAIN AND VERIFIED BY NOIR'S GENERATED SMART CONTRACT CODE.",C.jsx("br",{}),C.jsx("br",{}),"PROVEN GAMEPLAY COULD BE YOUR PATH TO REWARDS, BADGES OR NEW LEVELS.",C.jsx("br",{}),C.jsx("br",{}),"WITH EXTRA-SPICY HIDDEN INFORMATION: PROVE THAT YOU BEAT THE MARIO SPEEDRUN WORLD RECORD WITHOUT SHOWING PEOPLE HOW YOU DID IT!"]})})]}),C.jsx(sr,{children:C.jsxs(Sv,{children:[C.jsx(hv,{}),C.jsx(xv,{children:"Provable NES Emulator built in Noir"}),C.jsx(Ev,{children:"Dappicom is under active development and seeking contributions. Please take a look at the github repository for more detailed technical information and instructions on how to contribute."}),C.jsx(kv,{}),C.jsxs(Cv,{children:["Illustrations and Animations by ",C.jsx("a",{href:"https://hi-bred.net/",target:"_blank",children:"Hi-Bred"}),". This project is funded by an ",C.jsx("a",{href:"https://aztec.network/index.html",target:"_blank",children:"Aztec"})," ecosystem grant.",C.jsx("br",{}),"Much like ",C.jsx("a",{href:"https://nesdev.org/",target:"_blank",children:"nesdev.org"}),", Dappicom is not affiliated with Nintendo and is not for profit.",C.jsx("br",{}),"Copyright @ 2023 Tonk Labs. All Rights Reserved."]})]})})]})]})}):!1}let Gd;Gd=wm` + @font-face { + font-family: 'Rubik Mono One'; + font-weight: normal; + font-style: normal; + src: url('/dappicom-site/fonts/rubik/RubikMonoOne-Regular.ttf') format('truetype'); + } + + @font-face { + font-family: 'Alro'; + font-weight: normal; + font-style: normal; + src: url('/dappicom-site/fonts/alro/alro-alro-regular-400.ttf') format('truetype'); + } + + @font-face { + font-family: 'VisbyCF'; + font-weight: 700; + font-style: normal; + src: url('/dappicom-site/fonts/visby/visbycf-bold-webfont.ttf') format('truetype'); + } + @font-face { + font-family: 'VisbyCF'; + font-weight: 800; + font-style: normal; + src: url('/dappicom-site/fonts/visby/visbycf-extrabold-webfont.ttf') format('truetype'); + } + @font-face { + font-family: 'Inter'; + font-weight: normal; + font-style: normal; + src: url('/dappicom-site/fonts/inter/Inter-Regular.ttf') format('truetype'); + } +`;const Pv=Gd;mo.createRoot(document.getElementById("root")).render(C.jsxs(ze.StrictMode,{children:[C.jsx(sv,{children:C.jsx(_v,{})}),C.jsx(Pv,{})]})); diff --git a/assets/index-ec2bd983.js b/assets/index-ec2bd983.js deleted file mode 100644 index 6d81279..0000000 --- a/assets/index-ec2bd983.js +++ /dev/null @@ -1,384 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function Ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Za={exports:{}},cl={},Ja={exports:{}},L={};/** - * @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 Br=Symbol.for("react.element"),Hd=Symbol.for("react.portal"),Wd=Symbol.for("react.fragment"),Yd=Symbol.for("react.strict_mode"),Vd=Symbol.for("react.profiler"),Qd=Symbol.for("react.provider"),Xd=Symbol.for("react.context"),Gd=Symbol.for("react.forward_ref"),Kd=Symbol.for("react.suspense"),Zd=Symbol.for("react.memo"),Jd=Symbol.for("react.lazy"),gu=Symbol.iterator;function qd(e){return e===null||typeof e!="object"?null:(e=gu&&e[gu]||e["@@iterator"],typeof e=="function"?e:null)}var qa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ba=Object.assign,ec={};function Qn(e,t,n){this.props=e,this.context=t,this.refs=ec,this.updater=n||qa}Qn.prototype.isReactComponent={};Qn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tc(){}tc.prototype=Qn.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=ec,this.updater=n||qa}var ms=hs.prototype=new tc;ms.constructor=hs;ba(ms,Qn.prototype);ms.isPureReactComponent=!0;var yu=Array.isArray,nc=Object.prototype.hasOwnProperty,vs={current:null},rc={key:!0,ref:!0,__self:!0,__source:!0};function ic(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)nc.call(t,r)&&!rc.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,G=_[H];if(0>>1;Hi(yt,N))Cei(Re,yt)?(_[H]=Re,_[Ce]=N,H=Ce):(_[H]=yt,_[ke]=N,H=ke);else if(Cei(Re,N))_[H]=Re,_[Ce]=N,H=Ce;else break e}}return T}function i(_,T){var N=_.sortIndex-T.sortIndex;return N!==0?N:_.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],a=[],p=1,m=null,h=3,v=!1,y=!1,w=!1,I=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=_)r(a),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(a)}}function g(_){if(w=!1,d(_),!y)if(n(u)!==null)y=!0,Wt(S);else{var T=n(a);T!==null&&ze(g,T.startTime-_)}}function S(_,T){y=!1,w&&(w=!1,f(O),O=-1),v=!0;var N=h;try{for(d(T),m=n(u);m!==null&&(!(m.expirationTime>T)||_&&!pe());){var H=m.callback;if(typeof H=="function"){m.callback=null,h=m.priorityLevel;var G=H(m.expirationTime<=T);T=e.unstable_now(),typeof G=="function"?m.callback=G:m===n(u)&&r(u),d(T)}else r(u);m=n(u)}if(m!==null)var ot=!0;else{var ke=n(a);ke!==null&&ze(g,ke.startTime-T),ot=!1}return ot}finally{m=null,h=N,v=!1}}var k=!1,x=null,O=-1,$=5,z=-1;function pe(){return!(e.unstable_now()-z<$)}function it(){if(x!==null){var _=e.unstable_now();z=_;var T=!0;try{T=x(!0,_)}finally{T?lt():(k=!1,x=null)}}else k=!1}var lt;if(typeof c=="function")lt=function(){c(it)};else if(typeof MessageChannel<"u"){var cn=new MessageChannel,zl=cn.port2;cn.port1.onmessage=it,lt=function(){zl.postMessage(null)}}else lt=function(){I(it,0)};function Wt(_){x=_,k||(k=!0,lt())}function ze(_,T){O=I(function(){_(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,Wt(S))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(_){switch(h){case 1:case 2:case 3:var T=3;break;default:T=h}var N=h;h=T;try{return _()}finally{h=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,T){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var N=h;h=_;try{return T()}finally{h=N}},e.unstable_scheduleCallback=function(_,T,N){var H=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0H?(_.sortIndex=N,t(a,_),n(u)===null&&_===n(a)&&(w?(f(O),O=-1):w=!0,ze(g,N-H))):(_.sortIndex=G,t(u,_),y||v||(y=!0,Wt(S))),_},e.unstable_shouldYield=pe,e.unstable_wrapCallback=function(_){var T=h;return function(){var N=h;h=T;try{return _.apply(this,arguments)}finally{h=N}}}})(uc);sc.exports=uc;var ap=sc.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 ac=le,Ie=ap;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"),fo=Object.prototype.hasOwnProperty,cp=/^[: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]*$/,Su={},xu={};function fp(e){return fo.call(xu,e)?!0:fo.call(Su,e)?!1:cp.test(e)?xu[e]=!0:(Su[e]=!0,!1)}function dp(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 pp(e,t,n,r){if(t===null||typeof t>"u"||dp(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 ge(e,t,n,r,i,l,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new ge(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){se[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){se[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){se[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){se[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){se[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var ys=/[\-:]([a-z])/g;function ws(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(ys,ws);se[t]=new ge(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(ys,ws);se[t]=new ge(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(ys,ws);se[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){se[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});se.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){se[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ss(e,t,n,r){var i=se.hasOwnProperty(t)?se[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==l[s]){var u=` -`+i[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Dl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?or(e):""}function hp(e){switch(e.tag){case 5:return or(e.type);case 16:return or("Lazy");case 13:return or("Suspense");case 19:return or("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function vo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mn:return"Fragment";case hn:return"Portal";case po:return"Profiler";case xs:return"StrictMode";case ho:return"Suspense";case mo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case dc:return(e.displayName||"Context")+".Consumer";case fc:return(e._context.displayName||"Context")+".Provider";case Es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:vo(e.type)||"Memo";case Et:t=e._payload,e=e._init;try{return vo(e(t))}catch{}}return null}function mp(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 vo(t);case 8:return t===xs?"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 Ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vp(e){var t=hc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Zr(e){e._valueTracker||(e._valueTracker=vp(e))}function mc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=hc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ai(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 go(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ku(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ft(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vc(e,t){t=t.checked,t!=null&&Ss(e,"checked",t,!1)}function yo(e,t){vc(e,t);var n=Ft(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")?wo(e,t.type,n):t.hasOwnProperty("defaultValue")&&wo(e,t.type,Ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cu(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 wo(e,t,n){(t!=="number"||Ai(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var sr=Array.isArray;function On(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Jr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var dr={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},gp=["Webkit","ms","Moz","O"];Object.keys(dr).forEach(function(e){gp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),dr[t]=dr[e]})});function Sc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||dr.hasOwnProperty(e)&&dr[e]?(""+t).trim():t+"px"}function xc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Sc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var yp=Q({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 Eo(e,t){if(t){if(yp[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 ko(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 Co=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _o=null,In=null,Tn=null;function Ou(e){if(e=Yr(e)){if(typeof _o!="function")throw Error(E(280));var t=e.stateNode;t&&(t=ml(t),_o(e.stateNode,e.type,t))}}function Ec(e){In?Tn?Tn.push(e):Tn=[e]:In=e}function kc(){if(In){var e=In,t=Tn;if(Tn=In=null,Ou(e),t)for(e=0;e>>=0,e===0?32:31-(Tp(e)/Np|0)|0}var qr=64,br=4194304;function ur(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Fi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=ur(s):(l&=o,l!==0&&(r=ur(l)))}else o=n&~i,o!==0?r=ur(o):l!==0&&(r=ur(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&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 Hr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ve(t),e[t]=n}function Ap(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=hr),$u=String.fromCharCode(32),Mu=!1;function Wc(e,t){switch(e){case"keyup":return uh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function ch(e,t){switch(e){case"compositionend":return Yc(t);case"keypress":return t.which!==32?null:(Mu=!0,$u);case"textInput":return e=t.data,e===$u&&Mu?null:e;default:return null}}function fh(e,t){if(vn)return e==="compositionend"||!Rs&&Wc(e,t)?(e=Bc(),Si=Ts=Pt=null,vn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bu(n)}}function Gc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kc(){for(var e=window,t=Ai();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ai(e.document)}return t}function Ls(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 Sh(e){var t=Kc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Gc(n.ownerDocument.documentElement,n)){if(r!==null&&Ls(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 i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Hu(n,l);var o=Hu(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,gn=null,zo=null,vr=null,Ro=!1;function Wu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ro||gn==null||gn!==Ai(r)||(r=gn,"selectionStart"in r&&Ls(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}),vr&&Nr(vr,r)||(vr=r,r=Bi(zo,"onSelect"),0Sn||(e.current=Fo[Sn],Fo[Sn]=null,Sn--)}function F(e,t){Sn++,Fo[Sn]=e.current,e.current=t}var jt={},de=Bt(jt),Se=Bt(!1),tn=jt;function An(e,t){var n=e.type.contextTypes;if(!n)return jt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xe(e){return e=e.childContextTypes,e!=null}function Wi(){B(Se),B(de)}function Zu(e,t,n){if(de.current!==jt)throw Error(E(168));F(de,t),F(Se,n)}function lf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(E(108,mp(e)||"Unknown",i));return Q({},n,r)}function Yi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jt,tn=de.current,F(de,e),F(Se,Se.current),!0}function Ju(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=lf(e,t,tn),r.__reactInternalMemoizedMergedChildContext=e,B(Se),B(de),F(de,e)):B(Se),F(Se,n)}var at=null,vl=!1,Zl=!1;function of(e){at===null?at=[e]:at.push(e)}function Rh(e){vl=!0,of(e)}function Ht(){if(!Zl&&at!==null){Zl=!0;var e=0,t=M;try{var n=at;for(M=1;e>=o,i-=o,ct=1<<32-Ve(t)+i|n<O?($=x,x=null):$=x.sibling;var z=h(f,x,d[O],g);if(z===null){x===null&&(x=$);break}e&&x&&z.alternate===null&&t(f,x),c=l(z,c,O),k===null?S=z:k.sibling=z,k=z,x=$}if(O===d.length)return n(f,x),W&&Vt(f,O),S;if(x===null){for(;OO?($=x,x=null):$=x.sibling;var pe=h(f,x,z.value,g);if(pe===null){x===null&&(x=$);break}e&&x&&pe.alternate===null&&t(f,x),c=l(pe,c,O),k===null?S=pe:k.sibling=pe,k=pe,x=$}if(z.done)return n(f,x),W&&Vt(f,O),S;if(x===null){for(;!z.done;O++,z=d.next())z=m(f,z.value,g),z!==null&&(c=l(z,c,O),k===null?S=z:k.sibling=z,k=z);return W&&Vt(f,O),S}for(x=r(f,x);!z.done;O++,z=d.next())z=v(x,f,O,z.value,g),z!==null&&(e&&z.alternate!==null&&x.delete(z.key===null?O:z.key),c=l(z,c,O),k===null?S=z:k.sibling=z,k=z);return e&&x.forEach(function(it){return t(f,it)}),W&&Vt(f,O),S}function I(f,c,d,g){if(typeof d=="object"&&d!==null&&d.type===mn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Kr:e:{for(var S=d.key,k=c;k!==null;){if(k.key===S){if(S=d.type,S===mn){if(k.tag===7){n(f,k.sibling),c=i(k,d.props.children),c.return=f,f=c;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Et&&ia(S)===k.type){n(f,k.sibling),c=i(k,d.props),c.ref=nr(f,k,d),c.return=f,f=c;break e}n(f,k);break}else t(f,k);k=k.sibling}d.type===mn?(c=bt(d.props.children,f.mode,g,d.key),c.return=f,f=c):(g=Ii(d.type,d.key,d.props,null,f.mode,g),g.ref=nr(f,c,d),g.return=f,f=g)}return o(f);case hn:e:{for(k=d.key;c!==null;){if(c.key===k)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=i(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=io(d,f.mode,g),c.return=f,f=c}return o(f);case Et:return k=d._init,I(f,c,k(d._payload),g)}if(sr(d))return y(f,c,d,g);if(Jn(d))return w(f,c,d,g);oi(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=i(c,d),c.return=f,f=c):(n(f,c),c=ro(d,f.mode,g),c.return=f,f=c),o(f)):n(f,c)}return I}var $n=hf(!0),mf=hf(!1),Vr={},nt=Bt(Vr),Ar=Bt(Vr),Dr=Bt(Vr);function Kt(e){if(e===Vr)throw Error(E(174));return e}function Hs(e,t){switch(F(Dr,t),F(Ar,e),F(nt,Vr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xo(t,e)}B(nt),F(nt,t)}function Mn(){B(nt),B(Ar),B(Dr)}function vf(e){Kt(Dr.current);var t=Kt(nt.current),n=xo(t,e.type);t!==n&&(F(Ar,e),F(nt,n))}function Ws(e){Ar.current===e&&(B(nt),B(Ar))}var Y=Bt(0);function Zi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jl=[];function Ys(){for(var e=0;en?n:4,e(!0);var r=ql.transition;ql.transition={};try{e(!1),t()}finally{M=n,ql.transition=r}}function Rf(){return je().memoizedState}function $h(e,t,n){var r=At(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lf(e))Af(t,n);else if(n=cf(e,t,n,r),n!==null){var i=me();Qe(n,e,r,i),Df(n,t,r)}}function Mh(e,t,n){var r=At(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lf(e))Af(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,s=l(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ge(s,o)){var u=t.interleaved;u===null?(i.next=i,Us(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=cf(e,t,i,r),n!==null&&(i=me(),Qe(n,e,r,i),Df(n,t,r))}}function Lf(e){var t=e.alternate;return e===V||t!==null&&t===V}function Af(e,t){gr=Ji=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Df(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var qi={readContext:Fe,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},Fh={readContext:Fe,useCallback:function(e,t){return qe().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:oa,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ci(4194308,4,Of.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ci(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ci(4,2,e,t)},useMemo:function(e,t){var n=qe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qe();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=$h.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=qe();return e={current:e},t.memoizedState=e},useState:la,useDebugValue:Ks,useDeferredValue:function(e){return qe().memoizedState=e},useTransition:function(){var e=la(!1),t=e[0];return e=Dh.bind(null,e[1]),qe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,i=qe();if(W){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),re===null)throw Error(E(349));rn&30||wf(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,oa(xf.bind(null,r,l,e),[e]),r.flags|=2048,Fr(9,Sf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=qe(),t=re.identifierPrefix;if(W){var n=ft,r=ct;n=(r&~(1<<32-Ve(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=$r++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[et]=t,e[Lr]=r,Yf(e,t,!1,!1),t.stateNode=e;e:{switch(o=ko(n,r),n){case"dialog":j("cancel",e),j("close",e),i=r;break;case"iframe":case"object":case"embed":j("load",e),i=r;break;case"video":case"audio":for(i=0;ijn&&(t.flags|=128,r=!0,rr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Zi(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),rr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!W)return ae(t),null}else 2*Z()-l.renderingStartTime>jn&&n!==1073741824&&(t.flags|=128,r=!0,rr(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Z(),t.sibling=null,n=Y.current,F(Y,r?n&1|2:n&1),t):(ae(t),null);case 22:case 23:return tu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Qh(e,t){switch(Ds(t),t.tag){case 1:return xe(t.type)&&Wi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mn(),B(Se),B(de),Ys(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ws(t),null;case 13:if(B(Y),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));Dn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Y),null;case 4:return Mn(),null;case 10:return js(t.type._context),null;case 22:case 23:return tu(),null;case 24:return null;default:return null}}var ui=!1,ce=!1,Xh=typeof WeakSet=="function"?WeakSet:Set,P=null;function Cn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function Zo(e,t,n){try{n()}catch(r){K(e,t,r)}}var ma=!1;function Gh(e,t){if(Lo=ji,e=Kc(),Ls(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 i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,p=0,m=e,h=null;t:for(;;){for(var v;m!==n||i!==0&&m.nodeType!==3||(s=o+i),m!==l||r!==0&&m.nodeType!==3||(u=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(v=m.firstChild)!==null;)h=m,m=v;for(;;){if(m===e)break t;if(h===n&&++a===i&&(s=o),h===l&&++p===r&&(u=o),(v=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=v}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ao={focusedElem:e,selectionRange:n},ji=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,I=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:He(t.type,w),I);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(g){K(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=ma,ma=!1,y}function yr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Zo(t,n,l)}i=i.next}while(i!==r)}}function wl(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 Jo(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 Xf(e){var t=e.alternate;t!==null&&(e.alternate=null,Xf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[et],delete t[Lr],delete t[Mo],delete t[Nh],delete t[zh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Gf(e){return e.tag===5||e.tag===3||e.tag===4}function va(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qo(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=Hi));else if(r!==4&&(e=e.child,e!==null))for(qo(e,t,n),e=e.sibling;e!==null;)qo(e,t,n),e=e.sibling}function bo(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(bo(e,t,n),e=e.sibling;e!==null;)bo(e,t,n),e=e.sibling}var ie=null,We=!1;function St(e,t,n){for(n=n.child;n!==null;)Kf(e,t,n),n=n.sibling}function Kf(e,t,n){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(fl,n)}catch{}switch(n.tag){case 5:ce||Cn(n,t);case 6:var r=ie,i=We;ie=null,St(e,t,n),ie=r,We=i,ie!==null&&(We?(e=ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ie.removeChild(n.stateNode));break;case 18:ie!==null&&(We?(e=ie,n=n.stateNode,e.nodeType===8?Kl(e.parentNode,n):e.nodeType===1&&Kl(e,n),Ir(e)):Kl(ie,n.stateNode));break;case 4:r=ie,i=We,ie=n.stateNode.containerInfo,We=!0,St(e,t,n),ie=r,We=i;break;case 0:case 11:case 14:case 15:if(!ce&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&Zo(n,t,o),i=i.next}while(i!==r)}St(e,t,n);break;case 1:if(!ce&&(Cn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){K(n,t,s)}St(e,t,n);break;case 21:St(e,t,n);break;case 22:n.mode&1?(ce=(r=ce)||n.memoizedState!==null,St(e,t,n),ce=r):St(e,t,n);break;default:St(e,t,n)}}function ga(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xh),t.forEach(function(r){var i=r0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Be(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~l}if(r=i,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Zh(r/1960))-r,10e?16:e,Ot===null)var r=!1;else{if(e=Ot,Ot=null,tl=0,A&6)throw Error(E(331));var i=A;for(A|=4,P=e.current;P!==null;){var l=P,o=l.child;if(P.flags&16){var s=l.deletions;if(s!==null){for(var u=0;uZ()-bs?qt(e,0):qs|=n),Ee(e,t)}function rd(e,t){t===0&&(e.mode&1?(t=br,br<<=1,!(br&130023424)&&(br=4194304)):t=1);var n=me();e=mt(e,t),e!==null&&(Hr(e,t,n),Ee(e,n))}function n0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rd(e,n)}function r0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),rd(e,n)}var id;id=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Se.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Yh(e,t,n);we=!!(e.flags&131072)}else we=!1,W&&t.flags&1048576&&sf(t,Qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_i(e,t),e=t.pendingProps;var i=An(t,de.current);zn(t,n),i=Qs(null,t,r,e,i,n);var l=Xs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xe(r)?(l=!0,Yi(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Bs(t),i.updater=gl,t.stateNode=i,i._reactInternals=t,Wo(t,r,e,n),t=Qo(null,t,r,!0,l,n)):(t.tag=0,W&&l&&As(t),he(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_i(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=l0(r),e=He(r,e),i){case 0:t=Vo(null,t,r,e,n);break e;case 1:t=da(null,t,r,e,n);break e;case 11:t=ca(null,t,r,e,n);break e;case 14:t=fa(null,t,r,He(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Vo(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),da(e,t,r,i,n);case 3:e:{if(Bf(t),e===null)throw Error(E(387));r=t.pendingProps,l=t.memoizedState,i=l.element,ff(e,t),Ki(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Fn(Error(E(423)),t),t=pa(e,t,r,n,i);break e}else if(r!==i){i=Fn(Error(E(424)),t),t=pa(e,t,r,n,i);break e}else for(Pe=zt(t.stateNode.containerInfo.firstChild),Oe=t,W=!0,Ye=null,n=mf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Dn(),r===i){t=vt(e,t,n);break e}he(e,t,r,n)}t=t.child}return t;case 5:return vf(t),e===null&&Uo(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,Do(r,i)?o=null:l!==null&&Do(r,l)&&(t.flags|=32),Uf(e,t),he(e,t,o,n),t.child;case 6:return e===null&&Uo(t),null;case 13:return Hf(e,t,n);case 4:return Hs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$n(t,null,r,n):he(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),ca(e,t,r,i,n);case 7:return he(e,t,t.pendingProps,n),t.child;case 8:return he(e,t,t.pendingProps.children,n),t.child;case 12:return he(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,F(Xi,r._currentValue),r._currentValue=o,l!==null)if(Ge(l.value,o)){if(l.children===i.children&&!Se.current){t=vt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=dt(-1,n&-n),u.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?u.next=u:(u.next=p.next,p.next=u),a.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Bo(l.return,n,t),s.lanes|=n;break}u=u.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(E(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Bo(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}he(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,zn(t,n),i=Fe(i),r=r(i),t.flags|=1,he(e,t,r,n),t.child;case 14:return r=t.type,i=He(r,t.pendingProps),i=He(r.type,i),fa(e,t,r,i,n);case 15:return Ff(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),_i(e,t),t.tag=1,xe(r)?(e=!0,Yi(t)):e=!1,zn(t,n),pf(t,r,i),Wo(t,r,i,n),Qo(null,t,r,!0,e,n);case 19:return Wf(e,t,n);case 22:return jf(e,t,n)}throw Error(E(156,t.tag))};function ld(e,t){return Nc(e,t)}function i0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $e(e,t,n,r){return new i0(e,t,n,r)}function ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function l0(e){if(typeof e=="function")return ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Es)return 11;if(e===ks)return 14}return 2}function Dt(e,t){var n=e.alternate;return n===null?(n=$e(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ii(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")ru(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case mn:return bt(n.children,i,l,t);case xs:o=8,i|=8;break;case po:return e=$e(12,n,t,i|2),e.elementType=po,e.lanes=l,e;case ho:return e=$e(13,n,t,i),e.elementType=ho,e.lanes=l,e;case mo:return e=$e(19,n,t,i),e.elementType=mo,e.lanes=l,e;case pc:return xl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fc:o=10;break e;case dc:o=9;break e;case Es:o=11;break e;case ks:o=14;break e;case Et:o=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=$e(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function bt(e,t,n,r){return e=$e(7,e,r,t),e.lanes=n,e}function xl(e,t,n,r){return e=$e(22,e,r,t),e.elementType=pc,e.lanes=n,e.stateNode={isHidden:!1},e}function ro(e,t,n){return e=$e(6,e,null,t),e.lanes=n,e}function io(e,t,n){return t=$e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function o0(e,t,n,r,i){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=Fl(0),this.expirationTimes=Fl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function iu(e,t,n,r,i,l,o,s,u){return e=new o0(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=$e(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bs(l),e}function s0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ad)}catch(e){console.error(e)}}ad(),oc.exports=Te;var d0=oc.exports,_a=d0;co.createRoot=_a.createRoot,co.hydrateRoot=_a.hydrateRoot;var fe=function(){return fe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?ne(Kn,--Ue):0,Hn--,J===10&&(Hn=1,Ol--),J}function Xe(){return J=Ue2||ls(J)>3?"":" "}function k0(e,t){for(;--t&&Xe()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return Tl(e,Ni()+(t<6&&en()==32&&Xe()==32))}function os(e){for(;Xe();)switch(J){case e:return Ue;case 34:case 39:e!==34&&e!==39&&os(J);break;case 40:e===41&&os(e);break;case 92:Xe();break}return Ue}function C0(e,t){for(;Xe()&&e+J!==47+10;)if(e+J===42+42&&en()===47)break;return"/*"+Tl(t,Ue-1)+"*"+au(e===47?e:Xe())}function _0(e){for(;!ls(en());)Xe();return Tl(e,Ue)}function P0(e){return x0(zi("",null,null,null,[""],e=S0(e),0,[0],e))}function zi(e,t,n,r,i,l,o,s,u){for(var a=0,p=0,m=o,h=0,v=0,y=0,w=1,I=1,f=1,c=0,d="",g=i,S=l,k=r,x=d;I;)switch(y=c,c=Xe()){case 40:if(y!=108&&ne(x,m-1)==58){Ti(x+=R(lo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:x+=lo(c);break;case 9:case 10:case 13:case 32:x+=E0(y);break;case 92:x+=k0(Ni()-1,7);continue;case 47:switch(en()){case 42:case 47:cr(O0(C0(Xe(),Ni()),t,n,u),u);break;default:x+="/"}break;case 123*w:s[a++]=be(x)*f;case 125*w:case 59:case 0:switch(c){case 0:case 125:I=0;case 59+p:f==-1&&(x=R(x,/\f/g,"")),v>0&&be(x)-m&&cr(v>32?Ia(x+";",r,n,m-1,u):Ia(R(x," ","")+";",r,n,m-2,u),u);break;case 59:x+=";";default:if(cr(k=Oa(x,t,n,a,p,i,s,d,g=[],S=[],m,l),l),c===123)if(p===0)zi(x,t,k,k,g,l,m,s,S);else switch(h===99&&ne(x,3)===110?100:h){case 100:case 108:case 109:case 115:zi(e,k,k,r&&cr(Oa(e,k,k,0,0,i,s,d,i,g=[],m,S),S),i,S,m,s,r?g:S);break;default:zi(x,k,k,k,[""],S,0,s,S)}}a=p=v=0,w=f=1,d=x="",m=o;break;case 58:m=1+be(x),v=y;default:if(w<1){if(c==123)--w;else if(c==125&&w++==0&&w0()==125)continue}switch(x+=au(c),c*w){case 38:f=p>0?1:(x+="\f",-1);break;case 44:s[a++]=(be(x)-1)*f,f=1;break;case 64:en()===45&&(x+=lo(Xe())),h=en(),p=m=be(d=x+=_0(Ni())),c++;break;case 45:y===45&&be(x)==2&&(w=0)}}return l}function Oa(e,t,n,r,i,l,o,s,u,a,p,m){for(var h=i-1,v=i===0?l:[""],y=pd(v),w=0,I=0,f=0;w0?v[c]+" "+d:R(d,/&\f/g,v[c])))&&(u[f++]=g);return Il(e,t,n,i===0?Pl:s,u,a,p,m)}function O0(e,t,n,r){return Il(e,t,n,cd,au(y0()),Bn(e,2,-2),0,r)}function Ia(e,t,n,r,i){return Il(e,t,n,uu,Bn(e,0,r),Bn(e,r+1,-1),r,i)}function md(e,t,n){switch(v0(e,t)){case 5103:return D+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+e+e;case 4789:return xr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+xr+e+U+e+e;case 5936:switch(ne(e,t+11)){case 114:return D+e+U+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+U+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+U+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return D+e+U+e+e;case 6165:return D+e+U+"flex-"+e+e;case 5187:return D+e+R(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+U+"flex-$1$2")+e;case 5443:return D+e+U+"flex-item-"+R(e,/flex-|-self/g,"")+(ut(e,/flex-|baseline/)?"":U+"grid-row-"+R(e,/flex-|-self/g,""))+e;case 4675:return D+e+U+"flex-line-pack"+R(e,/align-content|flex-|-self/g,"")+e;case 5548:return D+e+U+R(e,"shrink","negative")+e;case 5292:return D+e+U+R(e,"basis","preferred-size")+e;case 6060:return D+"box-"+R(e,"-grow","")+D+e+U+R(e,"grow","positive")+e;case 4554:return D+R(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4200:if(!ut(e,/flex-|baseline/))return U+"grid-column-align"+Bn(e,t)+e;break;case 2592:case 3360:return U+R(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,ut(r.props,/grid-\w+-end/)})?~Ti(e+(n=n[t].value),"span")?e:U+R(e,"-start","")+e+U+"grid-row-span:"+(~Ti(n,"span")?ut(n,/\d+/):+ut(n,/\d+/)-+ut(e,/\d+/))+";":U+R(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ut(r.props,/grid-\w+-start/)})?e:U+R(R(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,D+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(be(e)-1-t>6)switch(ne(e,t+1)){case 109:if(ne(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+xr+(ne(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ti(e,"stretch")?md(R(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return R(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,l,o,s,u,a){return U+i+":"+l+a+(o?U+i+"-span:"+(s?u:+u-+l)+a:"")+e});case 4949:if(ne(e,t+6)===121)return R(e,":",":"+D)+e;break;case 6444:switch(ne(e,ne(e,14)===45?18:11)){case 120:return R(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+D+(ne(e,14)===45?"inline-":"")+"box$3$1"+D+"$2$3$1"+U+"$2box$3")+e;case 100:return R(e,":",":"+U)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return R(e,"scroll-","scroll-snap-")+e}return e}function il(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case uu:e.return=md(e.value,e.length,n);return;case fd:return il([xt(e,{value:R(e.value,"@","@"+D)})],r);case Pl:if(e.length)return g0(n=e.props,function(i){switch(ut(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":dn(xt(e,{props:[R(i,/:(read-\w+)/,":"+xr+"$1")]})),dn(xt(e,{props:[i]})),is(e,{props:Pa(n,r)});break;case"::placeholder":dn(xt(e,{props:[R(i,/:(plac\w+)/,":"+D+"input-$1")]})),dn(xt(e,{props:[R(i,/:(plac\w+)/,":"+xr+"$1")]})),dn(xt(e,{props:[R(i,/:(plac\w+)/,U+"input-$1")]})),dn(xt(e,{props:[i]})),is(e,{props:Pa(n,r)});break}return""})}}var R0={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Wn=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",cu=typeof window<"u"&&"HTMLElement"in window,L0=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),A0={},Nl=Object.freeze([]),Yn=Object.freeze({});function vd(e,t,n){return n===void 0&&(n=Yn),e.theme!==n.theme&&e.theme||t||n.theme}var gd=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),D0=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,$0=/(^-|-$)/g;function Ta(e){return e.replace(D0,"-").replace($0,"")}var M0=/(a)(d)/gi,Na=function(e){return String.fromCharCode(e+(e>25?39:97))};function ss(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Na(t%52)+n;return(Na(t%52)+n).replace(M0,"$1-$2")}var oo,Pn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},yd=function(e){return Pn(5381,e)};function fu(e){return ss(yd(e)>>>0)}function F0(e){return e.displayName||e.name||"Component"}function so(e){return typeof e=="string"&&!0}var wd=typeof Symbol=="function"&&Symbol.for,Sd=wd?Symbol.for("react.memo"):60115,j0=wd?Symbol.for("react.forward_ref"):60112,U0={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},B0={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},xd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},H0=((oo={})[j0]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},oo[Sd]=xd,oo);function za(e){return("type"in(t=e)&&t.type.$$typeof)===Sd?xd:"$$typeof"in e?H0[e.$$typeof]:U0;var t}var W0=Object.defineProperty,Y0=Object.getOwnPropertyNames,Ra=Object.getOwnPropertySymbols,V0=Object.getOwnPropertyDescriptor,Q0=Object.getPrototypeOf,La=Object.prototype;function Ed(e,t,n){if(typeof t!="string"){if(La){var r=Q0(t);r&&r!==La&&Ed(e,r,n)}var i=Y0(t);Ra&&(i=i.concat(Ra(t)));for(var l=za(e),o=za(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var X0=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,l=i;t>=l;)if((l<<=1)<0)throw Qr(16,"".concat(t));this.groupSizes=new Uint32Array(l),this.groupSizes.set(r),this.length=l;for(var o=i;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),l=i+r,o=i;o=0;a--){var p=u[a];if(p&&p.nodeType===1&&p.hasAttribute(Wn))return p}}(n),l=i!==void 0?i.nextSibling:null;r.setAttribute(Wn,"active"),r.setAttribute("data-styled-version","6.0.6");var o=b0();return o&&r.setAttribute("nonce",o),n.insertBefore(r,l),r},em=function(){function e(t){this.element=kd(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,i=0,l=r.length;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(I+="".concat(f,","))}),u+="".concat(y).concat(w,'{content:"').concat(I,'"}').concat(`/*!sc*/ -`)},p=0;p0?".".concat(t):h},p=u.slice();p.push(function(h){h.type===Pl&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(im,n).replace(r,a))}),o.prefix&&p.push(z0),p.push(I0);var m=function(h,v,y,w){v===void 0&&(v=""),y===void 0&&(y=""),w===void 0&&(w="&"),t=w,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var I=h.replace(lm,""),f=P0(y||v?"".concat(y," ").concat(v," { ").concat(I," }"):I);o.namespace&&(f=Cd(f,o.namespace));var c=[];return il(f,T0(p.concat(N0(function(d){return c.push(d)})))),c};return m.hash=u.length?u.reduce(function(h,v){return v.name||Qr(15),Pn(h,v.name)},5381).toString():"",m}var sm=new sl,as=om(),_d=De.createContext({shouldForwardProp:void 0,styleSheet:sm,stylis:as});_d.Consumer;De.createContext(void 0);function cs(){return le.useContext(_d)}var Pd=function(){function e(t,n){var r=this;this.inject=function(i,l){l===void 0&&(l=as);var o=r.name+l.hash;i.hasNameForId(r.id,o)||i.insertRules(r.id,o,l(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,pu(this,function(){throw Qr(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=as),this.name+t.hash},e}(),um=function(e){return e>="A"&&e<="Z"};function Da(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(l,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}i=Zt(i,o),this.staticRulesId=o}else{for(var u=Pn(this.baseHash,r.hash),a="",p=0;p>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(a,".".concat(v),void 0,this.componentId)),i=Zt(i,v)}}return i},e}(),hu=De.createContext(void 0);hu.Consumer;var ao={};function fm(e,t,n){var r=du(e),i=e,l=!so(e),o=t.attrs,s=o===void 0?Nl:o,u=t.componentId,a=u===void 0?function(d,g){var S=typeof d!="string"?"sc":Ta(d);ao[S]=(ao[S]||0)+1;var k="".concat(S,"-").concat(fu("6.0.6"+S+ao[S]));return g?"".concat(g,"-").concat(k):k}(t.displayName,t.parentComponentId):u,p=t.displayName;p===void 0&&function(d){return so(d)?"styled.".concat(d):"Styled(".concat(F0(d),")")}(e);var m=t.displayName&&t.componentId?"".concat(Ta(t.displayName),"-").concat(t.componentId):t.componentId||a,h=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,v=t.shouldForwardProp;if(r&&i.shouldForwardProp){var y=i.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;v=function(d,g){return y(d,g)&&w(d,g)}}else v=y}var I=new cm(n,m,r?i.componentStyle:void 0);function f(d,g){return function(S,k,x){var O=S.attrs,$=S.componentStyle,z=S.defaultProps,pe=S.foldedComponentIds,it=S.styledComponentId,lt=S.target,cn=De.useContext(hu),zl=cs(),Wt=S.shouldForwardProp||zl.shouldForwardProp,ze=function(ot,ke,yt){for(var Ce,Re=fe(fe({},ke),{className:void 0,theme:yt}),Rl=0;Rl2&&sl.registerId(this.componentId+t),this.removeStyles(t,r),this.createStyles(t,n,r,i)},e}();function pm(e){for(var t=[],n=1;ne?"10vh":0}; - padding-top: 10vh; - } -`,vm=X(zd)` - animation: 5s infinite ${mm} ease-in-out; -`;function gm(e){return new Promise((t,n)=>{const r=new Image;r.onload=function(){t(r)},r.onerror=r.onabort=function(){n(e)},r.src=e})}function ym(e){const[t,n]=le.useState(!1);return le.useEffect(()=>{async function r(){const i=[];for(const l of e)i.push(gm(l));await Promise.all(i),n(!0)}r()},[e]),{imagesPreloaded:t}}const Yt=({srcList:e,initialSrc:t,float:n,pad:r,onPreloaded:i,showPreloaded:l=!0})=>{const{imagesPreloaded:o}=ym(e);o&&!l&&i&&i();const s=o&&l,u=n?vm:zd;return s?C.jsx(u,{src:e[0],$pad:r}):C.jsx(u,{src:t,$pad:r})};var wm=4,Sm=.001,xm=1e-7,Em=10,fr=11,di=1/(fr-1),km=typeof Float32Array=="function";function Rd(e,t){return 1-3*t+3*e}function Ld(e,t){return 3*t-6*e}function Ad(e){return 3*e}function ul(e,t,n){return((Rd(t,n)*e+Ld(t,n))*e+Ad(t))*e}function Dd(e,t,n){return 3*Rd(t,n)*e*e+2*Ld(t,n)*e+Ad(t)}function Cm(e,t,n,r,i){var l,o,s=0;do o=t+(n-t)/2,l=ul(o,r,i)-e,l>0?n=o:t=o;while(Math.abs(l)>xm&&++s=Sm?_m(u,v,t,r):y===0?v:Cm(u,a,a+di,t,r)}return function(a){return a===0?0:a===1?1:ul(s(a),n,i)}};const Fa=Ka(Om);var vu=function(t){this.startX=t.startX,this.startY=t.startY,this.endX=t.endX,this.endY=t.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=t.startMultiplierX||1,this.endMultiplierX=t.endMultiplierX||1,this.startMultiplierY=t.startMultiplierY||1,this.endMultiplierY=t.endMultiplierY||1};function Mt(){return Mt=Object.assign||function(e){for(var t=1;t"u")return n;var r=typeof e=="number"||typeof e=="string";if(!r)throw new Error("Invalid value provided. Must provide a value as a string or number");e=String(e),n.value=parseFloat(e),n.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t;var i=Nm.includes(n.unit);if(!i)throw new Error("Invalid unit provided.");return n}var Ba={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function $d(e){if(Array.isArray(e))return Fa(e[0],e[1],e[2],e[3]);if(typeof e=="string"&&typeof Ba[e]<"u"){var t=Ba[e];return Fa(t[0],t[1],t[2],t[3])}}var zm=Object.values(al),Rm={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function Ha(e,t){var n={};return zm.forEach(function(r){var i=Rm[r];if(typeof(e==null?void 0:e[r])=="number"){var l=e==null?void 0:e[r],o=(l||0)*10+"px",s=(l||0)*-10+"px",u=pi(o),a=pi(s),p={start:u.value,end:a.value,unit:u.unit};t===Ke.vertical&&(n.translateY=p),t===Ke.horizontal&&(n.translateX=p)}if(Array.isArray(e==null?void 0:e[r])){var m=e==null?void 0:e[r];if(typeof m[0]<"u"&&typeof m[1]<"u"){var h=pi(m==null?void 0:m[0],i),v=pi(m==null?void 0:m[1],i),y=$d(m==null?void 0:m[2]);if(n[r]={start:h.value,end:v.value,unit:h.unit,easing:y},h.unit!==v.unit)throw new Error("Must provide matching units for the min and max offset values of each axis.")}}}),n}function Wa(e,t,n,r){var i=n-e,l=i/t;return r&&(l=r(l)),l}function Lm(e,t,n){var r=n>=e&&n<=t;return r}function Am(e,t,n,r,i){return(n-t)*(e-r)/(i-r)+t}function Md(e,t){var n=Am(typeof e.easing=="function"?e.easing(t):t,(e==null?void 0:e.start)||0,(e==null?void 0:e.end)||0,0,1);return{value:n,unit:e==null?void 0:e.unit}}var Dm=Object.values(al).filter(function(e){return e!=="opacity"});function $m(e,t){var n=Object.keys(t),r=n.includes("opacity"),i="transform"+(r?",opacity":"");e.style.willChange=i}function Mm(e,t,n){if(n){var r=jm(e,t),i=Fm(e,t);n.style.transform=r,n.style.opacity=i}}function Fm(e,t){var n=e.opacity&&Md(e.opacity,t);if(typeof n>"u"||typeof n.value>"u"||typeof n.unit>"u")return"";var r=""+n.value;return r}function jm(e,t){var n=Dm.reduce(function(r,i){var l=e[i]&&Md(e[i],t);if(typeof l>"u"||typeof l.value>"u"||typeof l.unit>"u")return r;var o=i+"("+l.value+l.unit+")";return r+o},"");return n}function Li(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function Um(e,t,n,r){var i=e.top-t.height,l=e.left-t.width,o=e.bottom,s=e.right;l+=n.x,s+=n.x,i+=n.y,o+=n.y,r&&(n.y+e.topt.scrollHeight-t.height&&(o=t.scrollHeight-t.height),s>t.scrollWidth-t.width&&(s=t.scrollWidth-t.width));var u=new vu({startX:l,startY:i,endX:s,endY:o});return u}function pn(e,t,n){var r=t>e,i=(Math.abs(e)+Math.abs(t))*(r?-1:1),l=n+i,o=Math.max(n/l,1);return o}function Ya(e,t){var n=e.start,r=e.end,i=e.unit;if(i==="%"){var l=t/100;n=n*l,r=r*l}if(i==="vw"){var o=n/100,s=r/100;n=window.innerWidth*o,r=window.innerWidth*s}if(i==="vh"){var u=n/100,a=r/100;n=window.innerHeight*u,r=window.innerHeight*a}return{start:n,end:r}}var Va={start:0,end:0,unit:""};function Bm(e,t,n,r,i,l){var o=n.translateX||Va,s=n.translateY||Va,u=Ya(o,e.width),a=u.start,p=u.end,m=Ya(s,e.height),h=m.start,v=m.end,y=e.top-t.height,w=e.left-t.width,I=e.bottom,f=e.right,c=1,d=1;i===Ke.vertical&&(c=pn(h,v,t.height+e.height),d=c);var g=1,S=1;if(i===Ke.horizontal&&(g=pn(a,p,t.width+e.width),S=g),h<0&&(y=y+h*c),v>0&&(I=I+v*d),a<0&&(w=w+a*g),p>0&&(f=f+p*S),w+=r.x,f+=r.x,y+=r.y,I+=r.y,l){var k=r.y+e.topt.scrollHeight-t.height,$=r.x+e.right>t.scrollWidth-t.height;if(k&&O&&(c=1,d=1,y=0,I=t.scrollHeight-t.height),x&&$&&(g=1,S=1,w=0,f=t.scrollWidth-t.width),!k&&O){y=e.top-t.height+r.y,I=t.scrollHeight-t.height;var z=I-y;c=pn(h,v,z),d=1,h<0&&(y=y+h*c)}if(!x&&$){w=e.left-t.width+r.x,f=t.scrollWidth-t.width;var pe=f-w;g=pn(a,p,pe),S=1,a<0&&(w=w+a*g)}if(k&&!O){y=0,I=e.bottom+r.y;var it=I-y;c=1,d=pn(h,v,it),v>0&&(I=I+v*d)}if(x&&!$){w=0,f=e.right+r.x;var lt=f-w;g=1,S=pn(a,p,lt),p>0&&(f=f+p*S)}}var cn=new vu({startX:w,startY:y,endX:f,endY:I,startMultiplierX:g,endMultiplierX:S,startMultiplierY:c,endMultiplierY:d});return cn}function Hm(e,t){var n=Mt({},e);return n.translateX&&(n.translateX=Mt({},e.translateX,{start:n.translateX.start*t.startMultiplierX,end:n.translateX.end*t.endMultiplierX})),n.translateY&&(n.translateY=Mt({},e.translateY,{start:n.translateY.start*t.startMultiplierY,end:n.translateY.end*t.endMultiplierY})),n}function Wm(e,t,n){return e.rootMargin||e.targetElement||e.shouldDisableScalingTranslations?!1:!!(t.translateX&&n===Ke.horizontal||t.translateY&&n===Ke.vertical)}var Qa=function(t,n,r){return Math.min(Math.max(t,n),r)},Ym=function(){function e(n){this.el=n.el,this.props=n.props,this.scrollAxis=n.scrollAxis,this.disabledParallaxController=n.disabledParallaxController||!1,this.id=Im(),this.effects=Ha(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(n.props.easing),$m(n.el,this.effects)}var t=e.prototype;return t.updateProps=function(r){return this.props=Mt({},this.props,r),this.effects=Ha(r,this.scrollAxis),this._setElementEasing(r.easing),this},t.setCachedAttributes=function(r,i){Li(this),this.rect=new Tm({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:r});var l=Wm(this.props,this.effects,this.scrollAxis);return typeof this.props.startScroll=="number"&&typeof this.props.endScroll=="number"?(this.limits=new vu({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(l?(this.limits=Bm(this.rect,r,this.effects,i,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=Hm(this.effects,this.limits)):this.limits=Um(this.rect,r,i,this.props.shouldAlwaysCompleteAnimation),this._setElementStyles(),this)},t._updateElementIsInView=function(r){var i=this.isInView===null;r!==this.isInView&&(r?this.props.onEnter&&this.props.onEnter(this):i||(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=r},t._setFinalProgress=function(){var r=Qa(Math.round(this.progress),0,1);this._updateElementProgress(r)},t._setElementStyles=function(){if(!(this.props.disabled||this.disabledParallaxController)){var r=this.scaledEffects||this.effects;Mm(r,this.progress,this.el)}},t._updateElementProgress=function(r){this.progress=r,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(r){this.easing=$d(r)},t.updateElementOptions=function(r){this.scrollAxis=r.scrollAxis,this.disabledParallaxController=r.disabledParallaxController||!1},t.updatePosition=function(r){if(!this.limits)return this;var i=this.scrollAxis===Ke.vertical,l=this.isInView===null,o=i?this.limits.startY:this.limits.startX,s=i?this.limits.endY:this.limits.endX,u=i?this.limits.totalY:this.limits.totalX,a=i?r.y:r.x,p=Lm(o,s,a);if(this._updateElementIsInView(p),p){var m=Wa(o,u,a,this.easing);this._updateElementProgress(m),this._setElementStyles()}else l&&(this.progress=Qa(Math.round(Wa(o,u,a,this.easing)),0,1),this._setElementStyles());return this},e}(),Xa=function(){function e(n){this.scrollContainer=n.scrollContainer,this.width=n.width,this.height=n.height,this.scrollHeight=n.scrollHeight,this.scrollWidth=n.scrollWidth}var t=e.prototype;return t.hasChanged=function(r){return r.width!==this.width||r.height!==this.height||r.scrollWidth!==this.scrollWidth||r.scrollHeight!==this.scrollHeight},t.setSize=function(r){return this.width=r.width,this.height=r.height,this.scrollHeight=r.scrollHeight,this.scrollWidth=r.scrollWidth,this},e}(),Vm=function(){function e(n,r){this.x=n,this.y=r,this.dx=0,this.dy=0}var t=e.prototype;return t.setScroll=function(r,i){return this.dx=r-this.x,this.dy=i-this.y,this.x=r,this.y=i,this},e}();function Qm(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}var Fd=function(){function e(n){var r=n.scrollAxis,i=r===void 0?Ke.vertical:r,l=n.scrollContainer,o=n.disabled,s=o===void 0?!1:o;this.disabled=s,this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!l,this.viewEl=l??window;var u=this._getScrollPosition(),a=u[0],p=u[1];this.scroll=new Vm(a,p),this.view=new Xa({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?l:void 0}),this._ticking=!1,this._supportsPassive=Qm(),this._bindAllMethods(),!this.disabled&&(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}e.init=function(r){var i=typeof window<"u";if(!i)throw new Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(r)};var t=e.prototype;return t._bindAllMethods=function(){var r=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(i){r[i]=r[i].bind(r)})},t._addListeners=function(r){r.addEventListener("scroll",this._handleScroll,this._supportsPassive?{passive:!0}:!1),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(r){var i;r.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdateCache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),(i=this._resizeObserver)==null||i.disconnect()},t._addResizeObserver=function(){var r=this;try{var i=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return r.update()}),this._resizeObserver.observe(i)}catch{console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){var r=this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,i=this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset;return[r,i]},t._handleScroll=function(){var r=this._getScrollPosition(),i=r[0],l=r[1];this.scroll.setScroll(i,l),!this._ticking&&this.elements.length>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(r){var i=this,l=r===void 0?{}:r,o=l.updateCache;this.elements&&this.elements.forEach(function(s){o&&s.setCachedAttributes(i.view,i.scroll),i._updateElementPosition(s)}),this._ticking=!1},t._updateElementPosition=function(r){r.props.disabled||this.disabled||r.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var r=this.viewEl.offsetWidth,i=this.viewEl.offsetHeight,l=this.viewEl.scrollHeight,o=this.viewEl.scrollWidth;return this.view.setSize({width:r,height:i,scrollHeight:l,scrollWidth:o})}var s=document.documentElement,u=window.innerWidth||s.clientWidth,a=window.innerHeight||s.clientHeight,p=s.scrollHeight,m=s.scrollWidth;return{width:u,height:a,scrollHeight:p,scrollWidth:m}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(r){var i=new Ym(Mt({},r,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return i.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[i]):[i],this._updateElementPosition(i),this._checkIfViewHasChanged()&&this.update(),i},t.removeElementById=function(r){this.elements&&(this.elements=this.elements.filter(function(i){return i.id!==r}))},t.updateElementPropsById=function(r,i){this.elements&&(this.elements=this.elements.map(function(l){return l.id===r?l.updateProps(i):l})),this.update()},t.resetElementStyles=function(r){Li(r)},t.update=function(){var r=this._getScrollPosition(),i=r[0],l=r[1];this.scroll.setScroll(i,l),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(r){this._removeListeners(this.viewEl),this.viewEl=r,this._hasScrollContainer=!!r,this.view=new Xa({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:r}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(r){return Li(r)})},t.enableParallaxController=function(){var r=this;this.disabled=!1,this.elements&&this.elements.forEach(function(i){return i.updateElementOptions({disabledParallaxController:!1,scrollAxis:r.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},t.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(r){return r.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(r){return r.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(r){return Li(r)}),this.elements=void 0},e}();function Xm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ps(e,t)}function ps(e,t){return ps=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ps(e,t)}function Gm(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l=0)&&(n[i]=e[i]);return n}function Km(e){return Object.keys(e).forEach(function(t){return e[t]===void 0&&delete e[t]}),e}var Zm=["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"];function Jm(e){var t=e.disabled,n=e.easing,r=e.endScroll,i=e.onChange,l=e.onEnter,o=e.onExit,s=e.onProgressChange,u=e.opacity,a=e.rootMargin,p=e.rotate,m=e.rotateX,h=e.rotateY,v=e.rotateZ,y=e.scale,w=e.scaleX,I=e.scaleY,f=e.scaleZ,c=e.shouldAlwaysCompleteAnimation,d=e.shouldDisableScalingTranslations,g=e.speed,S=e.startScroll,k=e.targetElement,x=e.translateX,O=e.translateY,$=Gm(e,Zm),z=Km({disabled:t,easing:n,endScroll:r,onChange:i,onEnter:l,onExit:o,onProgressChange:s,opacity:u,rootMargin:a,rotate:p,rotateX:m,rotateY:h,rotateZ:v,scale:y,scaleX:w,scaleY:I,scaleZ:f,shouldAlwaysCompleteAnimation:c,shouldDisableScalingTranslations:d,speed:g,startScroll:S,targetElement:k,translateX:x,translateY:O});return{parallaxProps:z,rest:$}}function qm(e){le.useEffect(function(){var t=typeof window>"u",n=e instanceof Fd;if(!t&&!e&&!n)throw new Error("Must wrap your application's components in a .")},[e])}var jd=De.createContext(null);function bm(){var e=le.useContext(jd),t=typeof window>"u";if(t)return null;if(!e)throw new Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a ");return e}function ev(e){var t=bm(),n=le.useRef(null),r=Jm(e),i=r.parallaxProps;qm(t);var l=le.useState(),o=l[0],s=l[1];return le.useEffect(function(){var u;if(n.current instanceof HTMLElement){var a={el:n.current,props:i};u=t==null?void 0:t.createElement(a),s(u)}else throw new Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return function(){u&&(t==null||t.removeElementById(u.id))}},[]),le.useEffect(function(){o&&(e.disabled&&(t==null||t.resetElementStyles(o)),t==null||t.updateElementPropsById(o.id,i))},[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:n,controller:t,element:o}}var tv=function(t){var n=typeof window>"u";return n?null:Fd.init(t)},Ud=function(e){Xm(t,e);function t(r){var i;return i=e.call(this,r)||this,i.controller=tv({scrollAxis:r.scrollAxis,scrollContainer:r.scrollContainer,disabled:r.isDisabled}),i}var n=t.prototype;return n.componentDidUpdate=function(i){if(i.scrollContainer!==this.props.scrollContainer&&this.props.scrollContainer){var l;(l=this.controller)==null||l.updateScrollContainer(this.props.scrollContainer)}if(i.isDisabled!==this.props.isDisabled){if(this.props.isDisabled){var o;(o=this.controller)==null||o.disableParallaxController()}if(!this.props.isDisabled){var s;(s=this.controller)==null||s.enableParallaxController()}}},n.componentWillUnmount=function(){this.controller=this.controller.destroy()},n.render=function(){var i=this.props.children;return De.createElement(jd.Provider,{value:this.controller},i)},t}(le.Component);Ud.defaultProps={scrollAxis:Ke.vertical};const nv=X.div` - flex: none; - position: relative; - width: 80vw; - max-height: 80%; - padding: 0 5vw; - @media (max-width: ${Ze}) { - padding: 0; - margin-top: 20vh; - width: calc(100vw - 20px); - left: -20px; - } -`,rv=X.div` - position: relative; - width: 100%; - left: 0; - height: auto; - max-width: 1920px; - @media (max-width: ${Ze}) { - left: 10px; - width: calc(100% - 10px); - } -`,Ga=X.div` - position: absolute; - top: ${({$upsideDown:e})=>e?"10px;":"0;"} - left: ${({$upsideDown:e})=>e?"10px;":"0;"} - background: rgba(0,0,0,0); - border-image: ${({$upsideDown:e})=>e?"linear-gradient(180deg, #FEEF5C 0%, #FEEF5C 24.95%, #FECED1 41.67%, #FCA6DD 60.94%, #9186CE 100%) 30;":"linear-gradient(180deg, #9186CE 0%, #FCA6DD 24.95%, #FECED1 41.67%, #FEEF5C 60.94%, #FEEF5C 100%) 30;"}; - border-width: 10px; - height: calc(100% + 60px); - width: 100%; - padding: 0; - max-width: 1920px; - border-style: solid; - background: ${({$upsideDown:e})=>e?"":"rgba(0,0,0,0.33)"}; - @media (max-width: ${rt}) { - height: calc(100% + 20px); - } -`,iv=X.div` - position: relative; - top: 20px; - left: 20px; - padding: 60px 0 20px 80px; - width: calc(100% - 160px); - color: #FFF; - text-shadow: 2px 2px 0px #000; - font-family: 'Rubik Mono One', Verdana; - font-weight: 800; - font-size: 48px; - @media (max-width: ${Ze}) { - font-size: 36px; - } - @media (max-width: ${rt}) { - font-size: 24px; - padding: 20px 0 5px 30px; - width: calc(100% - 50px); - margin-top: -100px; - } - @media (max-width: ${an}) { - font-size: 18px; - padding: 10px 0 2px 20px; - } -`,hi=({children:e})=>{const{ref:t}=ev({speed:10});return C.jsx(nv,{children:C.jsxs(rv,{ref:t,children:[C.jsx(Ga,{}),C.jsx(Ga,{$upsideDown:!0}),C.jsx(iv,{children:e})]})})},lv=X.div` - position: relative; - width: 1500px; - height: 300px; - @media(max-width: ${Zn}) { - width: 1250px; - height: 250px; - } - @media(max-width: ${Ze}) { - width: 900px; - height: 180px; - } - @media(max-width: ${rt}) { - width: 500px; - height: 100px; - } - @media(max-width: ${an}) { - width: 300px; - height: 60px; - } -`,ov=X.p` - position: absolute; - top: 0; - font-family: "Alro"; - left: 0; - margin: 0; - font-size: 300px; - color: white; - text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; - @media(max-width: ${Zn}) { - font-size: 250px; - } - @media(max-width: ${Ze}) { - font-size: 180px; - } - @media(max-width: ${rt}) { - font-size: 100px; - } - @media(max-width: ${an}) { - font-size: 60px; - } - font-size: ${({$size:e})=>e}px; -`,sv=X.p` - position: absolute; - font-family: "Alro"; - top: 15px; - left: 15px; - color: rgb(139 143,191); - text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white; - font-size: 300px; - margin: 0; - @media(max-width: ${Zn}) { - font-size: 250px; - top: 12px; - left: 12px; - } - @media(max-width: ${Ze}) { - font-size: 180px; - top: 9px; - left: 9px; - } - @media(max-width: ${rt}) { - font-size: 100px; - top: 5px; - left: 5px; - } - @media(max-width: ${an}) { - font-size: 60px; - top: 3px; - left: 3px; - } -`,uv=()=>C.jsxs(lv,{children:[C.jsx(sv,{children:"DAPPICOM"}),C.jsx(ov,{children:"DAPPICOM"})]}),av=X.a` - position: fixed; - right: 0; - top: 0; - height: 10vw; - width: 10vw; - z-index: 1; - cursor: pointer; - @media (max-width: ${rt}) { - height: 20vw; - width: 20vw; - } -`,cv=X.img` - width: 100%; - height: 100%; -`,fv=()=>C.jsx(av,{href:"https://github.com/tonk-gg/dappicom",target:"_blank",children:C.jsx(cv,{src:"images/github-corner.svg"})}),dv=X.div` - display: flex; - align-items: flex-start; - justify-content: center; - width: 100vw; - max-height: 100vh; - height: 100vh; -`,pv=X.div` - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - overflow-y: scroll; - overflow-x: hidden; - width: 100%; -`,lr=X.div` - width: 100%; - height: auto; -`,mi=X.div` - width: 100%; - height: auto; - padding: 0 0; - margin: -1px 0; - display: flex; - justify-content: center; - padding: 0 0 20vh 0; - background: ${({$background:e})=>e==="DAPPICOM"?"#FF83BD;":e==="PLAY"?"linear-gradient(180deg, #017EC6 0%, #8D84CE 61.98%, #CE9DD6 100%);":e==="PROVE"?"linear-gradient(180deg, #8A93CE 0%, #748ECF 7.03%, #3567B7 23.44%, #5A73BD 59.89%, #BF9CD5 98.96%);":e==="PERSIST"?"linear-gradient(180deg, #FFDD3C 0%, #395FAC 100%);":"white;"}; - overflow: visible; - - @media (max-width: ${Ze}) { - padding: 0 0 100px 0; - } -`,vi=X.div` - width: 100%; - height: 62vw; - position: relative; - background: ${({$background:e})=>e==="DAPPICOM"?"#FF83BD;":e==="PLAY"?"linear-gradient(180deg, #FF83BD 0%, #FFBACD 35.94%, #FED700 84.90%, #037FC5 91.15%, #007DC6 100%);":e==="PROVE"?"linear-gradient(180deg, #CE9DD6 0%, #FFA5DE 25.52%, #FDBAD7 30.45%, #FECED1 38.02%, #FEEF5C 49.88%, #8992CE 100%);":e==="PERSIST"?"linear-gradient(180deg, #BF9CD5 0%, #DAD1B8 28.58%, #FEF554 43.86%, #FFDC3A 100%);":"linear-gradient(180deg, #3860AD 0%, #3B005F 100%);"}; - - @media (max-width: ${rt}) { - height: 82vw; - } -`,hv=X.div` - padding-top: 20vh; - position: relative; - display: flex; - flex-direction: column; - align-items: center; - justify-content: flex-start; - background: linear-gradient(180deg, #3860AD 0%, #3B005F 100%); -`,mv=X.p` - font-family: 'VisbyCF'; - font-weight: 800; - color: white; - margin: 0; - padding-top: 180px; - font-size: 70px; - @media(max-width: ${Zn}) { - font-size: 60px; - } - @media(max-width: ${Ze}) { - font-size: 40px; - padding-top: 130px; - } - @media(max-width: ${rt}) { - font-size: 25px; - padding-top: 90px; - } - @media(max-width: ${an}) { - padding-top: 60px; - font-size: 20px; - } -`,vv=X.p` - font-family: 'Inter'; - font-size: 43px; - color: white; - width: 1400px; - text-align: center; - margin-top: 180px; - @media(max-width: ${Zn}) { - width: 1200px; - } - @media(max-width: ${Ze}) { - width: 800px; - font-size: 28px; - margin-top: 120px; - } - @media(max-width: ${rt}) { - width: 500px; - margin-top: 70px; - font-size: 26px; - } - @media(max-width: ${an}) { - width: 300px; - font-size: 18px; - margin-top: 40px; - } -`;X.a` - font-family: 'VisbyCF'; - font-weight: 700; - color: white; - text-decoration: underline; - font-size: 43px; - padding: 100px; - margin: 300px; - width: 100%; - height: auto; - cursor: pointer; - text-align: center; - @media(max-width: ${Zn}) { - } - @media(max-width: ${Ze}) { - font-size: 28px; - margin: 120px; - } - @media(max-width: ${rt}) { - font-size: 26px; - } - @media(max-width: ${an}) { - font-size: 21px; - margin-top: 0; - } - - &:hover { - color: #FEB9D8; - } - -`;const gv=X.div` - height: 50vh; - width: 100vw. -`,yv=X.p` - text-align: center; - width: 100%; - position: absolute; - bottom: 0; - color: white; - font-size: 18px; - font-family: 'Inter'; -`;function wv(){const[e,t]=le.useState(!1),[n,r]=le.useState(!1);return le.useEffect(()=>{["images/preload/1_DappicomBox-1.png"].forEach(i=>{const l=new Image;l.src=i,l.onload=()=>{t(!0)}})},[]),e?C.jsx(C.Fragment,{children:C.jsxs(dv,{children:[C.jsx(fv,{}),C.jsxs(pv,{children:[C.jsxs(lr,{children:[C.jsxs(vi,{$background:"DAPPICOM",style:{paddingTop:"10vh"},children:[C.jsx(Yt,{float:!0,pad:!0,initialSrc:"",srcList:["images/HD/1_DappicomBox_illo.gif"],showPreloaded:n,onPreloaded:()=>r(!0)}),C.jsx(Yt,{float:!0,pad:!0,initialSrc:"images/preload/1_DappicomBox-1.png",srcList:["images/HD/1_DappicomBox_anim.gif"],showPreloaded:n})]}),C.jsx(mi,{$background:"DAPPICOM",children:C.jsxs(hi,{children:["DAPPICOM IS A NEW OPEN-SOURCE PROJECT BROUGHT TO YOU BY ",C.jsx("a",{href:"https://tonk.gg",target:"_blank",children:"TONK"})," AND FRIENDS.",C.jsx("br",{}),C.jsx("br",{}),"HERE'S HOW IT WORKS."]})})]}),C.jsxs(lr,{children:[C.jsxs(vi,{$background:"PLAY",children:[C.jsx(Yt,{initialSrc:"images/preload/2_PlayNESROMS-1.png",srcList:["images/HD/2_PlayNESROMS_illo.gif"]}),C.jsx(Yt,{initialSrc:"images/SMOL/2_PlayNESROMS_anim.gif",srcList:["images/HD/2_PlayNESROMS_anim.gif"]})]}),C.jsx(mi,{$background:"PLAY",children:C.jsxs(hi,{children:["RETRO GAMES SHOULD FEEL LIKE OLD TIMES. DAPPICOM LETS YOU PLAY YOUR GAMES AND ENJOY!",C.jsx("br",{}),C.jsx("br",{}),"WHAT'S NEW? AS YOU PLAY, BITS OF THE NES MACHINE STATE ARE STREAMED TO A SERVER."]})})]}),C.jsxs(lr,{children:[C.jsx(vi,{$background:"PROVE",children:C.jsx(Yt,{initialSrc:"images/preload/3_ProveGameplay-1.png",srcList:["images/HD/3_ProveGameplay_illo.gif"]})}),C.jsx(mi,{$background:"PROVE",children:C.jsxs(hi,{children:["THE SERVER WORKS FOR YOU DAY AND NIGHT IN A LAND FAR, FAR AWAY",C.jsx("br",{}),C.jsx("br",{}),"IT TAKES THE BITS OF MACHINE STATE AND USES THE ",C.jsx("a",{href:"https://noir-lang.org/",target:"_blank",children:"NOIR LANGUAGE"})," TO CONVERT PLAY INTO MATHEMATICAL PROOFS.",C.jsx("br",{}),C.jsx("br",{}),"YOU CAN'T ARGUE WITH MATHS."]})})]}),C.jsxs(lr,{children:[C.jsxs(vi,{$background:"PERSIST",children:[C.jsx(Yt,{initialSrc:"",srcList:["images/HD/4_PersistStateOnchain_anim.gif"]}),C.jsx(Yt,{initialSrc:"images/preload/4_PersistStateOnchain-1.png",srcList:["images/HD/4_PersistStateOnchain_illo.gif"]})]}),C.jsx(mi,{$background:"PERSIST",children:C.jsxs(hi,{children:["THOSE PROOFS ARE SENT TO A BLOCKCHAIN AND VERIFIED BY NOIR'S GENERATED SMART CONTRACT CODE.",C.jsx("br",{}),C.jsx("br",{}),"PROVEN GAMEPLAY COULD BE YOUR PATH TO REWARDS, BADGES OR NEW LEVELS.",C.jsx("br",{}),C.jsx("br",{}),"WITH EXTRA-SPICY HIDDEN INFORMATION: PROVE THAT YOU BEAT THE MARIO SPEEDRUN WORLD RECORD WITHOUT SHOWING PEOPLE HOW YOU DID IT!"]})})]}),C.jsx(lr,{children:C.jsxs(hv,{children:[C.jsx(uv,{}),C.jsx(mv,{children:"Provable NES Emulator built in Noir"}),C.jsx(vv,{children:"Dappicom is under active development and seeking contributions. Please take a look at the github repository for more detailed technical information and instructions on how to contribute."}),C.jsx(gv,{}),C.jsxs(yv,{children:["Illustrations and Animations by ",C.jsx("a",{href:"https://hi-bred.net/",target:"_blank",children:"Hi-Bred"}),". This project is funded by an ",C.jsx("a",{src:"https://aztec.network/index.html",target:"_blank",children:"Aztec"})," ecosystem grant.",C.jsx("br",{}),"Much like ",C.jsx("a",{href:"https://nesdev.org/",target:"_blank",children:"nesdev.org"}),", Dappicom is not affiliated with Nintendo and is not for profit.",C.jsx("br",{}),"Copyright @ 2023 Tonk Labs. All Rights Reserved."]})]})})]})]})}):!1}let Bd;Bd=pm` - @font-face { - font-family: 'Rubik Mono One'; - font-weight: normal; - font-style: normal; - src: url('/dappicom-site/fonts/rubik/RubikMonoOne-Regular.ttf') format('truetype'); - } - - @font-face { - font-family: 'Alro'; - font-weight: normal; - font-style: normal; - src: url('/dappicom-site/fonts/alro/alro-alro-regular-400.ttf') format('truetype'); - } - - @font-face { - font-family: 'VisbyCF'; - font-weight: 700; - font-style: normal; - src: url('/dappicom-site/fonts/visby/visbycf-bold-webfont.ttf') format('truetype'); - } - @font-face { - font-family: 'VisbyCF'; - font-weight: 800; - font-style: normal; - src: url('/dappicom-site/fonts/visby/visbycf-extrabold-webfont.ttf') format('truetype'); - } - @font-face { - font-family: 'Inter'; - font-weight: normal; - font-style: normal; - src: url('/dappicom-site/fonts/inter/Inter-Regular.ttf') format('truetype'); - } -`;const Sv=Bd;co.createRoot(document.getElementById("root")).render(C.jsxs(De.StrictMode,{children:[C.jsx(Ud,{children:C.jsx(wv,{})}),C.jsx(Sv,{})]})); diff --git a/index.html b/index.html index 08ccaec..2913183 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ DAPPICOM - +