import{C as fr,j as H,_ as Hu,r as _r,a as sr,b as or,c as dr,d as rr,e as mr,P as nt,f as ff,I as zl,A as sh,m as sf,w as oh,L as dh}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{g as rh}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import{r as mh,a as W}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.js";import{a as hh}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import{u as vh,F as yh,o as gh,a as bh}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import{y as Sf,z as pf,A as Sh,B as Yt,C as ph,D as Eh,E as Ah,F as zh,G as hr,H as Mh,J as gf,K as of,L as Or,M as xr,N as Th,O as vr,P as Dh,Q as _h,R as Oh,T as xh,U as Uh,V as Hh,W as yr,X as gr,Y as br,Z as Nh,_ as Rh,$ as Sr,a0 as pr,a1 as Ch,a2 as qh,a3 as Bh,a4 as jh,a5 as Yh,a6 as Gh,a7 as Xh,a8 as Qh,a9 as Lh,aa as Zh,ab as Vh,ac as wh,s as Kh,o as Jh,ad as kh,ae as Wh,af as $h,ag as Fh,ah as Ph}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import{M as Ih}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f45.js";import{u as La}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import{c as xe}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import{W as Uu,V as bf}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import{X as Ur}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import{a as tv}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";var df={exports:{}},Ou={},rf={exports:{}},mf={};/**
 * @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 Er;function lv(){return Er||(Er=1,(function(f){function y(_,G){var j=_.length;_.push(G);t:for(;0<j;){var et=j-1>>>1,mt=_[et];if(0<g(mt,G))_[et]=G,_[j]=mt,j=et;else break t}}function d(_){return _.length===0?null:_[0]}function o(_){if(_.length===0)return null;var G=_[0],j=_.pop();if(j!==G){_[0]=j;t:for(var et=0,mt=_.length,wa=mt>>>1;et<wa;){var Sa=2*(et+1)-1,Tl=_[Sa],K=Sa+1,kt=_[K];if(0>g(Tl,j))K<mt&&0>g(kt,Tl)?(_[et]=kt,_[K]=j,et=K):(_[et]=Tl,_[Sa]=j,et=Sa);else if(K<mt&&0>g(kt,j))_[et]=kt,_[K]=j,et=K;else break t}}return G}function g(_,G){var j=_.sortIndex-G.sortIndex;return j!==0?j:_.id-G.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 D=Date,M=D.now();f.unstable_now=function(){return D.now()-M}}var N=[],T=[],R=1,F=null,L=3,q=!1,rt=!1,xt=!1,Gt=typeof setTimeout=="function"?setTimeout:null,Nt=typeof clearTimeout=="function"?clearTimeout:null,vt=typeof setImmediate<"u"?setImmediate:null;function Xt(_){for(var G=d(T);G!==null;){if(G.callback===null)o(T);else if(G.startTime<=_)o(T),G.sortIndex=G.expirationTime,y(N,G);else break;G=d(T)}}function cl(_){if(xt=!1,Xt(_),!rt)if(d(N)!==null)rt=!0,ga();else{var G=d(T);G!==null&&ba(cl,G.startTime-_)}}var Ml=!1,it=-1,fl=5,wl=-1;function B(){return!(f.unstable_now()-wl<fl)}function $(){if(Ml){var _=f.unstable_now();wl=_;var G=!0;try{t:{rt=!1,xt&&(xt=!1,Nt(it),it=-1),q=!0;var j=L;try{l:{for(Xt(_),F=d(N);F!==null&&!(F.expirationTime>_&&B());){var et=F.callback;if(typeof et=="function"){F.callback=null,L=F.priorityLevel;var mt=et(F.expirationTime<=_);if(_=f.unstable_now(),typeof mt=="function"){F.callback=mt,Xt(_),G=!0;break l}F===d(N)&&o(N),Xt(_)}else o(N);F=d(N)}if(F!==null)G=!0;else{var wa=d(T);wa!==null&&ba(cl,wa.startTime-_),G=!1}}break t}finally{F=null,L=j,q=!1}G=void 0}}finally{G?sl():Ml=!1}}}var sl;if(typeof vt=="function")sl=function(){vt($)};else if(typeof MessageChannel<"u"){var Ue=new MessageChannel,ya=Ue.port2;Ue.port1.onmessage=$,sl=function(){ya.postMessage(null)}}else sl=function(){Gt($,0)};function ga(){Ml||(Ml=!0,sl())}function ba(_,G){it=Gt(function(){_(f.unstable_now())},G)}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(){rt||q||(rt=!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"):fl=0<_?Math.floor(1e3/_):5},f.unstable_getCurrentPriorityLevel=function(){return L},f.unstable_getFirstCallbackNode=function(){return d(N)},f.unstable_next=function(_){switch(L){case 1:case 2:case 3:var G=3;break;default:G=L}var j=L;L=G;try{return _()}finally{L=j}},f.unstable_pauseExecution=function(){},f.unstable_requestPaint=function(){},f.unstable_runWithPriority=function(_,G){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var j=L;L=_;try{return G()}finally{L=j}},f.unstable_scheduleCallback=function(_,G,j){var et=f.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?et+j:et):j=et,_){case 1:var mt=-1;break;case 2:mt=250;break;case 5:mt=1073741823;break;case 4:mt=1e4;break;default:mt=5e3}return mt=j+mt,_={id:R++,callback:G,priorityLevel:_,startTime:j,expirationTime:mt,sortIndex:-1},j>et?(_.sortIndex=j,y(T,_),d(N)===null&&_===d(T)&&(xt?(Nt(it),it=-1):xt=!0,ba(cl,j-et))):(_.sortIndex=mt,y(N,_),rt||q||(rt=!0,ga())),_},f.unstable_shouldYield=B,f.unstable_wrapCallback=function(_){var G=L;return function(){var j=L;L=G;try{return _.apply(this,arguments)}finally{L=j}}}})(mf)),mf}var Ar;function av(){return Ar||(Ar=1,rf.exports=lv()),rf.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 zr;function ev(){if(zr)return Ou;zr=1;var f=av(),y=mh(),d=hh();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"),D=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),L=Symbol.for("react.consumer"),q=Symbol.for("react.context"),rt=Symbol.for("react.forward_ref"),xt=Symbol.for("react.suspense"),Gt=Symbol.for("react.suspense_list"),Nt=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),Xt=Symbol.for("react.offscreen"),cl=Symbol.for("react.memo_cache_sentinel"),Ml=Symbol.iterator;function it(t){return t===null||typeof t!="object"?null:(t=Ml&&t[Ml]||t["@@iterator"],typeof t=="function"?t:null)}var fl=Symbol.for("react.client.reference");function wl(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===fl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case N:return"Fragment";case M:return"Portal";case R:return"Profiler";case T:return"StrictMode";case xt:return"Suspense";case Gt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case q:return(t.displayName||"Context")+".Provider";case L:return(t._context.displayName||"Context")+".Consumer";case rt:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Nt:return l=t.displayName||null,l!==null?l:wl(t.type)||"Memo";case vt:l=t._payload,t=t._init;try{return wl(t(l))}catch{}}return null}var B=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=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 G(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 j(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 mt(t){if(j(t)!==t)throw Error(o(188))}function wa(t){var l=t.alternate;if(!l){if(l=j(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 mt(u),t;if(n===e)return mt(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 Tl=Array.isArray,K=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,kt={pending:!1,data:null,method:null,action:null},Fn=[],Ka=-1;function vl(t){return{current:t}}function Et(t){0>Ka||(t.current=Fn[Ka],Fn[Ka]=null,Ka--)}function ut(t,l){Ka++,Fn[Ka]=t.current,t.current=l}var yl=vl(null),He=vl(null),Kl=vl(null),Nu=vl(null);function Ru(t,l){switch(ut(Kl,l),ut(He,t),ut(yl,null),t=l.nodeType,t){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?jd(l):0;break;default:if(t=t===8?l.parentNode:l,l=t.tagName,t=t.namespaceURI)t=jd(t),l=Yd(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Et(yl),ut(yl,l)}function Ja(){Et(yl),Et(He),Et(Kl)}function Pn(t){t.memoizedState!==null&&ut(Nu,t);var l=yl.current,a=Yd(l,t.type);l!==a&&(ut(He,t),ut(yl,a))}function Cu(t){He.current===t&&(Et(yl),Et(He)),Nu.current===t&&(Et(Nu),zu._currentValue=kt)}var In=Object.prototype.hasOwnProperty,ti=f.unstable_scheduleCallback,li=f.unstable_cancelCallback,Qr=f.unstable_shouldYield,Lr=f.unstable_requestPaint,gl=f.unstable_now,Zr=f.unstable_getCurrentPriorityLevel,Tf=f.unstable_ImmediatePriority,Df=f.unstable_UserBlockingPriority,qu=f.unstable_NormalPriority,Vr=f.unstable_LowPriority,_f=f.unstable_IdlePriority,wr=f.log,Kr=f.unstable_setDisableYieldValue,Ne=null,Qt=null;function Jr(t){if(Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot(Ne,t,void 0,(t.current.flags&128)===128)}catch{}}function Jl(t){if(typeof wr=="function"&&Kr(t),Qt&&typeof Qt.setStrictMode=="function")try{Qt.setStrictMode(Ne,t)}catch{}}var Lt=Math.clz32?Math.clz32:$r,kr=Math.log,Wr=Math.LN2;function $r(t){return t>>>=0,t===0?32:31-(kr(t)/Wr|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 Fr(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 Of(){var t=Bu;return Bu<<=1,(Bu&4194176)===0&&(Bu=128),t}function xf(){var t=ju;return ju<<=1,(ju&62914560)===0&&(ju=4194304),t}function ai(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 Pr(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-Lt(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&&Uf(t,e,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(i&~l))}function Uf(t,l,a){t.pendingLanes|=l,t.suspendedLanes&=~l;var e=31-Lt(l);t.entangledLanes|=l,t.entanglements[e]=t.entanglements[e]|1073741824|a&4194218}function Hf(t,l){var a=t.entangledLanes|=l;for(t=t.entanglements;a;){var e=31-Lt(a),u=1<<e;u&l|t[e]&l&&(t[e]|=l),a&=~u}}function Nf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Rf(){var t=K.p;return t!==0?t:(t=window.event,t===void 0?32:ar(t.type))}function Ir(t,l){var a=K.p;try{return K.p=t,l()}finally{K.p=a}}var kl=Math.random().toString(36).slice(2),Ut="__reactFiber$"+kl,qt="__reactProps$"+kl,ka="__reactContainer$"+kl,ei="__reactEvents$"+kl,t0="__reactListeners$"+kl,l0="__reactHandles$"+kl,Cf="__reactResources$"+kl,qe="__reactMarker$"+kl;function ui(t){delete t[Ut],delete t[qt],delete t[ei],delete t[t0],delete t[l0]}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=Qd(t);t!==null;){if(a=t[Ut])return a;t=Qd(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[Cf];return l||(l=t[Cf]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function At(t){t[qe]=!0}var qf=new Set,Bf={};function Aa(t,l){Fa(t,l),Fa(t+"Capture",l)}function Fa(t,l){for(Bf[t]=l,t=0;t<l.length;t++)qf.add(l[t])}var Dl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),a0=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]*$"),jf={},Yf={};function e0(t){return In.call(Yf,t)?!0:In.call(jf,t)?!1:a0.test(t)?Yf[t]=!0:(jf[t]=!0,!1)}function Gu(t,l,a){if(e0(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 _l(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 Wt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Gf(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function u0(t){var l=Gf(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=u0(t))}function Xf(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var a=l.getValue(),e="";return t&&(e=Gf(t)?t.checked?"true":"false":t.value),t=e,t!==a?(l.setValue(t),!0):!1}function Lu(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 n0=/[\n"\\]/g;function $t(t){return t.replace(n0,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function ni(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=""+Wt(l)):t.value!==""+Wt(l)&&(t.value=""+Wt(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?ii(t,i,Wt(l)):a!=null?ii(t,i,Wt(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=""+Wt(c):t.removeAttribute("name")}function Qf(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?""+Wt(a):"",l=l!=null?""+Wt(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 ii(t,l,a){l==="number"&&Lu(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=""+Wt(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 Lf(t,l,a){if(l!=null&&(l=""+Wt(l),l!==t.value&&(t.value=l),a==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=a!=null?""+Wt(a):""}function Zf(t,l,a,e){if(l==null){if(e!=null){if(a!=null)throw Error(o(92));if(Tl(e)){if(1<e.length)throw Error(o(93));e=e[0]}a=e}a==null&&(a=""),l=a}a=Wt(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 i0=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 Vf(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||i0.has(l)?l==="float"?t.cssFloat=a:t[l]=(""+a).trim():t[l]=a+"px"}function wf(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&&Vf(t,u,e)}else for(var n in l)l.hasOwnProperty(n)&&Vf(t,n,l[n])}function ci(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 c0=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"]]),f0=/^[\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 Zu(t){return f0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var fi=null;function si(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 Kf(t){var l=Wa(t);if(l&&(t=l.stateNode)){var a=t[qt]||null;t:switch(t=l.stateNode,l.type){case"input":if(ni(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="'+$t(""+l)+'"][type="radio"]'),l=0;l<a.length;l++){var e=a[l];if(e!==t&&e.form===t.form){var u=e[qt]||null;if(!u)throw Error(o(90));ni(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&&Xf(e)}break t;case"textarea":Lf(t,a.value,a.defaultValue);break t;case"select":l=a.value,l!=null&&Pa(t,!!a.multiple,l,!1)}}}var oi=!1;function Jf(t,l,a){if(oi)return t(l,a);oi=!0;try{var e=t(l);return e}finally{if(oi=!1,(te!==null||le!==null)&&(_n(),te&&(l=te,t=le,le=te=null,Kf(l),t)))for(l=0;l<t.length;l++)Kf(t[l])}}function je(t,l){var a=t.stateNode;if(a===null)return null;var e=a[qt]||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 di=!1;if(Dl)try{var Ye={};Object.defineProperty(Ye,"passive",{get:function(){di=!0}}),window.addEventListener("test",Ye,Ye),window.removeEventListener("test",Ye,Ye)}catch{di=!1}var Wl=null,ri=null,Vu=null;function kf(){if(Vu)return Vu;var t,l=ri,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 Wf(){return!1}function Bt(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:Wf,this.isPropagationStopped=Wf,this}return $(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=Bt(za),Ge=$({},za,{view:0,detail:0}),s0=Bt(Ge),mi,hi,Xe,ku=$({},Ge,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yi,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"?(mi=t.screenX-Xe.screenX,hi=t.screenY-Xe.screenY):hi=mi=0,Xe=t),mi)},movementY:function(t){return"movementY"in t?t.movementY:hi}}),$f=Bt(ku),o0=$({},ku,{dataTransfer:0}),d0=Bt(o0),r0=$({},Ge,{relatedTarget:0}),vi=Bt(r0),m0=$({},za,{animationName:0,elapsedTime:0,pseudoElement:0}),h0=Bt(m0),v0=$({},za,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),y0=Bt(v0),g0=$({},za,{data:0}),Ff=Bt(g0),b0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S0={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"},p0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E0(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=p0[t])?!!l[t]:!1}function yi(){return E0}var A0=$({},Ge,{key:function(t){if(t.key){var l=b0[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"?S0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yi,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}}),z0=Bt(A0),M0=$({},ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pf=Bt(M0),T0=$({},Ge,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yi}),D0=Bt(T0),_0=$({},za,{propertyName:0,elapsedTime:0,pseudoElement:0}),O0=Bt(_0),x0=$({},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}),U0=Bt(x0),H0=$({},za,{newState:0,oldState:0}),N0=Bt(H0),R0=[9,13,27,32],gi=Dl&&"CompositionEvent"in window,Qe=null;Dl&&"documentMode"in document&&(Qe=document.documentMode);var C0=Dl&&"TextEvent"in window&&!Qe,If=Dl&&(!gi||Qe&&8<Qe&&11>=Qe),ts=" ",ls=!1;function as(t,l){switch(t){case"keyup":return R0.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function es(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ae=!1;function q0(t,l){switch(t){case"compositionend":return es(l);case"keypress":return l.which!==32?null:(ls=!0,ts);case"textInput":return t=l.data,t===ts&&ls?null:t;default:return null}}function B0(t,l){if(ae)return t==="compositionend"||!gi&&as(t,l)?(t=kf(),Vu=ri=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 If&&l.locale!=="ko"?null:l.data;default:return null}}var j0={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 us(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!j0[t.type]:l==="textarea"}function ns(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 Le=null,Ze=null;function Y0(t){Nd(t,0)}function Wu(t){var l=Be(t);if(Xf(l))return t}function is(t,l){if(t==="change")return l}var cs=!1;if(Dl){var bi;if(Dl){var Si="oninput"in document;if(!Si){var fs=document.createElement("div");fs.setAttribute("oninput","return;"),Si=typeof fs.oninput=="function"}bi=Si}else bi=!1;cs=bi&&(!document.documentMode||9<document.documentMode)}function ss(){Le&&(Le.detachEvent("onpropertychange",os),Ze=Le=null)}function os(t){if(t.propertyName==="value"&&Wu(Ze)){var l=[];ns(l,Ze,t,si(t)),Jf(Y0,l)}}function G0(t,l,a){t==="focusin"?(ss(),Le=l,Ze=a,Le.attachEvent("onpropertychange",os)):t==="focusout"&&ss()}function X0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wu(Ze)}function Q0(t,l){if(t==="click")return Wu(l)}function L0(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 Zt=typeof Object.is=="function"?Object.is:Z0;function Ve(t,l){if(Zt(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(!In.call(l,u)||!Zt(t[u],l[u]))return!1}return!0}function ds(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function rs(t,l){var a=ds(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=ds(a)}}function ms(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?ms(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function hs(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Lu(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=Lu(t.document)}return l}function pi(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 V0(t,l){var a=hs(l);l=t.focusedElem;var e=t.selectionRange;if(a!==l&&l&&l.ownerDocument&&ms(l.ownerDocument.documentElement,l)){if(e!==null&&pi(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=rs(l,n);var i=rs(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 w0=Dl&&"documentMode"in document&&11>=document.documentMode,ee=null,Ei=null,we=null,Ai=!1;function vs(t,l,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ai||ee==null||ee!==Lu(e)||(e=ee,"selectionStart"in e&&pi(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(Ei,"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")},zi={},ys={};Dl&&(ys=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(zi[t])return zi[t];if(!ue[t])return t;var l=ue[t],a;for(a in l)if(l.hasOwnProperty(a)&&a in ys)return zi[t]=l[a];return t}var gs=Ta("animationend"),bs=Ta("animationiteration"),Ss=Ta("animationstart"),K0=Ta("transitionrun"),J0=Ta("transitionstart"),k0=Ta("transitioncancel"),ps=Ta("transitionend"),Es=new Map,As="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){Es.set(t,l),Aa(l,[t])}var Ft=[],ne=0,Mi=0;function $u(){for(var t=ne,l=Mi=ne=0;l<t;){var a=Ft[l];Ft[l++]=null;var e=Ft[l];Ft[l++]=null;var u=Ft[l];Ft[l++]=null;var n=Ft[l];if(Ft[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&&zs(a,u,n)}}function Fu(t,l,a,e){Ft[ne++]=t,Ft[ne++]=l,Ft[ne++]=a,Ft[ne++]=e,Mi|=e,t.lanes|=e,t=t.alternate,t!==null&&(t.lanes|=e)}function Ti(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 zs(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-Lt(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,Hc=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={},Ms=new WeakMap;function Pt(t,l){if(typeof t=="object"&&t!==null){var a=Ms.get(t);return a!==void 0?a:(l={value:t,source:l,stack:G(l)},Ms.set(t,l),l)}return{value:t,source:l,stack:G(l)}}var ce=[],fe=0,Iu=null,tn=0,It=[],tl=0,Da=null,Ol=1,xl="";function _a(t,l){ce[fe++]=tn,ce[fe++]=Iu,Iu=t,tn=l}function Ts(t,l,a){It[tl++]=Ol,It[tl++]=xl,It[tl++]=Da,Da=t;var e=Ol;t=xl;var u=32-Lt(e)-1;e&=~(1<<u),a+=1;var n=32-Lt(l)+u;if(30<n){var i=u-u%5;n=(e&(1<<i)-1).toString(32),e>>=i,u-=i,Ol=1<<32-Lt(l)+u|a<<u|e,xl=n+t}else Ol=1<<n|a<<u|e,xl=t}function Di(t){t.return!==null&&(_a(t,1),Ts(t,1,0))}function _i(t){for(;t===Iu;)Iu=ce[--fe],ce[fe]=null,tn=ce[--fe],ce[fe]=null;for(;t===Da;)Da=It[--tl],It[tl]=null,xl=It[--tl],It[tl]=null,Ol=It[--tl],It[tl]=null}var Rt=null,Dt=null,J=!1,dl=null,bl=!1,Oi=Error(o(519));function Oa(t){var l=Error(o(418,""));throw ke(Pt(l,t)),Oi}function Ds(t){var l=t.stateNode,a=t.type,e=t.memoizedProps;switch(l[Ut]=t,l[qt]=e,a){case"dialog":V("cancel",l),V("close",l);break;case"iframe":case"object":case"embed":V("load",l);break;case"video":case"audio":for(a=0;a<bu.length;a++)V(bu[a],l);break;case"source":V("error",l);break;case"img":case"image":case"link":V("error",l),V("load",l);break;case"details":V("toggle",l);break;case"input":V("invalid",l),Qf(l,e.value,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name,!0),Qu(l);break;case"select":V("invalid",l);break;case"textarea":V("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||Bd(l.textContent,a)?(e.popover!=null&&(V("beforetoggle",l),V("toggle",l)),e.onScroll!=null&&V("scroll",l),e.onScrollEnd!=null&&V("scrollend",l),e.onClick!=null&&(l.onclick=Rn),l=!0):l=!1,l||Oa(t)}function _s(t){for(Rt=t.return;Rt;)switch(Rt.tag){case 3:case 27:bl=!0;return;case 5:case 13:bl=!1;return;default:Rt=Rt.return}}function Ke(t){if(t!==Rt)return!1;if(!J)return _s(t),J=!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")||kc(t.type,t.memoizedProps)),a=!a),a&&(l=!0),l&&Dt&&Oa(t),_s(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=Rt?ml(t.stateNode.nextSibling):null;return!0}function Je(){Dt=Rt=null,J=!1}function ke(t){dl===null?dl=[t]:dl.push(t)}var We=Error(o(460)),Os=Error(o(474)),xi={then:function(){}};function xs(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ln(){}function Us(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=lt,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 Hs(){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=[]),Us(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 Ns(t){var l=t._init;return l(t._payload)}function Rs(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=zc(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===N?E(h,r,v.props.children,A,v.key):r!==null&&(r.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===vt&&Ns(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=Mc(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=zc(""+r,h.mode,v),r.return=h,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case D:return v=An(r.type,r.key,r.props,null,h.mode,v),Pe(v,r),v.return=h,v;case M:return r=Mc(r,h.mode,v),r.return=h,r;case vt:var A=r._init;return r=A(r._payload),z(h,r,v)}if(Tl(r)||it(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===q)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 D:return v.key===O?s(h,r,v,A):null;case M:return v.key===O?m(h,r,v,A):null;case vt:return O=v._init,v=O(v._payload),b(h,r,v,A)}if(Tl(v)||it(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===q)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 D:return h=h.get(A.key===null?v:A.key)||null,s(r,h,A,O);case M:return h=h.get(A.key===null?v:A.key)||null,m(r,h,A,O);case vt:var Q=A._init;return A=Q(A._payload),p(h,r,v,A,O)}if(Tl(A)||it(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===q)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,C=r=0,Tt=null;U!==null&&C<v.length;C++){U.index>C?(Tt=U,U=null):Tt=U.sibling;var k=b(h,U,v[C],A);if(k===null){U===null&&(U=Tt);break}t&&U&&k.alternate===null&&l(h,U),r=n(k,r,C),Q===null?O=k:Q.sibling=k,Q=k,U=Tt}if(C===v.length)return a(h,U),J&&_a(h,C),O;if(U===null){for(;C<v.length;C++)U=z(h,v[C],A),U!==null&&(r=n(U,r,C),Q===null?O=U:Q.sibling=U,Q=U);return J&&_a(h,C),O}for(U=e(U);C<v.length;C++)Tt=p(U,h,C,v[C],A),Tt!==null&&(t&&Tt.alternate!==null&&U.delete(Tt.key===null?C:Tt.key),r=n(Tt,r,C),Q===null?O=Tt:Q.sibling=Tt,Q=Tt);return t&&U.forEach(function(va){return l(h,va)}),J&&_a(h,C),O}function Y(h,r,v,A){if(v==null)throw Error(o(151));for(var O=null,Q=null,U=r,C=r=0,Tt=null,k=v.next();U!==null&&!k.done;C++,k=v.next()){U.index>C?(Tt=U,U=null):Tt=U.sibling;var va=b(h,U,k.value,A);if(va===null){U===null&&(U=Tt);break}t&&U&&va.alternate===null&&l(h,U),r=n(va,r,C),Q===null?O=va:Q.sibling=va,Q=va,U=Tt}if(k.done)return a(h,U),J&&_a(h,C),O;if(U===null){for(;!k.done;C++,k=v.next())k=z(h,k.value,A),k!==null&&(r=n(k,r,C),Q===null?O=k:Q.sibling=k,Q=k);return J&&_a(h,C),O}for(U=e(U);!k.done;C++,k=v.next())k=p(U,h,C,k.value,A),k!==null&&(t&&k.alternate!==null&&U.delete(k.key===null?C:k.key),r=n(k,r,C),Q===null?O=k:Q.sibling=k,Q=k);return t&&U.forEach(function(fh){return l(h,fh)}),J&&_a(h,C),O}function dt(h,r,v,A){if(typeof v=="object"&&v!==null&&v.type===N&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case D:t:{for(var O=v.key;r!==null;){if(r.key===O){if(O=v.type,O===N){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===vt&&Ns(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===N?(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 M: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=Mc(v,h.mode,A),A.return=h,h=A}return i(h);case vt:return O=v._init,v=O(v._payload),dt(h,r,v,A)}if(Tl(v))return x(h,r,v,A);if(it(v)){if(O=it(v),typeof O!="function")throw Error(o(150));return v=O.call(v),Y(h,r,v,A)}if(typeof v.then=="function")return dt(h,r,an(v),A);if(v.$$typeof===q)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=zc(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=ul(29,U,null,h.mode);return Q.lanes=A,Q.return=h,Q}finally{}}}var xa=Rs(!0),Cs=Rs(!1),oe=vl(null),un=vl(0);function qs(t,l){t=Xl,ut(un,t),ut(oe,l),Xl=t|l.baseLanes}function Ui(){ut(un,Xl),ut(oe,oe.current)}function Hi(){Xl=un.current,Et(oe),Et(un)}var ll=vl(null),Sl=null;function Fl(t){var l=t.alternate;ut(St,St.current&1),ut(ll,t),Sl===null&&(l===null||oe.current!==null||l.memoizedState!==null)&&(Sl=t)}function Bs(t){if(t.tag===22){if(ut(St,St.current),ut(ll,t),Sl===null){var l=t.alternate;l!==null&&l.memoizedState!==null&&(Sl=t)}}else Pl()}function Pl(){ut(St,St.current),ut(ll,ll.current)}function Ul(t){Et(ll),Sl===t&&(Sl=null),Et(St)}var St=vl(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 W0=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()})}},$0=f.unstable_scheduleCallback,F0=f.unstable_NormalPriority,pt={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ni(){return{controller:new W0,data:new Map,refCount:0}}function Ie(t){t.refCount--,t.refCount===0&&$0(F0,function(){t.controller.abort()})}var tu=null,Ri=0,de=0,re=null;function P0(t,l){if(tu===null){var a=tu=[];Ri=0,de=Gc(),re={status:"pending",value:void 0,then:function(e){a.push(e)}}}return Ri++,l.then(js,js),l}function js(){if(--Ri===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 I0(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 Ys=B.S;B.S=function(t,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&P0(t,l),Ys!==null&&Ys(t,l)};var Ua=vl(null);function Ci(){var t=Ua.current;return t!==null?t:lt.pooledCache}function cn(t,l){l===null?ut(Ua,Ua.current):ut(Ua,l.pool)}function Gs(){var t=Ci();return t===null?null:{parent:pt._currentValue,pool:t}}var Il=0,X=null,P=null,yt=null,fn=!1,me=!1,Ha=!1,sn=0,lu=0,he=null,tm=0;function ht(){throw Error(o(321))}function qi(t,l){if(l===null)return!1;for(var a=0;a<l.length&&a<t.length;a++)if(!Zt(t[a],l[a]))return!1;return!0}function Bi(t,l,a,e,u,n){return Il=n,X=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,B.H=t===null||t.memoizedState===null?Na:ta,Ha=!1,n=a(e,u),Ha=!1,me&&(n=Qs(l,a,e,u)),Xs(t),n}function Xs(t){B.H=pl;var l=P!==null&&P.next!==null;if(Il=0,yt=P=X=null,fn=!1,lu=0,he=null,l)throw Error(o(300));t===null||zt||(t=t.dependencies,t!==null&&bn(t)&&(zt=!0))}function Qs(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,yt=P=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}B.H=Ra,n=l(a,e)}while(me);return n}function lm(){var t=B.H,l=t.useState()[0];return l=typeof l.then=="function"?au(l):l,t=t.useState()[0],(P!==null?P.memoizedState:null)!==t&&(X.flags|=1024),l}function ji(){var t=sn!==0;return sn=0,t}function Yi(t,l,a){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~a}function Gi(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,yt=P=X=null,me=!1,lu=sn=0,he=null}function jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?X.memoizedState=yt=t:yt=yt.next=t,yt}function gt(){if(P===null){var t=X.alternate;t=t!==null?t.memoizedState:null}else t=P.next;var l=yt===null?X.memoizedState:yt.next;if(l!==null)yt=l,P=t;else{if(t===null)throw X.alternate===null?Error(o(467)):Error(o(310));P=t,t={memoizedState:P.memoizedState,baseState:P.baseState,baseQueue:P.baseQueue,queue:P.queue,next:null},yt===null?X.memoizedState=yt=t:yt=yt.next=t}return yt}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=Us(he,t,l),l=X,(yt===null?l.memoizedState:yt.next)===null&&(l=l.alternate,B.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===q)return Ht(t)}throw Error(o(438,String(t)))}function Xi(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]=cl;return l.index++,a}function Hl(t,l){return typeof l=="function"?l(t):l}function rn(t){var l=gt();return Qi(l,P,t)}function Qi(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,!Zt(n,t.memoizedState)&&(zt=!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=gt(),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);Zt(n,l.memoizedState)||(zt=!0),l.memoizedState=n,l.baseQueue===null&&(l.baseState=n),a.lastRenderedState=n}return[n,e]}function Ls(t,l,a){var e=X,u=gt(),n=J;if(n){if(a===void 0)throw Error(o(407));a=a()}else a=l();var i=!Zt((P||u).memoizedState,a);if(i&&(u.memoizedState=a,zt=!0),u=u.queue,wi(ws.bind(null,e,u,t),[t]),u.getSnapshot!==l||i||yt!==null&&yt.memoizedState.tag&1){if(e.flags|=2048,ve(9,Vs.bind(null,e,u,a,l),{destroy:void 0},null),lt===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 Vs(t,l,a,e){l.value=a,l.getSnapshot=e,Ks(l)&&Js(t)}function ws(t,l,a){return a(function(){Ks(l)&&Js(t)})}function Ks(t){var l=t.getSnapshot;t=t.value;try{var a=l();return!Zt(t,a)}catch{return!0}}function Js(t){var l=$l(t,2);l!==null&&Ct(l,t,2)}function Zi(t){var l=jt();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:Hl,lastRenderedState:t},l}function ks(t,l,a,e){return t.baseState=a,Qi(t,P,typeof e=="function"?e:Hl)}function am(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)}};B.T!==null?a(!0):n.isTransition=!1,e(n),a=l.pending,a===null?(n.next=l.pending=n,Ws(l,n)):(n.next=a.next,l.pending=a.next=n)}}function Ws(t,l){var a=l.action,e=l.payload,u=t.state;if(l.isTransition){var n=B.T,i={};B.T=i;try{var c=a(u,e),s=B.S;s!==null&&s(i,c),$s(t,l,c)}catch(m){Vi(t,l,m)}finally{B.T=n}}else try{n=a(u,e),$s(t,l,n)}catch(m){Vi(t,l,m)}}function $s(t,l,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(e){Fs(t,l,e)},function(e){return Vi(t,l,e)}):Fs(t,l,a)}function Fs(t,l,a){l.status="fulfilled",l.value=a,Ps(l),t.state=a,l=t.pending,l!==null&&(a=l.next,a===l?t.pending=null:(a=a.next,l.next=a,Ws(t,a)))}function Vi(t,l,a){var e=t.pending;if(t.pending=null,e!==null){e=e.next;do l.status="rejected",l.reason=a,Ps(l),l=l.next;while(l!==e)}t.action=null}function Ps(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function Is(t,l){return l}function to(t,l){if(J){var a=lt.formState;if(a!==null){t:{var e=X;if(J){if(Dt){l:{for(var u=Dt,n=bl;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=jt(),a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:l},a.queue=e,a=So.bind(null,X,e),e.dispatch=a,e=Zi(!1),n=$i.bind(null,X,!1,e.queue),e=jt(),u={state:l,dispatch:null,action:t,pending:null},e.queue=u,a=am.bind(null,X,u,n,a),u.dispatch=a,e.memoizedState=t,[l,a,!1]}function lo(t){var l=gt();return ao(l,P,t)}function ao(t,l,a){l=Qi(t,l,Is)[0],t=rn(Hl)[0],l=typeof l=="object"&&l!==null&&typeof l.then=="function"?au(l):l;var e=gt(),u=e.queue,n=u.dispatch;return a!==e.memoizedState&&(X.flags|=2048,ve(9,em.bind(null,u,a),{destroy:void 0},null)),[l,n,t]}function em(t,l){t.action=l}function eo(t){var l=gt(),a=P;if(a!==null)return ao(l,a,t);gt(),l=l.memoizedState,a=gt();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 uo(){return gt().memoizedState}function mn(t,l,a,e){var u=jt();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=gt();e=e===void 0?null:e;var n=u.memoizedState.inst;P!==null&&e!==null&&qi(e,P.memoizedState.deps)?u.memoizedState=ve(l,a,n,e):(X.flags|=t,u.memoizedState=ve(1|l,a,n,e))}function no(t,l){mn(8390656,8,t,l)}function wi(t,l){hn(2048,8,t,l)}function io(t,l){return hn(4,2,t,l)}function co(t,l){return hn(4,4,t,l)}function fo(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 so(t,l,a){a=a!=null?a.concat([t]):null,hn(4,4,fo.bind(null,l,t),a)}function Ki(){}function oo(t,l){var a=gt();l=l===void 0?null:l;var e=a.memoizedState;return l!==null&&qi(l,e[1])?e[0]:(a.memoizedState=[t,l],t)}function ro(t,l){var a=gt();l=l===void 0?null:l;var e=a.memoizedState;if(l!==null&&qi(l,e[1]))return e[0];if(e=t(),Ha){Jl(!0);try{t()}finally{Jl(!1)}}return a.memoizedState=[e,l],e}function Ji(t,l,a){return a===void 0||(Il&1073741824)!==0?t.memoizedState=l:(t.memoizedState=a,t=hd(),X.lanes|=t,sa|=t,a)}function mo(t,l,a,e){return Zt(a,l)?a:oe.current!==null?(t=Ji(t,a,e),Zt(t,l)||(zt=!0),t):(Il&42)===0?(zt=!0,t.memoizedState=a):(t=hd(),X.lanes|=t,sa|=t,l)}function ho(t,l,a,e,u){var n=K.p;K.p=n!==0&&8>n?n:8;var i=B.T,c={};B.T=c,$i(t,!1,l,a);try{var s=u(),m=B.S;if(m!==null&&m(c,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var E=I0(s,e);eu(t,l,E,Jt(t))}else eu(t,l,e,Jt(t))}catch(z){eu(t,l,{then:function(){},status:"rejected",reason:z},Jt())}finally{K.p=n,B.T=i}}function um(){}function ki(t,l,a,e){if(t.tag!==5)throw Error(o(476));var u=vo(t).queue;ho(t,u,l,kt,a===null?um:function(){return yo(t),a(e)})}function vo(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:kt,baseState:kt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hl,lastRenderedState:kt},next:null};var a={};return l.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hl,lastRenderedState:a},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function yo(t){var l=vo(t).next.queue;eu(t,l,{},Jt())}function Wi(){return Ht(zu)}function go(){return gt().memoizedState}function bo(){return gt().memoizedState}function nm(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var a=Jt();t=ea(a);var e=ua(l,t,a);e!==null&&(Ct(e,l,a),iu(e,l,a)),l={cache:Ni()},t.payload=l;return}l=l.return}}function im(t,l,a){var e=Jt();a={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},vn(t)?po(l,a):(a=Ti(t,l,a,e),a!==null&&(Ct(a,t,e),Eo(a,l,e)))}function So(t,l,a){var e=Jt();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))po(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,Zt(c,i))return Fu(t,l,u,0),lt===null&&$u(),!1}catch{}finally{}if(a=Ti(t,l,u,e),a!==null)return Ct(a,t,e),Eo(a,l,e),!0}return!1}function $i(t,l,a,e){if(e={lane:2,revertLane:Gc(),action:e,hasEagerState:!1,eagerState:null,next:null},vn(t)){if(l)throw Error(o(479))}else l=Ti(t,a,e,2),l!==null&&Ct(l,t,2)}function vn(t){var l=t.alternate;return t===X||l!==null&&l===X}function po(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 Eo(t,l,a){if((a&4194176)!==0){var e=l.lanes;e&=t.pendingLanes,a|=e,l.lanes=a,Hf(t,a)}}var pl={readContext:Ht,use:dn,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useInsertionEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useSyncExternalStore:ht,useId:ht};pl.useCacheRefresh=ht,pl.useMemoCache=ht,pl.useHostTransitionStatus=ht,pl.useFormState=ht,pl.useActionState=ht,pl.useOptimistic=ht;var Na={readContext:Ht,use:dn,useCallback:function(t,l){return jt().memoizedState=[t,l===void 0?null:l],t},useContext:Ht,useEffect:no,useImperativeHandle:function(t,l,a){a=a!=null?a.concat([t]):null,mn(4194308,4,fo.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=jt();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=jt();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=im.bind(null,X,t),[e.memoizedState,t]},useRef:function(t){var l=jt();return t={current:t},l.memoizedState=t},useState:function(t){t=Zi(t);var l=t.queue,a=So.bind(null,X,l);return l.dispatch=a,[t.memoizedState,a]},useDebugValue:Ki,useDeferredValue:function(t,l){var a=jt();return Ji(a,t,l)},useTransition:function(){var t=Zi(!1);return t=ho.bind(null,X,t.queue,!0,!1),jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,a){var e=X,u=jt();if(J){if(a===void 0)throw Error(o(407));a=a()}else{if(a=l(),lt===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,no(ws.bind(null,e,n,t),[t]),e.flags|=2048,ve(9,Vs.bind(null,e,n,a,l),{destroy:void 0},null),a},useId:function(){var t=jt(),l=lt.identifierPrefix;if(J){var a=xl,e=Ol;a=(e&~(1<<32-Lt(e)-1)).toString(32)+a,l=":"+l+"R"+a,a=sn++,0<a&&(l+="H"+a.toString(32)),l+=":"}else a=tm++,l=":"+l+"r"+a.toString(32)+":";return t.memoizedState=l},useCacheRefresh:function(){return jt().memoizedState=nm.bind(null,X)}};Na.useMemoCache=Xi,Na.useHostTransitionStatus=Wi,Na.useFormState=to,Na.useActionState=to,Na.useOptimistic=function(t){var l=jt();l.memoizedState=l.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=a,l=$i.bind(null,X,!0,a),a.dispatch=l,[t,l]};var ta={readContext:Ht,use:dn,useCallback:oo,useContext:Ht,useEffect:wi,useImperativeHandle:so,useInsertionEffect:io,useLayoutEffect:co,useMemo:ro,useReducer:rn,useRef:uo,useState:function(){return rn(Hl)},useDebugValue:Ki,useDeferredValue:function(t,l){var a=gt();return mo(a,P.memoizedState,t,l)},useTransition:function(){var t=rn(Hl)[0],l=gt().memoizedState;return[typeof t=="boolean"?t:au(t),l]},useSyncExternalStore:Ls,useId:go};ta.useCacheRefresh=bo,ta.useMemoCache=Xi,ta.useHostTransitionStatus=Wi,ta.useFormState=lo,ta.useActionState=lo,ta.useOptimistic=function(t,l){var a=gt();return ks(a,P,t,l)};var Ra={readContext:Ht,use:dn,useCallback:oo,useContext:Ht,useEffect:wi,useImperativeHandle:so,useInsertionEffect:io,useLayoutEffect:co,useMemo:ro,useReducer:Li,useRef:uo,useState:function(){return Li(Hl)},useDebugValue:Ki,useDeferredValue:function(t,l){var a=gt();return P===null?Ji(a,t,l):mo(a,P.memoizedState,t,l)},useTransition:function(){var t=Li(Hl)[0],l=gt().memoizedState;return[typeof t=="boolean"?t:au(t),l]},useSyncExternalStore:Ls,useId:go};Ra.useCacheRefresh=bo,Ra.useMemoCache=Xi,Ra.useHostTransitionStatus=Wi,Ra.useFormState=eo,Ra.useActionState=eo,Ra.useOptimistic=function(t,l){var a=gt();return P!==null?ks(a,P,t,l):(a.baseState=t,[t,a.queue.dispatch])};function Fi(t,l,a,e){l=t.memoizedState,a=a(e,l),a=a==null?l:$({},l,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Pi={isMounted:function(t){return(t=t._reactInternals)?j(t)===t:!1},enqueueSetState:function(t,l,a){t=t._reactInternals;var e=Jt(),u=ea(e);u.payload=l,a!=null&&(u.callback=a),l=ua(t,u,e),l!==null&&(Ct(l,t,e),iu(l,t,e))},enqueueReplaceState:function(t,l,a){t=t._reactInternals;var e=Jt(),u=ea(e);u.tag=1,u.payload=l,a!=null&&(u.callback=a),l=ua(t,u,e),l!==null&&(Ct(l,t,e),iu(l,t,e))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var a=Jt(),e=ea(a);e.tag=2,l!=null&&(e.callback=l),l=ua(t,e,a),l!==null&&(Ct(l,t,a),iu(l,t,a))}};function Ao(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 zo(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&&Pi.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=$({},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 Mo(t){yn(t)}function To(t){console.error(t)}function Do(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 _o(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 Ii(t,l,a){return a=ea(a),a.tag=3,a.payload={element:null},a.callback=function(){gn(t,l)},a}function Oo(t){return t=ea(t),t.tag=3,t}function xo(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(){_o(l,a,e)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){_o(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 cm(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=ll.current,a!==null){switch(a.tag){case 13:return Sl===null?Cc():a.alternate===null&&ot===0&&(ot=3),a.flags&=-257,a.flags|=65536,a.lanes=u,e===xi?a.flags|=16384:(l=a.updateQueue,l===null?a.updateQueue=new Set([e]):l.add(e),Bc(t,e,u)),!1;case 22:return a.flags|=65536,e===xi?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)),Bc(t,e,u)),!1}throw Error(o(435,a.tag))}return Bc(t,e,u),Cc(),!1}if(J)return l=ll.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=u,e!==Oi&&(t=Error(o(422),{cause:e}),ke(Pt(t,a)))):(e!==Oi&&(l=Error(o(423),{cause:e}),ke(Pt(l,a))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,e=Pt(e,a),u=Ii(t.stateNode,e,u),hc(t,u),ot!==4&&(ot=2)),!1;var n=Error(o(520),{cause:e});if(n=Pt(n,a),hu===null?hu=[n]:hu.push(n),ot!==4&&(ot=2),l===null)return!0;e=Pt(e,a),a=l;do{switch(a.tag){case 3:return a.flags|=65536,t=u&-u,a.lanes|=t,t=Ii(a.stateNode,e,t),hc(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=Oo(u),xo(u,t,a,e),hc(a,u),!1}a=a.return}while(a!==null);return!1}var Uo=Error(o(461)),zt=!1;function _t(t,l,a,e){l.child=t===null?Cs(l,null,a,e):xa(l,t.child,a,e)}function Ho(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=Bi(t,l,a,i,n,u),c=ji(),t!==null&&!zt?(Yi(t,l,u),Nl(t,l,u)):(J&&c&&Di(l),l.flags|=1,_t(t,l,e,u),l.child)}function No(t,l,a,e,u){if(t===null){var n=a.type;return typeof n=="function"&&!Ac(n)&&n.defaultProps===void 0&&a.compare===null?(l.tag=15,l.type=n,Ro(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,!fc(t,u)){var i=n.memoizedProps;if(a=a.compare,a=a!==null?a:Ve,a(i,e)&&t.ref===l.ref)return Nl(t,l,u)}return l.flags|=1,t=fa(n,e),t.ref=l.ref,t.return=l,l.child=t}function Ro(t,l,a,e,u){if(t!==null){var n=t.memoizedProps;if(Ve(n,e)&&t.ref===l.ref)if(zt=!1,l.pendingProps=e=n,fc(t,u))(t.flags&131072)!==0&&(zt=!0);else return l.lanes=t.lanes,Nl(t,l,u)}return tc(t,l,a,e,u)}function Co(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 qo(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?qs(l,i):Ui(),Bs(l);else return l.lanes=l.childLanes=536870912,qo(t,l,i!==null?i.baseLanes|a:a,a)}else i!==null?(cn(l,i.cachePool),qs(l,i),Pl(),l.memoizedState=null):(t!==null&&cn(l,null),Ui(),Pl());return _t(t,l,u,a),l.child}function qo(t,l,a,e){var u=Ci();return u=u===null?null:{parent:pt._currentValue,pool:u},l.memoizedState={baseLanes:a,cachePool:u},t!==null&&cn(l,null),Ui(),Bs(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 tc(t,l,a,e,u){return Ba(l),a=Bi(t,l,a,e,void 0,u),e=ji(),t!==null&&!zt?(Yi(t,l,u),Nl(t,l,u)):(J&&e&&Di(l),l.flags|=1,_t(t,l,a,u),l.child)}function Bo(t,l,a,e,u,n){return Ba(l),l.updateQueue=null,a=Qs(l,e,a,u),Xs(t),e=ji(),t!==null&&!zt?(Yi(t,l,n),Nl(t,l,n)):(J&&e&&Di(l),l.flags|=1,_t(t,l,a,n),l.child)}function jo(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=Pi,l.stateNode=n,n._reactInternals=l,n=l.stateNode,n.props=e,n.state=l.memoizedState,n.refs={},rc(l),i=a.contextType,n.context=typeof i=="object"&&i!==null?Ht(i):ie,n.state=l.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&(Fi(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&&Pi.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)&&zo(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"&&(Fi(l,a,z,e),m=l.memoizedState),(s=aa||Ao(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,mc(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)&&zo(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"&&(Fi(l,a,c,e),p=l.memoizedState),(E=aa||Ao(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=Nl(t,l,u),t}function Yo(t,l,a,e){return Je(),l.flags|=256,_t(t,l,a,e),l.child}var lc={dehydrated:null,treeContext:null,retryLane:0};function ac(t){return{baseLanes:t,cachePool:Gs()}}function ec(t,l,a){return t=t!==null?t.childLanes&~a:0,l&&(t|=nl),t}function Go(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:(St.current&2)!==0),i&&(u=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(J){if(u?Fl(l):Pl(),J){var c=Dt,s;if(s=c){t:{for(s=c,c=bl;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:Ol,overflow:xl}:null,retryLane:536870912},s=ul(18,null,null,0),s.stateNode=c,s.return=l,l.child=s,Rt=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;Ul(l)}return c=e.children,e=e.fallback,u?(Pl(),u=l.mode,c=nc({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=ac(a),u.childLanes=ec(t,i,a),l.memoizedState=lc,e):(Fl(l),uc(l,c))}if(s=t.memoizedState,s!==null&&(c=s.dehydrated,c!==null)){if(n)l.flags&256?(Fl(l),l.flags&=-257,l=ic(t,l,a)):l.memoizedState!==null?(Pl(),l.child=t.child,l.flags|=128,l=null):(Pl(),u=e.fallback,c=l.mode,e=nc({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=ac(a),e.childLanes=ec(t,i,a),l.memoizedState=lc,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=ic(t,l,a)}else if(zt||nu(t,l,a,!1),i=(a&t.childLanes)!==0,zt||i){if(i=lt,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),Ct(i,t,e),Uo}c.data==="$?"||Cc(),l=ic(t,l,a)}else c.data==="$?"?(l.flags|=128,l.child=t.child,l=Am.bind(null,t),c._reactRetry=l,l=null):(t=s.treeContext,Dt=ml(c.nextSibling),Rt=l,J=!0,dl=null,bl=!1,t!==null&&(It[tl++]=Ol,It[tl++]=xl,It[tl++]=Da,Ol=t.id,xl=t.overflow,Da=l),l=uc(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=ac(a):(s=c.cachePool,s!==null?(m=pt._currentValue,s=s.parent!==m?{parent:m,pool:m}:s):s=Gs(),c={baseLanes:c.baseLanes|a,cachePool:s}),u.memoizedState=c,u.childLanes=ec(t,i,a),l.memoizedState=lc,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 uc(t,l){return l=nc({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function nc(t,l){return dd(t,l,0,null)}function ic(t,l,a){return xa(l,t.child,null,a),t=uc(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function Xo(t,l,a){t.lanes|=l;var e=t.alternate;e!==null&&(e.lanes|=l),oc(t.return,l,a)}function cc(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 Qo(t,l,a){var e=l.pendingProps,u=e.revealOrder,n=e.tail;if(_t(t,l,e.children,a),e=St.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&&Xo(t,a,l);else if(t.tag===19)Xo(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(St,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),cc(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}cc(l,!0,a,null,n);break;case"together":cc(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function Nl(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 fc(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&bn(t)))}function fm(t,l,a){switch(l.tag){case 3:Ru(l,l.stateNode.containerInfo),la(l,pt,t.memoizedState.cache),Je();break;case 27:case 5:Pn(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?Go(t,l,a):(Fl(l),t=Nl(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 Qo(t,l,a);l.flags|=128}if(u=l.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ut(St,St.current),e)break;return null;case 22:case 23:return l.lanes=0,Co(t,l,a);case 24:la(l,pt,t.memoizedState.cache)}return Nl(t,l,a)}function Lo(t,l,a){if(t!==null)if(t.memoizedProps!==l.pendingProps)zt=!0;else{if(!fc(t,a)&&(l.flags&128)===0)return zt=!1,fm(t,l,a);zt=(t.flags&131072)!==0}else zt=!1,J&&(l.flags&1048576)!==0&&Ts(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")Ac(e)?(t=Ca(e,t),l.tag=1,l=jo(null,l,e,t,a)):(l.tag=0,l=tc(null,l,e,t,a));else{if(e!=null){if(u=e.$$typeof,u===rt){l.tag=11,l=Ho(null,l,e,t,a);break t}else if(u===Nt){l.tag=14,l=No(null,l,e,t,a);break t}}throw l=wl(e)||e,Error(o(306,l,""))}}return l;case 0:return tc(t,l,l.type,l.pendingProps,a);case 1:return e=l.type,u=Ca(e,l.pendingProps),jo(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,mc(t,l),fu(l,n,null,a);var i=l.memoizedState;if(n=i.cache,la(l,pt,n),n!==u.cache&&dc(l,[pt],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=Yo(t,l,n,a);break t}else if(n!==e){e=Pt(Error(o(424)),l),ke(e),l=Yo(t,l,n,a);break t}else for(Dt=ml(l.stateNode.containerInfo.firstChild),Rt=l,J=!0,dl=null,bl=!0,a=Cs(l,null,n,a),l.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Je(),n===e){l=Nl(t,l,a);break t}_t(t,l,n,a)}l=l.child}return l;case 26:return uu(t,l),t===null?(a=wd(l.type,null,l.pendingProps,null))?l.memoizedState=a:J||(a=l.type,t=l.pendingProps,e=Cn(Kl.current).createElement(a),e[Ut]=l,e[qt]=t,Ot(e,a,t),At(e),l.stateNode=e):l.memoizedState=wd(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Pn(l),t===null&&J&&(e=l.stateNode=Ld(l.type,l.pendingProps,Kl.current),Rt=l,bl=!0,Dt=ml(e.firstChild)),e=l.pendingProps.children,t!==null||J?_t(t,l,e,a):l.child=xa(l,null,e,a),uu(t,l),l.child;case 5:return t===null&&J&&((u=e=Dt)&&(e=Ym(e,l.type,l.pendingProps,bl),e!==null?(l.stateNode=e,Rt=l,Dt=ml(e.firstChild),bl=!1,u=!0):u=!1),u||Oa(l)),Pn(l),u=l.type,n=l.pendingProps,i=t!==null?t.memoizedProps:null,e=n.children,kc(u,n)?e=null:i!==null&&kc(u,i)&&(l.flags|=32),l.memoizedState!==null&&(u=Bi(t,l,lm,null,null,a),zu._currentValue=u),uu(t,l),_t(t,l,e,a),l.child;case 6:return t===null&&J&&((t=a=Dt)&&(a=Gm(a,l.pendingProps,bl),a!==null?(l.stateNode=a,Rt=l,Dt=null,t=!0):t=!1),t||Oa(l)),null;case 13:return Go(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 Ho(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 No(t,l,l.type,l.pendingProps,a);case 15:return Ro(t,l,l.type,l.pendingProps,a);case 19:return Qo(t,l,a);case 22:return Co(t,l,a);case 24:return Ba(l),e=Ht(pt),t===null?(u=Ci(),u===null&&(u=lt,n=Ni(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=a),u=n),l.memoizedState={parent:e,cache:u},rc(l),la(l,pt,u)):((t.lanes&a)!==0&&(mc(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,pt,e)):(e=n.cache,la(l,pt,e),e!==u.cache&&dc(l,[pt],a,!0))),_t(t,l,l.pendingProps.children,a),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}var sc=vl(null),qa=null,Rl=null;function la(t,l,a){ut(sc,l._currentValue),l._currentValue=a}function Cl(t){t._currentValue=sc.current,Et(sc)}function oc(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 dc(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),oc(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),oc(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;Zt(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&&dc(l,t,a,e),l.flags|=262144}function bn(t){for(t=t.firstContext;t!==null;){if(!Zt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ba(t){qa=t,Rl=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},Rl===null){if(t===null)throw Error(o(308));Rl=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Rl=Rl.next=l;return a}var aa=!1;function rc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mc(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,(ft&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),zs(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,Hf(t,a)}}function hc(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 vc=!1;function cu(){if(vc){var t=re;if(t!==null)throw t}}function fu(t,l,a,e){vc=!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&&(vc=!0),E!==null&&(E=E.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var x=t,Y=c;b=l;var dt=a;switch(Y.tag){case 1:if(x=Y.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=Y.payload,b=typeof x=="function"?x.call(dt,z,b):x,b==null)break t;z=$({},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 Vo(t,l){if(typeof t!="function")throw Error(o(191,t));t.call(l)}function wo(t,l){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Vo(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){tt(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){tt(u,s,m)}}}e=e.next}while(e!==n)}}catch(m){tt(l,l.return,m)}}function Ko(t){var l=t.updateQueue;if(l!==null){var a=t.stateNode;try{wo(l,a)}catch(e){tt(t,t.return,e)}}}function Jo(t,l,a){a.props=Ca(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(e){tt(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){tt(t,l,n)}}function Vt(t,l){var a=t.ref,e=t.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){tt(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){tt(t,l,u)}else a.current=null}function ko(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){tt(t,t.return,u)}}function Wo(t,l,a){try{var e=t.stateNode;Rm(e,t.type,a,l),e[qt]=l}catch(u){tt(t,t.return,u)}}function $o(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27||t.tag===4}function yc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||$o(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 gc(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(gc(t,l,a),t=t.sibling;t!==null;)gc(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 ql=!1,st=!1,bc=!1,Fo=typeof WeakSet=="function"?WeakSet:Set,Mt=null,Po=!1;function sm(t,l){if(t=t.containerInfo,Kc=Xn,t=hs(t),pi(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(Jc={focusedElem:t,selectionRange:a},Xn=!1,Mt=l;Mt!==null;)if(l=Mt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,Mt=t;else for(;Mt!==null;){switch(l=Mt,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(Y){tt(a,a.return,Y)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,a=t.nodeType,a===9)Fc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Fc(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,Mt=t;break}Mt=l.return}return x=Po,Po=!1,x}function Io(t,l,a){var e=a.flags;switch(a.tag){case 0:case 11:case 15:jl(t,a),e&4&&su(5,a);break;case 1:if(jl(t,a),e&4)if(t=a.stateNode,l===null)try{t.componentDidMount()}catch(c){tt(a,a.return,c)}else{var u=Ca(a.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(u,l,t.__reactInternalSnapshotBeforeUpdate)}catch(c){tt(a,a.return,c)}}e&64&&Ko(a),e&512&&ja(a,a.return);break;case 3:if(jl(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{wo(e,t)}catch(c){tt(a,a.return,c)}}break;case 26:jl(t,a),e&512&&ja(a,a.return);break;case 27:case 5:jl(t,a),l===null&&e&4&&ko(a),e&512&&ja(a,a.return);break;case 12:jl(t,a);break;case 13:jl(t,a),e&4&&ad(t,a);break;case 22:if(u=a.memoizedState!==null||ql,!u){l=l!==null&&l.memoizedState!==null||st;var n=ql,i=st;ql=u,(st=l)&&!i?ia(t,a,(a.subtreeFlags&8772)!==0):jl(t,a),ql=n,st=i}e&512&&(a.memoizedProps.mode==="manual"?ja(a,a.return):Vt(a,a.return));break;default:jl(t,a)}}function td(t){var l=t.alternate;l!==null&&(t.alternate=null,td(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&ui(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 bt=null,wt=!1;function Bl(t,l,a){for(a=a.child;a!==null;)ld(t,l,a),a=a.sibling}function ld(t,l,a){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(Ne,a)}catch{}switch(a.tag){case 26:st||Vt(a,l),Bl(t,l,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:st||Vt(a,l);var e=bt,u=wt;for(bt=a.stateNode,Bl(t,l,a),a=a.stateNode,l=a.attributes;l.length;)a.removeAttributeNode(l[0]);ui(a),bt=e,wt=u;break;case 5:st||Vt(a,l);case 6:u=bt;var n=wt;if(bt=null,Bl(t,l,a),bt=u,wt=n,bt!==null)if(wt)try{t=bt,e=a.stateNode,t.nodeType===8?t.parentNode.removeChild(e):t.removeChild(e)}catch(i){tt(a,l,i)}else try{bt.removeChild(a.stateNode)}catch(i){tt(a,l,i)}break;case 18:bt!==null&&(wt?(l=bt,a=a.stateNode,l.nodeType===8?$c(l.parentNode,a):l.nodeType===1&&$c(l,a),_u(l)):$c(bt,a.stateNode));break;case 4:e=bt,u=wt,bt=a.stateNode.containerInfo,wt=!0,Bl(t,l,a),bt=e,wt=u;break;case 0:case 11:case 14:case 15:st||na(2,a,l),st||na(4,a,l),Bl(t,l,a);break;case 1:st||(Vt(a,l),e=a.stateNode,typeof e.componentWillUnmount=="function"&&Jo(a,l,e)),Bl(t,l,a);break;case 21:Bl(t,l,a);break;case 22:st||Vt(a,l),st=(e=st)||a.memoizedState!==null,Bl(t,l,a),st=e;break;default:Bl(t,l,a)}}function ad(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){tt(l,l.return,a)}}function om(t){switch(t.tag){case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new Fo),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new Fo),l;default:throw Error(o(435,t.tag))}}function Sc(t,l){var a=om(t);l.forEach(function(e){var u=zm.bind(null,t,e);a.has(e)||(a.add(e),e.then(u,u))})}function al(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:bt=c.stateNode,wt=!1;break t;case 3:bt=c.stateNode.containerInfo,wt=!0;break t;case 4:bt=c.stateNode.containerInfo,wt=!0;break t}c=c.return}if(bt===null)throw Error(o(160));ld(n,i,u),bt=null,wt=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)ed(l,t),l=l.sibling}var rl=null;function ed(t,l){var a=t.alternate,e=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:al(l,t),el(t),e&4&&(na(3,t,t.return),su(3,t),na(5,t,t.return));break;case 1:al(l,t),el(t),e&512&&(st||a===null||Vt(a,a.return)),e&64&&ql&&(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(al(l,t),el(t),e&512&&(st||a===null||Vt(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,At(n),e=n;break t;case"link":var i=kd("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=kd("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,At(n),e=n}t.stateNode=e}else Wd(u,t.type,t.stateNode);else t.stateNode=Jd(u,e,t.memoizedProps);else n!==e?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,e===null?Wd(u,t.type,t.stateNode):Jd(u,e,t.memoizedProps)):e===null&&t.stateNode!==null&&Wo(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[qt]=n}catch(x){tt(t,t.return,x)}}case 5:if(al(l,t),el(t),e&512&&(st||a===null||Vt(a,a.return)),t.flags&32){u=t.stateNode;try{Ia(u,"")}catch(x){tt(t,t.return,x)}}e&4&&t.stateNode!=null&&(u=t.memoizedProps,Wo(t,u,a!==null?a.memoizedProps:u)),e&1024&&(bc=!0);break;case 6:if(al(l,t),el(t),e&4){if(t.stateNode===null)throw Error(o(162));e=t.memoizedProps,a=t.stateNode;try{a.nodeValue=e}catch(x){tt(t,t.return,x)}}break;case 3:if(jn=null,u=rl,rl=qn(l.containerInfo),al(l,t),rl=u,el(t),e&4&&a!==null&&a.memoizedState.isDehydrated)try{_u(l.containerInfo)}catch(x){tt(t,t.return,x)}bc&&(bc=!1,ud(t));break;case 4:e=rl,rl=qn(t.stateNode.containerInfo),al(l,t),el(t),rl=e;break;case 12:al(l,t),el(t);break;case 13:al(l,t),el(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Oc=gl()),e&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Sc(t,e)));break;case 22:if(e&512&&(st||a===null||Vt(a,a.return)),s=t.memoizedState!==null,m=a!==null&&a.memoizedState!==null,E=ql,z=st,ql=E||s,st=z||m,al(l,t),st=z,ql=E,el(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=ql||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){tt(m,m.return,x)}}}else if(l.tag===6){if(a===null){m=l;try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(x){tt(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,Sc(t,a))));break;case 19:al(l,t),el(t),e&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Sc(t,e)));break;case 21:break;default:al(l,t),el(t)}}function el(t){var l=t.flags;if(l&2){try{if(t.tag!==27){t:{for(var a=t.return;a!==null;){if($o(a)){var e=a;break t}a=a.return}throw Error(o(160))}switch(e.tag){case 27:var u=e.stateNode,n=yc(t);pn(t,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(Ia(i,""),e.flags&=-33);var c=yc(t);pn(t,c,i);break;case 3:case 4:var s=e.stateNode.containerInfo,m=yc(t);gc(t,m,s);break;default:throw Error(o(161))}}}catch(E){tt(t,t.return,E)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function ud(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;ud(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function jl(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Io(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:Vt(l,l.return);var a=l.stateNode;typeof a.componentWillUnmount=="function"&&Jo(l,l.return,a),ye(l);break;case 26:case 27:case 5:Vt(l,l.return),ye(l);break;case 22:Vt(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){tt(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++)Vo(s[u],c)}catch(m){tt(e,e.return,m)}}a&&i&64&&Ko(n),ja(n,n.return);break;case 26:case 27:case 5:ia(u,n,a),a&&e===null&&i&4&&ko(n),ja(n,n.return);break;case 12:ia(u,n,a);break;case 13:ia(u,n,a),a&&i&4&&ad(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 pc(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 Ec(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;)nd(t,l,a,e),l=l.sibling}function nd(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){tt(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&&pc(l.alternate,l);break;case 24:ca(t,l,a,e),u&2048&&Ec(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&&pc(i.alternate,i);break;case 24:ge(n,i,c,s,u),u&&m&2048&&Ec(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&&pc(e.alternate,e);break;case 24:ou(a,e),u&2048&&Ec(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;)id(t),t=t.sibling}function id(t){switch(t.tag){case 26:be(t),t.flags&du&&t.memoizedState!==null&&Pm(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 cd(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];Mt=e,sd(e,t)}cd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)fd(t),t=t.sibling}function fd(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];Mt=e,sd(e,t)}cd(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 sd(t,l){for(;Mt!==null;){var a=Mt;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,Mt=e;else t:for(a=t;Mt!==null;){e=Mt;var u=e.sibling,n=e.return;if(td(e),e===a){Mt=null;break t}if(u!==null){u.return=n,Mt=u;break t}Mt=n}}}function dm(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 ul(t,l,a,e){return new dm(t,l,a,e)}function Ac(t){return t=t.prototype,!(!t||!t.isReactComponent)}function fa(t,l){var a=t.alternate;return a===null?(a=ul(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 od(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")Ac(t)&&(i=1);else if(typeof t=="string")i=$m(t,a,yl.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case N:return Ya(a.children,u,n,l);case T:i=8,u|=24;break;case R:return t=ul(12,a,l,u|2),t.elementType=R,t.lanes=n,t;case xt:return t=ul(13,a,l,u),t.elementType=xt,t.lanes=n,t;case Gt:return t=ul(19,a,l,u),t.elementType=Gt,t.lanes=n,t;case Xt:return dd(a,u,n,l);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case F:case q:i=10;break t;case L:i=9;break t;case rt:i=11;break t;case Nt:i=14;break t;case vt:i=16,e=null;break t}i=29,a=Error(o(130,t===null?"null":typeof t,"")),e=null}return l=ul(i,a,l,u),l.elementType=t,l.type=e,l.lanes=n,l}function Ya(t,l,a,e){return t=ul(7,t,e,l),t.lanes=a,t}function dd(t,l,a,e){t=ul(22,t,e,l),t.elementType=Xt,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,Ct(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,Ct(i,n,2))}}};return t.stateNode=u,t}function zc(t,l,a){return t=ul(6,t,null,l),t.lanes=a,t}function Mc(t,l,a){return l=ul(4,t.children!==null?t.children:[],t.key,l),l.lanes=a,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}function Yl(t){t.flags|=4}function rd(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!$d(l)){if(l=ll.current,l!==null&&((w&4194176)===w?Sl!==null:(w&62914560)!==w&&(w&536870912)===0||l!==Sl))throw $e=xi,Os;t.flags|=8192}}function zn(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?xf():536870912,t.lanes|=l,pe|=l)}function mu(t,l){if(!J)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 ct(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 rm(t,l,a){var e=l.pendingProps;switch(_i(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ct(l),null;case 1:return ct(l),null;case 3:return a=l.stateNode,e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Cl(pt),Ja(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ke(l)?Yl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,dl!==null&&(Nc(dl),dl=null))),ct(l),null;case 26:return a=l.memoizedState,t===null?(Yl(l),a!==null?(ct(l),rd(l,a)):(ct(l),l.flags&=-16777217)):a?a!==t.memoizedState?(Yl(l),ct(l),rd(l,a)):(ct(l),l.flags&=-16777217):(t.memoizedProps!==e&&Yl(l),ct(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&&Yl(l);else{if(!e){if(l.stateNode===null)throw Error(o(166));return ct(l),null}t=yl.current,Ke(l)?Ds(l):(t=Ld(u,e,a),l.stateNode=t,Yl(l))}return ct(l),null;case 5:if(Cu(l),a=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==e&&Yl(l);else{if(!e){if(l.stateNode===null)throw Error(o(166));return ct(l),null}if(t=yl.current,Ke(l))Ds(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[qt]=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&&Yl(l)}}return ct(l),l.flags&=-16777217,null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==e&&Yl(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=Rt,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}t[Ut]=l,t=!!(t.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||Bd(t.nodeValue,a)),t||Oa(l)}else t=Cn(t).createTextNode(e),t[Ut]=l,l.stateNode=t}return ct(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;ct(l),u=!1}else dl!==null&&(Nc(dl),dl=null),u=!0;if(!u)return l.flags&256?(Ul(l),l):(Ul(l),null)}if(Ul(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),ct(l),null;case 4:return Ja(),t===null&&Zc(l.stateNode.containerInfo),ct(l),null;case 10:return Cl(l.type),ct(l),null;case 19:if(Et(St),u=l.memoizedState,u===null)return ct(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;)od(a,t),a=a.sibling;return ut(St,St.current&1|2),l.child}t=t.sibling}u.tail!==null&&gl()>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&&!J)return ct(l),null}else 2*gl()-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=gl(),l.sibling=null,t=St.current,ut(St,e?t&1|2:t&1),l):(ct(l),null);case 22:case 23:return Ul(l),Hi(),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&&(ct(l),l.subtreeFlags&6&&(l.flags|=8192)):ct(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&&Et(Ua),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Cl(pt),ct(l),null;case 25:return null}throw Error(o(156,l.tag))}function mm(t,l){switch(_i(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Cl(pt),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(Ul(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 Et(St),null;case 4:return Ja(),null;case 10:return Cl(l.type),null;case 22:case 23:return Ul(l),Hi(),t!==null&&Et(Ua),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Cl(pt),null;case 25:return null;default:return null}}function md(t,l){switch(_i(l),l.tag){case 3:Cl(pt),Ja();break;case 26:case 27:case 5:Cu(l);break;case 4:Ja();break;case 13:Ul(l);break;case 19:Et(St);break;case 10:Cl(l.type);break;case 22:case 23:Ul(l),Hi(),t!==null&&Et(Ua);break;case 24:Cl(pt)}}var hm={getCacheForType:function(t){var l=Ht(pt),a=l.data.get(t);return a===void 0&&(a=t(),l.data.set(t,a)),a}},vm=typeof WeakMap=="function"?WeakMap:Map,ft=0,lt=null,Z=null,w=0,at=0,Kt=null,Gl=!1,Se=!1,Tc=!1,Xl=0,ot=0,sa=0,Ga=0,Dc=0,nl=0,pe=0,hu=null,El=null,_c=!1,Oc=0,Mn=1/0,Tn=null,oa=null,Dn=!1,Xa=null,vu=0,xc=0,Uc=null,yu=0,Hc=null;function Jt(){if((ft&2)!==0&&w!==0)return w&-w;if(B.T!==null){var t=de;return t!==0?t:Gc()}return Rf()}function hd(){nl===0&&(nl=(w&536870912)===0||J?Of():536870912);var t=ll.current;return t!==null&&(t.flags|=32),nl}function Ct(t,l,a){(t===lt&&at===2||t.cancelPendingCommit!==null)&&(Ee(t,0),Ql(t,w,nl,!1)),Ce(t,a),((ft&2)===0||t!==lt)&&(t===lt&&((ft&2)===0&&(Ga|=a),ot===4&&Ql(t,w,nl,!1)),Al(t))}function vd(t,l,a){if((ft&6)!==0)throw Error(o(327));var e=!a&&(l&60)===0&&(l&t.expiredLanes)===0||Re(t,l),u=e?bm(t,l):qc(t,l,!0),n=e;do{if(u===0){Se&&!e&&Ql(t,l,0,!1);break}else if(u===6)Ql(t,l,0,!Gl);else{if(a=t.current.alternate,n&&!ym(a)){u=qc(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=qc(c,i,!1),i!==2){if(Tc&&!s){c.errorRecoveryDisabledLanes|=n,Ga|=n,u=4;break t}n=El,El=u,n!==null&&Nc(n)}u=i}if(n=!1,u!==2)continue}}if(u===1){Ee(t,0),Ql(t,l,0,!0);break}t:{switch(e=t,u){case 0:case 1:throw Error(o(345));case 4:if((l&4194176)===l){Ql(e,l,nl,!Gl);break t}break;case 2:El=null;break;case 3:case 5:break;default:throw Error(o(329))}if(e.finishedWork=a,e.finishedLanes=l,(l&62914560)===l&&(n=Oc+300-gl(),10<n)){if(Ql(e,l,nl,!Gl),Yu(e,0)!==0)break t;e.timeoutHandle=Gd(yd.bind(null,e,a,El,Tn,_c,l,nl,Ga,pe,Gl,2,-0,0),n);break t}yd(e,a,El,Tn,_c,l,nl,Ga,pe,Gl,0,-0,0)}}break}while(!0);Al(t)}function Nc(t){El===null?El=t:El.push.apply(El,t)}function yd(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:Fm},id(l),l=Im(),l!==null)){t.cancelPendingCommit=l(zd.bind(null,t,a,e,u,i,c,s,1,z,b)),Ql(t,n,i,!m);return}zd(t,a,e,u,i,c,s,E,z,b)}function ym(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(!Zt(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 Ql(t,l,a,e){l&=~Dc,l&=~Ga,t.suspendedLanes|=l,t.pingedLanes&=~l,e&&(t.warmLanes|=l),e=t.expirationTimes;for(var u=l;0<u;){var n=31-Lt(u),i=1<<n;e[n]=-1,u&=~i}a!==0&&Uf(t,a,l)}function _n(){return(ft&6)===0?(gu(0),!1):!0}function Rc(){if(Z!==null){if(at===0)var t=Z.return;else t=Z,Rl=qa=null,Gi(t),se=null,Fe=0,t=Z;for(;t!==null;)md(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,qm(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Rc(),lt=t,Z=a=fa(t.current,null),w=l,at=0,Kt=null,Gl=!1,Se=Re(t,l),Tc=!1,pe=nl=Dc=Ga=sa=ot=0,El=hu=null,_c=!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-Lt(e),n=1<<u;l|=t[u],e&=~n}return Xl=l,$u(),a}function gd(t,l){X=null,B.H=pl,l===We?(l=Hs(),at=3):l===Os?(l=Hs(),at=4):at=l===Uo?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Kt=l,Z===null&&(ot=1,gn(t,Pt(l,t.current)))}function bd(){var t=B.H;return B.H=pl,t===null?pl:t}function Sd(){var t=B.A;return B.A=hm,t}function Cc(){ot=4,Gl||(w&4194176)!==w&&ll.current!==null||(Se=!0),(sa&134217727)===0&&(Ga&134217727)===0||lt===null||Ql(lt,w,nl,!1)}function qc(t,l,a){var e=ft;ft|=2;var u=bd(),n=Sd();(lt!==t||w!==l)&&(Tn=null,Ee(t,l)),l=!1;var i=ot;t:do try{if(at!==0&&Z!==null){var c=Z,s=Kt;switch(at){case 8:Rc(),i=6;break t;case 3:case 2:case 6:ll.current===null&&(l=!0);var m=at;if(at=0,Kt=null,Ae(t,c,s,m),a&&Se){i=0;break t}break;default:m=at,at=0,Kt=null,Ae(t,c,s,m)}}gm(),i=ot;break}catch(E){gd(t,E)}while(!0);return l&&t.shellSuspendCounter++,Rl=qa=null,ft=e,B.H=u,B.A=n,Z===null&&(lt=null,w=0,$u()),i}function gm(){for(;Z!==null;)pd(Z)}function bm(t,l){var a=ft;ft|=2;var e=bd(),u=Sd();lt!==t||w!==l?(Tn=null,Mn=gl()+500,Ee(t,l)):Se=Re(t,l);t:do try{if(at!==0&&Z!==null){l=Z;var n=Kt;l:switch(at){case 1:at=0,Kt=null,Ae(t,l,n,1);break;case 2:if(xs(n)){at=0,Kt=null,Ed(l);break}l=function(){at===2&&lt===t&&(at=7),Al(t)},n.then(l,l);break t;case 3:at=7;break t;case 4:at=5;break t;case 7:xs(n)?(at=0,Kt=null,Ed(l)):(at=0,Kt=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||$d(i)){at=0,Kt=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}}at=0,Kt=null,Ae(t,l,n,5);break;case 6:at=0,Kt=null,Ae(t,l,n,6);break;case 8:Rc(),ot=6;break t;default:throw Error(o(462))}}Sm();break}catch(E){gd(t,E)}while(!0);return Rl=qa=null,B.H=e,B.A=u,ft=a,Z!==null?0:(lt=null,w=0,$u(),ot)}function Sm(){for(;Z!==null&&!Qr();)pd(Z)}function pd(t){var l=Lo(t.alternate,t,Xl);t.memoizedProps=t.pendingProps,l===null?On(t):Z=l}function Ed(t){var l=t,a=l.alternate;switch(l.tag){case 15:case 0:l=Bo(a,l,l.pendingProps,l.type,void 0,w);break;case 11:l=Bo(a,l,l.pendingProps,l.type.render,l.ref,w);break;case 5:Gi(l);default:md(a,l),l=Z=od(l,Xl),l=Lo(a,l,Xl)}t.memoizedProps=t.pendingProps,l===null?On(t):Z=l}function Ae(t,l,a,e){Rl=qa=null,Gi(l),se=null,Fe=0;var u=l.return;try{if(cm(t,u,l,a,w)){ot=1,gn(t,Pt(a,t.current)),Z=null;return}}catch(n){if(u!==null)throw Z=u,n;ot=1,gn(t,Pt(a,t.current)),Z=null;return}l.flags&32768?(J||e===1?t=!0:Se||(w&536870912)!==0?t=!1:(Gl=t=!0,(e===2||e===3||e===6)&&(e=ll.current,e!==null&&e.tag===13&&(e.flags|=16384))),Ad(l,t)):On(l)}function On(t){var l=t;do{if((l.flags&32768)!==0){Ad(l,Gl);return}t=l.return;var a=rm(l.alternate,l,Xl);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 Ad(t,l){do{var a=mm(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 zd(t,l,a,e,u,n,i,c,s,m){var E=B.T,z=K.p;try{K.p=2,B.T=null,pm(t,l,a,e,z,u,n,i,c,s,m)}finally{B.T=E,K.p=z}}function pm(t,l,a,e,u,n,i,c){do ze();while(Xa!==null);if((ft&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|=Mi,Pr(t,e,m,n,i,c),t===lt&&(Z=lt=null,w=0),(s.subtreeFlags&10256)===0&&(s.flags&10256)===0||Dn||(Dn=!0,xc=m,Uc=a,Mm(qu,function(){return ze(),null})),a=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||a?(a=B.T,B.T=null,n=K.p,K.p=2,i=ft,ft|=4,sm(t,s),ed(s,t),V0(Jc,t.containerInfo),Xn=!!Kc,Jc=Kc=null,t.current=s,Io(t,s.alternate,s),Lr(),ft=i,K.p=n,B.T=a):t.current=s,Dn?(Dn=!1,Xa=t,vu=e):Md(t,m),m=t.pendingLanes,m===0&&(oa=null),Jr(s.stateNode),Al(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===Hc?yu++:(yu=0,Hc=t):yu=0,gu(0),null}function Md(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=xc;xc=0;var a=Nf(vu),e=B.T,u=K.p;try{if(K.p=32>a?32:a,B.T=null,Xa===null)var n=!1;else{a=Uc,Uc=null;var i=Xa,c=vu;if(Xa=null,vu=0,(ft&6)!==0)throw Error(o(331));var s=ft;if(ft|=4,fd(i.current),nd(i,i.current,c,a),ft=s,gu(0,!1),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot(Ne,i)}catch{}n=!0}return n}finally{K.p=u,B.T=e,Md(t,l)}}return!1}function Td(t,l,a){l=Pt(a,l),l=Ii(t.stateNode,l,2),t=ua(t,l,2),t!==null&&(Ce(t,2),Al(t))}function tt(t,l,a){if(t.tag===3)Td(t,t,a);else for(;l!==null;){if(l.tag===3){Td(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=Pt(a,t),a=Oo(2),e=ua(l,a,2),e!==null&&(xo(a,e,l,t),Ce(e,2),Al(e));break}}l=l.return}}function Bc(t,l,a){var e=t.pingCache;if(e===null){e=t.pingCache=new vm;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)||(Tc=!0,u.add(a),t=Em.bind(null,t,l,a),l.then(t,t))}function Em(t,l,a){var e=t.pingCache;e!==null&&e.delete(l),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,lt===t&&(w&a)===a&&(ot===4||ot===3&&(w&62914560)===w&&300>gl()-Oc?(ft&2)===0&&Ee(t,0):Dc|=a,pe===w&&(pe=0)),Al(t)}function Dd(t,l){l===0&&(l=xf()),t=$l(t,l),t!==null&&(Ce(t,l),Al(t))}function Am(t){var l=t.memoizedState,a=0;l!==null&&(a=l.retryLane),Dd(t,a)}function zm(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),Dd(t,a)}function Mm(t,l){return ti(t,l)}var xn=null,Me=null,jc=!1,Un=!1,Yc=!1,Qa=0;function Al(t){t!==Me&&t.next===null&&(Me===null?xn=Me=t:Me=Me.next=t),Un=!0,jc||(jc=!0,Dm(Tm))}function gu(t,l){if(!Yc&&Un){Yc=!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-Lt(42|t)+1)-1,n&=u&~(i&~c),n=n&201326677?n&201326677|1:n?n|2:0}n!==0&&(a=!0,xd(e,n))}else n=w,n=Yu(e,e===lt?n:0),(n&3)===0||Re(e,n)||(a=!0,xd(e,n));e=e.next}while(a);Yc=!1}}function Tm(){Un=jc=!1;var t=0;Qa!==0&&(Cm()&&(t=Qa),Qa=0);for(var l=gl(),a=null,e=xn;e!==null;){var u=e.next,n=_d(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 _d(t,l){for(var a=t.suspendedLanes,e=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var i=31-Lt(n),c=1<<i,s=u[i];s===-1?((c&a)===0||(c&e)!==0)&&(u[i]=Fr(c,l)):s<=l&&(t.expiredLanes|=c),n&=~c}if(l=lt,a=w,a=Yu(t,t===l?a:0),e=t.callbackNode,a===0||t===l&&at===2||t.cancelPendingCommit!==null)return e!==null&&e!==null&&li(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&&li(e),Nf(a)){case 2:case 8:a=Df;break;case 32:a=qu;break;case 268435456:a=_f;break;default:a=qu}return e=Od.bind(null,t),a=ti(a,e),t.callbackPriority=l,t.callbackNode=a,l}return e!==null&&e!==null&&li(e),t.callbackPriority=2,t.callbackNode=null,2}function Od(t,l){var a=t.callbackNode;if(ze()&&t.callbackNode!==a)return null;var e=w;return e=Yu(t,t===lt?e:0),e===0?null:(vd(t,e,l),_d(t,gl()),t.callbackNode!=null&&t.callbackNode===a?Od.bind(null,t):null)}function xd(t,l){if(ze())return null;vd(t,l,!0)}function Dm(t){Bm(function(){(ft&6)!==0?ti(Tf,t):t()})}function Gc(){return Qa===0&&(Qa=Of()),Qa}function Ud(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Zu(""+t)}function Hd(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 _m(t,l,a,e,u){if(l==="submit"&&a&&a.stateNode===u){var n=Ud((u[qt]||null).action),i=e.submitter;i&&(l=(l=i[qt]||null)?Ud(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?Hd(u,i):new FormData(u);ki(a,{pending:!0,data:s,method:u.method,action:n},null,s)}}else typeof n=="function"&&(c.preventDefault(),s=i?Hd(u,i):new FormData(u),ki(a,{pending:!0,data:s,method:u.method,action:n},n,s))},currentTarget:u}]})}}for(var Xc=0;Xc<As.length;Xc++){var Qc=As[Xc],Om=Qc.toLowerCase(),xm=Qc[0].toUpperCase()+Qc.slice(1);ol(Om,"on"+xm)}ol(gs,"onAnimationEnd"),ol(bs,"onAnimationIteration"),ol(Ss,"onAnimationStart"),ol("dblclick","onDoubleClick"),ol("focusin","onFocus"),ol("focusout","onBlur"),ol(K0,"onTransitionRun"),ol(J0,"onTransitionStart"),ol(k0,"onTransitionCancel"),ol(ps,"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(" "),Um=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu));function Nd(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 V(t,l){var a=l[ei];a===void 0&&(a=l[ei]=new Set);var e=t+"__bubble";a.has(e)||(Rd(l,t,2,!1),a.add(e))}function Lc(t,l,a){var e=0;l&&(e|=4),Rd(a,t,e,l)}var Hn="_reactListening"+Math.random().toString(36).slice(2);function Zc(t){if(!t[Hn]){t[Hn]=!0,qf.forEach(function(a){a!=="selectionchange"&&(Um.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 Rd(t,l,a,e){switch(ar(l)){case 2:var u=ah;break;case 8:u=eh;break;default:u=af}a=u.bind(null,l,a,t),u=void 0,!di||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 Vc(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}Jf(function(){var m=n,E=si(a),z=[];t:{var b=Es.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=z0;break;case"focusin":x="focus",p=vi;break;case"focusout":x="blur",p=vi;break;case"beforeblur":case"afterblur":p=vi;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=$f;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=d0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=D0;break;case gs:case bs:case Ss:p=h0;break;case ps:p=O0;break;case"scroll":case"scrollend":p=s0;break;case"wheel":p=U0;break;case"copy":case"cut":case"paste":p=y0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Pf;break;case"toggle":case"beforetoggle":p=N0}var Y=(l&4)!==0,dt=!Y&&(t==="scroll"||t==="scrollend"),h=Y?b!==null?b+"Capture":null:b;Y=[];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&&Y.push(Su(r,A,v))),dt)break;r=r.return}0<Y.length&&(b=new p(b,x,null,a,E),z.push({event:b,listeners:Y}))}}if((l&7)===0){t:{if(b=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",b&&a!==fi&&(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=j(x),Y=x.tag,x!==dt||Y!==5&&Y!==27&&Y!==6)&&(x=null)):(p=null,x=m),p!==x)){if(Y=$f,A="onMouseLeave",h="onMouseEnter",r="mouse",(t==="pointerout"||t==="pointerover")&&(Y=Pf,A="onPointerLeave",h="onPointerEnter",r="pointer"),dt=p==null?b:Be(p),v=x==null?b:Be(x),b=new Y(A,r+"leave",p,a,E),b.target=dt,b.relatedTarget=v,A=null,Ea(E)===m&&(Y=new Y(h,r+"enter",x,a,E),Y.target=v,Y.relatedTarget=dt,A=Y),dt=A,p&&x)l:{for(Y=p,h=x,r=0,v=Y;v;v=Te(v))r++;for(v=0,A=h;A;A=Te(A))v++;for(;0<r-v;)Y=Te(Y),r--;for(;0<v-r;)h=Te(h),v--;for(;r--;){if(Y===h||h!==null&&Y===h.alternate)break l;Y=Te(Y),h=Te(h)}Y=null}else Y=null;p!==null&&Cd(z,b,p,Y,!1),x!==null&&dt!==null&&Cd(z,dt,x,Y,!0)}}t:{if(b=m?Be(m):window,p=b.nodeName&&b.nodeName.toLowerCase(),p==="select"||p==="input"&&b.type==="file")var O=is;else if(us(b))if(cs)O=L0;else{O=X0;var Q=G0}else p=b.nodeName,!p||p.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?m&&ci(m.elementType)&&(O=is):O=Q0;if(O&&(O=O(t,m))){ns(z,O,a,E);break t}Q&&Q(t,b,m),t==="focusout"&&m&&b.type==="number"&&m.memoizedProps.value!=null&&ii(b,"number",b.value)}switch(Q=m?Be(m):window,t){case"focusin":(us(Q)||Q.contentEditable==="true")&&(ee=Q,Ei=m,we=null);break;case"focusout":we=Ei=ee=null;break;case"mousedown":Ai=!0;break;case"contextmenu":case"mouseup":case"dragend":Ai=!1,vs(z,a,E);break;case"selectionchange":if(w0)break;case"keydown":case"keyup":vs(z,a,E)}var U;if(gi)t:{switch(t){case"compositionstart":var C="onCompositionStart";break t;case"compositionend":C="onCompositionEnd";break t;case"compositionupdate":C="onCompositionUpdate";break t}C=void 0}else ae?as(t,a)&&(C="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(C="onCompositionStart");C&&(If&&a.locale!=="ko"&&(ae||C!=="onCompositionStart"?C==="onCompositionEnd"&&ae&&(U=kf()):(Wl=E,ri="value"in Wl?Wl.value:Wl.textContent,ae=!0)),Q=Nn(m,C),0<Q.length&&(C=new Ff(C,t,null,a,E),z.push({event:C,listeners:Q}),U?C.data=U:(U=es(a),U!==null&&(C.data=U)))),(U=C0?q0(t,a):B0(t,a))&&(C=Nn(m,"onBeforeInput"),0<C.length&&(Q=new Ff("onBeforeInput","beforeinput",null,a,E),z.push({event:Q,listeners:C}),Q.data=U)),_m(z,t,m,a,E)}Nd(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 Cd(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 Hm=/\r\n?/g,Nm=/\u0000|\uFFFD/g;function qd(t){return(typeof t=="string"?t:""+t).replace(Hm,`
`).replace(Nm,"")}function Bd(t,l){return l=qd(l),qd(t)===l}function Rn(){}function I(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":wf(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=Zu(""+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"&&I(t,l,"name",u.name,u,null),I(t,l,"formEncType",u.formEncType,u,null),I(t,l,"formMethod",u.formMethod,u,null),I(t,l,"formTarget",u.formTarget,u,null)):(I(t,l,"encType",u.encType,u,null),I(t,l,"method",u.method,u,null),I(t,l,"target",u.target,u,null)));if(e==null||typeof e=="symbol"||typeof e=="boolean"){t.removeAttribute(a);break}e=Zu(""+e),t.setAttribute(a,e);break;case"onClick":e!=null&&(t.onclick=Rn);break;case"onScroll":e!=null&&V("scroll",t);break;case"onScrollEnd":e!=null&&V("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=Zu(""+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":V("beforetoggle",t),V("toggle",t),Gu(t,"popover",e);break;case"xlinkActuate":_l(t,"http://www.w3.org/1999/xlink","xlink:actuate",e);break;case"xlinkArcrole":_l(t,"http://www.w3.org/1999/xlink","xlink:arcrole",e);break;case"xlinkRole":_l(t,"http://www.w3.org/1999/xlink","xlink:role",e);break;case"xlinkShow":_l(t,"http://www.w3.org/1999/xlink","xlink:show",e);break;case"xlinkTitle":_l(t,"http://www.w3.org/1999/xlink","xlink:title",e);break;case"xlinkType":_l(t,"http://www.w3.org/1999/xlink","xlink:type",e);break;case"xmlBase":_l(t,"http://www.w3.org/XML/1998/namespace","xml:base",e);break;case"xmlLang":_l(t,"http://www.w3.org/XML/1998/namespace","xml:lang",e);break;case"xmlSpace":_l(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=c0.get(a)||a,Gu(t,a,e))}}function wc(t,l,a,e,u,n){switch(a){case"style":wf(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&&V("scroll",t);break;case"onScrollEnd":e!=null&&V("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(!Bf.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[qt]||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":V("error",t),V("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:I(t,l,n,i,a,null)}}u&&I(t,l,"srcSet",a.srcSet,a,null),e&&I(t,l,"src",a.src,a,null);return;case"input":V("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:I(t,l,e,E,a,null)}}Qf(t,n,c,s,m,i,u,!1),Qu(t);return;case"select":V("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:I(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":V("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:I(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:I(t,l,s,e,a,null)}return;case"dialog":V("cancel",t),V("close",t);break;case"iframe":case"object":V("load",t);break;case"video":case"audio":for(e=0;e<bu.length;e++)V(bu[e],t);break;case"image":V("error",t),V("load",t);break;case"details":V("toggle",t);break;case"embed":case"source":case"link":V("error",t),V("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:I(t,l,m,e,a,null)}return;default:if(ci(l)){for(E in a)a.hasOwnProperty(E)&&(e=a[E],e!==void 0&&wc(t,l,E,e,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(e=a[c],e!=null&&I(t,l,c,e,a,null))}function Rm(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)||I(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&&I(t,l,b,p,e,z)}}ni(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)||I(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&&I(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:I(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&&I(t,l,i,u,e,n)}Lf(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:I(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:I(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 Y in a)b=a[Y],a.hasOwnProperty(Y)&&b!=null&&!e.hasOwnProperty(Y)&&I(t,l,Y,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:I(t,l,m,b,e,p)}return;default:if(ci(l)){for(var dt in a)b=a[dt],a.hasOwnProperty(dt)&&b!==void 0&&!e.hasOwnProperty(dt)&&wc(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||wc(t,l,E,b,e,p);return}}for(var h in a)b=a[h],a.hasOwnProperty(h)&&b!=null&&!e.hasOwnProperty(h)&&I(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||I(t,l,z,b,e,p)}var Kc=null,Jc=null;function Cn(t){return t.nodeType===9?t:t.ownerDocument}function jd(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 Yd(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 kc(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 Wc=null;function Cm(){var t=window.event;return t&&t.type==="popstate"?t===Wc?!1:(Wc=t,!0):(Wc=null,!1)}var Gd=typeof setTimeout=="function"?setTimeout:void 0,qm=typeof clearTimeout=="function"?clearTimeout:void 0,Xd=typeof Promise=="function"?Promise:void 0,Bm=typeof queueMicrotask=="function"?queueMicrotask:typeof Xd<"u"?function(t){return Xd.resolve(null).then(t).catch(jm)}:Gd;function jm(t){setTimeout(function(){throw t})}function $c(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 Fc(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":Fc(a),ui(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Ym(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 Gm(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 Qd(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 Ld(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 il=new Map,Zd=new Set;function qn(t){return typeof t.getRootNode=="function"?t.getRootNode():t.ownerDocument}var Ll=K.d;K.d={f:Xm,r:Qm,D:Lm,C:Zm,L:Vm,m:wm,X:Jm,S:Km,M:km};function Xm(){var t=Ll.f(),l=_n();return t||l}function Qm(t){var l=Wa(t);l!==null&&l.tag===5&&l.type==="form"?yo(l):Ll.r(t)}var De=typeof document>"u"?null:document;function Vd(t,l,a){var e=De;if(e&&typeof l=="string"&&l){var u=$t(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),At(l),e.head.appendChild(l)))}}function Lm(t){Ll.D(t),Vd("dns-prefetch",t,null)}function Zm(t,l){Ll.C(t,l),Vd("preconnect",t,l)}function Vm(t,l,a){Ll.L(t,l,a);var e=De;if(e&&t&&l){var u='link[rel="preload"][as="'+$t(l)+'"]';l==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+$t(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+$t(a.imageSizes)+'"]')):u+='[href="'+$t(t)+'"]';var n=u;switch(l){case"style":n=_e(t);break;case"script":n=Oe(t)}il.has(n)||(t=$({rel:"preload",href:l==="image"&&a&&a.imageSrcSet?void 0:t,as:l},a),il.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),At(l),e.head.appendChild(l)))}}function wm(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="'+$t(e)+'"][href="'+$t(t)+'"]',n=u;switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Oe(t)}if(!il.has(n)&&(t=$({rel:"modulepreload",href:t},l),il.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),At(e),a.head.appendChild(e)}}}function Km(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=$({rel:"stylesheet",href:t,"data-precedence":l},a),(a=il.get(n))&&Pc(t,a);var s=i=e.createElement("link");At(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 Jm(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=$({src:t,async:!0},l),(l=il.get(u))&&Ic(t,l),n=a.createElement("script"),At(n),Ot(n,"link",t),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function km(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=$({src:t,async:!0,type:"module"},l),(l=il.get(u))&&Ic(t,l),n=a.createElement("script"),At(n),Ot(n,"link",t),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function wd(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),il.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},il.set(t,a),n||Wm(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="'+$t(t)+'"'}function pu(t){return'link[rel="stylesheet"]['+t+"]"}function Kd(t){return $({},t,{"data-precedence":t.precedence,precedence:null})}function Wm(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),At(l),t.head.appendChild(l))}function Oe(t){return'[src="'+$t(t)+'"]'}function Eu(t){return"script[async]"+t}function Jd(t,l,a){if(l.count++,l.instance===null)switch(l.type){case"style":var e=t.querySelector('style[data-href~="'+$t(a.href)+'"]');if(e)return l.instance=e,At(e),e;var u=$({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return e=(t.ownerDocument||t).createElement("style"),At(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,At(n),n;e=Kd(a),(u=il.get(u))&&Pc(e,u),n=(t.ownerDocument||t).createElement("link"),At(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,At(u),u):(e=a,(u=il.get(n))&&(e=$({},a),Ic(e,u)),t=t.ownerDocument||t,u=t.createElement("script"),At(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 Pc(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function Ic(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 kd(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 Wd(t,l,a){t=t.ownerDocument||t,t.head.insertBefore(a,l==="title"?t.querySelector("head > title"):null)}function $m(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 $d(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Au=null;function Fm(){}function Pm(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,At(n);return}n=t.ownerDocument||t,a=Kd(a),(u=il.get(u))&&Pc(a,u),n=n.createElement("link"),At(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 Im(){if(Au===null)throw Error(o(475));var t=Au;return t.stylesheets&&t.count===0&&tf(t,t.stylesheets),0<t.count?function(l){var a=setTimeout(function(){if(t.stylesheets&&tf(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)tf(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Gn=null;function tf(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Gn=new Map,l.forEach(th,t),Gn=null,Yn.call(t))}function th(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:q,Provider:null,Consumer:null,_currentValue:kt,_currentValue2:kt,_threadCount:0};function lh(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=ai(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ai(0),this.hiddenUpdates=ai(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 Fd(t,l,a,e,u,n,i,c,s,m,E,z){return t=new lh(t,l,a,i,c,s,m,z),l=1,n===!0&&(l|=24),n=ul(3,null,null,l),t.current=n,n.stateNode=t,l=Ni(),l.refCount++,t.pooledCache=l,l.refCount++,n.memoizedState={element:e,isDehydrated:a,cache:l},rc(n),t}function Pd(t){return t?(t=ie,t):ie}function Id(t,l,a,e,u,n){u=Pd(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&&(Ct(a,t,l),iu(a,t,l))}function tr(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<l?a:l}}function lf(t,l){tr(t,l),(t=t.alternate)&&tr(t,l)}function lr(t){if(t.tag===13){var l=$l(t,67108864);l!==null&&Ct(l,t,67108864),lf(t,67108864)}}var Xn=!0;function ah(t,l,a,e){var u=B.T;B.T=null;var n=K.p;try{K.p=2,af(t,l,a,e)}finally{K.p=n,B.T=u}}function eh(t,l,a,e){var u=B.T;B.T=null;var n=K.p;try{K.p=8,af(t,l,a,e)}finally{K.p=n,B.T=u}}function af(t,l,a,e){if(Xn){var u=ef(e);if(u===null)Vc(t,l,e,Qn,a),er(t,e);else if(nh(u,t,l,a,e))e.stopPropagation();else if(er(t,e),l&4&&-1<uh.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-Lt(i);c.entanglements[1]|=s,i&=~s}Al(n),(ft&6)===0&&(Mn=gl()+500,gu(0))}}break;case 13:c=$l(n,2),c!==null&&Ct(c,n,2),_n(),lf(n,2)}if(n=ef(e),n===null&&Vc(t,l,e,Qn,a),n===u)break;u=n}u!==null&&e.stopPropagation()}else Vc(t,l,e,null,a)}}function ef(t){return t=si(t),uf(t)}var Qn=null;function uf(t){if(Qn=null,t=Ea(t),t!==null){var l=j(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 ar(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 Tf:return 2;case Df:return 8;case qu:case Vr:return 32;case _f:return 268435456;default:return 32}default:return 32}}var nf=!1,da=null,ra=null,ma=null,Mu=new Map,Tu=new Map,ha=[],uh="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 er(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&&lr(l)),t):(t.eventSystemFlags|=e,l=t.targetContainers,u!==null&&l.indexOf(u)===-1&&l.push(u),t)}function nh(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 ur(t){var l=Ea(t.target);if(l!==null){var a=j(l);if(a!==null){if(l=a.tag,l===13){if(l=et(a),l!==null){t.blockedOn=l,Ir(t.priority,function(){if(a.tag===13){var e=Jt(),u=$l(a,e);u!==null&&Ct(u,a,e),lf(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 Ln(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var a=ef(t.nativeEvent);if(a===null){a=t.nativeEvent;var e=new a.constructor(a.type,a);fi=e,a.target.dispatchEvent(e),fi=null}else return l=Wa(a),l!==null&&lr(l),t.blockedOn=a,!1;l.shift()}return!0}function nr(t,l,a){Ln(t)&&a.delete(l)}function ih(){nf=!1,da!==null&&Ln(da)&&(da=null),ra!==null&&Ln(ra)&&(ra=null),ma!==null&&Ln(ma)&&(ma=null),Mu.forEach(nr),Tu.forEach(nr)}function Zn(t,l){t.blockedOn===l&&(t.blockedOn=null,nf||(nf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,ih)))}var Vn=null;function ir(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(uf(e||a)===null)continue;break}var n=Wa(a);n!==null&&(t.splice(l,3),l-=3,ki(n,{pending:!0,data:u,method:a.method,action:e},e,u))}}))}function _u(t){function l(s){return Zn(s,t)}da!==null&&Zn(da,t),ra!==null&&Zn(ra,t),ma!==null&&Zn(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);)ur(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[qt]||null;if(typeof n=="function")i||ir(a);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[qt]||null)c=i.formAction;else if(uf(u)!==null)continue}else c=i.action;typeof c=="function"?a[e+1]=c:(a.splice(e,3),e-=3),ir(a)}}}function cf(t){this._internalRoot=t}wn.prototype.render=cf.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(o(409));var a=l.current,e=Jt();Id(a,e,t,l,null,null)},wn.prototype.unmount=cf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;t.tag===0&&ze(),Id(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=Rf();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&&ur(t)}};var cr=y.version;if(cr!=="19.0.0")throw Error(o(527,cr,"19.0.0"));K.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 ch={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:B,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(ch),Qt=Kn}catch{}}return Ou.createRoot=function(t,l){if(!g(t))throw Error(o(299));var a=!1,e="",u=Mo,n=To,i=Do,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=Fd(t,1,!1,null,null,a,e,u,n,i,c,null),t[ka]=l.current,Zc(t.nodeType===8?t.parentNode:t),new cf(l)},Ou.hydrateRoot=function(t,l,a){if(!g(t))throw Error(o(299));var e=!1,u="",n=Mo,i=To,c=Do,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=Fd(t,1,!0,l,a??null,e,u,n,i,c,s,m),l.context=Pd(null),a=l.current,e=Jt(),u=ea(e),u.callback=null,ua(a,u,e),l.current.lanes=e,Ce(l,e),Al(l),t[ka]=l.current,Zc(t),new wn(l)},Ou.version="19.0.0",Ou}var Mr;function uv(){if(Mr)return df.exports;Mr=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(),df.exports=ev(),df.exports}var nv=uv();const iv=rh(nv),Hr=W.createContext(void 0);function ly(){const f=W.useContext(Hr);if(!f)throw new Error("Place PrivacityContext inside PrivacityProvider");return f}const Tr={privacitySettings:!0};function cv({children:f}){const y={photoHidden:{hide:!1},nameHidden:{hide:!1},midiaHidden:{hide:!1},galeryHidden:{hide:!1},lastMessageHidden:{hide:!1},messageHidden:{hide:!1}},[d,o]=W.useState(y);return W.useEffect(()=>{if(Tr.privacitySettings&&localStorage.getItem("privacityOptions")){let S=fr.decryptData(localStorage.getItem("privacityOptions"));o(S),Tr.privacitySettings=!1}else{let S=fr.encryptData(d);localStorage.setItem("privacityOptions",S)}let g="";Object.entries(d).map(([S,D])=>{D.hide&&(g+=S+" ")}),g.length===0?document.body.removeAttribute("hide"):document.body.setAttribute("hide",g)},[d]),H.jsx(Hr.Provider,{value:{privacityOptions:d,setPrivacityOptions:o},children:f})}const fv=W.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f40.js")).then(f=>f.i),[]));function sv(){return Sf(y=>y.activeHeader)&&H.jsx(W.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(fv,{})})}const ov=W.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f41.js")),[]));function dv(){return H.jsx(W.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(ov,{})})}const Nr=document.createElement("section");Nr.setAttribute("data-id","ChatName");const Rr=document.createElement("section");Rr.setAttribute("data-id","MenuVertical");const Cr=document.createElement("section");Cr.setAttribute("data-id","MenuHorizontal");const qr=document.createElement("section");qr.setAttribute("data-id","ActionMonitor");const Jn=document.createElement("section");Jn.setAttribute("data-id","AssistenteDeChat");const Wn=document.createElement("section");Wn.setAttribute("data-id","FooterIconsLeft");Wn.setAttribute("style","display: contents;");const Ef=document.createElement("section");Ef.setAttribute("data-id","FooterIconsRight");const kn=document.createElement("section");kn.setAttribute("data-id","MenuFooter");const Af=document.createElement("section");Af.setAttribute("data-id","RespostaRapida");const rv=[{father:()=>Yt.getState().getSeletor("chatName"),children:Nr,type:"insert",renderInblockChat:!0},{father:()=>Yt.getState().getSeletor("menuVertical"),children:Rr,type:"prepend",renderInblockChat:!0},{father:()=>Yt.getState().getSeletor("menuHorizontal"),children:Cr,type:"prepend",renderInblockChat:!0},{father:()=>Yt.getState().getSeletor("menuFooter"),children:kn,type:"appendChild",renderInblockChat:!1},{father:()=>Yt.getState().getSeletor("respostaRapida"),children:Af,type:"appendChild",renderInblockChat:!1},{father:()=>Yt.getState().getSeletor("assistenteChat"),children:Jn,type:"prepend",renderInblockChat:!1},{father:()=>Yt.getState().getSeletor("actionMonitor"),children:qr,type:"insertAdjacentElement",renderInblockChat:!1},{father:()=>Yt.getState().getSeletor("footerIconsLeft"),children:Wn,type:"prepend",renderInblockChat:!1},{father:()=>Yt.getState().getSeletor("respostaRapida"),children:Ef,type:"appendChild",renderInblockChat:!1}];function mv(){const f=pf(d=>d.activeChat),y=Sh(d=>d.isNewModel);W.useEffect(()=>{if(!f)return;const{getSeletor:d}=Yt.getState(),o=[];rv.forEach(({father:M,children:N,type:T,renderInblockChat:R})=>{var F,L,q;switch(T){case"prepend":(F=M())==null||F.prepend(N);break;case"insert":let rt=M();rt&&(rt.innerHTML="",rt.prepend(N));break;case"insertAdjacentElement":(L=M())==null||L.insertAdjacentElement("afterend",N);break;case"appendChild":default:(q=M())==null||q.appendChild(N);break}});const g=()=>{y||d("mainAudio",M=>{const N=new MutationObserver(T=>{T[0].removedNodes.length!==0&&d("menuFooter",R=>{R.appendChild(kn)})});N.observe(M,{childList:!0}),o.push(N)})};return g(),y?(()=>{d("observerFooterNewModel",M=>{const N=new MutationObserver(T=>{T[0].removedNodes.length!==0&&(d("respostaRapida",R=>{R.appendChild(Ef)}),d("footerIconsLeft",R=>{R.prepend(Wn)}),d("assistenteChat",R=>{R.prepend(Jn)}))});N.observe(M,{childList:!0}),o.push(N)})})():(()=>{d("observerFooter",M=>{const N=new MutationObserver(T=>{T[0].removedNodes.length!==0&&(d("menuFooter",R=>{R.appendChild(kn)}),d("respostaRapida",R=>{R.appendChild(Af)}),d("assistenteChat",R=>{R.prepend(Jn)}),g())});N.observe(M,{childList:!0}),o.push(N)})})(),()=>{o.forEach(M=>M.disconnect())}},[f,y])}const hv=W.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f42.js")),[]));function vv(){const f=pf(y=>y.activeChat);return mv(),W.useEffect(()=>{var g;if(!f)return;ph.getState().update(f.id._serialized),Eh.getState().configAssinatura(),Ah.getState().getActiveChat(f.id._serialized),zh.getState().insertBtnTradutor(),f.id.user&&(hr.getState().setActiveUser(f),hr.getState().setActivePerfil(f.id.user)),Mh(),gf.setState({textAssistente:""});const{assistente:y,manipulatedInputText:d,formatTextAssistente:o}=gf.getState();if(y.active){const S=f.draftMessage;((g=S==null?void 0:S.text)==null?void 0:g.length)>0&&o(S.text),d()}},[f]),f?H.jsx(W.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(hv,{})}):null}const Br=document.createElement("section");Br.setAttribute("data-id","MenuLateral");Br.setAttribute("render-mode","window");const yv=W.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f43.js")),[]));function gv(){const f=of(o=>o.menuContent),y=of(o=>o.isOpen),d=of(o=>o.isThree);return f.children!=="close"&&!d&&y&&H.jsx(W.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(yv,{})})}const bv=W.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f44.js")).then(f=>f.i),[]));function Sv(){return Sf(y=>y.activeView)&&H.jsx(W.Suspense,{fallback:H.jsx(H.Fragment,{}),children:H.jsx(bv,{})})}var pv=function(f,y){var d=typeof Symbol=="function"&&f[Symbol.iterator];if(!d)return f;var o=d.call(f),g,S=[],D;try{for(;(y===void 0||y-- >0)&&!(g=o.next()).done;)S.push(g.value)}catch(M){D={error:M}}finally{try{g&&!g.done&&(d=o.return)&&d.call(o)}finally{if(D)throw D.error}}return S},xu={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},ay=function(){var f=pv(W.useState("xs"),2),y=f[0],d=f[1];return W.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"}},Ev=function(f,y){var d=typeof Symbol=="function"&&f[Symbol.iterator];if(!d)return f;var o=d.call(f),g,S=[],D;try{for(;(y===void 0||y-- >0)&&!(g=o.next()).done;)S.push(g.value)}catch(M){D={error:M}}finally{try{g&&!g.done&&(d=o.return)&&d.call(o)}finally{if(D)throw D.error}}return S};function Av(f,y){y===void 0&&(y=0);var d=Ev(W.useState(!1),2),o=d[0],g=d[1];return W.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 $n(f){return new Promise((y,d)=>{f.oncomplete=f.onsuccess=()=>y(f.result),f.onabort=f.onerror=()=>d(f.error)})}function jr(f,y){let d;const o=()=>{if(d)return d;const g=indexedDB.open(f);return g.onupgradeneeded=()=>g.result.createObjectStore(y),d=$n(g),d.then(S=>{S.onclose=()=>d=void 0},()=>{}),d};return(g,S)=>o().then(D=>S(D.transaction(y,g).objectStore(y)))}let hf;function zf(){return hf||(hf=jr("keyval-store","keyval")),hf}function zv(f,y=zf()){return y("readonly",d=>$n(d.get(f)))}function Mv(f,y,d=zf()){return d("readwrite",o=>(o.put(y,f),$n(o.transaction)))}function Tv(f,y=zf()){return y("readwrite",d=>(d.delete(f),$n(d.transaction)))}var vf=function(f,y,d,o){function g(S){return S instanceof d?S:new d(function(D){D(S)})}return new(d||(d=Promise))(function(S,D){function M(R){try{T(o.next(R))}catch(F){D(F)}}function N(R){try{T(o.throw(R))}catch(F){D(F)}}function T(R){R.done?S(R.value):g(R.value).then(M,N)}T((o=o.apply(f,y||[])).next())})},yf=function(f,y){var d={label:0,sent:function(){if(S[0]&1)throw S[1];return S[1]},trys:[],ops:[]},o,g,S,D=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return D.next=M(0),D.throw=M(1),D.return=M(2),typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function M(T){return function(R){return N([T,R])}}function N(T){if(o)throw new TypeError("Generator is already executing.");for(;D&&(D=0,T[0]&&(d=0)),d;)try{if(o=1,g&&(S=T[0]&2?g.return:T[0]?g.throw||((S=g.return)&&S.call(g),0):g.next)&&!(S=S.call(g,T[1])).done)return S;switch(g=0,S&&(T=[T[0]&2,S.value]),T[0]){case 0:case 1:S=T;break;case 4:return d.label++,{value:T[1],done:!1};case 5:d.label++,g=T[1],T=[0];continue;case 7:T=d.ops.pop(),d.trys.pop();continue;default:if(S=d.trys,!(S=S.length>0&&S[S.length-1])&&(T[0]===6||T[0]===2)){d=0;continue}if(T[0]===3&&(!S||T[1]>S[0]&&T[1]<S[3])){d.label=T[1];break}if(T[0]===6&&d.label<S[1]){d.label=S[1],S=T;break}if(S&&d.label<S[2]){d.label=S[2],d.ops.push(T);break}S[2]&&d.ops.pop(),d.trys.pop();continue}T=y.call(f,d)}catch(R){T=[6,R],g=0}finally{o=S=0}if(T[0]&5)throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}},Yr=function(f,y){var d=jr(f,y);return{getItem:function(o){return vf(void 0,void 0,void 0,function(){var g,S;return yf(this,function(D){switch(D.label){case 0:return D.trys.push([0,2,,3]),[4,zv(o,d)];case 1:return g=D.sent(),[2,g?JSON.stringify(g):null];case 2:return S=D.sent(),console.error("[".concat(f,"] Erro ao ler '").concat(o,"':"),S),[2,null];case 3:return[2]}})})},setItem:function(o,g){return vf(void 0,void 0,void 0,function(){var S,D;return yf(this,function(M){switch(M.label){case 0:return M.trys.push([0,2,,3]),S=JSON.parse(g),[4,Mv(o,S,d)];case 1:return M.sent(),[3,3];case 2:return D=M.sent(),console.error("[".concat(f,"] Erro ao salvar '").concat(o,"':"),D),[3,3];case 3:return[2]}})})},removeItem:function(o){return vf(void 0,void 0,void 0,function(){var g;return yf(this,function(S){switch(S.label){case 0:return S.trys.push([0,2,,3]),[4,Tv(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 Dv(f){return typeof f=="object"&&f!==null&&"__type"in f&&f.__type==="Date"&&"value"in f&&typeof f.value=="string"}function _v(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()(Or((f,y)=>({executions:new Map,startExecution:(d,o,g,S)=>{f(D=>{const M=new Map(D.executions);return M.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:M}})},updateProgress:(d,o,g,S)=>{f(D=>{const M=new Map(D.executions),N=M.get(d);return N&&M.set(d,{...N,currentContactIndex:o,successContacts:g?[...N.successContacts,S]:N.successContacts,failedContacts:g?N.failedContacts:[...N.failedContacts,S]}),{executions:M}})},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),D=S.get(d);return D&&S.set(d,{...D,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:xr(()=>Yr("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)=>Dv(y)?new Date(y.value):_v(y)?new Map(y.value):y}),version:2,migrate:(f,y)=>y===1?{executions:new Map}:f,partialize:f=>({executions:f.executions})})),Mf=xe()(Or((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(R=>R.id===o))return;const{getAction:D}=Th.getState(),{acao:M}=vr.getState(),T=(Array.isArray(d.script)&&d.type==="script"?d.script.flatMap(R=>D(R.id)??[]):D(d.id)??[]).map(R=>({...R,id:_r()}));vr.setState({acao:[...M,...T]})}}),{name:"useSendBulkMessage-store",storage:xr(()=>Yr("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 Zl=(f=>(f.DRAFT="Rascunho",f.PAUSED="Pausada",f.SENDING="Enviando",f.SENT="Enviada",f.FAILED="Falhou",f))(Zl||{});const ey={interval:{seconds:10},pause:{every:10,durationSeconds:60},signature:{disabled:!1,useCustomName:!1,customName:void 0}},Gr=xe((f,y)=>({steps:[{key:"contatos",label:La.getState().language.step_contatos,icon:sr},{key:"acoes",label:La.getState().language.step_acoes,icon:or},{key:"revisao",label:La.getState().language.step_revisao,icon:dr},{key:"envio",label:La.getState().language.step_envio,icon:rr},{key:"resultados",label:La.getState().language.step_resultados,icon:mr}],currentStep:"contatos",setCurrentStep:d=>f({currentStep:d}),updateStepsLabels:d=>f({steps:[{key:"contatos",label:d.step_contatos,icon:sr},{key:"acoes",label:d.step_acoes,icon:or},{key:"revisao",label:d.step_revisao,icon:dr},{key:"envio",label:d.step_envio,icon:rr},{key:"resultados",label:d.step_resultados,icon:mr}]})}));La.subscribe((f,y)=>{f.language!==y.language&&Gr.getState().updateStepsLabels(f.language)});function Ov(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 xv(f){return Va.getState().executions.get(f)}function uy(f){const{campaigns:y}=Mf.getState();return y.find(d=>d.id===f)}const Dr=f=>new Promise(y=>setTimeout(y,f)),Uv=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"}`)}};async function Hv({userID:f,acao:y,assiantura:d,remetente:o,campaignId:g,resumeFromActionIndex:S=0}){const{addMonitor:D,deleteMonitor:M,updateMonitor:N}=Dh.getState(),T=[],R=_r();D({id:R,userID:f,sendAction:"Actived",remetente:o,actionsTam:y.length,actionIndice:S,activeAction:y[S]});try{for(const[L,q]of y.entries()){if(L<S)continue;const rt=Va.getState();if(g){if(!rt.executions.get(g))return M(R),{status:"execution_not_found"};if(rt.shouldCancelExecution(g))return M(R),{status:"cancelled"};if(rt.shouldPauseExecution(g))return Vl(g,{currentActionIndex:L,status:hl.PAUSED,pausedAt:new Date,shouldPause:!1}),M(R),{status:"paused",actionIndex:L}}if(!N(R,L,q)){T.push(!1);break}g&&Vl(g,{currentActionIndex:L});try{switch(q.type){case"txt":T.push(await Vh(nt(f),q.propriedades,d));break;case"image":T.push(await Zh(nt(f),q.propriedades,d));break;case"video":T.push(await Lh(nt(f),q.propriedades,d));break;case"audio":T.push(await Qh(nt(f),q.propriedades));break;case"doc":T.push(await Xh(nt(f),q.propriedades));break;case"pix":T.push(await Gh(nt(f),q.propriedades));break;case"groupInvite":T.push(await Yh(nt(f),q.propriedades));break;case"contact":T.push(await jh(nt(f),q.propriedades));break;case"linkPreview":T.push(await Bh(nt(f),q.propriedades));break;case"sticker":T.push(await qh(nt(f),q.propriedades));break;case"addCRM":await Ch(ff(f),q.propriedades.crmID,q.propriedades.abaID);break;case"removeCRM":await pr(ff(f),!1,q.propriedades.crmID,q.propriedades.abaID);break;case"removeAllCRM":await pr(ff(f),!0);break;case"addLabel":await Sr(nt(f),q.propriedades.labelID,"add");break;case"removeLabel":await Sr(nt(f),q.propriedades.labelID,"remove");break;case"removeAllLabel":await Rh(nt(f));break;case"timer":await Nh(q.propriedades.segundos);break;case"composing":await br(nt(f),q.propriedades.segundos,"txt");break;case"recording":await br(nt(f),q.propriedades.segundos,"audio");break;case"arquivar":await gr(nt(f));break;case"desarquivar":await gr(nt(f),!0);break;case"fixarChat":await yr(nt(f),"pin");break;case"desfixarChat":await yr(nt(f),"unpin");break;case"marcarNaoLido":await Hh(nt(f));break;case"transferir":await Uh(nt(f),q.propriedades);break;case"bloquear":await xh(nt(f));break;case"respostaRapida":await Oh(nt(f),q.propriedades.respostaRapidaID,d);break;case"list":await _h(nt(f),q.propriedades);break;default:console.warn(`No handler found for action type: ${q.type}`);break}}catch(xt){const Gt=xt instanceof Error?xt.message:"Erro desconhecido na ação";return console.error(`Erro na ação ${q.type} (índice ${L}) para ${f}:`,xt),M(R),{status:"error",message:`Erro na ação "${q.type}": ${Gt}`}}}return M(R),T.length===0||T.every(L=>L&&L.id)?{status:"success"}:{status:"error",message:"Erro ao executar uma ou mais ações."}}catch(F){const L=F instanceof Error?F.message:"Erro desconhecido";return console.error(`Erro geral ao executar ações para ${f}:`,F),M(R),{status:"error",message:`Erro geral: ${L}`}}}async function Nv({campaign:f,type:y,resumeFromIndex:d=0,isResume:o=!1}){const g=La.getState().language,{actions:S,config:D,id:M}=f,{interval:N,pause:T,signature:R}=D,{seconds:F}=N,{every:L,durationSeconds:q}=T,{disabled:rt,useCustomName:xt,customName:Gt}=R,{updateCampaign:Nt}=Mf.getState(),vt=Va.getState(),Xt=xv(M);if(Xt&&Xt.status===hl.RUNNING&&!o){zl({type:"Info",message:g.send_campanha_ja_em_execucao});return}const cl=y==="test"?[await Uv()]:f.selectedContacts,Ml=(Xt==null?void 0:Xt.currentActionIndex)||0;o?Vl(M,{status:hl.RUNNING,shouldPause:!1,shouldCancel:!1}):vt.startExecution(M,cl.length,S.length,y),Nt(M,{status:Zl.SENDING}),Gr.getState().setCurrentStep("envio"),zl({type:"Info",message:o?g.send_retomando_envio:g.send_iniciando_envio});try{for(let it=d;it<cl.length;it++){const fl=cl[it];if(vt.shouldCancelExecution(M)){Vl(M,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),Nt(M,{status:Zl.DRAFT}),zl({type:"Info",message:g.send_campanha_cancelada});return}const wl={desativar:rt,personalizar:xt&&Ov(Gt),nome:(Gt==null?void 0:Gt.trim())||""},B=it===d?Ml:0;switch((await Hv({userID:fl.id,acao:S,assiantura:wl,remetente:"useAcaoEnvioEmMassaNew",campaignId:M,resumeFromActionIndex:B})).status){case"cancelled":Vl(M,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),Nt(M,{status:Zl.DRAFT}),zl({type:"Info",message:g.send_campanha_cancelada});return;case"paused":Nt(M,{status:Zl.PAUSED}),zl({type:"Info",message:g.campanha_pausada});return;case"execution_not_found":return;case"error":vt.updateProgress(M,it+1,!1,fl);break;case"success":vt.updateProgress(M,it+1,!0,fl);break}if(it<cl.length-1){if(await Dr(F*1e3),vt.shouldCancelExecution(M)){Vl(M,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),Nt(M,{status:Zl.DRAFT}),zl({type:"Info",message:g.send_campanha_cancelada});return}if((it+1)%L===0){const sl=new Date(Date.now()+q*1e3);if(Vl(M,{status:hl.PAUSED,isAutoPause:!0,autoPauseEndsAt:sl,pausedAt:new Date}),zl({type:"Info",message:`${g.send_pausa_apos_envios} ${q}s ${g.send_apos} ${L} ${g.send_envios}`}),await Dr(q*1e3),vt.shouldCancelExecution(M)){Vl(M,{status:hl.CANCELLED,completedAt:new Date,shouldCancel:!1}),Nt(M,{status:Zl.DRAFT}),zl({type:"Info",message:g.send_campanha_cancelada});return}Vl(M,{status:hl.RUNNING,isAutoPause:!1,autoPauseEndsAt:void 0})}}}vt.completeExecution(M),Nt(M,{status:Zl.SENT}),zl({type:"Success",message:`${g.send_campanha_concluida} ${cl.length} ${g.send_contatos_processados}`})}catch(it){const fl=it instanceof Error?it:new Error(g.send_erro_desconhecido);vt.failExecution(M,fl.message),Nt(M,{status:Zl.FAILED}),zl({type:"Error",message:`${g.send_erro_ao_enviar} ${fl.message}`})}}function Rv(){const f=Av(Va);W.useEffect(()=>{if(!f)return;const y=Va.getState(),d=Mf.getState();y.executions.forEach((o,g)=>{if(o.status===hl.RUNNING){const S=d.campaigns.find(D=>D.id===g);S&&Nv({campaign:S,type:o.type,resumeFromIndex:o.currentContactIndex,isResume:!0})}})},[f])}const Xr=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(wh,{});break}Xr.getState().open(S,d,o,g)}}));function Cv(){const{modalExterno:f,btnClose:y,close:d,zIndex:o}=Xr(),g=W.useRef(null),S=W.useRef(null);return W.useEffect(()=>{const D=M=>{const N=document.querySelector(".iziToast-wrapper"),T=document.querySelector('section[data-id="Modal Options"]'),R=document.querySelector('section[data-id="Modal"]');y&&g.current&&!S.current.contains(M.target)&&(!N||!N.contains(M.target))&&!T&&!R&&d()};return f&&document.addEventListener("mousedown",D),()=>{document.removeEventListener("mousedown",D)}},[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(Ur,{className:"w-full h-full text-[var(--primary-strong)]"})}),H.jsx("div",{className:"w-full h-full",children:f})]})})})}const qv=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 Bv(){const{modal:f,btnClose:y,close:d}=qv(),o=W.useRef(null),g=W.useRef(null);return W.useLayoutEffect(()=>{const S=D=>{const M=document.querySelector(".iziToast-wrapper"),N=document.querySelector('section[data-id="Modal Options"]'),T=document.querySelector('section[data-id="Modal Emoji"]'),R=document.querySelector('section[data-id="Modal Externo"]');y&&o.current&&!g.current.contains(D.target)&&(!M||!M.contains(D.target))&&!N&&!T&&!R&&d()};return f&&document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[f]),H.jsx(sh,{children:f&&H.jsx("section",{"data-id":"ModalLateral",children:H.jsx(sf.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(sf.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(sf.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(Ur,{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 jv=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 Yv(){const{isHover:f,content:y,referenceElement:d,options:o,style:g}=jv(),S=W.useRef(null),{refs:D,floatingStyles:M,context:N}=vh({...o,middleware:[gh(10),bh({element:S})]});return W.useEffect(()=>{d&&D.setReference(d)},[d,D]),f&&H.jsx("section",{"data-id":"Tooltip",children:H.jsx("div",{ref:D.setFloating,className:"z-[9999999]",style:{...M,...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(yh,{ref:S,context:N,className:"fill-[var(--primaria)] w-3 h-3"}),H.jsx("div",{className:"text-[var(--letra)] p-[6px]",children:y})," "]})})})}const Gv=()=>{if(document.getElementById("piracy-overlay"))return;const f=document.createElement("style");f.id="piracy-styles",f.textContent=`
      @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
      }
  
      .piracy-overlay {
        position: fixed;
        inset: 0;
        background: #18181B;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        font-family: 'Inter', sans-serif;
        backdrop-filter: blur(8px);
        padding: 20px;
      }
  
      .piracy-modal {
        background: #09090B;
        color: #fff;
        border-radius: 20px;
        padding: 40px;
        max-width: 480px;
        width: 100%;
        max-height: 90vh;   
        overflow-y: auto; 
        animation: fadeIn 0.5s ease-out;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        gap: 28px;
        border: 1px solid #2c2c2e;
      }
  
      .piracy-icon {
        font-size: 64px;
        align-self: center;
        color: #f1c40f;
        margin-bottom: 4px;
      }
  
      .piracy-title {
        font-size: 30px;
        text-align: center;
        color: #ff4d4f;
        font-weight: 800;
        text-transform: uppercase;
        line-height: 1.1;
        margin-bottom: -8px;
      }
  
      .piracy-subtitle {
        font-size: 16px;
        text-align: center;
        color: #ffa502;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 8px;
      }
  
      .piracy-text {
        font-size: 15px;
        line-height: 1.7;
        color: #dcdde1;
        text-align: center;
      }
  
      .piracy-text p {
        margin: 0 0 16px 0;
      }
  
      .piracy-text p:last-child {
        margin-bottom: 0;
      }
  
      .piracy-text strong {
        color: #ff6b6b;
      }
  
      .piracy-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
        margin-top: 8px;
      }
  
      .piracy-btn-primary, .piracy-btn-secondary {
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
  
      .piracy-btn-primary {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
      }
  
      .piracy-btn-primary:hover {
        background: linear-gradient(135deg, #059669, #047857);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
      }
  
      .piracy-btn-secondary {
        background: transparent;
        color: #f39c12;
        border: 2px solid #f39c12;
      }
  
      .piracy-btn-secondary:hover {
        background: #f39c12;
        color: #fff;
        transform: translateY(-2px);
      }
  
      .piracy-footer {
        font-size: 12px;
        color: #a4b0be;
        text-align: center;
        margin-top: 16px;
        line-height: 1.5;
      }
  
      .piracy-brand {
        color: #10b981;
        font-weight: 800;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
      }
  
      @media (max-width: 480px) {
        .piracy-modal {
          padding: 32px 24px;
          gap: 24px;
        }
        .piracy-title {
          font-size: 24px;
        }
        .piracy-icon {
          font-size: 56px;
        }
        .piracy-buttons {
          flex-direction: column;
        }
        .piracy-btn-primary, .piracy-btn-secondary {
          width: 100%;
        }
      }
    `,document.head.appendChild(f);const y=`
      <div class="piracy-modal">
        <div class="piracy-icon">⚠️</div>
        <div class="piracy-title">Pirataria Detectada</div>
        <div class="piracy-subtitle">Extensão não oficial</div>
        <div class="piracy-text">
          <p><strong>Atenção:</strong> Esta extensão foi identificada como <strong>pirata</strong>.</p>
          <p>Ela pode conter <strong>malware</strong>, capturar seus dados ou comprometer sua segurança.</p>
          <p><strong>Crime:</strong> Violação de direitos autorais prevista na Lei 9.610/98.</p>
          <p>Evite riscos: use a versão oficial da Chrome Web Store.</p>
        </div>
        <div class="piracy-buttons">
          <button class="piracy-btn-primary" id="piracy-store-btn">Ir para versão oficial</button>
          <button class="piracy-btn-secondary" id="piracy-support-btn">Fale conosco</button>
        </div>
        <div class="piracy-footer">
          Proteja-se e use fontes oficiais. <br/>
          <span>waTidy</span> - Extensão Oficial
        </div>
      </div>
    `,d=document.createElement("div");d.className="piracy-overlay",d.id="piracy-overlay",d.innerHTML=y,d.addEventListener("click",o=>{const g=o.target;if(g){if(g.id==="piracy-store-btn")window.open("https://chromewebstore.google.com/detail/gjlfpggiddcminhebiejofeglfjmleli","_blank");else if(g.id==="piracy-support-btn"){const S=document.createElement("a");S.href="https://wa.me/553129424122?text=Ol%C3%A1%2C%20tudo%20bem%3F%20Notei%20que%20estou%20usando%20uma%20vers%C3%A3o%20n%C3%A3o%20oficial%20da%20extens%C3%A3o%20e%20gostaria%20de%20migrar%20para%20a%20vers%C3%A3o%20oficial.%20Podem%20me%20ajudar%20com%20isso%3F",S.target="_blank",S.rel="noreferrer",S.click()}}}),requestAnimationFrame(()=>{document.body.innerHTML="",document.body.appendChild(d)})},Xv=async()=>{const{label:f}=Kh.getState(),{user:y}=Jh.getState(),{domSelector:d}=Yt.getState();if(d.update_path_active!=="true")return;const o={phone:(await Uu.Conn("getMyDeviceId")).user,chromeStoreID:chrome.runtime.id,checkout:f.checkout,painel_gestor:bf.painel_Gestor,backend:bf.backend,user_logado:y,nome:f.name,tutorial:f.tutorial,suporte_clientes:f.suporte_clientes,timeZone:kh()};(await tv.post(d.update_path,o,{headers:{"Content-Type":"application/json"}})).data.pt&&Gv()},Qv=()=>{W.useEffect(()=>{const f=y=>{if(y.data.type==="Ev"&&y.data.action==="chat.active_chat"){const d=JSON.parse(y.data.model);d&&(d.id={server:"@"+d.id.split("@")[1],user:d.id.split("@")[0],_serialized:d.id},pf.setState({activeChat:d}))}};return window.addEventListener("message",f),()=>{window.removeEventListener("message",f)}},[])},Za=document.createElement("main");document.body.prepend(Za);Za.setAttribute("theme-active","default");Za.setAttribute("active-view-menu","true");const Lv=()=>{Qv();const f=Yt(y=>y.getSeletor);return W.useLayoutEffect(()=>{f("afiliadoMain",y=>{Za.appendChild(y)}),f("selector_theme",y=>{const d=()=>{const g=y.className.trim().split(/\s+/),S=g.indexOf("os-win");if(S!==-1){const D=g.slice(0,S+1).join(" ");y.className!==D&&(y.className=D)}};new MutationObserver(d).observe(y,{attributes:!0,attributeFilter:["class"]}),d()})},[]),Rv(),H.jsxs(cv,{children:[H.jsx(dh,{}),H.jsx($h,{}),H.jsx(Fh,{}),H.jsx(Ih,{}),H.jsx(Ph,{}),H.jsx(Cv,{}),H.jsx(Yv,{}),H.jsx(Bv,{}),H.jsx(Sv,{}),H.jsx(sv,{}),H.jsx(dv,{}),H.jsx(vv,{}),H.jsx(gv,{})]})};(async()=>{try{const y=await(await fetch(bf.domSelector)).json();Yt.setState({domSelector:y})}catch(f){console.error("Error ao tentar Capturar o Dom Selector virtual",f)}finally{const{getElement:f,domSelector:y}=Yt.getState();oh(f("paneSide"),()=>{iv.createRoot(Za).render(H.jsx(Lv,{})),Za.setAttribute("active-assistente-chat",String(gf.getState().assistente.active)),Za.setAttribute("theme-active",String(Sf.getState().tema)),Wh(),Xv()}),Uu.DomSelector("set",y)}})();const ny=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{qr as A,Nr as C,hl as E,Wn as F,Rr as M,Af as R,Cr as a,Jn as b,kn as c,Ef as d,Br as e,xv as f,uy as g,Va as h,Yr as i,Mf as j,Zl as k,Xr as l,qv as m,ly as n,Gr as o,ey as p,ay as q,Uv as r,Nv as s,Av as t,jv as u,ny as v};
