import{S as Tu,G as Ln,C as Po,j as p,_ as Ae,P as l0,I as df,r as Cm,w as Qm,L as Zm}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{g as Vm}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import{r as Lm,a as I}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import{a as Km}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.js";import{u as Jm,F as wm,o as Wm,a as $m}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";import{x as ql,y as km,z as Fm,A as Ba,n as of,o as Im,B as Pm,C as c0,D as lh,E as uf,F as th,G as ah,M as eh,H as uh,N as nh}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{c as Me}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import{u as mf}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{W as f0,V as ih}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import{M as ch}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080947.js";import{X as s0}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";var nf={exports:{}},Mu={},cf={exports:{}},ff={};/**
 * @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 t0;function fh(){return t0||(t0=1,function(h){function b(T,Y){var N=T.length;T.push(Y);l:for(;0<N;){var P=N-1>>>1,cl=T[P];if(0<A(cl,Y))T[P]=Y,T[N]=cl,N=P;else break l}}function r(T){return T.length===0?null:T[0]}function s(T){if(T.length===0)return null;var Y=T[0],N=T.pop();if(N!==Y){T[0]=N;l:for(var P=0,cl=T.length,Ga=cl>>>1;P<Ga;){var da=2*(P+1)-1,St=T[da],V=da+1,Ql=T[V];if(0>A(St,N))V<cl&&0>A(Ql,St)?(T[P]=Ql,T[V]=N,P=V):(T[P]=St,T[da]=N,P=da);else if(V<cl&&0>A(Ql,N))T[P]=Ql,T[V]=N,P=V;else break l}}return Y}function A(T,Y){var N=T.sortIndex-Y.sortIndex;return N!==0?N:T.id-Y.id}if(h.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;h.unstable_now=function(){return M.now()}}else{var _=Date,x=_.now();h.unstable_now=function(){return _.now()-x}}var B=[],C=[],sl=1,El=null,el=3,zl=!1,pl=!1,yt=!1,Ya=typeof setTimeout=="function"?setTimeout:null,ja=typeof clearTimeout=="function"?clearTimeout:null,lt=typeof setImmediate<"u"?setImmediate:null;function na(T){for(var Y=r(C);Y!==null;){if(Y.callback===null)s(C);else if(Y.startTime<=T)s(C),Y.sortIndex=Y.expirationTime,b(B,Y);else break;Y=r(C)}}function Te(T){if(yt=!1,na(T),!pl)if(r(B)!==null)pl=!0,fa();else{var Y=r(C);Y!==null&&sa(Te,Y.startTime-T)}}var ia=!1,tt=-1,pu=5,xa=-1;function R(){return!(h.unstable_now()-xa<pu)}function J(){if(ia){var T=h.unstable_now();xa=T;var Y=!0;try{l:{pl=!1,yt&&(yt=!1,ja(tt),tt=-1),zl=!0;var N=el;try{t:{for(na(T),El=r(B);El!==null&&!(El.expirationTime>T&&R());){var P=El.callback;if(typeof P=="function"){El.callback=null,el=El.priorityLevel;var cl=P(El.expirationTime<=T);if(T=h.unstable_now(),typeof cl=="function"){El.callback=cl,na(T),Y=!0;break t}El===r(B)&&s(B),na(T)}else s(B);El=r(B)}if(El!==null)Y=!0;else{var Ga=r(C);Ga!==null&&sa(Te,Ga.startTime-T),Y=!1}}break l}finally{El=null,el=N,zl=!1}Y=void 0}}finally{Y?rt():ia=!1}}}var rt;if(typeof lt=="function")rt=function(){lt(J)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,ca=De.port2;De.port1.onmessage=J,rt=function(){ca.postMessage(null)}}else rt=function(){Ya(J,0)};function fa(){ia||(ia=!0,rt())}function sa(T,Y){tt=Ya(function(){T(h.unstable_now())},Y)}h.unstable_IdlePriority=5,h.unstable_ImmediatePriority=1,h.unstable_LowPriority=4,h.unstable_NormalPriority=3,h.unstable_Profiling=null,h.unstable_UserBlockingPriority=2,h.unstable_cancelCallback=function(T){T.callback=null},h.unstable_continueExecution=function(){pl||zl||(pl=!0,fa())},h.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pu=0<T?Math.floor(1e3/T):5},h.unstable_getCurrentPriorityLevel=function(){return el},h.unstable_getFirstCallbackNode=function(){return r(B)},h.unstable_next=function(T){switch(el){case 1:case 2:case 3:var Y=3;break;default:Y=el}var N=el;el=Y;try{return T()}finally{el=N}},h.unstable_pauseExecution=function(){},h.unstable_requestPaint=function(){},h.unstable_runWithPriority=function(T,Y){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var N=el;el=T;try{return Y()}finally{el=N}},h.unstable_scheduleCallback=function(T,Y,N){var P=h.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?P+N:P):N=P,T){case 1:var cl=-1;break;case 2:cl=250;break;case 5:cl=1073741823;break;case 4:cl=1e4;break;default:cl=5e3}return cl=N+cl,T={id:sl++,callback:Y,priorityLevel:T,startTime:N,expirationTime:cl,sortIndex:-1},N>P?(T.sortIndex=N,b(C,T),r(B)===null&&T===r(C)&&(yt?(ja(tt),tt=-1):yt=!0,sa(Te,N-P))):(T.sortIndex=cl,b(B,T),pl||zl||(pl=!0,fa())),T},h.unstable_shouldYield=R,h.unstable_wrapCallback=function(T){var Y=el;return function(){var N=el;el=Y;try{return T.apply(this,arguments)}finally{el=N}}}}(ff)),ff}var a0;function sh(){return a0||(a0=1,cf.exports=fh()),cf.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 e0;function dh(){if(e0)return Mu;e0=1;var h=sh(),b=Lm(),r=Km();function s(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function A(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}var M=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),sl=Symbol.for("react.profiler"),El=Symbol.for("react.provider"),el=Symbol.for("react.consumer"),zl=Symbol.for("react.context"),pl=Symbol.for("react.forward_ref"),yt=Symbol.for("react.suspense"),Ya=Symbol.for("react.suspense_list"),ja=Symbol.for("react.memo"),lt=Symbol.for("react.lazy"),na=Symbol.for("react.offscreen"),Te=Symbol.for("react.memo_cache_sentinel"),ia=Symbol.iterator;function tt(l){return l===null||typeof l!="object"?null:(l=ia&&l[ia]||l["@@iterator"],typeof l=="function"?l:null)}var pu=Symbol.for("react.client.reference");function xa(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===pu?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case B:return"Fragment";case x:return"Portal";case sl:return"Profiler";case C:return"StrictMode";case yt:return"Suspense";case Ya:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case zl:return(l.displayName||"Context")+".Provider";case el:return(l._context.displayName||"Context")+".Consumer";case pl:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ja:return t=l.displayName||null,t!==null?t:xa(l.type)||"Memo";case lt:t=l._payload,l=l._init;try{return xa(l(t))}catch{}}return null}var R=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.assign,rt,De;function ca(l){if(rt===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);rt=t&&t[1]||"",De=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+rt+l+De}var fa=!1;function sa(l,t){if(!l||fa)return"";fa=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var e={DetermineComponentFrameRoot:function(){try{if(t){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(S){var y=S}Reflect.construct(l,[],z)}else{try{z.call()}catch(S){y=S}l.call(z.prototype)}}else{try{throw Error()}catch(S){y=S}(z=l())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(S){if(S&&y&&typeof S.stack=="string")return[S.stack,y.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 f=i.split(`
`),o=c.split(`
`);for(u=e=0;e<f.length&&!f[e].includes("DetermineComponentFrameRoot");)e++;for(;u<o.length&&!o[u].includes("DetermineComponentFrameRoot");)u++;if(e===f.length||u===o.length)for(e=f.length-1,u=o.length-1;1<=e&&0<=u&&f[e]!==o[u];)u--;for(;1<=e&&0<=u;e--,u--)if(f[e]!==o[u]){if(e!==1||u!==1)do if(e--,u--,0>u||f[e]!==o[u]){var g=`
`+f[e].replace(" at new "," at ");return l.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",l.displayName)),g}while(1<=e&&0<=u);break}}}finally{fa=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?ca(a):""}function T(l){switch(l.tag){case 26:case 27:case 5:return ca(l.type);case 16:return ca("Lazy");case 13:return ca("Suspense");case 19:return ca("SuspenseList");case 0:case 15:return l=sa(l.type,!1),l;case 11:return l=sa(l.type.render,!1),l;case 1:return l=sa(l.type,!0),l;default:return""}}function Y(l){try{var t="";do t+=T(l),l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function N(l){var t=l,a=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(a=t.return),l=t.return;while(l)}return t.tag===3?a:null}function P(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function cl(l){if(N(l)!==l)throw Error(s(188))}function Ga(l){var t=l.alternate;if(!t){if(t=N(l),t===null)throw Error(s(188));return t!==l?null:l}for(var a=l,e=t;;){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 cl(u),l;if(n===e)return cl(u),t;n=n.sibling}throw Error(s(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(s(189))}}if(a.alternate!==e)throw Error(s(190))}if(a.tag!==3)throw Error(s(188));return a.stateNode.current===a?l:t}function da(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=da(l),t!==null)return t;l=l.sibling}return null}var St=Array.isArray,V=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ql={pending:!1,data:null,method:null,action:null},Wn=[],Xa=-1;function it(l){return{current:l}}function yl(l){0>Xa||(l.current=Wn[Xa],Wn[Xa]=null,Xa--)}function ll(l,t){Xa++,Wn[Xa]=l.current,l.current=t}var ct=it(null),Oe=it(null),Yt=it(null),Uu=it(null);function _u(l,t){switch(ll(Yt,t),ll(Oe,l),ll(ct,null),l=t.nodeType,l){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Uo(t):0;break;default:if(l=l===8?t.parentNode:t,t=l.tagName,l=l.namespaceURI)l=Uo(l),t=_o(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}yl(ct),ll(ct,t)}function Ca(){yl(ct),yl(Oe),yl(Yt)}function $n(l){l.memoizedState!==null&&ll(Uu,l);var t=ct.current,a=_o(t,l.type);t!==a&&(ll(Oe,l),ll(ct,a))}function Hu(l){Oe.current===l&&(yl(ct),yl(Oe)),Uu.current===l&&(yl(Uu),gu._currentValue=Ql)}var kn=Object.prototype.hasOwnProperty,Fn=h.unstable_scheduleCallback,In=h.unstable_cancelCallback,g0=h.unstable_shouldYield,b0=h.unstable_requestPaint,ft=h.unstable_now,E0=h.unstable_getCurrentPriorityLevel,rf=h.unstable_ImmediatePriority,Sf=h.unstable_UserBlockingPriority,Ru=h.unstable_NormalPriority,z0=h.unstable_LowPriority,gf=h.unstable_IdlePriority,A0=h.log,M0=h.unstable_setDisableYieldValue,pe=null,Bl=null;function T0(l){if(Bl&&typeof Bl.onCommitFiberRoot=="function")try{Bl.onCommitFiberRoot(pe,l,void 0,(l.current.flags&128)===128)}catch{}}function jt(l){if(typeof A0=="function"&&M0(l),Bl&&typeof Bl.setStrictMode=="function")try{Bl.setStrictMode(pe,l)}catch{}}var Yl=Math.clz32?Math.clz32:p0,D0=Math.log,O0=Math.LN2;function p0(l){return l>>>=0,l===0?32:31-(D0(l)/O0|0)|0}var Nu=128,qu=4194304;function oa(l){var t=l&42;if(t!==0)return t;switch(l&-l){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 l&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Bu(l,t){var a=l.pendingLanes;if(a===0)return 0;var e=0,u=l.suspendedLanes,n=l.pingedLanes,i=l.warmLanes;l=l.finishedLanes!==0;var c=a&134217727;return c!==0?(a=c&~u,a!==0?e=oa(a):(n&=c,n!==0?e=oa(n):l||(i=c&~i,i!==0&&(e=oa(i))))):(c=a&~u,c!==0?e=oa(c):n!==0?e=oa(n):l||(i=a&~i,i!==0&&(e=oa(i)))),e===0?0:t!==0&&t!==e&&(t&u)===0&&(u=e&-e,i=t&-t,u>=i||u===32&&(i&4194176)!==0)?t:e}function Ue(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function U0(l,t){switch(l){case 1:case 2:case 4:case 8:return t+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 t+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 bf(){var l=Nu;return Nu<<=1,(Nu&4194176)===0&&(Nu=128),l}function Ef(){var l=qu;return qu<<=1,(qu&62914560)===0&&(qu=4194304),l}function Pn(l){for(var t=[],a=0;31>a;a++)t.push(l);return t}function _e(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function _0(l,t,a,e,u,n){var i=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var c=l.entanglements,f=l.expirationTimes,o=l.hiddenUpdates;for(a=i&~a;0<a;){var g=31-Yl(a),z=1<<g;c[g]=0,f[g]=-1;var y=o[g];if(y!==null)for(o[g]=null,g=0;g<y.length;g++){var S=y[g];S!==null&&(S.lane&=-536870913)}a&=~z}e!==0&&zf(l,e,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(i&~t))}function zf(l,t,a){l.pendingLanes|=t,l.suspendedLanes&=~t;var e=31-Yl(t);l.entangledLanes|=t,l.entanglements[e]=l.entanglements[e]|1073741824|a&4194218}function Af(l,t){var a=l.entangledLanes|=t;for(l=l.entanglements;a;){var e=31-Yl(a),u=1<<e;u&t|l[e]&t&&(l[e]|=t),a&=~u}}function Mf(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Tf(){var l=V.p;return l!==0?l:(l=window.event,l===void 0?32:wo(l.type))}function H0(l,t){var a=V.p;try{return V.p=l,t()}finally{V.p=a}}var xt=Math.random().toString(36).slice(2),Dl="__reactFiber$"+xt,Hl="__reactProps$"+xt,Qa="__reactContainer$"+xt,li="__reactEvents$"+xt,R0="__reactListeners$"+xt,N0="__reactHandles$"+xt,Df="__reactResources$"+xt,He="__reactMarker$"+xt;function ti(l){delete l[Dl],delete l[Hl],delete l[li],delete l[R0],delete l[N0]}function va(l){var t=l[Dl];if(t)return t;for(var a=l.parentNode;a;){if(t=a[Qa]||a[Dl]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(l=No(l);l!==null;){if(a=l[Dl])return a;l=No(l)}return t}l=a,a=l.parentNode}return null}function Za(l){if(l=l[Dl]||l[Qa]){var t=l.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return l}return null}function Re(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(s(33))}function Va(l){var t=l[Df];return t||(t=l[Df]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function rl(l){l[He]=!0}var Of=new Set,pf={};function ma(l,t){La(l,t),La(l+"Capture",t)}function La(l,t){for(pf[l]=t,l=0;l<t.length;l++)Of.add(t[l])}var gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),q0=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]*$"),Uf={},_f={};function B0(l){return kn.call(_f,l)?!0:kn.call(Uf,l)?!1:q0.test(l)?_f[l]=!0:(Uf[l]=!0,!1)}function Yu(l,t,a){if(B0(t))if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var e=t.toLowerCase().slice(0,5);if(e!=="data-"&&e!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+a)}}function ju(l,t,a){if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+a)}}function bt(l,t,a,e){if(e===null)l.removeAttribute(a);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttributeNS(t,a,""+e)}}function Zl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Hf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Y0(l){var t=Hf(l)?"checked":"value",a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t),e=""+l[t];if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function xu(l){l._valueTracker||(l._valueTracker=Y0(l))}function Rf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var a=t.getValue(),e="";return l&&(e=Hf(l)?l.checked?"true":"false":l.value),l=e,l!==a?(t.setValue(l),!0):!1}function Gu(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var j0=/[\n"\\]/g;function Vl(l){return l.replace(j0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ai(l,t,a,e,u,n,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+Zl(t)):l.value!==""+Zl(t)&&(l.value=""+Zl(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?ei(l,i,Zl(t)):a!=null?ei(l,i,Zl(a)):e!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+Zl(c):l.removeAttribute("name")}function Nf(l,t,a,e,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null))return;a=a!=null?""+Zl(a):"",t=t!=null?""+Zl(t):a,c||t===l.value||(l.value=t),l.defaultValue=t}e=e??u,e=typeof e!="function"&&typeof e!="symbol"&&!!e,l.checked=c?l.checked:!!e,l.defaultChecked=!!e,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i)}function ei(l,t,a){t==="number"&&Gu(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Ka(l,t,a,e){if(l=l.options,t){t={};for(var u=0;u<a.length;u++)t["$"+a[u]]=!0;for(a=0;a<l.length;a++)u=t.hasOwnProperty("$"+l[a].value),l[a].selected!==u&&(l[a].selected=u),u&&e&&(l[a].defaultSelected=!0)}else{for(a=""+Zl(a),t=null,u=0;u<l.length;u++){if(l[u].value===a){l[u].selected=!0,e&&(l[u].defaultSelected=!0);return}t!==null||l[u].disabled||(t=l[u])}t!==null&&(t.selected=!0)}}function qf(l,t,a){if(t!=null&&(t=""+Zl(t),t!==l.value&&(l.value=t),a==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=a!=null?""+Zl(a):""}function Bf(l,t,a,e){if(t==null){if(e!=null){if(a!=null)throw Error(s(92));if(St(e)){if(1<e.length)throw Error(s(93));e=e[0]}a=e}a==null&&(a=""),t=a}a=Zl(t),l.defaultValue=a,e=l.textContent,e===a&&e!==""&&e!==null&&(l.value=e)}function Ja(l,t){if(t){var a=l.firstChild;if(a&&a===l.lastChild&&a.nodeType===3){a.nodeValue=t;return}}l.textContent=t}var x0=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 Yf(l,t,a){var e=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?e?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":e?l.setProperty(t,a):typeof a!="number"||a===0||x0.has(t)?t==="float"?l.cssFloat=a:l[t]=(""+a).trim():l[t]=a+"px"}function jf(l,t,a){if(t!=null&&typeof t!="object")throw Error(s(62));if(l=l.style,a!=null){for(var e in a)!a.hasOwnProperty(e)||t!=null&&t.hasOwnProperty(e)||(e.indexOf("--")===0?l.setProperty(e,""):e==="float"?l.cssFloat="":l[e]="");for(var u in t)e=t[u],t.hasOwnProperty(u)&&a[u]!==e&&Yf(l,u,e)}else for(var n in t)t.hasOwnProperty(n)&&Yf(l,n,t[n])}function ui(l){if(l.indexOf("-")===-1)return!1;switch(l){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 G0=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"]]),X0=/^[\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 Xu(l){return X0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var ni=null;function ii(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var wa=null,Wa=null;function xf(l){var t=Za(l);if(t&&(l=t.stateNode)){var a=l[Hl]||null;l:switch(l=t.stateNode,t.type){case"input":if(ai(l,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=l;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Vl(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var e=a[t];if(e!==l&&e.form===l.form){var u=e[Hl]||null;if(!u)throw Error(s(90));ai(e,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<a.length;t++)e=a[t],e.form===l.form&&Rf(e)}break l;case"textarea":qf(l,a.value,a.defaultValue);break l;case"select":t=a.value,t!=null&&Ka(l,!!a.multiple,t,!1)}}}var ci=!1;function Gf(l,t,a){if(ci)return l(t,a);ci=!0;try{var e=l(t);return e}finally{if(ci=!1,(wa!==null||Wa!==null)&&(Mn(),wa&&(t=wa,l=Wa,Wa=wa=null,xf(t),l)))for(t=0;t<l.length;t++)xf(l[t])}}function Ne(l,t){var a=l.stateNode;if(a===null)return null;var e=a[Hl]||null;if(e===null)return null;a=e[t];l:switch(t){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)||(l=l.type,e=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!e;break l;default:l=!1}if(l)return null;if(a&&typeof a!="function")throw Error(s(231,t,typeof a));return a}var fi=!1;if(gt)try{var qe={};Object.defineProperty(qe,"passive",{get:function(){fi=!0}}),window.addEventListener("test",qe,qe),window.removeEventListener("test",qe,qe)}catch{fi=!1}var Gt=null,si=null,Cu=null;function Xf(){if(Cu)return Cu;var l,t=si,a=t.length,e,u="value"in Gt?Gt.value:Gt.textContent,n=u.length;for(l=0;l<a&&t[l]===u[l];l++);var i=a-l;for(e=1;e<=i&&t[a-e]===u[n-e];e++);return Cu=u.slice(l,1<e?1-e:void 0)}function Qu(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function Zu(){return!0}function Cf(){return!1}function Rl(l){function t(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 l)l.hasOwnProperty(c)&&(a=l[c],this[c]=a?a(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Zu:Cf,this.isPropagationStopped=Cf,this}return J(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Zu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Zu)},persist:function(){},isPersistent:Zu}),t}var ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vu=Rl(ha),Be=J({},ha,{view:0,detail:0}),C0=Rl(Be),di,oi,Ye,Lu=J({},Be,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mi,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ye&&(Ye&&l.type==="mousemove"?(di=l.screenX-Ye.screenX,oi=l.screenY-Ye.screenY):oi=di=0,Ye=l),di)},movementY:function(l){return"movementY"in l?l.movementY:oi}}),Qf=Rl(Lu),Q0=J({},Lu,{dataTransfer:0}),Z0=Rl(Q0),V0=J({},Be,{relatedTarget:0}),vi=Rl(V0),L0=J({},ha,{animationName:0,elapsedTime:0,pseudoElement:0}),K0=Rl(L0),J0=J({},ha,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),w0=Rl(J0),W0=J({},ha,{data:0}),Zf=Rl(W0),$0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k0={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"},F0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function I0(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=F0[l])?!!t[l]:!1}function mi(){return I0}var P0=J({},Be,{key:function(l){if(l.key){var t=$0[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Qu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?k0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mi,charCode:function(l){return l.type==="keypress"?Qu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Qu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),lv=Rl(P0),tv=J({},Lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vf=Rl(tv),av=J({},Be,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mi}),ev=Rl(av),uv=J({},ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),nv=Rl(uv),iv=J({},Lu,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),cv=Rl(iv),fv=J({},ha,{newState:0,oldState:0}),sv=Rl(fv),dv=[9,13,27,32],hi=gt&&"CompositionEvent"in window,je=null;gt&&"documentMode"in document&&(je=document.documentMode);var ov=gt&&"TextEvent"in window&&!je,Lf=gt&&(!hi||je&&8<je&&11>=je),Kf=" ",Jf=!1;function wf(l,t){switch(l){case"keyup":return dv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wf(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var $a=!1;function vv(l,t){switch(l){case"compositionend":return Wf(t);case"keypress":return t.which!==32?null:(Jf=!0,Kf);case"textInput":return l=t.data,l===Kf&&Jf?null:l;default:return null}}function mv(l,t){if($a)return l==="compositionend"||!hi&&wf(l,t)?(l=Xf(),Cu=si=Gt=null,$a=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lf&&t.locale!=="ko"?null:t.data;default:return null}}var hv={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 $f(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!hv[l.type]:t==="textarea"}function kf(l,t,a,e){wa?Wa?Wa.push(e):Wa=[e]:wa=e,t=Un(t,"onChange"),0<t.length&&(a=new Vu("onChange","change",null,a,e),l.push({event:a,listeners:t}))}var xe=null,Ge=null;function yv(l){Mo(l,0)}function Ku(l){var t=Re(l);if(Rf(t))return l}function Ff(l,t){if(l==="change")return t}var If=!1;if(gt){var yi;if(gt){var ri="oninput"in document;if(!ri){var Pf=document.createElement("div");Pf.setAttribute("oninput","return;"),ri=typeof Pf.oninput=="function"}yi=ri}else yi=!1;If=yi&&(!document.documentMode||9<document.documentMode)}function ls(){xe&&(xe.detachEvent("onpropertychange",ts),Ge=xe=null)}function ts(l){if(l.propertyName==="value"&&Ku(Ge)){var t=[];kf(t,Ge,l,ii(l)),Gf(yv,t)}}function rv(l,t,a){l==="focusin"?(ls(),xe=t,Ge=a,xe.attachEvent("onpropertychange",ts)):l==="focusout"&&ls()}function Sv(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ku(Ge)}function gv(l,t){if(l==="click")return Ku(t)}function bv(l,t){if(l==="input"||l==="change")return Ku(t)}function Ev(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var jl=typeof Object.is=="function"?Object.is:Ev;function Xe(l,t){if(jl(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var a=Object.keys(l),e=Object.keys(t);if(a.length!==e.length)return!1;for(e=0;e<a.length;e++){var u=a[e];if(!kn.call(t,u)||!jl(l[u],t[u]))return!1}return!0}function as(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function es(l,t){var a=as(l);l=0;for(var e;a;){if(a.nodeType===3){if(e=l+a.textContent.length,l<=t&&e>=t)return{node:a,offset:t-l};l=e}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=as(a)}}function us(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?us(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ns(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Gu(l.document);t instanceof l.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)l=t.contentWindow;else break;t=Gu(l.document)}return t}function Si(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}function zv(l,t){var a=ns(t);t=l.focusedElem;var e=l.selectionRange;if(a!==t&&t&&t.ownerDocument&&us(t.ownerDocument.documentElement,t)){if(e!==null&&Si(t)){if(l=e.start,a=e.end,a===void 0&&(a=l),"selectionStart"in t)t.selectionStart=l,t.selectionEnd=Math.min(a,t.value.length);else if(a=(l=t.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var u=t.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=es(t,n);var i=es(t,e);u&&i&&(a.rangeCount!==1||a.anchorNode!==u.node||a.anchorOffset!==u.offset||a.focusNode!==i.node||a.focusOffset!==i.offset)&&(l=l.createRange(),l.setStart(u.node,u.offset),a.removeAllRanges(),n>e?(a.addRange(l),a.extend(i.node,i.offset)):(l.setEnd(i.node,i.offset),a.addRange(l)))}}for(l=[],a=t;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<l.length;t++)a=l[t],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var Av=gt&&"documentMode"in document&&11>=document.documentMode,ka=null,gi=null,Ce=null,bi=!1;function is(l,t,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bi||ka==null||ka!==Gu(e)||(e=ka,"selectionStart"in e&&Si(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}),Ce&&Xe(Ce,e)||(Ce=e,e=Un(gi,"onSelect"),0<e.length&&(t=new Vu("onSelect","select",null,t,a),l.push({event:t,listeners:e}),t.target=ka)))}function ya(l,t){var a={};return a[l.toLowerCase()]=t.toLowerCase(),a["Webkit"+l]="webkit"+t,a["Moz"+l]="moz"+t,a}var Fa={animationend:ya("Animation","AnimationEnd"),animationiteration:ya("Animation","AnimationIteration"),animationstart:ya("Animation","AnimationStart"),transitionrun:ya("Transition","TransitionRun"),transitionstart:ya("Transition","TransitionStart"),transitioncancel:ya("Transition","TransitionCancel"),transitionend:ya("Transition","TransitionEnd")},Ei={},cs={};gt&&(cs=document.createElement("div").style,"AnimationEvent"in window||(delete Fa.animationend.animation,delete Fa.animationiteration.animation,delete Fa.animationstart.animation),"TransitionEvent"in window||delete Fa.transitionend.transition);function ra(l){if(Ei[l])return Ei[l];if(!Fa[l])return l;var t=Fa[l],a;for(a in t)if(t.hasOwnProperty(a)&&a in cs)return Ei[l]=t[a];return l}var fs=ra("animationend"),ss=ra("animationiteration"),ds=ra("animationstart"),Mv=ra("transitionrun"),Tv=ra("transitionstart"),Dv=ra("transitioncancel"),os=ra("transitionend"),vs=new Map,ms="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 at(l,t){vs.set(l,t),ma(t,[l])}var Ll=[],Ia=0,zi=0;function Ju(){for(var l=Ia,t=zi=Ia=0;t<l;){var a=Ll[t];Ll[t++]=null;var e=Ll[t];Ll[t++]=null;var u=Ll[t];Ll[t++]=null;var n=Ll[t];if(Ll[t++]=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&&hs(a,u,n)}}function wu(l,t,a,e){Ll[Ia++]=l,Ll[Ia++]=t,Ll[Ia++]=a,Ll[Ia++]=e,zi|=e,l.lanes|=e,l=l.alternate,l!==null&&(l.lanes|=e)}function Ai(l,t,a,e){return wu(l,t,a,e),Wu(l)}function Xt(l,t){return wu(l,null,null,t),Wu(l)}function hs(l,t,a){l.lanes|=a;var e=l.alternate;e!==null&&(e.lanes|=a);for(var u=!1,n=l.return;n!==null;)n.childLanes|=a,e=n.alternate,e!==null&&(e.childLanes|=a),n.tag===22&&(l=n.stateNode,l===null||l._visibility&1||(u=!0)),l=n,n=n.return;u&&t!==null&&l.tag===3&&(n=l.stateNode,u=31-Yl(a),n=n.hiddenUpdates,l=n[u],l===null?n[u]=[t]:l.push(t),t.lane=a|536870912)}function Wu(l){if(50<ou)throw ou=0,Uc=null,Error(s(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var Pa={},ys=new WeakMap;function Kl(l,t){if(typeof l=="object"&&l!==null){var a=ys.get(l);return a!==void 0?a:(t={value:l,source:t,stack:Y(t)},ys.set(l,t),t)}return{value:l,source:t,stack:Y(t)}}var le=[],te=0,$u=null,ku=0,Jl=[],wl=0,Sa=null,Et=1,zt="";function ga(l,t){le[te++]=ku,le[te++]=$u,$u=l,ku=t}function rs(l,t,a){Jl[wl++]=Et,Jl[wl++]=zt,Jl[wl++]=Sa,Sa=l;var e=Et;l=zt;var u=32-Yl(e)-1;e&=~(1<<u),a+=1;var n=32-Yl(t)+u;if(30<n){var i=u-u%5;n=(e&(1<<i)-1).toString(32),e>>=i,u-=i,Et=1<<32-Yl(t)+u|a<<u|e,zt=n+l}else Et=1<<n|a<<u|e,zt=l}function Mi(l){l.return!==null&&(ga(l,1),rs(l,1,0))}function Ti(l){for(;l===$u;)$u=le[--te],le[te]=null,ku=le[--te],le[te]=null;for(;l===Sa;)Sa=Jl[--wl],Jl[wl]=null,zt=Jl[--wl],Jl[wl]=null,Et=Jl[--wl],Jl[wl]=null}var Ul=null,Al=null,L=!1,et=null,st=!1,Di=Error(s(519));function ba(l){var t=Error(s(418,""));throw Ve(Kl(t,l)),Di}function Ss(l){var t=l.stateNode,a=l.type,e=l.memoizedProps;switch(t[Dl]=l,t[Hl]=e,a){case"dialog":Q("cancel",t),Q("close",t);break;case"iframe":case"object":case"embed":Q("load",t);break;case"video":case"audio":for(a=0;a<mu.length;a++)Q(mu[a],t);break;case"source":Q("error",t);break;case"img":case"image":case"link":Q("error",t),Q("load",t);break;case"details":Q("toggle",t);break;case"input":Q("invalid",t),Nf(t,e.value,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name,!0),xu(t);break;case"select":Q("invalid",t);break;case"textarea":Q("invalid",t),Bf(t,e.value,e.defaultValue,e.children),xu(t)}a=e.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||e.suppressHydrationWarning===!0||po(t.textContent,a)?(e.popover!=null&&(Q("beforetoggle",t),Q("toggle",t)),e.onScroll!=null&&Q("scroll",t),e.onScrollEnd!=null&&Q("scrollend",t),e.onClick!=null&&(t.onclick=_n),t=!0):t=!1,t||ba(l)}function gs(l){for(Ul=l.return;Ul;)switch(Ul.tag){case 3:case 27:st=!0;return;case 5:case 13:st=!1;return;default:Ul=Ul.return}}function Qe(l){if(l!==Ul)return!1;if(!L)return gs(l),L=!0,!1;var t=!1,a;if((a=l.tag!==3&&l.tag!==27)&&((a=l.tag===5)&&(a=l.type,a=!(a!=="form"&&a!=="button")||Kc(l.type,l.memoizedProps)),a=!a),a&&(t=!0),t&&Al&&ba(l),gs(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(s(317));l:{for(l=l.nextSibling,t=0;l;){if(l.nodeType===8)if(a=l.data,a==="/$"){if(t===0){Al=nt(l.nextSibling);break l}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;l=l.nextSibling}Al=null}}else Al=Ul?nt(l.stateNode.nextSibling):null;return!0}function Ze(){Al=Ul=null,L=!1}function Ve(l){et===null?et=[l]:et.push(l)}var Le=Error(s(460)),bs=Error(s(474)),Oi={then:function(){}};function Es(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Fu(){}function zs(l,t,a){switch(a=l[a],a===void 0?l.push(t):a!==t&&(t.then(Fu,Fu),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,l===Le?Error(s(483)):l;default:if(typeof t.status=="string")t.then(Fu,Fu);else{if(l=k,l!==null&&100<l.shellSuspendCounter)throw Error(s(482));l=t,l.status="pending",l.then(function(e){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=e}},function(e){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,l===Le?Error(s(483)):l}throw Ke=t,Le}}var Ke=null;function As(){if(Ke===null)throw Error(s(459));var l=Ke;return Ke=null,l}var ae=null,Je=0;function Iu(l){var t=Je;return Je+=1,ae===null&&(ae=[]),zs(ae,l,t)}function we(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function Pu(l,t){throw t.$$typeof===M?Error(s(525)):(l=Object.prototype.toString.call(t),Error(s(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Ms(l){var t=l._init;return t(l._payload)}function Ts(l){function t(v,d){if(l){var m=v.deletions;m===null?(v.deletions=[d],v.flags|=16):m.push(d)}}function a(v,d){if(!l)return null;for(;d!==null;)t(v,d),d=d.sibling;return null}function e(v){for(var d=new Map;v!==null;)v.key!==null?d.set(v.key,v):d.set(v.index,v),v=v.sibling;return d}function u(v,d){return v=Ft(v,d),v.index=0,v.sibling=null,v}function n(v,d,m){return v.index=m,l?(m=v.alternate,m!==null?(m=m.index,m<d?(v.flags|=33554434,d):m):(v.flags|=33554434,d)):(v.flags|=1048576,d)}function i(v){return l&&v.alternate===null&&(v.flags|=33554434),v}function c(v,d,m,E){return d===null||d.tag!==6?(d=Ec(m,v.mode,E),d.return=v,d):(d=u(d,m),d.return=v,d)}function f(v,d,m,E){var D=m.type;return D===B?g(v,d,m.props.children,E,m.key):d!==null&&(d.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===lt&&Ms(D)===d.type)?(d=u(d,m.props),we(d,m),d.return=v,d):(d=gn(m.type,m.key,m.props,null,v.mode,E),we(d,m),d.return=v,d)}function o(v,d,m,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?(d=zc(m,v.mode,E),d.return=v,d):(d=u(d,m.children||[]),d.return=v,d)}function g(v,d,m,E,D){return d===null||d.tag!==7?(d=_a(m,v.mode,E,D),d.return=v,d):(d=u(d,m),d.return=v,d)}function z(v,d,m){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Ec(""+d,v.mode,m),d.return=v,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case _:return m=gn(d.type,d.key,d.props,null,v.mode,m),we(m,d),m.return=v,m;case x:return d=zc(d,v.mode,m),d.return=v,d;case lt:var E=d._init;return d=E(d._payload),z(v,d,m)}if(St(d)||tt(d))return d=_a(d,v.mode,m,null),d.return=v,d;if(typeof d.then=="function")return z(v,Iu(d),m);if(d.$$typeof===zl)return z(v,yn(v,d),m);Pu(v,d)}return null}function y(v,d,m,E){var D=d!==null?d.key:null;if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return D!==null?null:c(v,d,""+m,E);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case _:return m.key===D?f(v,d,m,E):null;case x:return m.key===D?o(v,d,m,E):null;case lt:return D=m._init,m=D(m._payload),y(v,d,m,E)}if(St(m)||tt(m))return D!==null?null:g(v,d,m,E,null);if(typeof m.then=="function")return y(v,d,Iu(m),E);if(m.$$typeof===zl)return y(v,d,yn(v,m),E);Pu(v,m)}return null}function S(v,d,m,E,D){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return v=v.get(m)||null,c(d,v,""+E,D);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case _:return v=v.get(E.key===null?m:E.key)||null,f(d,v,E,D);case x:return v=v.get(E.key===null?m:E.key)||null,o(d,v,E,D);case lt:var G=E._init;return E=G(E._payload),S(v,d,m,E,D)}if(St(E)||tt(E))return v=v.get(m)||null,g(d,v,E,D,null);if(typeof E.then=="function")return S(v,d,m,Iu(E),D);if(E.$$typeof===zl)return S(v,d,m,yn(d,E),D);Pu(d,E)}return null}function O(v,d,m,E){for(var D=null,G=null,U=d,H=d=0,bl=null;U!==null&&H<m.length;H++){U.index>H?(bl=U,U=null):bl=U.sibling;var K=y(v,U,m[H],E);if(K===null){U===null&&(U=bl);break}l&&U&&K.alternate===null&&t(v,U),d=n(K,d,H),G===null?D=K:G.sibling=K,G=K,U=bl}if(H===m.length)return a(v,U),L&&ga(v,H),D;if(U===null){for(;H<m.length;H++)U=z(v,m[H],E),U!==null&&(d=n(U,d,H),G===null?D=U:G.sibling=U,G=U);return L&&ga(v,H),D}for(U=e(U);H<m.length;H++)bl=S(U,v,H,m[H],E),bl!==null&&(l&&bl.alternate!==null&&U.delete(bl.key===null?H:bl.key),d=n(bl,d,H),G===null?D=bl:G.sibling=bl,G=bl);return l&&U.forEach(function(ua){return t(v,ua)}),L&&ga(v,H),D}function q(v,d,m,E){if(m==null)throw Error(s(151));for(var D=null,G=null,U=d,H=d=0,bl=null,K=m.next();U!==null&&!K.done;H++,K=m.next()){U.index>H?(bl=U,U=null):bl=U.sibling;var ua=y(v,U,K.value,E);if(ua===null){U===null&&(U=bl);break}l&&U&&ua.alternate===null&&t(v,U),d=n(ua,d,H),G===null?D=ua:G.sibling=ua,G=ua,U=bl}if(K.done)return a(v,U),L&&ga(v,H),D;if(U===null){for(;!K.done;H++,K=m.next())K=z(v,K.value,E),K!==null&&(d=n(K,d,H),G===null?D=K:G.sibling=K,G=K);return L&&ga(v,H),D}for(U=e(U);!K.done;H++,K=m.next())K=S(U,v,H,K.value,E),K!==null&&(l&&K.alternate!==null&&U.delete(K.key===null?H:K.key),d=n(K,d,H),G===null?D=K:G.sibling=K,G=K);return l&&U.forEach(function(Xm){return t(v,Xm)}),L&&ga(v,H),D}function il(v,d,m,E){if(typeof m=="object"&&m!==null&&m.type===B&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case _:l:{for(var D=m.key;d!==null;){if(d.key===D){if(D=m.type,D===B){if(d.tag===7){a(v,d.sibling),E=u(d,m.props.children),E.return=v,v=E;break l}}else if(d.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===lt&&Ms(D)===d.type){a(v,d.sibling),E=u(d,m.props),we(E,m),E.return=v,v=E;break l}a(v,d);break}else t(v,d);d=d.sibling}m.type===B?(E=_a(m.props.children,v.mode,E,m.key),E.return=v,v=E):(E=gn(m.type,m.key,m.props,null,v.mode,E),we(E,m),E.return=v,v=E)}return i(v);case x:l:{for(D=m.key;d!==null;){if(d.key===D)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){a(v,d.sibling),E=u(d,m.children||[]),E.return=v,v=E;break l}else{a(v,d);break}else t(v,d);d=d.sibling}E=zc(m,v.mode,E),E.return=v,v=E}return i(v);case lt:return D=m._init,m=D(m._payload),il(v,d,m,E)}if(St(m))return O(v,d,m,E);if(tt(m)){if(D=tt(m),typeof D!="function")throw Error(s(150));return m=D.call(m),q(v,d,m,E)}if(typeof m.then=="function")return il(v,d,Iu(m),E);if(m.$$typeof===zl)return il(v,d,yn(v,m),E);Pu(v,m)}return typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint"?(m=""+m,d!==null&&d.tag===6?(a(v,d.sibling),E=u(d,m),E.return=v,v=E):(a(v,d),E=Ec(m,v.mode,E),E.return=v,v=E),i(v)):a(v,d)}return function(v,d,m,E){try{Je=0;var D=il(v,d,m,E);return ae=null,D}catch(U){if(U===Le)throw U;var G=Fl(29,U,null,v.mode);return G.lanes=E,G.return=v,G}finally{}}}var Ea=Ts(!0),Ds=Ts(!1),ee=it(null),ln=it(0);function Os(l,t){l=Nt,ll(ln,l),ll(ee,t),Nt=l|t.baseLanes}function pi(){ll(ln,Nt),ll(ee,ee.current)}function Ui(){Nt=ln.current,yl(ee),yl(ln)}var Wl=it(null),dt=null;function Ct(l){var t=l.alternate;ll(ml,ml.current&1),ll(Wl,l),dt===null&&(t===null||ee.current!==null||t.memoizedState!==null)&&(dt=l)}function ps(l){if(l.tag===22){if(ll(ml,ml.current),ll(Wl,l),dt===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(dt=l)}}else Qt()}function Qt(){ll(ml,ml.current),ll(Wl,Wl.current)}function At(l){yl(Wl),dt===l&&(dt=null),yl(ml)}var ml=it(0);function tn(l){for(var t=l;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ov=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(a,e){l.push(e)}};this.abort=function(){t.aborted=!0,l.forEach(function(a){return a()})}},pv=h.unstable_scheduleCallback,Uv=h.unstable_NormalPriority,hl={$$typeof:zl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function _i(){return{controller:new Ov,data:new Map,refCount:0}}function We(l){l.refCount--,l.refCount===0&&pv(Uv,function(){l.controller.abort()})}var $e=null,Hi=0,ue=0,ne=null;function _v(l,t){if($e===null){var a=$e=[];Hi=0,ue=jc(),ne={status:"pending",value:void 0,then:function(e){a.push(e)}}}return Hi++,t.then(Us,Us),t}function Us(){if(--Hi===0&&$e!==null){ne!==null&&(ne.status="fulfilled");var l=$e;$e=null,ue=0,ne=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Hv(l,t){var a=[],e={status:"pending",value:null,reason:null,then:function(u){a.push(u)}};return l.then(function(){e.status="fulfilled",e.value=t;for(var u=0;u<a.length;u++)(0,a[u])(t)},function(u){for(e.status="rejected",e.reason=u,u=0;u<a.length;u++)(0,a[u])(void 0)}),e}var _s=R.S;R.S=function(l,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&_v(l,t),_s!==null&&_s(l,t)};var za=it(null);function Ri(){var l=za.current;return l!==null?l:k.pooledCache}function an(l,t){t===null?ll(za,za.current):ll(za,t.pool)}function Hs(){var l=Ri();return l===null?null:{parent:hl._currentValue,pool:l}}var Zt=0,j=null,w=null,dl=null,en=!1,ie=!1,Aa=!1,un=0,ke=0,ce=null,Rv=0;function fl(){throw Error(s(321))}function Ni(l,t){if(t===null)return!1;for(var a=0;a<t.length&&a<l.length;a++)if(!jl(l[a],t[a]))return!1;return!0}function qi(l,t,a,e,u,n){return Zt=n,j=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=l===null||l.memoizedState===null?Ma:Vt,Aa=!1,n=a(e,u),Aa=!1,ie&&(n=Ns(t,a,e,u)),Rs(l),n}function Rs(l){R.H=ot;var t=w!==null&&w.next!==null;if(Zt=0,dl=w=j=null,en=!1,ke=0,ce=null,t)throw Error(s(300));l===null||Sl||(l=l.dependencies,l!==null&&hn(l)&&(Sl=!0))}function Ns(l,t,a,e){j=l;var u=0;do{if(ie&&(ce=null),ke=0,ie=!1,25<=u)throw Error(s(301));if(u+=1,dl=w=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}R.H=Ta,n=t(a,e)}while(ie);return n}function Nv(){var l=R.H,t=l.useState()[0];return t=typeof t.then=="function"?Fe(t):t,l=l.useState()[0],(w!==null?w.memoizedState:null)!==l&&(j.flags|=1024),t}function Bi(){var l=un!==0;return un=0,l}function Yi(l,t,a){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~a}function ji(l){if(en){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}en=!1}Zt=0,dl=w=j=null,ie=!1,ke=un=0,ce=null}function Nl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dl===null?j.memoizedState=dl=l:dl=dl.next=l,dl}function ol(){if(w===null){var l=j.alternate;l=l!==null?l.memoizedState:null}else l=w.next;var t=dl===null?j.memoizedState:dl.next;if(t!==null)dl=t,w=l;else{if(l===null)throw j.alternate===null?Error(s(467)):Error(s(310));w=l,l={memoizedState:w.memoizedState,baseState:w.baseState,baseQueue:w.baseQueue,queue:w.queue,next:null},dl===null?j.memoizedState=dl=l:dl=dl.next=l}return dl}var nn;nn=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Fe(l){var t=ke;return ke+=1,ce===null&&(ce=[]),l=zs(ce,l,t),t=j,(dl===null?t.memoizedState:dl.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?Ma:Vt),l}function cn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Fe(l);if(l.$$typeof===zl)return Ol(l)}throw Error(s(438,String(l)))}function xi(l){var t=null,a=j.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var e=j.alternate;e!==null&&(e=e.updateQueue,e!==null&&(e=e.memoCache,e!=null&&(t={data:e.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=nn(),j.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(l),e=0;e<l;e++)a[e]=Te;return t.index++,a}function Mt(l,t){return typeof t=="function"?t(l):t}function fn(l){var t=ol();return Gi(t,w,l)}function Gi(l,t,a){var e=l.queue;if(e===null)throw Error(s(311));e.lastRenderedReducer=a;var u=l.baseQueue,n=e.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}t.baseQueue=u=n,e.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var c=i=null,f=null,o=t,g=!1;do{var z=o.lane&-536870913;if(z!==o.lane?(Z&z)===z:(Zt&z)===z){var y=o.revertLane;if(y===0)f!==null&&(f=f.next={lane:0,revertLane:0,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),z===ue&&(g=!0);else if((Zt&y)===y){o=o.next,y===ue&&(g=!0);continue}else z={lane:0,revertLane:o.revertLane,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},f===null?(c=f=z,i=n):f=f.next=z,j.lanes|=y,It|=y;z=o.action,Aa&&a(n,z),n=o.hasEagerState?o.eagerState:a(n,z)}else y={lane:z,revertLane:o.revertLane,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},f===null?(c=f=y,i=n):f=f.next=y,j.lanes|=z,It|=z;o=o.next}while(o!==null&&o!==t);if(f===null?i=n:f.next=c,!jl(n,l.memoizedState)&&(Sl=!0,g&&(a=ne,a!==null)))throw a;l.memoizedState=n,l.baseState=i,l.baseQueue=f,e.lastRenderedState=n}return u===null&&(e.lanes=0),[l.memoizedState,e.dispatch]}function Xi(l){var t=ol(),a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var e=a.dispatch,u=a.pending,n=t.memoizedState;if(u!==null){a.pending=null;var i=u=u.next;do n=l(n,i.action),i=i.next;while(i!==u);jl(n,t.memoizedState)||(Sl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),a.lastRenderedState=n}return[n,e]}function qs(l,t,a){var e=j,u=ol(),n=L;if(n){if(a===void 0)throw Error(s(407));a=a()}else a=t();var i=!jl((w||u).memoizedState,a);if(i&&(u.memoizedState=a,Sl=!0),u=u.queue,Zi(js.bind(null,e,u,l),[l]),u.getSnapshot!==t||i||dl!==null&&dl.memoizedState.tag&1){if(e.flags|=2048,fe(9,Ys.bind(null,e,u,a,t),{destroy:void 0},null),k===null)throw Error(s(349));n||(Zt&60)!==0||Bs(e,t,a)}return a}function Bs(l,t,a){l.flags|=16384,l={getSnapshot:t,value:a},t=j.updateQueue,t===null?(t=nn(),j.updateQueue=t,t.stores=[l]):(a=t.stores,a===null?t.stores=[l]:a.push(l))}function Ys(l,t,a,e){t.value=a,t.getSnapshot=e,xs(t)&&Gs(l)}function js(l,t,a){return a(function(){xs(t)&&Gs(l)})}function xs(l){var t=l.getSnapshot;l=l.value;try{var a=t();return!jl(l,a)}catch{return!0}}function Gs(l){var t=Xt(l,2);t!==null&&_l(t,l,2)}function Ci(l){var t=Nl();if(typeof l=="function"){var a=l;if(l=a(),Aa){jt(!0);try{a()}finally{jt(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mt,lastRenderedState:l},t}function Xs(l,t,a,e){return l.baseState=a,Gi(l,w,typeof e=="function"?e:Mt)}function qv(l,t,a,e,u){if(on(l))throw Error(s(485));if(l=t.action,l!==null){var n={payload:u,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};R.T!==null?a(!0):n.isTransition=!1,e(n),a=t.pending,a===null?(n.next=t.pending=n,Cs(t,n)):(n.next=a.next,t.pending=a.next=n)}}function Cs(l,t){var a=t.action,e=t.payload,u=l.state;if(t.isTransition){var n=R.T,i={};R.T=i;try{var c=a(u,e),f=R.S;f!==null&&f(i,c),Qs(l,t,c)}catch(o){Qi(l,t,o)}finally{R.T=n}}else try{n=a(u,e),Qs(l,t,n)}catch(o){Qi(l,t,o)}}function Qs(l,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(e){Zs(l,t,e)},function(e){return Qi(l,t,e)}):Zs(l,t,a)}function Zs(l,t,a){t.status="fulfilled",t.value=a,Vs(t),l.state=a,t=l.pending,t!==null&&(a=t.next,a===t?l.pending=null:(a=a.next,t.next=a,Cs(l,a)))}function Qi(l,t,a){var e=l.pending;if(l.pending=null,e!==null){e=e.next;do t.status="rejected",t.reason=a,Vs(t),t=t.next;while(t!==e)}l.action=null}function Vs(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Ls(l,t){return t}function Ks(l,t){if(L){var a=k.formState;if(a!==null){l:{var e=j;if(L){if(Al){t:{for(var u=Al,n=st;u.nodeType!==8;){if(!n){u=null;break t}if(u=nt(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){Al=nt(u.nextSibling),e=u.data==="F!";break l}}ba(e)}e=!1}e&&(t=a[0])}}return a=Nl(),a.memoizedState=a.baseState=t,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ls,lastRenderedState:t},a.queue=e,a=sd.bind(null,j,e),e.dispatch=a,e=Ci(!1),n=wi.bind(null,j,!1,e.queue),e=Nl(),u={state:t,dispatch:null,action:l,pending:null},e.queue=u,a=qv.bind(null,j,u,n,a),u.dispatch=a,e.memoizedState=l,[t,a,!1]}function Js(l){var t=ol();return ws(t,w,l)}function ws(l,t,a){t=Gi(l,t,Ls)[0],l=fn(Mt)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?Fe(t):t;var e=ol(),u=e.queue,n=u.dispatch;return a!==e.memoizedState&&(j.flags|=2048,fe(9,Bv.bind(null,u,a),{destroy:void 0},null)),[t,n,l]}function Bv(l,t){l.action=t}function Ws(l){var t=ol(),a=w;if(a!==null)return ws(t,a,l);ol(),t=t.memoizedState,a=ol();var e=a.queue.dispatch;return a.memoizedState=l,[t,e,!1]}function fe(l,t,a,e){return l={tag:l,create:t,inst:a,deps:e,next:null},t=j.updateQueue,t===null&&(t=nn(),j.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=l.next=l:(e=a.next,a.next=l,l.next=e,t.lastEffect=l),l}function $s(){return ol().memoizedState}function sn(l,t,a,e){var u=Nl();j.flags|=l,u.memoizedState=fe(1|t,a,{destroy:void 0},e===void 0?null:e)}function dn(l,t,a,e){var u=ol();e=e===void 0?null:e;var n=u.memoizedState.inst;w!==null&&e!==null&&Ni(e,w.memoizedState.deps)?u.memoizedState=fe(t,a,n,e):(j.flags|=l,u.memoizedState=fe(1|t,a,n,e))}function ks(l,t){sn(8390656,8,l,t)}function Zi(l,t){dn(2048,8,l,t)}function Fs(l,t){return dn(4,2,l,t)}function Is(l,t){return dn(4,4,l,t)}function Ps(l,t){if(typeof t=="function"){l=l();var a=t(l);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function ld(l,t,a){a=a!=null?a.concat([l]):null,dn(4,4,Ps.bind(null,t,l),a)}function Vi(){}function td(l,t){var a=ol();t=t===void 0?null:t;var e=a.memoizedState;return t!==null&&Ni(t,e[1])?e[0]:(a.memoizedState=[l,t],l)}function ad(l,t){var a=ol();t=t===void 0?null:t;var e=a.memoizedState;if(t!==null&&Ni(t,e[1]))return e[0];if(e=l(),Aa){jt(!0);try{l()}finally{jt(!1)}}return a.memoizedState=[e,t],e}function Li(l,t,a){return a===void 0||(Zt&1073741824)!==0?l.memoizedState=t:(l.memoizedState=a,l=uo(),j.lanes|=l,It|=l,a)}function ed(l,t,a,e){return jl(a,t)?a:ee.current!==null?(l=Li(l,a,e),jl(l,t)||(Sl=!0),l):(Zt&42)===0?(Sl=!0,l.memoizedState=a):(l=uo(),j.lanes|=l,It|=l,t)}function ud(l,t,a,e,u){var n=V.p;V.p=n!==0&&8>n?n:8;var i=R.T,c={};R.T=c,wi(l,!1,t,a);try{var f=u(),o=R.S;if(o!==null&&o(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var g=Hv(f,e);Ie(l,t,g,Cl(l))}else Ie(l,t,e,Cl(l))}catch(z){Ie(l,t,{then:function(){},status:"rejected",reason:z},Cl())}finally{V.p=n,R.T=i}}function Yv(){}function Ki(l,t,a,e){if(l.tag!==5)throw Error(s(476));var u=nd(l).queue;ud(l,u,t,Ql,a===null?Yv:function(){return id(l),a(e)})}function nd(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:Ql,baseState:Ql,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mt,lastRenderedState:Ql},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mt,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function id(l){var t=nd(l).next.queue;Ie(l,t,{},Cl())}function Ji(){return Ol(gu)}function cd(){return ol().memoizedState}function fd(){return ol().memoizedState}function jv(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var a=Cl();l=Jt(a);var e=wt(t,l,a);e!==null&&(_l(e,t,a),tu(e,t,a)),t={cache:_i()},l.payload=t;return}t=t.return}}function xv(l,t,a){var e=Cl();a={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},on(l)?dd(t,a):(a=Ai(l,t,a,e),a!==null&&(_l(a,l,e),od(a,t,e)))}function sd(l,t,a){var e=Cl();Ie(l,t,a,e)}function Ie(l,t,a,e){var u={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(on(l))dd(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,c=n(i,a);if(u.hasEagerState=!0,u.eagerState=c,jl(c,i))return wu(l,t,u,0),k===null&&Ju(),!1}catch{}finally{}if(a=Ai(l,t,u,e),a!==null)return _l(a,l,e),od(a,t,e),!0}return!1}function wi(l,t,a,e){if(e={lane:2,revertLane:jc(),action:e,hasEagerState:!1,eagerState:null,next:null},on(l)){if(t)throw Error(s(479))}else t=Ai(l,a,e,2),t!==null&&_l(t,l,2)}function on(l){var t=l.alternate;return l===j||t!==null&&t===j}function dd(l,t){ie=en=!0;var a=l.pending;a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t}function od(l,t,a){if((a&4194176)!==0){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Af(l,a)}}var ot={readContext:Ol,use:cn,useCallback:fl,useContext:fl,useEffect:fl,useImperativeHandle:fl,useLayoutEffect:fl,useInsertionEffect:fl,useMemo:fl,useReducer:fl,useRef:fl,useState:fl,useDebugValue:fl,useDeferredValue:fl,useTransition:fl,useSyncExternalStore:fl,useId:fl};ot.useCacheRefresh=fl,ot.useMemoCache=fl,ot.useHostTransitionStatus=fl,ot.useFormState=fl,ot.useActionState=fl,ot.useOptimistic=fl;var Ma={readContext:Ol,use:cn,useCallback:function(l,t){return Nl().memoizedState=[l,t===void 0?null:t],l},useContext:Ol,useEffect:ks,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,sn(4194308,4,Ps.bind(null,t,l),a)},useLayoutEffect:function(l,t){return sn(4194308,4,l,t)},useInsertionEffect:function(l,t){sn(4,2,l,t)},useMemo:function(l,t){var a=Nl();t=t===void 0?null:t;var e=l();if(Aa){jt(!0);try{l()}finally{jt(!1)}}return a.memoizedState=[e,t],e},useReducer:function(l,t,a){var e=Nl();if(a!==void 0){var u=a(t);if(Aa){jt(!0);try{a(t)}finally{jt(!1)}}}else u=t;return e.memoizedState=e.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},e.queue=l,l=l.dispatch=xv.bind(null,j,l),[e.memoizedState,l]},useRef:function(l){var t=Nl();return l={current:l},t.memoizedState=l},useState:function(l){l=Ci(l);var t=l.queue,a=sd.bind(null,j,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:Vi,useDeferredValue:function(l,t){var a=Nl();return Li(a,l,t)},useTransition:function(){var l=Ci(!1);return l=ud.bind(null,j,l.queue,!0,!1),Nl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var e=j,u=Nl();if(L){if(a===void 0)throw Error(s(407));a=a()}else{if(a=t(),k===null)throw Error(s(349));(Z&60)!==0||Bs(e,t,a)}u.memoizedState=a;var n={value:a,getSnapshot:t};return u.queue=n,ks(js.bind(null,e,n,l),[l]),e.flags|=2048,fe(9,Ys.bind(null,e,n,a,t),{destroy:void 0},null),a},useId:function(){var l=Nl(),t=k.identifierPrefix;if(L){var a=zt,e=Et;a=(e&~(1<<32-Yl(e)-1)).toString(32)+a,t=":"+t+"R"+a,a=un++,0<a&&(t+="H"+a.toString(32)),t+=":"}else a=Rv++,t=":"+t+"r"+a.toString(32)+":";return l.memoizedState=t},useCacheRefresh:function(){return Nl().memoizedState=jv.bind(null,j)}};Ma.useMemoCache=xi,Ma.useHostTransitionStatus=Ji,Ma.useFormState=Ks,Ma.useActionState=Ks,Ma.useOptimistic=function(l){var t=Nl();t.memoizedState=t.baseState=l;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=wi.bind(null,j,!0,a),a.dispatch=t,[l,t]};var Vt={readContext:Ol,use:cn,useCallback:td,useContext:Ol,useEffect:Zi,useImperativeHandle:ld,useInsertionEffect:Fs,useLayoutEffect:Is,useMemo:ad,useReducer:fn,useRef:$s,useState:function(){return fn(Mt)},useDebugValue:Vi,useDeferredValue:function(l,t){var a=ol();return ed(a,w.memoizedState,l,t)},useTransition:function(){var l=fn(Mt)[0],t=ol().memoizedState;return[typeof l=="boolean"?l:Fe(l),t]},useSyncExternalStore:qs,useId:cd};Vt.useCacheRefresh=fd,Vt.useMemoCache=xi,Vt.useHostTransitionStatus=Ji,Vt.useFormState=Js,Vt.useActionState=Js,Vt.useOptimistic=function(l,t){var a=ol();return Xs(a,w,l,t)};var Ta={readContext:Ol,use:cn,useCallback:td,useContext:Ol,useEffect:Zi,useImperativeHandle:ld,useInsertionEffect:Fs,useLayoutEffect:Is,useMemo:ad,useReducer:Xi,useRef:$s,useState:function(){return Xi(Mt)},useDebugValue:Vi,useDeferredValue:function(l,t){var a=ol();return w===null?Li(a,l,t):ed(a,w.memoizedState,l,t)},useTransition:function(){var l=Xi(Mt)[0],t=ol().memoizedState;return[typeof l=="boolean"?l:Fe(l),t]},useSyncExternalStore:qs,useId:cd};Ta.useCacheRefresh=fd,Ta.useMemoCache=xi,Ta.useHostTransitionStatus=Ji,Ta.useFormState=Ws,Ta.useActionState=Ws,Ta.useOptimistic=function(l,t){var a=ol();return w!==null?Xs(a,w,l,t):(a.baseState=l,[l,a.queue.dispatch])};function Wi(l,t,a,e){t=l.memoizedState,a=a(e,t),a=a==null?t:J({},t,a),l.memoizedState=a,l.lanes===0&&(l.updateQueue.baseState=a)}var $i={isMounted:function(l){return(l=l._reactInternals)?N(l)===l:!1},enqueueSetState:function(l,t,a){l=l._reactInternals;var e=Cl(),u=Jt(e);u.payload=t,a!=null&&(u.callback=a),t=wt(l,u,e),t!==null&&(_l(t,l,e),tu(t,l,e))},enqueueReplaceState:function(l,t,a){l=l._reactInternals;var e=Cl(),u=Jt(e);u.tag=1,u.payload=t,a!=null&&(u.callback=a),t=wt(l,u,e),t!==null&&(_l(t,l,e),tu(t,l,e))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var a=Cl(),e=Jt(a);e.tag=2,t!=null&&(e.callback=t),t=wt(l,e,a),t!==null&&(_l(t,l,a),tu(t,l,a))}};function vd(l,t,a,e,u,n,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(e,n,i):t.prototype&&t.prototype.isPureReactComponent?!Xe(a,e)||!Xe(u,n):!0}function md(l,t,a,e){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,e),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,e),t.state!==l&&$i.enqueueReplaceState(t,t.state,null)}function Da(l,t){var a=t;if("ref"in t){a={};for(var e in t)e!=="ref"&&(a[e]=t[e])}if(l=l.defaultProps){a===t&&(a=J({},a));for(var u in l)a[u]===void 0&&(a[u]=l[u])}return a}var vn=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function hd(l){vn(l)}function yd(l){console.error(l)}function rd(l){vn(l)}function mn(l,t){try{var a=l.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Sd(l,t,a){try{var e=l.onCaughtError;e(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function ki(l,t,a){return a=Jt(a),a.tag=3,a.payload={element:null},a.callback=function(){mn(l,t)},a}function gd(l){return l=Jt(l),l.tag=3,l}function bd(l,t,a,e){var u=a.type.getDerivedStateFromError;if(typeof u=="function"){var n=e.value;l.payload=function(){return u(n)},l.callback=function(){Sd(t,a,e)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){Sd(t,a,e),typeof u!="function"&&(Pt===null?Pt=new Set([this]):Pt.add(this));var c=e.stack;this.componentDidCatch(e.value,{componentStack:c!==null?c:""})})}function Gv(l,t,a,e,u){if(a.flags|=32768,e!==null&&typeof e=="object"&&typeof e.then=="function"){if(t=a.alternate,t!==null&&lu(t,a,u,!0),a=Wl.current,a!==null){switch(a.tag){case 13:return dt===null?Rc():a.alternate===null&&nl===0&&(nl=3),a.flags&=-257,a.flags|=65536,a.lanes=u,e===Oi?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([e]):t.add(e),qc(l,e,u)),!1;case 22:return a.flags|=65536,e===Oi?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([e])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([e]):a.add(e)),qc(l,e,u)),!1}throw Error(s(435,a.tag))}return qc(l,e,u),Rc(),!1}if(L)return t=Wl.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,e!==Di&&(l=Error(s(422),{cause:e}),Ve(Kl(l,a)))):(e!==Di&&(t=Error(s(423),{cause:e}),Ve(Kl(t,a))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,e=Kl(e,a),u=ki(l.stateNode,e,u),oc(l,u),nl!==4&&(nl=2)),!1;var n=Error(s(520),{cause:e});if(n=Kl(n,a),su===null?su=[n]:su.push(n),nl!==4&&(nl=2),t===null)return!0;e=Kl(e,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,l=u&-u,a.lanes|=l,l=ki(a.stateNode,e,l),oc(a,l),!1;case 1:if(t=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Pt===null||!Pt.has(n))))return a.flags|=65536,u&=-u,a.lanes|=u,u=gd(u),bd(u,l,a,e),oc(a,u),!1}a=a.return}while(a!==null);return!1}var Ed=Error(s(461)),Sl=!1;function Ml(l,t,a,e){t.child=l===null?Ds(t,null,a,e):Ea(t,l.child,a,e)}function zd(l,t,a,e,u){a=a.render;var n=t.ref;if("ref"in e){var i={};for(var c in e)c!=="ref"&&(i[c]=e[c])}else i=e;return pa(t),e=qi(l,t,a,i,n,u),c=Bi(),l!==null&&!Sl?(Yi(l,t,u),Tt(l,t,u)):(L&&c&&Mi(t),t.flags|=1,Ml(l,t,e,u),t.child)}function Ad(l,t,a,e,u){if(l===null){var n=a.type;return typeof n=="function"&&!bc(n)&&n.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=n,Md(l,t,n,e,u)):(l=gn(a.type,null,e,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!nc(l,u)){var i=n.memoizedProps;if(a=a.compare,a=a!==null?a:Xe,a(i,e)&&l.ref===t.ref)return Tt(l,t,u)}return t.flags|=1,l=Ft(n,e),l.ref=t.ref,l.return=t,t.child=l}function Md(l,t,a,e,u){if(l!==null){var n=l.memoizedProps;if(Xe(n,e)&&l.ref===t.ref)if(Sl=!1,t.pendingProps=e=n,nc(l,u))(l.flags&131072)!==0&&(Sl=!0);else return t.lanes=l.lanes,Tt(l,t,u)}return Fi(l,t,a,e,u)}function Td(l,t,a){var e=t.pendingProps,u=e.children,n=(t.stateNode._pendingVisibility&2)!==0,i=l!==null?l.memoizedState:null;if(Pe(l,t),e.mode==="hidden"||n){if((t.flags&128)!==0){if(e=i!==null?i.baseLanes|a:a,l!==null){for(u=t.child=l.child,n=0;u!==null;)n=n|u.lanes|u.childLanes,u=u.sibling;t.childLanes=n&~e}else t.childLanes=0,t.child=null;return Dd(l,t,e,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&an(t,i!==null?i.cachePool:null),i!==null?Os(t,i):pi(),ps(t);else return t.lanes=t.childLanes=536870912,Dd(l,t,i!==null?i.baseLanes|a:a,a)}else i!==null?(an(t,i.cachePool),Os(t,i),Qt(),t.memoizedState=null):(l!==null&&an(t,null),pi(),Qt());return Ml(l,t,u,a),t.child}function Dd(l,t,a,e){var u=Ri();return u=u===null?null:{parent:hl._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},l!==null&&an(t,null),pi(),ps(t),l!==null&&lu(l,t,e,!0),null}function Pe(l,t){var a=t.ref;if(a===null)l!==null&&l.ref!==null&&(t.flags|=2097664);else{if(typeof a!="function"&&typeof a!="object")throw Error(s(284));(l===null||l.ref!==a)&&(t.flags|=2097664)}}function Fi(l,t,a,e,u){return pa(t),a=qi(l,t,a,e,void 0,u),e=Bi(),l!==null&&!Sl?(Yi(l,t,u),Tt(l,t,u)):(L&&e&&Mi(t),t.flags|=1,Ml(l,t,a,u),t.child)}function Od(l,t,a,e,u,n){return pa(t),t.updateQueue=null,a=Ns(t,e,a,u),Rs(l),e=Bi(),l!==null&&!Sl?(Yi(l,t,n),Tt(l,t,n)):(L&&e&&Mi(t),t.flags|=1,Ml(l,t,a,n),t.child)}function pd(l,t,a,e,u){if(pa(t),t.stateNode===null){var n=Pa,i=a.contextType;typeof i=="object"&&i!==null&&(n=Ol(i)),n=new a(e,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=$i,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=e,n.state=t.memoizedState,n.refs={},sc(t),i=a.contextType,n.context=typeof i=="object"&&i!==null?Ol(i):Pa,n.state=t.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&(Wi(t,a,i,e),n.state=t.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&&$i.enqueueReplaceState(n,n.state,null),eu(t,e,n,u),au(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),e=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,f=Da(a,c);n.props=f;var o=n.context,g=a.contextType;i=Pa,typeof g=="object"&&g!==null&&(i=Ol(g));var z=a.getDerivedStateFromProps;g=typeof z=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,g||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||o!==i)&&md(t,n,e,i),Kt=!1;var y=t.memoizedState;n.state=y,eu(t,e,n,u),au(),o=t.memoizedState,c||y!==o||Kt?(typeof z=="function"&&(Wi(t,a,z,e),o=t.memoizedState),(f=Kt||vd(t,a,f,e,y,o,i))?(g||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"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=e,t.memoizedState=o),n.props=e,n.state=o,n.context=i,e=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),e=!1)}else{n=t.stateNode,dc(l,t),i=t.memoizedProps,g=Da(a,i),n.props=g,z=t.pendingProps,y=n.context,o=a.contextType,f=Pa,typeof o=="object"&&o!==null&&(f=Ol(o)),c=a.getDerivedStateFromProps,(o=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==z||y!==f)&&md(t,n,e,f),Kt=!1,y=t.memoizedState,n.state=y,eu(t,e,n,u),au();var S=t.memoizedState;i!==z||y!==S||Kt||l!==null&&l.dependencies!==null&&hn(l.dependencies)?(typeof c=="function"&&(Wi(t,a,c,e),S=t.memoizedState),(g=Kt||vd(t,a,g,e,y,S,f)||l!==null&&l.dependencies!==null&&hn(l.dependencies))?(o||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(e,S,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(e,S,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&y===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&y===l.memoizedState||(t.flags|=1024),t.memoizedProps=e,t.memoizedState=S),n.props=e,n.state=S,n.context=f,e=g):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&y===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&y===l.memoizedState||(t.flags|=1024),e=!1)}return n=e,Pe(l,t),e=(t.flags&128)!==0,n||e?(n=t.stateNode,a=e&&typeof a.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&e?(t.child=Ea(t,l.child,null,u),t.child=Ea(t,null,a,u)):Ml(l,t,a,u),t.memoizedState=n.state,l=t.child):l=Tt(l,t,u),l}function Ud(l,t,a,e){return Ze(),t.flags|=256,Ml(l,t,a,e),t.child}var Ii={dehydrated:null,treeContext:null,retryLane:0};function Pi(l){return{baseLanes:l,cachePool:Hs()}}function lc(l,t,a){return l=l!==null?l.childLanes&~a:0,t&&(l|=Il),l}function _d(l,t,a){var e=t.pendingProps,u=!1,n=(t.flags&128)!==0,i;if((i=n)||(i=l!==null&&l.memoizedState===null?!1:(ml.current&2)!==0),i&&(u=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if(L){if(u?Ct(t):Qt(),L){var c=Al,f;if(f=c){l:{for(f=c,c=st;f.nodeType!==8;){if(!c){c=null;break l}if(f=nt(f.nextSibling),f===null){c=null;break l}}c=f}c!==null?(t.memoizedState={dehydrated:c,treeContext:Sa!==null?{id:Et,overflow:zt}:null,retryLane:536870912},f=Fl(18,null,null,0),f.stateNode=c,f.return=t,t.child=f,Ul=t,Al=null,f=!0):f=!1}f||ba(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return c.data==="$!"?t.lanes=16:t.lanes=536870912,null;At(t)}return c=e.children,e=e.fallback,u?(Qt(),u=t.mode,c=ac({mode:"hidden",children:c},u),e=_a(e,u,a,null),c.return=t,e.return=t,c.sibling=e,t.child=c,u=t.child,u.memoizedState=Pi(a),u.childLanes=lc(l,i,a),t.memoizedState=Ii,e):(Ct(t),tc(t,c))}if(f=l.memoizedState,f!==null&&(c=f.dehydrated,c!==null)){if(n)t.flags&256?(Ct(t),t.flags&=-257,t=ec(l,t,a)):t.memoizedState!==null?(Qt(),t.child=l.child,t.flags|=128,t=null):(Qt(),u=e.fallback,c=t.mode,e=ac({mode:"visible",children:e.children},c),u=_a(u,c,a,null),u.flags|=2,e.return=t,u.return=t,e.sibling=u,t.child=e,Ea(t,l.child,null,a),e=t.child,e.memoizedState=Pi(a),e.childLanes=lc(l,i,a),t.memoizedState=Ii,t=u);else if(Ct(t),c.data==="$!"){if(i=c.nextSibling&&c.nextSibling.dataset,i)var o=i.dgst;i=o,e=Error(s(419)),e.stack="",e.digest=i,Ve({value:e,source:null,stack:null}),t=ec(l,t,a)}else if(Sl||lu(l,t,a,!1),i=(a&l.childLanes)!==0,Sl||i){if(i=k,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!==f.retryLane)throw f.retryLane=e,Xt(l,e),_l(i,l,e),Ed}c.data==="$?"||Rc(),t=ec(l,t,a)}else c.data==="$?"?(t.flags|=128,t.child=l.child,t=Pv.bind(null,l),c._reactRetry=t,t=null):(l=f.treeContext,Al=nt(c.nextSibling),Ul=t,L=!0,et=null,st=!1,l!==null&&(Jl[wl++]=Et,Jl[wl++]=zt,Jl[wl++]=Sa,Et=l.id,zt=l.overflow,Sa=t),t=tc(t,e.children),t.flags|=4096);return t}return u?(Qt(),u=e.fallback,c=t.mode,f=l.child,o=f.sibling,e=Ft(f,{mode:"hidden",children:e.children}),e.subtreeFlags=f.subtreeFlags&31457280,o!==null?u=Ft(o,u):(u=_a(u,c,a,null),u.flags|=2),u.return=t,e.return=t,e.sibling=u,t.child=e,e=u,u=t.child,c=l.child.memoizedState,c===null?c=Pi(a):(f=c.cachePool,f!==null?(o=hl._currentValue,f=f.parent!==o?{parent:o,pool:o}:f):f=Hs(),c={baseLanes:c.baseLanes|a,cachePool:f}),u.memoizedState=c,u.childLanes=lc(l,i,a),t.memoizedState=Ii,e):(Ct(t),a=l.child,l=a.sibling,a=Ft(a,{mode:"visible",children:e.children}),a.return=t,a.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=a,t.memoizedState=null,a)}function tc(l,t){return t=ac({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function ac(l,t){return to(l,t,0,null)}function ec(l,t,a){return Ea(t,l.child,null,a),l=tc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Hd(l,t,a){l.lanes|=t;var e=l.alternate;e!==null&&(e.lanes|=t),cc(l.return,t,a)}function uc(l,t,a,e,u){var n=l.memoizedState;n===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:e,tail:a,tailMode:u}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=e,n.tail=a,n.tailMode=u)}function Rd(l,t,a){var e=t.pendingProps,u=e.revealOrder,n=e.tail;if(Ml(l,t,e.children,a),e=ml.current,(e&2)!==0)e=e&1|2,t.flags|=128;else{if(l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Hd(l,a,t);else if(l.tag===19)Hd(l,a,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}e&=1}switch(ll(ml,e),u){case"forwards":for(a=t.child,u=null;a!==null;)l=a.alternate,l!==null&&tn(l)===null&&(u=a),a=a.sibling;a=u,a===null?(u=t.child,t.child=null):(u=a.sibling,a.sibling=null),uc(t,!1,u,a,n);break;case"backwards":for(a=null,u=t.child,t.child=null;u!==null;){if(l=u.alternate,l!==null&&tn(l)===null){t.child=u;break}l=u.sibling,u.sibling=a,a=u,u=l}uc(t,!0,a,null,n);break;case"together":uc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Tt(l,t,a){if(l!==null&&(t.dependencies=l.dependencies),It|=t.lanes,(a&t.childLanes)===0)if(l!==null){if(lu(l,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(s(153));if(t.child!==null){for(l=t.child,a=Ft(l,l.pendingProps),t.child=a,a.return=t;l.sibling!==null;)l=l.sibling,a=a.sibling=Ft(l,l.pendingProps),a.return=t;a.sibling=null}return t.child}function nc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&hn(l)))}function Xv(l,t,a){switch(t.tag){case 3:_u(t,t.stateNode.containerInfo),Lt(t,hl,l.memoizedState.cache),Ze();break;case 27:case 5:$n(t);break;case 4:_u(t,t.stateNode.containerInfo);break;case 10:Lt(t,t.type,t.memoizedProps.value);break;case 13:var e=t.memoizedState;if(e!==null)return e.dehydrated!==null?(Ct(t),t.flags|=128,null):(a&t.child.childLanes)!==0?_d(l,t,a):(Ct(t),l=Tt(l,t,a),l!==null?l.sibling:null);Ct(t);break;case 19:var u=(l.flags&128)!==0;if(e=(a&t.childLanes)!==0,e||(lu(l,t,a,!1),e=(a&t.childLanes)!==0),u){if(e)return Rd(l,t,a);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ll(ml,ml.current),e)break;return null;case 22:case 23:return t.lanes=0,Td(l,t,a);case 24:Lt(t,hl,l.memoizedState.cache)}return Tt(l,t,a)}function Nd(l,t,a){if(l!==null)if(l.memoizedProps!==t.pendingProps)Sl=!0;else{if(!nc(l,a)&&(t.flags&128)===0)return Sl=!1,Xv(l,t,a);Sl=(l.flags&131072)!==0}else Sl=!1,L&&(t.flags&1048576)!==0&&rs(t,ku,t.index);switch(t.lanes=0,t.tag){case 16:l:{l=t.pendingProps;var e=t.elementType,u=e._init;if(e=u(e._payload),t.type=e,typeof e=="function")bc(e)?(l=Da(e,l),t.tag=1,t=pd(null,t,e,l,a)):(t.tag=0,t=Fi(null,t,e,l,a));else{if(e!=null){if(u=e.$$typeof,u===pl){t.tag=11,t=zd(null,t,e,l,a);break l}else if(u===ja){t.tag=14,t=Ad(null,t,e,l,a);break l}}throw t=xa(e)||e,Error(s(306,t,""))}}return t;case 0:return Fi(l,t,t.type,t.pendingProps,a);case 1:return e=t.type,u=Da(e,t.pendingProps),pd(l,t,e,u,a);case 3:l:{if(_u(t,t.stateNode.containerInfo),l===null)throw Error(s(387));var n=t.pendingProps;u=t.memoizedState,e=u.element,dc(l,t),eu(t,n,null,a);var i=t.memoizedState;if(n=i.cache,Lt(t,hl,n),n!==u.cache&&fc(t,[hl],a,!0),au(),n=i.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Ud(l,t,n,a);break l}else if(n!==e){e=Kl(Error(s(424)),t),Ve(e),t=Ud(l,t,n,a);break l}else for(Al=nt(t.stateNode.containerInfo.firstChild),Ul=t,L=!0,et=null,st=!0,a=Ds(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ze(),n===e){t=Tt(l,t,a);break l}Ml(l,t,n,a)}t=t.child}return t;case 26:return Pe(l,t),l===null?(a=jo(t.type,null,t.pendingProps,null))?t.memoizedState=a:L||(a=t.type,l=t.pendingProps,e=Hn(Yt.current).createElement(a),e[Dl]=t,e[Hl]=l,Tl(e,a,l),rl(e),t.stateNode=e):t.memoizedState=jo(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return $n(t),l===null&&L&&(e=t.stateNode=qo(t.type,t.pendingProps,Yt.current),Ul=t,st=!0,Al=nt(e.firstChild)),e=t.pendingProps.children,l!==null||L?Ml(l,t,e,a):t.child=Ea(t,null,e,a),Pe(l,t),t.child;case 5:return l===null&&L&&((u=e=Al)&&(e=ym(e,t.type,t.pendingProps,st),e!==null?(t.stateNode=e,Ul=t,Al=nt(e.firstChild),st=!1,u=!0):u=!1),u||ba(t)),$n(t),u=t.type,n=t.pendingProps,i=l!==null?l.memoizedProps:null,e=n.children,Kc(u,n)?e=null:i!==null&&Kc(u,i)&&(t.flags|=32),t.memoizedState!==null&&(u=qi(l,t,Nv,null,null,a),gu._currentValue=u),Pe(l,t),Ml(l,t,e,a),t.child;case 6:return l===null&&L&&((l=a=Al)&&(a=rm(a,t.pendingProps,st),a!==null?(t.stateNode=a,Ul=t,Al=null,l=!0):l=!1),l||ba(t)),null;case 13:return _d(l,t,a);case 4:return _u(t,t.stateNode.containerInfo),e=t.pendingProps,l===null?t.child=Ea(t,null,e,a):Ml(l,t,e,a),t.child;case 11:return zd(l,t,t.type,t.pendingProps,a);case 7:return Ml(l,t,t.pendingProps,a),t.child;case 8:return Ml(l,t,t.pendingProps.children,a),t.child;case 12:return Ml(l,t,t.pendingProps.children,a),t.child;case 10:return e=t.pendingProps,Lt(t,t.type,e.value),Ml(l,t,e.children,a),t.child;case 9:return u=t.type._context,e=t.pendingProps.children,pa(t),u=Ol(u),e=e(u),t.flags|=1,Ml(l,t,e,a),t.child;case 14:return Ad(l,t,t.type,t.pendingProps,a);case 15:return Md(l,t,t.type,t.pendingProps,a);case 19:return Rd(l,t,a);case 22:return Td(l,t,a);case 24:return pa(t),e=Ol(hl),l===null?(u=Ri(),u===null&&(u=k,n=_i(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=a),u=n),t.memoizedState={parent:e,cache:u},sc(t),Lt(t,hl,u)):((l.lanes&a)!==0&&(dc(l,t),eu(t,null,null,a),au()),u=l.memoizedState,n=t.memoizedState,u.parent!==e?(u={parent:e,cache:e},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Lt(t,hl,e)):(e=n.cache,Lt(t,hl,e),e!==u.cache&&fc(t,[hl],a,!0))),Ml(l,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}var ic=it(null),Oa=null,Dt=null;function Lt(l,t,a){ll(ic,t._currentValue),t._currentValue=a}function Ot(l){l._currentValue=ic.current,yl(ic)}function cc(l,t,a){for(;l!==null;){var e=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,e!==null&&(e.childLanes|=t)):e!==null&&(e.childLanes&t)!==t&&(e.childLanes|=t),l===a)break;l=l.return}}function fc(l,t,a,e){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;l:for(;n!==null;){var c=n;n=u;for(var f=0;f<t.length;f++)if(c.context===t[f]){n.lanes|=a,c=n.alternate,c!==null&&(c.lanes|=a),cc(n.return,a,l),e||(i=null);break l}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(s(341));i.lanes|=a,n=i.alternate,n!==null&&(n.lanes|=a),cc(i,a,l),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===l){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function lu(l,t,a,e){l=null;for(var u=t,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(s(387));if(i=i.memoizedProps,i!==null){var c=u.type;jl(u.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(u===Uu.current){if(i=u.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(gu):l=[gu])}u=u.return}l!==null&&fc(t,l,a,e),t.flags|=262144}function hn(l){for(l=l.firstContext;l!==null;){if(!jl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function pa(l){Oa=l,Dt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Ol(l){return qd(Oa,l)}function yn(l,t){return Oa===null&&pa(l),qd(l,t)}function qd(l,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Dt===null){if(l===null)throw Error(s(308));Dt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Dt=Dt.next=t;return a}var Kt=!1;function sc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Jt(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function wt(l,t,a){var e=l.updateQueue;if(e===null)return null;if(e=e.shared,(al&2)!==0){var u=e.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),e.pending=t,t=Wu(l),hs(l,null,a),t}return wu(l,e,t,a),Wu(l)}function tu(l,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194176)!==0)){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Af(l,a)}}function oc(l,t){var a=l.updateQueue,e=l.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=t:n=n.next=t}else u=n=t;a={baseState:e.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:e.shared,callbacks:e.callbacks},l.updateQueue=a;return}l=a.lastBaseUpdate,l===null?a.firstBaseUpdate=t:l.next=t,a.lastBaseUpdate=t}var vc=!1;function au(){if(vc){var l=ne;if(l!==null)throw l}}function eu(l,t,a,e){vc=!1;var u=l.updateQueue;Kt=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var f=c,o=f.next;f.next=null,i===null?n=o:i.next=o,i=f;var g=l.alternate;g!==null&&(g=g.updateQueue,c=g.lastBaseUpdate,c!==i&&(c===null?g.firstBaseUpdate=o:c.next=o,g.lastBaseUpdate=f))}if(n!==null){var z=u.baseState;i=0,g=o=f=null,c=n;do{var y=c.lane&-536870913,S=y!==c.lane;if(S?(Z&y)===y:(e&y)===y){y!==0&&y===ue&&(vc=!0),g!==null&&(g=g.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var O=l,q=c;y=t;var il=a;switch(q.tag){case 1:if(O=q.payload,typeof O=="function"){z=O.call(il,z,y);break l}z=O;break l;case 3:O.flags=O.flags&-65537|128;case 0:if(O=q.payload,y=typeof O=="function"?O.call(il,z,y):O,y==null)break l;z=J({},z,y);break l;case 2:Kt=!0}}y=c.callback,y!==null&&(l.flags|=64,S&&(l.flags|=8192),S=u.callbacks,S===null?u.callbacks=[y]:S.push(y))}else S={lane:y,tag:c.tag,payload:c.payload,callback:c.callback,next:null},g===null?(o=g=S,f=z):g=g.next=S,i|=y;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;S=c,c=S.next,S.next=null,u.lastBaseUpdate=S,u.shared.pending=null}}while(!0);g===null&&(f=z),u.baseState=f,u.firstBaseUpdate=o,u.lastBaseUpdate=g,n===null&&(u.shared.lanes=0),It|=i,l.lanes=i,l.memoizedState=z}}function Bd(l,t){if(typeof l!="function")throw Error(s(191,l));l.call(t)}function Yd(l,t){var a=l.callbacks;if(a!==null)for(l.callbacks=null,l=0;l<a.length;l++)Bd(a[l],t)}function uu(l,t){try{var a=t.updateQueue,e=a!==null?a.lastEffect:null;if(e!==null){var u=e.next;a=u;do{if((a.tag&l)===l){e=void 0;var n=a.create,i=a.inst;e=n(),i.destroy=e}a=a.next}while(a!==u)}}catch(c){$(t,t.return,c)}}function Wt(l,t,a){try{var e=t.updateQueue,u=e!==null?e.lastEffect:null;if(u!==null){var n=u.next;e=n;do{if((e.tag&l)===l){var i=e.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=t;var f=a;try{c()}catch(o){$(u,f,o)}}}e=e.next}while(e!==n)}}catch(o){$(t,t.return,o)}}function jd(l){var t=l.updateQueue;if(t!==null){var a=l.stateNode;try{Yd(t,a)}catch(e){$(l,l.return,e)}}}function xd(l,t,a){a.props=Da(l.type,l.memoizedProps),a.state=l.memoizedState;try{a.componentWillUnmount()}catch(e){$(l,t,e)}}function Ua(l,t){try{var a=l.ref;if(a!==null){var e=l.stateNode;switch(l.tag){case 26:case 27:case 5:var u=e;break;default:u=e}typeof a=="function"?l.refCleanup=a(u):a.current=u}}catch(n){$(l,t,n)}}function xl(l,t){var a=l.ref,e=l.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){$(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){$(l,t,u)}else a.current=null}function Gd(l){var t=l.type,a=l.memoizedProps,e=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break l;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}catch(u){$(l,l.return,u)}}function Xd(l,t,a){try{var e=l.stateNode;dm(e,l.type,a,t),e[Hl]=t}catch(u){$(l,l.return,u)}}function Cd(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27||l.tag===4}function mc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||Cd(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==27&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function hc(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?a.nodeType===8?a.parentNode.insertBefore(l,t):a.insertBefore(l,t):(a.nodeType===8?(t=a.parentNode,t.insertBefore(l,a)):(t=a,t.appendChild(l)),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=_n));else if(e!==4&&e!==27&&(l=l.child,l!==null))for(hc(l,t,a),l=l.sibling;l!==null;)hc(l,t,a),l=l.sibling}function rn(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?a.insertBefore(l,t):a.appendChild(l);else if(e!==4&&e!==27&&(l=l.child,l!==null))for(rn(l,t,a),l=l.sibling;l!==null;)rn(l,t,a),l=l.sibling}var pt=!1,ul=!1,yc=!1,Qd=typeof WeakSet=="function"?WeakSet:Set,gl=null,Zd=!1;function Cv(l,t){if(l=l.containerInfo,Vc=jn,l=ns(l),Si(l)){if("selectionStart"in l)var a={start:l.selectionStart,end:l.selectionEnd};else l:{a=(a=l.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 l}var i=0,c=-1,f=-1,o=0,g=0,z=l,y=null;t:for(;;){for(var S;z!==a||u!==0&&z.nodeType!==3||(c=i+u),z!==n||e!==0&&z.nodeType!==3||(f=i+e),z.nodeType===3&&(i+=z.nodeValue.length),(S=z.firstChild)!==null;)y=z,z=S;for(;;){if(z===l)break t;if(y===a&&++o===u&&(c=i),y===n&&++g===e&&(f=i),(S=z.nextSibling)!==null)break;z=y,y=z.parentNode}z=S}a=c===-1||f===-1?null:{start:c,end:f}}else a=null}a=a||{start:0,end:0}}else a=null;for(Lc={focusedElem:l,selectionRange:a},jn=!1,gl=t;gl!==null;)if(t=gl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,gl=l;else for(;gl!==null;){switch(t=gl,n=t.alternate,l=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){l=void 0,a=t,u=n.memoizedProps,n=n.memoizedState,e=a.stateNode;try{var O=Da(a.type,u,a.elementType===a.type);l=e.getSnapshotBeforeUpdate(O,n),e.__reactInternalSnapshotBeforeUpdate=l}catch(q){$(a,a.return,q)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,a=l.nodeType,a===9)Wc(l);else if(a===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Wc(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(s(163))}if(l=t.sibling,l!==null){l.return=t.return,gl=l;break}gl=t.return}return O=Zd,Zd=!1,O}function Vd(l,t,a){var e=a.flags;switch(a.tag){case 0:case 11:case 15:_t(l,a),e&4&&uu(5,a);break;case 1:if(_t(l,a),e&4)if(l=a.stateNode,t===null)try{l.componentDidMount()}catch(c){$(a,a.return,c)}else{var u=Da(a.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){$(a,a.return,c)}}e&64&&jd(a),e&512&&Ua(a,a.return);break;case 3:if(_t(l,a),e&64&&(e=a.updateQueue,e!==null)){if(l=null,a.child!==null)switch(a.child.tag){case 27:case 5:l=a.child.stateNode;break;case 1:l=a.child.stateNode}try{Yd(e,l)}catch(c){$(a,a.return,c)}}break;case 26:_t(l,a),e&512&&Ua(a,a.return);break;case 27:case 5:_t(l,a),t===null&&e&4&&Gd(a),e&512&&Ua(a,a.return);break;case 12:_t(l,a);break;case 13:_t(l,a),e&4&&Jd(l,a);break;case 22:if(u=a.memoizedState!==null||pt,!u){t=t!==null&&t.memoizedState!==null||ul;var n=pt,i=ul;pt=u,(ul=t)&&!i?$t(l,a,(a.subtreeFlags&8772)!==0):_t(l,a),pt=n,ul=i}e&512&&(a.memoizedProps.mode==="manual"?Ua(a,a.return):xl(a,a.return));break;default:_t(l,a)}}function Ld(l){var t=l.alternate;t!==null&&(l.alternate=null,Ld(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&ti(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var vl=null,Gl=!1;function Ut(l,t,a){for(a=a.child;a!==null;)Kd(l,t,a),a=a.sibling}function Kd(l,t,a){if(Bl&&typeof Bl.onCommitFiberUnmount=="function")try{Bl.onCommitFiberUnmount(pe,a)}catch{}switch(a.tag){case 26:ul||xl(a,t),Ut(l,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ul||xl(a,t);var e=vl,u=Gl;for(vl=a.stateNode,Ut(l,t,a),a=a.stateNode,t=a.attributes;t.length;)a.removeAttributeNode(t[0]);ti(a),vl=e,Gl=u;break;case 5:ul||xl(a,t);case 6:u=vl;var n=Gl;if(vl=null,Ut(l,t,a),vl=u,Gl=n,vl!==null)if(Gl)try{l=vl,e=a.stateNode,l.nodeType===8?l.parentNode.removeChild(e):l.removeChild(e)}catch(i){$(a,t,i)}else try{vl.removeChild(a.stateNode)}catch(i){$(a,t,i)}break;case 18:vl!==null&&(Gl?(t=vl,a=a.stateNode,t.nodeType===8?wc(t.parentNode,a):t.nodeType===1&&wc(t,a),Au(t)):wc(vl,a.stateNode));break;case 4:e=vl,u=Gl,vl=a.stateNode.containerInfo,Gl=!0,Ut(l,t,a),vl=e,Gl=u;break;case 0:case 11:case 14:case 15:ul||Wt(2,a,t),ul||Wt(4,a,t),Ut(l,t,a);break;case 1:ul||(xl(a,t),e=a.stateNode,typeof e.componentWillUnmount=="function"&&xd(a,t,e)),Ut(l,t,a);break;case 21:Ut(l,t,a);break;case 22:ul||xl(a,t),ul=(e=ul)||a.memoizedState!==null,Ut(l,t,a),ul=e;break;default:Ut(l,t,a)}}function Jd(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Au(l)}catch(a){$(t,t.return,a)}}function Qv(l){switch(l.tag){case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Qd),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Qd),t;default:throw Error(s(435,l.tag))}}function rc(l,t){var a=Qv(l);t.forEach(function(e){var u=lm.bind(null,l,e);a.has(e)||(a.add(e),e.then(u,u))})}function $l(l,t){var a=t.deletions;if(a!==null)for(var e=0;e<a.length;e++){var u=a[e],n=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:case 5:vl=c.stateNode,Gl=!1;break l;case 3:vl=c.stateNode.containerInfo,Gl=!0;break l;case 4:vl=c.stateNode.containerInfo,Gl=!0;break l}c=c.return}if(vl===null)throw Error(s(160));Kd(n,i,u),vl=null,Gl=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)wd(t,l),t=t.sibling}var ut=null;function wd(l,t){var a=l.alternate,e=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:$l(t,l),kl(l),e&4&&(Wt(3,l,l.return),uu(3,l),Wt(5,l,l.return));break;case 1:$l(t,l),kl(l),e&512&&(ul||a===null||xl(a,a.return)),e&64&&pt&&(l=l.updateQueue,l!==null&&(e=l.callbacks,e!==null&&(a=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=a===null?e:a.concat(e))));break;case 26:var u=ut;if($l(t,l),kl(l),e&512&&(ul||a===null||xl(a,a.return)),e&4){var n=a!==null?a.memoizedState:null;if(e=l.memoizedState,a===null)if(e===null)if(l.stateNode===null){l:{e=l.type,a=l.memoizedProps,u=u.ownerDocument||u;t:switch(e){case"title":n=u.getElementsByTagName("title")[0],(!n||n[He]||n[Dl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(e),u.head.insertBefore(n,u.querySelector("head > title"))),Tl(n,e,a),n[Dl]=l,rl(n),e=n;break l;case"link":var i=Xo("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 t}}n=u.createElement(e),Tl(n,e,a),u.head.appendChild(n);break;case"meta":if(i=Xo("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 t}}n=u.createElement(e),Tl(n,e,a),u.head.appendChild(n);break;default:throw Error(s(468,e))}n[Dl]=l,rl(n),e=n}l.stateNode=e}else Co(u,l.type,l.stateNode);else l.stateNode=Go(u,e,l.memoizedProps);else n!==e?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,e===null?Co(u,l.type,l.stateNode):Go(u,e,l.memoizedProps)):e===null&&l.stateNode!==null&&Xd(l,l.memoizedProps,a.memoizedProps)}break;case 27:if(e&4&&l.alternate===null){u=l.stateNode,n=l.memoizedProps;try{for(var f=u.firstChild;f;){var o=f.nextSibling,g=f.nodeName;f[He]||g==="HEAD"||g==="BODY"||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&f.rel.toLowerCase()==="stylesheet"||u.removeChild(f),f=o}for(var z=l.type,y=u.attributes;y.length;)u.removeAttributeNode(y[0]);Tl(u,z,n),u[Dl]=l,u[Hl]=n}catch(O){$(l,l.return,O)}}case 5:if($l(t,l),kl(l),e&512&&(ul||a===null||xl(a,a.return)),l.flags&32){u=l.stateNode;try{Ja(u,"")}catch(O){$(l,l.return,O)}}e&4&&l.stateNode!=null&&(u=l.memoizedProps,Xd(l,u,a!==null?a.memoizedProps:u)),e&1024&&(yc=!0);break;case 6:if($l(t,l),kl(l),e&4){if(l.stateNode===null)throw Error(s(162));e=l.memoizedProps,a=l.stateNode;try{a.nodeValue=e}catch(O){$(l,l.return,O)}}break;case 3:if(qn=null,u=ut,ut=Rn(t.containerInfo),$l(t,l),ut=u,kl(l),e&4&&a!==null&&a.memoizedState.isDehydrated)try{Au(t.containerInfo)}catch(O){$(l,l.return,O)}yc&&(yc=!1,Wd(l));break;case 4:e=ut,ut=Rn(l.stateNode.containerInfo),$l(t,l),kl(l),ut=e;break;case 12:$l(t,l),kl(l);break;case 13:$l(t,l),kl(l),l.child.flags&8192&&l.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Dc=ft()),e&4&&(e=l.updateQueue,e!==null&&(l.updateQueue=null,rc(l,e)));break;case 22:if(e&512&&(ul||a===null||xl(a,a.return)),f=l.memoizedState!==null,o=a!==null&&a.memoizedState!==null,g=pt,z=ul,pt=g||f,ul=z||o,$l(t,l),ul=z,pt=g,kl(l),t=l.stateNode,t._current=l,t._visibility&=-3,t._visibility|=t._pendingVisibility&2,e&8192&&(t._visibility=f?t._visibility&-2:t._visibility|1,f&&(t=pt||ul,a===null||o||t||se(l)),l.memoizedProps===null||l.memoizedProps.mode!=="manual"))l:for(a=null,t=l;;){if(t.tag===5||t.tag===26||t.tag===27){if(a===null){o=a=t;try{if(u=o.stateNode,f)n=u.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=o.stateNode,c=o.memoizedProps.style;var S=c!=null&&c.hasOwnProperty("display")?c.display:null;i.style.display=S==null||typeof S=="boolean"?"":(""+S).trim()}}catch(O){$(o,o.return,O)}}}else if(t.tag===6){if(a===null){o=t;try{o.stateNode.nodeValue=f?"":o.memoizedProps}catch(O){$(o,o.return,O)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}e&4&&(e=l.updateQueue,e!==null&&(a=e.retryQueue,a!==null&&(e.retryQueue=null,rc(l,a))));break;case 19:$l(t,l),kl(l),e&4&&(e=l.updateQueue,e!==null&&(l.updateQueue=null,rc(l,e)));break;case 21:break;default:$l(t,l),kl(l)}}function kl(l){var t=l.flags;if(t&2){try{if(l.tag!==27){l:{for(var a=l.return;a!==null;){if(Cd(a)){var e=a;break l}a=a.return}throw Error(s(160))}switch(e.tag){case 27:var u=e.stateNode,n=mc(l);rn(l,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(Ja(i,""),e.flags&=-33);var c=mc(l);rn(l,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,o=mc(l);hc(l,o,f);break;default:throw Error(s(161))}}}catch(g){$(l,l.return,g)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function Wd(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;Wd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function _t(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Vd(l,t.alternate,t),t=t.sibling}function se(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:Wt(4,t,t.return),se(t);break;case 1:xl(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&xd(t,t.return,a),se(t);break;case 26:case 27:case 5:xl(t,t.return),se(t);break;case 22:xl(t,t.return),t.memoizedState===null&&se(t);break;default:se(t)}l=l.sibling}}function $t(l,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var e=t.alternate,u=l,n=t,i=n.flags;switch(n.tag){case 0:case 11:case 15:$t(u,n,a),uu(4,n);break;case 1:if($t(u,n,a),e=n,u=e.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(o){$(e,e.return,o)}if(e=n,u=e.updateQueue,u!==null){var c=e.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Bd(f[u],c)}catch(o){$(e,e.return,o)}}a&&i&64&&jd(n),Ua(n,n.return);break;case 26:case 27:case 5:$t(u,n,a),a&&e===null&&i&4&&Gd(n),Ua(n,n.return);break;case 12:$t(u,n,a);break;case 13:$t(u,n,a),a&&i&4&&Jd(u,n);break;case 22:n.memoizedState===null&&$t(u,n,a),Ua(n,n.return);break;default:$t(u,n,a)}t=t.sibling}}function Sc(l,t){var a=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(l!=null&&l.refCount++,a!=null&&We(a))}function gc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&We(l))}function kt(l,t,a,e){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)$d(l,t,a,e),t=t.sibling}function $d(l,t,a,e){var u=t.flags;switch(t.tag){case 0:case 11:case 15:kt(l,t,a,e),u&2048&&uu(9,t);break;case 3:kt(l,t,a,e),u&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&We(l)));break;case 12:if(u&2048){kt(l,t,a,e),l=t.stateNode;try{var n=t.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){$(t,t.return,f)}}else kt(l,t,a,e);break;case 23:break;case 22:n=t.stateNode,t.memoizedState!==null?n._visibility&4?kt(l,t,a,e):nu(l,t):n._visibility&4?kt(l,t,a,e):(n._visibility|=4,de(l,t,a,e,(t.subtreeFlags&10256)!==0)),u&2048&&Sc(t.alternate,t);break;case 24:kt(l,t,a,e),u&2048&&gc(t.alternate,t);break;default:kt(l,t,a,e)}}function de(l,t,a,e,u){for(u=u&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var n=l,i=t,c=a,f=e,o=i.flags;switch(i.tag){case 0:case 11:case 15:de(n,i,c,f,u),uu(8,i);break;case 23:break;case 22:var g=i.stateNode;i.memoizedState!==null?g._visibility&4?de(n,i,c,f,u):nu(n,i):(g._visibility|=4,de(n,i,c,f,u)),u&&o&2048&&Sc(i.alternate,i);break;case 24:de(n,i,c,f,u),u&&o&2048&&gc(i.alternate,i);break;default:de(n,i,c,f,u)}t=t.sibling}}function nu(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=l,e=t,u=e.flags;switch(e.tag){case 22:nu(a,e),u&2048&&Sc(e.alternate,e);break;case 24:nu(a,e),u&2048&&gc(e.alternate,e);break;default:nu(a,e)}t=t.sibling}}var iu=8192;function oe(l){if(l.subtreeFlags&iu)for(l=l.child;l!==null;)kd(l),l=l.sibling}function kd(l){switch(l.tag){case 26:oe(l),l.flags&iu&&l.memoizedState!==null&&_m(ut,l.memoizedState,l.memoizedProps);break;case 5:oe(l);break;case 3:case 4:var t=ut;ut=Rn(l.stateNode.containerInfo),oe(l),ut=t;break;case 22:l.memoizedState===null&&(t=l.alternate,t!==null&&t.memoizedState!==null?(t=iu,iu=16777216,oe(l),iu=t):oe(l));break;default:oe(l)}}function Fd(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function cu(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var e=t[a];gl=e,Pd(e,l)}Fd(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Id(l),l=l.sibling}function Id(l){switch(l.tag){case 0:case 11:case 15:cu(l),l.flags&2048&&Wt(9,l,l.return);break;case 3:cu(l);break;case 12:cu(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&4&&(l.return===null||l.return.tag!==13)?(t._visibility&=-5,Sn(l)):cu(l);break;default:cu(l)}}function Sn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var e=t[a];gl=e,Pd(e,l)}Fd(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:Wt(8,t,t.return),Sn(t);break;case 22:a=t.stateNode,a._visibility&4&&(a._visibility&=-5,Sn(t));break;default:Sn(t)}l=l.sibling}}function Pd(l,t){for(;gl!==null;){var a=gl;switch(a.tag){case 0:case 11:case 15:Wt(8,a,t);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:We(a.memoizedState.cache)}if(e=a.child,e!==null)e.return=a,gl=e;else l:for(a=l;gl!==null;){e=gl;var u=e.sibling,n=e.return;if(Ld(e),e===a){gl=null;break l}if(u!==null){u.return=n,gl=u;break l}gl=n}}}function Zv(l,t,a,e){this.tag=l,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=t,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 Fl(l,t,a,e){return new Zv(l,t,a,e)}function bc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ft(l,t){var a=l.alternate;return a===null?(a=Fl(l.tag,t,l.key,l.mode),a.elementType=l.elementType,a.type=l.type,a.stateNode=l.stateNode,a.alternate=l,l.alternate=a):(a.pendingProps=t,a.type=l.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=l.flags&31457280,a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,t=l.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=l.sibling,a.index=l.index,a.ref=l.ref,a.refCleanup=l.refCleanup,a}function lo(l,t){l.flags&=31457282;var a=l.alternate;return a===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,l.type=a.type,t=a.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function gn(l,t,a,e,u,n){var i=0;if(e=l,typeof l=="function")bc(l)&&(i=1);else if(typeof l=="string")i=pm(l,a,ct.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case B:return _a(a.children,u,n,t);case C:i=8,u|=24;break;case sl:return l=Fl(12,a,t,u|2),l.elementType=sl,l.lanes=n,l;case yt:return l=Fl(13,a,t,u),l.elementType=yt,l.lanes=n,l;case Ya:return l=Fl(19,a,t,u),l.elementType=Ya,l.lanes=n,l;case na:return to(a,u,n,t);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case El:case zl:i=10;break l;case el:i=9;break l;case pl:i=11;break l;case ja:i=14;break l;case lt:i=16,e=null;break l}i=29,a=Error(s(130,l===null?"null":typeof l,"")),e=null}return t=Fl(i,a,t,u),t.elementType=l,t.type=e,t.lanes=n,t}function _a(l,t,a,e){return l=Fl(7,l,e,t),l.lanes=a,l}function to(l,t,a,e){l=Fl(22,l,e,t),l.elementType=na,l.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(s(456));if((u._pendingVisibility&2)===0){var i=Xt(n,2);i!==null&&(u._pendingVisibility|=2,_l(i,n,2))}},attach:function(){var n=u._current;if(n===null)throw Error(s(456));if((u._pendingVisibility&2)!==0){var i=Xt(n,2);i!==null&&(u._pendingVisibility&=-3,_l(i,n,2))}}};return l.stateNode=u,l}function Ec(l,t,a){return l=Fl(6,l,null,t),l.lanes=a,l}function zc(l,t,a){return t=Fl(4,l.children!==null?l.children:[],l.key,t),t.lanes=a,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}function Ht(l){l.flags|=4}function ao(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Qo(t)){if(t=Wl.current,t!==null&&((Z&4194176)===Z?dt!==null:(Z&62914560)!==Z&&(Z&536870912)===0||t!==dt))throw Ke=Oi,bs;l.flags|=8192}}function bn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Ef():536870912,l.lanes|=t,me|=t)}function fu(l,t){if(!L)switch(l.tailMode){case"hidden":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?l.tail=null:a.sibling=null;break;case"collapsed":a=l.tail;for(var e=null;a!==null;)a.alternate!==null&&(e=a),a=a.sibling;e===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:e.sibling=null}}function tl(l){var t=l.alternate!==null&&l.alternate.child===l.child,a=0,e=0;if(t)for(var u=l.child;u!==null;)a|=u.lanes|u.childLanes,e|=u.subtreeFlags&31457280,e|=u.flags&31457280,u.return=l,u=u.sibling;else for(u=l.child;u!==null;)a|=u.lanes|u.childLanes,e|=u.subtreeFlags,e|=u.flags,u.return=l,u=u.sibling;return l.subtreeFlags|=e,l.childLanes=a,t}function Vv(l,t,a){var e=t.pendingProps;switch(Ti(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tl(t),null;case 1:return tl(t),null;case 3:return a=t.stateNode,e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Ot(hl),Ca(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(l===null||l.child===null)&&(Qe(t)?Ht(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,et!==null&&(_c(et),et=null))),tl(t),null;case 26:return a=t.memoizedState,l===null?(Ht(t),a!==null?(tl(t),ao(t,a)):(tl(t),t.flags&=-16777217)):a?a!==l.memoizedState?(Ht(t),tl(t),ao(t,a)):(tl(t),t.flags&=-16777217):(l.memoizedProps!==e&&Ht(t),tl(t),t.flags&=-16777217),null;case 27:Hu(t),a=Yt.current;var u=t.type;if(l!==null&&t.stateNode!=null)l.memoizedProps!==e&&Ht(t);else{if(!e){if(t.stateNode===null)throw Error(s(166));return tl(t),null}l=ct.current,Qe(t)?Ss(t):(l=qo(u,e,a),t.stateNode=l,Ht(t))}return tl(t),null;case 5:if(Hu(t),a=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==e&&Ht(t);else{if(!e){if(t.stateNode===null)throw Error(s(166));return tl(t),null}if(l=ct.current,Qe(t))Ss(t);else{switch(u=Hn(Yt.current),l){case 1:l=u.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:l=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":l=u.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":l=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":l=u.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof e.is=="string"?u.createElement("select",{is:e.is}):u.createElement("select"),e.multiple?l.multiple=!0:e.size&&(l.size=e.size);break;default:l=typeof e.is=="string"?u.createElement(a,{is:e.is}):u.createElement(a)}}l[Dl]=t,l[Hl]=e;l:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)l.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break l;for(;u.sibling===null;){if(u.return===null||u.return===t)break l;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=l;l:switch(Tl(l,a,e),a){case"button":case"input":case"select":case"textarea":l=!!e.autoFocus;break l;case"img":l=!0;break l;default:l=!1}l&&Ht(t)}}return tl(t),t.flags&=-16777217,null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==e&&Ht(t);else{if(typeof e!="string"&&t.stateNode===null)throw Error(s(166));if(l=Yt.current,Qe(t)){if(l=t.stateNode,a=t.memoizedProps,e=null,u=Ul,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}l[Dl]=t,l=!!(l.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||po(l.nodeValue,a)),l||ba(t)}else l=Hn(l).createTextNode(e),l[Dl]=t,t.stateNode=l}return tl(t),null;case 13:if(e=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=Qe(t),e!==null&&e.dehydrated!==null){if(l===null){if(!u)throw Error(s(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[Dl]=t}else Ze(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;tl(t),u=!1}else et!==null&&(_c(et),et=null),u=!0;if(!u)return t.flags&256?(At(t),t):(At(t),null)}if(At(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=e!==null,l=l!==null&&l.memoizedState!==null,a){e=t.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!==l&&a&&(t.child.flags|=8192),bn(t,t.updateQueue),tl(t),null;case 4:return Ca(),l===null&&Cc(t.stateNode.containerInfo),tl(t),null;case 10:return Ot(t.type),tl(t),null;case 19:if(yl(ml),u=t.memoizedState,u===null)return tl(t),null;if(e=(t.flags&128)!==0,n=u.rendering,n===null)if(e)fu(u,!1);else{if(nl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=tn(l),n!==null){for(t.flags|=128,fu(u,!1),l=n.updateQueue,t.updateQueue=l,bn(t,l),t.subtreeFlags=0,l=a,a=t.child;a!==null;)lo(a,l),a=a.sibling;return ll(ml,ml.current&1|2),t.child}l=l.sibling}u.tail!==null&&ft()>En&&(t.flags|=128,e=!0,fu(u,!1),t.lanes=4194304)}else{if(!e)if(l=tn(n),l!==null){if(t.flags|=128,e=!0,l=l.updateQueue,t.updateQueue=l,bn(t,l),fu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!L)return tl(t),null}else 2*ft()-u.renderingStartTime>En&&a!==536870912&&(t.flags|=128,e=!0,fu(u,!1),t.lanes=4194304);u.isBackwards?(n.sibling=t.child,t.child=n):(l=u.last,l!==null?l.sibling=n:t.child=n,u.last=n)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=ft(),t.sibling=null,l=ml.current,ll(ml,e?l&1|2:l&1),t):(tl(t),null);case 22:case 23:return At(t),Ui(),e=t.memoizedState!==null,l!==null?l.memoizedState!==null!==e&&(t.flags|=8192):e&&(t.flags|=8192),e?(a&536870912)!==0&&(t.flags&128)===0&&(tl(t),t.subtreeFlags&6&&(t.flags|=8192)):tl(t),a=t.updateQueue,a!==null&&bn(t,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(t.flags|=2048),l!==null&&yl(za),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ot(hl),tl(t),null;case 25:return null}throw Error(s(156,t.tag))}function Lv(l,t){switch(Ti(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Ot(hl),Ca(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Hu(t),null;case 13:if(At(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ze()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return yl(ml),null;case 4:return Ca(),null;case 10:return Ot(t.type),null;case 22:case 23:return At(t),Ui(),l!==null&&yl(za),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Ot(hl),null;case 25:return null;default:return null}}function eo(l,t){switch(Ti(t),t.tag){case 3:Ot(hl),Ca();break;case 26:case 27:case 5:Hu(t);break;case 4:Ca();break;case 13:At(t);break;case 19:yl(ml);break;case 10:Ot(t.type);break;case 22:case 23:At(t),Ui(),l!==null&&yl(za);break;case 24:Ot(hl)}}var Kv={getCacheForType:function(l){var t=Ol(hl),a=t.data.get(l);return a===void 0&&(a=l(),t.data.set(l,a)),a}},Jv=typeof WeakMap=="function"?WeakMap:Map,al=0,k=null,X=null,Z=0,F=0,Xl=null,Rt=!1,ve=!1,Ac=!1,Nt=0,nl=0,It=0,Ha=0,Mc=0,Il=0,me=0,su=null,vt=null,Tc=!1,Dc=0,En=1/0,zn=null,Pt=null,An=!1,Ra=null,du=0,Oc=0,pc=null,ou=0,Uc=null;function Cl(){if((al&2)!==0&&Z!==0)return Z&-Z;if(R.T!==null){var l=ue;return l!==0?l:jc()}return Tf()}function uo(){Il===0&&(Il=(Z&536870912)===0||L?bf():536870912);var l=Wl.current;return l!==null&&(l.flags|=32),Il}function _l(l,t,a){(l===k&&F===2||l.cancelPendingCommit!==null)&&(he(l,0),qt(l,Z,Il,!1)),_e(l,a),((al&2)===0||l!==k)&&(l===k&&((al&2)===0&&(Ha|=a),nl===4&&qt(l,Z,Il,!1)),mt(l))}function no(l,t,a){if((al&6)!==0)throw Error(s(327));var e=!a&&(t&60)===0&&(t&l.expiredLanes)===0||Ue(l,t),u=e?$v(l,t):Nc(l,t,!0),n=e;do{if(u===0){ve&&!e&&qt(l,t,0,!1);break}else if(u===6)qt(l,t,0,!Rt);else{if(a=l.current.alternate,n&&!wv(a)){u=Nc(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;u=su;var f=c.current.memoizedState.isDehydrated;if(f&&(he(c,i).flags|=256),i=Nc(c,i,!1),i!==2){if(Ac&&!f){c.errorRecoveryDisabledLanes|=n,Ha|=n,u=4;break l}n=vt,vt=u,n!==null&&_c(n)}u=i}if(n=!1,u!==2)continue}}if(u===1){he(l,0),qt(l,t,0,!0);break}l:{switch(e=l,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194176)===t){qt(e,t,Il,!Rt);break l}break;case 2:vt=null;break;case 3:case 5:break;default:throw Error(s(329))}if(e.finishedWork=a,e.finishedLanes=t,(t&62914560)===t&&(n=Dc+300-ft(),10<n)){if(qt(e,t,Il,!Rt),Bu(e,0)!==0)break l;e.timeoutHandle=Ho(io.bind(null,e,a,vt,zn,Tc,t,Il,Ha,me,Rt,2,-0,0),n);break l}io(e,a,vt,zn,Tc,t,Il,Ha,me,Rt,0,-0,0)}}break}while(!0);mt(l)}function _c(l){vt===null?vt=l:vt.push.apply(vt,l)}function io(l,t,a,e,u,n,i,c,f,o,g,z,y){var S=t.subtreeFlags;if((S&8192||(S&16785408)===16785408)&&(Su={stylesheets:null,count:0,unsuspend:Um},kd(t),t=Hm(),t!==null)){l.cancelPendingCommit=t(ho.bind(null,l,a,e,u,i,c,f,1,z,y)),qt(l,n,i,!o);return}ho(l,a,e,u,i,c,f,g,z,y)}function wv(l){for(var t=l;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.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(!jl(n(),u))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function qt(l,t,a,e){t&=~Mc,t&=~Ha,l.suspendedLanes|=t,l.pingedLanes&=~t,e&&(l.warmLanes|=t),e=l.expirationTimes;for(var u=t;0<u;){var n=31-Yl(u),i=1<<n;e[n]=-1,u&=~i}a!==0&&zf(l,a,t)}function Mn(){return(al&6)===0?(vu(0),!1):!0}function Hc(){if(X!==null){if(F===0)var l=X.return;else l=X,Dt=Oa=null,ji(l),ae=null,Je=0,l=X;for(;l!==null;)eo(l.alternate,l),l=l.return;X=null}}function he(l,t){l.finishedWork=null,l.finishedLanes=0;var a=l.timeoutHandle;a!==-1&&(l.timeoutHandle=-1,vm(a)),a=l.cancelPendingCommit,a!==null&&(l.cancelPendingCommit=null,a()),Hc(),k=l,X=a=Ft(l.current,null),Z=t,F=0,Xl=null,Rt=!1,ve=Ue(l,t),Ac=!1,me=Il=Mc=Ha=It=nl=0,vt=su=null,Tc=!1,(t&8)!==0&&(t|=t&32);var e=l.entangledLanes;if(e!==0)for(l=l.entanglements,e&=t;0<e;){var u=31-Yl(e),n=1<<u;t|=l[u],e&=~n}return Nt=t,Ju(),a}function co(l,t){j=null,R.H=ot,t===Le?(t=As(),F=3):t===bs?(t=As(),F=4):F=t===Ed?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Xl=t,X===null&&(nl=1,mn(l,Kl(t,l.current)))}function fo(){var l=R.H;return R.H=ot,l===null?ot:l}function so(){var l=R.A;return R.A=Kv,l}function Rc(){nl=4,Rt||(Z&4194176)!==Z&&Wl.current!==null||(ve=!0),(It&134217727)===0&&(Ha&134217727)===0||k===null||qt(k,Z,Il,!1)}function Nc(l,t,a){var e=al;al|=2;var u=fo(),n=so();(k!==l||Z!==t)&&(zn=null,he(l,t)),t=!1;var i=nl;l:do try{if(F!==0&&X!==null){var c=X,f=Xl;switch(F){case 8:Hc(),i=6;break l;case 3:case 2:case 6:Wl.current===null&&(t=!0);var o=F;if(F=0,Xl=null,ye(l,c,f,o),a&&ve){i=0;break l}break;default:o=F,F=0,Xl=null,ye(l,c,f,o)}}Wv(),i=nl;break}catch(g){co(l,g)}while(!0);return t&&l.shellSuspendCounter++,Dt=Oa=null,al=e,R.H=u,R.A=n,X===null&&(k=null,Z=0,Ju()),i}function Wv(){for(;X!==null;)oo(X)}function $v(l,t){var a=al;al|=2;var e=fo(),u=so();k!==l||Z!==t?(zn=null,En=ft()+500,he(l,t)):ve=Ue(l,t);l:do try{if(F!==0&&X!==null){t=X;var n=Xl;t:switch(F){case 1:F=0,Xl=null,ye(l,t,n,1);break;case 2:if(Es(n)){F=0,Xl=null,vo(t);break}t=function(){F===2&&k===l&&(F=7),mt(l)},n.then(t,t);break l;case 3:F=7;break l;case 4:F=5;break l;case 7:Es(n)?(F=0,Xl=null,vo(t)):(F=0,Xl=null,ye(l,t,n,7));break;case 5:var i=null;switch(X.tag){case 26:i=X.memoizedState;case 5:case 27:var c=X;if(!i||Qo(i)){F=0,Xl=null;var f=c.sibling;if(f!==null)X=f;else{var o=c.return;o!==null?(X=o,Tn(o)):X=null}break t}}F=0,Xl=null,ye(l,t,n,5);break;case 6:F=0,Xl=null,ye(l,t,n,6);break;case 8:Hc(),nl=6;break l;default:throw Error(s(462))}}kv();break}catch(g){co(l,g)}while(!0);return Dt=Oa=null,R.H=e,R.A=u,al=a,X!==null?0:(k=null,Z=0,Ju(),nl)}function kv(){for(;X!==null&&!g0();)oo(X)}function oo(l){var t=Nd(l.alternate,l,Nt);l.memoizedProps=l.pendingProps,t===null?Tn(l):X=t}function vo(l){var t=l,a=t.alternate;switch(t.tag){case 15:case 0:t=Od(a,t,t.pendingProps,t.type,void 0,Z);break;case 11:t=Od(a,t,t.pendingProps,t.type.render,t.ref,Z);break;case 5:ji(t);default:eo(a,t),t=X=lo(t,Nt),t=Nd(a,t,Nt)}l.memoizedProps=l.pendingProps,t===null?Tn(l):X=t}function ye(l,t,a,e){Dt=Oa=null,ji(t),ae=null,Je=0;var u=t.return;try{if(Gv(l,u,t,a,Z)){nl=1,mn(l,Kl(a,l.current)),X=null;return}}catch(n){if(u!==null)throw X=u,n;nl=1,mn(l,Kl(a,l.current)),X=null;return}t.flags&32768?(L||e===1?l=!0:ve||(Z&536870912)!==0?l=!1:(Rt=l=!0,(e===2||e===3||e===6)&&(e=Wl.current,e!==null&&e.tag===13&&(e.flags|=16384))),mo(t,l)):Tn(t)}function Tn(l){var t=l;do{if((t.flags&32768)!==0){mo(t,Rt);return}l=t.return;var a=Vv(t.alternate,t,Nt);if(a!==null){X=a;return}if(t=t.sibling,t!==null){X=t;return}X=t=l}while(t!==null);nl===0&&(nl=5)}function mo(l,t){do{var a=Lv(l.alternate,l);if(a!==null){a.flags&=32767,X=a;return}if(a=l.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(l=l.sibling,l!==null)){X=l;return}X=l=a}while(l!==null);nl=6,X=null}function ho(l,t,a,e,u,n,i,c,f,o){var g=R.T,z=V.p;try{V.p=2,R.T=null,Fv(l,t,a,e,z,u,n,i,c,f,o)}finally{R.T=g,V.p=z}}function Fv(l,t,a,e,u,n,i,c){do re();while(Ra!==null);if((al&6)!==0)throw Error(s(327));var f=l.finishedWork;if(e=l.finishedLanes,f===null)return null;if(l.finishedWork=null,l.finishedLanes=0,f===l.current)throw Error(s(177));l.callbackNode=null,l.callbackPriority=0,l.cancelPendingCommit=null;var o=f.lanes|f.childLanes;if(o|=zi,_0(l,e,o,n,i,c),l===k&&(X=k=null,Z=0),(f.subtreeFlags&10256)===0&&(f.flags&10256)===0||An||(An=!0,Oc=o,pc=a,tm(Ru,function(){return re(),null})),a=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||a?(a=R.T,R.T=null,n=V.p,V.p=2,i=al,al|=4,Cv(l,f),wd(f,l),zv(Lc,l.containerInfo),jn=!!Vc,Lc=Vc=null,l.current=f,Vd(l,f.alternate,f),b0(),al=i,V.p=n,R.T=a):l.current=f,An?(An=!1,Ra=l,du=e):yo(l,o),o=l.pendingLanes,o===0&&(Pt=null),T0(f.stateNode),mt(l),t!==null)for(u=l.onRecoverableError,f=0;f<t.length;f++)o=t[f],u(o.value,{componentStack:o.stack});return(du&3)!==0&&re(),o=l.pendingLanes,(e&4194218)!==0&&(o&42)!==0?l===Uc?ou++:(ou=0,Uc=l):ou=0,vu(0),null}function yo(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,We(t)))}function re(){if(Ra!==null){var l=Ra,t=Oc;Oc=0;var a=Mf(du),e=R.T,u=V.p;try{if(V.p=32>a?32:a,R.T=null,Ra===null)var n=!1;else{a=pc,pc=null;var i=Ra,c=du;if(Ra=null,du=0,(al&6)!==0)throw Error(s(331));var f=al;if(al|=4,Id(i.current),$d(i,i.current,c,a),al=f,vu(0,!1),Bl&&typeof Bl.onPostCommitFiberRoot=="function")try{Bl.onPostCommitFiberRoot(pe,i)}catch{}n=!0}return n}finally{V.p=u,R.T=e,yo(l,t)}}return!1}function ro(l,t,a){t=Kl(a,t),t=ki(l.stateNode,t,2),l=wt(l,t,2),l!==null&&(_e(l,2),mt(l))}function $(l,t,a){if(l.tag===3)ro(l,l,a);else for(;t!==null;){if(t.tag===3){ro(t,l,a);break}else if(t.tag===1){var e=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(Pt===null||!Pt.has(e))){l=Kl(a,l),a=gd(2),e=wt(t,a,2),e!==null&&(bd(a,e,t,l),_e(e,2),mt(e));break}}t=t.return}}function qc(l,t,a){var e=l.pingCache;if(e===null){e=l.pingCache=new Jv;var u=new Set;e.set(t,u)}else u=e.get(t),u===void 0&&(u=new Set,e.set(t,u));u.has(a)||(Ac=!0,u.add(a),l=Iv.bind(null,l,t,a),t.then(l,l))}function Iv(l,t,a){var e=l.pingCache;e!==null&&e.delete(t),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,k===l&&(Z&a)===a&&(nl===4||nl===3&&(Z&62914560)===Z&&300>ft()-Dc?(al&2)===0&&he(l,0):Mc|=a,me===Z&&(me=0)),mt(l)}function So(l,t){t===0&&(t=Ef()),l=Xt(l,t),l!==null&&(_e(l,t),mt(l))}function Pv(l){var t=l.memoizedState,a=0;t!==null&&(a=t.retryLane),So(l,a)}function lm(l,t){var a=0;switch(l.tag){case 13:var e=l.stateNode,u=l.memoizedState;u!==null&&(a=u.retryLane);break;case 19:e=l.stateNode;break;case 22:e=l.stateNode._retryCache;break;default:throw Error(s(314))}e!==null&&e.delete(t),So(l,a)}function tm(l,t){return Fn(l,t)}var Dn=null,Se=null,Bc=!1,On=!1,Yc=!1,Na=0;function mt(l){l!==Se&&l.next===null&&(Se===null?Dn=Se=l:Se=Se.next=l),On=!0,Bc||(Bc=!0,em(am))}function vu(l,t){if(!Yc&&On){Yc=!0;do for(var a=!1,e=Dn;e!==null;){if(l!==0){var u=e.pendingLanes;if(u===0)var n=0;else{var i=e.suspendedLanes,c=e.pingedLanes;n=(1<<31-Yl(42|l)+1)-1,n&=u&~(i&~c),n=n&201326677?n&201326677|1:n?n|2:0}n!==0&&(a=!0,Eo(e,n))}else n=Z,n=Bu(e,e===k?n:0),(n&3)===0||Ue(e,n)||(a=!0,Eo(e,n));e=e.next}while(a);Yc=!1}}function am(){On=Bc=!1;var l=0;Na!==0&&(om()&&(l=Na),Na=0);for(var t=ft(),a=null,e=Dn;e!==null;){var u=e.next,n=go(e,t);n===0?(e.next=null,a===null?Dn=u:a.next=u,u===null&&(Se=a)):(a=e,(l!==0||(n&3)!==0)&&(On=!0)),e=u}vu(l)}function go(l,t){for(var a=l.suspendedLanes,e=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var i=31-Yl(n),c=1<<i,f=u[i];f===-1?((c&a)===0||(c&e)!==0)&&(u[i]=U0(c,t)):f<=t&&(l.expiredLanes|=c),n&=~c}if(t=k,a=Z,a=Bu(l,l===t?a:0),e=l.callbackNode,a===0||l===t&&F===2||l.cancelPendingCommit!==null)return e!==null&&e!==null&&In(e),l.callbackNode=null,l.callbackPriority=0;if((a&3)===0||Ue(l,a)){if(t=a&-a,t===l.callbackPriority)return t;switch(e!==null&&In(e),Mf(a)){case 2:case 8:a=Sf;break;case 32:a=Ru;break;case 268435456:a=gf;break;default:a=Ru}return e=bo.bind(null,l),a=Fn(a,e),l.callbackPriority=t,l.callbackNode=a,t}return e!==null&&e!==null&&In(e),l.callbackPriority=2,l.callbackNode=null,2}function bo(l,t){var a=l.callbackNode;if(re()&&l.callbackNode!==a)return null;var e=Z;return e=Bu(l,l===k?e:0),e===0?null:(no(l,e,t),go(l,ft()),l.callbackNode!=null&&l.callbackNode===a?bo.bind(null,l):null)}function Eo(l,t){if(re())return null;no(l,t,!0)}function em(l){mm(function(){(al&6)!==0?Fn(rf,l):l()})}function jc(){return Na===0&&(Na=bf()),Na}function zo(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Xu(""+l)}function Ao(l,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,l.id&&a.setAttribute("form",l.id),t.parentNode.insertBefore(a,t),l=new FormData(l),a.parentNode.removeChild(a),l}function um(l,t,a,e,u){if(t==="submit"&&a&&a.stateNode===u){var n=zo((u[Hl]||null).action),i=e.submitter;i&&(t=(t=i[Hl]||null)?zo(t.formAction):i.getAttribute("formAction"),t!==null&&(n=t,i=null));var c=new Vu("action","action",null,e,u);l.push({event:c,listeners:[{instance:null,listener:function(){if(e.defaultPrevented){if(Na!==0){var f=i?Ao(u,i):new FormData(u);Ki(a,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Ao(u,i):new FormData(u),Ki(a,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var xc=0;xc<ms.length;xc++){var Gc=ms[xc],nm=Gc.toLowerCase(),im=Gc[0].toUpperCase()+Gc.slice(1);at(nm,"on"+im)}at(fs,"onAnimationEnd"),at(ss,"onAnimationIteration"),at(ds,"onAnimationStart"),at("dblclick","onDoubleClick"),at("focusin","onFocus"),at("focusout","onBlur"),at(Mv,"onTransitionRun"),at(Tv,"onTransitionStart"),at(Dv,"onTransitionCancel"),at(os,"onTransitionEnd"),La("onMouseEnter",["mouseout","mouseover"]),La("onMouseLeave",["mouseout","mouseover"]),La("onPointerEnter",["pointerout","pointerover"]),La("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mu="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(" "),cm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mu));function Mo(l,t){t=(t&4)!==0;for(var a=0;a<l.length;a++){var e=l[a],u=e.event;e=e.listeners;l:{var n=void 0;if(t)for(var i=e.length-1;0<=i;i--){var c=e[i],f=c.instance,o=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=o;try{n(u)}catch(g){vn(g)}u.currentTarget=null,n=f}else for(i=0;i<e.length;i++){if(c=e[i],f=c.instance,o=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=o;try{n(u)}catch(g){vn(g)}u.currentTarget=null,n=f}}}}function Q(l,t){var a=t[li];a===void 0&&(a=t[li]=new Set);var e=l+"__bubble";a.has(e)||(To(t,l,2,!1),a.add(e))}function Xc(l,t,a){var e=0;t&&(e|=4),To(a,l,e,t)}var pn="_reactListening"+Math.random().toString(36).slice(2);function Cc(l){if(!l[pn]){l[pn]=!0,Of.forEach(function(a){a!=="selectionchange"&&(cm.has(a)||Xc(a,!1,l),Xc(a,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[pn]||(t[pn]=!0,Xc("selectionchange",!1,t))}}function To(l,t,a,e){switch(wo(t)){case 2:var u=qm;break;case 8:u=Bm;break;default:u=Pc}a=u.bind(null,t,a,l),u=void 0,!fi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),e?u!==void 0?l.addEventListener(t,a,{capture:!0,passive:u}):l.addEventListener(t,a,!0):u!==void 0?l.addEventListener(t,a,{passive:u}):l.addEventListener(t,a,!1)}function Qc(l,t,a,e,u){var n=e;if((t&1)===0&&(t&2)===0&&e!==null)l: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 f=i.tag;if((f===3||f===4)&&(f=i.stateNode.containerInfo,f===u||f.nodeType===8&&f.parentNode===u))return;i=i.return}for(;c!==null;){if(i=va(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){e=n=i;continue l}c=c.parentNode}}e=e.return}Gf(function(){var o=n,g=ii(a),z=[];l:{var y=vs.get(l);if(y!==void 0){var S=Vu,O=l;switch(l){case"keypress":if(Qu(a)===0)break l;case"keydown":case"keyup":S=lv;break;case"focusin":O="focus",S=vi;break;case"focusout":O="blur",S=vi;break;case"beforeblur":case"afterblur":S=vi;break;case"click":if(a.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=Qf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=Z0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=ev;break;case fs:case ss:case ds:S=K0;break;case os:S=nv;break;case"scroll":case"scrollend":S=C0;break;case"wheel":S=cv;break;case"copy":case"cut":case"paste":S=w0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Vf;break;case"toggle":case"beforetoggle":S=sv}var q=(t&4)!==0,il=!q&&(l==="scroll"||l==="scrollend"),v=q?y!==null?y+"Capture":null:y;q=[];for(var d=o,m;d!==null;){var E=d;if(m=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||m===null||v===null||(E=Ne(d,v),E!=null&&q.push(hu(d,E,m))),il)break;d=d.return}0<q.length&&(y=new S(y,O,null,a,g),z.push({event:y,listeners:q}))}}if((t&7)===0){l:{if(y=l==="mouseover"||l==="pointerover",S=l==="mouseout"||l==="pointerout",y&&a!==ni&&(O=a.relatedTarget||a.fromElement)&&(va(O)||O[Qa]))break l;if((S||y)&&(y=g.window===g?g:(y=g.ownerDocument)?y.defaultView||y.parentWindow:window,S?(O=a.relatedTarget||a.toElement,S=o,O=O?va(O):null,O!==null&&(il=N(O),q=O.tag,O!==il||q!==5&&q!==27&&q!==6)&&(O=null)):(S=null,O=o),S!==O)){if(q=Qf,E="onMouseLeave",v="onMouseEnter",d="mouse",(l==="pointerout"||l==="pointerover")&&(q=Vf,E="onPointerLeave",v="onPointerEnter",d="pointer"),il=S==null?y:Re(S),m=O==null?y:Re(O),y=new q(E,d+"leave",S,a,g),y.target=il,y.relatedTarget=m,E=null,va(g)===o&&(q=new q(v,d+"enter",O,a,g),q.target=m,q.relatedTarget=il,E=q),il=E,S&&O)t:{for(q=S,v=O,d=0,m=q;m;m=ge(m))d++;for(m=0,E=v;E;E=ge(E))m++;for(;0<d-m;)q=ge(q),d--;for(;0<m-d;)v=ge(v),m--;for(;d--;){if(q===v||v!==null&&q===v.alternate)break t;q=ge(q),v=ge(v)}q=null}else q=null;S!==null&&Do(z,y,S,q,!1),O!==null&&il!==null&&Do(z,il,O,q,!0)}}l:{if(y=o?Re(o):window,S=y.nodeName&&y.nodeName.toLowerCase(),S==="select"||S==="input"&&y.type==="file")var D=Ff;else if($f(y))if(If)D=bv;else{D=Sv;var G=rv}else S=y.nodeName,!S||S.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?o&&ui(o.elementType)&&(D=Ff):D=gv;if(D&&(D=D(l,o))){kf(z,D,a,g);break l}G&&G(l,y,o),l==="focusout"&&o&&y.type==="number"&&o.memoizedProps.value!=null&&ei(y,"number",y.value)}switch(G=o?Re(o):window,l){case"focusin":($f(G)||G.contentEditable==="true")&&(ka=G,gi=o,Ce=null);break;case"focusout":Ce=gi=ka=null;break;case"mousedown":bi=!0;break;case"contextmenu":case"mouseup":case"dragend":bi=!1,is(z,a,g);break;case"selectionchange":if(Av)break;case"keydown":case"keyup":is(z,a,g)}var U;if(hi)l:{switch(l){case"compositionstart":var H="onCompositionStart";break l;case"compositionend":H="onCompositionEnd";break l;case"compositionupdate":H="onCompositionUpdate";break l}H=void 0}else $a?wf(l,a)&&(H="onCompositionEnd"):l==="keydown"&&a.keyCode===229&&(H="onCompositionStart");H&&(Lf&&a.locale!=="ko"&&($a||H!=="onCompositionStart"?H==="onCompositionEnd"&&$a&&(U=Xf()):(Gt=g,si="value"in Gt?Gt.value:Gt.textContent,$a=!0)),G=Un(o,H),0<G.length&&(H=new Zf(H,l,null,a,g),z.push({event:H,listeners:G}),U?H.data=U:(U=Wf(a),U!==null&&(H.data=U)))),(U=ov?vv(l,a):mv(l,a))&&(H=Un(o,"onBeforeInput"),0<H.length&&(G=new Zf("onBeforeInput","beforeinput",null,a,g),z.push({event:G,listeners:H}),G.data=U)),um(z,l,o,a,g)}Mo(z,t)})}function hu(l,t,a){return{instance:l,listener:t,currentTarget:a}}function Un(l,t){for(var a=t+"Capture",e=[];l!==null;){var u=l,n=u.stateNode;u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=Ne(l,a),u!=null&&e.unshift(hu(l,u,n)),u=Ne(l,t),u!=null&&e.push(hu(l,u,n))),l=l.return}return e}function ge(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Do(l,t,a,e,u){for(var n=t._reactName,i=[];a!==null&&a!==e;){var c=a,f=c.alternate,o=c.stateNode;if(c=c.tag,f!==null&&f===e)break;c!==5&&c!==26&&c!==27||o===null||(f=o,u?(o=Ne(a,n),o!=null&&i.unshift(hu(a,o,f))):u||(o=Ne(a,n),o!=null&&i.push(hu(a,o,f)))),a=a.return}i.length!==0&&l.push({event:t,listeners:i})}var fm=/\r\n?/g,sm=/\u0000|\uFFFD/g;function Oo(l){return(typeof l=="string"?l:""+l).replace(fm,`
`).replace(sm,"")}function po(l,t){return t=Oo(t),Oo(l)===t}function _n(){}function W(l,t,a,e,u,n){switch(a){case"children":typeof e=="string"?t==="body"||t==="textarea"&&e===""||Ja(l,e):(typeof e=="number"||typeof e=="bigint")&&t!=="body"&&Ja(l,""+e);break;case"className":ju(l,"class",e);break;case"tabIndex":ju(l,"tabindex",e);break;case"dir":case"role":case"viewBox":case"width":case"height":ju(l,a,e);break;case"style":jf(l,e,n);break;case"data":if(t!=="object"){ju(l,"data",e);break}case"src":case"href":if(e===""&&(t!=="a"||a!=="href")){l.removeAttribute(a);break}if(e==null||typeof e=="function"||typeof e=="symbol"||typeof e=="boolean"){l.removeAttribute(a);break}e=Xu(""+e),l.setAttribute(a,e);break;case"action":case"formAction":if(typeof e=="function"){l.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"?(t!=="input"&&W(l,t,"name",u.name,u,null),W(l,t,"formEncType",u.formEncType,u,null),W(l,t,"formMethod",u.formMethod,u,null),W(l,t,"formTarget",u.formTarget,u,null)):(W(l,t,"encType",u.encType,u,null),W(l,t,"method",u.method,u,null),W(l,t,"target",u.target,u,null)));if(e==null||typeof e=="symbol"||typeof e=="boolean"){l.removeAttribute(a);break}e=Xu(""+e),l.setAttribute(a,e);break;case"onClick":e!=null&&(l.onclick=_n);break;case"onScroll":e!=null&&Q("scroll",l);break;case"onScrollEnd":e!=null&&Q("scrollend",l);break;case"dangerouslySetInnerHTML":if(e!=null){if(typeof e!="object"||!("__html"in e))throw Error(s(61));if(a=e.__html,a!=null){if(u.children!=null)throw Error(s(60));l.innerHTML=a}}break;case"multiple":l.multiple=e&&typeof e!="function"&&typeof e!="symbol";break;case"muted":l.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"){l.removeAttribute("xlink:href");break}a=Xu(""+e),l.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"?l.setAttribute(a,""+e):l.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"?l.setAttribute(a,""):l.removeAttribute(a);break;case"capture":case"download":e===!0?l.setAttribute(a,""):e!==!1&&e!=null&&typeof e!="function"&&typeof e!="symbol"?l.setAttribute(a,e):l.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":e!=null&&typeof e!="function"&&typeof e!="symbol"&&!isNaN(e)&&1<=e?l.setAttribute(a,e):l.removeAttribute(a);break;case"rowSpan":case"start":e==null||typeof e=="function"||typeof e=="symbol"||isNaN(e)?l.removeAttribute(a):l.setAttribute(a,e);break;case"popover":Q("beforetoggle",l),Q("toggle",l),Yu(l,"popover",e);break;case"xlinkActuate":bt(l,"http://www.w3.org/1999/xlink","xlink:actuate",e);break;case"xlinkArcrole":bt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",e);break;case"xlinkRole":bt(l,"http://www.w3.org/1999/xlink","xlink:role",e);break;case"xlinkShow":bt(l,"http://www.w3.org/1999/xlink","xlink:show",e);break;case"xlinkTitle":bt(l,"http://www.w3.org/1999/xlink","xlink:title",e);break;case"xlinkType":bt(l,"http://www.w3.org/1999/xlink","xlink:type",e);break;case"xmlBase":bt(l,"http://www.w3.org/XML/1998/namespace","xml:base",e);break;case"xmlLang":bt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",e);break;case"xmlSpace":bt(l,"http://www.w3.org/XML/1998/namespace","xml:space",e);break;case"is":Yu(l,"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=G0.get(a)||a,Yu(l,a,e))}}function Zc(l,t,a,e,u,n){switch(a){case"style":jf(l,e,n);break;case"dangerouslySetInnerHTML":if(e!=null){if(typeof e!="object"||!("__html"in e))throw Error(s(61));if(a=e.__html,a!=null){if(u.children!=null)throw Error(s(60));l.innerHTML=a}}break;case"children":typeof e=="string"?Ja(l,e):(typeof e=="number"||typeof e=="bigint")&&Ja(l,""+e);break;case"onScroll":e!=null&&Q("scroll",l);break;case"onScrollEnd":e!=null&&Q("scrollend",l);break;case"onClick":e!=null&&(l.onclick=_n);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!pf.hasOwnProperty(a))l:{if(a[0]==="o"&&a[1]==="n"&&(u=a.endsWith("Capture"),t=a.slice(2,u?a.length-7:void 0),n=l[Hl]||null,n=n!=null?n[a]:null,typeof n=="function"&&l.removeEventListener(t,n,u),typeof e=="function")){typeof n!="function"&&n!==null&&(a in l?l[a]=null:l.hasAttribute(a)&&l.removeAttribute(a)),l.addEventListener(t,e,u);break l}a in l?l[a]=e:e===!0?l.setAttribute(a,""):Yu(l,a,e)}}}function Tl(l,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Q("error",l),Q("load",l);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(s(137,t));default:W(l,t,n,i,a,null)}}u&&W(l,t,"srcSet",a.srcSet,a,null),e&&W(l,t,"src",a.src,a,null);return;case"input":Q("invalid",l);var c=n=i=u=null,f=null,o=null;for(e in a)if(a.hasOwnProperty(e)){var g=a[e];if(g!=null)switch(e){case"name":u=g;break;case"type":i=g;break;case"checked":f=g;break;case"defaultChecked":o=g;break;case"value":n=g;break;case"defaultValue":c=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(s(137,t));break;default:W(l,t,e,g,a,null)}}Nf(l,n,c,f,o,i,u,!1),xu(l);return;case"select":Q("invalid",l),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:W(l,t,u,c,a,null)}t=n,a=i,l.multiple=!!e,t!=null?Ka(l,!!e,t,!1):a!=null&&Ka(l,!!e,a,!0);return;case"textarea":Q("invalid",l),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(s(91));break;default:W(l,t,i,c,a,null)}Bf(l,e,u,n),xu(l);return;case"option":for(f in a)if(a.hasOwnProperty(f)&&(e=a[f],e!=null))switch(f){case"selected":l.selected=e&&typeof e!="function"&&typeof e!="symbol";break;default:W(l,t,f,e,a,null)}return;case"dialog":Q("cancel",l),Q("close",l);break;case"iframe":case"object":Q("load",l);break;case"video":case"audio":for(e=0;e<mu.length;e++)Q(mu[e],l);break;case"image":Q("error",l),Q("load",l);break;case"details":Q("toggle",l);break;case"embed":case"source":case"link":Q("error",l),Q("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(o in a)if(a.hasOwnProperty(o)&&(e=a[o],e!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:W(l,t,o,e,a,null)}return;default:if(ui(t)){for(g in a)a.hasOwnProperty(g)&&(e=a[g],e!==void 0&&Zc(l,t,g,e,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(e=a[c],e!=null&&W(l,t,c,e,a,null))}function dm(l,t,a,e){switch(t){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,f=null,o=null,g=null;for(S in a){var z=a[S];if(a.hasOwnProperty(S)&&z!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":f=z;default:e.hasOwnProperty(S)||W(l,t,S,null,e,z)}}for(var y in e){var S=e[y];if(z=a[y],e.hasOwnProperty(y)&&(S!=null||z!=null))switch(y){case"type":n=S;break;case"name":u=S;break;case"checked":o=S;break;case"defaultChecked":g=S;break;case"value":i=S;break;case"defaultValue":c=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(137,t));break;default:S!==z&&W(l,t,y,S,e,z)}}ai(l,i,c,f,o,g,n,u);return;case"select":S=i=c=y=null;for(n in a)if(f=a[n],a.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":S=f;default:e.hasOwnProperty(n)||W(l,t,n,null,e,f)}for(u in e)if(n=e[u],f=a[u],e.hasOwnProperty(u)&&(n!=null||f!=null))switch(u){case"value":y=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==f&&W(l,t,u,n,e,f)}t=c,a=i,e=S,y!=null?Ka(l,!!a,y,!1):!!e!=!!a&&(t!=null?Ka(l,!!a,t,!0):Ka(l,!!a,a?[]:"",!1));return;case"textarea":S=y=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:W(l,t,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":y=u;break;case"defaultValue":S=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==n&&W(l,t,i,u,e,n)}qf(l,y,S);return;case"option":for(var O in a)if(y=a[O],a.hasOwnProperty(O)&&y!=null&&!e.hasOwnProperty(O))switch(O){case"selected":l.selected=!1;break;default:W(l,t,O,null,e,y)}for(f in e)if(y=e[f],S=a[f],e.hasOwnProperty(f)&&y!==S&&(y!=null||S!=null))switch(f){case"selected":l.selected=y&&typeof y!="function"&&typeof y!="symbol";break;default:W(l,t,f,y,e,S)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var q in a)y=a[q],a.hasOwnProperty(q)&&y!=null&&!e.hasOwnProperty(q)&&W(l,t,q,null,e,y);for(o in e)if(y=e[o],S=a[o],e.hasOwnProperty(o)&&y!==S&&(y!=null||S!=null))switch(o){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(s(137,t));break;default:W(l,t,o,y,e,S)}return;default:if(ui(t)){for(var il in a)y=a[il],a.hasOwnProperty(il)&&y!==void 0&&!e.hasOwnProperty(il)&&Zc(l,t,il,void 0,e,y);for(g in e)y=e[g],S=a[g],!e.hasOwnProperty(g)||y===S||y===void 0&&S===void 0||Zc(l,t,g,y,e,S);return}}for(var v in a)y=a[v],a.hasOwnProperty(v)&&y!=null&&!e.hasOwnProperty(v)&&W(l,t,v,null,e,y);for(z in e)y=e[z],S=a[z],!e.hasOwnProperty(z)||y===S||y==null&&S==null||W(l,t,z,y,e,S)}var Vc=null,Lc=null;function Hn(l){return l.nodeType===9?l:l.ownerDocument}function Uo(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _o(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function Kc(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jc=null;function om(){var l=window.event;return l&&l.type==="popstate"?l===Jc?!1:(Jc=l,!0):(Jc=null,!1)}var Ho=typeof setTimeout=="function"?setTimeout:void 0,vm=typeof clearTimeout=="function"?clearTimeout:void 0,Ro=typeof Promise=="function"?Promise:void 0,mm=typeof queueMicrotask=="function"?queueMicrotask:typeof Ro<"u"?function(l){return Ro.resolve(null).then(l).catch(hm)}:Ho;function hm(l){setTimeout(function(){throw l})}function wc(l,t){var a=t,e=0;do{var u=a.nextSibling;if(l.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(e===0){l.removeChild(u),Au(t);return}e--}else a!=="$"&&a!=="$?"&&a!=="$!"||e++;a=u}while(a);Au(t)}function Wc(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Wc(a),ti(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}l.removeChild(a)}}function ym(l,t,a,e){for(;l.nodeType===1;){var u=a;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!e&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(e){if(!l[He])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(n=l.getAttribute("rel"),n==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(n!==u.rel||l.getAttribute("href")!==(u.href==null?null:u.href)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||l.getAttribute("title")!==(u.title==null?null:u.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(n=l.getAttribute("src"),(n!==(u.src==null?null:u.src)||l.getAttribute("type")!==(u.type==null?null:u.type)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&l.getAttribute("name")===n)return l}else return l;if(l=nt(l.nextSibling),l===null)break}return null}function rm(l,t,a){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!a||(l=nt(l.nextSibling),l===null))return null;return l}function nt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return l}function No(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var a=l.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return l;t--}else a==="/$"&&t++}l=l.previousSibling}return null}function qo(l,t,a){switch(t=Hn(a),l){case"html":if(l=t.documentElement,!l)throw Error(s(452));return l;case"head":if(l=t.head,!l)throw Error(s(453));return l;case"body":if(l=t.body,!l)throw Error(s(454));return l;default:throw Error(s(451))}}var Pl=new Map,Bo=new Set;function Rn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.ownerDocument}var Bt=V.d;V.d={f:Sm,r:gm,D:bm,C:Em,L:zm,m:Am,X:Tm,S:Mm,M:Dm};function Sm(){var l=Bt.f(),t=Mn();return l||t}function gm(l){var t=Za(l);t!==null&&t.tag===5&&t.type==="form"?id(t):Bt.r(l)}var be=typeof document>"u"?null:document;function Yo(l,t,a){var e=be;if(e&&typeof t=="string"&&t){var u=Vl(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),Bo.has(u)||(Bo.add(u),l={rel:l,crossOrigin:a,href:t},e.querySelector(u)===null&&(t=e.createElement("link"),Tl(t,"link",l),rl(t),e.head.appendChild(t)))}}function bm(l){Bt.D(l),Yo("dns-prefetch",l,null)}function Em(l,t){Bt.C(l,t),Yo("preconnect",l,t)}function zm(l,t,a){Bt.L(l,t,a);var e=be;if(e&&l&&t){var u='link[rel="preload"][as="'+Vl(t)+'"]';t==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+Vl(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+Vl(a.imageSizes)+'"]')):u+='[href="'+Vl(l)+'"]';var n=u;switch(t){case"style":n=Ee(l);break;case"script":n=ze(l)}Pl.has(n)||(l=J({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:l,as:t},a),Pl.set(n,l),e.querySelector(u)!==null||t==="style"&&e.querySelector(yu(n))||t==="script"&&e.querySelector(ru(n))||(t=e.createElement("link"),Tl(t,"link",l),rl(t),e.head.appendChild(t)))}}function Am(l,t){Bt.m(l,t);var a=be;if(a&&l){var e=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Vl(e)+'"][href="'+Vl(l)+'"]',n=u;switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=ze(l)}if(!Pl.has(n)&&(l=J({rel:"modulepreload",href:l},t),Pl.set(n,l),a.querySelector(u)===null)){switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ru(n)))return}e=a.createElement("link"),Tl(e,"link",l),rl(e),a.head.appendChild(e)}}}function Mm(l,t,a){Bt.S(l,t,a);var e=be;if(e&&l){var u=Va(e).hoistableStyles,n=Ee(l);t=t||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=e.querySelector(yu(n)))c.loading=5;else{l=J({rel:"stylesheet",href:l,"data-precedence":t},a),(a=Pl.get(n))&&$c(l,a);var f=i=e.createElement("link");rl(f),Tl(f,"link",l),f._p=new Promise(function(o,g){f.onload=o,f.onerror=g}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Nn(i,t,e)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function Tm(l,t){Bt.X(l,t);var a=be;if(a&&l){var e=Va(a).hoistableScripts,u=ze(l),n=e.get(u);n||(n=a.querySelector(ru(u)),n||(l=J({src:l,async:!0},t),(t=Pl.get(u))&&kc(l,t),n=a.createElement("script"),rl(n),Tl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Dm(l,t){Bt.M(l,t);var a=be;if(a&&l){var e=Va(a).hoistableScripts,u=ze(l),n=e.get(u);n||(n=a.querySelector(ru(u)),n||(l=J({src:l,async:!0,type:"module"},t),(t=Pl.get(u))&&kc(l,t),n=a.createElement("script"),rl(n),Tl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function jo(l,t,a,e){var u=(u=Yt.current)?Rn(u):null;if(!u)throw Error(s(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ee(a.href),a=Va(u).hoistableStyles,e=a.get(t),e||(e={type:"style",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=Ee(a.href);var n=Va(u).hoistableStyles,i=n.get(l);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,i),(n=u.querySelector(yu(l)))&&!n._p&&(i.instance=n,i.state.loading=5),Pl.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Pl.set(l,a),n||Om(u,l,a,i.state))),t&&e===null)throw Error(s(528,""));return i}if(t&&e!==null)throw Error(s(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ze(a),a=Va(u).hoistableScripts,e=a.get(t),e||(e={type:"script",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,l))}}function Ee(l){return'href="'+Vl(l)+'"'}function yu(l){return'link[rel="stylesheet"]['+l+"]"}function xo(l){return J({},l,{"data-precedence":l.precedence,precedence:null})}function Om(l,t,a,e){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?e.loading=1:(t=l.createElement("link"),e.preload=t,t.addEventListener("load",function(){return e.loading|=1}),t.addEventListener("error",function(){return e.loading|=2}),Tl(t,"link",a),rl(t),l.head.appendChild(t))}function ze(l){return'[src="'+Vl(l)+'"]'}function ru(l){return"script[async]"+l}function Go(l,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var e=l.querySelector('style[data-href~="'+Vl(a.href)+'"]');if(e)return t.instance=e,rl(e),e;var u=J({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return e=(l.ownerDocument||l).createElement("style"),rl(e),Tl(e,"style",u),Nn(e,a.precedence,l),t.instance=e;case"stylesheet":u=Ee(a.href);var n=l.querySelector(yu(u));if(n)return t.state.loading|=4,t.instance=n,rl(n),n;e=xo(a),(u=Pl.get(u))&&$c(e,u),n=(l.ownerDocument||l).createElement("link"),rl(n);var i=n;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Tl(n,"link",e),t.state.loading|=4,Nn(n,a.precedence,l),t.instance=n;case"script":return n=ze(a.src),(u=l.querySelector(ru(n)))?(t.instance=u,rl(u),u):(e=a,(u=Pl.get(n))&&(e=J({},a),kc(e,u)),l=l.ownerDocument||l,u=l.createElement("script"),rl(u),Tl(u,"link",e),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(e=t.instance,t.state.loading|=4,Nn(e,a.precedence,l));return t.instance}function Nn(l,t,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===t)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(l,n.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(l,t.firstChild))}function $c(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function kc(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var qn=null;function Xo(l,t,a){if(qn===null){var e=new Map,u=qn=new Map;u.set(a,e)}else u=qn,e=u.get(a),e||(e=new Map,u.set(a,e));if(e.has(l))return e;for(e.set(l,null),a=a.getElementsByTagName(l),u=0;u<a.length;u++){var n=a[u];if(!(n[He]||n[Dl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=l+i;var c=e.get(i);c?c.push(n):e.set(i,[n])}}return e}function Co(l,t,a){l=l.ownerDocument||l,l.head.insertBefore(a,t==="title"?l.querySelector("head > title"):null)}function pm(l,t,a){if(a===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Qo(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var Su=null;function Um(){}function _m(l,t,a){if(Su===null)throw Error(s(475));var e=Su;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=Ee(a.href),n=l.querySelector(yu(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(e.count++,e=Bn.bind(e),l.then(e,e)),t.state.loading|=4,t.instance=n,rl(n);return}n=l.ownerDocument||l,a=xo(a),(u=Pl.get(u))&&$c(a,u),n=n.createElement("link"),rl(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Tl(n,"link",a),t.instance=n}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,l),(l=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=Bn.bind(e),l.addEventListener("load",t),l.addEventListener("error",t))}}function Hm(){if(Su===null)throw Error(s(475));var l=Su;return l.stylesheets&&l.count===0&&Fc(l,l.stylesheets),0<l.count?function(t){var a=setTimeout(function(){if(l.stylesheets&&Fc(l,l.stylesheets),l.unsuspend){var e=l.unsuspend;l.unsuspend=null,e()}},6e4);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a)}}:null}function Bn(){if(this.count--,this.count===0){if(this.stylesheets)Fc(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Yn=null;function Fc(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Yn=new Map,t.forEach(Rm,l),Yn=null,Bn.call(l))}function Rm(l,t){if(!(t.state.loading&4)){var a=Yn.get(l);if(a)var e=a.get(null);else{a=new Map,Yn.set(l,a);for(var u=l.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=t.instance,i=u.getAttribute("data-precedence"),n=a.get(i)||e,n===e&&a.set(null,u),a.set(i,u),this.count++,e=Bn.bind(this),u.addEventListener("load",e),u.addEventListener("error",e),n?n.parentNode.insertBefore(u,n.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(u,l.firstChild)),t.state.loading|=4}}var gu={$$typeof:zl,Provider:null,Consumer:null,_currentValue:Ql,_currentValue2:Ql,_threadCount:0};function Nm(l,t,a,e,u,n,i,c){this.tag=1,this.containerInfo=l,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=Pn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pn(0),this.hiddenUpdates=Pn(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 Zo(l,t,a,e,u,n,i,c,f,o,g,z){return l=new Nm(l,t,a,i,c,f,o,z),t=1,n===!0&&(t|=24),n=Fl(3,null,null,t),l.current=n,n.stateNode=l,t=_i(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:e,isDehydrated:a,cache:t},sc(n),l}function Vo(l){return l?(l=Pa,l):Pa}function Lo(l,t,a,e,u,n){u=Vo(u),e.context===null?e.context=u:e.pendingContext=u,e=Jt(t),e.payload={element:a},n=n===void 0?null:n,n!==null&&(e.callback=n),a=wt(l,e,t),a!==null&&(_l(a,l,t),tu(a,l,t))}function Ko(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var a=l.retryLane;l.retryLane=a!==0&&a<t?a:t}}function Ic(l,t){Ko(l,t),(l=l.alternate)&&Ko(l,t)}function Jo(l){if(l.tag===13){var t=Xt(l,67108864);t!==null&&_l(t,l,67108864),Ic(l,67108864)}}var jn=!0;function qm(l,t,a,e){var u=R.T;R.T=null;var n=V.p;try{V.p=2,Pc(l,t,a,e)}finally{V.p=n,R.T=u}}function Bm(l,t,a,e){var u=R.T;R.T=null;var n=V.p;try{V.p=8,Pc(l,t,a,e)}finally{V.p=n,R.T=u}}function Pc(l,t,a,e){if(jn){var u=lf(e);if(u===null)Qc(l,t,e,xn,a),Wo(l,e);else if(jm(u,l,t,a,e))e.stopPropagation();else if(Wo(l,e),t&4&&-1<Ym.indexOf(l)){for(;u!==null;){var n=Za(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=oa(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-Yl(i);c.entanglements[1]|=f,i&=~f}mt(n),(al&6)===0&&(En=ft()+500,vu(0))}}break;case 13:c=Xt(n,2),c!==null&&_l(c,n,2),Mn(),Ic(n,2)}if(n=lf(e),n===null&&Qc(l,t,e,xn,a),n===u)break;u=n}u!==null&&e.stopPropagation()}else Qc(l,t,e,null,a)}}function lf(l){return l=ii(l),tf(l)}var xn=null;function tf(l){if(xn=null,l=va(l),l!==null){var t=N(l);if(t===null)l=null;else{var a=t.tag;if(a===13){if(l=P(t),l!==null)return l;l=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return xn=l,null}function wo(l){switch(l){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(E0()){case rf:return 2;case Sf:return 8;case Ru:case z0:return 32;case gf:return 268435456;default:return 32}default:return 32}}var af=!1,la=null,ta=null,aa=null,bu=new Map,Eu=new Map,ea=[],Ym="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 Wo(l,t){switch(l){case"focusin":case"focusout":la=null;break;case"dragenter":case"dragleave":ta=null;break;case"mouseover":case"mouseout":aa=null;break;case"pointerover":case"pointerout":bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function zu(l,t,a,e,u,n){return l===null||l.nativeEvent!==n?(l={blockedOn:t,domEventName:a,eventSystemFlags:e,nativeEvent:n,targetContainers:[u]},t!==null&&(t=Za(t),t!==null&&Jo(t)),l):(l.eventSystemFlags|=e,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function jm(l,t,a,e,u){switch(t){case"focusin":return la=zu(la,l,t,a,e,u),!0;case"dragenter":return ta=zu(ta,l,t,a,e,u),!0;case"mouseover":return aa=zu(aa,l,t,a,e,u),!0;case"pointerover":var n=u.pointerId;return bu.set(n,zu(bu.get(n)||null,l,t,a,e,u)),!0;case"gotpointercapture":return n=u.pointerId,Eu.set(n,zu(Eu.get(n)||null,l,t,a,e,u)),!0}return!1}function $o(l){var t=va(l.target);if(t!==null){var a=N(t);if(a!==null){if(t=a.tag,t===13){if(t=P(a),t!==null){l.blockedOn=t,H0(l.priority,function(){if(a.tag===13){var e=Cl(),u=Xt(a,e);u!==null&&_l(u,a,e),Ic(a,e)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){l.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Gn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var a=lf(l.nativeEvent);if(a===null){a=l.nativeEvent;var e=new a.constructor(a.type,a);ni=e,a.target.dispatchEvent(e),ni=null}else return t=Za(a),t!==null&&Jo(t),l.blockedOn=a,!1;t.shift()}return!0}function ko(l,t,a){Gn(l)&&a.delete(t)}function xm(){af=!1,la!==null&&Gn(la)&&(la=null),ta!==null&&Gn(ta)&&(ta=null),aa!==null&&Gn(aa)&&(aa=null),bu.forEach(ko),Eu.forEach(ko)}function Xn(l,t){l.blockedOn===t&&(l.blockedOn=null,af||(af=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,xm)))}var Cn=null;function Fo(l){Cn!==l&&(Cn=l,h.unstable_scheduleCallback(h.unstable_NormalPriority,function(){Cn===l&&(Cn=null);for(var t=0;t<l.length;t+=3){var a=l[t],e=l[t+1],u=l[t+2];if(typeof e!="function"){if(tf(e||a)===null)continue;break}var n=Za(a);n!==null&&(l.splice(t,3),t-=3,Ki(n,{pending:!0,data:u,method:a.method,action:e},e,u))}}))}function Au(l){function t(f){return Xn(f,l)}la!==null&&Xn(la,l),ta!==null&&Xn(ta,l),aa!==null&&Xn(aa,l),bu.forEach(t),Eu.forEach(t);for(var a=0;a<ea.length;a++){var e=ea[a];e.blockedOn===l&&(e.blockedOn=null)}for(;0<ea.length&&(a=ea[0],a.blockedOn===null);)$o(a),a.blockedOn===null&&ea.shift();if(a=(l.ownerDocument||l).$$reactFormReplay,a!=null)for(e=0;e<a.length;e+=3){var u=a[e],n=a[e+1],i=u[Hl]||null;if(typeof n=="function")i||Fo(a);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[Hl]||null)c=i.formAction;else if(tf(u)!==null)continue}else c=i.action;typeof c=="function"?a[e+1]=c:(a.splice(e,3),e-=3),Fo(a)}}}function ef(l){this._internalRoot=l}Qn.prototype.render=ef.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(s(409));var a=t.current,e=Cl();Lo(a,e,l,t,null,null)},Qn.prototype.unmount=ef.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;l.tag===0&&re(),Lo(l.current,2,null,l,null,null),Mn(),t[Qa]=null}};function Qn(l){this._internalRoot=l}Qn.prototype.unstable_scheduleHydration=function(l){if(l){var t=Tf();l={blockedOn:null,target:l,priority:t};for(var a=0;a<ea.length&&t!==0&&t<ea[a].priority;a++);ea.splice(a,0,l),a===0&&$o(l)}};var Io=b.version;if(Io!=="19.0.0")throw Error(s(527,Io,"19.0.0"));V.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(s(188)):(l=Object.keys(l).join(","),Error(s(268,l)));return l=Ga(t),l=l!==null?da(l):null,l=l===null?null:l.stateNode,l};var Gm={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:R,findFiberByHostInstance:va,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zn.isDisabled&&Zn.supportsFiber)try{pe=Zn.inject(Gm),Bl=Zn}catch{}}return Mu.createRoot=function(l,t){if(!A(l))throw Error(s(299));var a=!1,e="",u=hd,n=yd,i=rd,c=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(e=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(c=t.unstable_transitionCallbacks)),t=Zo(l,1,!1,null,null,a,e,u,n,i,c,null),l[Qa]=t.current,Cc(l.nodeType===8?l.parentNode:l),new ef(t)},Mu.hydrateRoot=function(l,t,a){if(!A(l))throw Error(s(299));var e=!1,u="",n=hd,i=yd,c=rd,f=null,o=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&&(f=a.unstable_transitionCallbacks),a.formState!==void 0&&(o=a.formState)),t=Zo(l,1,!0,t,a??null,e,u,n,i,c,f,o),t.context=Vo(null),a=t.current,e=Cl(),u=Jt(e),u.callback=null,wt(a,u,e),t.current.lanes=e,_e(t,e),mt(t),l[Qa]=t.current,Cc(l),new Qn(t)},Mu.version="19.0.0",Mu}var u0;function oh(){if(u0)return nf.exports;u0=1;function h(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h)}catch(b){console.error(b)}}return h(),nf.exports=dh(),nf.exports}var vh=oh();const mh=Vm(vh),d0={crm:!0,env_massa:!0,ia:!0,calendar:!0,flow:!0,funnil_crm:!0,att_atendimento:!0,follow_up:!0,status:!0,api:!0,webhook:!0,links:!0,start_chat:!0,afiliate_link:!0,google_funcs:!0},Du=Me()(h=>({activeView:!0,setActiveView:b=>h(()=>{localStorage.setItem("active-view-menu",String(b));const r=document.querySelector("main");return r&&r.setAttribute("active-view-menu",String(b)),{activeView:b}}),activeHeader:!0,setActiveHeader:b=>h({activeHeader:b}),activeMenu:d0,setActiveMenu:b=>h(r=>{const s={...r.activeMenu,[b]:!r.activeMenu[b]};return Tu("usePluginMenu","pluginMenu",[s]),{activeMenu:s}}),tema:"default",setTema:b=>h(()=>{Tu("ThemeMenu","activeTheme",[b]);const r=document.querySelector("main");return r&&r.setAttribute("theme-active",String(b)),{tema:b}})}));(async()=>{let h=!0;const b=localStorage.getItem("active-view-menu");b&&b=="false"&&(h=!1);let r=d0;const s=await Ln("usePluginMenu","pluginMenu");s&&s[0]&&s[0][0]&&(r=s[0][0]);let A="default";const M=await Ln("ThemeMenu","activeTheme");M&&M[0]&&M[0][0]&&(A=M[0][0]),Du.setState({activeView:h,activeMenu:r,tema:A})})();const hh=()=>{const{setActiveView:h,setActiveHeader:b}=Du.getState();ql.getState().getSeletor("whatsModal",r=>{new MutationObserver(A=>{for(const M of A)M.type==="childList"&&(M.addedNodes.length>0&&(h(!1),b(!1)),M.removedNodes.length>0&&(h(!0),b(!0)))}).observe(r,{childList:!0})})},o0=I.createContext(void 0);function $h(){const h=I.useContext(o0);if(!h)throw new Error("Place PrivacityContext inside PrivacityProvider");return h}const n0={privacitySettings:!0};function yh({children:h}){const b={photoHidden:{hide:!1},nameHidden:{hide:!1},midiaHidden:{hide:!1},galeryHidden:{hide:!1},lastMessageHidden:{hide:!1},messageHidden:{hide:!1}},[r,s]=I.useState(b);return I.useEffect(()=>{if(n0.privacitySettings&&localStorage.getItem("privacityOptions")){let M=Po.decryptData(localStorage.getItem("privacityOptions"));s(M),n0.privacitySettings=!1}else{let M=Po.encryptData(r);localStorage.setItem("privacityOptions",M)}let A="";Object.entries(r).map(([M,_])=>{_.hide&&(A+=M+" ")}),A.length===0?document.body.removeAttribute("hide"):document.body.setAttribute("hide",A)},[r]),p.jsx(o0.Provider,{value:{privacityOptions:r,setPrivacityOptions:s},children:h})}const rh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080941.js")),[]));function Sh(){return Du(b=>b.activeHeader)&&p.jsx(I.Suspense,{fallback:p.jsx(p.Fragment,{}),children:p.jsx(rh,{})})}async function gh(h,b=1e4,r=void 0){try{return await Promise.race([h,new Promise(s=>setTimeout(()=>s(r),b))])}catch(s){return console.error("Erro em safeAwait:",s),r}}const sf=h=>{var b;try{const r=(b=ht==null?void 0:ht.getState())==null?void 0:b.chats[0];h=h.replaceAll("#primeiroNome",r.name.split(" ")[0]),h=h.replaceAll("#nomes",r.name),h=h.replaceAll("#nome",r.name);for(const s in r)s&&s.length>0&&r.hasOwnProperty(s)&&(h=h.replaceAll(`#${s}`,r[s]));return h}catch(r){return console.error("Erro ao adicionar a #tag do envio em massa",r),h}},bh=()=>{const{acao:h}=Ba.getState();return h.map(b=>{const r={...b};if(r.type==="txt"||r.type==="image"||r.type==="video"){const s={...r.propriedades};s.mensagem&&(s.mensagem=sf(s.mensagem)),r.propriedades=s}if(r.type==="linkPreview"){const s={...r.propriedades};s.description&&(s.description=sf(s.description)),s.title&&(s.title=sf(s.title)),r.propriedades=s}return r})},Vn=(h,b)=>{const{statusEnvio:r,setStatusEnvio:s}=ht.getState(),{updateRelatorio:A}=Fm.getState(),M={id:r.index,nome:b.name,phone:b.id.includes("@g.us")?b.id.replace("@g.us",""):b.id.includes("@c.us")?b.id.replace("@c.us",""):b.id,status:"Erro",hora:Date.now()};h?(M.status="Enviado",s({index:r.index+1,success:r.success+1,percent:Math.round((r.index+1)*100/r.total)})):(M.status="Erro",s({index:r.index+1,erro:r.erro+1,percent:Math.round((r.index+1)*100/r.total)})),ht.setState(_=>({chats:_.chats.slice(1)})),A({id:r.id.toString(),send:[M]})};async function Eh(){const{chats:h,setInfo:b}=ht.getState(),{assinatura:r}=Ou.getState(),{language:s}=mf.getState(),A=h[0];try{if(A.id==0){A.name="Whatsapp",Vn(!1,A);return}if(b(`${s.envMassaRemetente} ${A.name}`),A.imported&&await gh(f0.Contact("queryExists",l0(A.id)),7e3,"undefined")==="undefined"){Vn(!1,A);return}let M=await km(l0(A.id),bh(),r,"useAcaoEnvioEmMassa");Vn(M,A)}catch(M){console.error("Erro ao tentar realizar o envio",M),Vn(!1,A)}}async function vf(){const{statusEnvio:h,config:b,chats:r,setChats:s,setInfo:A,updateIndexDB:M,setStatusEnvio:_,setActiveAgrupamento:x,setTimePause:B}=ht.getState(),{clearAcao:C}=Ba.getState(),{language:sl}=mf.getState();if(h.index%parseInt(b.pausa)==0&&h.index>0?(A(`${sl.envMassaPausa} ${b.tempoPausa} ${sl.segundos}`),await i0(parseInt(b.tempoPausa)*1e3)):(A(`${sl.envMassaIntervalo} ${b.intervalo} ${sl.segundos}`),await i0(parseInt(b.intervalo)*1e3)),await Eh(),M(),r[1]===void 0||h.estado==="Finalized"){x({name:"",color:""}),_({estado:"Finalized"}),s([]),_({estado:"Finalized"}),C(),A(sl.envMassaFinalized),M(!0);return}if(!of.getState().user.estado&&h.index>4){_({estado:"Paused",pause:!0}),A(sl.envMassaPaused),B(!1),df({type:"Info",message:sl.envMassaNotLogin,position:"top-right"});return}switch(h.estado){case"Paused":case"Paused-Process":A(sl.envMassaPaused),B(!1);break;case"Canceled":M(!0),_({index:0,erro:0,success:0,total:0,percent:0,estado:"Finalized",pause:!1}),A(""),x({name:"",color:""}),C();break;case"Atived":vf();break}}function i0(h){return new Promise(b=>setTimeout(b,h))}const ht=Me()((h,b)=>({statusEnvio:{id:0,index:0,erro:0,success:0,total:0,percent:0,estado:"Finalized",pause:!1},setStatusEnvio:r=>h(s=>({statusEnvio:{...s.statusEnvio,...r}})),info:"",setInfo:r=>h({info:r}),chats:[],setChats:r=>h({chats:r}),activeAgrupamento:{name:"",color:""},setActiveAgrupamento:r=>h({activeAgrupamento:r}),send:!1,setSend:r=>h({send:r}),config:{intervalo:"10",pausa:"10",tempoPausa:"60"},setConfig:(r,s)=>h(A=>({config:{...A.config,[r]:s}})),getVariaveis:()=>{const{chats:r}=b();let s=[];return r.forEach(A=>{Object.keys(A).forEach(M=>{if(!s.includes(M)){if(M==="labels"||M==="imported")return;M==="id"&&(M="numero"),M==="name"&&(M="nome",s.includes("primeiroNome")||s.push("primeiroNome")),s.includes(M)||s.push(M)}})}),s},cancelarEnvio:()=>{const{setStatusEnvio:r,setSend:s,setChats:A,updateIndexDB:M,setActiveAgrupamento:_}=b(),{clearAcao:x}=Ba.getState(),{setActiveMenu:B}=Ou.getState();_({name:"",color:""}),A([]),r({estado:"Canceled"}),s(!1),B("Envio Rápido"),x(),M(!0)},timePause:!1,setTimePause:r=>h({timePause:r}),pausePlay:()=>{const{user:r}=of.getState(),{statusEnvio:s,setStatusEnvio:A,timePause:M,setTimePause:_}=b(),{openRendertype:x}=Im.getState();if(!r.estado){x("user_free");return}M||(s.pause?(A({estado:"Atived",pause:!1}),vf()):(A({estado:"Paused",pause:!0}),_(!0)))},initDisparo:()=>{const{updateIndexDB:r,setSend:s,setStatusEnvio:A,chats:M}=b(),{language:_}=mf.getState(),{user:x}=of.getState();x.estado?df({type:"Info",message:`${_.msg_info_janela}`,position:"top-right"}):(df({type:"Info",message:`${_.msg_info_gratuito}`,position:"top-right"}),ht.setState({chats:x.estado?M:M.slice(0,5)})),r(),A({id:Date.now(),estado:"Atived",index:0,erro:0,success:0,total:(x.estado?M:M.slice(0,5)).length,percent:0}),s(!0),vf()},updateIndexDB:(r=!1)=>{const{chats:s,config:A,statusEnvio:M}=b(),{acao:_}=Ba.getState();r?Tu("envioEmMassa","useCampanha",{}):Tu("envioEmMassa","useCampanha",{chats:s,config:A,acao:_,statusEnvio:M})}}));(async()=>{var b,r;const h=await Ln("envioEmMassa","useCampanha");h[0]&&((r=(b=h[0])==null?void 0:b.chats)==null?void 0:r.length)>0&&(ht.setState({chats:h[0].chats,config:h[0].config,statusEnvio:{...h[0].statusEnvio,estado:"Paused",pause:!0},send:!0,info:"Envio das mensagens Pausado"}),Ba.setState({acao:h[0].acao}),Ou.getState().setActiveMenu("Enviar Campanha"))})();const Ou=Me()((h,b)=>({open:!1,setOpen:r=>{const{send:s}=ht.getState(),{setActiveMenu:A}=b();A(r&&s?"Enviar Campanha":"Envio Rápido"),h({open:r})},activeMenu:"Envio Rápido",setActiveMenu:r=>h({activeMenu:r}),viewContatos:{isOpen:!1,type:"create",content:[]},setViewContatos:r=>h({viewContatos:r}),setAcaoEnvioEmMassa:r=>{const{acao:s}=Ba.getState(),{getAction:A}=Pm.getState();let M=[];const _=x=>{let B=[];for(let C of A(x))B.push({...C,id:Cm()});M.push(...B)};if(r.type==="script")for(let x of r.script)_(x.id);else _(r.id);Ba.setState({acao:[...s,...M]})},assinatura:{desativar:!1,personalizar:!1,nome:""},setAssinatura:(r,s)=>h(A=>{let M=A.assinatura;return r==="desativar"&&s?M={...A.assinatura,desativar:!0,personalizar:!1}:r==="personalizar"&&s?M={...A.assinatura,personalizar:!0,desativar:!1}:M={...A.assinatura,[r]:s},Tu("envioEmMassa-assinatura","assinatura",[M]),{assinatura:M}})}));(async()=>{const h=await Ln("envioEmMassa-assinatura","assinatura");h&&h[0]&&h[0][0]&&Ou.setState({assinatura:h[0][0]})})();const zh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080942.js")),[]));function Ah(){const{open:h}=Ou();return h&&p.jsx(I.Suspense,{fallback:p.jsx(p.Fragment,{}),children:p.jsx(zh,{})})}const Mh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080943.js")),[]));function Th(){return p.jsx(I.Suspense,{fallback:p.jsx(p.Fragment,{}),children:p.jsx(Mh,{})})}const v0=document.createElement("section");v0.setAttribute("data-id","ChatName");const m0=document.createElement("section");m0.setAttribute("data-id","MenuVertical");const h0=document.createElement("section");h0.setAttribute("data-id","MenuHorizontal");const y0=document.createElement("section");y0.setAttribute("data-id","ActionMonitor");const Kn=document.createElement("section");Kn.setAttribute("data-id","AssistenteDeChat");const wn=document.createElement("section");wn.setAttribute("data-id","FooterIconsLeft");wn.setAttribute("style","display: contents;");const hf=document.createElement("section");hf.setAttribute("data-id","FooterIconsRight");const Jn=document.createElement("section");Jn.setAttribute("data-id","MenuFooter");const yf=document.createElement("section");yf.setAttribute("data-id","RespostaRapida");const Dh=[{father:()=>ql.getState().getSeletor("chatName"),children:v0,type:"insert",renderInblockChat:!0,renderInLid:!1},{father:()=>ql.getState().getSeletor("menuVertical"),children:m0,type:"prepend",renderInblockChat:!0,renderInLid:!1},{father:()=>ql.getState().getSeletor("menuHorizontal"),children:h0,type:"prepend",renderInblockChat:!0,renderInLid:!0},{father:()=>ql.getState().getSeletor("menuFooter"),children:Jn,type:"appendChild",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("respostaRapida"),children:yf,type:"appendChild",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("assistenteChat"),children:Kn,type:"prepend",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("actionMonitor"),children:y0,type:"insertAdjacentElement",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("footerIconsLeft"),children:wn,type:"prepend",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("respostaRapida"),children:hf,type:"appendChild",renderInblockChat:!1,renderInLid:!0}];c0.subscribe(h=>{const{getSeletor:b}=ql.getState(),{isNewModel:r}=lh.getState();Dh.map(({father:_,children:x,type:B,renderInblockChat:C,renderInLid:sl})=>{var El,el,zl;if(!((!h.activeChat||!h.activeChat.canSend)&&!C)&&!(!sl&&h.activeChat.id.server==="@lid"))switch(B){case"prepend":(El=_())==null||El.prepend(x);break;case"insert":let pl=_();pl&&(pl.innerHTML="",pl.prepend(x));break;case"insertAdjacentElement":(el=_())==null||el.insertAdjacentElement("afterend",x);break;case"appendChild":default:(zl=_())==null||zl.appendChild(x);break}});const s=()=>{r||b("mainAudio",_=>{new MutationObserver(B=>{B[0].removedNodes.length!==0&&b("menuFooter",C=>{C.appendChild(Jn)})}).observe(_,{childList:!0})})};s(),r?(()=>{b("observerFooterNewModel",_=>{new MutationObserver(B=>{B[0].removedNodes.length!==0&&(b("respostaRapida",C=>{C.appendChild(hf)}),b("footerIconsLeft",C=>{C.prepend(wn)}),b("assistenteChat",C=>{C.prepend(Kn)}))}).observe(_,{childList:!0})})})():(()=>{b("observerFooter",_=>{new MutationObserver(B=>{B[0].removedNodes.length!==0&&(b("menuFooter",C=>{C.appendChild(Jn)}),b("respostaRapida",C=>{C.appendChild(yf)}),b("assistenteChat",C=>{C.prepend(Kn)}),s())}).observe(_,{childList:!0})})})()});const Oh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080944.js")),[]));function ph(){return c0(b=>b.activeChat)&&p.jsx(I.Suspense,{fallback:p.jsx(p.Fragment,{}),children:p.jsx(Oh,{})})}const r0=document.createElement("section");r0.setAttribute("data-id","MenuLateral");r0.setAttribute("render-mode","window");const Uh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080945.js")),[]));function _h(){const h=uf(s=>s.menuContent),b=uf(s=>s.isOpen),r=uf(s=>s.isThree);return h.children!=="close"&&!r&&b&&p.jsx(I.Suspense,{fallback:p.jsx(p.Fragment,{}),children:p.jsx(Uh,{})})}const Hh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080946.js")).then(h=>h.i),[]));function Rh(){return Du(b=>b.activeView)&&p.jsx(I.Suspense,{fallback:p.jsx(p.Fragment,{}),children:p.jsx(Hh,{})})}const S0=Me(h=>({modalExterno:null,zIndex:900,btnClose:!1,auxFunc:{mounted:null,desmouted:null},open:(b,r=900,s=!1,A={mounted:null,desmouted:null})=>{A.mounted&&A.mounted(),h(()=>({modalExterno:b,zIndex:r,btnClose:s,auxFunc:A}))},close:()=>h(b=>(b.auxFunc.desmouted&&b.auxFunc.desmouted(),{modalExterno:null})),openRendertype:(b,r=900,s=!1,A={mounted:null,desmouted:null})=>{let M;switch(b){case"Active_IA":M=p.jsx(th,{});break}S0.getState().open(M,r,s,A)}}));function Nh(){const{modalExterno:h,btnClose:b,close:r,zIndex:s}=S0(),A=I.useRef(null),M=I.useRef(null);return I.useEffect(()=>{const _=x=>{const B=document.querySelector(".iziToast-wrapper"),C=document.querySelector('section[data-id="Modal Options"]'),sl=document.querySelector('section[data-id="Modal"]');b&&A.current&&!M.current.contains(x.target)&&(!B||!B.contains(x.target))&&!C&&!sl&&r()};return h&&document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[h]),h&&p.jsx("section",{"data-id":"Modal Externo",children:p.jsx("dialog",{id:"my_modal_5",ref:A,className:"modal modal-bottom sm:modal-middle !absolute bg-[var(--modal-backdrop)] overflow-hidden !opacity-100 !pointer-events-auto !visible",style:{zIndex:s},children:p.jsxs("div",{ref:M,className:"animate__animated animate__zoomIn relative overflow-hidden !max-w-none !max-h-none !w-fit !h-fit p-[2px]",children:[b&&p.jsx("span",{className:"absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",onClick:r,children:p.jsx(s0,{className:"w-full h-full text-[var(--primary-strong)]"})}),p.jsx("div",{className:"w-full h-full",children:h})]})})})}const qh=Me()(h=>({modal:null,btnClose:!0,auxFunc:{mounted:null,desmouted:null},open:(b,r=!0,s={mounted:null,desmouted:null})=>h(()=>(s.mounted&&s.mounted(),{modal:b,btnClose:r,auxFunc:s})),close:()=>h(b=>(b.auxFunc.desmouted&&b.auxFunc.desmouted(),{modal:null}))}));function Bh(){const{modal:h,btnClose:b,close:r}=qh(),s=I.useRef(null),A=I.useRef(null);return I.useLayoutEffect(()=>{const M=_=>{const x=document.querySelector(".iziToast-wrapper"),B=document.querySelector('section[data-id="Modal Options"]'),C=document.querySelector('section[data-id="Modal Emoji"]'),sl=document.querySelector('section[data-id="Modal Externo"]');b&&s.current&&!A.current.contains(_.target)&&(!x||!x.contains(_.target))&&!B&&!C&&!sl&&r()};return h&&document.addEventListener("mousedown",M),()=>{document.removeEventListener("mousedown",M)}},[h]),h&&p.jsx("section",{"data-id":"ModalLateral",children:p.jsx("div",{ref:s,className:"h-full w-full fixed top-0 shadow-lg overflow-auto box-sizing z-[111]",children:p.jsxs("div",{ref:A,className:"modalLateral animate__animated animate__fadeInLeft border-[var(--conversation-header-border)] border-solid border-r overflow-hidden",children:[b?p.jsx("span",{className:"absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",onClick:r,children:p.jsx(s0,{className:"w-full h-full text-[var(--primary-strong)]"})}):void 0,p.jsx("div",{className:"w-full h-full",children:h})]})})})}const Yh=Me()(h=>({isHover:!1,content:"",options:{},referenceElement:null,style:{},open:(b,r,s,A={})=>h(()=>({isHover:!0,content:b,referenceElement:s,options:r,style:A})),close:()=>h(()=>({isHover:!1,content:"",referenceElement:null,options:{},style:{}}))}));function jh(){const{isHover:h,content:b,referenceElement:r,options:s,style:A}=Yh(),M=I.useRef(null),{refs:_,floatingStyles:x,context:B}=Jm({...s,middleware:[Wm(10),$m({element:M})]});return I.useEffect(()=>{r&&_.setReference(r)},[r,_]),h&&p.jsx("section",{"data-id":"Tooltip",children:p.jsx("div",{ref:_.setFloating,className:"z-[9999999]",style:{...x,...A},children:p.jsxs("div",{className:"rounded shadow-sm bg-label-gradient border border-solid border-[var(--terciaria)] animate__animated animate__pulse",children:[p.jsx(wm,{ref:M,context:B,className:"fill-[var(--primaria)] w-3 h-3"}),p.jsx("div",{className:"text-[var(--letra)] p-[6px]",children:b})," "]})})})}const qa=document.createElement("main");document.body.prepend(qa);qa.setAttribute("theme-active","default");qa.setAttribute("active-view-menu","true");const xh=()=>{const{getSeletor:h}=ql();return I.useLayoutEffect(()=>{h("afiliadoMain",b=>{qa.appendChild(b)}),(()=>{const b=document.querySelector("#app > div");if(!b)return;const r=()=>{const A=b.className.trim().split(/\s+/),M=A.indexOf("os-win");if(M!==-1){const _=A.slice(0,M+1).join(" ");b.className!==_&&(b.className=_)}};new MutationObserver(r).observe(b,{attributes:!0,attributeFilter:["class"]}),r()})()},[]),p.jsxs(yh,{children:[p.jsx(Zm,{}),p.jsx(eh,{}),p.jsx(uh,{}),p.jsx(ch,{}),p.jsx(nh,{}),p.jsx(Nh,{}),p.jsx(jh,{}),p.jsx(Bh,{}),p.jsx(Rh,{}),p.jsx(Sh,{}),p.jsx(Ah,{}),p.jsx(Th,{}),p.jsx(ph,{}),p.jsx(_h,{})]})};(async()=>{try{const b=await(await fetch(ih.domSelector)).json();ql.setState({domSelector:b})}catch(h){console.error("Error ao tentar Capturar o Dom Selector virtual",h)}finally{const{getElement:h,domSelector:b}=ql.getState();Qm(h("paneSide"),()=>{mh.createRoot(qa).render(p.jsx(xh,{})),qa.setAttribute("active-assistente-chat",String(ah.getState().assistente.active)),qa.setAttribute("theme-active",String(Du.getState().tema)),hh()}),f0.DomSelector("set",b)}})();const kh=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{y0 as A,v0 as C,wn as F,m0 as M,yf as R,Ou as a,ht as b,h0 as c,Kn as d,Jn as e,hf as f,r0 as g,S0 as h,Du as i,qh as j,$h as k,kh as m,Yh as u};
