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