import{C as cr,j as H,_ as Hu,r as Tr,a as fr,b as sr,c as or,d as dr,e as rr,P as nt,f as sf,I as il,A as fh,m as of,w as sh,L as oh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab710.js";import{g as dh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab7.js";import{r as rh,a as P}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab74.js";import{a as mh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab75.js";import{u as hh,F as vh,o as yh,a as gh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab79.js";import{x as Sf,y as Dr,z as jt,A as bh,B as df,C as _r,D as Or,E as Sh,F as mr,G as ph,L as Eh,R as Ah,H as zh,T as Mh,M as Th,J as hr,K as vr,N as yr,O as Dh,P as _h,Q as gr,U as br,V as Oh,W as xh,X as Uh,Y as Hh,Z as Nh,_ as Rh,$ as Ch,a0 as qh,a1 as Bh,a2 as jh,a3 as Yh,a4 as Gh,q as Xh,n as Qh,a5 as Zh,a6 as Lh,a7 as Vh,a8 as wh,a9 as Kh,aa as Jh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab723.js";import{M as kh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab747.js";import{u as Za}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab719.js";import{c as xe}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab77.js";import{W as Uu,V as bf}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab718.js";import{X as xr}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab78.js";import{a as Wh}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab76.js";var rf={exports:{}},Ou={},mf={exports:{}},hf={};/**
 * @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 Sr;function $h(){return Sr||(Sr=1,(function(f){function y(_,Y){var B=_.length;_.push(Y);t:for(;0<B;){var et=B-1>>>1,rt=_[et];if(0<g(rt,Y))_[et]=Y,_[B]=rt,B=et;else break t}}function d(_){return _.length===0?null:_[0]}function o(_){if(_.length===0)return null;var Y=_[0],B=_.pop();if(B!==Y){_[0]=B;t:for(var et=0,rt=_.length,wa=rt>>>1;et<wa;){var Sa=2*(et+1)-1,Dl=_[Sa],J=Sa+1,Jt=_[J];if(0>g(Dl,B))J<rt&&0>g(Jt,Dl)?(_[et]=Jt,_[J]=B,et=J):(_[et]=Dl,_[Sa]=B,et=Sa);else if(J<rt&&0>g(Jt,B))_[et]=Jt,_[J]=B,et=J;else break t}}return Y}function g(_,Y){var B=_.sortIndex-Y.sortIndex;return B!==0?B:_.id-Y.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;f.unstable_now=function(){return S.now()}}else{var T=Date,D=T.now();f.unstable_now=function(){return T.now()-D}}var R=[],M=[],G=1,at=null,V=3,C=!1,Tt=!1,Kt=!1,cl=typeof setTimeout=="function"?setTimeout:null,xt=typeof clearTimeout=="function"?clearTimeout:null,ht=typeof setImmediate<"u"?setImmediate:null;function Yt(_){for(var Y=d(M);Y!==null;){if(Y.callback===null)o(M);else if(Y.startTime<=_)o(M),Y.sortIndex=Y.expirationTime,y(R,Y);else break;Y=d(M)}}function fl(_){if(Kt=!1,Yt(_),!Tt)if(d(R)!==null)Tt=!0,ga();else{var Y=d(M);Y!==null&&ba(fl,Y.startTime-_)}}var Tl=!1,ft=-1,vl=5,wl=-1;function q(){return!(f.unstable_now()-wl<vl)}function K(){if(Tl){var _=f.unstable_now();wl=_;var Y=!0;try{t:{Tt=!1,Kt&&(Kt=!1,xt(ft),ft=-1),C=!0;var B=V;try{l:{for(Yt(_),at=d(R);at!==null&&!(at.expirationTime>_&&q());){var et=at.callback;if(typeof et=="function"){at.callback=null,V=at.priorityLevel;var rt=et(at.expirationTime<=_);if(_=f.unstable_now(),typeof rt=="function"){at.callback=rt,Yt(_),Y=!0;break l}at===d(R)&&o(R),Yt(_)}else o(R);at=d(R)}if(at!==null)Y=!0;else{var wa=d(M);wa!==null&&ba(fl,wa.startTime-_),Y=!1}}break t}finally{at=null,V=B,C=!1}Y=void 0}}finally{Y?sl():Tl=!1}}}var sl;if(typeof ht=="function")sl=function(){ht(K)};else if(typeof MessageChannel<"u"){var Ue=new MessageChannel,ya=Ue.port2;Ue.port1.onmessage=K,sl=function(){ya.postMessage(null)}}else sl=function(){cl(K,0)};function ga(){Tl||(Tl=!0,sl())}function ba(_,Y){ft=cl(function(){_(f.unstable_now())},Y)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(_){_.callback=null},f.unstable_continueExecution=function(){Tt||C||(Tt=!0,ga())},f.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):vl=0<_?Math.floor(1e3/_):5},f.unstable_getCurrentPriorityLevel=function(){return V},f.unstable_getFirstCallbackNode=function(){return d(R)},f.unstable_next=function(_){switch(V){case 1:case 2:case 3:var Y=3;break;default:Y=V}var B=V;V=Y;try{return _()}finally{V=B}},f.unstable_pauseExecution=function(){},f.unstable_requestPaint=function(){},f.unstable_runWithPriority=function(_,Y){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var B=V;V=_;try{return Y()}finally{V=B}},f.unstable_scheduleCallback=function(_,Y,B){var et=f.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?et+B:et):B=et,_){case 1:var rt=-1;break;case 2:rt=250;break;case 5:rt=1073741823;break;case 4:rt=1e4;break;default:rt=5e3}return rt=B+rt,_={id:G++,callback:Y,priorityLevel:_,startTime:B,expirationTime:rt,sortIndex:-1},B>et?(_.sortIndex=B,y(M,_),d(R)===null&&_===d(M)&&(Kt?(xt(ft),ft=-1):Kt=!0,ba(fl,B-et))):(_.sortIndex=rt,y(R,_),Tt||C||(Tt=!0,ga())),_},f.unstable_shouldYield=q,f.unstable_wrapCallback=function(_){var Y=V;return function(){var B=V;V=Y;try{return _.apply(this,arguments)}finally{V=B}}}})(hf)),hf}var pr;function Fh(){return pr||(pr=1,mf.exports=$h()),mf.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 Er;function Ph(){if(Er)return Ou;Er=1;var f=Fh(),y=rh(),d=mh();function o(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)l+="&args[]="+encodeURIComponent(arguments[a])}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 g(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}var S=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),at=Symbol.for("react.provider"),V=Symbol.for("react.consumer"),C=Symbol.for("react.context"),Tt=Symbol.for("react.forward_ref"),Kt=Symbol.for("react.suspense"),cl=Symbol.for("react.suspense_list"),xt=Symbol.for("react.memo"),ht=Symbol.for("react.lazy"),Yt=Symbol.for("react.offscreen"),fl=Symbol.for("react.memo_cache_sentinel"),Tl=Symbol.iterator;function ft(t){return t===null||typeof t!="object"?null:(t=Tl&&t[Tl]||t["@@iterator"],typeof t=="function"?t:null)}var vl=Symbol.for("react.client.reference");function wl(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===vl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case R:return"Fragment";case D:return"Portal";case G:return"Profiler";case M:return"StrictMode";case Kt:return"Suspense";case cl:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case C:return(t.displayName||"Context")+".Provider";case V:return(t._context.displayName||"Context")+".Consumer";case Tt:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case xt:return l=t.displayName||null,l!==null?l:wl(t.type)||"Memo";case ht:l=t._payload,t=t._init;try{return wl(t(l))}catch{}}return null}var q=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=Object.assign,sl,Ue;function ya(t){if(sl===void 0)try{throw Error()}catch(a){var l=a.stack.trim().match(/\n( *(at )?)/);sl=l&&l[1]||"",Ue=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+sl+t+Ue}var ga=!1;function ba(t,l){if(!t||ga)return"";ga=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var e={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(p){var b=p}Reflect.construct(t,[],z)}else{try{z.call()}catch(p){b=p}t.call(z.prototype)}}else{try{throw Error()}catch(p){b=p}(z=t())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(p){if(p&&b&&typeof p.stack=="string")return[p.stack,b.stack]}return[null,null]}};e.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(e.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(e.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=e.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var s=i.split(`
`),m=c.split(`
`);for(u=e=0;e<s.length&&!s[e].includes("DetermineComponentFrameRoot");)e++;for(;u<m.length&&!m[u].includes("DetermineComponentFrameRoot");)u++;if(e===s.length||u===m.length)for(e=s.length-1,u=m.length-1;1<=e&&0<=u&&s[e]!==m[u];)u--;for(;1<=e&&0<=u;e--,u--)if(s[e]!==m[u]){if(e!==1||u!==1)do if(e--,u--,0>u||s[e]!==m[u]){var E=`
`+s[e].replace(" at new "," at ");return t.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",t.displayName)),E}while(1<=e&&0<=u);break}}}finally{ga=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?ya(a):""}function _(t){switch(t.tag){case 26:case 27:case 5:return ya(t.type);case 16:return ya("Lazy");case 13:return ya("Suspense");case 19:return ya("SuspenseList");case 0:case 15:return t=ba(t.type,!1),t;case 11:return t=ba(t.type.render,!1),t;case 1:return t=ba(t.type,!0),t;default:return""}}function Y(t){try{var l="";do l+=_(t),t=t.return;while(t);return l}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function B(t){var l=t,a=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(a=l.return),t=l.return;while(t)}return l.tag===3?a:null}function et(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 rt(t){if(B(t)!==t)throw Error(o(188))}function wa(t){var l=t.alternate;if(!l){if(l=B(t),l===null)throw Error(o(188));return l!==t?null:t}for(var a=t,e=l;;){var u=a.return;if(u===null)break;var n=u.alternate;if(n===null){if(e=u.return,e!==null){a=e;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===a)return rt(u),t;if(n===e)return rt(u),l;n=n.sibling}throw Error(o(188))}if(a.return!==e.return)a=u,e=n;else{for(var i=!1,c=u.child;c;){if(c===a){i=!0,a=u,e=n;break}if(c===e){i=!0,e=u,a=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===a){i=!0,a=n,e=u;break}if(c===e){i=!0,e=n,a=u;break}c=c.sibling}if(!i)throw Error(o(189))}}if(a.alternate!==e)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?t:l}function Sa(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=Sa(t),l!==null)return l;t=t.sibling}return null}var Dl=Array.isArray,J=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Jt={pending:!1,data:null,method:null,action:null},Pn=[],Ka=-1;function yl(t){return{current:t}}function pt(t){0>Ka||(t.current=Pn[Ka],Pn[Ka]=null,Ka--)}function ut(t,l){Ka++,Pn[Ka]=t.current,t.current=l}var gl=yl(null),He=yl(null),Kl=yl(null),Nu=yl(null);function Ru(t,l){switch(ut(Kl,l),ut(He,t),ut(gl,null),t=l.nodeType,t){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?Bd(l):0;break;default:if(t=t===8?l.parentNode:l,l=t.tagName,t=t.namespaceURI)t=Bd(t),l=jd(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}pt(gl),ut(gl,l)}function Ja(){pt(gl),pt(He),pt(Kl)}function In(t){t.memoizedState!==null&&ut(Nu,t);var l=gl.current,a=jd(l,t.type);l!==a&&(ut(He,t),ut(gl,a))}function Cu(t){He.current===t&&(pt(gl),pt(He)),Nu.current===t&&(pt(Nu),zu._currentValue=Jt)}var ti=Object.prototype.hasOwnProperty,li=f.unstable_scheduleCallback,ai=f.unstable_cancelCallback,Xr=f.unstable_shouldYield,Qr=f.unstable_requestPaint,bl=f.unstable_now,Zr=f.unstable_getCurrentPriorityLevel,Mf=f.unstable_ImmediatePriority,Tf=f.unstable_UserBlockingPriority,qu=f.unstable_NormalPriority,Lr=f.unstable_LowPriority,Df=f.unstable_IdlePriority,Vr=f.log,wr=f.unstable_setDisableYieldValue,Ne=null,Gt=null;function Kr(t){if(Gt&&typeof Gt.onCommitFiberRoot=="function")try{Gt.onCommitFiberRoot(Ne,t,void 0,(t.current.flags&128)===128)}catch{}}function Jl(t){if(typeof Vr=="function"&&wr(t),Gt&&typeof Gt.setStrictMode=="function")try{Gt.setStrictMode(Ne,t)}catch{}}var Xt=Math.clz32?Math.clz32:Wr,Jr=Math.log,kr=Math.LN2;function Wr(t){return t>>>=0,t===0?32:31-(Jr(t)/kr|0)|0}var Bu=128,ju=4194304;function pa(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:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;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 Yu(t,l){var a=t.pendingLanes;if(a===0)return 0;var e=0,u=t.suspendedLanes,n=t.pingedLanes,i=t.warmLanes;t=t.finishedLanes!==0;var c=a&134217727;return c!==0?(a=c&~u,a!==0?e=pa(a):(n&=c,n!==0?e=pa(n):t||(i=c&~i,i!==0&&(e=pa(i))))):(c=a&~u,c!==0?e=pa(c):n!==0?e=pa(n):t||(i=a&~i,i!==0&&(e=pa(i)))),e===0?0:l!==0&&l!==e&&(l&u)===0&&(u=e&-e,i=l&-l,u>=i||u===32&&(i&4194176)!==0)?l:e}function Re(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function $r(t,l){switch(t){case 1:case 2:case 4:case 8:return l+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 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 _f(){var t=Bu;return Bu<<=1,(Bu&4194176)===0&&(Bu=128),t}function Of(){var t=ju;return ju<<=1,(ju&62914560)===0&&(ju=4194304),t}function ei(t){for(var l=[],a=0;31>a;a++)l.push(t);return l}function Ce(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Fr(t,l,a,e,u,n){var i=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var c=t.entanglements,s=t.expirationTimes,m=t.hiddenUpdates;for(a=i&~a;0<a;){var E=31-Xt(a),z=1<<E;c[E]=0,s[E]=-1;var b=m[E];if(b!==null)for(m[E]=null,E=0;E<b.length;E++){var p=b[E];p!==null&&(p.lane&=-536870913)}a&=~z}e!==0&&xf(t,e,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(i&~l))}function xf(t,l,a){t.pendingLanes|=l,t.suspendedLanes&=~l;var e=31-Xt(l);t.entangledLanes|=l,t.entanglements[e]=t.entanglements[e]|1073741824|a&4194218}function Uf(t,l){var a=t.entangledLanes|=l;for(t=t.entanglements;a;){var e=31-Xt(a),u=1<<e;u&l|t[e]&l&&(t[e]|=l),a&=~u}}function Hf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Nf(){var t=J.p;return t!==0?t:(t=window.event,t===void 0?32:lr(t.type))}function Pr(t,l){var a=J.p;try{return J.p=t,l()}finally{J.p=a}}var kl=Math.random().toString(36).slice(2),Ut="__reactFiber$"+kl,Ct="__reactProps$"+kl,ka="__reactContainer$"+kl,ui="__reactEvents$"+kl,Ir="__reactListeners$"+kl,t0="__reactHandles$"+kl,Rf="__reactResources$"+kl,qe="__reactMarker$"+kl;function ni(t){delete t[Ut],delete t[Ct],delete t[ui],delete t[Ir],delete t[t0]}function Ea(t){var l=t[Ut];if(l)return l;for(var a=t.parentNode;a;){if(l=a[ka]||a[Ut]){if(a=l.alternate,l.child!==null||a!==null&&a.child!==null)for(t=Xd(t);t!==null;){if(a=t[Ut])return a;t=Xd(t)}return l}t=a,a=t.parentNode}return null}function Wa(t){if(t=t[Ut]||t[ka]){var l=t.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return t}return null}function Be(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(o(33))}function $a(t){var l=t[Rf];return l||(l=t[Rf]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Et(t){t[qe]=!0}var Cf=new Set,qf={};function Aa(t,l){Fa(t,l),Fa(t+"Capture",l)}function Fa(t,l){for(qf[t]=l,t=0;t<l.length;t++)Cf.add(l[t])}var _l=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l0=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]*$"),Bf={},jf={};function a0(t){return ti.call(jf,t)?!0:ti.call(Bf,t)?!1:l0.test(t)?jf[t]=!0:(Bf[t]=!0,!1)}function Gu(t,l,a){if(a0(l))if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var e=l.toLowerCase().slice(0,5);if(e!=="data-"&&e!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+a)}}function Xu(t,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+a)}}function Ol(t,l,a,e){if(e===null)t.removeAttribute(a);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(l,a,""+e)}}function kt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Yf(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function e0(t){var l=Yf(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l),e=""+t[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 Qu(t){t._valueTracker||(t._valueTracker=e0(t))}function Gf(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var a=l.getValue(),e="";return t&&(e=Yf(t)?t.checked?"true":"false":t.value),t=e,t!==a?(l.setValue(t),!0):!1}function Zu(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 u0=/[\n"\\]/g;function Wt(t){return t.replace(u0,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function ii(t,l,a,e,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=""+kt(l)):t.value!==""+kt(l)&&(t.value=""+kt(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?ci(t,i,kt(l)):a!=null?ci(t,i,kt(a)):e!=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=""+kt(c):t.removeAttribute("name")}function Xf(t,l,a,e,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),l!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||l!=null))return;a=a!=null?""+kt(a):"",l=l!=null?""+kt(l):a,c||l===t.value||(t.value=l),t.defaultValue=l}e=e??u,e=typeof e!="function"&&typeof e!="symbol"&&!!e,t.checked=c?t.checked:!!e,t.defaultChecked=!!e,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i)}function ci(t,l,a){l==="number"&&Zu(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Pa(t,l,a,e){if(t=t.options,l){l={};for(var u=0;u<a.length;u++)l["$"+a[u]]=!0;for(a=0;a<t.length;a++)u=l.hasOwnProperty("$"+t[a].value),t[a].selected!==u&&(t[a].selected=u),u&&e&&(t[a].defaultSelected=!0)}else{for(a=""+kt(a),l=null,u=0;u<t.length;u++){if(t[u].value===a){t[u].selected=!0,e&&(t[u].defaultSelected=!0);return}l!==null||t[u].disabled||(l=t[u])}l!==null&&(l.selected=!0)}}function Qf(t,l,a){if(l!=null&&(l=""+kt(l),l!==t.value&&(t.value=l),a==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=a!=null?""+kt(a):""}function Zf(t,l,a,e){if(l==null){if(e!=null){if(a!=null)throw Error(o(92));if(Dl(e)){if(1<e.length)throw Error(o(93));e=e[0]}a=e}a==null&&(a=""),l=a}a=kt(l),t.defaultValue=a,e=t.textContent,e===a&&e!==""&&e!==null&&(t.value=e)}function Ia(t,l){if(l){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=l;return}}t.textContent=l}var n0=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 Lf(t,l,a){var e=l.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?e?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":e?t.setProperty(l,a):typeof a!="number"||a===0||n0.has(l)?l==="float"?t.cssFloat=a:t[l]=(""+a).trim():t[l]=a+"px"}function Vf(t,l,a){if(l!=null&&typeof l!="object")throw Error(o(62));if(t=t.style,a!=null){for(var e in a)!a.hasOwnProperty(e)||l!=null&&l.hasOwnProperty(e)||(e.indexOf("--")===0?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="");for(var u in l)e=l[u],l.hasOwnProperty(u)&&a[u]!==e&&Lf(t,u,e)}else for(var n in l)l.hasOwnProperty(n)&&Lf(t,n,l[n])}function fi(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 i0=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"]]),c0=/^[\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 Lu(t){return c0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var si=null;function oi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var te=null,le=null;function wf(t){var l=Wa(t);if(l&&(t=l.stateNode)){var a=t[Ct]||null;t:switch(t=l.stateNode,l.type){case"input":if(ii(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),l=a.name,a.type==="radio"&&l!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Wt(""+l)+'"][type="radio"]'),l=0;l<a.length;l++){var e=a[l];if(e!==t&&e.form===t.form){var u=e[Ct]||null;if(!u)throw Error(o(90));ii(e,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(l=0;l<a.length;l++)e=a[l],e.form===t.form&&Gf(e)}break t;case"textarea":Qf(t,a.value,a.defaultValue);break t;case"select":l=a.value,l!=null&&Pa(t,!!a.multiple,l,!1)}}}var di=!1;function Kf(t,l,a){if(di)return t(l,a);di=!0;try{var e=t(l);return e}finally{if(di=!1,(te!==null||le!==null)&&(_n(),te&&(l=te,t=le,le=te=null,wf(l),t)))for(l=0;l<t.length;l++)wf(t[l])}}function je(t,l){var a=t.stateNode;if(a===null)return null;var e=a[Ct]||null;if(e===null)return null;a=e[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":(e=!e.disabled)||(t=t.type,e=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!e;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(o(231,l,typeof a));return a}var ri=!1;if(_l)try{var Ye={};Object.defineProperty(Ye,"passive",{get:function(){ri=!0}}),window.addEventListener("test",Ye,Ye),window.removeEventListener("test",Ye,Ye)}catch{ri=!1}var Wl=null,mi=null,Vu=null;function Jf(){if(Vu)return Vu;var t,l=mi,a=l.length,e,u="value"in Wl?Wl.value:Wl.textContent,n=u.length;for(t=0;t<a&&l[t]===u[t];t++);var i=a-t;for(e=1;e<=i&&l[a-e]===u[n-e];e++);return Vu=u.slice(t,1<e?1-e:void 0)}function wu(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 Ku(){return!0}function kf(){return!1}function qt(t){function l(a,e,u,n,i){this._reactName=a,this._targetInst=u,this.type=e,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(a=t[c],this[c]=a?a(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Ku:kf,this.isPropagationStopped=kf,this}return K(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ku)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ku)},persist:function(){},isPersistent:Ku}),l}var za={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ju=qt(za),Ge=K({},za,{view:0,detail:0}),f0=qt(Ge),hi,vi,Xe,ku=K({},Ge,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gi,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!==Xe&&(Xe&&t.type==="mousemove"?(hi=t.screenX-Xe.screenX,vi=t.screenY-Xe.screenY):vi=hi=0,Xe=t),hi)},movementY:function(t){return"movementY"in t?t.movementY:vi}}),Wf=qt(ku),s0=K({},ku,{dataTransfer:0}),o0=qt(s0),d0=K({},Ge,{relatedTarget:0}),yi=qt(d0),r0=K({},za,{animationName:0,elapsedTime:0,pseudoElement:0}),m0=qt(r0),h0=K({},za,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),v0=qt(h0),y0=K({},za,{data:0}),$f=qt(y0),g0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},b0={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"},S0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function p0(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=S0[t])?!!l[t]:!1}function gi(){return p0}var E0=K({},Ge,{key:function(t){if(t.key){var l=g0[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=wu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?b0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gi,charCode:function(t){return t.type==="keypress"?wu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?wu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),A0=qt(E0),z0=K({},ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ff=qt(z0),M0=K({},Ge,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gi}),T0=qt(M0),D0=K({},za,{propertyName:0,elapsedTime:0,pseudoElement:0}),_0=qt(D0),O0=K({},ku,{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}),x0=qt(O0),U0=K({},za,{newState:0,oldState:0}),H0=qt(U0),N0=[9,13,27,32],bi=_l&&"CompositionEvent"in window,Qe=null;_l&&"documentMode"in document&&(Qe=document.documentMode);var R0=_l&&"TextEvent"in window&&!Qe,Pf=_l&&(!bi||Qe&&8<Qe&&11>=Qe),If=" ",ts=!1;function ls(t,l){switch(t){case"keyup":return N0.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function as(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ae=!1;function C0(t,l){switch(t){case"compositionend":return as(l);case"keypress":return l.which!==32?null:(ts=!0,If);case"textInput":return t=l.data,t===If&&ts?null:t;default:return null}}function q0(t,l){if(ae)return t==="compositionend"||!bi&&ls(t,l)?(t=Jf(),Vu=mi=Wl=null,ae=!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 Pf&&l.locale!=="ko"?null:l.data;default:return null}}var B0={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"?!!B0[t.type]:l==="textarea"}function us(t,l,a,e){te?le?le.push(e):le=[e]:te=e,l=Nn(l,"onChange"),0<l.length&&(a=new Ju("onChange","change",null,a,e),t.push({event:a,listeners:l}))}var Ze=null,Le=null;function j0(t){Hd(t,0)}function Wu(t){var l=Be(t);if(Gf(l))return t}function ns(t,l){if(t==="change")return l}var is=!1;if(_l){var Si;if(_l){var pi="oninput"in document;if(!pi){var cs=document.createElement("div");cs.setAttribute("oninput","return;"),pi=typeof cs.oninput=="function"}Si=pi}else Si=!1;is=Si&&(!document.documentMode||9<document.documentMode)}function fs(){Ze&&(Ze.detachEvent("onpropertychange",ss),Le=Ze=null)}function ss(t){if(t.propertyName==="value"&&Wu(Le)){var l=[];us(l,Le,t,oi(t)),Kf(j0,l)}}function Y0(t,l,a){t==="focusin"?(fs(),Ze=l,Le=a,Ze.attachEvent("onpropertychange",ss)):t==="focusout"&&fs()}function G0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wu(Le)}function X0(t,l){if(t==="click")return Wu(l)}function Q0(t,l){if(t==="input"||t==="change")return Wu(l)}function Z0(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var Qt=typeof Object.is=="function"?Object.is:Z0;function Ve(t,l){if(Qt(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var a=Object.keys(t),e=Object.keys(l);if(a.length!==e.length)return!1;for(e=0;e<a.length;e++){var u=a[e];if(!ti.call(l,u)||!Qt(t[u],l[u]))return!1}return!0}function os(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ds(t,l){var a=os(t);t=0;for(var e;a;){if(a.nodeType===3){if(e=t+a.textContent.length,t<=l&&e>=l)return{node:a,offset:l-t};t=e}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=os(a)}}function rs(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?rs(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function ms(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Zu(t.document);l instanceof t.HTMLIFrameElement;){try{var a=typeof l.contentWindow.location.href=="string"}catch{a=!1}if(a)t=l.contentWindow;else break;l=Zu(t.document)}return l}function Ei(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")}function L0(t,l){var a=ms(l);l=t.focusedElem;var e=t.selectionRange;if(a!==l&&l&&l.ownerDocument&&rs(l.ownerDocument.documentElement,l)){if(e!==null&&Ei(l)){if(t=e.start,a=e.end,a===void 0&&(a=t),"selectionStart"in l)l.selectionStart=t,l.selectionEnd=Math.min(a,l.value.length);else if(a=(t=l.ownerDocument||document)&&t.defaultView||window,a.getSelection){a=a.getSelection();var u=l.textContent.length,n=Math.min(e.start,u);e=e.end===void 0?n:Math.min(e.end,u),!a.extend&&n>e&&(u=e,e=n,n=u),u=ds(l,n);var i=ds(l,e);u&&i&&(a.rangeCount!==1||a.anchorNode!==u.node||a.anchorOffset!==u.offset||a.focusNode!==i.node||a.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),a.removeAllRanges(),n>e?(a.addRange(t),a.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),a.addRange(t)))}}for(t=[],a=l;a=a.parentNode;)a.nodeType===1&&t.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<t.length;l++)a=t[l],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var V0=_l&&"documentMode"in document&&11>=document.documentMode,ee=null,Ai=null,we=null,zi=!1;function hs(t,l,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;zi||ee==null||ee!==Zu(e)||(e=ee,"selectionStart"in e&&Ei(e)?e={start:e.selectionStart,end:e.selectionEnd}:(e=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection(),e={anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}),we&&Ve(we,e)||(we=e,e=Nn(Ai,"onSelect"),0<e.length&&(l=new Ju("onSelect","select",null,l,a),t.push({event:l,listeners:e}),l.target=ee)))}function Ma(t,l){var a={};return a[t.toLowerCase()]=l.toLowerCase(),a["Webkit"+t]="webkit"+l,a["Moz"+t]="moz"+l,a}var ue={animationend:Ma("Animation","AnimationEnd"),animationiteration:Ma("Animation","AnimationIteration"),animationstart:Ma("Animation","AnimationStart"),transitionrun:Ma("Transition","TransitionRun"),transitionstart:Ma("Transition","TransitionStart"),transitioncancel:Ma("Transition","TransitionCancel"),transitionend:Ma("Transition","TransitionEnd")},Mi={},vs={};_l&&(vs=document.createElement("div").style,"AnimationEvent"in window||(delete ue.animationend.animation,delete ue.animationiteration.animation,delete ue.animationstart.animation),"TransitionEvent"in window||delete ue.transitionend.transition);function Ta(t){if(Mi[t])return Mi[t];if(!ue[t])return t;var l=ue[t],a;for(a in l)if(l.hasOwnProperty(a)&&a in vs)return Mi[t]=l[a];return t}var ys=Ta("animationend"),gs=Ta("animationiteration"),bs=Ta("animationstart"),w0=Ta("transitionrun"),K0=Ta("transitionstart"),J0=Ta("transitioncancel"),Ss=Ta("transitionend"),ps=new Map,Es="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 scrollEnd toggle touchMove waiting wheel".split(" ");function ol(t,l){ps.set(t,l),Aa(l,[t])}var $t=[],ne=0,Ti=0;function $u(){for(var t=ne,l=Ti=ne=0;l<t;){var a=$t[l];$t[l++]=null;var e=$t[l];$t[l++]=null;var u=$t[l];$t[l++]=null;var n=$t[l];if($t[l++]=null,e!==null&&u!==null){var i=e.pending;i===null?u.next=u:(u.next=i.next,i.next=u),e.pending=u}n!==0&&As(a,u,n)}}function Fu(t,l,a,e){$t[ne++]=t,$t[ne++]=l,$t[ne++]=a,$t[ne++]=e,Ti|=e,t.lanes|=e,t=t.alternate,t!==null&&(t.lanes|=e)}function Di(t,l,a,e){return Fu(t,l,a,e),Pu(t)}function $l(t,l){return Fu(t,null,null,l),Pu(t)}function As(t,l,a){t.lanes|=a;var e=t.alternate;e!==null&&(e.lanes|=a);for(var u=!1,n=t.return;n!==null;)n.childLanes|=a,e=n.alternate,e!==null&&(e.childLanes|=a),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(u=!0)),t=n,n=n.return;u&&l!==null&&t.tag===3&&(n=t.stateNode,u=31-Xt(a),n=n.hiddenUpdates,t=n[u],t===null?n[u]=[l]:t.push(l),l.lane=a|536870912)}function Pu(t){if(50<yu)throw yu=0,Nc=null,Error(o(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var ie={},zs=new WeakMap;function Ft(t,l){if(typeof t=="object"&&t!==null){var a=zs.get(t);return a!==void 0?a:(l={value:t,source:l,stack:Y(l)},zs.set(t,l),l)}return{value:t,source:l,stack:Y(l)}}var ce=[],fe=0,Iu=null,tn=0,Pt=[],It=0,Da=null,xl=1,Ul="";function _a(t,l){ce[fe++]=tn,ce[fe++]=Iu,Iu=t,tn=l}function Ms(t,l,a){Pt[It++]=xl,Pt[It++]=Ul,Pt[It++]=Da,Da=t;var e=xl;t=Ul;var u=32-Xt(e)-1;e&=~(1<<u),a+=1;var n=32-Xt(l)+u;if(30<n){var i=u-u%5;n=(e&(1<<i)-1).toString(32),e>>=i,u-=i,xl=1<<32-Xt(l)+u|a<<u|e,Ul=n+t}else xl=1<<n|a<<u|e,Ul=t}function _i(t){t.return!==null&&(_a(t,1),Ms(t,1,0))}function Oi(t){for(;t===Iu;)Iu=ce[--fe],ce[fe]=null,tn=ce[--fe],ce[fe]=null;for(;t===Da;)Da=Pt[--It],Pt[It]=null,Ul=Pt[--It],Pt[It]=null,xl=Pt[--It],Pt[It]=null}var Nt=null,Dt=null,k=!1,dl=null,Sl=!1,xi=Error(o(519));function Oa(t){var l=Error(o(418,""));throw ke(Ft(l,t)),xi}function Ts(t){var l=t.stateNode,a=t.type,e=t.memoizedProps;switch(l[Ut]=t,l[Ct]=e,a){case"dialog":L("cancel",l),L("close",l);break;case"iframe":case"object":case"embed":L("load",l);break;case"video":case"audio":for(a=0;a<bu.length;a++)L(bu[a],l);break;case"source":L("error",l);break;case"img":case"image":case"link":L("error",l),L("load",l);break;case"details":L("toggle",l);break;case"input":L("invalid",l),Xf(l,e.value,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name,!0),Qu(l);break;case"select":L("invalid",l);break;case"textarea":L("invalid",l),Zf(l,e.value,e.defaultValue,e.children),Qu(l)}a=e.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||l.textContent===""+a||e.suppressHydrationWarning===!0||qd(l.textContent,a)?(e.popover!=null&&(L("beforetoggle",l),L("toggle",l)),e.onScroll!=null&&L("scroll",l),e.onScrollEnd!=null&&L("scrollend",l),e.onClick!=null&&(l.onclick=Rn),l=!0):l=!1,l||Oa(t)}function Ds(t){for(Nt=t.return;Nt;)switch(Nt.tag){case 3:case 27:Sl=!0;return;case 5:case 13:Sl=!1;return;default:Nt=Nt.return}}function Ke(t){if(t!==Nt)return!1;if(!k)return Ds(t),k=!0,!1;var l=!1,a;if((a=t.tag!==3&&t.tag!==27)&&((a=t.tag===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Wc(t.type,t.memoizedProps)),a=!a),a&&(l=!0),l&&Dt&&Oa(t),Ds(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));t:{for(t=t.nextSibling,l=0;t;){if(t.nodeType===8)if(a=t.data,a==="/$"){if(l===0){Dt=ml(t.nextSibling);break t}l--}else a!=="$"&&a!=="$!"&&a!=="$?"||l++;t=t.nextSibling}Dt=null}}else Dt=Nt?ml(t.stateNode.nextSibling):null;return!0}function Je(){Dt=Nt=null,k=!1}function ke(t){dl===null?dl=[t]:dl.push(t)}var We=Error(o(460)),_s=Error(o(474)),Ui={then:function(){}};function Os(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ln(){}function xs(t,l,a){switch(a=t[a],a===void 0?t.push(l):a!==l&&(l.then(ln,ln),l=a),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,t===We?Error(o(483)):t;default:if(typeof l.status=="string")l.then(ln,ln);else{if(t=tt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=l,t.status="pending",t.then(function(e){if(l.status==="pending"){var u=l;u.status="fulfilled",u.value=e}},function(e){if(l.status==="pending"){var u=l;u.status="rejected",u.reason=e}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,t===We?Error(o(483)):t}throw $e=l,We}}var $e=null;function Us(){if($e===null)throw Error(o(459));var t=$e;return $e=null,t}var se=null,Fe=0;function an(t){var l=Fe;return Fe+=1,se===null&&(se=[]),xs(se,t,l)}function Pe(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function en(t,l){throw l.$$typeof===S?Error(o(525)):(t=Object.prototype.toString.call(l),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function Hs(t){var l=t._init;return l(t._payload)}function Ns(t){function l(h,r){if(t){var v=h.deletions;v===null?(h.deletions=[r],h.flags|=16):v.push(r)}}function a(h,r){if(!t)return null;for(;r!==null;)l(h,r),r=r.sibling;return null}function e(h){for(var r=new Map;h!==null;)h.key!==null?r.set(h.key,h):r.set(h.index,h),h=h.sibling;return r}function u(h,r){return h=fa(h,r),h.index=0,h.sibling=null,h}function n(h,r,v){return h.index=v,t?(v=h.alternate,v!==null?(v=v.index,v<r?(h.flags|=33554434,r):v):(h.flags|=33554434,r)):(h.flags|=1048576,r)}function i(h){return t&&h.alternate===null&&(h.flags|=33554434),h}function c(h,r,v,A){return r===null||r.tag!==6?(r=Mc(v,h.mode,A),r.return=h,r):(r=u(r,v),r.return=h,r)}function s(h,r,v,A){var O=v.type;return O===R?E(h,r,v.props.children,A,v.key):r!==null&&(r.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===ht&&Hs(O)===r.type)?(r=u(r,v.props),Pe(r,v),r.return=h,r):(r=An(v.type,v.key,v.props,null,h.mode,A),Pe(r,v),r.return=h,r)}function m(h,r,v,A){return r===null||r.tag!==4||r.stateNode.containerInfo!==v.containerInfo||r.stateNode.implementation!==v.implementation?(r=Tc(v,h.mode,A),r.return=h,r):(r=u(r,v.children||[]),r.return=h,r)}function E(h,r,v,A,O){return r===null||r.tag!==7?(r=Ya(v,h.mode,A,O),r.return=h,r):(r=u(r,v),r.return=h,r)}function z(h,r,v){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Mc(""+r,h.mode,v),r.return=h,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case T:return v=An(r.type,r.key,r.props,null,h.mode,v),Pe(v,r),v.return=h,v;case D:return r=Tc(r,h.mode,v),r.return=h,r;case ht:var A=r._init;return r=A(r._payload),z(h,r,v)}if(Dl(r)||ft(r))return r=Ya(r,h.mode,v,null),r.return=h,r;if(typeof r.then=="function")return z(h,an(r),v);if(r.$$typeof===C)return z(h,Sn(h,r),v);en(h,r)}return null}function b(h,r,v,A){var O=r!==null?r.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return O!==null?null:c(h,r,""+v,A);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case T:return v.key===O?s(h,r,v,A):null;case D:return v.key===O?m(h,r,v,A):null;case ht:return O=v._init,v=O(v._payload),b(h,r,v,A)}if(Dl(v)||ft(v))return O!==null?null:E(h,r,v,A,null);if(typeof v.then=="function")return b(h,r,an(v),A);if(v.$$typeof===C)return b(h,r,Sn(h,v),A);en(h,v)}return null}function p(h,r,v,A,O){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return h=h.get(v)||null,c(r,h,""+A,O);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case T:return h=h.get(A.key===null?v:A.key)||null,s(r,h,A,O);case D:return h=h.get(A.key===null?v:A.key)||null,m(r,h,A,O);case ht:var Q=A._init;return A=Q(A._payload),p(h,r,v,A,O)}if(Dl(A)||ft(A))return h=h.get(v)||null,E(r,h,A,O,null);if(typeof A.then=="function")return p(h,r,v,an(A),O);if(A.$$typeof===C)return p(h,r,v,Sn(r,A),O);en(r,A)}return null}function x(h,r,v,A){for(var O=null,Q=null,U=r,N=r=0,Mt=null;U!==null&&N<v.length;N++){U.index>N?(Mt=U,U=null):Mt=U.sibling;var W=b(h,U,v[N],A);if(W===null){U===null&&(U=Mt);break}t&&U&&W.alternate===null&&l(h,U),r=n(W,r,N),Q===null?O=W:Q.sibling=W,Q=W,U=Mt}if(N===v.length)return a(h,U),k&&_a(h,N),O;if(U===null){for(;N<v.length;N++)U=z(h,v[N],A),U!==null&&(r=n(U,r,N),Q===null?O=U:Q.sibling=U,Q=U);return k&&_a(h,N),O}for(U=e(U);N<v.length;N++)Mt=p(U,h,N,v[N],A),Mt!==null&&(t&&Mt.alternate!==null&&U.delete(Mt.key===null?N:Mt.key),r=n(Mt,r,N),Q===null?O=Mt:Q.sibling=Mt,Q=Mt);return t&&U.forEach(function(va){return l(h,va)}),k&&_a(h,N),O}function j(h,r,v,A){if(v==null)throw Error(o(151));for(var O=null,Q=null,U=r,N=r=0,Mt=null,W=v.next();U!==null&&!W.done;N++,W=v.next()){U.index>N?(Mt=U,U=null):Mt=U.sibling;var va=b(h,U,W.value,A);if(va===null){U===null&&(U=Mt);break}t&&U&&va.alternate===null&&l(h,U),r=n(va,r,N),Q===null?O=va:Q.sibling=va,Q=va,U=Mt}if(W.done)return a(h,U),k&&_a(h,N),O;if(U===null){for(;!W.done;N++,W=v.next())W=z(h,W.value,A),W!==null&&(r=n(W,r,N),Q===null?O=W:Q.sibling=W,Q=W);return k&&_a(h,N),O}for(U=e(U);!W.done;N++,W=v.next())W=p(U,h,N,W.value,A),W!==null&&(t&&W.alternate!==null&&U.delete(W.key===null?N:W.key),r=n(W,r,N),Q===null?O=W:Q.sibling=W,Q=W);return t&&U.forEach(function(ch){return l(h,ch)}),k&&_a(h,N),O}function dt(h,r,v,A){if(typeof v=="object"&&v!==null&&v.type===R&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case T:t:{for(var O=v.key;r!==null;){if(r.key===O){if(O=v.type,O===R){if(r.tag===7){a(h,r.sibling),A=u(r,v.props.children),A.return=h,h=A;break t}}else if(r.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===ht&&Hs(O)===r.type){a(h,r.sibling),A=u(r,v.props),Pe(A,v),A.return=h,h=A;break t}a(h,r);break}else l(h,r);r=r.sibling}v.type===R?(A=Ya(v.props.children,h.mode,A,v.key),A.return=h,h=A):(A=An(v.type,v.key,v.props,null,h.mode,A),Pe(A,v),A.return=h,h=A)}return i(h);case D:t:{for(O=v.key;r!==null;){if(r.key===O)if(r.tag===4&&r.stateNode.containerInfo===v.containerInfo&&r.stateNode.implementation===v.implementation){a(h,r.sibling),A=u(r,v.children||[]),A.return=h,h=A;break t}else{a(h,r);break}else l(h,r);r=r.sibling}A=Tc(v,h.mode,A),A.return=h,h=A}return i(h);case ht:return O=v._init,v=O(v._payload),dt(h,r,v,A)}if(Dl(v))return x(h,r,v,A);if(ft(v)){if(O=ft(v),typeof O!="function")throw Error(o(150));return v=O.call(v),j(h,r,v,A)}if(typeof v.then=="function")return dt(h,r,an(v),A);if(v.$$typeof===C)return dt(h,r,Sn(h,v),A);en(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,r!==null&&r.tag===6?(a(h,r.sibling),A=u(r,v),A.return=h,h=A):(a(h,r),A=Mc(v,h.mode,A),A.return=h,h=A),i(h)):a(h,r)}return function(h,r,v,A){try{Fe=0;var O=dt(h,r,v,A);return se=null,O}catch(U){if(U===We)throw U;var Q=el(29,U,null,h.mode);return Q.lanes=A,Q.return=h,Q}finally{}}}var xa=Ns(!0),Rs=Ns(!1),oe=yl(null),un=yl(0);function Cs(t,l){t=Ql,ut(un,t),ut(oe,l),Ql=t|l.baseLanes}function Hi(){ut(un,Ql),ut(oe,oe.current)}function Ni(){Ql=un.current,pt(oe),pt(un)}var tl=yl(null),pl=null;function Fl(t){var l=t.alternate;ut(bt,bt.current&1),ut(tl,t),pl===null&&(l===null||oe.current!==null||l.memoizedState!==null)&&(pl=t)}function qs(t){if(t.tag===22){if(ut(bt,bt.current),ut(tl,t),pl===null){var l=t.alternate;l!==null&&l.memoizedState!==null&&(pl=t)}}else Pl()}function Pl(){ut(bt,bt.current),ut(tl,tl.current)}function Hl(t){pt(tl),pl===t&&(pl=null),pt(bt)}var bt=yl(0);function nn(t){for(var l=t;l!==null;){if(l.tag===13){var a=l.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){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 k0=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(a,e){t.push(e)}};this.abort=function(){l.aborted=!0,t.forEach(function(a){return a()})}},W0=f.unstable_scheduleCallback,$0=f.unstable_NormalPriority,St={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ri(){return{controller:new k0,data:new Map,refCount:0}}function Ie(t){t.refCount--,t.refCount===0&&W0($0,function(){t.controller.abort()})}var tu=null,Ci=0,de=0,re=null;function F0(t,l){if(tu===null){var a=tu=[];Ci=0,de=Xc(),re={status:"pending",value:void 0,then:function(e){a.push(e)}}}return Ci++,l.then(Bs,Bs),l}function Bs(){if(--Ci===0&&tu!==null){re!==null&&(re.status="fulfilled");var t=tu;tu=null,de=0,re=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function P0(t,l){var a=[],e={status:"pending",value:null,reason:null,then:function(u){a.push(u)}};return t.then(function(){e.status="fulfilled",e.value=l;for(var u=0;u<a.length;u++)(0,a[u])(l)},function(u){for(e.status="rejected",e.reason=u,u=0;u<a.length;u++)(0,a[u])(void 0)}),e}var js=q.S;q.S=function(t,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&F0(t,l),js!==null&&js(t,l)};var Ua=yl(null);function qi(){var t=Ua.current;return t!==null?t:tt.pooledCache}function cn(t,l){l===null?ut(Ua,Ua.current):ut(Ua,l.pool)}function Ys(){var t=qi();return t===null?null:{parent:St._currentValue,pool:t}}var Il=0,X=null,$=null,vt=null,fn=!1,me=!1,Ha=!1,sn=0,lu=0,he=null,I0=0;function mt(){throw Error(o(321))}function Bi(t,l){if(l===null)return!1;for(var a=0;a<l.length&&a<t.length;a++)if(!Qt(t[a],l[a]))return!1;return!0}function ji(t,l,a,e,u,n){return Il=n,X=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,q.H=t===null||t.memoizedState===null?Na:ta,Ha=!1,n=a(e,u),Ha=!1,me&&(n=Xs(l,a,e,u)),Gs(t),n}function Gs(t){q.H=El;var l=$!==null&&$.next!==null;if(Il=0,vt=$=X=null,fn=!1,lu=0,he=null,l)throw Error(o(300));t===null||At||(t=t.dependencies,t!==null&&bn(t)&&(At=!0))}function Xs(t,l,a,e){X=t;var u=0;do{if(me&&(he=null),lu=0,me=!1,25<=u)throw Error(o(301));if(u+=1,vt=$=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}q.H=Ra,n=l(a,e)}while(me);return n}function tm(){var t=q.H,l=t.useState()[0];return l=typeof l.then=="function"?au(l):l,t=t.useState()[0],($!==null?$.memoizedState:null)!==t&&(X.flags|=1024),l}function Yi(){var t=sn!==0;return sn=0,t}function Gi(t,l,a){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~a}function Xi(t){if(fn){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}fn=!1}Il=0,vt=$=X=null,me=!1,lu=sn=0,he=null}function Bt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vt===null?X.memoizedState=vt=t:vt=vt.next=t,vt}function yt(){if($===null){var t=X.alternate;t=t!==null?t.memoizedState:null}else t=$.next;var l=vt===null?X.memoizedState:vt.next;if(l!==null)vt=l,$=t;else{if(t===null)throw X.alternate===null?Error(o(467)):Error(o(310));$=t,t={memoizedState:$.memoizedState,baseState:$.baseState,baseQueue:$.baseQueue,queue:$.queue,next:null},vt===null?X.memoizedState=vt=t:vt=vt.next=t}return vt}var on;on=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function au(t){var l=lu;return lu+=1,he===null&&(he=[]),t=xs(he,t,l),l=X,(vt===null?l.memoizedState:vt.next)===null&&(l=l.alternate,q.H=l===null||l.memoizedState===null?Na:ta),t}function dn(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return au(t);if(t.$$typeof===C)return Ht(t)}throw Error(o(438,String(t)))}function Qi(t){var l=null,a=X.updateQueue;if(a!==null&&(l=a.memoCache),l==null){var e=X.alternate;e!==null&&(e=e.updateQueue,e!==null&&(e=e.memoCache,e!=null&&(l={data:e.data.map(function(u){return u.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),a===null&&(a=on(),X.updateQueue=a),a.memoCache=l,a=l.data[l.index],a===void 0)for(a=l.data[l.index]=Array(t),e=0;e<t;e++)a[e]=fl;return l.index++,a}function Nl(t,l){return typeof l=="function"?l(t):l}function rn(t){var l=yt();return Zi(l,$,t)}function Zi(t,l,a){var e=t.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=a;var u=t.baseQueue,n=e.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}l.baseQueue=u=n,e.pending=null}if(n=t.baseState,u===null)t.memoizedState=n;else{l=u.next;var c=i=null,s=null,m=l,E=!1;do{var z=m.lane&-536870913;if(z!==m.lane?(w&z)===z:(Il&z)===z){var b=m.revertLane;if(b===0)s!==null&&(s=s.next={lane:0,revertLane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),z===de&&(E=!0);else if((Il&b)===b){m=m.next,b===de&&(E=!0);continue}else z={lane:0,revertLane:m.revertLane,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null},s===null?(c=s=z,i=n):s=s.next=z,X.lanes|=b,sa|=b;z=m.action,Ha&&a(n,z),n=m.hasEagerState?m.eagerState:a(n,z)}else b={lane:z,revertLane:m.revertLane,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null},s===null?(c=s=b,i=n):s=s.next=b,X.lanes|=z,sa|=z;m=m.next}while(m!==null&&m!==l);if(s===null?i=n:s.next=c,!Qt(n,t.memoizedState)&&(At=!0,E&&(a=re,a!==null)))throw a;t.memoizedState=n,t.baseState=i,t.baseQueue=s,e.lastRenderedState=n}return u===null&&(e.lanes=0),[t.memoizedState,e.dispatch]}function Li(t){var l=yt(),a=l.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=t;var e=a.dispatch,u=a.pending,n=l.memoizedState;if(u!==null){a.pending=null;var i=u=u.next;do n=t(n,i.action),i=i.next;while(i!==u);Qt(n,l.memoizedState)||(At=!0),l.memoizedState=n,l.baseQueue===null&&(l.baseState=n),a.lastRenderedState=n}return[n,e]}function Qs(t,l,a){var e=X,u=yt(),n=k;if(n){if(a===void 0)throw Error(o(407));a=a()}else a=l();var i=!Qt(($||u).memoizedState,a);if(i&&(u.memoizedState=a,At=!0),u=u.queue,Ki(Vs.bind(null,e,u,t),[t]),u.getSnapshot!==l||i||vt!==null&&vt.memoizedState.tag&1){if(e.flags|=2048,ve(9,Ls.bind(null,e,u,a,l),{destroy:void 0},null),tt===null)throw Error(o(349));n||(Il&60)!==0||Zs(e,l,a)}return a}function Zs(t,l,a){t.flags|=16384,t={getSnapshot:l,value:a},l=X.updateQueue,l===null?(l=on(),X.updateQueue=l,l.stores=[t]):(a=l.stores,a===null?l.stores=[t]:a.push(t))}function Ls(t,l,a,e){l.value=a,l.getSnapshot=e,ws(l)&&Ks(t)}function Vs(t,l,a){return a(function(){ws(l)&&Ks(t)})}function ws(t){var l=t.getSnapshot;t=t.value;try{var a=l();return!Qt(t,a)}catch{return!0}}function Ks(t){var l=$l(t,2);l!==null&&Rt(l,t,2)}function Vi(t){var l=Bt();if(typeof t=="function"){var a=t;if(t=a(),Ha){Jl(!0);try{a()}finally{Jl(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nl,lastRenderedState:t},l}function Js(t,l,a,e){return t.baseState=a,Zi(t,$,typeof e=="function"?e:Nl)}function lm(t,l,a,e,u){if(vn(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)}};q.T!==null?a(!0):n.isTransition=!1,e(n),a=l.pending,a===null?(n.next=l.pending=n,ks(l,n)):(n.next=a.next,l.pending=a.next=n)}}function ks(t,l){var a=l.action,e=l.payload,u=t.state;if(l.isTransition){var n=q.T,i={};q.T=i;try{var c=a(u,e),s=q.S;s!==null&&s(i,c),Ws(t,l,c)}catch(m){wi(t,l,m)}finally{q.T=n}}else try{n=a(u,e),Ws(t,l,n)}catch(m){wi(t,l,m)}}function Ws(t,l,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(e){$s(t,l,e)},function(e){return wi(t,l,e)}):$s(t,l,a)}function $s(t,l,a){l.status="fulfilled",l.value=a,Fs(l),t.state=a,l=t.pending,l!==null&&(a=l.next,a===l?t.pending=null:(a=a.next,l.next=a,ks(t,a)))}function wi(t,l,a){var e=t.pending;if(t.pending=null,e!==null){e=e.next;do l.status="rejected",l.reason=a,Fs(l),l=l.next;while(l!==e)}t.action=null}function Fs(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function Ps(t,l){return l}function Is(t,l){if(k){var a=tt.formState;if(a!==null){t:{var e=X;if(k){if(Dt){l:{for(var u=Dt,n=Sl;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){Dt=ml(u.nextSibling),e=u.data==="F!";break t}}Oa(e)}e=!1}e&&(l=a[0])}}return a=Bt(),a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ps,lastRenderedState:l},a.queue=e,a=bo.bind(null,X,e),e.dispatch=a,e=Vi(!1),n=Fi.bind(null,X,!1,e.queue),e=Bt(),u={state:l,dispatch:null,action:t,pending:null},e.queue=u,a=lm.bind(null,X,u,n,a),u.dispatch=a,e.memoizedState=t,[l,a,!1]}function to(t){var l=yt();return lo(l,$,t)}function lo(t,l,a){l=Zi(t,l,Ps)[0],t=rn(Nl)[0],l=typeof l=="object"&&l!==null&&typeof l.then=="function"?au(l):l;var e=yt(),u=e.queue,n=u.dispatch;return a!==e.memoizedState&&(X.flags|=2048,ve(9,am.bind(null,u,a),{destroy:void 0},null)),[l,n,t]}function am(t,l){t.action=l}function ao(t){var l=yt(),a=$;if(a!==null)return lo(l,a,t);yt(),l=l.memoizedState,a=yt();var e=a.queue.dispatch;return a.memoizedState=t,[l,e,!1]}function ve(t,l,a,e){return t={tag:t,create:l,inst:a,deps:e,next:null},l=X.updateQueue,l===null&&(l=on(),X.updateQueue=l),a=l.lastEffect,a===null?l.lastEffect=t.next=t:(e=a.next,a.next=t,t.next=e,l.lastEffect=t),t}function eo(){return yt().memoizedState}function mn(t,l,a,e){var u=Bt();X.flags|=t,u.memoizedState=ve(1|l,a,{destroy:void 0},e===void 0?null:e)}function hn(t,l,a,e){var u=yt();e=e===void 0?null:e;var n=u.memoizedState.inst;$!==null&&e!==null&&Bi(e,$.memoizedState.deps)?u.memoizedState=ve(l,a,n,e):(X.flags|=t,u.memoizedState=ve(1|l,a,n,e))}function uo(t,l){mn(8390656,8,t,l)}function Ki(t,l){hn(2048,8,t,l)}function no(t,l){return hn(4,2,t,l)}function io(t,l){return hn(4,4,t,l)}function co(t,l){if(typeof l=="function"){t=t();var a=l(t);return function(){typeof a=="function"?a():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function fo(t,l,a){a=a!=null?a.concat([t]):null,hn(4,4,co.bind(null,l,t),a)}function Ji(){}function so(t,l){var a=yt();l=l===void 0?null:l;var e=a.memoizedState;return l!==null&&Bi(l,e[1])?e[0]:(a.memoizedState=[t,l],t)}function oo(t,l){var a=yt();l=l===void 0?null:l;var e=a.memoizedState;if(l!==null&&Bi(l,e[1]))return e[0];if(e=t(),Ha){Jl(!0);try{t()}finally{Jl(!1)}}return a.memoizedState=[e,l],e}function ki(t,l,a){return a===void 0||(Il&1073741824)!==0?t.memoizedState=l:(t.memoizedState=a,t=md(),X.lanes|=t,sa|=t,a)}function ro(t,l,a,e){return Qt(a,l)?a:oe.current!==null?(t=ki(t,a,e),Qt(t,l)||(At=!0),t):(Il&42)===0?(At=!0,t.memoizedState=a):(t=md(),X.lanes|=t,sa|=t,l)}function mo(t,l,a,e,u){var n=J.p;J.p=n!==0&&8>n?n:8;var i=q.T,c={};q.T=c,Fi(t,!1,l,a);try{var s=u(),m=q.S;if(m!==null&&m(c,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var E=P0(s,e);eu(t,l,E,wt(t))}else eu(t,l,e,wt(t))}catch(z){eu(t,l,{then:function(){},status:"rejected",reason:z},wt())}finally{J.p=n,q.T=i}}function em(){}function Wi(t,l,a,e){if(t.tag!==5)throw Error(o(476));var u=ho(t).queue;mo(t,u,l,Jt,a===null?em:function(){return vo(t),a(e)})}function ho(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:Jt,baseState:Jt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nl,lastRenderedState:Jt},next:null};var a={};return l.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nl,lastRenderedState:a},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function vo(t){var l=ho(t).next.queue;eu(t,l,{},wt())}function $i(){return Ht(zu)}function yo(){return yt().memoizedState}function go(){return yt().memoizedState}function um(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var a=wt();t=ea(a);var e=ua(l,t,a);e!==null&&(Rt(e,l,a),iu(e,l,a)),l={cache:Ri()},t.payload=l;return}l=l.return}}function nm(t,l,a){var e=wt();a={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},vn(t)?So(l,a):(a=Di(t,l,a,e),a!==null&&(Rt(a,t,e),po(a,l,e)))}function bo(t,l,a){var e=wt();eu(t,l,a,e)}function eu(t,l,a,e){var u={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(vn(t))So(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,a);if(u.hasEagerState=!0,u.eagerState=c,Qt(c,i))return Fu(t,l,u,0),tt===null&&$u(),!1}catch{}finally{}if(a=Di(t,l,u,e),a!==null)return Rt(a,t,e),po(a,l,e),!0}return!1}function Fi(t,l,a,e){if(e={lane:2,revertLane:Xc(),action:e,hasEagerState:!1,eagerState:null,next:null},vn(t)){if(l)throw Error(o(479))}else l=Di(t,a,e,2),l!==null&&Rt(l,t,2)}function vn(t){var l=t.alternate;return t===X||l!==null&&l===X}function So(t,l){me=fn=!0;var a=t.pending;a===null?l.next=l:(l.next=a.next,a.next=l),t.pending=l}function po(t,l,a){if((a&4194176)!==0){var e=l.lanes;e&=t.pendingLanes,a|=e,l.lanes=a,Uf(t,a)}}var El={readContext:Ht,use:dn,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useLayoutEffect:mt,useInsertionEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useSyncExternalStore:mt,useId:mt};El.useCacheRefresh=mt,El.useMemoCache=mt,El.useHostTransitionStatus=mt,El.useFormState=mt,El.useActionState=mt,El.useOptimistic=mt;var Na={readContext:Ht,use:dn,useCallback:function(t,l){return Bt().memoizedState=[t,l===void 0?null:l],t},useContext:Ht,useEffect:uo,useImperativeHandle:function(t,l,a){a=a!=null?a.concat([t]):null,mn(4194308,4,co.bind(null,l,t),a)},useLayoutEffect:function(t,l){return mn(4194308,4,t,l)},useInsertionEffect:function(t,l){mn(4,2,t,l)},useMemo:function(t,l){var a=Bt();l=l===void 0?null:l;var e=t();if(Ha){Jl(!0);try{t()}finally{Jl(!1)}}return a.memoizedState=[e,l],e},useReducer:function(t,l,a){var e=Bt();if(a!==void 0){var u=a(l);if(Ha){Jl(!0);try{a(l)}finally{Jl(!1)}}}else u=l;return e.memoizedState=e.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},e.queue=t,t=t.dispatch=nm.bind(null,X,t),[e.memoizedState,t]},useRef:function(t){var l=Bt();return t={current:t},l.memoizedState=t},useState:function(t){t=Vi(t);var l=t.queue,a=bo.bind(null,X,l);return l.dispatch=a,[t.memoizedState,a]},useDebugValue:Ji,useDeferredValue:function(t,l){var a=Bt();return ki(a,t,l)},useTransition:function(){var t=Vi(!1);return t=mo.bind(null,X,t.queue,!0,!1),Bt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,a){var e=X,u=Bt();if(k){if(a===void 0)throw Error(o(407));a=a()}else{if(a=l(),tt===null)throw Error(o(349));(w&60)!==0||Zs(e,l,a)}u.memoizedState=a;var n={value:a,getSnapshot:l};return u.queue=n,uo(Vs.bind(null,e,n,t),[t]),e.flags|=2048,ve(9,Ls.bind(null,e,n,a,l),{destroy:void 0},null),a},useId:function(){var t=Bt(),l=tt.identifierPrefix;if(k){var a=Ul,e=xl;a=(e&~(1<<32-Xt(e)-1)).toString(32)+a,l=":"+l+"R"+a,a=sn++,0<a&&(l+="H"+a.toString(32)),l+=":"}else a=I0++,l=":"+l+"r"+a.toString(32)+":";return t.memoizedState=l},useCacheRefresh:function(){return Bt().memoizedState=um.bind(null,X)}};Na.useMemoCache=Qi,Na.useHostTransitionStatus=$i,Na.useFormState=Is,Na.useActionState=Is,Na.useOptimistic=function(t){var l=Bt();l.memoizedState=l.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=a,l=Fi.bind(null,X,!0,a),a.dispatch=l,[t,l]};var ta={readContext:Ht,use:dn,useCallback:so,useContext:Ht,useEffect:Ki,useImperativeHandle:fo,useInsertionEffect:no,useLayoutEffect:io,useMemo:oo,useReducer:rn,useRef:eo,useState:function(){return rn(Nl)},useDebugValue:Ji,useDeferredValue:function(t,l){var a=yt();return ro(a,$.memoizedState,t,l)},useTransition:function(){var t=rn(Nl)[0],l=yt().memoizedState;return[typeof t=="boolean"?t:au(t),l]},useSyncExternalStore:Qs,useId:yo};ta.useCacheRefresh=go,ta.useMemoCache=Qi,ta.useHostTransitionStatus=$i,ta.useFormState=to,ta.useActionState=to,ta.useOptimistic=function(t,l){var a=yt();return Js(a,$,t,l)};var Ra={readContext:Ht,use:dn,useCallback:so,useContext:Ht,useEffect:Ki,useImperativeHandle:fo,useInsertionEffect:no,useLayoutEffect:io,useMemo:oo,useReducer:Li,useRef:eo,useState:function(){return Li(Nl)},useDebugValue:Ji,useDeferredValue:function(t,l){var a=yt();return $===null?ki(a,t,l):ro(a,$.memoizedState,t,l)},useTransition:function(){var t=Li(Nl)[0],l=yt().memoizedState;return[typeof t=="boolean"?t:au(t),l]},useSyncExternalStore:Qs,useId:yo};Ra.useCacheRefresh=go,Ra.useMemoCache=Qi,Ra.useHostTransitionStatus=$i,Ra.useFormState=ao,Ra.useActionState=ao,Ra.useOptimistic=function(t,l){var a=yt();return $!==null?Js(a,$,t,l):(a.baseState=t,[t,a.queue.dispatch])};function Pi(t,l,a,e){l=t.memoizedState,a=a(e,l),a=a==null?l:K({},l,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Ii={isMounted:function(t){return(t=t._reactInternals)?B(t)===t:!1},enqueueSetState:function(t,l,a){t=t._reactInternals;var e=wt(),u=ea(e);u.payload=l,a!=null&&(u.callback=a),l=ua(t,u,e),l!==null&&(Rt(l,t,e),iu(l,t,e))},enqueueReplaceState:function(t,l,a){t=t._reactInternals;var e=wt(),u=ea(e);u.tag=1,u.payload=l,a!=null&&(u.callback=a),l=ua(t,u,e),l!==null&&(Rt(l,t,e),iu(l,t,e))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var a=wt(),e=ea(a);e.tag=2,l!=null&&(e.callback=l),l=ua(t,e,a),l!==null&&(Rt(l,t,a),iu(l,t,a))}};function Eo(t,l,a,e,u,n,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(e,n,i):l.prototype&&l.prototype.isPureReactComponent?!Ve(a,e)||!Ve(u,n):!0}function Ao(t,l,a,e){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(a,e),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(a,e),l.state!==t&&Ii.enqueueReplaceState(l,l.state,null)}function Ca(t,l){var a=l;if("ref"in l){a={};for(var e in l)e!=="ref"&&(a[e]=l[e])}if(t=t.defaultProps){a===l&&(a=K({},a));for(var u in t)a[u]===void 0&&(a[u]=t[u])}return a}var yn=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)};function zo(t){yn(t)}function Mo(t){console.error(t)}function To(t){yn(t)}function gn(t,l){try{var a=t.onUncaughtError;a(l.value,{componentStack:l.stack})}catch(e){setTimeout(function(){throw e})}}function Do(t,l,a){try{var e=t.onCaughtError;e(a.value,{componentStack:a.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function tc(t,l,a){return a=ea(a),a.tag=3,a.payload={element:null},a.callback=function(){gn(t,l)},a}function _o(t){return t=ea(t),t.tag=3,t}function Oo(t,l,a,e){var u=a.type.getDerivedStateFromError;if(typeof u=="function"){var n=e.value;t.payload=function(){return u(n)},t.callback=function(){Do(l,a,e)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){Do(l,a,e),typeof u!="function"&&(oa===null?oa=new Set([this]):oa.add(this));var c=e.stack;this.componentDidCatch(e.value,{componentStack:c!==null?c:""})})}function im(t,l,a,e,u){if(a.flags|=32768,e!==null&&typeof e=="object"&&typeof e.then=="function"){if(l=a.alternate,l!==null&&nu(l,a,u,!0),a=tl.current,a!==null){switch(a.tag){case 13:return pl===null?qc():a.alternate===null&&ot===0&&(ot=3),a.flags&=-257,a.flags|=65536,a.lanes=u,e===Ui?a.flags|=16384:(l=a.updateQueue,l===null?a.updateQueue=new Set([e]):l.add(e),jc(t,e,u)),!1;case 22:return a.flags|=65536,e===Ui?a.flags|=16384:(l=a.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([e])},a.updateQueue=l):(a=l.retryQueue,a===null?l.retryQueue=new Set([e]):a.add(e)),jc(t,e,u)),!1}throw Error(o(435,a.tag))}return jc(t,e,u),qc(),!1}if(k)return l=tl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=u,e!==xi&&(t=Error(o(422),{cause:e}),ke(Ft(t,a)))):(e!==xi&&(l=Error(o(423),{cause:e}),ke(Ft(l,a))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,e=Ft(e,a),u=tc(t.stateNode,e,u),vc(t,u),ot!==4&&(ot=2)),!1;var n=Error(o(520),{cause:e});if(n=Ft(n,a),hu===null?hu=[n]:hu.push(n),ot!==4&&(ot=2),l===null)return!0;e=Ft(e,a),a=l;do{switch(a.tag){case 3:return a.flags|=65536,t=u&-u,a.lanes|=t,t=tc(a.stateNode,e,t),vc(a,t),!1;case 1:if(l=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(oa===null||!oa.has(n))))return a.flags|=65536,u&=-u,a.lanes|=u,u=_o(u),Oo(u,t,a,e),vc(a,u),!1}a=a.return}while(a!==null);return!1}var xo=Error(o(461)),At=!1;function _t(t,l,a,e){l.child=t===null?Rs(l,null,a,e):xa(l,t.child,a,e)}function Uo(t,l,a,e,u){a=a.render;var n=l.ref;if("ref"in e){var i={};for(var c in e)c!=="ref"&&(i[c]=e[c])}else i=e;return Ba(l),e=ji(t,l,a,i,n,u),c=Yi(),t!==null&&!At?(Gi(t,l,u),Rl(t,l,u)):(k&&c&&_i(l),l.flags|=1,_t(t,l,e,u),l.child)}function Ho(t,l,a,e,u){if(t===null){var n=a.type;return typeof n=="function"&&!zc(n)&&n.defaultProps===void 0&&a.compare===null?(l.tag=15,l.type=n,No(t,l,n,e,u)):(t=An(a.type,null,e,l,l.mode,u),t.ref=l.ref,t.return=l,l.child=t)}if(n=t.child,!sc(t,u)){var i=n.memoizedProps;if(a=a.compare,a=a!==null?a:Ve,a(i,e)&&t.ref===l.ref)return Rl(t,l,u)}return l.flags|=1,t=fa(n,e),t.ref=l.ref,t.return=l,l.child=t}function No(t,l,a,e,u){if(t!==null){var n=t.memoizedProps;if(Ve(n,e)&&t.ref===l.ref)if(At=!1,l.pendingProps=e=n,sc(t,u))(t.flags&131072)!==0&&(At=!0);else return l.lanes=t.lanes,Rl(t,l,u)}return lc(t,l,a,e,u)}function Ro(t,l,a){var e=l.pendingProps,u=e.children,n=(l.stateNode._pendingVisibility&2)!==0,i=t!==null?t.memoizedState:null;if(uu(t,l),e.mode==="hidden"||n){if((l.flags&128)!==0){if(e=i!==null?i.baseLanes|a:a,t!==null){for(u=l.child=t.child,n=0;u!==null;)n=n|u.lanes|u.childLanes,u=u.sibling;l.childLanes=n&~e}else l.childLanes=0,l.child=null;return Co(t,l,e,a)}if((a&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&cn(l,i!==null?i.cachePool:null),i!==null?Cs(l,i):Hi(),qs(l);else return l.lanes=l.childLanes=536870912,Co(t,l,i!==null?i.baseLanes|a:a,a)}else i!==null?(cn(l,i.cachePool),Cs(l,i),Pl(),l.memoizedState=null):(t!==null&&cn(l,null),Hi(),Pl());return _t(t,l,u,a),l.child}function Co(t,l,a,e){var u=qi();return u=u===null?null:{parent:St._currentValue,pool:u},l.memoizedState={baseLanes:a,cachePool:u},t!==null&&cn(l,null),Hi(),qs(l),t!==null&&nu(t,l,e,!0),null}function uu(t,l){var a=l.ref;if(a===null)t!==null&&t.ref!==null&&(l.flags|=2097664);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(t===null||t.ref!==a)&&(l.flags|=2097664)}}function lc(t,l,a,e,u){return Ba(l),a=ji(t,l,a,e,void 0,u),e=Yi(),t!==null&&!At?(Gi(t,l,u),Rl(t,l,u)):(k&&e&&_i(l),l.flags|=1,_t(t,l,a,u),l.child)}function qo(t,l,a,e,u,n){return Ba(l),l.updateQueue=null,a=Xs(l,e,a,u),Gs(t),e=Yi(),t!==null&&!At?(Gi(t,l,n),Rl(t,l,n)):(k&&e&&_i(l),l.flags|=1,_t(t,l,a,n),l.child)}function Bo(t,l,a,e,u){if(Ba(l),l.stateNode===null){var n=ie,i=a.contextType;typeof i=="object"&&i!==null&&(n=Ht(i)),n=new a(e,n),l.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Ii,l.stateNode=n,n._reactInternals=l,n=l.stateNode,n.props=e,n.state=l.memoizedState,n.refs={},mc(l),i=a.contextType,n.context=typeof i=="object"&&i!==null?Ht(i):ie,n.state=l.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&(Pi(l,a,i,e),n.state=l.memoizedState),typeof a.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&&Ii.enqueueReplaceState(n,n.state,null),fu(l,e,n,u),cu(),n.state=l.memoizedState),typeof n.componentDidMount=="function"&&(l.flags|=4194308),e=!0}else if(t===null){n=l.stateNode;var c=l.memoizedProps,s=Ca(a,c);n.props=s;var m=n.context,E=a.contextType;i=ie,typeof E=="object"&&E!==null&&(i=Ht(E));var z=a.getDerivedStateFromProps;E=typeof z=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=l.pendingProps!==c,E||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||m!==i)&&Ao(l,n,e,i),aa=!1;var b=l.memoizedState;n.state=b,fu(l,e,n,u),cu(),m=l.memoizedState,c||b!==m||aa?(typeof z=="function"&&(Pi(l,a,z,e),m=l.memoizedState),(s=aa||Eo(l,a,s,e,b,m,i))?(E||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=e,l.memoizedState=m),n.props=e,n.state=m,n.context=i,e=s):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),e=!1)}else{n=l.stateNode,hc(t,l),i=l.memoizedProps,E=Ca(a,i),n.props=E,z=l.pendingProps,b=n.context,m=a.contextType,s=ie,typeof m=="object"&&m!==null&&(s=Ht(m)),c=a.getDerivedStateFromProps,(m=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==z||b!==s)&&Ao(l,n,e,s),aa=!1,b=l.memoizedState,n.state=b,fu(l,e,n,u),cu();var p=l.memoizedState;i!==z||b!==p||aa||t!==null&&t.dependencies!==null&&bn(t.dependencies)?(typeof c=="function"&&(Pi(l,a,c,e),p=l.memoizedState),(E=aa||Eo(l,a,E,e,b,p,s)||t!==null&&t.dependencies!==null&&bn(t.dependencies))?(m||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(e,p,s),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(e,p,s)),typeof n.componentDidUpdate=="function"&&(l.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=1024),l.memoizedProps=e,l.memoizedState=p),n.props=e,n.state=p,n.context=s,e=E):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=1024),e=!1)}return n=e,uu(t,l),e=(l.flags&128)!==0,n||e?(n=l.stateNode,a=e&&typeof a.getDerivedStateFromError!="function"?null:n.render(),l.flags|=1,t!==null&&e?(l.child=xa(l,t.child,null,u),l.child=xa(l,null,a,u)):_t(t,l,a,u),l.memoizedState=n.state,t=l.child):t=Rl(t,l,u),t}function jo(t,l,a,e){return Je(),l.flags|=256,_t(t,l,a,e),l.child}var ac={dehydrated:null,treeContext:null,retryLane:0};function ec(t){return{baseLanes:t,cachePool:Ys()}}function uc(t,l,a){return t=t!==null?t.childLanes&~a:0,l&&(t|=ul),t}function Yo(t,l,a){var e=l.pendingProps,u=!1,n=(l.flags&128)!==0,i;if((i=n)||(i=t!==null&&t.memoizedState===null?!1:(bt.current&2)!==0),i&&(u=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(k){if(u?Fl(l):Pl(),k){var c=Dt,s;if(s=c){t:{for(s=c,c=Sl;s.nodeType!==8;){if(!c){c=null;break t}if(s=ml(s.nextSibling),s===null){c=null;break t}}c=s}c!==null?(l.memoizedState={dehydrated:c,treeContext:Da!==null?{id:xl,overflow:Ul}:null,retryLane:536870912},s=el(18,null,null,0),s.stateNode=c,s.return=l,l.child=s,Nt=l,Dt=null,s=!0):s=!1}s||Oa(l)}if(c=l.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return c.data==="$!"?l.lanes=16:l.lanes=536870912,null;Hl(l)}return c=e.children,e=e.fallback,u?(Pl(),u=l.mode,c=ic({mode:"hidden",children:c},u),e=Ya(e,u,a,null),c.return=l,e.return=l,c.sibling=e,l.child=c,u=l.child,u.memoizedState=ec(a),u.childLanes=uc(t,i,a),l.memoizedState=ac,e):(Fl(l),nc(l,c))}if(s=t.memoizedState,s!==null&&(c=s.dehydrated,c!==null)){if(n)l.flags&256?(Fl(l),l.flags&=-257,l=cc(t,l,a)):l.memoizedState!==null?(Pl(),l.child=t.child,l.flags|=128,l=null):(Pl(),u=e.fallback,c=l.mode,e=ic({mode:"visible",children:e.children},c),u=Ya(u,c,a,null),u.flags|=2,e.return=l,u.return=l,e.sibling=u,l.child=e,xa(l,t.child,null,a),e=l.child,e.memoizedState=ec(a),e.childLanes=uc(t,i,a),l.memoizedState=ac,l=u);else if(Fl(l),c.data==="$!"){if(i=c.nextSibling&&c.nextSibling.dataset,i)var m=i.dgst;i=m,e=Error(o(419)),e.stack="",e.digest=i,ke({value:e,source:null,stack:null}),l=cc(t,l,a)}else if(At||nu(t,l,a,!1),i=(a&t.childLanes)!==0,At||i){if(i=tt,i!==null){if(e=a&-a,(e&42)!==0)e=1;else switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=64;break;case 268435456:e=134217728;break;default:e=0}if(e=(e&(i.suspendedLanes|a))!==0?0:e,e!==0&&e!==s.retryLane)throw s.retryLane=e,$l(t,e),Rt(i,t,e),xo}c.data==="$?"||qc(),l=cc(t,l,a)}else c.data==="$?"?(l.flags|=128,l.child=t.child,l=Em.bind(null,t),c._reactRetry=l,l=null):(t=s.treeContext,Dt=ml(c.nextSibling),Nt=l,k=!0,dl=null,Sl=!1,t!==null&&(Pt[It++]=xl,Pt[It++]=Ul,Pt[It++]=Da,xl=t.id,Ul=t.overflow,Da=l),l=nc(l,e.children),l.flags|=4096);return l}return u?(Pl(),u=e.fallback,c=l.mode,s=t.child,m=s.sibling,e=fa(s,{mode:"hidden",children:e.children}),e.subtreeFlags=s.subtreeFlags&31457280,m!==null?u=fa(m,u):(u=Ya(u,c,a,null),u.flags|=2),u.return=l,e.return=l,e.sibling=u,l.child=e,e=u,u=l.child,c=t.child.memoizedState,c===null?c=ec(a):(s=c.cachePool,s!==null?(m=St._currentValue,s=s.parent!==m?{parent:m,pool:m}:s):s=Ys(),c={baseLanes:c.baseLanes|a,cachePool:s}),u.memoizedState=c,u.childLanes=uc(t,i,a),l.memoizedState=ac,e):(Fl(l),a=t.child,t=a.sibling,a=fa(a,{mode:"visible",children:e.children}),a.return=l,a.sibling=null,t!==null&&(i=l.deletions,i===null?(l.deletions=[t],l.flags|=16):i.push(t)),l.child=a,l.memoizedState=null,a)}function nc(t,l){return l=ic({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function ic(t,l){return od(t,l,0,null)}function cc(t,l,a){return xa(l,t.child,null,a),t=nc(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function Go(t,l,a){t.lanes|=l;var e=t.alternate;e!==null&&(e.lanes|=l),dc(t.return,l,a)}function fc(t,l,a,e,u){var n=t.memoizedState;n===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:e,tail:a,tailMode:u}:(n.isBackwards=l,n.rendering=null,n.renderingStartTime=0,n.last=e,n.tail=a,n.tailMode=u)}function Xo(t,l,a){var e=l.pendingProps,u=e.revealOrder,n=e.tail;if(_t(t,l,e.children,a),e=bt.current,(e&2)!==0)e=e&1|2,l.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Go(t,a,l);else if(t.tag===19)Go(t,a,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}e&=1}switch(ut(bt,e),u){case"forwards":for(a=l.child,u=null;a!==null;)t=a.alternate,t!==null&&nn(t)===null&&(u=a),a=a.sibling;a=u,a===null?(u=l.child,l.child=null):(u=a.sibling,a.sibling=null),fc(l,!1,u,a,n);break;case"backwards":for(a=null,u=l.child,l.child=null;u!==null;){if(t=u.alternate,t!==null&&nn(t)===null){l.child=u;break}t=u.sibling,u.sibling=a,a=u,u=t}fc(l,!0,a,null,n);break;case"together":fc(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function Rl(t,l,a){if(t!==null&&(l.dependencies=t.dependencies),sa|=l.lanes,(a&l.childLanes)===0)if(t!==null){if(nu(t,l,a,!1),(a&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,a=fa(t,t.pendingProps),l.child=a,a.return=l;t.sibling!==null;)t=t.sibling,a=a.sibling=fa(t,t.pendingProps),a.return=l;a.sibling=null}return l.child}function sc(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&bn(t)))}function cm(t,l,a){switch(l.tag){case 3:Ru(l,l.stateNode.containerInfo),la(l,St,t.memoizedState.cache),Je();break;case 27:case 5:In(l);break;case 4:Ru(l,l.stateNode.containerInfo);break;case 10:la(l,l.type,l.memoizedProps.value);break;case 13:var e=l.memoizedState;if(e!==null)return e.dehydrated!==null?(Fl(l),l.flags|=128,null):(a&l.child.childLanes)!==0?Yo(t,l,a):(Fl(l),t=Rl(t,l,a),t!==null?t.sibling:null);Fl(l);break;case 19:var u=(t.flags&128)!==0;if(e=(a&l.childLanes)!==0,e||(nu(t,l,a,!1),e=(a&l.childLanes)!==0),u){if(e)return Xo(t,l,a);l.flags|=128}if(u=l.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ut(bt,bt.current),e)break;return null;case 22:case 23:return l.lanes=0,Ro(t,l,a);case 24:la(l,St,t.memoizedState.cache)}return Rl(t,l,a)}function Qo(t,l,a){if(t!==null)if(t.memoizedProps!==l.pendingProps)At=!0;else{if(!sc(t,a)&&(l.flags&128)===0)return At=!1,cm(t,l,a);At=(t.flags&131072)!==0}else At=!1,k&&(l.flags&1048576)!==0&&Ms(l,tn,l.index);switch(l.lanes=0,l.tag){case 16:t:{t=l.pendingProps;var e=l.elementType,u=e._init;if(e=u(e._payload),l.type=e,typeof e=="function")zc(e)?(t=Ca(e,t),l.tag=1,l=Bo(null,l,e,t,a)):(l.tag=0,l=lc(null,l,e,t,a));else{if(e!=null){if(u=e.$$typeof,u===Tt){l.tag=11,l=Uo(null,l,e,t,a);break t}else if(u===xt){l.tag=14,l=Ho(null,l,e,t,a);break t}}throw l=wl(e)||e,Error(o(306,l,""))}}return l;case 0:return lc(t,l,l.type,l.pendingProps,a);case 1:return e=l.type,u=Ca(e,l.pendingProps),Bo(t,l,e,u,a);case 3:t:{if(Ru(l,l.stateNode.containerInfo),t===null)throw Error(o(387));var n=l.pendingProps;u=l.memoizedState,e=u.element,hc(t,l),fu(l,n,null,a);var i=l.memoizedState;if(n=i.cache,la(l,St,n),n!==u.cache&&rc(l,[St],a,!0),cu(),n=i.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:i.cache},l.updateQueue.baseState=u,l.memoizedState=u,l.flags&256){l=jo(t,l,n,a);break t}else if(n!==e){e=Ft(Error(o(424)),l),ke(e),l=jo(t,l,n,a);break t}else for(Dt=ml(l.stateNode.containerInfo.firstChild),Nt=l,k=!0,dl=null,Sl=!0,a=Rs(l,null,n,a),l.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Je(),n===e){l=Rl(t,l,a);break t}_t(t,l,n,a)}l=l.child}return l;case 26:return uu(t,l),t===null?(a=Vd(l.type,null,l.pendingProps,null))?l.memoizedState=a:k||(a=l.type,t=l.pendingProps,e=Cn(Kl.current).createElement(a),e[Ut]=l,e[Ct]=t,Ot(e,a,t),Et(e),l.stateNode=e):l.memoizedState=Vd(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return In(l),t===null&&k&&(e=l.stateNode=Qd(l.type,l.pendingProps,Kl.current),Nt=l,Sl=!0,Dt=ml(e.firstChild)),e=l.pendingProps.children,t!==null||k?_t(t,l,e,a):l.child=xa(l,null,e,a),uu(t,l),l.child;case 5:return t===null&&k&&((u=e=Dt)&&(e=jm(e,l.type,l.pendingProps,Sl),e!==null?(l.stateNode=e,Nt=l,Dt=ml(e.firstChild),Sl=!1,u=!0):u=!1),u||Oa(l)),In(l),u=l.type,n=l.pendingProps,i=t!==null?t.memoizedProps:null,e=n.children,Wc(u,n)?e=null:i!==null&&Wc(u,i)&&(l.flags|=32),l.memoizedState!==null&&(u=ji(t,l,tm,null,null,a),zu._currentValue=u),uu(t,l),_t(t,l,e,a),l.child;case 6:return t===null&&k&&((t=a=Dt)&&(a=Ym(a,l.pendingProps,Sl),a!==null?(l.stateNode=a,Nt=l,Dt=null,t=!0):t=!1),t||Oa(l)),null;case 13:return Yo(t,l,a);case 4:return Ru(l,l.stateNode.containerInfo),e=l.pendingProps,t===null?l.child=xa(l,null,e,a):_t(t,l,e,a),l.child;case 11:return Uo(t,l,l.type,l.pendingProps,a);case 7:return _t(t,l,l.pendingProps,a),l.child;case 8:return _t(t,l,l.pendingProps.children,a),l.child;case 12:return _t(t,l,l.pendingProps.children,a),l.child;case 10:return e=l.pendingProps,la(l,l.type,e.value),_t(t,l,e.children,a),l.child;case 9:return u=l.type._context,e=l.pendingProps.children,Ba(l),u=Ht(u),e=e(u),l.flags|=1,_t(t,l,e,a),l.child;case 14:return Ho(t,l,l.type,l.pendingProps,a);case 15:return No(t,l,l.type,l.pendingProps,a);case 19:return Xo(t,l,a);case 22:return Ro(t,l,a);case 24:return Ba(l),e=Ht(St),t===null?(u=qi(),u===null&&(u=tt,n=Ri(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=a),u=n),l.memoizedState={parent:e,cache:u},mc(l),la(l,St,u)):((t.lanes&a)!==0&&(hc(t,l),fu(l,null,null,a),cu()),u=t.memoizedState,n=l.memoizedState,u.parent!==e?(u={parent:e,cache:e},l.memoizedState=u,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=u),la(l,St,e)):(e=n.cache,la(l,St,e),e!==u.cache&&rc(l,[St],a,!0))),_t(t,l,l.pendingProps.children,a),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}var oc=yl(null),qa=null,Cl=null;function la(t,l,a){ut(oc,l._currentValue),l._currentValue=a}function ql(t){t._currentValue=oc.current,pt(oc)}function dc(t,l,a){for(;t!==null;){var e=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,e!==null&&(e.childLanes|=l)):e!==null&&(e.childLanes&l)!==l&&(e.childLanes|=l),t===a)break;t=t.return}}function rc(t,l,a,e){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|=a,c=n.alternate,c!==null&&(c.lanes|=a),dc(n.return,a,t),e||(i=null);break t}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(o(341));i.lanes|=a,n=i.alternate,n!==null&&(n.lanes|=a),dc(i,a,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 nu(t,l,a,e){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;Qt(u.pendingProps.value,i.value)||(t!==null?t.push(c):t=[c])}}else if(u===Nu.current){if(i=u.alternate,i===null)throw Error(o(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(zu):t=[zu])}u=u.return}t!==null&&rc(l,t,a,e),l.flags|=262144}function bn(t){for(t=t.firstContext;t!==null;){if(!Qt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ba(t){qa=t,Cl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ht(t){return Zo(qa,t)}function Sn(t,l){return qa===null&&Ba(t),Zo(t,l)}function Zo(t,l){var a=l._currentValue;if(l={context:l,memoizedValue:a,next:null},Cl===null){if(t===null)throw Error(o(308));Cl=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Cl=Cl.next=l;return a}var aa=!1;function mc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hc(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 ea(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ua(t,l,a){var e=t.updateQueue;if(e===null)return null;if(e=e.shared,(ct&2)!==0){var u=e.pending;return u===null?l.next=l:(l.next=u.next,u.next=l),e.pending=l,l=Pu(t),As(t,null,a),l}return Fu(t,e,l,a),Pu(t)}function iu(t,l,a){if(l=l.updateQueue,l!==null&&(l=l.shared,(a&4194176)!==0)){var e=l.lanes;e&=t.pendingLanes,a|=e,l.lanes=a,Uf(t,a)}}function vc(t,l){var a=t.updateQueue,e=t.alternate;if(e!==null&&(e=e.updateQueue,a===e)){var u=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var i={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,a=a.next}while(a!==null);n===null?u=n=l:n=n.next=l}else u=n=l;a={baseState:e.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:e.shared,callbacks:e.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=l:t.next=l,a.lastBaseUpdate=l}var yc=!1;function cu(){if(yc){var t=re;if(t!==null)throw t}}function fu(t,l,a,e){yc=!1;var u=t.updateQueue;aa=!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 E=t.alternate;E!==null&&(E=E.updateQueue,c=E.lastBaseUpdate,c!==i&&(c===null?E.firstBaseUpdate=m:c.next=m,E.lastBaseUpdate=s))}if(n!==null){var z=u.baseState;i=0,E=m=s=null,c=n;do{var b=c.lane&-536870913,p=b!==c.lane;if(p?(w&b)===b:(e&b)===b){b!==0&&b===de&&(yc=!0),E!==null&&(E=E.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var x=t,j=c;b=l;var dt=a;switch(j.tag){case 1:if(x=j.payload,typeof x=="function"){z=x.call(dt,z,b);break t}z=x;break t;case 3:x.flags=x.flags&-65537|128;case 0:if(x=j.payload,b=typeof x=="function"?x.call(dt,z,b):x,b==null)break t;z=K({},z,b);break t;case 2:aa=!0}}b=c.callback,b!==null&&(t.flags|=64,p&&(t.flags|=8192),p=u.callbacks,p===null?u.callbacks=[b]:p.push(b))}else p={lane:b,tag:c.tag,payload:c.payload,callback:c.callback,next:null},E===null?(m=E=p,s=z):E=E.next=p,i|=b;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;p=c,c=p.next,p.next=null,u.lastBaseUpdate=p,u.shared.pending=null}}while(!0);E===null&&(s=z),u.baseState=s,u.firstBaseUpdate=m,u.lastBaseUpdate=E,n===null&&(u.shared.lanes=0),sa|=i,t.lanes=i,t.memoizedState=z}}function Lo(t,l){if(typeof t!="function")throw Error(o(191,t));t.call(l)}function Vo(t,l){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Lo(a[t],l)}function su(t,l){try{var a=l.updateQueue,e=a!==null?a.lastEffect:null;if(e!==null){var u=e.next;a=u;do{if((a.tag&t)===t){e=void 0;var n=a.create,i=a.inst;e=n(),i.destroy=e}a=a.next}while(a!==u)}}catch(c){I(l,l.return,c)}}function na(t,l,a){try{var e=l.updateQueue,u=e!==null?e.lastEffect:null;if(u!==null){var n=u.next;e=n;do{if((e.tag&t)===t){var i=e.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=l;var s=a;try{c()}catch(m){I(u,s,m)}}}e=e.next}while(e!==n)}}catch(m){I(l,l.return,m)}}function wo(t){var l=t.updateQueue;if(l!==null){var a=t.stateNode;try{Vo(l,a)}catch(e){I(t,t.return,e)}}}function Ko(t,l,a){a.props=Ca(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(e){I(t,l,e)}}function ja(t,l){try{var a=t.ref;if(a!==null){var e=t.stateNode;switch(t.tag){case 26:case 27:case 5:var u=e;break;default:u=e}typeof a=="function"?t.refCleanup=a(u):a.current=u}}catch(n){I(t,l,n)}}function Zt(t,l){var a=t.ref,e=t.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){I(t,l,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){I(t,l,u)}else a.current=null}function Jo(t){var l=t.type,a=t.memoizedProps,e=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break t;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}catch(u){I(t,t.return,u)}}function ko(t,l,a){try{var e=t.stateNode;Nm(e,t.type,a,l),e[Ct]=l}catch(u){I(t,t.return,u)}}function Wo(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27||t.tag===4}function gc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Wo(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==27&&t.tag!==18;){if(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,a){var e=t.tag;if(e===5||e===6)t=t.stateNode,l?a.nodeType===8?a.parentNode.insertBefore(t,l):a.insertBefore(t,l):(a.nodeType===8?(l=a.parentNode,l.insertBefore(t,a)):(l=a,l.appendChild(t)),a=a._reactRootContainer,a!=null||l.onclick!==null||(l.onclick=Rn));else if(e!==4&&e!==27&&(t=t.child,t!==null))for(bc(t,l,a),t=t.sibling;t!==null;)bc(t,l,a),t=t.sibling}function pn(t,l,a){var e=t.tag;if(e===5||e===6)t=t.stateNode,l?a.insertBefore(t,l):a.appendChild(t);else if(e!==4&&e!==27&&(t=t.child,t!==null))for(pn(t,l,a),t=t.sibling;t!==null;)pn(t,l,a),t=t.sibling}var Bl=!1,st=!1,Sc=!1,$o=typeof WeakSet=="function"?WeakSet:Set,zt=null,Fo=!1;function fm(t,l){if(t=t.containerInfo,Jc=Xn,t=ms(t),Ei(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var e=a.getSelection&&a.getSelection();if(e&&e.rangeCount!==0){a=e.anchorNode;var u=e.anchorOffset,n=e.focusNode;e=e.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break t}var i=0,c=-1,s=-1,m=0,E=0,z=t,b=null;l:for(;;){for(var p;z!==a||u!==0&&z.nodeType!==3||(c=i+u),z!==n||e!==0&&z.nodeType!==3||(s=i+e),z.nodeType===3&&(i+=z.nodeValue.length),(p=z.firstChild)!==null;)b=z,z=p;for(;;){if(z===t)break l;if(b===a&&++m===u&&(c=i),b===n&&++E===e&&(s=i),(p=z.nextSibling)!==null)break;z=b,b=z.parentNode}z=p}a=c===-1||s===-1?null:{start:c,end:s}}else a=null}a=a||{start:0,end:0}}else a=null;for(kc={focusedElem:t,selectionRange:a},Xn=!1,zt=l;zt!==null;)if(l=zt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,zt=t;else for(;zt!==null;){switch(l=zt,n=l.alternate,t=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&n!==null){t=void 0,a=l,u=n.memoizedProps,n=n.memoizedState,e=a.stateNode;try{var x=Ca(a.type,u,a.elementType===a.type);t=e.getSnapshotBeforeUpdate(x,n),e.__reactInternalSnapshotBeforeUpdate=t}catch(j){I(a,a.return,j)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,a=t.nodeType,a===9)Pc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Pc(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,zt=t;break}zt=l.return}return x=Fo,Fo=!1,x}function Po(t,l,a){var e=a.flags;switch(a.tag){case 0:case 11:case 15:Yl(t,a),e&4&&su(5,a);break;case 1:if(Yl(t,a),e&4)if(t=a.stateNode,l===null)try{t.componentDidMount()}catch(c){I(a,a.return,c)}else{var u=Ca(a.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(u,l,t.__reactInternalSnapshotBeforeUpdate)}catch(c){I(a,a.return,c)}}e&64&&wo(a),e&512&&ja(a,a.return);break;case 3:if(Yl(t,a),e&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Vo(e,t)}catch(c){I(a,a.return,c)}}break;case 26:Yl(t,a),e&512&&ja(a,a.return);break;case 27:case 5:Yl(t,a),l===null&&e&4&&Jo(a),e&512&&ja(a,a.return);break;case 12:Yl(t,a);break;case 13:Yl(t,a),e&4&&ld(t,a);break;case 22:if(u=a.memoizedState!==null||Bl,!u){l=l!==null&&l.memoizedState!==null||st;var n=Bl,i=st;Bl=u,(st=l)&&!i?ia(t,a,(a.subtreeFlags&8772)!==0):Yl(t,a),Bl=n,st=i}e&512&&(a.memoizedProps.mode==="manual"?ja(a,a.return):Zt(a,a.return));break;default:Yl(t,a)}}function Io(t){var l=t.alternate;l!==null&&(t.alternate=null,Io(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&ni(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 gt=null,Lt=!1;function jl(t,l,a){for(a=a.child;a!==null;)td(t,l,a),a=a.sibling}function td(t,l,a){if(Gt&&typeof Gt.onCommitFiberUnmount=="function")try{Gt.onCommitFiberUnmount(Ne,a)}catch{}switch(a.tag){case 26:st||Zt(a,l),jl(t,l,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:st||Zt(a,l);var e=gt,u=Lt;for(gt=a.stateNode,jl(t,l,a),a=a.stateNode,l=a.attributes;l.length;)a.removeAttributeNode(l[0]);ni(a),gt=e,Lt=u;break;case 5:st||Zt(a,l);case 6:u=gt;var n=Lt;if(gt=null,jl(t,l,a),gt=u,Lt=n,gt!==null)if(Lt)try{t=gt,e=a.stateNode,t.nodeType===8?t.parentNode.removeChild(e):t.removeChild(e)}catch(i){I(a,l,i)}else try{gt.removeChild(a.stateNode)}catch(i){I(a,l,i)}break;case 18:gt!==null&&(Lt?(l=gt,a=a.stateNode,l.nodeType===8?Fc(l.parentNode,a):l.nodeType===1&&Fc(l,a),_u(l)):Fc(gt,a.stateNode));break;case 4:e=gt,u=Lt,gt=a.stateNode.containerInfo,Lt=!0,jl(t,l,a),gt=e,Lt=u;break;case 0:case 11:case 14:case 15:st||na(2,a,l),st||na(4,a,l),jl(t,l,a);break;case 1:st||(Zt(a,l),e=a.stateNode,typeof e.componentWillUnmount=="function"&&Ko(a,l,e)),jl(t,l,a);break;case 21:jl(t,l,a);break;case 22:st||Zt(a,l),st=(e=st)||a.memoizedState!==null,jl(t,l,a),st=e;break;default:jl(t,l,a)}}function ld(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{_u(t)}catch(a){I(l,l.return,a)}}function sm(t){switch(t.tag){case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new $o),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new $o),l;default:throw Error(o(435,t.tag))}}function pc(t,l){var a=sm(t);l.forEach(function(e){var u=Am.bind(null,t,e);a.has(e)||(a.add(e),e.then(u,u))})}function ll(t,l){var a=l.deletions;if(a!==null)for(var e=0;e<a.length;e++){var u=a[e],n=t,i=l,c=i;t:for(;c!==null;){switch(c.tag){case 27:case 5:gt=c.stateNode,Lt=!1;break t;case 3:gt=c.stateNode.containerInfo,Lt=!0;break t;case 4:gt=c.stateNode.containerInfo,Lt=!0;break t}c=c.return}if(gt===null)throw Error(o(160));td(n,i,u),gt=null,Lt=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)ad(l,t),l=l.sibling}var rl=null;function ad(t,l){var a=t.alternate,e=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ll(l,t),al(t),e&4&&(na(3,t,t.return),su(3,t),na(5,t,t.return));break;case 1:ll(l,t),al(t),e&512&&(st||a===null||Zt(a,a.return)),e&64&&Bl&&(t=t.updateQueue,t!==null&&(e=t.callbacks,e!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?e:a.concat(e))));break;case 26:var u=rl;if(ll(l,t),al(t),e&512&&(st||a===null||Zt(a,a.return)),e&4){var n=a!==null?a.memoizedState:null;if(e=t.memoizedState,a===null)if(e===null)if(t.stateNode===null){t:{e=t.type,a=t.memoizedProps,u=u.ownerDocument||u;l:switch(e){case"title":n=u.getElementsByTagName("title")[0],(!n||n[qe]||n[Ut]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(e),u.head.insertBefore(n,u.querySelector("head > title"))),Ot(n,e,a),n[Ut]=t,Et(n),e=n;break t;case"link":var i=Jd("link","href",u).get(e+(a.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],n.getAttribute("href")===(a.href==null?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){i.splice(c,1);break l}}n=u.createElement(e),Ot(n,e,a),u.head.appendChild(n);break;case"meta":if(i=Jd("meta","content",u).get(e+(a.content||""))){for(c=0;c<i.length;c++)if(n=i[c],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){i.splice(c,1);break l}}n=u.createElement(e),Ot(n,e,a),u.head.appendChild(n);break;default:throw Error(o(468,e))}n[Ut]=t,Et(n),e=n}t.stateNode=e}else kd(u,t.type,t.stateNode);else t.stateNode=Kd(u,e,t.memoizedProps);else n!==e?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,e===null?kd(u,t.type,t.stateNode):Kd(u,e,t.memoizedProps)):e===null&&t.stateNode!==null&&ko(t,t.memoizedProps,a.memoizedProps)}break;case 27:if(e&4&&t.alternate===null){u=t.stateNode,n=t.memoizedProps;try{for(var s=u.firstChild;s;){var m=s.nextSibling,E=s.nodeName;s[qe]||E==="HEAD"||E==="BODY"||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&s.rel.toLowerCase()==="stylesheet"||u.removeChild(s),s=m}for(var z=t.type,b=u.attributes;b.length;)u.removeAttributeNode(b[0]);Ot(u,z,n),u[Ut]=t,u[Ct]=n}catch(x){I(t,t.return,x)}}case 5:if(ll(l,t),al(t),e&512&&(st||a===null||Zt(a,a.return)),t.flags&32){u=t.stateNode;try{Ia(u,"")}catch(x){I(t,t.return,x)}}e&4&&t.stateNode!=null&&(u=t.memoizedProps,ko(t,u,a!==null?a.memoizedProps:u)),e&1024&&(Sc=!0);break;case 6:if(ll(l,t),al(t),e&4){if(t.stateNode===null)throw Error(o(162));e=t.memoizedProps,a=t.stateNode;try{a.nodeValue=e}catch(x){I(t,t.return,x)}}break;case 3:if(jn=null,u=rl,rl=qn(l.containerInfo),ll(l,t),rl=u,al(t),e&4&&a!==null&&a.memoizedState.isDehydrated)try{_u(l.containerInfo)}catch(x){I(t,t.return,x)}Sc&&(Sc=!1,ed(t));break;case 4:e=rl,rl=qn(t.stateNode.containerInfo),ll(l,t),al(t),rl=e;break;case 12:ll(l,t),al(t);break;case 13:ll(l,t),al(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(xc=bl()),e&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,pc(t,e)));break;case 22:if(e&512&&(st||a===null||Zt(a,a.return)),s=t.memoizedState!==null,m=a!==null&&a.memoizedState!==null,E=Bl,z=st,Bl=E||s,st=z||m,ll(l,t),st=z,Bl=E,al(t),l=t.stateNode,l._current=t,l._visibility&=-3,l._visibility|=l._pendingVisibility&2,e&8192&&(l._visibility=s?l._visibility&-2:l._visibility|1,s&&(l=Bl||st,a===null||m||l||ye(t)),t.memoizedProps===null||t.memoizedProps.mode!=="manual"))t:for(a=null,l=t;;){if(l.tag===5||l.tag===26||l.tag===27){if(a===null){m=a=l;try{if(u=m.stateNode,s)n=u.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=m.stateNode,c=m.memoizedProps.style;var p=c!=null&&c.hasOwnProperty("display")?c.display:null;i.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(x){I(m,m.return,x)}}}else if(l.tag===6){if(a===null){m=l;try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(x){I(m,m.return,x)}}}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;a===l&&(a=null),l=l.return}a===l&&(a=null),l.sibling.return=l.return,l=l.sibling}e&4&&(e=t.updateQueue,e!==null&&(a=e.retryQueue,a!==null&&(e.retryQueue=null,pc(t,a))));break;case 19:ll(l,t),al(t),e&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,pc(t,e)));break;case 21:break;default:ll(l,t),al(t)}}function al(t){var l=t.flags;if(l&2){try{if(t.tag!==27){t:{for(var a=t.return;a!==null;){if(Wo(a)){var e=a;break t}a=a.return}throw Error(o(160))}switch(e.tag){case 27:var u=e.stateNode,n=gc(t);pn(t,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(Ia(i,""),e.flags&=-33);var c=gc(t);pn(t,c,i);break;case 3:case 4:var s=e.stateNode.containerInfo,m=gc(t);bc(t,m,s);break;default:throw Error(o(161))}}}catch(E){I(t,t.return,E)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function ed(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;ed(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function Yl(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Po(t,l.alternate,l),l=l.sibling}function ye(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:na(4,l,l.return),ye(l);break;case 1:Zt(l,l.return);var a=l.stateNode;typeof a.componentWillUnmount=="function"&&Ko(l,l.return,a),ye(l);break;case 26:case 27:case 5:Zt(l,l.return),ye(l);break;case 22:Zt(l,l.return),l.memoizedState===null&&ye(l);break;default:ye(l)}t=t.sibling}}function ia(t,l,a){for(a=a&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var e=l.alternate,u=t,n=l,i=n.flags;switch(n.tag){case 0:case 11:case 15:ia(u,n,a),su(4,n);break;case 1:if(ia(u,n,a),e=n,u=e.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(m){I(e,e.return,m)}if(e=n,u=e.updateQueue,u!==null){var c=e.stateNode;try{var s=u.shared.hiddenCallbacks;if(s!==null)for(u.shared.hiddenCallbacks=null,u=0;u<s.length;u++)Lo(s[u],c)}catch(m){I(e,e.return,m)}}a&&i&64&&wo(n),ja(n,n.return);break;case 26:case 27:case 5:ia(u,n,a),a&&e===null&&i&4&&Jo(n),ja(n,n.return);break;case 12:ia(u,n,a);break;case 13:ia(u,n,a),a&&i&4&&ld(u,n);break;case 22:n.memoizedState===null&&ia(u,n,a),ja(n,n.return);break;default:ia(u,n,a)}l=l.sibling}}function Ec(t,l){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&Ie(a))}function Ac(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&Ie(t))}function ca(t,l,a,e){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)ud(t,l,a,e),l=l.sibling}function ud(t,l,a,e){var u=l.flags;switch(l.tag){case 0:case 11:case 15:ca(t,l,a,e),u&2048&&su(9,l);break;case 3:ca(t,l,a,e),u&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&Ie(t)));break;case 12:if(u&2048){ca(t,l,a,e),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){I(l,l.return,s)}}else ca(t,l,a,e);break;case 23:break;case 22:n=l.stateNode,l.memoizedState!==null?n._visibility&4?ca(t,l,a,e):ou(t,l):n._visibility&4?ca(t,l,a,e):(n._visibility|=4,ge(t,l,a,e,(l.subtreeFlags&10256)!==0)),u&2048&&Ec(l.alternate,l);break;case 24:ca(t,l,a,e),u&2048&&Ac(l.alternate,l);break;default:ca(t,l,a,e)}}function ge(t,l,a,e,u){for(u=u&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var n=t,i=l,c=a,s=e,m=i.flags;switch(i.tag){case 0:case 11:case 15:ge(n,i,c,s,u),su(8,i);break;case 23:break;case 22:var E=i.stateNode;i.memoizedState!==null?E._visibility&4?ge(n,i,c,s,u):ou(n,i):(E._visibility|=4,ge(n,i,c,s,u)),u&&m&2048&&Ec(i.alternate,i);break;case 24:ge(n,i,c,s,u),u&&m&2048&&Ac(i.alternate,i);break;default:ge(n,i,c,s,u)}l=l.sibling}}function ou(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var a=t,e=l,u=e.flags;switch(e.tag){case 22:ou(a,e),u&2048&&Ec(e.alternate,e);break;case 24:ou(a,e),u&2048&&Ac(e.alternate,e);break;default:ou(a,e)}l=l.sibling}}var du=8192;function be(t){if(t.subtreeFlags&du)for(t=t.child;t!==null;)nd(t),t=t.sibling}function nd(t){switch(t.tag){case 26:be(t),t.flags&du&&t.memoizedState!==null&&Fm(rl,t.memoizedState,t.memoizedProps);break;case 5:be(t);break;case 3:case 4:var l=rl;rl=qn(t.stateNode.containerInfo),be(t),rl=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=du,du=16777216,be(t),du=l):be(t));break;default:be(t)}}function id(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 ru(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var a=0;a<l.length;a++){var e=l[a];zt=e,fd(e,t)}id(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)cd(t),t=t.sibling}function cd(t){switch(t.tag){case 0:case 11:case 15:ru(t),t.flags&2048&&na(9,t,t.return);break;case 3:ru(t);break;case 12:ru(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&4&&(t.return===null||t.return.tag!==13)?(l._visibility&=-5,En(t)):ru(t);break;default:ru(t)}}function En(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var a=0;a<l.length;a++){var e=l[a];zt=e,fd(e,t)}id(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:na(8,l,l.return),En(l);break;case 22:a=l.stateNode,a._visibility&4&&(a._visibility&=-5,En(l));break;default:En(l)}t=t.sibling}}function fd(t,l){for(;zt!==null;){var a=zt;switch(a.tag){case 0:case 11:case 15:na(8,a,l);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var e=a.memoizedState.cachePool.pool;e!=null&&e.refCount++}break;case 24:Ie(a.memoizedState.cache)}if(e=a.child,e!==null)e.return=a,zt=e;else t:for(a=t;zt!==null;){e=zt;var u=e.sibling,n=e.return;if(Io(e),e===a){zt=null;break t}if(u!==null){u.return=n,zt=u;break t}zt=n}}}function om(t,l,a,e){this.tag=t,this.key=a,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=e,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function el(t,l,a,e){return new om(t,l,a,e)}function zc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function fa(t,l){var a=t.alternate;return a===null?(a=el(t.tag,l,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=l,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&31457280,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,l=t.dependencies,a.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function sd(t,l){t.flags&=31457282;var a=t.alternate;return a===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=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,l=a.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function An(t,l,a,e,u,n){var i=0;if(e=t,typeof t=="function")zc(t)&&(i=1);else if(typeof t=="string")i=Wm(t,a,gl.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case R:return Ya(a.children,u,n,l);case M:i=8,u|=24;break;case G:return t=el(12,a,l,u|2),t.elementType=G,t.lanes=n,t;case Kt:return t=el(13,a,l,u),t.elementType=Kt,t.lanes=n,t;case cl:return t=el(19,a,l,u),t.elementType=cl,t.lanes=n,t;case Yt:return od(a,u,n,l);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case at:case C:i=10;break t;case V:i=9;break t;case Tt:i=11;break t;case xt:i=14;break t;case ht:i=16,e=null;break t}i=29,a=Error(o(130,t===null?"null":typeof t,"")),e=null}return l=el(i,a,l,u),l.elementType=t,l.type=e,l.lanes=n,l}function Ya(t,l,a,e){return t=el(7,t,e,l),t.lanes=a,t}function od(t,l,a,e){t=el(22,t,e,l),t.elementType=Yt,t.lanes=a;var u={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var n=u._current;if(n===null)throw Error(o(456));if((u._pendingVisibility&2)===0){var i=$l(n,2);i!==null&&(u._pendingVisibility|=2,Rt(i,n,2))}},attach:function(){var n=u._current;if(n===null)throw Error(o(456));if((u._pendingVisibility&2)!==0){var i=$l(n,2);i!==null&&(u._pendingVisibility&=-3,Rt(i,n,2))}}};return t.stateNode=u,t}function Mc(t,l,a){return t=el(6,t,null,l),t.lanes=a,t}function Tc(t,l,a){return l=el(4,t.children!==null?t.children:[],t.key,l),l.lanes=a,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}function Gl(t){t.flags|=4}function dd(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Wd(l)){if(l=tl.current,l!==null&&((w&4194176)===w?pl!==null:(w&62914560)!==w&&(w&536870912)===0||l!==pl))throw $e=Ui,_s;t.flags|=8192}}function zn(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?Of():536870912,t.lanes|=l,pe|=l)}function mu(t,l){if(!k)switch(t.tailMode){case"hidden":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var e=null;a!==null;)a.alternate!==null&&(e=a),a=a.sibling;e===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:e.sibling=null}}function it(t){var l=t.alternate!==null&&t.alternate.child===t.child,a=0,e=0;if(l)for(var u=t.child;u!==null;)a|=u.lanes|u.childLanes,e|=u.subtreeFlags&31457280,e|=u.flags&31457280,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)a|=u.lanes|u.childLanes,e|=u.subtreeFlags,e|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=e,t.childLanes=a,l}function dm(t,l,a){var e=l.pendingProps;switch(Oi(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return it(l),null;case 1:return it(l),null;case 3:return a=l.stateNode,e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),ql(St),Ja(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ke(l)?Gl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,dl!==null&&(Rc(dl),dl=null))),it(l),null;case 26:return a=l.memoizedState,t===null?(Gl(l),a!==null?(it(l),dd(l,a)):(it(l),l.flags&=-16777217)):a?a!==t.memoizedState?(Gl(l),it(l),dd(l,a)):(it(l),l.flags&=-16777217):(t.memoizedProps!==e&&Gl(l),it(l),l.flags&=-16777217),null;case 27:Cu(l),a=Kl.current;var u=l.type;if(t!==null&&l.stateNode!=null)t.memoizedProps!==e&&Gl(l);else{if(!e){if(l.stateNode===null)throw Error(o(166));return it(l),null}t=gl.current,Ke(l)?Ts(l):(t=Qd(u,e,a),l.stateNode=t,Gl(l))}return it(l),null;case 5:if(Cu(l),a=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==e&&Gl(l);else{if(!e){if(l.stateNode===null)throw Error(o(166));return it(l),null}if(t=gl.current,Ke(l))Ts(l);else{switch(u=Cn(Kl.current),t){case 1:t=u.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:t=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":t=u.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":t=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":t=u.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof e.is=="string"?u.createElement("select",{is:e.is}):u.createElement("select"),e.multiple?t.multiple=!0:e.size&&(t.size=e.size);break;default:t=typeof e.is=="string"?u.createElement(a,{is:e.is}):u.createElement(a)}}t[Ut]=l,t[Ct]=e;t:for(u=l.child;u!==null;){if(u.tag===5||u.tag===6)t.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break t;for(;u.sibling===null;){if(u.return===null||u.return===l)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}l.stateNode=t;t:switch(Ot(t,a,e),a){case"button":case"input":case"select":case"textarea":t=!!e.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Gl(l)}}return it(l),l.flags&=-16777217,null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==e&&Gl(l);else{if(typeof e!="string"&&l.stateNode===null)throw Error(o(166));if(t=Kl.current,Ke(l)){if(t=l.stateNode,a=l.memoizedProps,e=null,u=Nt,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}t[Ut]=l,t=!!(t.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||qd(t.nodeValue,a)),t||Oa(l)}else t=Cn(t).createTextNode(e),t[Ut]=l,l.stateNode=t}return it(l),null;case 13:if(e=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Ke(l),e!==null&&e.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[Ut]=l}else Je(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;it(l),u=!1}else dl!==null&&(Rc(dl),dl=null),u=!0;if(!u)return l.flags&256?(Hl(l),l):(Hl(l),null)}if(Hl(l),(l.flags&128)!==0)return l.lanes=a,l;if(a=e!==null,t=t!==null&&t.memoizedState!==null,a){e=l.child,u=null,e.alternate!==null&&e.alternate.memoizedState!==null&&e.alternate.memoizedState.cachePool!==null&&(u=e.alternate.memoizedState.cachePool.pool);var n=null;e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==u&&(e.flags|=2048)}return a!==t&&a&&(l.child.flags|=8192),zn(l,l.updateQueue),it(l),null;case 4:return Ja(),t===null&&Vc(l.stateNode.containerInfo),it(l),null;case 10:return ql(l.type),it(l),null;case 19:if(pt(bt),u=l.memoizedState,u===null)return it(l),null;if(e=(l.flags&128)!==0,n=u.rendering,n===null)if(e)mu(u,!1);else{if(ot!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(n=nn(t),n!==null){for(l.flags|=128,mu(u,!1),t=n.updateQueue,l.updateQueue=t,zn(l,t),l.subtreeFlags=0,t=a,a=l.child;a!==null;)sd(a,t),a=a.sibling;return ut(bt,bt.current&1|2),l.child}t=t.sibling}u.tail!==null&&bl()>Mn&&(l.flags|=128,e=!0,mu(u,!1),l.lanes=4194304)}else{if(!e)if(t=nn(n),t!==null){if(l.flags|=128,e=!0,t=t.updateQueue,l.updateQueue=t,zn(l,t),mu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!k)return it(l),null}else 2*bl()-u.renderingStartTime>Mn&&a!==536870912&&(l.flags|=128,e=!0,mu(u,!1),l.lanes=4194304);u.isBackwards?(n.sibling=l.child,l.child=n):(t=u.last,t!==null?t.sibling=n:l.child=n,u.last=n)}return u.tail!==null?(l=u.tail,u.rendering=l,u.tail=l.sibling,u.renderingStartTime=bl(),l.sibling=null,t=bt.current,ut(bt,e?t&1|2:t&1),l):(it(l),null);case 22:case 23:return Hl(l),Ni(),e=l.memoizedState!==null,t!==null?t.memoizedState!==null!==e&&(l.flags|=8192):e&&(l.flags|=8192),e?(a&536870912)!==0&&(l.flags&128)===0&&(it(l),l.subtreeFlags&6&&(l.flags|=8192)):it(l),a=l.updateQueue,a!==null&&zn(l,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),e=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),e!==a&&(l.flags|=2048),t!==null&&pt(Ua),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),ql(St),it(l),null;case 25:return null}throw Error(o(156,l.tag))}function rm(t,l){switch(Oi(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return ql(St),Ja(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return Cu(l),null;case 13:if(Hl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(o(340));Je()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return pt(bt),null;case 4:return Ja(),null;case 10:return ql(l.type),null;case 22:case 23:return Hl(l),Ni(),t!==null&&pt(Ua),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return ql(St),null;case 25:return null;default:return null}}function rd(t,l){switch(Oi(l),l.tag){case 3:ql(St),Ja();break;case 26:case 27:case 5:Cu(l);break;case 4:Ja();break;case 13:Hl(l);break;case 19:pt(bt);break;case 10:ql(l.type);break;case 22:case 23:Hl(l),Ni(),t!==null&&pt(Ua);break;case 24:ql(St)}}var mm={getCacheForType:function(t){var l=Ht(St),a=l.data.get(t);return a===void 0&&(a=t(),l.data.set(t,a)),a}},hm=typeof WeakMap=="function"?WeakMap:Map,ct=0,tt=null,Z=null,w=0,lt=0,Vt=null,Xl=!1,Se=!1,Dc=!1,Ql=0,ot=0,sa=0,Ga=0,_c=0,ul=0,pe=0,hu=null,Al=null,Oc=!1,xc=0,Mn=1/0,Tn=null,oa=null,Dn=!1,Xa=null,vu=0,Uc=0,Hc=null,yu=0,Nc=null;function wt(){if((ct&2)!==0&&w!==0)return w&-w;if(q.T!==null){var t=de;return t!==0?t:Xc()}return Nf()}function md(){ul===0&&(ul=(w&536870912)===0||k?_f():536870912);var t=tl.current;return t!==null&&(t.flags|=32),ul}function Rt(t,l,a){(t===tt&&lt===2||t.cancelPendingCommit!==null)&&(Ee(t,0),Zl(t,w,ul,!1)),Ce(t,a),((ct&2)===0||t!==tt)&&(t===tt&&((ct&2)===0&&(Ga|=a),ot===4&&Zl(t,w,ul,!1)),zl(t))}function hd(t,l,a){if((ct&6)!==0)throw Error(o(327));var e=!a&&(l&60)===0&&(l&t.expiredLanes)===0||Re(t,l),u=e?gm(t,l):Bc(t,l,!0),n=e;do{if(u===0){Se&&!e&&Zl(t,l,0,!1);break}else if(u===6)Zl(t,l,0,!Xl);else{if(a=t.current.alternate,n&&!vm(a)){u=Bc(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=hu;var s=c.current.memoizedState.isDehydrated;if(s&&(Ee(c,i).flags|=256),i=Bc(c,i,!1),i!==2){if(Dc&&!s){c.errorRecoveryDisabledLanes|=n,Ga|=n,u=4;break t}n=Al,Al=u,n!==null&&Rc(n)}u=i}if(n=!1,u!==2)continue}}if(u===1){Ee(t,0),Zl(t,l,0,!0);break}t:{switch(e=t,u){case 0:case 1:throw Error(o(345));case 4:if((l&4194176)===l){Zl(e,l,ul,!Xl);break t}break;case 2:Al=null;break;case 3:case 5:break;default:throw Error(o(329))}if(e.finishedWork=a,e.finishedLanes=l,(l&62914560)===l&&(n=xc+300-bl(),10<n)){if(Zl(e,l,ul,!Xl),Yu(e,0)!==0)break t;e.timeoutHandle=Yd(vd.bind(null,e,a,Al,Tn,Oc,l,ul,Ga,pe,Xl,2,-0,0),n);break t}vd(e,a,Al,Tn,Oc,l,ul,Ga,pe,Xl,0,-0,0)}}break}while(!0);zl(t)}function Rc(t){Al===null?Al=t:Al.push.apply(Al,t)}function vd(t,l,a,e,u,n,i,c,s,m,E,z,b){var p=l.subtreeFlags;if((p&8192||(p&16785408)===16785408)&&(Au={stylesheets:null,count:0,unsuspend:$m},nd(l),l=Pm(),l!==null)){t.cancelPendingCommit=l(Ad.bind(null,t,a,e,u,i,c,s,1,z,b)),Zl(t,n,i,!m);return}Ad(t,a,e,u,i,c,s,E,z,b)}function vm(t){for(var l=t;;){var a=l.tag;if((a===0||a===11||a===15)&&l.flags&16384&&(a=l.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var e=0;e<a.length;e++){var u=a[e],n=u.getSnapshot;u=u.value;try{if(!Qt(n(),u))return!1}catch{return!1}}if(a=l.child,l.subtreeFlags&16384&&a!==null)a.return=l,l=a;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 Zl(t,l,a,e){l&=~_c,l&=~Ga,t.suspendedLanes|=l,t.pingedLanes&=~l,e&&(t.warmLanes|=l),e=t.expirationTimes;for(var u=l;0<u;){var n=31-Xt(u),i=1<<n;e[n]=-1,u&=~i}a!==0&&xf(t,a,l)}function _n(){return(ct&6)===0?(gu(0),!1):!0}function Cc(){if(Z!==null){if(lt===0)var t=Z.return;else t=Z,Cl=qa=null,Xi(t),se=null,Fe=0,t=Z;for(;t!==null;)rd(t.alternate,t),t=t.return;Z=null}}function Ee(t,l){t.finishedWork=null,t.finishedLanes=0;var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,Cm(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Cc(),tt=t,Z=a=fa(t.current,null),w=l,lt=0,Vt=null,Xl=!1,Se=Re(t,l),Dc=!1,pe=ul=_c=Ga=sa=ot=0,Al=hu=null,Oc=!1,(l&8)!==0&&(l|=l&32);var e=t.entangledLanes;if(e!==0)for(t=t.entanglements,e&=l;0<e;){var u=31-Xt(e),n=1<<u;l|=t[u],e&=~n}return Ql=l,$u(),a}function yd(t,l){X=null,q.H=El,l===We?(l=Us(),lt=3):l===_s?(l=Us(),lt=4):lt=l===xo?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Vt=l,Z===null&&(ot=1,gn(t,Ft(l,t.current)))}function gd(){var t=q.H;return q.H=El,t===null?El:t}function bd(){var t=q.A;return q.A=mm,t}function qc(){ot=4,Xl||(w&4194176)!==w&&tl.current!==null||(Se=!0),(sa&134217727)===0&&(Ga&134217727)===0||tt===null||Zl(tt,w,ul,!1)}function Bc(t,l,a){var e=ct;ct|=2;var u=gd(),n=bd();(tt!==t||w!==l)&&(Tn=null,Ee(t,l)),l=!1;var i=ot;t:do try{if(lt!==0&&Z!==null){var c=Z,s=Vt;switch(lt){case 8:Cc(),i=6;break t;case 3:case 2:case 6:tl.current===null&&(l=!0);var m=lt;if(lt=0,Vt=null,Ae(t,c,s,m),a&&Se){i=0;break t}break;default:m=lt,lt=0,Vt=null,Ae(t,c,s,m)}}ym(),i=ot;break}catch(E){yd(t,E)}while(!0);return l&&t.shellSuspendCounter++,Cl=qa=null,ct=e,q.H=u,q.A=n,Z===null&&(tt=null,w=0,$u()),i}function ym(){for(;Z!==null;)Sd(Z)}function gm(t,l){var a=ct;ct|=2;var e=gd(),u=bd();tt!==t||w!==l?(Tn=null,Mn=bl()+500,Ee(t,l)):Se=Re(t,l);t:do try{if(lt!==0&&Z!==null){l=Z;var n=Vt;l:switch(lt){case 1:lt=0,Vt=null,Ae(t,l,n,1);break;case 2:if(Os(n)){lt=0,Vt=null,pd(l);break}l=function(){lt===2&&tt===t&&(lt=7),zl(t)},n.then(l,l);break t;case 3:lt=7;break t;case 4:lt=5;break t;case 7:Os(n)?(lt=0,Vt=null,pd(l)):(lt=0,Vt=null,Ae(t,l,n,7));break;case 5:var i=null;switch(Z.tag){case 26:i=Z.memoizedState;case 5:case 27:var c=Z;if(!i||Wd(i)){lt=0,Vt=null;var s=c.sibling;if(s!==null)Z=s;else{var m=c.return;m!==null?(Z=m,On(m)):Z=null}break l}}lt=0,Vt=null,Ae(t,l,n,5);break;case 6:lt=0,Vt=null,Ae(t,l,n,6);break;case 8:Cc(),ot=6;break t;default:throw Error(o(462))}}bm();break}catch(E){yd(t,E)}while(!0);return Cl=qa=null,q.H=e,q.A=u,ct=a,Z!==null?0:(tt=null,w=0,$u(),ot)}function bm(){for(;Z!==null&&!Xr();)Sd(Z)}function Sd(t){var l=Qo(t.alternate,t,Ql);t.memoizedProps=t.pendingProps,l===null?On(t):Z=l}function pd(t){var l=t,a=l.alternate;switch(l.tag){case 15:case 0:l=qo(a,l,l.pendingProps,l.type,void 0,w);break;case 11:l=qo(a,l,l.pendingProps,l.type.render,l.ref,w);break;case 5:Xi(l);default:rd(a,l),l=Z=sd(l,Ql),l=Qo(a,l,Ql)}t.memoizedProps=t.pendingProps,l===null?On(t):Z=l}function Ae(t,l,a,e){Cl=qa=null,Xi(l),se=null,Fe=0;var u=l.return;try{if(im(t,u,l,a,w)){ot=1,gn(t,Ft(a,t.current)),Z=null;return}}catch(n){if(u!==null)throw Z=u,n;ot=1,gn(t,Ft(a,t.current)),Z=null;return}l.flags&32768?(k||e===1?t=!0:Se||(w&536870912)!==0?t=!1:(Xl=t=!0,(e===2||e===3||e===6)&&(e=tl.current,e!==null&&e.tag===13&&(e.flags|=16384))),Ed(l,t)):On(l)}function On(t){var l=t;do{if((l.flags&32768)!==0){Ed(l,Xl);return}t=l.return;var a=dm(l.alternate,l,Ql);if(a!==null){Z=a;return}if(l=l.sibling,l!==null){Z=l;return}Z=l=t}while(l!==null);ot===0&&(ot=5)}function Ed(t,l){do{var a=rm(t.alternate,t);if(a!==null){a.flags&=32767,Z=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!l&&(t=t.sibling,t!==null)){Z=t;return}Z=t=a}while(t!==null);ot=6,Z=null}function Ad(t,l,a,e,u,n,i,c,s,m){var E=q.T,z=J.p;try{J.p=2,q.T=null,Sm(t,l,a,e,z,u,n,i,c,s,m)}finally{q.T=E,J.p=z}}function Sm(t,l,a,e,u,n,i,c){do ze();while(Xa!==null);if((ct&6)!==0)throw Error(o(327));var s=t.finishedWork;if(e=t.finishedLanes,s===null)return null;if(t.finishedWork=null,t.finishedLanes=0,s===t.current)throw Error(o(177));t.callbackNode=null,t.callbackPriority=0,t.cancelPendingCommit=null;var m=s.lanes|s.childLanes;if(m|=Ti,Fr(t,e,m,n,i,c),t===tt&&(Z=tt=null,w=0),(s.subtreeFlags&10256)===0&&(s.flags&10256)===0||Dn||(Dn=!0,Uc=m,Hc=a,zm(qu,function(){return ze(),null})),a=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||a?(a=q.T,q.T=null,n=J.p,J.p=2,i=ct,ct|=4,fm(t,s),ad(s,t),L0(kc,t.containerInfo),Xn=!!Jc,kc=Jc=null,t.current=s,Po(t,s.alternate,s),Qr(),ct=i,J.p=n,q.T=a):t.current=s,Dn?(Dn=!1,Xa=t,vu=e):zd(t,m),m=t.pendingLanes,m===0&&(oa=null),Kr(s.stateNode),zl(t),l!==null)for(u=t.onRecoverableError,s=0;s<l.length;s++)m=l[s],u(m.value,{componentStack:m.stack});return(vu&3)!==0&&ze(),m=t.pendingLanes,(e&4194218)!==0&&(m&42)!==0?t===Nc?yu++:(yu=0,Nc=t):yu=0,gu(0),null}function zd(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,Ie(l)))}function ze(){if(Xa!==null){var t=Xa,l=Uc;Uc=0;var a=Hf(vu),e=q.T,u=J.p;try{if(J.p=32>a?32:a,q.T=null,Xa===null)var n=!1;else{a=Hc,Hc=null;var i=Xa,c=vu;if(Xa=null,vu=0,(ct&6)!==0)throw Error(o(331));var s=ct;if(ct|=4,cd(i.current),ud(i,i.current,c,a),ct=s,gu(0,!1),Gt&&typeof Gt.onPostCommitFiberRoot=="function")try{Gt.onPostCommitFiberRoot(Ne,i)}catch{}n=!0}return n}finally{J.p=u,q.T=e,zd(t,l)}}return!1}function Md(t,l,a){l=Ft(a,l),l=tc(t.stateNode,l,2),t=ua(t,l,2),t!==null&&(Ce(t,2),zl(t))}function I(t,l,a){if(t.tag===3)Md(t,t,a);else for(;l!==null;){if(l.tag===3){Md(l,t,a);break}else if(l.tag===1){var e=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(oa===null||!oa.has(e))){t=Ft(a,t),a=_o(2),e=ua(l,a,2),e!==null&&(Oo(a,e,l,t),Ce(e,2),zl(e));break}}l=l.return}}function jc(t,l,a){var e=t.pingCache;if(e===null){e=t.pingCache=new hm;var u=new Set;e.set(l,u)}else u=e.get(l),u===void 0&&(u=new Set,e.set(l,u));u.has(a)||(Dc=!0,u.add(a),t=pm.bind(null,t,l,a),l.then(t,t))}function pm(t,l,a){var e=t.pingCache;e!==null&&e.delete(l),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,tt===t&&(w&a)===a&&(ot===4||ot===3&&(w&62914560)===w&&300>bl()-xc?(ct&2)===0&&Ee(t,0):_c|=a,pe===w&&(pe=0)),zl(t)}function Td(t,l){l===0&&(l=Of()),t=$l(t,l),t!==null&&(Ce(t,l),zl(t))}function Em(t){var l=t.memoizedState,a=0;l!==null&&(a=l.retryLane),Td(t,a)}function Am(t,l){var a=0;switch(t.tag){case 13:var e=t.stateNode,u=t.memoizedState;u!==null&&(a=u.retryLane);break;case 19:e=t.stateNode;break;case 22:e=t.stateNode._retryCache;break;default:throw Error(o(314))}e!==null&&e.delete(l),Td(t,a)}function zm(t,l){return li(t,l)}var xn=null,Me=null,Yc=!1,Un=!1,Gc=!1,Qa=0;function zl(t){t!==Me&&t.next===null&&(Me===null?xn=Me=t:Me=Me.next=t),Un=!0,Yc||(Yc=!0,Tm(Mm))}function gu(t,l){if(!Gc&&Un){Gc=!0;do for(var a=!1,e=xn;e!==null;){if(t!==0){var u=e.pendingLanes;if(u===0)var n=0;else{var i=e.suspendedLanes,c=e.pingedLanes;n=(1<<31-Xt(42|t)+1)-1,n&=u&~(i&~c),n=n&201326677?n&201326677|1:n?n|2:0}n!==0&&(a=!0,Od(e,n))}else n=w,n=Yu(e,e===tt?n:0),(n&3)===0||Re(e,n)||(a=!0,Od(e,n));e=e.next}while(a);Gc=!1}}function Mm(){Un=Yc=!1;var t=0;Qa!==0&&(Rm()&&(t=Qa),Qa=0);for(var l=bl(),a=null,e=xn;e!==null;){var u=e.next,n=Dd(e,l);n===0?(e.next=null,a===null?xn=u:a.next=u,u===null&&(Me=a)):(a=e,(t!==0||(n&3)!==0)&&(Un=!0)),e=u}gu(t)}function Dd(t,l){for(var a=t.suspendedLanes,e=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var i=31-Xt(n),c=1<<i,s=u[i];s===-1?((c&a)===0||(c&e)!==0)&&(u[i]=$r(c,l)):s<=l&&(t.expiredLanes|=c),n&=~c}if(l=tt,a=w,a=Yu(t,t===l?a:0),e=t.callbackNode,a===0||t===l&&lt===2||t.cancelPendingCommit!==null)return e!==null&&e!==null&&ai(e),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Re(t,a)){if(l=a&-a,l===t.callbackPriority)return l;switch(e!==null&&ai(e),Hf(a)){case 2:case 8:a=Tf;break;case 32:a=qu;break;case 268435456:a=Df;break;default:a=qu}return e=_d.bind(null,t),a=li(a,e),t.callbackPriority=l,t.callbackNode=a,l}return e!==null&&e!==null&&ai(e),t.callbackPriority=2,t.callbackNode=null,2}function _d(t,l){var a=t.callbackNode;if(ze()&&t.callbackNode!==a)return null;var e=w;return e=Yu(t,t===tt?e:0),e===0?null:(hd(t,e,l),Dd(t,bl()),t.callbackNode!=null&&t.callbackNode===a?_d.bind(null,t):null)}function Od(t,l){if(ze())return null;hd(t,l,!0)}function Tm(t){qm(function(){(ct&6)!==0?li(Mf,t):t()})}function Xc(){return Qa===0&&(Qa=_f()),Qa}function xd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Lu(""+t)}function Ud(t,l){var a=l.ownerDocument.createElement("input");return a.name=l.name,a.value=l.value,t.id&&a.setAttribute("form",t.id),l.parentNode.insertBefore(a,l),t=new FormData(t),a.parentNode.removeChild(a),t}function Dm(t,l,a,e,u){if(l==="submit"&&a&&a.stateNode===u){var n=xd((u[Ct]||null).action),i=e.submitter;i&&(l=(l=i[Ct]||null)?xd(l.formAction):i.getAttribute("formAction"),l!==null&&(n=l,i=null));var c=new Ju("action","action",null,e,u);t.push({event:c,listeners:[{instance:null,listener:function(){if(e.defaultPrevented){if(Qa!==0){var s=i?Ud(u,i):new FormData(u);Wi(a,{pending:!0,data:s,method:u.method,action:n},null,s)}}else typeof n=="function"&&(c.preventDefault(),s=i?Ud(u,i):new FormData(u),Wi(a,{pending:!0,data:s,method:u.method,action:n},n,s))},currentTarget:u}]})}}for(var Qc=0;Qc<Es.length;Qc++){var Zc=Es[Qc],_m=Zc.toLowerCase(),Om=Zc[0].toUpperCase()+Zc.slice(1);ol(_m,"on"+Om)}ol(ys,"onAnimationEnd"),ol(gs,"onAnimationIteration"),ol(bs,"onAnimationStart"),ol("dblclick","onDoubleClick"),ol("focusin","onFocus"),ol("focusout","onBlur"),ol(w0,"onTransitionRun"),ol(K0,"onTransitionStart"),ol(J0,"onTransitionCancel"),ol(Ss,"onTransitionEnd"),Fa("onMouseEnter",["mouseout","mouseover"]),Fa("onMouseLeave",["mouseout","mouseover"]),Fa("onPointerEnter",["pointerout","pointerover"]),Fa("onPointerLeave",["pointerout","pointerover"]),Aa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Aa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Aa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Aa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Aa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Aa("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(" "),xm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu));function Hd(t,l){l=(l&4)!==0;for(var a=0;a<t.length;a++){var e=t[a],u=e.event;e=e.listeners;t:{var n=void 0;if(l)for(var i=e.length-1;0<=i;i--){var c=e[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(E){yn(E)}u.currentTarget=null,n=s}else for(i=0;i<e.length;i++){if(c=e[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(E){yn(E)}u.currentTarget=null,n=s}}}}function L(t,l){var a=l[ui];a===void 0&&(a=l[ui]=new Set);var e=t+"__bubble";a.has(e)||(Nd(l,t,2,!1),a.add(e))}function Lc(t,l,a){var e=0;l&&(e|=4),Nd(a,t,e,l)}var Hn="_reactListening"+Math.random().toString(36).slice(2);function Vc(t){if(!t[Hn]){t[Hn]=!0,Cf.forEach(function(a){a!=="selectionchange"&&(xm.has(a)||Lc(a,!1,t),Lc(a,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Hn]||(l[Hn]=!0,Lc("selectionchange",!1,l))}}function Nd(t,l,a,e){switch(lr(l)){case 2:var u=lh;break;case 8:u=ah;break;default:u=ef}a=u.bind(null,l,a,t),u=void 0,!ri||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(u=!0),e?u!==void 0?t.addEventListener(l,a,{capture:!0,passive:u}):t.addEventListener(l,a,!0):u!==void 0?t.addEventListener(l,a,{passive:u}):t.addEventListener(l,a,!1)}function wc(t,l,a,e,u){var n=e;if((l&1)===0&&(l&2)===0&&e!==null)t:for(;;){if(e===null)return;var i=e.tag;if(i===3||i===4){var c=e.stateNode.containerInfo;if(c===u||c.nodeType===8&&c.parentNode===u)break;if(i===4)for(i=e.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===u||s.nodeType===8&&s.parentNode===u))return;i=i.return}for(;c!==null;){if(i=Ea(c),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){e=n=i;continue t}c=c.parentNode}}e=e.return}Kf(function(){var m=n,E=oi(a),z=[];t:{var b=ps.get(t);if(b!==void 0){var p=Ju,x=t;switch(t){case"keypress":if(wu(a)===0)break t;case"keydown":case"keyup":p=A0;break;case"focusin":x="focus",p=yi;break;case"focusout":x="blur",p=yi;break;case"beforeblur":case"afterblur":p=yi;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=o0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=T0;break;case ys:case gs:case bs:p=m0;break;case Ss:p=_0;break;case"scroll":case"scrollend":p=f0;break;case"wheel":p=x0;break;case"copy":case"cut":case"paste":p=v0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Ff;break;case"toggle":case"beforetoggle":p=H0}var j=(l&4)!==0,dt=!j&&(t==="scroll"||t==="scrollend"),h=j?b!==null?b+"Capture":null:b;j=[];for(var r=m,v;r!==null;){var A=r;if(v=A.stateNode,A=A.tag,A!==5&&A!==26&&A!==27||v===null||h===null||(A=je(r,h),A!=null&&j.push(Su(r,A,v))),dt)break;r=r.return}0<j.length&&(b=new p(b,x,null,a,E),z.push({event:b,listeners:j}))}}if((l&7)===0){t:{if(b=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",b&&a!==si&&(x=a.relatedTarget||a.fromElement)&&(Ea(x)||x[ka]))break t;if((p||b)&&(b=E.window===E?E:(b=E.ownerDocument)?b.defaultView||b.parentWindow:window,p?(x=a.relatedTarget||a.toElement,p=m,x=x?Ea(x):null,x!==null&&(dt=B(x),j=x.tag,x!==dt||j!==5&&j!==27&&j!==6)&&(x=null)):(p=null,x=m),p!==x)){if(j=Wf,A="onMouseLeave",h="onMouseEnter",r="mouse",(t==="pointerout"||t==="pointerover")&&(j=Ff,A="onPointerLeave",h="onPointerEnter",r="pointer"),dt=p==null?b:Be(p),v=x==null?b:Be(x),b=new j(A,r+"leave",p,a,E),b.target=dt,b.relatedTarget=v,A=null,Ea(E)===m&&(j=new j(h,r+"enter",x,a,E),j.target=v,j.relatedTarget=dt,A=j),dt=A,p&&x)l:{for(j=p,h=x,r=0,v=j;v;v=Te(v))r++;for(v=0,A=h;A;A=Te(A))v++;for(;0<r-v;)j=Te(j),r--;for(;0<v-r;)h=Te(h),v--;for(;r--;){if(j===h||h!==null&&j===h.alternate)break l;j=Te(j),h=Te(h)}j=null}else j=null;p!==null&&Rd(z,b,p,j,!1),x!==null&&dt!==null&&Rd(z,dt,x,j,!0)}}t:{if(b=m?Be(m):window,p=b.nodeName&&b.nodeName.toLowerCase(),p==="select"||p==="input"&&b.type==="file")var O=ns;else if(es(b))if(is)O=Q0;else{O=G0;var Q=Y0}else p=b.nodeName,!p||p.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?m&&fi(m.elementType)&&(O=ns):O=X0;if(O&&(O=O(t,m))){us(z,O,a,E);break t}Q&&Q(t,b,m),t==="focusout"&&m&&b.type==="number"&&m.memoizedProps.value!=null&&ci(b,"number",b.value)}switch(Q=m?Be(m):window,t){case"focusin":(es(Q)||Q.contentEditable==="true")&&(ee=Q,Ai=m,we=null);break;case"focusout":we=Ai=ee=null;break;case"mousedown":zi=!0;break;case"contextmenu":case"mouseup":case"dragend":zi=!1,hs(z,a,E);break;case"selectionchange":if(V0)break;case"keydown":case"keyup":hs(z,a,E)}var U;if(bi)t:{switch(t){case"compositionstart":var N="onCompositionStart";break t;case"compositionend":N="onCompositionEnd";break t;case"compositionupdate":N="onCompositionUpdate";break t}N=void 0}else ae?ls(t,a)&&(N="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(N="onCompositionStart");N&&(Pf&&a.locale!=="ko"&&(ae||N!=="onCompositionStart"?N==="onCompositionEnd"&&ae&&(U=Jf()):(Wl=E,mi="value"in Wl?Wl.value:Wl.textContent,ae=!0)),Q=Nn(m,N),0<Q.length&&(N=new $f(N,t,null,a,E),z.push({event:N,listeners:Q}),U?N.data=U:(U=as(a),U!==null&&(N.data=U)))),(U=R0?C0(t,a):q0(t,a))&&(N=Nn(m,"onBeforeInput"),0<N.length&&(Q=new $f("onBeforeInput","beforeinput",null,a,E),z.push({event:Q,listeners:N}),Q.data=U)),Dm(z,t,m,a,E)}Hd(z,l)})}function Su(t,l,a){return{instance:t,listener:l,currentTarget:a}}function Nn(t,l){for(var a=l+"Capture",e=[];t!==null;){var u=t,n=u.stateNode;u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=je(t,a),u!=null&&e.unshift(Su(t,u,n)),u=je(t,l),u!=null&&e.push(Su(t,u,n))),t=t.return}return e}function Te(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Rd(t,l,a,e,u){for(var n=l._reactName,i=[];a!==null&&a!==e;){var c=a,s=c.alternate,m=c.stateNode;if(c=c.tag,s!==null&&s===e)break;c!==5&&c!==26&&c!==27||m===null||(s=m,u?(m=je(a,n),m!=null&&i.unshift(Su(a,m,s))):u||(m=je(a,n),m!=null&&i.push(Su(a,m,s)))),a=a.return}i.length!==0&&t.push({event:l,listeners:i})}var Um=/\r\n?/g,Hm=/\u0000|\uFFFD/g;function Cd(t){return(typeof t=="string"?t:""+t).replace(Um,`
`).replace(Hm,"")}function qd(t,l){return l=Cd(l),Cd(t)===l}function Rn(){}function F(t,l,a,e,u,n){switch(a){case"children":typeof e=="string"?l==="body"||l==="textarea"&&e===""||Ia(t,e):(typeof e=="number"||typeof e=="bigint")&&l!=="body"&&Ia(t,""+e);break;case"className":Xu(t,"class",e);break;case"tabIndex":Xu(t,"tabindex",e);break;case"dir":case"role":case"viewBox":case"width":case"height":Xu(t,a,e);break;case"style":Vf(t,e,n);break;case"data":if(l!=="object"){Xu(t,"data",e);break}case"src":case"href":if(e===""&&(l!=="a"||a!=="href")){t.removeAttribute(a);break}if(e==null||typeof e=="function"||typeof e=="symbol"||typeof e=="boolean"){t.removeAttribute(a);break}e=Lu(""+e),t.setAttribute(a,e);break;case"action":case"formAction":if(typeof e=="function"){t.setAttribute(a,"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"&&(a==="formAction"?(l!=="input"&&F(t,l,"name",u.name,u,null),F(t,l,"formEncType",u.formEncType,u,null),F(t,l,"formMethod",u.formMethod,u,null),F(t,l,"formTarget",u.formTarget,u,null)):(F(t,l,"encType",u.encType,u,null),F(t,l,"method",u.method,u,null),F(t,l,"target",u.target,u,null)));if(e==null||typeof e=="symbol"||typeof e=="boolean"){t.removeAttribute(a);break}e=Lu(""+e),t.setAttribute(a,e);break;case"onClick":e!=null&&(t.onclick=Rn);break;case"onScroll":e!=null&&L("scroll",t);break;case"onScrollEnd":e!=null&&L("scrollend",t);break;case"dangerouslySetInnerHTML":if(e!=null){if(typeof e!="object"||!("__html"in e))throw Error(o(61));if(a=e.__html,a!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=a}}break;case"multiple":t.multiple=e&&typeof e!="function"&&typeof e!="symbol";break;case"muted":t.muted=e&&typeof e!="function"&&typeof e!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(e==null||typeof e=="function"||typeof e=="boolean"||typeof e=="symbol"){t.removeAttribute("xlink:href");break}a=Lu(""+e),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":e!=null&&typeof e!="function"&&typeof e!="symbol"?t.setAttribute(a,""+e):t.removeAttribute(a);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":e&&typeof e!="function"&&typeof e!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":e===!0?t.setAttribute(a,""):e!==!1&&e!=null&&typeof e!="function"&&typeof e!="symbol"?t.setAttribute(a,e):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":e!=null&&typeof e!="function"&&typeof e!="symbol"&&!isNaN(e)&&1<=e?t.setAttribute(a,e):t.removeAttribute(a);break;case"rowSpan":case"start":e==null||typeof e=="function"||typeof e=="symbol"||isNaN(e)?t.removeAttribute(a):t.setAttribute(a,e);break;case"popover":L("beforetoggle",t),L("toggle",t),Gu(t,"popover",e);break;case"xlinkActuate":Ol(t,"http://www.w3.org/1999/xlink","xlink:actuate",e);break;case"xlinkArcrole":Ol(t,"http://www.w3.org/1999/xlink","xlink:arcrole",e);break;case"xlinkRole":Ol(t,"http://www.w3.org/1999/xlink","xlink:role",e);break;case"xlinkShow":Ol(t,"http://www.w3.org/1999/xlink","xlink:show",e);break;case"xlinkTitle":Ol(t,"http://www.w3.org/1999/xlink","xlink:title",e);break;case"xlinkType":Ol(t,"http://www.w3.org/1999/xlink","xlink:type",e);break;case"xmlBase":Ol(t,"http://www.w3.org/XML/1998/namespace","xml:base",e);break;case"xmlLang":Ol(t,"http://www.w3.org/XML/1998/namespace","xml:lang",e);break;case"xmlSpace":Ol(t,"http://www.w3.org/XML/1998/namespace","xml:space",e);break;case"is":Gu(t,"is",e);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=i0.get(a)||a,Gu(t,a,e))}}function Kc(t,l,a,e,u,n){switch(a){case"style":Vf(t,e,n);break;case"dangerouslySetInnerHTML":if(e!=null){if(typeof e!="object"||!("__html"in e))throw Error(o(61));if(a=e.__html,a!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=a}}break;case"children":typeof e=="string"?Ia(t,e):(typeof e=="number"||typeof e=="bigint")&&Ia(t,""+e);break;case"onScroll":e!=null&&L("scroll",t);break;case"onScrollEnd":e!=null&&L("scrollend",t);break;case"onClick":e!=null&&(t.onclick=Rn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qf.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(u=a.endsWith("Capture"),l=a.slice(2,u?a.length-7:void 0),n=t[Ct]||null,n=n!=null?n[a]:null,typeof n=="function"&&t.removeEventListener(l,n,u),typeof e=="function")){typeof n!="function"&&n!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(l,e,u);break t}a in t?t[a]=e:e===!0?t.setAttribute(a,""):Gu(t,a,e)}}}function Ot(t,l,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":L("error",t),L("load",t);var e=!1,u=!1,n;for(n in a)if(a.hasOwnProperty(n)){var i=a[n];if(i!=null)switch(n){case"src":e=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:F(t,l,n,i,a,null)}}u&&F(t,l,"srcSet",a.srcSet,a,null),e&&F(t,l,"src",a.src,a,null);return;case"input":L("invalid",t);var c=n=i=u=null,s=null,m=null;for(e in a)if(a.hasOwnProperty(e)){var E=a[e];if(E!=null)switch(e){case"name":u=E;break;case"type":i=E;break;case"checked":s=E;break;case"defaultChecked":m=E;break;case"value":n=E;break;case"defaultValue":c=E;break;case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(o(137,l));break;default:F(t,l,e,E,a,null)}}Xf(t,n,c,s,m,i,u,!1),Qu(t);return;case"select":L("invalid",t),e=i=n=null;for(u in a)if(a.hasOwnProperty(u)&&(c=a[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":e=c;default:F(t,l,u,c,a,null)}l=n,a=i,t.multiple=!!e,l!=null?Pa(t,!!e,l,!1):a!=null&&Pa(t,!!e,a,!0);return;case"textarea":L("invalid",t),n=u=e=null;for(i in a)if(a.hasOwnProperty(i)&&(c=a[i],c!=null))switch(i){case"value":e=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(o(91));break;default:F(t,l,i,c,a,null)}Zf(t,e,u,n),Qu(t);return;case"option":for(s in a)if(a.hasOwnProperty(s)&&(e=a[s],e!=null))switch(s){case"selected":t.selected=e&&typeof e!="function"&&typeof e!="symbol";break;default:F(t,l,s,e,a,null)}return;case"dialog":L("cancel",t),L("close",t);break;case"iframe":case"object":L("load",t);break;case"video":case"audio":for(e=0;e<bu.length;e++)L(bu[e],t);break;case"image":L("error",t),L("load",t);break;case"details":L("toggle",t);break;case"embed":case"source":case"link":L("error",t),L("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 a)if(a.hasOwnProperty(m)&&(e=a[m],e!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:F(t,l,m,e,a,null)}return;default:if(fi(l)){for(E in a)a.hasOwnProperty(E)&&(e=a[E],e!==void 0&&Kc(t,l,E,e,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(e=a[c],e!=null&&F(t,l,c,e,a,null))}function Nm(t,l,a,e){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,E=null;for(p in a){var z=a[p];if(a.hasOwnProperty(p)&&z!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":s=z;default:e.hasOwnProperty(p)||F(t,l,p,null,e,z)}}for(var b in e){var p=e[b];if(z=a[b],e.hasOwnProperty(b)&&(p!=null||z!=null))switch(b){case"type":n=p;break;case"name":u=p;break;case"checked":m=p;break;case"defaultChecked":E=p;break;case"value":i=p;break;case"defaultValue":c=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(o(137,l));break;default:p!==z&&F(t,l,b,p,e,z)}}ii(t,i,c,s,m,E,n,u);return;case"select":p=i=c=b=null;for(n in a)if(s=a[n],a.hasOwnProperty(n)&&s!=null)switch(n){case"value":break;case"multiple":p=s;default:e.hasOwnProperty(n)||F(t,l,n,null,e,s)}for(u in e)if(n=e[u],s=a[u],e.hasOwnProperty(u)&&(n!=null||s!=null))switch(u){case"value":b=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==s&&F(t,l,u,n,e,s)}l=c,a=i,e=p,b!=null?Pa(t,!!a,b,!1):!!e!=!!a&&(l!=null?Pa(t,!!a,l,!0):Pa(t,!!a,a?[]:"",!1));return;case"textarea":p=b=null;for(c in a)if(u=a[c],a.hasOwnProperty(c)&&u!=null&&!e.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:F(t,l,c,null,e,u)}for(i in e)if(u=e[i],n=a[i],e.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":b=u;break;case"defaultValue":p=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==n&&F(t,l,i,u,e,n)}Qf(t,b,p);return;case"option":for(var x in a)if(b=a[x],a.hasOwnProperty(x)&&b!=null&&!e.hasOwnProperty(x))switch(x){case"selected":t.selected=!1;break;default:F(t,l,x,null,e,b)}for(s in e)if(b=e[s],p=a[s],e.hasOwnProperty(s)&&b!==p&&(b!=null||p!=null))switch(s){case"selected":t.selected=b&&typeof b!="function"&&typeof b!="symbol";break;default:F(t,l,s,b,e,p)}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 j in a)b=a[j],a.hasOwnProperty(j)&&b!=null&&!e.hasOwnProperty(j)&&F(t,l,j,null,e,b);for(m in e)if(b=e[m],p=a[m],e.hasOwnProperty(m)&&b!==p&&(b!=null||p!=null))switch(m){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(137,l));break;default:F(t,l,m,b,e,p)}return;default:if(fi(l)){for(var dt in a)b=a[dt],a.hasOwnProperty(dt)&&b!==void 0&&!e.hasOwnProperty(dt)&&Kc(t,l,dt,void 0,e,b);for(E in e)b=e[E],p=a[E],!e.hasOwnProperty(E)||b===p||b===void 0&&p===void 0||Kc(t,l,E,b,e,p);return}}for(var h in a)b=a[h],a.hasOwnProperty(h)&&b!=null&&!e.hasOwnProperty(h)&&F(t,l,h,null,e,b);for(z in e)b=e[z],p=a[z],!e.hasOwnProperty(z)||b===p||b==null&&p==null||F(t,l,z,b,e,p)}var Jc=null,kc=null;function Cn(t){return t.nodeType===9?t:t.ownerDocument}function Bd(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 jd(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 Wc(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 $c=null;function Rm(){var t=window.event;return t&&t.type==="popstate"?t===$c?!1:($c=t,!0):($c=null,!1)}var Yd=typeof setTimeout=="function"?setTimeout:void 0,Cm=typeof clearTimeout=="function"?clearTimeout:void 0,Gd=typeof Promise=="function"?Promise:void 0,qm=typeof queueMicrotask=="function"?queueMicrotask:typeof Gd<"u"?function(t){return Gd.resolve(null).then(t).catch(Bm)}:Yd;function Bm(t){setTimeout(function(){throw t})}function Fc(t,l){var a=l,e=0;do{var u=a.nextSibling;if(t.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(e===0){t.removeChild(u),_u(l);return}e--}else a!=="$"&&a!=="$?"&&a!=="$!"||e++;a=u}while(a);_u(l)}function Pc(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var a=l;switch(l=l.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Pc(a),ni(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function jm(t,l,a,e){for(;t.nodeType===1;){var u=a;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!e&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(e){if(!t[qe])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?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 Ym(t,l,a){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=ml(t.nextSibling),t===null))return null;return t}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==="F!"||l==="F")break;if(l==="/$")return null}}return t}function Xd(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"){if(l===0)return t;l--}else a==="/$"&&l++}t=t.previousSibling}return null}function Qd(t,l,a){switch(l=Cn(a),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))}}var nl=new Map,Zd=new Set;function qn(t){return typeof t.getRootNode=="function"?t.getRootNode():t.ownerDocument}var Ll=J.d;J.d={f:Gm,r:Xm,D:Qm,C:Zm,L:Lm,m:Vm,X:Km,S:wm,M:Jm};function Gm(){var t=Ll.f(),l=_n();return t||l}function Xm(t){var l=Wa(t);l!==null&&l.tag===5&&l.type==="form"?vo(l):Ll.r(t)}var De=typeof document>"u"?null:document;function Ld(t,l,a){var e=De;if(e&&typeof l=="string"&&l){var u=Wt(l);u='link[rel="'+t+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),Zd.has(u)||(Zd.add(u),t={rel:t,crossOrigin:a,href:l},e.querySelector(u)===null&&(l=e.createElement("link"),Ot(l,"link",t),Et(l),e.head.appendChild(l)))}}function Qm(t){Ll.D(t),Ld("dns-prefetch",t,null)}function Zm(t,l){Ll.C(t,l),Ld("preconnect",t,l)}function Lm(t,l,a){Ll.L(t,l,a);var e=De;if(e&&t&&l){var u='link[rel="preload"][as="'+Wt(l)+'"]';l==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+Wt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+Wt(a.imageSizes)+'"]')):u+='[href="'+Wt(t)+'"]';var n=u;switch(l){case"style":n=_e(t);break;case"script":n=Oe(t)}nl.has(n)||(t=K({rel:"preload",href:l==="image"&&a&&a.imageSrcSet?void 0:t,as:l},a),nl.set(n,t),e.querySelector(u)!==null||l==="style"&&e.querySelector(pu(n))||l==="script"&&e.querySelector(Eu(n))||(l=e.createElement("link"),Ot(l,"link",t),Et(l),e.head.appendChild(l)))}}function Vm(t,l){Ll.m(t,l);var a=De;if(a&&t){var e=l&&typeof l.as=="string"?l.as:"script",u='link[rel="modulepreload"][as="'+Wt(e)+'"][href="'+Wt(t)+'"]',n=u;switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Oe(t)}if(!nl.has(n)&&(t=K({rel:"modulepreload",href:t},l),nl.set(n,t),a.querySelector(u)===null)){switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Eu(n)))return}e=a.createElement("link"),Ot(e,"link",t),Et(e),a.head.appendChild(e)}}}function wm(t,l,a){Ll.S(t,l,a);var e=De;if(e&&t){var u=$a(e).hoistableStyles,n=_e(t);l=l||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=e.querySelector(pu(n)))c.loading=5;else{t=K({rel:"stylesheet",href:t,"data-precedence":l},a),(a=nl.get(n))&&Ic(t,a);var s=i=e.createElement("link");Et(s),Ot(s,"link",t),s._p=new Promise(function(m,E){s.onload=m,s.onerror=E}),s.addEventListener("load",function(){c.loading|=1}),s.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Bn(i,l,e)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function Km(t,l){Ll.X(t,l);var a=De;if(a&&t){var e=$a(a).hoistableScripts,u=Oe(t),n=e.get(u);n||(n=a.querySelector(Eu(u)),n||(t=K({src:t,async:!0},l),(l=nl.get(u))&&tf(t,l),n=a.createElement("script"),Et(n),Ot(n,"link",t),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Jm(t,l){Ll.M(t,l);var a=De;if(a&&t){var e=$a(a).hoistableScripts,u=Oe(t),n=e.get(u);n||(n=a.querySelector(Eu(u)),n||(t=K({src:t,async:!0,type:"module"},l),(l=nl.get(u))&&tf(t,l),n=a.createElement("script"),Et(n),Ot(n,"link",t),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Vd(t,l,a,e){var u=(u=Kl.current)?qn(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(l=_e(a.href),a=$a(u).hoistableStyles,e=a.get(l),e||(e={type:"style",instance:null,count:0,state:null},a.set(l,e)),e):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=_e(a.href);var n=$a(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(pu(t)))&&!n._p&&(i.instance=n,i.state.loading=5),nl.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},nl.set(t,a),n||km(u,t,a,i.state))),l&&e===null)throw Error(o(528,""));return i}if(l&&e!==null)throw Error(o(529,""));return null;case"script":return l=a.async,a=a.src,typeof a=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Oe(a),a=$a(u).hoistableScripts,e=a.get(l),e||(e={type:"script",instance:null,count:0,state:null},a.set(l,e)),e):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function _e(t){return'href="'+Wt(t)+'"'}function pu(t){return'link[rel="stylesheet"]['+t+"]"}function wd(t){return K({},t,{"data-precedence":t.precedence,precedence:null})}function km(t,l,a,e){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?e.loading=1:(l=t.createElement("link"),e.preload=l,l.addEventListener("load",function(){return e.loading|=1}),l.addEventListener("error",function(){return e.loading|=2}),Ot(l,"link",a),Et(l),t.head.appendChild(l))}function Oe(t){return'[src="'+Wt(t)+'"]'}function Eu(t){return"script[async]"+t}function Kd(t,l,a){if(l.count++,l.instance===null)switch(l.type){case"style":var e=t.querySelector('style[data-href~="'+Wt(a.href)+'"]');if(e)return l.instance=e,Et(e),e;var u=K({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return e=(t.ownerDocument||t).createElement("style"),Et(e),Ot(e,"style",u),Bn(e,a.precedence,t),l.instance=e;case"stylesheet":u=_e(a.href);var n=t.querySelector(pu(u));if(n)return l.state.loading|=4,l.instance=n,Et(n),n;e=wd(a),(u=nl.get(u))&&Ic(e,u),n=(t.ownerDocument||t).createElement("link"),Et(n);var i=n;return i._p=new Promise(function(c,s){i.onload=c,i.onerror=s}),Ot(n,"link",e),l.state.loading|=4,Bn(n,a.precedence,t),l.instance=n;case"script":return n=Oe(a.src),(u=t.querySelector(Eu(n)))?(l.instance=u,Et(u),u):(e=a,(u=nl.get(n))&&(e=K({},a),tf(e,u)),t=t.ownerDocument||t,u=t.createElement("script"),Et(u),Ot(u,"link",e),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&&(e=l.instance,l.state.loading|=4,Bn(e,a.precedence,t));return l.instance}function Bn(t,l,a){for(var e=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=e.length?e[e.length-1]:null,n=u,i=0;i<e.length;i++){var c=e[i];if(c.dataset.precedence===l)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(t,n.nextSibling):(l=a.nodeType===9?a.head:a,l.insertBefore(t,l.firstChild))}function Ic(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function tf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var jn=null;function Jd(t,l,a){if(jn===null){var e=new Map,u=jn=new Map;u.set(a,e)}else u=jn,e=u.get(a),e||(e=new Map,u.set(a,e));if(e.has(t))return e;for(e.set(t,null),a=a.getElementsByTagName(t),u=0;u<a.length;u++){var n=a[u];if(!(n[qe]||n[Ut]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(l)||"";i=t+i;var c=e.get(i);c?c.push(n):e.set(i,[n])}}return e}function kd(t,l,a){t=t.ownerDocument||t,t.head.insertBefore(a,l==="title"?t.querySelector("head > title"):null)}function Wm(t,l,a){if(a===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 Wd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Au=null;function $m(){}function Fm(t,l,a){if(Au===null)throw Error(o(475));var e=Au;if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var u=_e(a.href),n=t.querySelector(pu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yn.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=n,Et(n);return}n=t.ownerDocument||t,a=wd(a),(u=nl.get(u))&&Ic(a,u),n=n.createElement("link"),Et(n);var i=n;i._p=new Promise(function(c,s){i.onload=c,i.onerror=s}),Ot(n,"link",a),l.instance=n}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Yn.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}function Pm(){if(Au===null)throw Error(o(475));var t=Au;return t.stylesheets&&t.count===0&&lf(t,t.stylesheets),0<t.count?function(l){var a=setTimeout(function(){if(t.stylesheets&&lf(t,t.stylesheets),t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}},6e4);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a)}}:null}function Yn(){if(this.count--,this.count===0){if(this.stylesheets)lf(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Gn=null;function lf(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Gn=new Map,l.forEach(Im,t),Gn=null,Yn.call(t))}function Im(t,l){if(!(l.state.loading&4)){var a=Gn.get(t);if(a)var e=a.get(null);else{a=new Map,Gn.set(t,a);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")&&(a.set(i.dataset.precedence,i),e=i)}e&&a.set(null,e)}u=l.instance,i=u.getAttribute("data-precedence"),n=a.get(i)||e,n===e&&a.set(null,u),a.set(i,u),this.count++,e=Yn.bind(this),u.addEventListener("load",e),u.addEventListener("error",e),n?n.parentNode.insertBefore(u,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),l.state.loading|=4}}var zu={$$typeof:C,Provider:null,Consumer:null,_currentValue:Jt,_currentValue2:Jt,_threadCount:0};function th(t,l,a,e,u,n,i,c){this.tag=1,this.containerInfo=t,this.finishedWork=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=ei(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ei(0),this.hiddenUpdates=ei(null),this.identifierPrefix=e,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function $d(t,l,a,e,u,n,i,c,s,m,E,z){return t=new th(t,l,a,i,c,s,m,z),l=1,n===!0&&(l|=24),n=el(3,null,null,l),t.current=n,n.stateNode=t,l=Ri(),l.refCount++,t.pooledCache=l,l.refCount++,n.memoizedState={element:e,isDehydrated:a,cache:l},mc(n),t}function Fd(t){return t?(t=ie,t):ie}function Pd(t,l,a,e,u,n){u=Fd(u),e.context===null?e.context=u:e.pendingContext=u,e=ea(l),e.payload={element:a},n=n===void 0?null:n,n!==null&&(e.callback=n),a=ua(t,e,l),a!==null&&(Rt(a,t,l),iu(a,t,l))}function Id(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<l?a:l}}function af(t,l){Id(t,l),(t=t.alternate)&&Id(t,l)}function tr(t){if(t.tag===13){var l=$l(t,67108864);l!==null&&Rt(l,t,67108864),af(t,67108864)}}var Xn=!0;function lh(t,l,a,e){var u=q.T;q.T=null;var n=J.p;try{J.p=2,ef(t,l,a,e)}finally{J.p=n,q.T=u}}function ah(t,l,a,e){var u=q.T;q.T=null;var n=J.p;try{J.p=8,ef(t,l,a,e)}finally{J.p=n,q.T=u}}function ef(t,l,a,e){if(Xn){var u=uf(e);if(u===null)wc(t,l,e,Qn,a),ar(t,e);else if(uh(u,t,l,a,e))e.stopPropagation();else if(ar(t,e),l&4&&-1<eh.indexOf(t)){for(;u!==null;){var n=Wa(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=pa(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var s=1<<31-Xt(i);c.entanglements[1]|=s,i&=~s}zl(n),(ct&6)===0&&(Mn=bl()+500,gu(0))}}break;case 13:c=$l(n,2),c!==null&&Rt(c,n,2),_n(),af(n,2)}if(n=uf(e),n===null&&wc(t,l,e,Qn,a),n===u)break;u=n}u!==null&&e.stopPropagation()}else wc(t,l,e,null,a)}}function uf(t){return t=oi(t),nf(t)}var Qn=null;function nf(t){if(Qn=null,t=Ea(t),t!==null){var l=B(t);if(l===null)t=null;else{var a=l.tag;if(a===13){if(t=et(l),t!==null)return t;t=null}else if(a===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 lr(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(Zr()){case Mf:return 2;case Tf:return 8;case qu:case Lr:return 32;case Df:return 268435456;default:return 32}default:return 32}}var cf=!1,da=null,ra=null,ma=null,Mu=new Map,Tu=new Map,ha=[],eh="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 ar(t,l){switch(t){case"focusin":case"focusout":da=null;break;case"dragenter":case"dragleave":ra=null;break;case"mouseover":case"mouseout":ma=null;break;case"pointerover":case"pointerout":Mu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tu.delete(l.pointerId)}}function Du(t,l,a,e,u,n){return t===null||t.nativeEvent!==n?(t={blockedOn:l,domEventName:a,eventSystemFlags:e,nativeEvent:n,targetContainers:[u]},l!==null&&(l=Wa(l),l!==null&&tr(l)),t):(t.eventSystemFlags|=e,l=t.targetContainers,u!==null&&l.indexOf(u)===-1&&l.push(u),t)}function uh(t,l,a,e,u){switch(l){case"focusin":return da=Du(da,t,l,a,e,u),!0;case"dragenter":return ra=Du(ra,t,l,a,e,u),!0;case"mouseover":return ma=Du(ma,t,l,a,e,u),!0;case"pointerover":var n=u.pointerId;return Mu.set(n,Du(Mu.get(n)||null,t,l,a,e,u)),!0;case"gotpointercapture":return n=u.pointerId,Tu.set(n,Du(Tu.get(n)||null,t,l,a,e,u)),!0}return!1}function er(t){var l=Ea(t.target);if(l!==null){var a=B(l);if(a!==null){if(l=a.tag,l===13){if(l=et(a),l!==null){t.blockedOn=l,Pr(t.priority,function(){if(a.tag===13){var e=wt(),u=$l(a,e);u!==null&&Rt(u,a,e),af(a,e)}});return}}else if(l===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Zn(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var a=uf(t.nativeEvent);if(a===null){a=t.nativeEvent;var e=new a.constructor(a.type,a);si=e,a.target.dispatchEvent(e),si=null}else return l=Wa(a),l!==null&&tr(l),t.blockedOn=a,!1;l.shift()}return!0}function ur(t,l,a){Zn(t)&&a.delete(l)}function nh(){cf=!1,da!==null&&Zn(da)&&(da=null),ra!==null&&Zn(ra)&&(ra=null),ma!==null&&Zn(ma)&&(ma=null),Mu.forEach(ur),Tu.forEach(ur)}function Ln(t,l){t.blockedOn===l&&(t.blockedOn=null,cf||(cf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,nh)))}var Vn=null;function nr(t){Vn!==t&&(Vn=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){Vn===t&&(Vn=null);for(var l=0;l<t.length;l+=3){var a=t[l],e=t[l+1],u=t[l+2];if(typeof e!="function"){if(nf(e||a)===null)continue;break}var n=Wa(a);n!==null&&(t.splice(l,3),l-=3,Wi(n,{pending:!0,data:u,method:a.method,action:e},e,u))}}))}function _u(t){function l(s){return Ln(s,t)}da!==null&&Ln(da,t),ra!==null&&Ln(ra,t),ma!==null&&Ln(ma,t),Mu.forEach(l),Tu.forEach(l);for(var a=0;a<ha.length;a++){var e=ha[a];e.blockedOn===t&&(e.blockedOn=null)}for(;0<ha.length&&(a=ha[0],a.blockedOn===null);)er(a),a.blockedOn===null&&ha.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(e=0;e<a.length;e+=3){var u=a[e],n=a[e+1],i=u[Ct]||null;if(typeof n=="function")i||nr(a);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[Ct]||null)c=i.formAction;else if(nf(u)!==null)continue}else c=i.action;typeof c=="function"?a[e+1]=c:(a.splice(e,3),e-=3),nr(a)}}}function ff(t){this._internalRoot=t}wn.prototype.render=ff.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(o(409));var a=l.current,e=wt();Pd(a,e,t,l,null,null)},wn.prototype.unmount=ff.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;t.tag===0&&ze(),Pd(t.current,2,null,t,null,null),_n(),l[ka]=null}};function wn(t){this._internalRoot=t}wn.prototype.unstable_scheduleHydration=function(t){if(t){var l=Nf();t={blockedOn:null,target:t,priority:l};for(var a=0;a<ha.length&&l!==0&&l<ha[a].priority;a++);ha.splice(a,0,t),a===0&&er(t)}};var ir=y.version;if(ir!=="19.0.0")throw Error(o(527,ir,"19.0.0"));J.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=wa(l),t=t!==null?Sa(t):null,t=t===null?null:t.stateNode,t};var ih={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:q,findFiberByHostInstance:Ea,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kn.isDisabled&&Kn.supportsFiber)try{Ne=Kn.inject(ih),Gt=Kn}catch{}}return Ou.createRoot=function(t,l){if(!g(t))throw Error(o(299));var a=!1,e="",u=zo,n=Mo,i=To,c=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(e=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(n=l.onCaughtError),l.onRecoverableError!==void 0&&(i=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(c=l.unstable_transitionCallbacks)),l=$d(t,1,!1,null,null,a,e,u,n,i,c,null),t[ka]=l.current,Vc(t.nodeType===8?t.parentNode:t),new ff(l)},Ou.hydrateRoot=function(t,l,a){if(!g(t))throw Error(o(299));var e=!1,u="",n=zo,i=Mo,c=To,s=null,m=null;return a!=null&&(a.unstable_strictMode===!0&&(e=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(n=a.onUncaughtError),a.onCaughtError!==void 0&&(i=a.onCaughtError),a.onRecoverableError!==void 0&&(c=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(s=a.unstable_transitionCallbacks),a.formState!==void 0&&(m=a.formState)),l=$d(t,1,!0,l,a??null,e,u,n,i,c,s,m),l.context=Fd(null),a=l.current,e=wt(),u=ea(e),u.callback=null,ua(a,u,e),l.current.lanes=e,Ce(l,e),zl(l),t[ka]=l.current,Vc(t),new wn(l)},Ou.version="19.0.0",Ou}var Ar;function Ih(){if(Ar)return rf.exports;Ar=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(y){console.error(y)}}return f(),rf.exports=Ph(),rf.exports}var tv=Ih();const lv=dh(tv),Ur=P.createContext(void 0);function kv(){const f=P.useContext(Ur);if(!f)throw new Error("Place PrivacityContext inside PrivacityProvider");return f}const zr={privacitySettings:!0};function av({children:f}){const y={photoHidden:{hide:!1},nameHidden:{hide:!1},midiaHidden:{hide:!1},galeryHidden:{hide:!1},lastMessageHidden:{hide:!1},messageHidden:{hide:!1}},[d,o]=P.useState(y);return P.useEffect(()=>{if(zr.privacitySettings&&localStorage.getItem("privacityOptions")){let S=cr.decryptData(localStorage.getItem("privacityOptions"));o(S),zr.privacitySettings=!1}else{let S=cr.encryptData(d);localStorage.setItem("privacityOptions",S)}let g="";Object.entries(d).map(([S,T])=>{T.hide&&(g+=S+" ")}),g.length===0?document.body.removeAttribute("hide"):document.body.setAttribute("hide",g)},[d]),H.jsx(Ur.Provider,{value:{privacityOptions:d,setPrivacityOptions:o},children:f})}const ev=P.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab742.js")).then(f=>f.i),[]));function uv(){return Sf(y=>y.activeHeader)&&H.jsx(P.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(ev,{})})}const nv=P.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab743.js")),[]));function iv(){return H.jsx(P.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(nv,{})})}const Hr=document.createElement("section");Hr.setAttribute("data-id","ChatName");const Nr=document.createElement("section");Nr.setAttribute("data-id","MenuVertical");const Rr=document.createElement("section");Rr.setAttribute("data-id","MenuHorizontal");const Cr=document.createElement("section");Cr.setAttribute("data-id","ActionMonitor");const kn=document.createElement("section");kn.setAttribute("data-id","AssistenteDeChat");const $n=document.createElement("section");$n.setAttribute("data-id","FooterIconsLeft");$n.setAttribute("style","display: contents;");const pf=document.createElement("section");pf.setAttribute("data-id","FooterIconsRight");const Wn=document.createElement("section");Wn.setAttribute("data-id","MenuFooter");const Ef=document.createElement("section");Ef.setAttribute("data-id","RespostaRapida");const cv=[{father:()=>jt.getState().getSeletor("chatName"),children:Hr,type:"insert",renderInblockChat:!0},{father:()=>jt.getState().getSeletor("menuVertical"),children:Nr,type:"prepend",renderInblockChat:!0},{father:()=>jt.getState().getSeletor("menuHorizontal"),children:Rr,type:"prepend",renderInblockChat:!0},{father:()=>jt.getState().getSeletor("menuFooter"),children:Wn,type:"appendChild",renderInblockChat:!1},{father:()=>jt.getState().getSeletor("respostaRapida"),children:Ef,type:"appendChild",renderInblockChat:!1},{father:()=>jt.getState().getSeletor("assistenteChat"),children:kn,type:"prepend",renderInblockChat:!1},{father:()=>jt.getState().getSeletor("actionMonitor"),children:Cr,type:"insertAdjacentElement",renderInblockChat:!1},{father:()=>jt.getState().getSeletor("footerIconsLeft"),children:$n,type:"prepend",renderInblockChat:!1},{father:()=>jt.getState().getSeletor("respostaRapida"),children:pf,type:"appendChild",renderInblockChat:!1}];Dr.subscribe(f=>{const{getSeletor:y}=jt.getState(),{isNewModel:d}=bh.getState();cv.map(({father:T,children:D,type:R,renderInblockChat:M})=>{var G,at,V;if(f.activeChat)switch(R){case"prepend":(G=T())==null||G.prepend(D);break;case"insert":let C=T();C&&(C.innerHTML="",C.prepend(D));break;case"insertAdjacentElement":(at=T())==null||at.insertAdjacentElement("afterend",D);break;case"appendChild":default:(V=T())==null||V.appendChild(D);break}});const o=()=>{d||y("mainAudio",T=>{new MutationObserver(R=>{R[0].removedNodes.length!==0&&y("menuFooter",M=>{M.appendChild(Wn)})}).observe(T,{childList:!0})})};o(),d?(()=>{y("observerFooterNewModel",T=>{new MutationObserver(R=>{R[0].removedNodes.length!==0&&(y("respostaRapida",M=>{M.appendChild(pf)}),y("footerIconsLeft",M=>{M.prepend($n)}),y("assistenteChat",M=>{M.prepend(kn)}))}).observe(T,{childList:!0})})})():(()=>{y("observerFooter",T=>{new MutationObserver(R=>{R[0].removedNodes.length!==0&&(y("menuFooter",M=>{M.appendChild(Wn)}),y("respostaRapida",M=>{M.appendChild(Ef)}),y("assistenteChat",M=>{M.prepend(kn)}),o())}).observe(T,{childList:!0})})})()});const fv=P.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab744.js")),[]));function sv(){return Dr(y=>y.activeChat)&&H.jsx(P.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(fv,{})})}const qr=document.createElement("section");qr.setAttribute("data-id","MenuLateral");qr.setAttribute("render-mode","window");const ov=P.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab745.js")),[]));function dv(){const f=df(o=>o.menuContent),y=df(o=>o.isOpen),d=df(o=>o.isThree);return f.children!=="close"&&!d&&y&&H.jsx(P.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(ov,{})})}const rv=P.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab746.js")).then(f=>f.i),[]));function mv(){return Sf(y=>y.activeView)&&H.jsx(P.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(rv,{})})}var hv=function(f,y){var d=typeof Symbol=="function"&&f[Symbol.iterator];if(!d)return f;var o=d.call(f),g,S=[],T;try{for(;(y===void 0||y-- >0)&&!(g=o.next()).done;)S.push(g.value)}catch(D){T={error:D}}finally{try{g&&!g.done&&(d=o.return)&&d.call(o)}finally{if(T)throw T.error}}return S},xu={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Wv=function(){var f=hv(P.useState("xs"),2),y=f[0],d=f[1];return P.useEffect(function(){var o=function(){var g=window.innerWidth;g>=xu["2xl"]?d("2xl"):g>=xu.xl?d("xl"):g>=xu.lg?d("lg"):g>=xu.md?d("md"):g>=xu.sm?d("sm"):d("xs")};return o(),window.addEventListener("resize",o),function(){return window.removeEventListener("resize",o)}},[]),{breakpoint:y,isMobile:y==="xs"||y==="sm",isTablet:y==="md",isDesktop:y==="lg"||y==="xl"||y==="2xl"}},vv=function(f,y){var d=typeof Symbol=="function"&&f[Symbol.iterator];if(!d)return f;var o=d.call(f),g,S=[],T;try{for(;(y===void 0||y-- >0)&&!(g=o.next()).done;)S.push(g.value)}catch(D){T={error:D}}finally{try{g&&!g.done&&(d=o.return)&&d.call(o)}finally{if(T)throw T.error}}return S};function yv(f,y){y===void 0&&(y=0);var d=vv(P.useState(!1),2),o=d[0],g=d[1];return P.useEffect(function(){var S=f.persist.onFinishHydration(function(){return setTimeout(function(){return g(!0)},y)});return setTimeout(function(){return g(f.persist.hasHydrated())},y),function(){S()}},[f,y]),o}function Fn(f){return new Promise((y,d)=>{f.oncomplete=f.onsuccess=()=>y(f.result),f.onabort=f.onerror=()=>d(f.error)})}function Br(f,y){let d;const o=()=>{if(d)return d;const g=indexedDB.open(f);return g.onupgradeneeded=()=>g.result.createObjectStore(y),d=Fn(g),d.then(S=>{S.onclose=()=>d=void 0},()=>{}),d};return(g,S)=>o().then(T=>S(T.transaction(y,g).objectStore(y)))}let vf;function Af(){return vf||(vf=Br("keyval-store","keyval")),vf}function gv(f,y=Af()){return y("readonly",d=>Fn(d.get(f)))}function bv(f,y,d=Af()){return d("readwrite",o=>(o.put(y,f),Fn(o.transaction)))}function Sv(f,y=Af()){return y("readwrite",d=>(d.delete(f),Fn(d.transaction)))}var yf=function(f,y,d,o){function g(S){return S instanceof d?S:new d(function(T){T(S)})}return new(d||(d=Promise))(function(S,T){function D(G){try{M(o.next(G))}catch(at){T(at)}}function R(G){try{M(o.throw(G))}catch(at){T(at)}}function M(G){G.done?S(G.value):g(G.value).then(D,R)}M((o=o.apply(f,y||[])).next())})},gf=function(f,y){var d={label:0,sent:function(){if(S[0]&1)throw S[1];return S[1]},trys:[],ops:[]},o,g,S,T=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return T.next=D(0),T.throw=D(1),T.return=D(2),typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function D(M){return function(G){return R([M,G])}}function R(M){if(o)throw new TypeError("Generator is already executing.");for(;T&&(T=0,M[0]&&(d=0)),d;)try{if(o=1,g&&(S=M[0]&2?g.return:M[0]?g.throw||((S=g.return)&&S.call(g),0):g.next)&&!(S=S.call(g,M[1])).done)return S;switch(g=0,S&&(M=[M[0]&2,S.value]),M[0]){case 0:case 1:S=M;break;case 4:return d.label++,{value:M[1],done:!1};case 5:d.label++,g=M[1],M=[0];continue;case 7:M=d.ops.pop(),d.trys.pop();continue;default:if(S=d.trys,!(S=S.length>0&&S[S.length-1])&&(M[0]===6||M[0]===2)){d=0;continue}if(M[0]===3&&(!S||M[1]>S[0]&&M[1]<S[3])){d.label=M[1];break}if(M[0]===6&&d.label<S[1]){d.label=S[1],S=M;break}if(S&&d.label<S[2]){d.label=S[2],d.ops.push(M);break}S[2]&&d.ops.pop(),d.trys.pop();continue}M=y.call(f,d)}catch(G){M=[6,G],g=0}finally{o=S=0}if(M[0]&5)throw M[1];return{value:M[0]?M[1]:void 0,done:!0}}},jr=function(f,y){var d=Br(f,y);return{getItem:function(o){return yf(void 0,void 0,void 0,function(){var g,S;return gf(this,function(T){switch(T.label){case 0:return T.trys.push([0,2,,3]),[4,gv(o,d)];case 1:return g=T.sent(),[2,g?JSON.stringify(g):null];case 2:return S=T.sent(),console.error("[".concat(f,"] Erro ao ler '").concat(o,"':"),S),[2,null];case 3:return[2]}})})},setItem:function(o,g){return yf(void 0,void 0,void 0,function(){var S,T;return gf(this,function(D){switch(D.label){case 0:return D.trys.push([0,2,,3]),S=JSON.parse(g),[4,bv(o,S,d)];case 1:return D.sent(),[3,3];case 2:return T=D.sent(),console.error("[".concat(f,"] Erro ao salvar '").concat(o,"':"),T),[3,3];case 3:return[2]}})})},removeItem:function(o){return yf(void 0,void 0,void 0,function(){var g;return gf(this,function(S){switch(S.label){case 0:return S.trys.push([0,2,,3]),[4,Sv(o,d)];case 1:return S.sent(),[3,3];case 2:return g=S.sent(),console.error("[".concat(f,"] Erro ao remover '").concat(o,"':"),g),[3,3];case 3:return[2]}})})}}};function pv(f){return typeof f=="object"&&f!==null&&"__type"in f&&f.__type==="Date"&&"value"in f&&typeof f.value=="string"}function Ev(f){return typeof f=="object"&&f!==null&&"__type"in f&&f.__type==="Map"&&"value"in f&&Array.isArray(f.value)}var hl=(f=>(f.IDLE="idle",f.RUNNING="running",f.PAUSED="paused",f.CANCELLED="cancelled",f.COMPLETED="completed",f.FAILED="failed",f))(hl||{});const Va=xe()(_r((f,y)=>({executions:new Map,startExecution:(d,o,g,S)=>{f(T=>{const D=new Map(T.executions);return D.set(d,{campaignId:d,status:"running",type:S,currentContactIndex:0,currentActionIndex:0,totalContacts:o,totalActions:g,successContacts:[],failedContacts:[],startedAt:new Date,shouldPause:!1,shouldCancel:!1}),{executions:D}})},updateProgress:(d,o,g,S)=>{f(T=>{const D=new Map(T.executions),R=D.get(d);return R&&D.set(d,{...R,currentContactIndex:o,successContacts:g?[...R.successContacts,S]:R.successContacts,failedContacts:g?R.failedContacts:[...R.failedContacts,S]}),{executions:D}})},requestPause:d=>{f(o=>{const g=new Map(o.executions),S=g.get(d);return S&&S.status==="running"&&g.set(d,{...S,shouldPause:!0}),{executions:g}})},requestCancel:d=>{f(o=>{const g=new Map(o.executions),S=g.get(d);return S&&S.status!=="completed"&&g.set(d,{...S,shouldCancel:!0}),{executions:g}})},forceCancel:d=>{f(o=>{const g=new Map(o.executions);return g.delete(d),{executions:g}})},resume:d=>{f(o=>{const g=new Map(o.executions),S=g.get(d);return S&&S.status==="paused"&&g.set(d,{...S,status:"running",shouldPause:!1}),{executions:g}})},shouldPauseExecution:d=>{const o=y().executions.get(d);return(o==null?void 0:o.shouldPause)||!1},shouldCancelExecution:d=>{const o=y().executions.get(d);return(o==null?void 0:o.shouldCancel)||!1},completeExecution:d=>{f(o=>{const g=new Map(o.executions),S=g.get(d);return S&&g.set(d,{...S,status:"completed",completedAt:new Date}),{executions:g}})},failExecution:(d,o)=>{f(g=>{const S=new Map(g.executions),T=S.get(d);return T&&S.set(d,{...T,status:"failed",completedAt:new Date}),{executions:S}})},clearExecution:d=>{f(o=>{const g=new Map(o.executions);return g.delete(d),{executions:g}})}}),{name:"campaign-execution-store",storage:Or(()=>jr("CampaignExecutionDB","campaignExecutionStore"),{replacer:(f,y)=>y instanceof Date?{__type:"Date",value:y.toISOString()}:y instanceof Map?{__type:"Map",value:Array.from(y.entries())}:y,reviver:(f,y)=>pv(y)?new Date(y.value):Ev(y)?new Map(y.value):y}),version:2,migrate:(f,y)=>y===1?{executions:new Map}:f,partialize:f=>({executions:f.executions})})),zf=xe()(_r((f,y)=>({currentCampaignId:"",setCurrentCampaignId:d=>f({currentCampaignId:d}),campaigns:[],addCampaign:d=>{if(y().campaigns.some(S=>S.id===d.id)){console.warn(`Campanha com ID ${d.id} já existe`);return}f(S=>({campaigns:[...S.campaigns,{...d,createdAt:d.createdAt||new Date,updatedAt:d.updatedAt||new Date}]}))},updateCampaign:(d,o)=>f(g=>({campaigns:g.campaigns.map(S=>S.id===d?{...S,...o,updatedAt:new Date}:S)})),updateConfig:(d,o)=>f(g=>({campaigns:g.campaigns.map(S=>S.id===d?{...S,config:{...S.config,...o},updatedAt:new Date}:S)})),removeCampaign:d=>{Va.getState().clearExecution(d),f(o=>o.campaigns.some(S=>S.id===d)?{campaigns:o.campaigns.filter(S=>S.id!==d),currentCampaignId:o.currentCampaignId===d?"":o.currentCampaignId}:(console.warn(`Campanha com ID ${d} não encontrada`),o))},clearCampaigns:()=>f({campaigns:[]}),setQuickReplyAction:d=>{const{currentCampaignId:o,campaigns:g}=y();if(!o||!g.find(G=>G.id===o))return;const{getAction:T}=Sh.getState(),{acao:D}=mr.getState(),M=(Array.isArray(d.script)&&d.type==="script"?d.script.flatMap(G=>T(G.id)??[]):T(d.id)??[]).map(G=>({...G,id:Tr()}));mr.setState({acao:[...D,...M]})}}),{name:"useSendBulkMessage-store",storage:Or(()=>jr("SendBulkMessageDB","useSendBulkMessageStore"),{reviver:(f,y)=>{if(typeof y=="string"&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(y)){const d=new Date(y);return isNaN(d.getTime())?y:d}return y}}),version:1,partialize:f=>({campaigns:f.campaigns,currentCampaignId:f.currentCampaignId})}));var Ml=(f=>(f.DRAFT="Rascunho",f.PAUSED="Pausada",f.SENDING="Enviando",f.SENT="Enviada",f.FAILED="Falhou",f))(Ml||{});const $v={interval:{seconds:10},pause:{every:10,durationSeconds:60},signature:{disabled:!1,useCustomName:!1,customName:void 0}},Yr=xe((f,y)=>({steps:[{key:"contatos",label:Za.getState().language.step_contatos,icon:fr},{key:"acoes",label:Za.getState().language.step_acoes,icon:sr},{key:"revisao",label:Za.getState().language.step_revisao,icon:or},{key:"envio",label:Za.getState().language.step_envio,icon:dr},{key:"resultados",label:Za.getState().language.step_resultados,icon:rr}],currentStep:"contatos",setCurrentStep:d=>f({currentStep:d}),updateStepsLabels:d=>f({steps:[{key:"contatos",label:d.step_contatos,icon:fr},{key:"acoes",label:d.step_acoes,icon:sr},{key:"revisao",label:d.step_revisao,icon:or},{key:"envio",label:d.step_envio,icon:dr},{key:"resultados",label:d.step_resultados,icon:rr}]})}));Za.subscribe((f,y)=>{f.language!==y.language&&Yr.getState().updateStepsLabels(f.language)});function Av(f){return f!=null&&f.trim().length>0}function Vl(f,y){Va.setState(d=>{const o=new Map(d.executions),g=o.get(f);return g&&o.set(f,{...g,...y}),{executions:o}})}function zv(f){return Va.getState().executions.get(f)}function Fv(f){const{campaigns:y}=zf.getState();return y.find(d=>d.id===f)}const Mr=f=>new Promise(y=>setTimeout(y,f)),Mv=async()=>{try{const f=await Uu.Conn("getMyUserId");if(!f)throw new Error("ID do usuário não encontrado");const y=await Uu.Contact("get",f);if(!y)throw new Error("Não foi possível obter o contato do usuário");const d=await Uu.Contact("getProfilePictureUrl",f);return{id:y.id.toString(),name:y.name||y.pushname||"Eu",avatarUrl:d||"",phone:y.id.user}}catch(f){throw console.error("Erro ao obter contato do usuário:",f),new Error(`Falha ao carregar informações do usuário: ${f instanceof Error?f.message:"Erro desconhecido"}`)}},Jn=()=>{il({type:"Info",message:"Não é possível atribuir um contato não salvo a uma aba, etiqueta, fixá-lo ou transferi-lo de atendimento.",position:"top-right"})};async function Tv({userID:f,acao:y,assiantura:d,remetente:o,campaignId:g,resumeFromActionIndex:S=0}){const{addMonitor:T,deleteMonitor:D,updateMonitor:R}=ph.getState(),M=[],G=Tr();T({id:G,userID:f,sendAction:"Actived",remetente:o,actionsTam:y.length,actionIndice:S,activeAction:y[S]});for(const[V,C]of y.entries()){if(V<S)continue;const Tt=Va.getState();if(g){if(!Tt.executions.get(g))return D(G),{status:"execution_not_found"};if(Tt.shouldCancelExecution(g))return D(G),{status:"cancelled"};if(Tt.shouldPauseExecution(g))return Vl(g,{currentActionIndex:V,status:hl.PAUSED,pausedAt:new Date,shouldPause:!1}),D(G),{status:"paused",actionIndex:V}}if(!R(G,V,C)){M.push(!1);break}switch(g&&Vl(g,{currentActionIndex:V}),C.type){case"txt":M.push(await Yh(nt(f),C.propriedades,d));break;case"image":M.push(await jh(nt(f),C.propriedades,d));break;case"video":M.push(await Bh(nt(f),C.propriedades,d));break;case"audio":M.push(await qh(nt(f),C.propriedades));break;case"doc":M.push(await Ch(nt(f),C.propriedades));break;case"pix":M.push(await Rh(nt(f),C.propriedades));break;case"groupInvite":M.push(await Nh(nt(f),C.propriedades));break;case"contact":M.push(await Hh(nt(f),C.propriedades));break;case"linkPreview":M.push(await Uh(nt(f),C.propriedades));break;case"sticker":M.push(await xh(nt(f),C.propriedades));break;case"addCRM":f.includes("@lid")?Jn():await Oh(sf(f),C.propriedades.crmID,C.propriedades.abaID);break;case"removeCRM":await br(sf(f),!1,C.propriedades.crmID,C.propriedades.abaID);break;case"removeAllCRM":await br(sf(f),!0);break;case"addLabel":f.includes("@lid")?Jn():await gr(nt(f),C.propriedades.labelID,"add");break;case"removeLabel":await gr(nt(f),C.propriedades.labelID,"remove");break;case"removeAllLabel":await _h(nt(f));break;case"timer":await Dh(C.propriedades.segundos);break;case"composing":await yr(nt(f),C.propriedades.segundos,"txt");break;case"recording":await yr(nt(f),C.propriedades.segundos,"audio");break;case"arquivar":await vr(nt(f));break;case"desarquivar":await vr(nt(f),!0);break;case"fixarChat":f.includes("@lid")?Jn():await hr(nt(f),"pin");break;case"desfixarChat":await hr(nt(f),"unpin");break;case"marcarNaoLido":await Th(nt(f));break;case"transferir":f.includes("@lid")?Jn():await Mh(nt(f),C.propriedades);break;case"bloquear":await zh(nt(f));break;case"respostaRapida":await Ah(nt(f),C.propriedades.respostaRapidaID,d);break;case"list":await Eh(nt(f),C.propriedades);break;default:console.warn(`No handler found for action type: ${C.type}`);break}}return D(G),M.length===0||M.every(V=>V&&V.id)?{status:"success"}:{status:"error",message:"Erro ao executar uma ou mais ações."}}async function Dv({campaign:f,type:y,resumeFromIndex:d=0,isResume:o=!1}){const g=Za.getState().language,{actions:S,config:T,id:D}=f,{interval:R,pause:M,signature:G}=T,{seconds:at}=R,{every:V,durationSeconds:C}=M,{disabled:Tt,useCustomName:Kt,customName:cl}=G,{updateCampaign:xt}=zf.getState(),ht=Va.getState(),Yt=zv(D);if(Yt&&Yt.status===hl.RUNNING&&!o){il({type:"Info",message:g.send_campanha_ja_em_execucao});return}const fl=y==="test"?[await Mv()]:f.selectedContacts,Tl=(Yt==null?void 0:Yt.currentActionIndex)||0;o?Vl(D,{status:hl.RUNNING,shouldPause:!1,shouldCancel:!1}):ht.startExecution(D,fl.length,S.length,y),xt(D,{status:Ml.SENDING}),Yr.getState().setCurrentStep("envio"),il({type:"Info",message:o?g.send_retomando_envio:g.send_iniciando_envio});try{for(let ft=d;ft<fl.length;ft++){const vl=fl[ft];if(ht.shouldCancelExecution(D)){Vl(D,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),xt(D,{status:Ml.DRAFT}),il({type:"Info",message:g.send_campanha_cancelada});return}const wl={desativar:Tt,personalizar:Kt&&Av(cl),nome:(cl==null?void 0:cl.trim())||""},q=ft===d?Tl:0,K=await Tv({userID:vl.id,acao:S,assiantura:wl,remetente:"useAcaoEnvioEmMassaNew",campaignId:D,resumeFromActionIndex:q});switch(K.status){case"cancelled":Vl(D,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),xt(D,{status:Ml.DRAFT}),il({type:"Info",message:g.send_campanha_cancelada});return;case"paused":xt(D,{status:Ml.PAUSED}),il({type:"Info",message:g.campanha_pausada});return;case"execution_not_found":return;case"error":ht.failExecution(D,K.message),xt(D,{status:Ml.FAILED}),il({type:"Error",message:`${g.send_erro_ao_enviar} ${K.message}`});return;case"success":ht.updateProgress(D,ft+1,!0,vl);break}if(ft<fl.length-1){if(await Mr(at*1e3),ht.shouldCancelExecution(D)){Vl(D,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),xt(D,{status:Ml.DRAFT}),il({type:"Info",message:g.send_campanha_cancelada});return}if((ft+1)%V===0){const sl=new Date(Date.now()+C*1e3);if(Vl(D,{status:hl.PAUSED,isAutoPause:!0,autoPauseEndsAt:sl,pausedAt:new Date}),il({type:"Info",message:`${g.send_pausa_apos_envios} ${C}s ${g.send_apos} ${V} ${g.send_envios}`}),await Mr(C*1e3),ht.shouldCancelExecution(D)){Vl(D,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),xt(D,{status:Ml.DRAFT}),il({type:"Info",message:g.send_campanha_cancelada});return}Vl(D,{status:hl.RUNNING,isAutoPause:!1,autoPauseEndsAt:void 0})}}}ht.completeExecution(D),xt(D,{status:Ml.SENT}),il({type:"Success",message:`${g.send_campanha_concluida} ${fl.length} ${g.send_contatos_processados}`})}catch(ft){const vl=ft instanceof Error?ft:new Error(g.send_erro_desconhecido);ht.failExecution(D,vl.message),xt(D,{status:Ml.FAILED}),il({type:"Error",message:`${g.send_erro_ao_enviar} ${vl.message}`})}}function _v(){const f=yv(Va);P.useEffect(()=>{if(!f)return;const y=Va.getState(),d=zf.getState();y.executions.forEach((o,g)=>{if(o.status===hl.RUNNING){const S=d.campaigns.find(T=>T.id===g);S&&Dv({campaign:S,type:o.type,resumeFromIndex:o.currentContactIndex,isResume:!0})}})},[f])}const Gr=xe(f=>({modalExterno:null,zIndex:900,btnClose:!1,auxFunc:{mounted:null,desmouted:null},open:(y,d=900,o=!1,g={mounted:null,desmouted:null})=>{g.mounted&&g.mounted(),f(()=>({modalExterno:y,zIndex:d,btnClose:o,auxFunc:g}))},close:()=>f(y=>(y.auxFunc.desmouted&&y.auxFunc.desmouted(),{modalExterno:null})),openRendertype:(y,d=900,o=!1,g={mounted:null,desmouted:null})=>{let S;switch(y){case"Active_IA":S=H.jsx(Gh,{});break}Gr.getState().open(S,d,o,g)}}));function Ov(){const{modalExterno:f,btnClose:y,close:d,zIndex:o}=Gr(),g=P.useRef(null),S=P.useRef(null);return P.useEffect(()=>{const T=D=>{const R=document.querySelector(".iziToast-wrapper"),M=document.querySelector('section[data-id="Modal Options"]'),G=document.querySelector('section[data-id="Modal"]');y&&g.current&&!S.current.contains(D.target)&&(!R||!R.contains(D.target))&&!M&&!G&&d()};return f&&document.addEventListener("mousedown",T),()=>{document.removeEventListener("mousedown",T)}},[f]),f&&H.jsx("section",{"data-id":"Modal Externo",children:H.jsx("dialog",{id:"my_modal_5",ref:g,className:"modal modal-bottom sm:modal-middle !absolute bg-[var(--modal-backdrop)] overflow-hidden !opacity-100 !pointer-events-auto !visible",style:{zIndex:o},children:H.jsxs("div",{ref:S,className:"animate__animated animate__zoomIn relative overflow-hidden !max-w-none !max-h-none !w-fit !h-fit p-[2px]",children:[y&&H.jsx("span",{className:"absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",onClick:d,children:H.jsx(xr,{className:"w-full h-full text-[var(--primary-strong)]"})}),H.jsx("div",{className:"w-full h-full",children:f})]})})})}const xv=xe()(f=>({modal:null,btnClose:!0,auxFunc:{mounted:null,desmouted:null},open:(y,d=!0,o={mounted:null,desmouted:null})=>f(()=>(o.mounted&&o.mounted(),{modal:y,btnClose:d,auxFunc:o})),close:()=>f(y=>(y.auxFunc.desmouted&&y.auxFunc.desmouted(),{modal:null}))}));function Uv(){const{modal:f,btnClose:y,close:d}=xv(),o=P.useRef(null),g=P.useRef(null);return P.useLayoutEffect(()=>{const S=T=>{const D=document.querySelector(".iziToast-wrapper"),R=document.querySelector('section[data-id="Modal Options"]'),M=document.querySelector('section[data-id="Modal Emoji"]'),G=document.querySelector('section[data-id="Modal Externo"]');y&&o.current&&!g.current.contains(T.target)&&(!D||!D.contains(T.target))&&!R&&!M&&!G&&d()};return f&&document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[f]),H.jsx(fh,{children:f&&H.jsx("section",{"data-id":"ModalLateral",children:H.jsx(of.div,{ref:o,initial:{opacity:0,backdropFilter:"blur(0px)"},animate:{opacity:1,backdropFilter:"blur(4px)"},exit:{opacity:0,backdropFilter:"blur(0px)"},transition:{duration:.3,ease:[.4,0,.2,1]},className:"h-full w-full fixed top-0 shadow-lg overflow-auto box-sizing z-[111] bg-black/20",style:{backgroundColor:"rgba(15, 23, 42, 0.3)"},children:H.jsxs(of.div,{ref:g,initial:{x:-400,opacity:0},animate:{x:0,opacity:1},exit:{x:-400,opacity:0},transition:{type:"spring",damping:30,stiffness:300,mass:.8},className:"modalLateral bg-white dark:bg-black border-[var(--conversation-header-border)] border-solid border-r overflow-hidden relative",children:[y&&H.jsx(of.span,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.2,duration:.2},className:"absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer z-10",onClick:d,children:H.jsx(xr,{className:"w-full h-full text-[var(--primary-strong)]"})}),H.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-[var(--primaria)] via-[var(--secundaria)] to-[var(--terciaria)]"}),H.jsx("div",{className:"w-full h-full",children:f})]})})})})}const Hv=xe()(f=>({isHover:!1,content:"",options:{},referenceElement:null,style:{},open:(y,d,o,g={})=>f(()=>({isHover:!0,content:y,referenceElement:o,options:d,style:g})),close:()=>f(()=>({isHover:!1,content:"",referenceElement:null,options:{},style:{}}))}));function Nv(){const{isHover:f,content:y,referenceElement:d,options:o,style:g}=Hv(),S=P.useRef(null),{refs:T,floatingStyles:D,context:R}=hh({...o,middleware:[yh(10),gh({element:S})]});return P.useEffect(()=>{d&&T.setReference(d)},[d,T]),f&&H.jsx("section",{"data-id":"Tooltip",children:H.jsx("div",{ref:T.setFloating,className:"z-[9999999]",style:{...D,...g},children:H.jsxs("div",{className:"rounded shadow-sm bg-label-gradient border border-solid border-[var(--terciaria)] animate__animated animate__pulse",children:[H.jsx(vh,{ref:S,context:R,className:"fill-[var(--primaria)] w-3 h-3"}),H.jsx("div",{className:"text-[var(--letra)] p-[6px]",children:y})," "]})})})}const La=document.createElement("main");document.body.prepend(La);La.setAttribute("theme-active","default");La.setAttribute("active-view-menu","true");const qv=()=>{const{getSeletor:f}=jt();return P.useLayoutEffect(()=>{f("afiliadoMain",y=>{La.appendChild(y)}),(()=>{const y=document.querySelector("#app > div");if(!y)return;const d=()=>{const g=y.className.trim().split(/\s+/),S=g.indexOf("os-win");if(S!==-1){const T=g.slice(0,S+1).join(" ");y.className!==T&&(y.className=T)}};new MutationObserver(d).observe(y,{attributes:!0,attributeFilter:["class"]}),d()})()},[]),_v(),H.jsxs(av,{children:[H.jsx(oh,{}),H.jsx(wh,{}),H.jsx(Kh,{}),H.jsx(kh,{}),H.jsx(Jh,{}),H.jsx(Ov,{}),H.jsx(Nv,{}),H.jsx(Uv,{}),H.jsx(mv,{}),H.jsx(uv,{}),H.jsx(iv,{}),H.jsx(sv,{}),H.jsx(dv,{})]})};(async()=>{try{const y=await(await fetch(bf.domSelector)).json();jt.setState({domSelector:y})}catch(f){console.error("Error ao tentar Capturar o Dom Selector virtual",f)}finally{const{getElement:f,domSelector:y}=jt.getState();sh(f("paneSide"),()=>{lv.createRoot(La).render(H.jsx(qv,{})),La.setAttribute("active-assistente-chat",String(Lh.getState().assistente.active)),La.setAttribute("theme-active",String(Sf.getState().tema)),Vh(),Cv()}),Uu.DomSelector("set",y)}})();const Pv=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{Cr as A,Hr as C,hl as E,$n as F,Nr as M,Ef as R,Rr as a,kn as b,Wn as c,pf as d,qr as e,zv as f,Fv as g,Va as h,jr as i,zf as j,Ml as k,Gr as l,xv as m,kv as n,Yr as o,$v as p,Wv as q,Mv as r,Dv as s,yv as t,Hv as u,Pv as v};
