diff --git a/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/index-DiwrgTda.css b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/index-DiwrgTda.css new file mode 100644 index 0000000..7704ff6 --- /dev/null +++ b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/index-DiwrgTda.css @@ -0,0 +1 @@ +#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} diff --git a/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/index-DoUdV5wo.js b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/index-DoUdV5wo.js new file mode 100644 index 0000000..d7a3978 --- /dev/null +++ b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/index-DoUdV5wo.js @@ -0,0 +1,48 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function ff(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vs={exports:{}},Pl={},$s={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 kr=Symbol.for("react.element"),df=Symbol.for("react.portal"),pf=Symbol.for("react.fragment"),mf=Symbol.for("react.strict_mode"),hf=Symbol.for("react.profiler"),vf=Symbol.for("react.provider"),yf=Symbol.for("react.context"),gf=Symbol.for("react.forward_ref"),wf=Symbol.for("react.suspense"),Sf=Symbol.for("react.memo"),Ef=Symbol.for("react.lazy"),Nu=Symbol.iterator;function kf(e){return e===null||typeof e!="object"?null:(e=Nu&&e[Nu]||e["@@iterator"],typeof e=="function"?e:null)}var Ws={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hs=Object.assign,Bs={};function zn(e,t,n){this.props=e,this.context=t,this.refs=Bs,this.updater=n||Ws}zn.prototype.isReactComponent={};zn.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")};zn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Qs(){}Qs.prototype=zn.prototype;function Ni(e,t,n){this.props=e,this.context=t,this.refs=Bs,this.updater=n||Ws}var Ti=Ni.prototype=new Qs;Ti.constructor=Ni;Hs(Ti,zn.prototype);Ti.isPureReactComponent=!0;var Tu=Array.isArray,Ks=Object.prototype.hasOwnProperty,Pi={current:null},Ys={key:!0,ref:!0,__self:!0,__source:!0};function Xs(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Ks.call(t,r)&&!Ys.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,A=C[F];if(0>>1;Fl(vt,R))Yel(Ut,vt)?(C[F]=Ut,C[Ye]=R,F=Ye):(C[F]=vt,C[Ke]=R,F=Ke);else if(Yel(Ut,R))C[F]=Ut,C[Ye]=R,F=Ye;else break e}}return P}function l(C,P){var R=C.sortIndex-P.sortIndex;return R!==0?R:C.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],f=[],h=1,m=null,p=3,y=!1,S=!1,w=!1,I=typeof setTimeout=="function"?setTimeout:null,a=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(C){for(var P=n(f);P!==null;){if(P.callback===null)r(f);else if(P.startTime<=C)r(f),P.sortIndex=P.expirationTime,t(s,P);else break;P=n(f)}}function v(C){if(w=!1,d(C),!S)if(n(s)!==null)S=!0,en(E);else{var P=n(f);P!==null&&tn(v,P.startTime-C)}}function E(C,P){S=!1,w&&(w=!1,a(k),k=-1),y=!0;var R=p;try{for(d(P),m=n(s);m!==null&&(!(m.expirationTime>P)||C&&!ee());){var F=m.callback;if(typeof F=="function"){m.callback=null,p=m.priorityLevel;var A=F(m.expirationTime<=P);P=e.unstable_now(),typeof A=="function"?m.callback=A:m===n(s)&&r(s),d(P)}else r(s);m=n(s)}if(m!==null)var nt=!0;else{var Ke=n(f);Ke!==null&&tn(v,Ke.startTime-P),nt=!1}return nt}finally{m=null,p=R,y=!1}}var _=!1,N=null,k=-1,M=5,T=-1;function ee(){return!(e.unstable_now()-TC||125F?(C.sortIndex=R,t(f,C),n(s)===null&&C===n(f)&&(w?(a(k),k=-1):w=!0,tn(v,R-F))):(C.sortIndex=A,t(s,C),S||y||(S=!0,en(E))),C},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(C){var P=p;return function(){var R=p;p=P;try{return C.apply(this,arguments)}finally{p=R}}}})(bs);qs.exports=bs;var Df=qs.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 If=G,Re=Df;function g(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"),Ro=Object.prototype.hasOwnProperty,Mf=/^[: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]*$/,Ru={},Lu={};function Ff(e){return Ro.call(Lu,e)?!0:Ro.call(Ru,e)?!1:Mf.test(e)?Lu[e]=!0:(Ru[e]=!0,!1)}function jf(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 Af(e,t,n,r){if(t===null||typeof t>"u"||jf(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,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[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];ue[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[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){ue[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var Li=/[\-:]([a-z])/g;function zi(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(Li,zi);ue[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(Li,zi);ue[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(Li,zi);ue[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oi(e,t,n,r){var l=ue.hasOwnProperty(t)?ue[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Jl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bn(e):""}function Uf(e){switch(e.tag){case 5:return Bn(e.type);case 16:return Bn("Lazy");case 13:return Bn("Suspense");case 19:return Bn("SuspenseList");case 0:case 2:case 15:return e=ql(e.type,!1),e;case 11:return e=ql(e.type.render,!1),e;case 1:return e=ql(e.type,!0),e;default:return""}}function Do(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 on:return"Fragment";case ln:return"Portal";case Lo:return"Profiler";case Di:return"StrictMode";case zo:return"Suspense";case Oo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case na:return(e.displayName||"Context")+".Consumer";case ta:return(e._context.displayName||"Context")+".Provider";case Ii:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return t=e.displayName||null,t!==null?t:Do(e.type)||"Memo";case gt:t=e._payload,e=e._init;try{return Do(e(t))}catch{}}return null}function Vf(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 Do(t);case 8:return t===Di?"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 Dt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function la(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $f(e){var t=la(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rr(e){e._valueTracker||(e._valueTracker=$f(e))}function oa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=la(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ll(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 Io(e,t){var n=t.checked;return K({},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=Dt(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 ia(e,t){t=t.checked,t!=null&&Oi(e,"checked",t,!1)}function Mo(e,t){ia(e,t);var n=Dt(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")?Fo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fo(e,t.type,Dt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Du(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 Fo(e,t,n){(t!=="number"||ll(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qn=Array.isArray;function yn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xn={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},Wf=["Webkit","ms","Moz","O"];Object.keys(Xn).forEach(function(e){Wf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xn[t]=Xn[e]})});function ca(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xn.hasOwnProperty(e)&&Xn[e]?(""+t).trim():t+"px"}function fa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ca(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Hf=K({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 Uo(e,t){if(t){if(Hf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function Vo(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 $o=null;function Fi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wo=null,gn=null,wn=null;function Fu(e){if(e=xr(e)){if(typeof Wo!="function")throw Error(g(280));var t=e.stateNode;t&&(t=Il(t),Wo(e.stateNode,e.type,t))}}function da(e){gn?wn?wn.push(e):wn=[e]:gn=e}function pa(){if(gn){var e=gn,t=wn;if(wn=gn=null,Fu(e),t)for(e=0;e>>=0,e===0?32:31-(ed(e)/td|0)|0}var zr=64,Or=4194304;function Kn(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 sl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Kn(u):(o&=i,o!==0&&(r=Kn(o)))}else i=n&~l,i!==0?r=Kn(i):o!==0&&(r=Kn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function _r(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-He(t),e[t]=n}function od(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=Zn),Qu=" ",Ku=!1;function Da(e,t){switch(e){case"keyup":return Dd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ia(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var un=!1;function Md(e,t){switch(e){case"compositionend":return Ia(t);case"keypress":return t.which!==32?null:(Ku=!0,Qu);case"textInput":return e=t.data,e===Qu&&Ku?null:e;default:return null}}function Fd(e,t){if(un)return e==="compositionend"||!Bi&&Da(e,t)?(e=za(),Gr=$i=kt=null,un=!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=Zu(n)}}function Aa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Aa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ua(){for(var e=window,t=ll();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ll(e.document)}return t}function Qi(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 Qd(e){var t=Ua(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Aa(n.ownerDocument.documentElement,n)){if(r!==null&&Qi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ju(n,o);var i=Ju(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,sn=null,Xo=null,qn=null,Go=!1;function qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Go||sn==null||sn!==ll(r)||(r=sn,"selectionStart"in r&&Qi(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}),qn&&cr(qn,r)||(qn=r,r=fl(Xo,"onSelect"),0fn||(e.current=ti[fn],ti[fn]=null,fn--)}function j(e,t){fn++,ti[fn]=e.current,e.current=t}var It={},de=jt(It),ke=jt(!1),Yt=It;function Cn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function _e(e){return e=e.childContextTypes,e!=null}function pl(){W(ke),W(de)}function os(e,t,n){if(de.current!==It)throw Error(g(168));j(de,t),j(ke,n)}function Xa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(g(108,Vf(e)||"Unknown",l));return K({},n,r)}function ml(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Yt=de.current,j(de,e),j(ke,ke.current),!0}function is(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=Xa(e,t,Yt),r.__reactInternalMemoizedMergedChildContext=e,W(ke),W(de),j(de,e)):W(ke),j(ke,n)}var it=null,Ml=!1,po=!1;function Ga(e){it===null?it=[e]:it.push(e)}function rp(e){Ml=!0,Ga(e)}function At(){if(!po&&it!==null){po=!0;var e=0,t=D;try{var n=it;for(D=1;e>=i,l-=i,st=1<<32-He(t)+l|n<k?(M=N,N=null):M=N.sibling;var T=p(a,N,d[k],v);if(T===null){N===null&&(N=M);break}e&&N&&T.alternate===null&&t(a,N),c=o(T,c,k),_===null?E=T:_.sibling=T,_=T,N=M}if(k===d.length)return n(a,N),H&&Vt(a,k),E;if(N===null){for(;kk?(M=N,N=null):M=N.sibling;var ee=p(a,N,T.value,v);if(ee===null){N===null&&(N=M);break}e&&N&&ee.alternate===null&&t(a,N),c=o(ee,c,k),_===null?E=ee:_.sibling=ee,_=ee,N=M}if(T.done)return n(a,N),H&&Vt(a,k),E;if(N===null){for(;!T.done;k++,T=d.next())T=m(a,T.value,v),T!==null&&(c=o(T,c,k),_===null?E=T:_.sibling=T,_=T);return H&&Vt(a,k),E}for(N=r(a,N);!T.done;k++,T=d.next())T=y(N,a,k,T.value,v),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?k:T.key),c=o(T,c,k),_===null?E=T:_.sibling=T,_=T);return e&&N.forEach(function(xe){return t(a,xe)}),H&&Vt(a,k),E}function I(a,c,d,v){if(typeof d=="object"&&d!==null&&d.type===on&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Pr:e:{for(var E=d.key,_=c;_!==null;){if(_.key===E){if(E=d.type,E===on){if(_.tag===7){n(a,_.sibling),c=l(_,d.props.children),c.return=a,a=c;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===gt&&as(E)===_.type){n(a,_.sibling),c=l(_,d.props),c.ref=Vn(a,_,d),c.return=a,a=c;break e}n(a,_);break}else t(a,_);_=_.sibling}d.type===on?(c=Kt(d.props.children,a.mode,v,d.key),c.return=a,a=c):(v=rl(d.type,d.key,d.props,null,a.mode,v),v.ref=Vn(a,c,d),v.return=a,a=v)}return i(a);case ln:e:{for(_=d.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(a,c.sibling),c=l(c,d.children||[]),c.return=a,a=c;break e}else{n(a,c);break}else t(a,c);c=c.sibling}c=Eo(d,a.mode,v),c.return=a,a=c}return i(a);case gt:return _=d._init,I(a,c,_(d._payload),v)}if(Qn(d))return S(a,c,d,v);if(Mn(d))return w(a,c,d,v);Ur(a,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(a,c.sibling),c=l(c,d),c.return=a,a=c):(n(a,c),c=So(d,a.mode,v),c.return=a,a=c),i(a)):n(a,c)}return I}var Nn=ba(!0),ec=ba(!1),yl=jt(null),gl=null,mn=null,Gi=null;function Zi(){Gi=mn=gl=null}function Ji(e){var t=yl.current;W(yl),e._currentValue=t}function li(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function En(e,t){gl=e,Gi=mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ee=!0),e.firstContext=null)}function je(e){var t=e._currentValue;if(Gi!==e)if(e={context:e,memoizedValue:t,next:null},mn===null){if(gl===null)throw Error(g(308));mn=e,gl.dependencies={lanes:0,firstContext:e}}else mn=mn.next=e;return t}var Ht=null;function qi(e){Ht===null?Ht=[e]:Ht.push(e)}function tc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,qi(t)):(n.next=l.next,l.next=n),t.interleaved=n,pt(e,r)}function pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wt=!1;function bi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,z&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,pt(e,n)}return l=r.interleaved,l===null?(t.next=t,qi(r)):(t.next=l.next,l.next=t),r.interleaved=t,pt(e,n)}function Jr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ai(e,n)}}function cs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wl(e,t,n,r){var l=e.updateQueue;wt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,f=s.next;s.next=null,i===null?o=f:i.next=f,i=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==i&&(u===null?h.firstBaseUpdate=f:u.next=f,h.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;i=0,h=f=s=null,u=o;do{var p=u.lane,y=u.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:y,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var S=e,w=u;switch(p=t,y=n,w.tag){case 1:if(S=w.payload,typeof S=="function"){m=S.call(y,m,p);break e}m=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=w.payload,p=typeof S=="function"?S.call(y,m,p):S,p==null)break e;m=K({},m,p);break e;case 2:wt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else y={eventTime:y,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(f=h=y,s=m):h=h.next=y,i|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=f,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Zt|=i,e.lanes=i,e.memoizedState=m}}function fs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ho.transition;ho.transition={};try{e(!1),t()}finally{D=n,ho.transition=r}}function wc(){return Ae().memoizedState}function up(e,t,n){var r=zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Sc(e))Ec(t,n);else if(n=tc(e,t,n,r),n!==null){var l=ve();Be(n,e,r,l),kc(n,t,r)}}function sp(e,t,n){var r=zt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Sc(e))Ec(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Qe(u,i)){var s=t.interleaved;s===null?(l.next=l,qi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=tc(e,t,l,r),n!==null&&(l=ve(),Be(n,e,r,l),kc(n,t,r))}}function Sc(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Ec(e,t){bn=El=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function kc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ai(e,n)}}var kl={readContext:je,useCallback:ae,useContext:ae,useEffect:ae,useImperativeHandle:ae,useInsertionEffect:ae,useLayoutEffect:ae,useMemo:ae,useReducer:ae,useRef:ae,useState:ae,useDebugValue:ae,useDeferredValue:ae,useTransition:ae,useMutableSource:ae,useSyncExternalStore:ae,useId:ae,unstable_isNewReconciler:!1},ap={readContext:je,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:je,useEffect:ps,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,br(4194308,4,mc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return br(4194308,4,e,t)},useInsertionEffect:function(e,t){return br(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=up.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:ds,useDebugValue:uu,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=ds(!1),t=e[0];return e=ip.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,l=Ze();if(H){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),ne===null)throw Error(g(349));Gt&30||ic(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ps(sc.bind(null,r,o,e),[e]),r.flags|=2048,gr(9,uc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ze(),t=ne.identifierPrefix;if(H){var n=at,r=st;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Je]=t,e[pr]=r,Oc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Vo(n,r),n){case"dialog":$("cancel",e),$("close",e),l=r;break;case"iframe":case"object":case"embed":$("load",e),l=r;break;case"video":case"audio":for(l=0;lRn&&(t.flags|=128,r=!0,$n(o,!1),t.lanes=4194304)}else{if(!r)if(e=Sl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$n(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!H)return ce(t),null}else 2*Z()-o.renderingStartTime>Rn&&n!==1073741824&&(t.flags|=128,r=!0,$n(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Z(),t.sibling=null,n=B.current,j(B,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return pu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ne&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function yp(e,t){switch(Yi(t),t.tag){case 1:return _e(t.type)&&pl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tn(),W(ke),W(de),nu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tu(t),null;case 13:if(W(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(B),null;case 4:return Tn(),null;case 10:return Ji(t.type._context),null;case 22:case 23:return pu(),null;case 24:return null;default:return null}}var $r=!1,fe=!1,gp=typeof WeakSet=="function"?WeakSet:Set,x=null;function hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function pi(e,t,n){try{n()}catch(r){Y(e,t,r)}}var Cs=!1;function wp(e,t){if(Zo=al,e=Ua(),Qi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,f=0,h=0,m=e,p=null;t:for(;;){for(var y;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(y=m.firstChild)!==null;)p=m,m=y;for(;;){if(m===e)break t;if(p===n&&++f===l&&(u=i),p===o&&++h===r&&(s=i),(y=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jo={focusedElem:e,selectionRange:n},al=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var w=S.memoizedProps,I=S.memoizedState,a=t.stateNode,c=a.getSnapshotBeforeUpdate(t.elementType===t.type?w:Ve(t.type,w),I);a.__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(g(163))}}catch(v){Y(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return S=Cs,Cs=!1,S}function er(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&pi(t,n,o)}l=l.next}while(l!==r)}}function Al(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 mi(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 Mc(e){var t=e.alternate;t!==null&&(e.alternate=null,Mc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Je],delete t[pr],delete t[ei],delete t[tp],delete t[np])),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 Fc(e){return e.tag===5||e.tag===3||e.tag===4}function xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fc(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 hi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=dl));else if(r!==4&&(e=e.child,e!==null))for(hi(e,t,n),e=e.sibling;e!==null;)hi(e,t,n),e=e.sibling}function vi(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(vi(e,t,n),e=e.sibling;e!==null;)vi(e,t,n),e=e.sibling}var oe=null,$e=!1;function yt(e,t,n){for(n=n.child;n!==null;)jc(e,t,n),n=n.sibling}function jc(e,t,n){if(be&&typeof be.onCommitFiberUnmount=="function")try{be.onCommitFiberUnmount(Ll,n)}catch{}switch(n.tag){case 5:fe||hn(n,t);case 6:var r=oe,l=$e;oe=null,yt(e,t,n),oe=r,$e=l,oe!==null&&($e?(e=oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):oe.removeChild(n.stateNode));break;case 18:oe!==null&&($e?(e=oe,n=n.stateNode,e.nodeType===8?fo(e.parentNode,n):e.nodeType===1&&fo(e,n),sr(e)):fo(oe,n.stateNode));break;case 4:r=oe,l=$e,oe=n.stateNode.containerInfo,$e=!0,yt(e,t,n),oe=r,$e=l;break;case 0:case 11:case 14:case 15:if(!fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&pi(n,t,i),l=l.next}while(l!==r)}yt(e,t,n);break;case 1:if(!fe&&(hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Y(n,t,u)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(fe=(r=fe)||n.memoizedState!==null,yt(e,t,n),fe=r):yt(e,t,n);break;default:yt(e,t,n)}}function Ns(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gp),t.forEach(function(r){var l=Pp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ue(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ep(r/1960))-r,10e?16:e,_t===null)var r=!1;else{if(e=_t,_t=null,xl=0,z&6)throw Error(g(331));var l=z;for(z|=4,x=e.current;x!==null;){var o=x,i=o.child;if(x.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sZ()-fu?Qt(e,0):cu|=n),Ce(e,t)}function Qc(e,t){t===0&&(e.mode&1?(t=Or,Or<<=1,!(Or&130023424)&&(Or=4194304)):t=1);var n=ve();e=pt(e,t),e!==null&&(_r(e,t,n),Ce(e,n))}function Tp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qc(e,n)}function Pp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(g(314))}r!==null&&r.delete(t),Qc(e,n)}var Kc;Kc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ke.current)Ee=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ee=!1,hp(e,t,n);Ee=!!(e.flags&131072)}else Ee=!1,H&&t.flags&1048576&&Za(t,vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;el(e,t),e=t.pendingProps;var l=Cn(t,de.current);En(t,n),l=lu(null,t,r,e,l,n);var o=ou();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_e(r)?(o=!0,ml(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,bi(t),l.updater=jl,t.stateNode=l,l._reactInternals=t,ii(t,r,e,n),t=ai(null,t,r,!0,o,n)):(t.tag=0,H&&o&&Ki(t),he(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(el(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Lp(r),e=Ve(r,e),l){case 0:t=si(null,t,r,e,n);break e;case 1:t=Es(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,Ve(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),si(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),Es(e,t,r,l,n);case 3:e:{if(Rc(t),e===null)throw Error(g(387));r=t.pendingProps,o=t.memoizedState,l=o.element,nc(e,t),wl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=Pn(Error(g(423)),t),t=ks(e,t,r,n,l);break e}else if(r!==l){l=Pn(Error(g(424)),t),t=ks(e,t,r,n,l);break e}else for(Te=Pt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,We=null,n=ec(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(xn(),r===l){t=mt(e,t,n);break e}he(e,t,r,n)}t=t.child}return t;case 5:return rc(t),e===null&&ri(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,qo(r,l)?i=null:o!==null&&qo(r,o)&&(t.flags|=32),Pc(e,t),he(e,t,i,n),t.child;case 6:return e===null&&ri(t),null;case 13:return Lc(e,t,n);case 4:return eu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Nn(t,null,r,n):he(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),ws(e,t,r,l,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,l=t.pendingProps,o=t.memoizedProps,i=l.value,j(yl,r._currentValue),r._currentValue=i,o!==null)if(Qe(o.value,i)){if(o.children===l.children&&!ke.current){t=mt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=ct(-1,n&-n),s.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),li(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(g(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),li(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}he(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,En(t,n),l=je(l),r=r(l),t.flags|=1,he(e,t,r,n),t.child;case 14:return r=t.type,l=Ve(r,t.pendingProps),l=Ve(r.type,l),Ss(e,t,r,l,n);case 15:return Nc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),el(e,t),t.tag=1,_e(r)?(e=!0,ml(t)):e=!1,En(t,n),_c(t,r,l),ii(t,r,l,n),ai(null,t,r,!0,e,n);case 19:return zc(e,t,n);case 22:return Tc(e,t,n)}throw Error(g(156,t.tag))};function Yc(e,t){return Sa(e,t)}function Rp(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 Me(e,t,n,r){return new Rp(e,t,n,r)}function hu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Lp(e){if(typeof e=="function")return hu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ii)return 11;if(e===Mi)return 14}return 2}function Ot(e,t){var n=e.alternate;return n===null?(n=Me(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 rl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")hu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case on:return Kt(n.children,l,o,t);case Di:i=8,l|=8;break;case Lo:return e=Me(12,n,t,l|2),e.elementType=Lo,e.lanes=o,e;case zo:return e=Me(13,n,t,l),e.elementType=zo,e.lanes=o,e;case Oo:return e=Me(19,n,t,l),e.elementType=Oo,e.lanes=o,e;case ra:return Vl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ta:i=10;break e;case na:i=9;break e;case Ii:i=11;break e;case Mi:i=14;break e;case gt:i=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Me(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Kt(e,t,n,r){return e=Me(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=Me(22,e,r,t),e.elementType=ra,e.lanes=n,e.stateNode={isHidden:!1},e}function So(e,t,n){return e=Me(6,e,null,t),e.lanes=n,e}function Eo(e,t,n){return t=Me(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=eo(0),this.expirationTimes=eo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function vu(e,t,n,r,l,o,i,u,s){return e=new zp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Me(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bi(o),e}function Op(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jc)}catch(e){console.error(e)}}Jc(),Js.exports=Le;var jp=Js.exports,Is=jp;Po.createRoot=Is.createRoot,Po.hydrateRoot=Is.hydrateRoot;var qc={exports:{}},bc={};/** + * @license React + * use-sync-external-store-shim.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 Ln=G;function Ap(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Up=typeof Object.is=="function"?Object.is:Ap,Vp=Ln.useState,$p=Ln.useEffect,Wp=Ln.useLayoutEffect,Hp=Ln.useDebugValue;function Bp(e,t){var n=t(),r=Vp({inst:{value:n,getSnapshot:t}}),l=r[0].inst,o=r[1];return Wp(function(){l.value=n,l.getSnapshot=t,ko(l)&&o({inst:l})},[e,n,t]),$p(function(){return ko(l)&&o({inst:l}),e(function(){ko(l)&&o({inst:l})})},[e]),Hp(n),n}function ko(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Up(e,n)}catch{return!0}}function Qp(e,t){return t()}var Kp=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Qp:Bp;bc.useSyncExternalStore=Ln.useSyncExternalStore!==void 0?Ln.useSyncExternalStore:Kp;qc.exports=bc;var Yp=qc.exports;const Ct=()=>{},Se=Ct(),_o=Object,O=e=>e===Se,qe=e=>typeof e=="function",Mt=(e,t)=>({...e,...t}),Xp=e=>qe(e.then),Br=new WeakMap;let Gp=0;const Sr=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let l,o;if(_o(e)===e&&!r&&n!=RegExp){if(l=Br.get(e),l)return l;if(l=++Gp+"~",Br.set(e,l),n==Array){for(l="@",o=0;oQl&&typeof window.requestAnimationFrame!=Su,ef=(e,t)=>{const n=ut.get(e);return[()=>!O(t)&&e.get(t)||Co,r=>{if(!O(t)){const l=e.get(t);t in Qr||(Qr[t]=l),n[5](t,Mt(l,r),l||Co)}},n[6],()=>!O(t)&&t in Qr?Qr[t]:!O(t)&&e.get(t)||Co]};let ki=!0;const Jp=()=>ki,[_i,Ci]=Ql&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ct,Ct],qp=()=>{const e=Ei&&document.visibilityState;return O(e)||e!=="hidden"},bp=e=>(Ei&&document.addEventListener("visibilitychange",e),_i("focus",e),()=>{Ei&&document.removeEventListener("visibilitychange",e),Ci("focus",e)}),em=e=>{const t=()=>{ki=!0,e()},n=()=>{ki=!1};return _i("online",t),_i("offline",n),()=>{Ci("online",t),Ci("offline",n)}},tm={isOnline:Jp,isVisible:qp},nm={initFocus:bp,initReconnect:em},Ms=!Rl.useId,Er=!Ql||"Deno"in window,rm=e=>Zp()?window.requestAnimationFrame(e):setTimeout(e,1),xo=Er?G.useEffect:G.useLayoutEffect,No=typeof navigator<"u"&&navigator.connection,Fs=!Er&&No&&(["slow-2g","2g"].includes(No.effectiveType)||No.saveData),Eu=e=>{if(qe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Sr(e):"",[e,t]};let lm=0;const xi=()=>++lm,tf=0,nf=1,rf=2,om=3;var Hn={__proto__:null,ERROR_REVALIDATE_EVENT:om,FOCUS_EVENT:tf,MUTATE_EVENT:rf,RECONNECT_EVENT:nf};async function lf(...e){const[t,n,r,l]=e,o=Mt({populateCache:!0,throwOnError:!0},typeof l=="boolean"?{revalidate:l}:l||{});let i=o.populateCache;const u=o.rollbackOnError;let s=o.optimisticData;const f=p=>typeof u=="function"?u(p):u!==!1,h=o.throwOnError;if(qe(n)){const p=n,y=[],S=t.keys();for(const w of S)!/^\$(inf|sub)\$/.test(w)&&p(t.get(w)._k)&&y.push(w);return Promise.all(y.map(m))}return m(n);async function m(p){const[y]=Eu(p);if(!y)return;const[S,w]=ef(t,y),[I,a,c,d]=ut.get(t),v=()=>{const re=I[y];return(qe(o.revalidate)?o.revalidate(S().data,p):o.revalidate!==!1)&&(delete c[y],delete d[y],re&&re[0])?re[0](rf).then(()=>S().data):S().data};if(e.length<3)return v();let E=r,_;const N=xi();a[y]=[N,0];const k=!O(s),M=S(),T=M.data,ee=M._c,xe=O(ee)?T:ee;if(k&&(s=qe(s)?s(xe,T):s,w({data:s,_c:xe})),qe(E))try{E=E(xe)}catch(re){_=re}if(E&&Xp(E))if(E=await E.catch(re=>{_=re}),N!==a[y][0]){if(_)throw _;return E}else _&&k&&f(_)&&(i=!0,w({data:xe,_c:Se}));if(i&&!_)if(qe(i)){const re=i(E,xe);w({data:re,error:Se,_c:Se})}else w({data:E,error:Se,_c:Se});if(a[y][1]=xi(),Promise.resolve(v()).then(()=>{w({_c:Se})}),_){if(h)throw _;return}return E}}const js=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},im=(e,t)=>{if(!ut.has(e)){const n=Mt(nm,t),r={},l=lf.bind(Se,e);let o=Ct;const i={},u=(h,m)=>{const p=i[h]||[];return i[h]=p,p.push(m),()=>p.splice(p.indexOf(m),1)},s=(h,m,p)=>{e.set(h,m);const y=i[h];if(y)for(const S of y)S(m,p)},f=()=>{if(!ut.has(e)&&(ut.set(e,[r,{},{},{},l,s,u]),!Er)){const h=n.initFocus(setTimeout.bind(Se,js.bind(Se,r,tf))),m=n.initReconnect(setTimeout.bind(Se,js.bind(Se,r,nf)));o=()=>{h&&h(),m&&m(),ut.delete(e)}}};return f(),[e,l,f,o]}return[e,ut.get(e)[4]]},um=(e,t,n,r,l)=>{const o=n.errorRetryCount,i=l.retryCount,u=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!O(o)&&i>o||setTimeout(r,u,l)},sm=(e,t)=>Sr(e)==Sr(t),[of,am]=im(new Map),cm=Mt({onLoadingSlow:Ct,onSuccess:Ct,onError:Ct,onErrorRetry:um,onDiscarded:Ct,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Fs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Fs?5e3:3e3,compare:sm,isPaused:()=>!1,cache:of,mutate:am,fallback:{}},tm),fm=(e,t)=>{const n=Mt(e,t);if(t){const{use:r,fallback:l}=e,{use:o,fallback:i}=t;r&&o&&(n.use=r.concat(o)),l&&i&&(n.fallback=Mt(l,i))}return n},dm=G.createContext({}),pm="$inf$",uf=Ql&&window.__SWR_DEVTOOLS_USE__,mm=uf?window.__SWR_DEVTOOLS_USE__:[],hm=()=>{uf&&(window.__SWR_DEVTOOLS_REACT__=Rl)},vm=e=>qe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],ym=()=>Mt(cm,G.useContext(dm)),gm=e=>(t,n,r)=>e(t,n&&((...o)=>{const[i]=Eu(t),[,,,u]=ut.get(of);if(i.startsWith(pm))return n(...o);const s=u[i];return O(s)?n(...o):(delete u[i],s)}),r),wm=mm.concat(gm),Sm=e=>function(...n){const r=ym(),[l,o,i]=vm(n),u=fm(r,i);let s=e;const{use:f}=u,h=(f||[]).concat(wm);for(let m=h.length;m--;)s=h[m](s);return s(l,o||u.fetcher||null,u)},Em=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const l=r.indexOf(n);l>=0&&(r[l]=r[r.length-1],r.pop())}};hm();const As=Rl.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),To={dedupe:!0},km=(e,t,n)=>{const{cache:r,compare:l,suspense:o,fallbackData:i,revalidateOnMount:u,revalidateIfStale:s,refreshInterval:f,refreshWhenHidden:h,refreshWhenOffline:m,keepPreviousData:p}=n,[y,S,w,I]=ut.get(r),[a,c]=Eu(e),d=G.useRef(!1),v=G.useRef(!1),E=G.useRef(a),_=G.useRef(t),N=G.useRef(n),k=()=>N.current,M=()=>k().isVisible()&&k().isOnline(),[T,ee,xe,re]=ef(r,a),tt=G.useRef({}).current,Kl=O(i)?n.fallback[a]:i,en=(U,V)=>{for(const se in tt){const X=se;if(X==="data"){if(!l(U[X],V[X])&&(!O(U[X])||!l(vt,V[X])))return!1}else if(V[X]!==U[X])return!1}return!0},tn=G.useMemo(()=>{const U=!a||!t?!1:O(u)?k().isPaused()||o?!1:O(s)?!0:s:u,V=pe=>{const rt=Mt(pe);return delete rt._k,U?{isValidating:!0,isLoading:!0,...rt}:rt},se=T(),X=re(),Xe=V(se),nn=se===X?Xe:V(X);let le=Xe;return[()=>{const pe=V(T());return en(pe,le)?(le.data=pe.data,le.isLoading=pe.isLoading,le.isValidating=pe.isValidating,le.error=pe.error,le):(le=pe,pe)},()=>nn]},[r,a]),C=Yp.useSyncExternalStore(G.useCallback(U=>xe(a,(V,se)=>{en(se,V)||U()}),[r,a]),tn[0],tn[1]),P=!d.current,R=y[a]&&y[a].length>0,F=C.data,A=O(F)?Kl:F,nt=C.error,Ke=G.useRef(A),vt=p?O(F)?Ke.current:F:A,Ye=R&&!O(nt)?!1:P&&!O(u)?u:k().isPaused()?!1:o?O(A)?!1:s:O(A)||s,Ut=!!(a&&t&&P&&Ye),sf=O(C.isValidating)?Ut:C.isValidating,af=O(C.isLoading)?Ut:C.isLoading,In=G.useCallback(async U=>{const V=_.current;if(!a||!V||v.current||k().isPaused())return!1;let se,X,Xe=!0;const nn=U||{},le=!w[a]||!nn.dedupe,pe=()=>Ms?!v.current&&a===E.current&&d.current:a===E.current,rt={isValidating:!1,isLoading:!1},_u=()=>{ee(rt)},Cu=()=>{const Oe=w[a];Oe&&Oe[1]===X&&delete w[a]},xu={isValidating:!0};O(T().data)&&(xu.isLoading=!0);try{if(le&&(ee(xu),n.loadingTimeout&&O(T().data)&&setTimeout(()=>{Xe&&pe()&&k().onLoadingSlow(a,n)},n.loadingTimeout),w[a]=[V(c),xi()]),[se,X]=w[a],se=await se,le&&setTimeout(Cu,n.dedupingInterval),!w[a]||w[a][1]!==X)return le&&pe()&&k().onDiscarded(a),!1;rt.error=Se;const Oe=S[a];if(!O(Oe)&&(X<=Oe[0]||X<=Oe[1]||Oe[1]===0))return _u(),le&&pe()&&k().onDiscarded(a),!1;const lt=T().data;rt.data=l(lt,se)?lt:se,le&&pe()&&k().onSuccess(se,a,n)}catch(Oe){Cu();const lt=k(),{shouldRetryOnError:Yl}=lt;lt.isPaused()||(rt.error=Oe,le&&pe()&&(lt.onError(Oe,a,lt),(Yl===!0||qe(Yl)&&Yl(Oe))&&(!k().revalidateOnFocus||!k().revalidateOnReconnect||M())&<.onErrorRetry(Oe,a,lt,cf=>{const Xl=y[a];Xl&&Xl[0]&&Xl[0](Hn.ERROR_REVALIDATE_EVENT,cf)},{retryCount:(nn.retryCount||0)+1,dedupe:!0})))}return Xe=!1,_u(),!0},[a,r]),ku=G.useCallback((...U)=>lf(r,E.current,...U),[]);if(xo(()=>{_.current=t,N.current=n,O(F)||(Ke.current=F)}),xo(()=>{if(!a)return;const U=In.bind(Se,To);let V=0;const X=Em(a,y,(Xe,nn={})=>{if(Xe==Hn.FOCUS_EVENT){const le=Date.now();k().revalidateOnFocus&&le>V&&M()&&(V=le+k().focusThrottleInterval,U())}else if(Xe==Hn.RECONNECT_EVENT)k().revalidateOnReconnect&&M()&&U();else{if(Xe==Hn.MUTATE_EVENT)return In();if(Xe==Hn.ERROR_REVALIDATE_EVENT)return In(nn)}});return v.current=!1,E.current=a,d.current=!0,ee({_k:c}),Ye&&(O(A)||Er?U():rm(U)),()=>{v.current=!0,X()}},[a]),xo(()=>{let U;function V(){const X=qe(f)?f(T().data):f;X&&U!==-1&&(U=setTimeout(se,X))}function se(){!T().error&&(h||k().isVisible())&&(m||k().isOnline())?In(To).then(V):V()}return V(),()=>{U&&(clearTimeout(U),U=-1)}},[f,h,m,a]),G.useDebugValue(vt),o&&O(A)&&a){if(!Ms&&Er)throw new Error("Fallback data is required when using suspense in SSR.");_.current=t,N.current=n,v.current=!1;const U=I[a];if(!O(U)){const V=ku(U);As(V)}if(O(nt)){const V=In(To);O(vt)||(V.status="fulfilled",V.value=!0),As(V)}else throw nt}return{mutate:ku,get data(){return tt.data=!0,vt},get error(){return tt.error=!0,nt},get isValidating(){return tt.isValidating=!0,sf},get isLoading(){return tt.isLoading=!0,af}}},Us=Sm(km),_m="/assets/react-CHdo91hT.svg",Cm="tCsst0GSKpfvslmpmlsmivRrUCRuv6Iv",xm="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";async function Nm(e,t){const n=`https://healthchecks.io${e}`;console.log("fetching",n,t);const r=await fetch(n,{...t,headers:{Accept:"application/json","X-Api-Key":Cm,"Referrer-Policy":"strict-origin-when-cross-origin",...t==null?void 0:t.headers}});if(!r.ok)throw new Error(`Failed to fetch ${n}: ${r.status} ${r.statusText}`);return r.json()}async function Tm(e,t){const n=`https://sentry.io${e}`,r=await fetch(n,{...t,headers:{Authorization:`Bearer ${xm}`,...t==null?void 0:t.headers}});if(!r.ok)throw new Error(`Failed to fetch ${n}: ${r.status} ${r.statusText}`);return r.json()}const Pm="/vite.svg";function Rm(){const[e,t]=G.useState(0),{data:n,error:r,isLoading:l}=Us("/api/v2/checks/",Nm),{data:o,error:i,isLoading:u}=Us("/api/0/organizations/watonomous/monitors/",Tm);return console.log(n,r,l),console.log(o,i,u),me.jsxs(me.Fragment,{children:[me.jsxs("div",{children:[me.jsx("a",{href:"https://vitejs.dev",target:"_blank",children:me.jsx("img",{src:Pm,className:"logo",alt:"Vite logo"})}),me.jsx("a",{href:"https://react.dev",target:"_blank",children:me.jsx("img",{src:_m,className:"logo react",alt:"React logo"})})]}),me.jsx("h1",{children:"Vite + React"}),me.jsxs("div",{className:"card",children:[me.jsxs("button",{onClick:()=>t(s=>s+1),children:["count is ",e]}),me.jsxs("p",{children:["Edit ",me.jsx("code",{children:"src/App.tsx"})," and save to test HMR"]})]}),me.jsx("p",{className:"read-the-docs",children:"Click on the Vite and React logos to learn more"})]})}Po.createRoot(document.getElementById("root")).render(me.jsx(Rl.StrictMode,{children:me.jsx(Rm,{})})); diff --git a/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/react-CHdo91hT.svg b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/react-CHdo91hT.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/assets/react-CHdo91hT.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/index.html b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/index.html new file mode 100644 index 0000000..6240758 --- /dev/null +++ b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite + React + TS + + + + +
+ + diff --git a/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/vite.svg b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/previews/pr-67/4075e5f20215742fd1877b1625d4738b75600e30...5e77c829ff42e9767ac9d5314a4cec4661260b70/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file