1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BbgqNHix.js","assets/D4NPZMYv.js","assets/DtlW7Lx4.js","assets/oCgzcwQ6.js","assets/c3RGT3E9.js","assets/D-XczNw_.js","assets/hhYB0n7b.js","assets/DsXFSvVr.js","assets/DjZc2NgC.js","assets/CptBbuMt.js","assets/DvYDVevt.js","assets/DLFcoda1.js","assets/357Lnfy7.js","assets/DkPV1GM3.js","assets/Dx7GcGzV.js","assets/roz9LS1C.css","assets/yAqzj39b.js","assets/P93OQQ8N.css","assets/Dsmf70WZ.js","assets/CZ3eCuLC.css","assets/DWbawloT.js","assets/Dki3OYIo.css"])))=>i.map(i=>d[i]); 2var ih=Object.defineProperty;var g2=r=>{throw TypeError(r)};var lh=(r,l,s)=>l in r?ih(r,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[l]=s;var ys=(r,l,s)=>lh(r,typeof l!="symbol"?l+"":l,s),Ia=(r,l,s)=>l.has(r)||g2("Cannot "+s);var w=(r,l,s)=>(Ia(r,l,"read from private field"),s?s.call(r):l.get(r)),X=(r,l,s)=>l.has(r)?g2("Cannot add the same private member more than once"):l instanceof WeakSet?l.add(r):l.set(r,s),B=(r,l,s,u)=>(Ia(r,l,"write to private field"),u?u.call(r,s):l.set(r,s),s),se=(r,l,s)=>(Ia(r,l,"access private method"),s);var ws=(r,l,s,u)=>({set _(c){B(r,l,c,s)},get _(){return w(r,l,u)}});(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const p of f.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&u(p)}).observe(document,{childList:!0,subtree:!0});function s(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(c){if(c.ep)return;c.ep=!0;const f=s(c);fetch(c.href,f)}})();function v0(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Oa={exports:{}},Ui={},ja={exports:{}},re={};var y2;function sh(){if(y2)return re;y2=1;var r=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),p=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),E=Symbol.iterator;function I(k){return k===null||typeof k!="object"?null:(k=E&&k[E]||k["@@iterator"],typeof k=="function"?k:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,O={};function N(k,T,ne){this.props=k,this.context=T,this.refs=O,this.updater=ne||A}N.prototype.isReactComponent={},N.prototype.setState=function(k,T){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,T,"setState")},N.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function q(){}q.prototype=N.prototype;function K(k,T,ne){this.props=k,this.context=T,this.refs=O,this.updater=ne||A}var G=K.prototype=new q;G.constructor=K,D(G,N.prototype),G.isPureReactComponent=!0;var te=Array.isArray,le=Object.prototype.hasOwnProperty,fe={current:null},xe={key:!0,ref:!0,__self:!0,__source:!0};function ve(k,T,ne){var ie,ue={},ce=null,ye=null;if(T!=null)for(ie in T.ref!==void 0&&(ye=T.ref),T.key!==void 0&&(ce=""+T.key),T)le.call(T,ie)&&!xe.hasOwnProperty(ie)&&(ue[ie]=T[ie]);var he=arguments.length-2;if(he===1)ue.children=ne;else if(1<he){for(var ke=Array(he),ht=0;ht<he;ht++)ke[ht]=arguments[ht+2];ue.children=ke}if(k&&k.defaultProps)for(ie in he=k.defaultProps,he)ue[ie]===void 0&&(ue[ie]=he[ie]);return{$$typeof:r,type:k,key:ce,ref:ye,props:ue,_owner:fe.current}}function ge(k,T){return{$$typeof:r,type:k.type,key:T,ref:k.ref,props:k.props,_owner:k._owner}}function De(k){return typeof k=="object"&&k!==null&&k.$$typeof===r}function rt(k){var T={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ne){return T[ne]})}var Je=/\/+/g;function Oe(k,T){return typeof k=="object"&&k!==null&&k.key!=null?rt(""+k.key):T.toString(36)}function Fe(k,T,ne,ie,ue){var ce=typeof k;(ce==="undefined"||ce==="boolean")&&(k=null);var ye=!1;if(k===null)ye=!0;else switch(ce){case"string":case"number":ye=!0;break;case"object":switch(k.$$typeof){case r:case l:ye=!0}}if(ye)return ye=k,ue=ue(ye),k=ie===""?"."+Oe(ye,0):ie,te(ue)?(ne="",k!=null&&(ne=k.replace(Je,"$&/")+"/"),Fe(ue,T,ne,"",function(ht){return ht})):ue!=null&&(De(ue)&&(ue=ge(ue,ne+(!ue.key||ye&&ye.key===ue.key?"":(""+ue.key).replace(Je,"$&/")+"/")+k)),T.push(ue)),1;if(ye=0,ie=ie===""?".":ie+":",te(k))for(var he=0;he<k.length;he++){ce=k[he];var ke=ie+Oe(ce,he);ye+=Fe(ce,T,ne,ke,ue)}else if(ke=I(k),typeof ke=="function")for(k=ke.call(k),he=0;!(ce=k.next()).done;)ce=ce.value,ke=ie+Oe(ce,he++),ye+=Fe(ce,T,ne,ke,ue);else if(ce==="object")throw T=String(k),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return ye}function Ae(k,T,ne){if(k==null)return k;var ie=[],ue=0;return Fe(k,ie,"","",function(ce){return T.call(ne,ce,ue++)}),ie}function it(k){if(k._status===-1){var T=k._result;T=T(),T.then(function(ne){(k._status===0||k._status===-1)&&(k._status=1,k._result=ne)},function(ne){(k._status===0||k._status===-1)&&(k._status=2,k._result=ne)}),k._status===-1&&(k._status=0,k._result=T)}if(k._status===1)return k._result.default;throw k._result}var Le={current:null},U={transition:null},J={ReactCurrentDispatcher:Le,ReactCurrentBatchConfig:U,ReactCurrentOwner:fe};function H(){throw Error("act(...) is not supported in production builds of React.")}return re.Children={map:Ae,forEach:function(k,T,ne){Ae(k,function(){T.apply(this,arguments)},ne)},count:function(k){var T=0;return Ae(k,function(){T++}),T},toArray:function(k){return Ae(k,function(T){return T})||[]},only:function(k){if(!De(k))throw Error("React.Children.only expected to receive a single React element child.");return k}},re.Component=N,re.Fragment=s,re.Profiler=c,re.PureComponent=K,re.StrictMode=u,re.Suspense=g,re.__SECRET_INT
vendor: 6,829 bytes, line 2
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,re.act=H,re.cloneElement=function(k,T,ne){if(k==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+k+".");var ie=D({},k.props),ue=k.key,ce=k.ref,ye=k._owner;if(T!=null){if(T.ref!==void 0&&(ce=T.ref,ye=fe.current),T.key!==void 0&&(ue=""+T.key),k.type&&k.type.defaultProps)var he=k.type.defaultProps;for(ke in T)le.call(T,ke)&&!xe.hasOwnProperty(ke)&&(ie[ke]=T[ke]===void 0&&he!==void 0?he[ke]:T[ke])}var ke=arguments.length-2;if(ke===1)ie.children=ne;else if(1<ke){he=Array(ke);for(var ht=0;ht<ke;ht++)he[ht]=arguments[ht+2];ie.children=he}return{$$typeof:r,type:k.type,key:ue,ref:ce,props:ie,_owner:ye}},re.createContext=function(k){return k={$$typeof:p,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},k.Provider={$$typeof:f,_context:k},k.Consumer=k},re.createElement=ve,re.createFactory=function(k){var T=ve.bind(null,k);return T.type=k,T},re.createRef=function(){return{current:null}},re.forwardRef=function(k){return{$$typeof:m,render:k}},re.isValidElement=De,re.lazy=function(k){return{$$typeof:R,_payload:{_status:-1,_result:k},_init:it}},re.memo=function(k,T){return{$$typeof:S,type:k,compare:T===void 0?null:T}},re.startTransition=function(k){var T=U.transition;U.transition={};try{k()}finally{U.transition=T}},re.unstable_act=H,re.useCallback=function(k,T){return Le.current.useCallback(k,T)},re.useContext=function(k){return Le.current.useContext(k)},re.useDebugValue=function(){},re.useDeferredValue=function(k){return Le.current.useDeferredValue(k)},re.useEffect=function(k,T){return Le.current.useEffect(k,T)},re.useId=function(){return Le.current.useId()},re.useImperativeHandle=function(k,T,ne){return Le.current.useImperativeHandle(k,T,ne)},re.useInsertionEffect=function(k,T){return Le.current.useInsertionEffect(k,T)},re.useLayoutEffect=function(k,T){return Le.current.useLayoutEffect(k,T)},re.useMemo=function(k,T){return Le.current.useMemo(k,T)},re.useReducer=function(k,T,ne){return Le.current.useReducer(k,T,ne)},re.useRef=function(k){return Le.current.useRef(k)},re.useState=function(k){return Le.current.useState(k)},re.useSyncExternalStore=function(k,T,ne){return Le.current.useSyncExternalStore(k,T,ne)},re.useTransition=function(){return Le.current.useTransition()},re.version="18.3.1",re}var w2;function au(){return w2||(w2=1,ja.exports=sh()),ja.exports}var C2;function oh(){if(C2)return Ui;C2=1;var r=au(),l=Symbol.for("react.element"),s=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function p(m,g,S){var R,E={},I=null,A=null;S!==void 0&&(I=""+S),g.key!==void 0&&(I=""+g.key),g.ref!==void 0&&(A=g.ref);for(R in g)u.call(g,R)&&!f.hasOwnProperty(R)&&(E[R]=g[R]);if(m&&m.defaultProps)for(R in g=m.defaultProps,g)E[R]===void 0&&(E[R]=g[R]);return{$$typeof:l,type:m,key:I,ref:A,props:E,_owner:c.current}}return Ui.Fragment=s,Ui.jsx=p,Ui.jsxs=p,Ui}var S2;function ah(){return S2||(S2=1,Oa.exports=oh()),Oa.exports}var v=ah(),x=au();const Hi=v0(x);var Cs={},Ta={exports:{}},ct={},Ma={exports:{}},Da={};var x2;function uh(){return x2||(x2=1,(function(r){function l(U,J){var H=U.length;U.push(J);e:for(;0<H;){var k=H-1>>>1,T=U[k];if(0<c(T,J))U[k]=J,U[H]=T,H=k;else break e}}function s(U){return U.length===0?null:U[0]}function u(U){if(U.length===0)return null;var J=U[0],H=U.pop();if(H!==J){U[0]=H;e:for(var k=0,T=U.length,ne=T>>>1;k<ne;){var ie=2*(k+1)-1,ue=U[ie],ce=ie+1,ye=U[ce];if(0>c(ue,H))ce<T&&0>c(ye,ue)?(U[k]=ye,U[ce]=H,k=ce):(U[k]=ue,U[ie]=H,k=ie);else if(ce<T&&0>c(ye,H))U[k]=ye,U[ce]=H,k=ce;else break e}}return J}function c(U,J){var H=U.sortIndex-J.sortIndex;return H!==0?H:U.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;r.unstable_now=function(){return f.now()}}else{var p=Date,m=p.now();r.unstable_now=function(){return p.now()-m}}var g=[],S=[],R=1,E=null,I=3,A=!1,D=!1,O=!1,N=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(U){for(var J=s(S);J!==null;){if(J.callback===null)u(S);else if(J.startTime<=U)u(S),J.sortIndex=J.expirationTime,l(g,J);else break;J=s(S)}}function te(U){if(O=!1,G(U),!D)if(s(g)!==null)D=!0,it(le);else{var J=s(S);J!==null&&Le(te,J.startTime-U)}}function le(U,J){D=!1,O&&(O=!1,q(ve),ve=-1),A=!0;var H=I;try{for(G(J),E=s(g);E!==null&&(!(E.expirationTime>J)||U&&!rt());){var k=E.callback;if(typeof k=="function"){E.callback=null,I=E.priorityLevel;var T=k(E.expirationTime<=J);J=r.unstable_now(),typeof T=="function"?E.callback=T:E===s(g)&&u(g),G(J)}else u(g);E=s(g)}if(E!==null)var ne=!0;else{var ie=s(S);ie!==null&&Le(te,ie.startTime-J),ne=!1}return ne}finally{E=null,I=H,A=!1}}var fe=!1,xe=null,ve=-1,ge=5,De=-1;function rt(){return!(r.unstable_now()-De<ge)}function Je(){if(xe!==null){var U=r.unstable_now();De=U;var J=!0;try{J=xe(!0,U)}finally{J?Oe():(fe=!1,xe=null)}}else fe=!1}var Oe;if(typeof K=="function")Oe=function(){K(Je)};else if(typeof MessageChannel<"u"){var Fe=new MessageChannel,Ae=Fe.port2;Fe.port1.onmessage=Je,Oe=function(){Ae.postMessage(null)}}else Oe=function(){N(Je,0)};function it(U){xe=U,fe||(fe=!0,Oe())}function Le(U,J){ve=N(function(){U(r.unstable_now())},J)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(U){U.callback=null},r.unstable_continueExecution=function(){D||A||(D=!0,it(le))},r.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ge=0<U?Math.floor(1e3/U):5},r.unstable_getCurrentPriorityLevel=function(){return I},r.unstable_getFirstCallbackNode=function(){return s(g)},r.unstable_next=function(U){switch(I){case 1:case 2:case 3:var J=3;break;default:J=I}var H=I;I=J;try{return U()}finally{I=H}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var H=I;I=U;try{return J()}finally{I=H}},r.unstable_scheduleCallback=function(U,J,H){var k=r.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?k+H:k):H=k,U){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=H+T,U={id:R++,callback:J,priorityLevel:U,startTime:H,expirationTime:T,s
vendor: 4,338 bytes, line 2
2ortIndex:-1},H>k?(U.sortIndex=H,l(S,U),s(g)===null&&U===s(S)&&(O?(q(ve),ve=-1):O=!0,Le(te,H-k))):(U.sortIndex=T,l(g,U),D||A||(D=!0,it(le))),U},r.unstable_shouldYield=rt,r.unstable_wrapCallback=function(U){var J=I;return function(){var H=I;I=J;try{return U.apply(this,arguments)}finally{I=H}}}})(Da)),Da}var k2;function ch(){return k2||(k2=1,Ma.exports=uh()),Ma.exports}var E2;function dh(){if(E2)return ct;E2=1;var r=au(),l=ch();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,c={};function f(e,t){p(e,t),p(e+"Capture",t)}function p(e,t){for(c[e]=t,e=0;e<t.length;e++)u.add(t[e])}var m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,S=/^[: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]*$/,R={},E={};function I(e){return g.call(E,e)?!0:g.call(R,e)?!1:S.test(e)?E[e]=!0:(R[e]=!0,!1)}function A(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function D(e,t,n,i){if(t===null||typeof t>"u"||A(e,t,n,i))return!0;if(i)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 O(e,t,n,i,o,a,d){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=d}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){N[e]=new O(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];N[t]=new O(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){N[e]=new O(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){N[e]=new O(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){N[e]=new O(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){N[e]=new O(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){N[e]=new O(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){N[e]=new O(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){N[e]=new O(e,5,!1,e.toLowerCase(),null,!1,!1)});var q=/[\-:]([a-z])/g;function K(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
2-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(q,K);N[t]=new O(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(q,K);N[t]=new O(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(q,K);N[t]=new O(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){N[e]=new O(e,1,!1,e.toLowerCase(),null,!1,!1)}),N.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){N[e]=new O(e,1,!1,e.toLowerCase(),null,!0,!0)});function G(e,t,n,i){var o=N.hasOwnProperty(t)?N[t]:null;(o!==null?o.type!==0:i||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(D(t,n,o,i)&&(n=null),i||o===null?I(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,i=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}var te=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,le=Symbol.for("react.element"),fe=Symbol.for("react.portal"),xe=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),De=Symbol.for("react.provider"),rt=Symbol.for("react.context"),Je=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Fe=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),U=Symbol.iterator;function J(e){return e===null||typeof e!="object"?null:(e=U&&e[U]||e["@@iterator"],typeof e=="function"?e:null)}var H=Object.assign,k;function T(e){if(k===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);k=t&&t[1]||""}return` 3`+k+e}var ne=!1;function ie(e,t){if(!e||ne)return"";ne=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(L){var i=L}Reflect.construct(e,[],t)}else{try{t.call()}catch(L){i=L}e.call(t.prototype)}else{try{throw Error()}catch(L){i=L}e()}}catch(L){if(L&&i&&typeof L.stack=="string"){for(var o=L.stack.split(` 4`),a=i.stack.split(` 5`),d=o.length-1,h=a.length-1;1<=d&&0<=h&&o[d]!==a[h];)h--;for(;1<=d&&0<=h;d--,h--)if(o[d]!==a[h]){if(d!==1||h!==1)do if(d--,h--,0>h||o[d]!==a[h]){var y=` 6`+o[d].replace(" at new "," at ");return e.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",e.displayName)),y}while(1<=d&&0<=h);break}}}finally{ne=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?T(e):""}function ue(e){switch(e.tag){case 5:return T(e.type);case 16:return T("Lazy");case 13:return T("Suspense");case 19:return T("SuspenseList");case 0:case 2:case 15:return e=ie(e.type,!1),e;case 11:return e=ie(e.type.render,!1),e;case 1:return e=ie(e.type,!0),e;default:return""}}function ce(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 xe:return"Fragment";case fe:return"Portal";case ge:return"Profiler";case ve:return"StrictMode";case Oe:return"Suspense";case Fe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rt:return(e.displayName||"Context")+".Consumer";case De:return(e._context.displayName||"Context")+".Provider";case Je:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ae:return t=e.displayName||null,t!==null?t:ce(e.type)||"Memo";case it:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}function ye(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 ce(t);case 8:return t===ve?"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 he(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ke(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ht(e){var t=ke(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){i=""+d,a.call(this,d)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(d){i=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function al(e){e._valueTracker||(e._valueTracker=ht(e))}function ku(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=ke(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function ul(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 Fs(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Eu(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=he(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _u(e,t){t=t.checked,t!=null&&G(e,"checked",t,!1)}function As(e,t){_u(e,t);var n=he(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?zs(e,t.type,n):t.hasOwnProperty("defaultValue")&&zs(e,t.type,he(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ru(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="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 zs(e,t,n){(t!=="number"||ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function fr(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+he(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Us(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return H({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(s(92));if(ei(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:he(n)}}function Lu(e,t){var n=he(t.value),i=he(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),i!=null&&(e.defaultValue=""+i)}function Nu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Iu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $s(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Iu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var cl,Ou=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,i,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(cl=cl||document.createElement("div"),cl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=cl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ti(e,t){if(t){var n=e.firstChild;
vendor: 7,966 bytes, line 6
6if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ni={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},af=["Webkit","ms","Moz","O"];Object.keys(ni).forEach(function(e){af.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ni[t]=ni[e]})});function ju(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ni.hasOwnProperty(e)&&ni[e]?(""+t).trim():t+"px"}function Tu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,o=ju(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,o):e[n]=o}}var uf=H({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 Bs(e,t){if(t){if(uf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function Vs(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 Hs=null;function bs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qs=null,pr=null,hr=null;function Mu(e){if(e=Ei(e)){if(typeof Qs!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Tl(t),Qs(e.stateNode,e.type,t))}}function Du(e){pr?hr?hr.push(e):hr=[e]:pr=e}function Fu(){if(pr){var e=pr,t=hr;if(hr=pr=null,Mu(e),t)for(e=0;e<t.length;e++)Mu(t[e])}}function Au(e,t){return e(t)}function zu(){}var Ws=!1;function Uu(e,t,n){if(Ws)return e(t,n);Ws=!0;try{return Au(e,t,n)}finally{Ws=!1,(pr!==null||hr!==null)&&(zu(),Fu())}}function ri(e,t){var n=e.stateNode;if(n===null)return null;var i=Tl(n);if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var qs=!1;if(m)try{var ii={};Object.defineProperty(ii,"passive",{get:function(){qs=!0}}),window.addEventListener("test",ii,ii),window.removeEventListener("test",ii,ii)}catch{qs=!1}function cf(e,t,n,i,o,a,d,h,y){var L=Array.prototype.slice.call(arguments,3);try{t.apply(n,L)}catch(M){this.onError(M)}}var li=!1,dl=null,fl=!1,Ks=null,df={onError:function(e){li=!0,dl=e}};function ff(e,t,n,i,o,a,d,h,y){li=!1,dl=null,cf.apply(df,arguments)}function pf(e,t,n,i,o,a,d,h,y){if(ff.apply(this,arguments),li){if(li){var L=dl;li=!1,dl=null}else throw Error(s(198));fl||(fl=!0,Ks=L)}}function Bn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function $u(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Bu(e){if(Bn(e)!==e)throw Error(s(188))}function hf(e){var t=e.alternate;if(!t){if(t=Bn(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var a=o.alternate;if(a===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Bu(o),e;if(a===i)return Bu(o),t;a=a.sibling}throw Error(s(188))}if(n.return!==i.return)n=o,i=a;else{for(var d=!1,h=o.child;h;){if(h===n){d=!0,n=o,i=a;break}if(h===i){d=!0,i=o,n=a;break}h=h.sibling}if(!d){for(h=a.child;h;){if(h===n){d=!0,n=a,i=o;break}if(h===i){d=!0,i=a,n=o;break}h=h.sibling}if(!d)throw Error(s(189))}}if(n.alternate!==i)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function Vu(e){return e=hf(e),e!==null?Hu(e):null}function Hu(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Hu(e);if(t!==null)return t;e=e.sibling}return null}var bu=l.unstable_scheduleCallback,Qu=l.unstable_cancelCallback,mf=l.unstable_shouldYield,vf=l.unstable_requestPaint,je=l.unstable_now,gf=l.unstable_getCurrentPriorityLevel,Gs=l.unstable_ImmediatePriority,Wu=l.unstable_UserBlockingPriority,pl=l.unstable_NormalPriority,yf=l.unstable_LowPriority,qu=l.unstable_IdlePriority,hl=null,Vt=null;function wf(e){if(Vt&&typeof Vt.onCommitFiberRoot=="function")try{Vt.onCommitFiberRoot(hl,e,void 0,(e.current.flags&128)===128)}catch{}}var It=Math.clz32?Math.clz32:xf,Cf=Math.log,Sf=Math.LN2;function xf(e){return e>>>=0,e===0?32:31-(Cf(e)/Sf|0)|0}var ml=64,vl=4194304;function si(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 gl(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes,d=n&268435455;if(d!==0){var h=d&~o;h!==0?i=si(h):(a&=d,a!==0&&(i=si(a)))}else d=n&~o,d!==0?i=si(d):a!==0&&(i=si(a));if(i===0)return 0;if(t!==0&&t!==i&&(t&o)===0&&(o=i&-i,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if((i&4)!==0&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0<t;)n=31-It(t),o=1<<n,i|=e[n],t&=~o;return i}function kf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ef(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var d=31-It(a),h=1<<d,y=o[d];y===-1?((h&n)===0||(h&i)!==0)&&(o[d]=kf(h,t)):y<=t&&(e.expiredLanes|=h),a&=~h}}function Zs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ku(){var e=ml;return ml<<=1,(ml&4194240)===0&&(ml=64),e}function Ys(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function oi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-It(t),e[t]=n}function _f(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 i=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-It(n),a=1<<o;t[o]=0,i[o]=-1,e[o]=-1,n&=~a}}function Xs(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-It(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}var me=0;function Gu(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}
vendor: 2,074 bytes, line 6
6var Zu,Js,Yu,Xu,Ju,eo=!1,yl=[],dn=null,fn=null,pn=null,ai=new Map,ui=new Map,hn=[],Rf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ec(e,t){switch(e){case"focusin":case"focusout":dn=null;break;case"dragenter":case"dragleave":fn=null;break;case"mouseover":case"mouseout":pn=null;break;case"pointerover":case"pointerout":ai.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ui.delete(t.pointerId)}}function ci(e,t,n,i,o,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:a,targetContainers:[o]},t!==null&&(t=Ei(t),t!==null&&Js(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Pf(e,t,n,i,o){switch(t){case"focusin":return dn=ci(dn,e,t,n,i,o),!0;case"dragenter":return fn=ci(fn,e,t,n,i,o),!0;case"mouseover":return pn=ci(pn,e,t,n,i,o),!0;case"pointerover":var a=o.pointerId;return ai.set(a,ci(ai.get(a)||null,e,t,n,i,o)),!0;case"gotpointercapture":return a=o.pointerId,ui.set(a,ci(ui.get(a)||null,e,t,n,i,o)),!0}return!1}function tc(e){var t=Vn(e.target);if(t!==null){var n=Bn(t);if(n!==null){if(t=n.tag,t===13){if(t=$u(n),t!==null){e.blockedOn=t,Ju(e.priority,function(){Yu(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function wl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=no(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Hs=i,n.target.dispatchEvent(i),Hs=null}else return t=Ei(n),t!==null&&Js(t),e.blockedOn=n,!1;t.shift()}return!0}function nc(e,t,n){wl(e)&&n.delete(t)}function Lf(){eo=!1,dn!==null&&wl(dn)&&(dn=null),fn!==null&&wl(fn)&&(fn=null),pn!==null&&wl(pn)&&(pn=null),ai.forEach(nc),ui.forEac
vendor: 14,101 bytes, line 6
6h(nc)}function di(e,t){e.blockedOn===t&&(e.blockedOn=null,eo||(eo=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Lf)))}function fi(e){function t(o){return di(o,e)}if(0<yl.length){di(yl[0],e);for(var n=1;n<yl.length;n++){var i=yl[n];i.blockedOn===e&&(i.blockedOn=null)}}for(dn!==null&&di(dn,e),fn!==null&&di(fn,e),pn!==null&&di(pn,e),ai.forEach(t),ui.forEach(t),n=0;n<hn.length;n++)i=hn[n],i.blockedOn===e&&(i.blockedOn=null);for(;0<hn.length&&(n=hn[0],n.blockedOn===null);)tc(n),n.blockedOn===null&&hn.shift()}var mr=te.ReactCurrentBatchConfig,Cl=!0;function Nf(e,t,n,i){var o=me,a=mr.transition;mr.transition=null;try{me=1,to(e,t,n,i)}finally{me=o,mr.transition=a}}function If(e,t,n,i){var o=me,a=mr.transition;mr.transition=null;try{me=4,to(e,t,n,i)}finally{me=o,mr.transition=a}}function to(e,t,n,i){if(Cl){var o=no(e,t,n,i);if(o===null)Co(e,t,i,Sl,n),ec(e,i);else if(Pf(o,e,t,n,i))i.stopPropagation();else if(ec(e,i),t&4&&-1<Rf.indexOf(e)){for(;o!==null;){var a=Ei(o);if(a!==null&&Zu(a),a=no(e,t,n,i),a===null&&Co(e,t,i,Sl,n),a===o)break;o=a}o!==null&&i.stopPropagation()}else Co(e,t,i,null,n)}}var Sl=null;function no(e,t,n,i){if(Sl=null,e=bs(i),e=Vn(e),e!==null)if(t=Bn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=$u(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Sl=e,null}function rc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(gf()){case Gs:return 1;case Wu:return 4;case pl:case yf:return 16;case qu:return 536870912;default:return 16}default:return 16}}var mn=null,ro=null,xl=null;function ic(){if(xl)return xl;var e,t=ro,n=t.length,i,o="value"in mn?mn.value:mn.textContent,a=o.length;for(e=0;e<n&&t[e]===o[e];e++);var d=n-e;for(i=1;i<=d&&t[n-i]===o[a-i];i++);return xl=o.slice(e,1<i?1-i:void 0)}function kl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function El(){return!0}function lc(){return!1}function mt(e){function t(n,i,o,a,d){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=a,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(a):a[h]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?El:lc,this.isPropagationStopped=lc,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=El)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=El)},persist:function(){},isPersistent:El}),t}var vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},io=mt(vr),pi=H({},vr,{view:0,detail:0}),Of=mt(pi),lo,so,hi,_l=H({},pi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ao,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==hi&&(hi&&e.type==="mousemove"?(lo=e.screenX-hi.screenX,so=e.screenY-hi.screenY):so=lo=0,hi=e),lo)},movementY:function(e){return"movementY"in e?e.movementY:so}}),sc=mt(_l),jf=H({},_l,{dataTransfer:0}),Tf=mt(jf),Mf=H({},pi,{relatedTarget:0}),oo=mt(Mf),Df=H({},vr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ff=mt(Df),Af=H({},vr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zf=mt(Af),Uf=H({},vr,{data:0}),oc=mt(Uf),$f={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Vf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vf[e])?!!t[e]:!1}function ao(){return Hf}var bf=H({},pi,{key:function(e){if(e.key){var t=$f[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=kl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ao,charCode:function(e){return e.type==="keypress"?kl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?kl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Qf=mt(bf),Wf=H({},_l,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ac=mt(Wf),qf=H({},pi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ao}),Kf=mt(qf),Gf=H({},vr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zf=mt(Gf),Yf=H({},_l,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xf=mt(Yf),Jf=[9,13,27,32],uo=m&&"CompositionEvent"in window,mi=null;m&&"documentMode"in document&&(mi=document.documentMode);var ep=m&&"TextEvent"in window&&!mi,uc=m&&(!uo||mi&&8<mi&&11>=mi),cc=" ",dc=!1;function fc(e,t){switch(e){case"keyup":return Jf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gr=!1;function tp(e,t){switch(e){case"compositionend":return pc(t);case"keypress":return t.which!==32?null:(dc=!0,cc);case"textInput":return e=t.data,e===cc&&dc?null:e;default:return null}}function np(e,t){if(gr)return e==="compositionend"||!uo&&fc(e,t)?(e=ic(),xl=ro=mn=null,gr=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return uc&&t.locale!=="ko"?null:t.data;default:return null}}var rp={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rp[e.type]:t==="textarea"}function mc(e,t,n,i){Du(i),t=Il(t,"onChange"),0<t.length&&(n=new io("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var vi=null,gi=null;function ip(e){Tc(e,0)}function Rl(e){var t=xr(e);if(ku(t))return e}function lp(e,t){if(e==="change")return t}var vc=!1;if(m){var co;if(m){var fo="oninput"in document;if(!fo){var gc=document.createElement("div");gc.setAttribute("oninput","return;"),fo=typeof gc.oninput=="function"}co=fo}else co=!1;vc=co&&(!document.documentMode||9<document.documentMode)}function yc(){vi&&(vi.detachEvent("onpropertychange",wc),gi=vi=null)}function wc(e){if(e.propertyName==="value"&&Rl(gi)){var t=[];mc(t,gi,e,bs(e)),Uu(ip,t)}}function sp(e,t,n){e==="focusin"?(yc(),vi=t,gi=n,vi.attachEvent("onpropertychange",wc)):e==="focusout"&&yc()}function op(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Rl(gi)}function ap(e,t){if(e==="click")return Rl(t)}function up(e,t){if(e==="input"||e==="change")return Rl(t)}function cp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ot=typeof Object.is=="function"?Object.is:cp;function yi(e,t){if(Ot(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!g.call(t,o)||!Ot(e[o],t[o]))return!1}return!0}function Cc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Sc(e,t){var n=Cc(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cc(n)}}function xc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kc(){for(var e=window,t=ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ul(e.document)}return t}function po(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 dp(e){var t=kc(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xc(n.ownerDocument.documentElement,n)){if(i!==null&&po(n)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(i.start,o);i=i.end===void 0?a:Math.min(i.end,o),!e.extend&&a>i&&(o=i,i=a,a=o),o=Sc(n,a);var d=Sc(n,i);o&&d&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==d.node||e.focusOffset!==d.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>i?(e.addRange(t),e.extend(d.node,d.offset)):(t.setEnd(d.node,d.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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var fp=m&&"documentMode"in document&&11>=document.documentMode,yr=null,ho=null,wi=null,mo=!1;function Ec(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;mo||yr==null||yr!==ul(i)||(i=yr,"selectionStart"in i&&po(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),wi&&yi(wi,i)||(wi=i,i=Il(ho,"onSelect"),0<i.length&&(t=new io("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=yr)))}function Pl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:Pl("Animation","AnimationEnd"),animationiteration:Pl("Animation","AnimationIteration"),animationstart:Pl("Animation","AnimationStart"),transitionend:Pl("Transition","TransitionEnd")},vo={},_c={};m&&(_c=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);function Ll(e){if(vo[e])return vo[e];if(!wr[e])return e;var t=wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in _c)return vo[e]=t[n];return e}var Rc=Ll("animationend"),Pc=Ll("animationiteration"),Lc=Ll("animationstart"),Nc=Ll("transitionend"),Ic=new Map,Oc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function vn(e,t){Ic.set(e,t),f(t,[e])}for(var go=0;go<Oc.length;go++){var yo=Oc[go],pp=yo.toLowerCase(),hp=yo[0].toUpperCase()+yo.slice(1);vn(pp,"on"+hp)}vn(Rc,"onAnimationEnd"),vn(Pc,"onAnimationIteration"),vn(Lc,"onAnimationStart"),vn("dblclick","onDoubleClick"),vn("focusin","onFocus"),vn("focusout","onBlur"),vn(Nc,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focu
6sin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ci="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ci));function jc(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,pf(i,t,void 0,e),e.currentTarget=null}function Tc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var a=void 0;if(t)for(var d=i.length-1;0<=d;d--){var h=i[d],y=h.instance,L=h.currentTarget;if(h=h.listener,y!==a&&o.isPropagationStopped())break e;jc(o,h,L),a=y}else for(d=0;d<i.length;d++){if(h=i[d],y=h.instance,L=h.currentTarget,h=h.listener,y!==a&&o.isPropagationStopped())break e;jc(o,h,L),a=y}}}if(fl)throw e=Ks,fl=!1,Ks=null,e}function Ce(e,t){var n=t[Ro];n===void 0&&(n=t[Ro]=new Set);var i=e+"__bubble";n.has(i)||(Mc(t,e,2,!1),n.add(i))}function wo(e,t,n){var i=0;t&&(i|=4),Mc(n,e,i,t)}var Nl="_reactListening"+Math.random().toString(36).slice(2);function Si(e){if(!e[Nl]){e[Nl]=!0,u.forEach(function(n){n!=="selectionchange"&&(mp.has(n)||wo(n,!1,e),wo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Nl]||(t[Nl]=!0,wo("selectionchange",!1,t))}}function Mc(e,t,n,i){switch(rc(t)){case 1:var o=Nf;break;case 4:o=If;break;default:o=to}n=o.bind(null,t,n,e),o=void 0,!qs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Co(e,t,n,i,o){var a=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o||h.nodeType===8&&h.parentNode===o)break;if(d===4)for(d=i.return;d!==null;){var y=d.tag;if((y===3||y===4)&&(y=d.stateNode.containerInfo,y===o||y.nodeType===8&&y.parentNode===o))return;d=d.return}for(;h!==null;){if(d=Vn(h),d===null)return;if(y=d.tag,y===5||y===6){i=a=d;continue e}h=h.parentNode}}i=i.return}Uu(function(){var L=a,M=bs(n),F=[];e:{var j=Ic.get(e);if(j!==void 0){var $=io,b=e;switch(e){case"keypress":if(kl(n)===0)break e;case"keydown":case"keyup":$=Qf;break;case"focusin":b="focus",$=oo;break;case"focusout":b="blur",$=oo;break;case"beforeblur":case"afterblur":$=oo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=sc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=Tf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=Kf;break;case Rc:case Pc:case Lc:$=Ff;break;case Nc:$=Zf;break;case"scroll":$=Of;break;case"wheel":$=Xf;break;case"copy":case"cut":case"paste":$=zf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=ac}var Q=(t&4)!==0,Te=!Q&&e==="scroll",_=Q?j!==null?j+"Capture":null:j;Q=[];for(var C=L,P;C!==null;){P=C;var z=P.stateNode;if(P.tag===5&&z!==null&&(P=z,_!==null&&(z=ri(C,_),z!=null&&Q.push(xi(C,z,P)))),Te)break;C=C.return}0<Q.length&&(j=new $(j,b,null,n,M),F.push({event:j,listeners:Q}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",j&&n!==Hs&&(b=n.relatedTarget||n.fromElement)&&(Vn(b)||b[Zt]))break e;if(($||j)&&(j=M.window===M?M:(j=M.ownerDocument)?j.defaultView||j.parentWindow:window,$?(b=n.relatedTarget||n.toElement,$=L,b=b?Vn(b):null,b!==null&&(Te=Bn(b),b!==Te||b.tag!==5&&b.tag!==6)&&(b=null)):($=null,b=L),$!==b)){if(Q=sc,z="onMouseLeave",_="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(Q=ac,z="onPointerLeave",_="onPointerEnter",C="pointer"),Te=$==null?j:xr($),P=b==null?j:xr(b),j=new Q(z,C+"leave",$,n,M),j.target=Te,j.relatedTarget=P,z=null,Vn(M)===L&&(Q=new Q(_,C+"enter",b,n,M),Q.target=P,Q.relatedTarget=Te,z=Q),Te=z,$&&b)t:{for(Q=$,_=b,C=0,P=Q;P;
vendor: 4,988 bytes, lines 6-7
6P=Cr(P))C++;for(P=0,z=_;z;z=Cr(z))P++;for(;0<C-P;)Q=Cr(Q),C--;for(;0<P-C;)_=Cr(_),P--;for(;C--;){if(Q===_||_!==null&&Q===_.alternate)break t;Q=Cr(Q),_=Cr(_)}Q=null}else Q=null;$!==null&&Dc(F,j,$,Q,!1),b!==null&&Te!==null&&Dc(F,Te,b,Q,!0)}}e:{if(j=L?xr(L):window,$=j.nodeName&&j.nodeName.toLowerCase(),$==="select"||$==="input"&&j.type==="file")var W=lp;else if(hc(j))if(vc)W=up;else{W=op;var Z=sp}else($=j.nodeName)&&$.toLowerCase()==="input"&&(j.type==="checkbox"||j.type==="radio")&&(W=ap);if(W&&(W=W(e,L))){mc(F,W,n,M);break e}Z&&Z(e,j,L),e==="focusout"&&(Z=j._wrapperState)&&Z.controlled&&j.type==="number"&&zs(j,"number",j.value)}switch(Z=L?xr(L):window,e){case"focusin":(hc(Z)||Z.contentEditable==="true")&&(yr=Z,ho=L,wi=null);break;case"focusout":wi=ho=yr=null;break;case"mousedown":mo=!0;break;case"contextmenu":case"mouseup":case"dragend":mo=!1,Ec(F,n,M);break;case"selectionchange":if(fp)break;case"keydown":case"keyup":Ec(F,n,M)}var Y;if(uo)e:{switch(e){case"compositionstart":var ee="onCompositionStart";break e;case"compositionend":ee="onCompositionEnd";break e;case"compositionupdate":ee="onCompositionUpdate";break e}ee=void 0}else gr?fc(e,n)&&(ee="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(ee="onCompositionStart");ee&&(uc&&n.locale!=="ko"&&(gr||ee!=="onCompositionStart"?ee==="onCompositionEnd"&&gr&&(Y=ic()):(mn=M,ro="value"in mn?mn.value:mn.textContent,gr=!0)),Z=Il(L,ee),0<Z.length&&(ee=new oc(ee,e,null,n,M),F.push({event:ee,listeners:Z}),Y?ee.data=Y:(Y=pc(n),Y!==null&&(ee.data=Y)))),(Y=ep?tp(e,n):np(e,n))&&(L=Il(L,"onBeforeInput"),0<L.length&&(M=new oc("onBeforeInput","beforeinput",null,n,M),F.push({event:M,listeners:L}),M.data=Y))}Tc(F,t)})}function xi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Il(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=ri(e,n),a!=null&&i.unshift(xi(e,a,o)),a=ri(e,t),a!=null&&i.push(xi(e,a,o))),e=e.return}return i}function Cr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Dc(e,t,n,i,o){for(var a=t._reactName,d=[];n!==null&&n!==i;){var h=n,y=h.alternate,L=h.stateNode;if(y!==null&&y===i)break;h.tag===5&&L!==null&&(h=L,o?(y=ri(n,a),y!=null&&d.unshift(xi(n,y,h))):o||(y=ri(n,a),y!=null&&d.push(xi(n,y,h)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var vp=/\r\n?/g,gp=/\u0000|\uFFFD/g;function Fc(e){return(typeof e=="string"?e:""+e).replace(vp,` 7`).replace(gp,"")}function Ol(e,t,n){if(t=Fc(t),Fc(e)!==t&&n)throw Error(s(425))}function jl(){}var So=null,xo=null;function ko(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Eo=typeof setTimeout=="function"?setTimeout:void 0,yp=typeof clearTimeout=="function"?clearTimeout:void 0,Ac=typeof Promise=="function"?Promise:void 0,wp=typeof queueMicrotask=="function"?queueMicrotask:typeof Ac<"u"?function(e){return Ac.resolve(null).then(e).catch(Cp)}:Eo;function Cp(e){setTimeout(function(){throw e})}function _o(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(i===0){e.removeChild(o),fi(t);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=o}while(n);fi(t)}function gn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function zc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Sr=Math.random().toString(36).slice(2),Ht="__reactFiber$"+Sr,ki="__reactProps$"+Sr,Zt="__reactContainer$"+Sr,Ro="__reactEvents$"+Sr,Sp="__reactListeners$"+Sr,xp="__reactHandles$"+Sr;function Vn(e){var t=e[Ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zt]||n[Ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zc(e);e!==null;){if(n=e[Ht])return n;e=zc(e)}return t}e=n,n=e.parentNode}return null}function Ei(e){return e=e[Ht]||e[Zt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function xr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Tl(e){return e[ki]||null}var Po=[],kr=-1;function yn(e){return{current:e}}function Se(e){0>kr||(e.current=Po[kr],Po[kr]=null,kr--)}function we(e,t){kr++,Po[kr]=e.current,e.current=t}var wn={},Ke=yn(wn),lt=yn(!1),Hn=wn;function Er(e,t){var n=e.type.contextTypes;if(!n)return wn;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function st(e){return e=e.childContextTypes,e!=null}function Ml(){Se(lt),Se(Ke)}function Uc(e,t,n){if(Ke.current!==wn)throw Error(s(168));we(Ke,t),we(lt,n)}
vendor: 6,508 bytes, line 7
7function $c(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var o in i)if(!(o in t))throw Error(s(108,ye(e)||"Unknown",o));return H({},n,i)}function Dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wn,Hn=Ke.current,we(Ke,e),we(lt,lt.current),!0}function Bc(e,t,n){var i=e.stateNode;if(!i)throw Error(s(169));n?(e=$c(e,t,Hn),i.__reactInternalMemoizedMergedChildContext=e,Se(lt),Se(Ke),we(Ke,e)):Se(lt),we(lt,n)}var Yt=null,Fl=!1,Lo=!1;function Vc(e){Yt===null?Yt=[e]:Yt.push(e)}function kp(e){Fl=!0,Vc(e)}function Cn(){if(!Lo&&Yt!==null){Lo=!0;var e=0,t=me;try{var n=Yt;for(me=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}Yt=null,Fl=!1}catch(o){throw Yt!==null&&(Yt=Yt.slice(e+1)),bu(Gs,Cn),o}finally{me=t,Lo=!1}}return null}var _r=[],Rr=0,Al=null,zl=0,xt=[],kt=0,bn=null,Xt=1,Jt="";function Qn(e,t){_r[Rr++]=zl,_r[Rr++]=Al,Al=e,zl=t}function Hc(e,t,n){xt[kt++]=Xt,xt[kt++]=Jt,xt[kt++]=bn,bn=e;var i=Xt;e=Jt;var o=32-It(i)-1;i&=~(1<<o),n+=1;var a=32-It(t)+o;if(30<a){var d=o-o%5;a=(i&(1<<d)-1).toString(32),i>>=d,o-=d,Xt=1<<32-It(t)+o|n<<o|i,Jt=a+e}else Xt=1<<a|n<<o|i,Jt=e}function No(e){e.return!==null&&(Qn(e,1),Hc(e,1,0))}function Io(e){for(;e===Al;)Al=_r[--Rr],_r[Rr]=null,zl=_r[--Rr],_r[Rr]=null;for(;e===bn;)bn=xt[--kt],xt[kt]=null,Jt=xt[--kt],xt[kt]=null,Xt=xt[--kt],xt[kt]=null}var vt=null,gt=null,Ee=!1,jt=null;function bc(e,t){var n=Pt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Qc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,vt=e,gt=gn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,vt=e,gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=bn!==null?{id:Xt,overflow:Jt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,vt=e,gt=null,!0):!1;default:return!1}}function Oo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function jo(e){if(Ee){var t=gt;if(t){var n=t;if(!Qc(e,t)){if(Oo(e))throw Error(s(418));t=gn(n.nextSibling);var i=vt;t&&Qc(e,t)?bc(i,n):(e.flags=e.flags&-4097|2,Ee=!1,vt=e)}}else{if(Oo(e))throw Error(s(418));e.flags=e.flags&-4097|2,Ee=!1,vt=e}}}function Wc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;vt=e}function Ul(e){if(e!==vt)return!1;if(!Ee)return Wc(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ko(e.type,e.memoizedProps)),t&&(t=gt)){if(Oo(e))throw qc(),Error(s(418));for(;t;)bc(e,t),t=gn(t.nextSibling)}if(Wc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){gt=gn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}gt=null}}else gt=vt?gn(e.stateNode.nextSibling):null;return!0}function qc(){for(var e=gt;e;)e=gn(e.nextSibling)}function Pr(){gt=vt=null,Ee=!1}function To(e){jt===null?jt=[e]:jt.push(e)}var Ep=te.ReactCurrentBatchConfig;function _i(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(s(309));var i=n.stateNode}if(!i)throw Error(s(147,e));var o=i,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(d){var h=o.refs;d===null?delete h[a]:h[a]=d},t._stringRef=a,t)}if(typeof e!="string")throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function $l(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Kc(e){var t=e._init;return t(e._payload)}function Gc(e){function t(_,C){if(e){var P=_.deletions;P===null?(_.deletions=[C],_.flags|=16):P.push(C)}}function n(_,C){if(!e)return null;for(;C!==null;)t(_,C),C=C.sibling;return null}function i(_,C){for(_=new Map;C!==null;)C.key!==null?_.set(C.key,C):_.set(C.index,C),C=C.sibling;return _}function o(_,C){return _=Ln(_,C),_.index=0,_.sibling=null,_}function a(_,C,P){return _.index=P,e?(P=_.alternate,P!==null?(P=P.index,P<C?(_.flags|=2,C):P):(_.flags|=2,C)):(_.flags|=1048576,C)}function d(_){return e&&_.alternate===null&&(_.flags|=2),_}function h(_,C,P,z){return C===null||C.tag!==6?(C=Ea(P,_.mode,z),C.return=_,C):(C=o(C,P),C.return=_,C)}function y(_,C,P,z){var W=P.type;return W===xe?M(_,C,P.props.children,z,P.key):C!==null&&(C.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===it&&Kc(W)===C.type)?(z=o(C,P.props),z.ref=_i(_,C,P),z.return=_,z):(z=cs(P.type,P.key,P.props,null,_.mode,z),z.ref=_i(_,C,P),z.return=_,z)}function L(_,C,P,z){return C===null||C.tag!==4||C.stateNode.containerInfo!==P.containerInfo||C.stateNode.implementation!==P.implementation?(C=_a(P,_.mode,z),C.return=_,C):(C=o(C,P.children||[]),C.return=_,C)}function M(_,C,P,z,W){return C===null||C.tag!==7?(C=Jn(P,_.mode,z,W),C.return=_,C):(C=o(C,P),C.return=_,C)}function F(_,C,P){if(typeof C=="string"&&C!==""||typeof C=="number")return C=Ea(""+C,_.mode,P),C.return=_,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case le:return P=cs(C.type,C.key,C.props,null,_.mode,P),P.ref=_i(_,null,C),P.return=_,P;case fe:return C=_a(C,_.mode,P),C.return=_,C;case it:var z=C._init;return F(_,z(C._payload),P)}if(ei(C)||J(C))return C=Jn(C,_.mode,P,null),C.return=_,C;$l(_,C)}return null}function j(_,C,P,z){var W=C!==null?C.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return W!==null?null:h(_,C,""+P,z);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case le:return P.key===W?y(_,C,P,z):null;case fe:return P.key===W?L(_,C,P,z):null;case it:return W=P._init,j(_,C,W(P._payload),z)}if(ei(P)||J(P))return W!==null?null:M(_,C,P,z,null);$l(_,P)}return null}function $(_,C,P,z,W){if(typeof z=="string"&&z!==""||typeof z=="number")return _=_.get(P)||null,h(C,_,""+z,W);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case le:return _=_.get(z.key===null?P:z.key)||null,y(C,_,z,W);case fe:return _=_.get(z.key===null?P:z.key)||null,L(C,_,z,W);case it:var Z=z._init;return $(_,C,P,Z(z._payload),W)}if(ei(z)||J(z))return _=_.get(P)||null,M(C,_,z,W,null);$l(C,z)}return null}function b(_,C,P,z){for(var W=null,Z=null,Y=C,ee=C=0,Ve=null;Y!==null&&ee<P.length;ee++){Y.index>ee?(Ve=Y,Y=null):Ve=Y.sibling;var de=j(_,Y,P[ee],z);
vendor: 74,633 bytes, lines 7-9
7if(de===null){Y===null&&(Y=Ve);break}e&&Y&&de.alternate===null&&t(_,Y),C=a(de,C,ee),Z===null?W=de:Z.sibling=de,Z=de,Y=Ve}if(ee===P.length)return n(_,Y),Ee&&Qn(_,ee),W;if(Y===null){for(;ee<P.length;ee++)Y=F(_,P[ee],z),Y!==null&&(C=a(Y,C,ee),Z===null?W=Y:Z.sibling=Y,Z=Y);return Ee&&Qn(_,ee),W}for(Y=i(_,Y);ee<P.length;ee++)Ve=$(Y,_,ee,P[ee],z),Ve!==null&&(e&&Ve.alternate!==null&&Y.delete(Ve.key===null?ee:Ve.key),C=a(Ve,C,ee),Z===null?W=Ve:Z.sibling=Ve,Z=Ve);return e&&Y.forEach(function(Nn){return t(_,Nn)}),Ee&&Qn(_,ee),W}function Q(_,C,P,z){var W=J(P);if(typeof W!="function")throw Error(s(150));if(P=W.call(P),P==null)throw Error(s(151));for(var Z=W=null,Y=C,ee=C=0,Ve=null,de=P.next();Y!==null&&!de.done;ee++,de=P.next()){Y.index>ee?(Ve=Y,Y=null):Ve=Y.sibling;var Nn=j(_,Y,de.value,z);if(Nn===null){Y===null&&(Y=Ve);break}e&&Y&&Nn.alternate===null&&t(_,Y),C=a(Nn,C,ee),Z===null?W=Nn:Z.sibling=Nn,Z=Nn,Y=Ve}if(de.done)return n(_,Y),Ee&&Qn(_,ee),W;if(Y===null){for(;!de.done;ee++,de=P.next())de=F(_,de.value,z),de!==null&&(C=a(de,C,ee),Z===null?W=de:Z.sibling=de,Z=de);return Ee&&Qn(_,ee),W}for(Y=i(_,Y);!de.done;ee++,de=P.next())de=$(Y,_,ee,de.value,z),de!==null&&(e&&de.alternate!==null&&Y.delete(de.key===null?ee:de.key),C=a(de,C,ee),Z===null?W=de:Z.sibling=de,Z=de);return e&&Y.forEach(function(rh){return t(_,rh)}),Ee&&Qn(_,ee),W}function Te(_,C,P,z){if(typeof P=="object"&&P!==null&&P.type===xe&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case le:e:{for(var W=P.key,Z=C;Z!==null;){if(Z.key===W){if(W=P.type,W===xe){if(Z.tag===7){n(_,Z.sibling),C=o(Z,P.props.children),C.return=_,_=C;break e}}else if(Z.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===it&&Kc(W)===Z.type){n(_,Z.sibling),C=o(Z,P.props),C.ref=_i(_,Z,P),C.return=_,_=C;break e}n(_,Z);break}else t(_,Z);Z=Z.sibling}P.type===xe?(C=Jn(P.props.children,_.mode,z,P.key),C.return=_,_=C):(z=cs(P.type,P.key,P.props,null,_.mode,z),z.ref=_i(_,C,P),z.return=_,_=z)}return d(_);case fe:e:{for(Z=P.key;C!==null;){if(C.key===Z)if(C.tag===4&&C.stateNode.containerInfo===P.containerInfo&&C.stateNode.implementation===P.implementation){n(_,C.sibling),C=o(C,P.children||[]),C.return=_,_=C;break e}else{n(_,C);break}else t(_,C);C=C.sibling}C=_a(P,_.mode,z),C.return=_,_=C}return d(_);case it:return Z=P._init,Te(_,C,Z(P._payload),z)}if(ei(P))return b(_,C,P,z);if(J(P))return Q(_,C,P,z);$l(_,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,C!==null&&C.tag===6?(n(_,C.sibling),C=o(C,P),C.return=_,_=C):(n(_,C),C=Ea(P,_.mode,z),C.return=_,_=C),d(_)):n(_,C)}return Te}var Lr=Gc(!0),Zc=Gc(!1),Bl=yn(null),Vl=null,Nr=null,Mo=null;function Do(){Mo=Nr=Vl=null}function Fo(e){var t=Bl.current;Se(Bl),e._currentValue=t}function Ao(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Ir(e,t){Vl=e,Mo=Nr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ot=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Mo!==e)if(e={context:e,memoizedValue:t,next:null},Nr===null){if(Vl===null)throw Error(s(308));Nr=e,Vl.dependencies={lanes:0,firstContext:e}}else Nr=Nr.next=e;return t}var Wn=null;function zo(e){Wn===null?Wn=[e]:Wn.push(e)}function Yc(e,t,n,i){var o=t.interleaved;return o===null?(n.next=n,zo(t)):(n.next=o.next,o.next=n),t.interleaved=n,en(e,i)}function en(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 Sn=!1;function Uo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xc(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 tn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xn(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(ae&2)!==0){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,en(e,n)}return o=i.interleaved,o===null?(t.next=t,zo(i)):(t.next=o.next,o.next=t),i.interleaved=t,en(e,n)}function Hl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Xs(e,n)}}function Jc(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var d={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?o=a=d:a=a.next=d,n=n.next}while(n!==null);a===null?o=a=t:a=a.next=t}else o=a=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function bl(e,t,n,i){var o=e.updateQueue;Sn=!1;var a=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var y=h,L=y.next;y.next=null,d===null?a=L:d.next=L,d=y;var M=e.alternate;M!==null&&(M=M.updateQueue,h=M.lastBaseUpdate,h!==d&&(h===null?M.firstBaseUpdate=L:h.next=L,M.lastBaseUpdate=y))}if(a!==null){var F=o.baseState;d=0,M=L=y=null,h=a;do{var j=h.lane,$=h.eventTime;if((i&j)===j){M!==null&&(M=M.next={eventTime:$,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,next:null});e:{var b=e,Q=h;switch(j=t,$=n,Q.tag){case 1:if(b=Q.payload,typeof b=="function"){F=b.call($,F,j);break e}F=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=Q.payload,j=typeof b=="function"?b.call($,F,j):b,j==null)break e;F=H({},F,j);break e;case 2:Sn=!0}}h.callback!==null&&h.lane!==0&&(e.flags|=64,j=o.effects,j===null?o.effects=[h]:j.push(h))}else $={eventTime:$,lane:j,tag:h.tag,payload:h.payload,callback:h.callback,next:null},M===null?(L=M=$,y=F):M=M.next=$,d|=j;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;j=h,h=j.next,j.next=null,o.lastBaseUpdate=j,o.shared.pending=null}}while(!0);if(M===null&&(y=F),o.baseState=y,o.firstBaseUpdate=L,o.lastBaseUpdate=M,t=o.shared.interleaved,t!==null){o=t;do d|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);Gn|=d,e.lanes=d,e.memoizedState=F}}function ed(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(o!==null){if(i.callback=null,i=n,typeof o!="function")throw Error(s(191,o));o.call(i)}}}var Ri={},bt=yn(Ri),Pi=yn(Ri),Li=yn(Ri);function qn(e){if(e===Ri)throw Error(s(174));return e}function $o(e,t){switch(we(Li,t),we(Pi,e),we(bt,Ri),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:$s(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=$s(t,e)}Se(bt),we(bt,t)}function Or(){Se(bt),Se(Pi),Se(Li)}function td(e){qn(Li.current);var t=qn(bt.current),n=$s(t,e.type);t!==n&&(we(Pi,e),we(bt,n))}function Bo(e){Pi.current===e&&(Se(bt),Se(Pi))}var Re=yn(0);function Ql(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)!==0)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 Vo=[];function Ho(){for(var e=0;e<Vo.length;e++)Vo[e]._workInProgressVersionPrimary=null;Vo.length=0}var Wl=te.ReactCurrentDispatcher,bo=te.ReactCurrentBatchConfig,Kn=0,Pe=null,ze=null,$e=null,ql=!1,Ni=!1,Ii=0,_p=0;function Ge(){throw Error(s(321))}function Qo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ot(e[n],t[n]))return!1;return!0}function Wo(e,t,n,i,o,a){if(Kn=a,Pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wl.current=e===null||e.memoizedState===null?Np:Ip,e=n(i,o),Ni){a=0;do{if(Ni=!1,Ii=0,25<=a)throw Error(s(301));a+=1,$e=ze=null,t.updateQueue=null,Wl.current=Op,e=n(i,o)}while(Ni)}if(Wl.current=Zl,t=ze!==null&&ze.next!==null,Kn=0,$e=ze=Pe=null,ql=!1,t)throw Error(s(300));return e}function qo(){var e=Ii!==0;return Ii=0,e}function Qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $e===null?Pe.memoizedState=$e=e:$e=$e.next=e,$e}function _t(){if(ze===null){var e=Pe.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=$e===null?Pe.memoizedState:$e.next;if(t!==null)$e=t,ze=e;else{if(e===null)throw Error(s(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},$e===null?Pe.memoizedState=$e=e:$e=$e.next=e}return $e}function Oi(e,t){return typeof t=="function"?t(e):t}function Ko(e){var t=_t(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var i=ze,o=i.baseQueue,a=n.pending;if(a!==null){if(o!==null){var d=o.next;o.next=a.next,a.next=d}i.baseQueue=o=a,n.pending=null}if(o!==null){a=o.next,i=i.baseState;var h=d=null,y=null,L=a;do{var M=L.lane;if((Kn&M)===M)y!==null&&(y=y.next={lane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),i=L.hasEagerState?L.eagerState:e(i,L.action);else{var F={lane:M,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null};y===null?(h=y=F,d=i):y=y.next=F,Pe.lanes|=M,Gn|=M}L=L.next}while(L!==null&&L!==a);y===null?d=i:y.next=h,Ot(i,t.memoizedState)||(ot=!0),t.memoizedState=i,t.baseState=d,t.baseQueue=y,n.lastRenderedState=i}if(e=n.interleaved,e!==null){o=e;do a=o.lane,Pe.lanes|=a,Gn|=a,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Go(e){var t=_t(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,a=t.memoizedState;if(o!==null){n.pending=null;var d=o=o.next;do a=e(a,d.action),d=d.next;while(d!==o);Ot(a,t.memoizedState)||(ot=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,i]}function nd(){}function rd(e,t){var n=Pe,i=_t(),o=t(),a=!Ot(i.memoizedState,o);if(a&&(i.memoizedState=o,ot=!0),i=i.queue,Zo(sd.bind(null,n,i,e),[e]),i.getSnapshot!==t||a||$e!==null&&$e.memoizedState.tag&1){if(n.flags|=2048,ji(9,ld.bind(null,n,i,o,t),void 0,null),Be===null)throw Error(s(349));(Kn&30)!==0||id(n,t,o)}return o}function id(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ld(e,t,n,i){t.value=n,t.getSnapshot=i,od(t)&&ad(e)}function sd(e,t,n){return n(function(){od(t)&&ad(e)})}function od(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ot(e,n)}catch{return!0}}function ad(e){var t=en(e,1);t!==null&&Ft(t,e,1,-1)}function ud(e){var t=Qt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oi,lastRenderedState:e},t.queue=e,e=e.dispatch=Lp.bind(null,Pe,e),[t.memoizedState,e]}function ji(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e)),e}function cd(){return _t().memoizedState}function Kl(e,t,n,i){var o=Qt();Pe.flags|=e,o.memoizedState=ji(1|t,n,void 0,i===void 0?null:i)}function Gl(e,t,n,i){var o=_t();i=i===void 0?null:i;var a=void 0;if(ze!==null){var d=ze.memoizedState;if(a=d.destroy,i!==null&&Qo(i,d.deps)){o.memoizedState=ji(t,n,a,i);return}}Pe.flags|=e,o.memoizedState=ji(1|t,n,a,i)}function dd(e,t){return Kl(8390656,8,e,t)}function Zo(e,t){return Gl(2048,8,e,t)}function fd(e,t){return Gl(4,2,e,t)}function pd(e,t){return Gl(4,4,e,t)}function hd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function md(e,t,n){return n=n!=null?n.concat([e]):null,Gl(4,4,hd.bind(null,t,e),n)}function Yo(){}function vd(e,t){var n=_t();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Qo(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function gd(e,t){var n=_t();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Qo(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function yd(e,t,n){return(Kn&21)===0?(e.baseState&&(e.baseState=!1,ot=!0),e.memoizedState=n):(Ot(n,t)||(n=Ku(),Pe.lanes|=n,Gn|=n,e.baseState=!0),t)}function Rp(e,t){var n=me;me=n!==0&&4>n?n:4,e(!0);var i=bo.transition;bo.transition={};try{e(!1),t()}finally{me=n,bo.transition=i}}function wd(){return _t().memoizedState}function Pp(e,t,n){var i=Rn(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Cd(e))Sd(t,n);else if(n=Yc(e,t,n,i),n!==null){var o=tt();Ft(n,e,i,o),xd(n,t,i)}}function Lp(e,t,n){var i=Rn(e),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cd(e))Sd(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var d=t.lastRenderedState,h=a(d,n);if(o.hasEagerState=!0,o.eagerState=h,Ot(h,d)){var y=t.interleaved;y===null?(o.next=o,zo(t)):(o.next=y.next,y.next=o),t.interleaved=o;return}}catch{}finally{}n=Yc(e,t,o,i),n!==null&&(o=tt(),Ft(n,e,i,o),xd(n,t,i))}}function Cd(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function Sd(e,t){Ni=ql=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xd(e,t,n){if((n&4194240)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Xs(e,n)}}var Zl={readContext:Et,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},Np={readContext:Et,useCallback:function(e,t){return Qt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:dd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Kl(4194308,4,hd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Kl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Kl(4,2,e,t)},useMemo:function(e,t){var n=Qt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Qt();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=Pp.bind(null,Pe,e),[i.memoizedState,e]},useRef:function(e){var t=Qt();return e={current:e},t.memoizedState=e},useState:ud,useDebugValue:Yo,useDeferredValue:function(e){return Qt().memoizedState=e},useTransition:function(){var e=ud(!1),t=e[0];return e=Rp.bind(null,e[1]),Qt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Pe,o=Qt();if(Ee){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Be===null)throw Error(s(349));(Kn&30)!==0||id(i,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,dd(sd.bind(null,i,a,e),[e]),i.flags|=2048,ji(9,ld.bind(null,i,a,n,t),void 0,null),n},useId:function(){var e=Qt(),t=Be.identifierPrefix;if(Ee){var n=Jt,i=Xt;n=(i&~(1<<32-It(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ii++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=_p++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ip={readContext:Et,useCallback:vd,useContext:Et,useEffect:Zo,useImperativeHandle:md,useInsertionEffect:fd,useLayoutEffect:pd,useMemo:gd,useReducer:Ko,useRef:cd,useState:function(){return Ko(Oi)},useDebugValue:Yo,useDeferredValue:function(e){var t=_t();return yd(t,ze.memoizedState,e)},useTransition:function(){var e=Ko(Oi)[0],t=_t().memoizedState;return[e,t]},useMutableSource:nd,useSyncExternalStore:rd,useId:wd,unstable_isNewReconciler:!1},Op={readContext:Et,useCallback:vd,useContext:Et,useEffect:Zo,useImperativeHandle:md,useInsertionEffect:fd,useLayoutEffect:pd,useMemo:gd,useReducer:Go,useRef:cd,useState:function(){return Go(Oi)},useDebugValue:Yo,useDeferredValue:function(e){var t=_t();return ze===null?t.memoizedState=e:yd(t,ze.memoizedState,e)},useTransition:function(){var e=Go(Oi)[0],t=_t().memoizedState;return[e,t]},useMutableSource:nd,useSyncExternalStore:rd,useId:wd,unstable_isNewReconciler:!1};function Tt(e,t){if(e&&e.defaultProps){t=H({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Xo(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:H({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yl={isMounted:function(e){return(e=e._reactInternals)?Bn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=tt(),o=Rn(e),a=tn(i,o);a.payload=t,n!=null&&(a.callback=n),t=xn(e,a,o),t!==null&&(Ft(t,e,o,i),Hl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=tt(),o=Rn(e),a=tn(i,o);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=xn(e,a,o),t!==null&&(Ft(t,e,o,i),Hl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tt(),i=Rn(e),o=tn(n,i);o.tag=2,t!=null&&(o.callback=t),t=xn(e,o,i),t!==null&&(Ft(t,e,i,n),Hl(t,e,i))}};function kd(e,t,n,i,o,a,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,a,d):t.prototype&&t.prototype.isPureReactComponent?!yi(n,i)||!yi(o,a):!0}function Ed(e,t,n){var i=!1,o=wn,a=t.contextType;return typeof a=="object"&&a!==null?a=Et(a):(o=st(t)?Hn:Ke.current,i=t.contextTypes,a=(i=i!=null)?Er(e,o):wn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yl,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function _d(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Yl.enqueueReplaceState(t,t.state,null)}function Jo(e,t,n,i){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Uo(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=Et(a):(a=st(t)?Hn:Ke.current,o.context=Er(e,a)),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Xo(e,t,a,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Yl.enqueueReplaceState(o,o.state,null),bl(e,n,o,i),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function jr(e,t){try{var n="",i=t;do n+=ue(i),i=i.return;while(i);var o=n}catch(a){o=` 8Error generating stack: `+a.message+` 9`+a.stack}return{value:e,source:t,stack:o,digest:null}}function ea(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ta(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var jp=typeof WeakMap=="function"?WeakMap:Map;function Rd(e,t,n){n=tn(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){is||(is=!0,va=i),ta(e,t)},n}function Pd(e,t,n){n=tn(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var o=t.value;n.payload=function(){return i(o)},n.callback=function(){ta(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){ta(e,t),typeof i!="function"&&(En===null?En=new Set([this]):En.add(this));var d=t.stack;this.componentDidCatch(t.value,{componentStack:d!==null?d:""})}),n}function Ld(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new jp;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(o.add(n),e=Wp.bind(null,e,t,n),t.then(e,e))}function Nd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Id(e,t,n,i,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=tn(-1,1),t.tag=2,xn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Tp=te.ReactCurrentOwner,ot=!1;function et(e,t,n,i){t.child=e===null?Zc(t,null,n,i):Lr(t,e.child,n,i)}function Od(e,t,n,i,o){n=n.render;var a=t.ref;return Ir(t,o),i=Wo(e,t,n,i,a,o),n=qo(),e!==null&&!ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,nn(e,t,o)):(Ee&&n&&No(t),t.flags|=1,et(e,t,i,o),t.child)}function jd(e,t,n,i,o){if(e===null){var a=n.type;return typeof a=="function"&&!ka(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Td(e,t,a,i,o)):(e=cs(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&o)===0){var d=a.memoizedProps;if(n=n.compare,n=n!==null?n:yi,n(d,i)&&e.ref===t.ref)return nn(e,t,o)}return t.flags|=1,e=Ln(a,i),e.ref=t.ref,e.return=t,t.child=e}function Td(e,t,n,i,o){if(e!==null){var a=e.memoizedProps;if(yi(a,i)&&e.ref===t.ref)if(ot=!1,t.pendingProps=i=a,(e.lanes&o)!==0)(e.flags&131072)!==0&&(ot=!0);else return t.lanes=e.lanes,nn(e,t,o)}return na(e,t,n,i,o)}function Md(e,t,n){var i=t.pendingProps,o=i.children,a=e!==null?e.memoizedState:null;if(i.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},we(Mr,yt),yt|=n;else{if((n&1073741824)===0)return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,we(Mr,yt),yt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=a!==null?a.baseLanes:n,we(Mr,yt),yt|=i}else a!==null?(i=a.baseLanes|n,t.memoizedState=null):i=n,we(Mr,yt),yt|=i;return et(e,t,o,n),t.child}function Dd(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function na(e,t,n,i,o){var a=st(n)?Hn:Ke.current;return a=Er(t,a),Ir(t,o),n=Wo(e,t,n,i,a,o),i=qo(),e!==null&&!ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,nn(e,t,o)):(Ee&&i&&No(t),t.flags|=1,et(e,t,n,o),t.child)}function Fd(e,t,n,i,o){if(st(n)){var a=!0;Dl(t)}else a=!1;if(Ir(t,o),t.stateNode===null)Jl(e,t),Ed(t,n,i),Jo(t,n,i,o),i=!0;else if(e===null){var d=t.stateNode,h=t.memoizedProps;d.props=h;var y=d.context,L=n.contextType;typeof L=="object"&&L!==null?L=Et(L):(L=st(n)?Hn:Ke.current,L=Er(t,L));var M=n.getDerivedStateFromProps,F=typeof M=="function"||typeof d.getSnapshotBeforeUpdate=="function";F||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(h!==i||y!==L)&&_d(t,d,i,L),Sn=!1;var j=t.memoizedState;d.state=j,bl(t,i,d,o),y=t.memoizedState,h!==i||j!==y||lt.current||Sn?(typeof M=="function"&&(Xo(t,n,M,i),y=t.memoizedState),(h=Sn||kd(t,n,h,i,j,y,L))?(F||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=y),d.props=i,d.state=y,d.context=L,i=h):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{d=t.stateNode,Xc(e,t),h=t.memoizedProps,L=t.type===t.elementType?h:Tt(t.type,h),d.props=L,F=t.pendingProps,j=d.context,y=n.contextType,typeof y=="object"&&y!==null?y=Et(y):(y=st(n)?Hn:Ke.current,y=Er(t,y));var $=n.getDerivedStateFromProps;(M=typeof $=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(h!==F||j!==y)&&_d(t,d,i,y),Sn=!1,j=t.memoizedState,d.state=j,bl(t,i,d,o);var b=t.memoizedState;h!==F||j!==b||lt.current||Sn?(typeof $=="function"&&(Xo(t,n,$,i),b=t.memoizedState),(L=Sn||kd(t,n,L,i,j,b,y)||!1)?(M||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,b,y),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,b,y)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||h===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=b),d.props=i,d.state=b,d.context=y,i=L):(typeof d.componentDidUpdate!="function"||h===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),i=!1)}return ra(e,t,n,i,a,o)}function ra(e,t,n,i,o,a){Dd(e,t);var d=(t.flags&128)!==0;if(!i&&!d)return o&&Bc(t,n,!1),nn(e,t,a);i=t.stateNode,Tp.current=t;var h=d&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&d?(t.child=Lr(t,e.child,null,a),t.child=Lr(t,null,h,a)):et(e,t,h,a),t.memoizedState=i.state,o&&Bc(t,n,!0),t.child}function Ad(e){var t=e.stateNode;t.pendingContext?Uc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Uc(e,t.context,!1),$o(e,t.containerInfo)}function zd(e,t,n,i,o){return Pr(),To(o),t.flags|=256,et(e,t,n,i),t.child}var ia={dehydrated:null,treeContext:null,retryLane:0};function la(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ud(e,t,n){var i=t.pendingProps,o=Re.current,a=!1,d=(t.flags&128)!==0,h;if((h=d)||(h=e!==null&&e.memoizedState===null?!1:(o&2)!==0),h?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),we(Re,o&1),e===null)return jo(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(d=i.children,e=i.fallback,a?(i=t.mode,a=t.child,d={mode:"hidden",children:d},(i&1)===0&&a!==null?(a.childLanes=0,a.pendingProps=d):a=ds(d,i,0,null),e=Jn(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=la(n),t.memoizedState=ia,e):sa(t,d));if(o=e.memoizedState,o!==null&&(h=o.dehydrated,h!==null))return Mp(e,t,d,i,h,o,n);if(a){a=i.fallback,d=t.mode,o=e.child,h=o.sibling;var y={mode:"hidden",children:i.children};return(d&1)===0&&t.child!==o?(i=t.child,i.childLanes=0,i.pendingProps=y,t.deletions=null):(i=Ln(o,y),i.subtreeFlags=o.subtreeFlags&14680064),h!==null?a=Ln(h,a):(a=Jn(a,d,n,null),a.flags|=2),a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,d=e.child.memoizedState,d=d===null?la(n):{baseLanes:d.baseLanes|n,cachePool:null,transitions:d.transitions},a.memoizedState=d,a.childLanes=e.childLanes&~n,t.memoizedState=ia,i}return a=e.child,e=a.sibling,i=Ln(a,{mode:"visible",children:i.children}),(t.mode&1)===0&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function sa(e,t){return t=ds({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xl(e,t,n,i){return i!==null&&To(i),Lr(t,e.child,null,n),e=sa(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Mp(e,t,n,i,o,a,d){if(n)return t.flags&256?(t.flags&=-257,i=ea(Error(s(422))),Xl(e,t,d,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=ds({mode:"visible",children:i.children},o,0,null),a=Jn(a,o,d,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,(t.mode&1)!==0&&Lr(t,e.child,null,d),t.child.memoizedState=la(d),t.memoizedState=ia,a);if((t.mode&1)===0)return Xl(e,t,d,null);if(o.data==="$!"){if(i=o.nextSibling&&o.nextSibling.dataset,i)var h=i.dgst;return i=h,a=Error(s(419)),i=ea(a,i,void 0),Xl(e,t,d,i)}if(h=(d&e.childLanes)!==0,ot||h){if(i=Be,i!==null){switch(d&-d){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(i.suspendedLanes|d))!==0?0:o,o!==0&&o!==a.retryLane&&(a.retryLane=o,en(e,o),Ft(i,e,o,-1))}return xa(),i=ea(Error(s(421))),Xl(e,t,d,i)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=qp.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,gt=gn(o.nextSibling),vt=t,Ee=!0,jt=null,e!==null&&(xt[kt++]=Xt,xt[kt++]=Jt,xt[kt++]=bn,Xt=e.id,Jt=e.overflow,bn=t),t=sa(t,i.children),t.flags|=4096,t)}function $d(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Ao(e.return,t,n)}function oa(e,t,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=o)}function Bd(e,t,n){var i=t.pendingProps,o=i.revealOrder,a=i.tail;if(et(e,t,i.children,n),i=Re.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$d(e,n,t);else if(e.tag===19)$d(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(we(Re,i),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ql(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),oa(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ql(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}oa(t,!0,n,null,a);break;case"together":oa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Jl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=Ln(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ln(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dp(e,t,n){switch(t.tag){case 3:Ad(t),Pr();break;case 5:td(t);break;case 1:st(t.type)&&Dl(t);break;case 4:$o(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,o=t.memoizedProps.value;we(Bl,i._currentValue),i._currentValue=o;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(we(Re,Re.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Ud(e,t,n):(we(Re,Re.current&1),e=nn(e,t,n),e!==null?e.sibling:null);we(Re,Re.current&1);break;case 19:if(i=(n&t.childLanes)!==0,(e.flags&128)!==0){if(i)return Bd(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),we(Re,Re.current),i)break;return null;case 22:case 23:return t.lanes=0,Md(e,t,n)}return nn(e,t,n)}var Vd,aa,Hd,bd;Vd=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},aa=function(){},Hd=function(e,t,n,i){var o=e.memoizedProps;if(o!==i){e=t.stateNode,qn(bt.current);var a=null;switch(n){case"input":o=Fs(e,o),i=Fs(e,i),a=[];break;case"select":o=H({},o,{value:void 0}),i=H({},i,{value:void 0}),a=[];break;case"textarea":o=Us(e,o),i=Us(e,i),a=[];break;default:typeof o.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=jl)}Bs(n,i);var d;n=null;for(L in o)if(!i.hasOwnProperty(L)&&o.hasOwnProperty(L)&&o[L]!=null)if(L==="style"){var h=o[L];for(d in h)h.hasOwnProperty(d)&&(n||(n={}),n[d]="")}else L!=="dangerouslySetInnerHTML"&&L!=="children"&&L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(c.hasOwnProperty(L)?a||(a=[]):(a=a||[]).push(L,null));for(L in i){var y=i[L];if(h=o?.[L],i.hasOwnProperty(L)&&y!==h&&(y!=null||h!=null))if(L==="style")if(h){for(d in h)!h.hasOwnProperty(d)||y&&y.hasOwnProperty(d)||(n||(n={}),n[d]="");for(d in y)y.hasOwnProperty(d)&&h[d]!==y[d]&&(n||(n={}),n[d]=y[d])}else n||(a||(a=[]),a.push(L,n)),n=y;else L==="dangerouslySetInnerHTML"?(y=y?y.__html:void 0,h=h?h.__html:void 0,y!=null&&h!==y&&(a=a||[]).push(L,y)):L==="children"?typeof y!="string"&&typeof y!="number"||(a=a||[]).push(L,""+y):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&(c.hasOwnProperty(L)?(y!=null&&L==="onScroll"&&Ce("scroll",e),a||h===y||(a=[])):(a=a||[]).push(L,y))}n&&(a=a||[]).push("style",n);var L=a;(t.updateQueue=L)&&(t.flags|=4)}},bd=function(e,t,n,i){n!==i&&(t.flags|=4)};function Ti(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&14680064,i|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function Fp(e,t,n){var i=t.pendingProps;switch(Io(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(t),null;case 1:return st(t.type)&&Ml(),Ze(t),null;case 3:return i=t.stateNode,Or(),Se(lt),Se(Ke),Ho(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ul(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jt!==null&&(wa(jt),jt=null))),aa(e,t),Ze(t),null;case 5:Bo(t);var o=qn(Li.current);if(n=t.type,e!==null&&t.stateNode!=null)Hd(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Ze(t),null}if(e=qn(bt.current),Ul(t)){i=t.stateNode,n=t.type;var a=t.memoizedProps;switch(i[Ht]=t,i[ki]=a,e=(t.mode&1)!==0,n){case"dialog":Ce("cancel",i),Ce("close",i);break;case"iframe":case"object":case"embed":Ce("load",i);break;case"video":case"audio":for(o=0;o<Ci.length;o++)Ce(Ci[o],i);break;case"source":Ce("error",i);break;case"img":case"image":case"link":Ce("error",i),Ce("load",i);break;case"details":Ce("toggle",i);break;case"input":Eu(i,a),Ce("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!a.multiple},Ce("invalid",i);break;case"textarea":Pu(i,a),Ce("invalid",i)}Bs(n,a),o=null;for(var d in a)if(a.hasOwnProperty(d)){var h=a[d];d==="children"?typeof h=="string"?i.textContent!==h&&(a.suppressHydrationWarning!==!0&&Ol(i.textContent,h,e),o=["children",h]):typeof h=="number"&&i.textContent!==""+h&&(a.suppressHydrationWarning!==!0&&Ol(i.textContent,h,e),o=["children",""+h]):c.hasOwnProperty(d)&&h!=null&&d==="onScroll"&&Ce("scroll",i)}switch(n){case"input":al(i),Ru(i,a,!0);break;case"textarea":al(i),Nu(i);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(i.onclick=jl)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{d=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Iu(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=d.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=d.createElement(n,{is:i.is}):(e=d.createElement(n),n==="select"&&(d=e,i.multiple?d.multiple=!0:i.size&&(d.size=i.size))):e=d.createElementNS(e,n),e[Ht]=t,e[ki]=i,Vd(e,t,!1,!1),t.stateNode=e;e:{switch(d=Vs(n,i),n){case"dialog":Ce("cancel",e),Ce("close",e),o=i;break;case"iframe":case"object":case"embed":Ce("load",e),o=i;break;case"video":case"audio":for(o=0;o<Ci.length;o++)Ce(Ci[o],e);o=i;break;case"source":Ce("error",e),o=i;break;case"img":case"image":case"link":Ce("error",e),Ce("load",e),o=i;break;case"details":Ce("toggle",e),o=i;break;case"input":Eu(e,i),o=Fs(e,i),Ce("invalid",e);break;case"option":o=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},o=H({},i,{value:void 0}),Ce("invalid",e);break;case"textarea":Pu(e,i),o=Us(e,i),Ce("invalid",e);break;default:o=i}Bs(n,o),h=o;for(a in h)if(h.hasOwnProperty(a)){var y=h[a];a==="style"?Tu(e,y):a==="dangerouslySetInnerHTML"?(y=y?y.__html:void 0,y!=null&&Ou(e,y)):a==="children"?typeof y=="string"?(n!=="textarea"||y!=="")&&ti(e,y):typeof y=="number"&&ti(e,""+y):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(c.hasOwnProperty(a)?y!=null&&a==="onScroll"&&Ce("scroll",e):y!=null&&G(e,a,y,d))}switch(n){case"input":al(e),Ru(e,i,!1);break;case"textarea":al(e),Nu(e);break;case"option":i.value!=null&&e.setAttribute("value",""+he(i.value));break;case"select":e.multiple=!!i.multiple,a=i.value,a!=null?fr(e,!!i.multiple,a,!1):i.defaultValue!=null&&fr(e,!!i.multiple,i.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=jl)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ze(t),null;case 6:if(e&&t.stateNode!=null)bd(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(n=qn(Li.current),qn(bt.current),Ul(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ht]=t,(a=i.nodeValue!==n)&&(e=vt,e!==null))switch(e.tag){case 3:Ol(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ol(i.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ht]=t,t.stateNode=i}return Ze(t),null;case 13:if(Se(Re),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&>!==null&&(t.mode&1)!==0&&(t.flags&128)===0)qc(),Pr(),t.flags|=98560,a=!1;else if(a=Ul(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(s(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(s(317));a[Ht]=t}else Pr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),a=!1}else jt!==null&&(wa(jt),jt=null),a=!0;if(!a)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Re.current&1)!==0?Ue===0&&(Ue=3):xa())),t.updateQueue!==null&&(t.flags|=4),Ze(t),null);case 4:return Or(),aa(e,t),e===null&&Si(t.stateNode.containerInfo),Ze(t),null;case 10:return Fo(t.type._context),Ze(t),null;case 17:return st(t.type)&&Ml(),Ze(t),null;case 19:if(Se(Re),a=t.memoizedState,a===null)return Ze(t),null;if(i=(t.flags&128)!==0,d=a.rendering,d===null)if(i)Ti(a,!1);else{if(Ue!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=Ql(e),d!==null){for(t.flags|=128,Ti(a,!1),i=d.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)a=n,e=i,a.flags&=14680066,d=a.alternate,d===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=d.childLanes,a.lanes=d.lanes,a.child=d.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=d.memoizedProps,a.memoizedState=d.memoizedState,a.updateQueue=d.updateQueue,a.type=d.type,e=d.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return we(Re,Re.current&1|2),t.child}e=e.sibling}a.tail!==null&&je()>Dr&&(t.flags|=128,i=!0,Ti(a,!1),t.lanes=4194304)}else{if(!i)if(e=Ql(d),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ti(a,!0),a.tail===null&&a.tailMode==="hidden"&&!d.alternate&&!Ee)return Ze(t),null}else 2*je()-a.renderingStartTime>Dr&&n!==1073741824&&(t.flags|=128,i=!0,Ti(a,!1),t.lanes=4194304);a.isBackwards?(d.sibling=t.child,t.child=d):(n=a.last,n!==null?n.sibling=d:t.child=d,a.last=d)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=je(),t.sibling=null,n=Re.current,we(Re,i?n&1|2:n&1),t):(Ze(t),null);case 22:case 23:return Sa(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&(t.mode&1)!==0?(yt&1073741824)!==0&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function Ap(e,t){switch(Io(t),t.tag){case 1:return st(t.type)&&Ml(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Or(),Se(lt),Se(Ke),Ho(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Bo(t),null;case 13:if(Se(Re),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(Re),null;case 4:return Or(),null;case 10:return Fo(t.type._context),null;case 22:case 23:return Sa(),null;case 24:return null;default:return null}}var es=!1,Ye=!1,zp=typeof WeakSet=="function"?WeakSet:Set,V=null;function Tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Ne(e,t,i)}else n.current=null}function ua(e,t,n){try{n()}catch(i){Ne(e,t,i)}}var Qd=!1;function Up(e,t){if(So=Cl,e=kc(),po(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var d=0,h=-1,y=-1,L=0,M=0,F=e,j=null;t:for(;;){for(var $;F!==n||o!==0&&F.nodeType!==3||(h=d+o),F!==a||i!==0&&F.nodeType!==3||(y=d+i),F.nodeType===3&&(d+=F.nodeValue.length),($=F.firstChild)!==null;)j=F,F=$;for(;;){if(F===e)break t;if(j===n&&++L===o&&(h=d),j===a&&++M===i&&(y=d),($=F.nextSibling)!==null)break;F=j,j=F.parentNode}F=$}n=h===-1||y===-1?null:{start:h,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(xo={focusedElem:e,selectionRange:n},Cl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var b=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var Q=b.memoizedProps,Te=b.memoizedState,_=t.stateNode,C=_.getSnapshotBeforeUpdate(t.elementType===t.type?Q:Tt(t.type,Q),Te);_.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var P=t.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(z){Ne(t,t.return,z)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return b=Qd,Qd=!1,b}function Mi(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&ua(t,n,a)}o=o.next}while(o!==i)}}function ts(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function ca(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 Wd(e){var t=e.alternate;t!==null&&(e.alternate=null,Wd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ht],delete t[ki],delete t[Ro],delete t[Sp],delete t[xp])),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 qd(e){return e.tag===5||e.tag===3||e.tag===4}function Kd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qd(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 da(e,t,n){var i=e.tag;if(i===5||i===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=jl));else if(i!==4&&(e=e.child,e!==null))for(da(e,t,n),e=e.sibling;e!==null;)da(e,t,n),e=e.sibling}function fa(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(fa(e,t,n),e=e.sibling;e!==null;)fa(e,t,n),e=e.sibling}var Qe=null,Mt=!1;function kn(e,t,n){for(n=n.child;n!==null;)Gd(e,t,n),n=n.sibling}function Gd(e,t,n){if(Vt&&typeof Vt.onCommitFiberUnmount=="function")try{Vt.onCommitFiberUnmount(hl,n)}catch{}switch(n.tag){case 5:Ye||Tr(n,t);case 6:var i=Qe,o=Mt;Qe=null,kn(e,t,n),Qe=i,Mt=o,Qe!==null&&(Mt?(e=Qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Qe.removeChild(n.stateNode));break;case 18:Qe!==null&&(Mt?(e=Qe,n=n.stateNode,e.nodeType===8?_o(e.parentNode,n):e.nodeType===1&&_o(e,n),fi(e)):_o(Qe,n.stateNode));break;case 4:i=Qe,o=Mt,Qe=n.stateNode.containerInfo,Mt=!0,kn(e,t,n),Qe=i,Mt=o;break;case 0:case 11:case 14:case 15:if(!Ye&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){o=i=i.next;do{var a=o,d=a.destroy;a=a.tag,d!==void 0&&((a&2)!==0||(a&4)!==0)&&ua(n,t,d),o=o.next}while(o!==i)}kn(e,t,n);break;case 1:if(!Ye&&(Tr(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(h){Ne(n,t,h)}kn(e,t,n);break;case 21:kn(e,t,n);break;case 22:n.mode&1?(Ye=(i=Ye)||n.memoizedState!==null,kn(e,t,n),Ye=i):kn(e,t,n);break;default:kn(e,t,n)}}function Zd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new zp),t.forEach(function(i){var o=Kp.bind(null,e,i);n.has(i)||(n.add(i),i.then(o,o))})}}function Dt(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];try{var a=e,d=t,h=d;e:for(;h!==null;){switch(h.tag){case 5:Qe=h.stateNode,Mt=!1;break e;case 3:Qe=h.stateNode.containerInfo,Mt=!0;break e;case 4:Qe=h.stateNode.containerInfo,Mt=!0;break e}h=h.return}if(Qe===null)throw Error(s(160));Gd(a,d,o),Qe=null,Mt=!1;var y=o.alternate;y!==null&&(y.return=null),o.return=null}catch(L){Ne(o,t,L)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Yd(t,e),t=t.sibling}function Yd(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Dt(t,e),Wt(e),i&4){try{Mi(3,e,e.return),ts(3,e)}catch(Q){Ne(e,e.return,Q)}try{Mi(5,e,e.return)}catch(Q){Ne(e,e.return,Q)}}break;case 1:Dt(t,e),Wt(e),i&512&&n!==null&&Tr(n,n.return);break;case 5:if(Dt(t,e),Wt(e),i&512&&n!==null&&Tr(n,n.return),e.flags&32){var o=e.stateNode;try{ti(o,"")}catch(Q){Ne(e,e.return,Q)}}if(i&4&&(o=e.stateNode,o!=null)){var a=e.memoizedProps,d=n!==null?n.memoizedProps:a,h=e.type,y=e.updateQueue;if(e.updateQueue=null,y!==null)try{h==="input"&&a.type==="radio"&&a.name!=null&&_u(o,a),Vs(h,d);var L=Vs(h,a);for(d=0;d<y.length;d+=2){var M=y[d],F=y[d+1];M==="style"?Tu(o,F):M==="dangerouslySetInnerHTML"?Ou(o,F):M==="children"?ti(o,F):G(o,M,F,L)}switch(h){case"input":As(o,a);break;case"textarea":Lu(o,a);break;case"select":var j=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var $=a.value;$!=null?fr(o,!!a.multiple,$,!1):j!==!!a.multiple&&(a.defaultValue!=null?fr(o,!!a.multiple,a.defaultValue,!0):fr(o,!!a.multiple,a.multiple?[]:"",!1))}o[ki]=a}catch(Q){Ne(e,e.return,Q)}}break;case 6:if(Dt(t,e),Wt(e),i&4){if(e.stateNode===null)throw Error(s(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(Q){Ne(e,e.return,Q)}}break;case 3:if(Dt(t,e),Wt(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{fi(t.containerInfo)}catch(Q){Ne(e,e.return,Q)}break;case 4:Dt(t,e),Wt(e);break;case 13:Dt(t,e),Wt(e),o=e.child,o.flags&8192&&(a=o.memoizedState!==null,o.stateNode.isHidden=a,!a||o.alternate!==null&&o.alternate.memoizedState!==null||(ma=je())),i&4&&Zd(e);break;case 22:if(M=n!==null&&n.memoizedState!==null,e.mode&1?(Ye=(L=Ye)||M,Dt(t,e),Ye=L):Dt(t,e),Wt(e),i&8192){if(L=e.memoizedState!==null,(e.stateNode.isHidden=L)&&!M&&(e.mode&1)!==0)for(V=e,M=e.child;M!==null;){for(F=V=M;V!==null;){switch(j=V,$=j.child,j.tag){case 0:case 11:case 14:case 15:Mi(4,j,j.return);break;case 1:Tr(j,j.return);var b=j.stateNode;if(typeof b.componentWillUnmount=="function"){i=j,n=j.return;try{t=i,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(Q){Ne(i,n,Q)}}break;case 5:Tr(j,j.return);break;case 22:if(j.memoizedState!==null){e2(F);continue}}$!==null?($.return=j,V=$):e2(F)}M=M.sibling}e:for(M=null,F=e;;){if(F.tag===5){if(M===null){M=F;try{o=F.stateNode,L?(a=o.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(h=F.stateNode,y=F.memoizedProps.style,d=y!=null&&y.hasOwnProperty("display")?y.display:null,h.style.display=ju("display",d))}catch(Q){Ne(e,e.return,Q)}}}else if(F.tag===6){if(M===null)try{F.stateNode.nodeValue=L?"":F.memoizedProps}catch(Q){Ne(e,e.return,Q)}}else if((F.tag!==22&&F.tag!==23||F.memoizedState===null||F===e)&&F.child!==null){F.child.return=F,F=F.child;continue}if(F===e)break e;for(;F.sibling===null;){if(F.return===null||F.return===e)break e;M===F&&(M=null),F=F.return}M===F&&(M=null),F.sibling.return=F.return,F=F.sibling}}break;case 19:Dt(t,e),Wt(e),i&4&&Zd(e);break;case 21:break;default:Dt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(qd(n)){var i=n;break e}n=n.return}throw Error(s(160))}switch(i.tag){case 5:var o=i.stateNode;i.flags&32&&(ti(o,""),i.flags&=-33);var a=Kd(e);fa(e,a,o);break;case 3:case 4:var d=i.stateNode.containerInfo,h=Kd(e);da(e,h,d);break;default:throw Error(s(161))}}catch(y){Ne(e,e.return,y)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function $p(e,t,n){V=e,Xd(e)}function Xd(e,t,n){for(var i=(e.mode&1)!==0;V!==null;){var o=V,a=o.child;if(o.tag===22&&i){var d=o.memoizedState!==null||es;if(!d){var h=o.alternate,y=h!==null&&h.memoizedState!==null||Ye;h=es;var L=Ye;if(es=d,(Ye=y)&&!L)for(V=o;V!==null;)d=V,y=d.child,d.tag===22&&d.memoizedState!==null?t2(o):y!==null?(y.return=d,V=y):t2(o);for(;a!==null;)V=a,Xd(a),a=a.sibling;V=o,es=h,Ye=L}Jd(e)}else(o.subtreeFlags&8772)!==0&&a!==null?(a.return=o,V=a):Jd(e)}}function Jd(e){for(;V!==null;){var t=V;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ye||ts(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!Ye)if(n===null)i.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Tt(t.type,n.memoizedProps);i.componentDidUpdate(o,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&ed(t,a,i);break;case 3:var d=t.updateQueue;if(d!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ed(t,d,n)}break;case 5:var h=t.stateNode;if(n===null&&t.flags&4){n=h;var y=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":y.autoFocus&&n.focus();break;case"img":y.src&&(n.src=y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var L=t.alternate;if(L!==null){var M=L.memoizedState;if(M!==null){var F=M.dehydrated;F!==null&&fi(F)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ye||t.flags&512&&ca(t)}catch(j){Ne(t,t.return,j)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function e2(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function t2(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ts(4,t)}catch(y){Ne(t,n,y)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var o=t.return;try{i.componentDidMount()}catch(y){Ne(t,o,y)}}var a=t.return;try{ca(t)}catch(y){Ne(t,a,y)}break;case 5:var d=t.return;try{ca(t)}catch(y){Ne(t,d,y)}}}catch(y){Ne(t,t.return,y)}if(t===e){V=null;break}var h=t.sibling;if(h!==null){h.return=t.return,V=h;break}V=t.return}}var Bp=Math.ceil,ns=te.ReactCurrentDispatcher,pa=te.ReactCurrentOwner,Rt=te.ReactCurrentBatchConfig,ae=0,Be=null,Me=null,We=0,yt=0,Mr=yn(0),Ue=0,Di=null,Gn=0,rs=0,ha=0,Fi=null,at=null,ma=0,Dr=1/0,rn=null,is=!1,va=null,En=null,ls=!1,_n=null,ss=0,Ai=0,ga=null,os=-1,as=0;function tt(){return(ae&6)!==0?je():os!==-1?os:os=je()}function Rn(e){return(e.mode&1)===0?1:(ae&2)!==0&&We!==0?We&-We:Ep.transition!==null?(as===0&&(as=Ku()),as):(e=me,e!==0||(e=window.event,e=e===void 0?16:rc(e.type)),e)}function Ft(e,t,n,i){if(50<Ai)throw Ai=0,ga=null,Error(s(185));oi(e,n,i),((ae&2)===0||e!==Be)&&(e===Be&&((ae&2)===0&&(rs|=n),Ue===4&&Pn(e,We)),ut(e,i),n===1&&ae===0&&(t.mode&1)===0&&(Dr=je()+500,Fl&&Cn()))}function ut(e,t){var n=e.callbackNode;Ef(e,t);var i=gl(e,e===Be?We:0);if(i===0)n!==null&&Qu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(n!=null&&Qu(n),t===1)e.tag===0?kp(r2.bind(null,e)):Vc(r2.bind(null,e)),wp(function(){(ae&6)===0&&Cn()}),n=null;else{switch(Gu(i)){case 1:n=Gs;break;case 4:n=Wu;break;case 16:n=pl;break;case 536870912:n=qu;break;default:n=pl}n=d2(n,n2.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function n2(e,t){if(os=-1,as=0,(ae&6)!==0)throw Error(s(327));var n=e.callbackNode;if(Fr()&&e.callbackNode!==n)return null;var i=gl(e,e===Be?We:0);if(i===0)return null;if((i&30)!==0||(i&e.expiredLanes)!==0||t)t=us(e,i);else{t=i;var o=ae;ae|=2;var a=l2();(Be!==e||We!==t)&&(rn=null,Dr=je()+500,Yn(e,t));do try{bp();break}catch(h){i2(e,h)}while(!0);Do(),ns.current=a,ae=o,Me!==null?t=0:(Be=null,We=0,t=Ue)}if(t!==0){if(t===2&&(o=Zs(e),o!==0&&(i=o,t=ya(e,o))),t===1)throw n=Di,Yn(e,0),Pn(e,i),ut(e,je()),n;if(t===6)Pn(e,i);else{if(o=e.current.alternate,(i&30)===0&&!Vp(o)&&(t=us(e,i),t===2&&(a=Zs(e),a!==0&&(i=a,t=ya(e,a))),t===1))throw n=Di,Yn(e,0),Pn(e,i),ut(e,je()),n;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(s(345));case 2:Xn(e,at,rn);break;case 3:if(Pn(e,i),(i&130023424)===i&&(t=ma+500-je(),10<t)){if(gl(e,0)!==0)break;if(o=e.suspendedLanes,(o&i)!==i){tt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Eo(Xn.bind(null,e,at,rn),t);break}Xn(e,at,rn);break;case 4:if(Pn(e,i),(i&4194240)===i)break;for(t=e.eventTimes,o=-1;0<i;){var d=31-It(i);a=1<<d,d=t[d],d>o&&(o=d),i&=~a}if(i=o,i=je()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Bp(i/1960))-i,10<i){e.timeoutHandle=Eo(Xn.bind(null,e,at,rn),i);break}Xn(e,at,rn);break;case 5:Xn(e,at,rn);break;default:throw Error(s(329))}}}return ut(e,je()),e.callbackNode===n?n2.bind(null,e):null}function ya(e,t){var n=Fi;return e.current.memoizedState.isDehydrated&&(Yn(e,t).flags|=256),e=us(e,t),e!==2&&(t=at,at=n,t!==null&&wa(t)),e}function wa(e){at===null?at=e:at.push.apply(at,e)}function Vp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var o=n[i],a=o.getSnapshot;o=o.value;try{if(!Ot(a(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Pn(e,t){for(t&=~ha,t&=~rs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-It(t),i=1<<n;e[n]=-1,t&=~i}}function r2(e){if((ae&6)!==0)throw Error(s(327));Fr();var t=gl(e,0);if((t&1)===0)return ut(e,je()),null;var n=us(e,t);if(e.tag!==0&&n===2){var i=Zs(e);i!==0&&(t=i,n=ya(e,i))}if(n===1)throw n=Di,Yn(e,0),Pn(e,t),ut(e,je()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xn(e,at,rn),ut(e,je()),null}function Ca(e,t){var n=ae;ae|=1;try{return e(t)}finally{ae=n,ae===0&&(Dr=je()+500,Fl&&Cn())}}function Zn(e){_n!==null&&_n.tag===0&&(ae&6)===0&&Fr();var t=ae;ae|=1;var n=Rt.transition,i=me;try{if(Rt.transition=null,me=1,e)return e()}finally{me=i,Rt.transition=n,ae=t,(ae&6)===0&&Cn()}}function Sa(){yt=Mr.current,Se(Mr)}function Yn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,yp(n)),Me!==null)for(n=Me.return;n!==null;){var i=n;switch(Io(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&Ml();break;case 3:Or(),Se(lt),Se(Ke),Ho();break;case 5:Bo(i);break;case 4:Or();break;case 13:Se(Re);break;case 19:Se(Re);break;case 10:Fo(i.type._context);break;case 22:case 23:Sa()}n=n.return}if(Be=e,Me=e=Ln(e.current,null),We=yt=t,Ue=0,Di=null,ha=rs=Gn=0,at=Fi=null,Wn!==null){for(t=0;t<Wn.length;t++)if(n=Wn[t],i=n.interleaved,i!==null){n.interleaved=null;var o=i.next,a=n.pending;if(a!==null){var d=a.next;a.next=o,i.next=d}n.pending=i}Wn=null}return e}function i2(e,t){do{var n=Me;try{if(Do(),Wl.current=Zl,ql){for(var i=Pe.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}ql=!1}if(Kn=0,$e=ze=Pe=null,Ni=!1,Ii=0,pa.current=null,n===null||n.return===null){Ue=1,Di=t,Me=null;break}e:{var a=e,d=n.return,h=n,y=t;if(t=We,h.flags|=32768,y!==null&&typeof y=="object"&&typeof y.then=="function"){var L=y,M=h,F=M.tag;if((M.mode&1)===0&&(F===0||F===11||F===15)){var j=M.alternate;j?(M.updateQueue=j.updateQueue,M.memoizedState=j.memoizedState,M.lanes=j.lanes):(M.updateQueue=null,M.memoizedState=null)}var $=Nd(d);if($!==null){$.flags&=-257,Id($,d,h,a,t),$.mode&1&&Ld(a,L,t),t=$,y=L;var b=t.updateQueue;if(b===null){var Q=new Set;Q.add(y),t.updateQueue=Q}else b.add(y);break e}else{if((t&1)===0){Ld(a,L,t),xa();break e}y=Error(s(426))}}else if(Ee&&h.mode&1){var Te=Nd(d);if(Te!==null){(Te.flags&65536)===0&&(Te.flags|=256),Id(Te,d,h,a,t),To(jr(y,h));break e}}a=y=jr(y,h),Ue!==4&&(Ue=2),Fi===null?Fi=[a]:Fi.push(a),a=d;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var _=Rd(a,y,t);Jc(a,_);break e;case 1:h=y;var C=a.type,P=a.stateNode;if((a.flags&128)===0&&(typeof C.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(En===null||!En.has(P)))){a.flags|=65536,t&=-t,a.lanes|=t;var z=Pd(a,h,t);Jc(a,z);break e}}a=a.return}while(a!==null)}o2(n)}catch(W){t=W,Me===n&&n!==null&&(Me=n=n.return);continue}break}while(!0)}function l2(){var e=ns.current;return ns.current=Zl,e===null?Zl:e}function xa(){(Ue===0||Ue===3||Ue===2)&&(Ue=4),Be===null||(Gn&268435455)===0&&(rs&268435455)===0||Pn(Be,We)}function us(e,t){var n=ae;ae|=2;var i=l2();(Be!==e||We!==t)&&(rn=null,Yn(e,t));do try{Hp();break}catch(o){i2(e,o)}while(!0);if(Do(),ae=n,ns.current=i,Me!==null)throw Error(s(261));return Be=null,We=0,Ue}function Hp(){for(;Me!==null;)s2(Me)}function bp(){for(;Me!==null&&!mf();)s2(Me)}function s2(e){var t=c2(e.alternate,e,yt);e.memoizedProps=e.pendingProps,t===null?o2(e):Me=t,pa.current=null}function o2(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Fp(n,t,yt),n!==null){Me=n;return}}else{if(n=Ap(n,t),n!==null){n.flags&=32767,Me=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ue=6,Me=null;return}}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);Ue===0&&(Ue=5)}function Xn(e,t,n){var i=me,o=Rt.transition;try{Rt.transition=null,me=1,Qp(e,t,n,i)}finally{Rt.transition=o,me=i}return null}function Qp(e,t,n,i){do Fr();while(_n!==null);if((ae&6)!==0)throw Error(s(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(_f(e,a),e===Be&&(Me=Be=null,We=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||ls||(ls=!0,d2(pl,function(){return Fr(),null})),a=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||a){a=Rt.transition,Rt.transition=null;var d=me;me=1;var h=ae;ae|=4,pa.current=null,Up(e,n),Yd(n,e),dp(xo),Cl=!!So,xo=So=null,e.current=n,$p(n),vf(),ae=h,me=d,Rt.transition=a}else e.current=n;if(ls&&(ls=!1,_n=e,ss=o),a=e.pendingLanes,a===0&&(En=null),wf(n.stateNode),ut(e,je()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],i(o.value,{componentStack:o.stack,digest:o.digest});if(is)throw is=!1,e=va,va=null,e;return(ss&1)!==0&&e.tag!==0&&Fr(),a=e.pendingLanes,(a&1)!==0?e===ga?Ai++:(Ai=0,ga=e):Ai=0,Cn(),null}function Fr(){if(_n!==null){var e=Gu(ss),t=Rt.transition,n=me;try{if(Rt.transition=null,me=16>e?16:e,_n===null)var i=!1;else{if(e=_n,_n=null,ss=0,(ae&6)!==0)throw Error(s(331));var o=ae;for(ae|=4,V=e.current;V!==null;){var a=V,d=a.child;if((V.flags&16)!==0){var h=a.deletions;if(h!==null){for(var y=0;y<h.length;y++){var L=h[y];for(V=L;V!==null;){var M=V;switch(M.tag){case 0:case 11:case 15:Mi(8,M,a)}var F=M.child;if(F!==null)F.return=M,V=F;else for(;V!==null;){M=V;var j=M.sibling,$=M.return;if(Wd(M),M===L){V=null;break}if(j!==null){j.return=$,V=j;break}V=$}}}var b=a.alternate;if(b!==null){var Q=b.child;if(Q!==null){b.child=null;do{var Te=Q.sibling;Q.sibling=null,Q=Te}while(Q!==null)}}V=a}}if((a.subtreeFlags&2064)!==0&&d!==null)d.return=a,V=d;else e:for(;V!==null;){if(a=V,(a.flags&2048)!==0)switch(a.tag){case 0:case 11:case 15:Mi(9,a,a.return)}var _=a.sibling;if(_!==null){_.return=a.return,V=_;break e}V=a.return}}var C=e.current;for(V=C;V!==null;){d=V;var P=d.child;if((d.subtreeFlags&2064)!==0&&P!==null)P.return=d,V=P;else e:for(d=C;V!==null;){if(h=V,(h.flags&2048)!==0)try{switch(h.tag){case 0:case 11:case 15:ts(9,h)}}catch(W){Ne(h,h.return,W)}if(h===d){V=null;break e}var z=h.sibling;if(z!==null){z.return=h.return,V=z;break e}V=h.return}}if(ae=o,Cn(),Vt&&typeof Vt.onPostCommitFiberRoot=="function")try{Vt.onPostCommitFiberRoot(hl,e)}catch{}i=!0}return i}finally{me=n,Rt.transition=t}}return!1}function a2(e,t,n){t=jr(n,t),t=Rd(e,t,1),e=xn(e,t,1),t=tt(),e!==null&&(oi(e,1,t),ut(e,t))}function Ne(e,t,n){if(e.tag===3)a2(e,e,n);else for(;t!==null;){if(t.tag===3){a2(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(En===null||!En.has(i))){e=jr(n,e),e=Pd(t,e,1),t=xn(t,e,1),e=tt(),t!==null&&(oi(t,1,e),ut(t,e));break}}t=t.return}}function Wp(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),t=tt(),e.pingedLanes|=e.suspendedLanes&n,Be===e&&(We&n)===n&&(Ue===4||Ue===3&&(We&130023424)===We&&500>je()-ma?Yn(e,0):ha|=n),ut(e,t)}function u2(e,t){t===0&&((e.mode&1)===0?t=1:(t=vl,vl<<=1,(vl&130023424)===0&&(vl=4194304)));var n=tt();e=en(e,t),e!==null&&(oi(e,t,n),ut(e,n))}function qp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),u2(e,n)}function Kp(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(s(314))}i!==null&&i.delete(t),u2(e,n)}var c2;c2=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||lt.current)ot=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return ot=!1,Dp(e,t,n);ot=(e.flags&131072)!==0}else ot=!1,Ee&&(t.flags&1048576)!==0&&Hc(t,zl,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Jl(e,t),e=t.pendingProps;var o=Er(t,Ke.current);Ir(t,n),o=Wo(null,t,i,e,o,n);var a=qo();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,st(i)?(a=!0,Dl(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Uo(t),o.updater=Yl,t.stateNode=o,o._reactInternals=t,Jo(t,i,e,n),t=ra(null,t,i,!0,a,n)):(t.tag=0,Ee&&a&&No(t),et(null,t,o,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Jl(e,t),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=Zp(i),e=Tt(i,e),o){case 0:t=na(null,t,i,e,n);break e;case 1:t=Fd(null,t,i,e,n);break e;case 11:t=Od(null,t,i,e,n);break e;case 14:t=jd(null,t,i,Tt(i.type,e),n);break e}throw Error(s(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Tt(i,o),na(e,t,i,o,n);case 1:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Tt(i,o),Fd(e,t,i,o,n);case 3:e:{if(Ad(t),e===null)throw Error(s(387));i=t.pendingProps,a=t.memoizedState,o=a.element,Xc(e,t),bl(t,i,null,n);var d=t.memoizedState;if(i=d.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=jr(Error(s(423)),t),t=zd(e,t,i,n,o);break e}else if(i!==o){o=jr(Error(s(424)),t),t=zd(e,t,i,n,o);break e}else for(gt=gn(t.stateNode.containerInfo.firstChild),vt=t,Ee=!0,jt=null,n=Zc(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),i===o){t=nn(e,t,n);break e}et(e,t,i,n)}t=t.child}return t;case 5:return td(t),e===null&&jo(t),i=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,d=o.children,ko(i,o)?d=null:a!==null&&ko(i,a)&&(t.flags|=32),Dd(e,t),et(e,t,d,n),t.child;case 6:return e===null&&jo(t),null;case 13:return Ud(e,t,n);case 4:return $o(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Lr(t,null,i,n):et(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Tt(i,o),Od(e,t,i,o,n);case 7:return et(e,t,t.pendingProps,n),t.child;case 8:return et(e,t,t.pendingProps.children,n),t.child;case 12:return et(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,d=o.value,we(Bl,i._currentValue),i._currentValue=d,a!==null)if(Ot(a.value,d)){if(a.children===o.children&&!lt.current){t=nn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var h=a.dependencies;if(h!==null){d=a.child;for(var y=h.firstContext;y!==null;){if(y.context===i){if(a.tag===1){y=tn(-1,n&-n),y.tag=2;var L=a.updateQueue;if(L!==null){L=L.shared;var M=L.pending;M===null?y.next=y:(y.next=M.next,M.next=y),L.pending=y}}a.lanes|=n,y=a.alternate,y!==null&&(y.lanes|=n),Ao(a.return,n,t),h.lanes|=n;break}y=y.next}}else if(a.tag===10)d=a.type===t.type?null:a.child;else if(a.tag===18){if(d=a.return,d===null)throw Error(s(341));d.lanes|=n,h=d.alternate,h!==null&&(h.lanes|=n),Ao(d,n,t),d=a.sibling}else d=a.child;if(d!==null)d.return=a;else for(d=a;d!==null;){if(d===t){d=null;break}if(a=d.sibling,a!==null){a.return=d.return,d=a;break}d=d.return}a=d}et(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,Ir(t,n),o=Et(o),i=i(o),t.flags|=1,et(e,t,i,n),t.child;case 14:return i=t.type,o=Tt(i,t.pendingProps),o=Tt(i.type,o),jd(e,t,i,o,n);case 15:return Td(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Tt(i,o),Jl(e,t),t.tag=1,st(i)?(e=!0,Dl(t)):e=!1,Ir(t,n),Ed(t,i,o),Jo(t,i,o,n),ra(null,t,i,!0,e,n);case 19:return Bd(e,t,n);case 22:return Md(e,t,n)}throw Error(s(156,t.tag))};function d2(e,t){return bu(e,t)}function Gp(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pt(e,t,n,i){return new Gp(e,t,n,i)}function ka(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zp(e){if(typeof e=="function")return ka(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Je)return 11;if(e===Ae)return 14}return 2}function Ln(e,t){var n=e.alternate;return n===null?(n=Pt(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 cs(e,t,n,i,o,a){var d=2;if(i=e,typeof e=="function")ka(e)&&(d=1);else if(typeof e=="string")d=5;else e:switch(e){case xe:return Jn(n.children,o,a,t);case ve:d=8,o|=8;break;case ge:return e=Pt(12,n,t,o|2),e.elementType=ge,e.lanes=a,e;case Oe:return e=Pt(13,n,t,o),e.elementType=Oe,e.lanes=a,e;case Fe:return e=Pt(19,n,t,o),e.elementType=Fe,e.lanes=a,e;case Le:return ds(n,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case De:d=10;break e;case rt:d=9;break e;case Je:d=11;break e;case Ae:d=14;break e;case it:d=16,i=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Pt(d,n,t,o),t.elementType=e,t.type=i,t.lanes=a,t}function Jn(e,t,n,i){return e=Pt(7,e,i,t),e.lanes=n,e}function ds(e,t,n,i){return e=Pt(22,e,i,t),e.elementType=Le,e.lanes=n,e.stateNode={isHidden:!1},e}function Ea(e,t,n){return e=Pt(6,e,null,t),e.lanes=n,e}function _a(e,t,n){return t=Pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yp(e,t,n,i,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ys(0),this.expirationTimes=Ys(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ys(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ra(e,t,n,i,o,a,d,h,y){return e=new Yp(e,t,n,h,y),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Pt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uo(a),e}function Xp(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:fe,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}function f2(e){if(!e)return wn;e=e._reactInternals;e:{if(Bn(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(st(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var n=e.type;if(st(n))return $c(e,n,t)}return t}function p2(e,t,n,i,o,a,d,h,y){return e=Ra(n,i,!0,e,o,a,d,h,y),e.context=f2(null),n=e.current,i=tt(),o=Rn(n),a=tn(i,o),a.callback=t??null,xn(n,a,o),e.current.lanes=o,oi(e,o,i),ut(e,i),e}function fs(e,t,n,i){var o=t.current,a=tt(),d=Rn(o);return n=f2(n),t.context===null?t.context=n:t.pendingContext=n,t=tn(a,d),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=xn(o,t,d),e!==null&&(Ft(e,o,d,a),Hl(e,o,d)),d}function ps(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function h2(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Pa(e,t){h2(e,t),(e=e.alternate)&&h2(e,t)}function Jp(){return null}var m2=typeof reportError=="function"?reportError:function(e){console.error(e)};function La(e){this._internalRoot=e}hs.prototype.render=La.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));fs(e,t,null,null)},hs.prototype.unmount=La.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Zn(function(){fs(null,e,null,null)}),t[Zt]=null}};function hs(e){this._internalRoot=e}hs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hn.length&&t!==0&&t<hn[n].priority;n++);hn.splice(n,0,e),n===0&&tc(e)}};function Na(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ms(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function v2(){}function eh(e,t,n,i,o){if(o){if(typeof i=="function"){var a=i;i=function(){var L=ps(d);a.call(L)}}var d=p2(t,i,e,0,null,!1,!1,"",v2);return e._reactRootContainer=d,e[Zt]=d.current,Si(e.nodeType===8?e.parentNode:e),Zn(),d}for(;o=e.lastChild;)e.removeChild(o);if(typeof i=="function"){var h=i;i=function(){var L=ps(y);h.call(L)}}var y=Ra(e,0,!1,null,null,!1,!1,"",v2);return e._reactRootContainer=y,e[Zt]=y.current,Si(e.nodeType===8?e.parentNode:e),Zn(function(){fs(t,y,n,i)}),y}function vs(e,t,n,i,o){var a=n._reactRootContainer;if(a){var d=a;if(typeof o=="function"){var h=o;o=function(){var y=ps(d);h.call(y)}}fs(t,d,e,o)}else d=eh(n,t,e,o,i);return ps(d)}Zu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=si(t.pendingLanes);n!==0&&(Xs(t,n|1),ut(t,je()),(ae&6)===0&&(Dr=je()+500,Cn()))}break;case 13:Zn(function(){var i=en(e,1);if(i!==null){var o=tt();Ft(i,e,1,o)}}),Pa(e,1)}},Js=function(e){if(e.tag===13){var t=en(e,134217728);if(t!==null){var n=tt();Ft(t,e,134217728,n)}Pa(e,134217728)}},Yu=function(e){if(e.tag===13){var t=Rn(e),n=en(e,t);if(n!==null){var i=tt();Ft(n,e,t,i)}Pa(e,t)}},Xu=function(){return me},Ju=function(e,t){var n=me;try{return me=e,t()}finally{me=n}},Qs=function(e,t,n){switch(t){case"input":if(As(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=Tl(i);if(!o)throw Error(s(90));ku(i),As(i,o)}}}break;case"textarea":Lu(e,n);break;case"select":t=n.value,t!=null&&fr(e,!!n.multiple,t,!1)}},Au=Ca,zu=Zn;var th={usingClientEntryPoint:!1,Events:[Ei,xr,Tl,Du,Fu,Ca]},zi={findFiberByHostInstance:Vn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nh={bundleType:zi.bundleType,version:zi.version,rendererPackageName:zi.rendererPackageName,rendererConfig:zi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:te.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Vu(e),e===null?null:e.stateNode},findFiberByHostInstance:zi.findFiberByHostInstance||Jp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gs.isDisabled&&gs.supportsFiber)try{hl=gs.inject(nh),Vt=gs}catch{}}return ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=th,ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Na(t))throw Error(s(200));return Xp(e,t,null,n)},ct.createRoot=function(e,t){if(!Na(e))throw Error(s(299));var n=!1,i="",o=m2;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Ra(e,1,!1,null,null,n,!1,i,o),e[Zt]=t.current,Si(e.nodeType===8?e.parentNode:e),new La(t)},ct.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Vu(t),e=e===null?null:e.stateNode,e},ct.flushSync=function(e){return Zn(e)},ct.hydrate=function(e,t,n){if(!ms(t))throw Error(s(200));return vs(null,e,t,!0,n)},ct.hydrateRoot=function(e,t,n){if(!Na(e))throw Error(s(405));var i=n!=null&&n.hydratedSources||null,o=!1,a="",d=m2;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),t=p2(t,null,e,1,n??null,o,!1,a,d),e[Zt]=t.current,Si(e),i)for(e=0;e<i.length;e++)n=i[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new hs(t)},ct.render=function(e,t,n){if(!ms(t))throw Error(s(200));return vs(null,e,t,!1,n)},ct.unmountComponentAtNode=function(e){if(!ms(e))throw Error(s(40));return e._reactRootContainer?(Zn(function(){vs(null,null,e,!1,function(){e._reactRootContainer=null,e[Zt]=null})}),!0):!1},ct.unstable_batchedUpdates=Ca,ct.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!ms(n))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return vs(e,t,n,!1,i)},ct.version="18.3.1-next-f1338f8080-20240426",ct}var _2;function g0(){if(_2)return Ta.exports;_2=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(l){console.error(l)}}return r(),Ta.exports=dh(),Ta.exports}var R2;function fh(){if(R2)return Cs;R2=1;var r=g0();return Cs.createRoot=r.createRoot,Cs.hydrateRoot=r.hydrateRoot,Cs}var ph=fh();const hh=v0(ph);var nl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},nr,jn,zr,s0,mh=(s0=class extends nl{constructor(){super();X(this,nr);X(this,jn);X(this,zr);B(this,zr,l=>{if(typeof window<"u"&&window.addEventListener){const s=()=>l();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){w(this,jn)||this.setEventListener(w(this,zr))}onUnsubscribe(){var l;this.hasListeners()||((l=w(this,jn))==null||l.call(this),B(this,jn,void 0))}setEventListener(l){var s;B(this,zr,l),(s=w(this,jn))==null||s.call(this),B(this,jn,l(u=>{typeof u=="boolean"?this.setFocused(u):this.onFocus()}))}setFocused(l){w(this,nr)!==l&&(B(this,nr,l),this.onFocus())}onFocus(){const l=this.isFocused();this.listeners.forEach(s=>{s(l)})}isFocused(){return typeof w(this,nr)=="boolean"?w(this,nr):globalThis.document?.visibilityState!=="hidden"}},nr=new WeakMap,jn=new WeakMap,zr=new WeakMap,s0),uu=new mh,vh={setTimeout:(r,l)=>setTimeout(r,l),clearTimeout:r=>clearTimeout(r),setInterval:(r,l)=>setInterval(r,l),clearInterval:r=>clearInterval(r)},Tn,ou,o0,gh=(o0=class{constructor(){X(this,Tn,vh);X(this,ou,!1)}setTimeoutProvider(r){B(this,Tn,r)}setTimeout(r,l){return w(this,Tn).setTimeout(r,l)}clearTimeout(r){w(this,Tn).clearTimeout(r)}setInterval(r,l){return w(this,Tn).setInterval(r,l)}clearInterval(r){w(this,Tn).clearInterval(r)}},Tn=new WeakMap,ou=new WeakMap,o0),tr=new gh;function yh(r){setTimeout(r,0)}var wh=typeof window>"u"||"Deno"in globalThis;function ft(){}function Ch(r,l){return typeof r=="function"?r(l):r}function Ua(r){return typeof r=="number"&&r>=0&&r!==1/0}function y0(r,l){return Math.max(r+(l||0)-Date.now(),0)}function $n(r,l){return typeof r=="function"?r(l):r}function Ct(r,l){return typeof r=="function"?r(l):r}function P2(r,l){const{type:s="all",exact:u,fetchStatus:c,predicate:f,queryKey:p,stale:m}=r;
9if(p){if(u){if(l.queryHash!==cu(p,l.options))return!1}else if(!Ki(l.queryKey,p))return!1}if(s!=="all"){const g=l.isActive();if(s==="active"&&!g||s==="inactive"&&g)return!1}return!(typeof m=="boolean"&&l.isStale()!==m||c&&c!==l.state.fetchStatus||f&&!f(l))}function L2(r,l){const{exact:s,status:u,predicate:c,mutationKey:f}=r;if(f){if(!l.options.mutationKey)return!1;if(s){if(qi(l.options.mutationKey)!==qi(f))return!1}else if(!Ki(l.options.mutationKey,f))return!1}return!(u&&l.state.status!==u||c&&!c(l))}function cu(r,l){return(l?.queryKeyHashFn||qi)(r)}function qi(r){return JSON.stringify(r,(l,s)=>Ba(s)?Object.keys(s).sort().reduce((u,c)=>(u[c]=s[c],u),{}):s)}function Ki(r,l){return r===l?!0:typeof r!=typeof l?!1:r&&l&&typeof r=="object"&&typeof l=="object"?Object.keys(l).every(s=>Ki(r[s],l[s])):!1}var Sh=Object.prototype.hasOwnProperty;function w0(r,l,s=0){if(r===l)return r;if(s>500)return l;const u=N2(r)&&N2(l);if(!u&&!(Ba(r)&&Ba(l)))return l;const f=(u?r:Object.keys(r)).length,p=u?l:Object.keys(l),m=p.length,g=u?new Array(m):{};let S=0;for(let R=0;R<m;R++){const E=u?R:p[R],I=r[E],A=l[E];if(I===A){g[E]=I,(u?R<f:Sh.call(r,E))&&S++;continue}if(I===null||A===null||typeof I!="object"||typeof A!="object"){g[E]=A;continue}const D=w0(I,A,s+1);g[E]=D,D===I&&S++}return f===m&&S===f?r:g}function $a(r,l){if(!l||Object.keys(r).length!==Object.keys(l).length)return!1;for(const s in r)if(r[s]!==l[s])return!1;return!0}function N2(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function Ba(r){if(!I2(r))return!1;const l=r.constructor;if(l===void 0)return!0;const s=l.prototype;return!(!I2(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(r)!==Object.prototype)}function I2(r){return Object.prototype.toString.call(r)==="[object Object]"}function xh(r){return new Promise(l=>{tr.setTimeout(l,r)})}function Va(r,l,s){return typeof s.structuralSharing=="function"?s.structuralSharing(r,l):s.structuralSharing!==!1?w0(r,l):l}function kh(r,l,s=0){const u=[...r,l];return s&&u.length>s?u.slice(1):u}function Eh(r,l,s=0){const u=[l,...r];return s&&u.length>s?u.slice(0,-1):u}var du=Symbol();function C0(r,l){return!r.queryFn&&l?.initialPromise?()=>l.initialPromise:!r.queryFn||r.queryFn===du?()=>Promise.reject(new Error(`Missing queryFn: '${r.queryHash}'`)):r.queryFn}function S0(r,l){return typeof r=="function"?r(...l):!!r}function _h(r,l,s){let u=!1,c;return Object.defineProperty(r,"signal",{enumerable:!0,get:()=>(c??(c=l()),u||(u=!0,c.aborted?s():c.addEventListener("abort",s,{once:!0})),c)}),r}var Gi=(()=>{let r=()=>wh;return{isServer(){return r()},setIsServer(l){r=l}}})();function Ha(){let r,l;const s=new Promise((c,f)=>{r=c,l=f});s.status="pending",s.catch(()=>{});function u(c){Object.assign(s,c),delete s.resolve,delete s.reject}return s.resolve=c=>{u({status:"fulfilled",value:c}),r(c)},s.reject=c=>{u({status:"rejected",reason:c}),l(c)},s}var Rh=yh;function Ph(){let r=[],l=0,s=m=>{m()},u=m=>{m()},c=Rh;const f=m=>{l?r.push(m):c(()=>{s(m)})},p=()=>{const m=r;r=[],m.length&&c(()=>{u(()=>{m.forEach(g=>{s(g)})})})};return{batch:m=>{let g;l++;try{g=m()}finally{l--,l||p()}return g},batchCalls:m=>(...g)=>{f(()=>{m(...g)})},schedule:f,setNotifyFunction:m=>{s=m},setBatchNotifyFunction:m=>{u=m},setScheduler:m=>{c=m}}}var qe=Ph(),Ur,Mn,$r,a0,Lh=(a0=class extends nl{constructor(){super();X(this,Ur,!0);X(this,Mn);X(this,$r);B(this,$r,l=>{if(typeof window<"u"&&window.addEventListener){const s=()=>l(!0),u=()=>l(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",u,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",u)}}})}onSubscribe(){w(this,Mn)||this.setEventListener(w(this,$r))}onUnsubscribe(){var l;this.hasListeners()||((l=w(this,Mn))==null||l.call(this),B(this,Mn,void 0))}setEventListener(l){var s;B(this,$r,l),(s=w(this,Mn))==null||s.call(this),B(this,Mn,l(this.setOnline.bind(this)))}setOnline(l){w(this,Ur)!==l&&(B(this,Ur,l),this.listeners.forEach(u=>{u(l)}))}isOnline(){return w(this,Ur)}},Ur=new WeakMap,Mn=new WeakMap,$r=new WeakMap,a0),Ls=new Lh;function Nh(r){return Math.min(1e3*2**r,3e4)}function x0(r){return(r??"online")==="online"?Ls.isOnline():!0}
9var ba=class extends Error{constructor(r){super("CancelledError"),this.revert=r?.revert,this.silent=r?.silent}};function k0(r){let l=!1,s=0,u;const c=Ha(),f=()=>c.status!=="pending",p=O=>{if(!f()){const N=new ba(O);I(N),r.onCancel?.(N)}},m=()=>{l=!0},g=()=>{l=!1},S=()=>uu.isFocused()&&(r.networkMode==="always"||Ls.isOnline())&&r.canRun(),R=()=>x0(r.networkMode)&&r.canRun(),E=O=>{f()||(u?.(),c.resolve(O))},I=O=>{f()||(u?.(),c.reject(O))},A=()=>new Promise(O=>{u=N=>{(f()||S())&&O(N)},r.onPause?.()}).then(()=>{u=void 0,f()||r.onContinue?.()}),D=()=>{if(f())return;let O;const N=s===0?r.initialPromise:void 0;try{O=N??r.fn()}catch(q){O=Promise.reject(q)}Promise.resolve(O).then(E).catch(q=>{if(f())return;const K=r.retry??(Gi.isServer()?0:3),G=r.retryDelay??Nh,te=typeof G=="function"?G(s,q):G,le=K===!0||typeof K=="number"&&s<K||typeof K=="function"&&K(s,q);if(l||!le){I(q);return}s++,r.onFail?.(s,q),xh(te).then(()=>S()?void 0:A()).then(()=>{l?I(q):D()})})};return{promise:c,status:()=>c.status,cancel:p,continue:()=>(u?.(),c),cancelRetry:m,continueRetry:g,canStart:R,start:()=>(R()?D():A().then(D),c)}}var rr,u0,E0=(u0=class{constructor(){X(this,rr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ua(this.gcTime)&&B(this,rr,tr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(r){this.gcTime=Math.max(this.gcTime||0,r??(Gi.isServer()?1/0:300*1e3))}clearGcTimeout(){w(this,rr)!==void 0&&(tr.clearTimeout(w(this,rr)),B(this,rr,void 0))}},rr=new WeakMap,u0);function Ih(r){return{onFetch:(l,s)=>{const u=l.options,c=l.fetchOptions?.meta?.fetchMore?.direction,f=l.state.data?.pages||[],p=l.state.data?.pageParams||[];let m={pages:[],pageParams:[]},g=0;const S=async()=>{let R=!1;const E=D=>{_h(D,()=>l.signal,()=>R=!0)},I=C0(l.options,l.fetchOptions),A=async(D,O,N)=>{if(R)return Promise.reject(l.signal.reason);if(O==null&&D.pages.length)return Promise.resolve(D);const K=(()=>{const fe={client:l.client,queryKey:l.queryKey,pageParam:O,direction:N?"backward":"forward",meta:l.options.meta};return E(fe),fe})(),G=await I(K),{maxPages:te}=l.options,le=N?Eh:kh;return{pages:le(D.pages,G,te),pageParams:le(D.pageParams,O,te)}};if(c&&f.length){const D=c==="backward",O=D?_0:Qa,N={pages:f,pageParams:p},q=O(u,N);m=await A(N,q,D)}else{const D=r??f.length;do{const O=g===0?p[0]??u.initialPageParam:Qa(u,m);if(g>0&&O==null)break;m=await A(m,O),g++}while(g<D)}return m};l.options.persister?l.fetchFn=()=>l.options.persister?.(S,{client:l.client,queryKey:l.queryKey,meta:l.options.meta,signal:l.signal},s):l.fetchFn=S}}}function Qa(r,{pages:l,pageParams:s}){const u=l.length-1;return l.length>0?r.getNextPageParam(l[u],l,s[u],s):void 0}function _0(r,{pages:l,pageParams:s}){return l.length>0?r.getPreviousPageParam?.(l[0],l,s[0],s):void 0}function Nv(r,l){return l?Qa(r,l)!=null:!1}function Iv(r,l){return!l||!r.getPreviousPageParam?!1:_0(r,l)!=null}var Br,ir,Vr,Lt,lr,be,Yi,sr,wt,R0,ln,c0,Oh=(c0=class extends E0{constructor(l){super();X(this,wt);X(this,Br);X(this,ir);X(this,Vr);X(this,Lt);X(this,lr);X(this,be);X(this,Yi);X(this,sr);B(this,sr,!1),B(this,Yi,l.defaultOptions),this.setOptions(l.options),this.observers=[],B(this,lr,l.client),B(this,Lt,w(this,lr).getQueryCache()),this.queryKey=l.queryKey,this.queryHash=l.queryHash,B(this,ir,j2(this.options)),this.state=l.state??w(this,ir),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return w(this,Br)}get promise(){return w(this,be)?.promise}setOptions(l){if(this.options={...w(this,Yi),...l},l?._type&&B(this,Br,l._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=j2(this.options);s.data!==void 0&&(this.setState(O2(s.data,s.dataUpdatedAt)),B(this,ir,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&w(this,Lt).remove(this)}setData(l,s){const u=Va(this.state.data,l,this.options);return se(this,wt,ln).call(this,{data:u,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),u}setState(l){se(this,wt,ln).call(this,{type:"setState",state:l})}cancel(l){const s=w(this,be)?.promise;return w(this,be)?.cancel(l),s?s.then(ft).catch(ft):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return w(this,ir)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(l=>Ct(l.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===du||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
9Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(l=>$n(l.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(l=>l.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(l=0){return this.state.data===void 0?!0:l==="static"?!1:this.state.isInvalidated?!0:!y0(this.state.dataUpdatedAt,l)}onFocus(){this.observers.find(s=>s.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),w(this,be)?.continue()}onOnline(){this.observers.find(s=>s.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),w(this,be)?.continue()}addObserver(l){this.observers.includes(l)||(this.observers.push(l),this.clearGcTimeout(),w(this,Lt).notify({type:"observerAdded",query:this,observer:l}))}removeObserver(l){this.observers.includes(l)&&(this.observers=this.observers.filter(s=>s!==l),this.observers.length||(w(this,be)&&(w(this,sr)||se(this,wt,R0).call(this)?w(this,be).cancel({revert:!0}):w(this,be).cancelRetry()),this.scheduleGc()),w(this,Lt).notify({type:"observerRemoved",query:this,observer:l}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||se(this,wt,ln).call(this,{type:"invalidate"})}async fetch(l,s){if(this.state.fetchStatus!=="idle"&&w(this,be)?.status()!=="rejected"){if(this.state.data!==void 0&&s?.cancelRefetch)this.cancel({silent:!0});else if(w(this,be))return w(this,be).continueRetry(),w(this,be).promise}if(l&&this.setOptions(l),!this.options.queryFn){const S=this.observers.find(R=>R.options.queryFn);S&&this.setOptions(S.options)}const u=new AbortController,c=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(B(this,sr,!0),u.signal)})},f=()=>{const S=C0(this.options,s),E=(()=>{const I={client:w(this,lr),queryKey:this.queryKey,meta:this.meta};return c(I),I})();return B(this,sr,!1),this.options.persister?this.options.persister(S,E,this):S(E)},m=(()=>{const S={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:w(this,lr),state:this.state,fetchFn:f};return c(S),S})();(w(this,Br)==="infinite"?Ih(this.options.pages):this.options.behavior)?.onFetch(m,this),B(this,Vr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==m.fetchOptions?.meta)&&se(this,wt,ln).call(this,{type:"fetch",meta:m.fetchOptions?.meta}),B(this,be,k0({initialPromise:s?.initialPromise,fn:m.fetchFn,onCancel:S=>{S instanceof ba&&S.revert&&this.setState({...w(this,Vr),fetchStatus:"idle"}),u.abort()},onFail:(S,R)=>{se(this,wt,ln).call(this,{type:"failed",failureCount:S,error:R})},onPause:()=>{se(this,wt,ln).call(this,{type:"pause"})},onContinue:()=>{se(this,wt,ln).call(this,{type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0}));try{const S=await w(this,be).start();if(S===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(S),w(this,Lt).config.onSuccess?.(S,this),w(this,Lt).config.onSettled?.(S,this.state.error,this),S}catch(S){if(S instanceof ba){if(S.silent)return w(this,be).promise;if(S.revert){if(this.state.data===void 0)throw S;return this.state.data}}throw se(this,wt,ln).call(this,{type:"error",error:S}),w(this,Lt).config.onError?.(S,this),w(this,Lt).config.onSettled?.(this.state.data,S,this),S}finally{this.scheduleGc()}}},Br=new WeakMap,ir=new WeakMap,Vr=new WeakMap,Lt=new WeakMap,lr=new WeakMap,be=new WeakMap,Yi=new WeakMap,sr=new WeakMap,wt=new WeakSet,R0=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},ln=function(l){const s=u=>{switch(l.type){case"failed":return{...u,fetchFailureCount:l.failureCount,fetchFailureReason:l.error};case"pause":return{...u,fetchStatus:"paused"};case"continue":return{...u,fetchStatus:"fetching"};case"fetch":return{...u,...P0(u.data,this.options),fetchMeta:l.meta??null};case"success":const c={...u,...O2(l.data,l.dataUpdatedAt),dataUpdateCount:u.dataUpdateCount+1,...!l.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return B(this,Vr,l.manual?c:void 0),c;case"error":const f=l.error;
9return{...u,error:f,errorUpdateCount:u.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:u.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...u,isInvalidated:!0};case"setState":return{...u,...l.state}}};this.state=s(this.state),qe.batch(()=>{this.observers.forEach(u=>{u.onQueryUpdate()}),w(this,Lt).notify({query:this,type:"updated",action:l})})},c0);function P0(r,l){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:x0(l.networkMode)?"fetching":"paused",...r===void 0&&{error:null,status:"pending"}}}function O2(r,l){return{data:r,dataUpdatedAt:l??Date.now(),error:null,isInvalidated:!1,status:"success"}}function j2(r){const l=typeof r.initialData=="function"?r.initialData():r.initialData,s=l!==void 0,u=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:l,dataUpdateCount:0,dataUpdatedAt:s?u??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var dt,oe,Xi,nt,or,Hr,sn,Dn,Ji,br,Qr,ar,ur,Fn,Wr,pe,bi,Wa,qa,Ka,Ga,Za,Ya,Xa,L0,d0,jh=(d0=class extends nl{constructor(l,s){super();X(this,pe);X(this,dt);X(this,oe);X(this,Xi);X(this,nt);X(this,or);X(this,Hr);X(this,sn);X(this,Dn);X(this,Ji);X(this,br);X(this,Qr);X(this,ar);X(this,ur);X(this,Fn);X(this,Wr,new Set);this.options=s,B(this,dt,l),B(this,Dn,null),B(this,sn,Ha()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(w(this,oe).addObserver(this),T2(w(this,oe),this.options)?se(this,pe,bi).call(this):this.updateResult(),se(this,pe,Ga).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ja(w(this,oe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ja(w(this,oe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,se(this,pe,Za).call(this),se(this,pe,Ya).call(this),w(this,oe).removeObserver(this)}setOptions(l){const s=this.options,u=w(this,oe);if(this.options=w(this,dt).defaultQueryOptions(l),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ct(this.options.enabled,w(this,oe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");se(this,pe,Xa).call(this),w(this,oe).setOptions(this.options),s._defaulted&&!$a(this.options,s)&&w(this,dt).getQueryCache().notify({type:"observerOptionsUpdated",query:w(this,oe),observer:this});const c=this.hasListeners();c&&M2(w(this,oe),u,this.options,s)&&se(this,pe,bi).call(this),this.updateResult(),c&&(w(this,oe)!==u||Ct(this.options.enabled,w(this,oe))!==Ct(s.enabled,w(this,oe))||$n(this.options.staleTime,w(this,oe))!==$n(s.staleTime,w(this,oe)))&&se(this,pe,Wa).call(this);const f=se(this,pe,qa).call(this);c&&(w(this,oe)!==u||Ct(this.options.enabled,w(this,oe))!==Ct(s.enabled,w(this,oe))||f!==w(this,Fn))&&se(this,pe,Ka).call(this,f)}getOptimisticResult(l){const s=w(this,dt).getQueryCache().build(w(this,dt),l),u=this.createResult(s,l);return Mh(this,u)&&(B(this,nt,u),B(this,Hr,this.options),B(this,or,w(this,oe).state)),u}getCurrentResult(){return w(this,nt)}trackResult(l,s){return new Proxy(l,{get:(u,c)=>(this.trackProp(c),s?.(c),c==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&w(this,sn).status==="pending"&&w(this,sn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(u,c))})}trackProp(l){w(this,Wr).add(l)}getCurrentQuery(){return w(this,oe)}refetch({...l}={}){return this.fetch({...l})}fetchOptimistic(l){const s=w(this,dt).defaultQueryOptions(l),u=w(this,dt).getQueryCache().build(w(this,dt),s);return u.fetch().then(()=>this.createResult(u,s))}fetch(l){return se(this,pe,bi).call(this,{...l,cancelRefetch:l.cancelRefetch??!0}).then(()=>(this.updateResult(),w(this,nt)))}createResult(l,s){const u=w(this,oe),c=this.options,f=w(this,nt),p=w(this,or),m=w(this,Hr),S=l!==u?l.state:w(this,Xi),{state:R}=l;let E={...R},I=!1,A;if(s._optimisticResults){const ge=this.hasListeners(),De=!ge&&T2(l,s),rt=ge&&M2(l,u,s,c);(De||rt)&&(E={...E,...P0(R.data,l.options)}),s._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:D,errorUpdatedAt:O,status:N}=E;A=E.data;let q=!1;if(s.placeholderData!==void 0&&A===void 0&&N==="pending"){let ge;f?.isPlaceholderData&&s.placeholderData===m?.placeholderData?(ge=f.data,q=!0):ge=typeof s.placeholderData=="function"?s.placeholderData(w(this,Qr)?.state.data,w(this,Qr)):s.placeholderData,ge!==void 0&&(N="success",A=Va(f?.data,ge,s),I=!0)}if(s.select&&A!==void 0&&!q)if(f&&A===p?.data&&s.select===w(this,Ji))A=w(this,br);else try{B(this,Ji,s.select),A=s.select(A),A=Va(f?.data,A,s),B(this,br,A),B(this,Dn,null)}catch(ge){B(this,Dn,ge)}w(this,Dn)&&(D=w(this,Dn),A=w(this,br),O=Date.now(),N="error");const K=E.fetchStatus==="fetching",G=N==="pending",te=N==="error",le=G&&K,fe=A!==void 0,ve={status:N,fetchStatus:E.fetchStatus,isPending:G,isSuccess:N==="success",isError:te,isInitialLoading:le,isLoading:le,data:A,dataUpdatedAt:E.dataUpdatedAt,error:D,errorUpdatedAt:O,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdate
9Count:E.errorUpdateCount,isFetched:l.isFetched(),isFetchedAfterMount:E.dataUpdateCount>S.dataUpdateCount||E.errorUpdateCount>S.errorUpdateCount,isFetching:K,isRefetching:K&&!G,isLoadingError:te&&!fe,isPaused:E.fetchStatus==="paused",isPlaceholderData:I,isRefetchError:te&&fe,isStale:fu(l,s),refetch:this.refetch,promise:w(this,sn),isEnabled:Ct(s.enabled,l)!==!1};if(this.options.experimental_prefetchInRender){const ge=ve.data!==void 0,De=ve.status==="error"&&!ge,rt=Fe=>{De?Fe.reject(ve.error):ge&&Fe.resolve(ve.data)},Je=()=>{const Fe=B(this,sn,ve.promise=Ha());rt(Fe)},Oe=w(this,sn);switch(Oe.status){case"pending":l.queryHash===u.queryHash&&rt(Oe);break;case"fulfilled":(De||ve.data!==Oe.value)&&Je();break;case"rejected":(!De||ve.error!==Oe.reason)&&Je();break}}return ve}updateResult(){const l=w(this,nt),s=this.createResult(w(this,oe),this.options);if(B(this,or,w(this,oe).state),B(this,Hr,this.options),w(this,or).data!==void 0&&B(this,Qr,w(this,oe)),$a(s,l))return;B(this,nt,s);const u=()=>{if(!l)return!0;const{notifyOnChangeProps:c}=this.options,f=typeof c=="function"?c():c;if(f==="all"||!f&&!w(this,Wr).size)return!0;const p=new Set(f??w(this,Wr));return this.options.throwOnError&&p.add("error"),Object.keys(w(this,nt)).some(m=>{const g=m;return w(this,nt)[g]!==l[g]&&p.has(g)})};se(this,pe,L0).call(this,{listeners:u()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&se(this,pe,Ga).call(this)}},dt=new WeakMap,oe=new WeakMap,Xi=new WeakMap,nt=new WeakMap,or=new WeakMap,Hr=new WeakMap,sn=new WeakMap,Dn=new WeakMap,Ji=new WeakMap,br=new WeakMap,Qr=new WeakMap,ar=new WeakMap,ur=new WeakMap,Fn=new WeakMap,Wr=new WeakMap,pe=new WeakSet,bi=function(l){se(this,pe,Xa).call(this);let s=w(this,oe).fetch(this.options,l);return l?.throwOnError||(s=s.catch(ft)),s},Wa=function(){se(this,pe,Za).call(this);const l=$n(this.options.staleTime,w(this,oe));if(Gi.isServer()||w(this,nt).isStale||!Ua(l))return;const u=y0(w(this,nt).dataUpdatedAt,l)+1;B(this,ar,tr.setTimeout(()=>{w(this,nt).isStale||this.updateResult()},u))},qa=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(w(this,oe)):this.options.refetchInterval)??!1},Ka=function(l){se(this,pe,Ya).call(this),B(this,Fn,l),!(Gi.isServer()||Ct(this.options.enabled,w(this,oe))===!1||!Ua(w(this,Fn))||w(this,Fn)===0)&&B(this,ur,tr.setInterval(()=>{(this.options.refetchIntervalInBackground||uu.isFocused())&&se(this,pe,bi).call(this)},w(this,Fn)))},Ga=function(){se(this,pe,Wa).call(this),se(this,pe,Ka).call(this,se(this,pe,qa).call(this))},Za=function(){w(this,ar)!==void 0&&(tr.clearTimeout(w(this,ar)),B(this,ar,void 0))},Ya=function(){w(this,ur)!==void 0&&(tr.clearInterval(w(this,ur)),B(this,ur,void 0))},Xa=function(){const l=w(this,dt).getQueryCache().build(w(this,dt),this.options);if(l===w(this,oe))return;const s=w(this,oe);B(this,oe,l),B(this,Xi,l.state),this.hasListeners()&&(s?.removeObserver(this),l.addObserver(this))},L0=function(l){qe.batch(()=>{l.listeners&&this.listeners.forEach(s=>{s(w(this,nt))}),w(this,dt).getQueryCache().notify({query:w(this,oe),type:"observerResultsUpdated"})})},d0);function Th(r,l){return Ct(l.enabled,r)!==!1&&r.state.data===void 0&&!(r.state.status==="error"&&Ct(l.retryOnMount,r)===!1)}function T2(r,l){return Th(r,l)||r.state.data!==void 0&&Ja(r,l,l.refetchOnMount)}function Ja(r,l,s){if(Ct(l.enabled,r)!==!1&&$n(l.staleTime,r)!=="static"){const u=typeof s=="function"?s(r):s;return u==="always"||u!==!1&&fu(r,l)}return!1}function M2(r,l,s,u){return(r!==l||Ct(u.enabled,r)===!1)&&(!s.suspense||r.state.status!=="error")&&fu(r,s)}function fu(r,l){return Ct(l.enabled,r)!==!1&&r.isStaleByTime($n(l.staleTime,r))}function Mh(r,l){return!$a(r.getCurrentResult(),l)}var el,qt,Xe,cr,Kt,In,f0,Dh=(f0=class extends E0{constructor(l){super();X(this,Kt);X(this,el);X(this,qt);X(this,Xe);X(this,cr);B(this,el,l.client),this.mutationId=l.mutationId,B(this,Xe,l.mutationCache),B(this,qt,[]),this.state=l.state||Fh(),this.setOptions(l.options),this.scheduleGc()}setOptions(l){this.options=l,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(l){w(this,qt).includes(l)||(w(this,qt).push(l),this.clearGcTimeout(),w(this,Xe).notify({type:"observerAdded",mutation:this,observer:l}))}removeObserver(l){B(this,qt,w(this,qt).filter(s=>s!==l)),this.scheduleGc(),w(this,Xe).notify({type:"observerRemoved",mutation:this,observer:l})}optionalRemove(){w(this,qt).length||(this.state.status==="pending"?this.scheduleGc():w(this,Xe).remove(this))}continue(){return w(this,cr)?.continue()??this.execute(this.state.variables)}async execute(l){const s=()=>{se(this,Kt,In).call(this,{type:"continue"})},u={client:w(this,el),meta:this.options.meta,mutationKey:this.options.mutationKey};B(this,cr,k0({fn:()=>
9this.options.mutationFn?this.options.mutationFn(l,u):Promise.reject(new Error("No mutationFn found")),onFail:(p,m)=>{se(this,Kt,In).call(this,{type:"failed",failureCount:p,error:m})},onPause:()=>{se(this,Kt,In).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>w(this,Xe).canRun(this)}));const c=this.state.status==="pending",f=!w(this,cr).canStart();try{if(c)s();else{se(this,Kt,In).call(this,{type:"pending",variables:l,isPaused:f}),w(this,Xe).config.onMutate&&await w(this,Xe).config.onMutate(l,this,u);const m=await this.options.onMutate?.(l,u);m!==this.state.context&&se(this,Kt,In).call(this,{type:"pending",context:m,variables:l,isPaused:f})}const p=await w(this,cr).start();return await w(this,Xe).config.onSuccess?.(p,l,this.state.context,this,u),await this.options.onSuccess?.(p,l,this.state.context,u),await w(this,Xe).config.onSettled?.(p,null,this.state.variables,this.state.context,this,u),await this.options.onSettled?.(p,null,l,this.state.context,u),se(this,Kt,In).call(this,{type:"success",data:p}),p}catch(p){try{await w(this,Xe).config.onError?.(p,l,this.state.context,this,u)}catch(m){Promise.reject(m)}try{await this.options.onError?.(p,l,this.state.context,u)}catch(m){Promise.reject(m)}try{await w(this,Xe).config.onSettled?.(void 0,p,this.state.variables,this.state.context,this,u)}catch(m){Promise.reject(m)}try{await this.options.onSettled?.(void 0,p,l,this.state.context,u)}catch(m){Promise.reject(m)}throw se(this,Kt,In).call(this,{type:"error",error:p}),p}finally{w(this,Xe).runNext(this)}}},el=new WeakMap,qt=new WeakMap,Xe=new WeakMap,cr=new WeakMap,Kt=new WeakSet,In=function(l){const s=u=>{switch(l.type){case"failed":return{...u,failureCount:l.failureCount,failureReason:l.error};
9case"pause":return{...u,isPaused:!0};case"continue":return{...u,isPaused:!1};case"pending":return{...u,context:l.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:l.isPaused,status:"pending",variables:l.variables,submittedAt:Date.now()};case"success":return{...u,data:l.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...u,data:void 0,error:l.error,failureCount:u.failureCount+1,failureReason:l.error,isPaused:!1,status:"error"}}};this.state=s(this.state),qe.batch(()=>{w(this,qt).forEach(u=>{u.onMutationUpdate(l)}),w(this,Xe).notify({mutation:this,type:"updated",action:l})})},f0);function Fh(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var on,At,tl,p0,Ah=(p0=class extends nl{constructor(l={}){super();X(this,on);X(this,At);X(this,tl);this.config=l,B(this,on,new Set),B(this,At,new Map),B(this,tl,0)}build(l,s,u){const c=new Dh({client:l,mutationCache:this,mutationId:++ws(this,tl)._,options:l.defaultMutationOptions(s),state:u});return this.add(c),c}add(l){w(this,on).add(l);const s=Ss(l);if(typeof s=="string"){const u=w(this,At).get(s);u?u.push(l):w(this,At).set(s,[l])}this.notify({type:"added",mutation:l})}remove(l){if(w(this,on).delete(l)){const s=Ss(l);if(typeof s=="string"){const u=w(this,At).get(s);if(u)if(u.length>1){const c=u.indexOf(l);c!==-1&&u.splice(c,1)}else u[0]===l&&w(this,At).delete(s)}}this.notify({type:"removed",mutation:l})}canRun(l){const s=Ss(l);if(typeof s=="string"){const c=w(this,At).get(s)?.find(f=>f.state.status==="pending");return!c||c===l}else return!0}runNext(l){const s=Ss(l);return typeof s=="string"?w(this,At).get(s)?.find(c=>c!==l&&c.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){qe.batch(()=>{w(this,on).forEach(l=>{this.notify({type:"removed",mutation:l})}),w(this,on).clear(),w(this,At).clear()})}getAll(){return Array.from(w(this,on))}find(l){const s={exact:!0,...l};return this.getAll().find(u=>L2(s,u))}findAll(l={}){return this.getAll().filter(s=>L2(l,s))}notify(l){qe.batch(()=>{this.listeners.forEach(s=>{s(l)})})}resumePausedMutations(){const l=this.getAll().filter(s=>s.state.isPaused);return qe.batch(()=>Promise.all(l.map(s=>s.continue().catch(ft))))}},on=new WeakMap,At=new WeakMap,tl=new WeakMap,p0);function Ss(r){return r.options.scope?.id}var Gt,h0,zh=(h0=class extends nl{constructor(l={}){super();X(this,Gt);this.config=l,B(this,Gt,new Map)}build(l,s,u){const c=s.queryKey,f=s.queryHash??cu(c,s);let p=this.get(f);return p||(p=new Oh({client:l,queryKey:c,queryHash:f,options:l.defaultQueryOptions(s),state:u,defaultOptions:l.getQueryDefaults(c)}),this.add(p)),p}add(l){w(this,Gt).has(l.queryHash)||(w(this,Gt).set(l.queryHash,l),this.notify({type:"added",query:l}))}remove(l){const s=w(this,Gt).get(l.queryHash);s&&(l.destroy(),s===l&&w(this,Gt).delete(l.queryHash),this.notify({type:"removed",query:l}))}clear(){qe.batch(()=>{this.getAll().forEach(l=>{this.remove(l)})})}get(l){return w(this,Gt).get(l)}getAll(){return[...w(this,Gt).values()]}find(l){const s={exact:!0,...l};return this.getAll().find(u=>P2(s,u))}findAll(l={}){const s=this.getAll();return Object.keys(l).length>0?s.filter(u=>P2(l,u)):s}notify(l){qe.batch(()=>{this.listeners.forEach(s=>{s(l)})})}onFocus(){qe.batch(()=>{this.getAll().forEach(l=>{l.onFocus()})})}onOnline(){qe.batch(()=>{this.getAll().forEach(l=>{l.onOnline()})})}},Gt=new WeakMap,h0),Ie,An,zn,qr,Kr,Un,Gr,Zr,m0,Uh=(m0=class{constructor(r={}){X(this,Ie);X(this,An);X(this,zn);X(this,qr);X(this,Kr);X(this,Un);X(this,Gr);X(this,Zr);B(this,Ie,r.queryCache||new zh),B(this,An,r.mutationCache||new Ah),B(this,zn,r.defaultOptions||{}),B(this,qr,new Map),B(this,Kr,new Map),B(this,Un,0)}mount(){ws(this,Un)._++,w(this,Un)===1&&(B(this,Gr,uu.subscribe(async r=>{r&&(await this.resumePausedMutations(),w(this,Ie).onFocus())})),B(this,Zr,Ls.subscribe(async r=>{r&&(await this.resumePausedMutations(),w(this,Ie).onOnline())})))}unmount(){var r,l;ws(this,Un)._--,w(this,Un)===0&&((r=w(this,Gr))==null||r.call(this),B(this,Gr,void 0),(l=w(this,Zr))==null||l.call(this),B(this,Zr,void 0))}isFetching(r){return w(this,Ie).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return w(this,An).findAll({...r,status:"pending"}).length}getQueryData(r){const l=this.defaultQueryOptions({queryKey:r});return w(this,Ie).get(l.queryHash)?.state.data}ensureQueryData(r){const l=this.defaultQueryOptions(r),s=w(this,Ie).build(this,l),u=s.state.data;return u===void 0?this.fetchQuery(r):(r.revalidateIfStale&&s.isStaleByTime($n(l.staleTime,s))&&this.prefetchQuery(l),Promise.resolve(u))}getQueriesData(r){return w(this,Ie).findAll(r).map(({queryKey:l,state:s})=>{const u=s.data;return[l,u]})}setQueryData(r,l,s){const u=this.defaultQueryOptions({queryKey:r}),f=w(this,Ie).get(u.queryHash)?.state.data,p=Ch(l,f);if(p!==void 0)return w(this,Ie).build(this,u).setData(p,{...s,manual:!0})}
9setQueriesData(r,l,s){return qe.batch(()=>w(this,Ie).findAll(r).map(({queryKey:u})=>[u,this.setQueryData(u,l,s)]))}getQueryState(r){const l=this.defaultQueryOptions({queryKey:r});return w(this,Ie).get(l.queryHash)?.state}removeQueries(r){const l=w(this,Ie);qe.batch(()=>{l.findAll(r).forEach(s=>{l.remove(s)})})}resetQueries(r,l){const s=w(this,Ie);return qe.batch(()=>(s.findAll(r).forEach(u=>{u.reset()}),this.refetchQueries({type:"active",...r},l)))}cancelQueries(r,l={}){const s={revert:!0,...l},u=qe.batch(()=>w(this,Ie).findAll(r).map(c=>c.cancel(s)));return Promise.all(u).then(ft).catch(ft)}invalidateQueries(r,l={}){return qe.batch(()=>(w(this,Ie).findAll(r).forEach(s=>{s.invalidate()}),r?.refetchType==="none"?Promise.resolve():this.refetchQueries({...r,type:r?.refetchType??r?.type??"active"},l)))}refetchQueries(r,l={}){const s={...l,cancelRefetch:l.cancelRefetch??!0},u=qe.batch(()=>w(this,Ie).findAll(r).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,s);return s.throwOnError||(f=f.catch(ft)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(u).then(ft)}fetchQuery(r){const l=this.defaultQueryOptions(r);l.retry===void 0&&(l.retry=!1);const s=w(this,Ie).build(this,l);return s.isStaleByTime($n(l.staleTime,s))?s.fetch(l):Promise.resolve(s.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(ft).catch(ft)}fetchInfiniteQuery(r){return r._type="infinite",this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(ft).catch(ft)}ensureInfiniteQueryData(r){return r._type="infinite",this.ensureQueryData(r)}resumePausedMutations(){return Ls.isOnline()?w(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return w(this,Ie)}getMutationCache(){return w(this,An)}getDefaultOptions(){return w(this,zn)}setDefaultOptions(r){B(this,zn,r)}setQueryDefaults(r,l){w(this,qr).set(qi(r),{queryKey:r,defaultOptions:l})}getQueryDefaults(r){const l=[...w(this,qr).values()],s={};return l.forEach(u=>{Ki(r,u.queryKey)&&Object.assign(s,u.defaultOptions)}),s}setMutationDefaults(r,l){w(this,Kr).set(qi(r),{mutationKey:r,defaultOptions:l})}getMutationDefaults(r){const l=[...w(this,Kr).values()],s={};return l.forEach(u=>{Ki(r,u.mutationKey)&&Object.assign(s,u.defaultOptions)}),s}defaultQueryOptions(r){if(r._defaulted)return r;const l={...w(this,zn).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return l.queryHash||(l.queryHash=cu(l.queryKey,l)),l.refetchOnReconnect===void 0&&(l.refetchOnReconnect=l.networkMode!=="always"),l.throwOnError===void 0&&(l.throwOnError=!!l.suspense),!l.networkMode&&l.persister&&(l.networkMode="offlineFirst"),l.queryFn===du&&(l.enabled=!1),l}defaultMutationOptions(r){return r?._defaulted?r:{...w(this,zn).mutations,...r?.mutationKey&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){w(this,Ie).clear(),w(this,An).clear()}},Ie=new WeakMap,An=new WeakMap,zn=new WeakMap,qr=new WeakMap,Kr=new WeakMap,Un=new WeakMap,Gr=new WeakMap,Zr=new WeakMap,m0),N0=x.createContext(void 0),I0=r=>{const l=x.useContext(N0);if(!l)throw new Error("No QueryClient set, use QueryClientProvider to set one");return l},$h=({client:r,children:l})=>(x.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),v.jsx(N0.Provider,{value:r,children:l})),O0=x.createContext(!1),Bh=()=>x.useContext(O0);O0.Provider;function Vh(){let r=!1;return{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r}}var Hh=x.createContext(Vh()),bh=()=>x.useContext(Hh),Qh=(r,l,s)=>{const u=s?.state.error&&typeof r.throwOnError=="function"?S0(r.throwOnError,[s.state.error,s]):r.throwOnError;(r.suspense||r.experimental_prefetchInRender||u)&&(l.isReset()||(r.retryOnMount=!1))},Wh=r=>{x.useEffect(()=>{r.clearReset()},[r])},qh=({result:r,errorResetBoundary:l,throwOnError:s,query:u,suspense:c})=>r.isError&&!l.isReset()&&!r.isFetching&&u&&(c&&r.data===void 0||S0(s,[r.error,u])),Kh=r=>{if(r.suspense){const s=c=>c==="static"?c:Math.max(c??1e3,1e3),u=r.staleTime;r.staleTime=typeof u=="function"?(...c)=>s(u(...c)):s(u),typeof r.gcTime=="number"&&(r.gcTime=Math.max(r.gcTime,1e3))}},Gh=(r,l)=>r.isLoading&&r.isFetching&&!l,Zh=(r,l)=>r?.suspense&&l.isPending,D2=(r,l,s)=>l.fetchOptimistic(r).catch(()=>{s.clearReset()});function Yh(r,l,s){const u=Bh(),c=bh(),f=I0(),p=f.defaultQueryOptions(r);f.getDefaultOptions().queries?._experimental_beforeQuery?.(p);const m=f.getQueryCache().get(p.queryHash),g=r.subscribed!==!1;p._optimisticResults=u?"isRestoring":g?"optimistic":void 0,Kh(p),Qh(p,c,m),Wh(c);const S=!f.getQueryCache().get(p.queryHash),[R]=x.useState(()=>new l(f,p)),E=R.getOptimisticResult(p),I=!u&&g;if(x.useSyncExternalStore(x.useCallback(A=>{const D=I?R.subscribe(qe.batchCalls(A)):ft;return R.updateResult(),D}
9,[R,I]),()=>R.getCurrentResult(),()=>R.getCurrentResult()),x.useEffect(()=>{R.setOptions(p)},[p,R]),Zh(p,E))throw D2(p,R,c);if(qh({result:E,errorResetBoundary:c,throwOnError:p.throwOnError,query:m,suspense:p.suspense}))throw E.error;return f.getDefaultOptions().queries?._experimental_afterQuery?.(p,E),p.experimental_prefetchInRender&&!Gi.isServer()&&Gh(E,u)&&(S?D2(p,R,c):m?.promise)?.catch(ft).finally(()=>{R.updateResult()}),p.notifyOnChangeProps?E:R.trackResult(E)}function eu(r,l){return Yh(r,jh)}const Xh="modulepreload",Jh=function(r){return"/"+r},F2={},$t=function(l,s,u){let c=Promise.resolve();if(s&&s.length>0){let p=function(S){return Promise.all(S.map(R=>Promise.resolve(R).then(E=>({status:"fulfilled",value:E}),E=>({status:"rejected",reason:E}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),g=m?.nonce||m?.getAttribute("nonce");c=p(s.map(S=>{if(S=Jh(S),S in F2)return;F2[S]=!0;const R=S.endsWith(".css"),E=R?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${S}"]${E}`))return;const I=document.createElement("link");if(I.rel=R?"stylesheet":Xh,R||(I.as="script"),I.crossOrigin="",I.href=S,g&&I.setAttribute("nonce",g),document.head.appendChild(I),R)return new Promise((A,D)=>{I.addEventListener("load",A),I.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${S}`)))})}))}function f(p){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=p,window.dispatchEvent(m),!m.defaultPrevented)throw p}return c.then(p=>{for(const m of p||[])m.status==="rejected"&&f(m.reason);return l().catch(f)})};var pu=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,j0=/^[\\/]{2}/;function e1(r,l){return l+r.replace(/\\/g,"/")}var A2="popstate";function z2(r){return typeof r=="object"&&r!=null&&"pathname"in r&&"search"in r&&"hash"in r&&"state"in r&&"key"in r}function t1(r={}){function l(u,c){let f=c.state?.masked,{pathname:p,search:m,hash:g}=f||u.location;return tu("",{pathname:p,search:m,hash:g},c.state&&c.state.usr||null,c.state&&c.state.key||"default",f?{pathname:u.location.pathname,search:u.location.search,hash:u.location.hash}:void 0)}function s(u,c){return typeof c=="string"?c:Zi(c)}return r1(l,s,null,r)}function _e(r,l){if(r===!1||r===null||typeof r>"u")throw new Error(l)}function Nt(r,l){if(!r){typeof console<"u"&&console.warn(l);try{throw new Error(l)}catch{}}}function n1(){return Math.random().toString(36).substring(2,10)}function U2(r,l){return{usr:r.state,key:r.key,idx:l,masked:r.mask?{pathname:r.pathname,search:r.search,hash:r.hash}:void 0}}function tu(r,l,s=null,u,c){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof l=="string"?Yr(l):l,state:s,key:l&&l.key||u||n1(),mask:c}}function Zi({pathname:r="/",search:l="",hash:s=""}){return l&&l!=="?"&&(r+=l.charAt(0)==="?"?l:"?"+l),s&&s!=="#"&&(r+=s.charAt(0)==="#"?s:"#"+s),r}function Yr(r){let l={};if(r){let s=r.indexOf("#");s>=0&&(l.hash=r.substring(s),r=r.substring(0,s));let u=r.indexOf("?");u>=0&&(l.search=r.substring(u),r=r.substring(0,u)),r&&(l.pathname=r)}return l}function r1(r,l,s,u={}){let{window:c=document.defaultView,v5Compat:f=!1}=u,p=c.history,m="POP",g=null,S=R();S==null&&(S=0,p.replaceState({...p.state,idx:S},""));function R(){return(p.state||{idx:null}).idx}function E(){m="POP";let N=R(),q=N==null?null:N-S;S=N,g&&g({action:m,location:O.location,delta:q})}function I(N,q){m="PUSH";let K=z2(N)?N:tu(O.location,N,q);S=R()+1;let G=U2(K,S),te=O.createHref(K.mask||K);try{p.pushState(G,"",te)}catch(le){if(le instanceof DOMException&&le.name==="DataCloneError")throw le;c.location.assign(te)}f&&g&&g({action:m,location:O.location,delta:1})}function A(N,q){m="REPLACE";let K=z2(N)?N:tu(O.location,N,q);S=R();let G=U2(K,S),te=O.createHref(K.mask||K);p.replaceState(G,"",te),f&&g&&g({action:m,location:O.location,delta:0})}function D(N){return i1(c,N)}let O={get action(){return m},get location(){return r(c,p)},listen(N){if(g)throw new Error("A history only accepts one active listener");return c.addEventListener(A2,E),g=N,()=>{c.removeEventListener(A2,E),g=null}},createHref(N){return l(c,N)},createURL:D,encodeLocation(N){let q=D(N);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:I,replace:A,go(N){return p.go(N)}};return O}function i1(r,l,s=!1){let u="http://localhost";r&&(u=r.location.origin!=="null"?r.location.origin:r.location.href),_e(u,"No window.location.(origin|href) available to create URL");let c=typeof l=="string"?l:Zi(l);return c=c.replace(/ $/,"%20"),!s&&j0.test(c)&&(c=u+c),new URL(c,u)}function T0(r,l,s="/"){return l1(r,l,s,!1)}function l1(r,l,s,u,c){let f=typeof l=="string"?Yr(l):l,p=un(f.pathname||"/",s);if(p==null)return null;let m=s1(r),g=null,S=g1(p);for(let R=0;g==null&&R<m.length;++R)g=v1(m[R],S,u);return g}function s1(r){let l=M0(r);return o1(l),l}function M0(r,l=[],s=[],u="",c=!1){let f=(p,m,g=c,S)=>{let R={relativePath:S===void 0?p.path||"":S,caseSensitive:p.caseSensitive===!0,childrenIndex:m,route:p};if(R.relativePath.startsWith("/")){if(!R.relativePath.startsWith(u)&&g)return;_e(R.relativePath.startsWith(u),`Absolute route path "${R.relativePath}" nested under path "${u}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),R.relativePath=R.relativePath.slice(u.length)}let E=zt([u,R.relativePath]),I=s.concat(R);p.children&&p.children.length>0&&(_e(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),M0(p.children,l,I,E,g)),!(p.path==null&&!p.index)&&l.push({path:E,score:h1(E,p.index),routesMeta:I.map((A,D)=>{let[O,N]=A0(A.relativePath,A.caseSensitive,D===I.length-1);return{...A,matcher:O,compiledParams:N}})})};return r.forEach((p,m)=>{if(p.path===""||!p.path?.includes("?"))f(p,m);else for(let g of D0(p.path))f(p,m,!0,g)}),l}function D0(r){let l=r.split("/");if(l.length===0)return[];let[s,...u]=l,c=s.endsWith("?"),f=s.replace(/\?$/,"");if(u.length===0)return c?[f,""]:[f];let p=D0(u.join("/")),m=[];return m.push(...p.map(g=>g===""?f:[f,g].join("/"))),c&&m.push(...p),m.map(g=>r.startsWith("/")&&g===""?"/":g)}function o1(r){r.sort((l,s)=>l.score!==s.score?s.score-l.score:m1(l.routesMeta.map(u=>u.childrenIndex),s.routesMeta.map(u=>u.childrenIndex)))}var a1=/^:[\w-]+$/,u1=3,c1=2,d1=1,f1=10,p1=-2,$2=r=>r==="*";function h1(r,l){let s=r.split("/"),u=s.length;return s.some($2)&&(u+=p1),l&&(u+=c1),s.filter(c=>!$2(c)).reduce((c,f)=>c+(a1.test(f)?u1:f===""?d1:f1),u)}function m1(r,l){return r.length===l.length&&r.slice(0,-1).every((u,c)=>u===l[c])?r[r.length-1]-l[l.length-1]:0}function v1(r,l,s=!1){let{routesMeta:u}=r,c={},f="/",p=[];for(let m=0;m<u.length;++m){let g=u[m],S=m===u.length-1,R=f==="/"?l:l.slice(f.length)||"/",E={path:g.relativePath,caseSensitive:g.caseSensitive,end:S},I=g.matcher&&g.compiledParams?F0(E,R,g.matcher,g.compiledParams):Ns(E,R),A=g.route;if(!I&&S&&s&&!u[u.length-1].route.index&&(I=Ns({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},R)),!I)return null;
9Object.assign(c,I.params),p.push({params:c,pathname:zt([f,I.pathname]),pathnameBase:C1(zt([f,I.pathnameBase])),route:A}),I.pathnameBase!=="/"&&(f=zt([f,I.pathnameBase]))}return p}function Ns(r,l){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,u]=A0(r.path,r.caseSensitive,r.end);return F0(r,l,s,u)}function F0(r,l,s,u){let c=l.match(s);if(!c)return null;let f=c[0],p=f.replace(/(.)\/+$/,"$1"),m=c.slice(1);return{params:u.reduce((S,{paramName:R,isOptional:E},I)=>{if(R==="*"){let D=m[I]||"";p=f.slice(0,f.length-D.length).replace(/(.)\/+$/,"$1")}const A=m[I];return E&&!A?S[R]=void 0:S[R]=(A||"").replace(/%2F/g,"/"),S},{}),pathname:f,pathnameBase:p,pattern:r}}function A0(r,l=!1,s=!0){Nt(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let u=[],c="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,m,g,S,R)=>{if(u.push({paramName:m,isOptional:g!=null}),g){let E=R.charAt(S+p.length);return E&&E!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return r.endsWith("*")?(u.push({paramName:"*"}),c+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?c+="\\/*$":r!==""&&r!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,l?void 0:"i"),u]}function g1(r){try{return r.split("/").map(l=>decodeURIComponent(l).replace(/\//g,"%2F")).join("/")}catch(l){return Nt(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${l}).`),r}}function un(r,l){if(l==="/")return r;if(!r.toLowerCase().startsWith(l.toLowerCase()))return null;let s=l.endsWith("/")?l.length-1:l.length,u=r.charAt(s);return u&&u!=="/"?null:r.slice(s)||"/"}function y1(r,l="/"){let{pathname:s,search:u="",hash:c=""}=typeof r=="string"?Yr(r):r,f;return s?(s=z0(s),s.startsWith("/")?f=B2(s.substring(1),"/"):f=B2(s,l)):f=l,{pathname:f,search:S1(u),hash:x1(c)}}function B2(r,l){let s=Is(l).split("/");return r.split("/").forEach(c=>{c===".."?s.length>1&&s.pop():c!=="."&&s.push(c)}),s.length>1?s.join("/"):"/"}function Fa(r,l,s,u){return`Cannot include a '${r}' character in a manually specified \`to.${l}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function w1(r){return r.filter((l,s)=>s===0||l.route.path&&l.route.path.length>0)}function hu(r){let l=w1(r);return l.map((s,u)=>u===l.length-1?s.pathname:s.pathnameBase)}function js(r,l,s,u=!1){let c;typeof r=="string"?c=Yr(r):(c={...r},_e(!c.pathname||!c.pathname.includes("?"),Fa("?","pathname","search",c)),_e(!c.pathname||!c.pathname.includes("#"),Fa("#","pathname","hash",c)),_e(!c.search||!c.search.includes("#"),Fa("#","search","hash",c)));let f=r===""||c.pathname==="",p=f?"/":c.pathname,m;if(p==null)m=s;else{let E=l.length-1;if(!u&&p.startsWith("..")){let I=p.split("/");for(;I[0]==="..";)I.shift(),E-=1;c.pathname=I.join("/")}m=E>=0?l[E]:"/"}let g=y1(c,m),S=p&&p!=="/"&&p.endsWith("/"),R=(f||p===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(S||R)&&(g.pathname+="/"),g}var z0=r=>r.replace(/[\\/]{2,}/g,"/"),zt=r=>z0(r.join("/")),Is=r=>r.replace(/\/+$/,""),C1=r=>Is(r).replace(/^\/*/,"/"),S1=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,x1=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,k1=class{constructor(r,l,s,u=!1){this.status=r,this.statusText=l||"",this.internal=u,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function E1(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}function _1(r){let l=r.map(s=>s.route.path).filter(Boolean);return zt(l)||"/"}var U0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $0(r,l){let s=r;if(typeof s!="string"||!pu.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let u=s,c=!1;if(U0)try{let f=new URL(window.location.href),p=j0.test(s)?new URL(e1(s,f.protocol)):new URL(s),m=un(p.pathname,l);p.origin===f.origin&&m!=null?s=m+p.search+p.hash:c=!0}catch{Nt(!1,`<Link to="${s}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:u,isExternal:c,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var B0=["POST","PUT","PATCH","DELETE"];new Set(B0);var R1=["GET",...B0];new Set(R1);var P1=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function L1(r){try{return P1.includes(new URL(r).protocol)}catch{return!1}}var Xr=x.createContext(null);Xr.displayName="DataRouter";var Ts=x.createContext(null);Ts.displayName="DataRouterState";var V0=x.createContext(!1);function N1(){return x.useContext(V0)}var H0=x.createContext({isTransitioning:!1});H0.displayName="ViewTransition";var I1=x.createContext(new Map);I1.displayName="Fetchers";var O1=x.createContext(null);O1.displayName="Await";var St=x.createContext(null);St.displayName="Navigation";var rl=x.createContext(null);rl.displayName="Location";var Bt=x.createContext({outlet:null,matches:[],isDataRoute:!1});Bt.displayName="Route";var mu=x.createContext(null);mu.displayName="RouteError";var b0="REACT_ROUTER_ERROR",j1="REDIRECT",T1="ROUTE_ERROR_RESPONSE";function M1(r){if(r.startsWith(`${b0}:${j1}:{`))try{let l=JSON.parse(r.slice(28));if(typeof l=="object"&&l&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.location=="string"&&typeof l.reloadDocument=="boolean"&&typeof l.replace=="boolean")return l}catch{}}function D1(r){if(r.startsWith(`${b0}:${T1}:{`))try{let l=JSON.parse(r.slice(40));if(typeof l=="object"&&l&&typeof l.status=="number"&&typeof l.statusText=="string")return new k1(l.status,l.statusText,l.data)}catch{}}function F1(r,{relative:l}={}){_e(Jr(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:u}=x.useContext(St),{hash:c,pathname:f,search:p}=ll(r,{relative:l}),m=f;return s!=="/"&&(m=f==="/"?s:zt([s,f])),u.createHref({pathname:m,search:p,hash:c})}function Jr(){return x.useContext(rl)!=null}function pt(){return _e(Jr(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(rl).location}var Q0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function W0(r){x.useContext(St).static||x.useLayoutEffect(r)}function il(){let{isDataRoute:r}=x.useContext(Bt);return r?Z1():A1()}function A1(){_e(Jr(),"useNavigate() may be used only in the context of a <Router> component.");let r=x.useContext(Xr),{basename:l,navigator:s}=x.useContext(St),{matches:u}=x.useContext(Bt),{pathname:c}=pt(),f=JSON.stringify(hu(u)),p=x.useRef(!1);return W0(()=>{p.current=!0}),x.useCallback((g,S={})=>{if(Nt(p.current,Q0),!p.current)return;if(typeof g=="number"){s.go(g);return}let R=js(g,JSON.parse(f),c,S.relative==="path");r==null&&l!=="/"&&(R.pathname=R.pathname==="/"?l:zt([l,R.pathname])),(S.replace?s.replace:s.push)(R,S.state,S)},[l,s,f,c,r])}x.createContext(null);function z1(){let{matches:r}=x.useContext(Bt);return r[r.length-1]?.params??{}}function ll(r,{relative:l}={}){let{matches:s}=x.useContext(Bt),{pathname:u}=pt(),c=JSON.stringify(hu(s));return x.useMemo(()=>js(r,JSON.parse(c),u,l==="path"),[r,c,u,l])}function U1(r,l){return q0(r,l)}function q0(r,l,s){_e(Jr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=x.useContext(St),{matches:c}=x.useContext(Bt),f=c[c.length-1],p=f?f.params:{},m=f?f.pathname:"/",g=f?f.pathnameBase:"/",S=f&&f.route;{let N=S&&S.path||"";G0(m,!S||N.endsWith("*")||N.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${N}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 10 11Please change the parent <Route path="${N}"> to <Route path="${N==="/"?"*":`${N}/*`}">.`)}let R=pt(),E;if(l){let N=typeof l=="string"?Yr(l):l;_e(g==="/"||N.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${N.pathname}" was given in the \`location\` prop.`),E=N}else E=R;let I=E.pathname||"/",A=I;if(g!=="/"){let N=g.replace(/^\//,"").split("/");A="/"+I.replace(/^\//,"").split("/").slice(N.length).join("/")}let D=s&&s.state.matches.length?s.state.matches.map(N=>Object.assign(N,{route:s.manifest[N.route.id]||N.route})):T0(r,{pathname:A});Nt(S||D!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Nt(D==null||D[D.length-1].route.element!==void 0||D[D.length-1].route.Component!==void 0||D[D.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let O=b1(D&&D.map(N=>Object.assign({},N,{params:Object.assign({},p,N.params),pathname:zt([g,u.encodeLocation?u.encodeLocation(N.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?g:zt([g,u.encodeLocation?u.encodeLocation(N.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:N.pathnameBase])})),c,s);return l&&O?x.createElement(rl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...E},navigationType:"POP"}},O):O}function $1(){let r=G1(),l=E1(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,u="rgba(200,200,200, 0.5)",c={padding:"0.5rem",backgroundColor:u},f={padding:"2px 4px",backgroundColor:u},p=null;return console.error("Error handled by React Router default ErrorBoundary:",r),p=x.createElement(x.Fragment,null,x.createElement("p",null,"ð¿ Hey developer ð"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:f},"ErrorBoundary")," or"," ",x.createElement("code",{style:f},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application
11Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},l),s?x.createElement("pre",{style:c},s):null,p)}var B1=x.createElement($1,null),K0=class extends x.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,l){return l.location!==r.location||l.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:l.error,location:l.location,revalidation:r.revalidation||l.revalidation}}componentDidCatch(r,l){this.props.onError?this.props.onError(r,l):console.error("React Router caught the following error during render",r)}render(){let r=this.state.error;if(this.context&&typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){const s=D1(r.digest);s&&(r=s)}let l=r!==void 0?x.createElement(Bt.Provider,{value:this.props.routeContext},x.createElement(mu.Provider,{value:r,children:this.props.component})):this.props.children;return this.context?x.createElement(V1,{error:r},l):l}};K0.contextType=V0;var Aa=new WeakMap;function V1({children:r,error:l}){let{basename:s}=x.useContext(St);if(typeof l=="object"&&l&&"digest"in l&&typeof l.digest=="string"){let u=M1(l.digest);if(u){let c=Aa.get(l);if(c)throw c;let f=$0(u.location,s),p=f.absoluteURL||f.to;if(L1(p))throw new Error("Invalid redirect location");if(U0&&!Aa.get(l))if(f.isExternal||u.reloadDocument)window.location.href=p;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:u.replace}));throw Aa.set(l,m),m}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${p}`})}}return r}function H1({routeContext:r,match:l,children:s}){let u=x.useContext(Xr);return u&&u.static&&u.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=l.route.id),x.createElement(Bt.Provider,{value:r},s)}function b1(r,l=[],s){let u=s?.state;if(r==null){if(!u)return null;if(u.errors)r=u.matches;else if(l.length===0&&!u.initialized&&u.matches.length>0)r=u.matches;else return null}let c=r,f=u?.errors;if(f!=null){let R=c.findIndex(E=>E.route.id&&f?.[E.route.id]!==void 0);_e(R>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,R+1))}let p=!1,m=-1;if(s&&u){p=u.renderFallback;for(let R=0;R<c.length;R++){let E=c[R];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(m=R),E.route.id){let{loaderData:I,errors:A}=u,D=E.route.loader&&!I.hasOwnProperty(E.route.id)&&(!A||A[E.route.id]===void 0);if(E.route.lazy||D){s.isStatic&&(p=!0),m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}}let g=s?.onError,S=u&&g?(R,E)=>{g(R,{location:u.location,params:u.matches?.[0]?.params??{},pattern:_1(u.matches),errorInfo:E})}:void 0;return c.reduceRight((R,E,I)=>{let A,D=!1,O=null,N=null;u&&(A=f&&E.route.id?f[E.route.id]:void 0,O=E.route.errorElement||B1,p&&(m<0&&I===0?(G0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,N=null):m===I&&(D=!0,N=E.route.hydrateFallbackElement||null)));let q=l.concat(c.slice(0,I+1)),K=()=>{let G;return A?G=O:D?G=N:E.route.Component?G=x.createElement(E.route.Component,null):E.route.element?G=E.route.element:G=R,x.createElement(H1,{match:E,routeContext:{outlet:R,matches:q,isDataRoute:u!=null},children:G})};return u&&(E.route.ErrorBoundary||E.route.errorElement||I===0)?x.createElement(K0,{location:u.location,revalidation:u.revalidation,component:O,error:A,children:K(),routeC
11ontext:{outlet:null,matches:q,isDataRoute:!0},onError:S}):K()},null)}function vu(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Q1(r){let l=x.useContext(Xr);return _e(l,vu(r)),l}function W1(r){let l=x.useContext(Ts);return _e(l,vu(r)),l}function q1(r){let l=x.useContext(Bt);return _e(l,vu(r)),l}function gu(r){let l=q1(r),s=l.matches[l.matches.length-1];return _e(s.route.id,`${r} can only be used on routes that contain a unique "id"`),s.route.id}function K1(){return gu("useRouteId")}function G1(){let r=x.useContext(mu),l=W1("useRouteError"),s=gu("useRouteError");return r!==void 0?r:l.errors?.[s]}function Z1(){let{router:r}=Q1("useNavigate"),l=gu("useNavigate"),s=x.useRef(!1);return W0(()=>{s.current=!0}),x.useCallback(async(c,f={})=>{Nt(s.current,Q0),s.current&&(typeof c=="number"?await r.navigate(c):await r.navigate(c,{fromRouteId:l,...f}))},[r,l])}var V2={};function G0(r,l,s){!l&&!V2[r]&&(V2[r]=!0,Nt(!1,s))}x.memo(Y1);function Y1({routes:r,manifest:l,future:s,state:u,isStatic:c,onError:f}){return q0(r,void 0,{manifest:l,state:u,isStatic:c,onError:f})}function an({to:r,replace:l,state:s,relative:u}){_e(Jr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:c}=x.useContext(St);Nt(!c,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:f}=x.useContext(Bt),{pathname:p}=pt(),m=il(),g=js(r,hu(f),p,u==="path"),S=JSON.stringify(g);return x.useEffect(()=>{m(JSON.parse(S),{replace:l,state:s,relative:u})},[m,S,u,l,s]),null}function He(r){_e(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function X1({basename:r="/",children:l=null,location:s,navigationType:u="POP",navigator:c,static:f=!1,useTransitions:p}){_e(!Jr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=r.replace(/^\/*/,"/"),g=x.useMemo(()=>({basename:m,navigator:c,static:f,useTransitions:p,future:{}}),[m,c,f,p]);typeof s=="string"&&(s=Yr(s));let{pathname:S="/",search:R="",hash:E="",state:I=null,key:A="default",mask:D}=s,O=x.useMemo(()=>{let N=un(S,m);return N==null?null:{location:{pathname:N,search:R,hash:E,state:I,key:A,mask:D},navigationType:u}},[m,S,R,E,I,A,u,D]);return Nt(O!=null,`<Router basename="${m}"> is not able to match the URL "${S}${R}${E}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:x.createElement(St.Provider,{value:g},x.createElement(rl.Provider,{children:l,value:O}))}function H2({children:r,location:l}){return U1(nu(r),l)}function nu(r,l=[]){let s=[];return x.Children.forEach(r,(u,c)=>{if(!x.isValidElement(u))return;let f=[...l,c];if(u.type===x.Fragment){s.push.apply(s,nu(u.props.children,f));return}_e(u.type===He,`[${typeof u.type=="string"?u.type:u.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),_e(!u.props.index||!u.props.children,"An index route cannot have child routes.");let p={id:u.props.id||f.join("-"),caseSensitive:u.props.caseSensitive,element:u.props.element,Component:u.props.Component,index:u.props.index,path:u.props.path,middleware:u.props.middleware,loader:u.props.loader,action:u.props.action,hydrateFallbackElement:u.props.hydrateFallbackElement,HydrateFallback:u.props.HydrateFallback,errorElement:u.props.errorElement,ErrorBoundary:u.props.ErrorBoundary,hasErrorBoundary:u.props.hasErrorBoundary===!0||u.props.ErrorBoundary!=null||u.props.errorElement!=null,shouldRevalidate:u.props.shouldRevalidate,handle:u.props.handle,lazy:u.props.lazy};u.props.children&&(p.children=nu(u.props.children,f)),s.push(p)}),s}var Rs="get",Ps="application/x-www-form-urlencoded";function Ms(r){return typeof HTMLElement<"u"&&r instanceof HTMLElement}function J1(r){return Ms(r)&&r.tagName.toLowerCase()==="button"}function em(r){return Ms(r)&&r.tagName.toLowerCase()==="form"}function tm(r){return Ms(r)&&r.tagName.toLowerCase()==="input"}function nm(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function rm(r,l){return r.button===0&&(!l||l==="_self")&&!nm(r)}function ru(r=""){return new URLSearchParams(typeof r=="string"||Array.isArray(r)||r instanceof URLSearchParams?r:Object.keys(r).reduce((l,s)=>{let u=r[s];return l.concat(Array.isArray(u)?u.map(c=>[s,c]):[[s,u]])},[]))}function im(r,l){let s=ru(r);return l&&l.forEach((u,c)=>
11{s.has(c)||l.getAll(c).forEach(f=>{s.append(c,f)})}),s}var xs=null;function lm(){if(xs===null)try{new FormData(document.createElement("form"),0),xs=!1}catch{xs=!0}return xs}var sm=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function za(r){return r!=null&&!sm.has(r)?(Nt(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ps}"`),null):r}function om(r,l){let s,u,c,f,p;if(em(r)){let m=r.getAttribute("action");u=m?un(m,l):null,s=r.getAttribute("method")||Rs,c=za(r.getAttribute("enctype"))||Ps,f=new FormData(r)}else if(J1(r)||tm(r)&&(r.type==="submit"||r.type==="image")){let m=r.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=r.getAttribute("formaction")||m.getAttribute("action");if(u=g?un(g,l):null,s=r.getAttribute("formmethod")||m.getAttribute("method")||Rs,c=za(r.getAttribute("formenctype"))||za(m.getAttribute("enctype"))||Ps,f=new FormData(m,r),!lm()){let{name:S,type:R,value:E}=r;if(R==="image"){let I=S?`${S}.`:"";f.append(`${I}x`,"0"),f.append(`${I}y`,"0")}else S&&f.append(S,E)}}else{if(Ms(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Rs,u=null,c=Ps,p=r}return f&&c==="text/plain"&&(p=f,f=void 0),{action:u,method:s.toLowerCase(),encType:c,formData:f,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function yu(r,l){if(r===!1||r===null||typeof r>"u")throw new Error(l)}function Z0(r,l,s,u){let c=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return s?c.pathname.endsWith("/")?c.pathname=`${c.pathname}_.${u}`:c.pathname=`${c.pathname}.${u}`:c.pathname==="/"?c.pathname=`_root.${u}`:l&&un(c.pathname,l)==="/"?c.pathname=`${Is(l)}/_root.${u}`:c.pathname=`${Is(c.pathname)}.${u}`,c}async function am(r,l){if(r.id in l)return l[r.id];try{let s=await import(r.module);return l[r.id]=s,s}catch(s){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function um(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function cm(r,l,s){let u=await Promise.all(r.map(async c=>{let f=l.routes[c.route.id];if(f){let p=await am(f,s);return p.links?p.links():[]}return[]}));return hm(u.flat(1).filter(um).filter(c=>c.rel==="stylesheet"||c.rel==="preload").map(c=>c.rel==="stylesheet"?{...c,rel:"prefetch",as:"style"}:{...c,rel:"prefetch"}))}function b2(r,l,s,u,c,f){let p=(g,S)=>s[S]?g.route.id!==s[S].route.id:!0,m=(g,S)=>s[S].pathname!==g.pathname||s[S].route.path?.endsWith("*")&&s[S].params["*"]!==g.params["*"];return f==="assets"?l.filter((g,S)=>p(g,S)||m(g,S)):f==="data"?l.filter((g,S)=>{let R=u.routes[g.route.id];if(!R||!R.hasLoader)return!1;if(p(g,S)||m(g,S))return!0;if(g.route.shouldRevalidate){let E=g.route.shouldRevalidate({currentUrl:new URL(c.pathname+c.search+c.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(r,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof E=="boolean")return E}return!0}):[]}function dm(r,l,{includeHydrateFallback:s}={}){return fm(r.map(u=>{let c=l.routes[u.route.id];if(!c)return[];let f=[c.module];return c.clientActionModule&&(f=f.concat(c.clientActionModule)),c.clientLoaderModule&&(f=f.concat(c.clientLoaderModule)),s&&c.hydrateFallbackModule&&(f=f.concat(c.hydrateFallbackModule)),c.imports&&(f=f.concat(c.imports)),f}).flat(1))}function fm(r){return[...new Set(r)]}function pm(r){let l={},s=Object.keys(r).sort();for(let u of s)l[u]=r[u];return l}function hm(r,l){let s=new Set;return new Set(l),r.reduce((u,c)=>{let f=JSON.stringify(pm(c));return s.has(f)||(s.add(f),u.push({key:f,link:c})),u},[])}function wu(){let r=x.useContext(Xr);return yu(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function mm(){let r=x.useContext(Ts);return yu(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var Cu=x.createContext(void 0);Cu.displayName="FrameworkContext";function Ds(){let r=x.useContext(Cu);return yu(r,"You must render this element inside a <HydratedRouter> element"),r}function vm(r,l){let s=x.useContext(Cu),[u,c]=x.useState(!1),[f,p]=x.useState(!1),{onFocus:m,onBlur:g,onMouseEnter:S,onMouseLeave:R,onTouchStart:E}=l,I=x.useRef(null);x.useEffect(()=>{if(r==="render"&&p(!0),r==="viewport"){let O=q=>{q.forEach(K=>{p(K.isIntersecting)})},N=new IntersectionObserver(O,{threshold:.5});return I.current&&N.observe(I.current),()=>{N.disconnect()}}},[r]),x.useEffect(()=>{if(u){let O=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(O)}}},[u]);let A=()=>{c(!0)},D=()=>{c(!1),p(!1)};return s?r!=="intent"?[f,I,{}]:[f,I,{onFocus:$i(m,A),onBlur:$i(g,D),onMouseEnter:$i(S,A),onMouseLeave:$i(R,D),onTouchStart:$i(E,A)}]:[!1,I,{}]}function $i(r,l){return s=>{r&&r(s),s.defaultPrevented||l(s)}}function gm({page:r,...l}){let s=N1(),{nonce:u}=Ds(),{router:c}=wu(),f=x.useMemo(()=>T0(c.routes,r,c.basename),[c.routes,r,c.basename]);return f?(l.nonce==null&&u&&(l={...l,nonce:u}),s?x.createElement(wm,{page:r,matches:f,...l}):x.createElement(Cm,{page:r,matches:f,...l})):null}function ym(r){let{manifest:l,routeModules:s}=Ds(),[u,c]=x.useState([]);return x.useEffect(()=>{let f=!1;return cm(r,l,s).then(p=>{f||c(p)}),()=>{f=!0}},[r,l,s]),u}function wm({page:r,matches:l,...s}){let u=pt(),{future:c}=Ds(),{basename:f}=wu(),p=x.useMemo(()=>
11{if(r===u.pathname+u.search+u.hash)return[];let m=Z0(r,f,c.v8_trailingSlashAwareDataRequests,"rsc"),g=!1,S=[];for(let R of l)typeof R.route.shouldRevalidate=="function"?g=!0:S.push(R.route.id);return g&&S.length>0&&m.searchParams.set("_routes",S.join(",")),[m.pathname+m.search]},[f,c.v8_trailingSlashAwareDataRequests,r,u,l]);return x.createElement(x.Fragment,null,p.map(m=>x.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...s})))}function Cm({page:r,matches:l,...s}){let u=pt(),{future:c,manifest:f,routeModules:p}=Ds(),{basename:m}=wu(),{loaderData:g,matches:S}=mm(),R=x.useMemo(()=>b2(r,l,S,f,u,"data"),[r,l,S,f,u]),E=x.useMemo(()=>b2(r,l,S,f,u,"assets"),[r,l,S,f,u]),I=x.useMemo(()=>{if(r===u.pathname+u.search+u.hash)return[];let O=new Set,N=!1;if(l.forEach(K=>{let G=f.routes[K.route.id];!G||!G.hasLoader||(!R.some(te=>te.route.id===K.route.id)&&K.route.id in g&&p[K.route.id]?.shouldRevalidate||G.hasClientLoader?N=!0:O.add(K.route.id))}),O.size===0)return[];let q=Z0(r,m,c.v8_trailingSlashAwareDataRequests,"data");return N&&O.size>0&&q.searchParams.set("_routes",l.filter(K=>O.has(K.route.id)).map(K=>K.route.id).join(",")),[q.pathname+q.search]},[m,c.v8_trailingSlashAwareDataRequests,g,u,f,R,l,r,p]),A=x.useMemo(()=>dm(E,f),[E,f]),D=ym(E);return x.createElement(x.Fragment,null,I.map(O=>x.createElement("link",{key:O,rel:"prefetch",as:"fetch",href:O,...s})),A.map(O=>x.createElement("link",{key:O,rel:"modulepreload",href:O,...s})),D.map(({key:O,link:N})=>x.createElement("link",{key:O,nonce:s.nonce,...N,crossOrigin:N.crossOrigin??s.crossOrigin})))}function Sm(...r){return l=>{r.forEach(s=>{typeof s=="function"?s(l):s!=null&&(s.current=l)})}}var xm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{xm&&(window.__reactRouterVersion="7.18.2")}catch{}function km({basename:r,children:l,useTransitions:s,window:u}){let c=x.useRef();c.current==null&&(c.current=t1({window:u,v5Compat:!0}));let f=c.current,[p,m]=x.useState({action:f.action,location:f.location}),g=x.useCallback(S=>{s===!1?m(S):x.startTransition(()=>m(S))},[s]);return x.useLayoutEffect(()=>f.listen(g),[f,g]),x.createElement(X1,{basename:r,children:l,location:p.location,navigationType:p.action,navigator:f,useTransitions:s})}var Su=x.forwardRef(function({onClick:l,discover:s="render",prefetch:u="none",relative:c,reloadDocument:f,replace:p,mask:m,state:g,target:S,to:R,preventScrollReset:E,viewTransition:I,defaultShouldRevalidate:A,...D},O){let{basename:N,navigator:q,useTransitions:K}=x.useContext(St),G=typeof R=="string"&&pu.test(R),te=$0(R,N);R=te.to;let le=F1(R,{relative:c}
11),fe=pt(),xe=null;if(m){let Ae=js(m,[],fe.mask?fe.mask.pathname:"/",!0);N!=="/"&&(Ae.pathname=Ae.pathname==="/"?N:zt([N,Ae.pathname])),xe=q.createHref(Ae)}let[ve,ge,De]=vm(u,D),rt=Pm(R,{replace:p,mask:m,state:g,target:S,preventScrollReset:E,relative:c,viewTransition:I,defaultShouldRevalidate:A,useTransitions:K});function Je(Ae){l&&l(Ae),Ae.defaultPrevented||rt(Ae)}let Oe=!(te.isExternal||f),Fe=x.createElement("a",{...D,...De,href:(Oe?xe:void 0)||te.absoluteURL||le,onClick:Oe?Je:l,ref:Sm(O,ge),target:S,"data-discover":!G&&s==="render"?"true":void 0});return ve&&!G?x.createElement(x.Fragment,null,Fe,x.createElement(gm,{page:le})):Fe});Su.displayName="Link";var Em=x.forwardRef(function({"aria-current":l="page",caseSensitive:s=!1,className:u="",end:c=!1,style:f,to:p,viewTransition:m,children:g,...S},R){let E=ll(p,{relative:S.relative}),I=pt(),A=x.useContext(Ts),{navigator:D,basename:O}=x.useContext(St),N=A!=null&&jm(E)&&m===!0,q=D.encodeLocation?D.encodeLocation(E).pathname:E.pathname,K=I.pathname,G=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;s||(K=K.toLowerCase(),G=G?G.toLowerCase():null,q=q.toLowerCase()),G&&O&&(G=un(G,O)||G);const te=q!=="/"&&q.endsWith("/")?q.length-1:q.length;let le=K===q||!c&&K.startsWith(q)&&K.charAt(te)==="/",fe=G!=null&&(G===q||!c&&G.startsWith(q)&&G.charAt(q.length)==="/"),xe={isActive:le,isPending:fe,isTransitioning:N},ve=le?l:void 0,ge;typeof u=="function"?ge=u(xe):ge=[u,le?"active":null,fe?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let De=typeof f=="function"?f(xe):f;return x.createElement(Su,{...S,"aria-current":ve,className:ge,ref:R,style:De,to:p,viewTransition:m},typeof g=="function"?g(xe):g)});Em.displayName="NavLink";var _m=x.forwardRef(({discover:r="render",fetcherKey:l,navigate:s,reloadDocument:u,replace:c,state:f,method:p=Rs,action:m,onSubmit:g,relative:S,preventScrollReset:R,viewTransition:E,defaultShouldRevalidate:I,...A},D)=>{let{useTransitions:O}=x.useContext(St),N=Im(),q=Om(m,{relative:S}),K=p.toLowerCase()==="get"?"get":"post",G=typeof m=="string"&&pu.test(m),te=le=>{if(g&&g(le),le.defaultPrevented)return;le.preventDefault();let fe=le.nativeEvent.submitter,xe=fe?.getAttribute("formmethod")||p,ve=()=>N(fe||le.currentTarget,{fetcherKey:l,method:xe,navigate:s,replace:c,state:f,relative:S,preventScrollReset:R,viewTransition:E,defaultShouldRevalidate:I});O&&s!==!1?x.startTransition(()=>ve()):ve()};return x.createElement("form",{ref:D,method:K,action:q,onSubmit:u?g:te,...A,"data-discover":!G&&r==="render"?"true":void 0})});_m.displayName="Form";function Rm(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Y0(r){let l=x.useContext(Xr);return _e(l,Rm(r)),l}function Pm(r,{target:l,replace:s,mask:u,state:c,preventScrollReset:f,relative:p,viewTransition:m,defaultShouldRevalidate:g,useTransitions:S}={}){let R=il(),E=pt(),I=ll(r,{relative:p});return x.useCallback(A=>{if(rm(A,l)){A.preventDefault();let D=s!==void 0?s:Zi(E)===Zi(I),O=()=>R(r,{replace:D,mask:u,state:c,preventScrollReset:f,relative:p,viewTransition:m,defaultShouldRevalidate:g});S?x.startTransition(()=>O()):O()}},[E,R,I,s,u,c,l,r,f,p,m,g,S])}function Ov(r){Nt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let l=x.useRef(ru(r)),s=x.useRef(!1),u=pt(),c=x.useMemo(()=>im(u.search,s.current?null:l.current),[u.search]),f=il(),p=x.useCallback((m,g)=>{const S=ru(typeof m=="function"?m(new URLSearchParams(c)):m);s.current=!0,f("?"+S,g)},[f,c]);return[c,p]}var Lm=0,Nm=()=>`__${String(++Lm)}__`;function Im(){let{router:r}=Y0("useSubmit"),{basename:l}=x.useContext(St),s=K1(),u=r.fetch,c=r.navigate;return x.useCallback(async(f,p={})=>{let{action:m,method:g,encType:S,formData:R,body:E}=om(f,l);if(p.navigate===!1){let I=p.fetcherKey||Nm();await u(I,s,p.action||m,{defaultShouldRevalidate:p.defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:R,body:E,formMethod:p.method||g,formEncType:p.encType||S,flushSync:p.flushSync})}else await c(p.action||m,{defaultShouldRevalidate:p.defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:R,body:E,formMethod:p.method||g,formEncType:p.encType||S,replace:p.replace,state:p.state,fromRouteId:s,flushSync:p.flushSync,viewTransition:p.viewTransition})},[u,c,l,s])}
11function Om(r,{relative:l}={}){let{basename:s}=x.useContext(St),u=x.useContext(Bt);_e(u,"useFormAction must be used inside a RouteContext");let[c]=u.matches.slice(-1),f={...ll(r||".",{relative:l})},p=pt();if(r==null){f.search=p.search;let m=new URLSearchParams(f.search),g=m.getAll("index");if(g.some(R=>R==="")){m.delete("index"),g.filter(E=>E).forEach(E=>m.append("index",E));let R=m.toString();f.search=R?`?${R}`:""}}return(!r||r===".")&&c.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(f.pathname=f.pathname==="/"?s:zt([s,f.pathname])),Zi(f)}function jm(r,{relative:l}={}){let s=x.useContext(H0);_e(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=Y0("useViewTransitionState"),c=ll(r,{relative:l});if(!s.isTransitioning)return!1;let f=un(s.currentLocation.pathname,u)||s.currentLocation.pathname,p=un(s.nextLocation.pathname,u)||s.nextLocation.pathname;return Ns(c.pathname,p)!=null||Ns(c.pathname,f)!=null}var Tm=g0();const Q2=r=>{let l;const s=new Set,u=(S,R)=>{const E=typeof S=="function"?S(l):S;if(!Object.is(E,l)){const I=l;l=R??(typeof E!="object"||E===null)?E:Object.assign({},l,E),s.forEach(A=>A(l,I))}},c=()=>l,m={setState:u,getState:c,getInitialState:()=>g,subscribe:S=>(s.add(S),()=>s.delete(S))},g=l=r(u,c,m);return m},Mm=(r=>r?Q2(r):Q2),Dm=r=>r;function Fm(r,l=Dm){const s=Hi.useSyncExternalStore(r.subscribe,Hi.useCallback(()=>l(r.getState()),[r,l]),Hi.useCallback(()=>l(r.getInitialState()),[r,l]));return Hi.useDebugValue(s),s}const W2=r=>{const l=Mm(r),s=u=>Fm(l,u);return Object.assign(s,l),s},X0=(r=>r?W2(r):W2),iu="rustpp:subscription-paywall",Am={free:"Free",premium:"Standard","premium-plus":"Premium","premium-plus-plus":"Premium++"},zm={"map-basic":"ÐаÑÑа и ÑоÑговÑÑ","map-advanced":"РаÑÑиÑеннÑе возможноÑÑи каÑÑÑ",commands:"ÐÐ¾Ð¼Ð°Ð½Ð´Ñ ÑпÑавлениÑ","device-clusters":"ÐлаÑÑеÑÑ ÑÑÑÑойÑÑв","telegram-calls":"Ðвонки в Telegram","discord-integration":"ÐнÑегÑаÑÐ¸Ñ Ñ Discord","telegram-integration":"ÐнÑегÑаÑÐ¸Ñ Ñ Telegram"},Um={"searches-daily":"УвелиÑеннÑе лимиÑÑ Ð¿Ñобивов","tracked-players":"УвелиÑеннÑе лимиÑÑ ÑÑекинга","smart-alarms":"УвелиÑеннÑе лимиÑÑ ÑигнализаÑий","smart-switches":"УвелиÑеннÑе лимиÑÑ Ð¿ÐµÑеклÑÑаÑелей","storage-monitors":"УвелиÑеннÑе лимиÑÑ ÑÑÑÑÑиков ÑеÑÑÑÑов","team-members":"УвелиÑеннÑе лимиÑÑ ÑÑаÑÑников командÑ"},$m={"map-basic":"premium",commands:"premium","map-advanced":"premium-plus","device-clusters":"premium-plus","telegram-calls":"premium-plus","discord-integration":"premium-plus","telegram-integration":"premium-plus",overlay:"premium-plus"};function Bm(r){return r==="free"||r==="premium"||r==="premium-plus"||r==="premium-plus-plus"}function q2(r){return r==="free"?"premium":r==="premium"?"premium-plus":r==="premium-plus"?"premium-plus-plus":null}function Vm(r){typeof window>"u"||window.dispatchEvent(new CustomEvent(iu,{detail:r}))}function Hm(r){if(!r)return null;const l=typeof r.code=="string"?r.code:"",s=Bm(r.planId)?r.planId:"free";if(l==="feature_unavailable"){const u=typeof r.feature=="string"?r.feature:"",c=$m[u]??q2(s);return c?{requiredPlanId:c,featureName:zm[u]??"ÐÑа возможноÑÑÑ",source:`api:${u||"feature"}`}:null}if(l==="quota_exceeded"){const u=typeof r.metric=="string"?r.metric:"",c=q2(s);return c?{requiredPlanId:c,featureName:Um[u]??"УвелиÑеннÑе лимиÑÑ",source:`api:${u||"quota"}`}:null}return null}const sl="";class J0 extends Error{constructor(s,u,c){super(u);ys(this,"status");ys(this,"code");ys(this,"details");this.name="ApiError",this.status=s,this.code=typeof c?.code=="string"?c.code:void 0,this.details=c}}async function ol(r){const l=await r.text();let s;try{s=l?JSON.parse(l):void 0}catch{s=void 0}if(!r.ok){const u=s&&typeof s=="object"?s:void 0,c=(u&&"error"in u?String(u.error):null)??r.statusText??"request failed",f=Hm(u);throw f&&Vm(f),new J0(r.status,c,u)}return s}async function cn(r,l){const s=await fetch(`${sl}${r}`,{credentials:"include",signal:l?.signal});return ol(s)}async function dr(r,l,s){const u=await fetch(`${sl}${r}`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:l===void 0?void 0:JSON.stringify(l),signal:s?.signal});return ol(u)}async function jv(r,l){const s=await fetch(`${sl}${r}`,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:l===void 0?void 0:JSON.stringify(l)});return ol(s)}async function bm(r,l,s){const u=await fetch(`${sl}${r}`,{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json"},body:l===void 0?void 0:JSON.stringify(l),signal:s?.signal});return ol(u)}async function Qm(r){const l=await fetch(`${sl}${r}`,{method:"DELETE",credentials:"include"});return ol(l)}const Wm=r=>cn("/api/auth/session",{signal:r}),qm=()=>dr("/api/auth/logout"),Tv=r=>cn("/api/auth/ws-ticket",{signal:r});let Bi=null;const Ut=X0(r=>({user:null,status:"loading",sessionError:!1,refresh:()=>Bi||(Bi=(async()=>{const l=new AbortController,s=setTimeout(()=>l.abort(),8e3);try{const u=await Wm(l.signal);if(typeof u?.authenticated!="boolean"||u.authenticated&&!u.steamId)throw new Error("Invalid session response");u.authenticated?r({user:u,status:"authed",sessionError:!1}):r({user:null,status:"anon",sessionError:!1})}catch(u){u instanceof J0&&u.status===401?r({user:null,status:"anon",sessionError:!1}):r({sessionError:!0})}finally{clearTimeout(s)}})().finally(()=>{Bi=null}),Bi)}));function Km(){const r=Ut(s=>s.refresh),l=Ut(s=>s.sessionError);x.useEffect(()=>{r()},[r]),x.useEffect(()=>{if(!l)return;const s=()=>{document.visibilityState==="visible"&&navigator.onLine&&r()},u=window.setInterval(s,15e3);return window.addEventListener("online",s),window.addEventListener("focus",s),document.addEventListener("visibilitychange",s),(
11)=>{window.clearInterval(u),window.removeEventListener("online",s),window.removeEventListener("focus",s),document.removeEventListener("visibilitychange",s)}},[r,l])}function xu(){const r=Ut(s=>s.sessionError),l=Ut(s=>s.refresh);return v.jsx("div",{className:"grid min-h-screen place-items-center bg-[#0c0d10] px-6 text-center text-sm text-white/55",children:v.jsxs("div",{role:"status",className:"space-y-4",children:[v.jsx("p",{children:r?"Ðе ÑдалоÑÑ Ð¿ÑовеÑиÑÑ Ñоединение. ÐовÑоÑÑем авÑомаÑиÑеÑкиâ¦":"ÐагÑÑзка Rust++â¦"}),r&&v.jsx("button",{type:"button",className:"rounded-lg border border-white/20 px-4 py-2 text-white",onClick:()=>{l()},children:"ÐовÑоÑиÑÑ ÑейÑаÑ"})]})})}function K2(r){return JSON.stringify([r.event_type,r.data,r.severity])}function G2(r){if(r.event_type!=="alarm")return!1;try{const l=JSON.parse(r.data??"").entityId;return(typeof l=="number"||typeof l=="string")&&Number.isInteger(Number(l))&&Number(l)!==0}catch{return!1}}function Gm(r,l){return r.id!==l.id?l:G2(r)&&!G2(l)||K2(r)===K2(l)?r:l}function Vi(r){return typeof r=="number"&&Number.isFinite(r)}function Wi(r){return r>=0&&r<24?r:(r%24+24)%24}function Zm(r,l=Date.now()){if(!r||typeof r!="object")return null;const s=r;return Vi(s.time)?{time:Wi(s.time),dayLengthMinutes:Vi(s.dayLengthMinutes)&&s.dayLengthMinutes>0?s.dayLengthMinutes:0,timeScale:Vi(s.timeScale)&&s.timeScale>0?s.timeScale:0,sunrise:Vi(s.sunrise)?Wi(s.sunrise):6,sunset:Vi(s.sunset)?Wi(s.sunset):18,observedAtMs:Number.isFinite(l)?l:Date.now()}:null}function Mv(r,l=Date.now()){if(!r)return null;const s=Math.max(0,l-r.observedAtMs);if(!(r.dayLengthMinutes>0&&r.timeScale>0))return Wi(r.time);const c=s/6e4*(24/r.dayLengthMinutes)*r.timeScale;return Wi(r.time+c)}const Ym=8192,Xm=128,Z2=160,Y2=1e6;function ef(r){return r&&typeof r=="object"&&!Array.isArray(r)?r:null}function On(r){return typeof r=="number"&&Number.isFinite(r)?r:null}function er(r){return typeof r=="number"&&Number.isSafeInteger(r)?r:null}function ks(r,l){if(typeof r=="string")return[...r].slice(0,l).join("")}function Jm(r){const l=ef(r),s=er(l?.itemId),u=er(l?.currencyId),c=er(l?.quantity),f=er(l?.costPerItem),p=er(l?.amountInStock);if(!s||!u||c===null||c<=0||f===null||f<=0||p===null||p<0)return null;const m=On(l?.itemCondition),g=On(l?.itemConditionMax);return{itemId:s,quantity:c,currencyId:u,costPerItem:f,amountInStock:p,itemIsBlueprint:l?.itemIsBlueprint===!0,currencyIsBlueprint:l?.currencyIsBlueprint===!0,...m!==null&&m>=0?{itemCondition:Math.min(m,Y2)}:{},...g!==null&&g>=0?{itemConditionMax:Math.min(g,Y2)}:{}}}function e3(r){return Array.isArray(r)?r.slice(0,Ym).flatMap(l=>{const s=ef(l),u=er(s?.id),c=er(s?.type),f=On(s?.x),p=On(s?.y);if(u===null||c===null||f===null||p===null)return[];const m=c===3||c===9;if(m&&s?.catalogStatus!=="currently-reported")return[];const g=m&&Array.isArray(s?.sellOrders)?s.sellOrders.flatMap(S=>{const R=Jm(S);return R?[R]:[]}).slice(0,Xm):void 0;return[{id:u,type:c,x:f,y:p,...ks(s?.name,Z2)!==void 0?{name:ks(s?.name,Z2)}:{},...ks(s?.steamId,32)!==void 0?{steamId:ks(s?.steamId,32)}:{},...On(s?.rotation)!==null?{rotation:On(s?.rotation)}:{},...On(s?.radius)!==null?{radius:On(s?.radius)}:{},...m?{catalogStatus:"currently-reported",outOfStock:s?.outOfStock===!0,sellOrders:g??[]}:{}}]}):[]}const t3=X0((r,l)=>({connStatus:"offline",serverInfo:null,serverTime:null,serverClock:null,team
11:[],teamLeaderSteamId:"",mapNotes:[],markers:[],deepSeaActive:null,oilrigCrates:[],chat:[],deviceStates:{},notifications:[],lastNotif:null,lastUpdate:0,setDeviceStates:s=>r(u=>({deviceStates:{...u.deviceStates,...s}})),reset:()=>r({connStatus:"connecting",serverInfo:null,serverTime:null,serverClock:null,team:[],teamLeaderSteamId:"",mapNotes:[],markers:[],deepSeaActive:null,oilrigCrates:[],chat:[],deviceStates:{},lastUpdate:Date.now()}),hardReset:()=>r({connStatus:"offline",serverInfo:null,serverTime:null,serverClock:null,team:[],teamLeaderSteamId:"",mapNotes:[],markers:[],deepSeaActive:null,oilrigCrates:[],chat:[],deviceStates:{},notifications:[],lastNotif:null,lastUpdate:0}),applyMessage:s=>{if(s.type==="state:batch"&&Array.isArray(s.messages)){for(const c of s.messages)l().applyMessage(c);return}const u=Date.now();switch(s.type){case"connection:status":{const c=s.data.status;r(c==="online"?{connStatus:c,lastUpdate:u}:{connStatus:c,markers:[],deepSeaActive:null,lastUpdate:u});break}case"server:info":r({serverInfo:s.data,lastUpdate:u});break;case"server:time":{const c=Zm(s.data,u);r({serverTime:c?.time??null,serverClock:c,lastUpdate:u});break}case"team:info":{const c=s.data;r({team:c.members??[],mapNotes:c.mapNotes??[],teamLeaderSteamId:c.leaderSteamId??"",lastUpdate:u});break}case"map:markers":r({markers:e3(s.data),lastUpdate:u});break;case"world:state":{const c=s.data?.deepSeaActive;typeof c=="boolean"&&r({deepSeaActive:c,lastUpdate:u});break}case"oilrig:crates":r({oilrigCrates:(s.data??[]).map(c=>({...c,deadlineMs:u+c.remainingMs,expiresAtMs:u+c.remainingMs})),lastUpdate:u});break;case"device:update":{const c=s.data,f=c.entityId??c.entity_id,p=c.value;typeof f=="number"&&typeof p=="boolean"&&r(m=>({deviceStates:{...m.deviceStates,[f]:p},lastUpdate:u}));break}case"notification:new":{const c=s.data;r(f=>{const p=f.notifications.find(g=>g.id===c.id),m=p?Gm(p,c):c;return m===p?{lastUpdate:u}:{notifications:p?f.notifications.map(g=>g.id===c.id?m:g):[m,...f.notifications].slice(0,200),lastNotif:m,lastUpdate:u}});break}case"chat:message":{const c=s.data;r(f=>c.id!=null&&f.chat.some(p=>p.id===c.id)?{lastUpdate:u}:{chat:[...f.chat,c].slice(-300),lastUpdate:u});break}}}}));async function n3(r,l=()=>window.location.assign("/")){try{await qm()}catch{}r.clear(),t3.getState().hardReset(),l()}function lu(...r){return r.filter(Boolean).join(" ")}function r3({className:r,variant:l="primary",...s}){const u="inline-flex items-center justify-center rounded-lg px-4 py-2 font-semibold transition disabled:opacity-50 disabled:cursor-default",c={primary:"bg-accent text-bg hover:brightness-110",ghost:"bg-surface text-text-primary hover:bg-[#1b1b24]",danger:"bg-danger text-white hover:brightness-110"};return v.jsx("button",{className:lu(u,c[l],r),...s})}function i3(){const{user:r}=Ut(),l=I0();async function s(){await n3(l)}return v.jsxs("header",{className:"flex items-center justify-between border-b border-[#222] px-6 py-3",children:[v.jsx("span",{className:"font-bold text-accent",children:"PlusBot"}),r?.authenticated&&v.jsxs("div",{className:"flex items-center gap-3",children:[r.avatarUrl&&v.jsx("img",{src:r.avatarUrl,alt:"",className:"h-8 w-8 rounded-full"}),v.jsx("span",{className:"text-sm text-text-muted",children:r.displayName}),v.jsx(r3,{variant:"ghost",onClick:s,children:"ÐÑйÑи"})]})]})}function l3({children:r}){const l=pt().pathname,s=["/","/dashboard","/pair","/pricing","/pricing-v2","/subscription","/landing-2k-test","/ops"].includes(l)||!1;return v.jsx("div",{className:"min-h-screen bg-bg text-text-primary",children:s?v.jsx("main",{children:r}):v.jsxs(v.Fragment,{children:[v.jsx(i3,{}),v.jsx("main",{className:"mx-auto max-w-3xl px-6 py-8",children:r})]})})}function Es({children:r}){const l=Ut(s=>s.status);return l==="loading"?v.jsx(xu,{}):l==="anon"?v.jsx(an,{to:"/",replace:!0}):v.jsx(v.Fragment,{children:r})}const s3=4294967295,Dv="linear-gradient(43deg, rgba(28,9,14,0) 58%, rgba(126,20,35,.92) 100%), radial-gradient(circle at -5% 108%, rgba(255,190,190,.92) 2%, rgba(207,45,61,.95) 27%, rgba(31,9,16,1) 72%)",Fv="linear-gradient(224deg, rgba(255,168,178,.5) 0%, rgba(126,20,35,.18) 38%, rgba(255,255,255,0) 72%, rgba(255,126,139,.48) 100%)",Av="linear-gradient(43deg, rgba(7,17,39,0) 58%, rgba(0,157,255,.96) 100%), radial-gradient(circle at -5% 108%, rgba(216,244,255,.98) 2%, rgba(0,119,232,.98) 28%, rgba(7,19,42,1) 72%)",zv="linear-gradient(224deg, rgba(171,229,255,.68) 0%, rgba(0,126,235,.22) 38%, rgba(255,255,255,0) 72%, rgba(70,190,255,.62) 100%)";function o3(r){return r==="media"||r==="admin"}function Uv(r){return r===s3}const a3="rustpp.subscription.promotion-code",u3="rustpp.subscription.pending-checkout-v2",Os=[{id:"three-days",label:"3 днÑ",queryValue:"3d",priceSuffix:"/3 днÑ",priceDescription:"за 3 днÑ",headingDescription:"3 днÑ"},{id:"week",label:"ÐеделÑ",queryValue:"7d",priceSuffix:"/нед",priceDescription:"за неделÑ",headingDescription:"7 дней"},{id:"month",label:"ÐеÑÑÑ",queryValue:"30d",priceSuffix:"/меÑ",priceDescription:"за 30 дней",headingDescription:"30 дней"}],Qi={free:{threeDays:0,week:0,month:0},premium:{threeDays:25,week:50,month:150},"premium-plus":{threeDays:75,week:150,month:450},"premium-plus-plus":{threeDays:100,week:200,month:600},media:{threeDays:0,week:0,month:0},admin:{threeDays:0,week:0,month:0}},su=[{id:"free",displayName:"Free",priceRub:0,pricesRub:Qi.free,billingPeriodDays:30,popular:!1,quotas:{searchesPerDay:1,trackedPlayers:1,smartAlarmsPerServer:1,smartSwitchesPerServer:1,storageMonitorsPerServer:0,teamMembersPerServer:0},features:["camera"]},{id:"premium",displayName:"Standard",priceRub:150,pricesRub:Qi.premium,billingPeriodDays:30,popular:!1,quotas:{searchesPerDay:5,trackedPlayers:3,smartAlarmsPerServer:2,smartSwitchesPerServer:2,storageMonitorsPerServer:2,teamMembersPerServer:0},features:["camera","map-basic","commands"]},{id:"premium-plus",displayName:"Premium",priceRub:450,pricesRub:Qi["premium-plus"],billingPeriodDays:30,popular:!0,quotas:{searchesPerDay:20,trackedPlayers:10,smartAlarmsPerServer:15,smartSwitchesPerServer:15,storageMonitorsPerServer:15,teamMembersPerServer:3},features:["camera","map-basic","map-advanced","commands","device-clusters","telegram-calls","discord-integration","telegram-integration","overlay"]},{id:"premium-plus-plus",displayName:"Premium++",priceRub:600,pricesRub:Qi["premium-plus-plus"],billingPeriodDays:30,popular:!1,quotas:{searchesPerDay:50,trackedPlayers:30,smartAlarmsPerServer:30,smartSwitchesPerServer:30,storageMonitorsPerServer:30,teamMembersPerServer:30},features:["camera","map-basic","map-advanced","commands","device-clusters","telegram-calls","discord-integration","telegram-integration","overlay"]}];su[3].features;async function c3(){return(await cn("/api/subscriptions/plans")).plans.filter(l=>!o3(l.id))}function d3(r){return Os.find(l=>l.queryValue===r)?.id??"month"}function f3(r){return Os.find(l=>l.id===r)??Os[2]}function $v(r){return r==="three-days"?3:r==="week"?7:30}function p3(r,l){if(l==="month")return r.pricesRub?.month??r.priceRub;const s=l==="three-days"?"threeDays":"week";return r.pricesRub?.[s]??Qi[r.id][s]}const Bv=()=>cn("/api/subscription"),Vv=()=>dr("/api/subscription/trial"),Hv=r=>dr("/api/subscription/promo/redeem",{code:r}),h3=()=>cn("/api/subscription/checkout/config"),bv=r=>cn(`/api/subscription/payment-orders/${r}`),Qv=r=>dr("/api/subscription/checkout/quote",r),Wv=r=>dr("/api/subscription/checkout/robokassa",r),qv=()=>cn("/api/subscription/auto-renewal"),Kv=r=>bm("/api/subscription/auto-renewal",{enabled:r}),Gv=()=>dr("/api/subscription/auto-renewal/revoke-payment-method");function Zv(r){const l=document.createElement("form");l.method="POST",l.action=r.paymentUrl,l.acceptCharset="UTF-8";for(const[s,u]of Object.entries(r.fields)){const c=document.createElement("input");c.type="hidden",c.name=s,c.value=u,l.appendChild(c)}document.body.appendChild(l),l.submit()}function tf(r){return r.trim().toUpperCase()}function m3(r){return/^[A-Z0-9][A-Z0-9_-]{2,63}$/.test(tf(r))}function v3(){return"/api/auth/steam?next=promo"}const Yv=r=>cn("/api/subscription/usage");function Xv(r,l="ru"){return{free:"Free",premium:"Standard","premium-plus":"Premium","premium-plus-plus":"Premium++",media:"MEDIA",admin:"Admin"}[r]}function g3(){return v.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:v.jsx("path",{d:"m6 6 12 12M18 6 6 18",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"})})}function y3(){const r=Ut(D=>D.user),[l,s]=x.useState(null),[u,c]=x.useState("month"),f=il(),p=x.useId(),m=x.useRef(null),{data:g=su}=eu({queryKey:["subscription-plans"],queryFn:c3,placeholderData:su,staleTime:5*6e4}),{data:S}=eu({queryKey:["subscription-checkout-config","paywall",r?.steamId],queryFn:h3,staleTime:6e4});if(x.useEffect(()=>{const D=O=>{s(O.detail)};return window.addEventListener(iu,D),()=>window.removeEventListener(iu,D)},[]),x.useEffect(()=>{if(!l)return;const D=document.body.style.overflow;document.body.style.overflow="hidden",m.current?.focus();const O=N=>{N.key==="Escape"&&s(null)};return window.addEventListener("keydown",O),()=>{document.body.style.overflow=D,window.removeEventListener("keydown",O)}},[l]),!l)return null;const R=Am[l.requiredPlanId],E=g.find(D=>D.id===l.requiredPlanId),I=f3(u),A=l.title??`${l.featureName??"ÐÑа возможноÑÑÑ"} â в ÑаÑиÑе ${R}`;return Tm.createPortal(v.jsx("div",{className:"subscription-paywall",onMouseDown:D=>{D.currentTarget===D.target&&s(null)},children:v.jsxs("section",{role:"dialog","aria-modal":"true","aria-labelledby":p,"data-paywall-source":l.source,"data-paywall-plan":l.requiredPlanId,className:lu("subscription-paywall__dialog",`subscription-paywall__dialog--${l.requiredPlanId}`),children:[v.jsx("button",{ref:m,type:"button","aria-label":"ÐакÑÑÑÑ",onClick:()=>s(null),className:"subscription-paywall__close",children:v.jsx(g3,{})}),v.jsxs("div",{className:"subscription-paywall__body",children:[v.jsx("span",{className:"subscription-paywall__eyebrow",children:"ТÑебÑеÑÑÑ ÑаÑиÑ"}),v.jsx("h2",{id:p,className:"subscription-paywall__title",children:A}),v.jsxs("div",{className:"subscription-paywall__plan",children:[v.jsx("strong",{children:R}),v.jsx("span",{children:E?`${p3(E,u)} ⽠· ${I.headingDescription}`:"ÐÑкÑÑÑÑ ÑаÑиÑÑ"})]}),v.jsx("div",{role:"group","aria-label":"ÐеÑиод подпиÑки",className:"subscription-paywall__period",children:Os.map(D=>v.jsx("button",{type:"button","aria-pressed":u===D.id,onClick:()=>c(D.id),className:lu("subscription-paywall__period-button",u===D.id&&"is-active"),children:D.label},D.id))}),v.jsx("p",{className:"subscription-paywall__one-time",children:S?.recurringEnabled?"ÐвÑопÑодление доÑÑÑпно · подклÑÑаеÑÑÑ ÑолÑко по оÑделÑÐ½Ð¾Ð¼Ñ ÑоглаÑиÑ":"Ð Ð°Ð·Ð¾Ð²Ð°Ñ Ð¾Ð¿Ð»Ð°Ñа · авÑоÑпиÑаний неÑ"}),v.jsx("div",{className:"subscription-paywall__actions",children:v.jsxs("button",{type:"button",onClick:()=>{const D=l.requiredPlanId;s(null),f(`/dashboard?billing=checkout&plan=${D}&period=${I.queryValue}&from=paywall`)},className:"subscription-paywall__primary",children:["ÐÑкÑÑÑÑ ÑаÑÐ¸Ñ ",R]})})]})]})}),document.body)}function w3({redirectToSteam:r=l=>window.location.assign(l)}={}){const{code:l=""}=z1(),s=il(),u=Ut(m=>m.status),c=x.useRef(!1),f=tf(l),p=m3(f);return x.useEffect(()=>{if(!(!p||u==="loading"||c.current)){if(c.current=!0,sessionStorage.setItem(a3,f),u==="authed"){s("/dashboard?billing=promo&redeemPromo=1",{replace:!0});return}r(v3())}},[u,s,f,r,p]),p?v.jsx("main",{className:"grid min-h-screen place-items-center bg-[#0c0d10] px-5 text-center text-white",children:v.jsx("div",{role:"status",className:"text-sm font-light text-white/60",children:u==="loading"?"ÐÑовеÑÑем авÑоÑизаÑиÑâ¦":"ÐÑименÑем пÑомокодâ¦"})}):v.jsx("main",{className:"grid min-h-screen place-items-center bg-[#0c0d10] px-5 text-center text-white",children:v.jsxs("div",{className:"max-w-md rounded-[14px] border border-white/10 bg-[#18191f] px-8 py-10",children:[v.jsx("h1",{className:"text-xl font-medium",children:"ÐекоÑÑекÑÐ½Ð°Ñ Ð¿Ñомо-ÑÑÑлка"}),v.jsx("p",{className:"mt-2 text-sm font-light text-white/55",children:"ÐÑовеÑÑÑе адÑÐµÑ ÑÑÑлки или запÑоÑиÑе новÑÑ Ñ Ñого, кÑо ÐµÑ Ð¾ÑпÑавил."}),v.jsx(Su,{className:"mt-6 inline-flex rounded-[10px] bg-[#2c5fe7] px-5 py-3 text-sm",to:"/",children:"Ðа главнÑÑ"})]})})}const Jv=r=>dr("/api/companion/facepunch-token",{auth_token:r}),C3=()=>cn("/api/companion/link"),eg=()=>Qm("/api/companion/link");function S3(){return eu({queryKey:["companion-link"],queryFn:C3,refetchInterval:r=>r.state.data?.status==="active"?3e4:5e3})}function x3(r,l){return l||r===void 0?"loading":r==="active"?"linked":"unlinked"}function k3(){return v.jsx("div",{className:"p-8 text-text-muted",children:"ÐагÑÑзкаâ¦"})}function E3({children:r}){const{data:l,isLoading:s}=S3();if(Ut(f=>f.user?.delegateOnly===!0))return v.jsx(an,{to:"/",replace:!0});const c=x3(l?.status,s);return c==="loading"?v.jsx(k3,{}):c==="linked"?v.jsx(an,{to:"/",replace:!0}):v.jsx(v.Fragment,{children:r})}const _3="/assets/H-AEfMxN.png",R3="/assets/DSIE0-BE.png",P3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='33.3333'%20height='41.6667'%20viewBox='0%200%2033.3333%2041.6667'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Union'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.6667%200C19.4293%200%2022.0781%201.09825%2024.0316%203.05176C25.9851%205.00526%2027.0833%207.654%2027.0833%2010.4167V18.75C30.5351%2018.75%2033.3333%2021.5482%2033.3333%2025V35.4167C33.3333%2038.8685%2030.5351%2041.6667%2027.0833%2041.6667H6.25C2.79822%2041.6667%200%2038.8685%200%2035.4167V25C0%2021.5482%202.79822%2018.75%206.25%2018.75V10.4167C6.25%207.654%207.34825%205.00526%209.30176%203.05176C11.2553%201.09825%2013.904%2
1100%2016.6667%200ZM16.6667%204.16667C15.0091%204.16667%2013.4198%204.82562%2012.2477%205.99772C11.0756%207.16982%2010.4167%208.75906%2010.4167%2010.4167V18.75H22.9167V10.4167C22.9167%208.75906%2022.2577%207.16982%2021.0856%205.99772C19.9135%204.82562%2018.3243%204.16667%2016.6667%204.16667Z'%20fill='black'%20fill-opacity='0.38'/%3e%3c/svg%3e",L3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='30.8758'%20height='33.2502'%20viewBox='0%200%2030.8758%2033.2502'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M21.126%202.41805C19.6818%200.858711%2017.6645%200%2015.4379%200C13.1995%200%2011.1755%200.853515%209.73792%202.4032C8.28472%203.96996%207.57668%206.0993%207.74293%208.39859C8.07246%2012.9348%2011.5244%2016.625%2015.4379%2016.625C19.3515%2016.625%2022.7975%2012.9356%2023.1322%208.40008C23.3007%206.12156%2022.5882%203.99668%2021.126%202.41805ZM28.5004%2033.25H2.37542C2.03347%2033.2544%201.69483%2033.1826%201.38413%2033.0397C1.07344%2032.8968%200.798501%2032.6865%200.579331%2032.4239C0.0969089%2031.8473%20-0.0975443%2031.0598%200.0464401%2030.2634C0.672846%2026.7885%202.62777%2023.8695%205.70042%2021.8203C8.43019%2020.0012%2011.888%2019%2015.4379%2019C18.9878%2019%2022.4457%2020.002%2025.1754%2021.8203C28.2481%2023.8688%2030.203%2026.7878%2030.8294%2030.2627C30.9734%2031.0591%2030.7789%2031.8465%2030.2965%2032.4232C30.0774%2032.6859%2029.8025%2032.8964%2029.4918%2033.0394C29.1811%2033.1824%2028.8424%2033.2544%2028.5004%2033.25Z'%20fill='black'%20fill-opacity='0.38'/%3e%3c/svg%3e",N3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='46.1605'%20height='51.3496'%20viewBox='0%200%2046.1605%2051.3496'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M28.5252%2040.9764H17.6353V41.2347C17.6353%2042.679%2018.207%2044.0654%2019.2283%2045.0867C20.2496%2046.108%2021.6359%2046.6796%2023.0802%2046.6796C24.5246%2046.6796%2025.9109%2046.108%2026.9322%2045.0867C27.9535%2044.0654%2028.5252%2042.679%2028.5252%2041.2347V40.9764ZM23.0802%204.66999C22.3237%204.66999%2021.5993%204.97075%2021.0644%205.50573C20.5294%206.0407%2020.2286%206.76505%2020.2286%207.52162C20.2286%208.42407%2019.7072%209.24537%2018.8914%209.63122C16.2964%2010.8583%2014.0841%2012.7688%2012.4917%2015.1572C10.9055%2017.5365%209.99548%2020.3017%209.85536%2023.1575V30.8614C9.85536%2030.9552%209.8489%2031.0495%209.83764%2031.1425C9.61541%2032.9777%208.99131%2034.738%208.01928%2036.3064H38.1412C37.1692%2034.738%2036.5451%2032.9777%2036.3229%2031.1425C36.3116%2031.0495%2036.3051%2030.9552%2036.3051%2030.8614V23.1575C36.165%2020.3017%2035.255%2017.5365%2033.6688%2015.1572C32.0764%2012.7688%2029.8641%2010.8583%2027.2691%209.63122C26.4533%209.24537%2025.9319%208.42407%2025.9319%207.52162C25.9319%206.76505%2025.6311%206.0407%2025.0961%205.50573C24.5612%204.97075%2023.8368%204.66999%2023.0802%204.66999ZM33.1952%2041.2347C33.1952%2043.9171%2032.1288%2046.4898%2030.2321%2048.3866C28.3354%2050.2833%2025.7626%2051.3496%2023.0802%2051.3496C20.3979%2051.3496%2017.8251%2050.2833%2015.9284%2048.3866C14.0316%2046.4898%2012.9653%2043.9171%2012.9653%2041.2347V40.9764H2.33374C1.27394%2040.9764%200.347519%2040.2612%200.0772566%2039.2365C-0.192815%2038.2115%200.261597%2037.1326%201.18397%2036.6103C2.27887%2035.9902%203.21345%2035.1221%203.91151%2034.0752C4.58799%2033.0605%205.02133%2031.9043%205.18537%2030.6968V23.0815C5.18537%2023.0452%205.18621%2023.0089%205.18791%2022.9726C5.36221%2019.259%206.54474%2015.6623%208.60682%2012.569C10.4225%209.84546%2012.8598%207.59948%2015.7106%206.0173C16.0033%204.5832%2016.7115%203.25375%2017.7619%202.2033C19.1723%200.792916%2021.0857%200%2023.0802%200C25.0748%200%2026.9882%200.792916%2028.3986%202.2033C29.4489%203.25363%2030.1546%204.58339%2030.4474%206.0173C33.299%207.59954%2035.7376%209.84484%2037.5537%2012.569C39.6158%2015.6623%2040.7983%2019.259%2040.9726%2022.9726C40.9743%2023.0089%2040.9751%2023.0452%2040.9751%2023.0815V30.6968C41.1392%2031.9043%2041.5725%2033.0605%2042.249%2034.0752C42.947%2035.1221%2043.8816%2035.9902%2044.9765%2036.6103C45.8989%2037.1326%2046.3533%2038.2115%2046.0832%2039.2365C45.813%2040.2612%2044.8866%2040.9764%2043.8268%2040.9764H33.1952V41.2347Z'%20fill='black'%20fill-opacity='0.37'/%3e%3c/svg%3e",I3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='20'%20height='14'%20viewBox='0%200%2020%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M1%201H19M1%2013H19M1%207H19'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e",O3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M1%2015L15%201M15%2015L1%201'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e",j3="/assets/DhfcrHXx.svg",T3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16.9677'%20height='21.9819'%20viewBox='0%200%2016.9677%2021.9819'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cg%20id='Vector'%3e%3cpath%20d='M8.58363%2021.4279L8.59463%2021.4259C8.6033%2021.4272%208.60896%202
111.4332%208.61163%2021.4439L8.62863%2021.8709L8.62463%2021.8879L8.61263%2021.9039L8.50863%2021.9779L8.49663%2021.9819L8.48163%2021.9779L8.37763%2021.9039L8.36763%2021.8909L8.36263%2021.8709L8.37963%2021.4429L8.38363%2021.4329C8.38897%2021.4262%208.39697%2021.4246%208.40763%2021.4279L8.47863%2021.4629L8.49263%2021.4669L8.51263%2021.4629L8.58363%2021.4279Z'%20fill='white'/%3e%3cpath%20d='M8.84663%2021.3149L8.85963%2021.3129C8.86963%2021.3156%208.8763%2021.3229%208.87963%2021.3349L8.91363%2021.9489L8.90963%2021.9629C8.90297%2021.9716%208.8933%2021.9742%208.88063%2021.9709L8.67963%2021.8779L8.67163%2021.8709L8.66663%2021.8589L8.64863%2021.4289L8.65163%2021.4179L8.66163%2021.4079L8.84663%2021.3149Z'%20fill='white'/%3e%3cpath%20d='M8.12993%2021.3125C8.13496%2021.3114%208.14022%2021.3122%208.14463%2021.3149L8.32863%2021.4069L8.33863%2021.4169L8.34163%2021.4289L8.32463%2021.8589L8.32063%2021.8699L8.31063%2021.8779L8.10963%2021.9709L8.09463%2021.9729C8.08397%2021.9689%208.0783%2021.9609%208.07763%2021.9489L8.11163%2021.3349L8.11763%2021.3209C8.12049%2021.3166%208.1249%2021.3136%208.12993%2021.3125Z'%20fill='white'/%3e%3c/g%3e%3cpath%20id='Vector_2'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.206%202.65678C8.04465%203.15989%208.98221%203.47561%209.95435%203.58229C10.9265%203.68896%2011.9102%203.58406%2012.838%203.27478L14.418%202.74778L13.11%206.67678C12.9978%207.01319%2013.0084%207.37847%2013.14%207.70778L14.679%2011.5538L12.207%2012.3778C11.553%2012.5957%2010.8595%2012.6695%2010.1743%2012.5943C9.48902%2012.519%208.82815%2012.2964%208.237%2011.9418C7.30449%2011.3821%206.25102%2011.0549%205.1655%2010.9879C4.07998%2010.9209%202.99427%2011.116%202%2011.5568V3.14878C2.00012%203.03935%202.03067%202.9321%202.08824%202.83904C2.14581%202.74597%202.228
1113%202.67075%202.326%202.62178C3.893%201.83878%205.659%201.72878%207.206%202.65678ZM0%205.16678V3.14878C0%202.16878%200.554%201.27178%201.431%200.832781C3.607%20-0.255219%206.105%20-0.336219%208.235%200.941781C8.82615%201.29644%209.48702%201.51903%2010.1723%201.59428C10.8575%201.66954%2011.551%201.59568%2012.205%201.37778L15.494%200.281781C15.6876%200.217439%2015.8953%200.20822%2016.0939%200.255157C16.2925%200.302093%2016.4741%200.403334%2016.6184%200.547561C16.7627%200.691788%2016.8641%200.873316%2016.9112%201.07185C16.9583%201.27039%2016.9492%201.4781%2016.885%201.67178L15.065%207.13578L16.889%2011.6968C16.9447%2011.8359%2016.9713%2011.985%2016.9673%2012.1348C16.9633%2012.2846%2016.9287%2012.432%2016.8657%2012.568C16.8027%2012.7039%2016.7126%2012.8256%2016.6008%2012.9255C16.4891%2013.0253%2016.3581%2013.1013%2016.216%2013.1488L12.838%2014.2748C11.9102%2014.5841%2010.9265%2014.689%209.95435%2014.5823C8.98221%2014.4756%208.04465%2014.1599%207.206%2013.6568C6.5165%2013.243%205.73374%2013.0098%204.93019%2012.9789C4.12665%2012.9479%203.32828%2013.1202%202.609%2013.4798L2%2013.7848V19.1668C2%2019.432%201.89464%2019.6864%201.70711%2019.8739C1.51957%2020.0614%201.26522%2020.1668%201%2020.1668C0.734784%2020.1668%200.48043%2020.0614%200.292893%2019.8739C0.105357%2019.6864%200%2019.432%200%2019.1668V13.1668V5.16678Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",X2="/assets/MDdzg7vm.webp",M3="/assets/C1AlKcxE.webp",D3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24.907'%20height='17.3597'%20viewBox='0%200%2024.907%2017.3597'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20(Stroke)'%20d='M22.6259%204.3645C22.6155%204.34609%2022.6009%204.33018%2022.5829%204.31905C22.5648%204.30787%2022.5439%204.30166%2022.5227%204.30063C22.5013%204.29966%2022.4792%204.30456%2022.4601%204.31414L17.3597%206.86307V10.4954L22.4601%2013.0456C22.4792%2013.0552%2022.5013%2013.0601%2022.5227%2013.0591C22.544%2013.0581%2022.5648%2013.0519%2022.5829%2013.0407C22.6009%2013.0296%2022.6155%2013.0137%2022.6259%2012.9952L22.6419%2012.9338V4.42592L22.6259%204.3645ZM15.0946%203.64835C15.0946%203.28138%2014.9487%202.93003%2014.6892%202.67054C14.4297%202.41105%2014.0784%202.26517%2013.7114%202.26517H3.64835C3.28137%202.26517%202.93003%202.41105%202.67054%202.67054C2.41105%202.93003%202.26517%203.28137%202.26517%203.64835V13.7114C2.26517%2014.0784%202.41105%2014.4297%202.67054%2014.6892C2.93003%2014.9487%203.28138%2015.0946%203.64835%2015.0946H13.7114C14.0784%2015.0946%2014.4297%2014.9487%2014.6892%2014.6892C14.9487%2014.4297%2015.0946%2014.0784%2015.0946%2013.7114V3.64835ZM17.3597%204.33257L21.4479%202.28851L21.5867%202.22463C21.9137%202.0865%2022.2687%202.02311%2022.6247%202.03914C23.0313%202.05756%2023.4269%202.17898%2023.7732%202.39292C24.1194%202.60689%2024.4052%202.90601%2024.6036%203.2614C24.802%203.6169%2024.9067%204.01761%2024.907%204.4247V12.935C24.9067%2013.3421%2024.802%2013.7428%2024.6036%2014.0983C24.4052%2014.4537%2024.1194%2014.7529%2023.7732%2014.9668C23.4269%2015.1808%2023.0313%2015.3022%2022.6247%2015.3206C22.2687%2015.3366%2021.9137%2015.2732%2021.5867%2015.1351L21.4479%2015.0712L17.3597%2013.0272V13.7114C17.3597%2014.6789%2016.9751%2015.6069%2016.291%2016.291C15.6069%2016.9751%2014.6789%2017.3597%2013.7114%2017.3597H3.64835C2.68087%2017.3597%201.75281%2016.9751%201.06871%2016.291C0.384602%2015.6069%200%2014.6789%200%2013.7114V3.64835C0%202.68088%200.384602%201.75281%201.06871%201.06871C1.75281%200.384602%202.68088%200%203.64835%200H13.7114C14.6789%200%2015.6069%200.384602%2016.291%201.06871C16.9751%201.75281%2017.3597%202.68087%2017.3597%203.64835V4.33257Z'%20fill='black'%20fill-opacity='0.37'/%3e%3c/svg%3e",F3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='22.6424'%20height='25.7678'%20viewBox='0%200%2022.6424%2025.7678'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M19.3262%203.31584C21.4046%205.39403%2022.5933%208.19909%2022.641%2011.1379C22.6886%2014.0767%2021.5915%2016.9188%2019.5815%2019.0633L19.3262%2019.3274L13.989%2024.6633C13.3118%2025.3401%2012.4026%2025.7342%2011.4457%2025.7657C10.4888%2025.7973%209.55572%2025.4639%2
1108.83543%2024.8332L8.65429%2024.6633L3.31584%2019.3262C1.19274%2017.2031%200%2014.3235%200%2011.321C0%208.31848%201.19274%205.43894%203.31584%203.31584C5.43894%201.19274%208.31848%200%2011.321%200C14.3235%200%2017.2031%201.19274%2019.3262%203.31584ZM11.321%207.54736C10.8254%207.54736%2010.3347%207.64496%209.87689%207.83461C9.41905%208.02425%209.00305%208.30221%208.65263%208.65263C8.30221%209.00305%208.02425%209.41905%207.83461%209.87689C7.64496%2010.3347%207.54736%2010.8254%207.54736%2011.321C7.54736%2011.8166%207.64496%2012.3073%207.83461%2012.7651C8.02425%2013.2229%208.30221%2013.639%208.65263%2013.9894C9.00305%2014.3398%209.41905%2014.6177%209.87689%2014.8074C10.3347%2014.997%2010.8254%2015.0946%2011.321%2015.0946C12.3218%2015.0946%2013.2817%2014.6971%2013.9894%2013.9894C14.6971%2013.2817%2015.0946%2012.3218%2015.0946%2011.321C15.0946%2010.3202%2014.6971%209.36033%2013.9894%208.65263C13.2817%207.94493%2012.3218%207.54736%2011.321%207.54736Z'%20fill='black'%20fill-opacity='0.37'/%3e%3c/svg%3e",A3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='23.0192'%20height='23.0192'%20viewBox='0%200%2023.0192%2023.0192'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M21.5727%2021.5727L14.864%2014.864M1.44656%209.27338C1.44656%2010.3012%201.64901%2011.319%202.04234%2012.2686C2.43568%2013.2182%203.0122%2014.081%203.73898%2014.8078C4.46577%2015.5346%205.32859%2016.1111%206.27819%2016.5044C7.22778%2016.8977%208.24555%2017.1002%209.27338%2017.1002C10.3012%2017.1002%2011.319%2016.8977%2012.2686%2016.5044C13.2182%2016.1111%2014.081%2015.5346%2014.8078%2014.8078C15.5346%2014.081%2016.1111%2013.2182%2016.5044%2012.2686C16.8977%2011.319%2017.1002%2010.3012%2017.1002%209.27338C17.1002%208.24555%2016.8977%207.22778%2016.5044%206.27819C16.1111%205.32859%2015.5346%204.46577%2014.8078%203.73898C14.081%203.0122%2013.2182%202.43568%2012.2686%202.04234C11.319%201.64901%2010.3012%201.44656%209.27338%201.44656C8.24555%201.44656%207.22778%201.64901%206.27819%202.04234C5.32859%202.43568%204.46577%203.0122%203.73898%203.73898C3.0122%204.46577%202.43568%205.32859%202.04234%206.27819C1.64901%207.22778%201.44656%208.24555%201.44656%209.27338Z'%20stroke='black'%20stroke-opacity='0.37'%20stroke-width='2.89313'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",z3="/assets/DfIPSyfg.svg",J2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='37.7374'%20height='37.7374'%20viewBox='0%200%2037.7374%2037.7374'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M23.8631%203.92695C23.9137%204.13588%2024.0129%204.32991%2024.1527%204.49327C24.2924%204.65663%2024.4688%204.7847%2024.6673%204.86707C24.8659%204.94944%2025.0811%204.98378%2025.2954%204.9673C25.5098%204.95083%2025.7172%204.88399%2025.9009%204.77224C30.5028%201.97031%2035.7689%207.23455%2032.967%2011.8365C32.8553%2012.02%2032.7884%2012.2273%2032.7718%2012.4415C32.7552%2012.6558%2032.7894%2012.8709%2032.8715%2013.0694C32.9537%2013.268%2033.0816%2013.4443%2033.2447%2013.5842C33.4078%2013.724%2033.6017%2013.8234%2033.8104%2013.8743C39.0464%2015.1441%2039.0464%2022.5914%2033.8104%2023.8631C33.6015%2023.9137%2033.4075%2024.0129%2033.2441%2024.1527C33.0807%2024.2924%2032.9527%2024.4688%2032.8703%2024.6673C32.7879%2024.8659%2032.7536%2025.0811%2032.7701%2025.2954C32.7865%2025.5098%2032.8534%2025.7172%2032.9651%2025.9009C35.7671%2030.5028%2030.5028%2035.7689%2025.9009%2032.967C25.7173%2032.8553%2025.5101%2032.7884%2025.2958%2032.7718C25.0816%2032.7552%2024.8665%2032.7894%2024.6679%2032.8715C24.4694%2032.9537%2024.293%2033.0816%2024.1532%2033.2447C24.0133%2033.4078%2023.914%2033.6017%2023.8631%2033.8104C22.5933%2039.0464%2015.146%2039.0464%2013.8743%2033.8104C13.8236%2033.6015%2013.7244%2033.4075%2013.5847%2033.2441C13.4449%2033.0807%2013.2686%2032.9527%2013.07%2032.8703C12.8715%2032.7879%2012.6563%2032.7536%2012.4419%2032.7701C12.2276%2032.7865%2012.0201%2032.8534%2011.8365%2032.9651C7.23455%2035.7671%201.96843%2030.5028%204.77036%2025.9009C4.88212%2025.7173%204.94901%2025.5101%204.9656%2025.2958C4.98219%2025.0816%204.94801%2024.8665%204.86584%2024.6679C4.78367%2024.4694%204.65582%2024.293%204.49268%2024.1532C4.32954%2024.0133%204.13571%2023.914%203.92695%2023.8631C-1.30898%2022.5933%20-1.30898%2015.146%203.92695%2013.8743C4.13588%2013.8236%204.32991%2013.7244%204.49327%2013.5847C4.65663%2013.4449%204.7847%2013.2686%204.86707%2013.07C4.94944%2012.8715%204.98378%2012.6563%204.9673%2012.4419C4.95083%2012.2276%204.88399%2012.0201%204.77224%2011.8365C1.97031%207.23455%207.23455%201.96843%2011.8365%204.77036C12.0198%204.88296%2012.2272%204.95054%2012.4417%204.96756C12.6562%204.98458%2012.8717%204.95056%2013.0705%204.86828C13.2693%204.78599%2013.4457%204.6578%2013.5854%204.49418C13.7252%204.33056%2013.8241%204.13618%2013.8743%203.92695C15.1441%20-1.30898%2022.5914%20-1.30898%2023.8631%203.92695ZM18.8687%2013.2082C17.3674%2013.2082%2015.9277%2013.8046%2014.8661%2014.8661C13.8046%2015.9277%2013.2082%2017.3674%2013.2082%2018.8687C13.2082%2020.3699%2013.8046%2021.8097%2014.8661%2022.8712C15.9277%2023.9328%2017.3674%2024.5291%2018.8687%2024.5291C20.3699%2024.5291%2021.8097%2023.9328%2022.8712%2022.8712C23.9328%2021.8097%2024.5291%2020.3699%2024.5291%2018.8687C24.5291%2017.3674%2023.9328%2015.9277%2022.8712%2014.8661C21.8097%2013.8046%2020.3699%2013.2082%2018.8687%2013.2082Z'%20fill='black'%20fill-opacity='0.37'/%3e%3c/svg%3e",U3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='22.5'%20height='27.0441'%20viewBox='0%200%2022.5%2027.0441'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cg%20id='Vector'%3e%3c/g%3e%3cpath%20id='Vector_2'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.25%200C14.2337%200%2017.0952%201.18526%2019.205%203.29505C21.3147%205.40483%2022.5%208.26631%2022.5%2011.25C22.5%2015.0925%2020.405%2018.2375%2018.1975%2020.4938C17.0946%2021.6088%2015.8912%2022.6198%2014.6025%2023.5138L14.07%2023.8762L13.82%2024.0425L13.3487%2024.3425L12.9288%2024.5988L12.4088%2024.9012C12.0558%2025.1027%2011.6564%2025.2087%2011.25%2025.2087C10.843
116%2025.2087%2010.4442%2025.1027%2010.0912%2024.9012L9.57125%2024.5988L8.92125%2024.1987L8.68125%2024.0425L8.16875%2023.7013C6.77854%2022.7607%205.48363%2021.6864%204.3025%2020.4938C2.095%2018.2363%200%2015.0925%200%2011.25C0%208.26631%201.18526%205.40483%203.29505%203.29505C5.40483%201.18526%208.26631%200%2011.25%200ZM11.25%202.5C8.92936%202.5%206.70376%203.42187%205.06282%205.06282C3.42187%206.70376%202.5%208.92936%202.5%2011.25C2.5%2014.1525%204.09%2016.7%206.08875%2018.745C6.94816%2019.615%207.87707%2020.4135%208.86625%2021.1325L9.43875%2021.54C9.62375%2021.6692%209.80167%2021.7892%209.9725%2021.9L10.46%2022.2125L10.8888%2022.4738L11.25%2022.685L11.8187%2022.3487L12.2775%2022.0613C12.5217%2021.9063%2012.7829%2021.7325%2013.0613%2021.54L13.6337%2021.1325C14.6229%2020.4135%2015.5518%2019.615%2016.4112%2018.745C18.41%2016.7013%2020%2014.1525%2020%2011.25C20%208.92936%2019.0781%206.70376%2017.4372%205.06282C15.7962%203.42187%2013.5706%202.5%2011.25%202.5ZM11.25%206.25C12.5761%206.25%2013.8479%206.77678%2014.7855%207.71447C15.7232%208.65215%2016.25%209.92392%2016.25%2011.25C16.25%2012.5761%2015.7232%2013.8479%2014.7855%2014.7855C13.8479%2015.7232%2012.5761%2016.25%2011.25%2016.25C9.92392%2016.25%208.65215%2015.7232%207.71447%2014.7855C6.77678%2013.8479%206.25%2012.5761%206.25%2011.25C6.25%209.92392%206.77678%208.65215%207.71447%207.71447C8.65215%206.77678%209.92392%206.25%2011.25%206.25ZM11.25%208.75C10.587%208.75%209.95107%209.01339%209.48223%209.48223C9.01339%209.95107%208.75%2010.587%208.75%2011.25C8.75%2011.913%209.01339%2012.5489%209.48223%2013.0178C9.95107%2013.4866%2010.587%2013.75%2011.25%2013.75C11.913%2013.75%2012.5489%2013.4866%2013.0178%2013.0178C13.4866%2012.5489%2013.75%2011.913%2013.75%2011.25C13.75%2010.587%2013.4866%209.95107%2013.0178%209.48223C12.5489%209.01339%2011.913%208.75%2011.25%208.75Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",$3="/assets/imnd9Nuz.png",B3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='921.779'%20height='775.92'%20viewBox='0%200%20921.779%20775.92'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Vector%2025'%3e%3cpath%20d='M23.3262%200.389373C-113.085%20680.752%20430.029%20986.771%20920.577%20612.422'%20stroke='url(%23paint0_radial_0_101)'%20stroke-width='3.96137'%20stroke-dasharray='7.92%207.92'/%3e%3cpath%20d='M23.3262%200.389373C-113.085%20680.752%20430.029%20986.771%20920.577%20612.422'%20stroke='url(%23paint1_linear_0_101)'%20stroke-width='3.96137'%20stroke-dasharray='7.92%207.92'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_0_101'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(1489.92%20-38.5107%201287.54%202002.56%20-48.4301%20837.577)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0384615'%20stop-color='%23CDDBFD'/%3e%3cstop%20offset='0.284985'%20stop-color='%23235AD0'/%3e%3cstop%20offset='0.706731'%20stop-color='%230E111D'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_0_101'%20x1='12.5576'%20y1='773.95'%20x2='959.97'%20y2='-302.248'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.585157'%20stop-color='%230E101D'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%231F53C1'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",V3="/assets/DXpo_xOA.png",H3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='39.6147'%20height='39.6147'%20viewBox='0%200%2039.6147%2039.6147'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M25.0502%204.1223C25.1034%204.34163%2025.2075%204.54532%2025.3542%204.7168C25.5009%204.88829%2025.686%205.02273%2025.8945%205.1092C26.1029%205.19566%2026.3288%205.23171%2026.5538%205.21442C26.7788%205.19712%2026.9966%205.12696%2027.1894%205.00965C32.0203%202.06833%2037.5484%207.59445%2034.6071%2012.4253C34.4897%2012.618%2034.4195%2012.8356%2034.4021%2013.0605C34.3847%2013.2854%2034.4206%2013.5112%2034.5068%2013.7196C34.5931%2013.928%2034.7273%2014.1132%2034.8985%2014.26C35.0698%2014.4068%2035.2733%2014.5111%2035.4924%2014.5645C40.9888%2015.8975%2040.9888%2023.7153%2035.4924%2025.0502C35.2731%2025.1034%2035.0694%2025.2075%2034.8979%2025.3542C34.7264%2025.5009%2034.592%2025.686%2034.5055%2025.8945C34.4191%2026.1029%2034.383%2026.3288%2
11034.4003%2026.5538C34.4176%2026.7788%2034.4878%2026.9966%2034.6051%2027.1894C37.5464%2032.0203%2032.0203%2037.5484%2027.1894%2034.6071C26.9967%2034.4897%2026.7791%2034.4195%2026.5542%2034.4021C26.3293%2034.3847%2026.1035%2034.4206%2025.8951%2034.5068C25.6867%2034.5931%2025.5016%2034.7273%2025.3548%2034.8985C25.208%2035.0698%2025.1036%2035.2733%2025.0502%2035.4924C23.7172%2040.9888%2015.8995%2040.9888%2014.5645%2035.4924C14.5113%2035.2731%2014.4072%2035.0694%2014.2605%2034.8979C14.1138%2034.7264%2013.9287%2034.592%2013.7202%2034.5055C13.5118%2034.4191%2013.2859%2034.383%2013.0609%2034.4003C12.8359%2034.4176%2012.6181%2034.4878%2012.4253%2034.6051C7.59445%2037.5464%202.06635%2032.0203%205.00767%2027.1894C5.12499%2026.9967%205.19521%2026.7791%205.21263%2026.5542C5.23004%2026.3293%205.19416%2026.1035%205.1079%2025.8951C5.02164%2025.6867%204.88743%2025.5016%204.71618%2025.3548C4.54493%2025.208%204.34146%2025.1036%204.1223%2025.0502C-1.3741%2023.7172%20-1.3741%2015.8995%204.1223%2014.5645C4.34163%2014.5113%204.54532%2014.4072%204.7168%2014.2605C4.88829%2014.1138%205.02273%2013.9287%205.1092%2013.7202C5.19566%2013.5118%205.23171%2013.2859%205.21442%2013.0609C5.19712%2012.8359%205.12696%2012.6181%205.00965%2012.4253C2.06833%207.59445%207.59445%202.06635%2012.4253%205.00767C12.6178%205.12588%2012.8355%205.19682%2013.0607%205.21468C13.2858%205.23255%2013.512%205.19683%2013.7207%205.11046C13.9294%205.02409%2014.1146%204.88951%2014.2613%204.71776C14.408%204.546%2014.5119%204.34195%2014.5645%204.1223C15.8975%20-1.3741%2023.7153%20-1.3741%2025.0502%204.1223ZM19.8074%2013.8653C18.2314%2013.8653%2016.72%2014.4913%2015.6057%2015.6057C14.4913%2016.72%2013.8653%2018.2314%2013.8653%2019.8074C13.8653%2021.3833%2014.4913%2022.8947%2015.6057%2024.009C16.72%2025.1234%2018.2314%2025.7494%2019.8074%2025.7494C21.3833%2025.7494%2022.8947%2025.1234%2024.009%2024.009C25.1234%2022.8947%2025.7494%2021.3833%2025.7494%2019.8074C25.7494%2018.2314%2025.1234%2016.72%2024.009%2015.6057C22.8947%2014.4913%2021.3833%2013.8653%2019.8074%2013.8653Z'%20fill='black'%20fill-opacity='0.37'/%3e%3c/svg%3e",b3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M10%200C11.3132%200%2012.6136%200.258658%2013.8268%200.761205C15.0401%201.26375%2016.1425%202.00035%2017.0711%202.92893C17.9997%203.85752%2018.7362%204.95991%2019.2388%206.17317C19.7413%207.38642%2020%208.68678%2020%2010C20%2012.6522%2018.9464%2015.1957%2017.0711%2017.0711C15.1957%2018.9464%2012.6522%2020%2010%2020C5.4%2020%201.55%2016.92%200.36%2012.73L4.19%2014.31C4.32124%2014.9506%204.66949%2015.5262%205.17597%2015.9398C5.68245%2016.3534%206.31612%2016.5795%206.97%2016.58C8.53%2016.58%209.8%2015.31%209.8%2013.75V13.62L13.2%2011.19H13.28C15.36%2011.19%2017.05%209.5%2017.05%207.42C17.05%205.34%2015.36%203.65%2013.28%203.65C11.2%203.65%209.5%205.34%209.5%207.42V7.47L7.13%2010.93L6.97%2010.92C6.38%2010.92%205.83%2011.1%205.38%2011.41L0%209.2C0.43%204.05%204.73%200%2010%200ZM6.28%2015.17C7.08%2015.5%208%2015.13%208.33%2014.33C8.66%2013.53%208.28%2012.62%207.5%2012.29L6.22%2011.76C6.71%2011.58%207.26%2011.57%207.78%2011.79C8.31%2012%208.72%2012.41%208.93%2012.94C9.15%2013.46%209.15%2014.04%208.93%2014.56C8.5%2015.64%207.23%2016.16%206.15%2015.71C5.65%2015.5%205.27%2015.12%205.06%2014.67L6.28%2015.17ZM15.8%207.42C15.8%208.81%2014.67%209.94%2013.28%209.94C12.6134%209.93735%2011.975%209.67069%2011.5046%209.19838C11.0341%208.72608%2010.77%208.08662%2010.77%207.42C10.7687%207.09001%2010.8327%206.76303%2010.9584%206.4579C11.084%206.15278%2011.2689%205.87555%2011.5022%205.64221C11.7356%205.40887%2012.0128%205.22404%2012.3179%205.09837C12.623%204.9727%2012.95%204.90868%2013.28%204.91C13.9466%204.90999%2014.5861%205.17412%2015.0584%205.64455C15.5307%206.11498%2015.7974%206.75339%2015.8%207.42ZM11.4%207.42C11.4%208.46%2012.24%209.31%2013.29%209.31C14.33%209.31%2015.17%208.46%2015.17%207.42C15.17%206.38%2014.33%205.53%2013.29%205.53C12.24%205.53%2011.4%206.38%2011.4%207.42Z'%20fill='white'/%3e%3c/svg%3e",Q3="/assets/B07IEUcg.png",W3="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='977.931'%20height='1199.77'%20viewBox='0%200%20977.931%201199.77'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Rectangle%2042013'%20filter='url(%23filter0_f_0_103)'%3e%3crect%20x='137.064'%20y='137.064'%20width='703.804'%20height='925.641'%20rx='351.902'%20fill='%23D9D9D9'%20fill-opacity='0.8'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_f_0_103'%20x='0'%20y='0'%20width='977.931'%20height='1199.77'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='Backgroun
11dImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='68.5318'%20result='effect1_foregroundBlur_0_103'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",q3="/assets/mi_d8rxn.svg",K3="/assets/D-Mpos7s.webp",G3="/assets/B3KwI-yC.webp",Z3=x.lazy(()=>$t(()=>import("./BbgqNHix.js"),__vite__mapDeps([0,1])).then(r=>({default:r.LandingEnemySection}))),Y3=x.lazy(()=>$t(()=>import("./CZQTJuDA.js"),[]).then(r=>({default:r.LandingDevicesSection}))),X3=x.lazy(()=>$t(()=>import("./DtlW7Lx4.js"),__vite__mapDeps([2,1,3])).then(r=>({default:r.LandingMapSection}))),J3=x.lazy(()=>$t(()=>import("./DEjJ6iK2.js"),[]).then(r=>({default:r.LandingRaidSection}))),ev=x.lazy(()=>$t(()=>import("./c3RGT3E9.js"),__vite__mapDeps([4,5,6,7])).then(r=>({default:r.LandingSubscriptionsSection}))),tv=x.lazy(()=>$t(()=>import("./DjZc2NgC.js"),__vite__mapDeps([8,9])).then(r=>({default:r.LandingFooterSection}))),e0=1920,nv=7546,rv=1600,t0=.8,nf={fetchpriority:"high"},iv=[{nodeId:"263:97034",className:"lock",src:P3,left:535.5,top:3960.984,width:48.025,height:48.025},{nodeId:"263:97050",className:"person",src:L3,left:855.75,top:3967.871,width:36.469,height:36.469},{nodeId:"263:97025",className:"settings",src:J2,left:750,top:5149,width:33.963,height:33.963},{nodeId:"263:97030",className:"camera",src:D3,left:320.516,top:5663,width:26.901,height:26.901},{nodeId:"263:97029",className:"search",src:A3,left:1569,top:5680,width:22.642,height:22.642},{nodeId:"263:97024",className:"settings",src:J2,left:1170,top:5990,width:33.963,height:33.963},{nodeId:"263:97026",className:"connections",src:z3,left:637.752,top:6038,width:28.534,height:28.534},{nodeId:"263:97027",className:"location",src:F3,left:873.75,top:6110.539,width:27.579,height:27.579}];function n0(){const r=window.innerWidth,l=r>=rv?Math.max(t0,r/e0*t0):1;return{scale:l,backgroundWidth:Math.max(e0,r/l)}}function lv(){const[r,l]=x.useState(n0);return x.useEffect(()=>{const s=()=>l(n0());return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]),r}function Ar({as:r="section",className:l,component:s,id:u}){const c=x.useRef(null),[f,p]=x.useState(!1);x.useEffect(()=>{const g=c.current;if(!g||!("IntersectionObserver"in window)){p(!0);return}const S=new IntersectionObserver(R=>{R.some(E=>E.isIntersecting)&&(p(!0),S.disconnect())},{rootMargin:"1400px 0px",threshold:0});return S.observe(g),()=>S.disconnect()},[]);const m=r==="footer"?v.jsx("footer",{ref:c,id:u,className:l,"aria-hidden":"true"}):v.jsx("section",{ref:c,id:u,className:l,"aria-hidden":"true"});return f?v.jsx(x.Suspense,{fallback:m,children:v.jsx(s,{})}):m}function sv(){x.useEffect(()=>{const r=document.querySelector(".landing-code");if(!r)return;const l="[data-scroll-reveal]",s=typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;let u=null;const c=g=>{g.dataset.revealState="visible",u?.unobserve(g)},f=g=>{if(g.dataset.revealState!=="visible"){if(s||!u){c(g);return}u.observe(g)}},p=g=>{g instanceof HTMLElement&&g.matches(l)&&f(g),g.querySelectorAll(l).forEach(f)};!s&&"IntersectionObserver"in window&&(u=new IntersectionObserver(g=>{g.forEach(S=>{S.isIntersecting&&c(S.target)})},{rootMargin:"0px 0px -10% 0px",threshold:.08})),p(r);const m=new MutationObserver(g=>{g.forEach(S=>{S.addedNodes.forEach(R=>{R instanceof HTMLElement&&p(R)})})});return m.observe(r,{childList:!0,subtree:!0}),()=>{m.disconnect(),u?.disconnect()}},[])}const r0=[["ÐлавнаÑ","#top"],["ФÑнкÑии","#features"],["ÐодпиÑки","#subscriptions"],["ÐонÑакÑÑ","#contacts"]];function rf(){return"/api/auth/steam"}function ov(){return v.jsxs("span",{className:"landing-code-brand","aria-label":"Rust++",children:[v.jsx("img",{src:_3,alt:"",draggable:!1}),v.jsxs("span",{"aria-hidden":!0,children:["Rust+",v.jsx("b",{children:"+"})]})]})}function lf({className:r=""}){return v.jsxs("a",{className:`landing-code-button landing-code-button--steam ${r}`,href:rf(),children:[v.jsx("span",{className:"landing-code-button__icon","aria-hidden":!0,
11children:v.jsx("img",{src:b3,alt:"",draggable:!1})}),v.jsx("span",{children:"ÐойÑи ÑеÑез Steam"})]})}function av(){return v.jsxs("div",{className:"landing-code-statusbar","aria-hidden":!0,"data-node-id":"263:99137",children:[v.jsx("span",{className:"landing-code-statusbar__time",children:"9:30"}),v.jsx("span",{className:"landing-code-statusbar__camera"}),v.jsxs("span",{className:"landing-code-statusbar__signal",children:[v.jsx("i",{}),v.jsx("i",{}),v.jsx("i",{})]}),v.jsx("span",{className:"landing-code-statusbar__wifi"}),v.jsx("span",{className:"landing-code-statusbar__battery"})]})}function uv(){const[r,l]=x.useState(!1);return x.useEffect(()=>{if(!r)return;const s=u=>{u.key==="Escape"&&l(!1)};return window.addEventListener("keydown",s),()=>window.removeEventListener("keydown",s)},[r]),v.jsxs("header",{className:`landing-code-header${r?" landing-code-header--open":""}`,"data-node-id":r?"263:101200":"263:97051","data-scroll-reveal":"down","data-reveal-state":"pending",children:[v.jsx("div",{className:"landing-code-header__backdrop","aria-hidden":!0}),v.jsxs("div",{className:"landing-code-header__row",children:[v.jsx("a",{className:"landing-code-header__brand",href:"#top",onClick:()=>l(!1),children:v.jsx(ov,{})}),v.jsx("nav",{className:"landing-code-header__desktop-nav","aria-label":"ÐÑÐ½Ð¾Ð²Ð½Ð°Ñ Ð½Ð°Ð²Ð¸Ð³Ð°ÑиÑ",children:r0.map(([s,u])=>v.jsx("a",{href:u,children:s},u))}),v.jsx("a",{className:"landing-code-header__authorize",href:rf(),"data-node-id":"263:97062",children:"ÐвÑоÑизоваÑÑÑÑ"}),v.jsxs("button",{type:"button",className:"landing-code-header__menu-toggle","aria-label":r?"ÐакÑÑÑÑ Ð¼ÐµÐ½Ñ":"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ","aria-expanded":r,"aria-controls":"landing-code-mobile-menu",onClick:()=>l(s=>!s),children:[!r&&v.jsx("span",{children:"ÐенÑ"}),v.jsx("img",{src:r?O3:I3,alt:"","aria-hidden":!0,draggable:!1})]})]}),r&&v.jsxs("div",{id:"landing-code-mobile-menu",className:"landing-code-mobile-menu",children:[v.jsxs("div",{className:"landing-code-mobile-menu__navigation",children:[v.jsx("p",{children:"ÐенÑ"}),v.jsx("nav",{"aria-label":"ÐобилÑÐ½Ð°Ñ Ð½Ð°Ð²Ð¸Ð³Ð°ÑиÑ",children:r0.map(([s,u])=>v.jsx("a",{href:u,onClick:()=>l(!1),children:s},u))})]}),v.jsx(lf,{className:"landing-code-mobile-menu__steam"})]})]})}function _s({kind:r,position:l}){const s=r==="heli";return v.jsxs("div",{className:`landing-code-notification landing-code-notification--${r} landing-code-notification--${r}-${l}`,"data-node-id":s?"263:96636":void 0,children:[v.jsx("span",{className:"landing-code-notification__avatar",children:v.jsx("img",{src:s?R3:V3,alt:"",draggable:!1})}),v.jsx("span",{className:"landing-code-notification__text",children:s?"СÑабоÑала ÑÐ¼Ð½Ð°Ñ ÑигнализаÑиÑ":"ÐаÑÑ Ð±Ð°Ð·Ñ Ð°ÑакÑÑÑ!"}),s&&v.jsx("span",{className:"landing-code-notification__timer-container",children:v.jsx("span",{className:"landing-code-notification__timer",children:"12:40"})})]})}function cv(){const r={"--landing-code-turret-mask":`url("${W3}")`};return v.jsxs("div",{className:"landing-code-hero-art","aria-hidden":!0,"data-node-id":"263:96631","data-scroll-reveal":"right","data-scroll-delay":"2","data-reveal-state":"pending",children:[v.jsx("div",{className:"landing-code-hero-art__mobile-light",children:v.jsx("img",{src:$3,alt:"",draggable:!1})}),v.jsx("div",{className:"landing-code-hero-art__turret",style:r,children:v.jsx("img",{src:Q3,alt:"",loading:"eager",decoding:"async",draggable:!1,...nf})}),v.jsx(_s,{kind:"heli",position:"primary"}),v.jsx(_s,{kind:"heli",position:"secondary"}),v.jsx(_s,{kind:"raid",position:"primary"}),v.jsx(_s,{kind:"raid",position:"secondary"}),v.jsx("div",{className:"landing-code-orbit",children:v.jsx("img",{src:B3,alt:"",draggable:!1})}),v.jsx("div",{className:"landing-code-marker landing-code-marker--flag",children:v.jsx("span",{children:v.jsx("img",{src:T3,alt:"",draggable:!1})})}),v.jsx("div",{className:"landing-code-marker landing-code-marker--location",children:v.jsx("span",{children:v.jsx("img",{src:U3,alt:"",draggable:!1})})}),v.jsx("span",{className:"landing-code-floating-icon landing-code-floating-icon--bell",children:v.jsx("img",{src:N3,alt:"",draggable:!1})}),v.jsx("span",{className:"landing-code-floating-icon landing-code-floating-icon--settings",children:v.jsx("img",{src:H3,alt:"",draggable:!1})}),v.jsx("span",{className:"landing-code-floating-icon landing-code-floating-icon--connections",children:v.jsx("img",{src:j3,alt:"",draggable:!1})})]})}function dv(){return v.jsx("div",{className:"landing-code-hero__background","aria-hidden":!0,
11children:v.jsx("div",{className:"landing-code-hero__desktop-light","data-node-id":"263:96724",children:v.jsx("img",{src:X2,srcSet:`${X2} 4212w, ${M3} 6318w`,sizes:"(min-width: 1921px) 4212px, 3159px",alt:"",loading:"eager",decoding:"async",draggable:!1,...nf})})})}function fv(){return v.jsxs("div",{className:"landing-code-background","aria-hidden":"true",children:[v.jsx("div",{className:"landing-code-background-layer landing-code-background-layer--mid","aria-hidden":!0,children:v.jsx("img",{className:"landing-code-background__mid-light",src:q3,alt:"",draggable:!1,"data-node-id":"263:94882"})}),v.jsxs("div",{className:"landing-code-background-layer landing-code-background-layer--sides","aria-hidden":!0,children:[v.jsx("img",{className:"landing-code-background__side landing-code-background__side--left",src:K3,alt:"",draggable:!1,"data-node-id":"263:96725"}),v.jsx("img",{className:"landing-code-background__side landing-code-background__side--right",src:G3,alt:"",draggable:!1,"data-node-id":"263:96726"})]}),v.jsx("div",{className:"landing-code-background-layer landing-code-background-layer--icons","aria-hidden":!0,children:iv.map(r=>v.jsx("span",{className:`landing-code-background__icon landing-code-background__icon--${r.className}`,"data-node-id":r.nodeId,style:{left:`${r.left}px`,top:`${r.top}px`,width:`${r.width}px`,height:`${r.height}px`},children:v.jsx("img",{src:r.src,alt:"",draggable:!1})},`${r.nodeId}-${r.left}`))})]})}function pv(){return v.jsxs("div",{className:"landing-code-hero-copy","data-node-id":"263:97035","data-scroll-reveal":"left","data-scroll-delay":"1","data-reveal-state":"pending",children:[v.jsxs("div",{className:"landing-code-hero-copy__text",children:[v.jsxs("h1",{id:"landing-code-title","aria-label":"УпÑавлÑй Ñвоим вÑживанием",children:[v.jsxs("span",{className:"landing-code-hero-copy__title landing-code-hero-copy__title--desktop","aria-hidden":!0,children:["УпÑавлÑй",v.jsx("br",{}),"Ñвоим",v.jsx("br",{}),"вÑживанием"]}),v.jsxs("span",{className:"landing-code-hero-copy__title landing-code-hero-copy__title--wide","aria-hidden":!0,children:["УпÑавлÑй",v.jsx("br",{}),"Ñвоим вÑживанием"]}),v.jsxs("span",{className:"landing-code-hero-copy__title landing-code-hero-copy__title--mobile","aria-hidden":!0,children:["УпÑавлÑй Ñвоим",v.jsx("br",{}),"вÑживанием"]})]}),v.jsx("p",{className:"landing-code-hero-copy__description landing-code-hero-copy__description--desktop",children:"Следи за базой, командой и подклÑÑÑннÑми ÑÑÑÑойÑÑвами из одного пÑиложениÑ. ÐолÑÑай ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ ÑейдаÑ
, ÑигнализаÑиÑÑ
и ÑÑаÑÑÑе игÑоков в ÑеалÑном вÑемени."}),v.jsx("p",{className:"landing-code-hero-copy__description landing-code-hero-copy__description--mobile",children:"Rust++ App - ÑÑовеÑÑенÑÑвованнÑй и более ÑмнÑй компанÑон Rust+."})]}),v.jsxs("div",{className:"landing-code-hero-actions",children:[v.jsx(lf,{}),v.jsx("a",{className:"landing-code-button landing-code-button--secondary",href:"#features","data-node-id":"263:97046",children:"Ркакие еÑÑÑ ÑиÑки?"})]})]})}function sf(){const{scale:r,backgroundWidth:l}=lv();sv(),x.useEffect(()=>(document.documentElement.classList.add("landing-code-active"),()=>document.documentElement.classList.remove("landing-code-active")),[]);const s={"--landing-code-wide-scale":r,"--landing-code-wide-height":`${nv*r}px`,"--landing-code-background-width":`${l}px`};return v.jsx("div",{id:"top",className:"landing-code",style:s,children:v.jsxs("div",{className:"landing-code__canvas",children:[v.jsx(fv,{}),v.jsx(av,{}),v.jsx(uv,{}),v.jsxs("main",{children:[v.jsxs("section",{className:"landing-code-hero","aria-labelledby":"landing-code-title",children:[v.jsx(cv,{}),v.jsx(pv,{}),v.jsx(dv,{})]}),v.jsx(Ar,{id:"features",className:"landing-code-enemies",component:Z3}),v.jsx(Ar,{id:"devices",className:"landing-code-devices",component:Y3}),v.jsx(Ar,{id:"map",className:"landing-code-map",component:X3}),v.jsx(Ar,{className:"landing-code-raid",component:J3}),v.jsx(Ar,{id:"subscriptions",className:"landing-code-pricing",component:ev})]}
11),v.jsx(Ar,{as:"footer",id:"contacts",className:"landing-code-footer",component:tv})]})})}const hv=x.lazy(()=>$t(()=>import("./DvYDVevt.js"),__vite__mapDeps([10,9,11])).then(r=>({default:r.Pair}))),of=x.lazy(()=>$t(()=>import("./357Lnfy7.js").then(r=>r.N),__vite__mapDeps([12,13,7,9,3,11,14,5,15])).then(r=>({default:r.Dashboard}))),mv=null,vv=null,gv=null,yv=null,wv=null,Cv=x.lazy(()=>$t(()=>import("./yAqzj39b.js"),__vite__mapDeps([16,6,7,13,17])).then(r=>({default:r.LandingGradientTestPage}))),Sv=x.lazy(()=>$t(()=>import("./Dsmf70WZ.js"),__vite__mapDeps([18,14,19])).then(r=>({default:r.OpsPage}))),i0=x.lazy(()=>$t(()=>import("./DWbawloT.js"),__vite__mapDeps([20,13,21])).then(r=>({default:r.LegalPage})));function xv(){return v.jsx("div",{className:"grid min-h-screen place-items-center bg-[#0c0d10] text-sm text-white/55",children:"ÐагÑÑзка Rust++â¦"})}function kv(){const r=Ut(l=>l.status);return r==="loading"?v.jsx(xu,{}):r==="authed"?v.jsx(of,{}):v.jsx(sf,{})}function Ev(r){return r==="premium"||r==="premium-plus"||r==="premium-plus-plus"}function l0(){const r=pt(),l=Ut(p=>
11p.status),s=new URLSearchParams(r.search),u=s.get("plan"),c=Ev(u)?u:"premium-plus",f=d3(s.get("period"));return x.useEffect(()=>{if(l!=="anon")return;sessionStorage.setItem(u3,JSON.stringify({planId:c,billingPeriod:f})),window.location.assign("/api/auth/steam?next=pricing-v2")},[f,c,l]),l!=="authed"?v.jsx(xu,{}):(s.set("billing","checkout"),v.jsx(an,{to:{pathname:"/dashboard",search:`?${s.toString()}`,hash:r.hash},replace:!0}))}function _v(){const r=pt(),l=new URLSearchParams(r.search);return l.set("billing",l.get("redeemPromo")==="1"||l.get("billing")==="promo"?"promo":l.has("payment")||l.get("billing")==="checkout"?"checkout":"limits"),v.jsx(an,{to:{pathname:"/dashboard",search:`?${l.toString()}`,hash:r.hash},replace:!0})}function Rv(){return Km(),v.jsxs(km,{children:[v.jsx(x.Suspense,{fallback:v.jsx(xv,{}),children:v.jsxs(H2,{children:[v.jsx(He,{path:"/legal",element:v.jsx(i0,{})}),v.jsx(He,{path:"/legal/:document",element:v.jsx(i0,{})}),v.jsx(He,{path:"/r/:code",element:v.jsx(w3,{})}),v.jsx(He,{path:"/landing-code/*",element:v.jsx(sf,{})}),v.jsx(He,{path:"/qa/*",element:v.jsx(an,{to:"/",replace:!0})}),v.jsx(He,{path:"/*",element:v.jsx(l3,{children:v.jsxs(H2,{children:[v.jsx(He,{path:"/login",element:v.jsx(an,{to:"/",replace:!0})}),v.jsx(He,{path:"/beta",element:v.jsx(an,{to:"/",replace:!0})}),mv,vv,gv,yv,wv,v.jsx(He,{path:"/landing-2k-test",element:v.jsx(Cv,{})}),v.jsx(He,{path:"/pricing",element:v.jsx(l0,{})}),v.jsx(He,{path:"/pricing-v2",element:v.jsx(l0,{})}),v.jsx(He,{path:"/subscription",element:v.jsx(Es,{children:v.jsx(_v,{})})}),v.jsx(He,{path:"/ops",element:v.jsx(Es,{children:v.jsx(Sv,{})})}),v.jsx(He,{path:"/pair",element:v.jsx(Es,{children:v.jsx(E3,{children:v.jsx(hv,{})})})}),v.jsx(He,{path:"/dashboard",element:v.jsx(Es,{children:v.jsx(of,{})})}),v.jsx(He,{path:"/",element:v.jsx(kv,{})}),v.jsx(He,{path:"*",element:v.jsx(an,{to:"/",replace:!0})})]})})})]})}),v.jsx(y3,{})]})}const Pv=new Uh({defaultOptions:{queries:{retry:1,refetchOnWindowFocus:!1}}});hh.createRoot(document.getElementById("root")).render(v.jsx(Hi.StrictMode,{children:v.jsx($h,{client:Pv,children:v.jsx(Rv,{})})}));export{Vv as $,J0 as A,Bv as B,c3 as C,Tm as D,eg as E,su as F,n3 as G,C3 as H,jv as I,K2 as J,Gm as K,Su as L,Av as M,p3 as N,f3 as O,Am as P,jh as Q,Qv as R,Os as S,Hv as T,$v as U,Ov as V,u3 as W,d3 as X,Kv as Y,Gv as Z,$t as _,S3 as a,a3 as a0,Wv as a1,Zv as a2,tf as a3,m3 as a4,Uv as a5,h3 as a6,qv as a7,Yv as a8,bv as a9,x3 as aa,q3 as ab,K3 as ac,G3 as ad,z1 as ae,an as af,J2 as ag,A3 as ah,z3 as ai,F3 as aj,D3 as ak,N3 as al,v3 as am,nl as an,$a as ao,qi as ap,Fh as aq,qe as ar,ft as as,S0 as at,b3 as au,Mv as av,au as aw,v0 as ax,Nv as b,Yh as c,dr as d,cn as e,Qm as f,bm as g,Iv as h,t3 as i,v as j,Tv as k,X0 as l,Ut as m,il as n,eu as o,o3 as p,Xv as q,x as r,Jv as s,lu as t,I0 as u,_3 as v,Vm as w,Dv as x,Fv as y,zv as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.