File size: 209,931 Bytes
748f0c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
var Zd=Object.defineProperty;var Bu=e=>{throw TypeError(e)};var qd=(e,t,n)=>t in e?Zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Y=(e,t,n)=>qd(e,typeof t!="symbol"?t+"":t,n),Jd=(e,t,n)=>t.has(e)||Bu("Cannot "+n);var Hu=(e,t,n)=>t.has(e)?Bu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);var ul=(e,t,n)=>(Jd(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function bd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pc={exports:{}},gi={},hc={exports:{}},F={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Kr=Symbol.for("react.element"),ep=Symbol.for("react.portal"),tp=Symbol.for("react.fragment"),np=Symbol.for("react.strict_mode"),rp=Symbol.for("react.profiler"),lp=Symbol.for("react.provider"),ip=Symbol.for("react.context"),op=Symbol.for("react.forward_ref"),sp=Symbol.for("react.suspense"),up=Symbol.for("react.memo"),ap=Symbol.for("react.lazy"),Wu=Symbol.iterator;function cp(e){return e===null||typeof e!="object"?null:(e=Wu&&e[Wu]||e["@@iterator"],typeof e=="function"?e:null)}var mc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gc=Object.assign,yc={};function Kn(e,t,n){this.props=e,this.context=t,this.refs=yc,this.updater=n||mc}Kn.prototype.isReactComponent={};Kn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vc(){}vc.prototype=Kn.prototype;function vs(e,t,n){this.props=e,this.context=t,this.refs=yc,this.updater=n||mc}var ks=vs.prototype=new vc;ks.constructor=vs;gc(ks,Kn.prototype);ks.isPureReactComponent=!0;var Vu=Array.isArray,kc=Object.prototype.hasOwnProperty,ws={current:null},wc={key:!0,ref:!0,__self:!0,__source:!0};function xc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)kc.call(t,r)&&!wc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:Kr,type:e,key:i,ref:o,props:l,_owner:ws.current}}function fp(e,t){return{$$typeof:Kr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function xs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kr}function dp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qu=/\/+/g;function Wi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dp(""+e.key):t.toString(36)}function Pl(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Kr:case ep:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+Wi(o,0):r,Vu(l)?(n="",e!=null&&(n=e.replace(Qu,"$&/")+"/"),Pl(l,t,n,"",function(a){return a})):l!=null&&(xs(l)&&(l=fp(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(Qu,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",Vu(e))for(var s=0;s<e.length;s++){i=e[s];var u=r+Wi(i,s);o+=Pl(i,t,n,u,l)}else if(u=cp(e),typeof u=="function")for(e=u.call(e),s=0;!(i=e.next()).done;)i=i.value,u=r+Wi(i,s++),o+=Pl(i,t,n,u,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function al(e,t,n){if(e==null)return e;var r=[],l=0;return Pl(e,r,"","",function(i){return t.call(n,i,l++)}),r}function pp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ce={current:null},Al={transition:null},hp={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:Al,ReactCurrentOwner:ws};function Sc(){throw Error("act(...) is not supported in production builds of React.")}F.Children={map:al,forEach:function(e,t,n){al(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return al(e,function(){t++}),t},toArray:function(e){return al(e,function(t){return t})||[]},only:function(e){if(!xs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=Kn;F.Fragment=tp;F.Profiler=rp;F.PureComponent=vs;F.StrictMode=np;F.Suspense=sp;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hp;F.act=Sc;F.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=gc({},e.props),l=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=ws.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)kc.call(t,u)&&!wc.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var a=0;a<u;a++)s[a]=arguments[a+2];r.children=s}return{$$typeof:Kr,type:e.type,key:l,ref:i,props:r,_owner:o}};F.createContext=function(e){return e={$$typeof:ip,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lp,_context:e},e.Consumer=e};F.createElement=xc;F.createFactory=function(e){var t=xc.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:op,render:e}};F.isValidElement=xs;F.lazy=function(e){return{$$typeof:ap,_payload:{_status:-1,_result:e},_init:pp}};F.memo=function(e,t){return{$$typeof:up,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=Al.transition;Al.transition={};try{e()}finally{Al.transition=t}};F.unstable_act=Sc;F.useCallback=function(e,t){return Ce.current.useCallback(e,t)};F.useContext=function(e){return Ce.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return Ce.current.useDeferredValue(e)};F.useEffect=function(e,t){return Ce.current.useEffect(e,t)};F.useId=function(){return Ce.current.useId()};F.useImperativeHandle=function(e,t,n){return Ce.current.useImperativeHandle(e,t,n)};F.useInsertionEffect=function(e,t){return Ce.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return Ce.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return Ce.current.useMemo(e,t)};F.useReducer=function(e,t,n){return Ce.current.useReducer(e,t,n)};F.useRef=function(e){return Ce.current.useRef(e)};F.useState=function(e){return Ce.current.useState(e)};F.useSyncExternalStore=function(e,t,n){return Ce.current.useSyncExternalStore(e,t,n)};F.useTransition=function(){return Ce.current.useTransition()};F.version="18.3.1";hc.exports=F;var ae=hc.exports;const mp=bd(ae);/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var gp=ae,yp=Symbol.for("react.element"),vp=Symbol.for("react.fragment"),kp=Object.prototype.hasOwnProperty,wp=gp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,xp={key:!0,ref:!0,__self:!0,__source:!0};function Ec(e,t,n){var r,l={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)kp.call(t,r)&&!xp.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:yp,type:e,key:i,ref:o,props:l,_owner:wp.current}}gi.Fragment=vp;gi.jsx=Ec;gi.jsxs=Ec;pc.exports=gi;var _=pc.exports,xo={},_c={exports:{}},He={},Tc={exports:{}},Cc={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(R,z){var I=R.length;R.push(z);e:for(;0<I;){var O=I-1>>>1,re=R[O];if(0<l(re,z))R[O]=z,R[I]=re,I=O;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var z=R[0],I=R.pop();if(I!==z){R[0]=I;e:for(var O=0,re=R.length,te=re>>>1;O<te;){var ot=2*(O+1)-1,G=R[ot],Me=ot+1,Rt=R[Me];if(0>l(G,I))Me<re&&0>l(Rt,G)?(R[O]=Rt,R[Me]=I,O=Me):(R[O]=G,R[ot]=I,O=ot);else if(Me<re&&0>l(Rt,I))R[O]=Rt,R[Me]=I,O=Me;else break e}}return z}function l(R,z){var I=R.sortIndex-z.sortIndex;return I!==0?I:R.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],a=[],m=1,g=null,p=3,y=!1,w=!1,x=!1,D=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(R){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=R)r(a),z.sortIndex=z.expirationTime,t(u,z);else break;z=n(a)}}function v(R){if(x=!1,h(R),!w)if(n(u)!==null)w=!0,qn(T);else{var z=n(a);z!==null&&Jn(v,z.startTime-R)}}function T(R,z){w=!1,x&&(x=!1,d(N),N=-1),y=!0;var I=p;try{for(h(z),g=n(u);g!==null&&(!(g.expirationTime>z)||R&&!V());){var O=g.callback;if(typeof O=="function"){g.callback=null,p=g.priorityLevel;var re=O(g.expirationTime<=z);z=e.unstable_now(),typeof re=="function"?g.callback=re:g===n(u)&&r(u),h(z)}else r(u);g=n(u)}if(g!==null)var te=!0;else{var ot=n(a);ot!==null&&Jn(v,ot.startTime-z),te=!1}return te}finally{g=null,p=I,y=!1}}var S=!1,C=null,N=-1,$=5,M=-1;function V(){return!(e.unstable_now()-M<$)}function Re(){if(C!==null){var R=e.unstable_now();M=R;var z=!0;try{z=C(!0,R)}finally{z?Ve():(S=!1,C=null)}}else S=!1}var Ve;if(typeof c=="function")Ve=function(){c(Re)};else if(typeof MessageChannel<"u"){var mn=new MessageChannel,Ii=mn.port2;mn.port1.onmessage=Re,Ve=function(){Ii.postMessage(null)}}else Ve=function(){D(Re,0)};function qn(R){C=R,S||(S=!0,Ve())}function Jn(R,z){N=D(function(){R(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){w||y||(w=!0,qn(T))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(R){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var I=p;p=z;try{return R()}finally{p=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,z){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var I=p;p=R;try{return z()}finally{p=I}},e.unstable_scheduleCallback=function(R,z,I){var O=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?O+I:O):I=O,R){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=I+re,R={id:m++,callback:z,priorityLevel:R,startTime:I,expirationTime:re,sortIndex:-1},I>O?(R.sortIndex=I,t(a,R),n(u)===null&&R===n(a)&&(x?(d(N),N=-1):x=!0,Jn(v,I-O))):(R.sortIndex=re,t(u,R),w||y||(w=!0,qn(T))),R},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(R){var z=p;return function(){var I=p;p=z;try{return R.apply(this,arguments)}finally{p=I}}}})(Cc);Tc.exports=Cc;var Sp=Tc.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ep=ae,Ue=Sp;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Nc=new Set,Ar={};function dn(e,t){Bn(e,t),Bn(e+"Capture",t)}function Bn(e,t){for(Ar[e]=t,e=0;e<t.length;e++)Nc.add(t[e])}var Et=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),So=Object.prototype.hasOwnProperty,_p=/^[: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]*$/,Gu={},Yu={};function Tp(e){return So.call(Yu,e)?!0:So.call(Gu,e)?!1:_p.test(e)?Yu[e]=!0:(Gu[e]=!0,!1)}function Cp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Np(e,t,n,r){if(t===null||typeof t>"u"||Cp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ne(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new Ne(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new Ne(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new Ne(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){me[e]=new Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){me[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){me[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){me[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){me[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ss=/[\-:]([a-z])/g;function Es(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ss,Es);me[t]=new Ne(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ss,Es);me[t]=new Ne(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ss,Es);me[t]=new Ne(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){me[e]=new Ne(e,1,!1,e.toLowerCase(),null,!1,!1)});me.xlinkHref=new Ne("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){me[e]=new Ne(e,1,!1,e.toLowerCase(),null,!0,!0)});function _s(e,t,n,r){var l=me.hasOwnProperty(t)?me[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Np(t,n,l,r)&&(n=null),r||l===null?Tp(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Nt=Ep.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cl=Symbol.for("react.element"),En=Symbol.for("react.portal"),_n=Symbol.for("react.fragment"),Ts=Symbol.for("react.strict_mode"),Eo=Symbol.for("react.profiler"),Rc=Symbol.for("react.provider"),Lc=Symbol.for("react.context"),Cs=Symbol.for("react.forward_ref"),_o=Symbol.for("react.suspense"),To=Symbol.for("react.suspense_list"),Ns=Symbol.for("react.memo"),Pt=Symbol.for("react.lazy"),Pc=Symbol.for("react.offscreen"),Ku=Symbol.iterator;function nr(e){return e===null||typeof e!="object"?null:(e=Ku&&e[Ku]||e["@@iterator"],typeof e=="function"?e:null)}var ee=Object.assign,Vi;function gr(e){if(Vi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Vi=t&&t[1]||""}return`
`+Vi+e}var Qi=!1;function Gi(e,t){if(!e||Qi)return"";Qi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(a){var r=a}Reflect.construct(e,[],t)}else{try{t.call()}catch(a){r=a}e.call(t.prototype)}else{try{throw Error()}catch(a){r=a}e()}}catch(a){if(a&&r&&typeof a.stack=="string"){for(var l=a.stack.split(`
`),i=r.stack.split(`
`),o=l.length-1,s=i.length-1;1<=o&&0<=s&&l[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(l[o]!==i[s]){if(o!==1||s!==1)do if(o--,s--,0>s||l[o]!==i[s]){var u=`
`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Qi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gr(e):""}function Rp(e){switch(e.tag){case 5:return gr(e.type);case 16:return gr("Lazy");case 13:return gr("Suspense");case 19:return gr("SuspenseList");case 0:case 2:case 15:return e=Gi(e.type,!1),e;case 11:return e=Gi(e.type.render,!1),e;case 1:return e=Gi(e.type,!0),e;default:return""}}function Co(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _n:return"Fragment";case En:return"Portal";case Eo:return"Profiler";case Ts:return"StrictMode";case _o:return"Suspense";case To:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Lc:return(e.displayName||"Context")+".Consumer";case Rc:return(e._context.displayName||"Context")+".Provider";case Cs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ns:return t=e.displayName||null,t!==null?t:Co(e.type)||"Memo";case Pt:t=e._payload,e=e._init;try{return Co(e(t))}catch{}}return null}function Lp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Co(t);case 8:return t===Ts?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Vt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ac(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Pp(e){var t=Ac(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fl(e){e._valueTracker||(e._valueTracker=Pp(e))}function zc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ac(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function No(e,t){var n=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Vt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ic(e,t){t=t.checked,t!=null&&_s(e,"checked",t,!1)}function Ro(e,t){Ic(e,t);var n=Vt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Lo(e,t.type,Vt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Lo(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function Mn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Vt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Po(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(k(91));return ee({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function qu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(k(92));if(yr(n)){if(1<n.length)throw Error(k(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Vt(n)}}function Oc(e,t){var n=Vt(t.value),r=Vt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ju(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Mc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ao(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Mc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var dl,Dc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(dl=dl||document.createElement("div"),dl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=dl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ap=["Webkit","ms","Moz","O"];Object.keys(wr).forEach(function(e){Ap.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wr[t]=wr[e]})});function jc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wr.hasOwnProperty(e)&&wr[e]?(""+t).trim():t+"px"}function Fc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=jc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var zp=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function zo(e,t){if(t){if(zp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Io(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 Oo=null;function Rs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mo=null,Dn=null,jn=null;function bu(e){if(e=qr(e)){if(typeof Mo!="function")throw Error(k(280));var t=e.stateNode;t&&(t=xi(t),Mo(e.stateNode,e.type,t))}}function $c(e){Dn?jn?jn.push(e):jn=[e]:Dn=e}function Uc(){if(Dn){var e=Dn,t=jn;if(jn=Dn=null,bu(e),t)for(e=0;e<t.length;e++)bu(t[e])}}function Bc(e,t){return e(t)}function Hc(){}var Yi=!1;function Wc(e,t,n){if(Yi)return e(t,n);Yi=!0;try{return Bc(e,t,n)}finally{Yi=!1,(Dn!==null||jn!==null)&&(Hc(),Uc())}}function Ir(e,t){var n=e.stateNode;if(n===null)return null;var r=xi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(k(231,t,typeof n));return n}var Do=!1;if(Et)try{var rr={};Object.defineProperty(rr,"passive",{get:function(){Do=!0}}),window.addEventListener("test",rr,rr),window.removeEventListener("test",rr,rr)}catch{Do=!1}function Ip(e,t,n,r,l,i,o,s,u){var a=Array.prototype.slice.call(arguments,3);try{t.apply(n,a)}catch(m){this.onError(m)}}var xr=!1,Vl=null,Ql=!1,jo=null,Op={onError:function(e){xr=!0,Vl=e}};function Mp(e,t,n,r,l,i,o,s,u){xr=!1,Vl=null,Ip.apply(Op,arguments)}function Dp(e,t,n,r,l,i,o,s,u){if(Mp.apply(this,arguments),xr){if(xr){var a=Vl;xr=!1,Vl=null}else throw Error(k(198));Ql||(Ql=!0,jo=a)}}function pn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Vc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ea(e){if(pn(e)!==e)throw Error(k(188))}function jp(e){var t=e.alternate;if(!t){if(t=pn(e),t===null)throw Error(k(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return ea(l),e;if(i===r)return ea(l),t;i=i.sibling}throw Error(k(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,s=l.child;s;){if(s===n){o=!0,n=l,r=i;break}if(s===r){o=!0,r=l,n=i;break}s=s.sibling}if(!o){for(s=i.child;s;){if(s===n){o=!0,n=i,r=l;break}if(s===r){o=!0,r=i,n=l;break}s=s.sibling}if(!o)throw Error(k(189))}}if(n.alternate!==r)throw Error(k(190))}if(n.tag!==3)throw Error(k(188));return n.stateNode.current===n?e:t}function Qc(e){return e=jp(e),e!==null?Gc(e):null}function Gc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Gc(e);if(t!==null)return t;e=e.sibling}return null}var Yc=Ue.unstable_scheduleCallback,ta=Ue.unstable_cancelCallback,Fp=Ue.unstable_shouldYield,$p=Ue.unstable_requestPaint,le=Ue.unstable_now,Up=Ue.unstable_getCurrentPriorityLevel,Ls=Ue.unstable_ImmediatePriority,Kc=Ue.unstable_UserBlockingPriority,Gl=Ue.unstable_NormalPriority,Bp=Ue.unstable_LowPriority,Xc=Ue.unstable_IdlePriority,yi=null,ht=null;function Hp(e){if(ht&&typeof ht.onCommitFiberRoot=="function")try{ht.onCommitFiberRoot(yi,e,void 0,(e.current.flags&128)===128)}catch{}}var rt=Math.clz32?Math.clz32:Qp,Wp=Math.log,Vp=Math.LN2;function Qp(e){return e>>>=0,e===0?32:31-(Wp(e)/Vp|0)|0}var pl=64,hl=4194304;function vr(e){switch(e&-e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=vr(s):(i&=o,i!==0&&(r=vr(i)))}else o=n&~l,o!==0?r=vr(o):i!==0&&(r=vr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-rt(t),l=1<<n,r|=e[n],t&=~l;return r}function Gp(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Yp(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-rt(i),s=1<<o,u=l[o];u===-1?(!(s&n)||s&r)&&(l[o]=Gp(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}function Fo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Zc(){var e=pl;return pl<<=1,!(pl&4194240)&&(pl=64),e}function Ki(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-rt(t),e[t]=n}function Kp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-rt(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function Ps(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rt(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var H=0;function qc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Jc,As,bc,ef,tf,$o=!1,ml=[],Dt=null,jt=null,Ft=null,Or=new Map,Mr=new Map,zt=[],Xp="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 submit".split(" ");function na(e,t){switch(e){case"focusin":case"focusout":Dt=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Ft=null;break;case"pointerover":case"pointerout":Or.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mr.delete(t.pointerId)}}function lr(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=qr(t),t!==null&&As(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Zp(e,t,n,r,l){switch(t){case"focusin":return Dt=lr(Dt,e,t,n,r,l),!0;case"dragenter":return jt=lr(jt,e,t,n,r,l),!0;case"mouseover":return Ft=lr(Ft,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Or.set(i,lr(Or.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Mr.set(i,lr(Mr.get(i)||null,e,t,n,r,l)),!0}return!1}function nf(e){var t=bt(e.target);if(t!==null){var n=pn(t);if(n!==null){if(t=n.tag,t===13){if(t=Vc(n),t!==null){e.blockedOn=t,tf(e.priority,function(){bc(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Uo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Oo=r,n.target.dispatchEvent(r),Oo=null}else return t=qr(n),t!==null&&As(t),e.blockedOn=n,!1;t.shift()}return!0}function ra(e,t,n){zl(e)&&n.delete(t)}function qp(){$o=!1,Dt!==null&&zl(Dt)&&(Dt=null),jt!==null&&zl(jt)&&(jt=null),Ft!==null&&zl(Ft)&&(Ft=null),Or.forEach(ra),Mr.forEach(ra)}function ir(e,t){e.blockedOn===t&&(e.blockedOn=null,$o||($o=!0,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,qp)))}function Dr(e){function t(l){return ir(l,e)}if(0<ml.length){ir(ml[0],e);for(var n=1;n<ml.length;n++){var r=ml[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Dt!==null&&ir(Dt,e),jt!==null&&ir(jt,e),Ft!==null&&ir(Ft,e),Or.forEach(t),Mr.forEach(t),n=0;n<zt.length;n++)r=zt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&(n=zt[0],n.blockedOn===null);)nf(n),n.blockedOn===null&&zt.shift()}var Fn=Nt.ReactCurrentBatchConfig,Kl=!0;function Jp(e,t,n,r){var l=H,i=Fn.transition;Fn.transition=null;try{H=1,zs(e,t,n,r)}finally{H=l,Fn.transition=i}}function bp(e,t,n,r){var l=H,i=Fn.transition;Fn.transition=null;try{H=4,zs(e,t,n,r)}finally{H=l,Fn.transition=i}}function zs(e,t,n,r){if(Kl){var l=Uo(e,t,n,r);if(l===null)lo(e,t,r,Xl,n),na(e,r);else if(Zp(l,e,t,n,r))r.stopPropagation();else if(na(e,r),t&4&&-1<Xp.indexOf(e)){for(;l!==null;){var i=qr(l);if(i!==null&&Jc(i),i=Uo(e,t,n,r),i===null&&lo(e,t,r,Xl,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else lo(e,t,r,null,n)}}var Xl=null;function Uo(e,t,n,r){if(Xl=null,e=Rs(r),e=bt(e),e!==null)if(t=pn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Vc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xl=e,null}function rf(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Up()){case Ls:return 1;case Kc:return 4;case Gl:case Bp:return 16;case Xc:return 536870912;default:return 16}default:return 16}}var Ot=null,Is=null,Il=null;function lf(){if(Il)return Il;var e,t=Is,n=t.length,r,l="value"in Ot?Ot.value:Ot.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Il=l.slice(e,1<r?1-r:void 0)}function Ol(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function gl(){return!0}function la(){return!1}function We(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?gl:la,this.isPropagationStopped=la,this}return ee(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=gl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=gl)},persist:function(){},isPersistent:gl}),t}var Xn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Os=We(Xn),Zr=ee({},Xn,{view:0,detail:0}),eh=We(Zr),Xi,Zi,or,vi=ee({},Zr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ms,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==or&&(or&&e.type==="mousemove"?(Xi=e.screenX-or.screenX,Zi=e.screenY-or.screenY):Zi=Xi=0,or=e),Xi)},movementY:function(e){return"movementY"in e?e.movementY:Zi}}),ia=We(vi),th=ee({},vi,{dataTransfer:0}),nh=We(th),rh=ee({},Zr,{relatedTarget:0}),qi=We(rh),lh=ee({},Xn,{animationName:0,elapsedTime:0,pseudoElement:0}),ih=We(lh),oh=ee({},Xn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sh=We(oh),uh=ee({},Xn,{data:0}),oa=We(uh),ah={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ch={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"},fh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fh[e])?!!t[e]:!1}function Ms(){return dh}var ph=ee({},Zr,{key:function(e){if(e.key){var t=ah[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ol(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ch[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ms,charCode:function(e){return e.type==="keypress"?Ol(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ol(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),hh=We(ph),mh=ee({},vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sa=We(mh),gh=ee({},Zr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ms}),yh=We(gh),vh=ee({},Xn,{propertyName:0,elapsedTime:0,pseudoElement:0}),kh=We(vh),wh=ee({},vi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xh=We(wh),Sh=[9,13,27,32],Ds=Et&&"CompositionEvent"in window,Sr=null;Et&&"documentMode"in document&&(Sr=document.documentMode);var Eh=Et&&"TextEvent"in window&&!Sr,of=Et&&(!Ds||Sr&&8<Sr&&11>=Sr),ua=" ",aa=!1;function sf(e,t){switch(e){case"keyup":return Sh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Tn=!1;function _h(e,t){switch(e){case"compositionend":return uf(t);case"keypress":return t.which!==32?null:(aa=!0,ua);case"textInput":return e=t.data,e===ua&&aa?null:e;default:return null}}function Th(e,t){if(Tn)return e==="compositionend"||!Ds&&sf(e,t)?(e=lf(),Il=Is=Ot=null,Tn=!1,e):null;switch(e){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 of&&t.locale!=="ko"?null:t.data;default:return null}}var Ch={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 ca(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ch[e.type]:t==="textarea"}function af(e,t,n,r){$c(r),t=Zl(t,"onChange"),0<t.length&&(n=new Os("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Er=null,jr=null;function Nh(e){wf(e,0)}function ki(e){var t=Rn(e);if(zc(t))return e}function Rh(e,t){if(e==="change")return t}var cf=!1;if(Et){var Ji;if(Et){var bi="oninput"in document;if(!bi){var fa=document.createElement("div");fa.setAttribute("oninput","return;"),bi=typeof fa.oninput=="function"}Ji=bi}else Ji=!1;cf=Ji&&(!document.documentMode||9<document.documentMode)}function da(){Er&&(Er.detachEvent("onpropertychange",ff),jr=Er=null)}function ff(e){if(e.propertyName==="value"&&ki(jr)){var t=[];af(t,jr,e,Rs(e)),Wc(Nh,t)}}function Lh(e,t,n){e==="focusin"?(da(),Er=t,jr=n,Er.attachEvent("onpropertychange",ff)):e==="focusout"&&da()}function Ph(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ki(jr)}function Ah(e,t){if(e==="click")return ki(t)}function zh(e,t){if(e==="input"||e==="change")return ki(t)}function Ih(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var it=typeof Object.is=="function"?Object.is:Ih;function Fr(e,t){if(it(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!So.call(t,l)||!it(e[l],t[l]))return!1}return!0}function pa(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ha(e,t){var n=pa(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pa(n)}}function df(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?df(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pf(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function js(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Oh(e){var t=pf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&df(n.ownerDocument.documentElement,n)){if(r!==null&&js(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ha(n,i);var o=ha(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Mh=Et&&"documentMode"in document&&11>=document.documentMode,Cn=null,Bo=null,_r=null,Ho=!1;function ma(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ho||Cn==null||Cn!==Wl(r)||(r=Cn,"selectionStart"in r&&js(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_r&&Fr(_r,r)||(_r=r,r=Zl(Bo,"onSelect"),0<r.length&&(t=new Os("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Cn)))}function yl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Nn={animationend:yl("Animation","AnimationEnd"),animationiteration:yl("Animation","AnimationIteration"),animationstart:yl("Animation","AnimationStart"),transitionend:yl("Transition","TransitionEnd")},eo={},hf={};Et&&(hf=document.createElement("div").style,"AnimationEvent"in window||(delete Nn.animationend.animation,delete Nn.animationiteration.animation,delete Nn.animationstart.animation),"TransitionEvent"in window||delete Nn.transitionend.transition);function wi(e){if(eo[e])return eo[e];if(!Nn[e])return e;var t=Nn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hf)return eo[e]=t[n];return e}var mf=wi("animationend"),gf=wi("animationiteration"),yf=wi("animationstart"),vf=wi("transitionend"),kf=new Map,ga="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Gt(e,t){kf.set(e,t),dn(t,[e])}for(var to=0;to<ga.length;to++){var no=ga[to],Dh=no.toLowerCase(),jh=no[0].toUpperCase()+no.slice(1);Gt(Dh,"on"+jh)}Gt(mf,"onAnimationEnd");Gt(gf,"onAnimationIteration");Gt(yf,"onAnimationStart");Gt("dblclick","onDoubleClick");Gt("focusin","onFocus");Gt("focusout","onBlur");Gt(vf,"onTransitionEnd");Bn("onMouseEnter",["mouseout","mouseover"]);Bn("onMouseLeave",["mouseout","mouseover"]);Bn("onPointerEnter",["pointerout","pointerover"]);Bn("onPointerLeave",["pointerout","pointerover"]);dn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));dn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));dn("onBeforeInput",["compositionend","keypress","textInput","paste"]);dn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));dn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));dn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="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(" "),Fh=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function ya(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Dp(r,t,void 0,e),e.currentTarget=null}function wf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],u=s.instance,a=s.currentTarget;if(s=s.listener,u!==i&&l.isPropagationStopped())break e;ya(l,s,a),i=u}else for(o=0;o<r.length;o++){if(s=r[o],u=s.instance,a=s.currentTarget,s=s.listener,u!==i&&l.isPropagationStopped())break e;ya(l,s,a),i=u}}}if(Ql)throw e=jo,Ql=!1,jo=null,e}function K(e,t){var n=t[Yo];n===void 0&&(n=t[Yo]=new Set);var r=e+"__bubble";n.has(r)||(xf(t,e,2,!1),n.add(r))}function ro(e,t,n){var r=0;t&&(r|=4),xf(n,e,r,t)}var vl="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[vl]){e[vl]=!0,Nc.forEach(function(n){n!=="selectionchange"&&(Fh.has(n)||ro(n,!1,e),ro(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vl]||(t[vl]=!0,ro("selectionchange",!1,t))}}function xf(e,t,n,r){switch(rf(t)){case 1:var l=Jp;break;case 4:l=bp;break;default:l=zs}n=l.bind(null,t,n,e),l=void 0,!Do||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function lo(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===l||s.nodeType===8&&s.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var u=o.tag;if((u===3||u===4)&&(u=o.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;o=o.return}for(;s!==null;){if(o=bt(s),o===null)return;if(u=o.tag,u===5||u===6){r=i=o;continue e}s=s.parentNode}}r=r.return}Wc(function(){var a=i,m=Rs(n),g=[];e:{var p=kf.get(e);if(p!==void 0){var y=Os,w=e;switch(e){case"keypress":if(Ol(n)===0)break e;case"keydown":case"keyup":y=hh;break;case"focusin":w="focus",y=qi;break;case"focusout":w="blur",y=qi;break;case"beforeblur":case"afterblur":y=qi;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=ia;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=nh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=yh;break;case mf:case gf:case yf:y=ih;break;case vf:y=kh;break;case"scroll":y=eh;break;case"wheel":y=xh;break;case"copy":case"cut":case"paste":y=sh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=sa}var x=(t&4)!==0,D=!x&&e==="scroll",d=x?p!==null?p+"Capture":null:p;x=[];for(var c=a,h;c!==null;){h=c;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,d!==null&&(v=Ir(c,d),v!=null&&x.push(Ur(c,v,h)))),D)break;c=c.return}0<x.length&&(p=new y(p,w,null,n,m),g.push({event:p,listeners:x}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",p&&n!==Oo&&(w=n.relatedTarget||n.fromElement)&&(bt(w)||w[_t]))break e;if((y||p)&&(p=m.window===m?m:(p=m.ownerDocument)?p.defaultView||p.parentWindow:window,y?(w=n.relatedTarget||n.toElement,y=a,w=w?bt(w):null,w!==null&&(D=pn(w),w!==D||w.tag!==5&&w.tag!==6)&&(w=null)):(y=null,w=a),y!==w)){if(x=ia,v="onMouseLeave",d="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(x=sa,v="onPointerLeave",d="onPointerEnter",c="pointer"),D=y==null?p:Rn(y),h=w==null?p:Rn(w),p=new x(v,c+"leave",y,n,m),p.target=D,p.relatedTarget=h,v=null,bt(m)===a&&(x=new x(d,c+"enter",w,n,m),x.target=h,x.relatedTarget=D,v=x),D=v,y&&w)t:{for(x=y,d=w,c=0,h=x;h;h=Sn(h))c++;for(h=0,v=d;v;v=Sn(v))h++;for(;0<c-h;)x=Sn(x),c--;for(;0<h-c;)d=Sn(d),h--;for(;c--;){if(x===d||d!==null&&x===d.alternate)break t;x=Sn(x),d=Sn(d)}x=null}else x=null;y!==null&&va(g,p,y,x,!1),w!==null&&D!==null&&va(g,D,w,x,!0)}}e:{if(p=a?Rn(a):window,y=p.nodeName&&p.nodeName.toLowerCase(),y==="select"||y==="input"&&p.type==="file")var T=Rh;else if(ca(p))if(cf)T=zh;else{T=Ph;var S=Lh}else(y=p.nodeName)&&y.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(T=Ah);if(T&&(T=T(e,a))){af(g,T,n,m);break e}S&&S(e,p,a),e==="focusout"&&(S=p._wrapperState)&&S.controlled&&p.type==="number"&&Lo(p,"number",p.value)}switch(S=a?Rn(a):window,e){case"focusin":(ca(S)||S.contentEditable==="true")&&(Cn=S,Bo=a,_r=null);break;case"focusout":_r=Bo=Cn=null;break;case"mousedown":Ho=!0;break;case"contextmenu":case"mouseup":case"dragend":Ho=!1,ma(g,n,m);break;case"selectionchange":if(Mh)break;case"keydown":case"keyup":ma(g,n,m)}var C;if(Ds)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Tn?sf(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(of&&n.locale!=="ko"&&(Tn||N!=="onCompositionStart"?N==="onCompositionEnd"&&Tn&&(C=lf()):(Ot=m,Is="value"in Ot?Ot.value:Ot.textContent,Tn=!0)),S=Zl(a,N),0<S.length&&(N=new oa(N,e,null,n,m),g.push({event:N,listeners:S}),C?N.data=C:(C=uf(n),C!==null&&(N.data=C)))),(C=Eh?_h(e,n):Th(e,n))&&(a=Zl(a,"onBeforeInput"),0<a.length&&(m=new oa("onBeforeInput","beforeinput",null,n,m),g.push({event:m,listeners:a}),m.data=C))}wf(g,t)})}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zl(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Ir(e,n),i!=null&&r.unshift(Ur(e,i,l)),i=Ir(e,t),i!=null&&r.push(Ur(e,i,l))),e=e.return}return r}function Sn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function va(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var s=n,u=s.alternate,a=s.stateNode;if(u!==null&&u===r)break;s.tag===5&&a!==null&&(s=a,l?(u=Ir(n,i),u!=null&&o.unshift(Ur(n,u,s))):l||(u=Ir(n,i),u!=null&&o.push(Ur(n,u,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var $h=/\r\n?/g,Uh=/\u0000|\uFFFD/g;function ka(e){return(typeof e=="string"?e:""+e).replace($h,`
`).replace(Uh,"")}function kl(e,t,n){if(t=ka(t),ka(e)!==t&&n)throw Error(k(425))}function ql(){}var Wo=null,Vo=null;function Qo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Go=typeof setTimeout=="function"?setTimeout:void 0,Bh=typeof clearTimeout=="function"?clearTimeout:void 0,wa=typeof Promise=="function"?Promise:void 0,Hh=typeof queueMicrotask=="function"?queueMicrotask:typeof wa<"u"?function(e){return wa.resolve(null).then(e).catch(Wh)}:Go;function Wh(e){setTimeout(function(){throw e})}function io(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Dr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Dr(t)}function $t(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function xa(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Zn=Math.random().toString(36).slice(2),ft="__reactFiber$"+Zn,Br="__reactProps$"+Zn,_t="__reactContainer$"+Zn,Yo="__reactEvents$"+Zn,Vh="__reactListeners$"+Zn,Qh="__reactHandles$"+Zn;function bt(e){var t=e[ft];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_t]||n[ft]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=xa(e);e!==null;){if(n=e[ft])return n;e=xa(e)}return t}e=n,n=e.parentNode}return null}function qr(e){return e=e[ft]||e[_t],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Rn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(k(33))}function xi(e){return e[Br]||null}var Ko=[],Ln=-1;function Yt(e){return{current:e}}function X(e){0>Ln||(e.current=Ko[Ln],Ko[Ln]=null,Ln--)}function Q(e,t){Ln++,Ko[Ln]=e.current,e.current=t}var Qt={},we=Yt(Qt),ze=Yt(!1),ln=Qt;function Hn(e,t){var n=e.type.contextTypes;if(!n)return Qt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ie(e){return e=e.childContextTypes,e!=null}function Jl(){X(ze),X(we)}function Sa(e,t,n){if(we.current!==Qt)throw Error(k(168));Q(we,t),Q(ze,n)}function Sf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,Lp(e)||"Unknown",l));return ee({},n,r)}function bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qt,ln=we.current,Q(we,e),Q(ze,ze.current),!0}function Ea(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Sf(e,t,ln),r.__reactInternalMemoizedMergedChildContext=e,X(ze),X(we),Q(we,e)):X(ze),Q(ze,n)}var kt=null,Si=!1,oo=!1;function Ef(e){kt===null?kt=[e]:kt.push(e)}function Gh(e){Si=!0,Ef(e)}function Kt(){if(!oo&&kt!==null){oo=!0;var e=0,t=H;try{var n=kt;for(H=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}kt=null,Si=!1}catch(l){throw kt!==null&&(kt=kt.slice(e+1)),Yc(Ls,Kt),l}finally{H=t,oo=!1}}return null}var Pn=[],An=0,ei=null,ti=0,Qe=[],Ge=0,on=null,wt=1,xt="";function Zt(e,t){Pn[An++]=ti,Pn[An++]=ei,ei=e,ti=t}function _f(e,t,n){Qe[Ge++]=wt,Qe[Ge++]=xt,Qe[Ge++]=on,on=e;var r=wt;e=xt;var l=32-rt(r)-1;r&=~(1<<l),n+=1;var i=32-rt(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,wt=1<<32-rt(t)+l|n<<l|r,xt=i+e}else wt=1<<i|n<<l|r,xt=e}function Fs(e){e.return!==null&&(Zt(e,1),_f(e,1,0))}function $s(e){for(;e===ei;)ei=Pn[--An],Pn[An]=null,ti=Pn[--An],Pn[An]=null;for(;e===on;)on=Qe[--Ge],Qe[Ge]=null,xt=Qe[--Ge],Qe[Ge]=null,wt=Qe[--Ge],Qe[Ge]=null}var $e=null,Fe=null,q=!1,nt=null;function Tf(e,t){var n=Ye(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _a(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,$e=e,Fe=$t(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,$e=e,Fe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=on!==null?{id:wt,overflow:xt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ye(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,$e=e,Fe=null,!0):!1;default:return!1}}function Xo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Zo(e){if(q){var t=Fe;if(t){var n=t;if(!_a(e,t)){if(Xo(e))throw Error(k(418));t=$t(n.nextSibling);var r=$e;t&&_a(e,t)?Tf(r,n):(e.flags=e.flags&-4097|2,q=!1,$e=e)}}else{if(Xo(e))throw Error(k(418));e.flags=e.flags&-4097|2,q=!1,$e=e}}}function Ta(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;$e=e}function wl(e){if(e!==$e)return!1;if(!q)return Ta(e),q=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Qo(e.type,e.memoizedProps)),t&&(t=Fe)){if(Xo(e))throw Cf(),Error(k(418));for(;t;)Tf(e,t),t=$t(t.nextSibling)}if(Ta(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(k(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Fe=$t(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Fe=null}}else Fe=$e?$t(e.stateNode.nextSibling):null;return!0}function Cf(){for(var e=Fe;e;)e=$t(e.nextSibling)}function Wn(){Fe=$e=null,q=!1}function Us(e){nt===null?nt=[e]:nt.push(e)}var Yh=Nt.ReactCurrentBatchConfig;function sr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(k(309));var r=n.stateNode}if(!r)throw Error(k(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var s=l.refs;o===null?delete s[i]:s[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(k(284));if(!n._owner)throw Error(k(290,e))}return e}function xl(e,t){throw e=Object.prototype.toString.call(t),Error(k(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ca(e){var t=e._init;return t(e._payload)}function Nf(e){function t(d,c){if(e){var h=d.deletions;h===null?(d.deletions=[c],d.flags|=16):h.push(c)}}function n(d,c){if(!e)return null;for(;c!==null;)t(d,c),c=c.sibling;return null}function r(d,c){for(d=new Map;c!==null;)c.key!==null?d.set(c.key,c):d.set(c.index,c),c=c.sibling;return d}function l(d,c){return d=Wt(d,c),d.index=0,d.sibling=null,d}function i(d,c,h){return d.index=h,e?(h=d.alternate,h!==null?(h=h.index,h<c?(d.flags|=2,c):h):(d.flags|=2,c)):(d.flags|=1048576,c)}function o(d){return e&&d.alternate===null&&(d.flags|=2),d}function s(d,c,h,v){return c===null||c.tag!==6?(c=ho(h,d.mode,v),c.return=d,c):(c=l(c,h),c.return=d,c)}function u(d,c,h,v){var T=h.type;return T===_n?m(d,c,h.props.children,v,h.key):c!==null&&(c.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Pt&&Ca(T)===c.type)?(v=l(c,h.props),v.ref=sr(d,c,h),v.return=d,v):(v=Bl(h.type,h.key,h.props,null,d.mode,v),v.ref=sr(d,c,h),v.return=d,v)}function a(d,c,h,v){return c===null||c.tag!==4||c.stateNode.containerInfo!==h.containerInfo||c.stateNode.implementation!==h.implementation?(c=mo(h,d.mode,v),c.return=d,c):(c=l(c,h.children||[]),c.return=d,c)}function m(d,c,h,v,T){return c===null||c.tag!==7?(c=rn(h,d.mode,v,T),c.return=d,c):(c=l(c,h),c.return=d,c)}function g(d,c,h){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ho(""+c,d.mode,h),c.return=d,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case cl:return h=Bl(c.type,c.key,c.props,null,d.mode,h),h.ref=sr(d,null,c),h.return=d,h;case En:return c=mo(c,d.mode,h),c.return=d,c;case Pt:var v=c._init;return g(d,v(c._payload),h)}if(yr(c)||nr(c))return c=rn(c,d.mode,h,null),c.return=d,c;xl(d,c)}return null}function p(d,c,h,v){var T=c!==null?c.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return T!==null?null:s(d,c,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case cl:return h.key===T?u(d,c,h,v):null;case En:return h.key===T?a(d,c,h,v):null;case Pt:return T=h._init,p(d,c,T(h._payload),v)}if(yr(h)||nr(h))return T!==null?null:m(d,c,h,v,null);xl(d,h)}return null}function y(d,c,h,v,T){if(typeof v=="string"&&v!==""||typeof v=="number")return d=d.get(h)||null,s(c,d,""+v,T);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case cl:return d=d.get(v.key===null?h:v.key)||null,u(c,d,v,T);case En:return d=d.get(v.key===null?h:v.key)||null,a(c,d,v,T);case Pt:var S=v._init;return y(d,c,h,S(v._payload),T)}if(yr(v)||nr(v))return d=d.get(h)||null,m(c,d,v,T,null);xl(c,v)}return null}function w(d,c,h,v){for(var T=null,S=null,C=c,N=c=0,$=null;C!==null&&N<h.length;N++){C.index>N?($=C,C=null):$=C.sibling;var M=p(d,C,h[N],v);if(M===null){C===null&&(C=$);break}e&&C&&M.alternate===null&&t(d,C),c=i(M,c,N),S===null?T=M:S.sibling=M,S=M,C=$}if(N===h.length)return n(d,C),q&&Zt(d,N),T;if(C===null){for(;N<h.length;N++)C=g(d,h[N],v),C!==null&&(c=i(C,c,N),S===null?T=C:S.sibling=C,S=C);return q&&Zt(d,N),T}for(C=r(d,C);N<h.length;N++)$=y(C,d,N,h[N],v),$!==null&&(e&&$.alternate!==null&&C.delete($.key===null?N:$.key),c=i($,c,N),S===null?T=$:S.sibling=$,S=$);return e&&C.forEach(function(V){return t(d,V)}),q&&Zt(d,N),T}function x(d,c,h,v){var T=nr(h);if(typeof T!="function")throw Error(k(150));if(h=T.call(h),h==null)throw Error(k(151));for(var S=T=null,C=c,N=c=0,$=null,M=h.next();C!==null&&!M.done;N++,M=h.next()){C.index>N?($=C,C=null):$=C.sibling;var V=p(d,C,M.value,v);if(V===null){C===null&&(C=$);break}e&&C&&V.alternate===null&&t(d,C),c=i(V,c,N),S===null?T=V:S.sibling=V,S=V,C=$}if(M.done)return n(d,C),q&&Zt(d,N),T;if(C===null){for(;!M.done;N++,M=h.next())M=g(d,M.value,v),M!==null&&(c=i(M,c,N),S===null?T=M:S.sibling=M,S=M);return q&&Zt(d,N),T}for(C=r(d,C);!M.done;N++,M=h.next())M=y(C,d,N,M.value,v),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?N:M.key),c=i(M,c,N),S===null?T=M:S.sibling=M,S=M);return e&&C.forEach(function(Re){return t(d,Re)}),q&&Zt(d,N),T}function D(d,c,h,v){if(typeof h=="object"&&h!==null&&h.type===_n&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case cl:e:{for(var T=h.key,S=c;S!==null;){if(S.key===T){if(T=h.type,T===_n){if(S.tag===7){n(d,S.sibling),c=l(S,h.props.children),c.return=d,d=c;break e}}else if(S.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Pt&&Ca(T)===S.type){n(d,S.sibling),c=l(S,h.props),c.ref=sr(d,S,h),c.return=d,d=c;break e}n(d,S);break}else t(d,S);S=S.sibling}h.type===_n?(c=rn(h.props.children,d.mode,v,h.key),c.return=d,d=c):(v=Bl(h.type,h.key,h.props,null,d.mode,v),v.ref=sr(d,c,h),v.return=d,d=v)}return o(d);case En:e:{for(S=h.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(d,c.sibling),c=l(c,h.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=mo(h,d.mode,v),c.return=d,d=c}return o(d);case Pt:return S=h._init,D(d,c,S(h._payload),v)}if(yr(h))return w(d,c,h,v);if(nr(h))return x(d,c,h,v);xl(d,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,h),c.return=d,d=c):(n(d,c),c=ho(h,d.mode,v),c.return=d,d=c),o(d)):n(d,c)}return D}var Vn=Nf(!0),Rf=Nf(!1),ni=Yt(null),ri=null,zn=null,Bs=null;function Hs(){Bs=zn=ri=null}function Ws(e){var t=ni.current;X(ni),e._currentValue=t}function qo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $n(e,t){ri=e,Bs=zn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ae=!0),e.firstContext=null)}function Xe(e){var t=e._currentValue;if(Bs!==e)if(e={context:e,memoizedValue:t,next:null},zn===null){if(ri===null)throw Error(k(308));zn=e,ri.dependencies={lanes:0,firstContext:e}}else zn=zn.next=e;return t}var en=null;function Vs(e){en===null?en=[e]:en.push(e)}function Lf(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Vs(t)):(n.next=l.next,l.next=n),t.interleaved=n,Tt(e,r)}function Tt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var At=!1;function Qs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function St(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ut(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Tt(e,n)}return l=r.interleaved,l===null?(t.next=t,Vs(r)):(t.next=l.next,l.next=t),r.interleaved=t,Tt(e,n)}function Ml(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}function Na(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function li(e,t,n,r){var l=e.updateQueue;At=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,o===null?i=a:o.next=a,o=u;var m=e.alternate;m!==null&&(m=m.updateQueue,s=m.lastBaseUpdate,s!==o&&(s===null?m.firstBaseUpdate=a:s.next=a,m.lastBaseUpdate=u))}if(i!==null){var g=l.baseState;o=0,m=a=u=null,s=i;do{var p=s.lane,y=s.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:y,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,x=s;switch(p=t,y=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){g=w.call(y,g,p);break e}g=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,p=typeof w=="function"?w.call(y,g,p):w,p==null)break e;g=ee({},g,p);break e;case 2:At=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[s]:p.push(s))}else y={eventTime:y,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},m===null?(a=m=y,u=g):m=m.next=y,o|=p;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;p=s,s=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(m===null&&(u=g),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);un|=o,e.lanes=o,e.memoizedState=g}}function Ra(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(k(191,l));l.call(r)}}}var Jr={},mt=Yt(Jr),Hr=Yt(Jr),Wr=Yt(Jr);function tn(e){if(e===Jr)throw Error(k(174));return e}function Gs(e,t){switch(Q(Wr,t),Q(Hr,e),Q(mt,Jr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ao(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ao(t,e)}X(mt),Q(mt,t)}function Qn(){X(mt),X(Hr),X(Wr)}function Af(e){tn(Wr.current);var t=tn(mt.current),n=Ao(t,e.type);t!==n&&(Q(Hr,e),Q(mt,n))}function Ys(e){Hr.current===e&&(X(mt),X(Hr))}var J=Yt(0);function ii(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var so=[];function Ks(){for(var e=0;e<so.length;e++)so[e]._workInProgressVersionPrimary=null;so.length=0}var Dl=Nt.ReactCurrentDispatcher,uo=Nt.ReactCurrentBatchConfig,sn=0,b=null,oe=null,ce=null,oi=!1,Tr=!1,Vr=0,Kh=0;function ye(){throw Error(k(321))}function Xs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!it(e[n],t[n]))return!1;return!0}function Zs(e,t,n,r,l,i){if(sn=i,b=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Dl.current=e===null||e.memoizedState===null?Jh:bh,e=n(r,l),Tr){i=0;do{if(Tr=!1,Vr=0,25<=i)throw Error(k(301));i+=1,ce=oe=null,t.updateQueue=null,Dl.current=em,e=n(r,l)}while(Tr)}if(Dl.current=si,t=oe!==null&&oe.next!==null,sn=0,ce=oe=b=null,oi=!1,t)throw Error(k(300));return e}function qs(){var e=Vr!==0;return Vr=0,e}function ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ce===null?b.memoizedState=ce=e:ce=ce.next=e,ce}function Ze(){if(oe===null){var e=b.alternate;e=e!==null?e.memoizedState:null}else e=oe.next;var t=ce===null?b.memoizedState:ce.next;if(t!==null)ce=t,oe=e;else{if(e===null)throw Error(k(310));oe=e,e={memoizedState:oe.memoizedState,baseState:oe.baseState,baseQueue:oe.baseQueue,queue:oe.queue,next:null},ce===null?b.memoizedState=ce=e:ce=ce.next=e}return ce}function Qr(e,t){return typeof t=="function"?t(e):t}function ao(e){var t=Ze(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=oe,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var s=o=null,u=null,a=i;do{var m=a.lane;if((sn&m)===m)u!==null&&(u=u.next={lane:0,action:a.action,hasEagerState:a.hasEagerState,eagerState:a.eagerState,next:null}),r=a.hasEagerState?a.eagerState:e(r,a.action);else{var g={lane:m,action:a.action,hasEagerState:a.hasEagerState,eagerState:a.eagerState,next:null};u===null?(s=u=g,o=r):u=u.next=g,b.lanes|=m,un|=m}a=a.next}while(a!==null&&a!==i);u===null?o=r:u.next=s,it(r,t.memoizedState)||(Ae=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,b.lanes|=i,un|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function co(e){var t=Ze(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);it(i,t.memoizedState)||(Ae=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function zf(){}function If(e,t){var n=b,r=Ze(),l=t(),i=!it(r.memoizedState,l);if(i&&(r.memoizedState=l,Ae=!0),r=r.queue,Js(Df.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ce!==null&&ce.memoizedState.tag&1){if(n.flags|=2048,Gr(9,Mf.bind(null,n,r,l,t),void 0,null),fe===null)throw Error(k(349));sn&30||Of(n,t,l)}return l}function Of(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=b.updateQueue,t===null?(t={lastEffect:null,stores:null},b.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Mf(e,t,n,r){t.value=n,t.getSnapshot=r,jf(t)&&Ff(e)}function Df(e,t,n){return n(function(){jf(t)&&Ff(e)})}function jf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!it(e,n)}catch{return!0}}function Ff(e){var t=Tt(e,1);t!==null&&lt(t,e,1,-1)}function La(e){var t=ct();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qr,lastRenderedState:e},t.queue=e,e=e.dispatch=qh.bind(null,b,e),[t.memoizedState,e]}function Gr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=b.updateQueue,t===null?(t={lastEffect:null,stores:null},b.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function $f(){return Ze().memoizedState}function jl(e,t,n,r){var l=ct();b.flags|=e,l.memoizedState=Gr(1|t,n,void 0,r===void 0?null:r)}function Ei(e,t,n,r){var l=Ze();r=r===void 0?null:r;var i=void 0;if(oe!==null){var o=oe.memoizedState;if(i=o.destroy,r!==null&&Xs(r,o.deps)){l.memoizedState=Gr(t,n,i,r);return}}b.flags|=e,l.memoizedState=Gr(1|t,n,i,r)}function Pa(e,t){return jl(8390656,8,e,t)}function Js(e,t){return Ei(2048,8,e,t)}function Uf(e,t){return Ei(4,2,e,t)}function Bf(e,t){return Ei(4,4,e,t)}function Hf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Wf(e,t,n){return n=n!=null?n.concat([e]):null,Ei(4,4,Hf.bind(null,t,e),n)}function bs(){}function Vf(e,t){var n=Ze();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qf(e,t){var n=Ze();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Gf(e,t,n){return sn&21?(it(n,t)||(n=Zc(),b.lanes|=n,un|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ae=!0),e.memoizedState=n)}function Xh(e,t){var n=H;H=n!==0&&4>n?n:4,e(!0);var r=uo.transition;uo.transition={};try{e(!1),t()}finally{H=n,uo.transition=r}}function Yf(){return Ze().memoizedState}function Zh(e,t,n){var r=Ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Kf(e))Xf(t,n);else if(n=Lf(e,t,n,r),n!==null){var l=_e();lt(n,e,r,l),Zf(n,t,r)}}function qh(e,t,n){var r=Ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kf(e))Xf(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,it(s,o)){var u=t.interleaved;u===null?(l.next=l,Vs(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Lf(e,t,l,r),n!==null&&(l=_e(),lt(n,e,r,l),Zf(n,t,r))}}function Kf(e){var t=e.alternate;return e===b||t!==null&&t===b}function Xf(e,t){Tr=oi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var si={readContext:Xe,useCallback:ye,useContext:ye,useEffect:ye,useImperativeHandle:ye,useInsertionEffect:ye,useLayoutEffect:ye,useMemo:ye,useReducer:ye,useRef:ye,useState:ye,useDebugValue:ye,useDeferredValue:ye,useTransition:ye,useMutableSource:ye,useSyncExternalStore:ye,useId:ye,unstable_isNewReconciler:!1},Jh={readContext:Xe,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:Xe,useEffect:Pa,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,jl(4194308,4,Hf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return jl(4,2,e,t)},useMemo:function(e,t){var n=ct();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ct();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Zh.bind(null,b,e),[r.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:La,useDebugValue:bs,useDeferredValue:function(e){return ct().memoizedState=e},useTransition:function(){var e=La(!1),t=e[0];return e=Xh.bind(null,e[1]),ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=b,l=ct();if(q){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),fe===null)throw Error(k(349));sn&30||Of(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Pa(Df.bind(null,r,i,e),[e]),r.flags|=2048,Gr(9,Mf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ct(),t=fe.identifierPrefix;if(q){var n=xt,r=wt;n=(r&~(1<<32-rt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Vr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Kh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},bh={readContext:Xe,useCallback:Vf,useContext:Xe,useEffect:Js,useImperativeHandle:Wf,useInsertionEffect:Uf,useLayoutEffect:Bf,useMemo:Qf,useReducer:ao,useRef:$f,useState:function(){return ao(Qr)},useDebugValue:bs,useDeferredValue:function(e){var t=Ze();return Gf(t,oe.memoizedState,e)},useTransition:function(){var e=ao(Qr)[0],t=Ze().memoizedState;return[e,t]},useMutableSource:zf,useSyncExternalStore:If,useId:Yf,unstable_isNewReconciler:!1},em={readContext:Xe,useCallback:Vf,useContext:Xe,useEffect:Js,useImperativeHandle:Wf,useInsertionEffect:Uf,useLayoutEffect:Bf,useMemo:Qf,useReducer:co,useRef:$f,useState:function(){return co(Qr)},useDebugValue:bs,useDeferredValue:function(e){var t=Ze();return oe===null?t.memoizedState=e:Gf(t,oe.memoizedState,e)},useTransition:function(){var e=co(Qr)[0],t=Ze().memoizedState;return[e,t]},useMutableSource:zf,useSyncExternalStore:If,useId:Yf,unstable_isNewReconciler:!1};function et(e,t){if(e&&e.defaultProps){t=ee({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Jo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ee({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var _i={isMounted:function(e){return(e=e._reactInternals)?pn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_e(),l=Ht(e),i=St(r,l);i.payload=t,n!=null&&(i.callback=n),t=Ut(e,i,l),t!==null&&(lt(t,e,l,r),Ml(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_e(),l=Ht(e),i=St(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ut(e,i,l),t!==null&&(lt(t,e,l,r),Ml(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_e(),r=Ht(e),l=St(n,r);l.tag=2,t!=null&&(l.callback=t),t=Ut(e,l,r),t!==null&&(lt(t,e,r,n),Ml(t,e,r))}};function Aa(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Fr(n,r)||!Fr(l,i):!0}function qf(e,t,n){var r=!1,l=Qt,i=t.contextType;return typeof i=="object"&&i!==null?i=Xe(i):(l=Ie(t)?ln:we.current,r=t.contextTypes,i=(r=r!=null)?Hn(e,l):Qt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=_i,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function za(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&_i.enqueueReplaceState(t,t.state,null)}function bo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Qs(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=Xe(i):(i=Ie(t)?ln:we.current,l.context=Hn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Jo(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&_i.enqueueReplaceState(l,l.state,null),li(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Gn(e,t){try{var n="",r=t;do n+=Rp(r),r=r.return;while(r);var l=n}catch(i){l=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function fo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function es(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var tm=typeof WeakMap=="function"?WeakMap:Map;function Jf(e,t,n){n=St(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ai||(ai=!0,cs=r),es(e,t)},n}function bf(e,t,n){n=St(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){es(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){es(e,t),typeof r!="function"&&(Bt===null?Bt=new Set([this]):Bt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ia(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new tm;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=mm.bind(null,e,t,n),t.then(e,e))}function Oa(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ma(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=St(-1,1),t.tag=2,Ut(n,t,1))),n.lanes|=1),e)}var nm=Nt.ReactCurrentOwner,Ae=!1;function Ee(e,t,n,r){t.child=e===null?Rf(t,null,n,r):Vn(t,e.child,n,r)}function Da(e,t,n,r,l){n=n.render;var i=t.ref;return $n(t,l),r=Zs(e,t,n,r,i,l),n=qs(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ct(e,t,l)):(q&&n&&Fs(t),t.flags|=1,Ee(e,t,r,l),t.child)}function ja(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!su(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ed(e,t,i,r,l)):(e=Bl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Fr,n(o,r)&&e.ref===t.ref)return Ct(e,t,l)}return t.flags|=1,e=Wt(i,r),e.ref=t.ref,e.return=t,t.child=e}function ed(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Fr(i,r)&&e.ref===t.ref)if(Ae=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(Ae=!0);else return t.lanes=e.lanes,Ct(e,t,l)}return ts(e,t,n,r,l)}function td(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(On,De),De|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(On,De),De|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Q(On,De),De|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Q(On,De),De|=r;return Ee(e,t,l,n),t.child}function nd(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ts(e,t,n,r,l){var i=Ie(n)?ln:we.current;return i=Hn(t,i),$n(t,l),n=Zs(e,t,n,r,i,l),r=qs(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ct(e,t,l)):(q&&r&&Fs(t),t.flags|=1,Ee(e,t,n,l),t.child)}function Fa(e,t,n,r,l){if(Ie(n)){var i=!0;bl(t)}else i=!1;if($n(t,l),t.stateNode===null)Fl(e,t),qf(t,n,r),bo(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,a=n.contextType;typeof a=="object"&&a!==null?a=Xe(a):(a=Ie(n)?ln:we.current,a=Hn(t,a));var m=n.getDerivedStateFromProps,g=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||u!==a)&&za(t,o,r,a),At=!1;var p=t.memoizedState;o.state=p,li(t,r,o,l),u=t.memoizedState,s!==r||p!==u||ze.current||At?(typeof m=="function"&&(Jo(t,n,m,r),u=t.memoizedState),(s=At||Aa(t,n,s,r,p,u,a))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=a,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Pf(e,t),s=t.memoizedProps,a=t.type===t.elementType?s:et(t.type,s),o.props=a,g=t.pendingProps,p=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=Xe(u):(u=Ie(n)?ln:we.current,u=Hn(t,u));var y=n.getDerivedStateFromProps;(m=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==g||p!==u)&&za(t,o,r,u),At=!1,p=t.memoizedState,o.state=p,li(t,r,o,l);var w=t.memoizedState;s!==g||p!==w||ze.current||At?(typeof y=="function"&&(Jo(t,n,y,r),w=t.memoizedState),(a=At||Aa(t,n,a,r,p,w,u)||!1)?(m||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=u,r=a):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return ns(e,t,n,r,i,l)}function ns(e,t,n,r,l,i){nd(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Ea(t,n,!1),Ct(e,t,i);r=t.stateNode,nm.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Vn(t,e.child,null,i),t.child=Vn(t,null,s,i)):Ee(e,t,s,i),t.memoizedState=r.state,l&&Ea(t,n,!0),t.child}function rd(e){var t=e.stateNode;t.pendingContext?Sa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Sa(e,t.context,!1),Gs(e,t.containerInfo)}function $a(e,t,n,r,l){return Wn(),Us(l),t.flags|=256,Ee(e,t,n,r),t.child}var rs={dehydrated:null,treeContext:null,retryLane:0};function ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function ld(e,t,n){var r=t.pendingProps,l=J.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Q(J,l&1),e===null)return Zo(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Ni(o,r,0,null),e=rn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ls(n),t.memoizedState=rs,e):eu(t,o));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return rm(e,t,o,r,s,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Wt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?i=Wt(s,i):(i=rn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?ls(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=rs,r}return i=e.child,e=i.sibling,r=Wt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function eu(e,t){return t=Ni({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Sl(e,t,n,r){return r!==null&&Us(r),Vn(t,e.child,null,n),e=eu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rm(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=fo(Error(k(422))),Sl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Ni({mode:"visible",children:r.children},l,0,null),i=rn(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Vn(t,e.child,null,o),t.child.memoizedState=ls(o),t.memoizedState=rs,i);if(!(t.mode&1))return Sl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(k(419)),r=fo(i,r,void 0),Sl(e,t,o,r)}if(s=(o&e.childLanes)!==0,Ae||s){if(r=fe,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Tt(e,l),lt(r,e,l,-1))}return ou(),r=fo(Error(k(421))),Sl(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=gm.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,Fe=$t(l.nextSibling),$e=t,q=!0,nt=null,e!==null&&(Qe[Ge++]=wt,Qe[Ge++]=xt,Qe[Ge++]=on,wt=e.id,xt=e.overflow,on=t),t=eu(t,r.children),t.flags|=4096,t)}function Ua(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qo(e.return,t,n)}function po(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function id(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(Ee(e,t,r.children,n),r=J.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ua(e,n,t);else if(e.tag===19)Ua(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Q(J,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ii(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),po(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ii(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}po(t,!0,n,null,i);break;case"together":po(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ct(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),un|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=Wt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lm(e,t,n){switch(t.tag){case 3:rd(t),Wn();break;case 5:Af(t);break;case 1:Ie(t.type)&&bl(t);break;case 4:Gs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;Q(ni,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(J,J.current&1),t.flags|=128,null):n&t.child.childLanes?ld(e,t,n):(Q(J,J.current&1),e=Ct(e,t,n),e!==null?e.sibling:null);Q(J,J.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return id(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Q(J,J.current),r)break;return null;case 22:case 23:return t.lanes=0,td(e,t,n)}return Ct(e,t,n)}var od,is,sd,ud;od=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};is=function(){};sd=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,tn(mt.current);var i=null;switch(n){case"input":l=No(e,l),r=No(e,r),i=[];break;case"select":l=ee({},l,{value:void 0}),r=ee({},r,{value:void 0}),i=[];break;case"textarea":l=Po(e,l),r=Po(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ql)}zo(n,r);var o;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var s=l[a];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Ar.hasOwnProperty(a)?i||(i=[]):(i=i||[]).push(a,null));for(a in r){var u=r[a];if(s=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&u!==s&&(u!=null||s!=null))if(a==="style")if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(a,n)),n=u;else a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(i=i||[]).push(a,u)):a==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(a,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(Ar.hasOwnProperty(a)?(u!=null&&a==="onScroll"&&K("scroll",e),i||s===u||(i=[])):(i=i||[]).push(a,u))}n&&(i=i||[]).push("style",n);var a=i;(t.updateQueue=a)&&(t.flags|=4)}};ud=function(e,t,n,r){n!==r&&(t.flags|=4)};function ur(e,t){if(!q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function im(e,t,n){var r=t.pendingProps;switch($s(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ve(t),null;case 1:return Ie(t.type)&&Jl(),ve(t),null;case 3:return r=t.stateNode,Qn(),X(ze),X(we),Ks(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,nt!==null&&(ps(nt),nt=null))),is(e,t),ve(t),null;case 5:Ys(t);var l=tn(Wr.current);if(n=t.type,e!==null&&t.stateNode!=null)sd(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return ve(t),null}if(e=tn(mt.current),wl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ft]=t,r[Br]=i,e=(t.mode&1)!==0,n){case"dialog":K("cancel",r),K("close",r);break;case"iframe":case"object":case"embed":K("load",r);break;case"video":case"audio":for(l=0;l<kr.length;l++)K(kr[l],r);break;case"source":K("error",r);break;case"img":case"image":case"link":K("error",r),K("load",r);break;case"details":K("toggle",r);break;case"input":Xu(r,i),K("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},K("invalid",r);break;case"textarea":qu(r,i),K("invalid",r)}zo(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var s=i[o];o==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&kl(r.textContent,s,e),l=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&kl(r.textContent,s,e),l=["children",""+s]):Ar.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&K("scroll",r)}switch(n){case"input":fl(r),Zu(r,i,!0);break;case"textarea":fl(r),Ju(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=ql)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Mc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[ft]=t,e[Br]=r,od(e,t,!1,!1),t.stateNode=e;e:{switch(o=Io(n,r),n){case"dialog":K("cancel",e),K("close",e),l=r;break;case"iframe":case"object":case"embed":K("load",e),l=r;break;case"video":case"audio":for(l=0;l<kr.length;l++)K(kr[l],e);l=r;break;case"source":K("error",e),l=r;break;case"img":case"image":case"link":K("error",e),K("load",e),l=r;break;case"details":K("toggle",e),l=r;break;case"input":Xu(e,r),l=No(e,r),K("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=ee({},r,{value:void 0}),K("invalid",e);break;case"textarea":qu(e,r),l=Po(e,r),K("invalid",e);break;default:l=r}zo(n,l),s=l;for(i in s)if(s.hasOwnProperty(i)){var u=s[i];i==="style"?Fc(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Dc(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&zr(e,u):typeof u=="number"&&zr(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ar.hasOwnProperty(i)?u!=null&&i==="onScroll"&&K("scroll",e):u!=null&&_s(e,i,u,o))}switch(n){case"input":fl(e),Zu(e,r,!1);break;case"textarea":fl(e),Ju(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Vt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Mn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Mn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=ql)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ve(t),null;case 6:if(e&&t.stateNode!=null)ud(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(k(166));if(n=tn(Wr.current),tn(mt.current),wl(t)){if(r=t.stateNode,n=t.memoizedProps,r[ft]=t,(i=r.nodeValue!==n)&&(e=$e,e!==null))switch(e.tag){case 3:kl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&kl(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ft]=t,t.stateNode=r}return ve(t),null;case 13:if(X(J),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(q&&Fe!==null&&t.mode&1&&!(t.flags&128))Cf(),Wn(),t.flags|=98560,i=!1;else if(i=wl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(k(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(k(317));i[ft]=t}else Wn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ve(t),i=!1}else nt!==null&&(ps(nt),nt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||J.current&1?se===0&&(se=3):ou())),t.updateQueue!==null&&(t.flags|=4),ve(t),null);case 4:return Qn(),is(e,t),e===null&&$r(t.stateNode.containerInfo),ve(t),null;case 10:return Ws(t.type._context),ve(t),null;case 17:return Ie(t.type)&&Jl(),ve(t),null;case 19:if(X(J),i=t.memoizedState,i===null)return ve(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)ur(i,!1);else{if(se!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ii(e),o!==null){for(t.flags|=128,ur(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Q(J,J.current&1|2),t.child}e=e.sibling}i.tail!==null&&le()>Yn&&(t.flags|=128,r=!0,ur(i,!1),t.lanes=4194304)}else{if(!r)if(e=ii(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ur(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!q)return ve(t),null}else 2*le()-i.renderingStartTime>Yn&&n!==1073741824&&(t.flags|=128,r=!0,ur(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=le(),t.sibling=null,n=J.current,Q(J,r?n&1|2:n&1),t):(ve(t),null);case 22:case 23:return iu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?De&1073741824&&(ve(t),t.subtreeFlags&6&&(t.flags|=8192)):ve(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function om(e,t){switch($s(t),t.tag){case 1:return Ie(t.type)&&Jl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qn(),X(ze),X(we),Ks(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ys(t),null;case 13:if(X(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));Wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(J),null;case 4:return Qn(),null;case 10:return Ws(t.type._context),null;case 22:case 23:return iu(),null;case 24:return null;default:return null}}var El=!1,ke=!1,sm=typeof WeakSet=="function"?WeakSet:Set,L=null;function In(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function os(e,t,n){try{n()}catch(r){ne(e,t,r)}}var Ba=!1;function um(e,t){if(Wo=Kl,e=pf(),js(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,m=0,g=e,p=null;t:for(;;){for(var y;g!==n||l!==0&&g.nodeType!==3||(s=o+l),g!==i||r!==0&&g.nodeType!==3||(u=o+r),g.nodeType===3&&(o+=g.nodeValue.length),(y=g.firstChild)!==null;)p=g,g=y;for(;;){if(g===e)break t;if(p===n&&++a===l&&(s=o),p===i&&++m===r&&(u=o),(y=g.nextSibling)!==null)break;g=p,p=g.parentNode}g=y}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vo={focusedElem:e,selectionRange:n},Kl=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,D=w.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?x:et(t.type,x),D);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(v){ne(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return w=Ba,Ba=!1,w}function Cr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&os(t,n,i)}l=l.next}while(l!==r)}}function Ti(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ss(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ad(e){var t=e.alternate;t!==null&&(e.alternate=null,ad(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ft],delete t[Br],delete t[Yo],delete t[Vh],delete t[Qh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cd(e){return e.tag===5||e.tag===3||e.tag===4}function Ha(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||cd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function us(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ql));else if(r!==4&&(e=e.child,e!==null))for(us(e,t,n),e=e.sibling;e!==null;)us(e,t,n),e=e.sibling}function as(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(as(e,t,n),e=e.sibling;e!==null;)as(e,t,n),e=e.sibling}var pe=null,tt=!1;function Lt(e,t,n){for(n=n.child;n!==null;)fd(e,t,n),n=n.sibling}function fd(e,t,n){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(yi,n)}catch{}switch(n.tag){case 5:ke||In(n,t);case 6:var r=pe,l=tt;pe=null,Lt(e,t,n),pe=r,tt=l,pe!==null&&(tt?(e=pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):pe.removeChild(n.stateNode));break;case 18:pe!==null&&(tt?(e=pe,n=n.stateNode,e.nodeType===8?io(e.parentNode,n):e.nodeType===1&&io(e,n),Dr(e)):io(pe,n.stateNode));break;case 4:r=pe,l=tt,pe=n.stateNode.containerInfo,tt=!0,Lt(e,t,n),pe=r,tt=l;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&os(n,t,o),l=l.next}while(l!==r)}Lt(e,t,n);break;case 1:if(!ke&&(In(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ne(n,t,s)}Lt(e,t,n);break;case 21:Lt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Lt(e,t,n),ke=r):Lt(e,t,n);break;default:Lt(e,t,n)}}function Wa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sm),t.forEach(function(r){var l=ym.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Je(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 5:pe=s.stateNode,tt=!1;break e;case 3:pe=s.stateNode.containerInfo,tt=!0;break e;case 4:pe=s.stateNode.containerInfo,tt=!0;break e}s=s.return}if(pe===null)throw Error(k(160));fd(i,o,l),pe=null,tt=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(a){ne(l,t,a)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)dd(t,e),t=t.sibling}function dd(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Je(t,e),at(e),r&4){try{Cr(3,e,e.return),Ti(3,e)}catch(x){ne(e,e.return,x)}try{Cr(5,e,e.return)}catch(x){ne(e,e.return,x)}}break;case 1:Je(t,e),at(e),r&512&&n!==null&&In(n,n.return);break;case 5:if(Je(t,e),at(e),r&512&&n!==null&&In(n,n.return),e.flags&32){var l=e.stateNode;try{zr(l,"")}catch(x){ne(e,e.return,x)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&Ic(l,i),Io(s,o);var a=Io(s,i);for(o=0;o<u.length;o+=2){var m=u[o],g=u[o+1];m==="style"?Fc(l,g):m==="dangerouslySetInnerHTML"?Dc(l,g):m==="children"?zr(l,g):_s(l,m,g,a)}switch(s){case"input":Ro(l,i);break;case"textarea":Oc(l,i);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var y=i.value;y!=null?Mn(l,!!i.multiple,y,!1):p!==!!i.multiple&&(i.defaultValue!=null?Mn(l,!!i.multiple,i.defaultValue,!0):Mn(l,!!i.multiple,i.multiple?[]:"",!1))}l[Br]=i}catch(x){ne(e,e.return,x)}}break;case 6:if(Je(t,e),at(e),r&4){if(e.stateNode===null)throw Error(k(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(x){ne(e,e.return,x)}}break;case 3:if(Je(t,e),at(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Dr(t.containerInfo)}catch(x){ne(e,e.return,x)}break;case 4:Je(t,e),at(e);break;case 13:Je(t,e),at(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(ru=le())),r&4&&Wa(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(ke=(a=ke)||m,Je(t,e),ke=a):Je(t,e),at(e),r&8192){if(a=e.memoizedState!==null,(e.stateNode.isHidden=a)&&!m&&e.mode&1)for(L=e,m=e.child;m!==null;){for(g=L=m;L!==null;){switch(p=L,y=p.child,p.tag){case 0:case 11:case 14:case 15:Cr(4,p,p.return);break;case 1:In(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(x){ne(r,n,x)}}break;case 5:In(p,p.return);break;case 22:if(p.memoizedState!==null){Qa(g);continue}}y!==null?(y.return=p,L=y):Qa(g)}m=m.sibling}e:for(m=null,g=e;;){if(g.tag===5){if(m===null){m=g;try{l=g.stateNode,a?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=g.stateNode,u=g.memoizedProps.style,o=u!=null&&u.hasOwnProperty("display")?u.display:null,s.style.display=jc("display",o))}catch(x){ne(e,e.return,x)}}}else if(g.tag===6){if(m===null)try{g.stateNode.nodeValue=a?"":g.memoizedProps}catch(x){ne(e,e.return,x)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;m===g&&(m=null),g=g.return}m===g&&(m=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Je(t,e),at(e),r&4&&Wa(e);break;case 21:break;default:Je(t,e),at(e)}}function at(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(cd(n)){var r=n;break e}n=n.return}throw Error(k(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(zr(l,""),r.flags&=-33);var i=Ha(e);as(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,s=Ha(e);us(e,s,o);break;default:throw Error(k(161))}}catch(u){ne(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function am(e,t,n){L=e,pd(e)}function pd(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var l=L,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||El;if(!o){var s=l.alternate,u=s!==null&&s.memoizedState!==null||ke;s=El;var a=ke;if(El=o,(ke=u)&&!a)for(L=l;L!==null;)o=L,u=o.child,o.tag===22&&o.memoizedState!==null?Ga(l):u!==null?(u.return=o,L=u):Ga(l);for(;i!==null;)L=i,pd(i),i=i.sibling;L=l,El=s,ke=a}Va(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,L=i):Va(e)}}function Va(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ke||Ti(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ke)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:et(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Ra(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ra(t,o,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var a=t.alternate;if(a!==null){var m=a.memoizedState;if(m!==null){var g=m.dehydrated;g!==null&&Dr(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(k(163))}ke||t.flags&512&&ss(t)}catch(p){ne(t,t.return,p)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Qa(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Ga(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ti(4,t)}catch(u){ne(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){ne(t,l,u)}}var i=t.return;try{ss(t)}catch(u){ne(t,i,u)}break;case 5:var o=t.return;try{ss(t)}catch(u){ne(t,o,u)}}}catch(u){ne(t,t.return,u)}if(t===e){L=null;break}var s=t.sibling;if(s!==null){s.return=t.return,L=s;break}L=t.return}}var cm=Math.ceil,ui=Nt.ReactCurrentDispatcher,tu=Nt.ReactCurrentOwner,Ke=Nt.ReactCurrentBatchConfig,U=0,fe=null,ie=null,he=0,De=0,On=Yt(0),se=0,Yr=null,un=0,Ci=0,nu=0,Nr=null,Pe=null,ru=0,Yn=1/0,vt=null,ai=!1,cs=null,Bt=null,_l=!1,Mt=null,ci=0,Rr=0,fs=null,$l=-1,Ul=0;function _e(){return U&6?le():$l!==-1?$l:$l=le()}function Ht(e){return e.mode&1?U&2&&he!==0?he&-he:Yh.transition!==null?(Ul===0&&(Ul=Zc()),Ul):(e=H,e!==0||(e=window.event,e=e===void 0?16:rf(e.type)),e):1}function lt(e,t,n,r){if(50<Rr)throw Rr=0,fs=null,Error(k(185));Xr(e,n,r),(!(U&2)||e!==fe)&&(e===fe&&(!(U&2)&&(Ci|=n),se===4&&It(e,he)),Oe(e,r),n===1&&U===0&&!(t.mode&1)&&(Yn=le()+500,Si&&Kt()))}function Oe(e,t){var n=e.callbackNode;Yp(e,t);var r=Yl(e,e===fe?he:0);if(r===0)n!==null&&ta(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ta(n),t===1)e.tag===0?Gh(Ya.bind(null,e)):Ef(Ya.bind(null,e)),Hh(function(){!(U&6)&&Kt()}),n=null;else{switch(qc(r)){case 1:n=Ls;break;case 4:n=Kc;break;case 16:n=Gl;break;case 536870912:n=Xc;break;default:n=Gl}n=xd(n,hd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function hd(e,t){if($l=-1,Ul=0,U&6)throw Error(k(327));var n=e.callbackNode;if(Un()&&e.callbackNode!==n)return null;var r=Yl(e,e===fe?he:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=fi(e,r);else{t=r;var l=U;U|=2;var i=gd();(fe!==e||he!==t)&&(vt=null,Yn=le()+500,nn(e,t));do try{pm();break}catch(s){md(e,s)}while(!0);Hs(),ui.current=i,U=l,ie!==null?t=0:(fe=null,he=0,t=se)}if(t!==0){if(t===2&&(l=Fo(e),l!==0&&(r=l,t=ds(e,l))),t===1)throw n=Yr,nn(e,0),It(e,r),Oe(e,le()),n;if(t===6)It(e,r);else{if(l=e.current.alternate,!(r&30)&&!fm(l)&&(t=fi(e,r),t===2&&(i=Fo(e),i!==0&&(r=i,t=ds(e,i))),t===1))throw n=Yr,nn(e,0),It(e,r),Oe(e,le()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(k(345));case 2:qt(e,Pe,vt);break;case 3:if(It(e,r),(r&130023424)===r&&(t=ru+500-le(),10<t)){if(Yl(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){_e(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Go(qt.bind(null,e,Pe,vt),t);break}qt(e,Pe,vt);break;case 4:if(It(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-rt(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=le()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*cm(r/1960))-r,10<r){e.timeoutHandle=Go(qt.bind(null,e,Pe,vt),r);break}qt(e,Pe,vt);break;case 5:qt(e,Pe,vt);break;default:throw Error(k(329))}}}return Oe(e,le()),e.callbackNode===n?hd.bind(null,e):null}function ds(e,t){var n=Nr;return e.current.memoizedState.isDehydrated&&(nn(e,t).flags|=256),e=fi(e,t),e!==2&&(t=Pe,Pe=n,t!==null&&ps(t)),e}function ps(e){Pe===null?Pe=e:Pe.push.apply(Pe,e)}function fm(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!it(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function It(e,t){for(t&=~nu,t&=~Ci,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rt(t),r=1<<n;e[n]=-1,t&=~r}}function Ya(e){if(U&6)throw Error(k(327));Un();var t=Yl(e,0);if(!(t&1))return Oe(e,le()),null;var n=fi(e,t);if(e.tag!==0&&n===2){var r=Fo(e);r!==0&&(t=r,n=ds(e,r))}if(n===1)throw n=Yr,nn(e,0),It(e,t),Oe(e,le()),n;if(n===6)throw Error(k(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,qt(e,Pe,vt),Oe(e,le()),null}function lu(e,t){var n=U;U|=1;try{return e(t)}finally{U=n,U===0&&(Yn=le()+500,Si&&Kt())}}function an(e){Mt!==null&&Mt.tag===0&&!(U&6)&&Un();var t=U;U|=1;var n=Ke.transition,r=H;try{if(Ke.transition=null,H=1,e)return e()}finally{H=r,Ke.transition=n,U=t,!(U&6)&&Kt()}}function iu(){De=On.current,X(On)}function nn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Bh(n)),ie!==null)for(n=ie.return;n!==null;){var r=n;switch($s(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Jl();break;case 3:Qn(),X(ze),X(we),Ks();break;case 5:Ys(r);break;case 4:Qn();break;case 13:X(J);break;case 19:X(J);break;case 10:Ws(r.type._context);break;case 22:case 23:iu()}n=n.return}if(fe=e,ie=e=Wt(e.current,null),he=De=t,se=0,Yr=null,nu=Ci=un=0,Pe=Nr=null,en!==null){for(t=0;t<en.length;t++)if(n=en[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}en=null}return e}function md(e,t){do{var n=ie;try{if(Hs(),Dl.current=si,oi){for(var r=b.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}oi=!1}if(sn=0,ce=oe=b=null,Tr=!1,Vr=0,tu.current=null,n===null||n.return===null){se=1,Yr=t,ie=null;break}e:{var i=e,o=n.return,s=n,u=t;if(t=he,s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var a=u,m=s,g=m.tag;if(!(m.mode&1)&&(g===0||g===11||g===15)){var p=m.alternate;p?(m.updateQueue=p.updateQueue,m.memoizedState=p.memoizedState,m.lanes=p.lanes):(m.updateQueue=null,m.memoizedState=null)}var y=Oa(o);if(y!==null){y.flags&=-257,Ma(y,o,s,i,t),y.mode&1&&Ia(i,a,t),t=y,u=a;var w=t.updateQueue;if(w===null){var x=new Set;x.add(u),t.updateQueue=x}else w.add(u);break e}else{if(!(t&1)){Ia(i,a,t),ou();break e}u=Error(k(426))}}else if(q&&s.mode&1){var D=Oa(o);if(D!==null){!(D.flags&65536)&&(D.flags|=256),Ma(D,o,s,i,t),Us(Gn(u,s));break e}}i=u=Gn(u,s),se!==4&&(se=2),Nr===null?Nr=[i]:Nr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var d=Jf(i,u,t);Na(i,d);break e;case 1:s=u;var c=i.type,h=i.stateNode;if(!(i.flags&128)&&(typeof c.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Bt===null||!Bt.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var v=bf(i,s,t);Na(i,v);break e}}i=i.return}while(i!==null)}vd(n)}catch(T){t=T,ie===n&&n!==null&&(ie=n=n.return);continue}break}while(!0)}function gd(){var e=ui.current;return ui.current=si,e===null?si:e}function ou(){(se===0||se===3||se===2)&&(se=4),fe===null||!(un&268435455)&&!(Ci&268435455)||It(fe,he)}function fi(e,t){var n=U;U|=2;var r=gd();(fe!==e||he!==t)&&(vt=null,nn(e,t));do try{dm();break}catch(l){md(e,l)}while(!0);if(Hs(),U=n,ui.current=r,ie!==null)throw Error(k(261));return fe=null,he=0,se}function dm(){for(;ie!==null;)yd(ie)}function pm(){for(;ie!==null&&!Fp();)yd(ie)}function yd(e){var t=wd(e.alternate,e,De);e.memoizedProps=e.pendingProps,t===null?vd(e):ie=t,tu.current=null}function vd(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=om(n,t),n!==null){n.flags&=32767,ie=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{se=6,ie=null;return}}else if(n=im(n,t,De),n!==null){ie=n;return}if(t=t.sibling,t!==null){ie=t;return}ie=t=e}while(t!==null);se===0&&(se=5)}function qt(e,t,n){var r=H,l=Ke.transition;try{Ke.transition=null,H=1,hm(e,t,n,r)}finally{Ke.transition=l,H=r}return null}function hm(e,t,n,r){do Un();while(Mt!==null);if(U&6)throw Error(k(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(k(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Kp(e,i),e===fe&&(ie=fe=null,he=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_l||(_l=!0,xd(Gl,function(){return Un(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Ke.transition,Ke.transition=null;var o=H;H=1;var s=U;U|=4,tu.current=null,um(e,n),dd(n,e),Oh(Vo),Kl=!!Wo,Vo=Wo=null,e.current=n,am(n),$p(),U=s,H=o,Ke.transition=i}else e.current=n;if(_l&&(_l=!1,Mt=e,ci=l),i=e.pendingLanes,i===0&&(Bt=null),Hp(n.stateNode),Oe(e,le()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(ai)throw ai=!1,e=cs,cs=null,e;return ci&1&&e.tag!==0&&Un(),i=e.pendingLanes,i&1?e===fs?Rr++:(Rr=0,fs=e):Rr=0,Kt(),null}function Un(){if(Mt!==null){var e=qc(ci),t=Ke.transition,n=H;try{if(Ke.transition=null,H=16>e?16:e,Mt===null)var r=!1;else{if(e=Mt,Mt=null,ci=0,U&6)throw Error(k(331));var l=U;for(U|=4,L=e.current;L!==null;){var i=L,o=i.child;if(L.flags&16){var s=i.deletions;if(s!==null){for(var u=0;u<s.length;u++){var a=s[u];for(L=a;L!==null;){var m=L;switch(m.tag){case 0:case 11:case 15:Cr(8,m,i)}var g=m.child;if(g!==null)g.return=m,L=g;else for(;L!==null;){m=L;var p=m.sibling,y=m.return;if(ad(m),m===a){L=null;break}if(p!==null){p.return=y,L=p;break}L=y}}}var w=i.alternate;if(w!==null){var x=w.child;if(x!==null){w.child=null;do{var D=x.sibling;x.sibling=null,x=D}while(x!==null)}}L=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,L=o;else e:for(;L!==null;){if(i=L,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Cr(9,i,i.return)}var d=i.sibling;if(d!==null){d.return=i.return,L=d;break e}L=i.return}}var c=e.current;for(L=c;L!==null;){o=L;var h=o.child;if(o.subtreeFlags&2064&&h!==null)h.return=o,L=h;else e:for(o=c;L!==null;){if(s=L,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Ti(9,s)}}catch(T){ne(s,s.return,T)}if(s===o){L=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,L=v;break e}L=s.return}}if(U=l,Kt(),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(yi,e)}catch{}r=!0}return r}finally{H=n,Ke.transition=t}}return!1}function Ka(e,t,n){t=Gn(n,t),t=Jf(e,t,1),e=Ut(e,t,1),t=_e(),e!==null&&(Xr(e,1,t),Oe(e,t))}function ne(e,t,n){if(e.tag===3)Ka(e,e,n);else for(;t!==null;){if(t.tag===3){Ka(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Bt===null||!Bt.has(r))){e=Gn(n,e),e=bf(t,e,1),t=Ut(t,e,1),e=_e(),t!==null&&(Xr(t,1,e),Oe(t,e));break}}t=t.return}}function mm(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&n,fe===e&&(he&n)===n&&(se===4||se===3&&(he&130023424)===he&&500>le()-ru?nn(e,0):nu|=n),Oe(e,t)}function kd(e,t){t===0&&(e.mode&1?(t=hl,hl<<=1,!(hl&130023424)&&(hl=4194304)):t=1);var n=_e();e=Tt(e,t),e!==null&&(Xr(e,t,n),Oe(e,n))}function gm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kd(e,n)}function ym(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),kd(e,n)}var wd;wd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,lm(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,q&&t.flags&1048576&&_f(t,ti,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fl(e,t),e=t.pendingProps;var l=Hn(t,we.current);$n(t,n),l=Zs(null,t,r,e,l,n);var i=qs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ie(r)?(i=!0,bl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Qs(t),l.updater=_i,t.stateNode=l,l._reactInternals=t,bo(t,r,e,n),t=ns(null,t,r,!0,i,n)):(t.tag=0,q&&i&&Fs(t),Ee(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=km(r),e=et(r,e),l){case 0:t=ts(null,t,r,e,n);break e;case 1:t=Fa(null,t,r,e,n);break e;case 11:t=Da(null,t,r,e,n);break e;case 14:t=ja(null,t,r,et(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),ts(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),Fa(e,t,r,l,n);case 3:e:{if(rd(t),e===null)throw Error(k(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Pf(e,t),li(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Gn(Error(k(423)),t),t=$a(e,t,r,n,l);break e}else if(r!==l){l=Gn(Error(k(424)),t),t=$a(e,t,r,n,l);break e}else for(Fe=$t(t.stateNode.containerInfo.firstChild),$e=t,q=!0,nt=null,n=Rf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Wn(),r===l){t=Ct(e,t,n);break e}Ee(e,t,r,n)}t=t.child}return t;case 5:return Af(t),e===null&&Zo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Qo(r,l)?o=null:i!==null&&Qo(r,i)&&(t.flags|=32),nd(e,t),Ee(e,t,o,n),t.child;case 6:return e===null&&Zo(t),null;case 13:return ld(e,t,n);case 4:return Gs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):Ee(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),Da(e,t,r,l,n);case 7:return Ee(e,t,t.pendingProps,n),t.child;case 8:return Ee(e,t,t.pendingProps.children,n),t.child;case 12:return Ee(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,Q(ni,r._currentValue),r._currentValue=o,i!==null)if(it(i.value,o)){if(i.children===l.children&&!ze.current){t=Ct(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=St(-1,n&-n),u.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?u.next=u:(u.next=m.next,m.next=u),a.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),qo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(k(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),qo(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Ee(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,$n(t,n),l=Xe(l),r=r(l),t.flags|=1,Ee(e,t,r,n),t.child;case 14:return r=t.type,l=et(r,t.pendingProps),l=et(r.type,l),ja(e,t,r,l,n);case 15:return ed(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),Fl(e,t),t.tag=1,Ie(r)?(e=!0,bl(t)):e=!1,$n(t,n),qf(t,r,l),bo(t,r,l,n),ns(null,t,r,!0,e,n);case 19:return id(e,t,n);case 22:return td(e,t,n)}throw Error(k(156,t.tag))};function xd(e,t){return Yc(e,t)}function vm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ye(e,t,n,r){return new vm(e,t,n,r)}function su(e){return e=e.prototype,!(!e||!e.isReactComponent)}function km(e){if(typeof e=="function")return su(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cs)return 11;if(e===Ns)return 14}return 2}function Wt(e,t){var n=e.alternate;return n===null?(n=Ye(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")su(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case _n:return rn(n.children,l,i,t);case Ts:o=8,l|=8;break;case Eo:return e=Ye(12,n,t,l|2),e.elementType=Eo,e.lanes=i,e;case _o:return e=Ye(13,n,t,l),e.elementType=_o,e.lanes=i,e;case To:return e=Ye(19,n,t,l),e.elementType=To,e.lanes=i,e;case Pc:return Ni(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Rc:o=10;break e;case Lc:o=9;break e;case Cs:o=11;break e;case Ns:o=14;break e;case Pt:o=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ye(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function rn(e,t,n,r){return e=Ye(7,e,r,t),e.lanes=n,e}function Ni(e,t,n,r){return e=Ye(22,e,r,t),e.elementType=Pc,e.lanes=n,e.stateNode={isHidden:!1},e}function ho(e,t,n){return e=Ye(6,e,null,t),e.lanes=n,e}function mo(e,t,n){return t=Ye(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function wm(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ki(0),this.expirationTimes=Ki(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ki(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function uu(e,t,n,r,l,i,o,s,u){return e=new wm(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ye(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qs(i),e}function xm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:En,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Sd(e){if(!e)return Qt;e=e._reactInternals;e:{if(pn(e)!==e||e.tag!==1)throw Error(k(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ie(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(k(171))}if(e.tag===1){var n=e.type;if(Ie(n))return Sf(e,n,t)}return t}function Ed(e,t,n,r,l,i,o,s,u){return e=uu(n,r,!0,e,l,i,o,s,u),e.context=Sd(null),n=e.current,r=_e(),l=Ht(n),i=St(r,l),i.callback=t??null,Ut(n,i,l),e.current.lanes=l,Xr(e,l,r),Oe(e,r),e}function Ri(e,t,n,r){var l=t.current,i=_e(),o=Ht(l);return n=Sd(n),t.context===null?t.context=n:t.pendingContext=n,t=St(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ut(l,t,o),e!==null&&(lt(e,l,o,i),Ml(e,l,o)),o}function di(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Xa(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function au(e,t){Xa(e,t),(e=e.alternate)&&Xa(e,t)}function Sm(){return null}var _d=typeof reportError=="function"?reportError:function(e){console.error(e)};function cu(e){this._internalRoot=e}Li.prototype.render=cu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(k(409));Ri(e,t,null,null)};Li.prototype.unmount=cu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;an(function(){Ri(null,e,null,null)}),t[_t]=null}};function Li(e){this._internalRoot=e}Li.prototype.unstable_scheduleHydration=function(e){if(e){var t=ef();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&t!==0&&t<zt[n].priority;n++);zt.splice(n,0,e),n===0&&nf(e)}};function fu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Pi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Za(){}function Em(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var a=di(o);i.call(a)}}var o=Ed(t,r,e,0,null,!1,!1,"",Za);return e._reactRootContainer=o,e[_t]=o.current,$r(e.nodeType===8?e.parentNode:e),an(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var s=r;r=function(){var a=di(u);s.call(a)}}var u=uu(e,0,!1,null,null,!1,!1,"",Za);return e._reactRootContainer=u,e[_t]=u.current,$r(e.nodeType===8?e.parentNode:e),an(function(){Ri(t,u,n,r)}),u}function Ai(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var s=l;l=function(){var u=di(o);s.call(u)}}Ri(t,o,e,l)}else o=Em(n,t,e,l,r);return di(o)}Jc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=vr(t.pendingLanes);n!==0&&(Ps(t,n|1),Oe(t,le()),!(U&6)&&(Yn=le()+500,Kt()))}break;case 13:an(function(){var r=Tt(e,1);if(r!==null){var l=_e();lt(r,e,1,l)}}),au(e,1)}};As=function(e){if(e.tag===13){var t=Tt(e,134217728);if(t!==null){var n=_e();lt(t,e,134217728,n)}au(e,134217728)}};bc=function(e){if(e.tag===13){var t=Ht(e),n=Tt(e,t);if(n!==null){var r=_e();lt(n,e,t,r)}au(e,t)}};ef=function(){return H};tf=function(e,t){var n=H;try{return H=e,t()}finally{H=n}};Mo=function(e,t,n){switch(t){case"input":if(Ro(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=xi(r);if(!l)throw Error(k(90));zc(r),Ro(r,l)}}}break;case"textarea":Oc(e,n);break;case"select":t=n.value,t!=null&&Mn(e,!!n.multiple,t,!1)}};Bc=lu;Hc=an;var _m={usingClientEntryPoint:!1,Events:[qr,Rn,xi,$c,Uc,lu]},ar={findFiberByHostInstance:bt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Tm={bundleType:ar.bundleType,version:ar.version,rendererPackageName:ar.rendererPackageName,rendererConfig:ar.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Qc(e),e===null?null:e.stateNode},findFiberByHostInstance:ar.findFiberByHostInstance||Sm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tl.isDisabled&&Tl.supportsFiber)try{yi=Tl.inject(Tm),ht=Tl}catch{}}He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_m;He.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fu(t))throw Error(k(200));return xm(e,t,null,n)};He.createRoot=function(e,t){if(!fu(e))throw Error(k(299));var n=!1,r="",l=_d;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=uu(e,1,!1,null,null,n,!1,r,l),e[_t]=t.current,$r(e.nodeType===8?e.parentNode:e),new cu(t)};He.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(k(188)):(e=Object.keys(e).join(","),Error(k(268,e)));return e=Qc(t),e=e===null?null:e.stateNode,e};He.flushSync=function(e){return an(e)};He.hydrate=function(e,t,n){if(!Pi(t))throw Error(k(200));return Ai(null,e,t,!0,n)};He.hydrateRoot=function(e,t,n){if(!fu(e))throw Error(k(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=_d;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Ed(t,null,e,1,n??null,l,!1,i,o),e[_t]=t.current,$r(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Li(t)};He.render=function(e,t,n){if(!Pi(t))throw Error(k(200));return Ai(null,e,t,!1,n)};He.unmountComponentAtNode=function(e){if(!Pi(e))throw Error(k(40));return e._reactRootContainer?(an(function(){Ai(null,null,e,!1,function(){e._reactRootContainer=null,e[_t]=null})}),!0):!1};He.unstable_batchedUpdates=lu;He.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Pi(n))throw Error(k(200));if(e==null||e._reactInternals===void 0)throw Error(k(38));return Ai(e,t,n,!1,r)};He.version="18.3.1-next-f1338f8080-20240426";function Td(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Td)}catch(e){console.error(e)}}Td(),_c.exports=He;var Cm=_c.exports,qa=Cm;xo.createRoot=qa.createRoot,xo.hydrateRoot=qa.hydrateRoot;function du(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let hn=du();function Cd(e){hn=e}const Nd=/[&<>"']/,Nm=new RegExp(Nd.source,"g"),Rd=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Rm=new RegExp(Rd.source,"g"),Lm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ja=e=>Lm[e];function je(e,t){if(t){if(Nd.test(e))return e.replace(Nm,Ja)}else if(Rd.test(e))return e.replace(Rm,Ja);return e}const Pm=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Am(e){return e.replace(Pm,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const zm=/(^|[^\[])\^/g;function W(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(l,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(zm,"$1"),n=n.replace(l,o),r},getRegex:()=>new RegExp(n,t)};return r}function ba(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Lr={exec:()=>null};function ec(e,t){const n=e.replace(/\|/g,(i,o,s)=>{let u=!1,a=o;for(;--a>=0&&s[a]==="\\";)u=!u;return u?"|":" |"}),r=n.split(/ \|/);let l=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;l<r.length;l++)r[l]=r[l].trim().replace(/\\\|/g,"|");return r}function Cl(e,t,n){const r=e.length;if(r===0)return"";let l=0;for(;l<r;){const i=e.charAt(r-l-1);if(i===t&&!n)l++;else if(i!==t&&n)l++;else break}return e.slice(0,r-l)}function Im(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function tc(e,t,n,r){const l=t.href,i=t.title?je(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const s={type:"link",raw:n,href:l,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,s}return{type:"image",raw:n,href:l,title:i,text:je(o)}}function Om(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
`).map(l=>{const i=l.match(/^\s+/);if(i===null)return l;const[o]=i;return o.length>=r.length?l.slice(r.length):l}).join(`
`)}class pi{constructor(t){Y(this,"options");Y(this,"rules");Y(this,"lexer");this.options=t||hn}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Cl(r,`
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],l=Om(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:l}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const l=Cl(r,"#");(this.options.pedantic||!l||/ $/.test(l))&&(r=l.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let r=n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
    $1`);r=Cl(r.replace(/^ *>[ \t]?/gm,""),`
`);const l=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(r);return this.lexer.state.top=l,{type:"blockquote",raw:n[0],tokens:i,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const l=r.length>1,i={type:"list",raw:"",ordered:l,start:l?+r.slice(0,-1):"",loose:!1,items:[]};r=l?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=l?r:"[*+-]");const o=new RegExp(`^( {0,3}${r})((?:[	 ][^\\n]*)?(?:\\n|$))`);let s="",u="",a=!1;for(;t;){let m=!1;if(!(n=o.exec(t))||this.rules.block.hr.test(t))break;s=n[0],t=t.substring(s.length);let g=n[2].split(`
`,1)[0].replace(/^\t+/,d=>" ".repeat(3*d.length)),p=t.split(`
`,1)[0],y=0;this.options.pedantic?(y=2,u=g.trimStart()):(y=n[2].search(/[^ ]/),y=y>4?1:y,u=g.slice(y),y+=n[1].length);let w=!1;if(!g&&/^ *$/.test(p)&&(s+=p+`
`,t=t.substring(p.length+1),m=!0),!m){const d=new RegExp(`^ {0,${Math.min(3,y-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),c=new RegExp(`^ {0,${Math.min(3,y-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),h=new RegExp(`^ {0,${Math.min(3,y-1)}}(?:\`\`\`|~~~)`),v=new RegExp(`^ {0,${Math.min(3,y-1)}}#`);for(;t;){const T=t.split(`
`,1)[0];if(p=T,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),h.test(p)||v.test(p)||d.test(p)||c.test(t))break;if(p.search(/[^ ]/)>=y||!p.trim())u+=`
`+p.slice(y);else{if(w||g.search(/[^ ]/)>=4||h.test(g)||v.test(g)||c.test(g))break;u+=`
`+p}!w&&!p.trim()&&(w=!0),s+=T+`
`,t=t.substring(T.length+1),g=p.slice(y)}}i.loose||(a?i.loose=!0:/\n *\n *$/.test(s)&&(a=!0));let x=null,D;this.options.gfm&&(x=/^\[[ xX]\] /.exec(u),x&&(D=x[0]!=="[ ] ",u=u.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:s,task:!!x,checked:D,loose:!1,text:u,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimEnd(),i.items[i.items.length-1].text=u.trimEnd(),i.raw=i.raw.trimEnd();for(let m=0;m<i.items.length;m++)if(this.lexer.state.top=!1,i.items[m].tokens=this.lexer.blockTokens(i.items[m].text,[]),!i.loose){const g=i.items[m].tokens.filter(y=>y.type==="space"),p=g.length>0&&g.some(y=>/\n.*\n/.test(y.raw));i.loose=p}if(i.loose)for(let m=0;m<i.items.length;m++)i.items[m].loose=!0;return i}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),l=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:l,title:i}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=ec(n[1]),l=n[2].replace(/^\||\| *$/g,"").split("|"),i=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===l.length){for(const s of l)/^ *-+: *$/.test(s)?o.align.push("right"):/^ *:-+: *$/.test(s)?o.align.push("center"):/^ *:-+ *$/.test(s)?o.align.push("left"):o.align.push(null);for(const s of r)o.header.push({text:s,tokens:this.lexer.inline(s)});for(const s of i)o.rows.push(ec(s,o.header.length).map(u=>({text:u,tokens:this.lexer.inline(u)})));return o}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:je(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Cl(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=Im(n[2],"()");if(o>-1){const u=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,u).trim(),n[3]=""}}let l=n[2],i="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);o&&(l=o[1],i=o[3])}else i=n[3]?n[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(r)?l=l.slice(1):l=l.slice(1,-1)),tc(n,{href:l&&l.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const l=(r[2]||r[1]).replace(/\s+/g," "),i=n[l.toLowerCase()];if(!i){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return tc(r,i,r[0],this.lexer)}}emStrong(t,n,r=""){let l=this.rules.inline.emStrongLDelim.exec(t);if(!l||l[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(l[1]||l[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const o=[...l[0]].length-1;let s,u,a=o,m=0;const g=l[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(g.lastIndex=0,n=n.slice(-1*t.length+o);(l=g.exec(n))!=null;){if(s=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!s)continue;if(u=[...s].length,l[3]||l[4]){a+=u;continue}else if((l[5]||l[6])&&o%3&&!((o+u)%3)){m+=u;continue}if(a-=u,a>0)continue;u=Math.min(u,u+a+m);const p=[...l[0]][0].length,y=t.slice(0,o+l.index+p+u);if(Math.min(o,u)%2){const x=y.slice(1,-1);return{type:"em",raw:y,text:x,tokens:this.lexer.inlineTokens(x)}}const w=y.slice(2,-2);return{type:"strong",raw:y,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const l=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return l&&i&&(r=r.substring(1,r.length-1)),r=je(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,l;return n[2]==="@"?(r=je(n[1]),l="mailto:"+r):(r=je(n[1]),l=r),{type:"link",raw:n[0],text:r,href:l,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r;let n;if(n=this.rules.inline.url.exec(t)){let l,i;if(n[2]==="@")l=je(n[0]),i="mailto:"+l;else{let o;do o=n[0],n[0]=((r=this.rules.inline._backpedal.exec(n[0]))==null?void 0:r[0])??"";while(o!==n[0]);l=je(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:l,href:i,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=je(n[0]),{type:"text",raw:n[0],text:r}}}}const Mm=/^(?: *(?:\n|$))+/,Dm=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,jm=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,br=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Fm=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ld=/(?:[*+-]|\d{1,9}[.)])/,Pd=W(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ld).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),pu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$m=/^[^\n]+/,hu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Um=W(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",hu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Bm=W(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ld).getRegex(),zi="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",mu=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Hm=W("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",mu).replace("tag",zi).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ad=W(pu).replace("hr",br).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",zi).getRegex(),Wm=W(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ad).getRegex(),gu={blockquote:Wm,code:Dm,def:Um,fences:jm,heading:Fm,hr:br,html:Hm,lheading:Pd,list:Bm,newline:Mm,paragraph:Ad,table:Lr,text:$m},nc=W("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",br).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",zi).getRegex(),Vm={...gu,table:nc,paragraph:W(pu).replace("hr",br).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",nc).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",zi).getRegex()},Qm={...gu,html:W(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",mu).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Lr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:W(pu).replace("hr",br).replace("heading",` *#{1,6} *[^
]`).replace("lheading",Pd).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},zd=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Gm=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Id=/^( {2,}|\\)\n(?!\s*$)/,Ym=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,el="\\p{P}\\p{S}",Km=W(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,el).getRegex(),Xm=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Zm=W(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,el).getRegex(),qm=W("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,el).getRegex(),Jm=W("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,el).getRegex(),bm=W(/\\([punct])/,"gu").replace(/punct/g,el).getRegex(),eg=W(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),tg=W(mu).replace("(?:-->|$)","-->").getRegex(),ng=W("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",tg).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),hi=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,rg=W(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",hi).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Od=W(/^!?\[(label)\]\[(ref)\]/).replace("label",hi).replace("ref",hu).getRegex(),Md=W(/^!?\[(ref)\](?:\[\])?/).replace("ref",hu).getRegex(),lg=W("reflink|nolink(?!\\()","g").replace("reflink",Od).replace("nolink",Md).getRegex(),yu={_backpedal:Lr,anyPunctuation:bm,autolink:eg,blockSkip:Xm,br:Id,code:Gm,del:Lr,emStrongLDelim:Zm,emStrongRDelimAst:qm,emStrongRDelimUnd:Jm,escape:zd,link:rg,nolink:Md,punctuation:Km,reflink:Od,reflinkSearch:lg,tag:ng,text:Ym,url:Lr},ig={...yu,link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",hi).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",hi).getRegex()},hs={...yu,escape:W(zd).replace("])","~|])").getRegex(),url:W(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},og={...hs,br:W(Id).replace("{2,}","*").getRegex(),text:W(hs.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Nl={normal:gu,gfm:Vm,pedantic:Qm},cr={normal:yu,gfm:hs,breaks:og,pedantic:ig};class dt{constructor(t){Y(this,"tokens");Y(this,"options");Y(this,"state");Y(this,"tokenizer");Y(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||hn,this.options.tokenizer=this.options.tokenizer||new pi,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:Nl.normal,inline:cr.normal};this.options.pedantic?(n.block=Nl.pedantic,n.inline=cr.pedantic):this.options.gfm&&(n.block=Nl.gfm,this.options.breaks?n.inline=cr.breaks:n.inline=cr.gfm),this.tokenizer.rules=n}static get rules(){return{block:Nl,inline:cr}}static lex(t,n){return new dt(n).lex(t)}static lexInline(t,n){return new dt(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g,"    ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(s,u,a)=>u+"    ".repeat(a.length));let r,l,i,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(r=s.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),r.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
`+r.raw,l.text+=`
`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
`+r.raw,l.text+=`
`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=l.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startBlock){let s=1/0;const u=t.slice(1);let a;this.options.extensions.startBlock.forEach(m=>{a=m.call({lexer:this},u),typeof a=="number"&&a>=0&&(s=Math.min(s,a))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){l=n[n.length-1],o&&l.type==="paragraph"?(l.raw+=`
`+r.raw,l.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r),o=i.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&l.type==="text"?(l.raw+=`
`+r.raw,l.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r);continue}if(t){const s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,l,i,o=t,s,u,a;if(this.tokens.links){const m=Object.keys(this.tokens.links);if(m.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)m.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,s.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(u||(a=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(m=>(r=m.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&r.type==="text"&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),l=n[n.length-1],l&&r.type==="text"&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,o,a)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let m=1/0;const g=t.slice(1);let p;this.options.extensions.startInline.forEach(y=>{p=y.call({lexer:this},g),typeof p=="number"&&p>=0&&(m=Math.min(m,p))}),m<1/0&&m>=0&&(i=t.substring(0,m+1))}if(r=this.tokenizer.inlineText(i)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(a=r.raw.slice(-1)),u=!0,l=n[n.length-1],l&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(t){const m="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(m);break}else throw new Error(m)}}return n}}class mi{constructor(t){Y(this,"options");this.options=t||hn}code(t,n,r){var i;const l=(i=(n||"").match(/^\S*/))==null?void 0:i[0];return t=t.replace(/\n$/,"")+`
`,l?'<pre><code class="language-'+je(l)+'">'+(r?t:je(t,!0))+`</code></pre>
`:"<pre><code>"+(r?t:je(t,!0))+`</code></pre>
`}blockquote(t){return`<blockquote>
${t}</blockquote>
`}html(t,n){return t}heading(t,n,r){return`<h${n}>${t}</h${n}>
`}hr(){return`<hr>
`}list(t,n,r){const l=n?"ol":"ul",i=n&&r!==1?' start="'+r+'"':"";return"<"+l+i+`>
`+t+"</"+l+`>
`}listitem(t,n,r){return`<li>${t}</li>
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(t){return`<p>${t}</p>
`}table(t,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
<thead>
`+t+`</thead>
`+n+`</table>
`}tablerow(t){return`<tr>
${t}</tr>
`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+`</${r}>
`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return"<br>"}del(t){return`<del>${t}</del>`}link(t,n,r){const l=ba(t);if(l===null)return r;t=l;let i='<a href="'+t+'"';return n&&(i+=' title="'+n+'"'),i+=">"+r+"</a>",i}image(t,n,r){const l=ba(t);if(l===null)return r;t=l;let i=`<img src="${t}" alt="${r}"`;return n&&(i+=` title="${n}"`),i+=">",i}text(t){return t}}class vu{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,r){return""+r}image(t,n,r){return""+r}br(){return""}}class pt{constructor(t){Y(this,"options");Y(this,"renderer");Y(this,"textRenderer");this.options=t||hn,this.options.renderer=this.options.renderer||new mi,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new vu}static parse(t,n){return new pt(n).parse(t)}static parseInline(t,n){return new pt(n).parseInline(t)}parse(t,n=!0){let r="";for(let l=0;l<t.length;l++){const i=t[l];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const o=i,s=this.options.extensions.renderers[o.type].call({parser:this},o);if(s!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){r+=s||"";continue}}switch(i.type){case"space":continue;case"hr":{r+=this.renderer.hr();continue}case"heading":{const o=i;r+=this.renderer.heading(this.parseInline(o.tokens),o.depth,Am(this.parseInline(o.tokens,this.textRenderer)));continue}case"code":{const o=i;r+=this.renderer.code(o.text,o.lang,!!o.escaped);continue}case"table":{const o=i;let s="",u="";for(let m=0;m<o.header.length;m++)u+=this.renderer.tablecell(this.parseInline(o.header[m].tokens),{header:!0,align:o.align[m]});s+=this.renderer.tablerow(u);let a="";for(let m=0;m<o.rows.length;m++){const g=o.rows[m];u="";for(let p=0;p<g.length;p++)u+=this.renderer.tablecell(this.parseInline(g[p].tokens),{header:!1,align:o.align[p]});a+=this.renderer.tablerow(u)}r+=this.renderer.table(s,a);continue}case"blockquote":{const o=i,s=this.parse(o.tokens);r+=this.renderer.blockquote(s);continue}case"list":{const o=i,s=o.ordered,u=o.start,a=o.loose;let m="";for(let g=0;g<o.items.length;g++){const p=o.items[g],y=p.checked,w=p.task;let x="";if(p.task){const D=this.renderer.checkbox(!!y);a?p.tokens.length>0&&p.tokens[0].type==="paragraph"?(p.tokens[0].text=D+" "+p.tokens[0].text,p.tokens[0].tokens&&p.tokens[0].tokens.length>0&&p.tokens[0].tokens[0].type==="text"&&(p.tokens[0].tokens[0].text=D+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:D+" "}):x+=D+" "}x+=this.parse(p.tokens,a),m+=this.renderer.listitem(x,w,!!y)}r+=this.renderer.list(m,s,u);continue}case"html":{const o=i;r+=this.renderer.html(o.text,o.block);continue}case"paragraph":{const o=i;r+=this.renderer.paragraph(this.parseInline(o.tokens));continue}case"text":{let o=i,s=o.tokens?this.parseInline(o.tokens):o.text;for(;l+1<t.length&&t[l+1].type==="text";)o=t[++l],s+=`
`+(o.tokens?this.parseInline(o.tokens):o.text);r+=n?this.renderer.paragraph(s):s;continue}default:{const o='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}parseInline(t,n){n=n||this.renderer;let r="";for(let l=0;l<t.length;l++){const i=t[l];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=o||"";continue}}switch(i.type){case"escape":{const o=i;r+=n.text(o.text);break}case"html":{const o=i;r+=n.html(o.text);break}case"link":{const o=i;r+=n.link(o.href,o.title,this.parseInline(o.tokens,n));break}case"image":{const o=i;r+=n.image(o.href,o.title,o.text);break}case"strong":{const o=i;r+=n.strong(this.parseInline(o.tokens,n));break}case"em":{const o=i;r+=n.em(this.parseInline(o.tokens,n));break}case"codespan":{const o=i;r+=n.codespan(o.text);break}case"br":{r+=n.br();break}case"del":{const o=i;r+=n.del(this.parseInline(o.tokens,n));break}case"text":{const o=i;r+=n.text(o.text);break}default:{const o='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}}class Pr{constructor(t){Y(this,"options");this.options=t||hn}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}}Y(Pr,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var fn,ms,Dd;class sg{constructor(...t){Hu(this,fn);Y(this,"defaults",du());Y(this,"options",this.setOptions);Y(this,"parse",ul(this,fn,ms).call(this,dt.lex,pt.parse));Y(this,"parseInline",ul(this,fn,ms).call(this,dt.lexInline,pt.parseInline));Y(this,"Parser",pt);Y(this,"Renderer",mi);Y(this,"TextRenderer",vu);Y(this,"Lexer",dt);Y(this,"Tokenizer",pi);Y(this,"Hooks",Pr);this.use(...t)}walkTokens(t,n){var l,i;let r=[];for(const o of t)switch(r=r.concat(n.call(this,o)),o.type){case"table":{const s=o;for(const u of s.header)r=r.concat(this.walkTokens(u.tokens,n));for(const u of s.rows)for(const a of u)r=r.concat(this.walkTokens(a.tokens,n));break}case"list":{const s=o;r=r.concat(this.walkTokens(s.items,n));break}default:{const s=o;(i=(l=this.defaults.extensions)==null?void 0:l.childTokens)!=null&&i[s.type]?this.defaults.extensions.childTokens[s.type].forEach(u=>{const a=s[u].flat(1/0);r=r.concat(this.walkTokens(a,n))}):s.tokens&&(r=r.concat(this.walkTokens(s.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const l={...r};if(l.async=this.defaults.async||l.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const o=n.renderers[i.name];o?n.renderers[i.name]=function(...s){let u=i.renderer.apply(this,s);return u===!1&&(u=o.apply(this,s)),u}:n.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=n[i.level];o?o.unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),l.extensions=n),r.renderer){const i=this.defaults.renderer||new mi(this.defaults);for(const o in r.renderer){if(!(o in i))throw new Error(`renderer '${o}' does not exist`);if(o==="options")continue;const s=o,u=r.renderer[s],a=i[s];i[s]=(...m)=>{let g=u.apply(i,m);return g===!1&&(g=a.apply(i,m)),g||""}}l.renderer=i}if(r.tokenizer){const i=this.defaults.tokenizer||new pi(this.defaults);for(const o in r.tokenizer){if(!(o in i))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const s=o,u=r.tokenizer[s],a=i[s];i[s]=(...m)=>{let g=u.apply(i,m);return g===!1&&(g=a.apply(i,m)),g}}l.tokenizer=i}if(r.hooks){const i=this.defaults.hooks||new Pr;for(const o in r.hooks){if(!(o in i))throw new Error(`hook '${o}' does not exist`);if(o==="options")continue;const s=o,u=r.hooks[s],a=i[s];Pr.passThroughHooks.has(o)?i[s]=m=>{if(this.defaults.async)return Promise.resolve(u.call(i,m)).then(p=>a.call(i,p));const g=u.call(i,m);return a.call(i,g)}:i[s]=(...m)=>{let g=u.apply(i,m);return g===!1&&(g=a.apply(i,m)),g}}l.hooks=i}if(r.walkTokens){const i=this.defaults.walkTokens,o=r.walkTokens;l.walkTokens=function(s){let u=[];return u.push(o.call(this,s)),i&&(u=u.concat(i.call(this,s))),u}}this.defaults={...this.defaults,...l}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return dt.lex(t,n??this.defaults)}parser(t,n){return pt.parse(t,n??this.defaults)}}fn=new WeakSet,ms=function(t,n){return(r,l)=>{const i={...l},o={...this.defaults,...i};this.defaults.async===!0&&i.async===!1&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const s=ul(this,fn,Dd).call(this,!!o.silent,!!o.async);if(typeof r>"u"||r===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(u=>t(u,o)).then(u=>o.hooks?o.hooks.processAllTokens(u):u).then(u=>o.walkTokens?Promise.all(this.walkTokens(u,o.walkTokens)).then(()=>u):u).then(u=>n(u,o)).then(u=>o.hooks?o.hooks.postprocess(u):u).catch(s);try{o.hooks&&(r=o.hooks.preprocess(r));let u=t(r,o);o.hooks&&(u=o.hooks.processAllTokens(u)),o.walkTokens&&this.walkTokens(u,o.walkTokens);let a=n(u,o);return o.hooks&&(a=o.hooks.postprocess(a)),a}catch(u){return s(u)}}},Dd=function(t,n){return r=>{if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,t){const l="<p>An error occurred:</p><pre>"+je(r.message+"",!0)+"</pre>";return n?Promise.resolve(l):l}if(n)return Promise.reject(r);throw r}};const cn=new sg;function B(e,t){return cn.parse(e,t)}B.options=B.setOptions=function(e){return cn.setOptions(e),B.defaults=cn.defaults,Cd(B.defaults),B};B.getDefaults=du;B.defaults=hn;B.use=function(...e){return cn.use(...e),B.defaults=cn.defaults,Cd(B.defaults),B};B.walkTokens=function(e,t){return cn.walkTokens(e,t)};B.parseInline=cn.parseInline;B.Parser=pt;B.parser=pt.parse;B.Renderer=mi;B.TextRenderer=vu;B.Lexer=dt;B.lexer=dt.lex;B.Tokenizer=pi;B.Hooks=Pr;B.parse=B;B.options;B.setOptions;B.use;B.walkTokens;B.parseInline;pt.parse;dt.lex;/*! @license DOMPurify 3.2.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.2/LICENSE */const{entries:jd,setPrototypeOf:rc,isFrozen:ug,getPrototypeOf:ag,getOwnPropertyDescriptor:cg}=Object;let{freeze:Te,seal:qe,create:Fd}=Object,{apply:gs,construct:ys}=typeof Reflect<"u"&&Reflect;Te||(Te=function(t){return t});qe||(qe=function(t){return t});gs||(gs=function(t,n,r){return t.apply(n,r)});ys||(ys=function(t,n){return new t(...n)});const Rl=Be(Array.prototype.forEach),lc=Be(Array.prototype.pop),fr=Be(Array.prototype.push),Hl=Be(String.prototype.toLowerCase),go=Be(String.prototype.toString),ic=Be(String.prototype.match),dr=Be(String.prototype.replace),fg=Be(String.prototype.indexOf),dg=Be(String.prototype.trim),be=Be(Object.prototype.hasOwnProperty),Se=Be(RegExp.prototype.test),pr=pg(TypeError);function Be(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),l=1;l<n;l++)r[l-1]=arguments[l];return gs(e,t,r)}}function pg(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ys(e,n)}}function j(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Hl;rc&&rc(e,null);let r=t.length;for(;r--;){let l=t[r];if(typeof l=="string"){const i=n(l);i!==l&&(ug(t)||(t[r]=i),l=i)}e[l]=!0}return e}function hg(e){for(let t=0;t<e.length;t++)be(e,t)||(e[t]=null);return e}function Jt(e){const t=Fd(null);for(const[n,r]of jd(e))be(e,n)&&(Array.isArray(r)?t[n]=hg(r):r&&typeof r=="object"&&r.constructor===Object?t[n]=Jt(r):t[n]=r);return t}function hr(e,t){for(;e!==null;){const r=cg(e,t);if(r){if(r.get)return Be(r.get);if(typeof r.value=="function")return Be(r.value)}e=ag(e)}function n(){return null}return n}const oc=Te(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),yo=Te(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),vo=Te(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),mg=Te(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ko=Te(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),gg=Te(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),sc=Te(["#text"]),uc=Te(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),wo=Te(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ac=Te(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ll=Te(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),yg=qe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),vg=qe(/<%[\w\W]*|[\w\W]*%>/gm),kg=qe(/\${[\w\W]*}/gm),wg=qe(/^data-[\-\w.\u00B7-\uFFFF]/),xg=qe(/^aria-[\-\w]+$/),$d=qe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Sg=qe(/^(?:\w+script|data):/i),Eg=qe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ud=qe(/^html$/i),_g=qe(/^[a-z][.\w]*(-[.\w]+)+$/i);var cc=Object.freeze({__proto__:null,ARIA_ATTR:xg,ATTR_WHITESPACE:Eg,CUSTOM_ELEMENT:_g,DATA_ATTR:wg,DOCTYPE_NAME:Ud,ERB_EXPR:vg,IS_ALLOWED_URI:$d,IS_SCRIPT_OR_DATA:Sg,MUSTACHE_EXPR:yg,TMPLIT_EXPR:kg});const mr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Tg=function(){return typeof window>"u"?null:window},Cg=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(r=n.getAttribute(l));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},fc=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Bd(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tg();const t=A=>Bd(A);if(t.version="3.2.2",t.removed=[],!e||!e.document||e.document.nodeType!==mr.document)return t.isSupported=!1,t;let{document:n}=e;const r=n,l=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:s,Element:u,NodeFilter:a,NamedNodeMap:m=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:p,trustedTypes:y}=e,w=u.prototype,x=hr(w,"cloneNode"),D=hr(w,"remove"),d=hr(w,"nextSibling"),c=hr(w,"childNodes"),h=hr(w,"parentNode");if(typeof o=="function"){const A=n.createElement("template");A.content&&A.content.ownerDocument&&(n=A.content.ownerDocument)}let v,T="";const{implementation:S,createNodeIterator:C,createDocumentFragment:N,getElementsByTagName:$}=n,{importNode:M}=r;let V=fc();t.isSupported=typeof jd=="function"&&typeof h=="function"&&S&&S.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Re,ERB_EXPR:Ve,TMPLIT_EXPR:mn,DATA_ATTR:Ii,ARIA_ATTR:qn,IS_SCRIPT_OR_DATA:Jn,ATTR_WHITESPACE:R,CUSTOM_ELEMENT:z}=cc;let{IS_ALLOWED_URI:I}=cc,O=null;const re=j({},[...oc,...yo,...vo,...ko,...sc]);let te=null;const ot=j({},[...uc,...wo,...ac,...Ll]);let G=Object.seal(Fd(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Me=null,Rt=null,ku=!0,Oi=!0,wu=!1,xu=!0,gn=!1,Mi=!0,Xt=!1,Di=!1,ji=!1,yn=!1,tl=!1,nl=!1,Su=!0,Eu=!1;const Hd="user-content-";let Fi=!0,bn=!1,vn={},kn=null;const _u=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Tu=null;const Cu=j({},["audio","video","img","source","image","track"]);let $i=null;const Nu=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rl="http://www.w3.org/1998/Math/MathML",ll="http://www.w3.org/2000/svg",gt="http://www.w3.org/1999/xhtml";let wn=gt,Ui=!1,Bi=null;const Wd=j({},[rl,ll,gt],go);let il=j({},["mi","mo","mn","ms","mtext"]),ol=j({},["annotation-xml"]);const Vd=j({},["title","style","font","a","script"]);let er=null;const Qd=["application/xhtml+xml","text/html"],Gd="text/html";let ue=null,xn=null;const Yd=n.createElement("form"),Ru=function(f){return f instanceof RegExp||f instanceof Function},Hi=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xn&&xn===f)){if((!f||typeof f!="object")&&(f={}),f=Jt(f),er=Qd.indexOf(f.PARSER_MEDIA_TYPE)===-1?Gd:f.PARSER_MEDIA_TYPE,ue=er==="application/xhtml+xml"?go:Hl,O=be(f,"ALLOWED_TAGS")?j({},f.ALLOWED_TAGS,ue):re,te=be(f,"ALLOWED_ATTR")?j({},f.ALLOWED_ATTR,ue):ot,Bi=be(f,"ALLOWED_NAMESPACES")?j({},f.ALLOWED_NAMESPACES,go):Wd,$i=be(f,"ADD_URI_SAFE_ATTR")?j(Jt(Nu),f.ADD_URI_SAFE_ATTR,ue):Nu,Tu=be(f,"ADD_DATA_URI_TAGS")?j(Jt(Cu),f.ADD_DATA_URI_TAGS,ue):Cu,kn=be(f,"FORBID_CONTENTS")?j({},f.FORBID_CONTENTS,ue):_u,Me=be(f,"FORBID_TAGS")?j({},f.FORBID_TAGS,ue):{},Rt=be(f,"FORBID_ATTR")?j({},f.FORBID_ATTR,ue):{},vn=be(f,"USE_PROFILES")?f.USE_PROFILES:!1,ku=f.ALLOW_ARIA_ATTR!==!1,Oi=f.ALLOW_DATA_ATTR!==!1,wu=f.ALLOW_UNKNOWN_PROTOCOLS||!1,xu=f.ALLOW_SELF_CLOSE_IN_ATTR!==!1,gn=f.SAFE_FOR_TEMPLATES||!1,Mi=f.SAFE_FOR_XML!==!1,Xt=f.WHOLE_DOCUMENT||!1,yn=f.RETURN_DOM||!1,tl=f.RETURN_DOM_FRAGMENT||!1,nl=f.RETURN_TRUSTED_TYPE||!1,ji=f.FORCE_BODY||!1,Su=f.SANITIZE_DOM!==!1,Eu=f.SANITIZE_NAMED_PROPS||!1,Fi=f.KEEP_CONTENT!==!1,bn=f.IN_PLACE||!1,I=f.ALLOWED_URI_REGEXP||$d,wn=f.NAMESPACE||gt,il=f.MATHML_TEXT_INTEGRATION_POINTS||il,ol=f.HTML_INTEGRATION_POINTS||ol,G=f.CUSTOM_ELEMENT_HANDLING||{},f.CUSTOM_ELEMENT_HANDLING&&Ru(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(G.tagNameCheck=f.CUSTOM_ELEMENT_HANDLING.tagNameCheck),f.CUSTOM_ELEMENT_HANDLING&&Ru(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(G.attributeNameCheck=f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),f.CUSTOM_ELEMENT_HANDLING&&typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(G.allowCustomizedBuiltInElements=f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),gn&&(Oi=!1),tl&&(yn=!0),vn&&(O=j({},sc),te=[],vn.html===!0&&(j(O,oc),j(te,uc)),vn.svg===!0&&(j(O,yo),j(te,wo),j(te,Ll)),vn.svgFilters===!0&&(j(O,vo),j(te,wo),j(te,Ll)),vn.mathMl===!0&&(j(O,ko),j(te,ac),j(te,Ll))),f.ADD_TAGS&&(O===re&&(O=Jt(O)),j(O,f.ADD_TAGS,ue)),f.ADD_ATTR&&(te===ot&&(te=Jt(te)),j(te,f.ADD_ATTR,ue)),f.ADD_URI_SAFE_ATTR&&j($i,f.ADD_URI_SAFE_ATTR,ue),f.FORBID_CONTENTS&&(kn===_u&&(kn=Jt(kn)),j(kn,f.FORBID_CONTENTS,ue)),Fi&&(O["#text"]=!0),Xt&&j(O,["html","head","body"]),O.table&&(j(O,["tbody"]),delete Me.tbody),f.TRUSTED_TYPES_POLICY){if(typeof f.TRUSTED_TYPES_POLICY.createHTML!="function")throw pr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof f.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw pr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=f.TRUSTED_TYPES_POLICY,T=v.createHTML("")}else v===void 0&&(v=Cg(y,l)),v!==null&&typeof T=="string"&&(T=v.createHTML(""));Te&&Te(f),xn=f}},Lu=j({},[...yo,...vo,...mg]),Pu=j({},[...ko,...gg]),Kd=function(f){let E=h(f);(!E||!E.tagName)&&(E={namespaceURI:wn,tagName:"template"});const P=Hl(f.tagName),Z=Hl(E.tagName);return Bi[f.namespaceURI]?f.namespaceURI===ll?E.namespaceURI===gt?P==="svg":E.namespaceURI===rl?P==="svg"&&(Z==="annotation-xml"||il[Z]):!!Lu[P]:f.namespaceURI===rl?E.namespaceURI===gt?P==="math":E.namespaceURI===ll?P==="math"&&ol[Z]:!!Pu[P]:f.namespaceURI===gt?E.namespaceURI===ll&&!ol[Z]||E.namespaceURI===rl&&!il[Z]?!1:!Pu[P]&&(Vd[P]||!Lu[P]):!!(er==="application/xhtml+xml"&&Bi[f.namespaceURI]):!1},st=function(f){fr(t.removed,{element:f});try{h(f).removeChild(f)}catch{D(f)}},sl=function(f,E){try{fr(t.removed,{attribute:E.getAttributeNode(f),from:E})}catch{fr(t.removed,{attribute:null,from:E})}if(E.removeAttribute(f),f==="is")if(yn||tl)try{st(E)}catch{}else try{E.setAttribute(f,"")}catch{}},Au=function(f){let E=null,P=null;if(ji)f="<remove></remove>"+f;else{const de=ic(f,/^[\r\n\t ]+/);P=de&&de[0]}er==="application/xhtml+xml"&&wn===gt&&(f='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+f+"</body></html>");const Z=v?v.createHTML(f):f;if(wn===gt)try{E=new p().parseFromString(Z,er)}catch{}if(!E||!E.documentElement){E=S.createDocument(wn,"template",null);try{E.documentElement.innerHTML=Ui?T:Z}catch{}}const ge=E.body||E.documentElement;return f&&P&&ge.insertBefore(n.createTextNode(P),ge.childNodes[0]||null),wn===gt?$.call(E,Xt?"html":"body")[0]:Xt?E.documentElement:ge},zu=function(f){return C.call(f.ownerDocument||f,f,a.SHOW_ELEMENT|a.SHOW_COMMENT|a.SHOW_TEXT|a.SHOW_PROCESSING_INSTRUCTION|a.SHOW_CDATA_SECTION,null)},Iu=function(f){return f instanceof g&&(typeof f.nodeName!="string"||typeof f.textContent!="string"||typeof f.removeChild!="function"||!(f.attributes instanceof m)||typeof f.removeAttribute!="function"||typeof f.setAttribute!="function"||typeof f.namespaceURI!="string"||typeof f.insertBefore!="function"||typeof f.hasChildNodes!="function")},Ou=function(f){return typeof s=="function"&&f instanceof s};function yt(A,f,E){Rl(A,P=>{P.call(t,f,E,xn)})}const Mu=function(f){let E=null;if(yt(V.beforeSanitizeElements,f,null),Iu(f))return st(f),!0;const P=ue(f.nodeName);if(yt(V.uponSanitizeElement,f,{tagName:P,allowedTags:O}),f.hasChildNodes()&&!Ou(f.firstElementChild)&&Se(/<[/\w]/g,f.innerHTML)&&Se(/<[/\w]/g,f.textContent)||f.nodeType===mr.progressingInstruction||Mi&&f.nodeType===mr.comment&&Se(/<[/\w]/g,f.data))return st(f),!0;if(!O[P]||Me[P]){if(!Me[P]&&ju(P)&&(G.tagNameCheck instanceof RegExp&&Se(G.tagNameCheck,P)||G.tagNameCheck instanceof Function&&G.tagNameCheck(P)))return!1;if(Fi&&!kn[P]){const Z=h(f)||f.parentNode,ge=c(f)||f.childNodes;if(ge&&Z){const de=ge.length;for(let Le=de-1;Le>=0;--Le){const ut=x(ge[Le],!0);ut.__removalCount=(f.__removalCount||0)+1,Z.insertBefore(ut,d(f))}}}return st(f),!0}return f instanceof u&&!Kd(f)||(P==="noscript"||P==="noembed"||P==="noframes")&&Se(/<\/no(script|embed|frames)/i,f.innerHTML)?(st(f),!0):(gn&&f.nodeType===mr.text&&(E=f.textContent,Rl([Re,Ve,mn],Z=>{E=dr(E,Z," ")}),f.textContent!==E&&(fr(t.removed,{element:f.cloneNode()}),f.textContent=E)),yt(V.afterSanitizeElements,f,null),!1)},Du=function(f,E,P){if(Su&&(E==="id"||E==="name")&&(P in n||P in Yd))return!1;if(!(Oi&&!Rt[E]&&Se(Ii,E))){if(!(ku&&Se(qn,E))){if(!te[E]||Rt[E]){if(!(ju(f)&&(G.tagNameCheck instanceof RegExp&&Se(G.tagNameCheck,f)||G.tagNameCheck instanceof Function&&G.tagNameCheck(f))&&(G.attributeNameCheck instanceof RegExp&&Se(G.attributeNameCheck,E)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(E))||E==="is"&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&Se(G.tagNameCheck,P)||G.tagNameCheck instanceof Function&&G.tagNameCheck(P))))return!1}else if(!$i[E]){if(!Se(I,dr(P,R,""))){if(!((E==="src"||E==="xlink:href"||E==="href")&&f!=="script"&&fg(P,"data:")===0&&Tu[f])){if(!(wu&&!Se(Jn,dr(P,R,"")))){if(P)return!1}}}}}}return!0},ju=function(f){return f!=="annotation-xml"&&ic(f,z)},Fu=function(f){yt(V.beforeSanitizeAttributes,f,null);const{attributes:E}=f;if(!E)return;const P={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:te,forceKeepAttr:void 0};let Z=E.length;for(;Z--;){const ge=E[Z],{name:de,namespaceURI:Le,value:ut}=ge,tr=ue(de);let xe=de==="value"?ut:dg(ut);if(P.attrName=tr,P.attrValue=xe,P.keepAttr=!0,P.forceKeepAttr=void 0,yt(V.uponSanitizeAttribute,f,P),xe=P.attrValue,Eu&&(tr==="id"||tr==="name")&&(sl(de,f),xe=Hd+xe),Mi&&Se(/((--!?|])>)|<\/(style|title)/i,xe)){sl(de,f);continue}if(P.forceKeepAttr||(sl(de,f),!P.keepAttr))continue;if(!xu&&Se(/\/>/i,xe)){sl(de,f);continue}gn&&Rl([Re,Ve,mn],Uu=>{xe=dr(xe,Uu," ")});const $u=ue(f.nodeName);if(Du($u,tr,xe)){if(v&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!Le)switch(y.getAttributeType($u,tr)){case"TrustedHTML":{xe=v.createHTML(xe);break}case"TrustedScriptURL":{xe=v.createScriptURL(xe);break}}try{Le?f.setAttributeNS(Le,de,xe):f.setAttribute(de,xe),Iu(f)?st(f):lc(t.removed)}catch{}}}yt(V.afterSanitizeAttributes,f,null)},Xd=function A(f){let E=null;const P=zu(f);for(yt(V.beforeSanitizeShadowDOM,f,null);E=P.nextNode();)yt(V.uponSanitizeShadowNode,E,null),!Mu(E)&&(E.content instanceof i&&A(E.content),Fu(E));yt(V.afterSanitizeShadowDOM,f,null)};return t.sanitize=function(A){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=null,P=null,Z=null,ge=null;if(Ui=!A,Ui&&(A="<!-->"),typeof A!="string"&&!Ou(A))if(typeof A.toString=="function"){if(A=A.toString(),typeof A!="string")throw pr("dirty is not a string, aborting")}else throw pr("toString is not a function");if(!t.isSupported)return A;if(Di||Hi(f),t.removed=[],typeof A=="string"&&(bn=!1),bn){if(A.nodeName){const ut=ue(A.nodeName);if(!O[ut]||Me[ut])throw pr("root node is forbidden and cannot be sanitized in-place")}}else if(A instanceof s)E=Au("<!---->"),P=E.ownerDocument.importNode(A,!0),P.nodeType===mr.element&&P.nodeName==="BODY"||P.nodeName==="HTML"?E=P:E.appendChild(P);else{if(!yn&&!gn&&!Xt&&A.indexOf("<")===-1)return v&&nl?v.createHTML(A):A;if(E=Au(A),!E)return yn?null:nl?T:""}E&&ji&&st(E.firstChild);const de=zu(bn?A:E);for(;Z=de.nextNode();)Mu(Z)||(Z.content instanceof i&&Xd(Z.content),Fu(Z));if(bn)return A;if(yn){if(tl)for(ge=N.call(E.ownerDocument);E.firstChild;)ge.appendChild(E.firstChild);else ge=E;return(te.shadowroot||te.shadowrootmode)&&(ge=M.call(r,ge,!0)),ge}let Le=Xt?E.outerHTML:E.innerHTML;return Xt&&O["!doctype"]&&E.ownerDocument&&E.ownerDocument.doctype&&E.ownerDocument.doctype.name&&Se(Ud,E.ownerDocument.doctype.name)&&(Le="<!DOCTYPE "+E.ownerDocument.doctype.name+`>
`+Le),gn&&Rl([Re,Ve,mn],ut=>{Le=dr(Le,ut," ")}),v&&nl?v.createHTML(Le):Le},t.setConfig=function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hi(A),Di=!0},t.clearConfig=function(){xn=null,Di=!1},t.isValidAttribute=function(A,f,E){xn||Hi({});const P=ue(A),Z=ue(f);return Du(P,Z,E)},t.addHook=function(A,f){typeof f=="function"&&fr(V[A],f)},t.removeHook=function(A){return lc(V[A])},t.removeHooks=function(A){V[A]=[]},t.removeAllHooks=function(){V=fc()},t}var Ng=Bd();function Rg(e){return _.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[_.jsx("path",{d:"M12 8V4H8"}),_.jsx("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),_.jsx("path",{d:"M2 14h2"}),_.jsx("path",{d:"M20 14h2"}),_.jsx("path",{d:"M15 13v2"}),_.jsx("path",{d:"M9 13v2"})]})}function Lg(e){return _.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[_.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),_.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function Pg({messages:e}){const t=e.length===0;return _.jsx("div",{className:`flex-1 p-6 max-w-[960px] w-full ${t?"flex flex-col items-center justify-end":"space-y-4"}`,children:t?_.jsx("div",{className:"text-xl",children:"Ready!"}):e.map((n,r)=>_.jsx("div",{className:"flex items-start space-x-4",children:n.role==="assistant"?_.jsxs(_.Fragment,{children:[_.jsx(Rg,{className:"h-6 w-6 min-h-6 min-w-6 my-3 text-gray-500 dark:text-gray-300"}),_.jsx("div",{className:"bg-gray-200 dark:bg-gray-700 rounded-lg p-4",children:_.jsx("p",{className:"min-h-6 text-gray-800 dark:text-gray-200 overflow-wrap-anywhere",children:n.content.length>0?_.jsx("span",{className:"markdown",dangerouslySetInnerHTML:{__html:Ng.sanitize(B.parse(n.content))}}):_.jsxs("span",{className:"h-6 flex items-center gap-1",children:[_.jsx("span",{className:"w-2.5 h-2.5 bg-gray-600 dark:bg-gray-300 rounded-full animate-pulse"}),_.jsx("span",{className:"w-2.5 h-2.5 bg-gray-600 dark:bg-gray-300 rounded-full animate-pulse animation-delay-200"}),_.jsx("span",{className:"w-2.5 h-2.5 bg-gray-600 dark:bg-gray-300 rounded-full animate-pulse animation-delay-400"})]})})})]}):_.jsxs(_.Fragment,{children:[_.jsx(Lg,{className:"h-6 w-6 min-h-6 min-w-6 my-3 text-gray-500 dark:text-gray-300"}),_.jsx("div",{className:"bg-blue-500 text-white rounded-lg p-4",children:_.jsx("p",{className:"min-h-6 overflow-wrap-anywhere",children:n.content})})]})},`message-${r}`))})}function dc(e){return _.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[_.jsx("path",{d:"M5 12h14"}),_.jsx("path",{d:"m12 5 7 7-7 7"})]})}function Ag(e){return _.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[_.jsx("path",{d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),_.jsx("path",{fill:"currentColor",d:"M9 9.563C9 9.252 9.252 9 9.563 9h4.874c.311 0 .563.252.563.563v4.874c0 .311-.252.563-.563.563H9.564A.562.562 0 0 1 9 14.437V9.564Z"})]})}function zg(e){const t=e==0?0:Math.floor(Math.log(e)/Math.log(1024));return+(e/Math.pow(1024,t)).toFixed(2)*1+["B","kB","MB","GB","TB"][t]}function Ig({text:e,percentage:t,total:n}){return t??(t=0),_.jsx("div",{className:"w-full bg-gray-100 dark:bg-gray-700 text-left rounded-lg overflow-hidden mb-0.5",children:_.jsxs("div",{className:"bg-blue-400 whitespace-nowrap px-1 text-sm",style:{width:`${t}%`},children:[e," (",t.toFixed(2),"%",isNaN(n)?"":` of ${zg(n)}`,")"]})})}const Og=!!navigator.gpu,Mg=120;function Dg(){const e=ae.useRef(null),t=ae.useRef(null),n=ae.useRef(null),[r,l]=ae.useState(null),[i,o]=ae.useState(""),[s,u]=ae.useState([]),[a,m]=ae.useState(!1),[g,p]=ae.useState(""),[y,w]=ae.useState([]),[x,D]=ae.useState(null),[d,c]=ae.useState(null);function h(S){w(C=>[...C,{role:"user",content:S}]),D(null),m(!0),p("")}ae.useEffect(()=>{T()},[g]);function v(){e.current.postMessage({type:"interrupt"})}function T(){if(!t.current)return;const S=t.current;S.style.height="auto";const C=Math.min(Math.max(S.scrollHeight,24),200);S.style.height=`${C}px`}return ae.useEffect(()=>{e.current||(e.current=new Worker(new URL("/assets/worker-C9kOGc1L.js",import.meta.url),{type:"module"}));const S=C=>{switch(C.data.status){case"loading":l("loading"),o(C.data.data);break;case"initiate":u(N=>[...N,C.data]);break;case"progress":u(N=>N.map($=>$.file===C.data.file?{...$,...C.data}:$));break;case"done":u(N=>N.filter($=>$.file!==C.data.file));break;case"ready":l("ready");break;case"start":w(N=>[...N,{role:"assistant",content:""}]);break;case"update":{const{output:N,tps:$,numTokens:M}=C.data;D($),c(M),w(V=>{const Re=[...V],Ve=Re.at(-1);return Re[Re.length-1]={...Ve,content:Ve.content+N},Re})}break;case"complete":m(!1);break}};return e.current.addEventListener("message",S),()=>{e.current.removeEventListener("message",S)}},[]),ae.useEffect(()=>{y.filter(S=>S.role==="user").length!==0&&y.at(-1).role!=="assistant"&&(D(null),e.current.postMessage({type:"generate",data:y}))},[y,a]),ae.useEffect(()=>{if(n.current&&a){const S=n.current;S.scrollHeight-S.scrollTop-S.clientHeight<Mg&&(S.scrollTop=S.scrollHeight)}},[y,a]),Og?_.jsxs("div",{className:"flex flex-col h-screen mx-auto items justify-end text-gray-800 dark:text-gray-200 bg-white dark:bg-gray-900",children:[r===null&&y.length===0&&_.jsxs("div",{className:"h-full overflow-auto scrollbar-thin flex justify-center items-center flex-col relative",children:[_.jsxs("div",{className:"flex flex-col items-center mb-1 max-w-[250px] text-center",children:[_.jsx("img",{src:"logo.png",width:"100%",height:"auto",className:"block"}),_.jsx("h1",{className:"text-4xl font-bold mb-1",children:"Phi-3 WebGPU"}),_.jsx("h2",{className:"font-semibold",children:"A private and powerful AI chatbot that runs locally in your browser."})]}),_.jsxs("div",{className:"flex flex-col items-center px-4",children:[_.jsxs("p",{className:"max-w-[514px] mb-4",children:[_.jsx("br",{}),"You are about to load ",_.jsx("a",{href:"https://huggingface.co/Xenova/Phi-3-mini-4k-instruct",target:"_blank",rel:"noreferrer",className:"font-medium underline",children:"Phi-3-mini-4k-instruct"}),", a 3.82 billion parameter LLM that is optimized for inference on the web. Once downloaded, the model (2.3 GB) will be cached and reused when you revisit the page.",_.jsx("br",{}),_.jsx("br",{}),"Everything runs directly in your browser using ",_.jsx("a",{href:"https://huggingface.co/docs/transformers.js",target:"_blank",rel:"noreferrer",className:"underline",children:"🤗 Transformers.js"})," and ONNX Runtime Web, meaning your conversations aren't sent to a server. You can even disconnect from the internet after the model has loaded!"]}),_.jsx("button",{className:"border px-4 py-2 rounded-lg bg-blue-400 text-white hover:bg-blue-500 disabled:bg-blue-100 disabled:cursor-not-allowed select-none",onClick:()=>{e.current.postMessage({type:"load"}),l("loading")},disabled:r!==null,children:"Load model"})]})]}),r==="loading"&&_.jsx(_.Fragment,{children:_.jsxs("div",{className:"w-full max-w-[500px] text-left mx-auto p-4 bottom-0 mt-auto",children:[_.jsx("p",{className:"text-center mb-1",children:i}),s.map(({file:S,progress:C,total:N},$)=>_.jsx(Ig,{text:S,percentage:C,total:N},$))]})}),r==="ready"&&_.jsxs("div",{ref:n,className:"overflow-y-auto scrollbar-thin w-full flex flex-col items-center h-full",children:[_.jsx(Pg,{messages:y}),_.jsx("p",{className:"text-center text-sm min-h-6 text-gray-500 dark:text-gray-300",children:x&&y.length>0&&_.jsxs(_.Fragment,{children:[!a&&_.jsxs("span",{children:["Generated ",d," tokens in ",(d/x).toFixed(2)," seconds ("]}),_.jsxs(_.Fragment,{children:[_.jsx("span",{className:"font-medium text-center mr-1 text-black dark:text-white",children:x.toFixed(2)}),_.jsx("span",{className:"text-gray-500 dark:text-gray-300",children:"tokens/second"})]}),!a&&_.jsxs(_.Fragment,{children:[_.jsx("span",{className:"mr-1",children:")."}),_.jsx("span",{className:"underline cursor-pointer",onClick:()=>{e.current.postMessage({type:"reset"}),w([])},children:"Reset"})]})]})})]}),_.jsxs("div",{className:"mt-2 border dark:bg-gray-700 rounded-lg w-[600px] max-w-[80%] max-h-[200px] mx-auto relative mb-3 flex",children:[_.jsx("textarea",{ref:t,className:"scrollbar-thin w-[550px] dark:bg-gray-700 px-3 py-4 rounded-lg bg-transparent border-none outline-none text-gray-800 disabled:text-gray-400 dark:text-gray-200 placeholder-gray-500 dark:placeholder-gray-400 disabled:placeholder-gray-200 resize-none disabled:cursor-not-allowed",placeholder:"Type your message...",type:"text",rows:1,value:g,disabled:r!=="ready",title:r==="ready"?"Model is ready":"Model not loaded yet",onKeyDown:S=>{g.length>0&&!a&&S.key==="Enter"&&!S.shiftKey&&(S.preventDefault(),h(g))},onInput:S=>p(S.target.value)}),a?_.jsx("div",{className:"cursor-pointer",onClick:v,children:_.jsx(Ag,{className:"h-8 w-8 p-1 rounded-md text-gray-800 dark:text-gray-100 absolute right-3 bottom-3"})}):g.length>0?_.jsx("div",{className:"cursor-pointer",onClick:()=>h(g),children:_.jsx(dc,{className:"h-8 w-8 p-1 bg-gray-800 dark:bg-gray-100 text-white dark:text-black rounded-md absolute right-3 bottom-3"})}):_.jsx("div",{children:_.jsx(dc,{className:"h-8 w-8 p-1 bg-gray-200 dark:bg-gray-600 text-gray-50 dark:text-gray-800 rounded-md absolute right-3 bottom-3"})})]}),_.jsx("p",{className:"text-xs text-gray-400 text-center mb-3",children:"Disclaimer: Generated content may be inaccurate or false."})]}):_.jsxs("div",{className:"fixed w-screen h-screen bg-black z-10 bg-opacity-[92%] text-white text-2xl font-semibold flex justify-center items-center text-center",children:["WebGPU is not supported",_.jsx("br",{}),"by this browser :("]})}xo.createRoot(document.getElementById("root")).render(_.jsx(mp.StrictMode,{children:_.jsx(Dg,{})}));