(function(){"use strict";function zf(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var Jn={exports:{}},qa={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ef;function Vd(){if(Ef)return qa;Ef=1;var h=Symbol.for("react.transitional.element"),O=Symbol.for("react.fragment");function x(o,H,B){var Z=null;if(B!==void 0&&(Z=""+B),H.key!==void 0&&(Z=""+H.key),"key"in H){B={};for(var Y in H)Y!=="key"&&(B[Y]=H[Y])}else B=H;return H=B.ref,{$$typeof:h,type:o,key:Z,ref:H!==void 0?H:null,props:B}}return qa.Fragment=O,qa.jsx=x,qa.jsxs=x,qa}var Af;function Kd(){return Af||(Af=1,Jn.exports=Vd()),Jn.exports}var E=Kd(),kn={exports:{}},k={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var xf;function Jd(){if(xf)return k;xf=1;var h=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),C=Symbol.for("react.activity"),L=Symbol.iterator;function _t(f){return f===null||typeof f!="object"?null:(f=L&&f[L]||f["@@iterator"],typeof f=="function"?f:null)}var Tt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ft=Object.assign,zt={};function xt(f,g,A){this.props=f,this.context=g,this.refs=zt,this.updater=A||Tt}xt.prototype.isReactComponent={},xt.prototype.setState=function(f,g){if(typeof f!="object"&&typeof f!="function"&&f!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,f,g,"setState")},xt.prototype.forceUpdate=function(f){this.updater.enqueueForceUpdate(this,f,"forceUpdate")};function X(){}X.prototype=xt.prototype;function P(f,g,A){this.props=f,this.context=g,this.refs=zt,this.updater=A||Tt}var at=P.prototype=new X;at.constructor=P,ft(at,xt.prototype),at.isPureReactComponent=!0;var At=Array.isArray;function jt(){}var J={H:null,A:null,T:null,S:null},gt=Object.prototype.hasOwnProperty;function tt(f,g,A){var U=A.ref;return{$$typeof:h,type:f,key:g,ref:U!==void 0?U:null,props:A}}function ll(f,g){return tt(f.type,g,f.props)}function I(f){return typeof f=="object"&&f!==null&&f.$$typeof===h}function Nt(f){var g={"=":"=0",":":"=2"};return"$"+f.replace(/[=:]/g,function(A){return g[A]})}var bl=/\/+/g;function wt(f,g){return typeof f=="object"&&f!==null&&f.key!=null?Nt(""+f.key):g.toString(36)}function It(f){switch(f.status){case"fulfilled":return f.value;case"rejected":throw f.reason;default:switch(typeof f.status=="string"?f.then(jt,jt):(f.status="pending",f.then(function(g){f.status==="pending"&&(f.status="fulfilled",f.value=g)},function(g){f.status==="pending"&&(f.status="rejected",f.reason=g)})),f.status){case"fulfilled":return f.value;case"rejected":throw f.reason}}throw f}function p(f,g,A,U,V){var K=typeof f;(K==="undefined"||K==="boolean")&&(f=null);var ot=!1;if(f===null)ot=!0;else switch(K){case"bigint":case"string":case"number":ot=!0;break;case"object":switch(f.$$typeof){case h:case O:ot=!0;break;case D:return ot=f._init,p(ot(f._payload),g,A,U,V)}}if(ot)return V=V(f),ot=U===""?"."+wt(f,0):U,At(V)?(A="",ot!=null&&(A=ot.replace(bl,"$&/")+"/"),p(V,g,A,"",function(Ha){return Ha})):V!=null&&(I(V)&&(V=ll(V,A+(V.key==null||f&&f.key===V.key?"":(""+V.key).replace(bl,"$&/")+"/")+ot)),g.push(V)),1;ot=0;var Dt=U===""?".":U+":";if(At(f))for(var Ht=0;Ht<f.length;Ht++)U=f[Ht],K=Dt+wt(U,Ht),ot+=p(U,g,A,K,V);else if(Ht=_t(f),typeof Ht=="function")for(f=Ht.call(f),Ht=0;!(U=f.next()).done;)U=U.value,K=Dt+wt(U,Ht++),ot+=p(U,g,A,K,V);else if(K==="object"){if(typeof f.then=="function")return p(It(f),g,A,U,V);throw g=String(f),Error("Objects are not valid as a React child (found: "+(g==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":g)+"). If you meant to render a collection of children, use an array instead.")}return ot}function M(f,g,A){if(f==null)return f;var U=[],V=0;return p(f,U,"","",function(K){return g.call(A,K,V++)}),U}function G(f){if(f._status===-1){var g=f._result;g=g(),g.then(function(A){(f._status===0||f._status===-1)&&(f._status=1,f._result=A)},function(A){(f._status===0||f._status===-1)&&(f._status=2,f._result=A)}),f._status===-1&&(f._status=0,f._result=g)}if(f._status===1)return f._result.default;throw f._result}var st=typeof reportError=="function"?reportError:function(f){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var g=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof f=="object"&&f!==null&&typeof f.message=="string"?String(f.message):String(f),error:f});if(!window.dispatchEvent(g))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",f);return}console.error(f)},it={map:M,forEach:function(f,g,A){M(f,function(){g.apply(this,arguments)},A)},count:function(f){var g=0;return M(f,function(){g++}),g},toArray:function(f){return M(f,function(g){return g})||[]},only:function(f){if(!I(f))throw Error("React.Children.only expected to receive a single React element child.");return f}};return k.Activity=C,k.Children=it,k.Component=xt,k.Fragment=x,k.Profiler=H,k.PureComponent=P,k.StrictMode=o,k.Suspense=N,k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=J,k.__COMPILER_RUNTIME={__proto__:null,c:function(f){return J.H.useMemoCache(f)}},k.cache=function(f){return function(){return f.apply(null,arguments)}},k.cacheSignal=function(){return null},k.cloneElement=function(f,g,A){if(f==null)throw Error("The argument must be a React element, but you passed "+f+".");var U=ft({},f.props),V=f.key;if(g!=null)for(K in g.key!==void 0&&(V=""+g.key),g)!gt.call(g,K)||K==="key"||K==="__self"||K==="__source"||K==="ref"&&g.ref===void 0||(U[K]=g[K]);var K=arguments.length-2;if(K===1)U.children=A;else if(1<K){for(var ot=Array(K),Dt=0;Dt<K;Dt++)ot[Dt]=arguments[Dt+2];U.children=ot}return tt(f.type,V,U)},k.createContext=function(f){return f={$$typeof:Z,_currentValue:f,_currentValue2:f,_threadCount:0,Provider:null,Consumer:null},f.Provider=f,f.Consumer={$$typeof:B,_context:f},f},k.createElement=function(f,g,A){var U,V={},K=null;if(g!=null)for(U in g.key!==void 0&&(K=""+g.key),g)gt.call(g,U)&&U!=="key"&&U!=="__self"&&U!=="__source"&&(V[U]=g[U]);var ot=arguments.length-2;if(ot===1)V.children=A;else if(1<ot){for(var Dt=Array(ot),Ht=0;Ht<ot;Ht++)Dt[Ht]=arguments[Ht+2];V.children=Dt}if(f&&f.defaultProps)for(U in ot=f.defaultProps,ot)V[U]===void 0&&(V[U]=ot[U]);return tt(f,K,V)},k.createRef=function(){return{current:null}},k.forwardRef=function(f){return{$$typeof:Y,render:f}},k.isValidElement=I,k.lazy=function(f){return{$$typeof:D,_payload:{_status:-1,_result:f},_init:G}},k.memo=function(f,g){return{$$typeof:b,type:f,compare:g===void 0?null:g}},k.startTransition=function(f){var g=J.T,A={};J.T=A;try{var U=f(),V=J.S;V!==null&&V(A,U),typeof U=="object"&&U!==null&&typeof U.then=="function"&&U.then(jt,st)}catch(K){st(K)}finally{g!==null&&A.types!==null&&(g.types=A.types),J.T=g}},k.unstable_useCacheRefresh=function(){return J.H.useCacheRefresh()},k.use=function(f){return J.H.use(f)},k.useActionState=function(f,g,A){return J.H.useActionState(f,g,A)},k.useCallback=function(f,g){return J.H.useCallback(f,g)},k.useContext=function(f){return J.H.useContext(f)},k.useDebugValue=function(){},k.useDeferredValue=function(f,g){return J.H.useDeferredValue(f,g)},k.useEffect=function(f,g){return J.H.useEffect(f,g)},k.useEffectEvent=function(f){return J.H.useEffectEvent(f)},k.useId=function(){return J.H.useId()},k.useImperativeHandle=function(f,g,A){return J.H.useImperativeHandle(f,g,A)},k.useInsertionEffect=function(f,g){return J.H.useInsertionEffect(f,g)},k.useLayoutEffect=function(f,g){return J.H.useLayoutEffect(f,g)},k.useMemo=function(f,g){return J.H.useMemo(f,g)},k.useOptimistic=function(f,g){return J.H.useOptimistic(f,g)},k.useReducer=function(f,g,A){return J.H.useReducer(f,g,A)},k.useRef=function(f){return J.H.useRef(f)},k.useState=function(f){return J.H.useState(f)},k.useSyncExternalStore=function(f,g,A){return J.H.useSyncExternalStore(f,g,A)},k.useTransition=function(){return J.H.useTransition()},k.version="19.2.4",k}var Of;function Wn(){return Of||(Of=1,kn.exports=Jd()),kn.exports}var Q=Wn();const kd=zf(Q);var $n={exports:{}},Ua={},Fn={exports:{}},In={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Mf;function Wd(){return Mf||(Mf=1,(function(h){function O(p,M){var G=p.length;p.push(M);t:for(;0<G;){var st=G-1>>>1,it=p[st];if(0<H(it,M))p[st]=M,p[G]=it,G=st;else break t}}function x(p){return p.length===0?null:p[0]}function o(p){if(p.length===0)return null;var M=p[0],G=p.pop();if(G!==M){p[0]=G;t:for(var st=0,it=p.length,f=it>>>1;st<f;){var g=2*(st+1)-1,A=p[g],U=g+1,V=p[U];if(0>H(A,G))U<it&&0>H(V,A)?(p[st]=V,p[U]=G,st=U):(p[st]=A,p[g]=G,st=g);else if(U<it&&0>H(V,G))p[st]=V,p[U]=G,st=U;else break t}}return M}function H(p,M){var G=p.sortIndex-M.sortIndex;return G!==0?G:p.id-M.id}if(h.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var B=performance;h.unstable_now=function(){return B.now()}}else{var Z=Date,Y=Z.now();h.unstable_now=function(){return Z.now()-Y}}var N=[],b=[],D=1,C=null,L=3,_t=!1,Tt=!1,ft=!1,zt=!1,xt=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function at(p){for(var M=x(b);M!==null;){if(M.callback===null)o(b);else if(M.startTime<=p)o(b),M.sortIndex=M.expirationTime,O(N,M);else break;M=x(b)}}function At(p){if(ft=!1,at(p),!Tt)if(x(N)!==null)Tt=!0,jt||(jt=!0,Nt());else{var M=x(b);M!==null&&It(At,M.startTime-p)}}var jt=!1,J=-1,gt=5,tt=-1;function ll(){return zt?!0:!(h.unstable_now()-tt<gt)}function I(){if(zt=!1,jt){var p=h.unstable_now();tt=p;var M=!0;try{t:{Tt=!1,ft&&(ft=!1,X(J),J=-1),_t=!0;var G=L;try{l:{for(at(p),C=x(N);C!==null&&!(C.expirationTime>p&&ll());){var st=C.callback;if(typeof st=="function"){C.callback=null,L=C.priorityLevel;var it=st(C.expirationTime<=p);if(p=h.unstable_now(),typeof it=="function"){C.callback=it,at(p),M=!0;break l}C===x(N)&&o(N),at(p)}else o(N);C=x(N)}if(C!==null)M=!0;else{var f=x(b);f!==null&&It(At,f.startTime-p),M=!1}}break t}finally{C=null,L=G,_t=!1}M=void 0}}finally{M?Nt():jt=!1}}}var Nt;if(typeof P=="function")Nt=function(){P(I)};else if(typeof MessageChannel<"u"){var bl=new MessageChannel,wt=bl.port2;bl.port1.onmessage=I,Nt=function(){wt.postMessage(null)}}else Nt=function(){xt(I,0)};function It(p,M){J=xt(function(){p(h.unstable_now())},M)}h.unstable_IdlePriority=5,h.unstable_ImmediatePriority=1,h.unstable_LowPriority=4,h.unstable_NormalPriority=3,h.unstable_Profiling=null,h.unstable_UserBlockingPriority=2,h.unstable_cancelCallback=function(p){p.callback=null},h.unstable_forceFrameRate=function(p){0>p||125<p?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):gt=0<p?Math.floor(1e3/p):5},h.unstable_getCurrentPriorityLevel=function(){return L},h.unstable_next=function(p){switch(L){case 1:case 2:case 3:var M=3;break;default:M=L}var G=L;L=M;try{return p()}finally{L=G}},h.unstable_requestPaint=function(){zt=!0},h.unstable_runWithPriority=function(p,M){switch(p){case 1:case 2:case 3:case 4:case 5:break;default:p=3}var G=L;L=p;try{return M()}finally{L=G}},h.unstable_scheduleCallback=function(p,M,G){var st=h.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?st+G:st):G=st,p){case 1:var it=-1;break;case 2:it=250;break;case 5:it=1073741823;break;case 4:it=1e4;break;default:it=5e3}return it=G+it,p={id:D++,callback:M,priorityLevel:p,startTime:G,expirationTime:it,sortIndex:-1},G>st?(p.sortIndex=G,O(b,p),x(N)===null&&p===x(b)&&(ft?(X(J),J=-1):ft=!0,It(At,G-st))):(p.sortIndex=it,O(N,p),Tt||_t||(Tt=!0,jt||(jt=!0,Nt()))),p},h.unstable_shouldYield=ll,h.unstable_wrapCallback=function(p){var M=L;return function(){var G=L;L=M;try{return p.apply(this,arguments)}finally{L=G}}}})(In)),In}var Nf;function $d(){return Nf||(Nf=1,Fn.exports=Wd()),Fn.exports}var Pn={exports:{}},Ft={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Cf;function Fd(){if(Cf)return Ft;Cf=1;var h=Wn();function O(N){var b="https://react.dev/errors/"+N;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var D=2;D<arguments.length;D++)b+="&args[]="+encodeURIComponent(arguments[D])}return"Minified React error #"+N+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function x(){}var o={d:{f:x,r:function(){throw Error(O(522))},D:x,C:x,L:x,m:x,X:x,S:x,M:x},p:0,findDOMNode:null},H=Symbol.for("react.portal");function B(N,b,D){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:H,key:C==null?null:""+C,children:N,containerInfo:b,implementation:D}}var Z=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Y(N,b){if(N==="font")return"";if(typeof b=="string")return b==="use-credentials"?b:""}return Ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Ft.createPortal=function(N,b){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!b||b.nodeType!==1&&b.nodeType!==9&&b.nodeType!==11)throw Error(O(299));return B(N,b,null,D)},Ft.flushSync=function(N){var b=Z.T,D=o.p;try{if(Z.T=null,o.p=2,N)return N()}finally{Z.T=b,o.p=D,o.d.f()}},Ft.preconnect=function(N,b){typeof N=="string"&&(b?(b=b.crossOrigin,b=typeof b=="string"?b==="use-credentials"?b:"":void 0):b=null,o.d.C(N,b))},Ft.prefetchDNS=function(N){typeof N=="string"&&o.d.D(N)},Ft.preinit=function(N,b){if(typeof N=="string"&&b&&typeof b.as=="string"){var D=b.as,C=Y(D,b.crossOrigin),L=typeof b.integrity=="string"?b.integrity:void 0,_t=typeof b.fetchPriority=="string"?b.fetchPriority:void 0;D==="style"?o.d.S(N,typeof b.precedence=="string"?b.precedence:void 0,{crossOrigin:C,integrity:L,fetchPriority:_t}):D==="script"&&o.d.X(N,{crossOrigin:C,integrity:L,fetchPriority:_t,nonce:typeof b.nonce=="string"?b.nonce:void 0})}},Ft.preinitModule=function(N,b){if(typeof N=="string")if(typeof b=="object"&&b!==null){if(b.as==null||b.as==="script"){var D=Y(b.as,b.crossOrigin);o.d.M(N,{crossOrigin:D,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0})}}else b==null&&o.d.M(N)},Ft.preload=function(N,b){if(typeof N=="string"&&typeof b=="object"&&b!==null&&typeof b.as=="string"){var D=b.as,C=Y(D,b.crossOrigin);o.d.L(N,D,{crossOrigin:C,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0,type:typeof b.type=="string"?b.type:void 0,fetchPriority:typeof b.fetchPriority=="string"?b.fetchPriority:void 0,referrerPolicy:typeof b.referrerPolicy=="string"?b.referrerPolicy:void 0,imageSrcSet:typeof b.imageSrcSet=="string"?b.imageSrcSet:void 0,imageSizes:typeof b.imageSizes=="string"?b.imageSizes:void 0,media:typeof b.media=="string"?b.media:void 0})}},Ft.preloadModule=function(N,b){if(typeof N=="string")if(b){var D=Y(b.as,b.crossOrigin);o.d.m(N,{as:typeof b.as=="string"&&b.as!=="script"?b.as:void 0,crossOrigin:D,integrity:typeof b.integrity=="string"?b.integrity:void 0})}else o.d.m(N)},Ft.requestFormReset=function(N){o.d.r(N)},Ft.unstable_batchedUpdates=function(N,b){return N(b)},Ft.useFormState=function(N,b,D){return Z.H.useFormState(N,b,D)},Ft.useFormStatus=function(){return Z.H.useHostTransitionStatus()},Ft.version="19.2.4",Ft}var Df;function Id(){if(Df)return Pn.exports;Df=1;function h(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h)}catch(O){console.error(O)}}return h(),Pn.exports=Fd(),Pn.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var qf;function Pd(){if(qf)return Ua;qf=1;var h=$d(),O=Wn(),x=Id();function o(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function H(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function B(t){var l=t,e=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(e=l.return),t=l.return;while(t)}return l.tag===3?e:null}function Z(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function Y(t){if(t.tag===31){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function N(t){if(B(t)!==t)throw Error(o(188))}function b(t){var l=t.alternate;if(!l){if(l=B(t),l===null)throw Error(o(188));return l!==t?null:t}for(var e=t,a=l;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return N(u),t;if(n===a)return N(u),l;n=n.sibling}throw Error(o(188))}if(e.return!==a.return)e=u,a=n;else{for(var i=!1,c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i)throw Error(o(189))}}if(e.alternate!==a)throw Error(o(190))}if(e.tag!==3)throw Error(o(188));return e.stateNode.current===e?t:l}function D(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=D(t),l!==null)return l;t=t.sibling}return null}var C=Object.assign,L=Symbol.for("react.element"),_t=Symbol.for("react.transitional.element"),Tt=Symbol.for("react.portal"),ft=Symbol.for("react.fragment"),zt=Symbol.for("react.strict_mode"),xt=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),P=Symbol.for("react.context"),at=Symbol.for("react.forward_ref"),At=Symbol.for("react.suspense"),jt=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),gt=Symbol.for("react.lazy"),tt=Symbol.for("react.activity"),ll=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function Nt(t){return t===null||typeof t!="object"?null:(t=I&&t[I]||t["@@iterator"],typeof t=="function"?t:null)}var bl=Symbol.for("react.client.reference");function wt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===bl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ft:return"Fragment";case xt:return"Profiler";case zt:return"StrictMode";case At:return"Suspense";case jt:return"SuspenseList";case tt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Tt:return"Portal";case P:return t.displayName||"Context";case X:return(t._context.displayName||"Context")+".Consumer";case at:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case J:return l=t.displayName||null,l!==null?l:wt(t.type)||"Memo";case gt:l=t._payload,t=t._init;try{return wt(t(l))}catch{}}return null}var It=Array.isArray,p=O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=x.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},st=[],it=-1;function f(t){return{current:t}}function g(t){0>it||(t.current=st[it],st[it]=null,it--)}function A(t,l){it++,st[it]=t.current,t.current=l}var U=f(null),V=f(null),K=f(null),ot=f(null);function Dt(t,l){switch(A(K,l),A(V,t),A(U,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?md(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=md(l),t=hd(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}g(U),A(U,t)}function Ht(){g(U),g(V),g(K)}function Ha(t){t.memoizedState!==null&&A(ot,t);var l=U.current,e=hd(l,t.type);l!==e&&(A(V,t),A(U,e))}function Mu(t){V.current===t&&(g(U),g(V)),ot.current===t&&(g(ot),Eu._currentValue=G)}var ui,Lf;function Ne(t){if(ui===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);ui=l&&l[1]||"",Lf=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ui+t+Lf}var ni=!1;function ii(t,l){if(!t||ni)return"";ni=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(S){var v=S}Reflect.construct(t,[],z)}else{try{z.call()}catch(S){v=S}t.call(z.prototype)}}else{try{throw Error()}catch(S){v=S}(z=t())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(S){if(S&&v&&typeof S.stack=="string")return[S.stack,v.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var s=i.split(`
`),m=c.split(`
`);for(u=a=0;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;for(;u<m.length&&!m[u].includes("DetermineComponentFrameRoot");)u++;if(a===s.length||u===m.length)for(a=s.length-1,u=m.length-1;1<=a&&0<=u&&s[a]!==m[u];)u--;for(;1<=a&&0<=u;a--,u--)if(s[a]!==m[u]){if(a!==1||u!==1)do if(a--,u--,0>u||s[a]!==m[u]){var _=`
`+s[a].replace(" at new "," at ");return t.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",t.displayName)),_}while(1<=a&&0<=u);break}}}finally{ni=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?Ne(e):""}function By(t,l){switch(t.tag){case 26:case 27:case 5:return Ne(t.type);case 16:return Ne("Lazy");case 13:return t.child!==l&&l!==null?Ne("Suspense Fallback"):Ne("Suspense");case 19:return Ne("SuspenseList");case 0:case 15:return ii(t.type,!1);case 11:return ii(t.type.render,!1);case 1:return ii(t.type,!0);case 31:return Ne("Activity");default:return""}}function Zf(t){try{var l="",e=null;do l+=By(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var ci=Object.prototype.hasOwnProperty,fi=h.unstable_scheduleCallback,si=h.unstable_cancelCallback,wy=h.unstable_shouldYield,Yy=h.unstable_requestPaint,sl=h.unstable_now,Gy=h.unstable_getCurrentPriorityLevel,Vf=h.unstable_ImmediatePriority,Kf=h.unstable_UserBlockingPriority,Nu=h.unstable_NormalPriority,Qy=h.unstable_LowPriority,Jf=h.unstable_IdlePriority,Xy=h.log,Ly=h.unstable_setDisableYieldValue,Ra=null,ol=null;function ee(t){if(typeof Xy=="function"&&Ly(t),ol&&typeof ol.setStrictMode=="function")try{ol.setStrictMode(Ra,t)}catch{}}var rl=Math.clz32?Math.clz32:Ky,Zy=Math.log,Vy=Math.LN2;function Ky(t){return t>>>=0,t===0?32:31-(Zy(t)/Vy|0)|0}var Cu=256,Du=262144,qu=4194304;function Ce(t){var l=t&42;if(l!==0)return l;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Uu(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var u=0,n=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?u=Ce(a):(i&=c,i!==0?u=Ce(i):e||(e=c&~t,e!==0&&(u=Ce(e))))):(c=a&~n,c!==0?u=Ce(c):i!==0?u=Ce(i):e||(e=a&~t,e!==0&&(u=Ce(e)))),u===0?0:l!==0&&l!==u&&(l&n)===0&&(n=u&-u,e=l&-l,n>=e||n===32&&(e&4194048)!==0)?l:u}function Ba(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function Jy(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32: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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function kf(){var t=qu;return qu<<=1,(qu&62914560)===0&&(qu=4194304),t}function oi(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function wa(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function ky(t,l,e,a,u,n){var i=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var c=t.entanglements,s=t.expirationTimes,m=t.hiddenUpdates;for(e=i&~e;0<e;){var _=31-rl(e),z=1<<_;c[_]=0,s[_]=-1;var v=m[_];if(v!==null)for(m[_]=null,_=0;_<v.length;_++){var S=v[_];S!==null&&(S.lane&=-536870913)}e&=~z}a!==0&&Wf(t,a,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(i&~l))}function Wf(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-rl(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function $f(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-rl(e),u=1<<a;u&l|t[a]&l&&(t[a]|=l),e&=~u}}function Ff(t,l){var e=l&-l;return e=(e&42)!==0?1:ri(e),(e&(t.suspendedLanes|l))!==0?0:e}function ri(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function di(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function If(){var t=M.p;return t!==0?t:(t=window.event,t===void 0?32:wd(t.type))}function Pf(t,l){var e=M.p;try{return M.p=t,l()}finally{M.p=e}}var ae=Math.random().toString(36).slice(2),Kt="__reactFiber$"+ae,el="__reactProps$"+ae,ke="__reactContainer$"+ae,yi="__reactEvents$"+ae,Wy="__reactListeners$"+ae,$y="__reactHandles$"+ae,ts="__reactResources$"+ae,Ya="__reactMarker$"+ae;function mi(t){delete t[Kt],delete t[el],delete t[yi],delete t[Wy],delete t[$y]}function We(t){var l=t[Kt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[ke]||e[Kt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=Td(t);t!==null;){if(e=t[Kt])return e;t=Td(t)}return l}t=e,e=t.parentNode}return null}function $e(t){if(t=t[Kt]||t[ke]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function Ga(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(o(33))}function Fe(t){var l=t[ts];return l||(l=t[ts]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Zt(t){t[Ya]=!0}var ls=new Set,es={};function De(t,l){Ie(t,l),Ie(t+"Capture",l)}function Ie(t,l){for(es[t]=l,t=0;t<l.length;t++)ls.add(l[t])}var Fy=RegExp("^[: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]*$"),as={},us={};function Iy(t){return ci.call(us,t)?!0:ci.call(as,t)?!1:Fy.test(t)?us[t]=!0:(as[t]=!0,!1)}function ju(t,l,e){if(Iy(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+e)}}function Hu(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+e)}}function Bl(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,""+a)}}function pl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ns(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Py(t,l,e){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l);if(!t.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(t,l,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function hi(t){if(!t._valueTracker){var l=ns(t)?"checked":"value";t._valueTracker=Py(t,l,""+t[l])}}function is(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=ns(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function Ru(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var tm=/[\n"\\]/g;function _l(t){return t.replace(tm,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function vi(t,l,e,a,u,n,i,c){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),l!=null?i==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+pl(l)):t.value!==""+pl(l)&&(t.value=""+pl(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?gi(t,i,pl(l)):e!=null?gi(t,i,pl(e)):a!=null&&t.removeAttribute("value"),u==null&&n!=null&&(t.defaultChecked=!!n),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+pl(c):t.removeAttribute("name")}function cs(t,l,e,a,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),l!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||l!=null)){hi(t);return}e=e!=null?""+pl(e):"",l=l!=null?""+pl(l):e,c||l===t.value||(t.value=l),t.defaultValue=l}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=c?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i),hi(t)}function gi(t,l,e){l==="number"&&Ru(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function Pe(t,l,e,a){if(t=t.options,l){l={};for(var u=0;u<e.length;u++)l["$"+e[u]]=!0;for(e=0;e<t.length;e++)u=l.hasOwnProperty("$"+t[e].value),t[e].selected!==u&&(t[e].selected=u),u&&a&&(t[e].defaultSelected=!0)}else{for(e=""+pl(e),l=null,u=0;u<t.length;u++){if(t[u].value===e){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}l!==null||t[u].disabled||(l=t[u])}l!==null&&(l.selected=!0)}}function fs(t,l,e){if(l!=null&&(l=""+pl(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+pl(e):""}function ss(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(o(92));if(It(a)){if(1<a.length)throw Error(o(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=pl(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),hi(t)}function ta(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var lm=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function os(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||lm.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function rs(t,l,e){if(l!=null&&typeof l!="object")throw Error(o(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var u in l)a=l[u],l.hasOwnProperty(u)&&e[u]!==a&&os(t,u,a)}else for(var n in l)l.hasOwnProperty(n)&&os(t,n,l[n])}function Si(t){if(t.indexOf("-")===-1)return!1;switch(t){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 em=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),am=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Bu(t){return am.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function wl(){}var bi=null;function pi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var la=null,ea=null;function ds(t){var l=$e(t);if(l&&(t=l.stateNode)){var e=t[el]||null;t:switch(t=l.stateNode,l.type){case"input":if(vi(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+_l(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var u=a[el]||null;if(!u)throw Error(o(90));vi(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&is(a)}break t;case"textarea":fs(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&Pe(t,!!e.multiple,l,!1)}}}var _i=!1;function ys(t,l,e){if(_i)return t(l,e);_i=!0;try{var a=t(l);return a}finally{if(_i=!1,(la!==null||ea!==null)&&(An(),la&&(l=la,t=ea,ea=la=null,ds(l),t)))for(l=0;l<t.length;l++)ds(t[l])}}function Qa(t,l){var e=t.stateNode;if(e===null)return null;var a=e[el]||null;if(a===null)return null;e=a[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(e&&typeof e!="function")throw Error(o(231,l,typeof e));return e}var Yl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ti=!1;if(Yl)try{var Xa={};Object.defineProperty(Xa,"passive",{get:function(){Ti=!0}}),window.addEventListener("test",Xa,Xa),window.removeEventListener("test",Xa,Xa)}catch{Ti=!1}var ue=null,zi=null,wu=null;function ms(){if(wu)return wu;var t,l=zi,e=l.length,a,u="value"in ue?ue.value:ue.textContent,n=u.length;for(t=0;t<e&&l[t]===u[t];t++);var i=e-t;for(a=1;a<=i&&l[e-a]===u[n-a];a++);return wu=u.slice(t,1<a?1-a:void 0)}function Yu(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function Gu(){return!0}function hs(){return!1}function al(t){function l(e,a,u,n,i){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(e=t[c],this[c]=e?e(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Gu:hs,this.isPropagationStopped=hs,this}return C(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Gu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Gu)},persist:function(){},isPersistent:Gu}),l}var qe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qu=al(qe),La=C({},qe,{view:0,detail:0}),um=al(La),Ei,Ai,Za,Xu=C({},La,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oi,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Za&&(Za&&t.type==="mousemove"?(Ei=t.screenX-Za.screenX,Ai=t.screenY-Za.screenY):Ai=Ei=0,Za=t),Ei)},movementY:function(t){return"movementY"in t?t.movementY:Ai}}),vs=al(Xu),nm=C({},Xu,{dataTransfer:0}),im=al(nm),cm=C({},La,{relatedTarget:0}),xi=al(cm),fm=C({},qe,{animationName:0,elapsedTime:0,pseudoElement:0}),sm=al(fm),om=C({},qe,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),rm=al(om),dm=C({},qe,{data:0}),gs=al(dm),ym={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mm={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"},hm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vm(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=hm[t])?!!l[t]:!1}function Oi(){return vm}var gm=C({},La,{key:function(t){if(t.key){var l=ym[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=Yu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?mm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oi,charCode:function(t){return t.type==="keypress"?Yu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Yu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Sm=al(gm),bm=C({},Xu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ss=al(bm),pm=C({},La,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oi}),_m=al(pm),Tm=C({},qe,{propertyName:0,elapsedTime:0,pseudoElement:0}),zm=al(Tm),Em=C({},Xu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Am=al(Em),xm=C({},qe,{newState:0,oldState:0}),Om=al(xm),Mm=[9,13,27,32],Mi=Yl&&"CompositionEvent"in window,Va=null;Yl&&"documentMode"in document&&(Va=document.documentMode);var Nm=Yl&&"TextEvent"in window&&!Va,bs=Yl&&(!Mi||Va&&8<Va&&11>=Va),ps=" ",_s=!1;function Ts(t,l){switch(t){case"keyup":return Mm.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var aa=!1;function Cm(t,l){switch(t){case"compositionend":return zs(l);case"keypress":return l.which!==32?null:(_s=!0,ps);case"textInput":return t=l.data,t===ps&&_s?null:t;default:return null}}function Dm(t,l){if(aa)return t==="compositionend"||!Mi&&Ts(t,l)?(t=ms(),wu=zi=ue=null,aa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return bs&&l.locale!=="ko"?null:l.data;default:return null}}var qm={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 Es(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!qm[t.type]:l==="textarea"}function As(t,l,e,a){la?ea?ea.push(a):ea=[a]:la=a,l=qn(l,"onChange"),0<l.length&&(e=new Qu("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var Ka=null,Ja=null;function Um(t){fd(t,0)}function Lu(t){var l=Ga(t);if(is(l))return t}function xs(t,l){if(t==="change")return l}var Os=!1;if(Yl){var Ni;if(Yl){var Ci="oninput"in document;if(!Ci){var Ms=document.createElement("div");Ms.setAttribute("oninput","return;"),Ci=typeof Ms.oninput=="function"}Ni=Ci}else Ni=!1;Os=Ni&&(!document.documentMode||9<document.documentMode)}function Ns(){Ka&&(Ka.detachEvent("onpropertychange",Cs),Ja=Ka=null)}function Cs(t){if(t.propertyName==="value"&&Lu(Ja)){var l=[];As(l,Ja,t,pi(t)),ys(Um,l)}}function jm(t,l,e){t==="focusin"?(Ns(),Ka=l,Ja=e,Ka.attachEvent("onpropertychange",Cs)):t==="focusout"&&Ns()}function Hm(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Lu(Ja)}function Rm(t,l){if(t==="click")return Lu(l)}function Bm(t,l){if(t==="input"||t==="change")return Lu(l)}function wm(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var dl=typeof Object.is=="function"?Object.is:wm;function ka(t,l){if(dl(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var u=e[a];if(!ci.call(l,u)||!dl(t[u],l[u]))return!1}return!0}function Ds(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function qs(t,l){var e=Ds(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=Ds(e)}}function Us(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?Us(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function js(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Ru(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=Ru(t.document)}return l}function Di(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var Ym=Yl&&"documentMode"in document&&11>=document.documentMode,ua=null,qi=null,Wa=null,Ui=!1;function Hs(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Ui||ua==null||ua!==Ru(a)||(a=ua,"selectionStart"in a&&Di(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Wa&&ka(Wa,a)||(Wa=a,a=qn(qi,"onSelect"),0<a.length&&(l=new Qu("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=ua)))}function Ue(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var na={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionrun:Ue("Transition","TransitionRun"),transitionstart:Ue("Transition","TransitionStart"),transitioncancel:Ue("Transition","TransitionCancel"),transitionend:Ue("Transition","TransitionEnd")},ji={},Rs={};Yl&&(Rs=document.createElement("div").style,"AnimationEvent"in window||(delete na.animationend.animation,delete na.animationiteration.animation,delete na.animationstart.animation),"TransitionEvent"in window||delete na.transitionend.transition);function je(t){if(ji[t])return ji[t];if(!na[t])return t;var l=na[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in Rs)return ji[t]=l[e];return t}var Bs=je("animationend"),ws=je("animationiteration"),Ys=je("animationstart"),Gm=je("transitionrun"),Qm=je("transitionstart"),Xm=je("transitioncancel"),Gs=je("transitionend"),Qs=new Map,Hi="abort auxClick beforeToggle 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(" ");Hi.push("scrollEnd");function Cl(t,l){Qs.set(t,l),De(l,[t])}var Zu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Tl=[],ia=0,Ri=0;function Vu(){for(var t=ia,l=Ri=ia=0;l<t;){var e=Tl[l];Tl[l++]=null;var a=Tl[l];Tl[l++]=null;var u=Tl[l];Tl[l++]=null;var n=Tl[l];if(Tl[l++]=null,a!==null&&u!==null){var i=a.pending;i===null?u.next=u:(u.next=i.next,i.next=u),a.pending=u}n!==0&&Xs(e,u,n)}}function Ku(t,l,e,a){Tl[ia++]=t,Tl[ia++]=l,Tl[ia++]=e,Tl[ia++]=a,Ri|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Bi(t,l,e,a){return Ku(t,l,e,a),Ju(t)}function He(t,l){return Ku(t,null,null,l),Ju(t)}function Xs(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=t.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(u=!0)),t=n,n=n.return;return t.tag===3?(n=t.stateNode,u&&l!==null&&(u=31-rl(e),t=n.hiddenUpdates,a=t[u],a===null?t[u]=[l]:a.push(l),l.lane=e|536870912),n):null}function Ju(t){if(50<gu)throw gu=0,Kc=null,Error(o(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var ca={};function Lm(t,l,e,a){this.tag=t,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yl(t,l,e,a){return new Lm(t,l,e,a)}function wi(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Gl(t,l){var e=t.alternate;return e===null?(e=yl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&65011712,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function Ls(t,l){t.flags&=65011714;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function ku(t,l,e,a,u,n){var i=0;if(a=t,typeof t=="function")wi(t)&&(i=1);else if(typeof t=="string")i=k0(t,e,U.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case tt:return t=yl(31,e,l,u),t.elementType=tt,t.lanes=n,t;case ft:return Re(e.children,u,n,l);case zt:i=8,u|=24;break;case xt:return t=yl(12,e,l,u|2),t.elementType=xt,t.lanes=n,t;case At:return t=yl(13,e,l,u),t.elementType=At,t.lanes=n,t;case jt:return t=yl(19,e,l,u),t.elementType=jt,t.lanes=n,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case P:i=10;break t;case X:i=9;break t;case at:i=11;break t;case J:i=14;break t;case gt:i=16,a=null;break t}i=29,e=Error(o(130,t===null?"null":typeof t,"")),a=null}return l=yl(i,e,l,u),l.elementType=t,l.type=a,l.lanes=n,l}function Re(t,l,e,a){return t=yl(7,t,a,l),t.lanes=e,t}function Yi(t,l,e){return t=yl(6,t,null,l),t.lanes=e,t}function Zs(t){var l=yl(18,null,null,0);return l.stateNode=t,l}function Gi(t,l,e){return l=yl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var Vs=new WeakMap;function zl(t,l){if(typeof t=="object"&&t!==null){var e=Vs.get(t);return e!==void 0?e:(l={value:t,source:l,stack:Zf(l)},Vs.set(t,l),l)}return{value:t,source:l,stack:Zf(l)}}var fa=[],sa=0,Wu=null,$a=0,El=[],Al=0,ne=null,Ul=1,jl="";function Ql(t,l){fa[sa++]=$a,fa[sa++]=Wu,Wu=t,$a=l}function Ks(t,l,e){El[Al++]=Ul,El[Al++]=jl,El[Al++]=ne,ne=t;var a=Ul;t=jl;var u=32-rl(a)-1;a&=~(1<<u),e+=1;var n=32-rl(l)+u;if(30<n){var i=u-u%5;n=(a&(1<<i)-1).toString(32),a>>=i,u-=i,Ul=1<<32-rl(l)+u|e<<u|a,jl=n+t}else Ul=1<<n|e<<u|a,jl=t}function Qi(t){t.return!==null&&(Ql(t,1),Ks(t,1,0))}function Xi(t){for(;t===Wu;)Wu=fa[--sa],fa[sa]=null,$a=fa[--sa],fa[sa]=null;for(;t===ne;)ne=El[--Al],El[Al]=null,jl=El[--Al],El[Al]=null,Ul=El[--Al],El[Al]=null}function Js(t,l){El[Al++]=Ul,El[Al++]=jl,El[Al++]=ne,Ul=l.id,jl=l.overflow,ne=t}var Jt=null,Ot=null,ct=!1,ie=null,xl=!1,Li=Error(o(519));function ce(t){var l=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Fa(zl(l,t)),Li}function ks(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[Kt]=t,l[el]=a,e){case"dialog":et("cancel",l),et("close",l);break;case"iframe":case"object":case"embed":et("load",l);break;case"video":case"audio":for(e=0;e<bu.length;e++)et(bu[e],l);break;case"source":et("error",l);break;case"img":case"image":case"link":et("error",l),et("load",l);break;case"details":et("toggle",l);break;case"input":et("invalid",l),cs(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":et("invalid",l);break;case"textarea":et("invalid",l),ss(l,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||dd(l.textContent,e)?(a.popover!=null&&(et("beforetoggle",l),et("toggle",l)),a.onScroll!=null&&et("scroll",l),a.onScrollEnd!=null&&et("scrollend",l),a.onClick!=null&&(l.onclick=wl),l=!0):l=!1,l||ce(t,!0)}function Ws(t){for(Jt=t.return;Jt;)switch(Jt.tag){case 5:case 31:case 13:xl=!1;return;case 27:case 3:xl=!0;return;default:Jt=Jt.return}}function oa(t){if(t!==Jt)return!1;if(!ct)return Ws(t),ct=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||ff(t.type,t.memoizedProps)),e=!e),e&&Ot&&ce(t),Ws(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ot=_d(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ot=_d(t)}else l===27?(l=Ot,_e(t.type)?(t=yf,yf=null,Ot=t):Ot=l):Ot=Jt?Ml(t.stateNode.nextSibling):null;return!0}function Be(){Ot=Jt=null,ct=!1}function Zi(){var t=ie;return t!==null&&(cl===null?cl=t:cl.push.apply(cl,t),ie=null),t}function Fa(t){ie===null?ie=[t]:ie.push(t)}var Vi=f(null),we=null,Xl=null;function fe(t,l,e){A(Vi,l._currentValue),l._currentValue=e}function Ll(t){t._currentValue=Vi.current,g(Vi)}function Ki(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function Ji(t,l,e,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;t:for(;n!==null;){var c=n;n=u;for(var s=0;s<l.length;s++)if(c.context===l[s]){n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Ki(n.return,e,t),a||(i=null);break t}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(o(341));i.lanes|=e,n=i.alternate,n!==null&&(n.lanes|=e),Ki(i,e,t),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function ra(t,l,e,a){t=null;for(var u=l,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var i=u.alternate;if(i===null)throw Error(o(387));if(i=i.memoizedProps,i!==null){var c=u.type;dl(u.pendingProps.value,i.value)||(t!==null?t.push(c):t=[c])}}else if(u===ot.current){if(i=u.alternate,i===null)throw Error(o(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Eu):t=[Eu])}u=u.return}t!==null&&Ji(l,t,e,a),l.flags|=262144}function $u(t){for(t=t.firstContext;t!==null;){if(!dl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ye(t){we=t,Xl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function kt(t){return $s(we,t)}function Fu(t,l){return we===null&&Ye(t),$s(t,l)}function $s(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},Xl===null){if(t===null)throw Error(o(308));Xl=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Xl=Xl.next=l;return e}var Zm=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},Vm=h.unstable_scheduleCallback,Km=h.unstable_NormalPriority,Yt={$$typeof:P,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ki(){return{controller:new Zm,data:new Map,refCount:0}}function Ia(t){t.refCount--,t.refCount===0&&Vm(Km,function(){t.controller.abort()})}var Pa=null,Wi=0,da=0,ya=null;function Jm(t,l){if(Pa===null){var e=Pa=[];Wi=0,da=Ic(),ya={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Wi++,l.then(Fs,Fs),l}function Fs(){if(--Wi===0&&Pa!==null){ya!==null&&(ya.status="fulfilled");var t=Pa;Pa=null,da=0,ya=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function km(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var u=0;u<e.length;u++)(0,e[u])(l)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Is=p.S;p.S=function(t,l){Rr=sl(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Jm(t,l),Is!==null&&Is(t,l)};var Ge=f(null);function $i(){var t=Ge.current;return t!==null?t:Et.pooledCache}function Iu(t,l){l===null?A(Ge,Ge.current):A(Ge,l.pool)}function Ps(){var t=$i();return t===null?null:{parent:Yt._currentValue,pool:t}}var ma=Error(o(460)),Fi=Error(o(474)),Pu=Error(o(542)),tn={then:function(){}};function to(t){return t=t.status,t==="fulfilled"||t==="rejected"}function lo(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(wl,wl),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,ao(t),t;default:if(typeof l.status=="string")l.then(wl,wl);else{if(t=Et,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var u=l;u.status="fulfilled",u.value=a}},function(a){if(l.status==="pending"){var u=l;u.status="rejected",u.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,ao(t),t}throw Xe=l,ma}}function Qe(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Xe=e,ma):e}}var Xe=null;function eo(){if(Xe===null)throw Error(o(459));var t=Xe;return Xe=null,t}function ao(t){if(t===ma||t===Pu)throw Error(o(483))}var ha=null,tu=0;function ln(t){var l=tu;return tu+=1,ha===null&&(ha=[]),lo(ha,t,l)}function lu(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function en(t,l){throw l.$$typeof===L?Error(o(525)):(t=Object.prototype.toString.call(l),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function uo(t){function l(d,r){if(t){var y=d.deletions;y===null?(d.deletions=[r],d.flags|=16):y.push(r)}}function e(d,r){if(!t)return null;for(;r!==null;)l(d,r),r=r.sibling;return null}function a(d){for(var r=new Map;d!==null;)d.key!==null?r.set(d.key,d):r.set(d.index,d),d=d.sibling;return r}function u(d,r){return d=Gl(d,r),d.index=0,d.sibling=null,d}function n(d,r,y){return d.index=y,t?(y=d.alternate,y!==null?(y=y.index,y<r?(d.flags|=67108866,r):y):(d.flags|=67108866,r)):(d.flags|=1048576,r)}function i(d){return t&&d.alternate===null&&(d.flags|=67108866),d}function c(d,r,y,T){return r===null||r.tag!==6?(r=Yi(y,d.mode,T),r.return=d,r):(r=u(r,y),r.return=d,r)}function s(d,r,y,T){var R=y.type;return R===ft?_(d,r,y.props.children,T,y.key):r!==null&&(r.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===gt&&Qe(R)===r.type)?(r=u(r,y.props),lu(r,y),r.return=d,r):(r=ku(y.type,y.key,y.props,null,d.mode,T),lu(r,y),r.return=d,r)}function m(d,r,y,T){return r===null||r.tag!==4||r.stateNode.containerInfo!==y.containerInfo||r.stateNode.implementation!==y.implementation?(r=Gi(y,d.mode,T),r.return=d,r):(r=u(r,y.children||[]),r.return=d,r)}function _(d,r,y,T,R){return r===null||r.tag!==7?(r=Re(y,d.mode,T,R),r.return=d,r):(r=u(r,y),r.return=d,r)}function z(d,r,y){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Yi(""+r,d.mode,y),r.return=d,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case _t:return y=ku(r.type,r.key,r.props,null,d.mode,y),lu(y,r),y.return=d,y;case Tt:return r=Gi(r,d.mode,y),r.return=d,r;case gt:return r=Qe(r),z(d,r,y)}if(It(r)||Nt(r))return r=Re(r,d.mode,y,null),r.return=d,r;if(typeof r.then=="function")return z(d,ln(r),y);if(r.$$typeof===P)return z(d,Fu(d,r),y);en(d,r)}return null}function v(d,r,y,T){var R=r!==null?r.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return R!==null?null:c(d,r,""+y,T);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case _t:return y.key===R?s(d,r,y,T):null;case Tt:return y.key===R?m(d,r,y,T):null;case gt:return y=Qe(y),v(d,r,y,T)}if(It(y)||Nt(y))return R!==null?null:_(d,r,y,T,null);if(typeof y.then=="function")return v(d,r,ln(y),T);if(y.$$typeof===P)return v(d,r,Fu(d,y),T);en(d,y)}return null}function S(d,r,y,T,R){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return d=d.get(y)||null,c(r,d,""+T,R);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case _t:return d=d.get(T.key===null?y:T.key)||null,s(r,d,T,R);case Tt:return d=d.get(T.key===null?y:T.key)||null,m(r,d,T,R);case gt:return T=Qe(T),S(d,r,y,T,R)}if(It(T)||Nt(T))return d=d.get(y)||null,_(r,d,T,R,null);if(typeof T.then=="function")return S(d,r,y,ln(T),R);if(T.$$typeof===P)return S(d,r,y,Fu(r,T),R);en(r,T)}return null}function q(d,r,y,T){for(var R=null,rt=null,j=r,F=r=0,nt=null;j!==null&&F<y.length;F++){j.index>F?(nt=j,j=null):nt=j.sibling;var dt=v(d,j,y[F],T);if(dt===null){j===null&&(j=nt);break}t&&j&&dt.alternate===null&&l(d,j),r=n(dt,r,F),rt===null?R=dt:rt.sibling=dt,rt=dt,j=nt}if(F===y.length)return e(d,j),ct&&Ql(d,F),R;if(j===null){for(;F<y.length;F++)j=z(d,y[F],T),j!==null&&(r=n(j,r,F),rt===null?R=j:rt.sibling=j,rt=j);return ct&&Ql(d,F),R}for(j=a(j);F<y.length;F++)nt=S(j,d,F,y[F],T),nt!==null&&(t&&nt.alternate!==null&&j.delete(nt.key===null?F:nt.key),r=n(nt,r,F),rt===null?R=nt:rt.sibling=nt,rt=nt);return t&&j.forEach(function(xe){return l(d,xe)}),ct&&Ql(d,F),R}function w(d,r,y,T){if(y==null)throw Error(o(151));for(var R=null,rt=null,j=r,F=r=0,nt=null,dt=y.next();j!==null&&!dt.done;F++,dt=y.next()){j.index>F?(nt=j,j=null):nt=j.sibling;var xe=v(d,j,dt.value,T);if(xe===null){j===null&&(j=nt);break}t&&j&&xe.alternate===null&&l(d,j),r=n(xe,r,F),rt===null?R=xe:rt.sibling=xe,rt=xe,j=nt}if(dt.done)return e(d,j),ct&&Ql(d,F),R;if(j===null){for(;!dt.done;F++,dt=y.next())dt=z(d,dt.value,T),dt!==null&&(r=n(dt,r,F),rt===null?R=dt:rt.sibling=dt,rt=dt);return ct&&Ql(d,F),R}for(j=a(j);!dt.done;F++,dt=y.next())dt=S(j,d,F,dt.value,T),dt!==null&&(t&&dt.alternate!==null&&j.delete(dt.key===null?F:dt.key),r=n(dt,r,F),rt===null?R=dt:rt.sibling=dt,rt=dt);return t&&j.forEach(function(nh){return l(d,nh)}),ct&&Ql(d,F),R}function pt(d,r,y,T){if(typeof y=="object"&&y!==null&&y.type===ft&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case _t:t:{for(var R=y.key;r!==null;){if(r.key===R){if(R=y.type,R===ft){if(r.tag===7){e(d,r.sibling),T=u(r,y.props.children),T.return=d,d=T;break t}}else if(r.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===gt&&Qe(R)===r.type){e(d,r.sibling),T=u(r,y.props),lu(T,y),T.return=d,d=T;break t}e(d,r);break}else l(d,r);r=r.sibling}y.type===ft?(T=Re(y.props.children,d.mode,T,y.key),T.return=d,d=T):(T=ku(y.type,y.key,y.props,null,d.mode,T),lu(T,y),T.return=d,d=T)}return i(d);case Tt:t:{for(R=y.key;r!==null;){if(r.key===R)if(r.tag===4&&r.stateNode.containerInfo===y.containerInfo&&r.stateNode.implementation===y.implementation){e(d,r.sibling),T=u(r,y.children||[]),T.return=d,d=T;break t}else{e(d,r);break}else l(d,r);r=r.sibling}T=Gi(y,d.mode,T),T.return=d,d=T}return i(d);case gt:return y=Qe(y),pt(d,r,y,T)}if(It(y))return q(d,r,y,T);if(Nt(y)){if(R=Nt(y),typeof R!="function")throw Error(o(150));return y=R.call(y),w(d,r,y,T)}if(typeof y.then=="function")return pt(d,r,ln(y),T);if(y.$$typeof===P)return pt(d,r,Fu(d,y),T);en(d,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,r!==null&&r.tag===6?(e(d,r.sibling),T=u(r,y),T.return=d,d=T):(e(d,r),T=Yi(y,d.mode,T),T.return=d,d=T),i(d)):e(d,r)}return function(d,r,y,T){try{tu=0;var R=pt(d,r,y,T);return ha=null,R}catch(j){if(j===ma||j===Pu)throw j;var rt=yl(29,j,null,d.mode);return rt.lanes=T,rt.return=d,rt}finally{}}}var Le=uo(!0),no=uo(!1),se=!1;function Ii(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pi(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function oe(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function re(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(yt&2)!==0){var u=a.pending;return u===null?l.next=l:(l.next=u.next,u.next=l),a.pending=l,l=Ju(t),Xs(t,null,e),l}return Ku(t,a,l,e),Ju(t)}function eu(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,$f(t,e)}}function tc(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,e=e.next}while(e!==null);n===null?u=n=l:n=n.next=l}else u=n=l;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var lc=!1;function au(){if(lc){var t=ya;if(t!==null)throw t}}function uu(t,l,e,a){lc=!1;var u=t.updateQueue;se=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var s=c,m=s.next;s.next=null,i===null?n=m:i.next=m,i=s;var _=t.alternate;_!==null&&(_=_.updateQueue,c=_.lastBaseUpdate,c!==i&&(c===null?_.firstBaseUpdate=m:c.next=m,_.lastBaseUpdate=s))}if(n!==null){var z=u.baseState;i=0,_=m=s=null,c=n;do{var v=c.lane&-536870913,S=v!==c.lane;if(S?(ut&v)===v:(a&v)===v){v!==0&&v===da&&(lc=!0),_!==null&&(_=_.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var q=t,w=c;v=l;var pt=e;switch(w.tag){case 1:if(q=w.payload,typeof q=="function"){z=q.call(pt,z,v);break t}z=q;break t;case 3:q.flags=q.flags&-65537|128;case 0:if(q=w.payload,v=typeof q=="function"?q.call(pt,z,v):q,v==null)break t;z=C({},z,v);break t;case 2:se=!0}}v=c.callback,v!==null&&(t.flags|=64,S&&(t.flags|=8192),S=u.callbacks,S===null?u.callbacks=[v]:S.push(v))}else S={lane:v,tag:c.tag,payload:c.payload,callback:c.callback,next:null},_===null?(m=_=S,s=z):_=_.next=S,i|=v;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;S=c,c=S.next,S.next=null,u.lastBaseUpdate=S,u.shared.pending=null}}while(!0);_===null&&(s=z),u.baseState=s,u.firstBaseUpdate=m,u.lastBaseUpdate=_,n===null&&(u.shared.lanes=0),ve|=i,t.lanes=i,t.memoizedState=z}}function io(t,l){if(typeof t!="function")throw Error(o(191,t));t.call(l)}function co(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)io(e[t],l)}var va=f(null),an=f(0);function fo(t,l){t=Il,A(an,t),A(va,l),Il=t|l.baseLanes}function ec(){A(an,Il),A(va,va.current)}function ac(){Il=an.current,g(va),g(an)}var ml=f(null),Ol=null;function de(t){var l=t.alternate;A(Rt,Rt.current&1),A(ml,t),Ol===null&&(l===null||va.current!==null||l.memoizedState!==null)&&(Ol=t)}function uc(t){A(Rt,Rt.current),A(ml,t),Ol===null&&(Ol=t)}function so(t){t.tag===22?(A(Rt,Rt.current),A(ml,t),Ol===null&&(Ol=t)):ye()}function ye(){A(Rt,Rt.current),A(ml,ml.current)}function hl(t){g(ml),Ol===t&&(Ol=null),g(Rt)}var Rt=f(0);function un(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||rf(e)||df(e)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Zl=0,$=null,St=null,Gt=null,nn=!1,ga=!1,Ze=!1,cn=0,nu=0,Sa=null,Wm=0;function qt(){throw Error(o(321))}function nc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!dl(t[e],l[e]))return!1;return!0}function ic(t,l,e,a,u,n){return Zl=n,$=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,p.H=t===null||t.memoizedState===null?Jo:_c,Ze=!1,n=e(a,u),Ze=!1,ga&&(n=ro(l,e,a,u)),oo(t),n}function oo(t){p.H=fu;var l=St!==null&&St.next!==null;if(Zl=0,Gt=St=$=null,nn=!1,nu=0,Sa=null,l)throw Error(o(300));t===null||Qt||(t=t.dependencies,t!==null&&$u(t)&&(Qt=!0))}function ro(t,l,e,a){$=t;var u=0;do{if(ga&&(Sa=null),nu=0,ga=!1,25<=u)throw Error(o(301));if(u+=1,Gt=St=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}p.H=ko,n=l(e,a)}while(ga);return n}function $m(){var t=p.H,l=t.useState()[0];return l=typeof l.then=="function"?iu(l):l,t=t.useState()[0],(St!==null?St.memoizedState:null)!==t&&($.flags|=1024),l}function cc(){var t=cn!==0;return cn=0,t}function fc(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function sc(t){if(nn){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}nn=!1}Zl=0,Gt=St=$=null,ga=!1,nu=cn=0,Sa=null}function Pt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?$.memoizedState=Gt=t:Gt=Gt.next=t,Gt}function Bt(){if(St===null){var t=$.alternate;t=t!==null?t.memoizedState:null}else t=St.next;var l=Gt===null?$.memoizedState:Gt.next;if(l!==null)Gt=l,St=t;else{if(t===null)throw $.alternate===null?Error(o(467)):Error(o(310));St=t,t={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},Gt===null?$.memoizedState=Gt=t:Gt=Gt.next=t}return Gt}function fn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function iu(t){var l=nu;return nu+=1,Sa===null&&(Sa=[]),t=lo(Sa,t,l),l=$,(Gt===null?l.memoizedState:Gt.next)===null&&(l=l.alternate,p.H=l===null||l.memoizedState===null?Jo:_c),t}function sn(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return iu(t);if(t.$$typeof===P)return kt(t)}throw Error(o(438,String(t)))}function oc(t){var l=null,e=$.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=$.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(u){return u.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=fn(),$.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=ll;return l.index++,e}function Vl(t,l){return typeof l=="function"?l(t):l}function on(t){var l=Bt();return rc(l,St,t)}function rc(t,l,e){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var u=t.baseQueue,n=a.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}l.baseQueue=u=n,a.pending=null}if(n=t.baseState,u===null)t.memoizedState=n;else{l=u.next;var c=i=null,s=null,m=l,_=!1;do{var z=m.lane&-536870913;if(z!==m.lane?(ut&z)===z:(Zl&z)===z){var v=m.revertLane;if(v===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),z===da&&(_=!0);else if((Zl&v)===v){m=m.next,v===da&&(_=!0);continue}else z={lane:0,revertLane:m.revertLane,gesture:null,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null},s===null?(c=s=z,i=n):s=s.next=z,$.lanes|=v,ve|=v;z=m.action,Ze&&e(n,z),n=m.hasEagerState?m.eagerState:e(n,z)}else v={lane:z,revertLane:m.revertLane,gesture:m.gesture,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null},s===null?(c=s=v,i=n):s=s.next=v,$.lanes|=z,ve|=z;m=m.next}while(m!==null&&m!==l);if(s===null?i=n:s.next=c,!dl(n,t.memoizedState)&&(Qt=!0,_&&(e=ya,e!==null)))throw e;t.memoizedState=n,t.baseState=i,t.baseQueue=s,a.lastRenderedState=n}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function dc(t){var l=Bt(),e=l.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=t;var a=e.dispatch,u=e.pending,n=l.memoizedState;if(u!==null){e.pending=null;var i=u=u.next;do n=t(n,i.action),i=i.next;while(i!==u);dl(n,l.memoizedState)||(Qt=!0),l.memoizedState=n,l.baseQueue===null&&(l.baseState=n),e.lastRenderedState=n}return[n,a]}function yo(t,l,e){var a=$,u=Bt(),n=ct;if(n){if(e===void 0)throw Error(o(407));e=e()}else e=l();var i=!dl((St||u).memoizedState,e);if(i&&(u.memoizedState=e,Qt=!0),u=u.queue,hc(vo.bind(null,a,u,t),[t]),u.getSnapshot!==l||i||Gt!==null&&Gt.memoizedState.tag&1){if(a.flags|=2048,ba(9,{destroy:void 0},ho.bind(null,a,u,e,l),null),Et===null)throw Error(o(349));n||(Zl&127)!==0||mo(a,l,e)}return e}function mo(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=$.updateQueue,l===null?(l=fn(),$.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function ho(t,l,e,a){l.value=e,l.getSnapshot=a,go(l)&&So(t)}function vo(t,l,e){return e(function(){go(l)&&So(t)})}function go(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!dl(t,e)}catch{return!0}}function So(t){var l=He(t,2);l!==null&&fl(l,t,2)}function yc(t){var l=Pt();if(typeof t=="function"){var e=t;if(t=e(),Ze){ee(!0);try{e()}finally{ee(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vl,lastRenderedState:t},l}function bo(t,l,e,a){return t.baseState=e,rc(t,St,typeof a=="function"?a:Vl)}function Fm(t,l,e,a,u){if(yn(t))throw Error(o(485));if(t=l.action,t!==null){var n={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};p.T!==null?e(!0):n.isTransition=!1,a(n),e=l.pending,e===null?(n.next=l.pending=n,po(l,n)):(n.next=e.next,l.pending=e.next=n)}}function po(t,l){var e=l.action,a=l.payload,u=t.state;if(l.isTransition){var n=p.T,i={};p.T=i;try{var c=e(u,a),s=p.S;s!==null&&s(i,c),_o(t,l,c)}catch(m){mc(t,l,m)}finally{n!==null&&i.types!==null&&(n.types=i.types),p.T=n}}else try{n=e(u,a),_o(t,l,n)}catch(m){mc(t,l,m)}}function _o(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){To(t,l,a)},function(a){return mc(t,l,a)}):To(t,l,e)}function To(t,l,e){l.status="fulfilled",l.value=e,zo(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,po(t,e)))}function mc(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,zo(l),l=l.next;while(l!==a)}t.action=null}function zo(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function Eo(t,l){return l}function Ao(t,l){if(ct){var e=Et.formState;if(e!==null){t:{var a=$;if(ct){if(Ot){l:{for(var u=Ot,n=xl;u.nodeType!==8;){if(!n){u=null;break l}if(u=Ml(u.nextSibling),u===null){u=null;break l}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){Ot=Ml(u.nextSibling),a=u.data==="F!";break t}}ce(a)}a=!1}a&&(l=e[0])}}return e=Pt(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:l},e.queue=a,e=Zo.bind(null,$,a),a.dispatch=e,a=yc(!1),n=pc.bind(null,$,!1,a.queue),a=Pt(),u={state:l,dispatch:null,action:t,pending:null},a.queue=u,e=Fm.bind(null,$,u,n,e),u.dispatch=e,a.memoizedState=t,[l,e,!1]}function xo(t){var l=Bt();return Oo(l,St,t)}function Oo(t,l,e){if(l=rc(t,l,Eo)[0],t=on(Vl)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=iu(l)}catch(i){throw i===ma?Pu:i}else a=l;l=Bt();var u=l.queue,n=u.dispatch;return e!==l.memoizedState&&($.flags|=2048,ba(9,{destroy:void 0},Im.bind(null,u,e),null)),[a,n,t]}function Im(t,l){t.action=l}function Mo(t){var l=Bt(),e=St;if(e!==null)return Oo(l,e,t);Bt(),l=l.memoizedState,e=Bt();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function ba(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=$.updateQueue,l===null&&(l=fn(),$.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function No(){return Bt().memoizedState}function rn(t,l,e,a){var u=Pt();$.flags|=t,u.memoizedState=ba(1|l,{destroy:void 0},e,a===void 0?null:a)}function dn(t,l,e,a){var u=Bt();a=a===void 0?null:a;var n=u.memoizedState.inst;St!==null&&a!==null&&nc(a,St.memoizedState.deps)?u.memoizedState=ba(l,n,e,a):($.flags|=t,u.memoizedState=ba(1|l,n,e,a))}function Co(t,l){rn(8390656,8,t,l)}function hc(t,l){dn(2048,8,t,l)}function Pm(t){$.flags|=4;var l=$.updateQueue;if(l===null)l=fn(),$.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function Do(t){var l=Bt().memoizedState;return Pm({ref:l,nextImpl:t}),function(){if((yt&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}function qo(t,l){return dn(4,2,t,l)}function Uo(t,l){return dn(4,4,t,l)}function jo(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function Ho(t,l,e){e=e!=null?e.concat([t]):null,dn(4,4,jo.bind(null,l,t),e)}function vc(){}function Ro(t,l){var e=Bt();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&nc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function Bo(t,l){var e=Bt();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&nc(l,a[1]))return a[0];if(a=t(),Ze){ee(!0);try{t()}finally{ee(!1)}}return e.memoizedState=[a,l],a}function gc(t,l,e){return e===void 0||(Zl&1073741824)!==0&&(ut&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=wr(),$.lanes|=t,ve|=t,e)}function wo(t,l,e,a){return dl(e,l)?e:va.current!==null?(t=gc(t,e,a),dl(t,l)||(Qt=!0),t):(Zl&42)===0||(Zl&1073741824)!==0&&(ut&261930)===0?(Qt=!0,t.memoizedState=e):(t=wr(),$.lanes|=t,ve|=t,l)}function Yo(t,l,e,a,u){var n=M.p;M.p=n!==0&&8>n?n:8;var i=p.T,c={};p.T=c,pc(t,!1,l,e);try{var s=u(),m=p.S;if(m!==null&&m(c,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var _=km(s,a);cu(t,l,_,Sl(t))}else cu(t,l,a,Sl(t))}catch(z){cu(t,l,{then:function(){},status:"rejected",reason:z},Sl())}finally{M.p=n,i!==null&&c.types!==null&&(i.types=c.types),p.T=i}}function t0(){}function Sc(t,l,e,a){if(t.tag!==5)throw Error(o(476));var u=Go(t).queue;Yo(t,u,l,G,e===null?t0:function(){return Qo(t),e(a)})}function Go(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vl,lastRenderedState:G},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vl,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function Qo(t){var l=Go(t);l.next===null&&(l=t.alternate.memoizedState),cu(t,l.next.queue,{},Sl())}function bc(){return kt(Eu)}function Xo(){return Bt().memoizedState}function Lo(){return Bt().memoizedState}function l0(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=Sl();t=oe(e);var a=re(l,t,e);a!==null&&(fl(a,l,e),eu(a,l,e)),l={cache:ki()},t.payload=l;return}l=l.return}}function e0(t,l,e){var a=Sl();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},yn(t)?Vo(l,e):(e=Bi(t,l,e,a),e!==null&&(fl(e,t,a),Ko(e,l,a)))}function Zo(t,l,e){var a=Sl();cu(t,l,e,a)}function cu(t,l,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(yn(t))Vo(l,u);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=l.lastRenderedReducer,n!==null))try{var i=l.lastRenderedState,c=n(i,e);if(u.hasEagerState=!0,u.eagerState=c,dl(c,i))return Ku(t,l,u,0),Et===null&&Vu(),!1}catch{}finally{}if(e=Bi(t,l,u,a),e!==null)return fl(e,t,a),Ko(e,l,a),!0}return!1}function pc(t,l,e,a){if(a={lane:2,revertLane:Ic(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yn(t)){if(l)throw Error(o(479))}else l=Bi(t,e,a,2),l!==null&&fl(l,t,2)}function yn(t){var l=t.alternate;return t===$||l!==null&&l===$}function Vo(t,l){ga=nn=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function Ko(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,$f(t,e)}}var fu={readContext:kt,use:sn,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt};fu.useEffectEvent=qt;var Jo={readContext:kt,use:sn,useCallback:function(t,l){return Pt().memoizedState=[t,l===void 0?null:l],t},useContext:kt,useEffect:Co,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,rn(4194308,4,jo.bind(null,l,t),e)},useLayoutEffect:function(t,l){return rn(4194308,4,t,l)},useInsertionEffect:function(t,l){rn(4,2,t,l)},useMemo:function(t,l){var e=Pt();l=l===void 0?null:l;var a=t();if(Ze){ee(!0);try{t()}finally{ee(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=Pt();if(e!==void 0){var u=e(l);if(Ze){ee(!0);try{e(l)}finally{ee(!1)}}}else u=l;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=e0.bind(null,$,t),[a.memoizedState,t]},useRef:function(t){var l=Pt();return t={current:t},l.memoizedState=t},useState:function(t){t=yc(t);var l=t.queue,e=Zo.bind(null,$,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:vc,useDeferredValue:function(t,l){var e=Pt();return gc(e,t,l)},useTransition:function(){var t=yc(!1);return t=Yo.bind(null,$,t.queue,!0,!1),Pt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=$,u=Pt();if(ct){if(e===void 0)throw Error(o(407));e=e()}else{if(e=l(),Et===null)throw Error(o(349));(ut&127)!==0||mo(a,l,e)}u.memoizedState=e;var n={value:e,getSnapshot:l};return u.queue=n,Co(vo.bind(null,a,n,t),[t]),a.flags|=2048,ba(9,{destroy:void 0},ho.bind(null,a,n,e,l),null),e},useId:function(){var t=Pt(),l=Et.identifierPrefix;if(ct){var e=jl,a=Ul;e=(a&~(1<<32-rl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=cn++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=Wm++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:bc,useFormState:Ao,useActionState:Ao,useOptimistic:function(t){var l=Pt();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=pc.bind(null,$,!0,e),e.dispatch=l,[t,l]},useMemoCache:oc,useCacheRefresh:function(){return Pt().memoizedState=l0.bind(null,$)},useEffectEvent:function(t){var l=Pt(),e={impl:t};return l.memoizedState=e,function(){if((yt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}},_c={readContext:kt,use:sn,useCallback:Ro,useContext:kt,useEffect:hc,useImperativeHandle:Ho,useInsertionEffect:qo,useLayoutEffect:Uo,useMemo:Bo,useReducer:on,useRef:No,useState:function(){return on(Vl)},useDebugValue:vc,useDeferredValue:function(t,l){var e=Bt();return wo(e,St.memoizedState,t,l)},useTransition:function(){var t=on(Vl)[0],l=Bt().memoizedState;return[typeof t=="boolean"?t:iu(t),l]},useSyncExternalStore:yo,useId:Xo,useHostTransitionStatus:bc,useFormState:xo,useActionState:xo,useOptimistic:function(t,l){var e=Bt();return bo(e,St,t,l)},useMemoCache:oc,useCacheRefresh:Lo};_c.useEffectEvent=Do;var ko={readContext:kt,use:sn,useCallback:Ro,useContext:kt,useEffect:hc,useImperativeHandle:Ho,useInsertionEffect:qo,useLayoutEffect:Uo,useMemo:Bo,useReducer:dc,useRef:No,useState:function(){return dc(Vl)},useDebugValue:vc,useDeferredValue:function(t,l){var e=Bt();return St===null?gc(e,t,l):wo(e,St.memoizedState,t,l)},useTransition:function(){var t=dc(Vl)[0],l=Bt().memoizedState;return[typeof t=="boolean"?t:iu(t),l]},useSyncExternalStore:yo,useId:Xo,useHostTransitionStatus:bc,useFormState:Mo,useActionState:Mo,useOptimistic:function(t,l){var e=Bt();return St!==null?bo(e,St,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:oc,useCacheRefresh:Lo};ko.useEffectEvent=Do;function Tc(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:C({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var zc={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=Sl(),u=oe(a);u.payload=l,e!=null&&(u.callback=e),l=re(t,u,a),l!==null&&(fl(l,t,a),eu(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=Sl(),u=oe(a);u.tag=1,u.payload=l,e!=null&&(u.callback=e),l=re(t,u,a),l!==null&&(fl(l,t,a),eu(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=Sl(),a=oe(e);a.tag=2,l!=null&&(a.callback=l),l=re(t,a,e),l!==null&&(fl(l,t,e),eu(l,t,e))}};function Wo(t,l,e,a,u,n,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,i):l.prototype&&l.prototype.isPureReactComponent?!ka(e,a)||!ka(u,n):!0}function $o(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&zc.enqueueReplaceState(l,l.state,null)}function Ve(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=C({},e));for(var u in t)e[u]===void 0&&(e[u]=t[u])}return e}function Fo(t){Zu(t)}function Io(t){console.error(t)}function Po(t){Zu(t)}function mn(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function tr(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Ec(t,l,e){return e=oe(e),e.tag=3,e.payload={element:null},e.callback=function(){mn(t,l)},e}function lr(t){return t=oe(t),t.tag=3,t}function er(t,l,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;t.payload=function(){return u(n)},t.callback=function(){tr(l,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){tr(l,e,a),typeof u!="function"&&(ge===null?ge=new Set([this]):ge.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function a0(t,l,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&ra(l,e,u,!0),e=ml.current,e!==null){switch(e.tag){case 31:case 13:return Ol===null?xn():e.alternate===null&&Ut===0&&(Ut=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===tn?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),Wc(t,a,u)),!1;case 22:return e.flags|=65536,a===tn?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),Wc(t,a,u)),!1}throw Error(o(435,e.tag))}return Wc(t,a,u),xn(),!1}if(ct)return l=ml.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=u,a!==Li&&(t=Error(o(422),{cause:a}),Fa(zl(t,e)))):(a!==Li&&(l=Error(o(423),{cause:a}),Fa(zl(l,e))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=zl(a,e),u=Ec(t.stateNode,a,u),tc(t,u),Ut!==4&&(Ut=2)),!1;var n=Error(o(520),{cause:a});if(n=zl(n,e),vu===null?vu=[n]:vu.push(n),Ut!==4&&(Ut=2),l===null)return!0;a=zl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=u&-u,e.lanes|=t,t=Ec(e.stateNode,a,t),tc(e,t),!1;case 1:if(l=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(ge===null||!ge.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=lr(u),er(u,t,e,a),tc(e,u),!1}e=e.return}while(e!==null);return!1}var Ac=Error(o(461)),Qt=!1;function Wt(t,l,e,a){l.child=t===null?no(l,null,e,a):Le(l,t.child,e,a)}function ar(t,l,e,a,u){e=e.render;var n=l.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Ye(l),a=ic(t,l,e,i,n,u),c=cc(),t!==null&&!Qt?(fc(t,l,u),Kl(t,l,u)):(ct&&c&&Qi(l),l.flags|=1,Wt(t,l,a,u),l.child)}function ur(t,l,e,a,u){if(t===null){var n=e.type;return typeof n=="function"&&!wi(n)&&n.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=n,nr(t,l,n,a,u)):(t=ku(e.type,null,a,l,l.mode,u),t.ref=l.ref,t.return=l,l.child=t)}if(n=t.child,!Uc(t,u)){var i=n.memoizedProps;if(e=e.compare,e=e!==null?e:ka,e(i,a)&&t.ref===l.ref)return Kl(t,l,u)}return l.flags|=1,t=Gl(n,a),t.ref=l.ref,t.return=l,l.child=t}function nr(t,l,e,a,u){if(t!==null){var n=t.memoizedProps;if(ka(n,a)&&t.ref===l.ref)if(Qt=!1,l.pendingProps=a=n,Uc(t,u))(t.flags&131072)!==0&&(Qt=!0);else return l.lanes=t.lanes,Kl(t,l,u)}return xc(t,l,e,a,u)}function ir(t,l,e,a){var u=a.children,n=t!==null?t.memoizedState:null;if(t===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(n=n!==null?n.baseLanes|e:e,t!==null){for(a=l.child=t.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,l.child=null;return cr(t,l,n,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&Iu(l,n!==null?n.cachePool:null),n!==null?fo(l,n):ec(),so(l);else return a=l.lanes=536870912,cr(t,l,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(Iu(l,n.cachePool),fo(l,n),ye(),l.memoizedState=null):(t!==null&&Iu(l,null),ec(),ye());return Wt(t,l,u,e),l.child}function su(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function cr(t,l,e,a,u){var n=$i();return n=n===null?null:{parent:Yt._currentValue,pool:n},l.memoizedState={baseLanes:e,cachePool:n},t!==null&&Iu(l,null),ec(),so(l),t!==null&&ra(t,l,a,!0),l.childLanes=u,null}function hn(t,l){return l=gn({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function fr(t,l,e){return Le(l,t.child,null,e),t=hn(l,l.pendingProps),t.flags|=2,hl(l),l.memoizedState=null,t}function u0(t,l,e){var a=l.pendingProps,u=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(ct){if(a.mode==="hidden")return t=hn(l,a),l.lanes=536870912,su(null,t);if(uc(l),(t=Ot)?(t=pd(t,xl),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:ne!==null?{id:Ul,overflow:jl}:null,retryLane:536870912,hydrationErrors:null},e=Zs(t),e.return=l,l.child=e,Jt=l,Ot=null)):t=null,t===null)throw ce(l);return l.lanes=536870912,null}return hn(l,a)}var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(uc(l),u)if(l.flags&256)l.flags&=-257,l=fr(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(o(558));else if(Qt||ra(t,l,e,!1),u=(e&t.childLanes)!==0,Qt||u){if(a=Et,a!==null&&(i=Ff(a,e),i!==0&&i!==n.retryLane))throw n.retryLane=i,He(t,i),fl(a,t,i),Ac;xn(),l=fr(t,l,e)}else t=n.treeContext,Ot=Ml(i.nextSibling),Jt=l,ct=!0,ie=null,xl=!1,t!==null&&Js(l,t),l=hn(l,a),l.flags|=4096;return l}return t=Gl(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function vn(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(o(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function xc(t,l,e,a,u){return Ye(l),e=ic(t,l,e,a,void 0,u),a=cc(),t!==null&&!Qt?(fc(t,l,u),Kl(t,l,u)):(ct&&a&&Qi(l),l.flags|=1,Wt(t,l,e,u),l.child)}function sr(t,l,e,a,u,n){return Ye(l),l.updateQueue=null,e=ro(l,a,e,u),oo(t),a=cc(),t!==null&&!Qt?(fc(t,l,n),Kl(t,l,n)):(ct&&a&&Qi(l),l.flags|=1,Wt(t,l,e,n),l.child)}function or(t,l,e,a,u){if(Ye(l),l.stateNode===null){var n=ca,i=e.contextType;typeof i=="object"&&i!==null&&(n=kt(i)),n=new e(a,n),l.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=zc,l.stateNode=n,n._reactInternals=l,n=l.stateNode,n.props=a,n.state=l.memoizedState,n.refs={},Ii(l),i=e.contextType,n.context=typeof i=="object"&&i!==null?kt(i):ca,n.state=l.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(Tc(l,e,i,a),n.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&zc.enqueueReplaceState(n,n.state,null),uu(l,a,n,u),au(),n.state=l.memoizedState),typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){n=l.stateNode;var c=l.memoizedProps,s=Ve(e,c);n.props=s;var m=n.context,_=e.contextType;i=ca,typeof _=="object"&&_!==null&&(i=kt(_));var z=e.getDerivedStateFromProps;_=typeof z=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=l.pendingProps!==c,_||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||m!==i)&&$o(l,n,a,i),se=!1;var v=l.memoizedState;n.state=v,uu(l,a,n,u),au(),m=l.memoizedState,c||v!==m||se?(typeof z=="function"&&(Tc(l,e,z,a),m=l.memoizedState),(s=se||Wo(l,e,s,a,v,m,i))?(_||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(l.flags|=4194308)):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=m),n.props=a,n.state=m,n.context=i,a=s):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{n=l.stateNode,Pi(t,l),i=l.memoizedProps,_=Ve(e,i),n.props=_,z=l.pendingProps,v=n.context,m=e.contextType,s=ca,typeof m=="object"&&m!==null&&(s=kt(m)),c=e.getDerivedStateFromProps,(m=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==z||v!==s)&&$o(l,n,a,s),se=!1,v=l.memoizedState,n.state=v,uu(l,a,n,u),au();var S=l.memoizedState;i!==z||v!==S||se||t!==null&&t.dependencies!==null&&$u(t.dependencies)?(typeof c=="function"&&(Tc(l,e,c,a),S=l.memoizedState),(_=se||Wo(l,e,_,a,v,S,s)||t!==null&&t.dependencies!==null&&$u(t.dependencies))?(m||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,S,s),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,S,s)),typeof n.componentDidUpdate=="function"&&(l.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&v===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&v===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=S),n.props=a,n.state=S,n.context=s,a=_):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&v===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&v===t.memoizedState||(l.flags|=1024),a=!1)}return n=a,vn(t,l),a=(l.flags&128)!==0,n||a?(n=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),l.flags|=1,t!==null&&a?(l.child=Le(l,t.child,null,u),l.child=Le(l,null,e,u)):Wt(t,l,e,u),l.memoizedState=n.state,t=l.child):t=Kl(t,l,u),t}function rr(t,l,e,a){return Be(),l.flags|=256,Wt(t,l,e,a),l.child}var Oc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mc(t){return{baseLanes:t,cachePool:Ps()}}function Nc(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=gl),t}function dr(t,l,e){var a=l.pendingProps,u=!1,n=(l.flags&128)!==0,i;if((i=n)||(i=t!==null&&t.memoizedState===null?!1:(Rt.current&2)!==0),i&&(u=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(ct){if(u?de(l):ye(),(t=Ot)?(t=pd(t,xl),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:ne!==null?{id:Ul,overflow:jl}:null,retryLane:536870912,hydrationErrors:null},e=Zs(t),e.return=l,l.child=e,Jt=l,Ot=null)):t=null,t===null)throw ce(l);return df(t)?l.lanes=32:l.lanes=536870912,null}var c=a.children;return a=a.fallback,u?(ye(),u=l.mode,c=gn({mode:"hidden",children:c},u),a=Re(a,u,e,null),c.return=l,a.return=l,c.sibling=a,l.child=c,a=l.child,a.memoizedState=Mc(e),a.childLanes=Nc(t,i,e),l.memoizedState=Oc,su(null,a)):(de(l),Cc(l,c))}var s=t.memoizedState;if(s!==null&&(c=s.dehydrated,c!==null)){if(n)l.flags&256?(de(l),l.flags&=-257,l=Dc(t,l,e)):l.memoizedState!==null?(ye(),l.child=t.child,l.flags|=128,l=null):(ye(),c=a.fallback,u=l.mode,a=gn({mode:"visible",children:a.children},u),c=Re(c,u,e,null),c.flags|=2,a.return=l,c.return=l,a.sibling=c,l.child=a,Le(l,t.child,null,e),a=l.child,a.memoizedState=Mc(e),a.childLanes=Nc(t,i,e),l.memoizedState=Oc,l=su(null,a));else if(de(l),df(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var m=i.dgst;i=m,a=Error(o(419)),a.stack="",a.digest=i,Fa({value:a,source:null,stack:null}),l=Dc(t,l,e)}else if(Qt||ra(t,l,e,!1),i=(e&t.childLanes)!==0,Qt||i){if(i=Et,i!==null&&(a=Ff(i,e),a!==0&&a!==s.retryLane))throw s.retryLane=a,He(t,a),fl(i,t,a),Ac;rf(c)||xn(),l=Dc(t,l,e)}else rf(c)?(l.flags|=192,l.child=t.child,l=null):(t=s.treeContext,Ot=Ml(c.nextSibling),Jt=l,ct=!0,ie=null,xl=!1,t!==null&&Js(l,t),l=Cc(l,a.children),l.flags|=4096);return l}return u?(ye(),c=a.fallback,u=l.mode,s=t.child,m=s.sibling,a=Gl(s,{mode:"hidden",children:a.children}),a.subtreeFlags=s.subtreeFlags&65011712,m!==null?c=Gl(m,c):(c=Re(c,u,e,null),c.flags|=2),c.return=l,a.return=l,a.sibling=c,l.child=a,su(null,a),a=l.child,c=t.child.memoizedState,c===null?c=Mc(e):(u=c.cachePool,u!==null?(s=Yt._currentValue,u=u.parent!==s?{parent:s,pool:s}:u):u=Ps(),c={baseLanes:c.baseLanes|e,cachePool:u}),a.memoizedState=c,a.childLanes=Nc(t,i,e),l.memoizedState=Oc,su(t.child,a)):(de(l),e=t.child,t=e.sibling,e=Gl(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(i=l.deletions,i===null?(l.deletions=[t],l.flags|=16):i.push(t)),l.child=e,l.memoizedState=null,e)}function Cc(t,l){return l=gn({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function gn(t,l){return t=yl(22,t,null,l),t.lanes=0,t}function Dc(t,l,e){return Le(l,t.child,null,e),t=Cc(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function yr(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),Ki(t.return,l,e)}function qc(t,l,e,a,u,n){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(i.isBackwards=l,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=u,i.treeForkCount=n)}function mr(t,l,e){var a=l.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var i=Rt.current,c=(i&2)!==0;if(c?(i=i&1|2,l.flags|=128):i&=1,A(Rt,i),Wt(t,l,a,e),a=ct?$a:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&yr(t,e,l);else if(t.tag===19)yr(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(e=l.child,u=null;e!==null;)t=e.alternate,t!==null&&un(t)===null&&(u=e),e=e.sibling;e=u,e===null?(u=l.child,l.child=null):(u=e.sibling,e.sibling=null),qc(l,!1,u,e,n,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,u=l.child,l.child=null;u!==null;){if(t=u.alternate,t!==null&&un(t)===null){l.child=u;break}t=u.sibling,u.sibling=e,e=u,u=t}qc(l,!0,e,null,n,a);break;case"together":qc(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function Kl(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),ve|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(ra(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(o(153));if(l.child!==null){for(t=l.child,e=Gl(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=Gl(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function Uc(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&$u(t)))}function n0(t,l,e){switch(l.tag){case 3:Dt(l,l.stateNode.containerInfo),fe(l,Yt,t.memoizedState.cache),Be();break;case 27:case 5:Ha(l);break;case 4:Dt(l,l.stateNode.containerInfo);break;case 10:fe(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,uc(l),null;break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(de(l),l.flags|=128,null):(e&l.child.childLanes)!==0?dr(t,l,e):(de(l),t=Kl(t,l,e),t!==null?t.sibling:null);de(l);break;case 19:var u=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(ra(t,l,e,!1),a=(e&l.childLanes)!==0),u){if(a)return mr(t,l,e);l.flags|=128}if(u=l.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),A(Rt,Rt.current),a)break;return null;case 22:return l.lanes=0,ir(t,l,e,l.pendingProps);case 24:fe(l,Yt,t.memoizedState.cache)}return Kl(t,l,e)}function hr(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)Qt=!0;else{if(!Uc(t,e)&&(l.flags&128)===0)return Qt=!1,n0(t,l,e);Qt=(t.flags&131072)!==0}else Qt=!1,ct&&(l.flags&1048576)!==0&&Ks(l,$a,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=Qe(l.elementType),l.type=t,typeof t=="function")wi(t)?(a=Ve(t,a),l.tag=1,l=or(null,l,t,a,e)):(l.tag=0,l=xc(null,l,t,a,e));else{if(t!=null){var u=t.$$typeof;if(u===at){l.tag=11,l=ar(null,l,t,a,e);break t}else if(u===J){l.tag=14,l=ur(null,l,t,a,e);break t}}throw l=wt(t)||t,Error(o(306,l,""))}}return l;case 0:return xc(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,u=Ve(a,l.pendingProps),or(t,l,a,u,e);case 3:t:{if(Dt(l,l.stateNode.containerInfo),t===null)throw Error(o(387));a=l.pendingProps;var n=l.memoizedState;u=n.element,Pi(t,l),uu(l,a,null,e);var i=l.memoizedState;if(a=i.cache,fe(l,Yt,a),a!==n.cache&&Ji(l,[Yt],e,!0),au(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},l.updateQueue.baseState=n,l.memoizedState=n,l.flags&256){l=rr(t,l,a,e);break t}else if(a!==u){u=zl(Error(o(424)),l),Fa(u),l=rr(t,l,a,e);break t}else{switch(t=l.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ot=Ml(t.firstChild),Jt=l,ct=!0,ie=null,xl=!0,e=no(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Be(),a===u){l=Kl(t,l,e);break t}Wt(t,l,a,e)}l=l.child}return l;case 26:return vn(t,l),t===null?(e=xd(l.type,null,l.pendingProps,null))?l.memoizedState=e:ct||(e=l.type,t=l.pendingProps,a=Un(K.current).createElement(e),a[Kt]=l,a[el]=t,$t(a,e,t),Zt(a),l.stateNode=a):l.memoizedState=xd(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Ha(l),t===null&&ct&&(a=l.stateNode=zd(l.type,l.pendingProps,K.current),Jt=l,xl=!0,u=Ot,_e(l.type)?(yf=u,Ot=Ml(a.firstChild)):Ot=u),Wt(t,l,l.pendingProps.children,e),vn(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&ct&&((u=a=Ot)&&(a=H0(a,l.type,l.pendingProps,xl),a!==null?(l.stateNode=a,Jt=l,Ot=Ml(a.firstChild),xl=!1,u=!0):u=!1),u||ce(l)),Ha(l),u=l.type,n=l.pendingProps,i=t!==null?t.memoizedProps:null,a=n.children,ff(u,n)?a=null:i!==null&&ff(u,i)&&(l.flags|=32),l.memoizedState!==null&&(u=ic(t,l,$m,null,null,e),Eu._currentValue=u),vn(t,l),Wt(t,l,a,e),l.child;case 6:return t===null&&ct&&((t=e=Ot)&&(e=R0(e,l.pendingProps,xl),e!==null?(l.stateNode=e,Jt=l,Ot=null,t=!0):t=!1),t||ce(l)),null;case 13:return dr(t,l,e);case 4:return Dt(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=Le(l,null,a,e):Wt(t,l,a,e),l.child;case 11:return ar(t,l,l.type,l.pendingProps,e);case 7:return Wt(t,l,l.pendingProps,e),l.child;case 8:return Wt(t,l,l.pendingProps.children,e),l.child;case 12:return Wt(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,fe(l,l.type,a.value),Wt(t,l,a.children,e),l.child;case 9:return u=l.type._context,a=l.pendingProps.children,Ye(l),u=kt(u),a=a(u),l.flags|=1,Wt(t,l,a,e),l.child;case 14:return ur(t,l,l.type,l.pendingProps,e);case 15:return nr(t,l,l.type,l.pendingProps,e);case 19:return mr(t,l,e);case 31:return u0(t,l,e);case 22:return ir(t,l,e,l.pendingProps);case 24:return Ye(l),a=kt(Yt),t===null?(u=$i(),u===null&&(u=Et,n=ki(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),l.memoizedState={parent:a,cache:u},Ii(l),fe(l,Yt,u)):((t.lanes&e)!==0&&(Pi(t,l),uu(l,null,null,e),au()),u=t.memoizedState,n=l.memoizedState,u.parent!==a?(u={parent:a,cache:a},l.memoizedState=u,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=u),fe(l,Yt,a)):(a=n.cache,fe(l,Yt,a),a!==u.cache&&Ji(l,[Yt],e,!0))),Wt(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}function Jl(t){t.flags|=4}function jc(t,l,e,a,u){if((l=(t.mode&32)!==0)&&(l=!1),l){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(Xr())t.flags|=8192;else throw Xe=tn,Fi}else t.flags&=-16777217}function vr(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Dd(l))if(Xr())t.flags|=8192;else throw Xe=tn,Fi}function Sn(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?kf():536870912,t.lanes|=l,za|=l)}function ou(t,l){if(!ct)switch(t.tailMode){case"hidden":l=t.tail;for(var e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null;break;case"collapsed":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Mt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function i0(t,l,e){var a=l.pendingProps;switch(Xi(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mt(l),null;case 1:return Mt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Ll(Yt),Ht(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(oa(l)?Jl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Zi())),Mt(l),null;case 26:var u=l.type,n=l.memoizedState;return t===null?(Jl(l),n!==null?(Mt(l),vr(l,n)):(Mt(l),jc(l,u,null,a,e))):n?n!==t.memoizedState?(Jl(l),Mt(l),vr(l,n)):(Mt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&Jl(l),Mt(l),jc(l,u,t,a,e)),null;case 27:if(Mu(l),e=K.current,u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Jl(l);else{if(!a){if(l.stateNode===null)throw Error(o(166));return Mt(l),null}t=U.current,oa(l)?ks(l):(t=zd(u,a,e),l.stateNode=t,Jl(l))}return Mt(l),null;case 5:if(Mu(l),u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Jl(l);else{if(!a){if(l.stateNode===null)throw Error(o(166));return Mt(l),null}if(n=U.current,oa(l))ks(l);else{var i=Un(K.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(u,{is:a.is}):i.createElement(u)}}n[Kt]=l,n[el]=a;t:for(i=l.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break t;for(;i.sibling===null;){if(i.return===null||i.return===l)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}l.stateNode=n;t:switch($t(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Jl(l)}}return Mt(l),jc(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&Jl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(o(166));if(t=K.current,oa(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,u=Jt,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[Kt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||dd(t.nodeValue,e)),t||ce(l,!0)}else t=Un(t).createTextNode(a),t[Kt]=l,l.stateNode=t}return Mt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=oa(l),e!==null){if(t===null){if(!a)throw Error(o(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Kt]=l}else Be(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Mt(l),t=!1}else e=Zi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(hl(l),l):(hl(l),null);if((l.flags&128)!==0)throw Error(o(558))}return Mt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=oa(l),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=l.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Kt]=l}else Be(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Mt(l),u=!1}else u=Zi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return l.flags&256?(hl(l),l):(hl(l),null)}return hl(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==t&&e&&(l.child.flags|=8192),Sn(l,l.updateQueue),Mt(l),null);case 4:return Ht(),t===null&&ef(l.stateNode.containerInfo),Mt(l),null;case 10:return Ll(l.type),Mt(l),null;case 19:if(g(Rt),a=l.memoizedState,a===null)return Mt(l),null;if(u=(l.flags&128)!==0,n=a.rendering,n===null)if(u)ou(a,!1);else{if(Ut!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(n=un(t),n!==null){for(l.flags|=128,ou(a,!1),t=n.updateQueue,l.updateQueue=t,Sn(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)Ls(e,t),e=e.sibling;return A(Rt,Rt.current&1|2),ct&&Ql(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&sl()>zn&&(l.flags|=128,u=!0,ou(a,!1),l.lanes=4194304)}else{if(!u)if(t=un(n),t!==null){if(l.flags|=128,u=!0,t=t.updateQueue,l.updateQueue=t,Sn(l,t),ou(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!ct)return Mt(l),null}else 2*sl()-a.renderingStartTime>zn&&e!==536870912&&(l.flags|=128,u=!0,ou(a,!1),l.lanes=4194304);a.isBackwards?(n.sibling=l.child,l.child=n):(t=a.last,t!==null?t.sibling=n:l.child=n,a.last=n)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=sl(),t.sibling=null,e=Rt.current,A(Rt,u?e&1|2:e&1),ct&&Ql(l,a.treeForkCount),t):(Mt(l),null);case 22:case 23:return hl(l),ac(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(Mt(l),l.subtreeFlags&6&&(l.flags|=8192)):Mt(l),e=l.updateQueue,e!==null&&Sn(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&g(Ge),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Ll(Yt),Mt(l),null;case 25:return null;case 30:return null}throw Error(o(156,l.tag))}function c0(t,l){switch(Xi(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Ll(Yt),Ht(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return Mu(l),null;case 31:if(l.memoizedState!==null){if(hl(l),l.alternate===null)throw Error(o(340));Be()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(hl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(o(340));Be()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return g(Rt),null;case 4:return Ht(),null;case 10:return Ll(l.type),null;case 22:case 23:return hl(l),ac(),t!==null&&g(Ge),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Ll(Yt),null;case 25:return null;default:return null}}function gr(t,l){switch(Xi(l),l.tag){case 3:Ll(Yt),Ht();break;case 26:case 27:case 5:Mu(l);break;case 4:Ht();break;case 31:l.memoizedState!==null&&hl(l);break;case 13:hl(l);break;case 19:g(Rt);break;case 10:Ll(l.type);break;case 22:case 23:hl(l),ac(),t!==null&&g(Ge);break;case 24:Ll(Yt)}}function ru(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&t)===t){a=void 0;var n=e.create,i=e.inst;a=n(),i.destroy=a}e=e.next}while(e!==u)}}catch(c){ht(l,l.return,c)}}function me(t,l,e){try{var a=l.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&t)===t){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=l;var s=e,m=c;try{m()}catch(_){ht(u,s,_)}}}a=a.next}while(a!==n)}}catch(_){ht(l,l.return,_)}}function Sr(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{co(l,e)}catch(a){ht(t,t.return,a)}}}function br(t,l,e){e.props=Ve(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){ht(t,l,a)}}function du(t,l){try{var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof e=="function"?t.refCleanup=e(a):e.current=a}}catch(u){ht(t,l,u)}}function Hl(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){ht(t,l,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){ht(t,l,u)}else e.current=null}function pr(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){ht(t,t.return,u)}}function Hc(t,l,e){try{var a=t.stateNode;N0(a,t.type,e,l),a[el]=l}catch(u){ht(t,t.return,u)}}function _r(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&_e(t.type)||t.tag===4}function Rc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||_r(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&_e(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Bc(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(t,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(t),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=wl));else if(a!==4&&(a===27&&_e(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(Bc(t,l,e),t=t.sibling;t!==null;)Bc(t,l,e),t=t.sibling}function bn(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&(a===27&&_e(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(bn(t,l,e),t=t.sibling;t!==null;)bn(t,l,e),t=t.sibling}function Tr(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,u=l.attributes;u.length;)l.removeAttributeNode(u[0]);$t(l,a,e),l[Kt]=t,l[el]=e}catch(n){ht(t,t.return,n)}}var kl=!1,Xt=!1,wc=!1,zr=typeof WeakSet=="function"?WeakSet:Set,Vt=null;function f0(t,l){if(t=t.containerInfo,nf=Gn,t=js(t),Di(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{e.nodeType,n.nodeType}catch{e=null;break t}var i=0,c=-1,s=-1,m=0,_=0,z=t,v=null;l:for(;;){for(var S;z!==e||u!==0&&z.nodeType!==3||(c=i+u),z!==n||a!==0&&z.nodeType!==3||(s=i+a),z.nodeType===3&&(i+=z.nodeValue.length),(S=z.firstChild)!==null;)v=z,z=S;for(;;){if(z===t)break l;if(v===e&&++m===u&&(c=i),v===n&&++_===a&&(s=i),(S=z.nextSibling)!==null)break;z=v,v=z.parentNode}z=S}e=c===-1||s===-1?null:{start:c,end:s}}else e=null}e=e||{start:0,end:0}}else e=null;for(cf={focusedElem:t,selectionRange:e},Gn=!1,Vt=l;Vt!==null;)if(l=Vt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,Vt=t;else for(;Vt!==null;){switch(l=Vt,n=l.alternate,t=l.flags,l.tag){case 0:if((t&4)!==0&&(t=l.updateQueue,t=t!==null?t.events:null,t!==null))for(e=0;e<t.length;e++)u=t[e],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&n!==null){t=void 0,e=l,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var q=Ve(e.type,u);t=a.getSnapshotBeforeUpdate(q,n),a.__reactInternalSnapshotBeforeUpdate=t}catch(w){ht(e,e.return,w)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)of(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":of(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=l.sibling,t!==null){t.return=l.return,Vt=t;break}Vt=l.return}}function Er(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:$l(t,e),a&4&&ru(5,e);break;case 1:if($l(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(i){ht(e,e.return,i)}else{var u=Ve(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(u,l,t.__reactInternalSnapshotBeforeUpdate)}catch(i){ht(e,e.return,i)}}a&64&&Sr(e),a&512&&du(e,e.return);break;case 3:if($l(t,e),a&64&&(t=e.updateQueue,t!==null)){if(l=null,e.child!==null)switch(e.child.tag){case 27:case 5:l=e.child.stateNode;break;case 1:l=e.child.stateNode}try{co(t,l)}catch(i){ht(e,e.return,i)}}break;case 27:l===null&&a&4&&Tr(e);case 26:case 5:$l(t,e),l===null&&a&4&&pr(e),a&512&&du(e,e.return);break;case 12:$l(t,e);break;case 31:$l(t,e),a&4&&Or(t,e);break;case 13:$l(t,e),a&4&&Mr(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=g0.bind(null,e),B0(t,e))));break;case 22:if(a=e.memoizedState!==null||kl,!a){l=l!==null&&l.memoizedState!==null||Xt,u=kl;var n=Xt;kl=a,(Xt=l)&&!n?Fl(t,e,(e.subtreeFlags&8772)!==0):$l(t,e),kl=u,Xt=n}break;case 30:break;default:$l(t,e)}}function Ar(t){var l=t.alternate;l!==null&&(t.alternate=null,Ar(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&mi(l)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ct=null,ul=!1;function Wl(t,l,e){for(e=e.child;e!==null;)xr(t,l,e),e=e.sibling}function xr(t,l,e){if(ol&&typeof ol.onCommitFiberUnmount=="function")try{ol.onCommitFiberUnmount(Ra,e)}catch{}switch(e.tag){case 26:Xt||Hl(e,l),Wl(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Xt||Hl(e,l);var a=Ct,u=ul;_e(e.type)&&(Ct=e.stateNode,ul=!1),Wl(t,l,e),_u(e.stateNode),Ct=a,ul=u;break;case 5:Xt||Hl(e,l);case 6:if(a=Ct,u=ul,Ct=null,Wl(t,l,e),Ct=a,ul=u,Ct!==null)if(ul)try{(Ct.nodeType===9?Ct.body:Ct.nodeName==="HTML"?Ct.ownerDocument.body:Ct).removeChild(e.stateNode)}catch(n){ht(e,l,n)}else try{Ct.removeChild(e.stateNode)}catch(n){ht(e,l,n)}break;case 18:Ct!==null&&(ul?(t=Ct,Sd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),Da(t)):Sd(Ct,e.stateNode));break;case 4:a=Ct,u=ul,Ct=e.stateNode.containerInfo,ul=!0,Wl(t,l,e),Ct=a,ul=u;break;case 0:case 11:case 14:case 15:me(2,e,l),Xt||me(4,e,l),Wl(t,l,e);break;case 1:Xt||(Hl(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&br(e,l,a)),Wl(t,l,e);break;case 21:Wl(t,l,e);break;case 22:Xt=(a=Xt)||e.memoizedState!==null,Wl(t,l,e),Xt=a;break;default:Wl(t,l,e)}}function Or(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Da(t)}catch(e){ht(l,l.return,e)}}}function Mr(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Da(t)}catch(e){ht(l,l.return,e)}}function s0(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new zr),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new zr),l;default:throw Error(o(435,t.tag))}}function pn(t,l){var e=s0(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var u=S0.bind(null,t,a);a.then(u,u)}})}function nl(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=t,i=l,c=i;t:for(;c!==null;){switch(c.tag){case 27:if(_e(c.type)){Ct=c.stateNode,ul=!1;break t}break;case 5:Ct=c.stateNode,ul=!1;break t;case 3:case 4:Ct=c.stateNode.containerInfo,ul=!0;break t}c=c.return}if(Ct===null)throw Error(o(160));xr(n,i,u),Ct=null,ul=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Nr(l,t),l=l.sibling}var Dl=null;function Nr(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:nl(l,t),il(t),a&4&&(me(3,t,t.return),ru(3,t),me(5,t,t.return));break;case 1:nl(l,t),il(t),a&512&&(Xt||e===null||Hl(e,e.return)),a&64&&kl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var u=Dl;if(nl(l,t),il(t),a&512&&(Xt||e===null||Hl(e,e.return)),a&4){var n=e!==null?e.memoizedState:null;if(a=t.memoizedState,e===null)if(a===null)if(t.stateNode===null){t:{a=t.type,e=t.memoizedProps,u=u.ownerDocument||u;l:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[Ya]||n[Kt]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),$t(n,a,e),n[Kt]=t,Zt(n),a=n;break t;case"link":var i=Nd("link","href",u).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],n.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&n.getAttribute("rel")===(e.rel==null?null:e.rel)&&n.getAttribute("title")===(e.title==null?null:e.title)&&n.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break l}}n=u.createElement(a),$t(n,a,e),u.head.appendChild(n);break;case"meta":if(i=Nd("meta","content",u).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(n=i[c],n.getAttribute("content")===(e.content==null?null:""+e.content)&&n.getAttribute("name")===(e.name==null?null:e.name)&&n.getAttribute("property")===(e.property==null?null:e.property)&&n.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&n.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break l}}n=u.createElement(a),$t(n,a,e),u.head.appendChild(n);break;default:throw Error(o(468,a))}n[Kt]=t,Zt(n),a=n}t.stateNode=a}else Cd(u,t.type,t.stateNode);else t.stateNode=Md(u,a,t.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?Cd(u,t.type,t.stateNode):Md(u,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Hc(t,t.memoizedProps,e.memoizedProps)}break;case 27:nl(l,t),il(t),a&512&&(Xt||e===null||Hl(e,e.return)),e!==null&&a&4&&Hc(t,t.memoizedProps,e.memoizedProps);break;case 5:if(nl(l,t),il(t),a&512&&(Xt||e===null||Hl(e,e.return)),t.flags&32){u=t.stateNode;try{ta(u,"")}catch(q){ht(t,t.return,q)}}a&4&&t.stateNode!=null&&(u=t.memoizedProps,Hc(t,u,e!==null?e.memoizedProps:u)),a&1024&&(wc=!0);break;case 6:if(nl(l,t),il(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(q){ht(t,t.return,q)}}break;case 3:if(Rn=null,u=Dl,Dl=jn(l.containerInfo),nl(l,t),Dl=u,il(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Da(l.containerInfo)}catch(q){ht(t,t.return,q)}wc&&(wc=!1,Cr(t));break;case 4:a=Dl,Dl=jn(t.stateNode.containerInfo),nl(l,t),il(t),Dl=a;break;case 12:nl(l,t),il(t);break;case 31:nl(l,t),il(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,pn(t,a)));break;case 13:nl(l,t),il(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Tn=sl()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,pn(t,a)));break;case 22:u=t.memoizedState!==null;var s=e!==null&&e.memoizedState!==null,m=kl,_=Xt;if(kl=m||u,Xt=_||s,nl(l,t),Xt=_,kl=m,il(t),a&8192)t:for(l=t.stateNode,l._visibility=u?l._visibility&-2:l._visibility|1,u&&(e===null||s||kl||Xt||Ke(t)),e=null,l=t;;){if(l.tag===5||l.tag===26){if(e===null){s=e=l;try{if(n=s.stateNode,u)i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=s.stateNode;var z=s.memoizedProps.style,v=z!=null&&z.hasOwnProperty("display")?z.display:null;c.style.display=v==null||typeof v=="boolean"?"":(""+v).trim()}}catch(q){ht(s,s.return,q)}}}else if(l.tag===6){if(e===null){s=l;try{s.stateNode.nodeValue=u?"":s.memoizedProps}catch(q){ht(s,s.return,q)}}}else if(l.tag===18){if(e===null){s=l;try{var S=s.stateNode;u?bd(S,!0):bd(s.stateNode,!1)}catch(q){ht(s,s.return,q)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===t)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;e===l&&(e=null),l=l.return}e===l&&(e=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=t.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,pn(t,e))));break;case 19:nl(l,t),il(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,pn(t,a)));break;case 30:break;case 21:break;default:nl(l,t),il(t)}}function il(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(_r(a)){e=a;break}a=a.return}if(e==null)throw Error(o(160));switch(e.tag){case 27:var u=e.stateNode,n=Rc(t);bn(t,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(ta(i,""),e.flags&=-33);var c=Rc(t);bn(t,c,i);break;case 3:case 4:var s=e.stateNode.containerInfo,m=Rc(t);Bc(t,m,s);break;default:throw Error(o(161))}}catch(_){ht(t,t.return,_)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function Cr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;Cr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function $l(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Er(t,l.alternate,l),l=l.sibling}function Ke(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:me(4,l,l.return),Ke(l);break;case 1:Hl(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&br(l,l.return,e),Ke(l);break;case 27:_u(l.stateNode);case 26:case 5:Hl(l,l.return),Ke(l);break;case 22:l.memoizedState===null&&Ke(l);break;case 30:Ke(l);break;default:Ke(l)}t=t.sibling}}function Fl(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,u=t,n=l,i=n.flags;switch(n.tag){case 0:case 11:case 15:Fl(u,n,e),ru(4,n);break;case 1:if(Fl(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(m){ht(a,a.return,m)}if(a=n,u=a.updateQueue,u!==null){var c=a.stateNode;try{var s=u.shared.hiddenCallbacks;if(s!==null)for(u.shared.hiddenCallbacks=null,u=0;u<s.length;u++)io(s[u],c)}catch(m){ht(a,a.return,m)}}e&&i&64&&Sr(n),du(n,n.return);break;case 27:Tr(n);case 26:case 5:Fl(u,n,e),e&&a===null&&i&4&&pr(n),du(n,n.return);break;case 12:Fl(u,n,e);break;case 31:Fl(u,n,e),e&&i&4&&Or(u,n);break;case 13:Fl(u,n,e),e&&i&4&&Mr(u,n);break;case 22:n.memoizedState===null&&Fl(u,n,e),du(n,n.return);break;case 30:break;default:Fl(u,n,e)}l=l.sibling}}function Yc(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&Ia(e))}function Gc(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&Ia(t))}function ql(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Dr(t,l,e,a),l=l.sibling}function Dr(t,l,e,a){var u=l.flags;switch(l.tag){case 0:case 11:case 15:ql(t,l,e,a),u&2048&&ru(9,l);break;case 1:ql(t,l,e,a);break;case 3:ql(t,l,e,a),u&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&Ia(t)));break;case 12:if(u&2048){ql(t,l,e,a),t=l.stateNode;try{var n=l.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(s){ht(l,l.return,s)}}else ql(t,l,e,a);break;case 31:ql(t,l,e,a);break;case 13:ql(t,l,e,a);break;case 23:break;case 22:n=l.stateNode,i=l.alternate,l.memoizedState!==null?n._visibility&2?ql(t,l,e,a):yu(t,l):n._visibility&2?ql(t,l,e,a):(n._visibility|=2,pa(t,l,e,a,(l.subtreeFlags&10256)!==0||!1)),u&2048&&Yc(i,l);break;case 24:ql(t,l,e,a),u&2048&&Gc(l.alternate,l);break;default:ql(t,l,e,a)}}function pa(t,l,e,a,u){for(u=u&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var n=t,i=l,c=e,s=a,m=i.flags;switch(i.tag){case 0:case 11:case 15:pa(n,i,c,s,u),ru(8,i);break;case 23:break;case 22:var _=i.stateNode;i.memoizedState!==null?_._visibility&2?pa(n,i,c,s,u):yu(n,i):(_._visibility|=2,pa(n,i,c,s,u)),u&&m&2048&&Yc(i.alternate,i);break;case 24:pa(n,i,c,s,u),u&&m&2048&&Gc(i.alternate,i);break;default:pa(n,i,c,s,u)}l=l.sibling}}function yu(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,u=a.flags;switch(a.tag){case 22:yu(e,a),u&2048&&Yc(a.alternate,a);break;case 24:yu(e,a),u&2048&&Gc(a.alternate,a);break;default:yu(e,a)}l=l.sibling}}var mu=8192;function _a(t,l,e){if(t.subtreeFlags&mu)for(t=t.child;t!==null;)qr(t,l,e),t=t.sibling}function qr(t,l,e){switch(t.tag){case 26:_a(t,l,e),t.flags&mu&&t.memoizedState!==null&&W0(e,Dl,t.memoizedState,t.memoizedProps);break;case 5:_a(t,l,e);break;case 3:case 4:var a=Dl;Dl=jn(t.stateNode.containerInfo),_a(t,l,e),Dl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=mu,mu=16777216,_a(t,l,e),mu=a):_a(t,l,e));break;default:_a(t,l,e)}}function Ur(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function hu(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];Vt=a,Hr(a,t)}Ur(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)jr(t),t=t.sibling}function jr(t){switch(t.tag){case 0:case 11:case 15:hu(t),t.flags&2048&&me(9,t,t.return);break;case 3:hu(t);break;case 12:hu(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,_n(t)):hu(t);break;default:hu(t)}}function _n(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];Vt=a,Hr(a,t)}Ur(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:me(8,l,l.return),_n(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,_n(l));break;default:_n(l)}t=t.sibling}}function Hr(t,l){for(;Vt!==null;){var e=Vt;switch(e.tag){case 0:case 11:case 15:me(8,e,l);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Ia(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Vt=a;else t:for(e=t;Vt!==null;){a=Vt;var u=a.sibling,n=a.return;if(Ar(a),a===e){Vt=null;break t}if(u!==null){u.return=n,Vt=u;break t}Vt=n}}}var o0={getCacheForType:function(t){var l=kt(Yt),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return kt(Yt).controller.signal}},r0=typeof WeakMap=="function"?WeakMap:Map,yt=0,Et=null,lt=null,ut=0,mt=0,vl=null,he=!1,Ta=!1,Qc=!1,Il=0,Ut=0,ve=0,Je=0,Xc=0,gl=0,za=0,vu=null,cl=null,Lc=!1,Tn=0,Rr=0,zn=1/0,En=null,ge=null,Lt=0,Se=null,Ea=null,Pl=0,Zc=0,Vc=null,Br=null,gu=0,Kc=null;function Sl(){return(yt&2)!==0&&ut!==0?ut&-ut:p.T!==null?Ic():If()}function wr(){if(gl===0)if((ut&536870912)===0||ct){var t=Du;Du<<=1,(Du&3932160)===0&&(Du=262144),gl=t}else gl=536870912;return t=ml.current,t!==null&&(t.flags|=32),gl}function fl(t,l,e){(t===Et&&(mt===2||mt===9)||t.cancelPendingCommit!==null)&&(Aa(t,0),be(t,ut,gl,!1)),wa(t,e),((yt&2)===0||t!==Et)&&(t===Et&&((yt&2)===0&&(Je|=e),Ut===4&&be(t,ut,gl,!1)),Rl(t))}function Yr(t,l,e){if((yt&6)!==0)throw Error(o(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||Ba(t,l),u=a?m0(t,l):kc(t,l,!0),n=a;do{if(u===0){Ta&&!a&&be(t,l,0,!1);break}else{if(e=t.current.alternate,n&&!d0(e)){u=kc(t,l,!1),n=!1;continue}if(u===2){if(n=l,t.errorRecoveryDisabledLanes&n)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){l=i;t:{var c=t;u=vu;var s=c.current.memoizedState.isDehydrated;if(s&&(Aa(c,i).flags|=256),i=kc(c,i,!1),i!==2){if(Qc&&!s){c.errorRecoveryDisabledLanes|=n,Je|=n,u=4;break t}n=cl,cl=u,n!==null&&(cl===null?cl=n:cl.push.apply(cl,n))}u=i}if(n=!1,u!==2)continue}}if(u===1){Aa(t,0),be(t,l,0,!0);break}t:{switch(a=t,n=u,n){case 0:case 1:throw Error(o(345));case 4:if((l&4194048)!==l)break;case 6:be(a,l,gl,!he);break t;case 2:cl=null;break;case 3:case 5:break;default:throw Error(o(329))}if((l&62914560)===l&&(u=Tn+300-sl(),10<u)){if(be(a,l,gl,!he),Uu(a,0,!0)!==0)break t;Pl=l,a.timeoutHandle=vd(Gr.bind(null,a,e,cl,En,Lc,l,gl,Je,za,he,n,"Throttled",-0,0),u);break t}Gr(a,e,cl,En,Lc,l,gl,Je,za,he,n,null,-0,0)}}break}while(!0);Rl(t)}function Gr(t,l,e,a,u,n,i,c,s,m,_,z,v,S){if(t.timeoutHandle=-1,z=l.subtreeFlags,z&8192||(z&16785408)===16785408){z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wl},qr(l,n,z);var q=(n&62914560)===n?Tn-sl():(n&4194048)===n?Rr-sl():0;if(q=$0(z,q),q!==null){Pl=n,t.cancelPendingCommit=q(kr.bind(null,t,l,n,e,a,u,i,c,s,_,z,null,v,S)),be(t,n,i,!m);return}}kr(t,l,n,e,a,u,i,c,s)}function d0(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var u=e[a],n=u.getSnapshot;u=u.value;try{if(!dl(n(),u))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function be(t,l,e,a){l&=~Xc,l&=~Je,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var u=l;0<u;){var n=31-rl(u),i=1<<n;a[n]=-1,u&=~i}e!==0&&Wf(t,e,l)}function An(){return(yt&6)===0?(Su(0),!1):!0}function Jc(){if(lt!==null){if(mt===0)var t=lt.return;else t=lt,Xl=we=null,sc(t),ha=null,tu=0,t=lt;for(;t!==null;)gr(t.alternate,t),t=t.return;lt=null}}function Aa(t,l){var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,q0(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),Pl=0,Jc(),Et=t,lt=e=Gl(t.current,null),ut=l,mt=0,vl=null,he=!1,Ta=Ba(t,l),Qc=!1,za=gl=Xc=Je=ve=Ut=0,cl=vu=null,Lc=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var u=31-rl(a),n=1<<u;l|=t[u],a&=~n}return Il=l,Vu(),e}function Qr(t,l){$=null,p.H=fu,l===ma||l===Pu?(l=eo(),mt=3):l===Fi?(l=eo(),mt=4):mt=l===Ac?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,vl=l,lt===null&&(Ut=1,mn(t,zl(l,t.current)))}function Xr(){var t=ml.current;return t===null?!0:(ut&4194048)===ut?Ol===null:(ut&62914560)===ut||(ut&536870912)!==0?t===Ol:!1}function Lr(){var t=p.H;return p.H=fu,t===null?fu:t}function Zr(){var t=p.A;return p.A=o0,t}function xn(){Ut=4,he||(ut&4194048)!==ut&&ml.current!==null||(Ta=!0),(ve&134217727)===0&&(Je&134217727)===0||Et===null||be(Et,ut,gl,!1)}function kc(t,l,e){var a=yt;yt|=2;var u=Lr(),n=Zr();(Et!==t||ut!==l)&&(En=null,Aa(t,l)),l=!1;var i=Ut;t:do try{if(mt!==0&&lt!==null){var c=lt,s=vl;switch(mt){case 8:Jc(),i=6;break t;case 3:case 2:case 9:case 6:ml.current===null&&(l=!0);var m=mt;if(mt=0,vl=null,xa(t,c,s,m),e&&Ta){i=0;break t}break;default:m=mt,mt=0,vl=null,xa(t,c,s,m)}}y0(),i=Ut;break}catch(_){Qr(t,_)}while(!0);return l&&t.shellSuspendCounter++,Xl=we=null,yt=a,p.H=u,p.A=n,lt===null&&(Et=null,ut=0,Vu()),i}function y0(){for(;lt!==null;)Vr(lt)}function m0(t,l){var e=yt;yt|=2;var a=Lr(),u=Zr();Et!==t||ut!==l?(En=null,zn=sl()+500,Aa(t,l)):Ta=Ba(t,l);t:do try{if(mt!==0&&lt!==null){l=lt;var n=vl;l:switch(mt){case 1:mt=0,vl=null,xa(t,l,n,1);break;case 2:case 9:if(to(n)){mt=0,vl=null,Kr(l);break}l=function(){mt!==2&&mt!==9||Et!==t||(mt=7),Rl(t)},n.then(l,l);break t;case 3:mt=7;break t;case 4:mt=5;break t;case 7:to(n)?(mt=0,vl=null,Kr(l)):(mt=0,vl=null,xa(t,l,n,7));break;case 5:var i=null;switch(lt.tag){case 26:i=lt.memoizedState;case 5:case 27:var c=lt;if(i?Dd(i):c.stateNode.complete){mt=0,vl=null;var s=c.sibling;if(s!==null)lt=s;else{var m=c.return;m!==null?(lt=m,On(m)):lt=null}break l}}mt=0,vl=null,xa(t,l,n,5);break;case 6:mt=0,vl=null,xa(t,l,n,6);break;case 8:Jc(),Ut=6;break t;default:throw Error(o(462))}}h0();break}catch(_){Qr(t,_)}while(!0);return Xl=we=null,p.H=a,p.A=u,yt=e,lt!==null?0:(Et=null,ut=0,Vu(),Ut)}function h0(){for(;lt!==null&&!wy();)Vr(lt)}function Vr(t){var l=hr(t.alternate,t,Il);t.memoizedProps=t.pendingProps,l===null?On(t):lt=l}function Kr(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=sr(e,l,l.pendingProps,l.type,void 0,ut);break;case 11:l=sr(e,l,l.pendingProps,l.type.render,l.ref,ut);break;case 5:sc(l);default:gr(e,l),l=lt=Ls(l,Il),l=hr(e,l,Il)}t.memoizedProps=t.pendingProps,l===null?On(t):lt=l}function xa(t,l,e,a){Xl=we=null,sc(l),ha=null,tu=0;var u=l.return;try{if(a0(t,u,l,e,ut)){Ut=1,mn(t,zl(e,t.current)),lt=null;return}}catch(n){if(u!==null)throw lt=u,n;Ut=1,mn(t,zl(e,t.current)),lt=null;return}l.flags&32768?(ct||a===1?t=!0:Ta||(ut&536870912)!==0?t=!1:(he=t=!0,(a===2||a===9||a===3||a===6)&&(a=ml.current,a!==null&&a.tag===13&&(a.flags|=16384))),Jr(l,t)):On(l)}function On(t){var l=t;do{if((l.flags&32768)!==0){Jr(l,he);return}t=l.return;var e=i0(l.alternate,l,Il);if(e!==null){lt=e;return}if(l=l.sibling,l!==null){lt=l;return}lt=l=t}while(l!==null);Ut===0&&(Ut=5)}function Jr(t,l){do{var e=c0(t.alternate,t);if(e!==null){e.flags&=32767,lt=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){lt=t;return}lt=t=e}while(t!==null);Ut=6,lt=null}function kr(t,l,e,a,u,n,i,c,s){t.cancelPendingCommit=null;do Mn();while(Lt!==0);if((yt&6)!==0)throw Error(o(327));if(l!==null){if(l===t.current)throw Error(o(177));if(n=l.lanes|l.childLanes,n|=Ri,ky(t,e,n,i,c,s),t===Et&&(lt=Et=null,ut=0),Ea=l,Se=t,Pl=e,Zc=n,Vc=u,Br=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,b0(Nu,function(){return Pr(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=p.T,p.T=null,u=M.p,M.p=2,i=yt,yt|=4;try{f0(t,l,e)}finally{yt=i,M.p=u,p.T=a}}Lt=1,Wr(),$r(),Fr()}}function Wr(){if(Lt===1){Lt=0;var t=Se,l=Ea,e=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||e){e=p.T,p.T=null;var a=M.p;M.p=2;var u=yt;yt|=4;try{Nr(l,t);var n=cf,i=js(t.containerInfo),c=n.focusedElem,s=n.selectionRange;if(i!==c&&c&&c.ownerDocument&&Us(c.ownerDocument.documentElement,c)){if(s!==null&&Di(c)){var m=s.start,_=s.end;if(_===void 0&&(_=m),"selectionStart"in c)c.selectionStart=m,c.selectionEnd=Math.min(_,c.value.length);else{var z=c.ownerDocument||document,v=z&&z.defaultView||window;if(v.getSelection){var S=v.getSelection(),q=c.textContent.length,w=Math.min(s.start,q),pt=s.end===void 0?w:Math.min(s.end,q);!S.extend&&w>pt&&(i=pt,pt=w,w=i);var d=qs(c,w),r=qs(c,pt);if(d&&r&&(S.rangeCount!==1||S.anchorNode!==d.node||S.anchorOffset!==d.offset||S.focusNode!==r.node||S.focusOffset!==r.offset)){var y=z.createRange();y.setStart(d.node,d.offset),S.removeAllRanges(),w>pt?(S.addRange(y),S.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),S.addRange(y))}}}}for(z=[],S=c;S=S.parentNode;)S.nodeType===1&&z.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<z.length;c++){var T=z[c];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}Gn=!!nf,cf=nf=null}finally{yt=u,M.p=a,p.T=e}}t.current=l,Lt=2}}function $r(){if(Lt===2){Lt=0;var t=Se,l=Ea,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=p.T,p.T=null;var a=M.p;M.p=2;var u=yt;yt|=4;try{Er(t,l.alternate,l)}finally{yt=u,M.p=a,p.T=e}}Lt=3}}function Fr(){if(Lt===4||Lt===3){Lt=0,Yy();var t=Se,l=Ea,e=Pl,a=Br;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Lt=5:(Lt=0,Ea=Se=null,Ir(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(ge=null),di(e),l=l.stateNode,ol&&typeof ol.onCommitFiberRoot=="function")try{ol.onCommitFiberRoot(Ra,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=p.T,u=M.p,M.p=2,p.T=null;try{for(var n=t.onRecoverableError,i=0;i<a.length;i++){var c=a[i];n(c.value,{componentStack:c.stack})}}finally{p.T=l,M.p=u}}(Pl&3)!==0&&Mn(),Rl(t),u=t.pendingLanes,(e&261930)!==0&&(u&42)!==0?t===Kc?gu++:(gu=0,Kc=t):gu=0,Su(0)}}function Ir(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,Ia(l)))}function Mn(){return Wr(),$r(),Fr(),Pr()}function Pr(){if(Lt!==5)return!1;var t=Se,l=Zc;Zc=0;var e=di(Pl),a=p.T,u=M.p;try{M.p=32>e?32:e,p.T=null,e=Vc,Vc=null;var n=Se,i=Pl;if(Lt=0,Ea=Se=null,Pl=0,(yt&6)!==0)throw Error(o(331));var c=yt;if(yt|=4,jr(n.current),Dr(n,n.current,i,e),yt=c,Su(0,!1),ol&&typeof ol.onPostCommitFiberRoot=="function")try{ol.onPostCommitFiberRoot(Ra,n)}catch{}return!0}finally{M.p=u,p.T=a,Ir(t,l)}}function td(t,l,e){l=zl(e,l),l=Ec(t.stateNode,l,2),t=re(t,l,2),t!==null&&(wa(t,2),Rl(t))}function ht(t,l,e){if(t.tag===3)td(t,t,e);else for(;l!==null;){if(l.tag===3){td(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ge===null||!ge.has(a))){t=zl(e,t),e=lr(2),a=re(l,e,2),a!==null&&(er(e,a,l,t),wa(a,2),Rl(a));break}}l=l.return}}function Wc(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new r0;var u=new Set;a.set(l,u)}else u=a.get(l),u===void 0&&(u=new Set,a.set(l,u));u.has(e)||(Qc=!0,u.add(e),t=v0.bind(null,t,l,e),l.then(t,t))}function v0(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,Et===t&&(ut&e)===e&&(Ut===4||Ut===3&&(ut&62914560)===ut&&300>sl()-Tn?(yt&2)===0&&Aa(t,0):Xc|=e,za===ut&&(za=0)),Rl(t)}function ld(t,l){l===0&&(l=kf()),t=He(t,l),t!==null&&(wa(t,l),Rl(t))}function g0(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),ld(t,e)}function S0(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(l),ld(t,e)}function b0(t,l){return fi(t,l)}var Nn=null,Oa=null,$c=!1,Cn=!1,Fc=!1,pe=0;function Rl(t){t!==Oa&&t.next===null&&(Oa===null?Nn=Oa=t:Oa=Oa.next=t),Cn=!0,$c||($c=!0,_0())}function Su(t,l){if(!Fc&&Cn){Fc=!0;do for(var e=!1,a=Nn;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var i=a.suspendedLanes,c=a.pingedLanes;n=(1<<31-rl(42|t)+1)-1,n&=u&~(i&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,nd(a,n))}else n=ut,n=Uu(a,a===Et?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Ba(a,n)||(e=!0,nd(a,n));a=a.next}while(e);Fc=!1}}function p0(){ed()}function ed(){Cn=$c=!1;var t=0;pe!==0&&D0()&&(t=pe);for(var l=sl(),e=null,a=Nn;a!==null;){var u=a.next,n=ad(a,l);n===0?(a.next=null,e===null?Nn=u:e.next=u,u===null&&(Oa=e)):(e=a,(t!==0||(n&3)!==0)&&(Cn=!0)),a=u}Lt!==0&&Lt!==5||Su(t),pe!==0&&(pe=0)}function ad(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var i=31-rl(n),c=1<<i,s=u[i];s===-1?((c&e)===0||(c&a)!==0)&&(u[i]=Jy(c,l)):s<=l&&(t.expiredLanes|=c),n&=~c}if(l=Et,e=ut,e=Uu(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(mt===2||mt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&si(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||Ba(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&si(a),di(e)){case 2:case 8:e=Kf;break;case 32:e=Nu;break;case 268435456:e=Jf;break;default:e=Nu}return a=ud.bind(null,t),e=fi(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&si(a),t.callbackPriority=2,t.callbackNode=null,2}function ud(t,l){if(Lt!==0&&Lt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(Mn()&&t.callbackNode!==e)return null;var a=ut;return a=Uu(t,t===Et?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Yr(t,a,l),ad(t,sl()),t.callbackNode!=null&&t.callbackNode===e?ud.bind(null,t):null)}function nd(t,l){if(Mn())return null;Yr(t,l,!0)}function _0(){U0(function(){(yt&6)!==0?fi(Vf,p0):ed()})}function Ic(){if(pe===0){var t=da;t===0&&(t=Cu,Cu<<=1,(Cu&261888)===0&&(Cu=256)),pe=t}return pe}function id(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Bu(""+t)}function cd(t,l){var e=l.ownerDocument.createElement("input");return e.name=l.name,e.value=l.value,t.id&&e.setAttribute("form",t.id),l.parentNode.insertBefore(e,l),t=new FormData(t),e.parentNode.removeChild(e),t}function T0(t,l,e,a,u){if(l==="submit"&&e&&e.stateNode===u){var n=id((u[el]||null).action),i=a.submitter;i&&(l=(l=i[el]||null)?id(l.formAction):i.getAttribute("formAction"),l!==null&&(n=l,i=null));var c=new Qu("action","action",null,a,u);t.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(pe!==0){var s=i?cd(u,i):new FormData(u);Sc(e,{pending:!0,data:s,method:u.method,action:n},null,s)}}else typeof n=="function"&&(c.preventDefault(),s=i?cd(u,i):new FormData(u),Sc(e,{pending:!0,data:s,method:u.method,action:n},n,s))},currentTarget:u}]})}}for(var Pc=0;Pc<Hi.length;Pc++){var tf=Hi[Pc],z0=tf.toLowerCase(),E0=tf[0].toUpperCase()+tf.slice(1);Cl(z0,"on"+E0)}Cl(Bs,"onAnimationEnd"),Cl(ws,"onAnimationIteration"),Cl(Ys,"onAnimationStart"),Cl("dblclick","onDoubleClick"),Cl("focusin","onFocus"),Cl("focusout","onBlur"),Cl(Gm,"onTransitionRun"),Cl(Qm,"onTransitionStart"),Cl(Xm,"onTransitionCancel"),Cl(Gs,"onTransitionEnd"),Ie("onMouseEnter",["mouseout","mouseover"]),Ie("onMouseLeave",["mouseout","mouseover"]),Ie("onPointerEnter",["pointerout","pointerover"]),Ie("onPointerLeave",["pointerout","pointerover"]),De("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),De("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),De("onBeforeInput",["compositionend","keypress","textInput","paste"]),De("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),De("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),De("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bu="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(" "),A0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu));function fd(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],u=a.event;a=a.listeners;t:{var n=void 0;if(l)for(var i=a.length-1;0<=i;i--){var c=a[i],s=c.instance,m=c.currentTarget;if(c=c.listener,s!==n&&u.isPropagationStopped())break t;n=c,u.currentTarget=m;try{n(u)}catch(_){Zu(_)}u.currentTarget=null,n=s}else for(i=0;i<a.length;i++){if(c=a[i],s=c.instance,m=c.currentTarget,c=c.listener,s!==n&&u.isPropagationStopped())break t;n=c,u.currentTarget=m;try{n(u)}catch(_){Zu(_)}u.currentTarget=null,n=s}}}}function et(t,l){var e=l[yi];e===void 0&&(e=l[yi]=new Set);var a=t+"__bubble";e.has(a)||(sd(l,t,2,!1),e.add(a))}function lf(t,l,e){var a=0;l&&(a|=4),sd(e,t,a,l)}var Dn="_reactListening"+Math.random().toString(36).slice(2);function ef(t){if(!t[Dn]){t[Dn]=!0,ls.forEach(function(e){e!=="selectionchange"&&(A0.has(e)||lf(e,!1,t),lf(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Dn]||(l[Dn]=!0,lf("selectionchange",!1,l))}}function sd(t,l,e,a){switch(wd(l)){case 2:var u=P0;break;case 8:u=th;break;default:u=Sf}e=u.bind(null,l,e,t),u=void 0,!Ti||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(l,e,{capture:!0,passive:u}):t.addEventListener(l,e,!0):u!==void 0?t.addEventListener(l,e,{passive:u}):t.addEventListener(l,e,!1)}function af(t,l,e,a,u){var n=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===u)break;if(i===4)for(i=a.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===u)return;i=i.return}for(;c!==null;){if(i=We(c),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){a=n=i;continue t}c=c.parentNode}}a=a.return}ys(function(){var m=n,_=pi(e),z=[];t:{var v=Qs.get(t);if(v!==void 0){var S=Qu,q=t;switch(t){case"keypress":if(Yu(e)===0)break t;case"keydown":case"keyup":S=Sm;break;case"focusin":q="focus",S=xi;break;case"focusout":q="blur",S=xi;break;case"beforeblur":case"afterblur":S=xi;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=im;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=_m;break;case Bs:case ws:case Ys:S=sm;break;case Gs:S=zm;break;case"scroll":case"scrollend":S=um;break;case"wheel":S=Am;break;case"copy":case"cut":case"paste":S=rm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Ss;break;case"toggle":case"beforetoggle":S=Om}var w=(l&4)!==0,pt=!w&&(t==="scroll"||t==="scrollend"),d=w?v!==null?v+"Capture":null:v;w=[];for(var r=m,y;r!==null;){var T=r;if(y=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||y===null||d===null||(T=Qa(r,d),T!=null&&w.push(pu(r,T,y))),pt)break;r=r.return}0<w.length&&(v=new S(v,q,null,e,_),z.push({event:v,listeners:w}))}}if((l&7)===0){t:{if(v=t==="mouseover"||t==="pointerover",S=t==="mouseout"||t==="pointerout",v&&e!==bi&&(q=e.relatedTarget||e.fromElement)&&(We(q)||q[ke]))break t;if((S||v)&&(v=_.window===_?_:(v=_.ownerDocument)?v.defaultView||v.parentWindow:window,S?(q=e.relatedTarget||e.toElement,S=m,q=q?We(q):null,q!==null&&(pt=B(q),w=q.tag,q!==pt||w!==5&&w!==27&&w!==6)&&(q=null)):(S=null,q=m),S!==q)){if(w=vs,T="onMouseLeave",d="onMouseEnter",r="mouse",(t==="pointerout"||t==="pointerover")&&(w=Ss,T="onPointerLeave",d="onPointerEnter",r="pointer"),pt=S==null?v:Ga(S),y=q==null?v:Ga(q),v=new w(T,r+"leave",S,e,_),v.target=pt,v.relatedTarget=y,T=null,We(_)===m&&(w=new w(d,r+"enter",q,e,_),w.target=y,w.relatedTarget=pt,T=w),pt=T,S&&q)l:{for(w=x0,d=S,r=q,y=0,T=d;T;T=w(T))y++;T=0;for(var R=r;R;R=w(R))T++;for(;0<y-T;)d=w(d),y--;for(;0<T-y;)r=w(r),T--;for(;y--;){if(d===r||r!==null&&d===r.alternate){w=d;break l}d=w(d),r=w(r)}w=null}else w=null;S!==null&&od(z,v,S,w,!1),q!==null&&pt!==null&&od(z,pt,q,w,!0)}}t:{if(v=m?Ga(m):window,S=v.nodeName&&v.nodeName.toLowerCase(),S==="select"||S==="input"&&v.type==="file")var rt=xs;else if(Es(v))if(Os)rt=Bm;else{rt=Hm;var j=jm}else S=v.nodeName,!S||S.toLowerCase()!=="input"||v.type!=="checkbox"&&v.type!=="radio"?m&&Si(m.elementType)&&(rt=xs):rt=Rm;if(rt&&(rt=rt(t,m))){As(z,rt,e,_);break t}j&&j(t,v,m),t==="focusout"&&m&&v.type==="number"&&m.memoizedProps.value!=null&&gi(v,"number",v.value)}switch(j=m?Ga(m):window,t){case"focusin":(Es(j)||j.contentEditable==="true")&&(ua=j,qi=m,Wa=null);break;case"focusout":Wa=qi=ua=null;break;case"mousedown":Ui=!0;break;case"contextmenu":case"mouseup":case"dragend":Ui=!1,Hs(z,e,_);break;case"selectionchange":if(Ym)break;case"keydown":case"keyup":Hs(z,e,_)}var F;if(Mi)t:{switch(t){case"compositionstart":var nt="onCompositionStart";break t;case"compositionend":nt="onCompositionEnd";break t;case"compositionupdate":nt="onCompositionUpdate";break t}nt=void 0}else aa?Ts(t,e)&&(nt="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(nt="onCompositionStart");nt&&(bs&&e.locale!=="ko"&&(aa||nt!=="onCompositionStart"?nt==="onCompositionEnd"&&aa&&(F=ms()):(ue=_,zi="value"in ue?ue.value:ue.textContent,aa=!0)),j=qn(m,nt),0<j.length&&(nt=new gs(nt,t,null,e,_),z.push({event:nt,listeners:j}),F?nt.data=F:(F=zs(e),F!==null&&(nt.data=F)))),(F=Nm?Cm(t,e):Dm(t,e))&&(nt=qn(m,"onBeforeInput"),0<nt.length&&(j=new gs("onBeforeInput","beforeinput",null,e,_),z.push({event:j,listeners:nt}),j.data=F)),T0(z,t,m,e,_)}fd(z,l)})}function pu(t,l,e){return{instance:t,listener:l,currentTarget:e}}function qn(t,l){for(var e=l+"Capture",a=[];t!==null;){var u=t,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=Qa(t,e),u!=null&&a.unshift(pu(t,u,n)),u=Qa(t,l),u!=null&&a.push(pu(t,u,n))),t.tag===3)return a;t=t.return}return[]}function x0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function od(t,l,e,a,u){for(var n=l._reactName,i=[];e!==null&&e!==a;){var c=e,s=c.alternate,m=c.stateNode;if(c=c.tag,s!==null&&s===a)break;c!==5&&c!==26&&c!==27||m===null||(s=m,u?(m=Qa(e,n),m!=null&&i.unshift(pu(e,m,s))):u||(m=Qa(e,n),m!=null&&i.push(pu(e,m,s)))),e=e.return}i.length!==0&&t.push({event:l,listeners:i})}var O0=/\r\n?/g,M0=/\u0000|\uFFFD/g;function rd(t){return(typeof t=="string"?t:""+t).replace(O0,`
`).replace(M0,"")}function dd(t,l){return l=rd(l),rd(t)===l}function bt(t,l,e,a,u,n){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||ta(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&ta(t,""+a);break;case"className":Hu(t,"class",a);break;case"tabIndex":Hu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Hu(t,e,a);break;case"style":rs(t,a,n);break;case"data":if(l!=="object"){Hu(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Bu(""+a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof n=="function"&&(e==="formAction"?(l!=="input"&&bt(t,l,"name",u.name,u,null),bt(t,l,"formEncType",u.formEncType,u,null),bt(t,l,"formMethod",u.formMethod,u,null),bt(t,l,"formTarget",u.formTarget,u,null)):(bt(t,l,"encType",u.encType,u,null),bt(t,l,"method",u.method,u,null),bt(t,l,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Bu(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=wl);break;case"onScroll":a!=null&&et("scroll",t);break;case"onScrollEnd":a!=null&&et("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=e}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}e=Bu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,""+a):t.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":et("beforetoggle",t),et("toggle",t),ju(t,"popover",a);break;case"xlinkActuate":Bl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Bl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Bl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Bl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Bl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Bl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Bl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Bl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Bl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":ju(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=em.get(e)||e,ju(t,e,a))}}function uf(t,l,e,a,u,n){switch(e){case"style":rs(t,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=e}}break;case"children":typeof a=="string"?ta(t,a):(typeof a=="number"||typeof a=="bigint")&&ta(t,""+a);break;case"onScroll":a!=null&&et("scroll",t);break;case"onScrollEnd":a!=null&&et("scrollend",t);break;case"onClick":a!=null&&(t.onclick=wl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!es.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),l=e.slice(2,u?e.length-7:void 0),n=t[el]||null,n=n!=null?n[e]:null,typeof n=="function"&&t.removeEventListener(l,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,u);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):ju(t,e,a)}}}function $t(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":et("error",t),et("load",t);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:bt(t,l,n,i,e,null)}}u&&bt(t,l,"srcSet",e.srcSet,e,null),a&&bt(t,l,"src",e.src,e,null);return;case"input":et("invalid",t);var c=n=i=u=null,s=null,m=null;for(a in e)if(e.hasOwnProperty(a)){var _=e[a];if(_!=null)switch(a){case"name":u=_;break;case"type":i=_;break;case"checked":s=_;break;case"defaultChecked":m=_;break;case"value":n=_;break;case"defaultValue":c=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(137,l));break;default:bt(t,l,a,_,e,null)}}cs(t,n,c,s,m,i,u,!1);return;case"select":et("invalid",t),a=i=n=null;for(u in e)if(e.hasOwnProperty(u)&&(c=e[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:bt(t,l,u,c,e,null)}l=n,e=i,t.multiple=!!a,l!=null?Pe(t,!!a,l,!1):e!=null&&Pe(t,!!a,e,!0);return;case"textarea":et("invalid",t),n=u=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(o(91));break;default:bt(t,l,i,c,e,null)}ss(t,a,u,n);return;case"option":for(s in e)if(e.hasOwnProperty(s)&&(a=e[s],a!=null))switch(s){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:bt(t,l,s,a,e,null)}return;case"dialog":et("beforetoggle",t),et("toggle",t),et("cancel",t),et("close",t);break;case"iframe":case"object":et("load",t);break;case"video":case"audio":for(a=0;a<bu.length;a++)et(bu[a],t);break;case"image":et("error",t),et("load",t);break;case"details":et("toggle",t);break;case"embed":case"source":case"link":et("error",t),et("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(m in e)if(e.hasOwnProperty(m)&&(a=e[m],a!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:bt(t,l,m,a,e,null)}return;default:if(Si(l)){for(_ in e)e.hasOwnProperty(_)&&(a=e[_],a!==void 0&&uf(t,l,_,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&bt(t,l,c,a,e,null))}function N0(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,i=null,c=null,s=null,m=null,_=null;for(S in e){var z=e[S];if(e.hasOwnProperty(S)&&z!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":s=z;default:a.hasOwnProperty(S)||bt(t,l,S,null,a,z)}}for(var v in a){var S=a[v];if(z=e[v],a.hasOwnProperty(v)&&(S!=null||z!=null))switch(v){case"type":n=S;break;case"name":u=S;break;case"checked":m=S;break;case"defaultChecked":_=S;break;case"value":i=S;break;case"defaultValue":c=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(137,l));break;default:S!==z&&bt(t,l,v,S,a,z)}}vi(t,i,c,s,m,_,n,u);return;case"select":S=i=c=v=null;for(n in e)if(s=e[n],e.hasOwnProperty(n)&&s!=null)switch(n){case"value":break;case"multiple":S=s;default:a.hasOwnProperty(n)||bt(t,l,n,null,a,s)}for(u in a)if(n=a[u],s=e[u],a.hasOwnProperty(u)&&(n!=null||s!=null))switch(u){case"value":v=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==s&&bt(t,l,u,n,a,s)}l=c,e=i,a=S,v!=null?Pe(t,!!e,v,!1):!!a!=!!e&&(l!=null?Pe(t,!!e,l,!0):Pe(t,!!e,e?[]:"",!1));return;case"textarea":S=v=null;for(c in e)if(u=e[c],e.hasOwnProperty(c)&&u!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:bt(t,l,c,null,a,u)}for(i in a)if(u=a[i],n=e[i],a.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":v=u;break;case"defaultValue":S=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==n&&bt(t,l,i,u,a,n)}fs(t,v,S);return;case"option":for(var q in e)if(v=e[q],e.hasOwnProperty(q)&&v!=null&&!a.hasOwnProperty(q))switch(q){case"selected":t.selected=!1;break;default:bt(t,l,q,null,a,v)}for(s in a)if(v=a[s],S=e[s],a.hasOwnProperty(s)&&v!==S&&(v!=null||S!=null))switch(s){case"selected":t.selected=v&&typeof v!="function"&&typeof v!="symbol";break;default:bt(t,l,s,v,a,S)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var w in e)v=e[w],e.hasOwnProperty(w)&&v!=null&&!a.hasOwnProperty(w)&&bt(t,l,w,null,a,v);for(m in a)if(v=a[m],S=e[m],a.hasOwnProperty(m)&&v!==S&&(v!=null||S!=null))switch(m){case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(137,l));break;default:bt(t,l,m,v,a,S)}return;default:if(Si(l)){for(var pt in e)v=e[pt],e.hasOwnProperty(pt)&&v!==void 0&&!a.hasOwnProperty(pt)&&uf(t,l,pt,void 0,a,v);for(_ in a)v=a[_],S=e[_],!a.hasOwnProperty(_)||v===S||v===void 0&&S===void 0||uf(t,l,_,v,a,S);return}}for(var d in e)v=e[d],e.hasOwnProperty(d)&&v!=null&&!a.hasOwnProperty(d)&&bt(t,l,d,null,a,v);for(z in a)v=a[z],S=e[z],!a.hasOwnProperty(z)||v===S||v==null&&S==null||bt(t,l,z,v,a,S)}function yd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function C0(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,i=u.initiatorType,c=u.duration;if(n&&c&&yd(i)){for(i=0,c=u.responseEnd,a+=1;a<e.length;a++){var s=e[a],m=s.startTime;if(m>c)break;var _=s.transferSize,z=s.initiatorType;_&&yd(z)&&(s=s.responseEnd,i+=_*(s<c?1:(c-m)/(s-m)))}if(--a,l+=8*(n+i)/(u.duration/1e3),t++,10<t)break}}if(0<t)return l/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var nf=null,cf=null;function Un(t){return t.nodeType===9?t:t.ownerDocument}function md(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function hd(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function ff(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var sf=null;function D0(){var t=window.event;return t&&t.type==="popstate"?t===sf?!1:(sf=t,!0):(sf=null,!1)}var vd=typeof setTimeout=="function"?setTimeout:void 0,q0=typeof clearTimeout=="function"?clearTimeout:void 0,gd=typeof Promise=="function"?Promise:void 0,U0=typeof queueMicrotask=="function"?queueMicrotask:typeof gd<"u"?function(t){return gd.resolve(null).then(t).catch(j0)}:vd;function j0(t){setTimeout(function(){throw t})}function _e(t){return t==="head"}function Sd(t,l){var e=l,a=0;do{var u=e.nextSibling;if(t.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(u),Da(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")_u(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,_u(e);for(var n=e.firstChild;n;){var i=n.nextSibling,c=n.nodeName;n[Ya]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=i}}else e==="body"&&_u(t.ownerDocument.body);e=u}while(e);Da(l)}function bd(t,l){var e=t;t=0;do{var a=e.nextSibling;if(e.nodeType===1?l?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(l?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(t===0)break;t--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||t++;e=a}while(e)}function of(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":of(e),mi(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function H0(t,l,e,a){for(;t.nodeType===1;){var u=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ya])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(n=t.getAttribute("rel"),n==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(n!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(n=t.getAttribute("src"),(n!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===n)return t}else return t;if(t=Ml(t.nextSibling),t===null)break}return null}function R0(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ml(t.nextSibling),t===null))return null;return t}function pd(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ml(t.nextSibling),t===null))return null;return t}function rf(t){return t.data==="$?"||t.data==="$~"}function df(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function B0(t,l){var e=t.ownerDocument;if(t.data==="$~")t._reactRetry=l;else if(t.data!=="$?"||e.readyState!=="loading")l();else{var a=function(){l(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ml(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return t}var yf=null;function _d(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return Ml(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function Td(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(l===0)return t;l--}else e!=="/$"&&e!=="/&"||l++}t=t.previousSibling}return null}function zd(t,l,e){switch(l=Un(e),t){case"html":if(t=l.documentElement,!t)throw Error(o(452));return t;case"head":if(t=l.head,!t)throw Error(o(453));return t;case"body":if(t=l.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function _u(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);mi(t)}var Nl=new Map,Ed=new Set;function jn(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var te=M.d;M.d={f:w0,r:Y0,D:G0,C:Q0,L:X0,m:L0,X:V0,S:Z0,M:K0};function w0(){var t=te.f(),l=An();return t||l}function Y0(t){var l=$e(t);l!==null&&l.tag===5&&l.type==="form"?Qo(l):te.r(t)}var Ma=typeof document>"u"?null:document;function Ad(t,l,e){var a=Ma;if(a&&typeof l=="string"&&l){var u=_l(l);u='link[rel="'+t+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),Ed.has(u)||(Ed.add(u),t={rel:t,crossOrigin:e,href:l},a.querySelector(u)===null&&(l=a.createElement("link"),$t(l,"link",t),Zt(l),a.head.appendChild(l)))}}function G0(t){te.D(t),Ad("dns-prefetch",t,null)}function Q0(t,l){te.C(t,l),Ad("preconnect",t,l)}function X0(t,l,e){te.L(t,l,e);var a=Ma;if(a&&t&&l){var u='link[rel="preload"][as="'+_l(l)+'"]';l==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+_l(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+_l(e.imageSizes)+'"]')):u+='[href="'+_l(t)+'"]';var n=u;switch(l){case"style":n=Na(t);break;case"script":n=Ca(t)}Nl.has(n)||(t=C({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Nl.set(n,t),a.querySelector(u)!==null||l==="style"&&a.querySelector(Tu(n))||l==="script"&&a.querySelector(zu(n))||(l=a.createElement("link"),$t(l,"link",t),Zt(l),a.head.appendChild(l)))}}function L0(t,l){te.m(t,l);var e=Ma;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",u='link[rel="modulepreload"][as="'+_l(a)+'"][href="'+_l(t)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Ca(t)}if(!Nl.has(n)&&(t=C({rel:"modulepreload",href:t},l),Nl.set(n,t),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(zu(n)))return}a=e.createElement("link"),$t(a,"link",t),Zt(a),e.head.appendChild(a)}}}function Z0(t,l,e){te.S(t,l,e);var a=Ma;if(a&&t){var u=Fe(a).hoistableStyles,n=Na(t);l=l||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(Tu(n)))c.loading=5;else{t=C({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Nl.get(n))&&mf(t,e);var s=i=a.createElement("link");Zt(s),$t(s,"link",t),s._p=new Promise(function(m,_){s.onload=m,s.onerror=_}),s.addEventListener("load",function(){c.loading|=1}),s.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Hn(i,l,a)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function V0(t,l){te.X(t,l);var e=Ma;if(e&&t){var a=Fe(e).hoistableScripts,u=Ca(t),n=a.get(u);n||(n=e.querySelector(zu(u)),n||(t=C({src:t,async:!0},l),(l=Nl.get(u))&&hf(t,l),n=e.createElement("script"),Zt(n),$t(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function K0(t,l){te.M(t,l);var e=Ma;if(e&&t){var a=Fe(e).hoistableScripts,u=Ca(t),n=a.get(u);n||(n=e.querySelector(zu(u)),n||(t=C({src:t,async:!0,type:"module"},l),(l=Nl.get(u))&&hf(t,l),n=e.createElement("script"),Zt(n),$t(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function xd(t,l,e,a){var u=(u=K.current)?jn(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=Na(e.href),e=Fe(u).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=Na(e.href);var n=Fe(u).hoistableStyles,i=n.get(t);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(t,i),(n=u.querySelector(Tu(t)))&&!n._p&&(i.instance=n,i.state.loading=5),Nl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Nl.set(t,e),n||J0(u,t,e,i.state))),l&&a===null)throw Error(o(528,""));return i}if(l&&a!==null)throw Error(o(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ca(e),e=Fe(u).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Na(t){return'href="'+_l(t)+'"'}function Tu(t){return'link[rel="stylesheet"]['+t+"]"}function Od(t){return C({},t,{"data-precedence":t.precedence,precedence:null})}function J0(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),$t(l,"link",e),Zt(l),t.head.appendChild(l))}function Ca(t){return'[src="'+_l(t)+'"]'}function zu(t){return"script[async]"+t}function Md(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+_l(e.href)+'"]');if(a)return l.instance=a,Zt(a),a;var u=C({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Zt(a),$t(a,"style",u),Hn(a,e.precedence,t),l.instance=a;case"stylesheet":u=Na(e.href);var n=t.querySelector(Tu(u));if(n)return l.state.loading|=4,l.instance=n,Zt(n),n;a=Od(e),(u=Nl.get(u))&&mf(a,u),n=(t.ownerDocument||t).createElement("link"),Zt(n);var i=n;return i._p=new Promise(function(c,s){i.onload=c,i.onerror=s}),$t(n,"link",a),l.state.loading|=4,Hn(n,e.precedence,t),l.instance=n;case"script":return n=Ca(e.src),(u=t.querySelector(zu(n)))?(l.instance=u,Zt(u),u):(a=e,(u=Nl.get(n))&&(a=C({},e),hf(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),Zt(u),$t(u,"link",a),t.head.appendChild(u),l.instance=u);case"void":return null;default:throw Error(o(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Hn(a,e.precedence,t));return l.instance}function Hn(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===l)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(t,n.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function mf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function hf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var Rn=null;function Nd(t,l,e){if(Rn===null){var a=new Map,u=Rn=new Map;u.set(e,a)}else u=Rn,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),u=0;u<e.length;u++){var n=e[u];if(!(n[Ya]||n[Kt]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(l)||"";i=t+i;var c=a.get(i);c?c.push(n):a.set(i,[n])}}return a}function Cd(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function k0(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Dd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function W0(t,l,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=Na(a.href),n=l.querySelector(Tu(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Bn.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=n,Zt(n);return}n=l.ownerDocument||l,a=Od(a),(u=Nl.get(u))&&mf(a,u),n=n.createElement("link"),Zt(n);var i=n;i._p=new Promise(function(c,s){i.onload=c,i.onerror=s}),$t(n,"link",a),e.instance=n}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=Bn.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var vf=0;function $0(t,l){return t.stylesheets&&t.count===0&&Yn(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&Yn(t,t.stylesheets),t.unsuspend){var n=t.unsuspend;t.unsuspend=null,n()}},6e4+l);0<t.imgBytes&&vf===0&&(vf=62500*C0());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Yn(t,t.stylesheets),t.unsuspend)){var n=t.unsuspend;t.unsuspend=null,n()}},(t.imgBytes>vf?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Bn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yn(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var wn=null;function Yn(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,wn=new Map,l.forEach(F0,t),wn=null,Bn.call(t))}function F0(t,l){if(!(l.state.loading&4)){var e=wn.get(t);if(e)var a=e.get(null);else{e=new Map,wn.set(t,e);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}u=l.instance,i=u.getAttribute("data-precedence"),n=e.get(i)||a,n===a&&e.set(null,u),e.set(i,u),this.count++,a=Bn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),l.state.loading|=4}}var Eu={$$typeof:P,Provider:null,Consumer:null,_currentValue:G,_currentValue2:G,_threadCount:0};function I0(t,l,e,a,u,n,i,c,s){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=oi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oi(0),this.hiddenUpdates=oi(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function qd(t,l,e,a,u,n,i,c,s,m,_,z){return t=new I0(t,l,e,i,s,m,_,z,c),l=1,n===!0&&(l|=24),n=yl(3,null,null,l),t.current=n,n.stateNode=t,l=ki(),l.refCount++,t.pooledCache=l,l.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:l},Ii(n),t}function Ud(t){return t?(t=ca,t):ca}function jd(t,l,e,a,u,n){u=Ud(u),a.context===null?a.context=u:a.pendingContext=u,a=oe(l),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=re(t,a,l),e!==null&&(fl(e,t,l),eu(e,t,l))}function Hd(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function gf(t,l){Hd(t,l),(t=t.alternate)&&Hd(t,l)}function Rd(t){if(t.tag===13||t.tag===31){var l=He(t,67108864);l!==null&&fl(l,t,67108864),gf(t,67108864)}}function Bd(t){if(t.tag===13||t.tag===31){var l=Sl();l=ri(l);var e=He(t,l);e!==null&&fl(e,t,l),gf(t,l)}}var Gn=!0;function P0(t,l,e,a){var u=p.T;p.T=null;var n=M.p;try{M.p=2,Sf(t,l,e,a)}finally{M.p=n,p.T=u}}function th(t,l,e,a){var u=p.T;p.T=null;var n=M.p;try{M.p=8,Sf(t,l,e,a)}finally{M.p=n,p.T=u}}function Sf(t,l,e,a){if(Gn){var u=bf(a);if(u===null)af(t,l,a,Qn,e),Yd(t,a);else if(eh(u,t,l,e,a))a.stopPropagation();else if(Yd(t,a),l&4&&-1<lh.indexOf(t)){for(;u!==null;){var n=$e(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=Ce(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var s=1<<31-rl(i);c.entanglements[1]|=s,i&=~s}Rl(n),(yt&6)===0&&(zn=sl()+500,Su(0))}}break;case 31:case 13:c=He(n,2),c!==null&&fl(c,n,2),An(),gf(n,2)}if(n=bf(a),n===null&&af(t,l,a,Qn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else af(t,l,a,null,e)}}function bf(t){return t=pi(t),pf(t)}var Qn=null;function pf(t){if(Qn=null,t=We(t),t!==null){var l=B(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=Z(l),t!==null)return t;t=null}else if(e===31){if(t=Y(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return Qn=t,null}function wd(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Gy()){case Vf:return 2;case Kf:return 8;case Nu:case Qy:return 32;case Jf:return 268435456;default:return 32}default:return 32}}var _f=!1,Te=null,ze=null,Ee=null,Au=new Map,xu=new Map,Ae=[],lh="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".split(" ");function Yd(t,l){switch(t){case"focusin":case"focusout":Te=null;break;case"dragenter":case"dragleave":ze=null;break;case"mouseover":case"mouseout":Ee=null;break;case"pointerover":case"pointerout":Au.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":xu.delete(l.pointerId)}}function Ou(t,l,e,a,u,n){return t===null||t.nativeEvent!==n?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},l!==null&&(l=$e(l),l!==null&&Rd(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,u!==null&&l.indexOf(u)===-1&&l.push(u),t)}function eh(t,l,e,a,u){switch(l){case"focusin":return Te=Ou(Te,t,l,e,a,u),!0;case"dragenter":return ze=Ou(ze,t,l,e,a,u),!0;case"mouseover":return Ee=Ou(Ee,t,l,e,a,u),!0;case"pointerover":var n=u.pointerId;return Au.set(n,Ou(Au.get(n)||null,t,l,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,xu.set(n,Ou(xu.get(n)||null,t,l,e,a,u)),!0}return!1}function Gd(t){var l=We(t.target);if(l!==null){var e=B(l);if(e!==null){if(l=e.tag,l===13){if(l=Z(e),l!==null){t.blockedOn=l,Pf(t.priority,function(){Bd(e)});return}}else if(l===31){if(l=Y(e),l!==null){t.blockedOn=l,Pf(t.priority,function(){Bd(e)});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Xn(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=bf(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);bi=a,e.target.dispatchEvent(a),bi=null}else return l=$e(e),l!==null&&Rd(l),t.blockedOn=e,!1;l.shift()}return!0}function Qd(t,l,e){Xn(t)&&e.delete(l)}function ah(){_f=!1,Te!==null&&Xn(Te)&&(Te=null),ze!==null&&Xn(ze)&&(ze=null),Ee!==null&&Xn(Ee)&&(Ee=null),Au.forEach(Qd),xu.forEach(Qd)}function Ln(t,l){t.blockedOn===l&&(t.blockedOn=null,_f||(_f=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,ah)))}var Zn=null;function Xd(t){Zn!==t&&(Zn=t,h.unstable_scheduleCallback(h.unstable_NormalPriority,function(){Zn===t&&(Zn=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],u=t[l+2];if(typeof a!="function"){if(pf(a||e)===null)continue;break}var n=$e(e);n!==null&&(t.splice(l,3),l-=3,Sc(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Da(t){function l(s){return Ln(s,t)}Te!==null&&Ln(Te,t),ze!==null&&Ln(ze,t),Ee!==null&&Ln(Ee,t),Au.forEach(l),xu.forEach(l);for(var e=0;e<Ae.length;e++){var a=Ae[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Ae.length&&(e=Ae[0],e.blockedOn===null);)Gd(e),e.blockedOn===null&&Ae.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],i=u[el]||null;if(typeof n=="function")i||Xd(e);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[el]||null)c=i.formAction;else if(pf(u)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),Xd(e)}}}function Ld(){function t(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return u=i})},focusReset:"manual",scroll:"manual"})}function l(){u!==null&&(u(),u=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),u!==null&&(u(),u=null)}}}function Tf(t){this._internalRoot=t}Vn.prototype.render=Tf.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(o(409));var e=l.current,a=Sl();jd(e,a,t,l,null,null)},Vn.prototype.unmount=Tf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;jd(t.current,2,null,t,null,null),An(),l[ke]=null}};function Vn(t){this._internalRoot=t}Vn.prototype.unstable_scheduleHydration=function(t){if(t){var l=If();t={blockedOn:null,target:t,priority:l};for(var e=0;e<Ae.length&&l!==0&&l<Ae[e].priority;e++);Ae.splice(e,0,t),e===0&&Gd(t)}};var Zd=O.version;if(Zd!=="19.2.4")throw Error(o(527,Zd,"19.2.4"));M.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=b(l),t=t!==null?D(t):null,t=t===null?null:t.stateNode,t};var uh={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:p,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kn.isDisabled&&Kn.supportsFiber)try{Ra=Kn.inject(uh),ol=Kn}catch{}}return Ua.createRoot=function(t,l){if(!H(t))throw Error(o(299));var e=!1,a="",u=Fo,n=Io,i=Po;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(n=l.onCaughtError),l.onRecoverableError!==void 0&&(i=l.onRecoverableError)),l=qd(t,1,!1,null,null,e,a,null,u,n,i,Ld),t[ke]=l.current,ef(t),new Tf(l)},Ua.hydrateRoot=function(t,l,e){if(!H(t))throw Error(o(299));var a=!1,u="",n=Fo,i=Io,c=Po,s=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(s=e.formState)),l=qd(t,1,!0,l,e??null,a,u,s,n,i,c,Ld),l.context=Ud(null),e=l.current,a=Sl(),a=ri(a),u=oe(a),u.callback=null,re(e,u,a),e=a,l.current.lanes=e,wa(l,e),Rl(l),t[ke]=l.current,ef(t),new Vn(l)},Ua.version="19.2.4",Ua}var Uf;function ty(){if(Uf)return $n.exports;Uf=1;function h(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h)}catch(O){console.error(O)}}return h(),$n.exports=Pd(),$n.exports}var ly=ty();const ey=zf(ly),ay=JSON.parse(`[{"title":"Salesforce Health Audit","slug":"salesforce-health","hook_text":"Is your Salesforce Org costing you sales? Take the 60-second Governor Limit & Health Audit.","categories":[{"id":"gov-limits","name":"Governor Limits & Performance","color":"#ef4444"},{"id":"automation","name":"Automation Hygiene","color":"#f59e0b"},{"id":"data-arch","name":"Data Architecture","color":"#3b82f6"},{"id":"integration","name":"Integration & DevOps","color":"#8b5cf6"},{"id":"security","name":"Security & Compliance","color":"#10b981"}],"questions":[{"id":"sf-q1","categoryId":"gov-limits","text":"Are your users seeing 'Apex CPU Time Limit Exceeded' or 'Too many SOQL queries' errors?","answers":[{"text":"Frequently — it's a daily complaint","points":0},{"text":"Occasionally — certain processes trigger them","points":3},{"text":"Rarely — only during bulk operations","points":7},{"text":"Never — we've optimised our code and monitor limits","points":10}]},{"id":"sf-q2","categoryId":"gov-limits","text":"How close are you to your org's data/API limits?","answers":[{"text":"I don't know — we've never checked","points":0},{"text":"We're above 80% on at least one limit","points":3},{"text":"We monitor but aren't close to any limits","points":7},{"text":"We actively manage limits with dashboards and automated alerts","points":10}]},{"id":"sf-q3","categoryId":"automation","text":"Do you have a mix of Workflow Rules, Process Builders AND Apex Triggers on the same objects?","answers":[{"text":"Yes, multiple types on most objects — it's a tangled mess","points":0},{"text":"Yes on a few key objects, but it mostly works","points":3},{"text":"We've consolidated to Flows + Apex for most objects","points":7},{"text":"Clean separation — all logic in well-structured Flows or Apex with a trigger framework","points":10}]},{"id":"sf-q4","categoryId":"automation","text":"How do you handle automation order-of-execution conflicts?","answers":[{"text":"What's order of execution?","points":0},{"text":"We hit issues sometimes and fix them reactively","points":3},{"text":"We're aware and try to avoid conflicts","points":6},{"text":"Documented architecture — single trigger per object with handler pattern","points":10}]},{"id":"sf-q5","categoryId":"data-arch","text":"How would you describe your data model health?","answers":[{"text":"Hundreds of unused custom fields, duplicate record types, no naming conventions","points":0},{"text":"Some clutter but core objects are reasonably clean","points":4},{"text":"Regular housekeeping — we retire unused fields and document new ones","points":7},{"text":"Governed data model with naming conventions, field-level audit, and documented ERDs","points":10}]},{"id":"sf-q6","categoryId":"data-arch","text":"Are your sales teams manually copy-pasting data between Salesforce and external tools?","answers":[{"text":"Constantly — Excel exports, manual re-entry into ERP/other tools","points":0},{"text":"For some processes — we have partial integrations","points":4},{"text":"Most key systems are integrated but a few gaps remain","points":7},{"text":"Fully integrated — bi-directional sync with all critical systems","points":10}]},{"id":"sf-q7","categoryId":"integration","text":"How do you deploy changes to your Salesforce org?","answers":[{"text":"Change sets or direct edits in production","points":0},{"text":"Change sets with a sandbox, but no version control","points":3},{"text":"Source-tracked with Git, deploy via CLI or basic CI","points":7},{"text":"Full CI/CD pipeline — SFDX/SF CLI, scratch orgs, automated tests before deploy","points":10}]},{"id":"sf-q8","categoryId":"integration","text":"What is your Apex test coverage and quality?","answers":[{"text":"Below 75% — we scrape through for deployments","points":0},{"text":"Above 75% but tests are mostly System.assert(true) style","points":3},{"text":"Meaningful assertions, covering positive paths (~75–85%)","points":7},{"text":">85% with bulk tests, negative paths, governor limit tests","points":10}]},{"id":"sf-q9","categoryId":"security","text":"How do you manage field-level security and profile/permission set assignments?","answers":[{"text":"Everyone is basically System Admin or has overly broad profiles","points":0},{"text":"A few profiles, but permissions have grown unchecked","points":3},{"text":"Permission sets grouping access by function, regular reviews","points":7},{"text":"Principle of least privilege — permission set groups, documented matrix, regular audits","points":10}]},{"id":"sf-q10","categoryId":"security","text":"When was the last time you ran a Salesforce Optimizer or Health Check?","answers":[{"text":"Never / didn't know those existed","points":0},{"text":"Over a year ago","points":3},{"text":"Within the last 6 months","points":7},{"text":"Quarterly — results tracked and actioned","points":10}]}],"band_headlines":{"critical":{"title":"Critical Risk","text":"Your org is a ticking time bomb for revenue."},"high":{"title":"High Risk","text":"Significant Salesforce debt — action needed."},"moderate":{"title":"Moderate","text":"Solid org with clear gaps to close."},"low":{"title":"Low Risk","text":"Well-governed org — you're ahead of most."}},"settings":{}},{"title":"Tech Architecture Audit","slug":"tech-architecture","hook_text":"Score your technical debt in 60 seconds.","categories":[{"id":"deployment","name":"Deployment & CI/CD","color":"#ef4444"},{"id":"code-quality","name":"Code Quality & Testing","color":"#f59e0b"},{"id":"architecture","name":"Architecture & Scalability","color":"#3b82f6"},{"id":"security","name":"Security & Compliance","color":"#8b5cf6"},{"id":"monitoring","name":"Monitoring & Incident Response","color":"#10b981"}],"questions":[{"id":"ta-q1","categoryId":"deployment","text":"How do you deploy code to production?","answers":[{"text":"Manual FTP / copy-paste to server","points":0},{"text":"SSH into the server and git pull","points":3},{"text":"Semi-automated — CI builds but we trigger deploy manually","points":7},{"text":"Fully automated CI/CD pipeline with rollback capability","points":10}]},{"id":"ta-q2","categoryId":"deployment","text":"How often do you release to production?","answers":[{"text":"Rarely — big-bang releases every few months","points":0},{"text":"Monthly or bi-weekly","points":4},{"text":"Weekly","points":7},{"text":"Continuously / multiple times per day","points":10}]},{"id":"ta-q3","categoryId":"code-quality","text":"What does your automated test coverage look like?","answers":[{"text":"We don't have automated tests","points":0},{"text":"A handful of tests but they're often skipped or broken","points":3},{"text":"Solid unit tests for critical paths (~40–60% coverage)","points":7},{"text":"Comprehensive suite — unit, integration, and E2E (>80% coverage)","points":10}]},{"id":"ta-q4","categoryId":"code-quality","text":"How are code changes reviewed before merging?","answers":[{"text":"No review — devs push straight to main/master","points":0},{"text":"Informal — sometimes we glance at PRs","points":3},{"text":"Mandatory PR review by at least one other developer","points":7},{"text":"Enforced PR reviews + automated linting, type checks, and CI gates","points":10}]},{"id":"ta-q5","categoryId":"architecture","text":"How would you describe your core system architecture?","answers":[{"text":"Single monolithic application — tightly coupled, hard to change","points":2},{"text":"Monolith but reasonably modular — we can swap components","points":5},{"text":"Service-oriented — a few distinct services with clear APIs","points":8},{"text":"Well-defined microservices / event-driven architecture","points":10}]},{"id":"ta-q6","categoryId":"architecture","text":"If traffic doubled overnight, what would happen?","answers":[{"text":"The site would go down and we'd scramble","points":0},{"text":"We'd survive but performance would degrade significantly","points":3},{"text":"We'd need to manually provision more resources, then we'd be fine","points":6},{"text":"Auto-scaling is in place — we'd handle it seamlessly","points":10}]},{"id":"ta-q7","categoryId":"security","text":"How do you manage secrets and credentials (API keys, DB passwords, etc.)?","answers":[{"text":"Hard-coded in the repo or shared in Slack/email","points":0},{"text":".env files on each developer's machine, not version-controlled","points":4},{"text":"Centralised env management (e.g., Doppler, AWS Parameter Store)","points":7},{"text":"Vault / secrets manager with rotation and audit logs","points":10}]},{"id":"ta-q8","categoryId":"security","text":"When was your last security audit or penetration test?","answers":[{"text":"Never / I'm not sure","points":0},{"text":"Over a year ago","points":3},{"text":"Within the last 12 months","points":7},{"text":"We run continuous automated security scanning + annual pen tests","points":10}]},{"id":"ta-q9","categoryId":"monitoring","text":"How do you know when something breaks in production?","answers":[{"text":"A customer tells us","points":0},{"text":"We check logs manually when we suspect an issue","points":3},{"text":"Basic alerting (uptime monitor, error rate threshold)","points":6},{"text":"Full observability stack — APM, structured logging, distributed tracing, dashboards","points":10}]},{"id":"ta-q10","categoryId":"monitoring","text":"If your primary database went down right now, how quickly could you recover?","answers":[{"text":"I honestly don't know — we've never tested it","points":0},{"text":"We have backups but have never done a restore drill","points":3},{"text":"Tested restore procedure — RTO under 4 hours","points":7},{"text":"Automated failover / replication — RTO under 15 minutes","points":10}]}],"band_headlines":{"critical":{"title":"Critical Risk","text":"Your tech stack is a ticking time bomb."},"high":{"title":"High Risk","text":"Significant vulnerabilities — action needed."},"moderate":{"title":"Moderate","text":"Solid foundation with clear gaps to close."},"low":{"title":"Low Risk","text":"Well-architected — you're ahead of most."}},"settings":{}}]`),ti=window.noon_audit_config;async function uy(h){if(ti.restUrl){const x=await fetch(`${ti.restUrl}/audits/${h}`,{headers:{"X-WP-Nonce":ti.nonce}});if(!x.ok)throw new Error(`Failed to fetch audit: ${x.statusText}`);return x.json()}const O=ay.find(x=>x.slug===h);if(!O)throw new Error(`Audit "${h}" not found in seed data.`);return O}function ny(h,O){const{categories:x,band_headlines:o}=h,H=O.reduce((D,C)=>D+C.points,0),B=h.questions.reduce((D,C)=>{const L=Math.max(...C.answers.map(_t=>_t.points));return D+L},0),Z=B>0?Math.round(H/B*100):0,Y=x.map(D=>{const C=h.questions.filter(ft=>ft.categoryId===D.id),_t=O.filter(ft=>ft.categoryId===D.id).reduce((ft,zt)=>ft+zt.points,0),Tt=C.reduce((ft,zt)=>ft+Math.max(...zt.answers.map(xt=>xt.points)),0);return{id:D.id,name:D.name,color:D.color,score:Tt>0?Math.round(_t/Tt*100):0,rawScore:_t,maxScore:Tt}}),N=iy(Z),b=[...Y].sort((D,C)=>D.score-C.score).slice(0,2);return{rawScore:H,percentage:Z,riskBand:N,headline:o[N],categoryScores:Y,weakestCategories:b}}function iy(h){return h<=30?"critical":h<=55?"high":h<=75?"moderate":"low"}function cy(h){switch(h){case"critical":return"🔴";case"high":return"🟠";case"moderate":return"🟡";case"low":return"🟢"}}function fy(h){const[O,x]=Q.useState("landing"),[o,H]=Q.useState(0),[B,Z]=Q.useState([]),[Y,N]=Q.useState(null),b=(h==null?void 0:h.questions.length)??0,D=b>0?Math.round(o/b*100):0,C=Q.useCallback(()=>{x("quiz"),H(0),Z([]),N(null)},[]),L=Q.useCallback(ft=>{if(!h)return;const zt=h.questions[o],xt=zt.answers[ft],X={questionId:zt.id,categoryId:zt.categoryId,answerIndex:ft,points:xt.points};Z(P=>[...P.filter(At=>At.questionId!==zt.id),X]),setTimeout(()=>{if(o<b-1)H(P=>P+1);else{const P=[...B.filter(At=>At.questionId!==zt.id),X],at=ny(h,P);N(at),x("email-gate")}},400)},[h,o,b,B]),_t=Q.useCallback(()=>{o>0?H(ft=>ft-1):x("landing")},[o]),Tt=Q.useCallback(()=>{x("results")},[]);return{step:O,currentQuestion:o,answers:B,scoreResult:Y,totalQuestions:b,progress:D,selectAnswer:L,goBack:_t,startQuiz:C,submitEmail:Tt}}/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jf=(...h)=>h.filter((O,x,o)=>!!O&&O.trim()!==""&&o.indexOf(O)===x).join(" ").trim();/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sy=h=>h.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oy=h=>h.replace(/^([A-Z])|[\s-_]+(\w)/g,(O,x,o)=>o?o.toUpperCase():x.toLowerCase());/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hf=h=>{const O=oy(h);return O.charAt(0).toUpperCase()+O.slice(1)};/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var ry={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dy=h=>{for(const O in h)if(O.startsWith("aria-")||O==="role"||O==="title")return!0;return!1};/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yy=Q.forwardRef(({color:h="currentColor",size:O=24,strokeWidth:x=2,absoluteStrokeWidth:o,className:H="",children:B,iconNode:Z,...Y},N)=>Q.createElement("svg",{ref:N,...ry,width:O,height:O,stroke:h,strokeWidth:o?Number(x)*24/Number(O):x,className:jf("lucide",H),...!B&&!dy(Y)&&{"aria-hidden":"true"},...Y},[...Z.map(([b,D])=>Q.createElement(b,D)),...Array.isArray(B)?B:[B]]));/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Oe=(h,O)=>{const x=Q.forwardRef(({className:o,...H},B)=>Q.createElement(yy,{ref:B,iconNode:O,className:jf(`lucide-${sy(Hf(h))}`,`lucide-${h}`,o),...H}));return x.displayName=Hf(h),x};/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const my=Oe("calendar-check",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hy=Oe("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vy=Oe("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rf=Oe("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gy=Oe("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Bf=Oe("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
 * @license lucide-react v0.575.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sy=Oe("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),vt={quizContainer:"_quizContainer_1dkdj_3",landing:"_landing_1dkdj_17",landingIcon:"_landingIcon_1dkdj_25",landingTitle:"_landingTitle_1dkdj_37",landingHook:"_landingHook_1dkdj_45",startButton:"_startButton_1dkdj_55",timerBadge:"_timerBadge_1dkdj_80",progressWrapper:"_progressWrapper_1dkdj_95",progressHeader:"_progressHeader_1dkdj_99",progressLabel:"_progressLabel_1dkdj_106",progressCount:"_progressCount_1dkdj_114",progressTrack:"_progressTrack_1dkdj_120",progressFill:"_progressFill_1dkdj_128",questionCard:"_questionCard_1dkdj_137",questionCategory:"_questionCategory_1dkdj_152",questionText:"_questionText_1dkdj_165",answersGrid:"_answersGrid_1dkdj_175",answerOption:"_answerOption_1dkdj_181",selected:"_selected_1dkdj_205",answerLetter:"_answerLetter_1dkdj_210",answerText:"_answerText_1dkdj_232",backButton:"_backButton_1dkdj_238",watermark:"_watermark_1dkdj_262"},by=({audit:h,onStart:O})=>E.jsxs("div",{className:vt.landing,children:[E.jsx("span",{className:vt.landingIcon,children:E.jsx(Sy,{size:48,color:"var(--noon-warning)"})}),!window.noon_audit_config.hideTitle&&E.jsx("h1",{className:vt.landingTitle,children:h.title}),E.jsx("p",{className:vt.landingHook,children:h.hook_text}),E.jsxs("div",{className:vt.timerBadge,children:[E.jsx(gy,{size:16}),E.jsxs("span",{children:[h.questions.length," questions · ~60 seconds"]})]}),E.jsx("button",{className:vt.startButton,onClick:O,id:"noon-audit-start",children:"Start Audit →"})]}),py=({current:h,total:O,progress:x})=>E.jsxs("div",{className:vt.progressWrapper,children:[E.jsxs("div",{className:vt.progressHeader,children:[E.jsx("span",{className:vt.progressLabel,children:"Progress"}),E.jsxs("span",{className:vt.progressCount,children:[h+1," / ",O]})]}),E.jsx("div",{className:vt.progressTrack,children:E.jsx("div",{className:vt.progressFill,style:{width:`${x}%`}})})]}),_y=({letter:h,text:O,selected:x,onClick:o})=>E.jsxs("button",{className:`${vt.answerOption} ${x?vt.selected:""}`,onClick:o,type:"button",children:[E.jsx("span",{className:vt.answerLetter,children:h}),E.jsx("span",{className:vt.answerText,children:O})]}),Ty=["A","B","C","D","E","F"],zy=({question:h,category:O,currentAnswer:x,onSelectAnswer:o,onBack:H,showBack:B})=>E.jsxs("div",{className:vt.questionCard,children:[O&&E.jsx("span",{className:vt.questionCategory,style:{color:O.color,background:`${O.color}18`},children:O.name}),E.jsx("h3",{className:vt.questionText,children:h.text}),E.jsx("div",{className:vt.answersGrid,children:h.answers.map((Z,Y)=>E.jsx(_y,{letter:Ty[Y],text:Z.text,selected:(x==null?void 0:x.answerIndex)===Y,onClick:()=>o(Y)},Y))}),B&&E.jsx("button",{className:vt.backButton,onClick:H,type:"button",children:"← Back"})]},h.id),li=window.noon_audit_config;async function Ey(h){if(!li.restUrl)return console.log("[Dev] Lead submitted:",h),{success:!0,lead_id:999};const O=await fetch(`${li.restUrl}/leads`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":li.nonce},body:JSON.stringify(h)});if(!O.ok)throw new Error(`Failed to submit lead: ${O.statusText}`);return O.json()}var Ay=({as:h="div",...O},x)=>E.jsx(h,{...O,ref:x}),xy=Q.forwardRef(Ay),Oy="https://challenges.cloudflare.com/turnstile/v0/api.js",ei="cf-turnstile-script",My="cf-turnstile",ai="onloadTurnstileCallback",wf=h=>!!document.getElementById(h),Ny=({render:h="explicit",onLoadCallbackName:O=ai,scriptOptions:{nonce:x="",defer:o=!0,async:H=!0,id:B="",appendTo:Z,onError:Y,crossOrigin:N=""}={}})=>{let b=B||ei;if(wf(b))return;let D=document.createElement("script");D.id=b,D.src=`${Oy}?onload=${O}&render=${h}`,!document.querySelector(`script[src="${D.src}"]`)&&(D.defer=!!o,D.async=!!H,x&&(D.nonce=x),N&&(D.crossOrigin=N),Y&&(D.onerror=Y,delete window[O]),(Z==="body"?document.body:document.getElementsByTagName("head")[0]).appendChild(D))},Me={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}};function Cy(h){if(h!=="invisible"&&h!=="interactionOnly")return h}function Dy(h=ei){let[O,x]=Q.useState(!1);return Q.useEffect(()=>{let o=()=>{wf(h)&&x(!0)},H=new MutationObserver(o);return H.observe(document,{childList:!0,subtree:!0}),o(),()=>{H.disconnect()}},[h]),O}var ja="unloaded",Yf,qy=new Promise((h,O)=>{Yf={resolve:h,reject:O},ja==="ready"&&h(void 0)}),Gf=(h=ai)=>(ja==="unloaded"&&(ja="loading",window[h]=()=>{Yf.resolve(),ja="ready",delete window[h]}),qy),Qf=Q.forwardRef((h,O)=>{let{scriptOptions:x,options:o={},siteKey:H,onWidgetLoad:B,onSuccess:Z,onExpire:Y,onError:N,onBeforeInteractive:b,onAfterInteractive:D,onUnsupported:C,onTimeout:L,onLoadScript:_t,id:Tt,style:ft,as:zt="div",injectScript:xt=!0,rerenderOnCallbackChange:X=!1,...P}=h,at=o.size,At=Q.useCallback(()=>typeof at>"u"?{}:o.execution==="execute"?Me.invisible:o.appearance==="interaction-only"?Me.interactionOnly:Me[at],[o.execution,at,o.appearance]),[jt,J]=Q.useState(At()),gt=Q.useRef(null),[tt,ll]=Q.useState(!1),I=Q.useRef(void 0),Nt=Q.useRef(!1),bl=Tt||My,wt=Q.useRef({onSuccess:Z,onError:N,onExpire:Y,onBeforeInteractive:b,onAfterInteractive:D,onUnsupported:C,onTimeout:L});Q.useEffect(()=>{X||(wt.current={onSuccess:Z,onError:N,onExpire:Y,onBeforeInteractive:b,onAfterInteractive:D,onUnsupported:C,onTimeout:L})});let It=(x==null?void 0:x.id)||ei,p=Dy(It),M=(x==null?void 0:x.onLoadCallbackName)||ai,G=o.appearance||"always",st=Q.useMemo(()=>({sitekey:H,action:o.action,cData:o.cData,theme:o.theme||"auto",language:o.language||"auto",tabindex:o.tabIndex,"response-field":o.responseField,"response-field-name":o.responseFieldName,size:Cy(at),retry:o.retry||"auto","retry-interval":o.retryInterval||8e3,"refresh-expired":o.refreshExpired||"auto","refresh-timeout":o.refreshTimeout||"auto",execution:o.execution||"render",appearance:o.appearance||"always","feedback-enabled":o.feedbackEnabled??!0,callback:f=>{var g,A;Nt.current=!0,X?Z==null||Z(f):(A=(g=wt.current).onSuccess)==null||A.call(g,f)},"error-callback":X?N:(...f)=>{var g,A;return(A=(g=wt.current).onError)==null?void 0:A.call(g,...f)},"expired-callback":X?Y:(...f)=>{var g,A;return(A=(g=wt.current).onExpire)==null?void 0:A.call(g,...f)},"before-interactive-callback":X?b:(...f)=>{var g,A;return(A=(g=wt.current).onBeforeInteractive)==null?void 0:A.call(g,...f)},"after-interactive-callback":X?D:(...f)=>{var g,A;return(A=(g=wt.current).onAfterInteractive)==null?void 0:A.call(g,...f)},"unsupported-callback":X?C:(...f)=>{var g,A;return(A=(g=wt.current).onUnsupported)==null?void 0:A.call(g,...f)},"timeout-callback":X?L:(...f)=>{var g,A;return(A=(g=wt.current).onTimeout)==null?void 0:A.call(g,...f)}}),[o.action,o.appearance,o.cData,o.execution,o.language,o.refreshExpired,o.responseField,o.responseFieldName,o.retry,o.retryInterval,o.tabIndex,o.theme,o.feedbackEnabled,o.refreshTimeout,H,at,X,X?Z:null,X?N:null,X?Y:null,X?b:null,X?D:null,X?C:null,X?L:null]),it=Q.useCallback(()=>typeof window<"u"&&!!window.turnstile,[]);return Q.useEffect(function(){xt&&!tt&&(Gf(M),Ny({onLoadCallbackName:M,scriptOptions:{...x,id:It}}))},[xt,tt,x,It,M]),Q.useEffect(function(){ja!=="ready"&&Gf(M).then(()=>ll(!0)).catch(console.error)},[M]),Q.useEffect(function(){if(!gt.current||!tt)return;let f=!1;return(async()=>{if(f||!gt.current)return;let g=window.turnstile.render(gt.current,st);I.current=g,I.current&&(B==null||B(I.current))})(),()=>{f=!0,I.current&&(window.turnstile.remove(I.current),Nt.current=!1)}},[bl,tt,st]),Q.useImperativeHandle(O,()=>{let{turnstile:f}=window;return{getResponse(){if(!(f!=null&&f.getResponse)||!I.current||!it()){console.warn("Turnstile has not been loaded");return}return f.getResponse(I.current)},async getResponsePromise(g=3e4,A=100){return new Promise((U,V)=>{let K,ot=async()=>{if(Nt.current&&window.turnstile&&I.current)try{let Dt=window.turnstile.getResponse(I.current);return K&&clearTimeout(K),Dt?U(Dt):V(new Error("No response received"))}catch(Dt){return K&&clearTimeout(K),console.warn("Failed to get response",Dt),V(new Error("Failed to get response"))}K||(K=setTimeout(()=>{K&&clearTimeout(K),V(new Error("Timeout"))},g)),await new Promise(Dt=>setTimeout(Dt,A)),await ot()};ot()})},reset(){if(!(f!=null&&f.reset)||!I.current||!it()){console.warn("Turnstile has not been loaded");return}o.execution==="execute"&&J(Me.invisible);try{Nt.current=!1,f.reset(I.current)}catch(g){console.warn(`Failed to reset Turnstile widget ${I}`,g)}},remove(){if(!(f!=null&&f.remove)||!I.current||!it()){console.warn("Turnstile has not been loaded");return}J(Me.invisible),Nt.current=!1,f.remove(I.current),I.current=null},render(){if(!(f!=null&&f.render)||!gt.current||!it()||I.current){console.warn("Turnstile has not been loaded or container not found");return}let g=f.render(gt.current,st);return I.current=g,I.current&&(B==null||B(I.current)),o.execution!=="execute"&&J(at?Me[at]:{}),g},execute(){if(o.execution!=="execute"){console.warn('Execution mode is not set to "execute"');return}if(!(f!=null&&f.execute)||!gt.current||!I.current||!it()){console.warn("Turnstile has not been loaded or container not found");return}f.execute(gt.current,st),J(at?Me[at]:{})},isExpired(){return!(f!=null&&f.isExpired)||!I.current||!it()?(console.warn("Turnstile has not been loaded"),!1):f.isExpired(I.current)}}},[I,o.execution,at,st,gt,it,tt,B]),Q.useEffect(()=>{if(tt||!p)return;if(window.turnstile){ll(!0);return}let f=setInterval(()=>{window.turnstile&&(ll(!0),clearInterval(f))},50);return()=>{clearInterval(f)}},[tt,p]),Q.useEffect(()=>{J(At())},[o.execution,at,G]),Q.useEffect(()=>{!p||typeof _t!="function"||_t()},[p]),E.jsx(xy,{ref:gt,as:zt,id:bl,style:{...jt,...ft},...P})});Qf.displayName="Turnstile";const W={emailGate:"_emailGate_wqykw_5",fadeIn:"_fadeIn_wqykw_1",gateIcon:"_gateIcon_wqykw_21",gateTitle:"_gateTitle_wqykw_27",gateSubtitle:"_gateSubtitle_wqykw_34",gateForm:"_gateForm_wqykw_41",gateInput:"_gateInput_wqykw_49",gateSubmit:"_gateSubmit_wqykw_70",consentLabel:"_consentLabel_wqykw_99",consentCheckbox:"_consentCheckbox_wqykw_121",gateDisclaimer:"_gateDisclaimer_wqykw_149",results:"_results_wqykw_157",scoreHeader:"_scoreHeader_wqykw_161",scoreCircle:"_scoreCircle_wqykw_166",scoreCircleSvg:"_scoreCircleSvg_wqykw_173",scoreTrackCircle:"_scoreTrackCircle_wqykw_179",scoreFillCircle:"_scoreFillCircle_wqykw_185",scoreValue:"_scoreValue_wqykw_192",scoreNumber:"_scoreNumber_wqykw_202",scoreOutOf:"_scoreOutOf_wqykw_208",riskBadge:"_riskBadge_wqykw_214",critical:"_critical_wqykw_225",high:"_high_wqykw_231",moderate:"_moderate_wqykw_237",low:"_low_wqykw_243",headlineText:"_headlineText_wqykw_249",headlineSubtext:"_headlineSubtext_wqykw_256",categorySection:"_categorySection_wqykw_263",categorySectionTitle:"_categorySectionTitle_wqykw_267",categoryList:"_categoryList_wqykw_276",categoryItem:"_categoryItem_wqykw_282",categoryHeader:"_categoryHeader_wqykw_288",categoryName:"_categoryName_wqykw_294",categoryPercent:"_categoryPercent_wqykw_300",categoryBar:"_categoryBar_wqykw_305",categoryBarFill:"_categoryBarFill_wqykw_313",weaknessCallout:"_weaknessCallout_wqykw_322",weaknessTitle:"_weaknessTitle_wqykw_330",weaknessText:"_weaknessText_wqykw_340",bookingCta:"_bookingCta_wqykw_348",ctaIcon:"_ctaIcon_wqykw_361",ctaTitle:"_ctaTitle_wqykw_367",ctaSubtitle:"_ctaSubtitle_wqykw_374",ctaButton:"_ctaButton_wqykw_381"},le=window.noon_audit_config,Uy=({auditId:h,scoreResult:O,answers:x,onComplete:o})=>{const[H,B]=Q.useState(""),[Z,Y]=Q.useState(""),[N,b]=Q.useState(""),[D,C]=Q.useState(""),[L,_t]=Q.useState(!1),[Tt,ft]=Q.useState(!1),[zt,xt]=Q.useState(!1),[X,P]=Q.useState(""),[at,At]=Q.useState(""),jt=le.consultantName||"us",J=async tt=>{if(tt.preventDefault(),!(!H||!L)){xt(!0),P("");try{await Ey({audit_id:h,email:H,name:Z,company:N,score:O.rawScore,risk_band:O.riskBand,category_scores:O.categoryScores,answers:x,website_url:D,turnstile_token:at,consented_at:new Date().toISOString(),marketing_optin:Tt}),o()}catch(ll){P("Something went wrong. Please try again."),console.error("Lead submission error:",ll)}finally{xt(!1)}}},gt=()=>{const tt=!!le.privacyUrl,ll=!!le.termsUrl,I=[];return ll&&I.push(E.jsx("a",{href:le.termsUrl,target:"_blank",rel:"noopener noreferrer",children:"Terms & Conditions"},"terms")),tt&&I.push(E.jsx("a",{href:le.privacyUrl,target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"},"privacy")),E.jsxs(E.Fragment,{children:["I consent to ",jt," processing my data and contacting me regarding my audit results",I.length>0&&E.jsxs(E.Fragment,{children:[". I have read the"," ",I.reduce((Nt,bl,wt)=>(wt>0&&Nt.push(" and "),Nt.push(bl),Nt),[])]})]})};return E.jsxs("div",{className:W.emailGate,children:[E.jsx("span",{className:W.gateIcon,children:E.jsx(Rf,{size:48,color:"var(--noon-accent)"})}),E.jsx("h3",{className:W.gateTitle,children:"Your audit is ready!"}),E.jsx("p",{className:W.gateSubtitle,children:"Enter your details below to unlock your personalised audit report and improvement roadmap."}),E.jsxs("form",{className:W.gateForm,onSubmit:J,children:[E.jsxs("div",{style:{position:"absolute",left:"-9999px",top:"-9999px",opacity:0},"aria-hidden":"true",children:[E.jsx("label",{htmlFor:"website_url",children:"Website URL (leave blank)"}),E.jsx("input",{type:"text",id:"website_url",name:"website_url",value:D,onChange:tt=>C(tt.target.value),tabIndex:-1,autoComplete:"off"})]}),E.jsx("input",{type:"email",className:W.gateInput,placeholder:"Work email *",value:H,onChange:tt=>B(tt.target.value),required:!0,id:"noon-audit-email"}),E.jsx("input",{type:"text",className:W.gateInput,placeholder:"Your name",value:Z,onChange:tt=>Y(tt.target.value),id:"noon-audit-name"}),E.jsx("input",{type:"text",className:W.gateInput,placeholder:"Company",value:N,onChange:tt=>b(tt.target.value),id:"noon-audit-company"}),E.jsxs("label",{className:W.consentLabel,id:"noon-audit-consent-label",children:[E.jsx("input",{type:"checkbox",checked:L,onChange:tt=>_t(tt.target.checked),className:W.consentCheckbox,id:"noon-audit-consent",required:!0}),E.jsxs("span",{children:[gt()," *"]})]}),E.jsxs("label",{className:W.consentLabel,id:"noon-audit-marketing-label",children:[E.jsx("input",{type:"checkbox",checked:Tt,onChange:tt=>ft(tt.target.checked),className:W.consentCheckbox,id:"noon-audit-marketing"}),E.jsxs("span",{children:["I'd also like to receive tips and updates from ",jt]})]}),le.turnstileSiteKey&&E.jsx("div",{style:{margin:"1rem 0",display:"flex",justifyContent:"center"},children:E.jsx(Qf,{siteKey:le.turnstileSiteKey,onSuccess:tt=>At(tt),onError:()=>P("Security check failed. Please refresh and try again."),onExpire:()=>At("")})}),E.jsx("button",{type:"submit",className:W.gateSubmit,disabled:zt||!H||!L||!!le.turnstileSiteKey&&!at,id:"noon-audit-submit",children:zt?"Unlocking…":"Unlock My Results →"}),X&&E.jsx("p",{style:{color:"var(--noon-danger)",fontSize:"0.85rem"},children:X})]}),E.jsxs("p",{className:W.gateDisclaimer,children:[E.jsx(vy,{size:12,style:{display:"inline",marginRight:"4px",verticalAlign:"text-bottom"}}),"Your details are kept secure and are never shared with third parties."]})]})},jy=({consultantName:h,bookingUrl:O})=>{if(!O)return null;const x=O.includes("@")&&!O.includes("://"),o=x?`mailto:${O}?subject=Audit%20Results%20Follow-Up`:O,H=x?"Email Us to Get Started →":"Book My Free Call →";return E.jsxs("div",{className:W.bookingCta,children:[E.jsx("span",{className:W.ctaIcon,children:x?E.jsx(Rf,{size:32,color:"var(--noon-accent)"}):E.jsx(my,{size:32,color:"var(--noon-accent)"})}),E.jsxs("h3",{className:W.ctaTitle,children:["Let's fix this — ",x?"get in touch for a free triage call":"book a free 15-minute triage call"]}),E.jsxs("p",{className:W.ctaSubtitle,children:["Speak directly with ",h," to identify your highest-priority wins and get a clear action plan."]}),E.jsx("a",{href:o,target:x?"_self":"_blank",rel:x?void 0:"noopener noreferrer",className:W.ctaButton,id:"noon-audit-book",children:H})]})},Hy=({scoreResult:h,consultantName:O,bookingUrl:x})=>{const{percentage:o,riskBand:H,headline:B,categoryScores:Z,weakestCategories:Y}=h,N=65,b=2*Math.PI*N,D=b-o/100*b,C={critical:"var(--noon-danger)",high:"var(--noon-warning)",moderate:"#eab308",low:"var(--noon-success)"};return E.jsxs("div",{className:W.results,children:[E.jsxs("div",{className:W.scoreHeader,children:[E.jsxs("div",{className:W.scoreCircle,children:[E.jsxs("svg",{className:W.scoreCircleSvg,viewBox:"0 0 160 160",children:[E.jsx("circle",{className:W.scoreTrackCircle,cx:"80",cy:"80",r:N}),E.jsx("circle",{className:W.scoreFillCircle,cx:"80",cy:"80",r:N,stroke:C[H],strokeDasharray:b,strokeDashoffset:D})]}),E.jsxs("div",{className:W.scoreValue,children:[E.jsx("span",{className:W.scoreNumber,style:{color:C[H]},children:o}),E.jsx("span",{className:W.scoreOutOf,children:"out of 100"})]})]}),E.jsxs("span",{className:`${W.riskBadge} ${W[H]}`,children:[cy(H)," ",B.title]}),E.jsx("p",{className:W.headlineText,children:B.text})]}),E.jsxs("div",{className:W.categorySection,children:[E.jsx("h4",{className:W.categorySectionTitle,children:"Category Breakdown"}),E.jsx("div",{className:W.categoryList,children:Z.map(L=>E.jsxs("div",{className:W.categoryItem,children:[E.jsxs("div",{className:W.categoryHeader,children:[E.jsx("span",{className:W.categoryName,children:L.name}),E.jsxs("span",{className:W.categoryPercent,style:{color:L.color},children:[L.score,"%"]})]}),E.jsx("div",{className:W.categoryBar,children:E.jsx("div",{className:W.categoryBarFill,style:{width:`${L.score}%`,background:L.color}})})]},L.id))})]}),Y.length>0&&Y[0].score<50&&E.jsxs("div",{className:W.weaknessCallout,children:[E.jsxs("div",{className:W.weaknessTitle,children:[E.jsx(Bf,{size:16}),"Your biggest risks"]}),E.jsxs("p",{className:W.weaknessText,children:["Your weakest areas are ",E.jsx("strong",{children:Y[0].name}),Y[1]&&E.jsxs(E.Fragment,{children:[" and ",E.jsx("strong",{children:Y[1].name})]}),". Addressing these first will have the highest impact on your overall health."]})]}),E.jsx(jy,{consultantName:O,bookingUrl:x})]})},tl=window.noon_audit_config,Ry=()=>{const[h,O]=Q.useState(null),[x,o]=Q.useState(!0),[H,B]=Q.useState(""),{step:Z,currentQuestion:Y,answers:N,scoreResult:b,totalQuestions:D,progress:C,selectAnswer:L,goBack:_t,startQuiz:Tt,submitEmail:ft}=fy(h);if(Q.useEffect(()=>{if(tl.accentColor){document.documentElement.style.setProperty("--noon-accent",tl.accentColor);const X=tl.accentColor.replace(/^#/,"");let P=0,at=0,At=0;if(X.length===3?(P=parseInt(X[0]+X[0],16),at=parseInt(X[1]+X[1],16),At=parseInt(X[2]+X[2],16)):X.length===6&&(P=parseInt(X.substring(0,2),16),at=parseInt(X.substring(2,4),16),At=parseInt(X.substring(4,6),16)),!isNaN(P)&&!isNaN(at)&&!isNaN(At)){document.documentElement.style.setProperty("--noon-accent-rgb",`${P}, ${at}, ${At}`);const jt=Math.max(0,Math.floor(P*.85)),J=Math.max(0,Math.floor(at*.85)),gt=Math.max(0,Math.floor(At*.85)),tt="#"+(1<<24|jt<<16|J<<8|gt).toString(16).slice(1);document.documentElement.style.setProperty("--noon-accent-hover",tt)}}},[]),Q.useEffect(()=>{const X=tl.auditSlug||"salesforce-health";uy(X).then(P=>{O(P),o(!1)}).catch(P=>{B(P.message),o(!1)})},[]),x)return E.jsxs("div",{className:vt.quizContainer,style:{textAlign:"center",padding:"4rem 1rem"},children:[E.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1rem",color:"var(--noon-accent)"},children:E.jsx(hy,{size:32,className:vt.spin})}),E.jsx("p",{style:{color:"var(--noon-text-secondary)"},children:"Loading audit…"})]});if(H||!h)return E.jsxs("div",{className:vt.quizContainer,style:{textAlign:"center",padding:"4rem 1rem"},children:[E.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1rem",color:"var(--noon-danger)"},children:E.jsx(Bf,{size:32})}),E.jsx("p",{style:{color:"var(--noon-danger)"},children:H||"Audit not found."})]});const zt=tl.themeMode!=="light",xt=[vt.quizContainer,zt?vt.darkTheme:vt.lightTheme,zt&&tl.glassMode?"glassMode":""].filter(Boolean).join(" ");return E.jsxs("div",{className:xt,children:[tl.logoUrl&&E.jsx("div",{style:{textAlign:"center",marginBottom:"2rem"},children:E.jsx("img",{src:tl.logoUrl,alt:"Company Logo",style:{maxHeight:"60px",maxWidth:"100%",objectFit:"contain"}})}),Z==="landing"&&E.jsx(by,{audit:h,onStart:Tt}),Z==="quiz"&&E.jsxs(E.Fragment,{children:[E.jsx(py,{current:Y,total:D,progress:C}),E.jsx(zy,{question:h.questions[Y],category:h.categories.find(X=>X.id===h.questions[Y].categoryId),currentAnswer:N.find(X=>X.questionId===h.questions[Y].id),onSelectAnswer:L,onBack:_t,showBack:Y>0})]}),Z==="email-gate"&&b&&E.jsx(Uy,{auditId:h.id,scoreResult:b,answers:N,onComplete:ft}),Z==="results"&&b&&E.jsx(Hy,{scoreResult:b,consultantName:tl.consultantName,bookingUrl:tl.bookingUrl}),tl.showWatermark&&E.jsx("div",{className:vt.watermark,children:E.jsx("a",{href:tl.watermarkUrl||"https://noonelite.com",target:"_blank",rel:"noopener noreferrer",children:tl.watermarkText?tl.watermarkText:"Powered by Noon Elite"})})]})};function Xf(){const h=document.querySelectorAll(".noon-audit-wrapper");if(h.length===0){console.warn("[Noon Audit] No .noon-audit-wrapper elements found.");return}h.forEach(O=>{ey.createRoot(O).render(E.jsx(kd.StrictMode,{children:E.jsx(Ry,{})}))})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Xf):Xf()})();
