@netwatchai/chat 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -0
- package/lib/favicon.svg +1 -0
- package/lib/icons.svg +24 -0
- package/lib/web.min.js +41863 -0
- package/lib/web.min.js.map +1 -0
- package/lib/web.umd.js +1838 -0
- package/lib/web.umd.js.map +1 -0
- package/package.json +58 -0
package/lib/web.umd.js
ADDED
|
@@ -0,0 +1,1838 @@
|
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.NetwatchChat={}))})(this,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(e&&(t=e(e=0)),t),c=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),l=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},u=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},d=(e,r,i)=>(i=e==null?{}:t(a(e)),u(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),f=c((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,E());else{var t=n(l);t!==null&&re(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function ee(){return g?!0:!(e.unstable_now()-T<w)}function te(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ee());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&re(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?E():S=!1}}}var E;if(typeof y==`function`)E=function(){y(te)};else if(typeof MessageChannel<`u`){var ne=new MessageChannel,D=ne.port2;ne.port1.onmessage=te,E=function(){D.postMessage(null)}}else E=function(){_(te,0)};function re(t,n){C=_(function(){t(e.unstable_now())},n)}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(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,re(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,E()))),r},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(){if(x=!1,T){var t=e.unstable_now();E=t;var n=!0;try{a:{y=!1,b&&(b=!1,C(ee),ee=-1),v=!0;var a=_;try{b:{for(o(t),g=r(p);g!==null&&!(g.expirationTime>t&&c());){var u=g.callback;if(typeof u==`function`){g.callback=null,_=g.priorityLevel;var d=u(g.expirationTime<=t);if(t=e.unstable_now(),typeof d==`function`){g.callback=d,o(t),n=!0;break b}g===r(p)&&i(p),o(t)}else i(p);g=r(p)}if(g!==null)n=!0;else{var f=r(m);f!==null&&l(s,f.startTime-t),n=!1}}break a}finally{g=null,_=a,v=!1}n=void 0}}finally{n?ne():T=!1}}}function n(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break a}}function r(e){return e.length===0?null:e[0]}function i(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>a(c,n))l<i&&0>a(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<i&&0>a(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}function o(e){for(var t=r(m);t!==null;){if(t.callback===null)i(m);else if(t.startTime<=e)i(m),t.sortIndex=t.expirationTime,n(p,t);else break;t=r(m)}}function s(e){if(b=!1,o(e),!y)if(r(p)!==null)y=!0,T||(T=!0,ne());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}function c(){return x?!0:!(e.unstable_now()-E<te)}function l(t,n){ee=S(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],m=[],h=1,g=null,_=3,v=!1,y=!1,b=!1,x=!1,S=typeof setTimeout==`function`?setTimeout:null,C=typeof clearTimeout==`function`?clearTimeout:null,w=typeof setImmediate<`u`?setImmediate:null,T=!1,ee=-1,te=5,E=-1;if(typeof w==`function`)var ne=function(){w(t)};else if(typeof MessageChannel<`u`){var D=new MessageChannel,re=D.port2;D.port1.onmessage=t,ne=function(){re.postMessage(null)}}else ne=function(){S(t,0)};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(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):te=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(t,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=a+c,t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c,sortIndex:-1},a>o?(t.sortIndex=a,n(m,t),r(p)===null&&t===r(m)&&(b?(C(ee),ee=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,T||(T=!0,ne()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),m=c(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=f():t.exports=p()})),h=c((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`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`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function ee(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function te(e,t){return ee(e.type,t,e.props)}function E(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var D=/\/+/g;function re(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+e.key):t.toString(36)}function O(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function k(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,k(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+re(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(D,`$&/`)+`/`),k(o,r,i,``,function(e){return e})):o!=null&&(E(o)&&(o=te(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(D,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+re(a,u),c+=k(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+re(a,u++),c+=k(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return k(O(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ie(e,t,n){if(e==null)return e;var r=[],i=0;return k(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ae(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var A=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},j={map:ie,forEach:function(e,t,n){ie(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ie(e,function(){t++}),t},toArray:function(e){return ie(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=j,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return ee(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return ee(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=E,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ae}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,A)}catch(e){A(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.6`})),g=c(((e,t)=>{process.env.NODE_ENV!==`production`&&(function(){function n(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn(`%s(...) is deprecated in plain JavaScript React classes. %s`,t[0],t[1])}})}function r(e){return typeof e!=`object`||!e?null:(e=ge&&e[ge]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e,t){e=(e=e.constructor)&&(e.displayName||e.name)||`ReactClass`;var n=e+`.`+t;_e[n]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,e),_e[n]=!0)}function a(e,t,n){this.props=e,this.context=t,this.refs=ye,this.updater=n||ve}function o(){}function s(e,t,n){this.props=e,this.context=t,this.refs=ye,this.updater=n||ve}function c(){}function l(e){return``+e}function u(e){try{l(e);var t=!1}catch{t=!0}if(t){t=console;var n=t.error,r=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return n.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,r),l(e)}}function d(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case j:return`Fragment`;case se:return`Profiler`;case oe:return`StrictMode`;case de:return`Suspense`;case fe:return`SuspenseList`;case he:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case A:return`Portal`;case le:return e.displayName||`Context`;case ce:return(e._context.displayName||`Context`)+`.Consumer`;case ue:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case pe:return t=e.displayName||null,t===null?d(e.type)||`Memo`:t;case me:t=e._payload,e=e._init;try{return d(e(t))}catch{}}return null}function f(e){if(e===j)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===me)return`<...>`;try{var t=d(e);return t?`<`+t+`>`:`<...>`}catch{return`<...>`}}function p(){var e=N.A;return e===null?null:e.getOwner()}function m(){return Error(`react-stack-top-frame`)}function h(e){if(Ce.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function g(e,t){function n(){Te||(Te=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function _(){var e=d(this.type);return De[e]||(De[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function v(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:ae,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:_}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function y(e,t){return t=v(e.type,t,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(t._store.validated=e._store.validated),t}function b(e){x(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===me&&(e._payload.status===`fulfilled`?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e==`object`&&!!e&&e.$$typeof===ae}function S(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}function C(e,t){return typeof e==`object`&&e&&e.key!=null?(u(e.key),S(``+e.key)):t.toString(36)}function w(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(c,c):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function T(e,t,n,i,a){var o=typeof e;(o===`undefined`||o===`boolean`)&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case`bigint`:case`string`:case`number`:s=!0;break;case`object`:switch(e.$$typeof){case ae:case A:s=!0;break;case me:return s=e._init,T(s(e._payload),t,n,i,a)}}if(s){s=e,a=a(s);var c=i===``?`.`+C(s,0):i;return xe(a)?(n=``,c!=null&&(n=c.replace(je,`$&/`)+`/`),T(a,t,n,``,function(e){return e})):a!=null&&(x(a)&&(a.key!=null&&(s&&s.key===a.key||u(a.key)),n=y(a,n+(a.key==null||s&&s.key===a.key?``:(``+a.key).replace(je,`$&/`)+`/`)+c),i!==``&&s!=null&&x(s)&&s.key==null&&s._store&&!s._store.validated&&(n._store.validated=2),a=n),t.push(a)),1}if(s=0,c=i===``?`.`:i+`:`,xe(e))for(var l=0;l<e.length;l++)i=e[l],o=c+C(i,l),s+=T(i,t,n,o,a);else if(l=r(e),typeof l==`function`)for(l===e.entries&&(Ae||console.warn(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Ae=!0),e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=c+C(i,l++),s+=T(i,t,n,o,a);else if(o===`object`){if(typeof e.then==`function`)return T(w(e),t,n,i,a);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 s}function ee(e,t,n){if(e==null)return e;var r=[],i=0;return T(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function te(e){if(e._status===-1){var t=e._ioInfo;t!=null&&(t.start=t.end=performance.now()),t=e._result;var n=t();if(n.then(function(t){if(e._status===0||e._status===-1){e._status=1,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`fulfilled`,n.value=t)}},function(t){if(e._status===0||e._status===-1){e._status=2,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`rejected`,n.reason=t)}}),t=e._ioInfo,t!=null){t.value=n;var r=n.displayName;typeof r==`string`&&(t.name=r)}e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return t=e._result,t===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,t),`default`in t||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,t),t.default;throw e._result}function E(){var e=N.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function ne(){N.asyncTransitions--}function D(e){if(Pe===null)try{var n=(`require`+Math.random()).slice(0,7);Pe=(t&&t[n]).call(t,`timers`).setImmediate}catch{Pe=function(e){!1===Ne&&(Ne=!0,typeof MessageChannel>`u`&&console.error(`This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.`));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return Pe(e)}function re(e){return 1<e.length&&typeof AggregateError==`function`?AggregateError(e):e[0]}function O(e,t){t!==Fe-1&&console.error(`You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. `),Fe=t}function k(e,t,n){var r=N.actQueue;if(r!==null)if(r.length!==0)try{ie(r),D(function(){return k(e,t,n)});return}catch(e){N.thrownErrors.push(e)}else N.actQueue=null;0<N.thrownErrors.length?(r=re(N.thrownErrors),N.thrownErrors.length=0,n(r)):t(e)}function ie(e){if(!Le){Le=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{N.didUsePromise=!1;var r=n(!1);if(r!==null){if(N.didUsePromise){e[t]=n,e.splice(0,t);return}n=r}else break}while(1)}e.length=0}catch(n){e.splice(0,t+1),N.thrownErrors.push(n)}finally{Le=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ae=Symbol.for(`react.transitional.element`),A=Symbol.for(`react.portal`),j=Symbol.for(`react.fragment`),oe=Symbol.for(`react.strict_mode`),se=Symbol.for(`react.profiler`),ce=Symbol.for(`react.consumer`),le=Symbol.for(`react.context`),ue=Symbol.for(`react.forward_ref`),de=Symbol.for(`react.suspense`),fe=Symbol.for(`react.suspense_list`),pe=Symbol.for(`react.memo`),me=Symbol.for(`react.lazy`),he=Symbol.for(`react.activity`),ge=Symbol.iterator,_e={},ve={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,`forceUpdate`)},enqueueReplaceState:function(e){i(e,`replaceState`)},enqueueSetState:function(e){i(e,`setState`)}},M=Object.assign,ye={};Object.freeze(ye),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`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`)},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};var be={isMounted:[`isMounted`,`Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.`],replaceState:[`replaceState`,`Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).`]};for(ze in be)be.hasOwnProperty(ze)&&n(ze,be[ze]);o.prototype=a.prototype,be=s.prototype=new o,be.constructor=s,M(be,a.prototype),be.isPureReactComponent=!0;var xe=Array.isArray,Se=Symbol.for(`react.client.reference`),N={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ce=Object.prototype.hasOwnProperty,we=console.createTask?console.createTask:function(){return null};be={react_stack_bottom_frame:function(e){return e()}};var Te,Ee,De={},Oe=be.react_stack_bottom_frame.bind(be,m)(),ke=we(f(m)),Ae=!1,je=/\/+/g,Me=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Ne=!1,Pe=null,Fe=0,Ie=!1,Le=!1,Re=typeof queueMicrotask==`function`?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:D;be=Object.freeze({__proto__:null,c:function(e){return E().useMemoCache(e)}});var ze={map:ee,forEach:function(e,t,n){ee(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ee(e,function(){t++}),t},toArray:function(e){return ee(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=he,e.Children=ze,e.Component=a,e.Fragment=j,e.Profiler=se,e.PureComponent=s,e.StrictMode=oe,e.Suspense=de,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N,e.__COMPILER_RUNTIME=be,e.act=function(e){var t=N.actQueue,n=Fe;Fe++;var r=N.actQueue=t===null?[]:t,i=!1;try{var a=e()}catch(e){N.thrownErrors.push(e)}if(0<N.thrownErrors.length)throw O(t,n),e=re(N.thrownErrors),N.thrownErrors.length=0,e;if(typeof a==`object`&&a&&typeof a.then==`function`){var o=a;return Re(function(){i||Ie||(Ie=!0,console.error(`You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);`))}),{then:function(e,a){i=!0,o.then(function(i){if(O(t,n),n===0){try{ie(r),D(function(){return k(i,e,a)})}catch(e){N.thrownErrors.push(e)}if(0<N.thrownErrors.length){var o=re(N.thrownErrors);N.thrownErrors.length=0,a(o)}}else e(i)},function(e){O(t,n),0<N.thrownErrors.length?(e=re(N.thrownErrors),N.thrownErrors.length=0,a(e)):a(e)})}}}var s=a;if(O(t,n),n===0&&(ie(r),r.length!==0&&Re(function(){i||Ie||(Ie=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),N.actQueue=null),0<N.thrownErrors.length)throw e=re(N.thrownErrors),N.thrownErrors.length=0,e;return{then:function(e,t){i=!0,n===0?(N.actQueue=r,D(function(){return k(s,e,t)})):e(s)}}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.captureOwnerStack=function(){var e=N.getCurrentStack;return e===null?null:e()},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=M({},e.props),i=e.key,a=e._owner;if(t!=null){var o;a:{if(Ce.call(t,`ref`)&&(o=Object.getOwnPropertyDescriptor(t,`ref`).get)&&o.isReactWarning){o=!1;break a}o=t.ref!==void 0}for(s in o&&(a=p()),h(t)&&(u(t.key),i=``+t.key),t)!Ce.call(t,s)||s===`key`||s===`__self`||s===`__source`||s===`ref`&&t.ref===void 0||(r[s]=t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){o=Array(s);for(var c=0;c<s;c++)o[c]=arguments[c+2];r.children=o}for(r=v(e.type,i,r,a,e._debugStack,e._debugTask),i=2;i<arguments.length;i++)b(arguments[i]);return r},e.createContext=function(e){return e={$$typeof:le,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:ce,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},e.createElement=function(e,t,n){for(var r=2;r<arguments.length;r++)b(arguments[r]);r={};var i=null;if(t!=null)for(c in Ee||!(`__self`in t)||`key`in t||(Ee=!0,console.warn(`Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform`)),h(t)&&(u(t.key),i=``+t.key),t)Ce.call(t,c)&&c!==`key`&&c!==`__self`&&c!==`__source`&&(r[c]=t[c]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];Object.freeze&&Object.freeze(o),r.children=o}if(e&&e.defaultProps)for(c in a=e.defaultProps,a)r[c]===void 0&&(r[c]=a[c]);i&&g(r,typeof e==`function`?e.displayName||e.name||`Unknown`:e);var c=1e4>N.recentlyCreatedOwnerStacks++;return v(e,i,r,p(),c?Error(`react-stack-top-frame`):Oe,c?we(f(e)):ke)},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){e!=null&&e.$$typeof===pe?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e==`function`?e.length!==0&&e.length!==2&&console.error(`forwardRef render functions accept exactly two parameters: props and ref. %s`,e.length===1?`Did you forget to use the ref parameter?`:`Any additional parameter will be undefined.`):console.error(`forwardRef requires a render function but was given %s.`,e===null?`null`:typeof e),e!=null&&e.defaultProps!=null&&console.error(`forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?`);var t={$$typeof:ue,render:e},n;return Object.defineProperty(t,`displayName`,{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,`name`,{value:t}),e.displayName=t)}}),t},e.isValidElement=x,e.lazy=function(e){e={_status:-1,_result:e};var t={$$typeof:me,_payload:e,_init:te},n={name:`lazy`,start:-1,end:-1,value:null,owner:null,debugStack:Error(`react-stack-top-frame`),debugTask:console.createTask?console.createTask(`lazy()`):null};return e._ioInfo=n,t._debugInfo=[{awaited:n}],t},e.memo=function(e,t){e??console.error(`memo: The first argument must be a component. Instead received: %s`,e===null?`null`:typeof e),t={$$typeof:pe,type:e,compare:t===void 0?null:t};var n;return Object.defineProperty(t,`displayName`,{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,`name`,{value:t}),e.displayName=t)}}),t},e.startTransition=function(e){var t=N.T,n={};n._updatedFibers=new Set,N.T=n;try{var r=e(),i=N.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&(N.asyncTransitions++,r.then(ne,ne),r.then(c,Me))}catch(e){Me(e)}finally{t===null&&n._updatedFibers&&(e=n._updatedFibers.size,n._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`)),t!==null&&n.types!==null&&(t.types!==null&&t.types!==n.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),t.types=n.types),N.T=t}},e.unstable_useCacheRefresh=function(){return E().useCacheRefresh()},e.use=function(e){return E().use(e)},e.useActionState=function(e,t,n){return E().useActionState(e,t,n)},e.useCallback=function(e,t){return E().useCallback(e,t)},e.useContext=function(e){var t=E();return e.$$typeof===ce&&console.error(`Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?`),t.useContext(e)},e.useDebugValue=function(e,t){return E().useDebugValue(e,t)},e.useDeferredValue=function(e,t){return E().useDeferredValue(e,t)},e.useEffect=function(e,t){return e??console.warn(`React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?`),E().useEffect(e,t)},e.useEffectEvent=function(e){return E().useEffectEvent(e)},e.useId=function(){return E().useId()},e.useImperativeHandle=function(e,t,n){return E().useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return e??console.warn(`React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?`),E().useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return e??console.warn(`React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?`),E().useLayoutEffect(e,t)},e.useMemo=function(e,t){return E().useMemo(e,t)},e.useOptimistic=function(e,t){return E().useOptimistic(e,t)},e.useReducer=function(e,t,n){return E().useReducer(e,t,n)},e.useRef=function(e){return E().useRef(e)},e.useState=function(e){return E().useState(e)},e.useSyncExternalStore=function(e,t,n){return E().useSyncExternalStore(e,t,n)},e.useTransition=function(){return E().useTransition()},e.version=`19.2.6`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),_=c(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=h():t.exports=g()})),v=c((e=>{var t=_();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.6`})),y=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(){}function n(e){return``+e}function r(e,t,r){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(i);var a=!1}catch{a=!0}return a&&(console.error(`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,typeof Symbol==`function`&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||`Object`),n(i)),{$$typeof:u,key:i==null?null:``+i,children:e,containerInfo:t,implementation:r}}function i(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}function a(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:`something with type "`+typeof e+`"`}function o(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:typeof e==`string`?JSON.stringify(e):typeof e==`number`?"`"+e+"`":`something with type "`+typeof e+`"`}function s(){var e=d.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=_(),l={d:{f:t,r:function(){throw Error(`Invalid form element. requestFormReset must be passed a form that was rendered by React.`)},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},u=Symbol.for(`react.portal`),d=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills`),e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(`Target container is not a DOM element.`);return r(e,t,null,n)},e.flushSync=function(e){var t=d.T,n=l.p;try{if(d.T=null,l.p=2,e)return e()}finally{d.T=t,l.p=n,l.d.f()&&console.error(`flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.`)}},e.preconnect=function(e,t){typeof e==`string`&&e?t!=null&&typeof t!=`object`?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",o(t)):t!=null&&typeof t.crossOrigin!=`string`&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",a(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,l.d.C(e,t))},e.prefetchDNS=function(e){if(typeof e!=`string`||!e)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e));else if(1<arguments.length){var t=arguments[1];typeof t==`object`&&t.hasOwnProperty(`crossOrigin`)?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t))}typeof e==`string`&&l.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&e?typeof t!=`object`||!t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",o(t)):t.as!==`style`&&t.as!==`script`&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',o(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=i(n,t.crossOrigin),s=typeof t.integrity==`string`?t.integrity:void 0,c=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?l.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:s,fetchPriority:c}):n===`script`&&l.d.X(e,{crossOrigin:r,integrity:s,fetchPriority:c,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&t.as!==`script`&&(n+=" The `as` option encountered was "+o(t.as)+`.`),n)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",n);else switch(n=t&&typeof t.as==`string`?t.as:`script`,n){case`script`:break;default:n=o(n),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',n,e)}typeof e==`string`&&(typeof t==`object`&&t?(t.as==null||t.as===`script`)&&(n=i(t.as,t.crossOrigin),l.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})):t??l.d.M(e))},e.preload=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),typeof t!=`object`||!t?n+=" The `options` argument encountered was "+a(t)+`.`:typeof t.as==`string`&&t.as||(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',n),typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){n=t.as;var r=i(n,t.crossOrigin);l.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){var n=``;typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&typeof t.as!=`string`&&(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',n),typeof e==`string`&&(t?(n=i(t.as,t.crossOrigin),l.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})):l.d.m(e))},e.requestFormReset=function(e){l.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s().useFormState(e,t,n)},e.useFormStatus=function(){return s().useHostTransitionStatus()},e.version=`19.2.6`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),b=c(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`)){if(process.env.NODE_ENV!==`production`)throw Error(`^_^`);try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}}process.env.NODE_ENV===`production`?(n(),t.exports=v()):t.exports=y()})),x=c((e=>{var t=m(),n=_(),r=b();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(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 s(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 c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),ee=Symbol.for(`react.suspense_list`),te=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),ne=Symbol.for(`react.activity`),D=Symbol.for(`react.memo_cache_sentinel`),re=Symbol.iterator;function O(e){return typeof e!=`object`||!e?null:(e=re&&e[re]||e[`@@iterator`],typeof e==`function`?e:null)}var k=Symbol.for(`react.client.reference`);function ie(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===k?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case x:return`Profiler`;case y:return`StrictMode`;case T:return`Suspense`;case ee:return`SuspenseList`;case ne:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case g:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case te:return t=e.displayName||null,t===null?ie(e.type)||`Memo`:t;case E:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}var ae=Array.isArray,A=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},se=[],ce=-1;function le(e){return{current:e}}function ue(e){0>ce||(e.current=se[ce],se[ce]=null,ce--)}function de(e,t){ce++,se[ce]=e.current,e.current=t}var fe=le(null),pe=le(null),me=le(null),he=le(null);function ge(e,t){switch(de(me,t),de(pe,e),de(fe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Yd(t),e=Xd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ue(fe),de(fe,e)}function _e(){ue(fe),ue(pe),ue(me)}function ve(e){e.memoizedState!==null&&de(he,e);var t=fe.current,n=Xd(t,e.type);t!==n&&(de(pe,e),de(fe,n))}function M(e){pe.current===e&&(ue(fe),ue(pe)),he.current===e&&(ue(he),ap._currentValue=oe)}var ye,be;function xe(e){if(ye===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||``,be=-1<e.stack.indexOf(`
|
|
18
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
19
|
+
`+ye+e+be}var Se=!1;function N(e,t){if(!e||Se)return``;Se=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
20
|
+
`),l=s.split(`
|
|
21
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
22
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Se=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?xe(n):``}function Ce(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe(`Lazy`);case 13:return e.child!==t&&t!==null?xe(`Suspense Fallback`):xe(`Suspense`);case 19:return xe(`SuspenseList`);case 0:case 15:return N(e.type,!1);case 11:return N(e.type.render,!1);case 1:return N(e.type,!0);case 31:return xe(`Activity`);default:return``}}function we(e){try{var t=``,n=null;do t+=Ce(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
23
|
+
Error generating stack: `+e.message+`
|
|
24
|
+
`+e.stack}}var Te=Object.prototype.hasOwnProperty,Ee=t.unstable_scheduleCallback,De=t.unstable_cancelCallback,Oe=t.unstable_shouldYield,ke=t.unstable_requestPaint,Ae=t.unstable_now,je=t.unstable_getCurrentPriorityLevel,Me=t.unstable_ImmediatePriority,Ne=t.unstable_UserBlockingPriority,Pe=t.unstable_NormalPriority,Fe=t.unstable_LowPriority,Ie=t.unstable_IdlePriority,Le=t.log,Re=t.unstable_setDisableYieldValue,ze=null,Be=null;function Ve(e){if(typeof Le==`function`&&Re(e),Be&&typeof Be.setStrictMode==`function`)try{Be.setStrictMode(ze,e)}catch{}}var He=Math.clz32?Math.clz32:Ge,Ue=Math.log,We=Math.LN2;function Ge(e){return e>>>=0,e===0?32:31-(Ue(e)/We|0)|0}var Ke=256,qe=262144,Je=4194304;function Ye(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ye(n))):i=Ye(o):i=Ye(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ye(n))):i=Ye(o)):i=Ye(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ze(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $e(){var e=Je;return Je<<=1,!(Je&62914560)&&(Je=4194304),e}function et(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function nt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-He(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&rt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function rt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-He(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function it(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-He(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function at(e,t){var n=t&-t;return n=n&42?1:ot(n),(n&(e.suspendedLanes|t))===0?n:0}function ot(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function st(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ct(){var e=j.p;return e===0?(e=window.event,e===void 0?32:xp(e.type)):e}function lt(e,t){var n=j.p;try{return j.p=e,t()}finally{j.p=n}}var ut=Math.random().toString(36).slice(2),dt=`__reactFiber$`+ut,ft=`__reactProps$`+ut,pt=`__reactContainer$`+ut,mt=`__reactEvents$`+ut,ht=`__reactListeners$`+ut,gt=`__reactHandles$`+ut,_t=`__reactResources$`+ut,vt=`__reactMarker$`+ut;function yt(e){delete e[dt],delete e[ft],delete e[mt],delete e[ht],delete e[gt]}function bt(e){var t=e[dt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yf(e);e!==null;){if(n=e[dt])return n;e=yf(e)}return t}e=n,n=e.parentNode}return null}function xt(e){if(e=e[dt]||e[pt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function St(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ct(e){var t=e[_t];return t||=e[_t]={hoistableStyles:new Map,hoistableScripts:new Map},t}function wt(e){e[vt]=!0}var Tt=new Set,Et={};function Dt(e,t){Ot(e,t),Ot(e+`Capture`,t)}function Ot(e,t){for(Et[e]=t,e=0;e<t.length;e++)Tt.add(t[e])}var kt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),At={},jt={};function Mt(e){return Te.call(jt,e)?!0:Te.call(At,e)?!1:kt.test(e)?jt[e]=!0:(At[e]=!0,!1)}function Nt(e,t,n){if(Mt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Pt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function P(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Ft(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function It(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Lt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rt(e){if(!e._valueTracker){var t=It(e)?`checked`:`value`;e._valueTracker=Lt(e,t,``+e[t])}}function zt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=It(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Bt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Vt=/[\n"\\]/g;function Ht(e){return e.replace(Vt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Ut(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Ft(t)):e.value!==``+Ft(t)&&(e.value=``+Ft(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Gt(e,o,Ft(n)):Gt(e,o,Ft(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Ft(s):e.removeAttribute(`name`)}function Wt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Rt(e);return}n=n==null?``:``+Ft(n),t=t==null?n:``+Ft(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Rt(e)}function Gt(e,t,n){t===`number`&&Bt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Kt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Ft(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function qt(e,t,n){if(t!=null&&(t=``+Ft(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ft(n)}function Jt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ae(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Ft(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Rt(e)}function Yt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Zt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Xt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Qt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Zt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Zt(e,o,t[o])}function $t(e){if(e.indexOf(`-`)===-1)return!1;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 en=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),tn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function nn(e){return tn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function rn(){}var an=null;function on(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sn=null,cn=null;function ln(e){var t=xt(e);if(t&&(e=t.stateNode)){var n=e[ft]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Ut(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Ht(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ft]||null;if(!a)throw Error(i(90));Ut(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&zt(r)}break a;case`textarea`:qt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Kt(e,!!n.multiple,t,!1)}}}var un=!1;function dn(e,t,n){if(un)return e(t,n);un=!0;try{return e(t)}finally{if(un=!1,(sn!==null||cn!==null)&&(Tu(),sn&&(t=sn,e=cn,cn=sn=null,ln(t),e)))for(t=0;t<e.length;t++)ln(e[t])}}function fn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ft]||null;if(r===null)return null;n=r[t];a: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 a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var pn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),mn=!1;if(pn)try{var hn={};Object.defineProperty(hn,`passive`,{get:function(){mn=!0}}),window.addEventListener(`test`,hn,hn),window.removeEventListener(`test`,hn,hn)}catch{mn=!1}var gn=null,_n=null,vn=null;function yn(){if(vn)return vn;var e,t=_n,n=t.length,r,i=`value`in gn?gn.value:gn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return vn=i.slice(e,1<r?1-r:void 0)}function bn(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 xn(){return!0}function Sn(){return!1}function Cn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?xn:Sn,this.isPropagationStopped=Sn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=xn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=xn)},persist:function(){},isPersistent:xn}),t}var wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tn=Cn(wn),En=f({},wn,{view:0,detail:0}),Dn=Cn(En),On,kn,An,jn=f({},En,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hn,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!==An&&(An&&e.type===`mousemove`?(On=e.screenX-An.screenX,kn=e.screenY-An.screenY):kn=On=0,An=e),On)},movementY:function(e){return`movementY`in e?e.movementY:kn}}),Mn=Cn(jn),Nn=Cn(f({},jn,{dataTransfer:0})),Pn=Cn(f({},En,{relatedTarget:0})),Fn=Cn(f({},wn,{animationName:0,elapsedTime:0,pseudoElement:0})),In=Cn(f({},wn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Ln=Cn(f({},wn,{data:0})),Rn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},zn={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`},Bn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Vn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bn[e])?!!t[e]:!1}function Hn(){return Vn}var Un=Cn(f({},En,{key:function(e){if(e.key){var t=Rn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=bn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?zn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hn,charCode:function(e){return e.type===`keypress`?bn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?bn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Wn=Cn(f({},jn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Gn=Cn(f({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hn})),Kn=Cn(f({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0})),qn=Cn(f({},jn,{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})),Jn=Cn(f({},wn,{newState:0,oldState:0})),Yn=[9,13,27,32],Xn=pn&&`CompositionEvent`in window,Zn=null;pn&&`documentMode`in document&&(Zn=document.documentMode);var Qn=pn&&`TextEvent`in window&&!Zn,$n=pn&&(!Xn||Zn&&8<Zn&&11>=Zn),er=` `,tr=!1;function nr(e,t){switch(e){case`keyup`:return Yn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function rr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ir=!1;function ar(e,t){switch(e){case`compositionend`:return rr(t);case`keypress`:return t.which===32?(tr=!0,er):null;case`textInput`:return e=t.data,e===er&&tr?null:e;default:return null}}function or(e,t){if(ir)return e===`compositionend`||!Xn&&nr(e,t)?(e=yn(),vn=_n=gn=null,ir=!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 $n&&t.locale!==`ko`?null:t.data;default:return null}}var sr={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 cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!sr[e.type]:t===`textarea`}function lr(e,t,n,r){sn?cn?cn.push(r):cn=[r]:sn=r,t=Nd(t,`onChange`),0<t.length&&(n=new Tn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var ur=null,dr=null;function fr(e){Td(e,0)}function pr(e){if(zt(St(e)))return e}function mr(e,t){if(e===`change`)return t}var hr=!1;if(pn){var gr;if(pn){var _r=`oninput`in document;if(!_r){var vr=document.createElement(`div`);vr.setAttribute(`oninput`,`return;`),_r=typeof vr.oninput==`function`}gr=_r}else gr=!1;hr=gr&&(!document.documentMode||9<document.documentMode)}function yr(){ur&&(ur.detachEvent(`onpropertychange`,br),dr=ur=null)}function br(e){if(e.propertyName===`value`&&pr(dr)){var t=[];lr(t,dr,e,on(e)),dn(fr,t)}}function xr(e,t,n){e===`focusin`?(yr(),ur=t,dr=n,ur.attachEvent(`onpropertychange`,br)):e===`focusout`&&yr()}function Sr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return pr(dr)}function Cr(e,t){if(e===`click`)return pr(t)}function wr(e,t){if(e===`input`||e===`change`)return pr(t)}function Tr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Er=typeof Object.is==`function`?Object.is:Tr;function Dr(e,t){if(Er(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)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 i=n[r];if(!Te.call(t,i)||!Er(e[i],t[i]))return!1}return!0}function Or(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function kr(e,t){var n=Or(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}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Or(n)}}function Ar(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ar(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Bt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Bt(e.document)}return t}function Mr(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`)}var Nr=pn&&`documentMode`in document&&11>=document.documentMode,F=null,Pr=null,Fr=null,I=!1;function Ir(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;I||F==null||F!==Bt(r)||(r=F,`selectionStart`in r&&Mr(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}),Fr&&Dr(Fr,r)||(Fr=r,r=Nd(Pr,`onSelect`),0<r.length&&(t=new Tn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=F)))}function Lr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Rr={animationend:Lr(`Animation`,`AnimationEnd`),animationiteration:Lr(`Animation`,`AnimationIteration`),animationstart:Lr(`Animation`,`AnimationStart`),transitionrun:Lr(`Transition`,`TransitionRun`),transitionstart:Lr(`Transition`,`TransitionStart`),transitioncancel:Lr(`Transition`,`TransitionCancel`),transitionend:Lr(`Transition`,`TransitionEnd`)},zr={},Br={};pn&&(Br=document.createElement(`div`).style,`AnimationEvent`in window||(delete Rr.animationend.animation,delete Rr.animationiteration.animation,delete Rr.animationstart.animation),`TransitionEvent`in window||delete Rr.transitionend.transition);function Vr(e){if(zr[e])return zr[e];if(!Rr[e])return e;var t=Rr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Br)return zr[e]=t[n];return e}var Hr=Vr(`animationend`),Ur=Vr(`animationiteration`),Wr=Vr(`animationstart`),Gr=Vr(`transitionrun`),Kr=Vr(`transitionstart`),qr=Vr(`transitioncancel`),Jr=Vr(`transitionend`),Yr=new Map,Xr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Xr.push(`scrollEnd`);function Zr(e,t){Yr.set(e,t),Dt(t,[e])}var Qr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},$r=[],ei=0,ti=0;function ni(){for(var e=ei,t=ti=ei=0;t<e;){var n=$r[t];$r[t++]=null;var r=$r[t];$r[t++]=null;var i=$r[t];$r[t++]=null;var a=$r[t];if($r[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&oi(n,i,a)}}function ri(e,t,n,r){$r[ei++]=e,$r[ei++]=t,$r[ei++]=n,$r[ei++]=r,ti|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ii(e,t,n,r){return ri(e,t,n,r),L(e)}function ai(e,t){return ri(e,null,null,t),L(e)}function oi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-He(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function L(e){if(50<gu)throw gu=0,_u=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var si={};function ci(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.refCleanup=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 R(e,t,n,r){return new ci(e,t,n,r)}function z(e){return e=e.prototype,!(!e||!e.isReactComponent)}function li(e,t){var n=e.alternate;return n===null?(n=R(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&65011712,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.refCleanup=e.refCleanup,n}function B(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ui(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)z(e)&&(s=1);else if(typeof e==`string`)s=Xf(e,n,fe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ne:return e=R(31,n,t,a),e.elementType=ne,e.lanes=o,e;case v:return di(n.children,a,o,t);case y:s=8,a|=24;break;case x:return e=R(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=R(13,n,t,a),e.elementType=T,e.lanes=o,e;case ee:return e=R(19,n,t,a),e.elementType=ee,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case te:s=14;break a;case E:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=R(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function di(e,t,n,r){return e=R(7,e,r,t),e.lanes=n,e}function fi(e,t,n){return e=R(6,e,null,t),e.lanes=n,e}function pi(e){var t=R(18,null,null,0);return t.stateNode=e,t}function mi(e,t,n){return t=R(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var hi=new WeakMap;function gi(e,t){if(typeof e==`object`&&e){var n=hi.get(e);return n===void 0?(t={value:e,source:t,stack:we(t)},hi.set(e,t),t):n}return{value:e,source:t,stack:we(t)}}var _i=[],vi=0,yi=null,bi=0,xi=[],V=0,Si=null,Ci=1,wi=``;function Ti(e,t){_i[vi++]=bi,_i[vi++]=yi,yi=e,bi=t}function Ei(e,t,n){xi[V++]=Ci,xi[V++]=wi,xi[V++]=Si,Si=e;var r=Ci;e=wi;var i=32-He(r)-1;r&=~(1<<i),n+=1;var a=32-He(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ci=1<<32-He(t)+i|n<<i|r,wi=a+e}else Ci=1<<a|n<<i|r,wi=e}function Di(e){e.return!==null&&(Ti(e,1),Ei(e,1,0))}function Oi(e){for(;e===yi;)yi=_i[--vi],_i[vi]=null,bi=_i[--vi],_i[vi]=null;for(;e===Si;)Si=xi[--V],xi[V]=null,wi=xi[--V],xi[V]=null,Ci=xi[--V],xi[V]=null}function ki(e,t){xi[V++]=Ci,xi[V++]=wi,xi[V++]=Si,Ci=t.id,wi=t.overflow,Si=e}var Ai=null,ji=null,Mi=!1,Ni=null,Pi=!1,Fi=Error(i(519));function Ii(e){throw Hi(gi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Fi}function Li(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[dt]=e,t[ft]=r,n){case`dialog`:Ed(`cancel`,t),Ed(`close`,t);break;case`iframe`:case`object`:case`embed`:Ed(`load`,t);break;case`video`:case`audio`:for(n=0;n<Cd.length;n++)Ed(Cd[n],t);break;case`source`:Ed(`error`,t);break;case`img`:case`image`:case`link`:Ed(`error`,t),Ed(`load`,t);break;case`details`:Ed(`toggle`,t);break;case`input`:Ed(`invalid`,t),Wt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Ed(`invalid`,t);break;case`textarea`:Ed(`invalid`,t),Jt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||zd(t.textContent,n)?(r.popover!=null&&(Ed(`beforetoggle`,t),Ed(`toggle`,t)),r.onScroll!=null&&Ed(`scroll`,t),r.onScrollEnd!=null&&Ed(`scrollend`,t),r.onClick!=null&&(t.onclick=rn),t=!0):t=!1,t||Ii(e,!0)}function Ri(e){for(Ai=e.return;Ai;)switch(Ai.tag){case 5:case 31:case 13:Pi=!1;return;case 27:case 3:Pi=!0;return;default:Ai=Ai.return}}function zi(e){if(e!==Ai)return!1;if(!Mi)return Ri(e),Mi=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Zd(e.type,e.memoizedProps)),n=!n),n&&ji&&Ii(e),Ri(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));ji=vf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));ji=vf(e)}else t===27?(t=ji,of(e.type)?(e=_f,_f=null,ji=e):ji=t):ji=Ai?gf(e.stateNode.nextSibling):null;return!0}function Bi(){ji=Ai=null,Mi=!1}function Vi(){var e=Ni;return e!==null&&(nu===null?nu=e:nu.push.apply(nu,e),Ni=null),e}function Hi(e){Ni===null?Ni=[e]:Ni.push(e)}var Ui=le(null),Wi=null,Gi=null;function Ki(e,t,n){de(Ui,t._currentValue),t._currentValue=n}function qi(e){e._currentValue=Ui.current,ue(Ui)}function Ji(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Yi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ji(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Ji(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Xi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Er(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===he.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ap]:e.push(ap))}a=a.return}e!==null&&Yi(t,e,n,r),t.flags|=262144}function Zi(e){for(e=e.firstContext;e!==null;){if(!Er(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qi(e){Wi=e,Gi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $i(e){return ta(Wi,e)}function ea(e,t){return Wi===null&&Qi(e),ta(e,t)}function ta(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gi===null){if(e===null)throw Error(i(308));Gi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Gi=Gi.next=t;return n}var na=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ra=t.unstable_scheduleCallback,ia=t.unstable_NormalPriority,aa={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oa(){return{controller:new na,data:new Map,refCount:0}}function sa(e){e.refCount--,e.refCount===0&&ra(ia,function(){e.controller.abort()})}var ca=null,la=0,H=0,ua=null;function da(e,t){if(ca===null){var n=ca=[];la=0,H=_d(),ua={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return la++,t.then(fa,fa),t}function fa(){if(--la===0&&ca!==null){ua!==null&&(ua.status=`fulfilled`);var e=ca;ca=null,H=0,ua=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function pa(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ma=A.S;A.S=function(e,t){au=Ae(),typeof t==`object`&&t&&typeof t.then==`function`&&da(e,t),ma!==null&&ma(e,t)};var ha=le(null);function ga(){var e=ha.current;return e===null?Bl.pooledCache:e}function _a(e,t){t===null?de(ha,ha.current):de(ha,t.pool)}function va(){var e=ga();return e===null?null:{parent:aa._currentValue,pool:e}}var ya=Error(i(460)),ba=Error(i(474)),xa=Error(i(542)),Sa={then:function(){}};function Ca(e){return e=e.status,e===`fulfilled`||e===`rejected`}function wa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(rn,rn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Oa(e),e;default:if(typeof t.status==`string`)t.then(rn,rn);else{if(e=Bl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Oa(e),e}throw Ea=t,ya}}function Ta(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ea=e,ya):e}}var Ea=null;function Da(){if(Ea===null)throw Error(i(459));var e=Ea;return Ea=null,e}function Oa(e){if(e===ya||e===xa)throw Error(i(483))}var ka=null,Aa=0;function ja(e){var t=Aa;return Aa+=1,ka===null&&(ka=[]),wa(ka,e,t)}function Ma(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Na(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Pa(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=li(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=fi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===v?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===E&&Ta(i)===t.type)?(t=a(t,n.props),Ma(t,n),t.return=e,t):(t=ui(n.type,n.key,n.props,null,e.mode,r),Ma(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=mi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=di(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=fi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case h:return n=ui(t.type,t.key,t.props,null,e.mode,n),Ma(n,t),n.return=e,n;case g:return t=mi(t,e.mode,n),t.return=e,t;case E:return t=Ta(t),f(e,t,n)}if(ae(t)||O(t))return t=di(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,ja(t),n);if(t.$$typeof===C)return f(e,ea(e,t),n);Na(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case h:return n.key===i?l(e,t,n,r):null;case g:return n.key===i?u(e,t,n,r):null;case E:return n=Ta(n),p(e,t,n,r)}if(ae(n)||O(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,ja(n),r);if(n.$$typeof===C)return p(e,t,ea(e,n),r);Na(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case h:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case g:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case E:return r=Ta(r),m(e,t,n,r,i)}if(ae(r)||O(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,ja(r),i);if(r.$$typeof===C)return m(e,t,n,ea(t,r),i);Na(t,r)}return null}function _(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Mi&&Ti(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Mi&&Ti(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),Mi&&Ti(i,h),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Mi&&Ti(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Mi&&Ti(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Mi&&Ti(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===v&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case h:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===v){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&Ta(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ma(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===v?(c=di(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ui(o.type,o.key,o.props,null,e.mode,c),Ma(c,o),c.return=e,e=c)}return s(e);case g:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=mi(o,e.mode,c),c.return=e,e=c}return s(e);case E:return o=Ta(o),b(e,r,o,c)}if(ae(o))return _(e,r,o,c);if(O(o)){if(l=O(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,ja(o),c);if(o.$$typeof===C)return b(e,r,ea(e,o),c);Na(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=fi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Aa=0;var i=b(e,t,n,r);return ka=null,i}catch(t){if(t===ya||t===xa)throw t;var a=R(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Fa=Pa(!0),Ia=Pa(!1),La=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function za(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,zl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=L(e),oi(e,null,n),t}return ri(e,r,t,n),L(e)}function Ha(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,it(e,n)}}function Ua(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Wa=!1;function Ga(){if(Wa){var e=ua;if(e!==null)throw e}}function Ka(e,t,n,r){Wa=!1;var i=e.updateQueue;La=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Hl&p)===p:(r&p)===p){p!==0&&p===H&&(Wa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:La=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Xl|=o,e.lanes=o,e.memoizedState=d}}function qa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ja(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)qa(n[e],t)}var Ya=le(null),Xa=le(0);function Za(e,t){e=Jl,de(Xa,e),de(Ya,t),Jl=e|t.baseLanes}function Qa(){de(Xa,Jl),de(Ya,Ya.current)}function $a(){Jl=Xa.current,ue(Ya),ue(Xa)}var eo=le(null),to=null;function no(e){var t=e.alternate;de(so,so.current&1),de(eo,e),to===null&&(t===null||Ya.current!==null||t.memoizedState!==null)&&(to=e)}function ro(e){de(so,so.current),de(eo,e),to===null&&(to=e)}function io(e){e.tag===22?(de(so,so.current),de(eo,e),to===null&&(to=e)):ao(e)}function ao(){de(so,so.current),de(eo,eo.current)}function oo(e){ue(eo),to===e&&(to=null),ue(so)}var so=le(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||pf(n)||mf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){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 lo=0,uo=null,fo=null,po=null,mo=!1,ho=!1,go=!1,_o=0,vo=0,yo=null,bo=0;function xo(){throw Error(i(321))}function So(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Er(e[n],t[n]))return!1;return!0}function Co(e,t,n,r,i,a){return lo=a,uo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A.H=e===null||e.memoizedState===null?Bs:Vs,go=!1,a=n(r,i),go=!1,ho&&(a=To(t,n,r,i)),wo(e),a}function wo(e){A.H=zs;var t=fo!==null&&fo.next!==null;if(lo=0,po=fo=uo=null,mo=!1,vo=0,yo=null,t)throw Error(i(300));e===null||rc||(e=e.dependencies,e!==null&&Zi(e)&&(rc=!0))}function To(e,t,n,r){uo=e;var a=0;do{if(ho&&(yo=null),vo=0,ho=!1,25<=a)throw Error(i(301));if(a+=1,po=fo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}A.H=U,o=t(n,r)}while(ho);return o}function Eo(){var e=A.H,t=e.useState()[0];return t=typeof t.then==`function`?No(t):t,e=e.useState()[0],(fo===null?null:fo.memoizedState)!==e&&(uo.flags|=1024),t}function Do(){var e=_o!==0;return _o=0,e}function Oo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ko(e){if(mo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mo=!1}lo=0,po=fo=uo=null,ho=!1,vo=_o=0,yo=null}function Ao(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return po===null?uo.memoizedState=po=e:po=po.next=e,po}function jo(){if(fo===null){var e=uo.alternate;e=e===null?null:e.memoizedState}else e=fo.next;var t=po===null?uo.memoizedState:po.next;if(t!==null)po=t,fo=e;else{if(e===null)throw uo.alternate===null?Error(i(467)):Error(i(310));fo=e,e={memoizedState:fo.memoizedState,baseState:fo.baseState,baseQueue:fo.baseQueue,queue:fo.queue,next:null},po===null?uo.memoizedState=po=e:po=po.next=e}return po}function Mo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function No(e){var t=vo;return vo+=1,yo===null&&(yo=[]),e=wa(yo,e,t),t=uo,(po===null?t.memoizedState:po.next)===null&&(t=t.alternate,A.H=t===null||t.memoizedState===null?Bs:Vs),e}function Po(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return No(e);if(e.$$typeof===C)return $i(e)}throw Error(i(438,String(e)))}function Fo(e){var t=null,n=uo.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=uo.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Mo(),uo.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=D;return t.index++,n}function Io(e,t){return typeof t==`function`?t(e):t}function Lo(e){return Ro(jo(),fo,e)}function Ro(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(lo&f)===f:(Hl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===H&&(d=!0);else if((lo&p)===p){u=u.next,p===H&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,uo.lanes|=p,Xl|=p;f=u.action,go&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,uo.lanes|=f,Xl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Er(o,e.memoizedState)&&(rc=!0,d&&(n=ua,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function zo(e){var t=jo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Er(o,t.memoizedState)||(rc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Bo(e,t,n){var r=uo,a=jo(),o=Mi;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Er((fo||a).memoizedState,n);if(s&&(a.memoizedState=n,rc=!0),a=a.queue,ds(Uo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||po!==null&&po.memoizedState.tag&1){if(r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,a,n,t),null),Bl===null)throw Error(i(349));o||lo&127||Vo(r,t,n)}return n}function Vo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=uo.updateQueue,t===null?(t=Mo(),uo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ho(e,t,n,r){t.value=n,t.getSnapshot=r,Wo(t)&&Go(e)}function Uo(e,t,n){return n(function(){Wo(t)&&Go(e)})}function Wo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Er(e,n)}catch{return!0}}function Go(e){var t=ai(e,2);t!==null&&bu(t,e,2)}function Ko(e){var t=Ao();if(typeof e==`function`){var n=e;if(e=n(),go){Ve(!0);try{n()}finally{Ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:e},t}function qo(e,t,n,r){return e.baseState=n,Ro(e,fo,typeof r==`function`?r:Io)}function Jo(e,t,n,r,a){if(Is(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};A.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Yo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Yo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=A.T,o={};A.T=o;try{var s=n(i,r),c=A.S;c!==null&&c(o,s),Xo(e,t,s)}catch(n){Qo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),A.T=a}}else try{a=n(i,r),Xo(e,t,a)}catch(n){Qo(e,t,n)}}function Xo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Zo(e,t,n)},function(n){return Qo(e,t,n)}):Zo(e,t,n)}function Zo(e,t,n){t.status=`fulfilled`,t.value=n,$o(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Yo(e,n)))}function Qo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,$o(t),t=t.next;while(t!==r)}e.action=null}function $o(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function es(e,t){return t}function ts(e,t){if(Mi){var n=Bl.formState;if(n!==null){a:{var r=uo;if(Mi){if(ji){b:{for(var i=ji,a=Pi;i.nodeType!==8;){if(!a){i=null;break b}if(i=gf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){ji=gf(i.nextSibling),r=i.data===`F!`;break a}}Ii(r)}r=!1}r&&(t=n[0])}}return n=Ao(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:es,lastRenderedState:t},n.queue=r,n=Ns.bind(null,uo,r),r.dispatch=n,r=Ko(!1),a=Fs.bind(null,uo,!1,r.queue),r=Ao(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Jo.bind(null,uo,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ns(e){return rs(jo(),fo,e)}function rs(e,t,n){if(t=Ro(e,t,es)[0],e=Lo(Io)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=No(t)}catch(e){throw e===ya?xa:e}else r=t;t=jo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(uo.flags|=2048,os(9,{destroy:void 0},is.bind(null,i,n),null)),[r,a,e]}function is(e,t){e.action=t}function as(e){var t=jo(),n=fo;if(n!==null)return rs(t,n,e);jo(),t=t.memoizedState,n=jo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function os(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=uo.updateQueue,t===null&&(t=Mo(),uo.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ss(){return jo().memoizedState}function cs(e,t,n,r){var i=Ao();uo.flags|=e,i.memoizedState=os(1|t,{destroy:void 0},n,r===void 0?null:r)}function ls(e,t,n,r){var i=jo();r=r===void 0?null:r;var a=i.memoizedState.inst;fo!==null&&r!==null&&So(r,fo.memoizedState.deps)?i.memoizedState=os(t,a,n,r):(uo.flags|=e,i.memoizedState=os(1|t,a,n,r))}function us(e,t){cs(8390656,8,e,t)}function ds(e,t){ls(2048,8,e,t)}function fs(e){uo.flags|=4;var t=uo.updateQueue;if(t===null)t=Mo(),uo.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ps(e){var t=jo().memoizedState;return fs({ref:t,nextImpl:e}),function(){if(zl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ms(e,t){return ls(4,2,e,t)}function hs(e,t){return ls(4,4,e,t)}function gs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _s(e,t,n){n=n==null?null:n.concat([e]),ls(4,4,gs.bind(null,t,e),n)}function vs(){}function ys(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&So(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function bs(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&So(t,r[1]))return r[0];if(r=e(),go){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r}function xs(e,t,n){return n===void 0||lo&1073741824&&!(Hl&261930)?e.memoizedState=t:(e.memoizedState=n,e=yu(),uo.lanes|=e,Xl|=e,n)}function Ss(e,t,n,r){return Er(n,t)?n:Ya.current===null?!(lo&42)||lo&1073741824&&!(Hl&261930)?(rc=!0,e.memoizedState=n):(e=yu(),uo.lanes|=e,Xl|=e,t):(e=xs(e,n,r),Er(e,t)||(rc=!0),e)}function Cs(e,t,n,r,i){var a=j.p;j.p=a!==0&&8>a?a:8;var o=A.T,s={};A.T=s,Fs(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ps(e,t,pa(c,r),vu(e)):Ps(e,t,r,vu(e))}catch(n){Ps(e,t,{then:function(){},status:`rejected`,reason:n},vu())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function ws(){}function Ts(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Es(e).queue;Cs(e,a,t,oe,n===null?ws:function(){return Ds(e),n(r)})}function Es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ds(e){var t=Es(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},vu())}function Os(){return $i(ap)}function ks(){return jo().memoizedState}function As(){return jo().memoizedState}function js(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=vu();e=Ba(n);var r=Va(t,e,n);r!==null&&(bu(r,t,n),Ha(r,t,n)),t={cache:oa()},e.payload=t;return}t=t.return}}function Ms(e,t,n){var r=vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Is(e)?Ls(t,n):(n=ii(e,t,n,r),n!==null&&(bu(n,e,r),Rs(n,t,r)))}function Ns(e,t,n){Ps(e,t,n,vu())}function Ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Is(e))Ls(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Er(s,o))return ri(e,t,i,0),Bl===null&&ni(),!1}catch{}if(n=ii(e,t,i,r),n!==null)return bu(n,e,r),Rs(n,t,r),!0}return!1}function Fs(e,t,n,r){if(r={lane:2,revertLane:_d(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Is(e)){if(t)throw Error(i(479))}else t=ii(e,n,r,2),t!==null&&bu(t,e,2)}function Is(e){var t=e.alternate;return e===uo||t!==null&&t===uo}function Ls(e,t){ho=mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,it(e,n)}}var zs={readContext:$i,use:Po,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useLayoutEffect:xo,useInsertionEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useSyncExternalStore:xo,useId:xo,useHostTransitionStatus:xo,useFormState:xo,useActionState:xo,useOptimistic:xo,useMemoCache:xo,useCacheRefresh:xo};zs.useEffectEvent=xo;var Bs={readContext:$i,use:Po,useCallback:function(e,t){return Ao().memoizedState=[e,t===void 0?null:t],e},useContext:$i,useEffect:us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),cs(4194308,4,gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){cs(4,2,e,t)},useMemo:function(e,t){var n=Ao();t=t===void 0?null:t;var r=e();if(go){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ao();if(n!==void 0){var i=n(t);if(go){Ve(!0);try{n(t)}finally{Ve(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,uo,e),[r.memoizedState,e]},useRef:function(e){var t=Ao();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Ns.bind(null,uo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:vs,useDeferredValue:function(e,t){return xs(Ao(),e,t)},useTransition:function(){var e=Ko(!1);return e=Cs.bind(null,uo,e.queue,!0,!1),Ao().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=uo,a=Ao();if(Mi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Bl===null)throw Error(i(349));Hl&127||Vo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,us(Uo.bind(null,r,o,e),[e]),r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,o,n,t),null),n},useId:function(){var e=Ao(),t=Bl.identifierPrefix;if(Mi){var n=wi,r=Ci;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=_o++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=bo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Os,useFormState:ts,useActionState:ts,useOptimistic:function(e){var t=Ao();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Fs.bind(null,uo,!0,n),n.dispatch=t,[e,t]},useMemoCache:Fo,useCacheRefresh:function(){return Ao().memoizedState=js.bind(null,uo)},useEffectEvent:function(e){var t=Ao(),n={impl:e};return t.memoizedState=n,function(){if(zl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Vs={readContext:$i,use:Po,useCallback:ys,useContext:$i,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:Lo,useRef:ss,useState:function(){return Lo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){return Ss(jo(),fo.memoizedState,e,t)},useTransition:function(){var e=Lo(Io)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:No(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:ns,useActionState:ns,useOptimistic:function(e,t){return qo(jo(),fo,e,t)},useMemoCache:Fo,useCacheRefresh:As};Vs.useEffectEvent=ps;var U={readContext:$i,use:Po,useCallback:ys,useContext:$i,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:zo,useRef:ss,useState:function(){return zo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){var n=jo();return fo===null?xs(n,e,t):Ss(n,fo.memoizedState,e,t)},useTransition:function(){var e=zo(Io)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:No(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:as,useActionState:as,useOptimistic:function(e,t){var n=jo();return fo===null?(n.baseState=e,[e,n.queue.dispatch]):qo(n,fo,e,t)},useMemoCache:Fo,useCacheRefresh:As};U.useEffectEvent=ps;function Hs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Us={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),i=Ba(r);i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(bu(t,e,r),Ha(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),i=Ba(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(bu(t,e,r),Ha(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=Ba(n);r.tag=2,t!=null&&(r.callback=t),t=Va(e,r,n),t!==null&&(bu(t,e,n),Ha(t,e,n))}};function Ws(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Dr(n,r)||!Dr(i,a):!0}function Gs(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&&Us.enqueueReplaceState(t,t.state,null)}function Ks(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function qs(e){Qr(e)}function Js(e){console.error(e)}function Ys(e){Qr(e)}function Xs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Zs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Qs(e,t,n){return n=Ba(n),n.tag=3,n.payload={element:null},n.callback=function(){Xs(e,t)},n}function $s(e){return e=Ba(e),e.tag=3,e}function ec(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Zs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Zs(t,n,r),typeof i!=`function`&&(cu===null?cu=new Set([this]):cu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function tc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Xi(t,n,a,!0),n=eo.current,n!==null){switch(n.tag){case 31:case 13:return to===null?Mu():n.alternate===null&&Yl===0&&(Yl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Sa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Zu(e,r,a)),!1;case 22:return n.flags|=65536,r===Sa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Zu(e,r,a)),!1}throw Error(i(435,n.tag))}return Zu(e,r,a),Mu(),!1}if(Mi)return t=eo.current,t===null?(r!==Fi&&(t=Error(i(423),{cause:r}),Hi(gi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=gi(r,n),a=Qs(e.stateNode,r,a),Ua(e,a),Yl!==4&&(Yl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Fi&&(e=Error(i(422),{cause:r}),Hi(gi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=gi(o,n),tu===null?tu=[o]:tu.push(o),Yl!==4&&(Yl=2),t===null)return!0;r=gi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Qs(n.stateNode,r,e),Ua(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(cu===null||!cu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=$s(a),ec(a,e,n,r),Ua(n,a),!1}n=n.return}while(n!==null);return!1}var nc=Error(i(461)),rc=!1;function ic(e,t,n,r){t.child=e===null?Ia(t,null,n,r):Fa(t,e.child,n,r)}function ac(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Qi(t),r=Co(e,t,n,o,a,i),s=Do(),e!==null&&!rc?(Oo(e,t,i),kc(e,t,i)):(Mi&&s&&Di(t),t.flags|=1,ic(e,t,r,i),t.child)}function oc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!z(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,sc(e,t,a,r,i)):(e=ui(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Ac(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Dr:n,n(o,r)&&e.ref===t.ref)return kc(e,t,i)}return t.flags|=1,e=li(a,r),e.ref=t.ref,e.return=t,t.child=e}function sc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Dr(a,r)&&e.ref===t.ref)if(rc=!1,t.pendingProps=r=a,Ac(e,i))e.flags&131072&&(rc=!0);else return t.lanes=e.lanes,kc(e,t,i)}return hc(e,t,n,r,i)}function cc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return uc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&_a(t,a===null?null:a.cachePool),a===null?Qa():Za(t,a),io(t);else return r=t.lanes=536870912,uc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&_a(t,null),Qa(),ao(t)):(_a(t,a.cachePool),Za(t,a),ao(t),t.memoizedState=null);return ic(e,t,i,n),t.child}function lc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function uc(e,t,n,r,i){var a=ga();return a=a===null?null:{parent:aa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&_a(t,null),Qa(),io(t),e!==null&&Xi(e,t,r,!0),t.childLanes=i,null}function dc(e,t){return t=wc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fc(e,t,n){return Fa(t,e.child,null,n),e=dc(t,t.pendingProps),e.flags|=2,oo(t),t.memoizedState=null,e}function pc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Mi){if(r.mode===`hidden`)return e=dc(t,r),t.lanes=536870912,lc(null,e);if(ro(t),(e=ji)?(e=ff(e,Pi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Si===null?null:{id:Ci,overflow:wi},retryLane:536870912,hydrationErrors:null},n=pi(e),n.return=t,t.child=n,Ai=t,ji=null)):e=null,e===null)throw Ii(t);return t.lanes=536870912,null}return dc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ro(t),a)if(t.flags&256)t.flags&=-257,t=fc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(rc||Xi(e,t,n,!1),a=(n&e.childLanes)!==0,rc||a){if(r=Bl,r!==null&&(s=at(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ai(e,s),bu(r,e,s),nc;Mu(),t=fc(e,t,n)}else e=o.treeContext,ji=gf(s.nextSibling),Ai=t,Mi=!0,Ni=null,Pi=!1,e!==null&&ki(t,e),t=dc(t,r),t.flags|=4096;return t}return e=li(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function mc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function hc(e,t,n,r,i){return Qi(t),n=Co(e,t,n,r,void 0,i),r=Do(),e!==null&&!rc?(Oo(e,t,i),kc(e,t,i)):(Mi&&r&&Di(t),t.flags|=1,ic(e,t,n,i),t.child)}function gc(e,t,n,r,i,a){return Qi(t),t.updateQueue=null,n=To(t,r,n,i),wo(e),r=Do(),e!==null&&!rc?(Oo(e,t,a),kc(e,t,a)):(Mi&&r&&Di(t),t.flags|=1,ic(e,t,n,a),t.child)}function _c(e,t,n,r,i){if(Qi(t),t.stateNode===null){var a=si,o=n.contextType;typeof o==`object`&&o&&(a=$i(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Us,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ra(t),o=n.contextType,a.context=typeof o==`object`&&o?$i(o):si,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Hs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Us.enqueueReplaceState(a,a.state,null),Ka(t,r,a,i),Ga(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ks(n,s);a.props=c;var l=a.context,u=n.contextType;o=si,typeof u==`object`&&u&&(o=$i(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Gs(t,a,r,o),La=!1;var f=t.memoizedState;a.state=f,Ka(t,r,a,i),Ga(),l=t.memoizedState,s||f!==l||La?(typeof d==`function`&&(Hs(t,n,d,r),l=t.memoizedState),(c=La||Ws(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,za(e,t),o=t.memoizedProps,u=Ks(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=si,typeof l==`object`&&l&&(c=$i(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Gs(t,a,r,c),La=!1,f=t.memoizedState,a.state=f,Ka(t,r,a,i),Ga();var p=t.memoizedState;o!==d||f!==p||La||e!==null&&e.dependencies!==null&&Zi(e.dependencies)?(typeof s==`function`&&(Hs(t,n,s,r),p=t.memoizedState),(u=La||Ws(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Zi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,mc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Fa(t,e.child,null,i),t.child=Fa(t,null,n,i)):ic(e,t,n,i),t.memoizedState=a.state,e=t.child):e=kc(e,t,i),e}function vc(e,t,n,r){return Bi(),t.flags|=256,ic(e,t,n,r),t.child}var yc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bc(e){return{baseLanes:e,cachePool:va()}}function xc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=$l),e}function Sc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(so.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(Mi){if(a?no(t):ao(t),(e=ji)?(e=ff(e,Pi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Si===null?null:{id:Ci,overflow:wi},retryLane:536870912,hydrationErrors:null},n=pi(e),n.return=t,t.child=n,Ai=t,ji=null)):e=null,e===null)throw Ii(t);return mf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(ao(t),a=t.mode,c=wc({mode:`hidden`,children:c},a),r=di(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=bc(n),r.childLanes=xc(e,s,n),t.memoizedState=yc,lc(null,r)):(no(t),Cc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(no(t),t.flags&=-257,t=Tc(e,t,n)):t.memoizedState===null?(ao(t),c=r.fallback,a=t.mode,r=wc({mode:`visible`,children:r.children},a),c=di(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fa(t,e.child,null,n),r=t.child,r.memoizedState=bc(n),r.childLanes=xc(e,s,n),t.memoizedState=yc,t=lc(null,r)):(ao(t),t.child=e.child,t.flags|=128,t=null);else if(no(t),mf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Hi({value:r,source:null,stack:null}),t=Tc(e,t,n)}else if(rc||Xi(e,t,n,!1),s=(n&e.childLanes)!==0,rc||s){if(s=Bl,s!==null&&(r=at(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ai(e,r),bu(s,e,r),nc;pf(c)||Mu(),t=Tc(e,t,n)}else pf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,ji=gf(c.nextSibling),Ai=t,Mi=!0,Ni=null,Pi=!1,e!==null&&ki(t,e),t=Cc(t,r.children),t.flags|=4096);return t}return a?(ao(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=li(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=di(c,a,n,null),c.flags|=2):c=li(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,lc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=bc(n):(a=c.cachePool,a===null?a=va():(l=aa._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=xc(e,s,n),t.memoizedState=yc,lc(e.child,r)):(no(t),n=e.child,e=n.sibling,n=li(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Cc(e,t){return t=wc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function wc(e,t){return e=R(22,e,null,t),e.lanes=0,e}function Tc(e,t,n){return Fa(t,e.child,null,n),e=Cc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ec(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ji(e.return,t,n)}function Dc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Oc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=so.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,de(so,o),ic(e,t,r,n),r=Mi?bi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ec(e,n,t);else if(e.tag===19)Ec(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Dc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Dc(t,!0,n,null,a,r);break;case`together`:Dc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function kc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Xl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Xi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=li(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=li(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ac(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Zi(e))):!0}function jc(e,t,n){switch(t.tag){case 3:ge(t,t.stateNode.containerInfo),Ki(t,aa,e.memoizedState.cache),Bi();break;case 27:case 5:ve(t);break;case 4:ge(t,t.stateNode.containerInfo);break;case 10:Ki(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ro(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(no(t),e=kc(e,t,n),e===null?null:e.sibling):Sc(e,t,n):(no(t),t.flags|=128,null);no(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Xi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Oc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),de(so,so.current),r)break;return null;case 22:return t.lanes=0,cc(e,t,n,t.pendingProps);case 24:Ki(t,aa,e.memoizedState.cache)}return kc(e,t,n)}function Mc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)rc=!0;else{if(!Ac(e,n)&&!(t.flags&128))return rc=!1,jc(e,t,n);rc=!!(e.flags&131072)}else rc=!1,Mi&&t.flags&1048576&&Ei(t,bi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ta(t.elementType),t.type=e,typeof e==`function`)z(e)?(r=Ks(e,r),t.tag=1,t=_c(null,t,e,r,n)):(t.tag=0,t=hc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=ac(null,t,e,r,n);break a}else if(a===te){t.tag=14,t=oc(null,t,e,r,n);break a}}throw t=ie(e)||e,Error(i(306,t,``))}}return t;case 0:return hc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ks(r,t.pendingProps),_c(e,t,r,a,n);case 3:a:{if(ge(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,za(e,t),Ka(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Ki(t,aa,r),r!==o.cache&&Yi(t,[aa],n,!0),Ga(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=vc(e,t,r,n);break a}else if(r!==a){a=gi(Error(i(424)),t),Hi(a),t=vc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(ji=gf(e.firstChild),Ai=t,Mi=!0,Ni=null,Pi=!0,n=Ia(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Bi(),r===a){t=kc(e,t,n);break a}ic(e,t,r,n)}t=t.child}return t;case 26:return mc(e,t),e===null?(n=Lf(t.type,null,t.pendingProps,null))?t.memoizedState=n:Mi||(n=t.type,e=t.pendingProps,r=Jd(me.current).createElement(n),r[dt]=t,r[ft]=e,Hd(r,n,e),wt(r),t.stateNode=r):t.memoizedState=Lf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ve(t),e===null&&Mi&&(r=t.stateNode=bf(t.type,t.pendingProps,me.current),Ai=t,Pi=!0,a=ji,of(t.type)?(_f=a,ji=gf(r.firstChild)):ji=a),ic(e,t,t.pendingProps.children,n),mc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Mi&&((a=r=ji)&&(r=uf(r,t.type,t.pendingProps,Pi),r===null?a=!1:(t.stateNode=r,Ai=t,ji=gf(r.firstChild),Pi=!1,a=!0)),a||Ii(t)),ve(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Zd(a,o)?r=null:s!==null&&Zd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Co(e,t,Eo,null,null,n),ap._currentValue=a),mc(e,t),ic(e,t,r,n),t.child;case 6:return e===null&&Mi&&((e=n=ji)&&(n=df(n,t.pendingProps,Pi),n===null?e=!1:(t.stateNode=n,Ai=t,ji=null,e=!0)),e||Ii(t)),null;case 13:return Sc(e,t,n);case 4:return ge(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fa(t,null,r,n):ic(e,t,r,n),t.child;case 11:return ac(e,t,t.type,t.pendingProps,n);case 7:return ic(e,t,t.pendingProps,n),t.child;case 8:return ic(e,t,t.pendingProps.children,n),t.child;case 12:return ic(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Ki(t,t.type,r.value),ic(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Qi(t),a=$i(a),r=r(a),t.flags|=1,ic(e,t,r,n),t.child;case 14:return oc(e,t,t.type,t.pendingProps,n);case 15:return sc(e,t,t.type,t.pendingProps,n);case 19:return Oc(e,t,n);case 31:return pc(e,t,n);case 22:return cc(e,t,n,t.pendingProps);case 24:return Qi(t),r=$i(aa),e===null?(a=ga(),a===null&&(a=Bl,o=oa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ra(t),Ki(t,aa,a)):((e.lanes&n)!==0&&(za(e,t),Ka(t,null,null,n),Ga()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Ki(t,aa,r),r!==a.cache&&Yi(t,[aa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Ki(t,aa,r))),ic(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Nc(e){e.flags|=4}function Pc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(ku())e.flags|=8192;else throw Ea=Sa,ba}else e.flags&=-16777217}function Fc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Zf(t))if(ku())e.flags|=8192;else throw Ea=Sa,ba}function Ic(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:$e(),e.lanes|=t,eu|=t)}function Lc(e,t){if(!Mi)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 Rc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zc(e,t,n){var r=t.pendingProps;switch(Oi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rc(t),null;case 1:return Rc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),qi(aa),_e(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zi(t)?Nc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vi())),Rc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Nc(t),o===null?(Rc(t),Pc(t,a,null,r,n)):(Rc(t),Fc(t,o))):o?o===e.memoizedState?(Rc(t),t.flags&=-16777217):(Nc(t),Rc(t),Fc(t,o)):(e=e.memoizedProps,e!==r&&Nc(t),Rc(t),Pc(t,a,e,r,n)),null;case 27:if(M(t),n=me.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Rc(t),null}e=fe.current,zi(t)?Li(t,e):(e=bf(a,r,n),t.stateNode=e,Nc(t))}return Rc(t),null;case 5:if(M(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Rc(t),null}if(o=fe.current,zi(t))Li(t,o);else{var s=Jd(me.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[dt]=t,o[ft]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Hd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Nc(t)}}return Rc(t),Pc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=me.current,zi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ai,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[dt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||zd(e.nodeValue,n)),e||Ii(t,!0)}else e=Jd(e).createTextNode(r),e[dt]=t,t.stateNode=e}return Rc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[dt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Rc(t),e=!1}else n=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(oo(t),t):(oo(t),null);if(t.flags&128)throw Error(i(558))}return Rc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=zi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[dt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Rc(t),a=!1}else a=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(oo(t),t):(oo(t),null)}return oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ic(t,t.updateQueue),Rc(t),null);case 4:return _e(),e===null&&kd(t.stateNode.containerInfo),Rc(t),null;case 10:return qi(t.type),Rc(t),null;case 19:if(ue(so),r=t.memoizedState,r===null)return Rc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Lc(r,!1);else{if(Yl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=co(e),o!==null){for(t.flags|=128,Lc(r,!1),e=o.updateQueue,t.updateQueue=e,Ic(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)B(n,e),n=n.sibling;return de(so,so.current&1|2),Mi&&Ti(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ae()>ou&&(t.flags|=128,a=!0,Lc(r,!1),t.lanes=4194304)}else{if(!a)if(e=co(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Ic(t,e),Lc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Mi)return Rc(t),null}else 2*Ae()-r.renderingStartTime>ou&&n!==536870912&&(t.flags|=128,a=!0,Lc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Rc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ae(),e.sibling=null,n=so.current,de(so,a?n&1|2:n&1),Mi&&Ti(t,r.treeForkCount),e);case 22:case 23:return oo(t),$a(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Rc(t),t.subtreeFlags&6&&(t.flags|=8192)):Rc(t),n=t.updateQueue,n!==null&&Ic(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ue(ha),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),qi(aa),Rc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Bc(e,t){switch(Oi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qi(aa),_e(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return M(t),null;case 31:if(t.memoizedState!==null){if(oo(t),t.alternate===null)throw Error(i(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(so),null;case 4:return _e(),null;case 10:return qi(t.type),null;case 22:case 23:return oo(t),$a(),e!==null&&ue(ha),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return qi(aa),null;case 25:return null;default:return null}}function Vc(e,t){switch(Oi(t),t.tag){case 3:qi(aa),_e();break;case 26:case 27:case 5:M(t);break;case 4:_e();break;case 31:t.memoizedState!==null&&oo(t);break;case 13:oo(t);break;case 19:ue(so);break;case 10:qi(t.type);break;case 22:case 23:oo(t),$a(),e!==null&&ue(ha);break;case 24:qi(aa)}}function Hc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Xu(t,t.return,e)}}function Uc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Xu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Xu(t,t.return,e)}}function Wc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ja(t,n)}catch(t){Xu(e,e.return,t)}}}function Gc(e,t,n){n.props=Ks(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Xu(e,t,n)}}function Kc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Xu(e,t,n)}}function qc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Xu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Xu(e,t,n)}else n.current=null}function Jc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Xu(e,e.return,t)}}function Yc(e,t,n){try{var r=e.stateNode;Ud(r,e.type,n,t),r[ft]=t}catch(t){Xu(e,e.return,t)}}function Xc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&of(e.type)||e.tag===4}function Zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Xc(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.tag===27&&of(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rn));else if(r!==4&&(r===27&&of(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(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&&(r===27&&of(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function W(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Hd(t,r,n),t[dt]=e,t[ft]=n}catch(t){Xu(e,e.return,t)}}var el=!1,G=!1,tl=!1,nl=typeof WeakSet==`function`?WeakSet:Set,rl=null;function il(e,t){if(e=e.containerInfo,Kd=mp,e=jr(e),Mr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(qd={focusedElem:e,selectionRange:n},mp=!1,rl=t;rl!==null;)if(t=rl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,rl=e;else for(;rl!==null;){switch(t=rl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Ks(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Xu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)lf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:lf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,rl=e;break}rl=t.return}}function al(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:bl(e,n),r&4&&Hc(5,n);break;case 1:if(bl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Xu(n,n.return,e)}else{var i=Ks(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Xu(n,n.return,e)}}r&64&&Wc(n),r&512&&Kc(n,n.return);break;case 3:if(bl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ja(e,t)}catch(e){Xu(n,n.return,e)}}break;case 27:t===null&&r&4&&W(n);case 26:case 5:bl(e,n),t===null&&r&4&&Jc(n),r&512&&Kc(n,n.return);break;case 12:bl(e,n);break;case 31:bl(e,n),r&4&&dl(e,n);break;case 13:bl(e,n),r&4&&fl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=ed.bind(null,n),hf(e,n))));break;case 22:if(r=n.memoizedState!==null||el,!r){t=t!==null&&t.memoizedState!==null||G,i=el;var a=G;el=r,(G=t)&&!a?Sl(e,n,(n.subtreeFlags&8772)!=0):bl(e,n),el=i,G=a}break;case 30:break;default:bl(e,n)}}function ol(e){var t=e.alternate;t!==null&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&yt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var sl=null,cl=!1;function ll(e,t,n){for(n=n.child;n!==null;)ul(e,t,n),n=n.sibling}function ul(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount==`function`)try{Be.onCommitFiberUnmount(ze,n)}catch{}switch(n.tag){case 26:G||qc(n,t),ll(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:G||qc(n,t);var r=sl,i=cl;of(n.type)&&(sl=n.stateNode,cl=!1),ll(e,t,n),xf(n.stateNode),sl=r,cl=i;break;case 5:G||qc(n,t);case 6:if(r=sl,i=cl,sl=null,ll(e,t,n),sl=r,cl=i,sl!==null)if(cl)try{(sl.nodeType===9?sl.body:sl.nodeName===`HTML`?sl.ownerDocument.body:sl).removeChild(n.stateNode)}catch(e){Xu(n,t,e)}else try{sl.removeChild(n.stateNode)}catch(e){Xu(n,t,e)}break;case 18:sl!==null&&(cl?(e=sl,sf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Bp(e)):sf(sl,n.stateNode));break;case 4:r=sl,i=cl,sl=n.stateNode.containerInfo,cl=!0,ll(e,t,n),sl=r,cl=i;break;case 0:case 11:case 14:case 15:Uc(2,n,t),G||Uc(4,n,t),ll(e,t,n);break;case 1:G||(qc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Gc(n,t,r)),ll(e,t,n);break;case 21:ll(e,t,n);break;case 22:G=(r=G)||n.memoizedState!==null,ll(e,t,n),G=r;break;default:ll(e,t,n)}}function dl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bp(e)}catch(e){Xu(t,t.return,e)}}}function fl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bp(e)}catch(e){Xu(t,t.return,e)}}function pl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new nl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new nl),t;default:throw Error(i(435,e.tag))}}function ml(e,t){var n=pl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=td.bind(null,e,t);t.then(r,r)}})}function hl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(of(c.type)){sl=c.stateNode,cl=!1;break a}break;case 5:sl=c.stateNode,cl=!1;break a;case 3:case 4:sl=c.stateNode.containerInfo,cl=!0;break a}c=c.return}if(sl===null)throw Error(i(160));ul(o,s,a),sl=null,cl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)_l(t,e),t=t.sibling}var gl=null;function _l(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:hl(t,e),vl(e),r&4&&(Uc(3,e,e.return),Hc(3,e),Uc(5,e,e.return));break;case 1:hl(t,e),vl(e),r&512&&(G||n===null||qc(n,n.return)),r&64&&el&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=gl;if(hl(t,e),vl(e),r&512&&(G||n===null||qc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[vt]||o[dt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Hd(o,r,n),o[dt]=e,wt(o),r=o;break a;case`link`:var s=Jf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Hd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Jf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Hd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[dt]=e,wt(o),r=o}e.stateNode=r}else Yf(a,e.type,e.stateNode);else e.stateNode=Uf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Yc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Yf(a,e.type,e.stateNode):Uf(a,r,e.memoizedProps))}break;case 27:hl(t,e),vl(e),r&512&&(G||n===null||qc(n,n.return)),n!==null&&r&4&&Yc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(hl(t,e),vl(e),r&512&&(G||n===null||qc(n,n.return)),e.flags&32){a=e.stateNode;try{Yt(a,``)}catch(t){Xu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Yc(e,a,n===null?a:n.memoizedProps)),r&1024&&(tl=!0);break;case 6:if(hl(t,e),vl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Xu(e,e.return,t)}}break;case 3:if(qf=null,a=gl,gl=wf(t.containerInfo),hl(t,e),gl=a,vl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Bp(t.containerInfo)}catch(t){Xu(e,e.return,t)}tl&&(tl=!1,yl(e));break;case 4:r=gl,gl=wf(e.stateNode.containerInfo),hl(t,e),vl(e),gl=r;break;case 12:hl(t,e),vl(e);break;case 31:hl(t,e),vl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ml(e,r)));break;case 13:hl(t,e),vl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(iu=Ae()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ml(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=el,d=G;if(el=u||a,G=d||l,hl(t,e),G=d,el=u,vl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||el||G||xl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Xu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Xu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?cf(m,!0):cf(l.stateNode,!1)}catch(e){Xu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,ml(e,n))));break;case 19:hl(t,e),vl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ml(e,r)));break;case 30:break;case 21:break;default:hl(t,e),vl(e)}}function vl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Xc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;$c(e,Zc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Yt(o,``),n.flags&=-33),$c(e,Zc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Qc(e,Zc(e),s);break;default:throw Error(i(161))}}catch(t){Xu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function yl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;yl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function bl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)al(e,t.alternate,t),t=t.sibling}function xl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Uc(4,t,t.return),xl(t);break;case 1:qc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Gc(t,t.return,n),xl(t);break;case 27:xf(t.stateNode);case 26:case 5:qc(t,t.return),xl(t);break;case 22:t.memoizedState===null&&xl(t);break;case 30:xl(t);break;default:xl(t)}e=e.sibling}}function Sl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Sl(i,a,n),Hc(4,a);break;case 1:if(Sl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Xu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)qa(c[i],s)}catch(e){Xu(r,r.return,e)}}n&&o&64&&Wc(a),Kc(a,a.return);break;case 27:W(a);case 26:case 5:Sl(i,a,n),n&&r===null&&o&4&&Jc(a),Kc(a,a.return);break;case 12:Sl(i,a,n);break;case 31:Sl(i,a,n),n&&o&4&&dl(i,a);break;case 13:Sl(i,a,n),n&&o&4&&fl(i,a);break;case 22:a.memoizedState===null&&Sl(i,a,n),Kc(a,a.return);break;case 30:break;default:Sl(i,a,n)}t=t.sibling}}function Cl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&sa(n))}function wl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e))}function Tl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)El(e,t,n,r),t=t.sibling}function El(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Tl(e,t,n,r),i&2048&&Hc(9,t);break;case 1:Tl(e,t,n,r);break;case 3:Tl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e)));break;case 12:if(i&2048){Tl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Xu(t,t.return,e)}}else Tl(e,t,n,r);break;case 31:Tl(e,t,n,r);break;case 13:Tl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Tl(e,t,n,r):(a._visibility|=2,Dl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Tl(e,t,n,r):Ol(e,t),i&2048&&Cl(o,t);break;case 24:Tl(e,t,n,r),i&2048&&wl(t.alternate,t);break;default:Tl(e,t,n,r)}}function Dl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Dl(a,o,s,c,i),Hc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Dl(a,o,s,c,i)):u._visibility&2?Dl(a,o,s,c,i):Ol(a,o),i&&l&2048&&Cl(o.alternate,o);break;case 24:Dl(a,o,s,c,i),i&&l&2048&&wl(o.alternate,o);break;default:Dl(a,o,s,c,i)}t=t.sibling}}function Ol(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ol(n,r),i&2048&&Cl(r.alternate,r);break;case 24:Ol(n,r),i&2048&&wl(r.alternate,r);break;default:Ol(n,r)}t=t.sibling}}var kl=8192;function Al(e,t,n){if(e.subtreeFlags&kl)for(e=e.child;e!==null;)jl(e,t,n),e=e.sibling}function jl(e,t,n){switch(e.tag){case 26:Al(e,t,n),e.flags&kl&&e.memoizedState!==null&&Qf(n,gl,e.memoizedState,e.memoizedProps);break;case 5:Al(e,t,n);break;case 3:case 4:var r=gl;gl=wf(e.stateNode.containerInfo),Al(e,t,n),gl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=kl,kl=16777216,Al(e,t,n),kl=r):Al(e,t,n));break;default:Al(e,t,n)}}function Ml(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Nl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];rl=r,Il(r,e)}Ml(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Pl(e),e=e.sibling}function Pl(e){switch(e.tag){case 0:case 11:case 15:Nl(e),e.flags&2048&&Uc(9,e,e.return);break;case 3:Nl(e);break;case 12:Nl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Fl(e)):Nl(e);break;default:Nl(e)}}function Fl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];rl=r,Il(r,e)}Ml(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Uc(8,t,t.return),Fl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Fl(t));break;default:Fl(t)}e=e.sibling}}function Il(e,t){for(;rl!==null;){var n=rl;switch(n.tag){case 0:case 11:case 15:Uc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:sa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,rl=r;else a:for(n=e;rl!==null;){r=rl;var i=r.sibling,a=r.return;if(ol(r),r===n){rl=null;break a}if(i!==null){i.return=a,rl=i;break a}rl=a}}}var Ll={getCacheForType:function(e){var t=$i(aa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $i(aa).controller.signal}},Rl=typeof WeakMap==`function`?WeakMap:Map,zl=0,Bl=null,Vl=null,Hl=0,Ul=0,Wl=null,Gl=!1,Kl=!1,ql=!1,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=0,tu=null,nu=null,ru=!1,iu=0,au=0,ou=1/0,su=null,cu=null,lu=0,uu=null,du=null,fu=0,pu=0,mu=null,hu=null,gu=0,_u=null;function vu(){return zl&2&&Hl!==0?Hl&-Hl:A.T===null?ct():_d()}function yu(){if($l===0)if(!(Hl&536870912)||Mi){var e=qe;qe<<=1,!(qe&3932160)&&(qe=262144),$l=e}else $l=536870912;return e=eo.current,e!==null&&(e.flags|=32),$l}function bu(e,t,n){(e===Bl&&(Ul===2||Ul===9)||e.cancelPendingCommit!==null)&&(Du(e,0),wu(e,Hl,$l,!1)),tt(e,n),(!(zl&2)||e!==Bl)&&(e===Bl&&(!(zl&2)&&(Zl|=n),Yl===4&&wu(e,Hl,$l,!1)),ld(e))}function xu(e,t,n){if(zl&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ze(e,t),a=r?Fu(e,t):Nu(e,t,!0),o=r;do{if(a===0){Kl&&!r&&wu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Cu(n)){a=Nu(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=tu;var l=c.current.memoizedState.isDehydrated;if(l&&(Du(c,s).flags|=256),s=Nu(c,s,!1),s!==2){if(ql&&!l){c.errorRecoveryDisabledLanes|=o,Zl|=o,a=4;break a}o=nu,nu=a,o!==null&&(nu===null?nu=o:nu.push.apply(nu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Du(e,0),wu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:wu(r,t,$l,!Gl);break a;case 2:nu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=iu+300-Ae(),10<a)){if(wu(r,t,$l,!Gl),Xe(r,0,!0)!==0)break a;fu=t,r.timeoutHandle=ef(Su.bind(null,r,n,nu,su,ru,t,$l,Zl,eu,Gl,o,`Throttled`,-0,0),a);break a}Su(r,n,nu,su,ru,t,$l,Zl,eu,Gl,o,null,-0,0)}}break}while(1);ld(e)}function Su(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rn},jl(t,a,d);var m=(a&62914560)===a?iu-Ae():(a&4194048)===a?au-Ae():0;if(m=ep(d,m),m!==null){fu=a,e.cancelPendingCommit=m(Hu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),wu(e,a,o,!l);return}}Hu(e,t,a,n,r,i,o,s,c)}function Cu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Er(a(),i))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 wu(e,t,n,r){t&=~Ql,t&=~Zl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-He(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&rt(e,n,t)}function Tu(){return zl&6?!0:(ud(0,!1),!1)}function Eu(){if(Vl!==null){if(Ul===0)var e=Vl.return;else e=Vl,Gi=Wi=null,ko(e),ka=null,Aa=0,e=Vl;for(;e!==null;)Vc(e.alternate,e),e=e.return;Vl=null}}function Du(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,tf(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),fu=0,Eu(),Bl=e,Vl=n=li(e.current,null),Hl=t,Ul=0,Wl=null,Gl=!1,Kl=Ze(e,t),ql=!1,eu=$l=Ql=Zl=Xl=Yl=0,nu=tu=null,ru=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-He(r),a=1<<i;t|=e[i],r&=~a}return Jl=t,ni(),n}function Ou(e,t){uo=null,A.H=zs,t===ya||t===xa?(t=Da(),Ul=3):t===ba?(t=Da(),Ul=4):Ul=t===nc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Wl=t,Vl===null&&(Yl=1,Xs(e,gi(t,e.current)))}function ku(){var e=eo.current;return e===null?!0:(Hl&4194048)===Hl?to===null:(Hl&62914560)===Hl||Hl&536870912?e===to:!1}function Au(){var e=A.H;return A.H=zs,e===null?zs:e}function ju(){var e=A.A;return A.A=Ll,e}function Mu(){Yl=4,Gl||(Hl&4194048)!==Hl&&eo.current!==null||(Kl=!0),!(Xl&134217727)&&!(Zl&134217727)||Bl===null||wu(Bl,Hl,$l,!1)}function Nu(e,t,n){var r=zl;zl|=2;var i=Au(),a=ju();(Bl!==e||Hl!==t)&&(su=null,Du(e,t)),t=!1;var o=Yl;a:do try{if(Ul!==0&&Vl!==null){var s=Vl,c=Wl;switch(Ul){case 8:Eu(),o=6;break a;case 3:case 2:case 9:case 6:eo.current===null&&(t=!0);var l=Ul;if(Ul=0,Wl=null,zu(e,s,c,l),n&&Kl){o=0;break a}break;default:l=Ul,Ul=0,Wl=null,zu(e,s,c,l)}}Pu(),o=Yl;break}catch(t){Ou(e,t)}while(1);return t&&e.shellSuspendCounter++,Gi=Wi=null,zl=r,A.H=i,A.A=a,Vl===null&&(Bl=null,Hl=0,ni()),o}function Pu(){for(;Vl!==null;)Lu(Vl)}function Fu(e,t){var n=zl;zl|=2;var r=Au(),a=ju();Bl!==e||Hl!==t?(su=null,ou=Ae()+500,Du(e,t)):Kl=Ze(e,t);a:do try{if(Ul!==0&&Vl!==null){t=Vl;var o=Wl;b:switch(Ul){case 1:Ul=0,Wl=null,zu(e,t,o,1);break;case 2:case 9:if(Ca(o)){Ul=0,Wl=null,Ru(t);break}t=function(){Ul!==2&&Ul!==9||Bl!==e||(Ul=7),ld(e)},o.then(t,t);break a;case 3:Ul=7;break a;case 4:Ul=5;break a;case 7:Ca(o)?(Ul=0,Wl=null,Ru(t)):(Ul=0,Wl=null,zu(e,t,o,7));break;case 5:var s=null;switch(Vl.tag){case 26:s=Vl.memoizedState;case 5:case 27:var c=Vl;if(s?Zf(s):c.stateNode.complete){Ul=0,Wl=null;var l=c.sibling;if(l!==null)Vl=l;else{var u=c.return;u===null?Vl=null:(Vl=u,Bu(u))}break b}}Ul=0,Wl=null,zu(e,t,o,5);break;case 6:Ul=0,Wl=null,zu(e,t,o,6);break;case 8:Eu(),Yl=6;break a;default:throw Error(i(462))}}Iu();break}catch(t){Ou(e,t)}while(1);return Gi=Wi=null,A.H=r,A.A=a,zl=n,Vl===null?(Bl=null,Hl=0,ni(),Yl):0}function Iu(){for(;Vl!==null&&!Oe();)Lu(Vl)}function Lu(e){var t=Mc(e.alternate,e,Jl);e.memoizedProps=e.pendingProps,t===null?Bu(e):Vl=t}function Ru(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=gc(n,t,t.pendingProps,t.type,void 0,Hl);break;case 11:t=gc(n,t,t.pendingProps,t.type.render,t.ref,Hl);break;case 5:ko(t);default:Vc(n,t),t=Vl=B(t,Jl),t=Mc(n,t,Jl)}e.memoizedProps=e.pendingProps,t===null?Bu(e):Vl=t}function zu(e,t,n,r){Gi=Wi=null,ko(t),ka=null,Aa=0;var i=t.return;try{if(tc(e,i,t,n,Hl)){Yl=1,Xs(e,gi(n,e.current)),Vl=null;return}}catch(t){if(i!==null)throw Vl=i,t;Yl=1,Xs(e,gi(n,e.current)),Vl=null;return}t.flags&32768?(Mi||r===1?e=!0:Kl||Hl&536870912?e=!1:(Gl=e=!0,(r===2||r===9||r===3||r===6)&&(r=eo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Vu(t,e)):Bu(t)}function Bu(e){var t=e;do{if(t.flags&32768){Vu(t,Gl);return}e=t.return;var n=zc(t.alternate,t,Jl);if(n!==null){Vl=n;return}if(t=t.sibling,t!==null){Vl=t;return}Vl=t=e}while(t!==null);Yl===0&&(Yl=5)}function Vu(e,t){do{var n=Bc(e.alternate,e);if(n!==null){n.flags&=32767,Vl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Vl=e;return}Vl=e=n}while(e!==null);Yl=6,Vl=null}function Hu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do qu();while(lu!==0);if(zl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ti,nt(e,n,o,s,c,l),e===Bl&&(Vl=Bl=null,Hl=0),du=t,uu=e,fu=n,pu=o,mu=a,hu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,nd(Pe,function(){return Ju(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=A.T,A.T=null,a=j.p,j.p=2,s=zl,zl|=4;try{il(e,t,n)}finally{zl=s,j.p=a,A.T=r}}lu=1,Uu(),Wu(),Gu()}}function Uu(){if(lu===1){lu=0;var e=uu,t=du,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=A.T,A.T=null;var r=j.p;j.p=2;var i=zl;zl|=4;try{_l(t,e);var a=qd,o=jr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Ar(s.ownerDocument.documentElement,s)){if(c!==null&&Mr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=kr(s,h),v=kr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}mp=!!Kd,qd=Kd=null}finally{zl=i,j.p=r,A.T=n}}e.current=t,lu=2}}function Wu(){if(lu===2){lu=0;var e=uu,t=du,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=A.T,A.T=null;var r=j.p;j.p=2;var i=zl;zl|=4;try{al(e,t.alternate,t)}finally{zl=i,j.p=r,A.T=n}}lu=3}}function Gu(){if(lu===4||lu===3){lu=0,ke();var e=uu,t=du,n=fu,r=hu;t.subtreeFlags&10256||t.flags&10256?lu=5:(lu=0,du=uu=null,Ku(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(cu=null),st(n),t=t.stateNode,Be&&typeof Be.onCommitFiberRoot==`function`)try{Be.onCommitFiberRoot(ze,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=A.T,i=j.p,j.p=2,A.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{A.T=t,j.p=i}}fu&3&&qu(),ld(e),i=e.pendingLanes,n&261930&&i&42?e===_u?gu++:(gu=0,_u=e):gu=0,ud(0,!1)}}function Ku(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sa(t)))}function qu(){return Uu(),Wu(),Gu(),Ju()}function Ju(){if(lu!==5)return!1;var e=uu,t=pu;pu=0;var n=st(fu),r=A.T,a=j.p;try{j.p=32>n?32:n,A.T=null,n=mu,mu=null;var o=uu,s=fu;if(lu=0,du=uu=null,fu=0,zl&6)throw Error(i(331));var c=zl;if(zl|=4,Pl(o.current),El(o,o.current,s,n),zl=c,ud(0,!1),Be&&typeof Be.onPostCommitFiberRoot==`function`)try{Be.onPostCommitFiberRoot(ze,o)}catch{}return!0}finally{j.p=a,A.T=r,Ku(e,t)}}function Yu(e,t,n){t=gi(n,t),t=Qs(e.stateNode,t,2),e=Va(e,t,2),e!==null&&(tt(e,2),ld(e))}function Xu(e,t,n){if(e.tag===3)Yu(e,e,n);else for(;t!==null;){if(t.tag===3){Yu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(cu===null||!cu.has(r))){e=gi(n,e),n=$s(2),r=Va(t,n,2),r!==null&&(ec(n,r,t,e),tt(r,2),ld(r));break}}t=t.return}}function Zu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ql=!0,i.add(n),e=Qu.bind(null,e,t,n),t.then(e,e))}function Qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Bl===e&&(Hl&n)===n&&(Yl===4||Yl===3&&(Hl&62914560)===Hl&&300>Ae()-iu?!(zl&2)&&Du(e,0):Ql|=n,eu===Hl&&(eu=0)),ld(e)}function $u(e,t){t===0&&(t=$e()),e=ai(e,t),e!==null&&(tt(e,t),ld(e))}function ed(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$u(e,n)}function td(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),$u(e,n)}function nd(e,t){return Ee(e,t)}var rd=null,id=null,ad=!1,od=!1,sd=!1,cd=0;function ld(e){e!==id&&e.next===null&&(id===null?rd=id=e:id=id.next=e),od=!0,ad||(ad=!0,gd())}function ud(e,t){if(!sd&&od){sd=!0;do for(var n=!1,r=rd;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-He(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,hd(r,a))}else a=Hl,a=Xe(r,r===Bl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ze(r,a)||(n=!0,hd(r,a));r=r.next}while(n);sd=!1}}function dd(){fd()}function fd(){od=ad=!1;var e=0;cd!==0&&$d()&&(e=cd);for(var t=Ae(),n=null,r=rd;r!==null;){var i=r.next,a=pd(r,t);a===0?(r.next=null,n===null?rd=i:n.next=i,i===null&&(id=n)):(n=r,(e!==0||a&3)&&(od=!0)),r=i}lu!==0&&lu!==5||ud(e,!1),cd!==0&&(cd=0)}function pd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-He(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Qe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Bl,n=Hl,n=Xe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Ul===2||Ul===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&De(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ze(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&De(r),st(n)){case 2:case 8:n=Ne;break;case 32:n=Pe;break;case 268435456:n=Ie;break;default:n=Pe}return r=md.bind(null,e),n=Ee(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&De(r),e.callbackPriority=2,e.callbackNode=null,2}function md(e,t){if(lu!==0&&lu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(qu()&&e.callbackNode!==n)return null;var r=Hl;return r=Xe(e,e===Bl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(xu(e,r,t),pd(e,Ae()),e.callbackNode!=null&&e.callbackNode===n?md.bind(null,e):null)}function hd(e,t){if(qu())return null;xu(e,t,!0)}function gd(){rf(function(){zl&6?Ee(Me,dd):fd()})}function _d(){if(cd===0){var e=H;e===0&&(e=Ke,Ke<<=1,!(Ke&261888)&&(Ke=256)),cd=e}return cd}function vd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:nn(``+e)}function yd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function bd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=vd((i[ft]||null).action),o=r.submitter;o&&(t=(t=o[ft]||null)?vd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Tn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(cd!==0){var e=o?yd(i,o):new FormData(i);Ts(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?yd(i,o):new FormData(i),Ts(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var xd=0;xd<Xr.length;xd++){var Sd=Xr[xd];Zr(Sd.toLowerCase(),`on`+(Sd[0].toUpperCase()+Sd.slice(1)))}Zr(Hr,`onAnimationEnd`),Zr(Ur,`onAnimationIteration`),Zr(Wr,`onAnimationStart`),Zr(`dblclick`,`onDoubleClick`),Zr(`focusin`,`onFocus`),Zr(`focusout`,`onBlur`),Zr(Gr,`onTransitionRun`),Zr(Kr,`onTransitionStart`),Zr(qr,`onTransitionCancel`),Zr(Jr,`onTransitionEnd`),Ot(`onMouseEnter`,[`mouseout`,`mouseover`]),Ot(`onMouseLeave`,[`mouseout`,`mouseover`]),Ot(`onPointerEnter`,[`pointerout`,`pointerover`]),Ot(`onPointerLeave`,[`pointerout`,`pointerover`]),Dt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Dt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Dt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Dt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Dt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Dt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Cd=`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(` `),wd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Cd));function Td(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Qr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Qr(e)}i.currentTarget=null,a=c}}}}function Ed(e,t){var n=t[mt];n===void 0&&(n=t[mt]=new Set);var r=e+`__bubble`;n.has(r)||(Ad(t,e,2,!1),n.add(r))}function Dd(e,t,n){var r=0;t&&(r|=4),Ad(n,e,r,t)}var Od=`_reactListening`+Math.random().toString(36).slice(2);function kd(e){if(!e[Od]){e[Od]=!0,Tt.forEach(function(t){t!==`selectionchange`&&(wd.has(t)||Dd(t,!1,e),Dd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Od]||(t[Od]=!0,Dd(`selectionchange`,!1,t))}}function Ad(e,t,n,r){switch(xp(t)){case 2:var i=hp;break;case 8:i=gp;break;default:i=_p}n=i.bind(null,t,n,e),i=void 0,!mn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function jd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=bt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}dn(function(){var r=a,i=on(n),s=[];a:{var c=Yr.get(e);if(c!==void 0){var l=Tn,u=e;switch(e){case`keypress`:if(bn(n)===0)break a;case`keydown`:case`keyup`:l=Un;break;case`focusin`:u=`focus`,l=Pn;break;case`focusout`:u=`blur`,l=Pn;break;case`beforeblur`:case`afterblur`:l=Pn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Mn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Nn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Gn;break;case Hr:case Ur:case Wr:l=Fn;break;case Jr:l=Kn;break;case`scroll`:case`scrollend`:l=Dn;break;case`wheel`:l=qn;break;case`copy`:case`cut`:case`paste`:l=In;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Wn;break;case`toggle`:case`beforetoggle`:l=Jn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=fn(m,p),g!=null&&d.push(Md(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==an&&(u=n.relatedTarget||n.fromElement)&&(bt(u)||u[pt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?bt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Mn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Wn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:St(l),h=u==null?c:St(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,bt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Pd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Fd(s,c,l,d,!1),u!==null&&f!==null&&Fd(s,f,u,d,!0)}}a:{if(c=r?St(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=mr;else if(cr(c))if(hr)v=wr;else{v=Sr;var y=xr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&$t(r.elementType)&&(v=mr):v=Cr;if(v&&=v(e,r)){lr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Gt(c,`number`,c.value)}switch(y=r?St(r):window,e){case`focusin`:(cr(y)||y.contentEditable===`true`)&&(F=y,Pr=r,Fr=null);break;case`focusout`:Fr=Pr=F=null;break;case`mousedown`:I=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:I=!1,Ir(s,n,i);break;case`selectionchange`:if(Nr)break;case`keydown`:case`keyup`:Ir(s,n,i)}var b;if(Xn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else ir?nr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&($n&&n.locale!==`ko`&&(ir||x!==`onCompositionStart`?x===`onCompositionEnd`&&ir&&(b=yn()):(gn=i,_n=`value`in gn?gn.value:gn.textContent,ir=!0)),y=Nd(r,x),0<y.length&&(x=new Ln(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=rr(n),b!==null&&(x.data=b)))),(b=Qn?ar(e,n):or(e,n))&&(x=Nd(r,`onBeforeInput`),0<x.length&&(y=new Ln(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),bd(s,e,r,n,i)}Td(s,t)})}function Md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Nd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=fn(e,n),i!=null&&r.unshift(Md(e,i,a)),i=fn(e,t),i!=null&&r.push(Md(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Pd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=fn(n,a),l!=null&&o.unshift(Md(n,l,c))):i||(l=fn(n,a),l!=null&&o.push(Md(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Id=/\r\n?/g,Ld=/\u0000|\uFFFD/g;function Rd(e){return(typeof e==`string`?e:``+e).replace(Id,`
|
|
25
|
+
`).replace(Ld,``)}function zd(e,t){return t=Rd(t),Rd(e)===t}function Bd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Yt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Yt(e,``+r);break;case`className`:Pt(e,`class`,r);break;case`tabIndex`:Pt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Pt(e,n,r);break;case`style`:Qt(e,r,o);break;case`data`:if(t!==`object`){Pt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=nn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Bd(e,t,`name`,a.name,a,null),Bd(e,t,`formEncType`,a.formEncType,a,null),Bd(e,t,`formMethod`,a.formMethod,a,null),Bd(e,t,`formTarget`,a.formTarget,a,null)):(Bd(e,t,`encType`,a.encType,a,null),Bd(e,t,`method`,a.method,a,null),Bd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=nn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=rn);break;case`onScroll`:r!=null&&Ed(`scroll`,e);break;case`onScrollEnd`:r!=null&&Ed(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=nn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Ed(`beforetoggle`,e),Ed(`toggle`,e),Nt(e,`popover`,r);break;case`xlinkActuate`:P(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:P(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:P(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:P(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:P(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:P(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:P(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:P(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:P(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Nt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=en.get(n)||n,Nt(e,n,r))}}function Vd(e,t,n,r,a,o){switch(n){case`style`:Qt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Yt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Yt(e,``+r);break;case`onScroll`:r!=null&&Ed(`scroll`,e);break;case`onScrollEnd`:r!=null&&Ed(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=rn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Et.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[ft]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Nt(e,n,r)}}}function Hd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Ed(`error`,e),Ed(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Bd(e,t,o,s,n,null)}}a&&Bd(e,t,`srcSet`,n.srcSet,n,null),r&&Bd(e,t,`src`,n.src,n,null);return;case`input`:Ed(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Bd(e,t,r,d,n,null)}}Wt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Ed(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Bd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Kt(e,!!r,n,!0):Kt(e,!!r,t,!1);return;case`textarea`:for(s in Ed(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Bd(e,t,s,c,n,null)}Jt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Bd(e,t,l,r,n,null)}return;case`dialog`:Ed(`beforetoggle`,e),Ed(`toggle`,e),Ed(`cancel`,e),Ed(`close`,e);break;case`iframe`:case`object`:Ed(`load`,e);break;case`video`:case`audio`:for(r=0;r<Cd.length;r++)Ed(Cd[r],e);break;case`image`:Ed(`error`,e),Ed(`load`,e);break;case`details`:Ed(`toggle`,e);break;case`embed`:case`source`:case`link`:Ed(`error`,e),Ed(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Bd(e,t,u,r,n,null)}return;default:if($t(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Vd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Bd(e,t,c,r,n,null))}function Ud(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Bd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Bd(e,t,p,m,r,f)}}Ut(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Bd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Bd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Kt(e,!!n,n?[]:``,!1):Kt(e,!!n,t,!0)):Kt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Bd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Bd(e,t,s,a,r,o)}qt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Bd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Bd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Bd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Bd(e,t,u,p,r,m)}return;default:if($t(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Vd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Vd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Bd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Bd(e,t,f,p,r,m)}function Wd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Gd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Wd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Wd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Kd=null,qd=null;function Jd(e){return e.nodeType===9?e:e.ownerDocument}function Yd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Xd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Zd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Qd=null;function $d(){var e=window.event;return e&&e.type===`popstate`?e===Qd?!1:(Qd=e,!0):(Qd=null,!1)}var ef=typeof setTimeout==`function`?setTimeout:void 0,tf=typeof clearTimeout==`function`?clearTimeout:void 0,nf=typeof Promise==`function`?Promise:void 0,rf=typeof queueMicrotask==`function`?queueMicrotask:nf===void 0?ef:function(e){return nf.resolve(null).then(e).catch(af)};function af(e){setTimeout(function(){throw e})}function of(e){return e===`head`}function sf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Bp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)xf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,xf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[vt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&xf(e.ownerDocument.body);n=i}while(n);Bp(t)}function cf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function lf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:lf(n),yt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function uf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[vt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=gf(e.nextSibling),e===null)break}return null}function df(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=gf(e.nextSibling),e===null))return null;return e}function ff(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=gf(e.nextSibling),e===null))return null;return e}function pf(e){return e.data===`$?`||e.data===`$~`}function mf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function hf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function gf(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===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var _f=null;function vf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return gf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function yf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function bf(e,t,n){switch(t=Jd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function xf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);yt(e)}var Sf=new Map,Cf=new Set;function wf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Tf=j.d;j.d={f:Ef,r:Df,D:Af,C:jf,L:Mf,m:Nf,X:Ff,S:Pf,M:If};function Ef(){var e=Tf.f(),t=Tu();return e||t}function Df(e){var t=xt(e);t!==null&&t.tag===5&&t.type===`form`?Ds(t):Tf.r(e)}var Of=typeof document>`u`?null:document;function kf(e,t,n){var r=Of;if(r&&typeof t==`string`&&t){var i=Ht(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Cf.has(i)||(Cf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Hd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Af(e){Tf.D(e),kf(`dns-prefetch`,e,null)}function jf(e,t){Tf.C(e,t),kf(`preconnect`,e,t)}function Mf(e,t,n){Tf.L(e,t,n);var r=Of;if(r&&e&&t){var i=`link[rel="preload"][as="`+Ht(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Ht(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Ht(n.imageSizes)+`"]`)):i+=`[href="`+Ht(e)+`"]`;var a=i;switch(t){case`style`:a=Rf(e);break;case`script`:a=Hf(e)}Sf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Sf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(zf(a))||t===`script`&&r.querySelector(K(a))||(t=r.createElement(`link`),Hd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Nf(e,t){Tf.m(e,t);var n=Of;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Ht(r)+`"][href="`+Ht(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Hf(e)}if(!Sf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),Sf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(K(a)))return}r=n.createElement(`link`),Hd(r,`link`,e),wt(r),n.head.appendChild(r)}}}function Pf(e,t,n){Tf.S(e,t,n);var r=Of;if(r&&e){var i=Ct(r).hoistableStyles,a=Rf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(zf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Sf.get(a))&&Gf(e,n);var c=o=r.createElement(`link`);wt(c),Hd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Wf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Ff(e,t){Tf.X(e,t);var n=Of;if(n&&e){var r=Ct(n).hoistableScripts,i=Hf(e),a=r.get(i);a||(a=n.querySelector(K(i)),a||(e=f({src:e,async:!0},t),(t=Sf.get(i))&&Kf(e,t),a=n.createElement(`script`),wt(a),Hd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function If(e,t){Tf.M(e,t);var n=Of;if(n&&e){var r=Ct(n).hoistableScripts,i=Hf(e),a=r.get(i);a||(a=n.querySelector(K(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=Sf.get(i))&&Kf(e,t),a=n.createElement(`script`),wt(a),Hd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Lf(e,t,n,r){var a=(a=me.current)?wf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Rf(n.href),n=Ct(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Rf(n.href);var o=Ct(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(zf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Sf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Sf.set(e,n),o||Vf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Hf(n),n=Ct(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Rf(e){return`href="`+Ht(e)+`"`}function zf(e){return`link[rel="stylesheet"][`+e+`]`}function Bf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Vf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Hd(t,`link`,n),wt(t),e.head.appendChild(t))}function Hf(e){return`[src="`+Ht(e)+`"]`}function K(e){return`script[async]`+e}function Uf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Ht(n.href)+`"]`);if(r)return t.instance=r,wt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),wt(r),Hd(r,`style`,a),Wf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Rf(n.href);var o=e.querySelector(zf(a));if(o)return t.state.loading|=4,t.instance=o,wt(o),o;r=Bf(n),(a=Sf.get(a))&&Gf(r,a),o=(e.ownerDocument||e).createElement(`link`),wt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Hd(o,`link`,r),t.state.loading|=4,Wf(o,n.precedence,e),t.instance=o;case`script`:return o=Hf(n.src),(a=e.querySelector(K(o)))?(t.instance=a,wt(a),a):(r=n,(a=Sf.get(o))&&(r=f({},n),Kf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),wt(a),Hd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Wf(r,n.precedence,e));return t.instance}function Wf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Gf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Kf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var qf=null;function Jf(e,t,n){if(qf===null){var r=new Map,i=qf=new Map;i.set(n,r)}else i=qf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[vt]||a[dt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Yf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Xf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Zf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Qf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Rf(r.href),a=t.querySelector(zf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=tp.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,wt(a);return}a=t.ownerDocument||t,r=Bf(r),(i=Sf.get(i))&&Gf(r,i),a=a.createElement(`link`),wt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Hd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=tp.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $f=0;function ep(e,t){return e.stylesheets&&e.count===0&&rp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&rp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&$f===0&&($f=62500*Gd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&rp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>$f?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function tp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)rp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var np=null;function rp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,np=new Map,t.forEach(ip,e),np=null,tp.call(e))}function ip(e,t){if(!(t.state.loading&4)){var n=np.get(e);if(n)var r=n.get(null);else{n=new Map,np.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=tp.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ap={$$typeof:C,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function op(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=et(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=et(0),this.hiddenUpdates=et(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function sp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new op(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=R(3,null,null,t),e.current=a,a.stateNode=e,t=oa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ra(a),e}function cp(e){return e?(e=si,e):si}function lp(e,t,n,r,i,a){i=cp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ba(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Va(e,r,t),n!==null&&(bu(n,e,t),Ha(n,e,t))}function up(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function dp(e,t){up(e,t),(e=e.alternate)&&up(e,t)}function fp(e){if(e.tag===13||e.tag===31){var t=ai(e,67108864);t!==null&&bu(t,e,67108864),dp(e,67108864)}}function pp(e){if(e.tag===13||e.tag===31){var t=vu();t=ot(t);var n=ai(e,t);n!==null&&bu(n,e,t),dp(e,t)}}var mp=!0;function hp(e,t,n,r){var i=A.T;A.T=null;var a=j.p;try{j.p=2,_p(e,t,n,r)}finally{j.p=a,A.T=i}}function gp(e,t,n,r){var i=A.T;A.T=null;var a=j.p;try{j.p=8,_p(e,t,n,r)}finally{j.p=a,A.T=i}}function _p(e,t,n,r){if(mp){var i=vp(r);if(i===null)jd(e,t,r,yp,n),Ap(e,r);else if(Mp(i,e,t,n,r))r.stopPropagation();else if(Ap(e,r),t&4&&-1<kp.indexOf(e)){for(;i!==null;){var a=xt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ye(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-He(o);s.entanglements[1]|=c,o&=~c}ld(a),!(zl&6)&&(ou=Ae()+500,ud(0,!1))}}break;case 31:case 13:s=ai(a,2),s!==null&&bu(s,a,2),Tu(),dp(a,2)}if(a=vp(r),a===null&&jd(e,t,r,yp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else jd(e,t,r,null,n)}}function vp(e){return e=on(e),bp(e)}var yp=null;function bp(e){if(yp=null,e=bt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(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 yp=e,null}function xp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(je()){case Me:return 2;case Ne:return 8;case Pe:case Fe:return 32;case Ie:return 268435456;default:return 32}default:return 32}}var Sp=!1,Cp=null,wp=null,Tp=null,Ep=new Map,Dp=new Map,Op=[],kp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Ap(e,t){switch(e){case`focusin`:case`focusout`:Cp=null;break;case`dragenter`:case`dragleave`:wp=null;break;case`mouseover`:case`mouseout`:Tp=null;break;case`pointerover`:case`pointerout`:Ep.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Dp.delete(t.pointerId)}}function jp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=xt(t),t!==null&&fp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Mp(e,t,n,r,i){switch(t){case`focusin`:return Cp=jp(Cp,e,t,n,r,i),!0;case`dragenter`:return wp=jp(wp,e,t,n,r,i),!0;case`mouseover`:return Tp=jp(Tp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Ep.set(a,jp(Ep.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Dp.set(a,jp(Dp.get(a)||null,e,t,n,r,i)),!0}return!1}function Np(e){var t=bt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,lt(e.priority,function(){pp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,lt(e.priority,function(){pp(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 Pp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=vp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);an=r,n.target.dispatchEvent(r),an=null}else return t=xt(n),t!==null&&fp(t),e.blockedOn=n,!1;t.shift()}return!0}function Fp(e,t,n){Pp(e)&&n.delete(t)}function Ip(){Sp=!1,Cp!==null&&Pp(Cp)&&(Cp=null),wp!==null&&Pp(wp)&&(wp=null),Tp!==null&&Pp(Tp)&&(Tp=null),Ep.forEach(Fp),Dp.forEach(Fp)}function Lp(e,n){e.blockedOn===n&&(e.blockedOn=null,Sp||(Sp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ip)))}var Rp=null;function zp(e){Rp!==e&&(Rp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Rp===e&&(Rp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(bp(r||n)===null)continue;break}var a=xt(n);a!==null&&(e.splice(t,3),t-=3,Ts(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Bp(e){function t(t){return Lp(t,e)}Cp!==null&&Lp(Cp,e),wp!==null&&Lp(wp,e),Tp!==null&&Lp(Tp,e),Ep.forEach(t),Dp.forEach(t);for(var n=0;n<Op.length;n++){var r=Op[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Op.length&&(n=Op[0],n.blockedOn===null);)Np(n),n.blockedOn===null&&Op.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ft]||null;if(typeof a==`function`)o||zp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ft]||null)s=o.formAction;else if(bp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),zp(n)}}}function Vp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Hp(e){this._internalRoot=e}Up.prototype.render=Hp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;lp(n,vu(),e,t,null,null)},Up.prototype.unmount=Hp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;lp(e.current,2,null,e,null,null),Tu(),t[pt]=null}};function Up(e){this._internalRoot=e}Up.prototype.unstable_scheduleHydration=function(e){if(e){var t=ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Op.length&&t!==0&&t<Op[n].priority;n++);Op.splice(n,0,e),n===0&&Np(e)}};var Wp=n.version;if(Wp!==`19.2.6`)throw Error(i(527,Wp,`19.2.6`));j.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Gp={bundleType:0,version:`19.2.6`,rendererPackageName:`react-dom`,currentDispatcherRef:A,reconcilerVersion:`19.2.6`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Kp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kp.isDisabled&&Kp.supportsFiber)try{ze=Kp.inject(Gp),Be=Kp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=qs,s=Js,c=Ys;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=sp(e,1,!1,null,null,n,r,null,o,s,c,Vp),e[pt]=t.current,kd(e),new Hp(t)},e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=qs,c=Js,l=Ys,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=sp(e,1,!0,t,n??null,r,o,u,s,c,l,Vp),t.context=cp(null),n=t.current,r=vu(),r=ot(r),o=Ba(r),o.callback=null,Va(n,o,r),n=r,t.current.lanes=n,tt(t,n),ld(t),e[pt]=t.current,kd(e),new Up(t)},e.version=`19.2.6`})),S=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function n(e,t,r,i){if(r>=t.length)return i;var a=t[r],o=Hf(e)?e.slice():wf({},e);return o[a]=n(e[a],t,r+1,i),o}function r(e,t,n){if(t.length!==n.length)console.warn(`copyWithRename() expects paths of the same length`);else{for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){console.warn(`copyWithRename() expects paths to be the same except for the deepest key`);return}return i(e,t,n,0)}}function i(e,t,n,r){var a=t[r],o=Hf(e)?e.slice():wf({},e);return r+1===t.length?(o[n[r]]=o[a],Hf(o)?o.splice(a,1):delete o[a]):o[a]=i(e[a],t,n,r+1),o}function a(e,t,n){var r=t[n],i=Hf(e)?e.slice():wf({},e);return n+1===t.length?(Hf(i)?i.splice(r,1):delete i[r],i):(i[r]=a(e[r],t,n+1),i)}function o(){return!1}function s(){return null}function c(){console.error(`Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks`)}function l(){console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`)}function u(){}function d(){}function f(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(`, `)}function p(e,t,n,r){return new _r(e,t,n,r)}function h(e,t){e.context===jg&&(Jd(e.current,2,t,e,null,null),W())}function g(e,t){if(Mg!==null){var n=t.staleFamilies;t=t.updatedFamilies,wl(),gr(e.current,t,n),W()}}function v(e){Mg=e}function y(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function x(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 S(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 C(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w(e){if(x(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function T(e){var t=e.alternate;if(!t){if(t=x(e),t===null)throw Error(`Unable to find node on an unmounted component.`);return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return w(i),e;if(a===r)return w(i),t;a=a.sibling}throw Error(`Unable to find node on an unmounted component.`)}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(`Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.`)}}if(n.alternate!==r)throw Error(`Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`)}if(n.tag!==3)throw Error(`Unable to find node on an unmounted component.`);return n.stateNode.current===n?e:t}function ee(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ee(e),t!==null)return t;e=e.sibling}return null}function te(e){return typeof e!=`object`||!e?null:(e=Bf&&e[Bf]||e[`@@iterator`],typeof e==`function`?e:null)}function E(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Vf?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case Of:return`Fragment`;case Af:return`Profiler`;case kf:return`StrictMode`;case Pf:return`Suspense`;case Ff:return`SuspenseList`;case Rf:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case Df:return`Portal`;case Mf:return e.displayName||`Context`;case jf:return(e._context.displayName||`Context`)+`.Consumer`;case Nf:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case If:return t=e.displayName||null,t===null?E(e.type)||`Memo`:t;case Lf:t=e._payload,e=e._init;try{return E(e(t))}catch{}}return null}function ne(e){return typeof e.tag==`number`?D(e):typeof e.name==`string`?e.name:null}function D(e){var t=e.type;switch(e.tag){case 31:return`Activity`;case 24:return`Cache`;case 9:return(t._context.displayName||`Context`)+`.Consumer`;case 10:return t.displayName||`Context`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 26:case 27:case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return E(t);case 8:return t===kf?`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 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==`string`)return t[n].name}if(e.return!==null)return D(e.return)}return null}function re(e){return{current:e}}function O(e,t){0>qf?console.error(`Unexpected pop.`):(t!==Kf[qf]&&console.error(`Unexpected Fiber popped.`),e.current=Gf[qf],Gf[qf]=null,Kf[qf]=null,qf--)}function k(e,t,n){qf++,Gf[qf]=e.current,Kf[qf]=n,e.current=t}function ie(e){return e===null&&console.error(`Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.`),e}function ae(e,t){k(Xf,t,e),k(Yf,e,e),k(Jf,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?`#document`:`#fragment`,t=(t=t.documentElement)&&(t=t.namespaceURI)?Pu(t):KS;break;default:if(n=t.tagName,t=t.namespaceURI)t=Pu(t),t=Fu(t,n);else switch(n){case`svg`:t=qS;break;case`math`:t=JS;break;default:t=KS}}n=n.toLowerCase(),n=zt(null,n),n={context:t,ancestorInfo:n},O(Jf,e),k(Jf,n,e)}function A(e){O(Jf,e),O(Yf,e),O(Xf,e)}function j(){return ie(Jf.current)}function oe(e){e.memoizedState!==null&&k(Zf,e,e);var t=ie(Jf.current),n=e.type,r=Fu(t.context,n);n=zt(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(k(Yf,e,e),k(Jf,r,e))}function se(e){Yf.current===e&&(O(Jf,e),O(Yf,e)),Zf.current===e&&(O(Zf,e),CC._currentValue=SC)}function ce(){}function le(){if(Qf===0){$f=console.log,ep=console.info,tp=console.warn,np=console.error,rp=console.group,ip=console.groupCollapsed,ap=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qf++}function ue(){if(Qf--,Qf===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:wf({},e,{value:$f}),info:wf({},e,{value:ep}),warn:wf({},e,{value:tp}),error:wf({},e,{value:np}),group:wf({},e,{value:rp}),groupCollapsed:wf({},e,{value:ip}),groupEnd:wf({},e,{value:ap})})}0>Qf&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function de(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
26
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
27
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
|
|
28
|
+
`,t)),t!==-1)e=e.slice(0,t);else return``;return e}function fe(e){if(op===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);op=t&&t[1]||``,sp=-1<e.stack.indexOf(`
|
|
29
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
30
|
+
`+op+e+sp}function pe(e,t){if(!e||cp)return``;var n=lp.get(e);if(n!==void 0)return n;cp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=K.H,K.H=null,le();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
|
|
31
|
+
`),u=c.split(`
|
|
32
|
+
`);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
|
|
33
|
+
`+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&lp.set(e,d),d}while(1<=a&&0<=o);break}}}finally{cp=!1,K.H=r,ue(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?fe(l):``,typeof e==`function`&&lp.set(e,l),l}function me(e,t){switch(e.tag){case 26:case 27:case 5:return fe(e.type);case 16:return fe(`Lazy`);case 13:return e.child!==t&&t!==null?fe(`Suspense Fallback`):fe(`Suspense`);case 19:return fe(`SuspenseList`);case 0:case 15:return pe(e.type,!1);case 11:return pe(e.type.render,!1);case 1:return pe(e.type,!0);case 31:return fe(`Activity`);default:return``}}function he(e){try{var t=``,n=null;do{t+=me(e,n);var r=e._debugInfo;if(r)for(var i=r.length-1;0<=i;i--){var a=r[i];if(typeof a.name==`string`){var o=t;a:{var s=a.name,c=a.env,l=a.debugLocation;if(l!=null){var u=de(l),d=u.lastIndexOf(`
|
|
34
|
+
`),f=d===-1?u:u.slice(d+1);if(f.indexOf(s)!==-1){var p=`
|
|
35
|
+
`+f;break a}}p=fe(s+(c?` [`+c+`]`:``))}t=o+p}}n=e,e=e.return}while(e);return t}catch(e){return`
|
|
36
|
+
Error generating stack: `+e.message+`
|
|
37
|
+
`+e.stack}}function ge(e){return(e=e?e.displayName||e.name:``)?fe(e):``}function _e(){if(up===null)return null;var e=up._debugOwner;return e==null?null:ne(e)}function ve(){if(up===null)return``;var e=up;try{var t=``;switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=fe(e.type);break;case 13:t+=fe(`Suspense`);break;case 19:t+=fe(`SuspenseList`);break;case 31:t+=fe(`Activity`);break;case 30:case 0:case 15:case 1:e._debugOwner||t!==``||(t+=ge(e.type));break;case 11:e._debugOwner||t!==``||(t+=ge(e.type.render))}for(;e;)if(typeof e.tag==`number`){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var i=de(r);i!==``&&(t+=`
|
|
38
|
+
`+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
|
|
39
|
+
`+de(a))}else break;var o=t}catch(e){o=`
|
|
40
|
+
Error generating stack: `+e.message+`
|
|
41
|
+
`+e.stack}return o}function M(e,t,n,r,i,a,o){var s=up;ye(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,r,i,a,o)):t(n,r,i,a,o)}finally{ye(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function ye(e){K.getCurrentStack=e===null?null:ve,dp=!1,up=e}function be(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return``+e}function N(e,t){if(xe(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,be(e)),Se(e)}function Ce(e,t){if(xe(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,be(e)),Se(e)}function we(e){if(xe(e))return console.error(`Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.`,be(e)),Se(e)}function Te(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error(`The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools`),!0;try{Ep=t.inject(e),Dp=t}catch(e){console.error(`React instrumentation encountered an error: %o.`,e)}return!!t.checkDCE}function Ee(e){if(typeof wp==`function`&&Tp(e),Dp&&typeof Dp.setStrictMode==`function`)try{Dp.setStrictMode(Ep,e)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}}function De(e){return e>>>=0,e===0?32:31-(jp(e)/Mp|0)|0}function Oe(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error(`Should have found matching lanes. This is a bug in React.`),e}}function ke(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Oe(n))):i=Oe(o):i=Oe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Oe(n))):i=Oe(o)):i=Oe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ae(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function je(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error(`Should have found matching lanes. This is a bug in React.`),-1}}function Me(){var e=Fp;return Fp<<=1,!(Fp&62914560)&&(Fp=4194304),e}function Ne(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Pe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Fe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ap(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Ie(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ie(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ap(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Le(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ap(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Re(e,t){var n=t&-t;return n=n&42?1:ze(n),(n&(e.suspendedLanes|t))===0?n:0}function ze(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Be(e,t,n){if(kp)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Ap(n),i=1<<r;e[r].add(t),n&=~i}}function Ve(e,t){if(kp)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var i=31-Ap(t);e=1<<i,i=n[i],0<i.size&&(i.forEach(function(e){var t=e.alternate;t!==null&&r.has(t)||r.add(e)}),i.clear()),t&=~e}}function He(e){return e&=-e,Ip!==0&&Ip<e?Lp!==0&&Lp<e?e&134217727?Rp:zp:Lp:Ip}function Ue(){var e=Uf.p;return e===0?(e=window.event,e===void 0?Rp:of(e.type)):e}function We(e,t){var n=Uf.p;try{return Uf.p=e,t()}finally{Uf.p=n}}function Ge(e){delete e[Vp],delete e[Hp],delete e[Wp],delete e[Gp],delete e[Kp]}function Ke(e){var t=e[Vp];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Up]||n[Vp]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=hd(e);e!==null;){if(n=e[Vp])return n;e=hd(e)}return t}e=n,n=e.parentNode}return null}function qe(e){if(e=e[Vp]||e[Up]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Je(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function Ye(e){var t=e[qp];return t||=e[qp]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Xe(e){e[Jp]=!0}function Ze(e,t){Qe(e,t),Qe(e+`Capture`,t)}function Qe(e,t){Xp[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Xp[e]=t;var n=e.toLowerCase();for(Zp[n]=e,e===`onDoubleClick`&&(Zp.ondblclick=e),e=0;e<t.length;e++)Yp.add(t[e])}function $e(e,t){Qp[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e===`select`?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function et(e){return fp.call(tm,e)?!0:fp.call(em,e)?!1:$p.test(e)?tm[e]=!0:(em[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tt(e,t,n){if(et(t)){if(!e.hasAttribute(t)){switch(typeof n){case`symbol`:case`object`:return n;case`function`:return n;case`boolean`:if(!1===n)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===``&&!0===n?!0:(N(n,t),e===``+n?n:e)}}function nt(e,t,n){if(et(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}N(n,t),e.setAttribute(t,``+n)}}function rt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}N(n,t),e.setAttribute(t,``+n)}}function it(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}N(r,n),e.setAttributeNS(t,n,``+r)}}function at(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return we(e),e;default:return``}}function ot(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function st(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){we(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){we(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ct(e){if(!e._valueTracker){var t=ot(e)?`checked`:`value`;e._valueTracker=st(e,t,``+e[t])}}function lt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ot(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function ut(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function dt(e){return e.replace(nm,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function ft(e,t){t.checked===void 0||t.defaultChecked===void 0||im||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,_e()||`A component`,t.type),im=!0),t.value===void 0||t.defaultValue===void 0||rm||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,_e()||`A component`,t.type),rm=!0)}function pt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(N(o,`type`),e.type=o):e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+at(t)):e.value!==``+at(t)&&(e.value=``+at(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):ht(e,o,at(n)):ht(e,o,at(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?(N(s,`name`),e.name=``+at(s)):e.removeAttribute(`name`)}function mt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(N(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){ct(e);return}n=n==null?``:``+at(n),t=t==null?n:``+at(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(N(o,`name`),e.name=o),ct(e)}function ht(e,t,n){t===`number`&&ut(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function gt(e,t){t.value??(typeof t.children==`object`&&t.children!==null?Sf.Children.forEach(t.children,function(e){e==null||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||om||(om=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||sm||(sm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||am||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),am=!0)}function _t(){var e=_e();return e?`
|
|
42
|
+
|
|
43
|
+
Check the render method of \``+e+"`.":``}function vt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+at(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function yt(e,t){for(e=0;e<lm.length;e++){var n=lm[e];if(t[n]!=null){var r=Hf(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,_t()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,_t())}}t.value===void 0||t.defaultValue===void 0||cm||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),cm=!0)}function bt(e,t){t.value===void 0||t.defaultValue===void 0||um||(console.error(`%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`,_e()||`A component`),um=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function xt(e,t,n){if(t!=null&&(t=``+at(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+at(n)}function St(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Hf(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=at(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),ct(e)}function Ct(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Ct(e.children[0],t):e}function wt(e){return` `+` `.repeat(e)}function Tt(e){return`+ `+` `.repeat(e)}function Et(e){return`- `+` `.repeat(e)}function Dt(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return`Lazy`;case 31:return`Activity`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ot(e,t){return dm.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?`{"..."}`:`{`+e.slice(0,t-7)+`..."}`:`{`+e+`}`):e.length>t?5>t?`{"..."}`:e.slice(0,t-3)+`...`:e}function kt(e,t,n){var r=120-2*n;if(t===null)return Tt(n)+Ot(e,r)+`
|
|
44
|
+
`;if(typeof t==`string`){for(var i=0;i<t.length&&i<e.length&&t.charCodeAt(i)===e.charCodeAt(i);i++);return i>r-8&&10<i&&(e=`...`+e.slice(i-8),t=`...`+t.slice(i-8)),Tt(n)+Ot(e,r)+`
|
|
45
|
+
`+Et(n)+Ot(t,r)+`
|
|
46
|
+
`}return wt(n)+Ot(e,r)+`
|
|
47
|
+
`}function At(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function jt(e,t){switch(typeof e){case`string`:return e=JSON.stringify(e),e.length>t?5>t?`"..."`:e.slice(0,t-4)+`..."`:e;case`object`:if(e===null)return`null`;if(Hf(e))return`[...]`;if(e.$$typeof===Ef)return(t=E(e.type))?`<`+t+`>`:`<...>`;var n=At(e);if(n===`Object`){for(var r in n=``,t-=2,e)if(e.hasOwnProperty(r)){var i=JSON.stringify(r);if(i!==`"`+r+`"`&&(r=i),t-=r.length-2,i=jt(e[r],15>t?t:15),t-=i.length,0>t){n+=n===``?`...`:`, ...`;break}n+=(n===``?``:`,`)+r+`:`+i}return`{`+n+`}`}return n;case`function`:return(t=e.displayName||e.name)?`function `+t:`function`;default:return String(e)}}function Mt(e,t){return typeof e!=`string`||dm.test(e)?`{`+jt(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function Nt(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=Mt(t[a],120-n.length-a.length-1);r-=a.length+o.length+2,i.push(a+`=`+o)}return i.length===0?n+`<`+e+`>
|
|
48
|
+
`:0<r?n+`<`+e+` `+i.join(` `)+`>
|
|
49
|
+
`:n+`<`+e+`
|
|
50
|
+
`+n+` `+i.join(`
|
|
51
|
+
`+n+` `)+`
|
|
52
|
+
`+n+`>
|
|
53
|
+
`}function Pt(e,t,n){var r=``,i=wf({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=jt(e[a],o);t.hasOwnProperty(a)?(o=jt(t[a],o),r+=Tt(n)+a+`: `+s+`
|
|
54
|
+
`,r+=Et(n)+a+`: `+o+`
|
|
55
|
+
`):r+=Tt(n)+a+`: `+s+`
|
|
56
|
+
`}for(var c in i)i.hasOwnProperty(c)&&(e=jt(i[c],120-2*n-c.length-2),r+=Et(n)+c+`: `+e+`
|
|
57
|
+
`);return r}function P(e,t,n,r){var i=``,a=new Map;for(l in n)n.hasOwnProperty(l)&&a.set(l.toLowerCase(),l);if(a.size===1&&a.has(`children`))i+=Nt(e,t,wt(r));else{for(var o in t)if(t.hasOwnProperty(o)&&o!==`children`){var s=120-2*(r+1)-o.length-1,c=a.get(o.toLowerCase());if(c!==void 0){a.delete(o.toLowerCase());var l=t[o];c=n[c];var u=Mt(l,s);s=Mt(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&At(l)===`Object`&&At(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=wt(r+1)+o+`={{
|
|
58
|
+
`+Pt(l,c,r+2)+wt(r+1)+`}}
|
|
59
|
+
`:(i+=Tt(r+1)+o+`=`+u+`
|
|
60
|
+
`,i+=Et(r+1)+o+`=`+s+`
|
|
61
|
+
`)}else i+=wt(r+1)+o+`=`+Mt(t[o],s)+`
|
|
62
|
+
`}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=Et(r+1)+e+`=`+Mt(n[e],t)+`
|
|
63
|
+
`}}),i=i===``?wt(r)+`<`+e+`>
|
|
64
|
+
`:wt(r)+`<`+e+`
|
|
65
|
+
`+i+wt(r)+`>
|
|
66
|
+
`}return e=n.children,t=t.children,typeof e==`string`||typeof e==`number`||typeof e==`bigint`?(a=``,(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(a=``+t),i+=kt(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+kt(``+t,null,r+1):i+kt(``+t,void 0,r+1)),i}function Ft(e,t){var n=Dt(e);if(n===null){for(n=``,e=e.child;e;)n+=Ft(e,t),e=e.sibling;return n}return wt(t)+`<`+n+`>
|
|
67
|
+
`}function It(e,t){var n=Ct(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return wt(t)+`...
|
|
68
|
+
`+It(n,t+1);n=``;var r=e.fiber._debugInfo;if(r)for(var i=0;i<r.length;i++){var a=r[i].name;typeof a==`string`&&(n+=wt(t)+`<`+a+`>
|
|
69
|
+
`,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=kt(i,e.serverProps,t),t++;else if(a=Dt(e.fiber),a!==null)if(e.serverProps===void 0){r=t;var o=120-2*r-a.length-2,s=``;for(l in i)if(i.hasOwnProperty(l)&&l!==`children`){var c=Mt(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=wt(r)+`<`+a+s+`>
|
|
70
|
+
`,t++}else e.serverProps===null?(r=Nt(a,i,Tt(t)),t++):typeof e.serverProps==`string`?console.error(`Should not have matched a non HostText fiber to a Text node. This is a bug in React.`):(r=P(a,i,e.serverProps,t),t++);var l=``;for(i=e.fiber.child,a=0;i&&a<e.children.length;)o=e.children[a],o.fiber===i?(l+=It(o,t),a++):l+=Ft(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=wt(t)+`...
|
|
71
|
+
`),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(Et(t)+Ot(a,120-2*t)+`
|
|
72
|
+
`):l+Nt(a.type,a.props,Et(t));return n+r+l}function Lt(e){try{return`
|
|
73
|
+
|
|
74
|
+
`+It(e,0)}catch{return``}}function Rt(e,t,n){for(var r=t,i=null,a=0;r;)r===e&&(a=0),i={fiber:r,children:i===null?[]:[i],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return i===null?``:Lt(i).replaceAll(/^[+-]/gm,`>`)}function zt(e,t){var n=wf({},e||gm),r={tag:t};return pm.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),mm.indexOf(t)!==-1&&(n.pTagInButtonScope=null),fm.indexOf(t)!==-1&&t!==`address`&&t!==`div`&&t!==`p`&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t===`form`&&(n.formTag=r),t===`a`&&(n.aTagInScope=r),t===`button`&&(n.buttonTagInScope=r),t===`nobr`&&(n.nobrTagInScope=r),t===`p`&&(n.pTagInButtonScope=r),t===`li`&&(n.listItemTagAutoclosing=r),(t===`dd`||t===`dt`)&&(n.dlItemTagAutoclosing=r),t===`#document`||t===`html`?n.containerTagInScope=null:n.containerTagInScope||=r,e!==null||t!==`#document`&&t!==`html`&&t!==`body`?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Bt(e,t,n){switch(t){case`select`:return e===`hr`||e===`option`||e===`optgroup`||e===`script`||e===`template`||e===`#text`;case`optgroup`:return e===`option`||e===`#text`;case`option`:return e===`#text`;case`tr`:return e===`th`||e===`td`||e===`style`||e===`script`||e===`template`;case`tbody`:case`thead`:case`tfoot`:return e===`tr`||e===`style`||e===`script`||e===`template`;case`colgroup`:return e===`col`||e===`template`;case`table`:return e===`caption`||e===`colgroup`||e===`tbody`||e===`tfoot`||e===`thead`||e===`style`||e===`script`||e===`template`;case`head`:return e===`base`||e===`basefont`||e===`bgsound`||e===`link`||e===`meta`||e===`title`||e===`noscript`||e===`noframes`||e===`style`||e===`script`||e===`template`;case`html`:if(n)break;return e===`head`||e===`body`||e===`frameset`;case`frameset`:return e===`frame`;case`#document`:if(!n)return e===`html`}switch(e){case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t!==`h1`&&t!==`h2`&&t!==`h3`&&t!==`h4`&&t!==`h5`&&t!==`h6`;case`rp`:case`rt`:return hm.indexOf(t)===-1;case`caption`:case`col`:case`colgroup`:case`frameset`:case`frame`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return t==null;case`head`:return n||t===null;case`html`:return n&&t===`#document`||t===null;case`body`:return n&&(t===`#document`||t===`html`)||t===null}return!0}function Vt(e,t){switch(e){case`address`:case`article`:case`aside`:case`blockquote`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`main`:case`menu`:case`nav`:case`ol`:case`p`:case`section`:case`summary`:case`ul`:case`pre`:case`listing`:case`table`:case`hr`:case`xmp`:case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t.pTagInButtonScope;case`form`:return t.formTag||t.pTagInButtonScope;case`li`:return t.listItemTagAutoclosing;case`dd`:case`dt`:return t.dlItemTagAutoclosing;case`button`:return t.buttonTagInScope;case`a`:return t.aTagInScope;case`nobr`:return t.nobrTagInScope}return null}function Ht(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Ut(e,t){t||=gm;var n=t.current;if(t=(n=Bt(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Vt(e,t),t=n||t,!t)return!0;var r=t.tag;if(t=String(!!n)+`|`+e+`|`+r,_m[t])return!1;_m[t]=!0;var i=(t=up)?Ht(t.return,r):null,a=t!==null&&i!==null?Rt(i,t,null):``,o=`<`+e+`>`;return n?(n=``,r===`table`&&e===`tr`&&(n+=` Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.`),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
75
|
+
This will cause a hydration error.%s`,o,r,n,a)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
76
|
+
This will cause a hydration error.%s`,o,r,a),t&&(e=t.return,i===null||e===null||i===e&&e._debugOwner===t._debugOwner||M(i,function(){console.error(`<%s> cannot contain a nested %s.
|
|
77
|
+
See this log for the ancestor stack trace.`,r,o)})),!1}function Wt(e,t,n){if(n||Bt(`#text`,t,!1))return!0;if(n=`#text|`+t,_m[n])return!1;_m[n]=!0;var r=(n=up)?Ht(n,t):null;return n=n!==null&&r!==null?Rt(r,n,n.tag===6?null:{children:null}):``,/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
78
|
+
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
79
|
+
This will cause a hydration error.%s`,t,n),!1}function Gt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Kt(e){return e.replace(Cm,function(e,t){return t.toUpperCase()})}function qt(e,t,n){var r=t.indexOf(`--`)===0;r||(-1<t.indexOf(`-`)?Tm.hasOwnProperty(t)&&Tm[t]||(Tm[t]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,t,Kt(t.replace(Sm,`ms-`)))):xm.test(t)?Tm.hasOwnProperty(t)&&Tm[t]||(Tm[t]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,t,t.charAt(0).toUpperCase()+t.slice(1))):!wm.test(n)||Em.hasOwnProperty(n)&&Em[n]||(Em[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(wm,``))),typeof n==`number`&&(isNaN(n)?Dm||(Dm=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Om||(Om=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||km.has(t)?t===`float`?e.cssFloat=n:(Ce(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function Jt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var r={};if(n){for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))for(var a=vm[i]||[i],o=0;o<a.length;o++)r[a[o]]=i}for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(i=vm[s]||[s],a=0;a<i.length;a++)r[i[a]]=s;for(var c in s={},t)for(i=vm[c]||[c],a=0;a<i.length;a++)s[i[a]]=c;for(var l in c={},r)if(i=r[l],(a=s[l])&&i!==a&&(o=i+`,`+a,!c[o])){c[o]=!0,o=console;var u=t[i];o.error.call(o,`%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.`,u==null||typeof u==`boolean`||u===``?`Removing`:`Updating`,i,a)}}for(var d in n)!n.hasOwnProperty(d)||t!=null&&t.hasOwnProperty(d)||(d.indexOf(`--`)===0?e.setProperty(d,``):d===`float`?e.cssFloat=``:e[d]=``);for(var f in t)l=t[f],t.hasOwnProperty(f)&&n[f]!==l&&qt(e,f,l)}else for(r in t)t.hasOwnProperty(r)&&qt(e,r,t[r])}function Yt(e){if(e.indexOf(`-`)===-1)return!1;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}}function Xt(e){return Mm.get(e)||e}function Zt(e,t){if(fp.call(Fm,t)&&Fm[t])return!0;if(Lm.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Pm.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Fm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Fm[t]=!0}if(Im.test(t)){if(e=t.toLowerCase(),e=Pm.hasOwnProperty(e)?e:null,e==null)return Fm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Fm[t]=!0)}return!0}function Qt(e,t){var n=[],r;for(r in t)Zt(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function $t(e,t,n,r){if(fp.call(zm,t)&&zm[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`onfocusout`)return console.error(`React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.`),zm[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),zm[t]=!0;if(Bm.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),zm[t]=!0}else if(Bm.test(t))return Vm.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),zm[t]=!0;if(Hm.test(t)||Um.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),zm[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),zm[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),zm[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),zm[t]=!0;if(Nm.hasOwnProperty(i)){if(i=Nm[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),zm[t]=!0}else if(t!==i)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),zm[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
|
|
80
|
+
|
|
81
|
+
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
|
|
82
|
+
|
|
83
|
+
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),zm[t]=!0)}case`function`:case`symbol`:return zm[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`false`?`The browser will interpret it as a truthy value.`:`Although this works, it will not work as expected if you pass the string "false".`,t,n),zm[t]=!0}}return!0}function en(e,t,n){var r=[],i;for(i in t)$t(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e)}function tn(e){return Wm.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function nn(){}function rn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function an(e){var t=qe(e);if(t&&(e=t.stateNode)){var n=e[Hp]||null;a:switch(e=t.stateNode,t.type){case`input`:if(pt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(N(t,`name`),n=n.querySelectorAll(`input[name="`+dt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Hp]||null;if(!i)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");pt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&<(r)}break a;case`textarea`:xt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&vt(e,!!n.multiple,t,!1)}}}function on(e,t,n){if(Jm)return e(t,n);Jm=!0;try{return e(t)}finally{if(Jm=!1,(Km!==null||qm!==null)&&(W(),Km&&(t=Km,e=qm,qm=Km=null,an(t),e)))for(t=0;t<e.length;t++)an(e[t])}}function sn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Hp]||null;if(r===null)return null;n=r[t];a: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 a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function cn(){if(eh)return eh;var e,t=$m,n=t.length,r,i=`value`in Qm?Qm.value:Qm.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return eh=i.slice(e,1<r?1-r:void 0)}function ln(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 un(){return!0}function dn(){return!1}function fn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?un:dn,this.isPropagationStopped=dn,this}return wf(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=un)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=un)},persist:function(){},isPersistent:un}),t}function pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vh[e])?!!t[e]:!1}function mn(){return pn}function hn(e,t){switch(e){case`keyup`:return Th.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==Eh;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function gn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function _n(e,t){switch(e){case`compositionend`:return gn(t);case`keypress`:return t.which===jh?(Nh=!0,Mh):null;case`textInput`:return e=t.data,e===Mh&&Nh?null:e;default:return null}}function vn(e,t){if(Ph)return e===`compositionend`||!Dh&&hn(e,t)?(e=cn(),eh=$m=Qm=null,Ph=!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 Ah&&t.locale!==`ko`?null:t.data;default:return null}}function yn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Fh[e.type]:t===`textarea`}function bn(e){if(!Ym)return!1;e=`on`+e;var t=e in document;return t||=(t=document.createElement(`div`),t.setAttribute(e,`return;`),typeof t[e]==`function`),t}function xn(e,t,n,r){Km?qm?qm.push(r):qm=[r]:Km=r,t=su(t,`onChange`),0<t.length&&(n=new nh(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function Sn(e){eu(e,0)}function Cn(e){if(lt(Je(e)))return e}function wn(e,t){if(e===`change`)return t}function Tn(){Ih&&(Ih.detachEvent(`onpropertychange`,En),Lh=Ih=null)}function En(e){if(e.propertyName===`value`&&Cn(Lh)){var t=[];xn(t,Lh,e,rn(e)),on(Sn,t)}}function Dn(e,t,n){e===`focusin`?(Tn(),Ih=t,Lh=n,Ih.attachEvent(`onpropertychange`,En)):e===`focusout`&&Tn()}function On(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Cn(Lh)}function kn(e,t){if(e===`click`)return Cn(t)}function An(e,t){if(e===`input`||e===`change`)return Cn(t)}function jn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function Mn(e,t){if(zh(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)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 i=n[r];if(!fp.call(t,i)||!zh(e[i],t[i]))return!1}return!0}function Nn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pn(e,t){var n=Nn(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}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Nn(n)}}function Fn(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fn(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function In(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ut(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=ut(e.document)}return t}function Ln(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 Rn(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wh||Vh==null||Vh!==ut(r)||(r=Vh,`selectionStart`in r&&Ln(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}),Uh&&Mn(Uh,r)||(Uh=r,r=su(Hh,`onSelect`),0<r.length&&(t=new nh(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Vh)))}function zn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}function Bn(e){if(Kh[e])return Kh[e];if(!Gh[e])return e;var t=Gh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qh)return Kh[e]=t[n];return e}function Vn(e,t){tg.set(e,t),Ze(t,[e])}function Hn(e){for(var t=lg,n=0;n<e.length;n++){var r=e[n];if(typeof r==`object`&&r)if(Hf(r)&&r.length===2&&typeof r[0]==`string`){if(t!==lg&&t!==fg)return ug;t=fg}else return ug;else{if(typeof r==`function`||typeof r==`string`&&50<r.length||t!==lg&&t!==dg)return ug;t=dg}}return t}function Un(e,t,n,r){for(var i in e)fp.call(e,i)&&i[0]!==`_`&&Wn(i,e[i],t,n,r)}function Wn(e,t,n,r,i){switch(typeof t){case`object`:if(t===null){t=`null`;break}else{if(t.$$typeof===Ef){var a=E(t.type)||`…`,o=t.key;t=t.props;var s=Object.keys(t),c=s.length;if(o==null&&c===0){t=`<`+a+` />`;break}if(3>r||c===1&&s[0]===`children`&&o==null){t=`<`+a+` … />`;break}for(var l in n.push([i+`\xA0\xA0`.repeat(r)+e,`<`+a]),o!==null&&Wn(`key`,o,n,r+1,i),e=!1,t)l===`children`?t.children!=null&&(!Hf(t.children)||0<t.children.length)&&(e=!0):fp.call(t,l)&&l[0]!==`_`&&Wn(l,t[l],n,r+1,i);n.push([``,e?`>…</`+a+`>`:`/>`]);return}if(a=Object.prototype.toString.call(t),a=a.slice(8,a.length-1),a===`Array`){if(l=Hn(t),l===dg||l===lg){t=JSON.stringify(t);break}else if(l===fg){for(n.push([i+`\xA0\xA0`.repeat(r)+e,``]),e=0;e<t.length;e++)a=t[e],Wn(a[0],a[1],n,r+1,i);return}}if(a===`Promise`){if(t.status===`fulfilled`){if(a=n.length,Wn(e,t.value,n,r,i),n.length>a){n=n[a],n[1]=`Promise<`+(n[1]||`Object`)+`>`;return}}else if(t.status===`rejected`&&(a=n.length,Wn(e,t.reason,n,r,i),n.length>a)){n=n[a],n[1]=`Rejected Promise<`+n[1]+`>`;return}n.push([`\xA0\xA0`.repeat(r)+e,`Promise`]);return}a===`Object`&&(l=Object.getPrototypeOf(t))&&typeof l.constructor==`function`&&(a=l.constructor.name),n.push([i+`\xA0\xA0`.repeat(r)+e,a===`Object`?3>r?``:`…`:a]),3>r&&Un(t,n,r+1,i);return}case`function`:t=t.name===``?`() => {}`:t.name+`() {}`;break;case`string`:t=t===cg?`…`:JSON.stringify(t);break;case`undefined`:t=`undefined`;break;case`boolean`:t=t?`true`:`false`;break;default:t=String(t)}n.push([i+`\xA0\xA0`.repeat(r)+e,t])}function Gn(e,t,n,r){var i=!0;for(o in e)o in t||(n.push([pg+`\xA0\xA0`.repeat(r)+o,`…`]),i=!1);for(var a in t)if(a in e){var o=e[a],s=t[a];if(o!==s){if(r===0&&a===`children`)i=`\xA0\xA0`.repeat(r)+a,n.push([pg+i,`…`],[mg+i,`…`]);else{if(!(3<=r)){if(typeof o==`object`&&typeof s==`object`&&o!==null&&s!==null&&o.$$typeof===s.$$typeof)if(s.$$typeof===Ef){if(o.type===s.type&&o.key===s.key){o=E(s.type)||`…`,i=`\xA0\xA0`.repeat(r)+a,o=`<`+o+` … />`,n.push([pg+i,o],[mg+i,o]),i=!1;continue}}else{var c=Object.prototype.toString.call(o),l=Object.prototype.toString.call(s);if(c===l&&(l===`[object Object]`||l===`[object Array]`)){c=[hg+`\xA0\xA0`.repeat(r)+a,l===`[object Array]`?`Array`:``],n.push(c),l=n.length,Gn(o,s,n,r+1)?l===n.length&&(c[1]=`Referentially unequal but deeply equal objects. Consider memoization.`):i=!1;continue}}else if(typeof o==`function`&&typeof s==`function`&&o.name===s.name&&o.length===s.length&&(c=Function.prototype.toString.call(o),l=Function.prototype.toString.call(s),c===l)){o=s.name===``?`() => {}`:s.name+`() {}`,n.push([hg+`\xA0\xA0`.repeat(r)+a,o+` Referentially unequal function closure. Consider memoization.`]);continue}}Wn(a,o,n,r,pg),Wn(a,s,n,r,mg)}i=!1}}else n.push([mg+`\xA0\xA0`.repeat(r)+a,`…`]),i=!1;return i}function Kn(e){yg=e&63?`Blocking`:e&64?`Gesture`:e&4194176?`Transition`:e&62914560?`Suspense`:e&2080374784?`Idle`:`Other`}function qn(e,t,n,r){gg&&(Sg.start=t,Sg.end=n,xg.color=`warning`,xg.tooltipText=r,xg.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,Sg)):performance.measure(r,Sg))}function Jn(e,t,n){qn(e,t,n,`Reconnect`)}function Yn(e,t,n,r,i){var a=D(e);if(a!==null&&gg){var o=e.alternate,s=e.actualDuration;if(o===null||o.child!==e.child)for(var c=e.child;c!==null;c=c.sibling)s-=c.actualDuration;r=.5>s?r?`tertiary-light`:`primary-light`:10>s?r?`tertiary`:`primary`:100>s?r?`tertiary-dark`:`primary-dark`:`error`;var l=e.memoizedProps;s=e._debugTask,l!==null&&o!==null&&o.memoizedProps!==l?(c=[Cg],l=Gn(o.memoizedProps,l,c,0),1<c.length&&(l&&!bg&&(o.lanes&i)===0&&100<e.actualDuration?(bg=!0,c[0]=Tg,xg.color=`warning`,xg.tooltipText=wg):(xg.color=r,xg.tooltipText=a),xg.properties=c,Sg.start=t,Sg.end=n,s==null?performance.measure(``+a,Sg):s.run(performance.measure.bind(performance,``+a,Sg)))):s==null?console.timeStamp(a,t,n,_g,void 0,r):s.run(console.timeStamp.bind(console,a,t,n,_g,void 0,r))}}function Xn(e,t,n,r){if(gg){var i=D(e);if(i!==null){for(var a=null,o=[],s=0;s<r.length;s++){var c=r[s];a==null&&c.source!==null&&(a=c.source._debugTask),c=c.value,o.push([`Error`,typeof c==`object`&&c&&typeof c.message==`string`?String(c.message):String(c)])}e.key!==null&&Wn(`key`,e.key,o,0,``),e.memoizedProps!==null&&Un(e.memoizedProps,o,0,``),a??=e._debugTask,e={start:t,end:n,detail:{devtools:{color:`error`,track:_g,tooltipText:e.tag===13?`Hydration failed`:`Error boundary caught an error`,properties:o}}},a?a.run(performance.measure.bind(performance,``+i,e)):performance.measure(``+i,e)}}}function Zn(e,t,n,r,i){if(i!==null){if(gg){var a=D(e);if(a!==null){r=[];for(var o=0;o<i.length;o++){var s=i[o].value;r.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e.key!==null&&Wn(`key`,e.key,r,0,``),e.memoizedProps!==null&&Un(e.memoizedProps,r,0,``),t={start:t,end:n,detail:{devtools:{color:`error`,track:_g,tooltipText:`A lifecycle or effect errored`,properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,``+a,t)):performance.measure(``+a,t)}}}else a=D(e),a!==null&&gg&&(i=1>r?`secondary-light`:100>r?`secondary`:500>r?`secondary-dark`:`error`,(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,_g,void 0,i)):console.timeStamp(a,t,n,_g,void 0,i))}function Qn(e,t,n,r){if(gg&&!(t<=e)){var i=(n&738197653)===n?`tertiary-dark`:`primary-dark`;n=(n&536870912)===n?`Prepared`:(n&201326741)===n?`Hydrated`:`Render`,r?r.run(console.timeStamp.bind(console,n,e,t,yg,vg,i)):console.timeStamp(n,e,t,yg,vg,i)}}function $n(e,t,n,r){!gg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Prewarm`,e,t,yg,vg,n)):console.timeStamp(`Prewarm`,e,t,yg,vg,n))}function er(e,t,n,r){!gg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Suspended`,e,t,yg,vg,n)):console.timeStamp(`Suspended`,e,t,yg,vg,n))}function tr(e,t,n,r,i,a){if(gg&&!(t<=e)){n=[];for(var o=0;o<r.length;o++){var s=r[o].value;n.push([`Recoverable Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`primary-dark`,track:yg,trackGroup:vg,tooltipText:i?`Hydration Failed`:`Recovered after Error`,properties:n}}},a?a.run(performance.measure.bind(performance,`Recovered`,e)):performance.measure(`Recovered`,e)}}function nr(e,t,n,r){!gg||t<=e||(r?r.run(console.timeStamp.bind(console,`Errored`,e,t,yg,vg,`error`)):console.timeStamp(`Errored`,e,t,yg,vg,`error`))}function rr(e,t,n,r){!gg||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,yg,vg,`secondary-light`)):console.timeStamp(n,e,t,yg,vg,`secondary-light`))}function ir(e,t,n,r,i){if(gg&&!(t<=e)){for(var a=[],o=0;o<n.length;o++){var s=n[o].value;a.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`error`,track:yg,trackGroup:vg,tooltipText:r?`Remaining Effects Errored`:`Commit Errored`,properties:a}}},i?i.run(performance.measure.bind(performance,`Errored`,e)):performance.measure(`Errored`,e)}}function ar(e,t,n){!gg||t<=e||(n?n.run(console.timeStamp.bind(console,`Animating`,e,t,yg,vg,`secondary-dark`)):console.timeStamp(`Animating`,e,t,yg,vg,`secondary-dark`))}function or(){for(var e=kg,t=Ag=kg=0;t<e;){var n=Og[t];Og[t++]=null;var r=Og[t];Og[t++]=null;var i=Og[t];Og[t++]=null;var a=Og[t];if(Og[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ur(n,i,a)}}function sr(e,t,n,r){Og[kg++]=e,Og[kg++]=t,Og[kg++]=n,Og[kg++]=r,Ag|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function cr(e,t,n,r){return sr(e,t,n,r),dr(e)}function lr(e,t){return sr(e,null,null,t),dr(e)}function ur(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&Eg||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ap(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function dr(e){if(Yx>Jx)throw eS=Yx=0,tS=Xx=null,Error(`Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.`);eS>$x&&(eS=0,tS=null,console.error(`Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.`)),e.alternate===null&&e.flags&4098&&Il(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&Il(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function fr(e){if(Mg===null)return e;var t=Mg(e);return t===void 0?e:t.current}function pr(e){if(Mg===null)return e;var t=Mg(e);return t===void 0?e!=null&&typeof e.render==`function`&&(t=fr(e.render),e.render!==t)?(t={$$typeof:Nf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function mr(e,t){if(Mg===null)return!1;var n=e.elementType;t=t.type;var r=!1,i=typeof t==`object`&&t?t.$$typeof:null;switch(e.tag){case 1:typeof t==`function`&&(r=!0);break;case 0:(typeof t==`function`||i===Lf)&&(r=!0);break;case 11:(i===Nf||i===Lf)&&(r=!0);break;case 14:case 15:(i===If||i===Lf)&&(r=!0);break;default:return!1}return!!(r&&(e=Mg(n),e!==void 0&&e===Mg(t)))}function hr(e){Mg!==null&&typeof WeakSet==`function`&&(Ng===null&&(Ng=new WeakSet),Ng.add(e))}function gr(e,t,n){do{var r=e,i=r.alternate,a=r.child,o=r.sibling,s=r.tag;r=r.type;var c=null;switch(s){case 0:case 15:case 1:c=r;break;case 11:c=r.render}if(Mg===null)throw Error(`Expected resolveFamily to be set during hot reload.`);var l=!1;if(r=!1,c!==null&&(c=Mg(c),c!==void 0&&(n.has(c)?r=!0:t.has(c)&&(s===1?r=!0:l=!0))),Ng!==null&&(Ng.has(e)||i!==null&&Ng.has(i))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||l)&&(i=lr(e,2),i!==null&&Yc(i,e,2)),a===null||r||gr(a,t,n),o===null)break;e=o}while(1)}function _r(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.refCleanup=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,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Bg||typeof Object.preventExtensions!=`function`||Object.preventExtensions(this)}function vr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yr(e,t){var n=e.alternate;switch(n===null?(n=p(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,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,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=fr(e.type);break;case 1:n.type=fr(e.type);break;case 11:n.type=pr(e.type)}return n}function br(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function xr(e,t,n,r,i,a){var o=0,s=e;if(typeof e==`function`)vr(e)&&(o=1),s=fr(s);else if(typeof e==`string`)o=j(),o=Rd(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case Rf:return t=p(31,n,t,i),t.elementType=Rf,t.lanes=a,t;case Of:return Cr(n.children,i,a,t);case kf:o=8,i|=Lg,i|=Rg;break;case Af:return e=n,r=i,typeof e.id!=`string`&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=p(12,e,t,r|Ig),t.elementType=Af,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Pf:return t=p(13,n,t,i),t.elementType=Pf,t.lanes=a,t;case Ff:return t=p(19,n,t,i),t.elementType=Ff,t.lanes=a,t;default:if(typeof e==`object`&&e)switch(e.$$typeof){case Mf:o=10;break a;case jf:o=9;break a;case Nf:o=11,s=pr(s);break a;case If:o=14;break a;case Lf:o=16,s=null;break a}s=``,(e===void 0||typeof e==`object`&&e&&Object.keys(e).length===0)&&(s+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),e===null?n=`null`:Hf(e)?n=`array`:e!==void 0&&e.$$typeof===Ef?(n=`<`+(E(e.type)||`Unknown`)+` />`,s=` Did you accidentally export a JSX literal instead of a component?`):n=typeof e,(o=r?ne(r):null)&&(s+=`
|
|
84
|
+
|
|
85
|
+
Check the render method of \``+o+"`."),o=29,n=Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+(n+`.`+s)),s=null}return t=p(o,n,t,i),t.elementType=e,t.type=s,t.lanes=a,t._debugOwner=r,t}function Sr(e,t,n){return t=xr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Cr(e,t,n,r){return e=p(7,e,r,t),e.lanes=n,e}function wr(e,t,n){return e=p(6,e,null,t),e.lanes=n,e}function Tr(e){var t=p(18,null,null,Pg);return t.stateNode=e,t}function Er(e,t,n){return t=p(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dr(e,t){if(typeof e==`object`&&e){var n=Hg.get(e);return n===void 0?(t={value:e,source:t,stack:he(t)},Hg.set(e,t),t):n}return{value:e,source:t,stack:he(t)}}function Or(e,t){F(),Ug[Wg++]=Kg,Ug[Wg++]=Gg,Gg=e,Kg=t}function kr(e,t,n){F(),qg[Jg++]=Xg,qg[Jg++]=Zg,qg[Jg++]=Yg,Yg=e;var r=Xg;e=Zg;var i=32-Ap(r)-1;r&=~(1<<i),n+=1;var a=32-Ap(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Xg=1<<32-Ap(t)+i|n<<i|r,Zg=a+e}else Xg=1<<a|n<<i|r,Zg=e}function Ar(e){F(),e.return!==null&&(Or(e,1),kr(e,1,0))}function jr(e){for(;e===Gg;)Gg=Ug[--Wg],Ug[Wg]=null,Kg=Ug[--Wg],Ug[Wg]=null;for(;e===Yg;)Yg=qg[--Jg],qg[Jg]=null,Zg=qg[--Jg],qg[Jg]=null,Xg=qg[--Jg],qg[Jg]=null}function Mr(){return F(),Yg===null?null:{id:Xg,overflow:Zg}}function Nr(e,t){F(),qg[Jg++]=Xg,qg[Jg++]=Zg,qg[Jg++]=Yg,Xg=t.id,Zg=t.overflow,Yg=e}function F(){e_||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function Pr(e,t){if(e.return===null){if(n_===null)n_={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(n_.fiber!==e)throw Error(`Saw multiple hydration diff roots in a pass. This is a bug in React.`);n_.distanceFromLeaf>t&&(n_.distanceFromLeaf=t)}return n_}var n=Pr(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Fr(){e_&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function I(e,t){t_||(e=Pr(e,0),e.serverProps=null,t!==null&&(t=fd(t),e.serverTail.push(t)))}function Ir(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n=``,r=n_;throw r!==null&&(n_=null,n=Lt(r)),Hr(Dr(Error(`Hydration failed because the server rendered `+(t?`text`:`HTML`)+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
86
|
+
|
|
87
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
88
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
89
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
90
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
91
|
+
- Invalid HTML tag nesting.
|
|
92
|
+
|
|
93
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
94
|
+
|
|
95
|
+
https://react.dev/link/hydration-mismatch`+n),e)),a_}function Lr(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Vp]=e,t[Hp]=r,uu(n,r),n){case`dialog`:tu(`cancel`,t),tu(`close`,t);break;case`iframe`:case`object`:case`embed`:tu(`load`,t);break;case`video`:case`audio`:for(n=0;n<hS.length;n++)tu(hS[n],t);break;case`source`:tu(`error`,t);break;case`img`:case`image`:case`link`:tu(`error`,t),tu(`load`,t);break;case`details`:tu(`toggle`,t);break;case`input`:$e(`input`,r),tu(`invalid`,t),ft(t,r),mt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:gt(t,r);break;case`select`:$e(`select`,r),tu(`invalid`,t),yt(t,r);break;case`textarea`:$e(`textarea`,r),tu(`invalid`,t),bt(t,r),St(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||gu(t.textContent,n)?(r.popover!=null&&(tu(`beforetoggle`,t),tu(`toggle`,t)),r.onScroll!=null&&tu(`scroll`,t),r.onScrollEnd!=null&&tu(`scrollend`,t),r.onClick!=null&&(t.onclick=nn),t=!0):t=!1,t||Ir(e,!0)}function Rr(e){for(Qg=e.return;Qg;)switch(Qg.tag){case 5:case 31:case 13:i_=!1;return;case 27:case 3:i_=!0;return;default:Qg=Qg.return}}function zr(e){if(e!==Qg)return!1;if(!e_)return Rr(e),e_=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Iu(e.type,e.memoizedProps)),n=!n),n&&$g){for(n=$g;n;){var r=Pr(e,0),i=fd(n);r.serverTail.push(i),n=i.type===`Suspense`?md(n):dd(n.nextSibling)}Ir(e)}if(Rr(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);$g=md(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);$g=md(e)}else t===27?(t=$g,qu(e.type)?(e=aC,aC=null,$g=e):$g=t):$g=Qg?dd(e.stateNode.nextSibling):null;return!0}function Br(){$g=Qg=null,t_=e_=!1}function Vr(){var e=r_;return e!==null&&(_x===null?_x=e:_x.push.apply(_x,e),r_=null),e}function Hr(e){r_===null?r_=[e]:r_.push(e)}function Ur(){var e=n_;if(e!==null){n_=null;for(var t=Lt(e);0<e.children.length;)e=e.children[0];M(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
96
|
+
|
|
97
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
98
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
99
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
100
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
101
|
+
- Invalid HTML tag nesting.
|
|
102
|
+
|
|
103
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
104
|
+
|
|
105
|
+
%s%s`,`https://react.dev/link/hydration-mismatch`,t)})}}function Wr(){u_=l_=null,d_=!1}function Gr(e,t,n){k(o_,t._currentValue,e),t._currentValue=n,k(s_,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==c_&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),t._currentRenderer=c_}function Kr(e,t){e._currentValue=o_.current;var n=s_.current;O(s_,t),e._currentRenderer=n,O(o_,t)}function qr(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}e!==n&&console.error(`Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.`)}function Jr(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;a:for(;a!==null;){var s=a;a=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),qr(a.return,n,e),r||(o=null);break a}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(`We just came from a parent so we must have had a parent. This is a bug in React.`);o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),qr(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function Yr(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(`Should have a current fiber. This is a bug in React.`);if(o=o.memoizedProps,o!==null){var s=i.type;zh(i.pendingProps.value,o.value)||(e===null?e=[s]:e.push(s))}}else if(i===Zf.current){if(o=i.alternate,o===null)throw Error(`Should have a current fiber. This is a bug in React.`);o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[CC]:e.push(CC))}i=i.return}e!==null&&Jr(t,e,n,r),t.flags|=262144}function Xr(e){for(e=e.firstContext;e!==null;){if(!zh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Zr(e){l_=e,u_=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Qr(e){return d_&&console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`),ei(l_,e)}function $r(e,t){return l_===null&&Zr(e),ei(e,t)}function ei(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},u_===null){if(e===null)throw Error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`);u_=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else u_=u_.next=t;return n}function ti(){return{controller:new f_,data:new Map,refCount:0}}function ni(e){e.controller.signal.aborted&&console.warn(`A cache instance was retained after it was already freed. This likely indicates a bug in React.`),e.refCount++}function ri(e){e.refCount--,0>e.refCount&&console.warn(`A cache instance was released after it was already freed. This likely indicates a bug in React.`),e.refCount===0&&p_(m_,function(){e.controller.abort()})}function ii(e,t,n){e&127?0>A_&&(A_=g_(),j_=__(t),N_=t,n!=null&&(P_=D(n)),(Wb&(Fb|Ib))!==Pb&&(O_=!0,M_=v_),e=zu(),t=Ru(),e!==L_||t!==I_?L_=-1.1:t!==null&&(M_=v_),F_=e,I_=t):e&4194048&&0>V_&&(V_=g_(),U_=__(t),W_=t,n!=null&&(G_=D(n)),0>B_)&&(e=zu(),t=Ru(),(e!==J_||t!==q_)&&(J_=-1.1),K_=e,q_=t)}function ai(e){if(0>A_){A_=g_(),j_=e._debugTask==null?null:e._debugTask,(Wb&(Fb|Ib))!==Pb&&(M_=v_);var t=zu(),n=Ru();t!==L_||n!==I_?L_=-1.1:n!==null&&(M_=v_),F_=t,I_=n}0>V_&&(V_=g_(),U_=e._debugTask==null?null:e._debugTask,0>B_)&&(e=zu(),t=Ru(),(e!==J_||t!==q_)&&(J_=-1.1),K_=e,q_=t)}function oi(){var e=T_;return T_=0,e}function L(e){var t=T_;return T_=e,t}function si(e){var t=T_;return T_+=e,t}function ci(){J=q=-1.1}function R(){var e=q;return q=-1.1,e}function z(e){0<=e&&(q=e)}function li(){var e=E_;return E_=-0,e}function B(e){0<=e&&(E_=e)}function ui(){var e=D_;return D_=null,e}function di(){var e=O_;return O_=!1,e}function fi(e){w_=g_(),0>e.actualStartTime&&(e.actualStartTime=w_)}function pi(e){if(0<=w_){var t=g_()-w_;e.actualDuration+=t,e.selfBaseDuration=t,w_=-1}}function mi(e){if(0<=w_){var t=g_()-w_;e.actualDuration+=t,w_=-1}}function hi(){if(0<=w_){var e=g_(),t=e-w_;w_=-1,T_+=t,E_+=t,J=e}}function gi(e){D_===null&&(D_=[]),D_.push(e),C_===null&&(C_=[]),C_.push(e)}function _i(){w_=g_(),0>q&&(q=w_)}function vi(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function yi(e,t){if(iv===null){var n=iv=[];av=0,ov=Yl(),sv={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return av++,t.then(bi,bi),t}function bi(){if(--av===0&&(-1<V_||(B_=-1.1),iv!==null)){sv!==null&&(sv.status=`fulfilled`);var e=iv;iv=null,ov=0,sv=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function xi(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}function V(){var e=lv.current;return e===null?Gb.pooledCache:e}function Si(e,t){t===null?k(lv,lv.current,e):k(lv,t.pool,e)}function Ci(){var e=V();return e===null?null:{parent:h_._currentValue,pool:e}}function wi(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ti(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ei(e,t,n){K.actQueue!==null&&(K.didUsePromise=!0);var r=e.thenables;if(n=r[n],n===void 0?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error(`A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.`)),t.then(nn,nn),t=n),t._debugInfo===void 0){e=performance.now(),r=t.displayName;var i={name:typeof r==`string`?r:`Promise`,start:e,end:e,value:t};t._debugInfo=[{awaited:i}],t.status!==`fulfilled`&&t.status!==`rejected`&&(e=function(){i.end=performance.now()},t.then(e,e))}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ki(e),e;default:if(typeof t.status==`string`)t.then(nn,nn);else{if(e=Gb,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ki(e),e}throw Hv=t,Uv=!0,Rv}}function Di(e){try{return Lv(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Hv=e,Uv=!0,Rv):e}}function Oi(){if(Hv===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=Hv;return Hv=null,Uv=!1,e}function ki(e){if(e===Rv||e===Bv)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Ai(e){var t=Kv;return e!=null&&(Kv=t===null?e:t.concat(e)),t}function ji(){var e=Kv;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function Mi(e,t,n){for(var r=Object.keys(e.props),i=0;i<r.length;i++){var a=r[i];if(a!==`children`&&a!==`key`){t===null&&(t=Sr(e,n.mode,0),t._debugInfo=Kv,t.return=n),M(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Ni(e){var t=Gv;return Gv+=1,Wv===null&&(Wv=wi()),Ei(Wv,e,t)}function Pi(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Fi(e,t){throw t.$$typeof===Tf?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
106
|
+
- Multiple copies of the "react" package is used.
|
|
107
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
108
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`))}function Ii(e,t){var n=ji();n===null?Fi(e,t):n.run(Fi.bind(null,e,t))}function Li(e,t){var n=D(e)||`Component`;Xv[n]||(Xv[n]=!0,t=t.displayName||t.name||`Component`,e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
109
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
110
|
+
<%s>{%s}</%s>`,t,t,n,t,n))}function Ri(e,t){var n=ji();n===null?Li(e,t):n.run(Li.bind(null,e,t))}function zi(e,t){var n=D(e)||`Component`;Zv[n]||(Zv[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
111
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
112
|
+
<%s>%s</%s>`,n,t,n))}function Bi(e,t){var n=ji();n===null?zi(e,t):n.run(zi.bind(null,e,t))}function Vi(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=yr(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function s(e,t,n,r){return t===null||t.tag!==6?(t=wr(n,e.mode,r),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Kv,t):(t=i(t,n),t.return=e,t._debugInfo=Kv,t)}function c(e,t,n,r){var a=n.type;return a===Of?(t=u(e,t,n.props.children,r,n.key),Mi(n,t,e),t):t!==null&&(t.elementType===a||mr(t,n)||typeof a==`object`&&a&&a.$$typeof===Lf&&Di(a)===t.type)?(t=i(t,n.props),Pi(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=Kv,t):(t=Sr(n,e.mode,r),Pi(t,n),t.return=e,t._debugInfo=Kv,t)}function l(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Er(n,e.mode,r),t.return=e,t._debugInfo=Kv,t):(t=i(t,n.children||[]),t.return=e,t._debugInfo=Kv,t)}function u(e,t,n,r,a){return t===null||t.tag!==7?(t=Cr(n,e.mode,r,a),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Kv,t):(t=i(t,n),t.return=e,t._debugInfo=Kv,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=wr(``+t,e.mode,n),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Kv,t;if(typeof t==`object`&&t){switch(t.$$typeof){case Ef:return n=Sr(t,e.mode,n),Pi(n,t),n.return=e,e=Ai(t._debugInfo),n._debugInfo=Kv,Kv=e,n;case Df:return t=Er(t,e.mode,n),t.return=e,t._debugInfo=Kv,t;case Lf:var r=Ai(t._debugInfo);return t=Di(t),e=f(e,t,n),Kv=r,e}if(Hf(t)||te(t))return n=Cr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=Ai(t._debugInfo),n._debugInfo=Kv,Kv=e,n;if(typeof t.then==`function`)return r=Ai(t._debugInfo),e=f(e,Ni(t),n),Kv=r,e;if(t.$$typeof===Mf)return f(e,$r(e,t),n);Ii(e,t)}return typeof t==`function`&&Ri(e,t),typeof t==`symbol`&&Bi(e,t),null}function m(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?s(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case Ef:return n.key===i?(i=Ai(n._debugInfo),e=c(e,t,n,r),Kv=i,e):null;case Df:return n.key===i?l(e,t,n,r):null;case Lf:return i=Ai(n._debugInfo),n=Di(n),e=m(e,t,n,r),Kv=i,e}if(Hf(n)||te(n))return i===null?(i=Ai(n._debugInfo),e=u(e,t,n,r,null),Kv=i,e):null;if(typeof n.then==`function`)return i=Ai(n._debugInfo),e=m(e,t,Ni(n),r),Kv=i,e;if(n.$$typeof===Mf)return m(e,t,$r(e,n),r);Ii(e,n)}return typeof n==`function`&&Ri(e,n),typeof n==`symbol`&&Bi(e,n),null}function h(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,s(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case Ef:return n=e.get(r.key===null?n:r.key)||null,e=Ai(r._debugInfo),t=c(t,n,r,i),Kv=e,t;case Df:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case Lf:var a=Ai(r._debugInfo);return r=Di(r),t=h(e,t,n,r,i),Kv=a,t}if(Hf(r)||te(r))return n=e.get(n)||null,e=Ai(r._debugInfo),t=u(t,n,r,i,null),Kv=e,t;if(typeof r.then==`function`)return a=Ai(r._debugInfo),t=h(e,t,n,Ni(r),i),Kv=a,t;if(r.$$typeof===Mf)return h(e,t,n,$r(t,r),i);Ii(t,r)}return typeof r==`function`&&Ri(t,r),typeof r==`symbol`&&Bi(t,r),null}function g(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Ef:case Df:d(e,t,n);var i=n.key;if(typeof i!=`string`)break;if(r===null){r=new Set,r.add(i);break}if(!r.has(i)){r.add(i);break}M(t,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",i)});break;case Lf:n=Di(n),g(e,t,n,r)}return r}function _(i,o,s,c){for(var l=null,u=null,d=null,p=o,_=o=0,v=null;p!==null&&_<s.length;_++){p.index>_?(v=p,p=null):v=p.sibling;var y=m(i,p,s[_],c);if(y===null){p===null&&(p=v);break}l=g(i,y,s[_],l),e&&p&&y.alternate===null&&t(i,p),o=a(y,o,_),d===null?u=y:d.sibling=y,d=y,p=v}if(_===s.length)return n(i,p),e_&&Or(i,_),u;if(p===null){for(;_<s.length;_++)p=f(i,s[_],c),p!==null&&(l=g(i,p,s[_],l),o=a(p,o,_),d===null?u=p:d.sibling=p,d=p);return e_&&Or(i,_),u}for(p=r(p);_<s.length;_++)v=h(p,i,_,s[_],c),v!==null&&(l=g(i,v,s[_],l),e&&v.alternate!==null&&p.delete(v.key===null?_:v.key),o=a(v,o,_),d===null?u=v:d.sibling=v,d=v);return e&&p.forEach(function(e){return t(i,e)}),e_&&Or(i,_),u}function v(i,o,s,c){if(s==null)throw Error(`An iterable object provided no iterator.`);for(var l=null,u=null,d=o,p=o=0,_=null,v=null,y=s.next();d!==null&&!y.done;p++,y=s.next()){d.index>p?(_=d,d=null):_=d.sibling;var b=m(i,d,y.value,c);if(b===null){d===null&&(d=_);break}v=g(i,b,y.value,v),e&&d&&b.alternate===null&&t(i,d),o=a(b,o,p),u===null?l=b:u.sibling=b,u=b,d=_}if(y.done)return n(i,d),e_&&Or(i,p),l;if(d===null){for(;!y.done;p++,y=s.next())d=f(i,y.value,c),d!==null&&(v=g(i,d,y.value,v),o=a(d,o,p),u===null?l=d:u.sibling=d,u=d);return e_&&Or(i,p),l}for(d=r(d);!y.done;p++,y=s.next())_=h(d,i,p,y.value,c),_!==null&&(v=g(i,_,y.value,v),e&&_.alternate!==null&&d.delete(_.key===null?p:_.key),o=a(_,o,p),u===null?l=_:u.sibling=_,u=_);return e&&d.forEach(function(e){return t(i,e)}),e_&&Or(i,p),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===Of&&a.key===null&&(Mi(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Ef:var c=Ai(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===Of){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),s.return=e,s._debugOwner=a._owner,s._debugInfo=Kv,Mi(a,s,e),e=s;break a}}else if(r.elementType===l||mr(r,a)||typeof l==`object`&&l&&l.$$typeof===Lf&&Di(l)===r.type){n(e,r.sibling),s=i(r,a.props),Pi(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=Kv,e=s;break a}n(e,r);break}else t(e,r);r=r.sibling}a.type===Of?(s=Cr(a.props.children,e.mode,s,a.key),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=Kv,Mi(a,s,e),e=s):(s=Sr(a,e.mode,s),Pi(s,a),s.return=e,s._debugInfo=Kv,e=s)}return e=o(e),Kv=c,e;case Df:a:{for(c=a,a=c.key;r!==null;){if(r.key===a)if(r.tag===4&&r.stateNode.containerInfo===c.containerInfo&&r.stateNode.implementation===c.implementation){n(e,r.sibling),s=i(r,c.children||[]),s.return=e,e=s;break a}else{n(e,r);break}else t(e,r);r=r.sibling}s=Er(c,e.mode,s),s.return=e,e=s}return o(e);case Lf:return c=Ai(a._debugInfo),a=Di(a),e=y(e,r,a,s),Kv=c,e}if(Hf(a))return c=Ai(a._debugInfo),e=_(e,r,a,s),Kv=c,e;if(te(a)){if(c=Ai(a._debugInfo),l=te(a),typeof l!=`function`)throw Error(`An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`);var u=l.call(a);return u===a?(e.tag!==0||Object.prototype.toString.call(e.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(u)!==`[object Generator]`)&&(Jv||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Jv=!0):a.entries!==l||qv||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),qv=!0),e=v(e,r,u,s),Kv=c,e}if(typeof a.then==`function`)return c=Ai(a._debugInfo),e=y(e,r,Ni(a),s),Kv=c,e;if(a.$$typeof===Mf)return y(e,r,$r(e,a),s);Ii(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(c=``+a,r!==null&&r.tag===6?(n(e,r.sibling),s=i(r,c),s.return=e,e=s):(n(e,r),s=wr(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=Kv,e=s),o(e)):(typeof a==`function`&&Ri(e,a),typeof a==`symbol`&&Bi(e,a),n(e,r))}return function(e,t,n,r){var i=Kv;Kv=null;try{Gv=0;var a=y(e,t,n,r);return Wv=null,a}catch(t){if(t===Rv||t===Bv)throw t;var o=p(29,t,null,e.mode);o.lanes=r,o.return=e;var s=o._debugInfo=Kv;if(o._debugOwner=e._debugOwner,o._debugTask=e._debugTask,s!=null){for(var c=s.length-1;0<=c;c--)if(typeof s[c].stack==`string`){o._debugOwner=s[c],o._debugTask=s[c].debugTask;break}}return o}finally{Kv=i}}}function Hi(e,t){var n=Hf(e);return e=!n&&typeof te(e)==`function`,n||e?(n=n?`array`:`iterable`,console.error(`A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>`,n,t,n),!1):!0}function Ui(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Gi(e){return{lane:e,tag:ey,payload:null,callback:null,next:null}}function Ki(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ay===r&&!iy){var i=D(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
113
|
+
|
|
114
|
+
Please update the following component: %s`,i),iy=!0}return(Wb&Fb)===Pb?(sr(e,r,t,n),dr(e)):(i=r.pending,i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=dr(e),ur(e,null,n),t)}function qi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Le(e,n)}}function Ji(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yi(){if(oy){var e=sv;if(e!==null)throw e}}function Xi(e,t,n,r){oy=!1;var i=e.updateQueue;ry=!1,ay=i.shared;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(qb&f)===f:(r&f)===f){f!==0&&f===ov&&(oy=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{f=e;var m=s,h=t,g=n;switch(m.tag){case ty:if(m=m.payload,typeof m==`function`){d_=!0;var _=m.call(g,d,h);if(f.mode&Lg){Ee(!0);try{m.call(g,d,h)}finally{Ee(!1)}}d_=!1,d=_;break a}d=m;break a;case ny:f.flags=f.flags&-65537|128;case ey:if(_=m.payload,typeof _==`function`){if(d_=!0,m=_.call(g,d,h),f.mode&Lg){Ee(!0);try{_.call(g,d,h)}finally{Ee(!1)}}d_=!1}else m=_;if(m==null)break a;d=wf({},d,m);break a;case Y:ry=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),dx|=o,e.lanes=o,e.memoizedState=d}ay=null}function Zi(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function Qi(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Zi(n[e],t)}function $i(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Zi(n[e],t)}function ea(e,t){var n=lx;k(cy,n,e),k(sy,t,e),lx=n|t.baseLanes}function ta(e){k(cy,lx,e),k(sy,sy.current,e)}function na(e){lx=cy.current,O(sy,e),O(cy,e)}function ra(e){var t=e.alternate;k(fy,fy.current&uy,e),k(X,e,e),ly===null&&(t===null||sy.current!==null||t.memoizedState!==null)&&(ly=e)}function ia(e){k(fy,fy.current,e),k(X,e,e),ly===null&&(ly=e)}function aa(e){e.tag===22?(k(fy,fy.current,e),k(X,e,e),ly===null&&(ly=e)):oa(e)}function oa(e){k(fy,fy.current,e),k(X,X.current,e)}function sa(e){O(X,e),ly===e&&(ly=null),O(fy,e)}function ca(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||cd(n)||ld(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){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}function la(){var e=Z;Fy===null?Fy=[e]:Fy.push(e)}function H(){var e=Z;if(Fy!==null&&(Iy++,Fy[Iy]!==e)){var t=D(wy);if(!yy.has(t)&&(yy.add(t),Fy!==null)){for(var n=``,r=0;r<=Iy;r++){var i=Fy[r],a=r===Iy?e:i;for(i=r+1+`. `+i;30>i.length;)i+=` `;i+=a+`
|
|
115
|
+
`,n+=i}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
116
|
+
|
|
117
|
+
Previous render Next render
|
|
118
|
+
------------------------------------------------------
|
|
119
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
120
|
+
`,t,n)}}}function ua(e){e==null||Hf(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof e)}function da(){var e=D(wy);Sy.has(e)||(Sy.add(e),console.error(`ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,e))}function fa(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
121
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
122
|
+
2. You might be breaking the Rules of Hooks
|
|
123
|
+
3. You might have more than one copy of React in the same app
|
|
124
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function pa(e,t){if(Ly)return!1;if(t===null)return console.error(`%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`,Z),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
125
|
+
|
|
126
|
+
Previous: %s
|
|
127
|
+
Incoming: %s`,Z,`[`+t.join(`, `)+`]`,`[`+e.join(`, `)+`]`);for(var n=0;n<t.length&&n<e.length;n++)if(!zh(e[n],t[n]))return!1;return!0}function ma(e,t,n,r,i,a){Cy=a,wy=t,Fy=e===null?null:e._debugHookTypes,Iy=-1,Ly=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)===`[object AsyncFunction]`||Object.prototype.toString.call(n)===`[object AsyncGeneratorFunction]`)&&(a=D(wy),xy.has(a)||(xy.add(a),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",a===null?`An unknown Component`:`<`+a+`>`))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,K.H=e!==null&&e.memoizedState!==null?Vy:Fy===null?zy:By,ky=a=(t.mode&Lg)!==Pg;var o=xv(n,r,i);if(ky=!1,Oy&&(o=ga(t,n,r,i)),a){Ee(!0);try{o=ga(t,n,r,i)}finally{Ee(!1)}}return ha(e,t),o}function ha(e,t){t._debugHookTypes=Fy,t.dependencies===null?My!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:My}):t.dependencies._debugThenableState=My,K.H=Ry;var n=Ty!==null&&Ty.next!==null;if(Cy=0,Fy=Z=Ey=Ty=wy=null,Iy=-1,e!==null&&(e.flags&65011712)!=(t.flags&65011712)&&console.error(`Internal React error: Expected static flag was missing. Please notify the React team.`),Dy=!1,jy=0,My=null,n)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);e===null||sb||(e=e.dependencies,e!==null&&Xr(e)&&(sb=!0)),Uv?(Uv=!1,e=!0):e=!1,e&&(t=D(t)||`Unknown`,by.has(t)||xy.has(t)||(by.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function ga(e,t,n,r){wy=e;var i=0;do{if(Oy&&(My=null),jy=0,Oy=!1,i>=Py)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(i+=1,Ly=!1,Ey=Ty=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Iy=-1,K.H=Hy,a=xv(t,n,r)}while(Oy);return a}function _a(){var e=K.H,t=e.useState()[0];return t=typeof t.then==`function`?wa(t):t,e=e.useState()[0],(Ty===null?null:Ty.memoizedState)!==e&&(wy.flags|=1024),t}function va(){var e=Ay!==0;return Ay=0,e}function ya(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Rg)===Pg?t.flags&-2053:t.flags&-402655237,e.lanes&=~n}function ba(e){if(Dy){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Dy=!1}Cy=0,Fy=Ey=Ty=wy=null,Iy=-1,Z=null,Oy=!1,jy=Ay=0,My=null}function xa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ey===null?wy.memoizedState=Ey=e:Ey=Ey.next=e,Ey}function Sa(){if(Ty===null){var e=wy.alternate;e=e===null?null:e.memoizedState}else e=Ty.next;var t=Ey===null?wy.memoizedState:Ey.next;if(t!==null)Ey=t,Ty=e;else{if(e===null)throw wy.alternate===null?Error(`Update hook called on initial render. This is likely a bug in React. Please file an issue.`):Error(`Rendered more hooks than during the previous render.`);Ty=e,e={memoizedState:Ty.memoizedState,baseState:Ty.baseState,baseQueue:Ty.baseQueue,queue:Ty.queue,next:null},Ey===null?wy.memoizedState=Ey=e:Ey=Ey.next=e}return Ey}function Ca(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function wa(e){var t=jy;return jy+=1,My===null&&(My=wi()),e=Ei(My,e,t),t=wy,(Ey===null?t.memoizedState:Ey.next)===null&&(t=t.alternate,K.H=t!==null&&t.memoizedState!==null?Vy:zy),e}function Ta(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return wa(e);if(e.$$typeof===Mf)return Qr(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function Ea(e){var t=null,n=wy.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=wy.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Ca(),wy.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Ly)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=zf;else n.length!==e&&console.error(`Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.`,n.length,e);return t.index++,n}function Da(e,t){return typeof t==`function`?t(e):t}function Oa(e,t,n){var r=xa();if(n!==void 0){var i=n(t);if(ky){Ee(!0);try{n(t)}finally{Ee(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Lo.bind(null,wy,e),[r.memoizedState,e]}function ka(e){return Aa(Sa(),Ty,e)}function Aa(e,t,n){var r=e.queue;if(r===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue!==i&&console.error(`Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`),t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,c=null,l=t,u=!1;do{var d=l.lane&-536870913;if(d===l.lane?(Cy&d)===d:(qb&d)===d){var f=l.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d===ov&&(u=!0);else if((Cy&f)===f){l=l.next,f===ov&&(u=!0);continue}else d={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=d,o=a):c=c.next=d,wy.lanes|=f,dx|=f;d=l.action,ky&&n(a,d),a=l.hasEagerState?l.eagerState:n(a,d)}else f={lane:d,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=f,o=a):c=c.next=f,wy.lanes|=d,dx|=d;l=l.next}while(l!==null&&l!==t);if(c===null?o=a:c.next=s,!zh(a,e.memoizedState)&&(sb=!0,u&&(n=sv,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ja(e){var t=Sa(),n=t.queue;if(n===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);zh(a,t.memoizedState)||(sb=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ma(e,t,n){var r=wy,i=xa();if(e_){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);var a=n();vy||a===n()||(console.error(`The result of getServerSnapshot should be cached to avoid an infinite loop`),vy=!0)}else{if(a=t(),vy||(n=t(),zh(a,n)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),vy=!0)),Gb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);qb&127||Pa(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,so(Ia.bind(null,r,n,e),[e]),r.flags|=2048,ro(my|_y,{destroy:void 0},Fa.bind(null,r,n,a,t),null),a}function Na(e,t,n){var r=wy,i=Sa(),a=e_;if(a){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);n=n()}else if(n=t(),!vy){var o=t();zh(n,o)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),vy=!0)}if((o=!zh((Ty||i).memoizedState,n))&&(i.memoizedState=n,sb=!0),i=i.queue,oo(2048,_y,Ia.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||Ey!==null&&Ey.memoizedState.tag&my){if(r.flags|=2048,ro(my|_y,{destroy:void 0},Fa.bind(null,r,i,n,t),null),Gb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);a||Cy&127||Pa(r,t,n)}return n}function Pa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=wy.updateQueue,t===null?(t=Ca(),wy.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fa(e,t,n,r){t.value=n,t.getSnapshot=r,La(t)&&Ra(e)}function Ia(e,t,n){return n(function(){La(t)&&(ii(2,`updateSyncExternalStore()`,e),Ra(e))})}function La(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zh(e,n)}catch{return!0}}function Ra(e){var t=lr(e,2);t!==null&&Yc(t,e,2)}function za(e){var t=xa();if(typeof e==`function`){var n=e;if(e=n(),ky){Ee(!0);try{n()}finally{Ee(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:e},t}function Ba(e){e=za(e);var t=e.queue,n=Ro.bind(null,wy,t);return t.dispatch=n,[e.memoizedState,n]}function Va(e){var t=xa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Bo.bind(null,wy,!0,n),n.dispatch=t,[e,t]}function Ha(e,t){return Ua(Sa(),Ty,e,t)}function Ua(e,t,n,r){return e.baseState=n,Aa(e,Ty,typeof r==`function`?r:Da)}function Wa(e,t){var n=Sa();return Ty===null?(n.baseState=e,[e,n.queue.dispatch]):Ua(n,Ty,e,t)}function Ga(e,t,n,r,i){if(Vo(e))throw Error(`Cannot update form state while rendering.`);if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};K.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Ka(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Ka(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=K.T,o={};o._updatedFibers=new Set,K.T=o;try{var s=n(i,r),c=K.S;c!==null&&c(o,s),qa(e,t,s)}catch(n){Ya(e,t,n)}finally{a!==null&&o.types!==null&&(a.types!==null&&a.types!==o.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),a.types=o.types),K.T=a,a===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}else try{o=n(i,r),qa(e,t,o)}catch(n){Ya(e,t,n)}}function qa(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(K.asyncTransitions++,n.then(To,To),n.then(function(n){Ja(e,t,n)},function(n){return Ya(e,t,n)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Ja(e,t,n)}function Ja(e,t,n){t.status=`fulfilled`,t.value=n,Xa(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ka(e,n)))}function Ya(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Xa(t),t=t.next;while(t!==r)}e.action=null}function Xa(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Za(e,t){return t}function Qa(e,t){if(e_){var n=Gb.formState;if(n!==null){a:{var r=wy;if(e_){if($g){b:{for(var i=$g,a=i_;i.nodeType!==8;){if(!a){i=null;break b}if(i=dd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===HS||a===US?i:null}if(i){$g=dd(i.nextSibling),r=i.data===HS;break a}}Ir(r)}r=!1}r&&(t=n[0])}}return n=xa(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:t},n.queue=r,n=Ro.bind(null,wy,r),r.dispatch=n,r=za(!1),a=Bo.bind(null,wy,!1,r.queue),r=xa(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ga.bind(null,wy,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function $a(e){return eo(Sa(),Ty,e)}function eo(e,t,n){if(t=Aa(e,t,Za)[0],e=ka(Da)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=wa(t)}catch(e){throw e===Rv?Bv:e}else r=t;t=Sa();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(wy.flags|=2048,ro(my|_y,{destroy:void 0},to.bind(null,i,n),null)),[r,a,e]}function to(e,t){e.action=t}function no(e){var t=Sa(),n=Ty;if(n!==null)return eo(t,n,e);Sa(),t=t.memoizedState,n=Sa();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ro(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=wy.updateQueue,t===null&&(t=Ca(),wy.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function io(e){var t=xa();return e={current:e},t.memoizedState=e}function ao(e,t,n,r){var i=xa();wy.flags|=e,i.memoizedState=ro(my|t,{destroy:void 0},n,r===void 0?null:r)}function oo(e,t,n,r){var i=Sa();r=r===void 0?null:r;var a=i.memoizedState.inst;Ty!==null&&r!==null&&pa(r,Ty.memoizedState.deps)?i.memoizedState=ro(t,a,n,r):(wy.flags|=e,i.memoizedState=ro(my|t,a,n,r))}function so(e,t){(wy.mode&Rg)===Pg?ao(8390656,_y,e,t):ao(276826112,_y,e,t)}function co(e){wy.flags|=4;var t=wy.updateQueue;if(t===null)t=Ca(),wy.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function lo(e){var t=xa(),n={impl:e};return t.memoizedState=n,function(){if((Wb&Fb)!==Pb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return n.impl.apply(void 0,arguments)}}function uo(e){var t=Sa().memoizedState;return co({ref:t,nextImpl:e}),function(){if((Wb&Fb)!==Pb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return t.impl.apply(void 0,arguments)}}function fo(e,t){var n=4194308;return(wy.mode&Rg)!==Pg&&(n|=134217728),ao(n,gy,e,t)}function po(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return t.hasOwnProperty(`current`)||console.error(`Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.`,`an object with keys {`+Object.keys(t).join(`, `)+`}`),e=e(),t.current=e,function(){t.current=null}}function mo(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]);var r=4194308;(wy.mode&Rg)!==Pg&&(r|=134217728),ao(r,gy,po.bind(null,t,e),n)}function ho(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]),oo(4,gy,po.bind(null,t,e),n)}function go(e,t){return xa().memoizedState=[e,t===void 0?null:t],e}function _o(e,t){var n=Sa();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&pa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function vo(e,t){var n=xa();t=t===void 0?null:t;var r=e();if(ky){Ee(!0);try{e()}finally{Ee(!1)}}return n.memoizedState=[r,t],r}function yo(e,t){var n=Sa();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&pa(t,r[1]))return r[0];if(r=e(),ky){Ee(!0);try{e()}finally{Ee(!1)}}return n.memoizedState=[r,t],r}function bo(e,t){return Co(xa(),e,t)}function xo(e,t){return wo(Sa(),Ty.memoizedState,e,t)}function So(e,t){var n=Sa();return Ty===null?Co(n,e,t):wo(n,Ty.memoizedState,e,t)}function Co(e,t,n){return n===void 0||Cy&1073741824&&!(qb&261930)?e.memoizedState=t:(e.memoizedState=n,e=Jc(),wy.lanes|=e,dx|=e,n)}function wo(e,t,n,r){return zh(n,t)?n:sy.current===null?!(Cy&42)||Cy&1073741824&&!(qb&261930)?(sb=!0,e.memoizedState=n):(e=Jc(),wy.lanes|=e,dx|=e,t):(e=Co(e,n,r),zh(e,t)||(sb=!0),e)}function To(){K.asyncTransitions--}function Eo(e,t,n,r,i){var a=Uf.p;Uf.p=a!==0&&a<Lp?a:Lp;var o=K.T,s={};s._updatedFibers=new Set,K.T=s,Bo(e,!1,t,n);try{var c=i(),l=K.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){K.asyncTransitions++,c.then(To,To);var u=xi(c,r);zo(e,t,u,qc(e))}else zo(e,t,r,qc(e))}catch(n){zo(e,t,{then:function(){},status:`rejected`,reason:n},qc(e))}finally{Uf.p=a,o!==null&&s.types!==null&&(o.types!==null&&o.types!==s.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),o.types=s.types),K.T=o,o===null&&s._updatedFibers&&(e=s._updatedFibers.size,s._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}function Do(e,t,n,r){if(e.tag!==5)throw Error(`Expected the form instance to be a HostComponent. This is a bug in React.`);var i=Oo(e).queue;ai(e),Eo(e,i,t,SC,n===null?u:function(){return ko(e),n(r)})}function Oo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:SC,baseState:SC,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:SC},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ko(e){K.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=Oo(e);t.next===null&&(t=e.alternate.memoizedState),zo(e,t.next.queue,{},qc(e))}function Ao(){var e=za(!1);return e=Eo.bind(null,wy,e.queue,!0,!1),xa().memoizedState=e,[!1,e]}function jo(){var e=ka(Da)[0],t=Sa().memoizedState;return[typeof e==`boolean`?e:wa(e),t]}function Mo(){var e=ja(Da)[0],t=Sa().memoizedState;return[typeof e==`boolean`?e:wa(e),t]}function No(){return Qr(CC)}function Po(){var e=xa(),t=Gb.identifierPrefix;if(e_){var n=Zg,r=Xg;n=(r&~(1<<32-Ap(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Ay++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Ny++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t}function Fo(){return xa().memoizedState=Io.bind(null,wy)}function Io(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=qc(n),i=Gi(r),a=Ki(n,i,r);a!==null&&(ii(r,`refresh()`,e),Yc(a,n,r),qi(a,n,r)),e=ti(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function Lo(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=qc(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Vo(e)?Ho(t,i):(i=cr(e,t,i,r),i!==null&&(ii(r,`dispatch()`,e),Yc(i,e,r),Uo(i,t,r)))}function Ro(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=qc(e),zo(e,t,n,r)&&ii(r,`setState()`,e)}function zo(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vo(e))Ho(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=K.H;K.H=Wy;try{var s=t.lastRenderedState,c=a(s,n);if(i.hasEagerState=!0,i.eagerState=c,zh(c,s))return sr(e,t,i,0),Gb===null&&or(),!1}catch{}finally{K.H=o}}if(n=cr(e,t,i,r),n!==null)return Yc(n,e,r),Uo(n,t,r),!0}return!1}function Bo(e,t,n,r){if(K.T===null&&ov===0&&console.error(`An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.`),r={lane:2,revertLane:Yl(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vo(e)){if(t)throw Error(`Cannot update optimistic state while rendering.`);console.error(`Cannot call startTransition while rendering.`)}else t=cr(e,n,r,2),t!==null&&(ii(2,`setOptimistic()`,e),Yc(t,e,2))}function Vo(e){var t=e.alternate;return e===wy||t!==null&&t===wy}function Ho(e,t){Oy=Dy=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uo(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Le(e,n)}}function Wo(e){if(e!==null&&typeof e!=`function`){var t=String(e);nb.has(t)||(nb.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Go(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&Lg){Ee(!0);try{a=n(r,i)}finally{Ee(!1)}}a===void 0&&(t=E(t)||`Component`,Qy.has(t)||(Qy.add(t),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,t))),i=a==null?i:wf({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function Ko(e,t,n,r,i,a,o){var s=e.stateNode;if(typeof s.shouldComponentUpdate==`function`){if(n=s.shouldComponentUpdate(r,a,o),e.mode&Lg){Ee(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{Ee(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,E(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!Mn(n,r)||!Mn(i,a):!0}function qo(e,t,n,r){var i=t.state;typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i&&(e=D(e)||`Component`,qy.has(e)||(qy.add(e),console.error(`%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,e)),rb.enqueueReplaceState(t,t.state,null))}function Jo(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=wf({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Yo(e){sg(e),console.warn(`%s
|
|
128
|
+
|
|
129
|
+
%s
|
|
130
|
+
`,ib?`An error occurred in the <`+ib+`> component.`:`An error occurred in one of your React components.`,`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
131
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Xo(e){var t=ib?`The above error occurred in the <`+ib+`> component.`:`The above error occurred in one of your React components.`,n=`React will try to recreate this component tree from scratch using the error boundary you provided, `+((ab||`Anonymous`)+`.`);if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var r=e.environmentName;e=[`%o
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
|
|
135
|
+
%s
|
|
136
|
+
`,e,t,n].slice(0),typeof e[0]==`string`?e.splice(0,1,wC+` `+e[0],TC,DC+r+DC,EC):e.splice(0,0,wC,TC,DC+r+DC,EC),e.unshift(console),r=OC.apply(console.error,e),r()}else console.error(`%o
|
|
137
|
+
|
|
138
|
+
%s
|
|
139
|
+
|
|
140
|
+
%s
|
|
141
|
+
`,e,t,n)}function Zo(e){sg(e)}function Qo(e,t){try{ib=t.source?D(t.source):null,ab=null;var n=t.value;if(K.actQueue!==null)K.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function $o(e,t,n){try{ib=n.source?D(n.source):null,ab=D(t);var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function es(e,t,n){return n=Gi(n),n.tag=ny,n.payload={element:null},n.callback=function(){M(t.source,Qo,e,t)},n}function ts(e){return e=Gi(e),e.tag=ny,e}function ns(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){hr(n),M(r.source,$o,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){hr(n),M(r.source,$o,t,n,r),typeof i!=`function`&&(Ex===null?Ex=new Set([this]):Ex.add(this)),kv(this,r),typeof i==`function`||!(n.lanes&2)&&console.error(`%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,D(n)||`Unknown`)})}function rs(e,t,n,r,i){if(n.flags|=32768,kp&&Ll(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Yr(t,n,i,!0),e_&&(t_=!0),n=X.current,n!==null){switch(n.tag){case 31:case 13:return ly===null?sl():n.alternate===null&&ux===Lb&&(ux=Bb),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Vv?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ol(e,r,i)),!1;case 22:return n.flags|=65536,r===Vv?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ol(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return Ol(e,r,i),sl(),!1}if(e_)return t_=!0,t=X.current,t===null?(r!==a_&&Hr(Dr(Error(`There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Dr(r,n),i=es(e.stateNode,r,i),Ji(e,i),ux!==Vb&&(ux=zb)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==a_&&Hr(Dr(Error(`There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,{cause:r}),n))),!1;var a=Dr(Error(`There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,{cause:r}),n);if(gx===null?gx=[a]:gx.push(a),ux!==Vb&&(ux=zb),t===null)return!0;r=Dr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=es(n.stateNode,r,e),Ji(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(Ex===null||!Ex.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ts(i),ns(i,e,n,r),Ji(n,i),!1}n=n.return}while(n!==null);return!1}function is(e,t,n,r){t.child=e===null?$v(t,null,n,r):Qv(t,e.child,n,r)}function as(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Zr(t),r=ma(e,t,n,o,a,i),s=va(),e!==null&&!sb?(ya(e,t,i),ks(e,t,i)):(e_&&s&&Ar(t),t.flags|=1,is(e,t,r,i),t.child)}function os(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!vr(a)&&a.defaultProps===void 0&&n.compare===null?(n=fr(a),t.tag=15,t.type=n,ys(t,a),ss(e,t,n,r,i)):(e=xr(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!As(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mn:n,n(o,r)&&e.ref===t.ref)return ks(e,t,i)}return t.flags|=1,e=yr(a,r),e.ref=t.ref,e.return=t,t.child=e}function ss(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mn(a,r)&&e.ref===t.ref&&t.type===e.type)if(sb=!1,t.pendingProps=r=a,As(e,i))e.flags&131072&&(sb=!0);else return t.lanes=e.lanes,ks(e,t,i)}return hs(e,t,n,r,i)}function cs(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Eg,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return us(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Si(t,a===null?null:a.cachePool),a===null?ta(t):ea(t,a),aa(t);else return r=t.lanes=536870912,us(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Si(t,null),ta(t),oa(t)):(Si(t,a.cachePool),ea(t,a),oa(t),t.memoizedState=null);return is(e,t,i,n),t.child}function ls(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Eg,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function us(e,t,n,r,i){var a=V();return a=a===null?null:{parent:h_._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Si(t,null),ta(t),aa(t),e!==null&&Yr(e,t,r,!0),t.childLanes=i,null}function ds(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
142
|
+
- <Activity %s>
|
|
143
|
+
+ <Activity %s>`,!0===n?`hidden`:!1===n?`hidden={false}`:`hidden={...}`,n?`mode="hidden"`:`mode="visible"`),t=ws({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fs(e,t,n){return Qv(t,e.child,null,n),e=ds(t,t.pendingProps),e.flags|=2,sa(t),t.memoizedState=null,e}function ps(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(e_){if(r.mode===`hidden`)return e=ds(t,r),t.lanes=536870912,ls(null,e);if(ia(t),(e=$g)?(n=sd(e,i_),n=n!==null&&n.data===MS?n:null,n!==null&&(r={dehydrated:n,treeContext:Mr(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Tr(n),r.return=t,t.child=r,Qg=t,$g=null)):n=null,n===null)throw I(t,e),Ir(t);return t.lanes=536870912,null}return ds(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(ia(t),i)if(t.flags&256)t.flags&=-257,t=fs(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`);else if(Fr(),n&536870912&&ol(t),sb||Yr(e,t,n,!1),i=(n&e.childLanes)!==0,sb||i){if(r=Gb,r!==null&&(o=Re(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,lr(e,o),Yc(r,e,o),ob;sl(),t=fs(e,t,n)}else e=a.treeContext,$g=dd(o.nextSibling),Qg=t,e_=!0,r_=null,t_=!1,n_=null,i_=!1,e!==null&&Nr(t,e),t=ds(t,r),t.flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&ol(t),e=yr(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function ms(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(`Expected ref to be a function, an object returned by React.createRef(), or undefined/null.`);(e===null||e.ref!==n)&&(t.flags|=4194816)}}function hs(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=E(n)||`Unknown`;cb[a]||(console.error(`The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,a,a),cb[a]=!0)}return t.mode&Lg&&uv.recordLegacyContextWarning(t,null),e===null&&(ys(t,t.type),n.contextTypes&&(a=E(n)||`Unknown`,ub[a]||(ub[a]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,a)))),Zr(t),n=ma(e,t,n,r,void 0,i),r=va(),e!==null&&!sb?(ya(e,t,i),ks(e,t,i)):(e_&&r&&Ar(t),t.flags|=1,is(e,t,n,i),t.child)}function gs(e,t,n,r,i,a){return Zr(t),Iy=-1,Ly=e!==null&&e.type!==t.type,t.updateQueue=null,n=ga(t,r,n,i),ha(e,t),r=va(),e!==null&&!sb?(ya(e,t,a),ks(e,t,a)):(e_&&r&&Ar(t),t.flags|=1,is(e,t,n,a),t.child)}function _s(e,t,n,r,i){switch(s(t)){case!1:var a=t.stateNode,o=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,o,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error(`Simulated error coming from DevTools`);var c=i&-i;if(t.lanes|=c,o=Gb,o===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);c=ts(c),ns(c,o,t,Dr(a,t)),Ji(t,c)}if(Zr(t),t.stateNode===null){if(o=jg,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==Mf)&&!tb.has(n)&&(tb.add(n),c=a===void 0?` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`:typeof a==`object`?a.$$typeof===jf?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(a).join(`, `)+`}.`:` However, it is set to a `+typeof a+`.`,console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,E(n)||`Component`,c)),typeof a==`object`&&a&&(o=Qr(a)),a=new n(r,o),t.mode&Lg){Ee(!0);try{a=new n(r,o)}finally{Ee(!1)}}if(o=t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=rb,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=Ky,typeof n.getDerivedStateFromProps==`function`&&o===null&&(o=E(n)||`Component`,Jy.has(o)||(Jy.add(o),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",o,a.state===null?`null`:`undefined`,o))),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`){var l=c=o=null;if(typeof a.componentWillMount==`function`&&!0!==a.componentWillMount.__suppressDeprecationWarning?o=`componentWillMount`:typeof a.UNSAFE_componentWillMount==`function`&&(o=`UNSAFE_componentWillMount`),typeof a.componentWillReceiveProps==`function`&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?c=`componentWillReceiveProps`:typeof a.UNSAFE_componentWillReceiveProps==`function`&&(c=`UNSAFE_componentWillReceiveProps`),typeof a.componentWillUpdate==`function`&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?l=`componentWillUpdate`:typeof a.UNSAFE_componentWillUpdate==`function`&&(l=`UNSAFE_componentWillUpdate`),o!==null||c!==null||l!==null){a=E(n)||`Component`;var u=typeof n.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;Xy.has(a)||(Xy.add(a),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
144
|
+
|
|
145
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
146
|
+
|
|
147
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
148
|
+
https://react.dev/link/unsafe-component-lifecycles`,a,u,o===null?``:`
|
|
149
|
+
`+o,c===null?``:`
|
|
150
|
+
`+c,l===null?``:`
|
|
151
|
+
`+l))}}a=t.stateNode,o=E(n)||`Component`,a.render||(n.prototype&&typeof n.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||console.error(`getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?`,o),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&console.error(`getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.`,o),a.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,o),n.childContextTypes&&!eb.has(n)&&(eb.add(n),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,o)),n.contextTypes&&!$y.has(n)&&($y.add(n),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,o)),typeof a.componentShouldUpdate==`function`&&console.error(`%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.`,o),n.prototype&&n.prototype.isPureReactComponent&&a.shouldComponentUpdate!==void 0&&console.error(`%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,E(n)||`A pure component`),typeof a.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,o),typeof a.componentDidReceiveProps==`function`&&console.error(`%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().`,o),typeof a.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,o),typeof a.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,o),c=a.props!==r,a.props!==void 0&&c&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),a.defaultProps&&console.error(`Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,o,o),typeof a.getSnapshotBeforeUpdate!=`function`||typeof a.componentDidUpdate==`function`||Yy.has(n)||(Yy.add(n),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,E(n))),typeof a.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof a.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof n.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,o),(c=a.state)&&(typeof c!=`object`||Hf(c))&&console.error(`%s.state: must be set to an object or null`,o),typeof a.getChildContext==`function`&&typeof n.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,o),a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ui(t),o=n.contextType,a.context=typeof o==`object`&&o?Qr(o):jg,a.state===r&&(o=E(n)||`Component`,Zy.has(o)||(Zy.add(o),console.error(`%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.`,o))),t.mode&Lg&&uv.recordLegacyContextWarning(t,a),uv.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Go(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,D(t)||`Component`),rb.enqueueReplaceState(a,a.state,null)),Xi(t,r,a,i),Yi(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Rg)!==Pg&&(t.flags|=134217728),a=!0}else if(e===null){a=t.stateNode;var d=t.memoizedProps;c=Jo(n,d),a.props=c;var f=a.context;l=n.contextType,o=jg,typeof l==`object`&&l&&(o=Qr(l)),u=n.getDerivedStateFromProps,l=typeof u==`function`||typeof a.getSnapshotBeforeUpdate==`function`,d=t.pendingProps!==d,l||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(d||f!==o)&&qo(t,a,r,o),ry=!1;var p=t.memoizedState;a.state=p,Xi(t,r,a,i),Yi(),f=t.memoizedState,d||p!==f||ry?(typeof u==`function`&&(Go(t,n,u,r),f=t.memoizedState),(c=ry||Ko(t,n,c,r,p,f,o))?(l||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Rg)!==Pg&&(t.flags|=134217728)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Rg)!==Pg&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=o,a=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Rg)!==Pg&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,Wi(e,t),o=t.memoizedProps,l=Jo(n,o),a.props=l,u=t.pendingProps,p=a.context,f=n.contextType,c=jg,typeof f==`object`&&f&&(c=Qr(f)),d=n.getDerivedStateFromProps,(f=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==u||p!==c)&&qo(t,a,r,c),ry=!1,p=t.memoizedState,a.state=p,Xi(t,r,a,i),Yi();var m=t.memoizedState;o!==u||p!==m||ry||e!==null&&e.dependencies!==null&&Xr(e.dependencies)?(typeof d==`function`&&(Go(t,n,d,r),m=t.memoizedState),(l=ry||Ko(t,n,l,r,p,m,c)||e!==null&&e.dependencies!==null&&Xr(e.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,a=l):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(c=a,ms(e,t),o=(t.flags&128)!=0,c||o){if(c=t.stateNode,ye(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,w_=-1;else if(n=Cv(c),t.mode&Lg){Ee(!0);try{Cv(c)}finally{Ee(!1)}}t.flags|=1,e!==null&&o?(t.child=Qv(t,e.child,null,i),t.child=Qv(t,null,n,i)):is(e,t,n,i),t.memoizedState=c.state,e=t.child}else e=ks(e,t,i);return i=t.stateNode,a&&i.props!==r&&(fb||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",D(t)||`a component`),fb=!0),e}function vs(e,t,n,r){return Br(),t.flags|=256,is(e,t,n,r),t.child}function ys(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
152
|
+
%s.childContextTypes = ...`,t.displayName||t.name||`Component`),typeof t.getDerivedStateFromProps==`function`&&(e=E(t)||`Unknown`,db[e]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,e),db[e]=!0)),typeof t.contextType==`object`&&t.contextType!==null&&(t=E(t)||`Unknown`,lb[t]||(console.error(`%s: Function components do not support contextType.`,t),lb[t]=!0))}function bs(e){return{baseLanes:e,cachePool:Ci()}}function xs(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=mx),e}function Ss(e,t,n){var r,i=t.pendingProps;o(t)&&(t.flags|=128);var a=!1,s=(t.flags&128)!=0;if((r=s)||(r=e!==null&&e.memoizedState===null?!1:(fy.current&dy)!==0),r&&(a=!0,t.flags&=-129),r=(t.flags&32)!=0,t.flags&=-33,e===null){if(e_){if(a?ra(t):oa(t),(e=$g)?(n=sd(e,i_),n=n!==null&&n.data!==MS?n:null,n!==null&&(r={dehydrated:n,treeContext:Mr(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Tr(n),r.return=t,t.child=r,Qg=t,$g=null)):n=null,n===null)throw I(t,e),Ir(t);return ld(n)?t.lanes=32:t.lanes=536870912,null}var c=i.children;if(i=i.fallback,a){oa(t);var l=t.mode;return c=ws({mode:`hidden`,children:c},l),i=Cr(i,l,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=bs(n),i.childLanes=xs(e,r,n),t.memoizedState=hb,ls(null,i)}return ra(t),Cs(t,c)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(d!==null){if(s)t.flags&256?(ra(t),t.flags&=-257,t=Ts(e,t,n)):t.memoizedState===null?(oa(t),c=i.fallback,l=t.mode,i=ws({mode:`visible`,children:i.children},l),c=Cr(c,l,n,null),c.flags|=2,i.return=t,c.return=t,i.sibling=c,t.child=i,Qv(t,e.child,null,n),i=t.child,i.memoizedState=bs(n),i.childLanes=xs(e,r,n),t.memoizedState=hb,t=ls(null,i)):(oa(t),t.child=e.child,t.flags|=128,t=null);else if(ra(t),Fr(),n&536870912&&ol(t),ld(d)){if(r=d.nextSibling&&d.nextSibling.dataset,r){c=r.dgst;var f=r.msg;l=r.stck;var p=r.cstck}a=f,r=c,i=l,d=p,c=a,l=d,c=Error(c||`The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`),c.stack=i||``,c.digest=r,r=l===void 0?null:l,i={value:c,source:null,stack:r},typeof r==`string`&&Hg.set(c,i),Hr(i),t=Ts(e,t,n)}else if(sb||Yr(e,t,n,!1),r=(n&e.childLanes)!==0,sb||r){if(r=Gb,r!==null&&(i=Re(r,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,lr(e,i),Yc(r,e,i),ob;cd(d)||sl(),t=Ts(e,t,n)}else cd(d)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,$g=dd(d.nextSibling),Qg=t,e_=!0,r_=null,t_=!1,n_=null,i_=!1,e!==null&&Nr(t,e),t=Cs(t,i.children),t.flags|=4096);return t}}return a?(oa(t),c=i.fallback,l=t.mode,p=e.child,d=p.sibling,i=yr(p,{mode:`hidden`,children:i.children}),i.subtreeFlags=p.subtreeFlags&65011712,d===null?(c=Cr(c,l,n,null),c.flags|=2):c=yr(d,c),c.return=t,i.return=t,i.sibling=c,t.child=i,ls(null,i),i=t.child,c=e.child.memoizedState,c===null?c=bs(n):(l=c.cachePool,l===null?l=Ci():(p=h_._currentValue,l=l.parent===p?l:{parent:p,pool:p}),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=xs(e,r,n),t.memoizedState=hb,ls(e.child,i)):(u!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&ol(t),ra(t),n=e.child,e=n.sibling,n=yr(n,{mode:`visible`,children:i.children}),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Cs(e,t){return t=ws({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function ws(e,t){return e=p(22,e,null,t),e.lanes=0,e}function Ts(e,t,n){return Qv(t,e.child,null,n),e=Cs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Es(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qr(e.return,t,n)}function Ds(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Os(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail,o=r.children,s=fy.current;if((r=(s&dy)!==0)?(s=s&uy|dy,t.flags|=128):s&=uy,k(fy,s,t),s=i??`null`,i!==`forwards`&&i!==`unstable_legacy-backwards`&&i!==`together`&&i!==`independent`&&!pb[s])if(pb[s]=!0,i==null)console.error(`The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".`);else if(i===`backwards`)console.error(`The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.`);else if(typeof i==`string`)switch(i.toLowerCase()){case`together`:case`forwards`:case`backwards`:case`independent`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.`,i,i.toLowerCase());break;case`forward`:case`backward`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.`,i,i.toLowerCase());break;default:console.error(`"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}else console.error(`%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i);s=a??`null`,mb[s]||(a==null?(i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&(mb[s]=!0,console.error(`The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".`)):a!==`visible`&&a!==`collapsed`&&a!==`hidden`?(mb[s]=!0,console.error(`"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,a)):i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&(mb[s]=!0,console.error(`<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?`,a)));a:if((i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&o!=null&&!1!==o)if(Hf(o)){for(s=0;s<o.length;s++)if(!Hi(o[s],s))break a}else if(s=te(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!Hi(c.value,l))break a;l++}}else console.error(`A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?`,i);if(is(e,t,o,n),e_?(F(),o=Kg):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Es(e,n,t);else if(e.tag===19)Es(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ca(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ds(t,!1,i,n,a,o);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ca(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ds(t,!0,n,null,a,o);break;case`together`:Ds(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function ks(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),w_=-1,dx|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Yr(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(`Resuming work not yet implemented.`);if(t.child!==null){for(e=t.child,n=yr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function As(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Xr(e))):!0}function js(e,t,n){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),Gr(t,h_,e.memoizedState.cache),Br();break;case 27:case 5:oe(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:Gr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,ia(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(ra(t),e=ks(e,t,n),e===null?null:e.sibling):Ss(e,t,n):(ra(t),t.flags|=128,null);ra(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Yr(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Os(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),k(fy,fy.current,t),r)break;return null;case 22:return t.lanes=0,cs(e,t,n,t.pendingProps);case 24:Gr(t,h_,e.memoizedState.cache)}return ks(e,t,n)}function Ms(e,t,n){if(t._debugNeedsRemount&&e!==null){n=xr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(r===null)throw Error(`Cannot swap the root fiber.`);if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var i=r.child;if(i===null)throw Error(`Expected parent to have a child.`);for(;i.sibling!==t;)if(i=i.sibling,i===null)throw Error(`Expected to find the previous sibling.`);i.sibling=n}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)sb=!0;else{if(!As(e,n)&&!(t.flags&128))return sb=!1,js(e,t,n);sb=!!(e.flags&131072)}else sb=!1,(r=e_)&&(F(),r=(t.flags&1048576)!=0),r&&(r=t.index,F(),kr(t,Kg,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=Di(t.elementType),t.type=e,typeof e==`function`)vr(e)?(r=Jo(e,r),t.tag=1,t.type=e=fr(e),t=_s(null,t,e,r,n)):(t.tag=0,ys(t,e),t.type=e=fr(e),t=hs(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===Nf){t.tag=11,t.type=e=pr(e),t=as(null,t,e,r,n);break a}else if(i===If){t.tag=14,t=os(null,t,e,r,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===Lf&&(t=` Did you wrap a component in React.lazy() more than once?`),n=E(e)||e,Error(`Element type is invalid. Received a promise that resolves to: `+n+`. Lazy element type must resolve to a class or function.`+t)}return t;case 0:return hs(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Jo(r,t.pendingProps),_s(e,t,r,i,n);case 3:a:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error(`Should have a current fiber. This is a bug in React.`);r=t.pendingProps;var a=t.memoizedState;i=a.element,Wi(e,t),Xi(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Gr(t,h_,r),r!==a.cache&&Jr(t,[h_],n,!0),Yi(),r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=vs(e,t,r,n);break a}else if(r!==i){i=Dr(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),Hr(i),t=vs(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for($g=dd(e.firstChild),Qg=t,e_=!0,r_=null,t_=!1,n_=null,i_=!0,n=$v(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Br(),r===i){t=ks(e,t,n);break a}is(e,t,r,n)}t=t.child}return t;case 26:return ms(e,t),e===null?(n=wd(t.type,null,t.pendingProps,null))?t.memoizedState=n:e_||(n=t.type,e=t.pendingProps,r=ie(Xf.current),r=Nu(r).createElement(n),r[Vp]=t,r[Hp]=e,yu(r,n,e),Xe(r),t.stateNode=r):t.memoizedState=wd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return oe(t),e===null&&e_&&(r=ie(Xf.current),i=j(),r=t.stateNode=yd(t.type,t.pendingProps,r,i,!1),t_||(i=ku(r,t.type,t.pendingProps,i),i!==null&&(Pr(t,0).serverProps=i)),Qg=t,i_=!0,i=$g,qu(t.type)?(aC=i,$g=dd(r.firstChild)):$g=i),is(e,t,t.pendingProps.children,n),ms(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&e_&&(a=j(),r=Ut(t.type,a.ancestorInfo),i=$g,(o=!i)||(o=ad(i,t.type,t.pendingProps,i_),o===null?a=!1:(t.stateNode=o,t_||(a=ku(o,t.type,t.pendingProps,a),a!==null&&(Pr(t,0).serverProps=a)),Qg=t,$g=dd(o.firstChild),i_=!1,a=!0),o=!a),o&&(r&&I(t,i),Ir(t))),oe(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,Iu(i,a)?r=null:o!==null&&Iu(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=ma(e,t,_a,null,null,n),CC._currentValue=i),ms(e,t),is(e,t,r,n),t.child;case 6:return e===null&&e_&&(n=t.pendingProps,e=j(),r=e.ancestorInfo.current,n=r==null?!0:Wt(n,r.tag,e.ancestorInfo.implicitRootScope),e=$g,(r=!e)||(r=od(e,t.pendingProps,i_),r===null?r=!1:(t.stateNode=r,Qg=t,$g=null,r=!0),r=!r),r&&(n&&I(t,e),Ir(t))),null;case 13:return Ss(e,t,n);case 4:return ae(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qv(t,null,r,n):is(e,t,r,n),t.child;case 11:return as(e,t,t.type,t.pendingProps,n);case 7:return is(e,t,t.pendingProps,n),t.child;case 8:return is(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,is(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,i=t.pendingProps,a=i.value,`value`in i||gb||(gb=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Gr(t,r,a),is(e,t,i.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,typeof r!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`),Zr(t),i=Qr(i),r=xv(r,i,void 0),t.flags|=1,is(e,t,r,n),t.child;case 14:return os(e,t,t.type,t.pendingProps,n);case 15:return ss(e,t,t.type,t.pendingProps,n);case 19:return Os(e,t,n);case 31:return ps(e,t,n);case 22:return cs(e,t,n,t.pendingProps);case 24:return Zr(t),r=Qr(h_),e===null?(i=V(),i===null&&(i=Gb,a=ti(),i.pooledCache=a,ni(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},Ui(t),Gr(t,h_,i)):((e.lanes&n)!==0&&(Wi(e,t),Xi(t,null,null,n),Yi()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,Gr(t,h_,r),r!==i.cache&&Jr(t,[h_],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Gr(t,h_,r))),is(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Ns(e){e.flags|=4}function Ps(e,t,n,r,i){if((t=(e.mode&zg)!==Pg)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(rl())e.flags|=8192;else throw Hv=Vv,zv}else e.flags&=-16777217}function Fs(e,t){if(t.type!==`stylesheet`||(t.state.loading&uC)!==oC)e.flags&=-16777217;else if(e.flags|=16777216,!zd(t))if(rl())e.flags|=8192;else throw Hv=Vv,zv}function Is(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Me(),e.lanes|=t,hx|=t)}function Ls(e,t){if(!e_)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 Rs(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)if((e.mode&Ig)!==Pg){for(var i=e.selfBaseDuration,a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&65011712,r|=a.flags&65011712,i+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=i}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else if((e.mode&Ig)!==Pg){i=e.actualDuration,a=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,i+=o.actualDuration,a+=o.treeBaseDuration,o=o.sibling;e.actualDuration=i,e.treeBaseDuration=a}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zs(e,t,n){var r=t.pendingProps;switch(jr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rs(t),null;case 1:return Rs(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Kr(h_,t),A(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zr(t)?(Ur(),Ns(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vr())),Rs(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Ns(t),a===null?(Rs(t),Ps(t,i,null,r,n)):(Rs(t),Fs(t,a))):a?a===e.memoizedState?(Rs(t),t.flags&=-16777217):(Ns(t),Rs(t),Fs(t,a)):(e=e.memoizedProps,e!==r&&Ns(t),Rs(t),Ps(t,i,e,r,n)),null;case 27:if(se(t),n=ie(Xf.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ns(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return Rs(t),null}e=j(),zr(t)?Lr(t,e):(e=yd(i,r,n,e,!0),t.stateNode=e,Ns(t))}return Rs(t),null;case 5:if(se(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ns(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return Rs(t),null}var o=j();if(zr(t))Lr(t,o);else{switch(a=ie(Xf.current),Ut(i,o.ancestorInfo),o=o.context,a=Nu(a),o){case qS:a=a.createElementNS(jm,i);break;case JS:a=a.createElementNS(Am,i);break;default:switch(i){case`svg`:a=a.createElementNS(jm,i);break;case`math`:a=a.createElementNS(Am,i);break;case`script`:a=a.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?a.createElement(i,{is:r.is}):a.createElement(i),i.indexOf(`-`)===-1&&(i!==i.toLowerCase()&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,i),Object.prototype.toString.call(a)!==`[object HTMLUnknownElement]`||fp.call(ZS,i)||(ZS[i]=!0,console.error(`The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.`,i)))}}a[Vp]=t,a[Hp]=r;a:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break a;for(;o.sibling===null;){if(o.return===null||o.return===t)break a;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;a:switch(yu(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Ns(t)}}return Rs(t),Ps(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ns(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);if(e=ie(Xf.current),n=j(),zr(t)){if(e=t.stateNode,n=t.memoizedProps,i=!t_,r=null,a=Qg,a!==null)switch(a.tag){case 3:i&&(i=pd(e,n,r),i!==null&&(Pr(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=pd(e,n,r),i!==null&&(Pr(t,0).serverProps=i))}e[Vp]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||gu(e.nodeValue,n)),e||Ir(t,!0)}else i=n.ancestorInfo.current,i!=null&&Wt(r,i.tag,n.ancestorInfo.implicitRootScope),e=Nu(e).createTextNode(r),e[Vp]=t,t.stateNode=e}return Rs(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zr(t),n!==null){if(e===null){if(!r)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.`);e[Vp]=t,Rs(t),(t.mode&Ig)!==Pg&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Ur(),Br(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,Rs(t),(t.mode&Ig)!==Pg&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Vr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(sa(t),t):(sa(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return Rs(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=zr(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);a[Vp]=t,Rs(t),(t.mode&Ig)!==Pg&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else Ur(),Br(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,Rs(t),(t.mode&Ig)!==Pg&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=Vr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(sa(t),t):(sa(t),null)}return sa(t),t.flags&128?(t.lanes=n,(t.mode&Ig)!==Pg&&vi(t),t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Is(t,t.updateQueue),Rs(t),(t.mode&Ig)!==Pg&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return A(t),e===null&&ru(t.stateNode.containerInfo),Rs(t),null;case 10:return Kr(t.type,t),Rs(t),null;case 19:if(O(fy,t),r=t.memoizedState,r===null)return Rs(t),null;if(i=(t.flags&128)!=0,a=r.rendering,a===null)if(i)Ls(r,!1);else{if(ux!==Lb||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ca(e),a!==null){for(t.flags|=128,Ls(r,!1),e=a.updateQueue,t.updateQueue=e,Is(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)br(n,e),n=n.sibling;return k(fy,fy.current&uy|dy,t),e_&&Or(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&_p()>Sx&&(t.flags|=128,i=!0,Ls(r,!1),t.lanes=4194304)}else{if(!i)if(e=ca(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Is(t,e),Ls(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!e_)return Rs(t),null}else 2*_p()-r.renderingStartTime>Sx&&n!==536870912&&(t.flags|=128,i=!0,Ls(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}return r.tail===null?(Rs(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=_p(),e.sibling=null,n=fy.current,n=i?n&uy|dy:n&uy,k(fy,n,t),e_&&Or(t,r.treeForkCount),e);case 22:case 23:return sa(t),na(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Rs(t),t.subtreeFlags&6&&(t.flags|=8192)):Rs(t),n=t.updateQueue,n!==null&&Is(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&O(lv,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Kr(h_,t),Rs(t),null;case 25:return null;case 30:return null}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Bs(e,t){switch(jr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ig)!==Pg&&vi(t),t):null;case 3:return Kr(h_,t),A(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return se(t),null;case 31:if(t.memoizedState!==null){if(sa(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ig)!==Pg&&vi(t),t):null;case 13:if(sa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ig)!==Pg&&vi(t),t):null;case 19:return O(fy,t),null;case 4:return A(t),null;case 10:return Kr(t.type,t),null;case 22:case 23:return sa(t),na(t),e!==null&&O(lv,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ig)!==Pg&&vi(t),t):null;case 24:return Kr(h_,t),null;case 25:return null;default:return null}}function Vs(e,t){switch(jr(t),t.tag){case 3:Kr(h_,t),A(t);break;case 26:case 27:case 5:se(t);break;case 4:A(t);break;case 31:t.memoizedState!==null&&sa(t);break;case 13:sa(t);break;case 19:O(fy,t);break;case 10:Kr(t.type,t);break;case 22:case 23:sa(t),na(t),e!==null&&O(lv,t);break;case 24:Kr(h_,t)}}function U(e){return(e.mode&Ig)!==Pg}function Hs(e,t){U(e)?(_i(),Ws(t,e),hi()):Ws(t,e)}function Us(e,t,n){U(e)?(_i(),Gs(n,e,t),hi()):Gs(n,e,t)}function Ws(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e&&(r=void 0,(e&hy)!==py&&(nS=!0),r=M(t,Nv,n),(e&hy)!==py&&(nS=!1),r!==void 0&&typeof r!=`function`)){var a=void 0;a=(n.tag&gy)===0?(n.tag&hy)===0?`useEffect`:`useInsertionEffect`:`useLayoutEffect`;var o=void 0;o=r===null?` You returned null. If your effect does not require clean up, return undefined (or nothing).`:typeof r.then==`function`?`
|
|
153
|
+
|
|
154
|
+
It looks like you wrote `+a+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
155
|
+
|
|
156
|
+
`+a+`(() => {
|
|
157
|
+
async function fetchData() {
|
|
158
|
+
// You can await here
|
|
159
|
+
const response = await MyAPI.getData(someId);
|
|
160
|
+
// ...
|
|
161
|
+
}
|
|
162
|
+
fetchData();
|
|
163
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
164
|
+
|
|
165
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:` You returned: `+r,M(t,function(e,t){console.error(`%s must not return anything besides a function, which is used for clean-up.%s`,e,t)},a,o)}n=n.next}while(n!==i)}}catch(e){Dl(t,t.return,e)}}function Gs(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;s!==void 0&&(o.destroy=void 0,(e&hy)!==py&&(nS=!0),i=t,M(i,Fv,i,n,s),(e&hy)!==py&&(nS=!1))}r=r.next}while(r!==a)}}catch(e){Dl(t,t.return,e)}}function Ks(e,t){U(e)?(_i(),Ws(t,e),hi()):Ws(t,e)}function qs(e,t,n){U(e)?(_i(),Gs(n,e,t),hi()):Gs(n,e,t)}function Js(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||`ref`in e.memoizedProps||fb||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",D(e)||`instance`),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",D(e)||`instance`));try{M(e,$i,t,n)}catch(t){Dl(e,e.return,t)}}}function Ys(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Xs(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||`ref`in e.memoizedProps||fb||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",D(e)||`instance`),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",D(e)||`instance`));try{var i=Jo(e.type,n),a=M(e,Ys,t,i,r);n=_b,a!==void 0||n.has(e.type)||(n.add(e.type),M(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,D(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){Dl(e,e.return,t)}}function Zs(e,t,n){n.props=Jo(e.type,e.memoizedProps),n.state=e.memoizedState,U(e)?(_i(),M(e,jv,e,t,n),hi()):M(e,jv,e,t,n)}function Qs(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t==`function`)if(U(e))try{_i(),e.refCleanup=t(n)}finally{hi()}else e.refCleanup=t(n);else typeof t==`string`?console.error(`String refs are no longer supported.`):t.hasOwnProperty(`current`)||console.error(`Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().`,D(e)),t.current=n}}function $s(e,t){try{M(e,Qs,e)}catch(n){Dl(e,t,n)}}function ec(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{if(U(e))try{_i(),M(e,r)}finally{hi(e)}else M(e,r)}catch(n){Dl(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(U(e))try{_i(),M(e,n,null)}finally{hi(e)}else M(e,n,null)}catch(n){Dl(e,t,n)}else n.current=null}function tc(e,t,n,r){var i=e.memoizedProps,a=i.id,o=i.onCommit;i=i.onRender,t=t===null?`mount`:`update`,nv&&(t=`nested-update`),typeof i==`function`&&i(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o==`function`&&o(a,t,r,n)}function nc(e,t,n,r){var i=e.memoizedProps;e=i.id,i=i.onPostCommit,t=t===null?`mount`:`update`,nv&&(t=`nested-update`),typeof i==`function`&&i(e,t,r,n)}function rc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{M(e,Vu,r,t,n,e)}catch(t){Dl(e,e.return,t)}}function ic(e,t,n){try{M(e,Uu,e.stateNode,e.type,n,t,e)}catch(t){Dl(e,e.return,t)}}function ac(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&qu(e.type)||e.tag===4}function oc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||ac(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.tag===27&&qu(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(Ku(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t)):(Ku(n),t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nn));else if(r!==4&&(r===27&&qu(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(sc(e,t,n),e=e.sibling;e!==null;)sc(e,t,n),e=e.sibling}function cc(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&&(r===27&&qu(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}function lc(e){for(var t,n=e.return;n!==null;){if(ac(n)){t=n;break}n=n.return}if(t==null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);switch(t.tag){case 27:t=t.stateNode,n=oc(e),cc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Wu(n),t.flags&=-33),t=oc(e),cc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=oc(e),sc(e,n,t);break;default:throw Error(`Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.`)}}function uc(e){var t=e.stateNode,n=e.memoizedProps;try{M(e,bd,e.type,n,t,e)}catch(t){Dl(e,e.return,t)}}function dc(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)==0:!1}function fc(e,t){if(e=e.containerInfo,YS=BC,e=In(e),Ln(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break a}var o=0,s=-1,c=-1,l=0,u=0,d=e,f=null;b:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(c=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break b;if(f===n&&++l===i&&(s=o),f===a&&++u===r&&(c=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n||={start:0,end:0}}else n=null;for(XS={focusedElem:e,selectionRange:n},BC=!1,Sb=t;Sb!==null;)if(t=Sb,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,Sb=e;else for(;Sb!==null;){switch(e=t=Sb,n=e.alternate,i=e.flags,e.tag){case 0:if(i&4&&(e=e.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:i&1024&&n!==null&&Xs(e,n);break;case 3:if(i&1024){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)id(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:id(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(i&1024)throw Error(`This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.`)}if(e=t.sibling,e!==null){e.return=t.return,Sb=e;break}Sb=t.return}}function pc(e,t,n){var r=R(),i=li(),a=ui(),o=di(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Tc(e,n),s&4&&Hs(n,gy|my);break;case 1:if(Tc(e,n),s&4)if(e=n.stateNode,t===null)n.type.defaultProps||`ref`in n.memoizedProps||fb||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",D(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",D(n)||`instance`)),U(n)?(_i(),M(n,Tv,n,e),hi()):M(n,Tv,n,e);else{var c=Jo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||`ref`in n.memoizedProps||fb||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",D(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",D(n)||`instance`)),U(n)?(_i(),M(n,Dv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),hi()):M(n,Dv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}s&64&&Js(n),s&512&&$s(n,n.return);break;case 3:if(t=oi(),Tc(e,n),s&64&&(s=n.updateQueue,s!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{M(n,$i,s,c)}catch(e){Dl(n,n.return,e)}}e.effectDuration+=L(t);break;case 27:t===null&&s&4&&uc(n);case 26:case 5:if(Tc(e,n),t===null){if(s&4)rc(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{M(n,Hu,c,e,t,n)}catch(e){Dl(n,n.return,e)}}}s&512&&$s(n,n.return);break;case 12:if(s&4){s=oi(),Tc(e,n),e=n.stateNode,e.effectDuration+=si(s);try{M(n,tc,n,t,x_,e.effectDuration)}catch(e){Dl(n,n.return,e)}}else Tc(e,n);break;case 31:Tc(e,n),s&4&&_c(e,n);break;case 13:Tc(e,n),s&4&&vc(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=jl.bind(null,n),ud(e,s))));break;case 22:if(s=n.memoizedState!==null||vb,!s){t=t!==null&&t.memoizedState!==null||yb,c=vb;var l=yb;vb=s,(yb=t)&&!l?(kc(e,n,(n.subtreeFlags&8772)!=0),(n.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&Jn(n,q,J)):Tc(e,n),vb=c,yb=l}break;case 30:break;default:Tc(e,n)}(n.mode&Ig)!==Pg&&0<=q&&0<=J&&((O_||.05<E_)&&Zn(n,q,J,E_,D_),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<J-q&&(dc(n.return.alternate,n.return)||qn(n,q,J,`Mount`))),z(r),B(i),D_=a,O_=o}function mc(e){var t=e.alternate;t!==null&&(e.alternate=null,mc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ge(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hc(e,t,n){for(n=n.child;n!==null;)gc(e,t,n),n=n.sibling}function gc(e,t,n){if(Dp&&typeof Dp.onCommitFiberUnmount==`function`)try{Dp.onCommitFiberUnmount(Ep,n)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}var r=R(),i=li(),a=ui(),o=di();switch(n.tag){case 26:yb||ec(n,t),hc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:yb||ec(n,t);var s=Tb,c=Eb;qu(n.type)&&(Tb=n.stateNode,Eb=!1),hc(e,t,n),M(n,xd,n.stateNode),Tb=s,Eb=c;break;case 5:yb||ec(n,t);case 6:if(s=Tb,c=Eb,Tb=null,hc(e,t,n),Tb=s,Eb=c,Tb!==null)if(Eb)try{M(n,Yu,Tb,n.stateNode)}catch(e){Dl(n,t,e)}else try{M(n,Ju,Tb,n.stateNode)}catch(e){Dl(n,t,e)}break;case 18:Tb!==null&&(Eb?(e=Tb,Xu(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),gf(e)):Xu(Tb,n.stateNode));break;case 4:s=Tb,c=Eb,Tb=n.stateNode.containerInfo,Eb=!0,hc(e,t,n),Tb=s,Eb=c;break;case 0:case 11:case 14:case 15:Gs(hy,n,t),yb||Us(n,t,gy),hc(e,t,n);break;case 1:yb||(ec(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&Zs(n,t,s)),hc(e,t,n);break;case 21:hc(e,t,n);break;case 22:yb=(s=yb)||n.memoizedState!==null,hc(e,t,n),yb=s;break;default:hc(e,t,n)}(n.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(n,q,J,E_,D_),z(r),B(i),D_=a,O_=o}function _c(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{M(t,_d,e)}catch(e){Dl(t,t.return,e)}}}function vc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{M(t,vd,e)}catch(e){Dl(t,t.return,e)}}function yc(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new xb),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new xb),t;default:throw Error(`Unexpected Suspense handler tag (`+e.tag+`). This is a bug in React.`)}}function bc(e,t){var n=yc(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),kp)if(Cb!==null&&wb!==null)Ll(wb,Cb);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`);var r=Ml.bind(null,e,t);t.then(r,r)}})}function xc(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=e,a=t,o=n[r],s=R(),c=a;a:for(;c!==null;){switch(c.tag){case 27:if(qu(c.type)){Tb=c.stateNode,Eb=!1;break a}break;case 5:Tb=c.stateNode,Eb=!1;break a;case 3:case 4:Tb=c.stateNode.containerInfo,Eb=!0;break a}c=c.return}if(Tb===null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);gc(i,a,o),Tb=null,Eb=!1,(o.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&qn(o,q,J,`Unmount`),z(s),i=o,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Sc(t,e),t=t.sibling}function Sc(e,t){var n=R(),r=li(),i=ui(),a=di(),o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:xc(t,e),Cc(e),s&4&&(Gs(hy|my,e,e.return),Ws(hy|my,e),Us(e,e.return,gy|my));break;case 1:if(xc(t,e),Cc(e),s&512&&(yb||o===null||ec(o,o.return)),s&64&&vb&&(s=e.updateQueue,s!==null&&(o=s.callbacks,o!==null))){var c=s.shared.hiddenCallbacks;s.shared.hiddenCallbacks=c===null?o:c.concat(o)}break;case 26:if(c=Db,xc(t,e),Cc(e),s&512&&(yb||o===null||ec(o,o.return)),s&4){var l=o===null?null:o.memoizedState;if(s=e.memoizedState,o===null)if(s===null)if(e.stateNode===null){a:{s=e.type,o=e.memoizedProps,c=c.ownerDocument||c;b:switch(s){case`title`:l=c.getElementsByTagName(`title`)[0],(!l||l[Jp]||l[Vp]||l.namespaceURI===jm||l.hasAttribute(`itemprop`))&&(l=c.createElement(s),c.head.insertBefore(l,c.querySelector(`head > title`))),yu(l,s,o),l[Vp]=e,Xe(l),s=l;break a;case`link`:var u=Id(`link`,`href`,c).get(s+(o.href||``));if(u){for(var d=0;d<u.length;d++)if(l=u[d],l.getAttribute(`href`)===(o.href==null||o.href===``?null:o.href)&&l.getAttribute(`rel`)===(o.rel==null?null:o.rel)&&l.getAttribute(`title`)===(o.title==null?null:o.title)&&l.getAttribute(`crossorigin`)===(o.crossOrigin==null?null:o.crossOrigin)){u.splice(d,1);break b}}l=c.createElement(s),yu(l,s,o),c.head.appendChild(l);break;case`meta`:if(u=Id(`meta`,`content`,c).get(s+(o.content||``))){for(d=0;d<u.length;d++)if(l=u[d],N(o.content,`content`),l.getAttribute(`content`)===(o.content==null?null:``+o.content)&&l.getAttribute(`name`)===(o.name==null?null:o.name)&&l.getAttribute(`property`)===(o.property==null?null:o.property)&&l.getAttribute(`http-equiv`)===(o.httpEquiv==null?null:o.httpEquiv)&&l.getAttribute(`charset`)===(o.charSet==null?null:o.charSet)){u.splice(d,1);break b}}l=c.createElement(s),yu(l,s,o),c.head.appendChild(l);break;default:throw Error(`getNodesForType encountered a type it did not expect: "`+s+`". This is a bug in React.`)}l[Vp]=e,Xe(l),s=l}e.stateNode=s}else Ld(c,e.type,e.stateNode);else e.stateNode=Md(c,s,e.memoizedProps);else l===s?s===null&&e.stateNode!==null&&ic(e,e.memoizedProps,o.memoizedProps):(l===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):l.count--,s===null?Ld(c,e.type,e.stateNode):Md(c,s,e.memoizedProps))}break;case 27:xc(t,e),Cc(e),s&512&&(yb||o===null||ec(o,o.return)),o!==null&&s&4&&ic(e,e.memoizedProps,o.memoizedProps);break;case 5:if(xc(t,e),Cc(e),s&512&&(yb||o===null||ec(o,o.return)),e.flags&32){c=e.stateNode;try{M(e,Wu,c)}catch(t){Dl(e,e.return,t)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,ic(e,c,o===null?c:o.memoizedProps)),s&1024&&(bb=!0,e.type!==`form`&&console.error(`Unexpected host component type. Expected a form. This is a bug in React.`));break;case 6:if(xc(t,e),Cc(e),s&4){if(e.stateNode===null)throw Error(`This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.`);s=e.memoizedProps,o=o===null?s:o.memoizedProps,c=e.stateNode;try{M(e,Gu,c,o,s)}catch(t){Dl(e,e.return,t)}}break;case 3:if(c=oi(),hC=null,l=Db,Db=Sd(t.containerInfo),xc(t,e),Db=l,Cc(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{M(e,gd,t.containerInfo)}catch(t){Dl(e,e.return,t)}bb&&(bb=!1,wc(e)),t.effectDuration+=L(c);break;case 4:s=Db,Db=Sd(e.stateNode.containerInfo),xc(t,e),Cc(e),Db=s;break;case 12:s=oi(),xc(t,e),Cc(e),e.stateNode.effectDuration+=si(s);break;case 31:xc(t,e),Cc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,bc(e,s)));break;case 13:xc(t,e),Cc(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(yx=_p()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,bc(e,s)));break;case 22:c=e.memoizedState!==null;var f=o!==null&&o.memoizedState!==null,p=vb,m=yb;if(vb=p||c,yb=m||f,xc(t,e),yb=m,vb=p,f&&!c&&!p&&!m&&(e.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&Jn(e,q,J),Cc(e),s&8192)a:for(t=e.stateNode,t._visibility=c?t._visibility&~Eg:t._visibility|Eg,!c||o===null||f||vb||yb||(Dc(e),(e.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&qn(e,q,J,`Disconnect`)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){f=o=t;try{l=f.stateNode,c?M(f,$u,l):M(f,nd,f.stateNode,f.memoizedProps)}catch(e){Dl(f,f.return,e)}}}else if(t.tag===6){if(o===null){f=t;try{u=f.stateNode,c?M(f,ed,u):M(f,rd,u,f.memoizedProps)}catch(e){Dl(f,f.return,e)}}}else if(t.tag===18){if(o===null){f=t;try{d=f.stateNode,c?M(f,Qu,d):M(f,td,f.stateNode)}catch(e){Dl(f,f.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,bc(e,o))));break;case 19:xc(t,e),Cc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,bc(e,s)));break;case 30:break;case 21:break;default:xc(t,e),Cc(e)}(e.mode&Ig)!==Pg&&0<=q&&0<=J&&((O_||.05<E_)&&Zn(e,q,J,E_,D_),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<J-q&&(dc(e.return.alternate,e.return)||qn(e,q,J,`Mount`))),z(n),B(r),D_=i,O_=a}function Cc(e){var t=e.flags;if(t&2){try{M(e,lc,e)}catch(t){Dl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;wc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Tc(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)pc(e,t.alternate,t),t=t.sibling}function Ec(e){var t=R(),n=li(),r=ui(),i=di();switch(e.tag){case 0:case 11:case 14:case 15:Us(e,e.return,gy),Dc(e);break;case 1:ec(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount==`function`&&Zs(e,e.return,a),Dc(e);break;case 27:M(e,xd,e.stateNode);case 26:case 5:ec(e,e.return),Dc(e);break;case 22:e.memoizedState===null&&Dc(e);break;case 30:Dc(e);break;default:Dc(e)}(e.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(e,q,J,E_,D_),z(t),B(n),D_=r,O_=i}function Dc(e){for(e=e.child;e!==null;)Ec(e),e=e.sibling}function Oc(e,t,n,r){var i=R(),a=li(),o=ui(),s=di(),c=n.flags;switch(n.tag){case 0:case 11:case 15:kc(e,n,r),Hs(n,gy);break;case 1:if(kc(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&M(n,Tv,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{M(n,Qi,t,e)}catch(e){Dl(n,n.return,e)}}r&&c&64&&Js(n),$s(n,n.return);break;case 27:uc(n);case 26:case 5:kc(e,n,r),r&&t===null&&c&4&&rc(n),$s(n,n.return);break;case 12:if(r&&c&4){c=oi(),kc(e,n,r),r=n.stateNode,r.effectDuration+=si(c);try{M(n,tc,n,t,x_,r.effectDuration)}catch(e){Dl(n,n.return,e)}}else kc(e,n,r);break;case 31:kc(e,n,r),r&&c&4&&_c(e,n);break;case 13:kc(e,n,r),r&&c&4&&vc(e,n);break;case 22:n.memoizedState===null&&kc(e,n,r),$s(n,n.return);break;case 30:break;default:kc(e,n,r)}(n.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(n,q,J,E_,D_),z(i),B(a),D_=o,O_=s}function kc(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;)Oc(e,t.alternate,t,n),t=t.sibling}function Ac(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&ni(e),n!=null&&ri(n))}function jc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ni(t),e!=null&&ri(e))}function Mc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var a=t.sibling;Nc(e,t,n,r,a===null?i:a.actualStartTime),t=a}}function Nc(e,t,n,r,i){var a=R(),o=li(),s=ui(),c=di(),l=bg,u=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ig)!==Pg&&0<t.actualStartTime&&t.flags&1&&Yn(t,t.actualStartTime,i,Ob,n),Mc(e,t,n,r,i),u&2048&&Ks(t,_y|my);break;case 1:(t.mode&Ig)!==Pg&&0<t.actualStartTime&&(t.flags&128?Xn(t,t.actualStartTime,i,[]):t.flags&1&&Yn(t,t.actualStartTime,i,Ob,n)),Mc(e,t,n,r,i);break;case 3:var d=oi(),f=Ob;Ob=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)==0,Mc(e,t,n,r,i),Ob=f,u&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==n&&(ni(r),n!=null&&ri(n))),e.passiveEffectDuration+=L(d);break;case 12:if(u&2048){u=oi(),Mc(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=si(u);try{M(t,nc,t,t.alternate,x_,e.passiveEffectDuration)}catch(e){Dl(t,t.return,e)}}else Mc(e,t,n,r,i);break;case 31:u=Ob,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d!==null&&f===null?(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Ob=!1,d=d.hydrationErrors,d!==null&&Xn(t,t.actualStartTime,i,d)):Ob=!0):Ob=!1,Mc(e,t,n,r,i),Ob=u;break;case 13:u=Ob,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d===null||d.dehydrated===null||f!==null&&f.dehydrated!==null?Ob=!1:(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Ob=!1,d=d.hydrationErrors,d!==null&&Xn(t,t.actualStartTime,i,d)):Ob=!0),Mc(e,t,n,r,i),Ob=u;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,t.memoizedState===null?f._visibility&Dg?Mc(e,t,n,r,i):(f._visibility|=Dg,Pc(e,t,n,r,(t.subtreeFlags&10256)!=0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),i),(t.mode&Ig)===Pg||Ob||(e=t.actualStartTime,0<=e&&.05<i-e&&Jn(t,e,i),0<=q&&0<=J&&.05<J-q&&Jn(t,q,J))):f._visibility&Dg?Mc(e,t,n,r,i):Ic(e,t,n,r,i),u&2048&&Ac(d,t);break;case 24:Mc(e,t,n,r,i),u&2048&&jc(t.alternate,t);break;default:Mc(e,t,n,r,i)}(t.mode&Ig)!==Pg&&((e=!Ob&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<i-n&&qn(t,n,i,`Mount`)),0<=q&&0<=J&&((O_||.05<E_)&&Zn(t,q,J,E_,D_),e&&.05<J-q&&qn(t,q,J,`Mount`))),z(a),B(o),D_=s,O_=c,bg=l}function Pc(e,t,n,r,i,a){for(i&&=(t.subtreeFlags&10256)!=0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),t=t.child;t!==null;){var o=t.sibling;Fc(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Fc(e,t,n,r,i,a){var o=R(),s=li(),c=ui(),l=di(),u=bg;i&&(t.mode&Ig)!==Pg&&0<t.actualStartTime&&t.flags&1&&Yn(t,t.actualStartTime,a,Ob,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Pc(e,t,n,r,i,a),Ks(t,_y);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=Dg,Pc(e,t,n,r,i,a)):f._visibility&Dg?Pc(e,t,n,r,i,a):Ic(e,t,n,r,a),i&&d&2048&&Ac(t.alternate,t);break;case 24:Pc(e,t,n,r,i,a),i&&d&2048&&jc(t.alternate,t);break;default:Pc(e,t,n,r,i,a)}(t.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(t,q,J,E_,D_),z(o),B(s),D_=c,O_=l,bg=u}function Ic(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var a=t.child;a!==null;){t=a.sibling;var o=e,s=n,c=r,l=t===null?i:t.actualStartTime,u=bg;(a.mode&Ig)!==Pg&&0<a.actualStartTime&&a.flags&1&&Yn(a,a.actualStartTime,l,Ob,s);var d=a.flags;switch(a.tag){case 22:Ic(o,a,s,c,l),d&2048&&Ac(a.alternate,a);break;case 24:Ic(o,a,s,c,l),d&2048&&jc(a.alternate,a);break;default:Ic(o,a,s,c,l)}bg=u,a=t}}function Lc(e,t,n){if(e.subtreeFlags&kb)for(e=e.child;e!==null;)Rc(e,t,n),e=e.sibling}function Rc(e,t,n){switch(e.tag){case 26:Lc(e,t,n),e.flags&kb&&e.memoizedState!==null&&Bd(n,Db,e.memoizedState,e.memoizedProps);break;case 5:Lc(e,t,n);break;case 3:case 4:var r=Db;Db=Sd(e.stateNode.containerInfo),Lc(e,t,n),Db=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=kb,kb=16777216,Lc(e,t,n),kb=r):Lc(e,t,n));break;default:Lc(e,t,n)}}function zc(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Bc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=R();Sb=r,Wc(r,e),(r.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&qn(r,q,J,`Unmount`),z(i)}zc(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Vc(e),e=e.sibling}function Vc(e){var t=R(),n=li(),r=ui(),i=di();switch(e.tag){case 0:case 11:case 15:Bc(e),e.flags&2048&&qs(e,e.return,_y|my);break;case 3:var a=oi();Bc(e),e.stateNode.passiveEffectDuration+=L(a);break;case 12:a=oi(),Bc(e),e.stateNode.passiveEffectDuration+=si(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Dg&&(e.return===null||e.return.tag!==13)?(a._visibility&=~Dg,Hc(e),(e.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&qn(e,q,J,`Disconnect`)):Bc(e);break;default:Bc(e)}(e.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(e,q,J,E_,D_),z(t),B(n),O_=i,D_=r}function Hc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=R();Sb=r,Wc(r,e),(r.mode&Ig)!==Pg&&0<=q&&0<=J&&.05<J-q&&qn(r,q,J,`Unmount`),z(i)}zc(e)}for(e=e.child;e!==null;)Uc(e),e=e.sibling}function Uc(e){var t=R(),n=li(),r=ui(),i=di();switch(e.tag){case 0:case 11:case 15:qs(e,e.return,_y),Hc(e);break;case 22:var a=e.stateNode;a._visibility&Dg&&(a._visibility&=~Dg,Hc(e));break;default:Hc(e)}(e.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(e,q,J,E_,D_),z(t),B(n),O_=i,D_=r}function Wc(e,t){for(;Sb!==null;){var n=Sb,r=n,i=t,a=R(),o=li(),s=ui(),c=di();switch(r.tag){case 0:case 11:case 15:qs(r,i,_y);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&ni(i));break;case 24:ri(r.memoizedState.cache)}if((r.mode&Ig)!==Pg&&0<=q&&0<=J&&(O_||.05<E_)&&Zn(r,q,J,E_,D_),z(a),B(o),O_=c,D_=s,r=n.child,r!==null)r.return=n,Sb=r;else a:for(n=e;Sb!==null;){if(r=Sb,a=r.sibling,o=r.return,mc(r),r===n){Sb=null;break a}if(a!==null){a.return=o,Sb=a;break a}Sb=o}}}function Gc(){Mb.forEach(function(e){return e()})}function Kc(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||K.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function qc(e){if((Wb&Fb)!==Pb&&qb!==0)return qb&-qb;var t=K.T;return t===null?Ue():(t._updatedFibers||=new Set,t._updatedFibers.add(e),Yl())}function Jc(){if(mx===0)if(!(qb&536870912)||e_){var e=Pp;Pp<<=1,!(Pp&3932160)&&(Pp=262144),mx=e}else mx=536870912;return e=X.current,e!==null&&(e.flags|=32),mx}function Yc(e,t,n){if(nS&&console.error(`useInsertionEffect must not schedule updates.`),Zx&&(Qx=!0),(e===Gb&&(ix===Xb||ix===rx)||e.cancelPendingCommit!==null)&&(tl(e,0),$c(e,qb,mx,!1)),Pe(e,n),(Wb&Fb)!==Pb&&e===Gb){if(dp)switch(t.tag){case 0:case 11:case 15:e=Kb&&D(Kb)||`Unknown`,aS.has(e)||(aS.add(e),t=D(t)||`Unknown`,console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:iS||=(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),!0)}}else kp&&Be(e,t,n),zl(t),e===Gb&&((Wb&Fb)===Pb&&(fx|=n),ux===Vb&&$c(e,qb,mx,!1)),Bl(e)}function Xc(e,t,n){if((Wb&(Fb|Ib))!==Pb)throw Error(`Should not already be working.`);if(qb!==0&&Kb!==null){var r=Kb,i=_p();switch(ev){case Zb:case Xb:var a=tv;gg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Suspended`,a,i,_g,void 0,`primary-light`)):console.timeStamp(`Suspended`,a,i,_g,void 0,`primary-light`));break;case rx:a=tv,gg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Action`,a,i,_g,void 0,`primary-light`)):console.timeStamp(`Action`,a,i,_g,void 0,`primary-light`));break;default:gg&&(r=i-tv,3>r||console.timeStamp(`Blocked`,tv,i,_g,void 0,5>r?`primary-light`:10>r?`primary`:100>r?`primary-dark`:`error`))}}a=(n=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ae(e,t))?ul(e,t):cl(e,t,!0);var o=n;do{if(a===Lb){sx&&!n&&$c(e,t,0,!1),t=ix,tv=g_(),ev=t;break}else{if(r=_p(),i=e.current.alternate,o&&!Qc(i)){Kn(t),i=b_,a=r,!gg||a<=i||(Tx?Tx.run(console.timeStamp.bind(console,`Teared Render`,i,a,yg,vg,`error`)):console.timeStamp(`Teared Render`,i,a,yg,vg,`error`)),G(t,r),a=cl(e,t,!1),o=!1;continue}if(a===zb){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){Kn(t),nr(b_,r,t,Tx),G(t,r),t=s;a:{r=e,a=o,o=gx;var c=r.current.memoizedState.isDehydrated;if(c&&(tl(r,s).flags|=256),s=cl(r,s,!1),s!==zb){if(cx&&!c){r.errorRecoveryDisabledLanes|=a,fx|=a,a=Vb;break a}r=_x,_x=o,r!==null&&(_x===null?_x=r:_x.push.apply(_x,r))}a=s}if(o=!1,a!==zb)continue;r=_p()}}if(a===Rb){Kn(t),nr(b_,r,t,Tx),G(t,r),tl(e,0),$c(e,t,0,!0);break}a:{switch(n=e,a){case Lb:case Rb:throw Error(`Root did not complete. This is a bug in React.`);case Vb:if((t&4194048)!==t)break;case Hb:Kn(t),$n(b_,r,t,Tx),G(t,r),i=t,i&127?R_=r:i&4194048&&(Y_=r),$c(n,t,mx,!ox);break a;case zb:_x=null;break;case Bb:case Ub:break;default:throw Error(`Unknown root exit status.`)}if(K.actQueue!==null)vl(n,i,t,_x,wx,vx,mx,fx,hx,a,null,null,b_,r);else{if((t&62914560)===t&&(o=yx+xx-_p(),10<o)){if($c(n,t,mx,!ox),ke(n,0,!0)!==0)break a;Bx=t,n.timeoutHandle=eC(Zc.bind(null,n,i,_x,wx,vx,t,mx,fx,hx,ox,a,`Throttled`,b_,r),o);break a}Zc(n,i,_x,wx,vx,t,mx,fx,hx,ox,a,null,b_,r)}}}break}while(1);Bl(e)}function Zc(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=nC;var m=t.subtreeFlags,h=null;if((m&8192||(m&16785408)==16785408)&&(h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nn},Rc(t,a,h),m=(a&62914560)===a?yx-_p():(a&4194048)===a?bx-_p():0,m=Vd(h,m),m!==null)){Bx=a,e.cancelPendingCommit=m(vl.bind(null,e,t,a,n,r,i,o,s,c,u,h,h.waitingForViewTransition?`Waiting for the previous Animation`:0<h.count?0<h.imgCount?`Suspended on CSS and Images`:`Suspended on CSS`:h.imgCount===1?`Suspended on an Image`:0<h.imgCount?`Suspended on Images`:null,f,p)),$c(e,a,o,!l);return}vl(e,t,a,n,r,i,o,s,c,u,h,d,f,p)}function Qc(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!zh(a(),i))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 $c(e,t,n,r){t&=~px,t&=~fx,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ap(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ie(e,n,t)}function W(){return(Wb&(Fb|Ib))===Pb?(Vl(0,!1),!1):!0}function el(){if(Kb!==null){if(ix===Jb)var e=Kb.return;else e=Kb,Wr(),ba(e),Wv=null,Gv=0,e=Kb;for(;e!==null;)Vs(e.alternate,e),e=e.return;Kb=null}}function G(e,t){e&127&&(k_=t),e&4194048&&(z_=t),e&62914560&&(X_=t),e&2080374784&&(Z_=t)}function tl(e,t){gg&&(console.timeStamp(`Blocking Track`,.003,.003,`Blocking`,vg,`primary-light`),console.timeStamp(`Transition Track`,.003,.003,`Transition`,vg,`primary-light`),console.timeStamp(`Suspense Track`,.003,.003,`Suspense`,vg,`primary-light`),console.timeStamp(`Idle Track`,.003,.003,`Idle`,vg,`primary-light`));var n=b_;if(b_=g_(),qb!==0&&0<n){if(Kn(qb),ux===Bb||ux===Vb)$n(n,b_,t,Tx);else{var r=b_,i=Tx;if(gg&&!(r<=n)){var a=(t&738197653)===t?`tertiary-dark`:`primary-dark`,o=(t&536870912)===t?`Prewarm`:(t&201326741)===t?`Interrupted Hydration`:`Interrupted Render`;i?i.run(console.timeStamp.bind(console,o,n,r,yg,vg,a)):console.timeStamp(o,n,r,yg,vg,a)}}G(qb,b_)}if(n=Tx,Tx=null,t&127){Tx=j_,i=0<=A_&&A_<k_?k_:A_,r=0<=F_&&F_<k_?k_:F_,a=0<=r?r:0<=i?i:b_,0<=R_?(Kn(2),er(R_,a,t,n)):Q_&127&&(Kn(2),ar(k_,a,$_)),n=i;var s=r,c=I_,l=0<L_,u=M_===v_,d=M_===y_;if(i=b_,r=j_,a=N_,o=P_,gg){if(yg=`Blocking`,0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,c!==null&&n>s){var f=l?`secondary-light`:`warning`;r?r.run(console.timeStamp.bind(console,l?`Consecutive`:`Event: `+c,s,n,yg,vg,f)):console.timeStamp(l?`Consecutive`:`Event: `+c,s,n,yg,vg,f)}i>n&&(s=u?`error`:(t&738197653)===t?`tertiary-light`:`primary-light`,u=d?`Promise Resolved`:u?`Cascading Update`:5<i-n?`Update Blocked`:`Update`,d=[],o!=null&&d.push([`Component name`,o]),a!=null&&d.push([`Method name`,a]),n={start:n,end:i,detail:{devtools:{properties:d,track:yg,trackGroup:vg,color:s}}},r?r.run(performance.measure.bind(performance,u,n)):performance.measure(u,n))}A_=-1.1,M_=0,P_=N_=null,R_=-1.1,L_=F_,F_=-1.1,k_=g_()}if(t&4194048&&(Tx=U_,i=0<=B_&&B_<z_?z_:B_,n=0<=V_&&V_<z_?z_:V_,r=0<=K_&&K_<z_?z_:K_,a=0<=r?r:0<=n?n:b_,0<=Y_?(Kn(256),er(Y_,a,t,Tx)):Q_&4194048&&(Kn(256),ar(z_,a,$_)),d=r,s=q_,c=0<J_,l=H_===y_,a=b_,r=U_,o=W_,u=G_,gg&&(yg=`Transition`,0<n?n>a&&(n=a):n=a,0<i?i>n&&(i=n):i=n,0<d?d>i&&(d=i):d=i,i>d&&s!==null&&(f=c?`secondary-light`:`warning`,r?r.run(console.timeStamp.bind(console,c?`Consecutive`:`Event: `+s,d,i,yg,vg,f)):console.timeStamp(c?`Consecutive`:`Event: `+s,d,i,yg,vg,f)),n>i&&(r?r.run(console.timeStamp.bind(console,`Action`,i,n,yg,vg,`primary-dark`)):console.timeStamp(`Action`,i,n,yg,vg,`primary-dark`)),a>n&&(i=l?`Promise Resolved`:5<a-n?`Update Blocked`:`Update`,d=[],u!=null&&d.push([`Component name`,u]),o!=null&&d.push([`Method name`,o]),n={start:n,end:a,detail:{devtools:{properties:d,track:yg,trackGroup:vg,color:`primary-light`}}},r?r.run(performance.measure.bind(performance,i,n)):performance.measure(i,n))),V_=B_=-1.1,H_=0,Y_=-1.1,J_=K_,K_=-1.1,z_=g_()),t&62914560&&Q_&62914560&&(Kn(4194304),ar(X_,b_,$_)),t&2080374784&&Q_&2080374784&&(Kn(268435456),ar(Z_,b_,$_)),n=e.timeoutHandle,n!==nC&&(e.timeoutHandle=nC,tC(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Bx=0,el(),Gb=e,Kb=n=yr(e.current,null),qb=t,ix=Jb,ax=null,ox=!1,sx=Ae(e,t),cx=!1,ux=Lb,hx=mx=px=fx=dx=0,_x=gx=null,vx=!1,t&8&&(t|=t&32),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=t;0<r;)i=31-Ap(r),a=1<<i,t|=e[i],r&=~a;return lx=t,or(),e=ag(),1e3<e-rg&&(K.recentlyCreatedOwnerStacks=0,rg=e),uv.discardPendingWarnings(),n}function nl(e,t){wy=null,K.H=Ry,K.getCurrentStack=null,dp=!1,up=null,t===Rv||t===Bv?(t=Oi(),ix=Zb):t===zv?(t=Oi(),ix=Qb):ix=t===ob?nx:typeof t==`object`&&t&&typeof t.then==`function`?ex:Yb,ax=t;var n=Kb;n===null?(ux=Rb,Qo(e,Dr(t,e.current))):n.mode&Ig&&pi(n)}function rl(){var e=X.current;return e===null?!0:(qb&4194048)===qb?ly===null:(qb&62914560)===qb||qb&536870912?e===ly:!1}function il(){var e=K.H;return K.H=Ry,e===null?Ry:e}function al(){var e=K.A;return K.A=Ab,e}function ol(e){Tx===null&&(Tx=e._debugTask==null?null:e._debugTask)}function sl(){ux=Vb,ox||(qb&4194048)!==qb&&X.current!==null||(sx=!0),!(dx&134217727)&&!(fx&134217727)||Gb===null||$c(Gb,qb,mx,!1)}function cl(e,t,n){var r=Wb;Wb|=Fb;var i=il(),a=al();if(Gb!==e||qb!==t){if(kp){var o=e.memoizedUpdaters;0<o.size&&(Ll(e,qb),o.clear()),Ve(e,t)}wx=null,tl(e,t)}t=!1,o=ux;a:do try{if(ix!==Jb&&Kb!==null){var s=Kb,c=ax;switch(ix){case nx:el(),o=Hb;break a;case Zb:case Xb:case rx:case ex:X.current===null&&(t=!0);var l=ix;if(ix=Jb,ax=null,hl(e,s,c,l),n&&sx){o=Lb;break a}break;default:l=ix,ix=Jb,ax=null,hl(e,s,c,l)}}ll(),o=ux;break}catch(t){nl(e,t)}while(1);return t&&e.shellSuspendCounter++,Wr(),Wb=r,K.H=i,K.A=a,Kb===null&&(Gb=null,qb=0,or()),o}function ll(){for(;Kb!==null;)fl(Kb)}function ul(e,t){var n=Wb;Wb|=Fb;var r=il(),i=al();if(Gb!==e||qb!==t){if(kp){var a=e.memoizedUpdaters;0<a.size&&(Ll(e,qb),a.clear()),Ve(e,t)}wx=null,Sx=_p()+Cx,tl(e,t)}else sx=Ae(e,t);a:do try{if(ix!==Jb&&Kb!==null)b:switch(t=Kb,a=ax,ix){case Yb:ix=Jb,ax=null,hl(e,t,a,Yb);break;case Xb:case rx:if(Ti(a)){ix=Jb,ax=null,pl(t);break}t=function(){ix!==Xb&&ix!==rx||Gb!==e||(ix=tx),Bl(e)},a.then(t,t);break a;case Zb:ix=tx;break a;case Qb:ix=$b;break a;case tx:Ti(a)?(ix=Jb,ax=null,pl(t)):(ix=Jb,ax=null,hl(e,t,a,tx));break;case $b:var o=null;switch(Kb.tag){case 26:o=Kb.memoizedState;case 5:case 27:var s=Kb;if(o?zd(o):s.stateNode.complete){ix=Jb,ax=null;var c=s.sibling;if(c!==null)Kb=c;else{var l=s.return;l===null?Kb=null:(Kb=l,gl(l))}break b}break;default:console.error(`Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`)}ix=Jb,ax=null,hl(e,t,a,$b);break;case ex:ix=Jb,ax=null,hl(e,t,a,ex);break;case nx:el(),ux=Hb;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}K.actQueue===null?dl():ll();break}catch(t){nl(e,t)}while(1);return Wr(),K.H=r,K.A=i,Wb=n,Kb===null?(Gb=null,qb=0,or(),ux):Lb}function dl(){for(;Kb!==null&&!hp();)fl(Kb)}function fl(e){var t=e.alternate;(e.mode&Ig)===Pg?t=M(e,Ms,t,e,lx):(fi(e),t=M(e,Ms,t,e,lx),pi(e)),e.memoizedProps=e.pendingProps,t===null?gl(e):Kb=t}function pl(e){var t=M(e,ml,e);e.memoizedProps=e.pendingProps,t===null?gl(e):Kb=t}function ml(e){var t=e.alternate,n=(e.mode&Ig)!==Pg;switch(n&&fi(e),e.tag){case 15:case 0:t=gs(t,e,e.pendingProps,e.type,void 0,qb);break;case 11:t=gs(t,e,e.pendingProps,e.type.render,e.ref,qb);break;case 5:ba(e);default:Vs(t,e),e=Kb=br(e,lx),t=Ms(t,e,lx)}return n&&pi(e),t}function hl(e,t,n,r){Wr(),ba(t),Wv=null,Gv=0;var i=t.return;try{if(rs(e,i,t,n,qb)){ux=Rb,Qo(e,Dr(n,e.current)),Kb=null;return}}catch(t){if(i!==null)throw Kb=i,t;ux=Rb,Qo(e,Dr(n,e.current)),Kb=null;return}t.flags&32768?(e_||r===Yb?e=!0:sx||qb&536870912?e=!1:(ox=e=!0,(r===Xb||r===rx||r===Zb||r===ex)&&(r=X.current,r!==null&&r.tag===13&&(r.flags|=16384))),_l(t,e)):gl(t)}function gl(e){var t=e;do{if(t.flags&32768){_l(t,ox);return}var n=t.alternate;if(e=t.return,fi(t),n=M(t,zs,n,t,lx),(t.mode&Ig)!==Pg&&mi(t),n!==null){Kb=n;return}if(t=t.sibling,t!==null){Kb=t;return}Kb=t=e}while(t!==null);ux===Lb&&(ux=Ub)}function _l(e,t){do{var n=Bs(e.alternate,e);if(n!==null){n.flags&=32767,Kb=n;return}if((e.mode&Ig)!==Pg){mi(e),n=e.actualDuration;for(var r=e.child;r!==null;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Kb=e;return}Kb=e=n}while(e!==null);ux=Hb,Kb=null}function vl(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.cancelPendingCommit=null;do wl();while(Lx!==jx);if(uv.flushLegacyContextWarning(),uv.flushPendingUnsafeLifecycleWarnings(),(Wb&(Fb|Ib))!==Pb)throw Error(`Should not already be working.`);if(Kn(n),l===zb?nr(f,p,n,Tx):r===null?Qn(f,p,n,Tx):tr(f,p,n,r,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!=0,Tx),t!==null){if(n===0&&console.error(`finishedLanes should not be empty during a commit. This is a bug in React.`),t===e.current)throw Error(`Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.`);if(a=t.lanes|t.childLanes,a|=Ag,Fe(e,n,a,o,s,c),e===Gb&&(Kb=Gb=null,qb=0),zx=t,Rx=e,Bx=n,Vx=a,Ux=i,Wx=r,Hx=p,Gx=d,Kx=Dx,qx=null,t.actualDuration!==0||t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Rl(xp,function(){return $S=window.event,Kx===Dx&&(Kx=kx),Tl(),null})):(e.callbackNode=null,e.callbackPriority=0),C_=null,x_=g_(),d!==null&&rr(p,x_,d,Tx),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=K.T,K.T=null,i=Uf.p,Uf.p=Ip,o=Wb,Wb|=Ib;try{fc(e,t,n)}finally{Wb=o,Uf.p=i,K.T=r}}Lx=Mx,yl(),bl(),xl()}}function yl(){if(Lx===Mx){Lx=jx;var e=Rx,t=zx,n=Bx,r=(t.flags&13878)!=0;if(t.subtreeFlags&13878||r){r=K.T,K.T=null;var i=Uf.p;Uf.p=Ip;var a=Wb;Wb|=Ib;try{Cb=n,wb=e,ci(),Sc(t,e),wb=Cb=null,n=XS;var o=In(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Fn(s.ownerDocument.documentElement,s)){if(c!==null&&Ln(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Pn(s,h),v=Pn(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}BC=!!YS,XS=YS=null}finally{Wb=a,Uf.p=i,K.T=r}}e.current=t,Lx=Nx}}function bl(){if(Lx===Nx){Lx=jx;var e=qx;if(e!==null){x_=g_();var t=S_,n=x_;!gg||n<=t||($_?$_.run(console.timeStamp.bind(console,e,t,n,yg,vg,`secondary-light`)):console.timeStamp(e,t,n,yg,vg,`secondary-light`))}e=Rx,t=zx,n=Bx;var r=(t.flags&8772)!=0;if(t.subtreeFlags&8772||r){r=K.T,K.T=null;var i=Uf.p;Uf.p=Ip;var a=Wb;Wb|=Ib;try{Cb=n,wb=e,ci(),pc(e,t.alternate,t),wb=Cb=null}finally{Wb=a,Uf.p=i,K.T=r}}e=Hx,t=Gx,S_=g_(),e=t===null?e:x_,t=S_,n=Kx===Ox,r=Tx,C_===null?!gg||t<=e||(r?r.run(console.timeStamp.bind(console,n?`Commit Interrupted View Transition`:`Commit`,e,t,yg,vg,n?`error`:`secondary-dark`)):console.timeStamp(n?`Commit Interrupted View Transition`:`Commit`,e,t,yg,vg,n?`error`:`secondary-dark`)):ir(e,t,C_,!1,r),Lx=Px}}function xl(){if(Lx===Fx||Lx===Px){if(Lx===Fx){var e=S_;S_=g_();var t=S_,n=Kx===Ox;!gg||t<=e||($_?$_.run(console.timeStamp.bind(console,n?`Interrupted View Transition`:`Starting Animation`,e,t,yg,vg,n?`error`:`secondary-light`)):console.timeStamp(n?`Interrupted View Transition`:`Starting Animation`,e,t,yg,vg,n?` error`:`secondary-light`)),Kx!==Ox&&(Kx=Ax)}Lx=jx,gp(),e=Rx;var r=zx;t=Bx,n=Wx;var i=r.actualDuration!==0||(r.subtreeFlags&10256)!=0||(r.flags&10256)!=0;i?Lx=Ix:(Lx=jx,zx=Rx=null,Cl(e,e.pendingLanes),eS=0,tS=null);var a=e.pendingLanes;if(a===0&&(Ex=null),i||Fl(e),a=He(t),r=r.stateNode,Dp&&typeof Dp.onCommitFiberRoot==`function`)try{var o=(r.current.flags&128)==128;switch(a){case Ip:var s=yp;break;case Lp:s=bp;break;case Rp:s=xp;break;case zp:s=Cp;break;default:s=xp}Dp.onCommitFiberRoot(Ep,r,s,o)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}if(kp&&e.memoizedUpdaters.clear(),Gc(),n!==null){o=K.T,s=Uf.p,Uf.p=Ip,K.T=null;try{var c=e.onRecoverableError;for(r=0;r<n.length;r++){var l=n[r],u=Sl(l.stack);M(l.source,c,l.value,u)}}finally{K.T=o,Uf.p=s}}Bx&3&&wl(),Bl(e),a=e.pendingLanes,t&261930&&a&42?(rv=!0,e===Xx?Yx++:(Yx=0,Xx=e)):Yx=0,i||G(t,S_),Vl(0,!1)}}function Sl(e){return e={componentStack:e},Object.defineProperty(e,`digest`,{get:function(){console.error(`You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.`)}}),e}function Cl(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ri(t)))}function wl(){return yl(),bl(),xl(),Tl()}function Tl(){if(Lx!==Ix)return!1;var e=Rx,t=Vx;Vx=0;var n=He(Bx),r=Rp===0||Rp>n?Rp:n;n=K.T;var i=Uf.p;try{Uf.p=r,K.T=null;var a=Ux;Ux=null,r=Rx;var o=Bx;if(Lx=jx,zx=Rx=null,Bx=0,(Wb&(Fb|Ib))!==Pb)throw Error(`Cannot flush passive effects while already rendering.`);Kn(o),Zx=!0,Qx=!1;var s=0;if(C_=null,s=_p(),Kx===Ax)ar(S_,s,$_);else{var c=S_,l=s,u=Kx===kx;!gg||l<=c||(Tx?Tx.run(console.timeStamp.bind(console,u?`Waiting for Paint`:`Waiting`,c,l,yg,vg,`secondary-light`)):console.timeStamp(u?`Waiting for Paint`:`Waiting`,c,l,yg,vg,`secondary-light`))}c=Wb,Wb|=Ib;var d=r.current;ci(),Vc(d);var f=r.current;d=Hx,ci(),Nc(r,f,o,a,d),Fl(r),Wb=c;var p=_p();if(f=s,d=Tx,C_===null?!gg||p<=f||(d?d.run(console.timeStamp.bind(console,`Remaining Effects`,f,p,yg,vg,`secondary-dark`)):console.timeStamp(`Remaining Effects`,f,p,yg,vg,`secondary-dark`)):ir(f,p,C_,!0,d),G(o,p),Vl(0,!1),Qx?r===tS?eS++:(eS=0,tS=r):eS=0,Qx=Zx=!1,Dp&&typeof Dp.onPostCommitFiberRoot==`function`)try{Dp.onPostCommitFiberRoot(Ep,r)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}var m=r.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{Uf.p=i,K.T=n,Cl(e,t)}}function El(e,t,n){t=Dr(n,t),gi(t),t=es(e.stateNode,t,2),e=Ki(e,t,2),e!==null&&(Pe(e,2),Bl(e))}function Dl(e,t,n){if(nS=!1,e.tag===3)El(e,e,n);else{for(;t!==null;){if(t.tag===3){El(t,e,n);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Ex===null||!Ex.has(r))){e=Dr(n,e),gi(e),n=ts(2),r=Ki(t,n,2),r!==null&&(ns(n,r,t,e),Pe(r,2),Bl(r));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
166
|
+
|
|
167
|
+
Error message:
|
|
168
|
+
|
|
169
|
+
%s`,n)}}function Ol(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Nb;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(cx=!0,i.add(n),r=kl.bind(null,e,t,n),kp&&Ll(e,n),t.then(r,r))}function kl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,n&127?0>A_&&(k_=A_=g_(),j_=__(`Promise Resolved`),M_=y_):n&4194048&&0>V_&&(z_=V_=g_(),U_=__(`Promise Resolved`),H_=y_),Kc()&&K.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
170
|
+
|
|
171
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
172
|
+
|
|
173
|
+
act(() => {
|
|
174
|
+
/* finish loading suspended data */
|
|
175
|
+
});
|
|
176
|
+
/* assert on the output */
|
|
177
|
+
|
|
178
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Gb===e&&(qb&n)===n&&(ux===Vb||ux===Bb&&(qb&62914560)===qb&&_p()-yx<xx?(Wb&Fb)===Pb&&tl(e,0):px|=n,hx===qb&&(hx=0)),Bl(e)}function Al(e,t){t===0&&(t=Me()),e=lr(e,t),e!==null&&(Pe(e,t),Bl(e))}function jl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Al(e,n)}function Ml(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(`Pinged unknown suspense boundary type. This is probably a bug in React.`)}r!==null&&r.delete(t),Al(e,n)}function Nl(e,t,n){if(t.subtreeFlags&67117056)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===kf;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&8192?M(i,Pl,r,i):i.subtreeFlags&67108864&&M(i,Nl,r,i,a)):i.flags&67108864?a&&M(i,Pl,r,i):Nl(r,i,a),t=t.sibling}}function Pl(e,t){Ee(!0);try{Ec(t),Uc(t),Oc(e,t.alternate,t,!1),Fc(e,t,0,null,!1,0)}finally{Ee(!1)}}function Fl(e){var t=!0;e.current.mode&(Lg|Rg)||(t=!1),Nl(e,e.current,t)}function Il(e){if((Wb&Fb)===Pb){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=D(e)||`ReactComponent`,rS!==null){if(rS.has(t))return;rS.add(t)}else rS=new Set([t]);M(e,function(){console.error(`Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.`)})}}}function Ll(e,t){kp&&e.memoizedUpdaters.forEach(function(n){Be(e,n,t)})}function Rl(e,t){var n=K.actQueue;return n===null?pp(e,t):(n.push(t),oS)}function zl(e){Kc()&&K.actQueue===null&&M(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
179
|
+
|
|
180
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
181
|
+
|
|
182
|
+
act(() => {
|
|
183
|
+
/* fire events that update state */
|
|
184
|
+
});
|
|
185
|
+
/* assert on the output */
|
|
186
|
+
|
|
187
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,D(e))})}function Bl(e){e!==cS&&e.next===null&&(cS===null?sS=cS=e:cS=cS.next=e),dS=!0,K.actQueue===null?lS||(lS=!0,Jl()):uS||(uS=!0,Jl())}function Vl(e,t){if(!fS&&dS){fS=!0;do for(var n=!1,r=sS;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ap(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Kl(r,a))}else a=qb,a=ke(r,r===Gb?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==nC),!(a&3)||Ae(r,a)||(n=!0,Kl(r,a));r=r.next}while(n);fS=!1}}function Hl(){$S=window.event,Ul()}function Ul(){dS=uS=lS=!1;var e=0;pS!==0&&Lu()&&(e=pS);for(var t=_p(),n=null,r=sS;r!==null;){var i=r.next,a=Wl(r,t);a===0?(r.next=null,n===null?sS=i:n.next=i,i===null&&(cS=n)):(n=r,(e!==0||a&3)&&(dS=!0)),r=i}Lx!==jx&&Lx!==Ix||Vl(e,!1),pS!==0&&(pS=0)}function Wl(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ap(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=je(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Gb,n=qb,n=ke(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==nC),r=e.callbackNode,n===0||e===t&&(ix===Xb||ix===rx)||e.cancelPendingCommit!==null)return r!==null&&ql(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ae(e,n)){if(t=n&-n,t!==e.callbackPriority||K.actQueue!==null&&r!==mS)ql(r);else return t;switch(He(n)){case Ip:case Lp:n=bp;break;case Rp:n=xp;break;case zp:n=Cp;break;default:n=xp}return r=Gl.bind(null,e),K.actQueue===null?n=pp(n,r):(K.actQueue.push(r),n=mS),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&ql(r),e.callbackPriority=2,e.callbackNode=null,2}function Gl(e,t){if(rv=nv=!1,$S=window.event,Lx!==jx&&Lx!==Ix)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Kx===Dx&&(Kx=kx),wl()&&e.callbackNode!==n)return null;var r=qb;return r=ke(e,e===Gb?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==nC),r===0?null:(Xc(e,r,t),Wl(e,_p()),e.callbackNode!=null&&e.callbackNode===n?Gl.bind(null,e):null)}function Kl(e,t){if(wl())return null;nv=rv,rv=!1,Xc(e,t,!0)}function ql(e){e!==mS&&e!==null&&mp(e)}function Jl(){K.actQueue!==null&&K.actQueue.push(function(){return Ul(),null}),iC(function(){(Wb&(Fb|Ib))===Pb?Ul():pp(yp,Hl)})}function Yl(){if(pS===0){var e=ov;e===0&&(e=Np,Np<<=1,!(Np&261888)&&(Np=256)),pS=e}return pS}function Xl(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(N(e,`action`),tn(``+e))}function Zl(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Ql(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Xl((i[Hp]||null).action),o=r.submitter;o&&(t=(t=o[Hp]||null)?Xl(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new nh(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(pS!==0){var e=o?Zl(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),Do(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?Zl(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),Do(n,t,a,e))},currentTarget:i}]})}}function $l(e,t,n){e.currentTarget=n;try{t(e)}catch(e){sg(e)}e.currentTarget=null}function eu(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n];a:{var i=void 0,a=r.event;if(r=r.listeners,t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?$l(a,s,l):M(c,$l,a,s,l),i=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?$l(a,s,l):M(c,$l,a,s,l),i=c}}}}function tu(e,t){gS.has(e)||console.error(`Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.`,e);var n=t[Wp];n===void 0&&(n=t[Wp]=new Set);var r=e+`__bubble`;n.has(r)||(iu(t,e,2,!1),n.add(r))}function nu(e,t,n){gS.has(e)&&!t&&console.error(`Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.`,e);var r=0;t&&(r|=4),iu(n,e,r,t)}function ru(e){if(!e[_S]){e[_S]=!0,Yp.forEach(function(t){t!==`selectionchange`&&(gS.has(t)||nu(t,!1,e),nu(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_S]||(t[_S]=!0,nu(`selectionchange`,!1,t))}}function iu(e,t,n,r){switch(of(t)){case Ip:var i=ef;break;case Lp:i=tf;break;default:i=nf}n=i.bind(null,t,n,e),i=void 0,!Xm||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function au(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Ke(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}on(function(){var r=a,i=rn(n),o=[];a:{var s=tg.get(e);if(s!==void 0){var c=nh,l=e;switch(e){case`keypress`:if(ln(n)===0)break a;case`keydown`:case`keyup`:c=yh;break;case`focusin`:l=`focus`,c=dh;break;case`focusout`:l=`blur`,c=dh;break;case`beforeblur`:case`afterblur`:c=dh;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=lh;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=uh;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=xh;break;case Jh:case Yh:case Xh:c=fh;break;case eg:c=Sh;break;case`scroll`:case`scrollend`:c=ih;break;case`wheel`:c=Ch;break;case`copy`:case`cut`:case`paste`:c=ph;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=bh;break;case`toggle`:case`beforetoggle`:c=wh}var u=(t&4)!=0,d=!u&&(e===`scroll`||e===`scrollend`),f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){var h=p;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||f===null||(h=sn(p,f),h!=null&&u.push(ou(p,h,m))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Gm&&(l=n.relatedTarget||n.fromElement)&&(Ke(l)||l[Up]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Ke(l):null,l!==null&&(d=x(l),u=l.tag,l!==d||u!==5&&u!==27&&u!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=lh,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=bh,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Je(c),m=l==null?s:Je(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Ke(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=cu,f=c,p=l,m=0,h=f;h;h=u(h))m++;h=0;for(var g=p;g;g=u(g))h++;for(;0<m-h;)f=u(f),m--;for(;0<h-m;)p=u(p),h--;for(;m--;){if(f===p||p!==null&&f===p.alternate){u=f;break b}f=u(f),p=u(p)}u=null}else u=null;c!==null&&lu(o,s,c,u,!1),l!==null&&d!==null&&lu(o,d,l,u,!0)}}a:{if(s=r?Je(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=wn;else if(yn(s))if(Rh)_=An;else{_=On;var v=Dn}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&Yt(r.elementType)&&(_=wn):_=kn;if(_&&=_(e,r)){xn(o,_,n,i);break a}v&&v(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&ht(s,`number`,s.value)}switch(v=r?Je(r):window,e){case`focusin`:(yn(v)||v.contentEditable===`true`)&&(Vh=v,Hh=r,Uh=null);break;case`focusout`:Uh=Hh=Vh=null;break;case`mousedown`:Wh=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Wh=!1,Rn(o,n,i);break;case`selectionchange`:if(Bh)break;case`keydown`:case`keyup`:Rn(o,n,i)}var y;if(Dh)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else Ph?hn(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===Eh&&(b=`onCompositionStart`);b&&(Ah&&n.locale!==`ko`&&(Ph||b!==`onCompositionStart`?b===`onCompositionEnd`&&Ph&&(y=cn()):(Qm=i,$m=`value`in Qm?Qm.value:Qm.textContent,Ph=!0)),v=su(r,b),0<v.length&&(b=new mh(b,e,null,n,i),o.push({event:b,listeners:v}),y?b.data=y:(y=gn(n),y!==null&&(b.data=y)))),(y=kh?_n(e,n):vn(e,n))&&(b=su(r,`onBeforeInput`),0<b.length&&(v=new hh(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:v,listeners:b}),v.data=y)),Ql(o,e,r,n,i)}eu(o,t)})}function ou(e,t,n){return{instance:e,listener:t,currentTarget:n}}function su(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=sn(e,n),i!=null&&r.unshift(ou(e,i,a)),i=sn(e,t),i!=null&&r.push(ou(e,i,a))),e.tag===3)return r;e=e.return}return[]}function cu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function lu(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=sn(n,a),l!=null&&o.unshift(ou(n,l,c))):i||(l=sn(n,a),l!=null&&o.push(ou(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function uu(e,t){Qt(e,t),e!==`input`&&e!==`textarea`&&e!==`select`||t==null||t.value!==null||Rm||(Rm=!0,e===`select`&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Xp,possibleRegistrationNames:Zp};Yt(e)||typeof t.is==`string`||en(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function du(e,t,n,r){t!==n&&(n=hu(n),hu(t)!==n&&(r[e]=t))}function fu(e,t,n){t.forEach(function(t){n[xu(t)]=t===`style`?Su(e):e.getAttribute(t)})}function pu(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function mu(e,t){return e=e.namespaceURI===Am||e.namespaceURI===jm?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function hu(e){return xe(e)&&(console.error(`The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,be(e)),Se(e)),(typeof e==`string`?e:``+e).replace(ES,`
|
|
188
|
+
`).replace(DS,``)}function gu(e,t){return t=hu(t),hu(e)===t}function _u(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?(Wt(r,t,!1),t===`body`||t===`textarea`&&r===``||Gt(e,r)):(typeof r==`number`||typeof r==`bigint`)&&(Wt(``+r,t,!1),t!==`body`&&Gt(e,``+r));break;case`className`:rt(e,`class`,r);break;case`tabIndex`:rt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:rt(e,n,r);break;case`style`:Jt(e,r,a);break;case`data`:if(t!==`object`){rt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){console.error(n===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,n,n),e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}N(r,n),r=tn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(r!=null&&(t===`form`?n===`formAction`?console.error(`You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.`):typeof r==`function`&&(i.encType==null&&i.method==null||CS||(CS=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),i.target==null||SS||(SS=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`))):t===`input`||t===`button`?n===`action`?console.error(`You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.`):t!==`input`||i.type===`submit`||i.type===`image`||bS?t!==`button`||i.type==null||i.type===`submit`||bS?typeof r==`function`&&(i.name==null||xS||(xS=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i.formEncType==null&&i.formMethod==null||CS||(CS=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),i.formTarget==null||SS||(SS=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`))):(bS=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`)):(bS=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`)):console.error(n===`action`?`You can only pass the action prop to <form>.`:`You can only pass the formAction prop to <input> or <button>.`)),typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof a==`function`&&(n===`formAction`?(t!==`input`&&_u(e,t,`name`,i.name,i,null),_u(e,t,`formEncType`,i.formEncType,i,null),_u(e,t,`formMethod`,i.formMethod,i,null),_u(e,t,`formTarget`,i.formTarget,i,null)):(_u(e,t,`encType`,i.encType,i,null),_u(e,t,`method`,i.method,i,null),_u(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}N(r,n),r=tn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&pu(n,r),e.onclick=nn);break;case`onScroll`:r!=null&&(typeof r!=`function`&&pu(n,r),tu(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&pu(n,r),tu(`scrollend`,e));break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}N(r,n),n=tn(``+r),e.setAttributeNS(OS,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(N(r,n),e.setAttribute(n,``+r)):e.removeAttribute(n);break;case`inert`:r!==``||TS[n]||(TS[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(N(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?(N(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):(N(r,n),e.setAttribute(n,r));break;case`popover`:tu(`beforetoggle`,e),tu(`toggle`,e),nt(e,`popover`,r);break;case`xlinkActuate`:it(e,OS,`xlink:actuate`,r);break;case`xlinkArcrole`:it(e,OS,`xlink:arcrole`,r);break;case`xlinkRole`:it(e,OS,`xlink:role`,r);break;case`xlinkShow`:it(e,OS,`xlink:show`,r);break;case`xlinkTitle`:it(e,OS,`xlink:title`,r);break;case`xlinkType`:it(e,OS,`xlink:type`,r);break;case`xmlBase`:it(e,kS,`xml:base`,r);break;case`xmlLang`:it(e,kS,`xml:lang`,r);break;case`xmlSpace`:it(e,kS,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),nt(e,`is`,r);break;case`innerText`:case`textContent`:break;case`popoverTarget`:wS||typeof r!=`object`||!r||(wS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`?(n=Xt(n),nt(e,n,r)):Xp.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&pu(n,r)}}function vu(e,t,n,r,i,a){switch(n){case`style`:Jt(e,r,a);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`children`:typeof r==`string`?Gt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Gt(e,``+r);break;case`onScroll`:r!=null&&(typeof r!=`function`&&pu(n,r),tu(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&pu(n,r),tu(`scrollend`,e));break;case`onClick`:r!=null&&(typeof r!=`function`&&pu(n,r),e.onclick=nn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(Xp.hasOwnProperty(n))r!=null&&typeof r!=`function`&&pu(n,r);else a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),a=e[Hp]||null,a=a==null?null:a[n],typeof a==`function`&&e.removeEventListener(t,a,i),typeof r==`function`)){typeof a!=`function`&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):nt(e,n,r)}}}function yu(e,t,n){switch(uu(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:tu(`error`,e),tu(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:_u(e,t,a,o,n,null)}}i&&_u(e,t,`srcSet`,n.srcSet,n,null),r&&_u(e,t,`src`,n.src,n,null);return;case`input`:$e(`input`,n),tu(`invalid`,e);var s=a=o=i=null,c=null,l=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case`name`:i=u;break;case`type`:o=u;break;case`checked`:c=u;break;case`defaultChecked`:l=u;break;case`value`:a=u;break;case`defaultValue`:s=u;break;case`children`:case`dangerouslySetInnerHTML`:if(u!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:_u(e,t,r,u,n,null)}}ft(e,n),mt(e,a,s,c,l,o,i,!1);return;case`select`:for(i in $e(`select`,n),tu(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case`value`:a=s;break;case`defaultValue`:o=s;break;case`multiple`:r=s;default:_u(e,t,i,s,n,null)}yt(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&vt(e,!!r,n,!0):vt(e,!!r,t,!1);return;case`textarea`:for(o in $e(`textarea`,n),tu(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case`value`:r=s;break;case`defaultValue`:i=s;break;case`children`:a=s;break;case`dangerouslySetInnerHTML`:if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:_u(e,t,o,s,n,null)}bt(e,n),St(e,r,i,a);return;case`option`:for(c in gt(e,n),n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:_u(e,t,c,r,n,null)}return;case`dialog`:tu(`beforetoggle`,e),tu(`toggle`,e),tu(`cancel`,e),tu(`close`,e);break;case`iframe`:case`object`:tu(`load`,e);break;case`video`:case`audio`:for(r=0;r<hS.length;r++)tu(hS[r],e);break;case`image`:tu(`error`,e),tu(`load`,e);break;case`details`:tu(`toggle`,e);break;case`embed`:case`source`:case`link`:tu(`error`,e),tu(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:_u(e,t,l,r,n,null)}return;default:if(Yt(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&vu(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&_u(e,t,s,r,n,null))}function bu(e,t,n,r){switch(uu(t,r),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,s=null,c=null,l=null,u=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&d!=null)switch(p){case`checked`:break;case`value`:break;case`defaultValue`:c=d;default:r.hasOwnProperty(p)||_u(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(p!=null||d!=null))switch(f){case`type`:a=p;break;case`name`:i=p;break;case`checked`:l=p;break;case`defaultChecked`:u=p;break;case`value`:o=p;break;case`defaultValue`:s=p;break;case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&_u(e,t,f,p,r,d)}}t=n.type===`checkbox`||n.type===`radio`?n.checked!=null:n.value!=null,r=r.type===`checkbox`||r.type===`radio`?r.checked!=null:r.value!=null,t||!r||yS||(console.error(`A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),yS=!0),!t||r||vS||(console.error(`A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),vS=!0),pt(e,o,s,c,l,u,a,i);return;case`select`:for(a in p=o=s=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&c!=null)switch(a){case`value`:break;case`multiple`:p=c;default:r.hasOwnProperty(a)||_u(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(a!=null||c!=null))switch(i){case`value`:f=a;break;case`defaultValue`:s=a;break;case`multiple`:o=a;default:a!==c&&_u(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?vt(e,!!t,t?[]:``,!1):vt(e,!!t,r,!0)):vt(e,!!t,f,!1);return;case`textarea`:for(s in p=f=null,n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case`value`:break;case`children`:break;default:_u(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:f=i;break;case`defaultValue`:p=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:i!==a&&_u(e,t,o,i,r,a)}xt(e,f,p);return;case`option`:for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m))switch(m){case`selected`:e.selected=!1;break;default:_u(e,t,m,null,r,f)}for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case`selected`:e.selected=f&&typeof f!=`function`&&typeof f!=`symbol`;break;default:_u(e,t,c,f,r,p)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var h in n)f=n[h],n.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&_u(e,t,h,null,r,f);for(l in r)if(f=r[l],p=n[l],r.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:if(f!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:_u(e,t,l,f,r,p)}return;default:if(Yt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&vu(e,t,g,void 0,r,f);for(u in r)f=r[u],p=n[u],!r.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||vu(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&_u(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||_u(e,t,d,f,r,p)}function xu(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function Su(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function Cu(e,t,n){if(t!=null&&typeof t!=`object`)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,i=r=``,a;for(a in t)if(t.hasOwnProperty(a)){var o=t[a];o!=null&&typeof o!=`boolean`&&o!==``&&(a.indexOf(`--`)===0?(Ce(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||km.has(a)?(Ce(o,a),r+=i+a.replace(ym,`-$1`).toLowerCase().replace(bm,`-ms-`)+`:`+(``+o).trim()):r+=i+a.replace(ym,`-$1`).toLowerCase().replace(bm,`-ms-`)+`:`+o+`px`,i=`;`)}r||=null,t=e.getAttribute(`style`),t!==r&&(r=hu(r),hu(t)!==r&&(n.style=Su(e)))}}function wu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(N(r,t),e===``+r)return}du(t,e,r,a)}function Tu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null){switch(typeof r){case`function`:case`symbol`:return}if(!r)return}else switch(typeof r){case`function`:case`symbol`:break;default:if(r)return}du(t,e,r,a)}function Eu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(N(r,n),e===``+r)return}du(t,e,r,a)}function Du(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(!isNaN(r)&&(N(r,t),e===``+r))return}du(t,e,r,a)}function Ou(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(N(r,t),n=tn(``+r),e===n)return}du(t,e,r,a)}function ku(e,t,n,r){for(var i={},a=new Set,o=e.attributes,s=0;s<o.length;s++)switch(o[s].name.toLowerCase()){case`value`:break;case`checked`:break;case`selected`:break;default:a.add(o[s].name)}if(Yt(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(Xp.hasOwnProperty(c))typeof l!=`function`&&pu(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||du(`children`,e.textContent,l,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,l=l?l.__html:void 0,l!=null&&(l=mu(e,l),du(c,o,l,i));continue;case`style`:a.delete(c),Cu(e,l,i);continue;case`offsetParent`:case`offsetTop`:case`offsetLeft`:case`offsetWidth`:case`offsetHeight`:case`isContentEditable`:case`outerText`:case`outerHTML`:a.delete(c.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",c);continue;case`className`:a.delete(`class`),o=tt(e,`class`,l),du(`className`,o,l,i);continue;default:r.context===KS&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=tt(e,c,l),du(c,o,l,i)}}}}else for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null)){if(Xp.hasOwnProperty(l))typeof c!=`function`&&pu(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||du(`children`,e.textContent,c,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`value`:case`checked`:case`selected`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,c=c?c.__html:void 0,c!=null&&(c=mu(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:wu(e,l,`class`,c,a,i);continue;case`tabIndex`:wu(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),Cu(e,c,i);continue;case`multiple`:a.delete(l),du(l,e.multiple,c,i);continue;case`muted`:a.delete(l),du(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),du(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),du(l,o,c,i);continue}case`src`:case`href`:if(!(c!==``||t===`a`&&l===`href`||t===`object`&&l===`data`)){console.error(l===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,l,l);continue}Ou(e,l,l,c,a,i);continue;case`action`:case`formAction`:if(o=e.getAttribute(l),typeof c==`function`){a.delete(l.toLowerCase()),l===`formAction`?(a.delete(`name`),a.delete(`formenctype`),a.delete(`formmethod`),a.delete(`formtarget`)):(a.delete(`enctype`),a.delete(`method`),a.delete(`target`));continue}else if(o===AS){a.delete(l.toLowerCase()),du(l,`function`,c,i);continue}Ou(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:Ou(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Eu(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Eu(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Eu(e,l,l,c,a,i);continue;case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:Tu(e,l,l.toLowerCase(),c,a,i);continue;case`capture`:case`download`:a:{s=e;var u=o=l,d=i;if(a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:break a;default:if(!1===c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:break;case`boolean`:if(!0===c&&s===``)break a;break;default:if(N(c,o),s===``+c)break a}du(o,s,c,d)}continue;case`cols`:case`rows`:case`size`:case`span`:a:{if(s=e,u=o=l,d=i,a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:case`boolean`:break a;default:if(isNaN(c)||1>c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:case`boolean`:break;default:if(!(isNaN(c)||1>c)&&(N(c,o),s===``+c))break a}du(o,s,c,d)}continue;case`rowSpan`:Du(e,l,`rowspan`,c,a,i);continue;case`start`:Du(e,l,l,c,a,i);continue;case`xHeight`:wu(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:wu(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:wu(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:wu(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:wu(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:wu(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:wu(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:wu(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:wu(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:wu(e,l,`xml:space`,c,a,i);continue;case`inert`:c!==``||TS[l]||(TS[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l)),Tu(e,l,l,c,a,i);continue;default:if(!(2<l.length)||l[0]!==`o`&&l[0]!==`O`||l[1]!==`n`&&l[1]!==`N`){s=Xt(l),o=!1,r.context===KS&&t!==`svg`&&t!==`math`?a.delete(s.toLowerCase()):(u=l.toLowerCase(),u=Nm.hasOwnProperty(u)&&Nm[u]||null,u!==null&&u!==l&&(o=!0,a.delete(u)),a.delete(s));a:if(u=e,d=s,s=c,et(d))if(u.hasAttribute(d))u=u.getAttribute(d),N(s,d),s=u===``+s?s:u;else{switch(typeof s){case`function`:case`symbol`:break a;case`boolean`:if(u=d.toLowerCase().slice(0,5),u!==`data-`&&u!==`aria-`)break a}s=s===void 0?void 0:null}else s=void 0;o||du(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&fu(e,a,i),Object.keys(i).length===0?null:i}function Au(e,t){switch(e.length){case 0:return``;case 1:return e[0];case 2:return e[0]+` `+t+` `+e[1];default:return e.slice(0,-1).join(`, `)+`, `+t+` `+e[e.length-1]}}function ju(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Mu(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&ju(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&ju(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}function Nu(e){return e.nodeType===9?e:e.ownerDocument}function Pu(e){switch(e){case jm:return qS;case Am:return JS;default:return KS}}function Fu(e,t){if(e===KS)switch(t){case`svg`:return qS;case`math`:return JS;default:return KS}return e===qS&&t===`foreignObject`?KS:e}function Iu(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Lu(){var e=window.event;return e&&e.type===`popstate`?e===QS?!1:(QS=e,!0):(QS=null,!1)}function Ru(){var e=window.event;return e&&e!==$S?e.type:null}function zu(){var e=window.event;return e&&e!==$S?e.timeStamp:-1.1}function Bu(e){setTimeout(function(){throw e})}function Vu(e,t,n){switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&e.focus();break;case`img`:n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Hu(){}function Uu(e,t,n,r){bu(e,t,n,r),e[Hp]=r}function Wu(e){Gt(e,``)}function Gu(e,t,n){e.nodeValue=n}function Ku(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Hp]||null;if(t!==null){var n=qe(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,M(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,M(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function qu(e){return e===`head`}function Ju(e,t){e.removeChild(t)}function Yu(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function Xu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===FS||n===NS){if(r===0){e.removeChild(i),gf(t);return}r--}else if(n===PS||n===IS||n===LS||n===RS||n===MS)r++;else if(n===zS)xd(e.ownerDocument.documentElement);else if(n===VS){n=e.ownerDocument.head,xd(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Jp]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===BS&&xd(e.ownerDocument.body);n=i}while(n);gf(t)}function Zu(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===FS){if(e===0)break;e--}else n!==PS&&n!==IS&&n!==LS&&n!==RS||e++;n=r}while(n)}function Qu(e){Zu(e,!0)}function $u(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function ed(e){e.nodeValue=``}function td(e){Zu(e,!1)}function nd(e,t){t=t[GS],t=t!=null&&t.hasOwnProperty(`display`)?t.display:null,e.style.display=t==null||typeof t==`boolean`?``:(``+t).trim()}function rd(e,t){e.nodeValue=t}function id(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:id(n),Ge(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function ad(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){N(i.name,`name`);var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Jp])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=dd(e.nextSibling),e===null)break}return null}function od(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=dd(e.nextSibling),e===null))return null;return e}function sd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=dd(e.nextSibling),e===null))return null;return e}function cd(e){return e.data===IS||e.data===LS}function ld(e){return e.data===RS||e.data===IS&&e.ownerDocument.readyState!==WS}function ud(e,t){var n=e.ownerDocument;if(e.data===LS)e._reactRetry=t;else if(e.data!==IS||n.readyState!==WS)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function dd(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===PS||t===RS||t===IS||t===LS||t===MS||t===HS||t===US)break;if(t===FS||t===NS)return null}}return e}function fd(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,i=0;i<r.length;i++){var a=r[i];n[xu(a.name)]=a.name.toLowerCase()===`style`?Su(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===MS?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function pd(e,t,n){return n===null||!0!==n[jS]?(e.nodeValue===t?e=null:(t=hu(t),e=hu(e.nodeValue)===t?null:e.nodeValue),e):null}function md(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===FS||n===NS){if(t===0)return dd(e.nextSibling);t--}else n!==PS&&n!==RS&&n!==IS&&n!==LS&&n!==MS||t++}e=e.nextSibling}return null}function hd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===PS||n===RS||n===IS||n===LS||n===MS){if(t===0)return e;t--}else n!==FS&&n!==NS||t++}e=e.previousSibling}return null}function gd(e){gf(e)}function _d(e){gf(e)}function vd(e){gf(e)}function yd(e,t,n,r,i){switch(i&&Ut(e,r.ancestorInfo),t=Nu(n),e){case`html`:if(e=t.documentElement,!e)throw Error(`React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`head`:if(e=t.head,!e)throw Error(`React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`body`:if(e=t.body,!e)throw Error(`React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.`);return e;default:throw Error(`resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}}function bd(e,t,n,r){if(!n[Up]&&qe(n)){var i=n.tagName.toLowerCase();console.error(`You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.`,i,i,i)}switch(e){case`html`:case`head`:case`body`:break;default:console.error(`acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}for(i=n.attributes;i.length;)n.removeAttributeNode(i[0]);yu(n,e,t),n[Vp]=r,n[Hp]=t}function xd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ge(e)}function Sd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Cd(e,t,n){var r=mC;if(r&&typeof t==`string`&&t){var i=dt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),fC.has(i)||(fC.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),yu(t,`link`,e),Xe(t),r.head.appendChild(t)))}}function wd(e,t,n,r){var i=(i=Xf.current)?Sd(i):null;if(!i)throw Error(`"resourceRoot" was expected to exist. This is a bug in React.`);switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Ed(n.href),t=Ye(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Ed(n.href);var a=Ye(i).hoistableStyles,o=a.get(e);if(!o&&(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:oC,preload:null}},a.set(e,o),(a=i.querySelector(Dd(e)))&&!a._p&&(o.instance=a,o.state.loading=sC|uC),!dC.has(e))){var s={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};dC.set(e,s),a||kd(i,e,s,o.state)}if(t&&r===null)throw n=`
|
|
189
|
+
|
|
190
|
+
- `+Td(t)+`
|
|
191
|
+
+ `+Td(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return o}if(t&&r!==null)throw n=`
|
|
192
|
+
|
|
193
|
+
- `+Td(t)+`
|
|
194
|
+
+ `+Td(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Ad(n),t=Ye(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(`getResource encountered a type it did not expect: "`+e+`". this is a bug in React.`)}}function Td(e){var t=0,n=`<link`;return typeof e.rel==`string`?(t++,n+=` rel="`+e.rel+`"`):fp.call(e,`rel`)&&(t++,n+=` rel="`+(e.rel===null?`null`:`invalid type `+typeof e.rel)+`"`),typeof e.href==`string`?(t++,n+=` href="`+e.href+`"`):fp.call(e,`href`)&&(t++,n+=` href="`+(e.href===null?`null`:`invalid type `+typeof e.href)+`"`),typeof e.precedence==`string`?(t++,n+=` precedence="`+e.precedence+`"`):fp.call(e,`precedence`)&&(t++,n+=` precedence={`+(e.precedence===null?`null`:`invalid type `+typeof e.precedence)+`}`),Object.getOwnPropertyNames(e).length>t&&(n+=` ...`),n+` />`}function Ed(e){return`href="`+dt(e)+`"`}function Dd(e){return`link[rel="stylesheet"][`+e+`]`}function Od(e){return wf({},e,{"data-precedence":e.precedence,precedence:null})}function kd(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=sC:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=sC}),t.addEventListener(`error`,function(){return r.loading|=cC}),yu(t,`link`,n),Xe(t),e.head.appendChild(t))}function Ad(e){return`[src="`+dt(e)+`"]`}function jd(e){return`script[async]`+e}function Md(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+dt(n.href)+`"]`);if(r)return t.instance=r,Xe(r),r;var i=wf({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Xe(r),yu(r,`style`,i),Nd(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Ed(n.href);var a=e.querySelector(Dd(i));if(a)return t.state.loading|=uC,t.instance=a,Xe(a),a;r=Od(n),(i=dC.get(i))&&Pd(r,i),a=(e.ownerDocument||e).createElement(`link`),Xe(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),yu(a,`link`,r),t.state.loading|=uC,Nd(a,n.precedence,e),t.instance=a;case`script`:return a=Ad(n.src),(i=e.querySelector(jd(a)))?(t.instance=i,Xe(i),i):(r=n,(i=dC.get(a))&&(r=wf({},n),Fd(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Xe(i),yu(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(`acquireResource encountered a resource type it did not expect: "`+t.type+`". this is a bug in React.`)}else t.type===`stylesheet`&&(t.state.loading&uC)===oC&&(r=t.instance,t.state.loading|=uC,Nd(r,n.precedence,e));return t.instance}function Nd(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Pd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Fd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Id(e,t,n){if(hC===null){var r=new Map,i=hC=new Map;i.set(n,r)}else i=hC,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Jp]||a[Vp]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==jm){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Ld(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Rd(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===qS||t.itemProp!=null)return!r||t.itemProp==null||e!==`meta`&&e!==`title`&&e!==`style`&&e!==`link`&&e!==`script`||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError){if(t.rel===`stylesheet`&&typeof t.precedence==`string`){e=t.href;var i=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),i&&n.push("`onError`"),a!=null&&n.push("`disabled`"),i=Au(n,`and`),i+=n.length===1?` prop`:` props`,a=n.length===1?`an `+i:`the `+i,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,i)}r&&(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error(`Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`));break}switch(t.rel){case`stylesheet`:return e=t.precedence,t=t.disabled,typeof e!=`string`&&r&&console.error(`Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.`),typeof e==`string`&&t==null;default:return!0}case`script`:if(e=t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`,!e||t.onLoad||t.onError||!t.src||typeof t.src!=`string`){r&&(e?t.onLoad||t.onError?console.error(`Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error(`Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.`));break}return!0;case`noscript`:case`template`:r&&console.error(`Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,e)}return!1}function zd(e){return!(e.type===`stylesheet`&&(e.state.loading&lC)===oC)}function Bd(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&(n.state.loading&uC)===oC){if(n.instance===null){var i=Ed(r.href),a=t.querySelector(Dd(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Hd.bind(e),t.then(e,e)),n.state.loading|=uC,n.instance=a,Xe(a);return}a=t.ownerDocument||t,r=Od(r),(i=dC.get(i))&&Pd(r,i),a=a.createElement(`link`),Xe(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),yu(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&lC)===oC&&(e.count++,n=Hd.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Vd(e,t){return e.stylesheets&&e.count===0&&Ud(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Ud(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},gC+t);0<e.imgBytes&&yC===0&&(yC=125*Mu()*vC);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ud(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>yC?50:_C)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Hd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ud(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Ud(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,xC=new Map,t.forEach(Wd,e),xC=null,Hd.call(e))}function Wd(e,t){if(!(t.state.loading&uC)){var n=xC.get(e);if(n)var r=n.get(bC);else{n=new Map,xC.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(bC,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(bC,i),n.set(o,i),this.count++,r=Hd.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=uC}}function Gd(e,t,n,r,i,a,o,s,c){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=nC,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ne(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ne(0),this.hiddenUpdates=Ne(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?`hydrateRoot()`:`createRoot()`}function Kd(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Gd(e,t,n,o,c,l,u,d,s),t=Fg,!0===a&&(t|=Lg|Rg),t|=Ig,a=p(3,null,null,t),e.current=a,a.stateNode=e,t=ti(),ni(t),e.pooledCache=t,ni(t),a.memoizedState={element:r,isDehydrated:n,cache:t},Ui(a),e}function qd(e){return e?(e=jg,e):jg}function Jd(e,t,n,r,i,a){if(Dp&&typeof Dp.onScheduleFiberRoot==`function`)try{Dp.onScheduleFiberRoot(Ep,r,n)}catch(e){Op||(Op=!0,console.error(`React instrumentation encountered an error: %o`,e))}i=qd(i),r.context===null?r.context=i:r.pendingContext=i,dp&&up!==null&&!kC&&(kC=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
195
|
+
|
|
196
|
+
Check the render method of %s.`,D(up)||`Unknown`)),r=Gi(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(typeof a!=`function`&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),n=Ki(e,r,t),n!==null&&(ii(t,`root.render()`,null),Yc(n,e,t),qi(n,e,t))}function Yd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xd(e,t){Yd(e,t),(e=e.alternate)&&Yd(e,t)}function Zd(e){if(e.tag===13||e.tag===31){var t=lr(e,67108864);t!==null&&Yc(t,e,67108864),Xd(e,67108864)}}function Qd(e){if(e.tag===13||e.tag===31){var t=qc(e);t=ze(t);var n=lr(e,t);n!==null&&Yc(n,e,t),Xd(e,t)}}function $d(){return up}function ef(e,t,n,r){var i=K.T;K.T=null;var a=Uf.p;try{Uf.p=Ip,nf(e,t,n,r)}finally{Uf.p=a,K.T=i}}function tf(e,t,n,r){var i=K.T;K.T=null;var a=Uf.p;try{Uf.p=Lp,nf(e,t,n,r)}finally{Uf.p=a,K.T=i}}function nf(e,t,n,r){if(BC){var i=rf(r);if(i===null)au(e,t,r,VC,n),sf(e,r);else if(lf(i,e,t,n,r))r.stopPropagation();else if(sf(e,r),t&4&&-1<YC.indexOf(e)){for(;i!==null;){var a=qe(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Oe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ap(o);s.entanglements[1]|=c,o&=~c}Bl(a),(Wb&(Fb|Ib))===Pb&&(Sx=_p()+Cx,Vl(0,!1))}}break;case 31:case 13:s=lr(a,2),s!==null&&Yc(s,a,2),W(),Xd(a,2)}if(a=rf(r),a===null&&au(e,t,r,VC,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else au(e,t,r,null,n)}}function rf(e){return e=rn(e),af(e)}function af(e){if(VC=null,e=Ke(e),e!==null){var t=x(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=S(t),e!==null)return e;e=null}else if(n===31){if(e=C(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 VC=e,null}function of(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return Ip;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return Lp;case`message`:switch(vp()){case yp:return Ip;case bp:return Lp;case xp:case Sp:return Rp;case Cp:return zp;default:return Rp}default:return Rp}}function sf(e,t){switch(e){case`focusin`:case`focusout`:UC=null;break;case`dragenter`:case`dragleave`:WC=null;break;case`mouseover`:case`mouseout`:GC=null;break;case`pointerover`:case`pointerout`:KC.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:qC.delete(t.pointerId)}}function cf(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=qe(t),t!==null&&Zd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function lf(e,t,n,r,i){switch(t){case`focusin`:return UC=cf(UC,e,t,n,r,i),!0;case`dragenter`:return WC=cf(WC,e,t,n,r,i),!0;case`mouseover`:return GC=cf(GC,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return KC.set(a,cf(KC.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,qC.set(a,cf(qC.get(a)||null,e,t,n,r,i)),!0}return!1}function uf(e){var t=Ke(e.target);if(t!==null){var n=x(t);if(n!==null){if(t=n.tag,t===13){if(t=S(n),t!==null){e.blockedOn=t,We(e.priority,function(){Qd(n)});return}}else if(t===31){if(t=C(n),t!==null){e.blockedOn=t,We(e.priority,function(){Qd(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 df(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=rf(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n),i=r;Gm!==null&&console.error(`Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`),Gm=i,n.target.dispatchEvent(r),Gm===null&&console.error(`Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.`),Gm=null}else return t=qe(n),t!==null&&Zd(t),e.blockedOn=n,!1;t.shift()}return!0}function ff(e,t,n){df(e)&&n.delete(t)}function pf(){HC=!1,UC!==null&&df(UC)&&(UC=null),WC!==null&&df(WC)&&(WC=null),GC!==null&&df(GC)&&(GC=null),KC.forEach(ff),qC.forEach(ff)}function mf(e,t){e.blockedOn===t&&(e.blockedOn=null,HC||(HC=!0,xf.unstable_scheduleCallback(xf.unstable_NormalPriority,pf)))}function hf(e){XC!==e&&(XC=e,xf.unstable_scheduleCallback(xf.unstable_NormalPriority,function(){XC===e&&(XC=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(af(r||n)===null)continue;break}var a=qe(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),Do(a,n,r,i))}}))}function gf(e){function t(t){return mf(t,e)}UC!==null&&mf(UC,e),WC!==null&&mf(WC,e),GC!==null&&mf(GC,e),KC.forEach(t),qC.forEach(t);for(var n=0;n<JC.length;n++){var r=JC[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<JC.length&&(n=JC[0],n.blockedOn===null);)uf(n),n.blockedOn===null&&JC.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Hp]||null;if(typeof a==`function`)o||hf(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Hp]||null)s=o.formAction;else if(af(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),hf(n)}}}function _f(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function vf(e){this._internalRoot=e}function yf(e){this._internalRoot=e}function bf(e){e[Up]&&(e._reactRootContainer?console.error(`You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.`):console.error(`You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.`))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var xf=m(),Sf=_(),Cf=b(),wf=Object.assign,Tf=Symbol.for(`react.element`),Ef=Symbol.for(`react.transitional.element`),Df=Symbol.for(`react.portal`),Of=Symbol.for(`react.fragment`),kf=Symbol.for(`react.strict_mode`),Af=Symbol.for(`react.profiler`),jf=Symbol.for(`react.consumer`),Mf=Symbol.for(`react.context`),Nf=Symbol.for(`react.forward_ref`),Pf=Symbol.for(`react.suspense`),Ff=Symbol.for(`react.suspense_list`),If=Symbol.for(`react.memo`),Lf=Symbol.for(`react.lazy`),Rf=Symbol.for(`react.activity`),zf=Symbol.for(`react.memo_cache_sentinel`),Bf=Symbol.iterator,Vf=Symbol.for(`react.client.reference`),Hf=Array.isArray,K=Sf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Uf=Cf.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Wf=Object.freeze({pending:!1,data:null,method:null,action:null}),Gf=[],Kf=[],qf=-1,Jf=re(null),Yf=re(null),Xf=re(null),Zf=re(null),Qf=0,$f,ep,tp,np,rp,ip,ap;ce.__reactDisabledLog=!0;var op,sp,cp=!1,lp=new(typeof WeakMap==`function`?WeakMap:Map),up=null,dp=!1,fp=Object.prototype.hasOwnProperty,pp=xf.unstable_scheduleCallback,mp=xf.unstable_cancelCallback,hp=xf.unstable_shouldYield,gp=xf.unstable_requestPaint,_p=xf.unstable_now,vp=xf.unstable_getCurrentPriorityLevel,yp=xf.unstable_ImmediatePriority,bp=xf.unstable_UserBlockingPriority,xp=xf.unstable_NormalPriority,Sp=xf.unstable_LowPriority,Cp=xf.unstable_IdlePriority,wp=xf.log,Tp=xf.unstable_setDisableYieldValue,Ep=null,Dp=null,Op=!1,kp=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,Ap=Math.clz32?Math.clz32:De,jp=Math.log,Mp=Math.LN2,Np=256,Pp=262144,Fp=4194304,Ip=2,Lp=8,Rp=32,zp=268435456,Bp=Math.random().toString(36).slice(2),Vp=`__reactFiber$`+Bp,Hp=`__reactProps$`+Bp,Up=`__reactContainer$`+Bp,Wp=`__reactEvents$`+Bp,Gp=`__reactListeners$`+Bp,Kp=`__reactHandles$`+Bp,qp=`__reactResources$`+Bp,Jp=`__reactMarker$`+Bp,Yp=new Set,Xp={},Zp={},Qp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},$p=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),em={},tm={},nm=/[\n"\\]/g,rm=!1,im=!1,am=!1,om=!1,sm=!1,cm=!1,lm=[`value`,`defaultValue`],um=!1,dm=/["'&<>\n\t]|^\s|\s$/,fm=`address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp`.split(` `),pm=`applet caption html table td th marquee object template foreignObject desc title`.split(` `),mm=pm.concat([`button`]),hm=`dd dt li option optgroup p rp rt`.split(` `),gm={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},_m={},vm={animation:`animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction`.split(` `),background:`backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize`.split(` `),backgroundPosition:[`backgroundPositionX`,`backgroundPositionY`],border:`borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth`.split(` `),borderBlockEnd:[`borderBlockEndColor`,`borderBlockEndStyle`,`borderBlockEndWidth`],borderBlockStart:[`borderBlockStartColor`,`borderBlockStartStyle`,`borderBlockStartWidth`],borderBottom:[`borderBottomColor`,`borderBottomStyle`,`borderBottomWidth`],borderColor:[`borderBottomColor`,`borderLeftColor`,`borderRightColor`,`borderTopColor`],borderImage:[`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`],borderInlineEnd:[`borderInlineEndColor`,`borderInlineEndStyle`,`borderInlineEndWidth`],borderInlineStart:[`borderInlineStartColor`,`borderInlineStartStyle`,`borderInlineStartWidth`],borderLeft:[`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`],borderRadius:[`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderTopLeftRadius`,`borderTopRightRadius`],borderRight:[`borderRightColor`,`borderRightStyle`,`borderRightWidth`],borderStyle:[`borderBottomStyle`,`borderLeftStyle`,`borderRightStyle`,`borderTopStyle`],borderTop:[`borderTopColor`,`borderTopStyle`,`borderTopWidth`],borderWidth:[`borderBottomWidth`,`borderLeftWidth`,`borderRightWidth`,`borderTopWidth`],columnRule:[`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`],columns:[`columnCount`,`columnWidth`],flex:[`flexBasis`,`flexGrow`,`flexShrink`],flexFlow:[`flexDirection`,`flexWrap`],font:`fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight`.split(` `),fontVariant:`fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition`.split(` `),gap:[`columnGap`,`rowGap`],grid:`gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows`.split(` `),gridArea:[`gridColumnEnd`,`gridColumnStart`,`gridRowEnd`,`gridRowStart`],gridColumn:[`gridColumnEnd`,`gridColumnStart`],gridColumnGap:[`columnGap`],gridGap:[`columnGap`,`rowGap`],gridRow:[`gridRowEnd`,`gridRowStart`],gridRowGap:[`rowGap`],gridTemplate:[`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`],listStyle:[`listStyleImage`,`listStylePosition`,`listStyleType`],margin:[`marginBottom`,`marginLeft`,`marginRight`,`marginTop`],marker:[`markerEnd`,`markerMid`,`markerStart`],mask:`maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize`.split(` `),maskPosition:[`maskPositionX`,`maskPositionY`],outline:[`outlineColor`,`outlineStyle`,`outlineWidth`],overflow:[`overflowX`,`overflowY`],padding:[`paddingBottom`,`paddingLeft`,`paddingRight`,`paddingTop`],placeContent:[`alignContent`,`justifyContent`],placeItems:[`alignItems`,`justifyItems`],placeSelf:[`alignSelf`,`justifySelf`],textDecoration:[`textDecorationColor`,`textDecorationLine`,`textDecorationStyle`],textEmphasis:[`textEmphasisColor`,`textEmphasisStyle`],transition:[`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`],wordWrap:[`overflowWrap`]},ym=/([A-Z])/g,bm=/^ms-/,xm=/^(?:webkit|moz|o)[A-Z]/,Sm=/^-ms-/,Cm=/-(.)/g,wm=/;\s*$/,Tm={},Em={},Dm=!1,Om=!1,km=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),Am=`http://www.w3.org/1998/Math/MathML`,jm=`http://www.w3.org/2000/svg`,Mm=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Nm={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},Pm={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Fm={},Im=RegExp(`^(aria)-[: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]*$`),Lm=RegExp(`^(aria)[A-Z][: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]*$`),Rm=!1,zm={},Bm=/^on./,Vm=/^on[^A-Z]/,Hm=RegExp(`^(aria)-[: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]*$`),Um=RegExp(`^(aria)[A-Z][: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]*$`),Wm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Gm=null,Km=null,qm=null,Jm=!1,Ym=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),Xm=!1;if(Ym)try{var Zm={};Object.defineProperty(Zm,`passive`,{get:function(){Xm=!0}}),window.addEventListener(`test`,Zm,Zm),window.removeEventListener(`test`,Zm,Zm)}catch{Xm=!1}var Qm=null,$m=null,eh=null,th={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nh=fn(th),rh=wf({},th,{view:0,detail:0}),ih=fn(rh),ah,oh,sh,ch=wf({},rh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,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!==sh&&(sh&&e.type===`mousemove`?(ah=e.screenX-sh.screenX,oh=e.screenY-sh.screenY):oh=ah=0,sh=e),ah)},movementY:function(e){return`movementY`in e?e.movementY:oh}}),lh=fn(ch),uh=fn(wf({},ch,{dataTransfer:0})),dh=fn(wf({},rh,{relatedTarget:0})),fh=fn(wf({},th,{animationName:0,elapsedTime:0,pseudoElement:0})),ph=fn(wf({},th,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),mh=fn(wf({},th,{data:0})),hh=mh,gh={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},_h={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`},vh={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`},yh=fn(wf({},rh,{key:function(e){if(e.key){var t=gh[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=ln(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?_h[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return e.type===`keypress`?ln(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?ln(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),bh=fn(wf({},ch,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xh=fn(wf({},rh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),Sh=fn(wf({},th,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ch=fn(wf({},ch,{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})),wh=fn(wf({},th,{newState:0,oldState:0})),Th=[9,13,27,32],Eh=229,Dh=Ym&&`CompositionEvent`in window,Oh=null;Ym&&`documentMode`in document&&(Oh=document.documentMode);var kh=Ym&&`TextEvent`in window&&!Oh,Ah=Ym&&(!Dh||Oh&&8<Oh&&11>=Oh),jh=32,Mh=String.fromCharCode(jh),Nh=!1,Ph=!1,Fh={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},Ih=null,Lh=null,Rh=!1;Ym&&(Rh=bn(`input`)&&(!document.documentMode||9<document.documentMode));var zh=typeof Object.is==`function`?Object.is:jn,Bh=Ym&&`documentMode`in document&&11>=document.documentMode,Vh=null,Hh=null,Uh=null,Wh=!1,Gh={animationend:zn(`Animation`,`AnimationEnd`),animationiteration:zn(`Animation`,`AnimationIteration`),animationstart:zn(`Animation`,`AnimationStart`),transitionrun:zn(`Transition`,`TransitionRun`),transitionstart:zn(`Transition`,`TransitionStart`),transitioncancel:zn(`Transition`,`TransitionCancel`),transitionend:zn(`Transition`,`TransitionEnd`)},Kh={},qh={};Ym&&(qh=document.createElement(`div`).style,`AnimationEvent`in window||(delete Gh.animationend.animation,delete Gh.animationiteration.animation,delete Gh.animationstart.animation),`TransitionEvent`in window||delete Gh.transitionend.transition);var Jh=Bn(`animationend`),Yh=Bn(`animationiteration`),Xh=Bn(`animationstart`),Zh=Bn(`transitionrun`),Qh=Bn(`transitionstart`),$h=Bn(`transitioncancel`),eg=Bn(`transitionend`),tg=new Map,ng=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ng.push(`scrollEnd`);var rg=0;if(typeof performance==`object`&&typeof performance.now==`function`)var ig=performance,ag=function(){return ig.now()};else{var og=Date;ag=function(){return og.now()}}var sg=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},cg=`This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.`,lg=0,ug=1,dg=2,fg=3,pg=`–\xA0`,mg=`+\xA0`,hg=` \xA0`,gg=typeof console<`u`&&typeof console.timeStamp==`function`&&typeof performance<`u`&&typeof performance.measure==`function`,_g=`Components ⚛`,vg=`Scheduler ⚛`,yg=`Blocking`,bg=!1,xg={color:`primary`,properties:null,tooltipText:``,track:_g},Sg={start:-0,end:-0,detail:{devtools:xg}},Cg=[`Changed Props`,``],wg=`This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,Tg=[`Changed Props`,wg],Eg=1,Dg=2,Og=[],kg=0,Ag=0,jg={};Object.freeze(jg);var Mg=null,Ng=null,Pg=0,Fg=1,Ig=2,Lg=8,Rg=16,zg=32,Bg=!1;try{var Vg=Object.preventExtensions({});new Map([[Vg,null]]),new Set([Vg])}catch{Bg=!0}var Hg=new WeakMap,Ug=[],Wg=0,Gg=null,Kg=0,qg=[],Jg=0,Yg=null,Xg=1,Zg=``,Qg=null,$g=null,e_=!1,t_=!1,n_=null,r_=null,i_=!1,a_=Error(`Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),o_=re(null),s_=re(null),c_={},l_=null,u_=null,d_=!1,f_=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},p_=xf.unstable_scheduleCallback,m_=xf.unstable_NormalPriority,h_={$$typeof:Mf,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g_=xf.unstable_now,__=console.createTask?console.createTask:function(){return null},v_=1,y_=2,b_=-0,x_=-0,S_=-0,C_=null,w_=-1.1,T_=-0,E_=-0,q=-1.1,J=-1.1,D_=null,O_=!1,k_=-0,A_=-1.1,j_=null,M_=0,N_=null,P_=null,F_=-1.1,I_=null,L_=-1.1,R_=-1.1,z_=-0,B_=-1.1,V_=-1.1,H_=0,U_=null,W_=null,G_=null,K_=-1.1,q_=null,J_=-1.1,Y_=-1.1,X_=-0,Z_=-0,Q_=0,$_=null,ev=0,tv=-1.1,nv=!1,rv=!1,iv=null,av=0,ov=0,sv=null,cv=K.S;K.S=function(e,t){if(bx=_p(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>B_&&0>V_){B_=g_();var n=zu(),r=Ru();(n!==J_||r!==q_)&&(J_=-1.1),K_=n,q_=r}yi(e,t)}cv!==null&&cv(e,t)};var lv=re(null),uv={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},dv=[],fv=[],pv=[],mv=[],hv=[],gv=[],_v=new Set;uv.recordUnsafeLifecycleWarnings=function(e,t){_v.has(e.type)||(typeof t.componentWillMount==`function`&&!0!==t.componentWillMount.__suppressDeprecationWarning&&dv.push(e),e.mode&Lg&&typeof t.UNSAFE_componentWillMount==`function`&&fv.push(e),typeof t.componentWillReceiveProps==`function`&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&pv.push(e),e.mode&Lg&&typeof t.UNSAFE_componentWillReceiveProps==`function`&&mv.push(e),typeof t.componentWillUpdate==`function`&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&hv.push(e),e.mode&Lg&&typeof t.UNSAFE_componentWillUpdate==`function`&&gv.push(e))},uv.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<dv.length&&(dv.forEach(function(t){e.add(D(t)||`Component`),_v.add(t.type)}),dv=[]);var t=new Set;0<fv.length&&(fv.forEach(function(e){t.add(D(e)||`Component`),_v.add(e.type)}),fv=[]);var n=new Set;0<pv.length&&(pv.forEach(function(e){n.add(D(e)||`Component`),_v.add(e.type)}),pv=[]);var r=new Set;0<mv.length&&(mv.forEach(function(e){r.add(D(e)||`Component`),_v.add(e.type)}),mv=[]);var i=new Set;0<hv.length&&(hv.forEach(function(e){i.add(D(e)||`Component`),_v.add(e.type)}),hv=[]);var a=new Set;if(0<gv.length&&(gv.forEach(function(e){a.add(D(e)||`Component`),_v.add(e.type)}),gv=[]),0<t.size){var o=f(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
197
|
+
|
|
198
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
199
|
+
|
|
200
|
+
Please update the following components: %s`,o)}0<r.size&&(o=f(r),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
201
|
+
|
|
202
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
203
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
204
|
+
|
|
205
|
+
Please update the following components: %s`,o)),0<a.size&&(o=f(a),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
206
|
+
|
|
207
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
208
|
+
|
|
209
|
+
Please update the following components: %s`,o)),0<e.size&&(o=f(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
210
|
+
|
|
211
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
212
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
213
|
+
|
|
214
|
+
Please update the following components: %s`,o)),0<n.size&&(o=f(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
215
|
+
|
|
216
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
217
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
218
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
219
|
+
|
|
220
|
+
Please update the following components: %s`,o)),0<i.size&&(o=f(i),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
221
|
+
|
|
222
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
223
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
224
|
+
|
|
225
|
+
Please update the following components: %s`,o))};var vv=new Map,yv=new Set;uv.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;r!==null;)r.mode&Lg&&(n=r),r=r.return;n===null?console.error(`Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.`):!yv.has(e.type)&&(r=vv.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==`function`)&&(r===void 0&&(r=[],vv.set(n,r)),r.push(e))},uv.flushLegacyContextWarning=function(){vv.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(e){n.add(D(e)||`Component`),yv.add(e.type)});var r=f(n);M(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
226
|
+
|
|
227
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
228
|
+
|
|
229
|
+
Please update the following components: %s
|
|
230
|
+
|
|
231
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},uv.discardPendingWarnings=function(){dv=[],fv=[],pv=[],mv=[],hv=[],gv=[],vv=new Map};var bv={react_stack_bottom_frame:function(e,t,n){var r=dp;dp=!0;try{return e(t,n)}finally{dp=r}}},xv=bv.react_stack_bottom_frame.bind(bv),Sv={react_stack_bottom_frame:function(e){var t=dp;dp=!0;try{return e.render()}finally{dp=t}}},Cv=Sv.react_stack_bottom_frame.bind(Sv),wv={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){Dl(e,e.return,t)}}},Tv=wv.react_stack_bottom_frame.bind(wv),Ev={react_stack_bottom_frame:function(e,t,n,r,i){try{t.componentDidUpdate(n,r,i)}catch(t){Dl(e,e.return,t)}}},Dv=Ev.react_stack_bottom_frame.bind(Ev),Ov={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n===null?``:n})}},kv=Ov.react_stack_bottom_frame.bind(Ov),Av={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){Dl(e,t,n)}}},jv=Av.react_stack_bottom_frame.bind(Av),Mv={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Nv=Mv.react_stack_bottom_frame.bind(Mv),Pv={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){Dl(e,t,n)}}},Fv=Pv.react_stack_bottom_frame.bind(Pv),Iv={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Lv=Iv.react_stack_bottom_frame.bind(Iv),Rv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),zv=Error(`Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),Bv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Vv={then:function(){console.error(`Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.`)}},Hv=null,Uv=!1,Wv=null,Gv=0,Kv=null,qv,Jv=qv=!1,Yv={},Xv={},Zv={};d=function(e,t,n){if(typeof n==`object`&&n&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=D(e),i=r||`null`;if(!Yv[i]){Yv[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=D(e))&&(a=`
|
|
232
|
+
|
|
233
|
+
Check the render method of \``+i+"`."),a||r&&(a=`
|
|
234
|
+
|
|
235
|
+
Check the top-level render call using <`+r+`>.`);var o=``;n!=null&&e!==n&&(r=null,typeof n.tag==`number`?r=D(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),M(t,function(){console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,a,o)})}}};var Qv=Vi(!0),$v=Vi(!1),ey=0,ty=1,Y=2,ny=3,ry=!1,iy=!1,ay=null,oy=!1,sy=re(null),cy=re(0),X=re(null),ly=null,uy=1,dy=2,fy=re(0),py=0,my=1,hy=2,gy=4,_y=8,vy,yy=new Set,by=new Set,xy=new Set,Sy=new Set,Cy=0,wy=null,Ty=null,Ey=null,Dy=!1,Oy=!1,ky=!1,Ay=0,jy=0,My=null,Ny=0,Py=25,Z=null,Fy=null,Iy=-1,Ly=!1,Ry={readContext:Qr,use:Ta,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useLayoutEffect:fa,useInsertionEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useSyncExternalStore:fa,useId:fa,useHostTransitionStatus:fa,useFormState:fa,useActionState:fa,useOptimistic:fa,useMemoCache:fa,useCacheRefresh:fa};Ry.useEffectEvent=fa;var zy=null,By=null,Vy=null,Hy=null,Uy=null,Wy=null,Gy=null;zy={readContext:function(e){return Qr(e)},use:Ta,useCallback:function(e,t){return Z=`useCallback`,la(),ua(t),go(e,t)},useContext:function(e){return Z=`useContext`,la(),Qr(e)},useEffect:function(e,t){return Z=`useEffect`,la(),ua(t),so(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,la(),ua(n),mo(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,la(),ua(t),ao(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,la(),ua(t),fo(e,t)},useMemo:function(e,t){Z=`useMemo`,la(),ua(t);var n=K.H;K.H=Uy;try{return vo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,la();var r=K.H;K.H=Uy;try{return Oa(e,t,n)}finally{K.H=r}},useRef:function(e){return Z=`useRef`,la(),io(e)},useState:function(e){Z=`useState`,la();var t=K.H;K.H=Uy;try{return Ba(e)}finally{K.H=t}},useDebugValue:function(){Z=`useDebugValue`,la()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,la(),bo(e,t)},useTransition:function(){return Z=`useTransition`,la(),Ao()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,la(),Ma(e,t,n)},useId:function(){return Z=`useId`,la(),Po()},useFormState:function(e,t){return Z=`useFormState`,la(),da(),Qa(e,t)},useActionState:function(e,t){return Z=`useActionState`,la(),Qa(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,la(),Va(e)},useHostTransitionStatus:No,useMemoCache:Ea,useCacheRefresh:function(){return Z=`useCacheRefresh`,la(),Fo()},useEffectEvent:function(e){return Z=`useEffectEvent`,la(),lo(e)}},By={readContext:function(e){return Qr(e)},use:Ta,useCallback:function(e,t){return Z=`useCallback`,H(),go(e,t)},useContext:function(e){return Z=`useContext`,H(),Qr(e)},useEffect:function(e,t){return Z=`useEffect`,H(),so(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,H(),mo(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,H(),ao(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,H(),fo(e,t)},useMemo:function(e,t){Z=`useMemo`,H();var n=K.H;K.H=Uy;try{return vo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,H();var r=K.H;K.H=Uy;try{return Oa(e,t,n)}finally{K.H=r}},useRef:function(e){return Z=`useRef`,H(),io(e)},useState:function(e){Z=`useState`,H();var t=K.H;K.H=Uy;try{return Ba(e)}finally{K.H=t}},useDebugValue:function(){Z=`useDebugValue`,H()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,H(),bo(e,t)},useTransition:function(){return Z=`useTransition`,H(),Ao()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,H(),Ma(e,t,n)},useId:function(){return Z=`useId`,H(),Po()},useActionState:function(e,t){return Z=`useActionState`,H(),Qa(e,t)},useFormState:function(e,t){return Z=`useFormState`,H(),da(),Qa(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,H(),Va(e)},useHostTransitionStatus:No,useMemoCache:Ea,useCacheRefresh:function(){return Z=`useCacheRefresh`,H(),Fo()},useEffectEvent:function(e){return Z=`useEffectEvent`,H(),lo(e)}},Vy={readContext:function(e){return Qr(e)},use:Ta,useCallback:function(e,t){return Z=`useCallback`,H(),_o(e,t)},useContext:function(e){return Z=`useContext`,H(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,H(),oo(2048,_y,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,H(),ho(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,H(),oo(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,H(),oo(4,gy,e,t)},useMemo:function(e,t){Z=`useMemo`,H();var n=K.H;K.H=Wy;try{return yo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,H();var r=K.H;K.H=Wy;try{return ka(e,t,n)}finally{K.H=r}},useRef:function(){return Z=`useRef`,H(),Sa().memoizedState},useState:function(){Z=`useState`,H();var e=K.H;K.H=Wy;try{return ka(Da)}finally{K.H=e}},useDebugValue:function(){Z=`useDebugValue`,H()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,H(),xo(e,t)},useTransition:function(){return Z=`useTransition`,H(),jo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,H(),Na(e,t,n)},useId:function(){return Z=`useId`,H(),Sa().memoizedState},useFormState:function(e){return Z=`useFormState`,H(),da(),$a(e)},useActionState:function(e){return Z=`useActionState`,H(),$a(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,H(),Ha(e,t)},useHostTransitionStatus:No,useMemoCache:Ea,useCacheRefresh:function(){return Z=`useCacheRefresh`,H(),Sa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,H(),uo(e)}},Hy={readContext:function(e){return Qr(e)},use:Ta,useCallback:function(e,t){return Z=`useCallback`,H(),_o(e,t)},useContext:function(e){return Z=`useContext`,H(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,H(),oo(2048,_y,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,H(),ho(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,H(),oo(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,H(),oo(4,gy,e,t)},useMemo:function(e,t){Z=`useMemo`,H();var n=K.H;K.H=Gy;try{return yo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,H();var r=K.H;K.H=Gy;try{return ja(e,t,n)}finally{K.H=r}},useRef:function(){return Z=`useRef`,H(),Sa().memoizedState},useState:function(){Z=`useState`,H();var e=K.H;K.H=Gy;try{return ja(Da)}finally{K.H=e}},useDebugValue:function(){Z=`useDebugValue`,H()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,H(),So(e,t)},useTransition:function(){return Z=`useTransition`,H(),Mo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,H(),Na(e,t,n)},useId:function(){return Z=`useId`,H(),Sa().memoizedState},useFormState:function(e){return Z=`useFormState`,H(),da(),no(e)},useActionState:function(e){return Z=`useActionState`,H(),no(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,H(),Wa(e,t)},useHostTransitionStatus:No,useMemoCache:Ea,useCacheRefresh:function(){return Z=`useCacheRefresh`,H(),Sa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,H(),uo(e)}},Uy={readContext:function(e){return l(),Qr(e)},use:function(e){return c(),Ta(e)},useCallback:function(e,t){return Z=`useCallback`,c(),la(),go(e,t)},useContext:function(e){return Z=`useContext`,c(),la(),Qr(e)},useEffect:function(e,t){return Z=`useEffect`,c(),la(),so(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),la(),mo(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,c(),la(),ao(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),la(),fo(e,t)},useMemo:function(e,t){Z=`useMemo`,c(),la();var n=K.H;K.H=Uy;try{return vo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),la();var r=K.H;K.H=Uy;try{return Oa(e,t,n)}finally{K.H=r}},useRef:function(e){return Z=`useRef`,c(),la(),io(e)},useState:function(e){Z=`useState`,c(),la();var t=K.H;K.H=Uy;try{return Ba(e)}finally{K.H=t}},useDebugValue:function(){Z=`useDebugValue`,c(),la()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),la(),bo(e,t)},useTransition:function(){return Z=`useTransition`,c(),la(),Ao()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),la(),Ma(e,t,n)},useId:function(){return Z=`useId`,c(),la(),Po()},useFormState:function(e,t){return Z=`useFormState`,c(),la(),Qa(e,t)},useActionState:function(e,t){return Z=`useActionState`,c(),la(),Qa(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,c(),la(),Va(e)},useMemoCache:function(e){return c(),Ea(e)},useHostTransitionStatus:No,useCacheRefresh:function(){return Z=`useCacheRefresh`,la(),Fo()},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),la(),lo(e)}},Wy={readContext:function(e){return l(),Qr(e)},use:function(e){return c(),Ta(e)},useCallback:function(e,t){return Z=`useCallback`,c(),H(),_o(e,t)},useContext:function(e){return Z=`useContext`,c(),H(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,c(),H(),oo(2048,_y,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),H(),ho(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,c(),H(),oo(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),H(),oo(4,gy,e,t)},useMemo:function(e,t){Z=`useMemo`,c(),H();var n=K.H;K.H=Wy;try{return yo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),H();var r=K.H;K.H=Wy;try{return ka(e,t,n)}finally{K.H=r}},useRef:function(){return Z=`useRef`,c(),H(),Sa().memoizedState},useState:function(){Z=`useState`,c(),H();var e=K.H;K.H=Wy;try{return ka(Da)}finally{K.H=e}},useDebugValue:function(){Z=`useDebugValue`,c(),H()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),H(),xo(e,t)},useTransition:function(){return Z=`useTransition`,c(),H(),jo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),H(),Na(e,t,n)},useId:function(){return Z=`useId`,c(),H(),Sa().memoizedState},useFormState:function(e){return Z=`useFormState`,c(),H(),$a(e)},useActionState:function(e){return Z=`useActionState`,c(),H(),$a(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,c(),H(),Ha(e,t)},useMemoCache:function(e){return c(),Ea(e)},useHostTransitionStatus:No,useCacheRefresh:function(){return Z=`useCacheRefresh`,H(),Sa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),H(),uo(e)}},Gy={readContext:function(e){return l(),Qr(e)},use:function(e){return c(),Ta(e)},useCallback:function(e,t){return Z=`useCallback`,c(),H(),_o(e,t)},useContext:function(e){return Z=`useContext`,c(),H(),Qr(e)},useEffect:function(e,t){Z=`useEffect`,c(),H(),oo(2048,_y,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),H(),ho(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,c(),H(),oo(4,hy,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),H(),oo(4,gy,e,t)},useMemo:function(e,t){Z=`useMemo`,c(),H();var n=K.H;K.H=Wy;try{return yo(e,t)}finally{K.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),H();var r=K.H;K.H=Wy;try{return ja(e,t,n)}finally{K.H=r}},useRef:function(){return Z=`useRef`,c(),H(),Sa().memoizedState},useState:function(){Z=`useState`,c(),H();var e=K.H;K.H=Wy;try{return ja(Da)}finally{K.H=e}},useDebugValue:function(){Z=`useDebugValue`,c(),H()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),H(),So(e,t)},useTransition:function(){return Z=`useTransition`,c(),H(),Mo()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),H(),Na(e,t,n)},useId:function(){return Z=`useId`,c(),H(),Sa().memoizedState},useFormState:function(e){return Z=`useFormState`,c(),H(),no(e)},useActionState:function(e){return Z=`useActionState`,c(),H(),no(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,c(),H(),Wa(e,t)},useMemoCache:function(e){return c(),Ea(e)},useHostTransitionStatus:No,useCacheRefresh:function(){return Z=`useCacheRefresh`,H(),Sa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),H(),uo(e)}};var Ky={},qy=new Set,Jy=new Set,Yy=new Set,Xy=new Set,Zy=new Set,Qy=new Set,$y=new Set,eb=new Set,tb=new Set,nb=new Set;Object.freeze(Ky);var rb={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qc(e),i=Gi(r);i.payload=t,n!=null&&(Wo(n),i.callback=n),t=Ki(e,i,r),t!==null&&(ii(r,`this.setState()`,e),Yc(t,e,r),qi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qc(e),i=Gi(r);i.tag=ty,i.payload=t,n!=null&&(Wo(n),i.callback=n),t=Ki(e,i,r),t!==null&&(ii(r,`this.replaceState()`,e),Yc(t,e,r),qi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qc(e),r=Gi(n);r.tag=Y,t!=null&&(Wo(t),r.callback=t),t=Ki(e,r,n),t!==null&&(ii(n,`this.forceUpdate()`,e),Yc(t,e,n),qi(t,e,n))}},ib=null,ab=null,ob=Error(`This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.`),sb=!1,cb={},lb={},ub={},db={},fb=!1,pb={},mb={},hb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},gb=!1,_b=null;_b=new Set;var vb=!1,yb=!1,bb=!1,xb=typeof WeakSet==`function`?WeakSet:Set,Sb=null,Cb=null,wb=null,Tb=null,Eb=!1,Db=null,Ob=!1,kb=8192,Ab={getCacheForType:function(e){var t=Qr(h_),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Qr(h_).controller.signal},getOwner:function(){return up}};if(typeof Symbol==`function`&&Symbol.for){var jb=Symbol.for;jb(`selector.component`),jb(`selector.has_pseudo_class`),jb(`selector.role`),jb(`selector.test_id`),jb(`selector.text`)}var Mb=[],Nb=typeof WeakMap==`function`?WeakMap:Map,Pb=0,Fb=2,Ib=4,Lb=0,Rb=1,zb=2,Bb=3,Vb=4,Hb=6,Ub=5,Wb=Pb,Gb=null,Kb=null,qb=0,Jb=0,Yb=1,Xb=2,Zb=3,Qb=4,$b=5,ex=6,tx=7,nx=8,rx=9,ix=Jb,ax=null,ox=!1,sx=!1,cx=!1,lx=0,ux=Lb,dx=0,fx=0,px=0,mx=0,hx=0,gx=null,_x=null,vx=!1,yx=0,bx=0,xx=300,Sx=1/0,Cx=500,wx=null,Tx=null,Ex=null,Dx=0,Ox=1,kx=2,Ax=3,jx=0,Mx=1,Nx=2,Px=3,Fx=4,Ix=5,Lx=0,Rx=null,zx=null,Bx=0,Vx=0,Hx=-0,Ux=null,Wx=null,Gx=null,Kx=Dx,qx=null,Jx=50,Yx=0,Xx=null,Zx=!1,Qx=!1,$x=50,eS=0,tS=null,nS=!1,rS=null,iS=!1,aS=new Set,oS={},sS=null,cS=null,lS=!1,uS=!1,dS=!1,fS=!1,pS=0,mS={};(function(){for(var e=0;e<ng.length;e++){var t=ng[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Vn(n,`on`+t)}Vn(Jh,`onAnimationEnd`),Vn(Yh,`onAnimationIteration`),Vn(Xh,`onAnimationStart`),Vn(`dblclick`,`onDoubleClick`),Vn(`focusin`,`onFocus`),Vn(`focusout`,`onBlur`),Vn(Zh,`onTransitionRun`),Vn(Qh,`onTransitionStart`),Vn($h,`onTransitionCancel`),Vn(eg,`onTransitionEnd`)})(),Qe(`onMouseEnter`,[`mouseout`,`mouseover`]),Qe(`onMouseLeave`,[`mouseout`,`mouseover`]),Qe(`onPointerEnter`,[`pointerout`,`pointerover`]),Qe(`onPointerLeave`,[`pointerout`,`pointerover`]),Ze(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Ze(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Ze(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Ze(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Ze(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Ze(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var hS=`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(` `),gS=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(hS)),_S=`_reactListening`+Math.random().toString(36).slice(2),vS=!1,yS=!1,bS=!1,xS=!1,SS=!1,CS=!1,wS=!1,TS={},ES=/\r\n?/g,DS=/\u0000|\uFFFD/g,OS=`http://www.w3.org/1999/xlink`,kS=`http://www.w3.org/XML/1998/namespace`,AS=`javascript:throw new Error('React form unexpectedly submitted.')`,jS=`suppressHydrationWarning`,MS=`&`,NS=`/&`,PS=`$`,FS=`/$`,IS=`$?`,LS=`$~`,RS=`$!`,zS=`html`,BS=`body`,VS=`head`,HS=`F!`,US=`F`,WS=`loading`,GS=`style`,KS=0,qS=1,JS=2,YS=null,XS=null,ZS={dialog:!0,webview:!0},QS=null,$S=void 0,eC=typeof setTimeout==`function`?setTimeout:void 0,tC=typeof clearTimeout==`function`?clearTimeout:void 0,nC=-1,rC=typeof Promise==`function`?Promise:void 0,iC=typeof queueMicrotask==`function`?queueMicrotask:rC===void 0?eC:function(e){return rC.resolve(null).then(e).catch(Bu)},aC=null,oC=0,sC=1,cC=2,lC=3,uC=4,dC=new Map,fC=new Set,pC=Uf.d;Uf.d={f:function(){var e=pC.f(),t=W();return e||t},r:function(e){var t=qe(e);t!==null&&t.tag===5&&t.type===`form`?ko(t):pC.r(e)},D:function(e){pC.D(e),Cd(`dns-prefetch`,e,null)},C:function(e,t){pC.C(e,t),Cd(`preconnect`,e,t)},L:function(e,t,n){pC.L(e,t,n);var r=mC;if(r&&e&&t){var i=`link[rel="preload"][as="`+dt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+dt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+dt(n.imageSizes)+`"]`)):i+=`[href="`+dt(e)+`"]`;var a=i;switch(t){case`style`:a=Ed(e);break;case`script`:a=Ad(e)}dC.has(a)||(e=wf({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),dC.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Dd(a))||t===`script`&&r.querySelector(jd(a))||(t=r.createElement(`link`),yu(t,`link`,e),Xe(t),r.head.appendChild(t)))}},m:function(e,t){pC.m(e,t);var n=mC;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+dt(r)+`"][href="`+dt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ad(e)}if(!dC.has(a)&&(e=wf({rel:`modulepreload`,href:e},t),dC.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(jd(a)))return}r=n.createElement(`link`),yu(r,`link`,e),Xe(r),n.head.appendChild(r)}}},X:function(e,t){pC.X(e,t);var n=mC;if(n&&e){var r=Ye(n).hoistableScripts,i=Ad(e),a=r.get(i);a||(a=n.querySelector(jd(i)),a||(e=wf({src:e,async:!0},t),(t=dC.get(i))&&Fd(e,t),a=n.createElement(`script`),Xe(a),yu(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){pC.S(e,t,n);var r=mC;if(r&&e){var i=Ye(r).hoistableStyles,a=Ed(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:oC,preload:null};if(o=r.querySelector(Dd(a)))s.loading=sC|uC;else{e=wf({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=dC.get(a))&&Pd(e,n);var c=o=r.createElement(`link`);Xe(c),yu(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=sC}),c.addEventListener(`error`,function(){s.loading|=cC}),s.loading|=uC,Nd(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){pC.M(e,t);var n=mC;if(n&&e){var r=Ye(n).hoistableScripts,i=Ad(e),a=r.get(i);a||(a=n.querySelector(jd(i)),a||(e=wf({src:e,async:!0,type:`module`},t),(t=dC.get(i))&&Fd(e,t),a=n.createElement(`script`),Xe(a),yu(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}};var mC=typeof document>`u`?null:document,hC=null,gC=6e4,_C=800,vC=500,yC=0,bC=null,xC=null,SC=Wf,CC={$$typeof:Mf,Provider:null,Consumer:null,_currentValue:SC,_currentValue2:SC,_threadCount:0},wC=`%c%s%c`,TC=`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,EC=``,DC=` `,OC=Function.prototype.bind,kC=!1,AC=null,jC=null,MC=null,NC=null,PC=null,FC=null,IC=null,LC=null,RC=null,zC=null;AC=function(e,r,i,a){r=t(e,r),r!==null&&(i=n(r.memoizedState,i,0,a),r.memoizedState=i,r.baseState=i,e.memoizedProps=wf({},e.memoizedProps),i=lr(e,2),i!==null&&Yc(i,e,2))},jC=function(e,n,r){n=t(e,n),n!==null&&(r=a(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,e.memoizedProps=wf({},e.memoizedProps),r=lr(e,2),r!==null&&Yc(r,e,2))},MC=function(e,n,i,a){n=t(e,n),n!==null&&(i=r(n.memoizedState,i,a),n.memoizedState=i,n.baseState=i,e.memoizedProps=wf({},e.memoizedProps),i=lr(e,2),i!==null&&Yc(i,e,2))},NC=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=lr(e,2),t!==null&&Yc(t,e,2)},PC=function(e,t){e.pendingProps=a(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=lr(e,2),t!==null&&Yc(t,e,2)},FC=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=lr(e,2),t!==null&&Yc(t,e,2)},IC=function(e){var t=lr(e,2);t!==null&&Yc(t,e,2)},LC=function(e){var t=Me(),n=lr(e,t);n!==null&&Yc(n,e,t)},RC=function(e){s=e},zC=function(e){o=e};var BC=!0,VC=null,HC=!1,UC=null,WC=null,GC=null,KC=new Map,qC=new Map,JC=[],YC=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `),XC=null;if(yf.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(`Cannot update an unmounted root.`);var n=arguments;typeof n[1]==`function`?console.error(`does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`):y(n[1])?console.error(`You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.`):n[1]!==void 0&&console.error(`You passed a second argument to root.render(...) but it only accepts one argument.`),n=e;var r=t.current;Jd(r,qc(r),n,t,null,null)},yf.prototype.unmount=vf.prototype.unmount=function(){var e=arguments;if(typeof e[0]==`function`&&console.error(`does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Wb&(Fb|Ib))!==Pb&&console.error(`Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.`),Jd(e.current,2,null,e,null,null),W(),t[Up]=null}},yf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ue();e={blockedOn:null,target:e,priority:t};for(var n=0;n<JC.length&&t!==0&&t<JC[n].priority;n++);JC.splice(n,0,e),n===0&&uf(e)}},(function(){var e=Sf.version;if(e!==`19.2.6`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
236
|
+
- react: `+(e+`
|
|
237
|
+
- react-dom: 19.2.6
|
|
238
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills`),Uf.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(`Unable to find node on an unmounted component.`):(e=Object.keys(e).join(`,`),Error(`Argument appears to not be a ReactComponent. Keys: `+e));return e=T(t),e=e===null?null:ee(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.2.6`,rendererPackageName:`react-dom`,currentDispatcherRef:K,reconcilerVersion:`19.2.6`};return e.overrideHookState=AC,e.overrideHookStateDeletePath=jC,e.overrideHookStateRenamePath=MC,e.overrideProps=NC,e.overridePropsDeletePath=PC,e.overridePropsRenamePath=FC,e.scheduleUpdate=IC,e.scheduleRetry=LC,e.setErrorHandler=RC,e.setSuspenseHandler=zC,e.scheduleRefresh=g,e.scheduleRoot=h,e.setRefreshHandler=v,e.getCurrentFiber=$d,Te(e)})()&&Ym&&window.top===window.self&&(-1<navigator.userAgent.indexOf(`Chrome`)&&navigator.userAgent.indexOf(`Edge`)===-1||-1<navigator.userAgent.indexOf(`Firefox`))){var ZC=window.location.protocol;/^(https?|file):$/.test(ZC)&&console.info(`%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools`+(ZC===`file:`?`
|
|
239
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:``),`font-weight:bold`)}e.createRoot=function(e,t){if(!y(e))throw Error(`Target container is not a DOM element.`);bf(e);var n=!1,r=``,i=Yo,a=Xo,o=Zo;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Ef&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
240
|
+
|
|
241
|
+
let root = createRoot(domContainer);
|
|
242
|
+
root.render(<App />);`),!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Kd(e,1,!1,null,null,n,r,null,i,a,o,_f),e[Up]=t.current,ru(e),new vf(t)},e.hydrateRoot=function(e,t,n){if(!y(e))throw Error(`Target container is not a DOM element.`);bf(e),t===void 0&&console.error(`Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`);var r=!1,i=``,a=Yo,o=Xo,s=Zo,c=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(c=n.formState)),t=Kd(e,1,!0,t,n??null,r,i,c,a,o,s,_f),t.context=qd(null),n=t.current,r=qc(n),r=ze(r),i=Gi(r),i.callback=null,Ki(n,i,r),ii(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Pe(t,n),Bl(t),e[Up]=t.current,ru(e),new yf(t)},e.version=`19.2.6`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),C=d(c(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`)){if(process.env.NODE_ENV!==`production`)throw Error(`^_^`);try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}}process.env.NODE_ENV===`production`?(n(),t.exports=x()):t.exports=S()}))(),1),w=_();function T(e){let t=[],n=e;for(;;){let e=n.indexOf(`
|
|
243
|
+
|
|
244
|
+
`);if(e===-1)break;let r=n.slice(0,e);n=n.slice(e+2);let i=`message`,a=``;for(let e of r.split(`
|
|
245
|
+
`))e.startsWith(`event:`)?i=e.slice(6).trim():e.startsWith(`data:`)&&(a+=e.slice(5).trim());if(a)try{t.push({event:i,data:JSON.parse(a)})}catch{t.push({event:i,data:{raw:a}})}}return{events:t,rest:n}}function ee({api:e,headers:t={}}){let[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(``),[o,s]=(0,w.useState)(!1),[c,l]=(0,w.useState)(null),u=(0,w.useRef)(null),d=(0,w.useRef)(null),f=(0,w.useRef)(t);f.current=t;let p=(0,w.useCallback)(e=>a(e.target.value),[]),m=(0,w.useCallback)(async t=>{s(!0),l(null);let n=new AbortController;d.current=n;try{let i=await fetch(e,{method:`POST`,headers:{"Content-Type":`application/json`,...f.current},body:JSON.stringify(t),signal:n.signal});if(!i.ok||!i.body){let e=`HTTP ${i.status}`;try{let t=await i.json();t.detail&&(e=t.detail)}catch{}throw Error(e)}let a=i.body.getReader(),o=new TextDecoder,s=``,c=!1,d=[],p=``,m=()=>{c||(c=!0,r(e=>[...e,{role:`assistant`,content:``,thinking:[...d],reasoning:p}]))},h=e=>{p+=e,c?r(e=>{let t=[...e],n=t[t.length-1];return n?.role===`assistant`&&(t[t.length-1]={...n,reasoning:p}),t}):(c=!0,r(e=>[...e,{role:`assistant`,content:``,thinking:[...d],reasoning:p}]))},g=e=>{d.push(e),c&&r(e=>{let t=[...e],n=t[t.length-1];return n?.role===`assistant`&&(t[t.length-1]={...n,thinking:[...d]}),t})};for(;;){let{done:e,value:t}=await a.read();if(e)break;s+=o.decode(t,{stream:!0});let n=T(s);s=n.rest;for(let{event:e,data:t}of n.events)if(e===`thread`&&t.thread_id)u.current=t.thread_id;else if(e===`reasoning_token`&&t.content)h(t.content);else if(e===`token`&&t.content)m(),r(e=>{let n=[...e],r=n[n.length-1];return n[n.length-1]={...r,content:r.content+t.content},n});else if(e===`final`&&t.message)m(),r(e=>{let n=[...e],r=n[n.length-1];return n[n.length-1]={...r,role:`assistant`,content:t.message,thinking:[...d]},n});else if(e===`question`)r(e=>[...e,{role:`question`,question:t}]),l(t);else if(e===`reasoning_decision`)g({kind:`reasoning_decision`,needs_reasoning:t.needs_reasoning,complexity:t.complexity,why:t.why});else if(e===`route`)g({kind:`route`,flow:t.flow,reasoning:t.reasoning});else if(e===`memory_load`)g({kind:`memory_load`,client:t.client||[],skills:t.skills||[]});else if(e===`memory_write`)g({kind:`memory_write`,slug:t.slug,type:t.type});else if(e===`skill_save`)g({kind:`skill_save`,slug:t.slug});else if(e===`tool`)g({kind:`tool`,name:t.name,args:t.args});else if(e===`tool_result`)g({kind:`tool_result`,name:t.name,summary:t.summary,error:t.error});else if(e===`node`)t.name&&t.phase===`complete`&&g({kind:`node`,name:t.name});else if(e===`error`)throw Error(t.detail||`stream error`)}}catch(e){if(e.name===`AbortError`)return;r(t=>[...t,{role:`assistant`,content:`⚠️ ${e.message}`}])}finally{s(!1),d.current=null}},[e]),h=(0,w.useCallback)((e,t)=>{if(e?.preventDefault&&e.preventDefault(),o||c)return;let n=(t??i).trim();n&&(a(``),r(e=>[...e,{role:`user`,content:n}]),m({message:n,thread_id:u.current??void 0}))},[i,o,c,m]),g=(0,w.useCallback)((e,t)=>{if(!o){if(!u.current){console.warn(`sendResume called without a thread_id`);return}r(n=>[...n,{role:`user`,content:t??String(e)}]),m({thread_id:u.current,resume_value:e})}},[o,m]),_=(0,w.useCallback)(()=>{d.current&&d.current.abort(),u.current=null,r([]),a(``),l(null),s(!1)},[]),v=(0,w.useCallback)((e,t)=>{d.current&&d.current.abort(),u.current=e,r(t.map(e=>({role:e.role,content:e.content}))),a(``),l(null),s(!1)},[]);return{messages:n,input:i,setInput:a,handleInputChange:p,handleSubmit:h,isLoading:o,pendingQuestion:c,sendResume:g,threadId:u.current,startNewChat:_,loadThread:v}}var te=3e4;function E({apiEndpoint:e,headers:t,enabled:n}){let[r,i]=(0,w.useState)([]),[a,o]=(0,w.useState)(!1),[s,c]=(0,w.useState)(null),[l,u]=(0,w.useState)(0),d=(0,w.useRef)(new Set),f=(0,w.useRef)(t);f.current=t;let p=(0,w.useCallback)(async()=>{o(!0),c(null);try{let t=await fetch(`${e}/incidents?page_size=100`,{headers:f.current});if(!t.ok)throw Error(`HTTP ${t.status}`);let n=(await t.json()).items||[];i(n);let r=d.current;if(r.size===0)n.forEach(e=>r.add(e.id));else{let e=0;n.forEach(t=>{r.has(t.id)||(r.add(t.id),e+=1)}),e>0&&u(t=>t+e)}}catch(e){c(e.message||`Failed to load incidents`)}finally{o(!1)}},[e]);return(0,w.useEffect)(()=>{if(!n)return;p();let e=setInterval(p,te);return()=>clearInterval(e)},[n,p]),{incidents:r,loading:a,error:s,unreadCount:l,refresh:p,getDetail:(0,w.useCallback)(async t=>{let n=await fetch(`${e}/incidents/${t}`,{headers:f.current});if(!n.ok)throw Error(`HTTP ${n.status}`);return await n.json()},[e]),markAllRead:(0,w.useCallback)(()=>u(0),[])}}var ne=c((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),D=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ne?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case w:return`Suspense`;case T:return`SuspenseList`;case E:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case g:return`Portal`;case S:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case C:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ee:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case te:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===v)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===te)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=D.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(re.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){ie||(ie=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return ae[e]||(ae[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:h,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d){var p=n.children;if(p!==void 0)if(o)if(O(p)){for(o=0;o<p.length;o++)f(p[o]);Object.freeze&&Object.freeze(p)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else f(p);if(re.call(n,`key`)){p=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,oe[p+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
246
|
+
let props = %s;
|
|
247
|
+
<%s {...props} />
|
|
248
|
+
React keys must be passed directly to JSX without using spread:
|
|
249
|
+
let props = %s;
|
|
250
|
+
<%s key={someKey} {...props} />`,o,p,m,p),oe[p+o]=!0)}if(p=null,i!==void 0&&(r(i),p=``+i),s(n)&&(r(n.key),p=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return p&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,p,i,a(),l,d)}function f(e){p(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===te&&(e._payload.status===`fulfilled`?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e==`object`&&!!e&&e.$$typeof===h}var m=_(),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),S=Symbol.for(`react.context`),C=Symbol.for(`react.forward_ref`),w=Symbol.for(`react.suspense`),T=Symbol.for(`react.suspense_list`),ee=Symbol.for(`react.memo`),te=Symbol.for(`react.lazy`),E=Symbol.for(`react.activity`),ne=Symbol.for(`react.client.reference`),D=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=Object.prototype.hasOwnProperty,O=Array.isArray,k=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(e){return e()}};var ie,ae={},A=m.react_stack_bottom_frame.bind(m,o)(),j=k(i(o)),oe={};e.Fragment=v,e.jsx=function(e,t,n){var r=1e4>D.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r?Error(`react-stack-top-frame`):A,r?k(i(e)):j)},e.jsxs=function(e,t,n){var r=1e4>D.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r?Error(`react-stack-top-frame`):A,r?k(i(e)):j)}})()})),re=c(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=ne():t.exports=D()})),O=re();function k({question:e,onAnswer:t,disabled:n}){let[r,i]=(0,w.useState)(``),a=e.options||[],o=e=>{n||t(e.value,e.label)};return(0,O.jsxs)(`div`,{className:`nw-clarify ${n?`is-disabled`:``}`,children:[e.header&&(0,O.jsx)(`div`,{className:`nw-clarify-chip`,children:e.header}),(0,O.jsx)(`div`,{className:`nw-clarify-text`,children:e.text}),a.length>0&&(0,O.jsx)(`div`,{className:`nw-clarify-options`,children:a.map(e=>(0,O.jsx)(`button`,{type:`button`,className:`nw-clarify-option`,onClick:()=>o(e),disabled:n,title:e.description||``,children:e.label},e.value))}),e.allow_text&&(0,O.jsxs)(`form`,{className:`nw-clarify-text-row`,onSubmit:e=>{if(e?.preventDefault?.(),n)return;let a=r.trim();a&&(i(``),t(a,a))},children:[(0,O.jsx)(`input`,{className:`nw-clarify-input`,type:`text`,value:r,onChange:e=>i(e.target.value),placeholder:a.length?`Other…`:`Type your answer`,disabled:n}),(0,O.jsx)(`button`,{type:`submit`,className:`nw-clarify-submit`,disabled:n||!r.trim(),children:`Send`})]})]})}var ie={route:`🧭`,memory_load:`📚`,memory_write:`💾`,skill_save:`🎓`,tool:`🔧`,tool_result:`✓`,node:`→`,reasoning_decision:`🧠`},ae={zabbix_host_get:`List hosts`,zabbix_hostgroup_get:`List host groups`,zabbix_item_get:`Look up items`,zabbix_problem_get:`Search problems`,zabbix_trigger_get:`Check triggers`,zabbix_event_get:`Check events`,zabbix_history_get:`Fetch metric history`,zabbix_trend_get:`Fetch metric trend`,zabbix_template_get:`Look up templates`,zabbix_service_get:`Check services`,zabbix_maintenance_get:`Check maintenance windows`,zabbix_usermacro_get:`Read macros`},A=e=>ae[e]||(e||``).replace(/^zabbix_/,``),j={load_context:`Loading context`,classify_intent:`Choosing flow`,refine_goal:`Understanding your request`,clarify_goal:`Clarifying details`,load_host_context:`Looking up the host`,investigate:`Investigating`,draft_case:`Drafting the case report`,respond:`Writing the answer`,save_artifacts:`Saving to memory`,chat:`Answering`,clarify_demo:`Demo step`,investigate_spike:`Spike investigation`},oe=e=>j[e]||e;function se(e){if(!e||typeof e!=`object`)return``;let t=Object.entries(e).filter(([,e])=>e!=null&&e!==``);if(t.length===0)return``;let n=t.map(([e,t])=>{let n=typeof t==`string`?t:JSON.stringify(t);return`${e}=${n.length>40?n.slice(0,40)+`…`:n}`}).join(`, `);return n.length>160?n.slice(0,160)+`…`:n}function ce({entry:e}){let t=ie[e.kind]||`•`;if(e.kind===`reasoning_decision`)return(0,O.jsxs)(`div`,{className:`nw-think-row`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsxs)(`span`,{children:[(0,O.jsxs)(`span`,{className:`nw-think-label`,children:[`Reasoning `,e.needs_reasoning?`on`:`off`]}),` `,(0,O.jsxs)(`span`,{className:`nw-think-aside`,children:[`— `,e.complexity,`: `,e.why]})]})]});if(e.kind===`route`)return(0,O.jsxs)(`div`,{className:`nw-think-row`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsxs)(`span`,{children:[(0,O.jsx)(`span`,{className:`nw-think-label`,children:`Routing to`}),` `,(0,O.jsx)(`code`,{className:`nw-think-code`,children:e.flow}),e.reasoning&&(0,O.jsxs)(`span`,{className:`nw-think-aside`,children:[` — `,e.reasoning]})]})]});if(e.kind===`memory_load`){let n=(e.client?.length||0)+(e.skills?.length||0);return(0,O.jsxs)(`div`,{className:`nw-think-row`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsxs)(`span`,{children:[(0,O.jsx)(`span`,{className:`nw-think-label`,children:`Loaded context`}),n>0?(0,O.jsxs)(`span`,{className:`nw-think-aside`,children:[` `,`— `,e.client?.length||0,` client memories, `,e.skills?.length||0,` skills`]}):(0,O.jsx)(`span`,{className:`nw-think-aside`,children:` — system prompt only`})]})]})}if(e.kind===`memory_write`)return(0,O.jsxs)(`div`,{className:`nw-think-row`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsxs)(`span`,{children:[(0,O.jsxs)(`span`,{className:`nw-think-label`,children:[`Saved `,e.type||`memory`,`:`]}),` `,(0,O.jsx)(`code`,{className:`nw-think-code`,children:e.slug})]})]});if(e.kind===`skill_save`)return(0,O.jsxs)(`div`,{className:`nw-think-row`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsxs)(`span`,{children:[(0,O.jsx)(`span`,{className:`nw-think-label`,children:`Saved skill:`}),` `,(0,O.jsx)(`code`,{className:`nw-think-code`,children:e.slug})]})]});if(e.kind===`tool`)return(0,O.jsxs)(`div`,{className:`nw-think-row`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsxs)(`span`,{children:[(0,O.jsx)(`span`,{className:`nw-think-label`,children:A(e.name)}),se(e.args)&&(0,O.jsxs)(`span`,{className:`nw-think-aside`,children:[` · `,se(e.args)]})]})]});if(e.kind===`tool_result`){let t=!e.error;return(0,O.jsxs)(`div`,{className:`nw-think-row ${t?`nw-think-ok`:`nw-think-err`}`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t?`✓`:`✗`}),(0,O.jsxs)(`span`,{children:[(0,O.jsx)(`span`,{className:`nw-think-label`,children:A(e.name)}),(0,O.jsxs)(`span`,{className:`nw-think-aside`,children:[` `,`— `,e.error||e.summary||`ok`]})]})]})}return e.kind===`node`?(0,O.jsxs)(`div`,{className:`nw-think-row nw-think-node`,children:[(0,O.jsx)(`span`,{className:`nw-think-icon`,children:t}),(0,O.jsx)(`span`,{className:`nw-think-label`,children:oe(e.name)})]}):null}function le({entries:e=[],reasoning:t=``,defaultOpen:n=!1,busy:r=!1}){let i=e&&e.length>0,a=!!(t&&t.trim());if(!i&&!a)return null;let o=e.length;return(0,O.jsxs)(`details`,{className:`nw-think`,open:n,children:[(0,O.jsxs)(`summary`,{className:`nw-think-summary`,children:[(0,O.jsx)(`span`,{className:`nw-think-dot ${r?`busy`:``}`}),(0,O.jsx)(`span`,{className:`nw-think-title`,children:r?`Thinking`:`Thought`}),i&&(0,O.jsxs)(`span`,{className:`nw-think-count`,children:[`(`,o,` `,o===1?`step`:`steps`,`)`]})]}),(0,O.jsxs)(`div`,{className:`nw-think-body`,children:[a&&(0,O.jsxs)(`div`,{className:`nw-reasoning`,children:[t,r&&(0,O.jsx)(`span`,{className:`nw-reasoning-cursor`,children:`▍`})]}),e.map((e,t)=>(0,O.jsx)(ce,{entry:e},t))]})]})}var ue={0:`Not classified`,1:`Information`,2:`Warning`,3:`Average`,4:`High`,5:`Disaster`},de={0:`nw-sev-0`,1:`nw-sev-1`,2:`nw-sev-2`,3:`nw-sev-3`,4:`nw-sev-4`,5:`nw-sev-5`},fe={pending:`nw-status-pending`,investigating:`nw-status-investigating`,investigated:`nw-status-investigated`,failed:`nw-status-failed`};function pe(e){if(!e)return``;let t=new Date(e).getTime();if(Number.isNaN(t))return``;let n=Math.max(0,Math.floor((Date.now()-t)/1e3));return n<60?`just now`:n<3600?`${Math.floor(n/60)}m ago`:n<86400?`${Math.floor(n/3600)}h ago`:n<86400*7?`${Math.floor(n/86400)}d ago`:new Date(e).toLocaleDateString()}function me(e){if(!e)return`unknown`;let t=new Date(e);return Number.isNaN(t.getTime())?`unknown`:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)}`}function he(e){if(e===`unknown`)return 1/0;let[t,n,r]=e.split(`-`).map(Number),i=new Date(t,n-1,r).getTime(),a=new Date;return a.setHours(0,0,0,0),Math.round((a.getTime()-i)/864e5)}function ge(e){if(e===`unknown`)return`Unknown date`;let t=he(e),[n,r,i]=e.split(`-`).map(Number),a=new Date(n,r-1,i).toLocaleDateString(void 0,{month:`short`,day:`numeric`,year:t>365?`numeric`:void 0});return t===0?`Today · ${a}`:t===1?`Yesterday · ${a}`:t>1&&t<7?`${t} days ago · ${a}`:a}function _e(e){let t=new Map;for(let n of e){let e=me(n.opened_at||n.created_at);t.has(e)||t.set(e,[]),t.get(e).push(n)}return Array.from(t.entries()).map(([e,t])=>({key:e,label:ge(e),items:t})).sort((e,t)=>e.key===`unknown`?1:t.key===`unknown`?-1:t.key.localeCompare(e.key))}function ve({value:e,source:t}){if(!e||e<1)return null;let n=120-(e-1)/4*120;return(0,O.jsx)(`span`,{className:`nw-importance-pill ${t===`user`?`is-user`:`is-sev`}`,style:{background:`hsl(${n}, 70%, 45%)`},title:t===`user`?`User importance ${e}/5`:`Severity ${e}/5`,children:e})}function M(e){if(!e)return``;let t=new Date(e*1e3);return Number.isNaN(t.getTime())?``:t.toISOString().slice(0,16).replace(`T`,` `)+` UTC`}function ye({score:e}){if(typeof e!=`number`)return null;let t=Math.round(e*100),n=`nw-validity-low`;return t>=80?n=`nw-validity-high`:t>=60&&(n=`nw-validity-med`),(0,O.jsxs)(`span`,{className:`nw-validity ${n}`,children:[`validity `,t,`%`]})}function be({incidents:e,loading:t,error:n,onRefresh:r,onSelect:i,onOpenInChat:a}){let o=_e(e),[s,c]=(0,w.useState)({});(0,w.useEffect)(()=>{let e={};o.forEach(t=>{let n=he(t.key);e[t.key]=n>0}),c(e)},[o.map(e=>e.key).join(`|`)]);let l=e=>c(t=>({...t,[e]:!t[e]}));return(0,O.jsxs)(`div`,{className:`nw-incidents`,children:[(0,O.jsxs)(`div`,{className:`nw-incidents-header`,children:[(0,O.jsxs)(`div`,{className:`nw-incidents-title`,children:[`Incidents `,(0,O.jsxs)(`span`,{className:`nw-incidents-count`,children:[`(`,e.length,`)`]})]}),(0,O.jsx)(`button`,{className:`nw-incidents-refresh`,onClick:r,disabled:t,title:`Refresh`,children:t?`…`:`↻`})]}),(0,O.jsxs)(`div`,{className:`nw-incidents-body`,children:[n&&(0,O.jsxs)(`div`,{className:`nw-incidents-empty`,children:[`⚠️ `,n]}),!n&&!t&&e.length===0&&(0,O.jsx)(`div`,{className:`nw-incidents-empty`,children:`No incidents yet.`}),o.map(e=>(0,O.jsxs)(`div`,{className:`nw-incidents-group`,children:[(0,O.jsxs)(`button`,{type:`button`,className:`nw-incidents-group-head ${s[e.key]?`is-collapsed`:`is-open`}`,onClick:()=>l(e.key),children:[(0,O.jsx)(`span`,{className:`nw-incidents-group-chevron ${s[e.key]?``:`is-open`}`,children:`▸`}),(0,O.jsx)(`span`,{className:`nw-incidents-group-label`,children:e.label}),(0,O.jsx)(`span`,{className:`nw-incidents-group-count`,children:e.items.length})]}),!s[e.key]&&e.items.map(e=>(0,O.jsxs)(`button`,{className:`nw-incident-row`,onClick:()=>i(e),children:[(0,O.jsxs)(`div`,{className:`nw-incident-row-top`,children:[(0,O.jsx)(ve,{value:e.effective_importance??e.severity,source:e.user_importance==null?`severity`:`user`}),(0,O.jsx)(`span`,{className:`nw-incident-host`,children:e.host||`—`}),(0,O.jsx)(`span`,{className:`nw-status ${fe[e.status]||``}`,children:e.status})]}),(0,O.jsx)(`div`,{className:`nw-incident-name`,children:e.alert_name||`(unnamed)`}),(0,O.jsxs)(`div`,{className:`nw-incident-meta`,children:[(0,O.jsx)(`span`,{children:ue[e.severity]||e.severity}),(0,O.jsx)(`span`,{children:`·`}),(0,O.jsxs)(`span`,{children:[`opened `,pe(e.opened_at||e.created_at)]}),e.resolved_at&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`span`,{children:`·`}),(0,O.jsxs)(`span`,{children:[`resolved `,pe(e.resolved_at)]})]}),e.strategy&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`span`,{children:`·`}),(0,O.jsx)(`span`,{className:`nw-strategy`,children:e.strategy})]})]})]},e.id))]},e.key))]})]})}function xe({apiEndpoint:e,authHeaders:t,incidentId:n,getDetail:r,onBack:i,onOpenInChat:a,onReinvestigated:o}){let[s,c]=(0,w.useState)(null),[l,u]=(0,w.useState)(!0),[d,f]=(0,w.useState)(null),[p,m]=(0,w.useState)(!1),[h,g]=(0,w.useState)(!1),_=()=>(u(!0),f(null),r(n).then(e=>(c(e),u(!1),e)).catch(e=>{f(e.message||`Failed`),u(!1)})),v=()=>r(n).then(e=>(c(e),e)).catch(()=>void 0);(0,w.useEffect)(()=>{let e=!1;return u(!0),f(null),r(n).then(t=>{e||(c(t),u(!1))}).catch(t=>{e||(f(t.message||`Failed`),u(!1))}),()=>{e=!0}},[n,r]);let y=s&&(s.status===`pending`||s.status===`investigating`);(0,w.useEffect)(()=>{if(!y)return;let e=setInterval(v,2500);return()=>clearInterval(e)},[y,n]);let b=async()=>{if(!p){m(!0);try{let r=await fetch(`${e}/incidents/${n}/reinvestigate`,{method:`POST`,headers:t});if(!r.ok)throw Error(`HTTP ${r.status}`);g(!0),await _(),o?.()}catch(e){f(e.message||`Re-investigate failed`)}finally{m(!1)}}};if(l)return(0,O.jsxs)(`div`,{className:`nw-incidents`,children:[(0,O.jsx)(N,{onBack:i,title:`Loading…`}),(0,O.jsx)(`div`,{className:`nw-incidents-empty`,children:`Loading incident…`})]});if(d||!s)return(0,O.jsxs)(`div`,{className:`nw-incidents`,children:[(0,O.jsx)(N,{onBack:i,title:`Error`}),(0,O.jsxs)(`div`,{className:`nw-incidents-empty`,children:[`⚠️ `,d||`Not found`]})]});let x=s.case_report||{},S=s.correlation||{};return(0,O.jsxs)(`div`,{className:`nw-incidents`,children:[(0,O.jsx)(N,{onBack:i,title:s.alert_name||`(unnamed)`,canOpen:!!a,onOpenInChat:()=>a&&a(s),onReinvestigate:b,reinvesting:p,onToggleLogs:()=>g(e=>!e),showLogs:h}),h&&(0,O.jsx)(Ce,{apiEndpoint:e,authHeaders:t,incidentId:n,live:y}),(0,O.jsxs)(`div`,{className:`nw-detail-body`,children:[(0,O.jsxs)(`div`,{className:`nw-detail-summary`,children:[(0,O.jsx)(`span`,{className:`nw-sev-dot ${de[s.severity]||`nw-sev-0`}`}),(0,O.jsx)(`span`,{className:`nw-incident-host`,children:s.host||`—`}),(0,O.jsx)(`span`,{className:`nw-status ${fe[s.status]||``}`,children:s.status}),(0,O.jsx)(`span`,{className:`nw-detail-spacer`}),s.strategy&&(0,O.jsx)(`span`,{className:`nw-strategy`,children:s.strategy})]}),(0,O.jsxs)(`div`,{className:`nw-detail-meta`,children:[s.opened_at&&(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`b`,{children:`Fired at:`}),` `,M(Date.parse(s.opened_at)/1e3),` `,`(`,pe(s.opened_at),`)`,(0,O.jsx)(`span`,{className:`nw-detail-meta-hint`,children:` — when the trigger fired in Netwatch`})]}),s.created_at&&(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`b`,{children:`Received:`}),` `,M(Date.parse(s.created_at)/1e3),` `,`(`,pe(s.created_at),`)`,(0,O.jsx)(`span`,{className:`nw-detail-meta-hint`,children:` — when our backend ingested the alert`})]}),s.resolved_at&&(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`b`,{children:`Resolved:`}),` `,M(Date.parse(s.resolved_at)/1e3),` `,`(`,pe(s.resolved_at),`)`]})]}),x.statement&&(0,O.jsxs)(`section`,{className:`nw-detail-section`,children:[(0,O.jsxs)(`div`,{className:`nw-detail-section-head`,children:[`Diagnosis`,(0,O.jsx)(ye,{score:x.validity_score}),x.category&&(0,O.jsx)(`span`,{className:`nw-category`,children:x.category})]}),(0,O.jsx)(`div`,{className:`nw-detail-statement`,children:x.statement})]}),Array.isArray(x.causal_chain)&&x.causal_chain.length>0&&(0,O.jsxs)(`section`,{className:`nw-detail-section`,children:[(0,O.jsx)(`div`,{className:`nw-detail-section-head`,children:`Causal chain`}),(0,O.jsx)(`ol`,{className:`nw-detail-list`,children:x.causal_chain.map((e,t)=>(0,O.jsx)(`li`,{children:e},t))})]}),Array.isArray(x.remediation_steps)&&x.remediation_steps.length>0&&(0,O.jsxs)(`section`,{className:`nw-detail-section`,children:[(0,O.jsx)(`div`,{className:`nw-detail-section-head`,children:`Remediation`}),(0,O.jsx)(`ul`,{className:`nw-detail-list`,children:x.remediation_steps.map((e,t)=>(0,O.jsx)(`li`,{children:e},t))})]}),Array.isArray(x.validated_claims)&&x.validated_claims.length>0&&(0,O.jsxs)(`section`,{className:`nw-detail-section`,children:[(0,O.jsx)(`div`,{className:`nw-detail-section-head`,children:`Validated claims`}),(0,O.jsx)(`ul`,{className:`nw-detail-claims`,children:x.validated_claims.map((e,t)=>(0,O.jsxs)(`li`,{children:[(0,O.jsx)(`div`,{className:`nw-claim`,children:e.claim}),e.evidence&&(0,O.jsxs)(`div`,{className:`nw-claim-evidence`,children:[`↪ `,e.evidence]})]},t))})]}),Array.isArray(x.non_validated_claims)&&x.non_validated_claims.length>0&&(0,O.jsxs)(`section`,{className:`nw-detail-section`,children:[(0,O.jsx)(`div`,{className:`nw-detail-section-head nw-warn`,children:`Unverified claims`}),(0,O.jsx)(`ul`,{className:`nw-detail-list`,children:x.non_validated_claims.map((e,t)=>(0,O.jsx)(`li`,{children:e},t))})]}),!!(S.peers?.length>0||S.host_other_problems?.length>0||S.recurrence_24h&&S.recurrence_24h>0||S.recurrence_7d&&S.recurrence_7d>0)&&(0,O.jsxs)(`section`,{className:`nw-detail-section`,children:[(0,O.jsx)(`div`,{className:`nw-detail-section-head`,children:`Correlation`}),S.peers?.length>0&&(0,O.jsxs)(`div`,{className:`nw-corr-block`,children:[(0,O.jsx)(`b`,{children:S.peers.length}),` peer host(s) with the same trigger right now: `,` `,S.peers.slice(0,5).map(e=>e.host).join(`, `)]}),S.host_other_problems?.length>0&&(0,O.jsxs)(`div`,{className:`nw-corr-block`,children:[(0,O.jsx)(`b`,{children:S.host_other_problems.length}),` other open problem(s) on this host:`,(0,O.jsx)(`ul`,{className:`nw-detail-list`,children:S.host_other_problems.slice(0,5).map(e=>(0,O.jsx)(`li`,{children:e.name},e.eventid))})]}),((S.recurrence_24h??0)>0||(S.recurrence_7d??0)>0)&&(0,O.jsxs)(`div`,{className:`nw-corr-block`,children:[`Recurrence: `,(0,O.jsx)(`b`,{children:S.recurrence_24h??0}),` in 24h,`,(0,O.jsxs)(`b`,{children:[` `,S.recurrence_7d??0]}),` in 7d`]})]}),(0,O.jsx)(Se,{apiEndpoint:e,authHeaders:t,incidentId:n,initialImportance:s.user_importance,initialRating:s.response_rating,initialNotes:s.user_feedback,submittedAt:s.feedback_submitted_at,onSaved:e=>c(e)})]})]})}function Se({apiEndpoint:e,authHeaders:t,incidentId:n,initialImportance:r,initialRating:i,initialNotes:a,submittedAt:o,onSaved:s}){let[c,l]=(0,w.useState)(r??3),[u,d]=(0,w.useState)(i??0),[f,p]=(0,w.useState)(a??``),[m,h]=(0,w.useState)(!1),[g,_]=(0,w.useState)(null),[v,y]=(0,w.useState)(!1);(0,w.useEffect)(()=>{l(r??3),d(i??0),p(a??``)},[n,r,i,a]);let b=120-(c-1)/4*120;return(0,O.jsxs)(`section`,{className:`nw-detail-section nw-feedback`,children:[(0,O.jsxs)(`div`,{className:`nw-detail-section-head`,children:[`Your feedback`,o&&(0,O.jsxs)(`span`,{className:`nw-feedback-saved-at`,children:[`saved `,pe(o)]})]}),(0,O.jsxs)(`div`,{className:`nw-feedback-row`,children:[(0,O.jsx)(`label`,{className:`nw-feedback-label`,children:`How important is this alert to you?`}),(0,O.jsxs)(`div`,{className:`nw-feedback-slider-wrap`,children:[(0,O.jsx)(`input`,{type:`range`,min:`1`,max:`5`,step:`1`,value:c,onChange:e=>l(Number(e.target.value)),className:`nw-feedback-slider`,style:{"--nw-slider-hue":b}}),(0,O.jsx)(`span`,{className:`nw-feedback-slider-value`,style:{background:`hsl(${b}, 70%, 45%)`},children:c})]}),(0,O.jsxs)(`div`,{className:`nw-feedback-slider-legend`,children:[(0,O.jsx)(`span`,{children:`1 — not important`}),(0,O.jsx)(`span`,{children:`5 — critical`})]})]}),(0,O.jsxs)(`div`,{className:`nw-feedback-row`,children:[(0,O.jsxs)(`label`,{className:`nw-feedback-label`,children:[`How was the investigation? `,(0,O.jsx)(`span`,{className:`nw-feedback-optional`,children:`(optional)`})]}),(0,O.jsx)(`div`,{className:`nw-feedback-stars`,children:[1,2,3,4,5].map(e=>(0,O.jsx)(`button`,{type:`button`,className:`nw-feedback-star ${e<=u?`on`:``}`,onClick:()=>d(u===e?0:e),title:`${e} of 5`,children:`★`},e))})]}),(0,O.jsxs)(`div`,{className:`nw-feedback-row`,children:[(0,O.jsxs)(`label`,{className:`nw-feedback-label`,children:[`Notes `,(0,O.jsx)(`span`,{className:`nw-feedback-optional`,children:`(optional)`})]}),(0,O.jsx)(`textarea`,{className:`nw-feedback-notes`,value:f,onChange:e=>p(e.target.value),placeholder:`e.g. CPU spikes between 02:00–03:00 are expected on this host (nightly backup).`,rows:3})]}),(0,O.jsxs)(`div`,{className:`nw-feedback-actions`,children:[(0,O.jsx)(`button`,{className:`nw-feedback-save`,onClick:async()=>{h(!0),_(null);try{let r=await fetch(`${e}/incidents/${n}/feedback`,{method:`PATCH`,headers:{...t,"Content-Type":`application/json`},body:JSON.stringify({user_importance:c,response_rating:u>0?u:null,user_feedback:f.trim()||null})});if(!r.ok)throw Error(`HTTP ${r.status}`);let i=await r.json();s?.(i),y(!0),setTimeout(()=>y(!1),1800)}catch(e){_(e.message||`Save failed`)}finally{h(!1)}},disabled:m,children:m?`Saving…`:`Save feedback`}),v&&(0,O.jsx)(`span`,{className:`nw-feedback-flash`,children:`✓ Saved`}),g&&(0,O.jsxs)(`span`,{className:`nw-feedback-error`,children:[`⚠️ `,g]})]})]})}function N({onBack:e,title:t,canOpen:n,onOpenInChat:r,onReinvestigate:i,reinvesting:a,onToggleLogs:o,showLogs:s}){return(0,O.jsxs)(`div`,{className:`nw-incidents-header`,children:[(0,O.jsx)(`button`,{className:`nw-incidents-back`,onClick:e,title:`Back`,children:`‹`}),(0,O.jsx)(`div`,{className:`nw-incidents-title nw-detail-title`,children:t}),o&&(0,O.jsx)(`button`,{className:`nw-history-new`,onClick:o,title:`View the investigation's JSONL trace`,children:s?`Hide logs`:`Logs`}),i&&(0,O.jsx)(`button`,{className:`nw-history-new`,onClick:i,disabled:a,title:`Re-run the investigation pipeline on this incident`,children:a?`Queued…`:`⟳ Re-investigate`}),n&&(0,O.jsx)(`button`,{className:`nw-history-new`,onClick:r,title:`Start a chat about this incident`,children:`Ask in chat →`})]})}function Ce({apiEndpoint:e,authHeaders:t,incidentId:n,live:r}){let[i,a]=(0,w.useState)(null),[o,s]=(0,w.useState)(!0),[c,l]=(0,w.useState)(null),[u,d]=(0,w.useState)(`sse`),f=(0,w.useRef)(null),[p,m]=(0,w.useState)(!0),h=(0,w.useRef)([]),g=(0,w.useRef)(new Set),_=e=>{a(t=>({...t||{},events:e,truncated:t?.truncated||!1,incident_id:n}))},v=async r=>{r||s(!0);try{let r=await fetch(`${e}/incidents/${n}/log?limit=500`,{headers:t});if(!r.ok)throw Error(`HTTP ${r.status}`);let i=await r.json();return a(i),g.current=new Set((i.events||[]).map(e=>e.ts).filter(Boolean)),h.current=[...i.events||[]],l(null),s(!1),i}catch(e){l(e.message||`Failed`),s(!1)}};return(0,w.useEffect)(()=>{g.current=new Set,h.current=[],v(!1)},[e,n]),(0,w.useEffect)(()=>{if(!r)return;let i=null,a=null,o=!1,s=()=>{a||=(d(`poll`),setInterval(()=>v(!0),2e3))},c=()=>{a&&=(clearInterval(a),null)};try{let r=`${e}/incidents/${n}/stream?client_id=${encodeURIComponent(t[`X-Netwatch-Client-Id`]||``)}&username=${encodeURIComponent(t[`X-Netwatch-Username`]||``)}`;i=new EventSource(r,{withCredentials:!1}),d(`sse`),i.addEventListener(`trace`,e=>{try{let t=JSON.parse(e.data),n=t.ts;if(n&&g.current.has(n))return;n&&g.current.add(n),h.current=[...h.current,t].slice(-500),_(h.current)}catch{}}),i.addEventListener(`connected`,()=>d(`sse`)),i.onerror=()=>{o||!i||i.readyState===EventSource.CLOSED&&s()}}catch(e){console.warn(`SSE init failed, falling back to polling`,e),s()}return()=>{o=!0,i&&i.close(),c()}},[r,e,n]),(0,w.useEffect)(()=>{!p||!f.current||(f.current.scrollTop=f.current.scrollHeight)},[i,p]),o?(0,O.jsx)(`div`,{className:`nw-log-panel nw-log-empty`,children:`Loading trace…`}):c?(0,O.jsxs)(`div`,{className:`nw-log-panel nw-log-empty`,children:[`⚠️ `,c]}):!i||!i.events?.length?(0,O.jsxs)(`div`,{className:`nw-log-panel nw-log-empty`,children:[`No log events recorded yet.`,r&&` Waiting for the background investigation…`]}):(0,O.jsxs)(`div`,{className:`nw-log-panel`,ref:f,onScroll:()=>{let e=f.current;e&&m(e.scrollHeight-e.scrollTop-e.clientHeight<24)},children:[(0,O.jsxs)(`div`,{className:`nw-log-status`,children:[r?(0,O.jsxs)(`span`,{className:`nw-log-live`,children:[`● live — `,u===`sse`?`streaming (SSE)`:`polling every 2s`]}):(0,O.jsxs)(`span`,{children:[`complete · `,i.events.length,` event(s)`]}),i.truncated&&(0,O.jsx)(`span`,{children:` · older entries truncated`})]}),i.events.map((e,t)=>(0,O.jsxs)(`div`,{className:`nw-log-line nw-log-${e.kind||`event`}`,children:[(0,O.jsx)(`span`,{className:`nw-log-ts`,children:(e.ts||``).slice(11,23)||`—`}),(0,O.jsx)(`span`,{className:`nw-log-kind`,children:e.kind||`event`}),e.name&&(0,O.jsx)(`span`,{className:`nw-log-name`,children:e.name}),e.phase&&(0,O.jsx)(`span`,{className:`nw-log-phase`,children:e.phase}),e.data&&(0,O.jsx)(`span`,{className:`nw-log-data`,children:we(e.kind,e.data)})]},t))]})}function we(e,t){if(!t)return``;if(e===`tool`&&t.args){let e=JSON.stringify(t.args);return e.length>200?e.slice(0,200)+`…`:e}if(e===`tool_result`)return t.error?`error: ${t.error}`:t.summary||``;if(e===`thought`&&t.content){let e=String(t.content);return e.length>200?e.slice(0,200)+`…`:e}return e===`route`&&t.flow?`→ ${t.flow}`:e===`memory_load`||e===`memory_write`||e===`skill_save`?JSON.stringify(t).slice(0,200):``}function Te(e){let t=[],n=-1;for(;++n<e.length;)t[n]=je(e[n]);return Oe(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Ee(e){let t=e;return Oe(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function De(e){return Oe(t);function t(t){return t&&t.type===e}}function Oe(e){return t;function t(t,n,r){return!!(Ae(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function ke(){return!0}function Ae(e){return typeof e==`object`&&!!e&&`type`in e}var je,Me=s((()=>{je=(function(e){if(e==null)return ke;if(typeof e==`function`)return Oe(e);if(typeof e==`object`)return Array.isArray(e)?Te(e):Ee(e);if(typeof e==`string`)return De(e);throw Error(`Expected function, string, or object as test`)})})),Ne=s((()=>{Me()}));function Pe(e){return e}var Fe=s((()=>{}));function Ie(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=je(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+Pe(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Re,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Le(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Le(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Re:[e]}var Re,ze,Be=s((()=>{Ne(),Fe(),Re=[],ze=`skip`})),Ve=s((()=>{Be()}));function He(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Ie(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var Ue=s((()=>{Ve()})),We=s((()=>{Ue()}));function Ge({defaultOrigin:e=``,allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:i=[],blockedImageClass:a=`inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm`,blockedLinkClass:o=`text-gray-500`,linkBlockPolicy:s=Qe.indicator,imageBlockPolicy:c=Qe.indicator}){let l=t.length&&!t.every(e=>e===`*`),u=n.length&&!n.every(e=>e===`*`);if(!e&&(l||u))throw Error(`defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided`);return l=>{let u=nt(e,t,n,r,i,a,o,s,c);Ye(l),He(l,u)}}function Ke(e,t){if(typeof e!=`string`)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`))try{return new URL(e,`http://example.com`)}catch{return null}return null}}function qe(e){return typeof e==`string`?e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`):!1}function Je(e,t,n,r=!1,i=!1,a=[]){if(!e)return null;if(typeof e==`string`&&e.startsWith(`#`)&&!i)try{if(new URL(e,`http://example.com`).hash===e)return e}catch{}if(typeof e==`string`&&e.startsWith(`data:`))return i&&r&&e.startsWith(`data:image/`)?e:null;if(typeof e==`string`&&e.startsWith(`blob:`)){try{if(new URL(e).protocol===`blob:`&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&t!==`invalid`)return e}}catch{return null}return null}let o=Ke(e,n);if(!o||et.has(o.protocol)||!($e.has(o.protocol)||a.includes(o.protocol)||a.includes(`*`)))return null;if(o.protocol===`mailto:`||!o.protocol.match(/^https?:$/))return o.href;let s=qe(e);return o&&t.some(e=>{let t=Ke(e,n);return!t||t.origin!==o.origin?!1:o.href.startsWith(t.href)})?s?o.pathname+o.search+o.hash:o.href:t.includes(`*`)?o.protocol!==`https:`&&o.protocol!==`http:`?null:s?o.pathname+o.search+o.hash:o.href:null}function Ye(e){if(`children`in e&&Array.isArray(e.children)){e.children=e.children.filter(e=>e!=null);for(let t of e.children)Ye(t)}}function Xe(e,t,n){return t===Qe.remove?{type:`remove`}:t===Qe.textOnly?{type:`replace`,element:{type:`element`,tagName:`span`,properties:{},children:[...e.children]}}:{type:`replace`,element:{type:`element`,tagName:`span`,properties:{title:`Blocked URL: `+String(e.properties.href),class:n},children:[...e.children,{type:`text`,value:` [blocked]`}]}}}function Ze(e,t,n){if(t===Qe.remove)return{type:`remove`};if(t===Qe.textOnly){let t=String(e.properties.alt||``);return t?{type:`replace`,element:{type:`element`,tagName:`span`,properties:{},children:[{type:`text`,value:t}]}}:{type:`remove`}}return{type:`replace`,element:{type:`element`,tagName:`span`,properties:{class:n},children:[{type:`text`,value:`[Image blocked: `+String(e.properties.alt||`No description`)+`]`}]}}}var Qe,$e,et,tt,nt,rt=s((()=>{We(),Qe={indicator:`indicator`,textOnly:`text-only`,remove:`remove`},$e=new Set([`https:`,`http:`,`irc:`,`ircs:`,`mailto:`,`xmpp:`,`blob:`]),et=new Set([`javascript:`,`data:`,`file:`,`vbscript:`]),tt=Symbol(`node-seen`),nt=(e,t,n,r,i,a,o,s,c)=>{let l=(u,d,f)=>{if(u.type!==`element`||u[tt])return!0;if(u.tagName===`a`){let n=Je(u.properties.href,t,e,!1,!1,i);if(n===null){if(u[tt]=!0,He(u,l),f&&typeof d==`number`){let e=Xe(u,s,o);if(e.type===`remove`)return f.children.splice(d,1),[ze,d];f.children[d]=e.element}return ze}else return u.properties.href=n,u.properties.target=`_blank`,u.properties.rel=`noopener noreferrer`,!0}if(u.tagName===`img`){let t=Je(u.properties.src,n,e,r,!0,i);if(t===null){if(u[tt]=!0,He(u,l),f&&typeof d==`number`){let e=Ze(u,c,a);if(e.type===`remove`)return f.children.splice(d,1),[ze,d];f.children[d]=e.element}return ze}else return u.properties.src=t,!0}return!0};return l}})),it=s((()=>{})),at,ot,st,ct,lt=s((()=>{it(),at=typeof self==`object`?self:globalThis,ot=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new at[e](t)},st=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(ot(e,t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(ot(a,o),i)};return r},ct=e=>st(new Map,e)(0)})),ut,dt,ft,pt,mt,ht,gt,_t=s((()=>{it(),ut=``,{toString:dt}={},{keys:ft}=Object,pt=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=dt.call(e).slice(8,-1);switch(n){case`Array`:return[1,ut];case`Object`:return[2,ut];case`Date`:return[3,ut];case`RegExp`:return[4,ut];case`Map`:return[5,ut];case`Set`:return[6,ut];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},mt=([e,t])=>e===0&&(t===`function`||t===`symbol`),ht=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=pt(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of ft(r))(e||!mt(pt(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(mt(pt(n))||mt(pt(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!mt(pt(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},gt=(e,{json:t,lossy:n}={})=>{let r=[];return ht(!(t||n),!!t,new Map,r)(e),r}})),vt,yt=s((()=>{lt(),_t(),vt=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?ct(gt(e,t)):structuredClone(e):(e,t)=>ct(gt(e,t))})),bt=s((()=>{})),xt,St=s((()=>{xt=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}},xt.prototype.normal={},xt.prototype.property={},xt.prototype.space=void 0}));function Ct(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new xt(n,r,t)}var wt=s((()=>{St()}));function Tt(e){return e.toLowerCase()}var Et=s((()=>{})),Dt,Ot=s((()=>{Dt=class{constructor(e,t){this.attribute=t,this.property=e}},Dt.prototype.attribute=``,Dt.prototype.booleanish=!1,Dt.prototype.boolean=!1,Dt.prototype.commaOrSpaceSeparated=!1,Dt.prototype.commaSeparated=!1,Dt.prototype.defined=!1,Dt.prototype.mustUseProperty=!1,Dt.prototype.number=!1,Dt.prototype.overloadedBoolean=!1,Dt.prototype.property=``,Dt.prototype.spaceSeparated=!1,Dt.prototype.space=void 0})),kt=l({boolean:()=>Mt,booleanish:()=>Nt,commaOrSpaceSeparated:()=>Lt,commaSeparated:()=>It,number:()=>P,overloadedBoolean:()=>Pt,spaceSeparated:()=>Ft});function At(){return 2**++jt}var jt,Mt,Nt,Pt,P,Ft,It,Lt,Rt=s((()=>{jt=0,Mt=At(),Nt=At(),Pt=At(),P=At(),Ft=At(),It=At(),Lt=At()}));function zt(e,t,n){n&&(e[t]=n)}var Bt,Vt,Ht=s((()=>{Ot(),Rt(),Bt=Object.keys(kt),Vt=class extends Dt{constructor(e,t,n,r){let i=-1;if(super(e,t),zt(this,`space`,r),typeof n==`number`)for(;++i<Bt.length;){let e=Bt[i];zt(this,Bt[i],(n&kt[e])===kt[e])}}},Vt.prototype.defined=!0}));function Ut(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new Vt(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Tt(r)]=r,n[Tt(a.attribute)]=r}return new xt(t,n,e.space)}var Wt=s((()=>{Et(),Ht(),St()})),Gt,Kt=s((()=>{Wt(),Rt(),Gt=Ut({properties:{ariaActiveDescendant:null,ariaAtomic:Nt,ariaAutoComplete:null,ariaBusy:Nt,ariaChecked:Nt,ariaColCount:P,ariaColIndex:P,ariaColSpan:P,ariaControls:Ft,ariaCurrent:null,ariaDescribedBy:Ft,ariaDetails:null,ariaDisabled:Nt,ariaDropEffect:Ft,ariaErrorMessage:null,ariaExpanded:Nt,ariaFlowTo:Ft,ariaGrabbed:Nt,ariaHasPopup:null,ariaHidden:Nt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ft,ariaLevel:P,ariaLive:null,ariaModal:Nt,ariaMultiLine:Nt,ariaMultiSelectable:Nt,ariaOrientation:null,ariaOwns:Ft,ariaPlaceholder:null,ariaPosInSet:P,ariaPressed:Nt,ariaReadOnly:Nt,ariaRelevant:null,ariaRequired:Nt,ariaRoleDescription:Ft,ariaRowCount:P,ariaRowIndex:P,ariaRowSpan:P,ariaSelected:Nt,ariaSetSize:P,ariaSort:null,ariaValueMax:P,ariaValueMin:P,ariaValueNow:P,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}})}));function qt(e,t){return t in e?e[t]:t}var Jt=s((()=>{}));function Yt(e,t){return qt(e,t.toLowerCase())}var Xt=s((()=>{Jt()})),Zt,Qt=s((()=>{Xt(),Wt(),Rt(),Zt=Ut({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:It,acceptCharset:Ft,accessKey:Ft,action:null,allow:null,allowFullScreen:Mt,allowPaymentRequest:Mt,allowUserMedia:Mt,alt:null,as:null,async:Mt,autoCapitalize:null,autoComplete:Ft,autoFocus:Mt,autoPlay:Mt,blocking:Ft,capture:null,charSet:null,checked:Mt,cite:null,className:Ft,cols:P,colSpan:null,content:null,contentEditable:Nt,controls:Mt,controlsList:Ft,coords:P|It,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Mt,defer:Mt,dir:null,dirName:null,disabled:Mt,download:Pt,draggable:Nt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Mt,formTarget:null,headers:Ft,height:P,hidden:Pt,high:P,href:null,hrefLang:null,htmlFor:Ft,httpEquiv:Ft,id:null,imageSizes:null,imageSrcSet:null,inert:Mt,inputMode:null,integrity:null,is:null,isMap:Mt,itemId:null,itemProp:Ft,itemRef:Ft,itemScope:Mt,itemType:Ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Mt,low:P,manifest:null,max:null,maxLength:P,media:null,method:null,min:null,minLength:P,multiple:Mt,muted:Mt,name:null,nonce:null,noModule:Mt,noValidate:Mt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Mt,optimum:P,pattern:null,ping:Ft,placeholder:null,playsInline:Mt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Mt,referrerPolicy:null,rel:Ft,required:Mt,reversed:Mt,rows:P,rowSpan:P,sandbox:Ft,scope:null,scoped:Mt,seamless:Mt,selected:Mt,shadowRootClonable:Mt,shadowRootDelegatesFocus:Mt,shadowRootMode:null,shape:null,size:P,sizes:null,slot:null,span:P,spellCheck:Nt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:P,step:null,style:null,tabIndex:P,target:null,title:null,translate:null,type:null,typeMustMatch:Mt,useMap:null,value:Nt,width:P,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ft,axis:null,background:null,bgColor:null,border:P,borderColor:null,bottomMargin:P,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Mt,declare:Mt,event:null,face:null,frame:null,frameBorder:null,hSpace:P,leftMargin:P,link:null,longDesc:null,lowSrc:null,marginHeight:P,marginWidth:P,noResize:Mt,noHref:Mt,noShade:Mt,noWrap:Mt,object:null,profile:null,prompt:null,rev:null,rightMargin:P,rules:null,scheme:null,scrolling:Nt,standby:null,summary:null,text:null,topMargin:P,valueType:null,version:null,vAlign:null,vLink:null,vSpace:P,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Mt,disableRemotePlayback:Mt,prefix:null,property:null,results:P,security:null,unselectable:null},space:`html`,transform:Yt})})),$t,en=s((()=>{Jt(),Wt(),Rt(),$t=Ut({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:Lt,accentHeight:P,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:P,amplitude:P,arabicForm:null,ascent:P,attributeName:null,attributeType:null,azimuth:P,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:P,by:null,calcMode:null,capHeight:P,className:Ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:P,diffuseConstant:P,direction:null,display:null,dur:null,divisor:P,dominantBaseline:null,download:Mt,dx:null,dy:null,edgeMode:null,editable:null,elevation:P,enableBackground:null,end:null,event:null,exponent:P,externalResourcesRequired:null,fill:null,fillOpacity:P,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:It,g2:It,glyphName:It,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:P,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:P,horizOriginX:P,horizOriginY:P,id:null,ideographic:P,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:P,k:P,k1:P,k2:P,k3:P,k4:P,kernelMatrix:Lt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:P,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:P,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:P,overlineThickness:P,paintOrder:null,panose1:null,path:null,pathLength:P,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:P,pointsAtY:P,pointsAtZ:P,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Lt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Lt,rev:Lt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Lt,requiredFeatures:Lt,requiredFonts:Lt,requiredFormats:Lt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:P,specularExponent:P,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:P,strikethroughThickness:P,string:null,stroke:null,strokeDashArray:Lt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:P,strokeOpacity:P,strokeWidth:null,style:null,surfaceScale:P,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Lt,tabIndex:P,tableValues:null,target:null,targetX:P,targetY:P,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Lt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:P,underlineThickness:P,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:P,values:null,vAlphabetic:P,vMathematical:P,vectorEffect:null,vHanging:P,vIdeographic:P,version:null,vertAdvY:P,vertOriginX:P,vertOriginY:P,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:P,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:qt})})),tn,nn=s((()=>{Wt(),tn=Ut({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}})})),rn,an=s((()=>{Wt(),Xt(),rn=Ut({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:Yt})})),on,sn=s((()=>{Wt(),on=Ut({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}})})),cn,ln=s((()=>{cn={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`}}));function un(e,t){let n=Tt(t),r=t,i=Dt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&hn.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(mn,fn);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!mn.test(e)){let n=e.replace(pn,dn);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=Vt}return new i(r,t)}function dn(e){return`-`+e.toLowerCase()}function fn(e){return e.charAt(1).toUpperCase()}var pn,mn,hn,gn=s((()=>{Ht(),Ot(),Et(),pn=/[A-Z]/g,mn=/-[a-z]/g,hn=/^data[-\w.:]+$/i})),_n,vn,yn=s((()=>{wt(),Kt(),Qt(),en(),nn(),an(),sn(),ln(),gn(),Et(),_n=Ct([Gt,Zt,tn,rn,on],`html`),vn=Ct([Gt,$t,tn,rn,on],`svg`)}));function bn(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function xn(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var Sn=s((()=>{}));function Cn(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){wn.lastIndex=i;let e=wn.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}var wn,Tn=s((()=>{wn=/[#.]/g})),En=s((()=>{Tn()}));function Dn(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function On(e){return e.join(` `).trim()}var kn=s((()=>{}));function An(e,t,n){let r=n?In(n):void 0;function i(n,i,...a){let o;if(n==null){o={type:`root`,children:[]};let e=i;a.unshift(e)}else{o=Cn(n,t);let s=o.tagName.toLowerCase(),c=r?r.get(s):void 0;if(o.tagName=c||s,jn(i))a.unshift(i);else for(let[t,n]of Object.entries(i))Mn(e,o.properties,t,n)}for(let e of a)Nn(o.children,e);return o.type===`element`&&o.tagName===`template`&&(o.content={type:`root`,children:o.children},o.children=[]),o}return i}function jn(e){if(typeof e!=`object`||!e||Array.isArray(e))return!0;if(typeof e.type!=`string`)return!1;let t=e,n=Object.keys(e);for(let e of n){let n=t[e];if(n&&typeof n==`object`){if(!Array.isArray(n))return!0;let e=n;for(let t of e)if(typeof t!=`number`&&typeof t!=`string`)return!0}}return!!(`children`in e&&Array.isArray(e.children))}function Mn(e,t,n,r){let i=un(e,n),a;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;a=r}else a=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?Dn(r):i.commaSeparated?bn(r):i.commaOrSpaceSeparated?Dn(bn(r).join(` `)):Pn(i,i.property,r):Array.isArray(r)?[...r]:i.property===`style`?Fn(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(Pn(i,i.property,t));a=e}i.property===`className`&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function Nn(e,t){if(t!=null)if(typeof t==`number`||typeof t==`string`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(let n of t)Nn(e,n);else if(typeof t==`object`&&`type`in t)t.type===`root`?Nn(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function Pn(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||Tt(n)===Tt(t)))return!0}return n}function Fn(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(`: `));return t.join(`; `)}function In(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}var Ln=s((()=>{Sn(),En(),yn(),kn()})),Rn,zn=s((()=>{Rn=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.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.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`)})),Bn,Vn,Hn=s((()=>{yn(),Ln(),zn(),Bn=An(_n,`div`),Vn=An(vn,`g`,Rn)})),Un=s((()=>{Hn()}));function Wn(e){let t=String(e),n=[];return{toOffset:i,toPoint:r};function r(e){if(typeof e==`number`&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(i===void 0){let e=Gn(t,n[r-1]);i=e===-1?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}function i(e){if(e&&typeof e.line==`number`&&typeof e.column==`number`&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=Gn(t,e),i=r===-1?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}}}function Gn(e,t){let n=e.indexOf(`\r`,t),r=e.indexOf(`
|
|
251
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}var Kn=s((()=>{})),qn=s((()=>{Kn()})),Jn,Yn=s((()=>{Jn={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`}}));function Xn(e,t){let n=t||{};return Zn({file:n.file||void 0,location:!1,schema:n.space===`svg`?vn:_n,verbose:n.verbose||!1},e)}function Zn(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},er(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:Qn(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=Wn(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},er(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},er(e,r,n),n}default:return n=$n(e,t),n}}function Qn(e,t){let n=-1,r=[];for(;++n<t.length;){let i=Zn(e,t[n]);r.push(i)}return r}function $n(e,t){let n=e.schema;e.schema=t.namespaceURI===Jn.svg?vn:_n;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;ir.call(ar,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?Vn:Bn)(t.tagName,i,Qn(e,t.childNodes));if(er(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&nr(r.startTag),o=r&&r.endTag&&nr(r.endTag),s=Zn(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function er(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=tr(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function tr(e,t,n){let r=nr(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)ir.call(n.attrs,i)&&(r[un(e.schema,i).property]=nr(n.attrs[i]));n.startTag;let a=nr(n.startTag),o=n.endTag?nr(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function nr(e){let t=rr({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=rr({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function rr(e){return e.line&&e.column?e:void 0}var ir,ar,or=s((()=>{bt(),Un(),yn(),qn(),Yn(),ir={}.hasOwnProperty,ar=Object.prototype})),sr=s((()=>{or()}));function cr(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&lr.call(t,e)){let n=String(t[e]);i=lr.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var lr,ur=s((()=>{lr={}.hasOwnProperty}));function dr(e,t){let n=(t||xr).space;return Cr(e,n===`svg`?vn:_n)}function fr(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=yr(e.children,n,t),br(e,n),n}function pr(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=yr(e.children,n,t),br(e,n),n}function mr(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return br(e,t),t}function hr(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return br(e,t),t}function gr(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return br(e,t),t}function _r(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=vn);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&Sr.call(e.properties,a)){let t=vr(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Jn[o],childNodes:[],parentNode:null};return s.childNodes=yr(e.children,s,r),br(e,s),e.tagName===`template`&&e.content&&(s.content=pr(e.content,r)),s}function vr(e,t,n){let r=un(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?xn(n):On(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Jn[r.space]}return i}function yr(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=Cr(e[r],n);a.parentNode=t,i.push(a)}return i}function br(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var xr,Sr,Cr,wr=s((()=>{Sn(),bt(),yn(),kn(),Yn(),ur(),xr={},Sr={}.hasOwnProperty,Cr=cr(`type`,{handlers:{root:fr,element:_r,text:hr,comment:gr,doctype:mr}})})),Tr=s((()=>{wr()})),Er,Dr=s((()=>{Er=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]}));function Or(e){return e>=55296&&e<=57343}function kr(e){return e>=56320&&e<=57343}function Ar(e,t){return(e-55296)*1024+9216+t}function jr(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Mr(e){return e>=64976&&e<=65007||Nr.has(e)}var Nr,F,Pr,Fr=s((()=>{Nr=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(F||={}),Pr={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`}})),I,Ir=s((()=>{(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(I||={})})),Lr,Rr,zr=s((()=>{Fr(),Ir(),Lr=65536,Rr=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Lr,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(kr(t))return this.pos++,this._addGap(),Ar(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,F.EOF;return this._err(I.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,F.EOF;let n=this.html.charCodeAt(t);return n===F.CARRIAGE_RETURN?F.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,F.EOF;let e=this.html.charCodeAt(this.pos);return e===F.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,F.LINE_FEED):e===F.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Or(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===F.LINE_FEED||e===F.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){jr(e)?this._err(I.controlCharacterInInputStream):Mr(e)&&this._err(I.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}}));function Br(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var Vr,Hr=s((()=>{(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(Vr||={})})),Ur,Wr=s((()=>{Ur=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0)))}));function Gr(e){return e>=55296&&e<=57343||e>1114111?65533:Kr.get(e)??e}var Kr,qr=s((()=>{Kr=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),String.fromCodePoint}));function Jr(e){return e>=$r.ZERO&&e<=$r.NINE}function Yr(e){return e>=$r.UPPER_A&&e<=$r.UPPER_F||e>=$r.LOWER_A&&e<=$r.LOWER_F}function Xr(e){return e>=$r.UPPER_A&&e<=$r.UPPER_Z||e>=$r.LOWER_A&&e<=$r.LOWER_Z||Jr(e)}function Zr(e){return e===$r.EQUALS||Xr(e)}function Qr(e,t,n,r){let i=(t&ti.BRANCH_LENGTH)>>7,a=t&ti.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var $r,ei,ti,ni,ri,ii,ai=s((()=>{qr(),Wr(),(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})($r||={}),ei=32,(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(ti||={}),(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(ni||={}),(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(ri||={}),ii=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=ni.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ri.Strict}startEntity(e){this.decodeMode=e,this.state=ni.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case ni.EntityStart:return e.charCodeAt(t)===$r.NUM?(this.state=ni.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=ni.NamedEntity,this.stateNamedEntity(e,t));case ni.NumericStart:return this.stateNumericStart(e,t);case ni.NumericDecimal:return this.stateNumericDecimal(e,t);case ni.NumericHex:return this.stateNumericHex(e,t);case ni.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|ei)===$r.LOWER_X?(this.state=ni.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=ni.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Jr(r)||Yr(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Jr(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===$r.SEMI)this.consumed+=1;else if(this.decodeMode===ri.Strict)return 0;return this.emitCodePoint(Gr(this.result),this.consumed),this.errors&&(e!==$r.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&ti.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=Qr(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===ri.Attribute&&(i===0||Zr(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&ti.VALUE_LENGTH)>>14,i!==0){if(a===$r.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ri.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&ti.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~ti.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case ni.NamedEntity:return this.result!==0&&(this.decodeMode!==ri.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ni.NumericDecimal:return this.emitNumericEntity(0,2);case ni.NumericHex:return this.emitNumericEntity(0,3);case ni.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ni.EntityStart:return 0}}}}));function oi(e){return li.get(e)??z.UNKNOWN}var L,si,ci,R,z,li,B,ui,di,fi=s((()=>{(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(L||={}),(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(si||={}),(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(ci||={}),(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(R||={}),(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(z||={}),li=new Map([[R.A,z.A],[R.ADDRESS,z.ADDRESS],[R.ANNOTATION_XML,z.ANNOTATION_XML],[R.APPLET,z.APPLET],[R.AREA,z.AREA],[R.ARTICLE,z.ARTICLE],[R.ASIDE,z.ASIDE],[R.B,z.B],[R.BASE,z.BASE],[R.BASEFONT,z.BASEFONT],[R.BGSOUND,z.BGSOUND],[R.BIG,z.BIG],[R.BLOCKQUOTE,z.BLOCKQUOTE],[R.BODY,z.BODY],[R.BR,z.BR],[R.BUTTON,z.BUTTON],[R.CAPTION,z.CAPTION],[R.CENTER,z.CENTER],[R.CODE,z.CODE],[R.COL,z.COL],[R.COLGROUP,z.COLGROUP],[R.DD,z.DD],[R.DESC,z.DESC],[R.DETAILS,z.DETAILS],[R.DIALOG,z.DIALOG],[R.DIR,z.DIR],[R.DIV,z.DIV],[R.DL,z.DL],[R.DT,z.DT],[R.EM,z.EM],[R.EMBED,z.EMBED],[R.FIELDSET,z.FIELDSET],[R.FIGCAPTION,z.FIGCAPTION],[R.FIGURE,z.FIGURE],[R.FONT,z.FONT],[R.FOOTER,z.FOOTER],[R.FOREIGN_OBJECT,z.FOREIGN_OBJECT],[R.FORM,z.FORM],[R.FRAME,z.FRAME],[R.FRAMESET,z.FRAMESET],[R.H1,z.H1],[R.H2,z.H2],[R.H3,z.H3],[R.H4,z.H4],[R.H5,z.H5],[R.H6,z.H6],[R.HEAD,z.HEAD],[R.HEADER,z.HEADER],[R.HGROUP,z.HGROUP],[R.HR,z.HR],[R.HTML,z.HTML],[R.I,z.I],[R.IMG,z.IMG],[R.IMAGE,z.IMAGE],[R.INPUT,z.INPUT],[R.IFRAME,z.IFRAME],[R.KEYGEN,z.KEYGEN],[R.LABEL,z.LABEL],[R.LI,z.LI],[R.LINK,z.LINK],[R.LISTING,z.LISTING],[R.MAIN,z.MAIN],[R.MALIGNMARK,z.MALIGNMARK],[R.MARQUEE,z.MARQUEE],[R.MATH,z.MATH],[R.MENU,z.MENU],[R.META,z.META],[R.MGLYPH,z.MGLYPH],[R.MI,z.MI],[R.MO,z.MO],[R.MN,z.MN],[R.MS,z.MS],[R.MTEXT,z.MTEXT],[R.NAV,z.NAV],[R.NOBR,z.NOBR],[R.NOFRAMES,z.NOFRAMES],[R.NOEMBED,z.NOEMBED],[R.NOSCRIPT,z.NOSCRIPT],[R.OBJECT,z.OBJECT],[R.OL,z.OL],[R.OPTGROUP,z.OPTGROUP],[R.OPTION,z.OPTION],[R.P,z.P],[R.PARAM,z.PARAM],[R.PLAINTEXT,z.PLAINTEXT],[R.PRE,z.PRE],[R.RB,z.RB],[R.RP,z.RP],[R.RT,z.RT],[R.RTC,z.RTC],[R.RUBY,z.RUBY],[R.S,z.S],[R.SCRIPT,z.SCRIPT],[R.SEARCH,z.SEARCH],[R.SECTION,z.SECTION],[R.SELECT,z.SELECT],[R.SOURCE,z.SOURCE],[R.SMALL,z.SMALL],[R.SPAN,z.SPAN],[R.STRIKE,z.STRIKE],[R.STRONG,z.STRONG],[R.STYLE,z.STYLE],[R.SUB,z.SUB],[R.SUMMARY,z.SUMMARY],[R.SUP,z.SUP],[R.TABLE,z.TABLE],[R.TBODY,z.TBODY],[R.TEMPLATE,z.TEMPLATE],[R.TEXTAREA,z.TEXTAREA],[R.TFOOT,z.TFOOT],[R.TD,z.TD],[R.TH,z.TH],[R.THEAD,z.THEAD],[R.TITLE,z.TITLE],[R.TR,z.TR],[R.TRACK,z.TRACK],[R.TT,z.TT],[R.U,z.U],[R.UL,z.UL],[R.SVG,z.SVG],[R.VAR,z.VAR],[R.WBR,z.WBR],[R.XMP,z.XMP]]),B=z,ui={[L.HTML]:new Set([B.ADDRESS,B.APPLET,B.AREA,B.ARTICLE,B.ASIDE,B.BASE,B.BASEFONT,B.BGSOUND,B.BLOCKQUOTE,B.BODY,B.BR,B.BUTTON,B.CAPTION,B.CENTER,B.COL,B.COLGROUP,B.DD,B.DETAILS,B.DIR,B.DIV,B.DL,B.DT,B.EMBED,B.FIELDSET,B.FIGCAPTION,B.FIGURE,B.FOOTER,B.FORM,B.FRAME,B.FRAMESET,B.H1,B.H2,B.H3,B.H4,B.H5,B.H6,B.HEAD,B.HEADER,B.HGROUP,B.HR,B.HTML,B.IFRAME,B.IMG,B.INPUT,B.LI,B.LINK,B.LISTING,B.MAIN,B.MARQUEE,B.MENU,B.META,B.NAV,B.NOEMBED,B.NOFRAMES,B.NOSCRIPT,B.OBJECT,B.OL,B.P,B.PARAM,B.PLAINTEXT,B.PRE,B.SCRIPT,B.SECTION,B.SELECT,B.SOURCE,B.STYLE,B.SUMMARY,B.TABLE,B.TBODY,B.TD,B.TEMPLATE,B.TEXTAREA,B.TFOOT,B.TH,B.THEAD,B.TITLE,B.TR,B.TRACK,B.UL,B.WBR,B.XMP]),[L.MATHML]:new Set([B.MI,B.MO,B.MN,B.MS,B.MTEXT,B.ANNOTATION_XML]),[L.SVG]:new Set([B.TITLE,B.FOREIGN_OBJECT,B.DESC]),[L.XLINK]:new Set,[L.XML]:new Set,[L.XMLNS]:new Set},di=new Set([B.H1,B.H2,B.H3,B.H4,B.H5,B.H6]),new Set([R.STYLE,R.SCRIPT,R.XMP,R.IFRAME,R.NOEMBED,R.NOFRAMES,R.PLAINTEXT])}));function pi(e){return e>=F.DIGIT_0&&e<=F.DIGIT_9}function mi(e){return e>=F.LATIN_CAPITAL_A&&e<=F.LATIN_CAPITAL_Z}function hi(e){return e>=F.LATIN_SMALL_A&&e<=F.LATIN_SMALL_Z}function gi(e){return hi(e)||mi(e)}function _i(e){return gi(e)||pi(e)}function vi(e){return e+32}function yi(e){return e===F.SPACE||e===F.LINE_FEED||e===F.TABULATION||e===F.FORM_FEED}function bi(e){return yi(e)||e===F.SOLIDUS||e===F.GREATER_THAN_SIGN}function xi(e){return e===F.NULL?I.nullCharacterReference:e>1114111?I.characterReferenceOutsideUnicodeRange:Or(e)?I.surrogateCharacterReference:Mr(e)?I.noncharacterCharacterReference:jr(e)||e===F.CARRIAGE_RETURN?I.controlCharacterReference:null}var V,Si,Ci,wi=s((()=>{zr(),Fr(),Hr(),ai(),Ir(),fi(),(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(V||={}),Si={DATA:V.DATA,RCDATA:V.RCDATA,RAWTEXT:V.RAWTEXT,SCRIPT_DATA:V.SCRIPT_DATA,PLAINTEXT:V.PLAINTEXT,CDATA_SECTION:V.CDATA_SECTION},Ci=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=V.DATA,this.returnState=V.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new Rr(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ii(Ur,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(I.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(I.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=xi(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Vr.START_TAG,tagName:``,tagID:z.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Vr.END_TAG,tagName:``,tagID:z.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Vr.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Vr.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(Br(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(I.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=oi(e.tagName),e.type===Vr.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(I.endTagWithAttributes),e.selfClosing&&this._err(I.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Vr.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Vr.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Vr.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Vr.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=yi(e)?Vr.WHITESPACE_CHARACTER:e===F.NULL?Vr.NULL_CHARACTER:Vr.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Vr.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=V.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ri.Attribute:ri.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===V.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===V.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===V.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case V.DATA:this._stateData(e);break;case V.RCDATA:this._stateRcdata(e);break;case V.RAWTEXT:this._stateRawtext(e);break;case V.SCRIPT_DATA:this._stateScriptData(e);break;case V.PLAINTEXT:this._statePlaintext(e);break;case V.TAG_OPEN:this._stateTagOpen(e);break;case V.END_TAG_OPEN:this._stateEndTagOpen(e);break;case V.TAG_NAME:this._stateTagName(e);break;case V.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case V.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case V.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case V.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case V.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case V.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case V.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case V.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case V.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case V.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case V.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case V.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case V.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case V.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case V.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case V.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case V.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case V.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case V.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case V.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case V.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case V.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case V.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case V.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case V.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case V.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case V.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case V.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case V.BOGUS_COMMENT:this._stateBogusComment(e);break;case V.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case V.COMMENT_START:this._stateCommentStart(e);break;case V.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case V.COMMENT:this._stateComment(e);break;case V.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case V.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case V.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case V.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case V.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case V.COMMENT_END:this._stateCommentEnd(e);break;case V.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case V.DOCTYPE:this._stateDoctype(e);break;case V.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case V.DOCTYPE_NAME:this._stateDoctypeName(e);break;case V.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case V.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case V.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case V.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case V.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case V.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case V.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case V.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case V.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case V.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case V.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case V.CDATA_SECTION:this._stateCdataSection(e);break;case V.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case V.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case V.CHARACTER_REFERENCE:this._stateCharacterReference();break;case V.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case F.LESS_THAN_SIGN:this.state=V.TAG_OPEN;break;case F.AMPERSAND:this._startCharacterReference();break;case F.NULL:this._err(I.unexpectedNullCharacter),this._emitCodePoint(e);break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case F.AMPERSAND:this._startCharacterReference();break;case F.LESS_THAN_SIGN:this.state=V.RCDATA_LESS_THAN_SIGN;break;case F.NULL:this._err(I.unexpectedNullCharacter),this._emitChars(`�`);break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case F.LESS_THAN_SIGN:this.state=V.RAWTEXT_LESS_THAN_SIGN;break;case F.NULL:this._err(I.unexpectedNullCharacter),this._emitChars(`�`);break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_LESS_THAN_SIGN;break;case F.NULL:this._err(I.unexpectedNullCharacter),this._emitChars(`�`);break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case F.NULL:this._err(I.unexpectedNullCharacter),this._emitChars(`�`);break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(gi(e))this._createStartTagToken(),this.state=V.TAG_NAME,this._stateTagName(e);else switch(e){case F.EXCLAMATION_MARK:this.state=V.MARKUP_DECLARATION_OPEN;break;case F.SOLIDUS:this.state=V.END_TAG_OPEN;break;case F.QUESTION_MARK:this._err(I.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=V.BOGUS_COMMENT,this._stateBogusComment(e);break;case F.EOF:this._err(I.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(I.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=V.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(gi(e))this._createEndTagToken(),this.state=V.TAG_NAME,this._stateTagName(e);else switch(e){case F.GREATER_THAN_SIGN:this._err(I.missingEndTagName),this.state=V.DATA;break;case F.EOF:this._err(I.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(I.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=V.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=V.BEFORE_ATTRIBUTE_NAME;break;case F.SOLIDUS:this.state=V.SELF_CLOSING_START_TAG;break;case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentTagToken();break;case F.NULL:this._err(I.unexpectedNullCharacter),t.tagName+=`�`;break;case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(mi(e)?vi(e):e)}}_stateRcdataLessThanSign(e){e===F.SOLIDUS?this.state=V.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=V.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){gi(e)?(this.state=V.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=V.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=V.BEFORE_ATTRIBUTE_NAME,!1;case F.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=V.SELF_CLOSING_START_TAG,!1;case F.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=V.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=V.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===F.SOLIDUS?this.state=V.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=V.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){gi(e)?(this.state=V.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=V.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=V.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case F.SOLIDUS:this.state=V.SCRIPT_DATA_END_TAG_OPEN;break;case F.EXCLAMATION_MARK:this.state=V.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=V.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){gi(e)?(this.state=V.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=V.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=V.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===F.HYPHEN_MINUS?(this.state=V.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=V.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===F.HYPHEN_MINUS?(this.state=V.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=V.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case F.HYPHEN_MINUS:this.state=V.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case F.NULL:this._err(I.unexpectedNullCharacter),this._emitChars(`�`);break;case F.EOF:this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case F.HYPHEN_MINUS:this.state=V.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case F.NULL:this._err(I.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case F.EOF:this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=V.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case F.HYPHEN_MINUS:this._emitChars(`-`);break;case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case F.GREATER_THAN_SIGN:this.state=V.SCRIPT_DATA,this._emitChars(`>`);break;case F.NULL:this._err(I.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case F.EOF:this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=V.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===F.SOLIDUS?this.state=V.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:gi(e)?(this._emitChars(`<`),this.state=V.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){gi(e)?(this.state=V.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Pr.SCRIPT,!1)&&bi(this.preprocessor.peek(Pr.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Pr.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case F.HYPHEN_MINUS:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case F.NULL:this._err(I.unexpectedNullCharacter),this._emitChars(`�`);break;case F.EOF:this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case F.HYPHEN_MINUS:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case F.NULL:this._err(I.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case F.EOF:this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case F.HYPHEN_MINUS:this._emitChars(`-`);break;case F.LESS_THAN_SIGN:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case F.GREATER_THAN_SIGN:this.state=V.SCRIPT_DATA,this._emitChars(`>`);break;case F.NULL:this._err(I.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case F.EOF:this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===F.SOLIDUS?(this.state=V.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Pr.SCRIPT,!1)&&bi(this.preprocessor.peek(Pr.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Pr.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=V.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.SOLIDUS:case F.GREATER_THAN_SIGN:case F.EOF:this.state=V.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case F.EQUALS_SIGN:this._err(I.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=V.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=V.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:case F.SOLIDUS:case F.GREATER_THAN_SIGN:case F.EOF:this._leaveAttrName(),this.state=V.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case F.EQUALS_SIGN:this._leaveAttrName(),this.state=V.BEFORE_ATTRIBUTE_VALUE;break;case F.QUOTATION_MARK:case F.APOSTROPHE:case F.LESS_THAN_SIGN:this._err(I.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case F.NULL:this._err(I.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(mi(e)?vi(e):e)}}_stateAfterAttributeName(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.SOLIDUS:this.state=V.SELF_CLOSING_START_TAG;break;case F.EQUALS_SIGN:this.state=V.BEFORE_ATTRIBUTE_VALUE;break;case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentTagToken();break;case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=V.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:this.state=V.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case F.APOSTROPHE:this.state=V.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(I.missingAttributeValue),this.state=V.DATA,this.emitCurrentTagToken();break;default:this.state=V.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case F.QUOTATION_MARK:this.state=V.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case F.AMPERSAND:this._startCharacterReference();break;case F.NULL:this._err(I.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case F.APOSTROPHE:this.state=V.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case F.AMPERSAND:this._startCharacterReference();break;case F.NULL:this._err(I.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this._leaveAttrValue(),this.state=V.BEFORE_ATTRIBUTE_NAME;break;case F.AMPERSAND:this._startCharacterReference();break;case F.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=V.DATA,this.emitCurrentTagToken();break;case F.NULL:this._err(I.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case F.QUOTATION_MARK:case F.APOSTROPHE:case F.LESS_THAN_SIGN:case F.EQUALS_SIGN:case F.GRAVE_ACCENT:this._err(I.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this._leaveAttrValue(),this.state=V.BEFORE_ATTRIBUTE_NAME;break;case F.SOLIDUS:this._leaveAttrValue(),this.state=V.SELF_CLOSING_START_TAG;break;case F.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=V.DATA,this.emitCurrentTagToken();break;case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:this._err(I.missingWhitespaceBetweenAttributes),this.state=V.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case F.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=V.DATA,this.emitCurrentTagToken();break}case F.EOF:this._err(I.eofInTag),this._emitEOFToken();break;default:this._err(I.unexpectedSolidusInTag),this.state=V.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentComment(t);break;case F.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case F.NULL:this._err(I.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Pr.DASH_DASH,!0)?(this._createCommentToken(Pr.DASH_DASH.length+1),this.state=V.COMMENT_START):this._consumeSequenceIfMatch(Pr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Pr.DOCTYPE.length+1),this.state=V.DOCTYPE):this._consumeSequenceIfMatch(Pr.CDATA_START,!0)?this.inForeignNode?this.state=V.CDATA_SECTION:(this._err(I.cdataInHtmlContent),this._createCommentToken(Pr.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=V.BOGUS_COMMENT):this._ensureHibernation()||(this._err(I.incorrectlyOpenedComment),this._createCommentToken(2),this.state=V.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case F.HYPHEN_MINUS:this.state=V.COMMENT_START_DASH;break;case F.GREATER_THAN_SIGN:{this._err(I.abruptClosingOfEmptyComment),this.state=V.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=V.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case F.HYPHEN_MINUS:this.state=V.COMMENT_END;break;case F.GREATER_THAN_SIGN:this._err(I.abruptClosingOfEmptyComment),this.state=V.DATA,this.emitCurrentComment(t);break;case F.EOF:this._err(I.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=V.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case F.HYPHEN_MINUS:this.state=V.COMMENT_END_DASH;break;case F.LESS_THAN_SIGN:t.data+=`<`,this.state=V.COMMENT_LESS_THAN_SIGN;break;case F.NULL:this._err(I.unexpectedNullCharacter),t.data+=`�`;break;case F.EOF:this._err(I.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case F.EXCLAMATION_MARK:t.data+=`!`,this.state=V.COMMENT_LESS_THAN_SIGN_BANG;break;case F.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=V.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===F.HYPHEN_MINUS?this.state=V.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=V.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===F.HYPHEN_MINUS?this.state=V.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=V.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==F.GREATER_THAN_SIGN&&e!==F.EOF&&this._err(I.nestedComment),this.state=V.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case F.HYPHEN_MINUS:this.state=V.COMMENT_END;break;case F.EOF:this._err(I.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=V.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentComment(t);break;case F.EXCLAMATION_MARK:this.state=V.COMMENT_END_BANG;break;case F.HYPHEN_MINUS:t.data+=`-`;break;case F.EOF:this._err(I.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=V.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case F.HYPHEN_MINUS:t.data+=`--!`,this.state=V.COMMENT_END_DASH;break;case F.GREATER_THAN_SIGN:this._err(I.incorrectlyClosedComment),this.state=V.DATA,this.emitCurrentComment(t);break;case F.EOF:this._err(I.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=V.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=V.BEFORE_DOCTYPE_NAME;break;case F.GREATER_THAN_SIGN:this.state=V.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case F.EOF:{this._err(I.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(I.missingWhitespaceBeforeDoctypeName),this.state=V.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(mi(e))this._createDoctypeToken(String.fromCharCode(vi(e))),this.state=V.DOCTYPE_NAME;else switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.NULL:this._err(I.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=V.DOCTYPE_NAME;break;case F.GREATER_THAN_SIGN:{this._err(I.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=V.DATA;break}case F.EOF:{this._err(I.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=V.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=V.AFTER_DOCTYPE_NAME;break;case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.NULL:this._err(I.unexpectedNullCharacter),t.name+=`�`;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(mi(e)?vi(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(Pr.PUBLIC,!1)?this.state=V.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Pr.SYSTEM,!1)?this.state=V.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(I.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=V.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case F.QUOTATION_MARK:this._err(I.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:this._err(I.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(I.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:t.publicId=``,this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:t.publicId=``,this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(I.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case F.QUOTATION_MARK:this.state=V.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case F.NULL:this._err(I.unexpectedNullCharacter),t.publicId+=`�`;break;case F.GREATER_THAN_SIGN:this._err(I.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case F.APOSTROPHE:this.state=V.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case F.NULL:this._err(I.unexpectedNullCharacter),t.publicId+=`�`;break;case F.GREATER_THAN_SIGN:this._err(I.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=V.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case F.GREATER_THAN_SIGN:this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.QUOTATION_MARK:this._err(I.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:this._err(I.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.QUOTATION_MARK:t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=V.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case F.QUOTATION_MARK:this._err(I.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:this._err(I.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(I.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:t.systemId=``,this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(I.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case F.QUOTATION_MARK:this.state=V.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case F.NULL:this._err(I.unexpectedNullCharacter),t.systemId+=`�`;break;case F.GREATER_THAN_SIGN:this._err(I.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case F.APOSTROPHE:this.state=V.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case F.NULL:this._err(I.unexpectedNullCharacter),t.systemId+=`�`;break;case F.GREATER_THAN_SIGN:this._err(I.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.EOF:this._err(I.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(I.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case F.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=V.DATA;break;case F.NULL:this._err(I.unexpectedNullCharacter);break;case F.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break;default:}}_stateCdataSection(e){switch(e){case F.RIGHT_SQUARE_BRACKET:this.state=V.CDATA_SECTION_BRACKET;break;case F.EOF:this._err(I.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===F.RIGHT_SQUARE_BRACKET?this.state=V.CDATA_SECTION_END:(this._emitChars(`]`),this.state=V.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case F.GREATER_THAN_SIGN:this.state=V.DATA;break;case F.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=V.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(F.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&_i(this.preprocessor.peek(1))?V.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){_i(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===F.SEMICOLON&&this._err(I.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}})),Ti,Ei,Di,Oi,ki,Ai,ji,Mi,Ni,Pi,Fi,Ii,Li=s((()=>{fi(),Ti=new Set([z.DD,z.DT,z.LI,z.OPTGROUP,z.OPTION,z.P,z.RB,z.RP,z.RT,z.RTC]),Ei=new Set([...Ti,z.CAPTION,z.COLGROUP,z.TBODY,z.TD,z.TFOOT,z.TH,z.THEAD,z.TR]),Di=new Set([z.APPLET,z.CAPTION,z.HTML,z.MARQUEE,z.OBJECT,z.TABLE,z.TD,z.TEMPLATE,z.TH]),Oi=new Set([...Di,z.OL,z.UL]),ki=new Set([...Di,z.BUTTON]),Ai=new Set([z.ANNOTATION_XML,z.MI,z.MN,z.MO,z.MS,z.MTEXT]),ji=new Set([z.DESC,z.FOREIGN_OBJECT,z.TITLE]),Mi=new Set([z.TR,z.TEMPLATE,z.HTML]),Ni=new Set([z.TBODY,z.TFOOT,z.THEAD,z.TEMPLATE,z.HTML]),Pi=new Set([z.TABLE,z.TEMPLATE,z.HTML]),Fi=new Set([z.TD,z.TH]),Ii=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=z.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===z.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===L.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==L.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(di,L.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Fi,L.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Pi,L.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Ni,L.HTML)}clearBackToTableRowContext(){this.clearBackTo(Mi,L.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===z.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===z.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case L.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case L.SVG:if(ji.has(r))return!1;break;case L.MATHML:if(Ai.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,Di)}hasInListItemScope(e){return this.hasInDynamicScope(e,Oi)}hasInButtonScope(e){return this.hasInDynamicScope(e,ki)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case L.HTML:if(di.has(t))return!0;if(Di.has(t))return!1;break;case L.SVG:if(ji.has(t))return!1;break;case L.MATHML:if(Ai.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===L.HTML)switch(this.tagIDs[t]){case e:return!0;case z.TABLE:case z.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===L.HTML)switch(this.tagIDs[e]){case z.TBODY:case z.THEAD:case z.TFOOT:return!0;case z.TABLE:case z.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===L.HTML)switch(this.tagIDs[t]){case e:return!0;case z.OPTION:case z.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Ti.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Ei.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&Ei.has(this.currentTagId);)this.pop()}}})),Ri,zi,Bi,Vi,Hi=s((()=>{Ri=3,(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(zi||={}),Bi={type:zi.Marker},Vi=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===zi.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<Ri)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<Ri)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=Ri&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(Bi)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:zi.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:zi.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(Bi);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===zi.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===zi.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===zi.Element&&t.element===e)}}})),Ui,Wi=s((()=>{fi(),Ui={createDocument(){return{nodeName:`#document`,mode:ci.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};Ui.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(Ui.isTextNode(n)){n.value+=t;return}}Ui.appendChild(e,Ui.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ui.isTextNode(r)?r.value+=t:Ui.insertBefore(e,Ui.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}}}));function Gi(e,t){return t.some(t=>e.startsWith(t))}function Ki(e){return e.name===Ji&&e.publicId===null&&(e.systemId===null||e.systemId===Yi)}function qi(e){if(e.name!==Ji)return ci.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===Xi)return ci.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),$i.has(n))return ci.QUIRKS;let e=t===null?Qi:Zi;if(Gi(n,e))return ci.QUIRKS;if(e=t===null?ea:ta,Gi(n,e))return ci.LIMITED_QUIRKS}return ci.NO_QUIRKS}var Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na=s((()=>{fi(),Ji=`html`,Yi=`about:legacy-compat`,Xi=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,Zi=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),Qi=[...Zi,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],$i=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),ea=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],ta=[...ea,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`]}));function ra(e){let t=e.tagID;return t===z.FONT&&e.attrs.some(({name:e})=>e===si.COLOR||e===si.SIZE||e===si.FACE)||ga.has(t)}function ia(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===da){e.attrs[t].name=fa;break}}function aa(e){for(let t=0;t<e.attrs.length;t++){let n=pa.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function oa(e){for(let t=0;t<e.attrs.length;t++){let n=ma.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function sa(e){let t=ha.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=oi(e.tagName))}function ca(e,t){return t===L.MATHML&&(e===z.MI||e===z.MO||e===z.MN||e===z.MS||e===z.MTEXT)}function la(e,t,n){if(t===L.MATHML&&e===z.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===si.ENCODING){let t=n[e].value.toLowerCase();return t===ua.TEXT_HTML||t===ua.APPLICATION_XML}}return t===L.SVG&&(e===z.FOREIGN_OBJECT||e===z.DESC||e===z.TITLE)}function H(e,t,n,r){return(!r||r===L.HTML)&&la(e,t,n)||(!r||r===L.MATHML)&&ca(e,t)}var ua,da,fa,pa,ma,ha,ga,_a=s((()=>{fi(),ua={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},da=`definitionurl`,fa=`definitionURL`,pa=new Map(`attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),ma=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:L.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:L.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:L.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:L.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:L.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:L.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:L.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:L.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:L.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:L.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:L.XMLNS}]]),ha=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),ga=new Set([z.B,z.BIG,z.BLOCKQUOTE,z.BODY,z.BR,z.CENTER,z.CODE,z.DD,z.DIV,z.DL,z.DT,z.EM,z.EMBED,z.H1,z.H2,z.H3,z.H4,z.H5,z.H6,z.HEAD,z.HR,z.I,z.IMG,z.LI,z.LISTING,z.MENU,z.META,z.NOBR,z.OL,z.P,z.PRE,z.RUBY,z.S,z.SMALL,z.SPAN,z.STRONG,z.STRIKE,z.SUB,z.SUP,z.TABLE,z.TT,z.U,z.UL,z.VAR])}));function va(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Bo(e,t),n}function ya(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function ba(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=Vs;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=xa(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function xa(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Sa(e,t,n){let r=oi(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===z.TEMPLATE&&i===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Ca(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function wa(e,t){for(let n=0;n<Bs;n++){let n=va(e,t);if(!n)break;let r=ya(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=ba(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&Sa(e,a,i),Ca(e,r,n)}}function Ta(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Ea(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Da(e,t){e._appendCommentNode(t,e.document)}function Oa(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function ka(e,t){e._setDocumentType(t);let n=t.forceQuirks?ci.QUIRKS:qi(t);Ki(t)||e._err(t,I.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=U.BEFORE_HTML}function Aa(e,t){e._err(t,I.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ci.QUIRKS),e.insertionMode=U.BEFORE_HTML,e._processToken(t)}function ja(e,t){t.tagID===z.HTML?(e._insertElement(t,L.HTML),e.insertionMode=U.BEFORE_HEAD):Na(e,t)}function Ma(e,t){let n=t.tagID;(n===z.HTML||n===z.HEAD||n===z.BODY||n===z.BR)&&Na(e,t)}function Na(e,t){e._insertFakeRootElement(),e.insertionMode=U.BEFORE_HEAD,e._processToken(t)}function Pa(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.HEAD:e._insertElement(t,L.HTML),e.headElement=e.openElements.current,e.insertionMode=U.IN_HEAD;break;default:Ia(e,t)}}function Fa(e,t){let n=t.tagID;n===z.HEAD||n===z.BODY||n===z.HTML||n===z.BR?Ia(e,t):e._err(t,I.endTagWithoutMatchingOpenElement)}function Ia(e,t){e._insertFakeElement(R.HEAD,z.HEAD),e.headElement=e.openElements.current,e.insertionMode=U.IN_HEAD,e._processToken(t)}function La(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.BASE:case z.BASEFONT:case z.BGSOUND:case z.LINK:case z.META:e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break;case z.TITLE:e._switchToTextParsing(t,Si.RCDATA);break;case z.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Si.RAWTEXT):(e._insertElement(t,L.HTML),e.insertionMode=U.IN_HEAD_NO_SCRIPT);break;case z.NOFRAMES:case z.STYLE:e._switchToTextParsing(t,Si.RAWTEXT);break;case z.SCRIPT:e._switchToTextParsing(t,Si.SCRIPT_DATA);break;case z.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=U.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(U.IN_TEMPLATE);break;case z.HEAD:e._err(t,I.misplacedStartTagForHeadElement);break;default:Ba(e,t)}}function Ra(e,t){switch(t.tagID){case z.HEAD:e.openElements.pop(),e.insertionMode=U.AFTER_HEAD;break;case z.BODY:case z.BR:case z.HTML:Ba(e,t);break;case z.TEMPLATE:za(e,t);break;default:e._err(t,I.endTagWithoutMatchingOpenElement)}}function za(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==z.TEMPLATE&&e._err(t,I.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(z.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,I.endTagWithoutMatchingOpenElement)}function Ba(e,t){e.openElements.pop(),e.insertionMode=U.AFTER_HEAD,e._processToken(t)}function Va(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.BASEFONT:case z.BGSOUND:case z.HEAD:case z.LINK:case z.META:case z.NOFRAMES:case z.STYLE:La(e,t);break;case z.NOSCRIPT:e._err(t,I.nestedNoscriptInHead);break;default:Ua(e,t)}}function Ha(e,t){switch(t.tagID){case z.NOSCRIPT:e.openElements.pop(),e.insertionMode=U.IN_HEAD;break;case z.BR:Ua(e,t);break;default:e._err(t,I.endTagWithoutMatchingOpenElement)}}function Ua(e,t){let n=t.type===Vr.EOF?I.openElementsLeftAfterEof:I.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=U.IN_HEAD,e._processToken(t)}function Wa(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.BODY:e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=U.IN_BODY;break;case z.FRAMESET:e._insertElement(t,L.HTML),e.insertionMode=U.IN_FRAMESET;break;case z.BASE:case z.BASEFONT:case z.BGSOUND:case z.LINK:case z.META:case z.NOFRAMES:case z.SCRIPT:case z.STYLE:case z.TEMPLATE:case z.TITLE:e._err(t,I.abandonedHeadElementChild),e.openElements.push(e.headElement,z.HEAD),La(e,t),e.openElements.remove(e.headElement);break;case z.HEAD:e._err(t,I.misplacedStartTagForHeadElement);break;default:Ka(e,t)}}function Ga(e,t){switch(t.tagID){case z.BODY:case z.HTML:case z.BR:Ka(e,t);break;case z.TEMPLATE:za(e,t);break;default:e._err(t,I.endTagWithoutMatchingOpenElement)}}function Ka(e,t){e._insertFakeElement(R.BODY,z.BODY),e.insertionMode=U.IN_BODY,qa(e,t)}function qa(e,t){switch(t.type){case Vr.CHARACTER:Ya(e,t);break;case Vr.WHITESPACE_CHARACTER:Ja(e,t);break;case Vr.COMMENT:Ta(e,t);break;case Vr.START_TAG:ko(e,t);break;case Vr.END_TAG:Vo(e,t);break;case Vr.EOF:Ho(e,t);break;default:}}function Ja(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ya(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Xa(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Za(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Qa(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,L.HTML),e.insertionMode=U.IN_FRAMESET)}function $a(e,t){e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function eo(e,t){e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&di.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,L.HTML)}function to(e,t){e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function no(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._insertElement(t,L.HTML),n||(e.formElement=e.openElements.current))}function ro(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===z.LI&&r===z.LI||(n===z.DD||n===z.DT)&&(r===z.DD||r===z.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==z.ADDRESS&&r!==z.DIV&&r!==z.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function io(e,t){e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=Si.PLAINTEXT}function ao(e,t){e.openElements.hasInScope(z.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(z.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1}function oo(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(R.A);n&&(wa(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function so(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function co(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(z.NOBR)&&(wa(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lo(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function uo(e,t){e.treeAdapter.getDocumentMode(e.document)!==ci.QUIRKS&&e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=U.IN_TABLE}function fo(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function po(e){let t=Br(e,si.TYPE);return t!=null&&t.toLowerCase()===zs}function mo(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),po(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function ho(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function go(e,t){e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function _o(e,t){t.tagName=R.IMG,t.tagID=z.IMG,fo(e,t)}function vo(e,t){e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Si.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=U.TEXT}function yo(e,t){e.openElements.hasInButtonScope(z.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Si.RAWTEXT)}function bo(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Si.RAWTEXT)}function xo(e,t){e._switchToTextParsing(t,Si.RAWTEXT)}function So(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===U.IN_TABLE||e.insertionMode===U.IN_CAPTION||e.insertionMode===U.IN_TABLE_BODY||e.insertionMode===U.IN_ROW||e.insertionMode===U.IN_CELL?U.IN_SELECT_IN_TABLE:U.IN_SELECT}function Co(e,t){e.openElements.currentTagId===z.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function wo(e,t){e.openElements.hasInScope(z.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function To(e,t){e.openElements.hasInScope(z.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(z.RTC),e._insertElement(t,L.HTML)}function Eo(e,t){e._reconstructActiveFormattingElements(),ia(t),oa(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}function Do(e,t){e._reconstructActiveFormattingElements(),aa(t),oa(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}function Oo(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function ko(e,t){switch(t.tagID){case z.I:case z.S:case z.B:case z.U:case z.EM:case z.TT:case z.BIG:case z.CODE:case z.FONT:case z.SMALL:case z.STRIKE:case z.STRONG:so(e,t);break;case z.A:oo(e,t);break;case z.H1:case z.H2:case z.H3:case z.H4:case z.H5:case z.H6:eo(e,t);break;case z.P:case z.DL:case z.OL:case z.UL:case z.DIV:case z.DIR:case z.NAV:case z.MAIN:case z.MENU:case z.ASIDE:case z.CENTER:case z.FIGURE:case z.FOOTER:case z.HEADER:case z.HGROUP:case z.DIALOG:case z.DETAILS:case z.ADDRESS:case z.ARTICLE:case z.SEARCH:case z.SECTION:case z.SUMMARY:case z.FIELDSET:case z.BLOCKQUOTE:case z.FIGCAPTION:$a(e,t);break;case z.LI:case z.DD:case z.DT:ro(e,t);break;case z.BR:case z.IMG:case z.WBR:case z.AREA:case z.EMBED:case z.KEYGEN:fo(e,t);break;case z.HR:go(e,t);break;case z.RB:case z.RTC:wo(e,t);break;case z.RT:case z.RP:To(e,t);break;case z.PRE:case z.LISTING:to(e,t);break;case z.XMP:yo(e,t);break;case z.SVG:Do(e,t);break;case z.HTML:Xa(e,t);break;case z.BASE:case z.LINK:case z.META:case z.STYLE:case z.TITLE:case z.SCRIPT:case z.BGSOUND:case z.BASEFONT:case z.TEMPLATE:La(e,t);break;case z.BODY:Za(e,t);break;case z.FORM:no(e,t);break;case z.NOBR:co(e,t);break;case z.MATH:Eo(e,t);break;case z.TABLE:uo(e,t);break;case z.INPUT:mo(e,t);break;case z.PARAM:case z.TRACK:case z.SOURCE:ho(e,t);break;case z.IMAGE:_o(e,t);break;case z.BUTTON:ao(e,t);break;case z.APPLET:case z.OBJECT:case z.MARQUEE:lo(e,t);break;case z.IFRAME:bo(e,t);break;case z.SELECT:So(e,t);break;case z.OPTION:case z.OPTGROUP:Co(e,t);break;case z.NOEMBED:case z.NOFRAMES:xo(e,t);break;case z.FRAMESET:Qa(e,t);break;case z.TEXTAREA:vo(e,t);break;case z.NOSCRIPT:e.options.scriptingEnabled?xo(e,t):Oo(e,t);break;case z.PLAINTEXT:io(e,t);break;case z.COL:case z.TH:case z.TD:case z.TR:case z.HEAD:case z.FRAME:case z.TBODY:case z.TFOOT:case z.THEAD:case z.CAPTION:case z.COLGROUP:break;default:Oo(e,t)}}function Ao(e,t){if(e.openElements.hasInScope(z.BODY)&&(e.insertionMode=U.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function jo(e,t){e.openElements.hasInScope(z.BODY)&&(e.insertionMode=U.AFTER_BODY,Ts(e,t))}function Mo(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function No(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(z.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(z.FORM):n&&e.openElements.remove(n))}function Po(e){e.openElements.hasInButtonScope(z.P)||e._insertFakeElement(R.P,z.P),e._closePElement()}function Fo(e){e.openElements.hasInListItemScope(z.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(z.LI),e.openElements.popUntilTagNamePopped(z.LI))}function Io(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Lo(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Ro(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function zo(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(R.BR,z.BR),e.openElements.pop(),e.framesetOk=!1}function Bo(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==z.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function Vo(e,t){switch(t.tagID){case z.A:case z.B:case z.I:case z.S:case z.U:case z.EM:case z.TT:case z.BIG:case z.CODE:case z.FONT:case z.NOBR:case z.SMALL:case z.STRIKE:case z.STRONG:wa(e,t);break;case z.P:Po(e);break;case z.DL:case z.UL:case z.OL:case z.DIR:case z.DIV:case z.NAV:case z.PRE:case z.MAIN:case z.MENU:case z.ASIDE:case z.BUTTON:case z.CENTER:case z.FIGURE:case z.FOOTER:case z.HEADER:case z.HGROUP:case z.DIALOG:case z.ADDRESS:case z.ARTICLE:case z.DETAILS:case z.SEARCH:case z.SECTION:case z.SUMMARY:case z.LISTING:case z.FIELDSET:case z.BLOCKQUOTE:case z.FIGCAPTION:Mo(e,t);break;case z.LI:Fo(e);break;case z.DD:case z.DT:Io(e,t);break;case z.H1:case z.H2:case z.H3:case z.H4:case z.H5:case z.H6:Lo(e);break;case z.BR:zo(e);break;case z.BODY:Ao(e,t);break;case z.HTML:jo(e,t);break;case z.FORM:No(e);break;case z.APPLET:case z.OBJECT:case z.MARQUEE:Ro(e,t);break;case z.TEMPLATE:za(e,t);break;default:Bo(e,t)}}function Ho(e,t){e.tmplInsertionModeStack.length>0?Cs(e,t):Oa(e,t)}function Uo(e,t){var n;t.tagID===z.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Wo(e,t){e._err(t,I.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Go(e,t){if(e.openElements.currentTagId!==void 0&&Us.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=U.IN_TABLE_TEXT,t.type){case Vr.CHARACTER:is(e,t);break;case Vr.WHITESPACE_CHARACTER:rs(e,t);break}else ns(e,t)}function Ko(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=U.IN_CAPTION}function qo(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=U.IN_COLUMN_GROUP}function Jo(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(R.COLGROUP,z.COLGROUP),e.insertionMode=U.IN_COLUMN_GROUP,cs(e,t)}function Yo(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=U.IN_TABLE_BODY}function Xo(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(R.TBODY,z.TBODY),e.insertionMode=U.IN_TABLE_BODY,ds(e,t)}function Zo(e,t){e.openElements.hasInTableScope(z.TABLE)&&(e.openElements.popUntilTagNamePopped(z.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Qo(e,t){po(t)?e._appendElement(t,L.HTML):ns(e,t),t.ackSelfClosing=!0}function $o(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,L.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function es(e,t){switch(t.tagID){case z.TD:case z.TH:case z.TR:Xo(e,t);break;case z.STYLE:case z.SCRIPT:case z.TEMPLATE:La(e,t);break;case z.COL:Jo(e,t);break;case z.FORM:$o(e,t);break;case z.TABLE:Zo(e,t);break;case z.TBODY:case z.TFOOT:case z.THEAD:Yo(e,t);break;case z.INPUT:Qo(e,t);break;case z.CAPTION:Ko(e,t);break;case z.COLGROUP:qo(e,t);break;default:ns(e,t)}}function ts(e,t){switch(t.tagID){case z.TABLE:e.openElements.hasInTableScope(z.TABLE)&&(e.openElements.popUntilTagNamePopped(z.TABLE),e._resetInsertionMode());break;case z.TEMPLATE:za(e,t);break;case z.BODY:case z.CAPTION:case z.COL:case z.COLGROUP:case z.HTML:case z.TBODY:case z.TD:case z.TFOOT:case z.TH:case z.THEAD:case z.TR:break;default:ns(e,t)}}function ns(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,qa(e,t),e.fosterParentingEnabled=n}function rs(e,t){e.pendingCharacterTokens.push(t)}function is(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function as(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ns(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function os(e,t){let n=t.tagID;Ks.has(n)?e.openElements.hasInTableScope(z.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(z.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_TABLE,es(e,t)):ko(e,t)}function ss(e,t){let n=t.tagID;switch(n){case z.CAPTION:case z.TABLE:e.openElements.hasInTableScope(z.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(z.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_TABLE,n===z.TABLE&&ts(e,t));break;case z.BODY:case z.COL:case z.COLGROUP:case z.HTML:case z.TBODY:case z.TD:case z.TFOOT:case z.TH:case z.THEAD:case z.TR:break;default:Vo(e,t)}}function cs(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.COL:e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break;case z.TEMPLATE:La(e,t);break;default:us(e,t)}}function ls(e,t){switch(t.tagID){case z.COLGROUP:e.openElements.currentTagId===z.COLGROUP&&(e.openElements.pop(),e.insertionMode=U.IN_TABLE);break;case z.TEMPLATE:za(e,t);break;case z.COL:break;default:us(e,t)}}function us(e,t){e.openElements.currentTagId===z.COLGROUP&&(e.openElements.pop(),e.insertionMode=U.IN_TABLE,e._processToken(t))}function ds(e,t){switch(t.tagID){case z.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,L.HTML),e.insertionMode=U.IN_ROW;break;case z.TH:case z.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(R.TR,z.TR),e.insertionMode=U.IN_ROW,ps(e,t);break;case z.CAPTION:case z.COL:case z.COLGROUP:case z.TBODY:case z.TFOOT:case z.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE,es(e,t));break;default:es(e,t)}}function fs(e,t){let n=t.tagID;switch(t.tagID){case z.TBODY:case z.TFOOT:case z.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE);break;case z.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE,ts(e,t));break;case z.BODY:case z.CAPTION:case z.COL:case z.COLGROUP:case z.HTML:case z.TD:case z.TH:case z.TR:break;default:ts(e,t)}}function ps(e,t){switch(t.tagID){case z.TH:case z.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,L.HTML),e.insertionMode=U.IN_CELL,e.activeFormattingElements.insertMarker();break;case z.CAPTION:case z.COL:case z.COLGROUP:case z.TBODY:case z.TFOOT:case z.THEAD:case z.TR:e.openElements.hasInTableScope(z.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,ds(e,t));break;default:es(e,t)}}function ms(e,t){switch(t.tagID){case z.TR:e.openElements.hasInTableScope(z.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY);break;case z.TABLE:e.openElements.hasInTableScope(z.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,fs(e,t));break;case z.TBODY:case z.TFOOT:case z.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(z.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,fs(e,t));break;case z.BODY:case z.CAPTION:case z.COL:case z.COLGROUP:case z.HTML:case z.TD:case z.TH:break;default:ts(e,t)}}function hs(e,t){let n=t.tagID;Ks.has(n)?(e.openElements.hasInTableScope(z.TD)||e.openElements.hasInTableScope(z.TH))&&(e._closeTableCell(),ps(e,t)):ko(e,t)}function gs(e,t){let n=t.tagID;switch(n){case z.TD:case z.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_ROW);break;case z.TABLE:case z.TBODY:case z.TFOOT:case z.THEAD:case z.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),ms(e,t));break;case z.BODY:case z.CAPTION:case z.COL:case z.COLGROUP:case z.HTML:break;default:Vo(e,t)}}function _s(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.OPTION:e.openElements.currentTagId===z.OPTION&&e.openElements.pop(),e._insertElement(t,L.HTML);break;case z.OPTGROUP:e.openElements.currentTagId===z.OPTION&&e.openElements.pop(),e.openElements.currentTagId===z.OPTGROUP&&e.openElements.pop(),e._insertElement(t,L.HTML);break;case z.HR:e.openElements.currentTagId===z.OPTION&&e.openElements.pop(),e.openElements.currentTagId===z.OPTGROUP&&e.openElements.pop(),e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break;case z.INPUT:case z.KEYGEN:case z.TEXTAREA:case z.SELECT:e.openElements.hasInSelectScope(z.SELECT)&&(e.openElements.popUntilTagNamePopped(z.SELECT),e._resetInsertionMode(),t.tagID!==z.SELECT&&e._processStartTag(t));break;case z.SCRIPT:case z.TEMPLATE:La(e,t);break;default:}}function vs(e,t){switch(t.tagID){case z.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===z.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===z.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===z.OPTGROUP&&e.openElements.pop();break;case z.OPTION:e.openElements.currentTagId===z.OPTION&&e.openElements.pop();break;case z.SELECT:e.openElements.hasInSelectScope(z.SELECT)&&(e.openElements.popUntilTagNamePopped(z.SELECT),e._resetInsertionMode());break;case z.TEMPLATE:za(e,t);break;default:}}function ys(e,t){let n=t.tagID;n===z.CAPTION||n===z.TABLE||n===z.TBODY||n===z.TFOOT||n===z.THEAD||n===z.TR||n===z.TD||n===z.TH?(e.openElements.popUntilTagNamePopped(z.SELECT),e._resetInsertionMode(),e._processStartTag(t)):_s(e,t)}function bs(e,t){let n=t.tagID;n===z.CAPTION||n===z.TABLE||n===z.TBODY||n===z.TFOOT||n===z.THEAD||n===z.TR||n===z.TD||n===z.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(z.SELECT),e._resetInsertionMode(),e.onEndTag(t)):vs(e,t)}function xs(e,t){switch(t.tagID){case z.BASE:case z.BASEFONT:case z.BGSOUND:case z.LINK:case z.META:case z.NOFRAMES:case z.SCRIPT:case z.STYLE:case z.TEMPLATE:case z.TITLE:La(e,t);break;case z.CAPTION:case z.COLGROUP:case z.TBODY:case z.TFOOT:case z.THEAD:e.tmplInsertionModeStack[0]=U.IN_TABLE,e.insertionMode=U.IN_TABLE,es(e,t);break;case z.COL:e.tmplInsertionModeStack[0]=U.IN_COLUMN_GROUP,e.insertionMode=U.IN_COLUMN_GROUP,cs(e,t);break;case z.TR:e.tmplInsertionModeStack[0]=U.IN_TABLE_BODY,e.insertionMode=U.IN_TABLE_BODY,ds(e,t);break;case z.TD:case z.TH:e.tmplInsertionModeStack[0]=U.IN_ROW,e.insertionMode=U.IN_ROW,ps(e,t);break;default:e.tmplInsertionModeStack[0]=U.IN_BODY,e.insertionMode=U.IN_BODY,ko(e,t)}}function Ss(e,t){t.tagID===z.TEMPLATE&&za(e,t)}function Cs(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(z.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Oa(e,t)}function ws(e,t){t.tagID===z.HTML?ko(e,t):Es(e,t)}function Ts(e,t){if(t.tagID===z.HTML){if(e.fragmentContext||(e.insertionMode=U.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===z.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else Es(e,t)}function Es(e,t){e.insertionMode=U.IN_BODY,qa(e,t)}function Ds(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.FRAMESET:e._insertElement(t,L.HTML);break;case z.FRAME:e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break;case z.NOFRAMES:La(e,t);break;default:}}function Os(e,t){t.tagID===z.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==z.FRAMESET&&(e.insertionMode=U.AFTER_FRAMESET))}function ks(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.NOFRAMES:La(e,t);break;default:}}function As(e,t){t.tagID===z.HTML&&(e.insertionMode=U.AFTER_AFTER_FRAMESET)}function js(e,t){t.tagID===z.HTML?ko(e,t):Ms(e,t)}function Ms(e,t){e.insertionMode=U.IN_BODY,qa(e,t)}function Ns(e,t){switch(t.tagID){case z.HTML:ko(e,t);break;case z.NOFRAMES:La(e,t);break;default:}}function Ps(e,t){t.chars=`�`,e._insertCharacters(t)}function Fs(e,t){e._insertCharacters(t),e.framesetOk=!1}function Is(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Ls(e,t){if(ra(t))Is(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===L.MATHML?ia(t):r===L.SVG&&(sa(t),aa(t)),oa(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Rs(e,t){if(t.tagID===z.P||t.tagID===z.BR){Is(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===L.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}var zs,Bs,Vs,U,Hs,Us,Ws,Gs,Ks,qs=s((()=>{wi(),Li(),Hi(),Wi(),na(),_a(),Ir(),Fr(),fi(),Hr(),zs=`hidden`,Bs=8,Vs=3,(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(U||={}),Hs={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Us=new Set([z.TABLE,z.TBODY,z.TFOOT,z.THEAD,z.TR]),Ws={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ui,onParseError:null},Gs=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=U.INITIAL,this.originalInsertionMode=U.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Ws,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Ci(this.options,this),this.activeFormattingElements=new Vi(this.treeAdapter),this.fragmentContextID=n?oi(this.treeAdapter.getTagName(n)):z.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new Ii(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...Ws,...t};e??=n.treeAdapter.createElement(R.TEMPLATE,L.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,L.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===z.TEMPLATE&&i.tmplInsertionModeStack.unshift(U.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??Hs,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===L.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,L.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=U.TEXT}switchToPlaintextParsing(){this.insertionMode=U.TEXT,this.originalInsertionMode=U.IN_BODY,this.tokenizer.state=Si.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===R.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==L.HTML))switch(this.fragmentContextID){case z.TITLE:case z.TEXTAREA:this.tokenizer.state=Si.RCDATA;break;case z.STYLE:case z.XMP:case z.IFRAME:case z.NOEMBED:case z.NOFRAMES:case z.NOSCRIPT:this.tokenizer.state=Si.RAWTEXT;break;case z.SCRIPT:this.tokenizer.state=Si.SCRIPT_DATA;break;case z.PLAINTEXT:this.tokenizer.state=Si.PLAINTEXT;break;default:}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,L.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,L.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(R.HTML,L.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,z.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===Vr.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===z.SVG&&this.treeAdapter.getTagName(t)===R.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===L.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===z.MGLYPH||e.tagID===z.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,L.HTML)}_processToken(e){switch(e.type){case Vr.CHARACTER:this.onCharacter(e);break;case Vr.NULL_CHARACTER:this.onNullCharacter(e);break;case Vr.COMMENT:this.onComment(e);break;case Vr.DOCTYPE:this.onDoctype(e);break;case Vr.START_TAG:this._processStartTag(e);break;case Vr.END_TAG:this.onEndTag(e);break;case Vr.EOF:this.onEof(e);break;case Vr.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return H(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===zi.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=U.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(z.P),this.openElements.popUntilTagNamePopped(z.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case z.TR:this.insertionMode=U.IN_ROW;return;case z.TBODY:case z.THEAD:case z.TFOOT:this.insertionMode=U.IN_TABLE_BODY;return;case z.CAPTION:this.insertionMode=U.IN_CAPTION;return;case z.COLGROUP:this.insertionMode=U.IN_COLUMN_GROUP;return;case z.TABLE:this.insertionMode=U.IN_TABLE;return;case z.BODY:this.insertionMode=U.IN_BODY;return;case z.FRAMESET:this.insertionMode=U.IN_FRAMESET;return;case z.SELECT:this._resetInsertionModeForSelect(e);return;case z.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case z.HTML:this.insertionMode=this.headElement?U.AFTER_HEAD:U.BEFORE_HEAD;return;case z.TD:case z.TH:if(e>0){this.insertionMode=U.IN_CELL;return}break;case z.HEAD:if(e>0){this.insertionMode=U.IN_HEAD;return}break}this.insertionMode=U.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===z.TEMPLATE)break;if(e===z.TABLE){this.insertionMode=U.IN_SELECT_IN_TABLE;return}}this.insertionMode=U.IN_SELECT}_isElementCausesFosterParenting(e){return Us.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case z.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===L.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case z.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return ui[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Fs(this,e);return}switch(this.insertionMode){case U.INITIAL:Aa(this,e);break;case U.BEFORE_HTML:Na(this,e);break;case U.BEFORE_HEAD:Ia(this,e);break;case U.IN_HEAD:Ba(this,e);break;case U.IN_HEAD_NO_SCRIPT:Ua(this,e);break;case U.AFTER_HEAD:Ka(this,e);break;case U.IN_BODY:case U.IN_CAPTION:case U.IN_CELL:case U.IN_TEMPLATE:Ya(this,e);break;case U.TEXT:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:Go(this,e);break;case U.IN_TABLE_TEXT:is(this,e);break;case U.IN_COLUMN_GROUP:us(this,e);break;case U.AFTER_BODY:Es(this,e);break;case U.AFTER_AFTER_BODY:Ms(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ps(this,e);return}switch(this.insertionMode){case U.INITIAL:Aa(this,e);break;case U.BEFORE_HTML:Na(this,e);break;case U.BEFORE_HEAD:Ia(this,e);break;case U.IN_HEAD:Ba(this,e);break;case U.IN_HEAD_NO_SCRIPT:Ua(this,e);break;case U.AFTER_HEAD:Ka(this,e);break;case U.TEXT:this._insertCharacters(e);break;case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:Go(this,e);break;case U.IN_COLUMN_GROUP:us(this,e);break;case U.AFTER_BODY:Es(this,e);break;case U.AFTER_AFTER_BODY:Ms(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ta(this,e);return}switch(this.insertionMode){case U.INITIAL:case U.BEFORE_HTML:case U.BEFORE_HEAD:case U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:case U.IN_BODY:case U.IN_TABLE:case U.IN_CAPTION:case U.IN_COLUMN_GROUP:case U.IN_TABLE_BODY:case U.IN_ROW:case U.IN_CELL:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:case U.IN_TEMPLATE:case U.IN_FRAMESET:case U.AFTER_FRAMESET:Ta(this,e);break;case U.IN_TABLE_TEXT:as(this,e);break;case U.AFTER_BODY:Ea(this,e);break;case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:Da(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case U.INITIAL:ka(this,e);break;case U.BEFORE_HEAD:case U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:this._err(e,I.misplacedDoctype);break;case U.IN_TABLE_TEXT:as(this,e);break;default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,I.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Ls(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case U.INITIAL:Aa(this,e);break;case U.BEFORE_HTML:ja(this,e);break;case U.BEFORE_HEAD:Pa(this,e);break;case U.IN_HEAD:La(this,e);break;case U.IN_HEAD_NO_SCRIPT:Va(this,e);break;case U.AFTER_HEAD:Wa(this,e);break;case U.IN_BODY:ko(this,e);break;case U.IN_TABLE:es(this,e);break;case U.IN_TABLE_TEXT:as(this,e);break;case U.IN_CAPTION:os(this,e);break;case U.IN_COLUMN_GROUP:cs(this,e);break;case U.IN_TABLE_BODY:ds(this,e);break;case U.IN_ROW:ps(this,e);break;case U.IN_CELL:hs(this,e);break;case U.IN_SELECT:_s(this,e);break;case U.IN_SELECT_IN_TABLE:ys(this,e);break;case U.IN_TEMPLATE:xs(this,e);break;case U.AFTER_BODY:ws(this,e);break;case U.IN_FRAMESET:Ds(this,e);break;case U.AFTER_FRAMESET:ks(this,e);break;case U.AFTER_AFTER_BODY:js(this,e);break;case U.AFTER_AFTER_FRAMESET:Ns(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Rs(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case U.INITIAL:Aa(this,e);break;case U.BEFORE_HTML:Ma(this,e);break;case U.BEFORE_HEAD:Fa(this,e);break;case U.IN_HEAD:Ra(this,e);break;case U.IN_HEAD_NO_SCRIPT:Ha(this,e);break;case U.AFTER_HEAD:Ga(this,e);break;case U.IN_BODY:Vo(this,e);break;case U.TEXT:Uo(this,e);break;case U.IN_TABLE:ts(this,e);break;case U.IN_TABLE_TEXT:as(this,e);break;case U.IN_CAPTION:ss(this,e);break;case U.IN_COLUMN_GROUP:ls(this,e);break;case U.IN_TABLE_BODY:fs(this,e);break;case U.IN_ROW:ms(this,e);break;case U.IN_CELL:gs(this,e);break;case U.IN_SELECT:vs(this,e);break;case U.IN_SELECT_IN_TABLE:bs(this,e);break;case U.IN_TEMPLATE:Ss(this,e);break;case U.AFTER_BODY:Ts(this,e);break;case U.IN_FRAMESET:Os(this,e);break;case U.AFTER_FRAMESET:As(this,e);break;case U.AFTER_AFTER_BODY:Ms(this,e);break;default:}}onEof(e){switch(this.insertionMode){case U.INITIAL:Aa(this,e);break;case U.BEFORE_HTML:Na(this,e);break;case U.BEFORE_HEAD:Ia(this,e);break;case U.IN_HEAD:Ba(this,e);break;case U.IN_HEAD_NO_SCRIPT:Ua(this,e);break;case U.AFTER_HEAD:Ka(this,e);break;case U.IN_BODY:case U.IN_TABLE:case U.IN_CAPTION:case U.IN_COLUMN_GROUP:case U.IN_TABLE_BODY:case U.IN_ROW:case U.IN_CELL:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:Ho(this,e);break;case U.TEXT:Wo(this,e);break;case U.IN_TABLE_TEXT:as(this,e);break;case U.IN_TEMPLATE:Cs(this,e);break;case U.AFTER_BODY:case U.IN_FRAMESET:case U.AFTER_FRAMESET:case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:Oa(this,e);break;default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===F.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:case U.TEXT:case U.IN_COLUMN_GROUP:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:case U.IN_FRAMESET:case U.AFTER_FRAMESET:this._insertCharacters(e);break;case U.IN_BODY:case U.IN_CAPTION:case U.IN_CELL:case U.IN_TEMPLATE:case U.AFTER_BODY:case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:Ja(this,e);break;case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:Go(this,e);break;case U.IN_TABLE_TEXT:rs(this,e);break;default:}}},Ks=new Set([z.CAPTION,z.COL,z.COLGROUP,z.TBODY,z.TD,z.TFOOT,z.TH,z.THEAD,z.TR])})),Js=s((()=>{fi(),Wi(),new Set([R.AREA,R.BASE,R.BASEFONT,R.BGSOUND,R.BR,R.COL,R.EMBED,R.FRAME,R.HR,R.IMG,R.INPUT,R.KEYGEN,R.LINK,R.META,R.PARAM,R.SOURCE,R.TRACK,R.WBR])})),Ys=s((()=>{qs(),Wi(),Js(),Ir(),_a(),fi(),Hr(),wi()}));function Xs(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function Zs(e){let t=$s(e),n=Qs(e);if(t&&n)return{start:t,end:n}}var Qs,$s,ec=s((()=>{Qs=Xs(`end`),$s=Xs(`start`)})),tc=s((()=>{ec()}));function nc(e,t){let n=gc(e),r=cr(`type`,{handlers:{root:ic,element:ac,text:oc,comment:lc,doctype:sc,raw:uc},unknown:dc}),i={parser:n?new Gs(xc):Gs.getFragmentParser(void 0,xc),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),fc(i,$s());let a=Xn(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&He(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function rc(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function ic(e,t){rc(e.children,t)}function ac(e,t){mc(e,t),rc(e.children,t),hc(e,t)}function oc(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:Vr.CHARACTER,chars:e.value,location:_c(e)};fc(t,$s(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function sc(e,t){let n={type:Vr.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:_c(e)};fc(t,$s(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function cc(e,t){t.stitches=!0;let n=vc(e);`children`in e&&`children`in n&&(n.children=nc({type:`root`,children:e.children},t.options).children),lc({type:`comment`,value:{stitch:n}},t)}function lc(e,t){let n=e.value,r={type:Vr.COMMENT,data:n,location:_c(e)};fc(t,$s(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function uc(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,pc(t,$s(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(yc,`<$1$2`):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function dc(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))cc(n,t);else{let e=``;throw bc.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function fc(e,t){pc(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Si.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function pc(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function mc(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Si.PLAINTEXT)return;fc(t,$s(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:Jn.html;i===Jn.html&&n===`svg`&&(i=Jn.svg);let a=dr({...e,children:[]},{space:i===Jn.svg?`svg`:`html`}),o={type:Vr.START_TAG,tagName:n,tagID:oi(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:_c(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function hc(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Er.includes(n)||t.parser.tokenizer.state===Si.PLAINTEXT)return;fc(t,Qs(e));let r={type:Vr.END_TAG,tagName:n,tagID:oi(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:_c(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Si.RCDATA||t.parser.tokenizer.state===Si.RAWTEXT||t.parser.tokenizer.state===Si.SCRIPT_DATA)&&(t.parser.tokenizer.state=Si.DATA)}function gc(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function _c(e){let t=$s(e)||{line:void 0,column:void 0,offset:void 0},n=Qs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function vc(e){return`children`in e?vt({...e,children:[]}):vt(e)}var yc,bc,xc,Sc=s((()=>{yt(),sr(),Tr(),Dr(),Ys(),tc(),We(),Yn(),ur(),yc=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,bc=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),xc={sourceCodeLocationInfo:!0,scriptingEnabled:!1}})),Cc=s((()=>{Sc()}));function wc(e){return function(t,n){return nc(t,{...e,file:n})}}var Tc=s((()=>{Cc()})),Ec=s((()=>{Tc()})),Dc,Oc,kc=s((()=>{Dc=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],Oc={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...Dc,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...Dc],h2:[[`className`,`sr-only`]],img:[...Dc,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...Dc,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...Dc],table:[...Dc],ul:[...Dc,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)}}));function Ac(e,t){let n={type:`root`,children:[]},r=jc({schema:t?{...Oc,...t}:Oc,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function jc(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return Mc(e,n);case`doctype`:return Nc(e,n);case`element`:return Pc(e,n);case`root`:return Fc(e,n);case`text`:return Ic(e,n);default:}}}function Mc(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return Uc(r,t),r}}function Nc(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return Uc(e,t),e}}function Pc(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=Lc(e,t.children),i=Rc(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&Gc.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return Uc(o,t),o}function Fc(e,t){let n={type:`root`,children:Lc(e,t.children)};return Uc(n,t),n}function Ic(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return Uc(n,t),n}function Lc(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=jc(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Rc(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&Gc.call(r,n)?r[n]:void 0,o=r&&Gc.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(Gc.call(s,l)){let t=s[l],n=zc(e,Wc(a,l),l,t);n??=zc(e,Wc(o,l),l,t),n!=null&&(c[l]=n)}if(i&&Gc.call(i,n)){let e=i[n];for(l in e)Gc.call(e,l)&&!Gc.call(c,l)&&(c[l]=e[l])}return c}function zc(e,t,n,r){return t?Array.isArray(r)?Bc(e,t,n,r):Vc(e,t,n,r):void 0}function Bc(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=Vc(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function Vc(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&Hc(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function Hc(e,t,n){let r=e.schema.protocols&&Gc.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function Uc(e,t){let n=Zs(t);t.data&&(e.data=vt(t.data)),n&&(e.position=n)}function Wc(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}var Gc,Kc=s((()=>{yt(),tc(),kc(),Gc={}.hasOwnProperty})),qc=s((()=>{Kc(),kc()}));function Jc(e){return function(t){return Ac(t,e)}}var Yc=s((()=>{qc()})),Xc=s((()=>{qc(),Yc()}));function Zc(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var Qc=s((()=>{}));function $c(e){return e!==null&&(e<32||e===127)}function W(e){return e!==null&&e<-2}function el(e){return e!==null&&(e<0||e===32)}function G(e){return e===-2||e===-1||e===32}function tl(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}var nl,rl,il,al,ol,sl,cl,ll,ul=s((()=>{nl=tl(/[A-Za-z]/),rl=tl(/[\dA-Za-z]/),il=tl(/[#-'*+\--9=?A-Z^-~]/),al=tl(/\d/),ol=tl(/[\dA-Fa-f]/),sl=tl(/[!-/:-@[-`{-~]/),cl=tl(/\p{P}|\p{S}/u),ll=tl(/\s/)}));function dl(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var fl=s((()=>{}));function pl(e,t,n){let r=je((n||{}).ignore||[]),i=ml(t),a=-1;for(;++a<i.length;)Ie(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function ml(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([hl(e[0]),gl(e[1])])}return t}function hl(e){return typeof e==`string`?new RegExp(dl(e),`g`):e}function gl(e){return typeof e==`function`?e:function(){return e}}var _l=s((()=>{fl(),Ve(),Ne()})),vl=s((()=>{_l()}));function yl(){return{transforms:[Dl],enter:{literalAutolink:xl,literalAutolinkEmail:Sl,literalAutolinkHttp:Sl,literalAutolinkWww:Sl},exit:{literalAutolink:El,literalAutolinkEmail:Tl,literalAutolinkHttp:Cl,literalAutolinkWww:wl}}}function bl(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:Nl,notInConstruct:Pl},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:Nl,notInConstruct:Pl},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:Nl,notInConstruct:Pl}]}}function xl(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function Sl(e){this.config.enter.autolinkProtocol.call(this,e)}function Cl(e){this.config.exit.autolinkProtocol.call(this,e)}function wl(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function Tl(e){this.config.exit.autolinkEmail.call(this,e)}function El(e){this.exit(e)}function Dl(e){pl(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Ol],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,kl]],{ignore:[`link`,`linkReference`]})}function Ol(e,t,n,r,i){let a=``;if(!Ml(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!Al(n)))return!1;let o=jl(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function kl(e,t,n,r){return!Ml(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function Al(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function jl(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=Zc(e,`(`),a=Zc(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function Ml(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||ll(n)||cl(n))&&(!t||n!==47)}var Nl,Pl,Fl=s((()=>{Qc(),bt(),ul(),vl(),Nl=`phrasing`,Pl=[`autolink`,`link`,`image`,`label`]})),Il=s((()=>{Fl()}));function Ll(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var Rl=s((()=>{}));function zl(){this.buffer()}function Bl(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function Vl(){this.buffer()}function Hl(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Ul(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ll(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Wl(e){this.exit(e)}function Gl(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ll(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Kl(e){this.exit(e)}function ql(){return`[`}function Jl(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function Yl(){return{enter:{gfmFootnoteCallString:zl,gfmFootnoteCall:Bl,gfmFootnoteDefinitionLabelString:Vl,gfmFootnoteDefinition:Hl},exit:{gfmFootnoteCallString:Ul,gfmFootnoteCall:Wl,gfmFootnoteDefinitionLabelString:Gl,gfmFootnoteDefinition:Kl}}}function Xl(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Jl},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
252
|
+
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?Ql:Zl))),s(),o}}function Zl(e,t,n){return t===0?e:Ql(e,t,n)}function Ql(e,t,n){return(n?``:` `)+e}var $l=s((()=>{bt(),Rl(),Jl.peek=ql})),eu=s((()=>{$l()}));function tu(){return{canContainEols:[`delete`],enter:{strikethrough:ru},exit:{strikethrough:iu}}}function nu(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:su}],handlers:{delete:au}}}function ru(e){this.enter({type:`delete`,children:[]},e)}function iu(e){this.exit(e)}function au(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function ou(){return`~`}var su,cu=s((()=>{su=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],au.peek=ou})),lu=s((()=>{cu()}));function uu(e){return e.length}function du(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||uu,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=fu(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=pu(r[d]);else{let e=pu(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
|
|
253
|
+
`)}function fu(e){return e==null?``:String(e)}function pu(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var mu=s((()=>{}));function hu(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),gu);return i(),o}function gu(e,t,n){return`>`+(n?``:` `)+e}var _u=s((()=>{}));function vu(e,t){return yu(e,t.inConstruct,!0)&&!yu(e,t.notInConstruct,!1)}function yu(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}var bu=s((()=>{}));function xu(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
254
|
+
`&&vu(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
|
255
|
+
`}var Su=s((()=>{bu()}));function Cu(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}var wu=s((()=>{}));function Tu(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}var Eu=s((()=>{}));function Du(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}var Ou=s((()=>{}));function ku(e,t,n,r){let i=Du(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(Tu(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,Au);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(Cu(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
256
|
+
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
|
257
|
+
`),a&&(u+=s.move(a+`
|
|
258
|
+
`)),u+=s.move(c),l(),u}function Au(e,t,n){return(n?``:` `)+e}var ju=s((()=>{wu(),Eu(),Ou()}));function Mu(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var Nu=s((()=>{}));function Pu(e,t,n,r){let i=Mu(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
|
259
|
+
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}var Fu=s((()=>{Nu()}));function Iu(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}var Lu=s((()=>{}));function Ru(e){return`&#x`+e.toString(16).toUpperCase()+`;`}var zu=s((()=>{}));function Bu(e){if(e===null||el(e)||ll(e))return 1;if(cl(e))return 2}var Vu=s((()=>{ul()}));function Hu(e,t,n){let r=Bu(e),i=Bu(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var Uu=s((()=>{Vu()}));function Wu(e,t,n,r){let i=Iu(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=Hu(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=Ru(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=Hu(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+Ru(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function Gu(e,t,n){return n.options.emphasis||`*`}var Ku=s((()=>{Lu(),zu(),Uu(),Wu.peek=Gu}));function qu(e,t){let n=t||Zu;return Ju(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function Ju(e,t,n){if(Xu(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return Yu(e.children,t,n)}return Array.isArray(e)?Yu(e,t,n):``}function Yu(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Ju(e[i],t,n);return r.join(``)}function Xu(e){return!!(e&&typeof e==`object`)}var Zu,Qu=s((()=>{Zu={}})),$u=s((()=>{Qu()}));function ed(e,t){let n=!1;return He(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&qu(e)&&(t.options.setext||n))}var td=s((()=>{We(),$u()}));function nd(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(ed(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
|
260
|
+
`,after:`
|
|
261
|
+
`});return r(),t(),o+`
|
|
262
|
+
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
|
263
|
+
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
|
264
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=Ru(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}var rd=s((()=>{zu(),td()}));function id(e){return e.value||``}function ad(){return`<`}var od=s((()=>{id.peek=ad}));function sd(e,t,n,r){let i=Mu(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function cd(){return`!`}var ld=s((()=>{Nu(),sd.peek=cd}));function ud(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function dd(){return`!`}var fd=s((()=>{ud.peek=dd}));function pd(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function md(){return"`"}var hd=s((()=>{pd.peek=md}));function gd(e,t){let n=qu(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}var _d=s((()=>{$u()}));function vd(e,t,n,r){let i=Mu(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(gd(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function yd(e,t,n){return gd(e,n)?`<`:`[`}var bd=s((()=>{Nu(),_d(),vd.peek=yd}));function xd(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function Sd(){return`[`}var Cd=s((()=>{xd.peek=Sd}));function wd(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}var Td=s((()=>{}));function Ed(e){let t=wd(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}var Dd=s((()=>{Td()}));function Od(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}var kd=s((()=>{}));function Ad(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}var jd=s((()=>{}));function Md(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?Od(n):wd(n),s=e.ordered?o===`.`?`)`:`.`:Ed(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),Ad(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}var Nd=s((()=>{Td(),Dd(),kd(),jd()}));function Pd(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}var Fd=s((()=>{}));function Id(e,t,n,r){let i=Pd(n),a=n.bulletCurrent||wd(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}var Ld=s((()=>{Td(),Fd()}));function Rd(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var zd=s((()=>{})),Bd,Vd=s((()=>{Ne(),Bd=je([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`])})),Hd=s((()=>{Vd()}));function Ud(e,t,n,r){return(e.children.some(function(e){return Bd(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}var Wd=s((()=>{Hd()}));function Gd(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}var Kd=s((()=>{}));function qd(e,t,n,r){let i=Gd(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=Hu(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=Ru(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=Hu(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+Ru(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function Jd(e,t,n){return n.options.strong||`*`}var Yd=s((()=>{Kd(),zu(),Uu(),qd.peek=Jd}));function Xd(e,t,n,r){return n.safe(e.value,r)}var Zd=s((()=>{}));function Qd(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}var $d=s((()=>{}));function ef(e,t,n){let r=(Ad(n)+(n.options.ruleSpaces?` `:``)).repeat(Qd(n));return n.options.ruleSpaces?r.slice(0,-1):r}var tf=s((()=>{$d(),jd()})),nf,rf=s((()=>{_u(),Su(),ju(),Fu(),Ku(),rd(),od(),ld(),fd(),hd(),bd(),Cd(),Nd(),Ld(),zd(),Wd(),Yd(),Zd(),tf(),nf={blockquote:hu,break:xu,code:ku,definition:Pu,emphasis:Wu,hardBreak:xu,heading:nd,html:id,image:sd,imageReference:ud,inlineCode:pd,link:vd,linkReference:xd,list:Md,listItem:Id,paragraph:Rd,root:Ud,strong:qd,text:Xd,thematicBreak:ef}}));function af(e){let t=`&`+e+`;`;of.innerHTML=t;let n=of.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}var of,sf=s((()=>{of=document.createElement(`i`)}));function cf(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var lf=s((()=>{}));function uf(e){return e.replace(ff,df)}function df(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return cf(n.slice(t?2:1),t?16:10)}return af(n)||e}var ff,pf=s((()=>{sf(),lf(),ff=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi})),mf=s((()=>{ur(),rf(),Eu(),td(),pf(),zu(),bu()}));function hf(){return{enter:{table:gf,tableData:bf,tableHeader:bf,tableRow:vf},exit:{codeText:xf,table:_f,tableData:yf,tableHeader:yf,tableRow:yf}}}function gf(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function _f(e){this.exit(e),this.data.inTable=void 0}function vf(e){this.enter({type:`tableRow`,children:[]},e)}function yf(e){this.exit(e)}function bf(e){this.enter({type:`tableCell`,children:[]},e)}function xf(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Sf));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Sf(e,t){return t===`|`?t:e}function Cf(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
|
265
|
+
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
|
266
|
+
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return du(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=nf.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}var wf=s((()=>{bt(),mu(),mf()})),Tf=s((()=>{wf()}));function Ef(){return{exit:{taskListCheckValueChecked:Of,taskListCheckValueUnchecked:Of,paragraph:kf}}}function Df(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Af}}}function Of(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function kf(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Af(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=nf.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}var jf=s((()=>{bt(),mf()})),Mf=s((()=>{jf()}));function Nf(){return[yl(),Yl(),tu(),hf(),Ef()]}function Pf(e){return{extensions:[bl(),Xl(e),nu(),Cf(e),Df()]}}var Ff=s((()=>{Il(),eu(),lu(),Tf(),Mf()})),If=s((()=>{Ff()}));function Lf(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Rf(e,t){return e.length>0?(Lf(e,e.length,0,t),e):t}var zf=s((()=>{}));function Bf(e){let t={},n=-1;for(;++n<e.length;)Vf(t,e[n]);return t}function Vf(e,t){let n;for(n in t){let r=(K.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){K.call(r,a)||(r[a]=[]);let e=i[a];Hf(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Hf(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);Lf(e,0,0,r)}var K,Uf=s((()=>{zf(),K={}.hasOwnProperty}));function Wf(){return{text:fp}}function Gf(e,t,n){let r=this,i,a;return o;function o(t){return!np(t)||!tp.call(r,r.previous)||rp(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return np(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(cp,u,l)(t):t===45||t===95||rl(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&nl(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Kf(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!$f.call(r,r.previous)||rp(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(ip,e.attempt(ap,e.attempt(op,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function qf(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&ep.call(r,r.previous)&&!rp(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(nl(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||$c(t)||el(t)||ll(t)||cl(t)?n(t):e.attempt(ap,e.attempt(op,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Jf(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Yf(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(sp,c,s)(t):t===null||el(t)||ll(t)||t!==45&&cl(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Xf(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(sp,t,a)(o):o===null||el(o)||ll(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Zf(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||el(o)||ll(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||el(e)||ll(e)?t(e):r(e)}function a(e){return nl(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):nl(t)?(e.consume(t),o):n(t)}}function Qf(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return rl(e)?n(e):t(e)}}function $f(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||el(e)}function ep(e){return!nl(e)}function tp(e){return!(e===47||np(e))}function np(e){return e===43||e===45||e===46||e===95||rl(e)}function rp(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var ip,ap,op,sp,cp,lp,up,dp,fp,pp,mp=s((()=>{for(ul(),ip={tokenize:Jf,partial:!0},ap={tokenize:Yf,partial:!0},op={tokenize:Xf,partial:!0},sp={tokenize:Zf,partial:!0},cp={tokenize:Qf,partial:!0},lp={name:`wwwAutolink`,tokenize:Kf,previous:$f},up={name:`protocolAutolink`,tokenize:qf,previous:ep},dp={name:`emailAutolink`,tokenize:Gf,previous:tp},fp={},pp=48;pp<123;)fp[pp]=dp,pp++,pp===58?pp=65:pp===91&&(pp=97);fp[43]=dp,fp[45]=dp,fp[46]=dp,fp[95]=dp,fp[72]=[dp,up],fp[104]=[dp,up],fp[87]=[dp,lp],fp[119]=[dp,lp]}));function hp(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&rl(e.charCodeAt(n+1))&&rl(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}var gp=s((()=>{ul()})),_p=s((()=>{mp(),gp()}));function vp(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var yp=s((()=>{}));function bp(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};Sp(d,-c),Sp(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Rf(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Rf(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=Rf(l,vp(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Rf(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Rf(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Lf(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function xp(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Bu(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=Bu(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function Sp(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Cp,wp=s((()=>{zf(),Vu(),yp(),Cp={name:`attention`,resolveAll:bp,tokenize:xp}}));function Tp(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return nl(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||rl(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||rl(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||$c(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):il(t)?(e.consume(t),l):n(t)}function u(e){return rl(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||rl(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var Ep,Dp=s((()=>{ul(),Ep={name:`autolink`,tokenize:Tp}}));function Op(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return G(r)?(e.enter(n),s(r)):t(r)}function s(r){return G(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var kp=s((()=>{ul()}));function Ap(e,t,n){return r;function r(t){return G(t)?Op(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||W(e)?t(e):n(e)}}var jp,Mp=s((()=>{kp(),ul(),jp={partial:!0,tokenize:Ap}}));function Np(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return G(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Pp(e,t,n){let r=this;return i;function i(t){return G(t)?Op(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(Ip,t,n)(r)}}function Fp(e){e.exit(`blockQuote`)}var Ip,Lp=s((()=>{kp(),ul(),Ip={continuation:{tokenize:Pp},exit:Fp,name:`blockQuote`,tokenize:Np}}));function Rp(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return sl(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var zp,Bp=s((()=>{ul(),zp={name:`characterEscape`,tokenize:Rp}}));function Vp(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=rl,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=ol,u):(e.enter(`characterReferenceValue`),a=7,o=al,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===rl&&!af(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Hp,Up=s((()=>{sf(),ul(),Hp={name:`characterReference`,tokenize:Vp}}));function Wp(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),G(t)?Op(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||W(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Kp,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||W(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):G(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Op(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||W(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||W(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&G(t)?Op(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||W(t)?e.check(Kp,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||W(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),G(t)?Op(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),G(t)?Op(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||W(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function Gp(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Kp,qp,Jp=s((()=>{kp(),ul(),Kp={partial:!0,tokenize:Gp},qp={concrete:!0,name:`codeFenced`,tokenize:Wp}}));function Yp(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Op(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):W(t)?e.attempt(Qp,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||W(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function Xp(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):W(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Op(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):W(e)?i(e):n(e)}}var Zp,Qp,$p=s((()=>{kp(),ul(),Zp={name:`codeIndented`,tokenize:Yp},Qp={partial:!0,tokenize:Xp}}));function em(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function tm(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function nm(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):W(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||W(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var rm,im=s((()=>{ul(),rm={name:`codeText`,previous:tm,resolve:em,tokenize:nm}}));function am(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}var om,sm=s((()=>{om=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&am(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),am(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),am(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);am(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);am(this.left,t.reverse())}}}}));function cm(e){let t={},n=-1,r,i,a,o,s,c,l,u=new om(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,lm(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return Lf(e,0,1/0,u.slice(0)),!l}function lm(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var um=s((()=>{zf(),sm()}));function dm(e){return cm(e),e}function fm(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):W(t)?e.check(hm,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function pm(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Op(e,a,`linePrefix`)}function a(i){if(i===null||W(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}var mm,hm,gm=s((()=>{kp(),ul(),um(),mm={resolve:dm,tokenize:fm},hm={partial:!0,tokenize:pm}}));function _m(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||$c(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||W(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||el(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||$c(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}var vm=s((()=>{ul()}));function ym(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):W(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||W(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!G(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}var bm=s((()=>{ul()}));function xm(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):W(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Op(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||W(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}var Sm=s((()=>{kp(),ul()}));function Cm(e,t){let n;return r;function r(i){return W(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):G(i)?Op(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var wm=s((()=>{kp(),ul()}));function Tm(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return ym.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=Ll(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return el(t)?Cm(e,l)(t):l(t)}function l(t){return _m(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(Om,d,d)(t)}function d(t){return G(t)?Op(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||W(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function Em(e,t,n){return r;function r(t){return el(t)?Cm(e,i)(t):n(t)}function i(t){return xm(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return G(t)?Op(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||W(e)?t(e):n(e)}}var Dm,Om,km=s((()=>{vm(),bm(),kp(),Sm(),wm(),ul(),Rl(),Dm={name:`definition`,tokenize:Tm},Om={partial:!0,tokenize:Em}}));function Am(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return W(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var jm,Mm=s((()=>{ul(),jm={name:`hardBreakEscape`,tokenize:Am}}));function Nm(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},Lf(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function Pm(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||el(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||W(n)?(e.exit(`atxHeading`),t(n)):G(n)?Op(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||el(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var Fm,Im=s((()=>{kp(),ul(),zf(),Fm={name:`headingAtx`,resolve:Nm,tokenize:Pm}})),Lm,Rm,zm=s((()=>{Lm=`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.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Rm=[`pre`,`script`,`style`,`textarea`]}));function Bm(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Vm(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:A):nl(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):nl(a)?(e.consume(a),i=4,r.interrupt?t:A):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:A):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:E:m):n(i)}function h(t){return nl(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||el(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&Rm.includes(l)?(i=1,r.interrupt?t(s):E(s)):Lm.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):E(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||rl(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:E):n(i)}function v(t){return G(t)?(e.consume(t),v):ee(t)}function y(t){return t===47?(e.consume(t),ee):t===58||t===95||nl(t)?(e.consume(t),b):G(t)?(e.consume(t),y):ee(t)}function b(t){return t===45||t===46||t===58||t===95||rl(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):G(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):G(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||W(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||el(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||G(e)?y(e):n(e)}function ee(t){return t===62?(e.consume(t),te):n(t)}function te(t){return t===null||W(t)?E(t):G(t)?(e.consume(t),te):n(t)}function E(t){return t===45&&i===2?(e.consume(t),O):t===60&&i===1?(e.consume(t),k):t===62&&i===4?(e.consume(t),j):t===63&&i===3?(e.consume(t),A):t===93&&i===5?(e.consume(t),ae):W(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(Gm,oe,ne)(t)):t===null||W(t)?(e.exit(`htmlFlowData`),ne(t)):(e.consume(t),E)}function ne(t){return e.check(Km,D,oe)(t)}function D(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),re}function re(t){return t===null||W(t)?ne(t):(e.enter(`htmlFlowData`),E(t))}function O(t){return t===45?(e.consume(t),A):E(t)}function k(t){return t===47?(e.consume(t),o=``,ie):E(t)}function ie(t){if(t===62){let n=o.toLowerCase();return Rm.includes(n)?(e.consume(t),j):E(t)}return nl(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),ie):E(t)}function ae(t){return t===93?(e.consume(t),A):E(t)}function A(t){return t===62?(e.consume(t),j):t===45&&i===2?(e.consume(t),A):E(t)}function j(t){return t===null||W(t)?(e.exit(`htmlFlowData`),oe(t)):(e.consume(t),j)}function oe(n){return e.exit(`htmlFlow`),t(n)}}function Hm(e,t,n){let r=this;return i;function i(t){return W(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Um(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(jp,t,n)}}var Wm,Gm,Km,qm=s((()=>{ul(),zm(),Mp(),Wm={concrete:!0,name:`htmlFlow`,resolveTo:Bm,tokenize:Vm},Gm={partial:!0,tokenize:Um},Km={partial:!0,tokenize:Hm}}));function Jm(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):nl(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):nl(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):W(t)?(o=d,k(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?O(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):W(t)?(o=h,k(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?O(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?O(t):W(t)?(o=v,k(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):W(t)?(o=y,k(t)):(e.consume(t),y)}function b(e){return e===62?O(e):y(e)}function x(t){return nl(t)?(e.consume(t),S):n(t)}function S(t){return t===45||rl(t)?(e.consume(t),S):C(t)}function C(t){return W(t)?(o=C,k(t)):G(t)?(e.consume(t),C):O(t)}function w(t){return t===45||rl(t)?(e.consume(t),w):t===47||t===62||el(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),O):t===58||t===95||nl(t)?(e.consume(t),ee):W(t)?(o=T,k(t)):G(t)?(e.consume(t),T):O(t)}function ee(t){return t===45||t===46||t===58||t===95||rl(t)?(e.consume(t),ee):te(t)}function te(t){return t===61?(e.consume(t),E):W(t)?(o=te,k(t)):G(t)?(e.consume(t),te):T(t)}function E(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,ne):W(t)?(o=E,k(t)):G(t)?(e.consume(t),E):(e.consume(t),D)}function ne(t){return t===i?(e.consume(t),i=void 0,re):t===null?n(t):W(t)?(o=ne,k(t)):(e.consume(t),ne)}function D(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||el(t)?T(t):(e.consume(t),D)}function re(e){return e===47||e===62||el(e)?T(e):n(e)}function O(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function k(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ie}function ie(t){return G(t)?Op(e,ae,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ae(t)}function ae(t){return e.enter(`htmlTextData`),o(t)}}var Ym,Xm=s((()=>{kp(),ul(),Ym={name:`htmlText`,tokenize:Jm}}));function Zm(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&Lf(e,0,e.length,n),e}function Qm(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=Rf(s,e.slice(a+1,a+r+3)),s=Rf(s,[[`enter`,u,t]]),s=Rf(s,vp(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Rf(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Rf(s,e.slice(o+1)),s=Rf(s,[[`exit`,c,t]]),Lf(e,a,e.length,s),e}function $m(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(Ll(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(ih,u,o?u:d)(t):t===91?e.attempt(ah,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(oh,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function eh(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return el(t)?Cm(e,a)(t):a(t)}function a(t){return t===41?u(t):_m(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return el(t)?Cm(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?xm(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return el(t)?Cm(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function th(e,t,n){let r=this;return i;function i(t){return ym.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(Ll(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function nh(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var rh,ih,ah,oh,sh=s((()=>{vm(),bm(),Sm(),wm(),ul(),zf(),Rl(),yp(),rh={name:`labelEnd`,resolveAll:Zm,resolveTo:Qm,tokenize:$m},ih={tokenize:eh},ah={tokenize:th},oh={tokenize:nh}}));function ch(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var lh,uh=s((()=>{sh(),lh={name:`labelStartImage`,resolveAll:rh.resolveAll,tokenize:ch}}));function dh(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var fh,ph=s((()=>{sh(),fh={name:`labelStartLink`,resolveAll:rh.resolveAll,tokenize:dh}}));function mh(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Op(e,t,`linePrefix`)}}var hh,gh=s((()=>{kp(),hh={name:`lineEnding`,tokenize:mh}}));function _h(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||W(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),G(t)?Op(e,s,`whitespace`)(t):s(t))}}var vh,yh=s((()=>{kp(),ul(),vh={name:`thematicBreak`,tokenize:_h}}));function bh(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:al(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(vh,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return al(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(jp,r.interrupt?n:u,e.attempt(Eh,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return G(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function xh(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(jp,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Op(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!G(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Dh,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Op(e,e.attempt(Th,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function Sh(e,t,n){let r=this;return Op(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function Ch(e){e.exit(this.containerState.type)}function wh(e,t,n){let r=this;return Op(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!G(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var Th,Eh,Dh,Oh=s((()=>{kp(),ul(),Mp(),yh(),Th={continuation:{tokenize:xh},exit:Ch,name:`list`,tokenize:bh},Eh={partial:!0,tokenize:wh},Dh={partial:!0,tokenize:Sh}}));function kh(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function Ah(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),G(t)?Op(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||W(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var jh,Mh=s((()=>{kp(),ul(),jh={name:`setextUnderline`,resolveTo:kh,tokenize:Ah}})),Nh=s((()=>{wp(),Dp(),Mp(),Lp(),Bp(),Up(),Jp(),$p(),im(),gm(),km(),Mm(),Im(),qm(),Xm(),sh(),uh(),ph(),gh(),Oh(),Mh(),yh()}));function Ph(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:Rh,continuation:{tokenize:zh},exit:Bh}},text:{91:{name:`gfmFootnoteCall`,tokenize:Lh},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:Fh,resolveTo:Ih}}}}function Fh(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=Ll(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function Ih(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function Lh(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||el(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(Ll(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return el(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function Rh(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||el(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=Ll(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return el(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),Op(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function zh(e,t,n){return e.check(jp,t,e.attempt(Hh,t,n))}function Bh(e){e.exit(`gfmFootnoteDefinition`)}function Vh(e,t,n){let r=this;return Op(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}var Hh,Uh=s((()=>{Nh(),kp(),ul(),Rl(),Hh={tokenize:Vh,partial:!0}})),Wh=s((()=>{Uh(),Rl(),gp()}));function Gh(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&Lf(o,o.length,0,vp(s,e.slice(r+1,n),t)),Lf(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Lf(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=Bu(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=Bu(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var Kh=s((()=>{zf(),Vu(),yp()})),qh=s((()=>{Kh()}));function Jh(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}var Yh,Xh=s((()=>{Yh=class{constructor(){this.map=[]}add(e,t,n){Jh(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}}));function Zh(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}var Qh=s((()=>{}));function $h(){return{flow:{null:{name:`table`,tokenize:eg,resolveAll:tg}}}}function eg(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):W(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):G(t)?Op(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||el(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,G(t)?Op(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return G(t)?Op(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||W(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return G(t)?Op(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||W(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||W(n)?(e.exit(`tableRow`),t(n)):G(n)?Op(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||el(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function tg(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new Yh;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(rg(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=ng(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=ng(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=ng(f,t,o,i,n,d)):(o[0]=o[1],d=ng(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&rg(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=Zh(t.events,n))}return e}function ng(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},ig(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=ig(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=ig(t.events,n[2]),a=ig(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},ig(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function rg(e,t,n,r,i){let a=[],o=ig(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function ig(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var ag=s((()=>{kp(),ul(),Xh(),Qh()})),og=s((()=>{ag()}));function sg(){return{text:{91:ug}}}function cg(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return el(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return W(r)?t(r):G(r)?e.check({tokenize:lg},t,n)(r):n(r)}}function lg(e,t,n){return Op(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}var ug,dg=s((()=>{kp(),ul(),ug={name:`tasklistCheck`,tokenize:cg}})),fg=s((()=>{dg()}));function pg(e){return Bf([Wf(),Ph(),Gh(e),$h(),sg()])}var mg=s((()=>{Uf(),_p(),Wh(),qh(),og(),fg()}));function hg(e){let t=this,n=e||gg,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(pg(n)),a.push(Nf()),o.push(Pf(n))}var gg,_g=s((()=>{If(),mg(),gg={}})),vg=s((()=>{_g()})),yg,bg,xg,Sg,Cg,wg,Tg,Eg,Dg,Og,kg,Ag,jg,Mg,Ng,Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_,p_,m_,h_,g_,__,v_,y_,b_,x_,S_,C_,w_,T_,E_,q,J,D_,O_,k_,A_,j_,M_,N_,P_,F_,I_,L_,R_,z_,B_,V_,H_,U_,W_,G_,K_,q_,J_,Y_,X_,Z_=s((()=>{yg=Object.defineProperty,bg=Object.defineProperties,xg=Object.getOwnPropertyDescriptors,Sg=Object.getOwnPropertySymbols,Cg=Object.prototype.hasOwnProperty,wg=Object.prototype.propertyIsEnumerable,Tg=(e,t,n)=>t in e?yg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Eg=(e,t)=>{for(var n in t||={})Cg.call(t,n)&&Tg(e,n,t[n]);if(Sg)for(var n of Sg(t))wg.call(t,n)&&Tg(e,n,t[n]);return e},Dg=(e,t)=>bg(e,xg(t)),Og=(e,t)=>{let n=!1,r=!1;for(let i=0;i<t;i+=1){if(e[i]===`\\`&&i+1<e.length&&e[i+1]==="`"){i+=1;continue}if(e.substring(i,i+3)==="```"){r=!r,i+=2;continue}!r&&e[i]==="`"&&(n=!n)}return n||r},kg=(e,t)=>{let n=e.substring(t,t+3)==="```",r=t>0&&e.substring(t-1,t+2)==="```",i=t>1&&e.substring(t-2,t+1)==="```";return n||r||i},Ag=e=>{let t=0;for(let n=0;n<e.length;n+=1){if(e[n]===`\\`&&n+1<e.length&&e[n+1]==="`"){n+=1;continue}e[n]==="`"&&!kg(e,n)&&(t+=1)}return t},jg=(e,t)=>{let n=!1,r=!1,i=-1;for(let a=0;a<e.length;a+=1){if(e[a]===`\\`&&a+1<e.length&&e[a+1]==="`"){a+=1;continue}if(e.substring(a,a+3)==="```"){r=!r,a+=2;continue}if(!r&&e[a]==="`")if(n){if(i<t&&t<a)return!0;n=!1,i=-1}else n=!0,i=a}return!1},Mg=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,Ng=e=>!e||typeof e!=`string`||!e.includes(`>`)?e:e.replace(Mg,(t,n,r,i)=>Og(e,i)?t:`${n}\\>${r}`),Pg=/(\*\*)([^*]*\*?)$/,Fg=/(__)([^_]*?)$/,Ig=/(\*\*\*)([^*]*?)$/,Lg=/(\*)([^*]*?)$/,Rg=/(_)([^_]*?)$/,zg=/(`)([^`]*?)$/,Bg=/(~~)([^~]*?)$/,Vg=/^[\s_~*`]*$/,Hg=/^[\s]*[-*+][\s]+$/,Ug=/[\p{L}\p{N}_]/u,Wg=/^```[^`\n]*```?$/,Gg=/^\*{4,}$/,Kg=/(__)([^_]+)_$/,qg=/(~~)([^~]+)~$/,Jg=/~~/g,Yg=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===95?!0:Ug.test(e)},Xg=(e,t)=>{let n=1;for(let r=t-1;r>=0;--r)if(e[r]===`]`)n+=1;else if(e[r]===`[`&&(--n,n===0))return r;return-1},Zg=(e,t)=>{let n=1;for(let r=t+1;r<e.length;r+=1)if(e[r]===`[`)n+=1;else if(e[r]===`]`&&(--n,n===0))return r;return-1},Qg=(e,t)=>{let n=!1,r=!1;for(let i=0;i<e.length&&i<t;i+=1){if(e[i]===`\\`&&e[i+1]===`$`){i+=1;continue}e[i]===`$`&&(e[i+1]===`$`?(r=!r,i+=1,n=!1):r||(n=!n))}return n||r},$g=(e,t)=>{for(let n=t;n<e.length;n+=1){if(e[n]===`)`)return!0;if(e[n]===`
|
|
267
|
+
`)return!1}return!1},e_=(e,t)=>{for(let n=t-1;n>=0;--n){if(e[n]===`)`)return!1;if(e[n]===`(`)return n>0&&e[n-1]===`]`?$g(e,t):!1;if(e[n]===`
|
|
268
|
+
`)return!1}return!1},t_=(e,t)=>{for(let n=t-1;n>=0;--n){if(e[n]===`>`)return!1;if(e[n]===`<`){let t=n+1<e.length?e[n+1]:``;return t>=`a`&&t<=`z`||t>=`A`&&t<=`Z`||t===`/`}if(e[n]===`
|
|
269
|
+
`)return!1}return!1},n_=(e,t,n)=>{let r=0;for(let n=t-1;n>=0;--n)if(e[n]===`
|
|
270
|
+
`){r=n+1;break}let i=e.length;for(let n=t;n<e.length;n+=1)if(e[n]===`
|
|
271
|
+
`){i=n;break}let a=e.substring(r,i),o=0,s=!1;for(let e of a)if(e===n)o+=1;else if(e!==` `&&e!==` `){s=!0;break}return o>=3&&!s},r_=(e,t,n,r)=>n===`\\`||e.includes(`$`)&&Qg(e,t)?!0:n!==`*`&&r===`*`?(t<e.length-2?e[t+2]:``)!==`*`:!!(n===`*`||n&&r&&Yg(n)&&Yg(r)||(!n||n===` `||n===` `||n===`
|
|
272
|
+
`)&&(!r||r===` `||r===` `||r===`
|
|
273
|
+
`)),i_=e=>{let t=0,n=!1,r=e.length;for(let i=0;i<r;i+=1){if(e[i]==="`"&&i+2<r&&e[i+1]==="`"&&e[i+2]==="`"){n=!n,i+=2;continue}if(n||e[i]!==`*`)continue;let a=i>0?e[i-1]:``,o=i<r-1?e[i+1]:``;r_(e,i,a,o)||(t+=1)}return t},a_=(e,t,n,r)=>!!(n===`\\`||e.includes(`$`)&&Qg(e,t)||e_(e,t)||t_(e,t)||n===`_`||r===`_`||n&&r&&Yg(n)&&Yg(r)),o_=e=>{let t=0,n=!1,r=e.length;for(let i=0;i<r;i+=1){if(e[i]==="`"&&i+2<r&&e[i+1]==="`"&&e[i+2]==="`"){n=!n,i+=2;continue}if(n||e[i]!==`_`)continue;let a=i>0?e[i-1]:``,o=i<r-1?e[i+1]:``;a_(e,i,a,o)||(t+=1)}return t},s_=e=>{let t=0,n=0,r=!1;for(let i=0;i<e.length;i+=1){if(e[i]==="`"&&i+2<e.length&&e[i+1]==="`"&&e[i+2]==="`"){n>=3&&(t+=Math.floor(n/3)),n=0,r=!r,i+=2;continue}r||(e[i]===`*`?n+=1:(n>=3&&(t+=Math.floor(n/3)),n=0))}return n>=3&&(t+=Math.floor(n/3)),t},c_=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if(e[r]==="`"&&r+2<e.length&&e[r+1]==="`"&&e[r+2]==="`"){n=!n,r+=2;continue}n||e[r]===`*`&&r+1<e.length&&e[r+1]===`*`&&(t+=1,r+=1)}return t},l_=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if(e[r]==="`"&&r+2<e.length&&e[r+1]==="`"&&e[r+2]==="`"){n=!n,r+=2;continue}n||e[r]===`_`&&r+1<e.length&&e[r+1]===`_`&&(t+=1,r+=1)}return t},u_=(e,t,n)=>{if(!t||Vg.test(t))return!0;let r=e.substring(0,n).lastIndexOf(`
|
|
274
|
+
`),i=r===-1?0:r+1,a=e.substring(i,n);return Hg.test(a)&&t.includes(`
|
|
275
|
+
`)?!0:n_(e,n,`*`)},d_=e=>{let t=e.match(Pg);if(!t)return e;let n=t[2],r=e.lastIndexOf(t[1]);return Og(e,r)||jg(e,r)||u_(e,n,r)?e:c_(e)%2==1?n.endsWith(`*`)?`${e}*`:`${e}**`:e},f_=(e,t,n)=>{if(!t||Vg.test(t))return!0;let r=e.substring(0,n).lastIndexOf(`
|
|
276
|
+
`),i=r===-1?0:r+1,a=e.substring(i,n);return Hg.test(a)&&t.includes(`
|
|
277
|
+
`)?!0:n_(e,n,`_`)},p_=e=>{let t=e.match(Fg);if(!t){let t=e.match(Kg);if(t){let n=e.lastIndexOf(t[1]);if(!(Og(e,n)||jg(e,n))&&l_(e)%2==1)return`${e}_`}return e}let n=t[2],r=e.lastIndexOf(t[1]);return Og(e,r)||jg(e,r)||f_(e,n,r)?e:l_(e)%2==1?`${e}__`:e},m_=e=>{let t=!1;for(let n=0;n<e.length;n+=1){if(e[n]==="`"&&n+2<e.length&&e[n+1]==="`"&&e[n+2]==="`"){t=!t,n+=2;continue}if(!t&&e[n]===`*`&&e[n-1]!==`*`&&e[n+1]!==`*`&&e[n-1]!==`\\`&&!Qg(e,n)){let t=n>0?e[n-1]:``,r=n<e.length-1?e[n+1]:``;if((!t||t===` `||t===` `||t===`
|
|
278
|
+
`)&&(!r||r===` `||r===` `||r===`
|
|
279
|
+
`)||t&&r&&Yg(t)&&Yg(r))continue;return n}}return-1},h_=e=>{if(!e.match(Lg))return e;let t=m_(e);if(t===-1||Og(e,t)||jg(e,t))return e;let n=e.substring(t+1);return!n||Vg.test(n)?e:i_(e)%2==1?`${e}*`:e},g_=e=>{let t=!1;for(let n=0;n<e.length;n+=1){if(e[n]==="`"&&n+2<e.length&&e[n+1]==="`"&&e[n+2]==="`"){t=!t,n+=2;continue}if(!t&&e[n]===`_`&&e[n-1]!==`_`&&e[n+1]!==`_`&&e[n-1]!==`\\`&&!Qg(e,n)&&!e_(e,n)){let t=n>0?e[n-1]:``,r=n<e.length-1?e[n+1]:``;if(t&&r&&Yg(t)&&Yg(r))continue;return n}}return-1},__=e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
280
|
+
`;)--t;return t<e.length?`${e.slice(0,t)}_${e.slice(t)}`:`${e}_`},v_=e=>{if(!e.endsWith(`**`))return null;let t=e.slice(0,-2);if(c_(t)%2!=1)return null;let n=t.indexOf(`**`),r=g_(t);return n!==-1&&r!==-1&&n<r?`${t}_**`:null},y_=e=>{if(!e.match(Rg))return e;let t=g_(e);if(t===-1)return e;let n=e.substring(t+1);if(!n||Vg.test(n)||Og(e,t)||jg(e,t))return e;if(o_(e)%2==1){let t=v_(e);return t===null?__(e):t}return e},b_=e=>{let t=c_(e),n=i_(e);return t%2==0&&n%2==0},x_=(e,t,n)=>!t||Vg.test(t)||Og(e,n)||jg(e,n)?!0:n_(e,n,`*`),S_=e=>{if(Gg.test(e))return e;let t=e.match(Ig);if(!t)return e;let n=t[2];return x_(e,n,e.lastIndexOf(t[1]))?e:s_(e)%2==1?b_(e)?e:`${e}***`:e},C_=/<[a-zA-Z/][^>]*$/,w_=e=>{let t=e.match(C_);return!t||t.index===void 0||Og(e,t.index)?e:e.substring(0,t.index).trimEnd()},T_=e=>!e.match(Wg)||e.includes(`
|
|
281
|
+
`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e,E_=e=>(e.match(/```/g)||[]).length%2==1,q=e=>{let t=T_(e);if(t!==null)return t;let n=e.match(zg);if(n&&!E_(e)){let t=n[2];if(!t||Vg.test(t))return e;if(Ag(e)%2==1)return`${e}\``}return e},J=(e,t)=>t>=2&&e.substring(t-2,t+1)==="```"||t>=1&&e.substring(t-1,t+2)==="```"||t<=e.length-3&&e.substring(t,t+3)==="```",D_=e=>{let t=0,n=!1;for(let r=0;r<e.length-1;r+=1)e[r]==="`"&&!J(e,r)&&(n=!n),!n&&e[r]===`$`&&e[r+1]===`$`&&(t+=1,r+=1);return t},O_=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if(e[r]===`\\`){r+=1;continue}if(e[r]==="`"&&!J(e,r)){n=!n;continue}!n&&e[r]===`$`&&(r+1<e.length&&e[r+1]===`$`?r+=1:t+=1)}return t},k_=e=>{if(e.endsWith(`$`)&&!e.endsWith(`$$`))return`${e}$`;let t=e.indexOf(`$$`);return t!==-1&&e.indexOf(`
|
|
282
|
+
`,t)!==-1&&!e.endsWith(`
|
|
283
|
+
`)?`${e}
|
|
284
|
+
$$`:`${e}$$`},A_=e=>D_(e)%2==0?e:k_(e),j_=e=>O_(e)%2==1?`${e}$`:e,M_=(e,t,n)=>{if(e.substring(t+2).includes(`)`))return null;let r=Xg(e,t);if(r===-1||Og(e,r))return null;let i=r>0&&e[r-1]===`!`,a=i?r-1:r,o=e.substring(0,a);if(i)return o;let s=e.substring(r+1,t);return n===`text-only`?`${o}${s}`:`${o}[${s}](streamdown:incomplete-link)`},N_=(e,t)=>{for(let n=0;n<t;n++)if(e[n]===`[`&&!Og(e,n)){if(n>0&&e[n-1]===`!`)continue;let t=Zg(e,n);if(t===-1)return n;if(t+1<e.length&&e[t+1]===`(`){let r=e.indexOf(`)`,t+2);r!==-1&&(n=r)}}return t},P_=(e,t,n)=>{let r=t>0&&e[t-1]===`!`,i=r?t-1:t;if(!e.substring(t+1).includes(`]`)){let a=e.substring(0,i);if(r)return a;if(n===`text-only`){let n=N_(e,t);return e.substring(0,n)+e.substring(n+1)}return`${e}](streamdown:incomplete-link)`}if(Zg(e,t)===-1){let a=e.substring(0,i);if(r)return a;if(n===`text-only`){let n=N_(e,t);return e.substring(0,n)+e.substring(n+1)}return`${e}](streamdown:incomplete-link)`}return null},F_=(e,t=`protocol`)=>{let n=e.lastIndexOf(`](`);if(n!==-1&&!Og(e,n)){let r=M_(e,n,t);if(r!==null)return r}for(let n=e.length-1;n>=0;--n)if(e[n]===`[`&&!Og(e,n)){let r=P_(e,n,t);if(r!==null)return r}return e},I_=/^-{1,2}$/,L_=/^[\s]*-{1,2}[\s]+$/,R_=/^={1,2}$/,z_=/^[\s]*={1,2}[\s]+$/,B_=e=>{if(!e||typeof e!=`string`)return e;let t=e.lastIndexOf(`
|
|
285
|
+
`);if(t===-1)return e;let n=e.substring(t+1),r=e.substring(0,t),i=n.trim();if(I_.test(i)&&!n.match(L_)){let t=r.split(`
|
|
286
|
+
`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}if(R_.test(i)&&!n.match(z_)){let t=r.split(`
|
|
287
|
+
`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}return e},V_=RegExp(`(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])`,`gu`),H_=e=>!e||typeof e!=`string`||!e.includes(`~`)?e:e.replace(V_,(t,n)=>Og(e,n)?t:`\\~`),U_=e=>{let t=e.match(Bg);if(t){let n=t[2];if(!n||Vg.test(n))return e;let r=e.lastIndexOf(t[1]);if(Og(e,r)||jg(e,r))return e;if(e.match(Jg)?.length%2==1)return`${e}~~`}else{let t=e.match(qg);if(t){let n=e.lastIndexOf(t[0].slice(0,2));if(Og(e,n)||jg(e,n))return e;if(e.match(Jg)?.length%2==1)return`${e}~`}}return e},W_=e=>e!==!1,G_=e=>e===!0,K_={SINGLE_TILDE:0,COMPARISON_OPERATORS:5,HTML_TAGS:10,SETEXT_HEADINGS:15,LINKS:20,BOLD_ITALIC:30,BOLD:35,ITALIC_DOUBLE_UNDERSCORE:40,ITALIC_SINGLE_ASTERISK:41,ITALIC_SINGLE_UNDERSCORE:42,INLINE_CODE:50,STRIKETHROUGH:60,KATEX:70,INLINE_KATEX:75,DEFAULT:100},q_=[{handler:{name:`singleTilde`,handle:H_,priority:K_.SINGLE_TILDE},optionKey:`singleTilde`},{handler:{name:`comparisonOperators`,handle:Ng,priority:K_.COMPARISON_OPERATORS},optionKey:`comparisonOperators`},{handler:{name:`htmlTags`,handle:w_,priority:K_.HTML_TAGS},optionKey:`htmlTags`},{handler:{name:`setextHeadings`,handle:B_,priority:K_.SETEXT_HEADINGS},optionKey:`setextHeadings`},{handler:{name:`links`,handle:F_,priority:K_.LINKS},optionKey:`links`,earlyReturn:e=>e.endsWith(`](streamdown:incomplete-link)`)},{handler:{name:`boldItalic`,handle:S_,priority:K_.BOLD_ITALIC},optionKey:`boldItalic`},{handler:{name:`bold`,handle:d_,priority:K_.BOLD},optionKey:`bold`},{handler:{name:`italicDoubleUnderscore`,handle:p_,priority:K_.ITALIC_DOUBLE_UNDERSCORE},optionKey:`italic`},{handler:{name:`italicSingleAsterisk`,handle:h_,priority:K_.ITALIC_SINGLE_ASTERISK},optionKey:`italic`},{handler:{name:`italicSingleUnderscore`,handle:y_,priority:K_.ITALIC_SINGLE_UNDERSCORE},optionKey:`italic`},{handler:{name:`inlineCode`,handle:q,priority:K_.INLINE_CODE},optionKey:`inlineCode`},{handler:{name:`strikethrough`,handle:U_,priority:K_.STRIKETHROUGH},optionKey:`strikethrough`},{handler:{name:`katex`,handle:A_,priority:K_.KATEX},optionKey:`katex`},{handler:{name:`inlineKatex`,handle:j_,priority:K_.INLINE_KATEX},optionKey:`inlineKatex`}],J_=e=>{let t=e?.linkMode??`protocol`;return q_.filter(({handler:t,optionKey:n})=>t.name===`links`?W_(e?.links)||W_(e?.images):t.name===`inlineKatex`?G_(e?.inlineKatex):W_(e?.[n])).map(({handler:e,earlyReturn:n})=>e.name===`links`?{handler:Dg(Eg({},e),{handle:e=>F_(e,t)}),earlyReturn:t===`protocol`?n:void 0}:{handler:e,earlyReturn:n})},Y_=(e,t)=>{if(!e||typeof e!=`string`)return e;let n=e.endsWith(` `)&&!e.endsWith(` `)?e.slice(0,-1):e,r=J_(t),i=(t?.handlers??[]).map(e=>({handler:Dg(Eg({},e),{priority:e.priority??K_.DEFAULT}),earlyReturn:void 0})),a=[...r,...i].sort((e,t)=>(e.handler.priority??0)-(t.handler.priority??0));for(let{handler:e,earlyReturn:t}of a)if(n=e.handle(n),t!=null&&t(n))return n;return n},X_=Y_}));function Q_(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Q_(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function $_(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Q_(e))&&(r&&(r+=` `),r+=t);return r}var ev=s((()=>{})),tv,nv,rv,iv,av,ov,sv,cv,lv,uv,dv,fv,pv,mv,hv,gv,_v,vv,yv,bv,xv,Sv,Cv,wv,Tv,Ev,Dv,Ov,kv,Av,jv,Mv,Nv,Pv,Fv,Iv,Lv,Rv,zv,Bv,Vv,Hv,Uv,Wv,Gv,Kv,qv,Jv,Yv,Xv,Zv,Qv,$v,ey,ty,Y,ny,ry,iy,ay,oy,sy,cy,X,ly,uy,dy,fy,py,my,hy,gy,_y,vy,yy,by,xy,Sy,Cy,wy,Ty,Ey,Dy,Oy=s((()=>{tv=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},nv=(e,t)=>({classGroupId:e,validator:t}),rv=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),iv=`-`,av=[],ov=`arbitrary..`,sv=e=>{let t=uv(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return lv(e);let n=e.split(iv);return cv(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?tv(i,t):t:i||av}return n[e]||av}}},cv=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=cv(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(iv):e.slice(t).join(iv),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},lv=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?ov+r:void 0})(),uv=e=>{let{theme:t,classGroups:n}=e;return dv(n,t)},dv=(e,t)=>{let n=rv();for(let r in e){let i=e[r];fv(i,n,r,t)}return n},fv=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];pv(i,t,n,r)}},pv=(e,t,n,r)=>{if(typeof e==`string`){mv(e,t,n);return}if(typeof e==`function`){hv(e,t,n,r);return}gv(e,t,n,r)},mv=(e,t,n)=>{let r=e===``?t:_v(t,e);r.classGroupId=n},hv=(e,t,n,r)=>{if(vv(e)){fv(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(nv(n,e))},gv=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];fv(o,_v(t,a),n,r)}},_v=(e,t)=>{let n=e,r=t.split(iv),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=rv(),n.nextPart.set(t,i)),n=i}return n},vv=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,yv=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},bv=`!`,xv=`:`,Sv=[],Cv=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),wv=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===xv){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(bv)?(c=s.slice(0,-1),l=!0):s.startsWith(bv)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Cv(t,l,c,u)};if(t){let e=t+xv,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Cv(Sv,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Tv=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Ev=e=>({cache:yv(e.cacheSize),parseClassName:wv(e),sortModifiers:Tv(e),postfixLookupClassGroupIds:Dv(e),...sv(e)}),Dv=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Ov=/\s+/,kv=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Ov),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+bv:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Av=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=jv(n))&&(i&&(i+=` `),i+=r);return i},jv=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=jv(e[r]))&&(n&&(n+=` `),n+=t);return n},Mv=(e,...t)=>{let n,r,i,a,o=o=>(n=Ev(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=kv(e,n);return i(e,a),a};return a=o,(...e)=>a(Av(...e))},Nv=[],Pv=e=>{let t=t=>t[e]||Nv;return t.isThemeGetter=!0,t},Fv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Iv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Lv=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Rv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Bv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Vv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Hv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Uv=e=>Lv.test(e),Wv=e=>!!e&&!Number.isNaN(Number(e)),Gv=e=>!!e&&Number.isInteger(Number(e)),Kv=e=>e.endsWith(`%`)&&Wv(e.slice(0,-1)),qv=e=>Rv.test(e),Jv=()=>!0,Yv=e=>zv.test(e)&&!Bv.test(e),Xv=()=>!1,Zv=e=>Vv.test(e),Qv=e=>Hv.test(e),$v=e=>!Y(e)&&!X(e),ey=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),ty=e=>gy(e,by,Xv),Y=e=>Fv.test(e),ny=e=>gy(e,xy,Yv),ry=e=>gy(e,Sy,Wv),iy=e=>gy(e,wy,Jv),ay=e=>gy(e,Cy,Xv),oy=e=>gy(e,vy,Xv),sy=e=>gy(e,yy,Qv),cy=e=>gy(e,Ty,Zv),X=e=>Iv.test(e),ly=e=>_y(e,xy),uy=e=>_y(e,Cy),dy=e=>_y(e,vy),fy=e=>_y(e,by),py=e=>_y(e,yy),my=e=>_y(e,Ty,!0),hy=e=>_y(e,wy,!0),gy=(e,t,n)=>{let r=Fv.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},_y=(e,t,n=!1)=>{let r=Iv.exec(e);return r?r[1]?t(r[1]):n:!1},vy=e=>e===`position`||e===`percentage`,yy=e=>e===`image`||e===`url`,by=e=>e===`length`||e===`size`||e===`bg-size`,xy=e=>e===`length`,Sy=e=>e===`number`,Cy=e=>e===`family-name`,wy=e=>e===`number`||e===`weight`,Ty=e=>e===`shadow`,Ey=()=>{let e=Pv(`color`),t=Pv(`font`),n=Pv(`text`),r=Pv(`font-weight`),i=Pv(`tracking`),a=Pv(`leading`),o=Pv(`breakpoint`),s=Pv(`container`),c=Pv(`spacing`),l=Pv(`radius`),u=Pv(`shadow`),d=Pv(`inset-shadow`),f=Pv(`text-shadow`),p=Pv(`drop-shadow`),m=Pv(`blur`),h=Pv(`perspective`),g=Pv(`aspect`),_=Pv(`ease`),v=Pv(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),X,Y],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[X,Y,c],T=()=>[Uv,`full`,`auto`,...w()],ee=()=>[Gv,`none`,`subgrid`,X,Y],te=()=>[`auto`,{span:[`full`,Gv,X,Y]},Gv,X,Y],E=()=>[Gv,`auto`,X,Y],ne=()=>[`auto`,`min`,`max`,`fr`,X,Y],D=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],re=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],O=()=>[`auto`,...w()],k=()=>[Uv,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ie=()=>[Uv,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],ae=()=>[Uv,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],A=()=>[e,X,Y],j=()=>[...b(),dy,oy,{position:[X,Y]}],oe=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],se=()=>[`auto`,`cover`,`contain`,fy,ty,{size:[X,Y]}],ce=()=>[Kv,ly,ny],le=()=>[``,`none`,`full`,l,X,Y],ue=()=>[``,Wv,ly,ny],de=()=>[`solid`,`dashed`,`dotted`,`double`],fe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],pe=()=>[Wv,Kv,dy,oy],me=()=>[``,`none`,m,X,Y],he=()=>[`none`,Wv,X,Y],ge=()=>[`none`,Wv,X,Y],_e=()=>[Wv,X,Y],ve=()=>[Uv,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[qv],breakpoint:[qv],color:[Jv],container:[qv],"drop-shadow":[qv],ease:[`in`,`out`,`in-out`],font:[$v],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[qv],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[qv],shadow:[qv],spacing:[`px`,Wv],text:[qv],"text-shadow":[qv],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Uv,Y,X,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,X,Y]}],"container-named":[ey],columns:[{columns:[Wv,Y,X,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Gv,`auto`,X,Y]}],basis:[{basis:[Uv,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Wv,Uv,`auto`,`initial`,`none`,Y]}],grow:[{grow:[``,Wv,X,Y]}],shrink:[{shrink:[``,Wv,X,Y]}],order:[{order:[Gv,`first`,`last`,`none`,X,Y]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),`normal`]}],"justify-items":[{"justify-items":[...re(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...re()]}],"align-content":[{content:[`normal`,...D()]}],"align-items":[{items:[...re(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...re(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...re(),`baseline`]}],"place-self":[{"place-self":[`auto`,...re()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:k()}],"inline-size":[{inline:[`auto`,...ie()]}],"min-inline-size":[{"min-inline":[`auto`,...ie()]}],"max-inline-size":[{"max-inline":[`none`,...ie()]}],"block-size":[{block:[`auto`,...ae()]}],"min-block-size":[{"min-block":[`auto`,...ae()]}],"max-block-size":[{"max-block":[`none`,...ae()]}],w:[{w:[s,`screen`,...k()]}],"min-w":[{"min-w":[s,`screen`,`none`,...k()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...k()]}],h:[{h:[`screen`,`lh`,...k()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...k()]}],"max-h":[{"max-h":[`screen`,`lh`,...k()]}],"font-size":[{text:[`base`,n,ly,ny]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,hy,iy]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Kv,Y]}],"font-family":[{font:[uy,ay,t]}],"font-features":[{"font-features":[Y]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,X,Y]}],"line-clamp":[{"line-clamp":[Wv,`none`,X,ry]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,X,Y]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,X,Y]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...de(),`wavy`]}],"text-decoration-thickness":[{decoration:[Wv,`from-font`,`auto`,X,ny]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[Wv,`auto`,X,Y]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[Gv,X,Y]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,X,Y]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,X,Y]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:se()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Gv,X,Y],radial:[``,X,Y],conic:[Gv,X,Y]},py,sy]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"border-w":[{border:ue()}],"border-w-x":[{"border-x":ue()}],"border-w-y":[{"border-y":ue()}],"border-w-s":[{"border-s":ue()}],"border-w-e":[{"border-e":ue()}],"border-w-bs":[{"border-bs":ue()}],"border-w-be":[{"border-be":ue()}],"border-w-t":[{"border-t":ue()}],"border-w-r":[{"border-r":ue()}],"border-w-b":[{"border-b":ue()}],"border-w-l":[{"border-l":ue()}],"divide-x":[{"divide-x":ue()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":ue()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...de(),`hidden`,`none`]}],"divide-style":[{divide:[...de(),`hidden`,`none`]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-bs":[{"border-bs":A()}],"border-color-be":[{"border-be":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...de(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Wv,X,Y]}],"outline-w":[{outline:[``,Wv,ly,ny]}],"outline-color":[{outline:A()}],shadow:[{shadow:[``,`none`,u,my,cy]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":[`none`,d,my,cy]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:ue()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[Wv,ny]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":[`none`,f,my,cy]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[Wv,X,Y]}],"mix-blend":[{"mix-blend":[...fe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":fe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[Wv]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[X,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[Wv]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,X,Y]}],filter:[{filter:[``,`none`,X,Y]}],blur:[{blur:me()}],brightness:[{brightness:[Wv,X,Y]}],contrast:[{contrast:[Wv,X,Y]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,my,cy]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:[``,Wv,X,Y]}],"hue-rotate":[{"hue-rotate":[Wv,X,Y]}],invert:[{invert:[``,Wv,X,Y]}],saturate:[{saturate:[Wv,X,Y]}],sepia:[{sepia:[``,Wv,X,Y]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,X,Y]}],"backdrop-blur":[{"backdrop-blur":me()}],"backdrop-brightness":[{"backdrop-brightness":[Wv,X,Y]}],"backdrop-contrast":[{"backdrop-contrast":[Wv,X,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Wv,X,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Wv,X,Y]}],"backdrop-invert":[{"backdrop-invert":[``,Wv,X,Y]}],"backdrop-opacity":[{"backdrop-opacity":[Wv,X,Y]}],"backdrop-saturate":[{"backdrop-saturate":[Wv,X,Y]}],"backdrop-sepia":[{"backdrop-sepia":[``,Wv,X,Y]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,X,Y]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Wv,`initial`,X,Y]}],ease:[{ease:[`linear`,`initial`,_,X,Y]}],delay:[{delay:[Wv,X,Y]}],animate:[{animate:[`none`,v,X,Y]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,X,Y]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:he()}],"rotate-x":[{"rotate-x":he()}],"rotate-y":[{"rotate-y":he()}],"rotate-z":[{"rotate-z":he()}],scale:[{scale:ge()}],"scale-x":[{"scale-x":ge()}],"scale-y":[{"scale-y":ge()}],"scale-z":[{"scale-z":ge()}],"scale-3d":[`scale-3d`],skew:[{skew:_e()}],"skew-x":[{"skew-x":_e()}],"skew-y":[{"skew-y":_e()}],transform:[{transform:[X,Y,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":[`translate-none`],zoom:[{zoom:[Gv,X,Y]}],accent:[{accent:A()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,X,Y]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":A()}],"scrollbar-track-color":[{"scrollbar-track":A()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,X,Y]}],fill:[{fill:[`none`,...A()]}],"stroke-w":[{stroke:[Wv,ly,ny,ry]}],stroke:[{stroke:[`none`,...A()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},Dy=Mv(Ey)}));function ky(e,t){return((t||My).jsx?jy:Ay).test(e)}var Ay,jy,My,Ny=s((()=>{Ay=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jy=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,My={}})),Py=s((()=>{Ny()}));function Z(e){return typeof e==`object`?e.type===`text`?Fy(e.value):!1:Fy(e)}function Fy(e){return e.replace(Iy,``)===``}var Iy,Ly=s((()=>{Iy=/[ \t\n\f\r]/g})),Ry=s((()=>{Ly()})),zy=c(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
288
|
+
`,d=`/`,f=`*`,p=``,m=`comment`,h=`declaration`;function g(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,g=1;function v(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(u);g=~n?e.length-n:g+e.length}function y(){var e={line:l,column:g};return function(t){return t.position=new b(e),C(),t}}function b(e){this.start=e,this.end={line:l,column:g},this.source=t.source}b.prototype.content=e;function x(n){var r=Error(t.source+`:`+l+`:`+g+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=g,r.source=e,!t.silent)throw r}function S(t){var n=t.exec(e);if(n){var r=n[0];return v(r),e=e.slice(r.length),n}}function C(){S(i)}function w(e){var t;for(e||=[];t=T();)t!==!1&&e.push(t);return e}function T(){var t=y();if(!(d!=e.charAt(0)||f!=e.charAt(1))){for(var n=2;p!=e.charAt(n)&&(f!=e.charAt(n)||d!=e.charAt(n+1));)++n;if(n+=2,p===e.charAt(n-1))return x(`End of comment missing`);var r=e.slice(2,n-2);return g+=2,v(r),e=e.slice(n),g+=2,t({type:m,comment:r})}}function ee(){var e=y(),t=S(a);if(t){if(T(),!S(o))return x(`property missing ':'`);var r=S(s),i=e({type:h,property:_(t[0].replace(n,p)),value:r?_(r[0].replace(n,p)):p});return S(c),i}}function te(){var e=[];w(e);for(var t;t=ee();)t!==!1&&(e.push(t),w(e));return e}return C(),te()}function _(e){return e?e.replace(l,p):p}t.exports=g})),By=c((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=r;var n=t(zy());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r||={},r[n]=i)}),r}})),Vy=c((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),Hy=c(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(By()),r=Vy();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i}));function Uy(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?Gy(e.position):`start`in e||`end`in e?Gy(e):`line`in e||`column`in e?Wy(e):``}function Wy(e){return Ky(e&&e.line)+`:`+Ky(e&&e.column)}function Gy(e){return Wy(e&&e.start)+`-`+Wy(e&&e.end)}function Ky(e){return e&&typeof e==`number`?e:1}var qy=s((()=>{})),Jy=s((()=>{qy()})),Yy,Xy=s((()=>{Jy(),Yy=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=Uy(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}},Yy.prototype.file=``,Yy.prototype.name=``,Yy.prototype.reason=``,Yy.prototype.message=``,Yy.prototype.stack=``,Yy.prototype.column=void 0,Yy.prototype.line=void 0,Yy.prototype.ancestors=void 0,Yy.prototype.cause=void 0,Yy.prototype.fatal=void 0,Yy.prototype.place=void 0,Yy.prototype.ruleId=void 0,Yy.prototype.source=void 0})),Zy=s((()=>{Xy()}));function Qy(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=lb(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=cb(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?vn:_n,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=$y(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function $y(e,t,n){if(t.type===`element`)return eb(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return tb(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return rb(e,t,n);if(t.type===`mdxjsEsm`)return nb(e,t);if(t.type===`root`)return ib(e,t,n);if(t.type===`text`)return ab(e,t)}function eb(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=vn,e.schema=i),e.ancestors.push(t);let a=hb(e,t.tagName,!1),o=ub(e,t),s=fb(e,t);return wb.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!Z(e):!0})),ob(e,o,a,t),sb(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function tb(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}gb(e,t.position)}function nb(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);gb(e,t.position)}function rb(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=vn,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:hb(e,t.name,!0),o=db(e,t),s=fb(e,t);return ob(e,o,a,t),sb(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function ib(e,t,n){let r={};return sb(r,fb(e,t)),e.create(t,e.Fragment,r,n)}function ab(e,t){return t.value}function ob(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function sb(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function cb(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function lb(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=$s(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function ub(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&xb.call(t.properties,i)){let a=pb(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&Tb.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||={};t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function db(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else gb(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else gb(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function fb(e,t){let n=[],r=-1,i=e.passKeys?new Map:Sb;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=$y(e,a,o);s!==void 0&&n.push(s)}return n}function pb(e,t,n){let r=un(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?xn(n):On(n)),r.property===`style`){let t=typeof n==`object`?n:mb(e,String(n));return e.stylePropertyNameCase===`css`&&(t=_b(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?cn[r.property]||r.property:r.attribute,n]}}function mb(e,t){try{return(0,bb.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new Yy("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=Eb+`#cannot-parse-style-attribute`,r}}function hb(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=ky(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=ky(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return xb.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);gb(e)}function gb(e,t){let n=new Yy("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=Eb+`#cannot-handle-mdx-estrees-without-createevaluater`,n}function _b(e){let t={},n;for(n in e)xb.call(e,n)&&(t[vb(n)]=e[n]);return t}function vb(e){let t=e.replace(Cb,yb);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function yb(e){return`-`+e.toLowerCase()}var bb,xb,Sb,Cb,wb,Tb,Eb,Db=s((()=>{Sn(),bt(),Py(),Ry(),yn(),kn(),bb=d(Hy(),1),tc(),Zy(),xb={}.hasOwnProperty,Sb=new Map,Cb=/[A-Z]/g,wb=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),Tb=new Set([`td`,`th`]),Eb=`https://github.com/syntax-tree/hast-util-to-jsx-runtime`})),Ob=s((()=>{Db()})),kb,Ab=s((()=>{kb={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]}})),jb=s((()=>{Ab()}));function Mb(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Op(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return W(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var Nb,Pb=s((()=>{kp(),ul(),Nb={tokenize:Mb}}));function Fb(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return Lf(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Rb,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(Rb,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return W(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;Lf(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Ib(e,t,n){return Op(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var Lb,Rb,zb=s((()=>{kp(),ul(),zf(),Lb={tokenize:Fb},Rb={tokenize:Ib}}));function Bb(e){let t=this,n=e.attempt(jp,r,e.attempt(this.parser.constructs.flowInitial,i,Op(e,e.attempt(this.parser.constructs.flow,i,e.attempt(mm,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var Vb,Hb=s((()=>{Nh(),kp(),Vb={tokenize:Bb}}));function Ub(e){return{resolveAll:Wb(e===`text`?Gb:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function Wb(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function Gb(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var Kb,qb,Jb,Yb=s((()=>{Kb={resolveAll:Wb()},qb=Ub(`string`),Jb=Ub(`text`)})),Xb=l({attentionMarkers:()=>ix,contentInitial:()=>Qb,disable:()=>ax,document:()=>Zb,flow:()=>ex,flowInitial:()=>$b,insideSpan:()=>rx,string:()=>tx,text:()=>nx}),Zb,Qb,$b,ex,tx,nx,rx,ix,ax,ox=s((()=>{Nh(),Yb(),Zb={42:Th,43:Th,45:Th,48:Th,49:Th,50:Th,51:Th,52:Th,53:Th,54:Th,55:Th,56:Th,57:Th,62:Ip},Qb={91:Dm},$b={[-2]:Zp,[-1]:Zp,32:Zp},ex={35:Fm,42:vh,45:[jh,vh],60:Wm,61:jh,95:vh,96:qp,126:qp},tx={38:Hp,92:zp},nx={[-5]:hh,[-4]:hh,[-3]:hh,33:lh,38:Hp,42:Cp,60:[Ep,Ym],91:fh,92:[jm,zp],93:rh,95:Cp,96:rm},rx={null:[Cp,Kb]},ix={null:[42,95]},ax={null:[]}}));function sx(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=Rf(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=vp(a,l.events,l),l.events):[]}function f(e,t){return lx(p(e),t)}function p(e){return cx(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,ee()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){W(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,ee()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Lf(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,ee()}}function ee(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function cx(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function lx(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
289
|
+
`;break;case-3:o=`\r
|
|
290
|
+
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}var ux=s((()=>{ul(),zf(),yp()}));function dx(e){let t={constructs:Bf([Xb,...(e||{}).extensions||[]]),content:n(Nb),defined:[],document:n(Lb),flow:n(Vb),lazy:{},string:n(qb),text:n(Jb)};return t;function n(e){return n;function n(n){return sx(t,e,n)}}}var fx=s((()=>{Uf(),Pb(),zb(),Hb(),Yb(),ox(),ux()}));function px(e){for(;!cm(e););return e}var mx=s((()=>{um()}));function hx(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(gx.lastIndex=u,c=gx.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var gx,_x=s((()=>{gx=/[\0\t\n\r]/g})),vx=s((()=>{sf(),zf(),Uf(),lf(),Rl(),gp(),fx(),mx(),_x()}));function yx(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),bx(n)(px(dx(n).document().write(hx()(e,t,!0))))}function bx(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Se),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(M),blockQuote:a(me),characterEscape:T,characterReference:T,codeFenced:a(he),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(he,o),codeText:a(ge,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(_e),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(ve),hardBreakEscape:a(ye),hardBreakTrailing:a(ye),htmlFlow:a(be,o),htmlFlowData:T,htmlText:a(be,o),htmlTextData:T,image:a(xe),label:o,link:a(Se),listItem:a(Ce),listItemValue:f,listOrdered:a(N,d),listUnordered:a(N),paragraph:a(we),reference:se,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(M),strong:a(Te),thematicBreak:a(De)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:pe,autolinkProtocol:fe,blockQuote:c(),characterEscapeValue:ee,characterReferenceMarkerHexadecimal:le,characterReferenceMarkerNumeric:le,characterReferenceValue:ue,characterReference:de,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:ee,codeIndented:c(_),codeText:c(re),codeTextData:ee,data:ee,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(E),hardBreakTrailing:c(E),htmlFlow:c(ne),htmlFlowData:ee,htmlText:c(D),htmlTextData:ee,image:c(k),label:ae,labelText:ie,lineEnding:te,link:c(O),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:ce,resourceDestinationString:A,resourceTitleString:j,resource:oe,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};Sx(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];Tx.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||wx).call(a,void 0,e[0])}for(r.position={start:xx(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:xx(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:xx(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||wx).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Uy({start:e.start,end:e.end})+`): it’s not open`);n.position.end=xx(e.end)}function u(){return qu(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ll(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Ee(),n.position={start:xx(e.start),end:void 0},t.push(n)),this.stack.push(n)}function ee(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=xx(e.end)}function te(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=xx(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(T.call(this,e),ee.call(this,e))}function E(){this.data.atHardBreak=!0}function ne(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function D(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function re(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function O(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function k(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ie(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=uf(t),n.identifier=Ll(t).toLowerCase()}function ae(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function A(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function j(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function oe(){this.data.inReference=void 0}function se(){this.data.referenceType=`collapsed`}function ce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ll(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function le(e){this.data.characterReferenceType=e.type}function ue(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=cf(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=af(t);let i=this.stack[this.stack.length-1];i.value+=r}function de(e){let t=this.stack.pop();t.position.end=xx(e.end)}function fe(e){ee.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function pe(e){ee.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function me(){return{type:`blockquote`,children:[]}}function he(){return{type:`code`,lang:null,meta:null,value:``}}function ge(){return{type:`inlineCode`,value:``}}function _e(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function ve(){return{type:`emphasis`,children:[]}}function M(){return{type:`heading`,depth:0,children:[]}}function ye(){return{type:`break`}}function be(){return{type:`html`,value:``}}function xe(){return{type:`image`,title:null,url:``,alt:null}}function Se(){return{type:`link`,title:null,url:``,children:[]}}function N(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Ce(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function we(){return{type:`paragraph`,children:[]}}function Te(){return{type:`strong`,children:[]}}function Ee(){return{type:`text`,value:``}}function De(){return{type:`thematicBreak`}}}function xx(e){return{line:e.line,column:e.column,offset:e.offset}}function Sx(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?Sx(e,r):Cx(e,r)}}function Cx(e,t){let n;for(n in t)if(Tx.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function wx(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+Uy({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Uy({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+Uy({start:t.start,end:t.end})+`) is still open`)}var Tx,Ex=s((()=>{$u(),vx(),lf(),pf(),Rl(),sf(),Jy(),Tx={}.hasOwnProperty})),Dx=s((()=>{Ex()}));function Ox(e){let t=this;t.parser=n;function n(n){return yx(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}var kx=s((()=>{Dx()})),Ax=s((()=>{kx()}));function jx(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}var Mx=s((()=>{}));function Nx(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
291
|
+
`}]}var Px=s((()=>{}));function Fx(e,t){let n=t.value?t.value+`
|
|
292
|
+
`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}var Ix=s((()=>{}));function Lx(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Rx=s((()=>{}));function zx(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Bx=s((()=>{}));function Vx(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=hp(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}var Hx=s((()=>{gp()}));function Ux(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Wx=s((()=>{}));function Gx(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}var Kx=s((()=>{}));function qx(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}var Jx=s((()=>{}));function Yx(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return qx(e,t);let i={src:hp(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}var Xx=s((()=>{gp(),Jx()}));function Zx(e,t){let n={src:hp(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}var Qx=s((()=>{gp()}));function $x(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}var eS=s((()=>{}));function tS(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return qx(e,t);let i={href:hp(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}var nS=s((()=>{gp(),Jx()}));function rS(e,t){let n={href:hp(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var iS=s((()=>{gp()}));function aS(e,t,n){let r=e.all(t),i=n?oS(n):sS(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
293
|
+
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
294
|
+
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function oS(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=sS(n[r])}return t}function sS(e){return e.spread??e.children.length>1}var cS=s((()=>{}));function lS(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}var uS=s((()=>{}));function dS(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var fS=s((()=>{}));function pS(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}var mS=s((()=>{}));function hS(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var gS=s((()=>{}));function _S(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=$s(t.children[1]),o=Qs(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}var vS=s((()=>{tc()}));function yS(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}var bS=s((()=>{}));function xS(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var SS=s((()=>{}));function CS(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(wS(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(wS(t.slice(i),i>0,!1)),a.join(``)}function wS(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===TS||t===ES;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===TS||t===ES;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}var TS,ES,DS=s((()=>{TS=9,ES=32}));function OS(e,t){let n={type:`text`,value:CS(String(t.value))};return e.patch(t,n),e.applyData(t,n)}var kS=s((()=>{DS()}));function AS(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var jS=s((()=>{}));function MS(){}var NS,PS=s((()=>{Mx(),Px(),Ix(),Rx(),Bx(),Hx(),Wx(),Kx(),Xx(),Qx(),eS(),nS(),iS(),cS(),uS(),fS(),mS(),gS(),vS(),bS(),SS(),kS(),jS(),NS={blockquote:jx,break:Nx,code:Fx,delete:Lx,emphasis:zx,footnoteReference:Vx,heading:Ux,html:Gx,imageReference:Yx,image:Zx,inlineCode:$x,linkReference:tS,link:rS,listItem:aS,list:lS,paragraph:dS,root:pS,strong:hS,table:_S,tableCell:xS,tableRow:yS,text:OS,thematicBreak:AS,toml:MS,yaml:MS,definition:MS,footnoteDefinition:MS}}));function FS(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function IS(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function LS(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||FS,r=e.options.footnoteBackLabel||IS,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=hp(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...vt(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
|
295
|
+
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
|
296
|
+
`}]}}var RS=s((()=>{yt(),gp()}));function zS(e,t){let n=t||KS,r=new Map,i=new Map,a={all:s,applyData:VS,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...NS,...n.handlers},one:o,options:n,patch:BS,wrap:US};return He(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(GS.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=vt(n);return r.children=a.all(e),r}return vt(e)}return(a.options.unknownHandler||HS)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=WS(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=WS(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function BS(e,t){e.position&&(t.position=Zs(e))}function VS(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,vt(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function HS(e,t){let n=t.data||{},r=`value`in t&&!(GS.call(n,`hProperties`)||GS.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function US(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
|
297
|
+
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
|
298
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
|
299
|
+
`}),n}function WS(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}var GS,KS,qS=s((()=>{yt(),We(),tc(),PS(),GS={}.hasOwnProperty,KS={}}));function JS(e,t){let n=zS(e,t),r=n.one(e,void 0),i=LS(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
|
300
|
+
`},i)),a}var YS=s((()=>{bt(),RS(),qS()})),XS=s((()=>{PS(),YS(),RS()}));function ZS(e,t){return e&&`run`in e?async function(n,r){let i=JS(n,{file:r,...t});await e.run(i,r)}:function(n,r){return JS(n,{file:r,...e||t})}}var QS=s((()=>{XS()})),$S=s((()=>{XS(),QS()}));function eC(e){if(e)throw e}var tC=s((()=>{})),nC=c(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function rC(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var iC=s((()=>{}));function aC(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?oC(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function oC(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var sC=s((()=>{})),cC=s((()=>{sC()}));function lC(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);hC(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function uC(e){if(hC(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function dC(e){hC(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function fC(...e){let t=-1,n;for(;++t<e.length;)hC(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:pC(n)}function pC(e){hC(e);let t=e.codePointAt(0)===47,n=mC(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function mC(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function hC(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var gC,_C=s((()=>{gC={basename:lC,dirname:uC,extname:dC,join:fC,sep:`/`}}));function vC(){return`/`}var yC,bC=s((()=>{yC={cwd:vC}}));function xC(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}var SC=s((()=>{}));function CC(e){if(typeof e==`string`)e=new URL(e);else if(!xC(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return wC(e)}function wC(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var TC=s((()=>{SC()}));function EC(e,t){if(e&&e.includes(gC.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+gC.sep+"`")}function DC(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function OC(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function kC(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var AC,jC,MC=s((()=>{Zy(),_C(),bC(),TC(),AC=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],jC=class{constructor(e){let t;t=e?xC(e)?{path:e}:typeof e==`string`||kC(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:yC.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<AC.length;){let e=AC[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)AC.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?gC.basename(this.path):void 0}set basename(e){DC(e,`basename`),EC(e,`basename`),this.path=gC.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?gC.dirname(this.path):void 0}set dirname(e){OC(this.basename,`dirname`),this.path=gC.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?gC.extname(this.path):void 0}set extname(e){if(EC(e,`extname`),OC(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=gC.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){xC(e)&&(e=CC(e)),DC(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?gC.basename(this.path,this.extname):void 0}set stem(e){DC(e,`stem`),EC(e,`stem`),this.path=gC.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new Yy(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}}})),NC=s((()=>{MC()})),PC,FC=s((()=>{PC=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r})}));function IC(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function LC(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function RC(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zC(e){if(!rC(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function BC(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function VC(e){return HC(e)?e:new jC(e)}function HC(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function UC(e){return typeof e==`string`||WC(e)}function WC(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var GC,KC,qC,JC,YC=s((()=>{tC(),GC=d(nC(),1),bt(),iC(),cC(),NC(),FC(),KC={}.hasOwnProperty,qC=class e extends PC{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=aC()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,GC.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(RC(`data`,this.frozen),this.namespace[e]=t,this):KC.call(this.namespace,e)&&this.namespace[e]||void 0:e?(RC(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=VC(e),n=this.parser||this.Parser;return IC(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),IC(`process`,this.parser||this.Parser),LC(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=VC(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);UC(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),IC(`processSync`,this.parser||this.Parser),LC(`processSync`,this.compiler||this.Compiler),this.process(e,r),BC(`processSync`,`process`,t),n;function r(e,r){t=!0,eC(e),n=r}}run(e,t,n){zC(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=VC(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),BC(`runSync`,`run`,n),r;function i(e,t){eC(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=VC(t),r=this.compiler||this.Compiler;return LC(`stringify`,r),zC(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(RC(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,GC.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];rC(o)&&rC(r)&&(r=(0,GC.default)(!0,o,r)),n[i]=[e,r,...a]}}}},JC=new qC().freeze()})),XC=s((()=>{YC()}));function ZC(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function QC(e){lw=e}function $C(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(fw.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}function ew(e,t){if(t){if(fw.escapeTest.test(e))return e.replace(fw.escapeReplace,yT)}else if(fw.escapeTestNoEncode.test(e))return e.replace(fw.escapeReplaceNoEncode,yT);return e}function tw(e){try{e=encodeURI(e).replace(fw.percentDecode,`%`)}catch{return null}return e}function nw(e,t){let n=e.replace(fw.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(fw.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``);for(;r<n.length;r++)n[r]=n[r].trim().replace(fw.slashPipe,`|`);return n}function rw(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function iw(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 n>0?-2:-1}function aw(e,t=0){let n=t,r=``;for(let t of e)if(t===` `){let e=4-n%4;r+=` `.repeat(e),n+=e}else r+=t,n++;return r}function ow(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function sw(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
301
|
+
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
302
|
+
`)}function cw(e,t){return DT.parse(e,t)}var lw,uw,dw,fw,pw,mw,hw,gw,_w,vw,yw,bw,xw,Sw,Cw,ww,Tw,Ew,Dw,Ow,kw,Aw,jw,Mw,Nw,Pw,Fw,Iw,Lw,Rw,zw,Bw,Vw,Hw,Uw,Ww,Gw,Kw,qw,Jw,Yw,Xw,Zw,Qw,$w,eT,tT,nT,rT,iT,aT,oT,sT,cT,lT,uT,dT,fT,pT,mT,hT,gT,_T,vT,yT,bT,xT,ST,CT,wT,TT,ET,DT,OT=s((()=>{lw=ZC(),uw={exec:()=>null},dw=(()=>{try{return!0}catch{return!1}})(),fw={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`),blockquoteBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}>`)},pw=/^(?:[ \t]*(?:\n|$))+/,mw=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,hw=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,gw=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_w=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,vw=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,yw=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,bw=$C(yw).replace(/bull/g,vw).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).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/).replace(/\|table/g,``).getRegex(),xw=$C(yw).replace(/bull/g,vw).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).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/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Sw=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Cw=/^[^\n]+/,ww=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Tw=$C(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,ww).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ew=$C(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,vw).getRegex(),Dw=`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`,Ow=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,kw=$C(`^ {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`,Ow).replace(`tag`,Dw).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Aw=$C(Sw).replace(`hr`,gw).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[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Dw).getRegex(),jw={blockquote:$C(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,Aw).getRegex(),code:mw,def:Tw,fences:hw,heading:_w,hr:gw,html:kw,lheading:bw,list:Ew,newline:pw,paragraph:Aw,table:uw,text:Cw},Mw=$C(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,gw).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Dw).getRegex(),Nw={...jw,lheading:xw,table:Mw,paragraph:$C(Sw).replace(`hr`,gw).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,Mw).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Dw).getRegex()},Pw={...jw,html:$C(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,Ow).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:uw,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$C(Sw).replace(`hr`,gw).replace(`heading`,` *#{1,6} *[^
|
|
303
|
+
]`).replace(`lheading`,bw).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},Fw=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Iw=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Lw=/^( {2,}|\\)\n(?!\s*$)/,Rw=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,zw=/[\p{P}\p{S}]/u,Bw=/[\s\p{P}\p{S}]/u,Vw=/[^\s\p{P}\p{S}]/u,Hw=$C(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,Bw).getRegex(),Uw=/(?!~)[\p{P}\p{S}]/u,Ww=/(?!~)[\s\p{P}\p{S}]/u,Gw=/(?:[^\s\p{P}\p{S}]|~)/u,Kw=$C(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,dw?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),qw=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Jw=$C(qw,`u`).replace(/punct/g,zw).getRegex(),Yw=$C(qw,`u`).replace(/punct/g,Uw).getRegex(),Xw=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Zw=$C(Xw,`gu`).replace(/notPunctSpace/g,Vw).replace(/punctSpace/g,Bw).replace(/punct/g,zw).getRegex(),Qw=$C(Xw,`gu`).replace(/notPunctSpace/g,Gw).replace(/punctSpace/g,Ww).replace(/punct/g,Uw).getRegex(),$w=$C(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,Vw).replace(/punctSpace/g,Bw).replace(/punct/g,zw).getRegex(),eT=$C(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,zw).getRegex(),tT=$C(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Vw).replace(/punctSpace/g,Bw).replace(/punct/g,zw).getRegex(),nT=$C(/\\(punct)/,`gu`).replace(/punct/g,zw).getRegex(),rT=$C(/^<(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(),iT=$C(Ow).replace(`(?:-->|$)`,`-->`).getRegex(),aT=$C(`^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`,iT).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),oT=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,sT=$C(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace(`label`,oT).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),cT=$C(/^!?\[(label)\]\[(ref)\]/).replace(`label`,oT).replace(`ref`,ww).getRegex(),lT=$C(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,ww).getRegex(),uT=$C(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,cT).replace(`nolink`,lT).getRegex(),dT=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,fT={_backpedal:uw,anyPunctuation:nT,autolink:rT,blockSkip:Kw,br:Lw,code:Iw,del:uw,delLDelim:uw,delRDelim:uw,emStrongLDelim:Jw,emStrongRDelimAst:Zw,emStrongRDelimUnd:$w,escape:Fw,link:sT,nolink:lT,punctuation:Hw,reflink:cT,reflinkSearch:uT,tag:aT,text:Rw,url:uw},pT={...fT,link:$C(/^!?\[(label)\]\((.*?)\)/).replace(`label`,oT).getRegex(),reflink:$C(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,oT).getRegex()},mT={...fT,emStrongRDelimAst:Qw,emStrongLDelim:Yw,delLDelim:eT,delRDelim:tT,url:$C(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,dT).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\S]|[^\s~\\]))\1(?=[^~]|$)/,text:$C(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,dT).getRegex()},hT={...mT,br:$C(Lw).replace(`{2,}`,`*`).getRegex(),text:$C(mT.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},gT={normal:jw,gfm:Nw,pedantic:Pw},_T={normal:fT,gfm:mT,breaks:hT,pedantic:pT},vT={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},yT=e=>vT[e],bT=class{options;rules;lexer;constructor(e){this.options=e||lw}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:rw(e,`
|
|
304
|
+
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=sw(e,t[3]||``,this.rules);return{type:`code`,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,`$1`):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=rw(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:rw(t[0],`
|
|
305
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=rw(t[0],`
|
|
306
|
+
`).split(`
|
|
307
|
+
`),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
|
|
308
|
+
`),c=s.replace(this.rules.other.blockquoteSetextReplace,`
|
|
309
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}
|
|
310
|
+
${s}`:s,r=r?`${r}
|
|
311
|
+
${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,e.length===0)break;let u=i.at(-1);if(u?.type===`code`)break;if(u?.type===`blockquote`){let t=u,a=t.raw+`
|
|
312
|
+
`+e.join(`
|
|
313
|
+
`),o=this.blockquote(a);i[i.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}else if(u?.type===`list`){let t=u,a=t.raw+`
|
|
314
|
+
`+e.join(`
|
|
315
|
+
`),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
|
|
316
|
+
`);continue}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:`list`,raw:``,ordered:r,start:r?+n.slice(0,-1):``,loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:`[*+-]`);let a=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,r=``,s=``;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=aw(t[2].split(`
|
|
317
|
+
`,1)[0],t[1].length),l=e.split(`
|
|
318
|
+
`,1)[0],u=!c.trim(),d=0;if(this.options.pedantic?(d=2,s=c.trimStart()):u?d=t[1].length+1:(d=c.search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=c.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(l)&&(r+=l+`
|
|
319
|
+
`,e=e.substring(l.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d),f=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(`
|
|
320
|
+
`,1)[0],m;if(l=p,this.options.pedantic?(l=l.replace(this.rules.other.listReplaceNesting,` `),m=l):m=l.replace(this.rules.other.tabCharGlobal,` `),i.test(l)||a.test(l)||o.test(l)||f.test(l)||t.test(l)||n.test(l))break;if(m.search(this.rules.other.nonSpaceChar)>=d||!l.trim())s+=`
|
|
321
|
+
`+m.slice(d);else{if(u||c.replace(this.rules.other.tabCharGlobal,` `).search(this.rules.other.nonSpaceChar)>=4||i.test(c)||a.test(c)||n.test(c))break;s+=`
|
|
322
|
+
`+l}u=!l.trim(),r+=p+`
|
|
323
|
+
`,e=e.substring(p.length+1),c=m.slice(d)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),i.items.push({type:`list_item`,raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(s),loose:!1,text:s,tokens:[]}),i.raw+=r}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let e of i.items){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,``),e.tokens[0]?.type===`text`||e.tokens[0]?.type===`paragraph`){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,``),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,``);for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,``);break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let n={type:`checkbox`,raw:t[0]+` `,checked:t[0]!==`[ ]`};e.checked=n.checked,i.loose?e.tokens[0]&&[`paragraph`,`text`].includes(e.tokens[0].type)&&`tokens`in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=n.raw+e.tokens[0].raw,e.tokens[0].text=n.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(n)):e.tokens.unshift({type:`paragraph`,raw:n.raw,text:n.raw,tokens:[n]}):e.tokens.unshift(n)}}if(!i.loose){let t=e.tokens.filter(e=>e.type===`space`);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(i.loose)for(let e of i.items){e.loose=!0;for(let t of e.tokens)t.type===`text`&&(t.type=`paragraph`)}return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:`html`,block:!0,raw:t[0],pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal,` `),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=nw(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,``).split(`|`),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,``).split(`
|
|
324
|
+
`):[],a={type:`table`,raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(nw(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:`heading`,raw:t[0],depth:t[2].charAt(0)===`=`?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
|
|
325
|
+
`?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:`text`,raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=rw(e.slice(0,-1),`\\`);if((e.length-t.length)%2==0)return}else{let e=iw(t[2],`()`);if(e===-2)return;if(e>-1){let n=(t[0].indexOf(`!`)===0?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=``}}let n=t[2],r=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):``;return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),ow(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,`$1`),title:r&&r.replace(this.rules.inline.anyPunctuation,`$1`)},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal,` `).toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:`text`,raw:e,text:e}}return ow(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=0,c=r[0][0]===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);(r=c.exec(t))!==null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(a=[...i].length,r[3]||r[4]){o+=a;continue}else if((r[5]||r[6])&&n%3&&!((n+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);let t=[...r[0]][0].length,c=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=c.slice(1,-1);return{type:`em`,raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}let l=c.slice(2,-2);return{type:`strong`,raw:c,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:`br`,raw:t[0]}}del(e,t,n=``){let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=this.rules.inline.delRDelim;for(s.lastIndex=0,t=t.slice(-1*e.length+n);(r=s.exec(t))!==null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(a=[...i].length,a!==n))continue;if(r[3]||r[4]){o+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o);let t=[...r[0]][0].length,s=e.slice(0,n+r.index+t+a),c=s.slice(n,-n);return{type:`del`,raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:t[0],escaped:e}}}},xT=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||lw,this.options.tokenizer=this.options.tokenizer||new bT,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:fw,block:gT.normal,inline:_T.normal};this.options.pedantic?(t.block=gT.pedantic,t.inline=_T.pedantic):this.options.gfm&&(t.block=gT.gfm,this.options.breaks?t.inline=_T.breaks:t.inline=_T.gfm),this.tokenizer.rules=t}static get rules(){return{block:gT,inline:_T}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(fw.carriageReturn,`
|
|
326
|
+
`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(fw.tabCharGlobal,` `).replace(fw.spaceLine,``));e;){let r;if(this.options.extensions?.block?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);r.raw.length===1&&n!==void 0?n.raw+=`
|
|
327
|
+
`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
328
|
+
`)?``:`
|
|
329
|
+
`)+r.raw,n.text+=`
|
|
330
|
+
`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
331
|
+
`)?``:`
|
|
332
|
+
`)+r.raw,n.text+=`
|
|
333
|
+
`+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type===`paragraph`?(a.raw+=(a.raw.endsWith(`
|
|
334
|
+
`)?``:`
|
|
335
|
+
`)+r.raw,a.text+=`
|
|
336
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
337
|
+
`)?``:`
|
|
338
|
+
`)+r.raw,n.text+=`
|
|
339
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}else throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){this.tokenizer.lexer=this;let n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!==null;)e.includes(r[0].slice(r[0].lastIndexOf(`[`)+1,-1))&&(n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!==null;)n=n.slice(0,r.index)+`++`+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!==null;)i=r[2]?r[2].length:0,n=n.slice(0,r.index+i)+`[`+`a`.repeat(r[0].length-i-2)+`]`+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,o=``;for(;e;){a||(o=``),a=!1;let r;if(this.options.extensions?.inline?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);r.type===`text`&&n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,o)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e,n,o)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),r.raw.slice(-1)!==`_`&&(o=r.raw.slice(-1)),a=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}else throw Error(t)}}return t}},ST=class{options;parser;constructor(e){this.options=e||lw}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(fw.notSpaceStart)?.[0],i=e.replace(fw.endingNewline,``)+`
|
|
340
|
+
`;return r?`<pre><code class="language-`+ew(r)+`">`+(n?i:ew(i,!0))+`</code></pre>
|
|
341
|
+
`:`<pre><code>`+(n?i:ew(i,!0))+`</code></pre>
|
|
342
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
343
|
+
${this.parser.parse(e)}</blockquote>
|
|
344
|
+
`}html({text:e}){return e}def(e){return``}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
345
|
+
`}hr(e){return`<hr>
|
|
346
|
+
`}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
|
|
347
|
+
`+r+`</`+i+`>
|
|
348
|
+
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
349
|
+
`}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox"> `}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
350
|
+
`}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
|
|
351
|
+
<thead>
|
|
352
|
+
`+t+`</thead>
|
|
353
|
+
`+r+`</table>
|
|
354
|
+
`}tablerow({text:e}){return`<tr>
|
|
355
|
+
${e}</tr>
|
|
356
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
357
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${ew(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=tw(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+ew(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=tw(e);if(i===null)return ew(n);e=i;let a=`<img src="${e}" alt="${ew(n)}"`;return t&&(a+=` title="${ew(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:ew(e.text)}},CT=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}checkbox({raw:e}){return e}},wT=class e{options;renderer;textRenderer;constructor(e){this.options=e||lw,this.options.renderer=this.options.renderer||new ST,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new CT}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n||``;continue}}let i=r;switch(i.type){case`space`:t+=this.renderer.space(i);break;case`hr`:t+=this.renderer.hr(i);break;case`heading`:t+=this.renderer.heading(i);break;case`code`:t+=this.renderer.code(i);break;case`table`:t+=this.renderer.table(i);break;case`blockquote`:t+=this.renderer.blockquote(i);break;case`list`:t+=this.renderer.list(i);break;case`checkbox`:t+=this.renderer.checkbox(i);break;case`html`:t+=this.renderer.html(i);break;case`def`:t+=this.renderer.def(i);break;case`paragraph`:t+=this.renderer.paragraph(i);break;case`text`:t+=this.renderer.text(i);break;default:{let e=`Token with "`+i.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`checkbox`:n+=t.checkbox(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},TT=class{options;block;constructor(e){this.options=e||lw}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?xT.lex:xT.lexInline}provideParser(e=this.block){return e?wT.parse:wT.parseInline}},ET=class{defaults=ZC();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=wT;Renderer=ST;TextRenderer=CT;Lexer=xT;Tokenizer=bT;Hooks=TT;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new ST(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new bT(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new TT;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];TT.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async&&TT.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:t[r]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return xT.lex(e,t??this.defaults)}parser(e,t){return wT.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?xT.lex:xT.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?wT.parse:wT.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?xT.lex:xT.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?wT.parse:wT.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
358
|
+
Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+ew(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},DT=new ET,cw.options=cw.setOptions=function(e){return DT.setOptions(e),cw.defaults=DT.defaults,QC(cw.defaults),cw},cw.getDefaults=ZC,cw.defaults=lw,cw.use=function(...e){return DT.use(...e),cw.defaults=DT.defaults,QC(cw.defaults),cw},cw.walkTokens=function(e,t){return DT.walkTokens(e,t)},cw.parseInline=DT.parseInline,cw.Parser=wT,cw.parser=wT.parse,cw.Renderer=ST,cw.TextRenderer=CT,cw.Lexer=xT,cw.lexer=xT.lex,cw.Tokenizer=bT,cw.Hooks=TT,cw.parse=cw,cw.options,cw.setOptions,cw.use,cw.walkTokens,cw.parseInline,wT.parse,xT.lex})),kT=l({HighlightedCodeBlockBody:()=>MT}),AT,jT,MT,NT=s((()=>{JO(),AT=_(),jT=re(),MT=({code:e,language:t,raw:n,className:r,startLine:i,lineNumbers:a,...o})=>{let{shikiTheme:s}=(0,AT.useContext)(UO),c=YE(),[l,u]=(0,AT.useState)(n);return(0,AT.useEffect)(()=>{if(!c){u(n);return}let r=c.highlight({code:e,language:t,themes:s},e=>{u(e)});r&&u(r)},[e,t,s,c,n]),(0,jT.jsx)(dE,{className:r,language:t,lineNumbers:a,result:l,startLine:i,...o})}})),PT=l({Mermaid:()=>qO}),FT=s((()=>{JO()}));function IT(e={}){let{immediate:t=!1,debounceDelay:n=HT,rootMargin:r=UT,idleTimeout:i=WT}=e,[a,o]=(0,Q.useState)(!1),s=(0,Q.useRef)(null),c=(0,Q.useRef)(null),l=(0,Q.useRef)(null),u=(0,Q.useMemo)(()=>e=>{let t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)},[]),d=(0,Q.useMemo)(()=>typeof window<`u`&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):u,[u]),f=(0,Q.useMemo)(()=>typeof window<`u`&&window.cancelIdleCallback?e=>window.cancelIdleCallback(e):e=>{clearTimeout(e)},[]);return(0,Q.useEffect)(()=>{if(t){o(!0);return}let e=s.current;if(!e)return;c.current&&=(clearTimeout(c.current),null),l.current&&=(f(l.current),null);let a=()=>{c.current&&=(clearTimeout(c.current),null),l.current&&=(f(l.current),null)},u=e=>{l.current=d(t=>{t.timeRemaining()>0||t.didTimeout?(o(!0),e.disconnect()):l.current=d(()=>{o(!0),e.disconnect()},{timeout:i/2})},{timeout:i})},p=e=>{a(),c.current=window.setTimeout(()=>{var t;let n=e.takeRecords();(n.length===0||(t=n.at(-1)?.isIntersecting)!=null&&t)&&u(e)},n)},m=(e,t)=>{e.isIntersecting?p(t):a()},h=new IntersectionObserver(e=>{for(let t of e)m(t,h)},{rootMargin:r,threshold:0});return h.observe(e),()=>{c.current&&clearTimeout(c.current),l.current&&f(l.current),h.disconnect()}},[t,n,r,i,f,d]),{shouldRender:a,containerRef:s}}function LT(e){let t={animation:e?.animation??`fadeIn`,duration:e?.duration??150,easing:e?.easing??`ease`,sep:e?.sep??`word`,stagger:e?.stagger??40},n={prevContentLength:0,lastRenderCharCount:0},r=eE++,i=()=>e=>{let r={count:0,newIndex:0};Ie(e,`text`,(e,i)=>$T(e,i,t,n,r)),n.lastRenderCharCount=r.count,n.prevContentLength=0};return Object.defineProperty(i,`name`,{value:`rehypeAnimate$${r}`}),{name:`animate`,type:`animate`,rehypePlugin:i,setPrevContentLength(e){n.prevContentLength=e},getLastRenderCharCount(){let e=n.lastRenderCharCount;return n.lastRenderCharCount=0,e}}}function RT(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let n=e.position.start,r=t.position.start,i=e.position.end,a=t.position.end;return n?.line===r?.line&&n?.column===r?.column&&i?.line===a?.line&&i?.column===a?.column}function zT(e,t){return e.className===t.className&&RT(e.node,t.node)}function BT(e){let t=e.replace(/^#{1,6}\s+/gm,``).replace(/(\*{1,3}|_{1,3})/g,``).replace(/`[^`]*`/g,``).replace(/\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/^[\s>*\-+\d.]+/gm,``);for(let e of t){if(KD.test(e))return`rtl`;if(qD.test(e))return`ltr`}return`ltr`}var Q,$,VT,HT,UT,WT,GT,KT,qT,JT,YT,XT,ZT,QT,$T,eE,tE,nE,rE,iE,aE,oE,sE,cE,lE,uE,dE,fE,pE,mE,hE,gE,_E,vE,yE,bE,xE,SE,CE,wE,TE,EE,DE,OE,kE,AE,jE,ME,NE,PE,FE,IE,LE,RE,zE,BE,VE,HE,UE,WE,GE,KE,qE,JE,YE,XE,ZE,QE,$E,eD,tD,nD,rD,iD,aD,oD,sD,cD,lD,uD,dD,fD,pD,mD,hD,gD,_D,vD,yD,bD,xD,SD,CD,wD,TD,ED,DD,OD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD,zD,BD,VD,HD,UD,WD,GD,KD,qD,JD,YD,XD,ZD,QD,$D,eO,tO,nO,rO,iO,aO,oO,sO,cO,lO,uO,dO,fO,pO,mO,hO,gO,_O,vO,yO,bO,xO,SO,CO,wO,TO,EO,DO,OO,kO,AO,jO,MO,NO,PO,FO,IO,LO,RO,zO,BO,VO,HO,UO,WO,GO,KO,qO,JO=s((()=>{Q=_(),rt(),Ec(),Xc(),vg(),Z_(),Ve(),ev(),Oy(),$=re(),VT=b(),Ob(),jb(),Ax(),$S(),XC(),We(),OT(),HT=300,UT=`300px`,WT=500,GT=/\s/,KT=/^\s+$/,qT=new Set([`code`,`pre`,`svg`,`math`,`annotation`]),JT=e=>typeof e==`object`&&!!e&&`type`in e&&e.type===`element`,YT=e=>e.some(e=>JT(e)&&qT.has(e.tagName)),XT=e=>{let t=[],n=``,r=!1;for(let i of e){let e=GT.test(i);e!==r&&n&&(t.push(n),n=``),n+=i,r=e}return n&&t.push(n),t},ZT=e=>{let t=[],n=``;for(let r of e)GT.test(r)?n+=r:(n&&=(t.push(n),``),t.push(r));return n&&t.push(n),t},QT=(e,t,n,r,i,a)=>{let o=`--sd-animation:sd-${t};--sd-duration:${i?0:n}ms;--sd-easing:${r}`;return a&&(o+=`;--sd-delay:${a}ms`),{type:`element`,tagName:`span`,properties:{"data-sd-animate":!0,style:o},children:[{type:`text`,value:e}]}},$T=(e,t,n,r,i)=>{let a=t.at(-1);if(!(a&&`children`in a))return;if(YT(t))return ze;let o=a,s=o.children.indexOf(e);if(s===-1)return;let c=e.value;if(!c.trim()){i.count+=c.length;return}let l=n.sep===`char`?ZT(c):XT(c),u=r.prevContentLength,d=l.map(e=>{let t=i.count;if(i.count+=e.length,KT.test(e))return{type:`text`,value:e};let r=u>0&&t<u,a=r?0:i.newIndex++*n.stagger;return QT(e,n.animation,n.duration,n.easing,r,a)});return o.children.splice(s,1,...d),s+d.length},eE=0,LT(),tE=(0,Q.createContext)(!1),nE=()=>(0,Q.useContext)(tE),rE=(...e)=>Dy($_(e)),iE=(e,t)=>{if(!e||!t)return t;let n=`${e}:`;return t.split(/\s+/).filter(Boolean).map(t=>t.startsWith(n)?t:`${e}:${t}`).join(` `)},aE=e=>e?(...t)=>iE(e,Dy($_(t))):rE,oE=(e,t,n)=>{let r=typeof t==`string`&&n.startsWith(`text/csv`)?``:``,i=typeof t==`string`?new Blob([r+t],{type:n}):t,a=URL.createObjectURL(i),o=document.createElement(`a`);o.href=a,o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)},sE=(0,Q.createContext)(rE),cE=()=>(0,Q.useContext)(sE),lE=rE(`block`,`before:content-[counter(line)]`,`before:inline-block`,`before:[counter-increment:line]`,`before:w-6`,`before:mr-4`,`before:text-[13px]`,`before:text-right`,`before:text-muted-foreground/50`,`before:font-mono`,`before:select-none`),uE=e=>{let t={};for(let n of e.split(`;`)){let e=n.indexOf(`:`);if(e>0){let r=n.slice(0,e).trim(),i=n.slice(e+1).trim();r&&i&&(t[r]=i)}}return t},dE=(0,Q.memo)(({children:e,result:t,language:n,className:r,startLine:i,lineNumbers:a=!0,...o})=>{let s=cE(),c=(0,Q.useMemo)(()=>s(lE),[s]),l=(0,Q.useMemo)(()=>{let e={};return t.bg&&(e[`--sdm-bg`]=t.bg),t.fg&&(e[`--sdm-fg`]=t.fg),t.rootStyle&&Object.assign(e,uE(t.rootStyle)),e},[t.bg,t.fg,t.rootStyle]);return(0,$.jsx)(`div`,{className:s(r,`overflow-x-auto rounded-md border border-border bg-background p-4 text-sm`),"data-language":n,"data-streamdown":`code-block-body`,...o,children:(0,$.jsx)(`pre`,{className:s(r,`bg-[var(--sdm-bg,inherit]`,`dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]`),style:l,children:(0,$.jsx)(`code`,{className:a?s(`[counter-increment:line_0] [counter-reset:line]`):void 0,style:a&&i&&i>1?{counterReset:`line ${i-1}`}:void 0,children:t.tokens.map((e,t)=>(0,$.jsx)(`span`,{className:a?c:void 0,children:e.length===0||e.length===1&&e[0].content===``?`
|
|
359
|
+
`:e.map((e,t)=>{let n={},r=!!e.bgColor;if(e.color&&(n[`--sdm-c`]=e.color),e.bgColor&&(n[`--sdm-tbg`]=e.bgColor),e.htmlStyle)for(let[t,i]of Object.entries(e.htmlStyle))t===`color`?n[`--sdm-c`]=i:t===`background-color`?(n[`--sdm-tbg`]=i,r=!0):n[t]=i;return(0,$.jsx)(`span`,{className:s(`text-[var(--sdm-c,inherit)]`,`dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]`,r&&`bg-[var(--sdm-tbg)]`,r&&`dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]`),style:n,...e.htmlAttrs,children:e.content},t)})},t))})})})},(e,t)=>e.result===t.result&&e.language===t.language&&e.className===t.className&&e.startLine===t.startLine&&e.lineNumbers===t.lineNumbers),fE=({className:e,language:t,style:n,isIncomplete:r,...i})=>(0,$.jsx)(`div`,{className:cE()(`my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2`,e),"data-incomplete":r||void 0,"data-language":t,"data-streamdown":`code-block`,style:{contentVisibility:`auto`,containIntrinsicSize:`auto 200px`,...n},...i}),pE=(0,Q.createContext)({code:``}),mE=()=>(0,Q.useContext)(pE),hE=({language:e})=>{let t=cE();return(0,$.jsx)(`div`,{className:t(`flex h-8 items-center text-muted-foreground text-xs`),"data-language":e,"data-streamdown":`code-block-header`,children:(0,$.jsx)(`span`,{className:t(`ml-1 font-mono lowercase`),children:e})})},gE=e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
360
|
+
`;)t--;return e.slice(0,t)},_E=(0,Q.lazy)(()=>Promise.resolve().then(()=>(NT(),kT)).then(e=>({default:e.HighlightedCodeBlockBody}))),vE=({code:e,language:t,className:n,children:r,isIncomplete:i=!1,startLine:a,lineNumbers:o,...s})=>{let c=cE(),l=(0,Q.useMemo)(()=>gE(e),[e]),u=(0,Q.useMemo)(()=>({bg:`transparent`,fg:`inherit`,tokens:l.split(`
|
|
361
|
+
`).map(e=>[{content:e,color:`inherit`,bgColor:`transparent`,htmlStyle:{},offset:0}])}),[l]);return(0,$.jsx)(pE.Provider,{value:{code:e},children:(0,$.jsxs)(fE,{isIncomplete:i,language:t,children:[(0,$.jsx)(hE,{language:t}),r?(0,$.jsx)(`div`,{className:c(`pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end`),children:(0,$.jsx)(`div`,{className:c(`pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur`),"data-streamdown":`code-block-actions`,children:r})}):null,(0,$.jsx)(Q.Suspense,{fallback:(0,$.jsx)(dE,{className:n,language:t,lineNumbers:o,result:u,startLine:a,...s}),children:(0,$.jsx)(_E,{className:n,code:l,language:t,lineNumbers:o,raw:u,startLine:a,...s})})]})})},yE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z`,fill:`currentColor`,fillRule:`evenodd`})}),bE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z`,fill:`currentColor`,fillRule:`evenodd`})}),xE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.68342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z`,fill:`currentColor`,fillRule:`evenodd`})}),SE=e=>(0,$.jsxs)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:[(0,$.jsx)(`path`,{d:`M8 0V4`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M8 16V12`,opacity:`0.5`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M3.29773 1.52783L5.64887 4.7639`,opacity:`0.9`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M12.7023 1.52783L10.3511 4.7639`,opacity:`0.1`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M12.7023 14.472L10.3511 11.236`,opacity:`0.4`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M3.29773 14.472L5.64887 11.236`,opacity:`0.6`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M15.6085 5.52783L11.8043 6.7639`,opacity:`0.2`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M0.391602 10.472L4.19583 9.23598`,opacity:`0.7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M15.6085 10.4722L11.8043 9.2361`,opacity:`0.3`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,$.jsx)(`path`,{d:`M0.391602 5.52783L4.19583 6.7639`,opacity:`0.8`,stroke:`currentColor`,strokeWidth:`1.5`})]}),CE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z`,fill:`currentColor`,fillRule:`evenodd`})}),wE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z`,fill:`currentColor`,fillRule:`evenodd`})}),TE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z`,fill:`currentColor`,fillRule:`evenodd`})}),EE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z`,fill:`currentColor`,fillRule:`evenodd`})}),DE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z`,fill:`currentColor`,fillRule:`evenodd`})}),OE=e=>(0,$.jsx)(`svg`,{color:`currentColor`,height:16,strokeLinejoin:`round`,viewBox:`0 0 16 16`,width:16,...e,children:(0,$.jsx)(`path`,{clipRule:`evenodd`,d:`M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z`,fill:`currentColor`,fillRule:`evenodd`})}),kE={CheckIcon:yE,CopyIcon:bE,DownloadIcon:xE,ExternalLinkIcon:EE,Loader2Icon:SE,Maximize2Icon:CE,RotateCcwIcon:wE,XIcon:TE,ZoomInIcon:DE,ZoomOutIcon:OE},AE=(0,Q.createContext)(kE),jE=(e,t)=>{if(e===t)return!0;if(!(e&&t))return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length?n.every(n=>e[n]===t[n]):!1},ME=({icons:e,children:t})=>{let n=(0,Q.useRef)(e),r=(0,Q.useRef)(e?{...kE,...e}:kE);jE(n.current,e)||(n.current=e,r.current=e?{...kE,...e}:kE);let i=r.current;return(0,$.jsx)(AE.Provider,{value:i,children:t})},NE=()=>(0,Q.useContext)(AE),PE={copyCode:`Copy Code`,downloadFile:`Download file`,downloadDiagram:`Download diagram`,downloadDiagramAsSvg:`Download diagram as SVG`,downloadDiagramAsPng:`Download diagram as PNG`,downloadDiagramAsMmd:`Download diagram as MMD`,viewFullscreen:`View fullscreen`,exitFullscreen:`Exit fullscreen`,mermaidFormatSvg:`SVG`,mermaidFormatPng:`PNG`,mermaidFormatMmd:`MMD`,copyTable:`Copy table`,copyTableAsMarkdown:`Copy table as Markdown`,copyTableAsCsv:`Copy table as CSV`,copyTableAsTsv:`Copy table as TSV`,downloadTable:`Download table`,downloadTableAsCsv:`Download table as CSV`,downloadTableAsMarkdown:`Download table as Markdown`,tableFormatMarkdown:`Markdown`,tableFormatCsv:`CSV`,tableFormatTsv:`TSV`,imageNotAvailable:`Image not available`,downloadImage:`Download image`,openExternalLink:`Open external link?`,externalLinkWarning:`You're about to visit an external website.`,close:`Close`,copyLink:`Copy link`,copied:`Copied`,openLink:`Open link`},FE=(0,Q.createContext)(PE),IE=()=>(0,Q.useContext)(FE),LE=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:i,code:a,...o})=>{let s=cE(),[c,l]=(0,Q.useState)(!1),u=(0,Q.useRef)(0),{code:d}=mE(),{isAnimating:f}=(0,Q.useContext)(UO),p=IE(),m=a??d,h=async()=>{var r;if(typeof window>`u`||!((r=navigator==null?void 0:navigator.clipboard)!=null&&r.writeText)){t?.(Error(`Clipboard API not available`));return}try{c||(await navigator.clipboard.writeText(m),l(!0),e?.(),u.current=window.setTimeout(()=>l(!1),n))}catch(e){t?.(e)}};(0,Q.useEffect)(()=>()=>{window.clearTimeout(u.current)},[]);let g=NE(),_=c?g.CheckIcon:g.CopyIcon;return(0,$.jsx)(`button`,{className:s(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,i),"data-streamdown":`code-block-copy-button`,disabled:f,onClick:h,title:p.copyCode,type:`button`,...o,children:r??(0,$.jsx)(_,{size:14})})},RE={"1c":`1c`,"1c-query":`1cq`,abap:`abap`,"actionscript-3":`as`,ada:`ada`,adoc:`adoc`,"angular-html":`html`,"angular-ts":`ts`,apache:`conf`,apex:`cls`,apl:`apl`,applescript:`applescript`,ara:`ara`,asciidoc:`adoc`,asm:`asm`,astro:`astro`,awk:`awk`,ballerina:`bal`,bash:`sh`,bat:`bat`,batch:`bat`,be:`be`,beancount:`beancount`,berry:`berry`,bibtex:`bib`,bicep:`bicep`,blade:`blade.php`,bsl:`bsl`,c:`c`,"c#":`cs`,"c++":`cpp`,cadence:`cdc`,cairo:`cairo`,cdc:`cdc`,clarity:`clar`,clj:`clj`,clojure:`clj`,"closure-templates":`soy`,cmake:`cmake`,cmd:`cmd`,cobol:`cob`,codeowners:`CODEOWNERS`,codeql:`ql`,coffee:`coffee`,coffeescript:`coffee`,"common-lisp":`lisp`,console:`sh`,coq:`v`,cpp:`cpp`,cql:`cql`,crystal:`cr`,cs:`cs`,csharp:`cs`,css:`css`,csv:`csv`,cue:`cue`,cypher:`cql`,d:`d`,dart:`dart`,dax:`dax`,desktop:`desktop`,diff:`diff`,docker:`dockerfile`,dockerfile:`dockerfile`,dotenv:`env`,"dream-maker":`dm`,edge:`edge`,elisp:`el`,elixir:`ex`,elm:`elm`,"emacs-lisp":`el`,erb:`erb`,erl:`erl`,erlang:`erl`,f:`f`,"f#":`fs`,f03:`f03`,f08:`f08`,f18:`f18`,f77:`f77`,f90:`f90`,f95:`f95`,fennel:`fnl`,fish:`fish`,fluent:`ftl`,for:`for`,"fortran-fixed-form":`f`,"fortran-free-form":`f90`,fs:`fs`,fsharp:`fs`,fsl:`fsl`,ftl:`ftl`,gdresource:`tres`,gdscript:`gd`,gdshader:`gdshader`,genie:`gs`,gherkin:`feature`,"git-commit":`gitcommit`,"git-rebase":`gitrebase`,gjs:`js`,gleam:`gleam`,"glimmer-js":`js`,"glimmer-ts":`ts`,glsl:`glsl`,gnuplot:`plt`,go:`go`,gql:`gql`,graphql:`graphql`,groovy:`groovy`,gts:`gts`,hack:`hack`,haml:`haml`,handlebars:`hbs`,haskell:`hs`,haxe:`hx`,hbs:`hbs`,hcl:`hcl`,hjson:`hjson`,hlsl:`hlsl`,hs:`hs`,html:`html`,"html-derivative":`html`,http:`http`,hxml:`hxml`,hy:`hy`,imba:`imba`,ini:`ini`,jade:`jade`,java:`java`,javascript:`js`,jinja:`jinja`,jison:`jison`,jl:`jl`,js:`js`,json:`json`,json5:`json5`,jsonc:`jsonc`,jsonl:`jsonl`,jsonnet:`jsonnet`,jssm:`jssm`,jsx:`jsx`,julia:`jl`,kotlin:`kt`,kql:`kql`,kt:`kt`,kts:`kts`,kusto:`kql`,latex:`tex`,lean:`lean`,lean4:`lean`,less:`less`,liquid:`liquid`,lisp:`lisp`,lit:`lit`,llvm:`ll`,log:`log`,logo:`logo`,lua:`lua`,luau:`luau`,make:`mak`,makefile:`mak`,markdown:`md`,marko:`marko`,matlab:`m`,md:`md`,mdc:`mdc`,mdx:`mdx`,mediawiki:`wiki`,mermaid:`mmd`,mips:`s`,mipsasm:`s`,mmd:`mmd`,mojo:`mojo`,move:`move`,nar:`nar`,narrat:`narrat`,nextflow:`nf`,nf:`nf`,nginx:`conf`,nim:`nim`,nix:`nix`,nu:`nu`,nushell:`nu`,objc:`m`,"objective-c":`m`,"objective-cpp":`mm`,ocaml:`ml`,pascal:`pas`,perl:`pl`,perl6:`p6`,php:`php`,plsql:`pls`,po:`po`,polar:`polar`,postcss:`pcss`,pot:`pot`,potx:`potx`,powerquery:`pq`,powershell:`ps1`,prisma:`prisma`,prolog:`pl`,properties:`properties`,proto:`proto`,protobuf:`proto`,ps:`ps`,ps1:`ps1`,pug:`pug`,puppet:`pp`,purescript:`purs`,py:`py`,python:`py`,ql:`ql`,qml:`qml`,qmldir:`qmldir`,qss:`qss`,r:`r`,racket:`rkt`,raku:`raku`,razor:`cshtml`,rb:`rb`,reg:`reg`,regex:`regex`,regexp:`regexp`,rel:`rel`,riscv:`s`,rs:`rs`,rst:`rst`,ruby:`rb`,rust:`rs`,sas:`sas`,sass:`sass`,scala:`scala`,scheme:`scm`,scss:`scss`,sdbl:`sdbl`,sh:`sh`,shader:`shader`,shaderlab:`shader`,shell:`sh`,shellscript:`sh`,shellsession:`sh`,smalltalk:`st`,solidity:`sol`,soy:`soy`,sparql:`rq`,spl:`spl`,splunk:`spl`,sql:`sql`,"ssh-config":`config`,stata:`do`,styl:`styl`,stylus:`styl`,svelte:`svelte`,swift:`swift`,"system-verilog":`sv`,systemd:`service`,talon:`talon`,talonscript:`talon`,tasl:`tasl`,tcl:`tcl`,templ:`templ`,terraform:`tf`,tex:`tex`,tf:`tf`,tfvars:`tfvars`,toml:`toml`,ts:`ts`,"ts-tags":`ts`,tsp:`tsp`,tsv:`tsv`,tsx:`tsx`,turtle:`ttl`,twig:`twig`,typ:`typ`,typescript:`ts`,typespec:`tsp`,typst:`typ`,v:`v`,vala:`vala`,vb:`vb`,verilog:`v`,vhdl:`vhdl`,vim:`vim`,viml:`vim`,vimscript:`vim`,vue:`vue`,"vue-html":`html`,"vue-vine":`vine`,vy:`vy`,vyper:`vy`,wasm:`wasm`,wenyan:`wy`,wgsl:`wgsl`,wiki:`wiki`,wikitext:`wiki`,wit:`wit`,wl:`wl`,wolfram:`wl`,xml:`xml`,xsl:`xsl`,yaml:`yaml`,yml:`yml`,zenscript:`zs`,zig:`zig`,zsh:`zsh`,文言:`wy`},zE=({onDownload:e,onError:t,language:n,children:r,className:i,code:a,...o})=>{let s=cE(),{code:c}=mE(),{isAnimating:l}=(0,Q.useContext)(UO),u=IE(),d=NE(),f=a??c,p=`file.${n&&n in RE?RE[n]:`txt`}`;return(0,$.jsx)(`button`,{className:s(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,i),"data-streamdown":`code-block-download-button`,disabled:l,onClick:()=>{try{oE(p,f,`text/plain`),e?.()}catch(e){t?.(e)}},title:u.downloadFile,type:`button`,...o,children:r??(0,$.jsx)(d.DownloadIcon,{size:14})})},BE=()=>{let{Loader2Icon:e}=NE(),t=cE();return(0,$.jsxs)(`div`,{className:t(`w-full divide-y divide-border overflow-hidden rounded-xl border border-border`),children:[(0,$.jsx)(`div`,{className:t(`h-[46px] w-full bg-muted/80`)}),(0,$.jsx)(`div`,{className:t(`flex w-full items-center justify-center p-4`),children:(0,$.jsx)(e,{className:t(`size-4 animate-spin`)})})]})},VE=/\.[^/.]+$/,HE=({node:e,className:t,src:n,alt:r,onLoad:i,onError:a,...o})=>{let{DownloadIcon:s}=NE(),c=cE(),l=(0,Q.useRef)(null),[u,d]=(0,Q.useState)(!1),[f,p]=(0,Q.useState)(!1),m=IE(),h=o.width!=null||o.height!=null,g=(u||h)&&!f,_=f&&!h;(0,Q.useEffect)(()=>{let e=l.current;if(e!=null&&e.complete){let t=e.naturalWidth>0;d(t),p(!t)}},[]);let v=(0,Q.useCallback)(e=>{d(!0),p(!1),i?.(e)},[i]),y=(0,Q.useCallback)(e=>{d(!1),p(!0),a?.(e)},[a]),b=async()=>{if(n)try{let e=await(await fetch(n)).blob(),t=new URL(n,window.location.origin).pathname.split(`/`).pop()||``,i=t.split(`.`).pop(),a=t.includes(`.`)&&i!==void 0&&i.length<=4,o=``;if(a)o=t;else{let n=e.type,i=`png`;n.includes(`jpeg`)||n.includes(`jpg`)?i=`jpg`:n.includes(`png`)?i=`png`:n.includes(`svg`)?i=`svg`:n.includes(`gif`)?i=`gif`:n.includes(`webp`)&&(i=`webp`),o=`${(r||t||`image`).replace(VE,``)}.${i}`}oE(o,e,e.type)}catch{window.open(n,`_blank`)}};return n?(0,$.jsxs)(`div`,{className:c(`group relative my-4 inline-block`),"data-streamdown":`image-wrapper`,children:[(0,$.jsx)(`img`,{alt:r,className:c(`max-w-full rounded-lg`,_&&`hidden`,t),"data-streamdown":`image`,onError:y,onLoad:v,ref:l,src:n,...o}),_&&(0,$.jsx)(`span`,{className:c(`text-muted-foreground text-xs italic`),"data-streamdown":`image-fallback`,children:m.imageNotAvailable}),(0,$.jsx)(`div`,{className:c(`pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block`)}),g&&(0,$.jsx)(`button`,{className:c(`absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background`,`opacity-0 group-hover:opacity-100`),onClick:b,title:m.downloadImage,type:`button`,children:(0,$.jsx)(s,{size:14})})]}):null},UE=0,WE=()=>{UE+=1,UE===1&&(document.body.style.overflow=`hidden`)},GE=()=>{UE=Math.max(0,UE-1),UE===0&&(document.body.style.overflow=``)},KE=({url:e,isOpen:t,onClose:n,onConfirm:r})=>{let{CheckIcon:i,CopyIcon:a,ExternalLinkIcon:o,XIcon:s}=NE(),c=cE(),[l,u]=(0,Q.useState)(!1),d=IE(),f=(0,Q.useCallback)(async()=>{try{await navigator.clipboard.writeText(e),u(!0),setTimeout(()=>u(!1),2e3)}catch{}},[e]),p=(0,Q.useCallback)(()=>{r(),n()},[r,n]);return(0,Q.useEffect)(()=>{if(t){WE();let e=e=>{e.key===`Escape`&&n()};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),GE()}}},[t,n]),t?(0,$.jsx)(`div`,{className:c(`fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm`),"data-streamdown":`link-safety-modal`,onClick:n,onKeyDown:e=>{e.key===`Escape`&&n()},role:`button`,tabIndex:0,children:(0,$.jsxs)(`div`,{className:c(`relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg`),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:[(0,$.jsx)(`button`,{className:c(`absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:n,title:d.close,type:`button`,children:(0,$.jsx)(s,{size:16})}),(0,$.jsxs)(`div`,{className:c(`flex flex-col gap-2`),children:[(0,$.jsxs)(`div`,{className:c(`flex items-center gap-2 font-semibold text-lg`),children:[(0,$.jsx)(o,{size:20}),(0,$.jsx)(`span`,{children:d.openExternalLink})]}),(0,$.jsx)(`p`,{className:c(`text-muted-foreground text-sm`),children:d.externalLinkWarning})]}),(0,$.jsx)(`div`,{className:c(`break-all rounded-md bg-muted p-3 font-mono text-sm`,e.length>100&&`max-h-32 overflow-y-auto`),children:e}),(0,$.jsxs)(`div`,{className:c(`flex gap-2`),children:[(0,$.jsx)(`button`,{className:c(`flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted`),onClick:f,type:`button`,children:l?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(i,{size:14}),(0,$.jsx)(`span`,{children:d.copied})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(a,{size:14}),(0,$.jsx)(`span`,{children:d.copyLink})]})}),(0,$.jsxs)(`button`,{className:c(`flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90`),onClick:p,type:`button`,children:[(0,$.jsx)(o,{size:14}),(0,$.jsx)(`span`,{children:d.openLink})]})]})]})}):null},qE=(0,Q.createContext)(null),JE=()=>(0,Q.useContext)(qE),YE=()=>JE()?.code??null,XE=()=>JE()?.mermaid??null,ZE=e=>{var t;let n=JE();return n!=null&&n.renderers&&e&&(t=n.renderers.find(t=>Array.isArray(t.language)?t.language.includes(e):t.language===e))!=null?t:null},QE=(e,t)=>new Promise((t,n)=>{let r=`data:image/svg+xml;base64,`+btoa(unescape(encodeURIComponent(e))),i=new Image;i.crossOrigin=`anonymous`,i.onload=()=>{let e=document.createElement(`canvas`),r=i.width*5,a=i.height*5;e.width=r,e.height=a;let o=e.getContext(`2d`);if(!o){n(Error(`Failed to create 2D canvas context for PNG export`));return}o.drawImage(i,0,0,r,a),e.toBlob(e=>{if(!e){n(Error(`Failed to create PNG blob`));return}t(e)},`image/png`)},i.onerror=()=>n(Error(`Failed to load SVG image`)),i.src=r}),$E=({chart:e,children:t,className:n,onDownload:r,config:i,onError:a})=>{let o=cE(),[s,c]=(0,Q.useState)(!1),l=(0,Q.useRef)(null),{isAnimating:u}=(0,Q.useContext)(UO),d=NE(),f=XE(),p=IE(),m=async t=>{try{if(t===`mmd`){oE(`diagram.mmd`,e,`text/plain`),c(!1),r?.(t);return}if(!f){a?.(Error(`Mermaid plugin not available`));return}let n=f.getMermaid(i),o=e.split(``).reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),s=`mermaid-${Math.abs(o)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:l}=await n.render(s,e);if(!l){a?.(Error(`SVG not found. Please wait for the diagram to render.`));return}if(t===`svg`){oE(`diagram.svg`,l,`image/svg+xml`),c(!1),r?.(t);return}if(t===`png`){oE(`diagram.png`,await QE(l),`image/png`),r?.(t),c(!1);return}}catch(e){a?.(e)}};return(0,Q.useEffect)(()=>{let e=e=>{let t=e.composedPath();l.current&&!t.includes(l.current)&&c(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,$.jsxs)(`div`,{className:o(`relative`),ref:l,children:[(0,$.jsx)(`button`,{className:o(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,n),disabled:u,onClick:()=>c(!s),title:p.downloadDiagram,type:`button`,children:t??(0,$.jsx)(d.DownloadIcon,{size:14})}),s?(0,$.jsxs)(`div`,{className:o(`absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,$.jsx)(`button`,{className:o(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>m(`svg`),title:p.downloadDiagramAsSvg,type:`button`,children:p.mermaidFormatSvg}),(0,$.jsx)(`button`,{className:o(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>m(`png`),title:p.downloadDiagramAsPng,type:`button`,children:p.mermaidFormatPng}),(0,$.jsx)(`button`,{className:o(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>m(`mmd`),title:p.downloadDiagramAsMmd,type:`button`,children:p.mermaidFormatMmd})]}):null]})},eD=({chart:e,config:t,onFullscreen:n,onExit:r,className:i,...a})=>{let{Maximize2Icon:o,XIcon:s}=NE(),c=cE(),[l,u]=(0,Q.useState)(!1),{isAnimating:d,controls:f}=(0,Q.useContext)(UO),p=IE(),m=(()=>{if(typeof f==`boolean`)return f;let e=f.mermaid;return e===!1?!1:e===!0||e===void 0?!0:e.panZoom!==!1})(),h=()=>{u(!l)};return(0,Q.useEffect)(()=>{if(l){WE();let e=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),GE()}}},[l]),(0,Q.useEffect)(()=>{l?n?.():r&&r()},[l,n,r]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`button`,{className:c(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,i),disabled:d,onClick:h,title:p.viewFullscreen,type:`button`,...a,children:(0,$.jsx)(o,{size:14})}),l?(0,VT.createPortal)((0,$.jsxs)(`div`,{className:c(`fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm`),onClick:h,onKeyDown:e=>{e.key===`Escape`&&h()},role:`button`,tabIndex:0,children:[(0,$.jsx)(`button`,{className:c(`absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:h,title:p.exitFullscreen,type:`button`,children:(0,$.jsx)(s,{size:20})}),(0,$.jsx)(`div`,{className:c(`flex size-full items-center justify-center p-4`),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:(0,$.jsx)(qO,{chart:e,className:c(`size-full [&_svg]:h-auto [&_svg]:w-auto`),config:t,fullscreen:!0,showControls:m})})]}),document.body):null]})},tD=e=>{let t=[],n=[],r=e.querySelectorAll(`thead th`);for(let e of r)t.push(e.textContent?.trim()||``);let i=e.querySelectorAll(`tbody tr`);for(let e of i){let t=[],r=e.querySelectorAll(`td`);for(let e of r)t.push(e.textContent?.trim()||``);n.push(t)}return{headers:t,rows:n}},nD=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1,n=!1;for(let r of e){if(r===`"`){t=!0,n=!0;break}(r===`,`||r===`
|
|
362
|
+
`)&&(t=!0)}return t?n?`"${e.replace(/"/g,`""`)}"`:`"${e}"`:e},i=t.length>0?n.length+1:n.length,a=Array(i),o=0;t.length>0&&(a[o]=t.map(r).join(`,`),o+=1);for(let e of n)a[o]=e.map(r).join(`,`),o+=1;return a.join(`
|
|
363
|
+
`)},rD=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1;for(let n of e)if(n===` `||n===`
|
|
364
|
+
`||n===`\r`){t=!0;break}if(!t)return e;let n=[];for(let t of e)t===` `?n.push(`\\t`):t===`
|
|
365
|
+
`?n.push(`\\n`):t===`\r`?n.push(`\\r`):n.push(t);return n.join(``)},i=t.length>0?n.length+1:n.length,a=Array(i),o=0;t.length>0&&(a[o]=t.map(r).join(` `),o+=1);for(let e of n)a[o]=e.map(r).join(` `),o+=1;return a.join(`
|
|
366
|
+
`)},iD=e=>{let t=!1;for(let n of e)if(n===`\\`||n===`|`){t=!0;break}if(!t)return e;let n=[];for(let t of e)t===`\\`?n.push(`\\\\`):t===`|`?n.push(`\\|`):n.push(t);return n.join(``)},aD=e=>{let{headers:t,rows:n}=e;if(t.length===0)return``;let r=Array(n.length+2),i=0;r[i]=`| ${t.map(e=>iD(e)).join(` | `)} |`,i+=1;let a=Array(t.length);for(let e=0;e<t.length;e+=1)a[e]=`---`;r[i]=`| ${a.join(` | `)} |`,i+=1;for(let e of n)if(e.length<t.length){let n=Array(t.length);for(let r=0;r<t.length;r+=1)n[r]=r<e.length?iD(e[r]):``;r[i]=`| ${n.join(` | `)} |`,i+=1}else r[i]=`| ${e.map(e=>iD(e)).join(` | `)} |`,i+=1;return r.join(`
|
|
367
|
+
`)},oD=({children:e,className:t,onCopy:n,onError:r,timeout:i=2e3})=>{let a=cE(),[o,s]=(0,Q.useState)(!1),[c,l]=(0,Q.useState)(!1),u=(0,Q.useRef)(null),d=(0,Q.useRef)(0),{isAnimating:f}=(0,Q.useContext)(UO),p=IE(),m=async e=>{var t;if(typeof window>`u`||!((t=navigator==null?void 0:navigator.clipboard)!=null&&t.write)){r?.(Error(`Clipboard API not available`));return}try{let t=(u.current?.closest(`[data-streamdown="table-wrapper"]`))?.querySelector(`table`);if(!t){r?.(Error(`Table not found`));return}let a=tD(t),o=({csv:nD,tsv:rD,md:aD}[e]||aD)(a),c=new ClipboardItem({"text/plain":new Blob([o],{type:`text/plain`}),"text/html":new Blob([t.outerHTML],{type:`text/html`})});await navigator.clipboard.write([c]),l(!0),s(!1),n?.(e),d.current=window.setTimeout(()=>l(!1),i)}catch(e){r?.(e)}};(0,Q.useEffect)(()=>{let e=e=>{let t=e.composedPath();u.current&&!t.includes(u.current)&&s(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e),window.clearTimeout(d.current)}},[]);let h=NE(),g=c?h.CheckIcon:h.CopyIcon;return(0,$.jsxs)(`div`,{className:a(`relative`),ref:u,children:[(0,$.jsx)(`button`,{className:a(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:f,onClick:()=>s(!o),title:p.copyTable,type:`button`,children:e??(0,$.jsx)(g,{height:14,width:14})}),o?(0,$.jsxs)(`div`,{className:a(`absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,$.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>m(`md`),title:p.copyTableAsMarkdown,type:`button`,children:p.tableFormatMarkdown}),(0,$.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>m(`csv`),title:p.copyTableAsCsv,type:`button`,children:p.tableFormatCsv}),(0,$.jsx)(`button`,{className:a(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>m(`tsv`),title:p.copyTableAsTsv,type:`button`,children:p.tableFormatTsv})]}):null]})},sD=({children:e,className:t,onDownload:n,onError:r})=>{let i=cE(),[a,o]=(0,Q.useState)(!1),s=(0,Q.useRef)(null),{isAnimating:c}=(0,Q.useContext)(UO),l=IE(),u=NE(),d=e=>{try{let t=(s.current?.closest(`[data-streamdown="table-wrapper"]`))?.querySelector(`table`);if(!t){r?.(Error(`Table not found`));return}let i=tD(t),a=e===`csv`?nD(i):aD(i);oE(`table.${e===`csv`?`csv`:`md`}`,a,e===`csv`?`text/csv`:`text/markdown`),o(!1),n?.(e)}catch(e){r?.(e)}};return(0,Q.useEffect)(()=>{let e=e=>{let t=e.composedPath();s.current&&!t.includes(s.current)&&o(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,$.jsxs)(`div`,{className:i(`relative`),ref:s,children:[(0,$.jsx)(`button`,{className:i(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:c,onClick:()=>o(!a),title:l.downloadTable,type:`button`,children:e??(0,$.jsx)(u.DownloadIcon,{size:14})}),a?(0,$.jsxs)(`div`,{className:i(`absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg`),children:[(0,$.jsx)(`button`,{className:i(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>d(`csv`),title:l.downloadTableAsCsv,type:`button`,children:l.tableFormatCsv}),(0,$.jsx)(`button`,{className:i(`w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40`),onClick:()=>d(`markdown`),title:l.downloadTableAsMarkdown,type:`button`,children:l.tableFormatMarkdown})]}):null]})},cD=({children:e,className:t,showCopy:n=!0,showDownload:r=!0})=>{let{Maximize2Icon:i,XIcon:a}=NE(),o=cE(),[s,c]=(0,Q.useState)(!1),{isAnimating:l}=(0,Q.useContext)(UO),u=IE(),d=()=>{c(!0)},f=()=>{c(!1)};return(0,Q.useEffect)(()=>{if(s){WE();let e=e=>{e.key===`Escape`&&c(!1)};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e),GE()}}},[s]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`button`,{className:o(`cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`,t),disabled:l,onClick:d,title:u.viewFullscreen,type:`button`,children:(0,$.jsx)(i,{size:14})}),s?(0,VT.createPortal)((0,$.jsx)(`div`,{"aria-label":u.viewFullscreen,"aria-modal":`true`,className:o(`fixed inset-0 z-50 flex flex-col bg-background`),"data-streamdown":`table-fullscreen`,onClick:f,onKeyDown:e=>{e.key===`Escape`&&f()},role:`dialog`,children:(0,$.jsxs)(`div`,{className:o(`flex h-full flex-col`),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:[(0,$.jsxs)(`div`,{className:o(`flex items-center justify-end gap-1 p-4`),children:[n?(0,$.jsx)(oD,{}):null,r?(0,$.jsx)(sD,{}):null,(0,$.jsx)(`button`,{className:o(`rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground`),onClick:f,title:u.exitFullscreen,type:`button`,children:(0,$.jsx)(a,{size:20})})]}),(0,$.jsx)(`div`,{className:o(`flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10`),children:(0,$.jsx)(`table`,{className:o(`w-full border-collapse border border-border`),"data-streamdown":`table`,children:e})})]})}),document.body):null]})},lD=({children:e,className:t,showControls:n,showCopy:r=!0,showDownload:i=!0,showFullscreen:a=!0,...o})=>{let s=cE(),c=n&&r,l=n&&i,u=n&&a,d=c||l||u;return(0,$.jsxs)(`div`,{className:s(`my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2`),"data-streamdown":`table-wrapper`,children:[d?(0,$.jsxs)(`div`,{className:s(`flex items-center justify-end gap-1`),children:[c?(0,$.jsx)(oD,{}):null,l?(0,$.jsx)(sD,{}):null,u?(0,$.jsx)(cD,{showCopy:c,showDownload:l,children:e}):null]}):null,(0,$.jsx)(`div`,{className:s(`border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background`),children:(0,$.jsx)(`table`,{className:s(`w-full divide-y divide-border`,t),"data-streamdown":`table`,...o,children:e})})]})},uD=/startLine=(\d+)/,dD=/\bnoLineNumbers\b/,fD=(0,Q.lazy)(()=>Promise.resolve().then(()=>(FT(),PT)).then(e=>({default:e.Mermaid}))),pD=/language-([^\s]+)/,mD=(e,t)=>typeof e==`boolean`?e:e[t]!==!1,hD=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.table;return n===!1?!1:n===!0||n===void 0?!0:n[t]!==!1},gD=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.code;return n===!1?!1:n===!0||n===void 0?!0:n[t]!==!1},_D=(e,t)=>{if(typeof e==`boolean`)return e;let n=e.mermaid;return n===!1?!1:n===!0||n===void 0?!0:n[t]!==!1},vD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`ol`,{className:cE()(`list-inside list-decimal whitespace-normal [li_&]:pl-6`,t),"data-streamdown":`ordered-list`,...r,children:e}),(e,t)=>zT(e,t)),vD.displayName=`MarkdownOl`,yD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`li`,{className:cE()(`py-1 [&>p]:inline`,t),"data-streamdown":`list-item`,...r,children:e}),(e,t)=>e.className===t.className&&RT(e.node,t.node)),yD.displayName=`MarkdownLi`,bD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`ul`,{className:cE()(`list-inside list-disc whitespace-normal [li_&]:pl-6`,t),"data-streamdown":`unordered-list`,...r,children:e}),(e,t)=>zT(e,t)),bD.displayName=`MarkdownUl`,xD=(0,Q.memo)(({className:e,node:t,...n})=>(0,$.jsx)(`hr`,{className:cE()(`my-6 border-border`,e),"data-streamdown":`horizontal-rule`,...n}),(e,t)=>zT(e,t)),xD.displayName=`MarkdownHr`,SD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`span`,{className:cE()(`font-semibold`,t),"data-streamdown":`strong`,...r,children:e}),(e,t)=>zT(e,t)),SD.displayName=`MarkdownStrong`,CD=({children:e,className:t,href:n,node:r,...i})=>{let a=cE(),{linkSafety:o}=(0,Q.useContext)(UO),[s,c]=(0,Q.useState)(!1),l=n===`streamdown:incomplete-link`,u=(0,Q.useCallback)(async e=>{if(!(!(o!=null&&o.enabled&&n)||l)){if(e.preventDefault(),o.onLinkCheck&&await o.onLinkCheck(n)){window.open(n,`_blank`,`noreferrer`);return}c(!0)}},[o,n,l]),d=(0,Q.useCallback)(()=>{n&&window.open(n,`_blank`,`noreferrer`)},[n]),f=(0,Q.useCallback)(()=>{c(!1)},[]),p={url:n??``,isOpen:s,onClose:f,onConfirm:d};return o!=null&&o.enabled&&n?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`button`,{className:a(`wrap-anywhere appearance-none text-left font-medium text-primary underline`,t),"data-incomplete":l,"data-streamdown":`link`,onClick:u,type:`button`,children:e}),o.renderModal?o.renderModal(p):(0,$.jsx)(KE,{...p})]}):(0,$.jsx)(`a`,{className:a(`wrap-anywhere font-medium text-primary underline`,t),"data-incomplete":l,"data-streamdown":`link`,href:n,rel:`noreferrer`,target:`_blank`,...i,children:e})},wD=(0,Q.memo)(CD,(e,t)=>zT(e,t)&&e.href===t.href),wD.displayName=`MarkdownA`,TD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`h1`,{className:cE()(`mt-6 mb-2 font-semibold text-3xl`,t),"data-streamdown":`heading-1`,...r,children:e}),(e,t)=>zT(e,t)),TD.displayName=`MarkdownH1`,ED=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`h2`,{className:cE()(`mt-6 mb-2 font-semibold text-2xl`,t),"data-streamdown":`heading-2`,...r,children:e}),(e,t)=>zT(e,t)),ED.displayName=`MarkdownH2`,DD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`h3`,{className:cE()(`mt-6 mb-2 font-semibold text-xl`,t),"data-streamdown":`heading-3`,...r,children:e}),(e,t)=>zT(e,t)),DD.displayName=`MarkdownH3`,OD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`h4`,{className:cE()(`mt-6 mb-2 font-semibold text-lg`,t),"data-streamdown":`heading-4`,...r,children:e}),(e,t)=>zT(e,t)),OD.displayName=`MarkdownH4`,kD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`h5`,{className:cE()(`mt-6 mb-2 font-semibold text-base`,t),"data-streamdown":`heading-5`,...r,children:e}),(e,t)=>zT(e,t)),kD.displayName=`MarkdownH5`,AD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`h6`,{className:cE()(`mt-6 mb-2 font-semibold text-sm`,t),"data-streamdown":`heading-6`,...r,children:e}),(e,t)=>zT(e,t)),AD.displayName=`MarkdownH6`,jD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>{let{controls:i}=(0,Q.useContext)(UO);return(0,$.jsx)(lD,{className:t,showControls:mD(i,`table`),showCopy:hD(i,`copy`),showDownload:hD(i,`download`),showFullscreen:hD(i,`fullscreen`),...r,children:e})},(e,t)=>zT(e,t)),jD.displayName=`MarkdownTable`,MD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`thead`,{className:cE()(`bg-muted/80`,t),"data-streamdown":`table-header`,...r,children:e}),(e,t)=>zT(e,t)),MD.displayName=`MarkdownThead`,ND=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`tbody`,{className:cE()(`divide-y divide-border`,t),"data-streamdown":`table-body`,...r,children:e}),(e,t)=>zT(e,t)),ND.displayName=`MarkdownTbody`,PD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`tr`,{className:cE()(`border-border`,t),"data-streamdown":`table-row`,...r,children:e}),(e,t)=>zT(e,t)),PD.displayName=`MarkdownTr`,FD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`th`,{className:cE()(`whitespace-nowrap px-4 py-2 text-left font-semibold text-sm`,t),"data-streamdown":`table-header-cell`,...r,children:e}),(e,t)=>zT(e,t)),FD.displayName=`MarkdownTh`,ID=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`td`,{className:cE()(`px-4 py-2 text-sm`,t),"data-streamdown":`table-cell`,...r,children:e}),(e,t)=>zT(e,t)),ID.displayName=`MarkdownTd`,LD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`blockquote`,{className:cE()(`my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic`,t),"data-streamdown":`blockquote`,...r,children:e}),(e,t)=>zT(e,t)),LD.displayName=`MarkdownBlockquote`,RD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`sup`,{className:cE()(`text-sm`,t),"data-streamdown":`superscript`,...r,children:e}),(e,t)=>zT(e,t)),RD.displayName=`MarkdownSup`,zD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>(0,$.jsx)(`sub`,{className:cE()(`text-sm`,t),"data-streamdown":`subscript`,...r,children:e}),(e,t)=>zT(e,t)),zD.displayName=`MarkdownSub`,BD=(0,Q.memo)(({children:e,className:t,node:n,...r})=>{if(`data-footnotes`in r){let n=e=>{if(!(0,Q.isValidElement)(e))return!1;let t=Array.isArray(e.props.children)?e.props.children:[e.props.children],n=!1,r=!1;for(let e of t)if(e){if(typeof e==`string`)e.trim()!==``&&(n=!0);else if((0,Q.isValidElement)(e))if(e.props?.[`data-footnote-backref`]!==void 0)r=!0;else{let t=Array.isArray(e.props.children)?e.props.children:[e.props.children];for(let e of t){if(typeof e==`string`&&e.trim()!==``){n=!0;break}if((0,Q.isValidElement)(e)&&e.props?.[`data-footnote-backref`]===void 0){n=!0;break}}}}return r&&!n},i=Array.isArray(e)?e.map(e=>{if(!(0,Q.isValidElement)(e))return e;if(e.type===vD){let t=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!n(e));return t.length===0?null:{...e,props:{...e.props,children:t}}}return e}):e;return(Array.isArray(i)?i.some(e=>e!==null):i!==null)?(0,$.jsx)(`section`,{className:t,...r,children:i}):null}return(0,$.jsx)(`section`,{className:t,...r,children:e})},(e,t)=>zT(e,t)),BD.displayName=`MarkdownSection`,VD=({node:e,className:t,children:n,...r})=>{let i=cE(),a=!(`data-block`in r),{mermaid:o,controls:s,lineNumbers:c}=(0,Q.useContext)(UO),l=XE(),u=nE(),d=(t?.match(pD))?.at(1)??``,f=ZE(d);if(a)return(0,$.jsx)(`code`,{className:i(`rounded bg-muted px-1.5 py-0.5 font-mono text-sm`,t),"data-streamdown":`inline-code`,...r,children:n});let p=e?.properties?.metastring,m=p?.match(uD),h=m?Number.parseInt(m[1],10):void 0,g=h!==void 0&&h>=1?h:void 0,_=!(p&&dD.test(p))&&c!==!1,v=``;if((0,Q.isValidElement)(n)&&n.props&&typeof n.props==`object`&&`children`in n.props&&typeof n.props.children==`string`?v=n.props.children:typeof n==`string`&&(v=n),f){let e=f.component;return(0,$.jsx)(Q.Suspense,{fallback:(0,$.jsx)(BE,{}),children:(0,$.jsx)(e,{code:v,isIncomplete:u,language:d,meta:p})})}if(d===`mermaid`&&l){let e=mD(s,`mermaid`),n=_D(s,`download`),r=_D(s,`copy`),a=_D(s,`fullscreen`),c=_D(s,`panZoom`),l=e&&(n||r||a);return(0,$.jsx)(Q.Suspense,{fallback:(0,$.jsx)(BE,{}),children:(0,$.jsxs)(`div`,{className:i(`group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2`,t),"data-streamdown":`mermaid-block`,children:[(0,$.jsx)(`div`,{className:i(`flex h-8 items-center text-muted-foreground text-xs`),children:(0,$.jsx)(`span`,{className:i(`ml-1 font-mono lowercase`),children:`mermaid`})}),l?(0,$.jsx)(`div`,{className:i(`pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end`),children:(0,$.jsxs)(`div`,{className:i(`pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur`),"data-streamdown":`mermaid-block-actions`,children:[n?(0,$.jsx)($E,{chart:v,config:o?.config}):null,r?(0,$.jsx)(LE,{code:v}):null,a?(0,$.jsx)(eD,{chart:v,config:o?.config}):null]})}):null,(0,$.jsx)(`div`,{className:i(`rounded-md border border-border bg-background`),children:(0,$.jsx)(fD,{chart:v,config:o?.config,showControls:c})})]})})}let y=mD(s,`code`),b=gD(s,`download`),x=gD(s,`copy`);return(0,$.jsx)(vE,{className:t,code:v,isIncomplete:u,language:d,lineNumbers:_,startLine:g,children:y?(0,$.jsxs)($.Fragment,{children:[b?(0,$.jsx)(zE,{code:v,language:d}):null,x?(0,$.jsx)(LE,{}):null]}):null})},HD=(0,Q.memo)(VD,(e,t)=>e.className===t.className&&RT(e.node,t.node)),HD.displayName=`MarkdownCode`,UD=(0,Q.memo)(HE,(e,t)=>e.className===t.className&&RT(e.node,t.node)),UD.displayName=`MarkdownImg`,WD=(0,Q.memo)(({children:e,node:t,...n})=>{let r=(Array.isArray(e)?e:[e]).filter(e=>e!=null&&e!==``);if(r.length===1&&(0,Q.isValidElement)(r[0])){let t=r[0].props.node?.tagName;if(t===`img`||t===`code`&&`data-block`in r[0].props)return(0,$.jsx)($.Fragment,{children:e})}return(0,$.jsx)(`p`,{...n,children:e})},(e,t)=>zT(e,t)),WD.displayName=`MarkdownParagraph`,GD={ol:vD,li:yD,ul:bD,hr:xD,strong:SD,a:wD,h1:TD,h2:ED,h3:DD,h4:OD,h5:kD,h6:AD,table:jD,thead:MD,tbody:ND,tr:PD,th:FD,td:ID,blockquote:LD,code:HD,img:UD,pre:({children:e})=>(0,Q.isValidElement)(e)?(0,Q.cloneElement)(e,{"data-block":`true`}):e,sup:RD,sub:zD,p:WD,section:BD},KD=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,qD=/\p{L}/u,JD=/^[ \t]{0,3}(`{3,}|~{3,})/,YD=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,XD=e=>{let t=e.split(`
|
|
368
|
+
`),n=null,r=0;for(let e of t){let t=JD.exec(e);if(n===null){if(t){let e=t[1];n=e[0],r=e.length}}else if(t){let e=t[1],i=e[0],a=e.length;i===n&&a>=r&&(n=null,r=0)}}return n!==null},ZD=e=>{let t=e.split(`
|
|
369
|
+
`);for(let e of t){let t=e.trim();if(t.length>0&&t.includes(`|`)&&YD.test(t))return!0}return!1},QD=()=>e=>{He(e,`html`,(e,t,n)=>{!n||typeof t!=`number`||(n.children[t]={type:`text`,value:e.value})})},$D=[],eO={allowDangerousHtml:!0},tO=new WeakMap,nO=class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let n=e.rehypePlugins,r=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(n||r||i)){let t=`default`;return this.keyCache.set(e,t),t}let a=e=>{if(!e||e.length===0)return``;let t=``;for(let n=0;n<e.length;n+=1){let r=e[n];if(n>0&&(t+=`,`),Array.isArray(r)){let[e,n]=r;if(typeof e==`function`){let n=tO.get(e);n||(n=e.name,tO.set(e,n)),t+=n}else t+=String(e);t+=`:`,t+=JSON.stringify(n)}else if(typeof r==`function`){let e=tO.get(r);e||(e=r.name,tO.set(r,e)),t+=e}else t+=String(r)}return t},o=a(n),s=`${a(r)}::${o}::${i?JSON.stringify(i):``}`;return this.keyCache.set(e,s),s}get(e){let t=this.generateCacheKey(e),n=this.cache.get(t);return n&&(this.cache.delete(t),this.cache.set(t,n)),n}set(e,t){let n=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(n,t)}clear(){this.cache.clear()}},rO=new nO,iO=e=>{let t=aO(e),n=e.children||``;return fO(t.runSync(t.parse(n),n),e)},aO=e=>{let t=rO.get(e);if(t)return t;let n=sO(e);return rO.set(e,n),n},oO=e=>e.some(e=>Array.isArray(e)?e[0]===wc:e===wc),sO=e=>{let t=e.rehypePlugins||$D,n=e.remarkPlugins||$D,r=oO(t)?n:[...n,QD],i=e.remarkRehypeOptions?{...eO,...e.remarkRehypeOptions}:eO;return JC().use(Ox).use(r).use(ZS,i).use(t)},cO=e=>e,lO=(e,t,n,r)=>{n?e.children.splice(t,1):e.children[t]={type:`text`,value:r}},uO=(e,t)=>{for(let n in kb)if(Object.hasOwn(kb,n)&&Object.hasOwn(e.properties,n)){let r=e.properties[n],i=kb[n];(i===null||i.includes(e.tagName))&&(e.properties[n]=t(String(r||``),n,e)??void 0)}},dO=(e,t,n,r,i,a)=>{let o=!1;return r?o=!r.includes(e.tagName):i&&(o=i.includes(e.tagName)),!o&&a&&typeof t==`number`&&(o=!a(e,t,n)),o},fO=(e,t)=>{let{allowElement:n,allowedElements:r,disallowedElements:i,skipHtml:a,unwrapDisallowed:o,urlTransform:s}=t;if(n||r||i||a||s){let t=s||cO;He(e,(e,s,c)=>{if(e.type===`raw`&&c&&typeof s==`number`)return lO(c,s,a,e.value),s;if(e.type===`element`&&(uO(e,t),dO(e,s,c,r,i,n)&&c&&typeof s==`number`))return o&&e.children?c.children.splice(s,1,...e.children):c.children.splice(s,1),s})}return Qy(e,{Fragment:$.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0})},pO=/\[\^[\w-]{1,200}\](?!:)/,mO=/\[\^[\w-]{1,200}\]:/,hO=/<(\w+)[\s>]/,gO=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),_O=new Map,vO=new Map,yO=e=>{let t=e.toLowerCase(),n=_O.get(t);if(n)return n;let r=RegExp(`<${t}(?=[\\s>/])[^>]*>`,`gi`);return _O.set(t,r),r},bO=e=>{let t=e.toLowerCase(),n=vO.get(t);if(n)return n;let r=RegExp(`</${t}(?=[\\s>])[^>]*>`,`gi`);return vO.set(t,r),r},xO=(e,t)=>{if(gO.has(t.toLowerCase()))return 0;let n=e.match(yO(t));if(!n)return 0;let r=0;for(let e of n)e.trimEnd().endsWith(`/>`)||(r+=1);return r},SO=(e,t)=>{let n=e.match(bO(t));return n?n.length:0},CO=e=>{let t=0;for(let n=0;n<e.length-1;n+=1)e[n]===`$`&&e[n+1]===`$`&&(t+=1,n+=1);return t},wO=e=>{let t=pO.test(e),n=mO.test(e);if(t||n)return[e];let r=xT.lex(e,{gfm:!0}),i=[],a=[],o=!1;for(let e of r){let t=e.raw,n=i.length;if(a.length>0){i[n-1]+=t;let e=a.at(-1),r=xO(t,e),o=SO(t,e);for(let t=0;t<r;t+=1)a.push(e);for(let t=0;t<o;t+=1)a.length>0&&a.at(-1)===e&&a.pop();continue}if(e.type===`html`&&e.block){let e=t.match(hO);if(e){let n=e[1];xO(t,n)>SO(t,n)&&a.push(n)}}if(n>0&&!o){let e=i[n-1];if(CO(e)%2==1){i[n-1]=e+t;continue}}i.push(t),e.type!==`space`&&(o=e.type===`code`)}return i},TO=(e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,`gi`);n=n.replace(t,(e,t,n,r)=>{if(!n.includes(`
|
|
370
|
+
|
|
371
|
+
`))return t+n+r;let i=n.replace(/\n\n/g,`
|
|
372
|
+
<!---->
|
|
373
|
+
`);return`${t}${(i.startsWith(`
|
|
374
|
+
`)?``:`
|
|
375
|
+
`)+i+(i.endsWith(`
|
|
376
|
+
`)?``:`
|
|
377
|
+
`)}${r}
|
|
378
|
+
|
|
379
|
+
`})}return n},EO=/([\\`*_~[\]|])/g,DO=e=>e.replace(EO,`\\$1`),OO=(e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,`gi`);n=n.replace(t,(e,t,n,r)=>t+DO(n).replace(/\n\n/g,` `)+r)}return n},kO=e=>e.type===`text`?e.value:`children`in e&&Array.isArray(e.children)?e.children.map(kO).join(``):``,AO=e=>t=>{if(!e||e.length===0)return;let n=new Set(e.map(e=>e.toLowerCase()));He(t,`element`,e=>{if(n.has(e.tagName.toLowerCase())){let t=kO(e);e.children=t?[{type:`text`,value:t}]:[]}})},jO=()=>e=>{He(e,`code`,e=>{e.meta&&(e.data=e.data??{},e.data.hProperties={...e.data.hProperties??{},metastring:e.meta})})},MO=/^[ \t]*<[\w!/?-]/,NO=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,PO=e=>typeof e!=`string`||e.length===0||!MO.test(e)?e:e.replace(NO,`$1`),FO={...Oc,protocols:{...Oc.protocols,href:[...Oc.protocols?.href??[],`tel`]},attributes:{...Oc.attributes,code:[...Oc.attributes?.code??[],`metastring`]}},IO={raw:wc,sanitize:[Jc,FO],harden:[Ge,{allowedImagePrefixes:[`*`],allowedLinkPrefixes:[`*`],allowedProtocols:[`*`],defaultOrigin:void 0,allowDataImages:!0}]},LO={gfm:[hg,{}],codeMeta:jO},RO=Object.values(IO),zO=Object.values(LO),BO={block:` ▋`,circle:` ●`},VO=[`github-light`,`github-dark`],HO={enabled:!0},UO=(0,Q.createContext)({shikiTheme:VO,controls:!0,isAnimating:!1,lineNumbers:!0,mode:`streaming`,mermaid:void 0,linkSafety:HO}),WO=(0,Q.memo)(({content:e,shouldParseIncompleteMarkdown:t,shouldNormalizeHtmlIndentation:n,index:r,isIncomplete:i,dir:a,animatePlugin:o,...s})=>{if(o){let e=o.getLastRenderCharCount();o.setPrevContentLength(e)}let c=typeof e==`string`&&n?PO(e):e,l=(0,$.jsx)(iO,{...s,children:c});return(0,$.jsx)(tE.Provider,{value:i,children:a?(0,$.jsx)(`div`,{dir:a,style:{display:`contents`},children:l}):l})},(e,t)=>{if(e.content!==t.content||e.shouldNormalizeHtmlIndentation!==t.shouldNormalizeHtmlIndentation||e.index!==t.index||e.isIncomplete!==t.isIncomplete||e.dir!==t.dir)return!1;if(e.components!==t.components){let n=Object.keys(e.components||{}),r=Object.keys(t.components||{});if(n.length!==r.length||n.some(n=>e.components?.[n]!==t.components?.[n]))return!1}return!(e.rehypePlugins!==t.rehypePlugins||e.remarkPlugins!==t.remarkPlugins)}),WO.displayName=`Block`,GO=(0,Q.memo)(({children:e,mode:t=`streaming`,dir:n,parseIncompleteMarkdown:r=!0,normalizeHtmlIndentation:i=!1,components:a,rehypePlugins:o=RO,remarkPlugins:s=zO,className:c,shikiTheme:l=VO,mermaid:u,controls:d=!0,isAnimating:f=!1,animated:p,BlockComponent:m=WO,parseMarkdownIntoBlocksFn:h=wO,caret:g,plugins:_,remend:v,linkSafety:y=HO,lineNumbers:b=!0,allowedTags:x,literalTagContent:S,translations:C,icons:w,prefix:T,onAnimationStart:ee,onAnimationEnd:te,...E})=>{let ne=(0,Q.useId)(),[D,re]=(0,Q.useTransition)(),O=(0,Q.useMemo)(()=>aE(T),[T]),k=(0,Q.useRef)(null),ie=(0,Q.useRef)(ee),ae=(0,Q.useRef)(te);ie.current=ee,ae.current=te,(0,Q.useEffect)(()=>{var e,n,r;if(t===`static`)return;let i=k.current;if(k.current=f,i===null){f&&((e=ie.current)==null||e.call(ie));return}f&&!i?(n=ie.current)==null||n.call(ie):!f&&i&&((r=ae.current)==null||r.call(ae))},[f,t]);let A=(0,Q.useMemo)(()=>x?Object.keys(x):[],[x]),j=(0,Q.useMemo)(()=>{if(typeof e!=`string`)return``;let n=t===`streaming`&&r?X_(e,v):e;return S&&S.length>0&&(n=OO(n,S)),A.length>0&&(n=TO(n,A)),n},[e,t,r,v,A,S]),oe=(0,Q.useMemo)(()=>h(j),[j,h]),[se,ce]=(0,Q.useState)(oe);(0,Q.useEffect)(()=>{t===`streaming`&&!pe?re(()=>{ce(oe)}):ce(oe)},[oe,t]);let le=t===`streaming`?se:oe,ue=(0,Q.useMemo)(()=>n===`auto`?le.map(BT):void 0,[le,n]),de=(0,Q.useMemo)(()=>le.map((e,t)=>`${ne}-${t}`),[le.length,ne]),fe=(0,Q.useMemo)(()=>p===!0?`true`:p?JSON.stringify(p):``,[p]),pe=(0,Q.useMemo)(()=>fe?fe===`true`?LT():LT(p):null,[fe]),me=(0,Q.useMemo)(()=>({shikiTheme:(_?.code)?.getThemes()??l,controls:d,isAnimating:f,lineNumbers:b,mode:t,mermaid:u,linkSafety:y}),[l,d,f,b,t,u,y,_?.code]),he=(0,Q.useMemo)(()=>({...PE,...C}),[(0,Q.useMemo)(()=>C?JSON.stringify(C):``,[C])]),ge=(0,Q.useMemo)(()=>{let{inlineCode:e,...t}=a??{},n={...GD,...t};if(e){let t=n.code;n.code=n=>`data-block`in n?t?(0,Q.createElement)(t,n):null:(0,Q.createElement)(e,n)}return n},[a]),_e=(0,Q.useMemo)(()=>{let e=[];return _!=null&&_.cjk&&(e=[...e,..._.cjk.remarkPluginsBefore]),e=[...e,...s],_!=null&&_.cjk&&(e=[...e,..._.cjk.remarkPluginsAfter]),_!=null&&_.math&&(e=[...e,_.math.remarkPlugin]),e},[s,_?.math,_?.cjk]),ve=(0,Q.useMemo)(()=>{let e=o;if(x&&Object.keys(x).length>0&&o===RO){let t={...FO,tagNames:[...FO.tagNames??[],...Object.keys(x)],attributes:{...FO.attributes,...x}};e=[IO.raw,[Jc,t],IO.harden]}return S&&S.length>0&&(e=[...e,[AO,S]]),_!=null&&_.math&&(e=[...e,_.math.rehypePlugin]),pe&&f&&(e=[...e,pe.rehypePlugin]),e},[o,_?.math,pe,f,x,S]),M=(0,Q.useMemo)(()=>{if(!f||le.length===0)return!1;let e=le.at(-1);return XD(e)||ZD(e)},[f,le]),ye=(0,Q.useMemo)(()=>g&&f&&!M?{"--streamdown-caret":`"${BO[g]}"`}:void 0,[g,f,M]);return t===`static`?(0,$.jsx)(FE.Provider,{value:he,children:(0,$.jsx)(qE.Provider,{value:_??null,children:(0,$.jsx)(UO.Provider,{value:me,children:(0,$.jsx)(ME,{icons:w,children:(0,$.jsx)(sE.Provider,{value:O,children:(0,$.jsx)(`div`,{className:O(`space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0`,c),dir:n===`auto`?BT(j):n,children:(0,$.jsx)(iO,{components:ge,rehypePlugins:ve,remarkPlugins:_e,...E,children:j})})})})})})}):(0,$.jsx)(FE.Provider,{value:he,children:(0,$.jsx)(qE.Provider,{value:_??null,children:(0,$.jsx)(UO.Provider,{value:me,children:(0,$.jsx)(ME,{icons:w,children:(0,$.jsx)(sE.Provider,{value:O,children:(0,$.jsxs)(`div`,{className:O(`space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0`,g&&!M?`[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]`:null,c),style:ye,children:[le.length===0&&g&&f&&(0,$.jsx)(`span`,{}),le.map((e,t)=>{let a=t===le.length-1,o=f&&a&&XD(e);return(0,$.jsx)(m,{animatePlugin:pe,components:ge,content:e,dir:ue?.[t]??(n===`auto`?void 0:n),index:t,isIncomplete:o,rehypePlugins:ve,remarkPlugins:_e,shouldNormalizeHtmlIndentation:i,shouldParseIncompleteMarkdown:r,...E},de[t])})]})})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.animated===t.animated&&e.mode===t.mode&&e.plugins===t.plugins&&e.className===t.className&&e.linkSafety===t.linkSafety&&e.lineNumbers===t.lineNumbers&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir),GO.displayName=`Streamdown`,KO=({children:e,className:t,minZoom:n=.5,maxZoom:r=3,zoomStep:i=.1,showControls:a=!0,initialZoom:o=1,fullscreen:s=!1})=>{let{RotateCcwIcon:c,ZoomInIcon:l,ZoomOutIcon:u}=NE(),d=cE(),f=(0,Q.useRef)(null),p=(0,Q.useRef)(null),[m,h]=(0,Q.useState)(o),[g,_]=(0,Q.useState)({x:0,y:0}),[v,y]=(0,Q.useState)(!1),[b,x]=(0,Q.useState)({x:0,y:0}),[S,C]=(0,Q.useState)({x:0,y:0}),w=(0,Q.useCallback)(e=>{h(t=>Math.max(n,Math.min(r,t+e)))},[n,r]),T=(0,Q.useCallback)(()=>{w(i)},[w,i]),ee=(0,Q.useCallback)(()=>{w(-i)},[w,i]),te=(0,Q.useCallback)(()=>{h(o),_({x:0,y:0})},[o]),E=(0,Q.useCallback)(e=>{e.preventDefault(),w(e.deltaY>0?-i:i)},[w,i]),ne=(0,Q.useCallback)(e=>{if(e.button!==0||e.isPrimary===!1)return;y(!0),x({x:e.clientX,y:e.clientY}),C(g);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[g]),D=(0,Q.useCallback)(e=>{if(!v)return;e.preventDefault();let t=e.clientX-b.x,n=e.clientY-b.y;_({x:S.x+t,y:S.y+n})},[v,b,S]),re=(0,Q.useCallback)(e=>{y(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,Q.useEffect)(()=>{let e=f.current;if(e)return e.addEventListener(`wheel`,E,{passive:!1}),()=>{e.removeEventListener(`wheel`,E)}},[E]),(0,Q.useEffect)(()=>{let e=p.current;if(e&&v)return document.body.style.userSelect=`none`,e.addEventListener(`pointermove`,D,{passive:!1}),e.addEventListener(`pointerup`,re),e.addEventListener(`pointercancel`,re),()=>{document.body.style.userSelect=``,e.removeEventListener(`pointermove`,D),e.removeEventListener(`pointerup`,re),e.removeEventListener(`pointercancel`,re)}},[v,D,re]),(0,$.jsxs)(`div`,{className:d(`relative flex flex-col`,s?`h-full w-full`:`min-h-28 w-full`,t),ref:f,style:{cursor:v?`grabbing`:`grab`},children:[a?(0,$.jsxs)(`div`,{className:d(`absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm`,s?`bottom-4 left-4`:`bottom-2 left-2`),children:[(0,$.jsx)(`button`,{className:d(`flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`),disabled:m>=r,onClick:T,title:`Zoom in`,type:`button`,children:(0,$.jsx)(l,{size:16})}),(0,$.jsx)(`button`,{className:d(`flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50`),disabled:m<=n,onClick:ee,title:`Zoom out`,type:`button`,children:(0,$.jsx)(u,{size:16})}),(0,$.jsx)(`button`,{className:d(`flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground`),onClick:te,title:`Reset zoom and pan`,type:`button`,children:(0,$.jsx)(c,{size:16})})]}):null,(0,$.jsx)(`div`,{className:d(`flex-1 origin-center transition-transform duration-150 ease-out`,s?`flex h-full w-full items-center justify-center`:`flex w-full items-center justify-center`),onPointerDown:ne,ref:p,role:`application`,style:{transform:`translate(${g.x}px, ${g.y}px) scale(${m})`,transformOrigin:`center center`,touchAction:`none`,willChange:`transform`},children:e})]})},qO=({chart:e,className:t,config:n,fullscreen:r=!1,showControls:i=!0})=>{let a=cE(),[o,s]=(0,Q.useState)(null),[c,l]=(0,Q.useState)(!1),[u,d]=(0,Q.useState)(``),[f,p]=(0,Q.useState)(``),[m,h]=(0,Q.useState)(0),{mermaid:g}=(0,Q.useContext)(UO),_=XE(),v=g?.errorComponent,{shouldRender:y,containerRef:b}=IT({immediate:r});if((0,Q.useEffect)(()=>{if(y){if(!_){s(`Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.`);return}(async()=>{try{s(null),l(!0);let t=_.getMermaid(n),r=e.split(``).reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),i=`mermaid-${Math.abs(r)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:a}=await t.render(i,e);d(a),p(a)}catch(e){f||u||s(e instanceof Error?e.message:`Failed to render Mermaid chart`)}finally{l(!1)}})()}},[e,n,m,y,_]),!(y||u||f))return(0,$.jsx)(`div`,{className:a(`my-4 min-h-[200px]`,t),ref:b});if(c&&!u&&!f)return(0,$.jsx)(`div`,{className:a(`my-4 flex justify-center p-4`,t),ref:b,children:(0,$.jsxs)(`div`,{className:a(`flex items-center space-x-2 text-muted-foreground`),children:[(0,$.jsx)(`div`,{className:a(`h-4 w-4 animate-spin rounded-full border-current border-b-2`)}),(0,$.jsx)(`span`,{className:a(`text-sm`),children:`Loading diagram...`})]})});if(o&&!u&&!f)return v?(0,$.jsx)(`div`,{ref:b,children:(0,$.jsx)(v,{chart:e,error:o,retry:()=>h(e=>e+1)})}):(0,$.jsxs)(`div`,{className:a(`rounded-md bg-red-50 p-4`,t),ref:b,children:[(0,$.jsxs)(`p`,{className:a(`font-mono text-red-700 text-sm`),children:[`Mermaid Error: `,o]}),(0,$.jsxs)(`details`,{className:a(`mt-2`),children:[(0,$.jsx)(`summary`,{className:a(`cursor-pointer text-red-600 text-xs`),children:`Show Code`}),(0,$.jsx)(`pre`,{className:a(`mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs`),children:e})]})]});let x=u||f;return(0,$.jsx)(`div`,{className:a(`size-full`,t),"data-streamdown":`mermaid`,ref:b,children:(0,$.jsx)(KO,{className:a(r?`size-full overflow-hidden`:`overflow-hidden`,t),fullscreen:r,maxZoom:3,minZoom:.5,showControls:i,zoomStep:.1,children:(0,$.jsx)(`div`,{"aria-label":`Mermaid chart`,className:a(`flex justify-center`,r?`size-full items-center`:null),dangerouslySetInnerHTML:{__html:x},role:`img`})})})}}));JO();var YO=[`Show me recent critical alerts`,`Which hosts have high CPU usage?`,`Summarize last 24h of incidents`];function XO(){return(0,O.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,O.jsx)(`path`,{d:`M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z`})})}function ZO(){return(0,O.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,O.jsx)(`polyline`,{points:`6 9 12 15 18 9`})})}function QO(){return(0,O.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,O.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,O.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})}function $O(){return(0,O.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,O.jsx)(`path`,{d:`M12 3l1.9 5.8L20 10l-5.4 2.4L13 18l-2.4-5.6L5 10l5.7-1.4L12 3z`})})}function ek(){return(0,O.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,O.jsx)(`line`,{x1:`22`,y1:`2`,x2:`11`,y2:`13`}),(0,O.jsx)(`polygon`,{points:`22 2 15 22 11 13 2 9 22 2`})]})}function tk(){return(0,O.jsxs)(`svg`,{viewBox:`0 0 12 12`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,children:[(0,O.jsx)(`line`,{x1:`11`,y1:`1`,x2:`1`,y2:`11`}),(0,O.jsx)(`line`,{x1:`11`,y1:`5`,x2:`5`,y2:`11`}),(0,O.jsx)(`line`,{x1:`11`,y1:`9`,x2:`9`,y2:`11`})]})}function nk(){return(0,O.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,O.jsx)(`path`,{d:`M3 12a9 9 0 1 0 3-6.7L3 8`}),(0,O.jsx)(`polyline`,{points:`3 3 3 8 8 8`}),(0,O.jsx)(`polyline`,{points:`12 7 12 12 15 14`})]})}function rk(){return(0,O.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,O.jsx)(`line`,{x1:`12`,y1:`5`,x2:`12`,y2:`19`}),(0,O.jsx)(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})]})}function ik(e){if(!e)return``;let t=new Date(e).getTime();if(Number.isNaN(t))return``;let n=Math.max(0,Math.floor((Date.now()-t)/1e3));return n<60?`just now`:n<3600?`${Math.floor(n/60)}m ago`:n<86400?`${Math.floor(n/3600)}h ago`:n<86400*7?`${Math.floor(n/86400)}d ago`:new Date(e).toLocaleDateString()}var ak=340,ok=420,sk=400,ck=600;function lk({src:e,alt:t,...n}){let[r,i]=(0,w.useState)(!1);return!e||r?(0,O.jsxs)(`span`,{className:`nw-img-fallback`,role:`img`,"aria-label":t||`image`,children:[(0,O.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,O.jsx)(`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}),(0,O.jsx)(`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`}),(0,O.jsx)(`polyline`,{points:`21 15 16 10 5 21`})]}),(0,O.jsx)(`span`,{children:t||`Image unavailable`})]}):(0,O.jsx)(`img`,{src:e,alt:t||``,onError:()=>i(!0),...n})}var uk={table:e=>(0,O.jsx)(`table`,{...e}),thead:e=>(0,O.jsx)(`thead`,{...e}),tbody:e=>(0,O.jsx)(`tbody`,{...e}),tr:e=>(0,O.jsx)(`tr`,{...e}),th:e=>(0,O.jsx)(`th`,{...e}),td:e=>(0,O.jsx)(`td`,{...e}),pre:e=>(0,O.jsx)(`pre`,{...e}),code:e=>(0,O.jsx)(`code`,{...e}),img:lk};function dk({apiEndpoint:e,clientId:t,username:n}){let[r,i]=(0,w.useState)(!1),[a,o]=(0,w.useState)({w:sk,h:ck}),[s,c]=(0,w.useState)(!1),[l,u]=(0,w.useState)(!1),[d,f]=(0,w.useState)([]),[p,m]=(0,w.useState)(!1),[h,g]=(0,w.useState)(null),[_,v]=(0,w.useState)(null),[y,b]=(0,w.useState)(`chat`),[x,S]=(0,w.useState)(null),C=(0,w.useRef)(null),T=(0,w.useRef)(null),te=(0,w.useRef)(null),ne={"X-Netwatch-Client-Id":t,"X-Netwatch-Username":n},{messages:D,input:re,setInput:ie,handleInputChange:ae,handleSubmit:A,isLoading:j,pendingQuestion:oe,sendResume:se,startNewChat:ce,loadThread:ue,threadId:de}=ee({api:`${e}/chat/stream`,headers:ne}),fe=(0,w.useCallback)(()=>{de&&fetch(`${e}/chat/threads/${de}/close`,{method:`POST`,headers:ne}).catch(()=>{}),ce()},[de,e,ne,ce]),pe=E({apiEndpoint:e,headers:ne,enabled:r}),me=async()=>{m(!0),g(null);try{let t=await fetch(`${e}/chat/threads`,{headers:ne});if(!t.ok)throw Error(`HTTP ${t.status}`);f((await t.json()).items||[])}catch(e){g(e.message||`Failed to load history`)}finally{m(!1)}},he=()=>{u(!0),me()},ge=async t=>{v(t.id),g(null);try{let n=await fetch(`${e}/chat/threads/${t.id}`,{headers:ne});if(!n.ok)throw Error(`HTTP ${n.status}`);let r=await n.json();ue(t.id,r.messages||[]),u(!1)}catch(e){g(e.message||`Failed to load thread`)}finally{v(null)}},_e=()=>{fe(),u(!1)};(0,w.useEffect)(()=>{C.current&&(C.current.scrollTop=C.current.scrollHeight)},[D,j]),(0,w.useEffect)(()=>{r&&requestAnimationFrame(()=>T.current?.focus())},[r]),(0,w.useEffect)(()=>{if(!s)return;let e=e=>{let t=te.current;if(!t)return;let n=t.startX-e.clientX,r=t.startY-e.clientY,i=Math.max(ak,window.innerWidth-48),a=Math.max(ok,window.innerHeight-120);o({w:Math.min(i,Math.max(ak,t.startW+n)),h:Math.min(a,Math.max(ok,t.startH+r))})},t=()=>{c(!1),te.current=null};return document.addEventListener(`mousemove`,e),document.addEventListener(`mouseup`,t),()=>{document.removeEventListener(`mousemove`,e),document.removeEventListener(`mouseup`,t)}},[s]);let ve=e=>{e.button===0&&(e.preventDefault(),te.current={startX:e.clientX,startY:e.clientY,startW:a.w,startH:a.h},c(!0))},M=e=>{e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),A(e))},ye=e=>{ie(e),requestAnimationFrame(()=>{A({preventDefault:()=>{}},e)})},Se=D.length===0&&!j,N=D[D.length-1],Ce=j&&(!N||N.role!==`assistant`||!N.content);return(0,O.jsxs)(`div`,{className:`nw-root`,children:[r&&(0,O.jsxs)(`div`,{className:`nw-panel ${s?`resizing`:``}`,role:`dialog`,"aria-label":`Netwatch assistant`,style:{width:`${a.w}px`,height:`${a.h}px`},children:[(0,O.jsx)(`div`,{className:`nw-resize`,onMouseDown:ve,title:`Drag to resize`,"aria-label":`Resize`,children:(0,O.jsx)(tk,{})}),(0,O.jsxs)(`div`,{className:`nw-header`,children:[(0,O.jsx)(`div`,{className:`nw-avatar`,children:(0,O.jsx)($O,{})}),(0,O.jsxs)(`div`,{className:`nw-header-text`,children:[(0,O.jsx)(`div`,{className:`nw-header-title`,children:`Netwatch`}),(0,O.jsx)(`div`,{className:`nw-header-subtitle`,children:`AI Monitoring Assistant`})]}),y===`chat`&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`button`,{className:`nw-close`,onClick:_e,"aria-label":`New chat`,title:`New chat`,children:(0,O.jsx)(rk,{})}),(0,O.jsx)(`button`,{className:`nw-close`,onClick:l?()=>u(!1):he,"aria-label":`Chat history`,title:`Chat history`,children:(0,O.jsx)(nk,{})})]}),(0,O.jsx)(`button`,{className:`nw-close`,onClick:()=>i(!1),"aria-label":`Close`,children:(0,O.jsx)(QO,{})})]}),(0,O.jsxs)(`div`,{className:`nw-tabs`,role:`tablist`,children:[(0,O.jsx)(`button`,{className:`nw-tab ${y===`chat`?`is-active`:``}`,role:`tab`,"aria-selected":y===`chat`,onClick:()=>b(`chat`),children:`Chat`}),(0,O.jsxs)(`button`,{className:`nw-tab ${y===`incidents`?`is-active`:``}`,role:`tab`,"aria-selected":y===`incidents`,onClick:()=>{b(`incidents`),pe.markAllRead(),S(null)},children:[`Incidents`,pe.unreadCount>0&&(0,O.jsx)(`span`,{className:`nw-tab-badge`,children:pe.unreadCount})]})]}),l&&(0,O.jsxs)(`div`,{className:`nw-history`,role:`dialog`,"aria-label":`Conversation history`,children:[(0,O.jsxs)(`div`,{className:`nw-history-header`,children:[(0,O.jsx)(`div`,{className:`nw-history-title`,children:`Previous conversations`}),(0,O.jsxs)(`button`,{className:`nw-history-new`,onClick:_e,title:`Start a new chat`,children:[(0,O.jsx)(rk,{}),` New`]})]}),(0,O.jsxs)(`div`,{className:`nw-history-body`,children:[p&&(0,O.jsx)(`div`,{className:`nw-history-empty`,children:`Loading…`}),!p&&h&&(0,O.jsxs)(`div`,{className:`nw-history-empty`,children:[`⚠️ `,h]}),!p&&!h&&d.length===0&&(0,O.jsx)(`div`,{className:`nw-history-empty`,children:`No conversations yet.`}),!p&&!h&&d.map(e=>(0,O.jsxs)(`button`,{className:`nw-history-item`,onClick:()=>ge(e),disabled:_===e.id,children:[(0,O.jsx)(`div`,{className:`nw-history-item-title`,children:e.title||`Untitled conversation`}),(0,O.jsxs)(`div`,{className:`nw-history-item-meta`,children:[ik(e.updated_at),_===e.id&&` · loading…`]})]},e.id))]})]}),y===`chat`?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`div`,{className:`nw-messages`,ref:C,children:Se?(0,O.jsxs)(`div`,{className:`nw-empty`,children:[(0,O.jsx)(`div`,{className:`nw-empty-icon`,children:(0,O.jsx)($O,{})}),(0,O.jsx)(`div`,{className:`nw-empty-title`,children:`How can I help today?`}),(0,O.jsx)(`div`,{className:`nw-empty-subtitle`,children:`Ask about alerts, hosts, metrics, or incidents.`}),(0,O.jsx)(`div`,{className:`nw-suggestions`,children:YO.map(e=>(0,O.jsx)(`button`,{className:`nw-suggestion`,onClick:()=>ye(e),children:e},e))})]}):(0,O.jsxs)(O.Fragment,{children:[D.map((e,t)=>{if(e.role===`question`){let n=oe&&oe.id===e.question.id;return(0,O.jsx)(k,{question:e.question,onAnswer:se,disabled:!n},t)}let n=e.role===`assistant`,r=n&&t===D.length-1&&j;return(0,O.jsx)(`div`,{className:`nw-msg ${e.role}`,children:(0,O.jsxs)(`div`,{className:`nw-msg-stack`,children:[n&&(e.thinking?.length>0||e.reasoning)&&(0,O.jsx)(le,{entries:e.thinking,reasoning:e.reasoning,defaultOpen:r,busy:r}),(e.content||!n)&&(0,O.jsx)(`div`,{className:`nw-bubble`,children:n?(0,O.jsx)(GO,{components:uk,children:e.content||``}):e.content})]})},t)}),Ce&&(0,O.jsx)(`div`,{className:`nw-msg assistant`,children:(0,O.jsx)(`div`,{className:`nw-bubble`,style:{padding:0},children:(0,O.jsxs)(`div`,{className:`nw-typing`,children:[(0,O.jsx)(`span`,{}),(0,O.jsx)(`span`,{}),(0,O.jsx)(`span`,{})]})})})]})}),(0,O.jsxs)(`form`,{className:`nw-input-wrap`,onSubmit:A,children:[(0,O.jsxs)(`div`,{className:`nw-input-row`,children:[(0,O.jsx)(`textarea`,{ref:T,className:`nw-input`,value:re,onChange:ae,onKeyDown:M,placeholder:oe?`Answer the question above…`:`Ask anything…`,rows:1,disabled:j||!!oe}),(0,O.jsx)(`button`,{type:`submit`,className:`nw-send`,disabled:j||!!oe||!re.trim(),"aria-label":`Send message`,children:(0,O.jsx)(ek,{})})]}),(0,O.jsx)(`div`,{className:`nw-footer`,children:`Powered by Netwatch AI`})]})]}):x?(0,O.jsx)(xe,{apiEndpoint:e,authHeaders:ne,incidentId:x,getDetail:pe.getDetail,onBack:()=>S(null),onReinvestigated:pe.refresh,onOpenInChat:async t=>{try{let n=await fetch(`${e}/chat/threads/from-incident`,{method:`POST`,headers:{...ne,"Content-Type":`application/json`},body:JSON.stringify({incident_id:t.id})});if(!n.ok)throw Error(`Server ${n.status}`);let r=await n.json();ue(r.id,r.messages||[]),b(`chat`),S(null),pe.refresh?.()}catch(e){console.error(`Ask in chat failed:`,e)}}}):(0,O.jsx)(be,{incidents:pe.incidents,loading:pe.loading,error:pe.error,onRefresh:pe.refresh,onSelect:e=>S(e.id)})]}),(0,O.jsx)(`button`,{className:`nw-toggle ${r?`is-open`:``}`,onClick:()=>i(!r),"aria-label":r?`Close chat`:`Open chat`,children:r?(0,O.jsx)(ZO,{}):(0,O.jsx)(XO,{})})]})}var fk=`
|
|
380
|
+
:host {
|
|
381
|
+
all: initial;
|
|
382
|
+
--nw-primary: #6366f1;
|
|
383
|
+
--nw-primary-dark: #4f46e5;
|
|
384
|
+
--nw-primary-darker: #4338ca;
|
|
385
|
+
--nw-accent: #8b5cf6;
|
|
386
|
+
--nw-bg: #ffffff;
|
|
387
|
+
--nw-bg-subtle: #f9fafb;
|
|
388
|
+
--nw-bg-message: #f3f4f6;
|
|
389
|
+
--nw-border: #e5e7eb;
|
|
390
|
+
--nw-text: #111827;
|
|
391
|
+
--nw-text-secondary: #6b7280;
|
|
392
|
+
--nw-text-tertiary: #9ca3af;
|
|
393
|
+
--nw-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.18), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
|
|
394
|
+
--nw-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 4px 10px -3px rgba(0, 0, 0, 0.06);
|
|
395
|
+
--nw-radius: 16px;
|
|
396
|
+
--nw-radius-sm: 10px;
|
|
397
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
398
|
+
font-size: 14px;
|
|
399
|
+
line-height: 1.5;
|
|
400
|
+
color: var(--nw-text);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
*, *::before, *::after {
|
|
404
|
+
box-sizing: border-box;
|
|
405
|
+
margin: 0;
|
|
406
|
+
padding: 0;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.nw-root {
|
|
410
|
+
position: fixed;
|
|
411
|
+
bottom: 24px;
|
|
412
|
+
right: 24px;
|
|
413
|
+
z-index: 2147483647;
|
|
414
|
+
color: var(--nw-text);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* Toggle button */
|
|
418
|
+
.nw-toggle {
|
|
419
|
+
width: 60px;
|
|
420
|
+
height: 60px;
|
|
421
|
+
border-radius: 50%;
|
|
422
|
+
border: none;
|
|
423
|
+
cursor: pointer;
|
|
424
|
+
background: linear-gradient(135deg, var(--nw-primary) 0%, var(--nw-accent) 100%);
|
|
425
|
+
box-shadow: var(--nw-shadow-md), 0 0 0 0 rgba(99, 102, 241, 0.4);
|
|
426
|
+
color: #fff;
|
|
427
|
+
display: flex;
|
|
428
|
+
align-items: center;
|
|
429
|
+
justify-content: center;
|
|
430
|
+
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
431
|
+
position: relative;
|
|
432
|
+
}
|
|
433
|
+
.nw-toggle:hover {
|
|
434
|
+
transform: translateY(-2px) scale(1.04);
|
|
435
|
+
box-shadow: var(--nw-shadow-lg), 0 0 0 8px rgba(99, 102, 241, 0.12);
|
|
436
|
+
}
|
|
437
|
+
.nw-toggle:active {
|
|
438
|
+
transform: translateY(0) scale(0.98);
|
|
439
|
+
}
|
|
440
|
+
.nw-toggle svg {
|
|
441
|
+
width: 26px;
|
|
442
|
+
height: 26px;
|
|
443
|
+
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
444
|
+
}
|
|
445
|
+
.nw-toggle.is-open svg {
|
|
446
|
+
transform: rotate(180deg);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Pulse ring */
|
|
450
|
+
.nw-toggle::after {
|
|
451
|
+
content: "";
|
|
452
|
+
position: absolute;
|
|
453
|
+
inset: -4px;
|
|
454
|
+
border-radius: 50%;
|
|
455
|
+
border: 2px solid rgba(99, 102, 241, 0.3);
|
|
456
|
+
opacity: 0;
|
|
457
|
+
animation: nw-pulse 2.2s ease-out infinite;
|
|
458
|
+
pointer-events: none;
|
|
459
|
+
}
|
|
460
|
+
@keyframes nw-pulse {
|
|
461
|
+
0% { transform: scale(0.9); opacity: 0.8; }
|
|
462
|
+
100% { transform: scale(1.4); opacity: 0; }
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/* Chat panel */
|
|
466
|
+
.nw-panel {
|
|
467
|
+
position: absolute;
|
|
468
|
+
bottom: 76px;
|
|
469
|
+
right: 0;
|
|
470
|
+
background: var(--nw-bg);
|
|
471
|
+
border-radius: var(--nw-radius);
|
|
472
|
+
box-shadow: var(--nw-shadow-lg);
|
|
473
|
+
display: flex;
|
|
474
|
+
flex-direction: column;
|
|
475
|
+
overflow: hidden;
|
|
476
|
+
transform-origin: bottom right;
|
|
477
|
+
animation: nw-panel-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
|
|
478
|
+
}
|
|
479
|
+
.nw-panel.resizing {
|
|
480
|
+
animation: none;
|
|
481
|
+
user-select: none;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/* Resize handle (top-left corner since panel is anchored bottom-right) */
|
|
485
|
+
.nw-resize {
|
|
486
|
+
position: absolute;
|
|
487
|
+
top: 0;
|
|
488
|
+
left: 0;
|
|
489
|
+
width: 18px;
|
|
490
|
+
height: 18px;
|
|
491
|
+
cursor: nwse-resize;
|
|
492
|
+
z-index: 10;
|
|
493
|
+
display: flex;
|
|
494
|
+
align-items: center;
|
|
495
|
+
justify-content: center;
|
|
496
|
+
color: rgba(255, 255, 255, 0.7);
|
|
497
|
+
transition: color 0.15s ease;
|
|
498
|
+
}
|
|
499
|
+
.nw-resize:hover { color: rgba(255, 255, 255, 1); }
|
|
500
|
+
.nw-resize svg { width: 12px; height: 12px; }
|
|
501
|
+
@keyframes nw-panel-in {
|
|
502
|
+
from { opacity: 0; transform: translateY(12px) scale(0.96); }
|
|
503
|
+
to { opacity: 1; transform: translateY(0) scale(1); }
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/* Header */
|
|
507
|
+
.nw-header {
|
|
508
|
+
padding: 18px 20px;
|
|
509
|
+
background: linear-gradient(135deg, var(--nw-primary) 0%, var(--nw-accent) 100%);
|
|
510
|
+
color: #fff;
|
|
511
|
+
display: flex;
|
|
512
|
+
align-items: center;
|
|
513
|
+
gap: 12px;
|
|
514
|
+
flex-shrink: 0;
|
|
515
|
+
}
|
|
516
|
+
.nw-avatar {
|
|
517
|
+
width: 40px;
|
|
518
|
+
height: 40px;
|
|
519
|
+
border-radius: 50%;
|
|
520
|
+
background: rgba(255, 255, 255, 0.2);
|
|
521
|
+
backdrop-filter: blur(8px);
|
|
522
|
+
display: flex;
|
|
523
|
+
align-items: center;
|
|
524
|
+
justify-content: center;
|
|
525
|
+
flex-shrink: 0;
|
|
526
|
+
position: relative;
|
|
527
|
+
}
|
|
528
|
+
.nw-avatar svg { width: 22px; height: 22px; color: #fff; }
|
|
529
|
+
.nw-avatar::after {
|
|
530
|
+
content: "";
|
|
531
|
+
position: absolute;
|
|
532
|
+
bottom: 0;
|
|
533
|
+
right: 0;
|
|
534
|
+
width: 11px;
|
|
535
|
+
height: 11px;
|
|
536
|
+
background: #34d399;
|
|
537
|
+
border: 2px solid #fff;
|
|
538
|
+
border-radius: 50%;
|
|
539
|
+
}
|
|
540
|
+
.nw-header-text { flex: 1; min-width: 0; }
|
|
541
|
+
.nw-header-title {
|
|
542
|
+
font-size: 15px;
|
|
543
|
+
font-weight: 600;
|
|
544
|
+
line-height: 1.2;
|
|
545
|
+
letter-spacing: -0.01em;
|
|
546
|
+
}
|
|
547
|
+
.nw-header-subtitle {
|
|
548
|
+
font-size: 12px;
|
|
549
|
+
opacity: 0.85;
|
|
550
|
+
margin-top: 2px;
|
|
551
|
+
}
|
|
552
|
+
.nw-close {
|
|
553
|
+
background: rgba(255, 255, 255, 0.15);
|
|
554
|
+
border: none;
|
|
555
|
+
cursor: pointer;
|
|
556
|
+
color: #fff;
|
|
557
|
+
width: 32px;
|
|
558
|
+
height: 32px;
|
|
559
|
+
border-radius: 8px;
|
|
560
|
+
display: flex;
|
|
561
|
+
align-items: center;
|
|
562
|
+
justify-content: center;
|
|
563
|
+
transition: background 0.15s ease;
|
|
564
|
+
}
|
|
565
|
+
.nw-close:hover { background: rgba(255, 255, 255, 0.28); }
|
|
566
|
+
.nw-close svg { width: 16px; height: 16px; }
|
|
567
|
+
|
|
568
|
+
/* History drawer (overlays the messages region) */
|
|
569
|
+
.nw-history {
|
|
570
|
+
position: absolute;
|
|
571
|
+
top: 76px;
|
|
572
|
+
left: 0;
|
|
573
|
+
right: 0;
|
|
574
|
+
bottom: 0;
|
|
575
|
+
background: var(--nw-bg);
|
|
576
|
+
display: flex;
|
|
577
|
+
flex-direction: column;
|
|
578
|
+
z-index: 5;
|
|
579
|
+
animation: nw-history-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
|
580
|
+
}
|
|
581
|
+
@keyframes nw-history-in {
|
|
582
|
+
from { opacity: 0; transform: translateY(-4px); }
|
|
583
|
+
to { opacity: 1; transform: translateY(0); }
|
|
584
|
+
}
|
|
585
|
+
.nw-history-header {
|
|
586
|
+
display: flex;
|
|
587
|
+
align-items: center;
|
|
588
|
+
justify-content: space-between;
|
|
589
|
+
padding: 14px 16px;
|
|
590
|
+
border-bottom: 1px solid var(--nw-border);
|
|
591
|
+
background: var(--nw-bg-subtle);
|
|
592
|
+
flex-shrink: 0;
|
|
593
|
+
}
|
|
594
|
+
.nw-history-title {
|
|
595
|
+
font-size: 13px;
|
|
596
|
+
font-weight: 600;
|
|
597
|
+
color: var(--nw-text);
|
|
598
|
+
letter-spacing: -0.005em;
|
|
599
|
+
}
|
|
600
|
+
.nw-history-new {
|
|
601
|
+
display: inline-flex;
|
|
602
|
+
align-items: center;
|
|
603
|
+
gap: 4px;
|
|
604
|
+
background: var(--nw-bg);
|
|
605
|
+
border: 1px solid var(--nw-border);
|
|
606
|
+
border-radius: 8px;
|
|
607
|
+
padding: 5px 10px;
|
|
608
|
+
font-family: inherit;
|
|
609
|
+
font-size: 12.5px;
|
|
610
|
+
color: var(--nw-text);
|
|
611
|
+
cursor: pointer;
|
|
612
|
+
transition: all 0.15s ease;
|
|
613
|
+
}
|
|
614
|
+
.nw-history-new:hover {
|
|
615
|
+
border-color: var(--nw-primary);
|
|
616
|
+
color: var(--nw-primary);
|
|
617
|
+
}
|
|
618
|
+
.nw-history-new svg { width: 12px; height: 12px; }
|
|
619
|
+
.nw-history-body {
|
|
620
|
+
flex: 1;
|
|
621
|
+
overflow-y: auto;
|
|
622
|
+
padding: 8px;
|
|
623
|
+
display: flex;
|
|
624
|
+
flex-direction: column;
|
|
625
|
+
gap: 4px;
|
|
626
|
+
}
|
|
627
|
+
.nw-history-body::-webkit-scrollbar { width: 6px; }
|
|
628
|
+
.nw-history-body::-webkit-scrollbar-thumb {
|
|
629
|
+
background: rgba(0, 0, 0, 0.12);
|
|
630
|
+
border-radius: 3px;
|
|
631
|
+
}
|
|
632
|
+
.nw-history-empty {
|
|
633
|
+
text-align: center;
|
|
634
|
+
padding: 32px 16px;
|
|
635
|
+
color: var(--nw-text-secondary);
|
|
636
|
+
font-size: 13px;
|
|
637
|
+
}
|
|
638
|
+
.nw-history-item {
|
|
639
|
+
text-align: left;
|
|
640
|
+
background: transparent;
|
|
641
|
+
border: 1px solid transparent;
|
|
642
|
+
border-radius: 10px;
|
|
643
|
+
padding: 10px 12px;
|
|
644
|
+
font-family: inherit;
|
|
645
|
+
cursor: pointer;
|
|
646
|
+
transition: all 0.12s ease;
|
|
647
|
+
display: flex;
|
|
648
|
+
flex-direction: column;
|
|
649
|
+
gap: 2px;
|
|
650
|
+
}
|
|
651
|
+
.nw-history-item:hover:not(:disabled) {
|
|
652
|
+
background: var(--nw-bg-subtle);
|
|
653
|
+
border-color: var(--nw-border);
|
|
654
|
+
}
|
|
655
|
+
.nw-history-item:disabled { opacity: 0.6; cursor: wait; }
|
|
656
|
+
.nw-history-item-title {
|
|
657
|
+
font-size: 13.5px;
|
|
658
|
+
color: var(--nw-text);
|
|
659
|
+
font-weight: 500;
|
|
660
|
+
line-height: 1.35;
|
|
661
|
+
overflow: hidden;
|
|
662
|
+
text-overflow: ellipsis;
|
|
663
|
+
display: -webkit-box;
|
|
664
|
+
-webkit-line-clamp: 2;
|
|
665
|
+
-webkit-box-orient: vertical;
|
|
666
|
+
}
|
|
667
|
+
.nw-history-item-meta {
|
|
668
|
+
font-size: 11.5px;
|
|
669
|
+
color: var(--nw-text-tertiary);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/* Tab bar (Chat | Incidents) */
|
|
673
|
+
.nw-tabs {
|
|
674
|
+
display: flex;
|
|
675
|
+
background: var(--nw-bg);
|
|
676
|
+
border-bottom: 1px solid var(--nw-border);
|
|
677
|
+
flex-shrink: 0;
|
|
678
|
+
}
|
|
679
|
+
.nw-tab {
|
|
680
|
+
flex: 1;
|
|
681
|
+
background: transparent;
|
|
682
|
+
border: none;
|
|
683
|
+
border-bottom: 2px solid transparent;
|
|
684
|
+
padding: 10px 12px;
|
|
685
|
+
font-family: inherit;
|
|
686
|
+
font-size: 13px;
|
|
687
|
+
font-weight: 500;
|
|
688
|
+
color: var(--nw-text-secondary);
|
|
689
|
+
cursor: pointer;
|
|
690
|
+
transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
|
|
691
|
+
position: relative;
|
|
692
|
+
}
|
|
693
|
+
.nw-tab:hover {
|
|
694
|
+
color: var(--nw-text);
|
|
695
|
+
background: var(--nw-bg-subtle);
|
|
696
|
+
}
|
|
697
|
+
.nw-tab.is-active {
|
|
698
|
+
color: var(--nw-primary-dark);
|
|
699
|
+
border-bottom-color: var(--nw-primary);
|
|
700
|
+
}
|
|
701
|
+
.nw-tab-badge {
|
|
702
|
+
display: inline-block;
|
|
703
|
+
margin-left: 6px;
|
|
704
|
+
min-width: 18px;
|
|
705
|
+
height: 18px;
|
|
706
|
+
padding: 0 5px;
|
|
707
|
+
border-radius: 9px;
|
|
708
|
+
background: var(--nw-primary);
|
|
709
|
+
color: #fff;
|
|
710
|
+
font-size: 11px;
|
|
711
|
+
font-weight: 600;
|
|
712
|
+
line-height: 18px;
|
|
713
|
+
vertical-align: middle;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/* Incidents panel */
|
|
717
|
+
.nw-incidents {
|
|
718
|
+
flex: 1;
|
|
719
|
+
display: flex;
|
|
720
|
+
flex-direction: column;
|
|
721
|
+
background: var(--nw-bg);
|
|
722
|
+
overflow: hidden;
|
|
723
|
+
min-height: 0;
|
|
724
|
+
}
|
|
725
|
+
.nw-incidents-header {
|
|
726
|
+
display: flex;
|
|
727
|
+
align-items: center;
|
|
728
|
+
gap: 8px;
|
|
729
|
+
padding: 12px 14px;
|
|
730
|
+
border-bottom: 1px solid var(--nw-border);
|
|
731
|
+
background: var(--nw-bg-subtle);
|
|
732
|
+
flex-shrink: 0;
|
|
733
|
+
}
|
|
734
|
+
.nw-incidents-title {
|
|
735
|
+
font-size: 13px;
|
|
736
|
+
font-weight: 600;
|
|
737
|
+
color: var(--nw-text);
|
|
738
|
+
flex: 1;
|
|
739
|
+
min-width: 0;
|
|
740
|
+
overflow: hidden;
|
|
741
|
+
text-overflow: ellipsis;
|
|
742
|
+
white-space: nowrap;
|
|
743
|
+
}
|
|
744
|
+
.nw-incidents-count {
|
|
745
|
+
color: var(--nw-text-tertiary);
|
|
746
|
+
font-weight: 500;
|
|
747
|
+
}
|
|
748
|
+
.nw-incidents-refresh {
|
|
749
|
+
width: 28px;
|
|
750
|
+
height: 28px;
|
|
751
|
+
border-radius: 6px;
|
|
752
|
+
border: 1px solid var(--nw-border);
|
|
753
|
+
background: var(--nw-bg);
|
|
754
|
+
color: var(--nw-text-secondary);
|
|
755
|
+
font-size: 14px;
|
|
756
|
+
cursor: pointer;
|
|
757
|
+
font-family: inherit;
|
|
758
|
+
}
|
|
759
|
+
.nw-incidents-refresh:hover:not(:disabled) {
|
|
760
|
+
border-color: var(--nw-primary);
|
|
761
|
+
color: var(--nw-primary);
|
|
762
|
+
}
|
|
763
|
+
.nw-incidents-refresh:disabled { opacity: 0.5; cursor: wait; }
|
|
764
|
+
.nw-incidents-back {
|
|
765
|
+
width: 28px;
|
|
766
|
+
height: 28px;
|
|
767
|
+
border-radius: 6px;
|
|
768
|
+
border: 1px solid var(--nw-border);
|
|
769
|
+
background: var(--nw-bg);
|
|
770
|
+
color: var(--nw-text-secondary);
|
|
771
|
+
font-size: 18px;
|
|
772
|
+
line-height: 1;
|
|
773
|
+
cursor: pointer;
|
|
774
|
+
font-family: inherit;
|
|
775
|
+
}
|
|
776
|
+
.nw-incidents-back:hover {
|
|
777
|
+
border-color: var(--nw-primary);
|
|
778
|
+
color: var(--nw-primary);
|
|
779
|
+
}
|
|
780
|
+
.nw-incidents-body {
|
|
781
|
+
flex: 1;
|
|
782
|
+
overflow-y: auto;
|
|
783
|
+
padding: 6px;
|
|
784
|
+
display: flex;
|
|
785
|
+
flex-direction: column;
|
|
786
|
+
gap: 4px;
|
|
787
|
+
}
|
|
788
|
+
.nw-incidents-empty {
|
|
789
|
+
text-align: center;
|
|
790
|
+
padding: 32px 14px;
|
|
791
|
+
color: var(--nw-text-secondary);
|
|
792
|
+
font-size: 13px;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/* Date-grouped collapsible sections */
|
|
796
|
+
.nw-incidents-group {
|
|
797
|
+
display: flex;
|
|
798
|
+
flex-direction: column;
|
|
799
|
+
gap: 4px;
|
|
800
|
+
}
|
|
801
|
+
.nw-incidents-group-head {
|
|
802
|
+
display: flex;
|
|
803
|
+
align-items: center;
|
|
804
|
+
gap: 8px;
|
|
805
|
+
padding: 8px 10px;
|
|
806
|
+
background: transparent;
|
|
807
|
+
border: none;
|
|
808
|
+
border-radius: 8px;
|
|
809
|
+
cursor: pointer;
|
|
810
|
+
font-family: inherit;
|
|
811
|
+
font-size: 12.5px;
|
|
812
|
+
color: var(--nw-text-secondary, #6b7280);
|
|
813
|
+
text-align: left;
|
|
814
|
+
transition: background 0.1s;
|
|
815
|
+
margin-top: 6px;
|
|
816
|
+
}
|
|
817
|
+
.nw-incidents-group-head:hover {
|
|
818
|
+
background: var(--nw-bg-subtle, rgba(0,0,0,0.04));
|
|
819
|
+
color: var(--nw-text, #1f2937);
|
|
820
|
+
}
|
|
821
|
+
.nw-incidents-group-chevron {
|
|
822
|
+
display: inline-block;
|
|
823
|
+
transition: transform 0.15s ease;
|
|
824
|
+
transform: rotate(0deg);
|
|
825
|
+
font-size: 10px;
|
|
826
|
+
opacity: 0.7;
|
|
827
|
+
}
|
|
828
|
+
.nw-incidents-group-chevron.is-open {
|
|
829
|
+
transform: rotate(90deg);
|
|
830
|
+
}
|
|
831
|
+
.nw-incidents-group-label {
|
|
832
|
+
font-weight: 600;
|
|
833
|
+
letter-spacing: 0.01em;
|
|
834
|
+
}
|
|
835
|
+
.nw-incidents-group-count {
|
|
836
|
+
margin-left: auto;
|
|
837
|
+
background: var(--nw-bg-subtle, #eef0f3);
|
|
838
|
+
color: var(--nw-text-secondary, #6b7280);
|
|
839
|
+
border-radius: 999px;
|
|
840
|
+
padding: 1px 8px;
|
|
841
|
+
font-size: 11px;
|
|
842
|
+
font-weight: 600;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/* Importance pill (sortable signal on each row) */
|
|
846
|
+
.nw-importance-pill {
|
|
847
|
+
display: inline-flex;
|
|
848
|
+
align-items: center;
|
|
849
|
+
justify-content: center;
|
|
850
|
+
min-width: 22px;
|
|
851
|
+
height: 22px;
|
|
852
|
+
border-radius: 6px;
|
|
853
|
+
color: #fff;
|
|
854
|
+
font-size: 12px;
|
|
855
|
+
font-weight: 700;
|
|
856
|
+
padding: 0 6px;
|
|
857
|
+
box-shadow: 0 1px 1px rgba(0,0,0,0.08);
|
|
858
|
+
}
|
|
859
|
+
.nw-importance-pill.is-user {
|
|
860
|
+
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.45); /* user-set ring */
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/* Incident list row */
|
|
864
|
+
.nw-incident-row {
|
|
865
|
+
text-align: left;
|
|
866
|
+
background: transparent;
|
|
867
|
+
border: 1px solid transparent;
|
|
868
|
+
border-radius: 10px;
|
|
869
|
+
padding: 10px 12px;
|
|
870
|
+
font-family: inherit;
|
|
871
|
+
cursor: pointer;
|
|
872
|
+
transition: background 0.12s ease, border-color 0.12s ease;
|
|
873
|
+
display: flex;
|
|
874
|
+
flex-direction: column;
|
|
875
|
+
gap: 4px;
|
|
876
|
+
}
|
|
877
|
+
.nw-incident-row:hover {
|
|
878
|
+
background: var(--nw-bg-subtle);
|
|
879
|
+
border-color: var(--nw-border);
|
|
880
|
+
}
|
|
881
|
+
.nw-incident-row-top {
|
|
882
|
+
display: flex;
|
|
883
|
+
align-items: center;
|
|
884
|
+
gap: 8px;
|
|
885
|
+
}
|
|
886
|
+
.nw-sev-dot {
|
|
887
|
+
width: 9px;
|
|
888
|
+
height: 9px;
|
|
889
|
+
border-radius: 50%;
|
|
890
|
+
flex-shrink: 0;
|
|
891
|
+
}
|
|
892
|
+
.nw-sev-0 { background: #9ca3af; } /* Not classified */
|
|
893
|
+
.nw-sev-1 { background: #60a5fa; } /* Information */
|
|
894
|
+
.nw-sev-2 { background: #fbbf24; } /* Warning */
|
|
895
|
+
.nw-sev-3 { background: #fb923c; } /* Average */
|
|
896
|
+
.nw-sev-4 { background: #f87171; } /* High */
|
|
897
|
+
.nw-sev-5 { background: #dc2626; box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18); } /* Disaster */
|
|
898
|
+
.nw-incident-host {
|
|
899
|
+
font-size: 13px;
|
|
900
|
+
font-weight: 600;
|
|
901
|
+
color: var(--nw-text);
|
|
902
|
+
flex: 1;
|
|
903
|
+
min-width: 0;
|
|
904
|
+
overflow: hidden;
|
|
905
|
+
text-overflow: ellipsis;
|
|
906
|
+
white-space: nowrap;
|
|
907
|
+
}
|
|
908
|
+
.nw-status {
|
|
909
|
+
font-size: 10.5px;
|
|
910
|
+
text-transform: uppercase;
|
|
911
|
+
letter-spacing: 0.04em;
|
|
912
|
+
padding: 2px 6px;
|
|
913
|
+
border-radius: 4px;
|
|
914
|
+
font-weight: 600;
|
|
915
|
+
}
|
|
916
|
+
.nw-status-pending { background: #f3f4f6; color: #6b7280; }
|
|
917
|
+
.nw-status-investigating { background: #dbeafe; color: #1d4ed8; }
|
|
918
|
+
.nw-status-investigated { background: #dcfce7; color: #15803d; }
|
|
919
|
+
.nw-status-failed { background: #fee2e2; color: #b91c1c; }
|
|
920
|
+
.nw-incident-name {
|
|
921
|
+
font-size: 13px;
|
|
922
|
+
color: var(--nw-text);
|
|
923
|
+
line-height: 1.4;
|
|
924
|
+
overflow: hidden;
|
|
925
|
+
text-overflow: ellipsis;
|
|
926
|
+
display: -webkit-box;
|
|
927
|
+
-webkit-line-clamp: 2;
|
|
928
|
+
-webkit-box-orient: vertical;
|
|
929
|
+
}
|
|
930
|
+
.nw-incident-meta {
|
|
931
|
+
display: flex;
|
|
932
|
+
flex-wrap: wrap;
|
|
933
|
+
gap: 6px;
|
|
934
|
+
font-size: 11.5px;
|
|
935
|
+
color: var(--nw-text-tertiary);
|
|
936
|
+
}
|
|
937
|
+
.nw-strategy {
|
|
938
|
+
background: rgba(99, 102, 241, 0.08);
|
|
939
|
+
color: var(--nw-primary-dark);
|
|
940
|
+
border-radius: 4px;
|
|
941
|
+
padding: 1px 6px;
|
|
942
|
+
font-weight: 500;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/* Incident detail */
|
|
946
|
+
.nw-detail-title {
|
|
947
|
+
font-size: 13px;
|
|
948
|
+
}
|
|
949
|
+
.nw-detail-body {
|
|
950
|
+
flex: 1;
|
|
951
|
+
overflow-y: auto;
|
|
952
|
+
padding: 14px;
|
|
953
|
+
display: flex;
|
|
954
|
+
flex-direction: column;
|
|
955
|
+
gap: 14px;
|
|
956
|
+
}
|
|
957
|
+
.nw-detail-summary {
|
|
958
|
+
display: flex;
|
|
959
|
+
align-items: center;
|
|
960
|
+
gap: 8px;
|
|
961
|
+
}
|
|
962
|
+
.nw-detail-spacer { flex: 1; }
|
|
963
|
+
.nw-detail-meta {
|
|
964
|
+
font-size: 12px;
|
|
965
|
+
color: var(--nw-text-secondary);
|
|
966
|
+
display: flex;
|
|
967
|
+
flex-direction: column;
|
|
968
|
+
gap: 2px;
|
|
969
|
+
}
|
|
970
|
+
.nw-detail-meta b {
|
|
971
|
+
color: var(--nw-text);
|
|
972
|
+
font-weight: 600;
|
|
973
|
+
}
|
|
974
|
+
.nw-detail-meta-hint {
|
|
975
|
+
color: var(--nw-text-tertiary);
|
|
976
|
+
font-size: 11px;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/* Investigation log panel — drops below the header when "Logs" toggled */
|
|
980
|
+
.nw-log-panel {
|
|
981
|
+
background: #111827;
|
|
982
|
+
color: #e5e7eb;
|
|
983
|
+
font-family: ui-monospace, "SF Mono", Menlo, monospace;
|
|
984
|
+
font-size: 11.5px;
|
|
985
|
+
line-height: 1.45;
|
|
986
|
+
padding: 8px 10px;
|
|
987
|
+
max-height: 280px;
|
|
988
|
+
overflow-y: auto;
|
|
989
|
+
border-bottom: 1px solid var(--nw-border);
|
|
990
|
+
flex-shrink: 0;
|
|
991
|
+
}
|
|
992
|
+
.nw-log-empty {
|
|
993
|
+
text-align: center;
|
|
994
|
+
color: #9ca3af;
|
|
995
|
+
padding: 18px 10px;
|
|
996
|
+
}
|
|
997
|
+
.nw-log-truncated {
|
|
998
|
+
color: #9ca3af;
|
|
999
|
+
font-style: italic;
|
|
1000
|
+
margin-bottom: 4px;
|
|
1001
|
+
}
|
|
1002
|
+
.nw-log-line {
|
|
1003
|
+
display: flex;
|
|
1004
|
+
flex-wrap: wrap;
|
|
1005
|
+
gap: 6px;
|
|
1006
|
+
padding: 2px 0;
|
|
1007
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
1008
|
+
}
|
|
1009
|
+
.nw-log-line:last-child { border-bottom: none; }
|
|
1010
|
+
.nw-log-ts {
|
|
1011
|
+
color: #9ca3af;
|
|
1012
|
+
white-space: nowrap;
|
|
1013
|
+
}
|
|
1014
|
+
.nw-log-kind {
|
|
1015
|
+
color: #93c5fd;
|
|
1016
|
+
font-weight: 600;
|
|
1017
|
+
min-width: 90px;
|
|
1018
|
+
}
|
|
1019
|
+
.nw-log-name { color: #e5e7eb; }
|
|
1020
|
+
.nw-log-phase { color: #9ca3af; }
|
|
1021
|
+
.nw-log-data {
|
|
1022
|
+
color: #d1d5db;
|
|
1023
|
+
flex: 1;
|
|
1024
|
+
min-width: 0;
|
|
1025
|
+
overflow-wrap: anywhere;
|
|
1026
|
+
word-break: break-all;
|
|
1027
|
+
}
|
|
1028
|
+
.nw-log-tool .nw-log-kind { color: #fbbf24; }
|
|
1029
|
+
.nw-log-tool_result .nw-log-kind { color: #34d399; }
|
|
1030
|
+
.nw-log-route .nw-log-kind { color: #a78bfa; }
|
|
1031
|
+
.nw-log-thought .nw-log-kind { color: #f9a8d4; }
|
|
1032
|
+
.nw-log-status {
|
|
1033
|
+
color: #9ca3af;
|
|
1034
|
+
font-style: italic;
|
|
1035
|
+
padding: 2px 0 6px;
|
|
1036
|
+
border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
|
|
1037
|
+
margin-bottom: 4px;
|
|
1038
|
+
}
|
|
1039
|
+
.nw-log-live {
|
|
1040
|
+
color: #34d399;
|
|
1041
|
+
font-weight: 600;
|
|
1042
|
+
font-style: normal;
|
|
1043
|
+
}
|
|
1044
|
+
.nw-detail-section {
|
|
1045
|
+
border: 1px solid var(--nw-border);
|
|
1046
|
+
border-radius: 10px;
|
|
1047
|
+
padding: 10px 12px;
|
|
1048
|
+
background: var(--nw-bg);
|
|
1049
|
+
display: flex;
|
|
1050
|
+
flex-direction: column;
|
|
1051
|
+
gap: 6px;
|
|
1052
|
+
}
|
|
1053
|
+
.nw-detail-section-head {
|
|
1054
|
+
display: flex;
|
|
1055
|
+
align-items: center;
|
|
1056
|
+
gap: 8px;
|
|
1057
|
+
font-size: 12px;
|
|
1058
|
+
font-weight: 600;
|
|
1059
|
+
color: var(--nw-text);
|
|
1060
|
+
text-transform: uppercase;
|
|
1061
|
+
letter-spacing: 0.03em;
|
|
1062
|
+
}
|
|
1063
|
+
.nw-detail-section-head.nw-warn { color: #b45309; }
|
|
1064
|
+
.nw-detail-statement {
|
|
1065
|
+
font-size: 13px;
|
|
1066
|
+
line-height: 1.5;
|
|
1067
|
+
color: var(--nw-text);
|
|
1068
|
+
}
|
|
1069
|
+
.nw-detail-list {
|
|
1070
|
+
margin: 0;
|
|
1071
|
+
padding-left: 20px;
|
|
1072
|
+
font-size: 12.5px;
|
|
1073
|
+
line-height: 1.5;
|
|
1074
|
+
color: var(--nw-text);
|
|
1075
|
+
}
|
|
1076
|
+
.nw-detail-list li { margin: 2px 0; }
|
|
1077
|
+
.nw-detail-claims {
|
|
1078
|
+
margin: 0;
|
|
1079
|
+
padding-left: 16px;
|
|
1080
|
+
font-size: 12.5px;
|
|
1081
|
+
line-height: 1.45;
|
|
1082
|
+
list-style: none;
|
|
1083
|
+
}
|
|
1084
|
+
.nw-detail-claims li {
|
|
1085
|
+
margin: 4px 0;
|
|
1086
|
+
padding-left: 0;
|
|
1087
|
+
}
|
|
1088
|
+
.nw-claim {
|
|
1089
|
+
color: var(--nw-text);
|
|
1090
|
+
}
|
|
1091
|
+
.nw-claim-evidence {
|
|
1092
|
+
color: var(--nw-text-secondary);
|
|
1093
|
+
font-style: italic;
|
|
1094
|
+
padding-left: 14px;
|
|
1095
|
+
font-size: 11.5px;
|
|
1096
|
+
}
|
|
1097
|
+
.nw-validity {
|
|
1098
|
+
font-size: 11px;
|
|
1099
|
+
font-weight: 600;
|
|
1100
|
+
padding: 2px 6px;
|
|
1101
|
+
border-radius: 4px;
|
|
1102
|
+
text-transform: none;
|
|
1103
|
+
letter-spacing: 0;
|
|
1104
|
+
}
|
|
1105
|
+
.nw-validity-high { background: #dcfce7; color: #15803d; }
|
|
1106
|
+
.nw-validity-med { background: #fef3c7; color: #b45309; }
|
|
1107
|
+
.nw-validity-low { background: #fee2e2; color: #b91c1c; }
|
|
1108
|
+
.nw-category {
|
|
1109
|
+
font-size: 11px;
|
|
1110
|
+
color: var(--nw-text-tertiary);
|
|
1111
|
+
background: var(--nw-bg-subtle);
|
|
1112
|
+
padding: 1px 6px;
|
|
1113
|
+
border-radius: 4px;
|
|
1114
|
+
text-transform: none;
|
|
1115
|
+
letter-spacing: 0;
|
|
1116
|
+
font-family: ui-monospace, "SF Mono", Menlo, monospace;
|
|
1117
|
+
}
|
|
1118
|
+
.nw-corr-block {
|
|
1119
|
+
font-size: 12.5px;
|
|
1120
|
+
color: var(--nw-text);
|
|
1121
|
+
line-height: 1.5;
|
|
1122
|
+
}
|
|
1123
|
+
.nw-corr-block b { font-weight: 600; }
|
|
1124
|
+
|
|
1125
|
+
/* --- Feedback section -------------------------------------------- */
|
|
1126
|
+
.nw-feedback {
|
|
1127
|
+
background: var(--nw-bg-subtle, #f7f8fa);
|
|
1128
|
+
border: 1px solid var(--nw-border, #e3e7ec);
|
|
1129
|
+
border-radius: 10px;
|
|
1130
|
+
padding: 14px 14px 12px;
|
|
1131
|
+
}
|
|
1132
|
+
.nw-feedback-saved-at {
|
|
1133
|
+
margin-left: 8px;
|
|
1134
|
+
font-weight: 400;
|
|
1135
|
+
font-size: 11.5px;
|
|
1136
|
+
color: var(--nw-text-muted, #6b7280);
|
|
1137
|
+
}
|
|
1138
|
+
.nw-feedback-row {
|
|
1139
|
+
margin: 10px 0;
|
|
1140
|
+
display: flex;
|
|
1141
|
+
flex-direction: column;
|
|
1142
|
+
gap: 6px;
|
|
1143
|
+
}
|
|
1144
|
+
.nw-feedback-label {
|
|
1145
|
+
font-size: 12.5px;
|
|
1146
|
+
font-weight: 600;
|
|
1147
|
+
color: var(--nw-text, #1f2937);
|
|
1148
|
+
}
|
|
1149
|
+
.nw-feedback-optional {
|
|
1150
|
+
font-weight: 400;
|
|
1151
|
+
color: var(--nw-text-muted, #6b7280);
|
|
1152
|
+
font-size: 11.5px;
|
|
1153
|
+
}
|
|
1154
|
+
.nw-feedback-slider-wrap {
|
|
1155
|
+
display: flex;
|
|
1156
|
+
align-items: center;
|
|
1157
|
+
gap: 12px;
|
|
1158
|
+
}
|
|
1159
|
+
.nw-feedback-slider {
|
|
1160
|
+
flex: 1;
|
|
1161
|
+
-webkit-appearance: none;
|
|
1162
|
+
appearance: none;
|
|
1163
|
+
height: 6px;
|
|
1164
|
+
border-radius: 999px;
|
|
1165
|
+
background: linear-gradient(to right,
|
|
1166
|
+
hsl(120, 70%, 45%) 0%,
|
|
1167
|
+
hsl(60, 75%, 50%) 50%,
|
|
1168
|
+
hsl(0, 75%, 50%) 100%);
|
|
1169
|
+
outline: none;
|
|
1170
|
+
cursor: pointer;
|
|
1171
|
+
}
|
|
1172
|
+
.nw-feedback-slider::-webkit-slider-thumb {
|
|
1173
|
+
-webkit-appearance: none;
|
|
1174
|
+
appearance: none;
|
|
1175
|
+
width: 18px; height: 18px;
|
|
1176
|
+
border-radius: 50%;
|
|
1177
|
+
background: #fff;
|
|
1178
|
+
border: 2px solid hsl(var(--nw-slider-hue, 60), 70%, 45%);
|
|
1179
|
+
cursor: pointer;
|
|
1180
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.15);
|
|
1181
|
+
}
|
|
1182
|
+
.nw-feedback-slider::-moz-range-thumb {
|
|
1183
|
+
width: 18px; height: 18px;
|
|
1184
|
+
border-radius: 50%;
|
|
1185
|
+
background: #fff;
|
|
1186
|
+
border: 2px solid hsl(var(--nw-slider-hue, 60), 70%, 45%);
|
|
1187
|
+
cursor: pointer;
|
|
1188
|
+
}
|
|
1189
|
+
.nw-feedback-slider-value {
|
|
1190
|
+
min-width: 28px;
|
|
1191
|
+
height: 28px;
|
|
1192
|
+
border-radius: 6px;
|
|
1193
|
+
color: #fff;
|
|
1194
|
+
font-weight: 700;
|
|
1195
|
+
font-size: 14px;
|
|
1196
|
+
display: inline-flex;
|
|
1197
|
+
align-items: center;
|
|
1198
|
+
justify-content: center;
|
|
1199
|
+
padding: 0 8px;
|
|
1200
|
+
}
|
|
1201
|
+
.nw-feedback-slider-legend {
|
|
1202
|
+
display: flex;
|
|
1203
|
+
justify-content: space-between;
|
|
1204
|
+
font-size: 11px;
|
|
1205
|
+
color: var(--nw-text-muted, #6b7280);
|
|
1206
|
+
}
|
|
1207
|
+
.nw-feedback-stars {
|
|
1208
|
+
display: flex;
|
|
1209
|
+
gap: 4px;
|
|
1210
|
+
}
|
|
1211
|
+
.nw-feedback-star {
|
|
1212
|
+
background: none;
|
|
1213
|
+
border: none;
|
|
1214
|
+
padding: 2px 4px;
|
|
1215
|
+
cursor: pointer;
|
|
1216
|
+
font-size: 22px;
|
|
1217
|
+
color: #d1d5db;
|
|
1218
|
+
line-height: 1;
|
|
1219
|
+
transition: color 0.1s;
|
|
1220
|
+
}
|
|
1221
|
+
.nw-feedback-star:hover,
|
|
1222
|
+
.nw-feedback-star.on {
|
|
1223
|
+
color: #f59e0b;
|
|
1224
|
+
}
|
|
1225
|
+
.nw-feedback-notes {
|
|
1226
|
+
width: 100%;
|
|
1227
|
+
box-sizing: border-box;
|
|
1228
|
+
border: 1px solid var(--nw-border, #d1d5db);
|
|
1229
|
+
border-radius: 8px;
|
|
1230
|
+
padding: 8px 10px;
|
|
1231
|
+
font-family: inherit;
|
|
1232
|
+
font-size: 13px;
|
|
1233
|
+
color: var(--nw-text, #1f2937);
|
|
1234
|
+
background: #fff;
|
|
1235
|
+
resize: vertical;
|
|
1236
|
+
min-height: 60px;
|
|
1237
|
+
}
|
|
1238
|
+
.nw-feedback-notes:focus {
|
|
1239
|
+
outline: none;
|
|
1240
|
+
border-color: var(--nw-accent, #6366f1);
|
|
1241
|
+
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
|
|
1242
|
+
}
|
|
1243
|
+
.nw-feedback-actions {
|
|
1244
|
+
display: flex;
|
|
1245
|
+
align-items: center;
|
|
1246
|
+
gap: 10px;
|
|
1247
|
+
margin-top: 8px;
|
|
1248
|
+
}
|
|
1249
|
+
.nw-feedback-save {
|
|
1250
|
+
background: var(--nw-accent, #6366f1);
|
|
1251
|
+
color: #fff;
|
|
1252
|
+
border: none;
|
|
1253
|
+
border-radius: 8px;
|
|
1254
|
+
padding: 7px 16px;
|
|
1255
|
+
font-size: 13px;
|
|
1256
|
+
font-weight: 600;
|
|
1257
|
+
cursor: pointer;
|
|
1258
|
+
transition: background 0.1s;
|
|
1259
|
+
}
|
|
1260
|
+
.nw-feedback-save:hover:not(:disabled) {
|
|
1261
|
+
background: var(--nw-accent-hover, #4f46e5);
|
|
1262
|
+
}
|
|
1263
|
+
.nw-feedback-save:disabled {
|
|
1264
|
+
opacity: 0.6;
|
|
1265
|
+
cursor: not-allowed;
|
|
1266
|
+
}
|
|
1267
|
+
.nw-feedback-flash {
|
|
1268
|
+
color: #059669;
|
|
1269
|
+
font-size: 12.5px;
|
|
1270
|
+
font-weight: 500;
|
|
1271
|
+
}
|
|
1272
|
+
.nw-feedback-error {
|
|
1273
|
+
color: #b91c1c;
|
|
1274
|
+
font-size: 12.5px;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/* Messages */
|
|
1278
|
+
.nw-messages {
|
|
1279
|
+
flex: 1;
|
|
1280
|
+
overflow-y: auto;
|
|
1281
|
+
padding: 20px;
|
|
1282
|
+
display: flex;
|
|
1283
|
+
flex-direction: column;
|
|
1284
|
+
gap: 12px;
|
|
1285
|
+
background: var(--nw-bg-subtle);
|
|
1286
|
+
scroll-behavior: smooth;
|
|
1287
|
+
}
|
|
1288
|
+
.nw-messages::-webkit-scrollbar { width: 6px; }
|
|
1289
|
+
.nw-messages::-webkit-scrollbar-track { background: transparent; }
|
|
1290
|
+
.nw-messages::-webkit-scrollbar-thumb {
|
|
1291
|
+
background: rgba(0, 0, 0, 0.12);
|
|
1292
|
+
border-radius: 3px;
|
|
1293
|
+
}
|
|
1294
|
+
.nw-messages::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.2); }
|
|
1295
|
+
|
|
1296
|
+
/* Empty state */
|
|
1297
|
+
.nw-empty {
|
|
1298
|
+
flex: 1;
|
|
1299
|
+
display: flex;
|
|
1300
|
+
flex-direction: column;
|
|
1301
|
+
align-items: center;
|
|
1302
|
+
justify-content: center;
|
|
1303
|
+
text-align: center;
|
|
1304
|
+
padding: 24px;
|
|
1305
|
+
color: var(--nw-text-secondary);
|
|
1306
|
+
gap: 12px;
|
|
1307
|
+
}
|
|
1308
|
+
.nw-empty-icon {
|
|
1309
|
+
width: 56px;
|
|
1310
|
+
height: 56px;
|
|
1311
|
+
border-radius: 16px;
|
|
1312
|
+
background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
|
|
1313
|
+
display: flex;
|
|
1314
|
+
align-items: center;
|
|
1315
|
+
justify-content: center;
|
|
1316
|
+
color: var(--nw-primary);
|
|
1317
|
+
margin-bottom: 4px;
|
|
1318
|
+
}
|
|
1319
|
+
.nw-empty-icon svg { width: 28px; height: 28px; }
|
|
1320
|
+
.nw-empty-title {
|
|
1321
|
+
font-size: 15px;
|
|
1322
|
+
font-weight: 600;
|
|
1323
|
+
color: var(--nw-text);
|
|
1324
|
+
letter-spacing: -0.01em;
|
|
1325
|
+
}
|
|
1326
|
+
.nw-empty-subtitle { font-size: 13px; max-width: 240px; }
|
|
1327
|
+
.nw-suggestions {
|
|
1328
|
+
display: flex;
|
|
1329
|
+
flex-direction: column;
|
|
1330
|
+
gap: 8px;
|
|
1331
|
+
width: 100%;
|
|
1332
|
+
margin-top: 8px;
|
|
1333
|
+
}
|
|
1334
|
+
.nw-suggestion {
|
|
1335
|
+
background: var(--nw-bg);
|
|
1336
|
+
border: 1px solid var(--nw-border);
|
|
1337
|
+
border-radius: 10px;
|
|
1338
|
+
padding: 10px 14px;
|
|
1339
|
+
font-size: 13px;
|
|
1340
|
+
text-align: left;
|
|
1341
|
+
color: var(--nw-text);
|
|
1342
|
+
cursor: pointer;
|
|
1343
|
+
transition: all 0.15s ease;
|
|
1344
|
+
font-family: inherit;
|
|
1345
|
+
}
|
|
1346
|
+
.nw-suggestion:hover {
|
|
1347
|
+
border-color: var(--nw-primary);
|
|
1348
|
+
background: rgba(99, 102, 241, 0.04);
|
|
1349
|
+
transform: translateX(2px);
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/* Messages */
|
|
1353
|
+
.nw-msg { display: flex; gap: 8px; max-width: 90%; }
|
|
1354
|
+
.nw-msg.user { align-self: flex-end; flex-direction: row-reverse; }
|
|
1355
|
+
.nw-msg.assistant { align-self: flex-start; }
|
|
1356
|
+
|
|
1357
|
+
.nw-bubble {
|
|
1358
|
+
padding: 10px 14px;
|
|
1359
|
+
border-radius: 16px;
|
|
1360
|
+
font-size: 14px;
|
|
1361
|
+
line-height: 1.5;
|
|
1362
|
+
word-wrap: break-word;
|
|
1363
|
+
overflow-wrap: anywhere;
|
|
1364
|
+
}
|
|
1365
|
+
.nw-msg.user .nw-bubble {
|
|
1366
|
+
background: linear-gradient(135deg, var(--nw-primary) 0%, var(--nw-primary-dark) 100%);
|
|
1367
|
+
color: #fff;
|
|
1368
|
+
border-bottom-right-radius: 4px;
|
|
1369
|
+
white-space: pre-wrap;
|
|
1370
|
+
}
|
|
1371
|
+
.nw-msg.assistant .nw-bubble {
|
|
1372
|
+
background: var(--nw-bg);
|
|
1373
|
+
color: var(--nw-text);
|
|
1374
|
+
border: 1px solid var(--nw-border);
|
|
1375
|
+
border-bottom-left-radius: 4px;
|
|
1376
|
+
}
|
|
1377
|
+
.nw-bubble p { margin: 0; }
|
|
1378
|
+
.nw-bubble p + p { margin-top: 8px; }
|
|
1379
|
+
.nw-bubble code {
|
|
1380
|
+
background: rgba(0, 0, 0, 0.06);
|
|
1381
|
+
padding: 1px 5px;
|
|
1382
|
+
border-radius: 4px;
|
|
1383
|
+
font-family: ui-monospace, "SF Mono", Menlo, monospace;
|
|
1384
|
+
font-size: 0.9em;
|
|
1385
|
+
}
|
|
1386
|
+
.nw-msg.user .nw-bubble code {
|
|
1387
|
+
background: rgba(255, 255, 255, 0.2);
|
|
1388
|
+
}
|
|
1389
|
+
.nw-bubble pre {
|
|
1390
|
+
background: rgba(0, 0, 0, 0.05);
|
|
1391
|
+
padding: 10px;
|
|
1392
|
+
border-radius: 8px;
|
|
1393
|
+
overflow-x: auto;
|
|
1394
|
+
margin: 6px 0;
|
|
1395
|
+
font-size: 12.5px;
|
|
1396
|
+
}
|
|
1397
|
+
.nw-bubble pre code { background: transparent; padding: 0; }
|
|
1398
|
+
.nw-bubble ul, .nw-bubble ol { padding-left: 20px; margin: 4px 0; }
|
|
1399
|
+
.nw-bubble li { margin: 2px 0; }
|
|
1400
|
+
.nw-bubble a {
|
|
1401
|
+
color: inherit;
|
|
1402
|
+
text-decoration: underline;
|
|
1403
|
+
text-underline-offset: 2px;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/* Tables */
|
|
1407
|
+
.nw-bubble table {
|
|
1408
|
+
width: 100%;
|
|
1409
|
+
border-collapse: collapse;
|
|
1410
|
+
margin: 8px 0;
|
|
1411
|
+
font-size: 12.5px;
|
|
1412
|
+
background: var(--nw-bg);
|
|
1413
|
+
border-radius: 8px;
|
|
1414
|
+
overflow: hidden;
|
|
1415
|
+
display: block;
|
|
1416
|
+
overflow-x: auto;
|
|
1417
|
+
white-space: nowrap;
|
|
1418
|
+
border: 1px solid var(--nw-border);
|
|
1419
|
+
}
|
|
1420
|
+
.nw-bubble thead {
|
|
1421
|
+
background: var(--nw-bg-subtle);
|
|
1422
|
+
}
|
|
1423
|
+
.nw-bubble th {
|
|
1424
|
+
text-align: left;
|
|
1425
|
+
padding: 8px 12px;
|
|
1426
|
+
font-weight: 600;
|
|
1427
|
+
color: var(--nw-text);
|
|
1428
|
+
border-bottom: 1px solid var(--nw-border);
|
|
1429
|
+
white-space: nowrap;
|
|
1430
|
+
}
|
|
1431
|
+
.nw-bubble td {
|
|
1432
|
+
padding: 7px 12px;
|
|
1433
|
+
color: var(--nw-text);
|
|
1434
|
+
border-bottom: 1px solid var(--nw-border);
|
|
1435
|
+
}
|
|
1436
|
+
.nw-bubble tbody tr:last-child td { border-bottom: none; }
|
|
1437
|
+
.nw-bubble tbody tr:hover { background: var(--nw-bg-subtle); }
|
|
1438
|
+
.nw-msg.user .nw-bubble table {
|
|
1439
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1440
|
+
border-color: rgba(255, 255, 255, 0.25);
|
|
1441
|
+
}
|
|
1442
|
+
.nw-msg.user .nw-bubble thead { background: rgba(255, 255, 255, 0.12); }
|
|
1443
|
+
.nw-msg.user .nw-bubble th,
|
|
1444
|
+
.nw-msg.user .nw-bubble td {
|
|
1445
|
+
color: #fff;
|
|
1446
|
+
border-color: rgba(255, 255, 255, 0.18);
|
|
1447
|
+
}
|
|
1448
|
+
.nw-msg.user .nw-bubble tbody tr:hover { background: rgba(255, 255, 255, 0.08); }
|
|
1449
|
+
|
|
1450
|
+
.nw-bubble blockquote {
|
|
1451
|
+
border-left: 3px solid var(--nw-border);
|
|
1452
|
+
padding-left: 12px;
|
|
1453
|
+
margin: 6px 0;
|
|
1454
|
+
color: var(--nw-text-secondary);
|
|
1455
|
+
}
|
|
1456
|
+
.nw-bubble h1, .nw-bubble h2, .nw-bubble h3, .nw-bubble h4 {
|
|
1457
|
+
font-weight: 600;
|
|
1458
|
+
margin: 8px 0 4px;
|
|
1459
|
+
line-height: 1.3;
|
|
1460
|
+
}
|
|
1461
|
+
.nw-bubble h1 { font-size: 17px; }
|
|
1462
|
+
.nw-bubble h2 { font-size: 15px; }
|
|
1463
|
+
.nw-bubble h3, .nw-bubble h4 { font-size: 14px; }
|
|
1464
|
+
.nw-bubble hr {
|
|
1465
|
+
border: none;
|
|
1466
|
+
border-top: 1px solid var(--nw-border);
|
|
1467
|
+
margin: 10px 0;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
/* Images */
|
|
1471
|
+
.nw-bubble img {
|
|
1472
|
+
max-width: 100%;
|
|
1473
|
+
height: auto;
|
|
1474
|
+
border-radius: 8px;
|
|
1475
|
+
display: block;
|
|
1476
|
+
margin: 8px 0;
|
|
1477
|
+
}
|
|
1478
|
+
.nw-img-fallback {
|
|
1479
|
+
display: inline-flex;
|
|
1480
|
+
align-items: center;
|
|
1481
|
+
gap: 8px;
|
|
1482
|
+
padding: 8px 12px;
|
|
1483
|
+
margin: 6px 0;
|
|
1484
|
+
background: var(--nw-bg-subtle);
|
|
1485
|
+
border: 1px dashed var(--nw-border);
|
|
1486
|
+
border-radius: 8px;
|
|
1487
|
+
color: var(--nw-text-secondary);
|
|
1488
|
+
font-size: 12.5px;
|
|
1489
|
+
font-style: italic;
|
|
1490
|
+
}
|
|
1491
|
+
.nw-img-fallback svg { width: 16px; height: 16px; flex-shrink: 0; }
|
|
1492
|
+
|
|
1493
|
+
/* Mermaid diagrams (rendered by streamdown) */
|
|
1494
|
+
.nw-bubble svg[id^="mermaid"],
|
|
1495
|
+
.nw-bubble [class*="mermaid"] svg {
|
|
1496
|
+
max-width: 100%;
|
|
1497
|
+
height: auto;
|
|
1498
|
+
display: block;
|
|
1499
|
+
margin: 8px auto;
|
|
1500
|
+
background: var(--nw-bg);
|
|
1501
|
+
border-radius: 8px;
|
|
1502
|
+
padding: 8px;
|
|
1503
|
+
}
|
|
1504
|
+
.nw-bubble [class*="mermaid"] {
|
|
1505
|
+
display: block;
|
|
1506
|
+
margin: 8px 0;
|
|
1507
|
+
overflow-x: auto;
|
|
1508
|
+
text-align: center;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/* Thinking block (collapsible reasoning trace above an assistant bubble) */
|
|
1512
|
+
.nw-msg-stack {
|
|
1513
|
+
display: flex;
|
|
1514
|
+
flex-direction: column;
|
|
1515
|
+
gap: 6px;
|
|
1516
|
+
min-width: 0;
|
|
1517
|
+
}
|
|
1518
|
+
.nw-think {
|
|
1519
|
+
background: transparent;
|
|
1520
|
+
border: 1px solid var(--nw-border);
|
|
1521
|
+
border-radius: 12px;
|
|
1522
|
+
overflow: hidden;
|
|
1523
|
+
font-size: 12.5px;
|
|
1524
|
+
color: var(--nw-text-secondary);
|
|
1525
|
+
}
|
|
1526
|
+
.nw-think[open] {
|
|
1527
|
+
background: var(--nw-bg);
|
|
1528
|
+
}
|
|
1529
|
+
.nw-think-summary {
|
|
1530
|
+
display: flex;
|
|
1531
|
+
align-items: center;
|
|
1532
|
+
gap: 8px;
|
|
1533
|
+
padding: 8px 12px;
|
|
1534
|
+
cursor: pointer;
|
|
1535
|
+
user-select: none;
|
|
1536
|
+
list-style: none;
|
|
1537
|
+
color: var(--nw-text-secondary);
|
|
1538
|
+
transition: background 0.12s ease;
|
|
1539
|
+
}
|
|
1540
|
+
.nw-think-summary::-webkit-details-marker { display: none; }
|
|
1541
|
+
.nw-think-summary::marker { content: ""; }
|
|
1542
|
+
.nw-think-summary:hover { background: var(--nw-bg-subtle); }
|
|
1543
|
+
.nw-think[open] .nw-think-summary {
|
|
1544
|
+
border-bottom: 1px solid var(--nw-border);
|
|
1545
|
+
}
|
|
1546
|
+
.nw-think-dot {
|
|
1547
|
+
width: 7px;
|
|
1548
|
+
height: 7px;
|
|
1549
|
+
border-radius: 50%;
|
|
1550
|
+
background: var(--nw-text-tertiary);
|
|
1551
|
+
flex-shrink: 0;
|
|
1552
|
+
}
|
|
1553
|
+
.nw-think-dot.busy {
|
|
1554
|
+
background: var(--nw-primary);
|
|
1555
|
+
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.55);
|
|
1556
|
+
animation: nw-think-pulse 1.6s ease-out infinite;
|
|
1557
|
+
}
|
|
1558
|
+
@keyframes nw-think-pulse {
|
|
1559
|
+
0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6); }
|
|
1560
|
+
100% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
|
|
1561
|
+
}
|
|
1562
|
+
.nw-think-title {
|
|
1563
|
+
font-weight: 600;
|
|
1564
|
+
color: var(--nw-text);
|
|
1565
|
+
letter-spacing: -0.005em;
|
|
1566
|
+
}
|
|
1567
|
+
.nw-think-count {
|
|
1568
|
+
color: var(--nw-text-tertiary);
|
|
1569
|
+
font-variant-numeric: tabular-nums;
|
|
1570
|
+
}
|
|
1571
|
+
.nw-think-body {
|
|
1572
|
+
padding: 8px 12px 10px;
|
|
1573
|
+
display: flex;
|
|
1574
|
+
flex-direction: column;
|
|
1575
|
+
gap: 4px;
|
|
1576
|
+
max-height: 240px;
|
|
1577
|
+
overflow-y: auto;
|
|
1578
|
+
}
|
|
1579
|
+
.nw-think-body::-webkit-scrollbar { width: 5px; }
|
|
1580
|
+
.nw-think-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }
|
|
1581
|
+
.nw-think-row {
|
|
1582
|
+
display: flex;
|
|
1583
|
+
align-items: flex-start;
|
|
1584
|
+
gap: 8px;
|
|
1585
|
+
line-height: 1.45;
|
|
1586
|
+
}
|
|
1587
|
+
.nw-think-icon {
|
|
1588
|
+
flex-shrink: 0;
|
|
1589
|
+
width: 16px;
|
|
1590
|
+
text-align: center;
|
|
1591
|
+
color: var(--nw-text-tertiary);
|
|
1592
|
+
font-family: ui-monospace, "SF Mono", Menlo, monospace;
|
|
1593
|
+
font-size: 11.5px;
|
|
1594
|
+
margin-top: 1px;
|
|
1595
|
+
}
|
|
1596
|
+
.nw-think-label { color: var(--nw-text); }
|
|
1597
|
+
.nw-think-aside { color: var(--nw-text-tertiary); }
|
|
1598
|
+
.nw-think-code {
|
|
1599
|
+
background: rgba(0, 0, 0, 0.05);
|
|
1600
|
+
padding: 1px 5px;
|
|
1601
|
+
border-radius: 4px;
|
|
1602
|
+
font-family: ui-monospace, "SF Mono", Menlo, monospace;
|
|
1603
|
+
font-size: 11.5px;
|
|
1604
|
+
color: var(--nw-text);
|
|
1605
|
+
}
|
|
1606
|
+
.nw-think-ok .nw-think-icon { color: #16a34a; }
|
|
1607
|
+
.nw-think-err .nw-think-icon { color: #dc2626; }
|
|
1608
|
+
.nw-think-err .nw-think-aside { color: #b91c1c; }
|
|
1609
|
+
.nw-think-node {
|
|
1610
|
+
opacity: 0.7;
|
|
1611
|
+
font-size: 11.5px;
|
|
1612
|
+
}
|
|
1613
|
+
.nw-reasoning {
|
|
1614
|
+
white-space: pre-wrap;
|
|
1615
|
+
font-size: 12.5px;
|
|
1616
|
+
line-height: 1.55;
|
|
1617
|
+
color: var(--nw-text-secondary);
|
|
1618
|
+
background: var(--nw-bg-subtle);
|
|
1619
|
+
border-left: 2px solid var(--nw-primary);
|
|
1620
|
+
padding: 8px 12px;
|
|
1621
|
+
margin-bottom: 6px;
|
|
1622
|
+
border-radius: 0 6px 6px 0;
|
|
1623
|
+
font-style: italic;
|
|
1624
|
+
max-height: 200px;
|
|
1625
|
+
overflow-y: auto;
|
|
1626
|
+
word-wrap: break-word;
|
|
1627
|
+
overflow-wrap: anywhere;
|
|
1628
|
+
}
|
|
1629
|
+
.nw-reasoning-cursor {
|
|
1630
|
+
display: inline-block;
|
|
1631
|
+
color: var(--nw-primary);
|
|
1632
|
+
margin-left: 1px;
|
|
1633
|
+
animation: nw-blink 1s steps(2) infinite;
|
|
1634
|
+
}
|
|
1635
|
+
@keyframes nw-blink {
|
|
1636
|
+
0%, 50% { opacity: 1; }
|
|
1637
|
+
50.01%, 100% { opacity: 0; }
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
/* Clarify card (HITL multi-choice) */
|
|
1641
|
+
.nw-clarify {
|
|
1642
|
+
align-self: flex-start;
|
|
1643
|
+
max-width: 92%;
|
|
1644
|
+
background: var(--nw-bg);
|
|
1645
|
+
border: 1px solid var(--nw-border);
|
|
1646
|
+
border-radius: 14px;
|
|
1647
|
+
padding: 14px 14px 12px;
|
|
1648
|
+
box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.06);
|
|
1649
|
+
display: flex;
|
|
1650
|
+
flex-direction: column;
|
|
1651
|
+
gap: 10px;
|
|
1652
|
+
animation: nw-clarify-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
|
1653
|
+
}
|
|
1654
|
+
@keyframes nw-clarify-in {
|
|
1655
|
+
from { opacity: 0; transform: translateY(4px); }
|
|
1656
|
+
to { opacity: 1; transform: translateY(0); }
|
|
1657
|
+
}
|
|
1658
|
+
.nw-clarify.is-disabled {
|
|
1659
|
+
opacity: 0.55;
|
|
1660
|
+
filter: grayscale(0.2);
|
|
1661
|
+
}
|
|
1662
|
+
.nw-clarify-chip {
|
|
1663
|
+
align-self: flex-start;
|
|
1664
|
+
background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.12) 100%);
|
|
1665
|
+
color: var(--nw-primary-dark);
|
|
1666
|
+
font-size: 11px;
|
|
1667
|
+
font-weight: 600;
|
|
1668
|
+
letter-spacing: 0.02em;
|
|
1669
|
+
padding: 3px 8px;
|
|
1670
|
+
border-radius: 6px;
|
|
1671
|
+
text-transform: uppercase;
|
|
1672
|
+
}
|
|
1673
|
+
.nw-clarify-text {
|
|
1674
|
+
font-size: 14px;
|
|
1675
|
+
color: var(--nw-text);
|
|
1676
|
+
line-height: 1.45;
|
|
1677
|
+
}
|
|
1678
|
+
.nw-clarify-options {
|
|
1679
|
+
display: flex;
|
|
1680
|
+
flex-wrap: wrap;
|
|
1681
|
+
gap: 6px;
|
|
1682
|
+
}
|
|
1683
|
+
.nw-clarify-option {
|
|
1684
|
+
background: var(--nw-bg-subtle);
|
|
1685
|
+
border: 1px solid var(--nw-border);
|
|
1686
|
+
border-radius: 10px;
|
|
1687
|
+
padding: 8px 14px;
|
|
1688
|
+
font-size: 13px;
|
|
1689
|
+
color: var(--nw-text);
|
|
1690
|
+
cursor: pointer;
|
|
1691
|
+
font-family: inherit;
|
|
1692
|
+
transition: all 0.15s ease;
|
|
1693
|
+
}
|
|
1694
|
+
.nw-clarify-option:hover:not(:disabled) {
|
|
1695
|
+
border-color: var(--nw-primary);
|
|
1696
|
+
background: rgba(99, 102, 241, 0.06);
|
|
1697
|
+
transform: translateY(-1px);
|
|
1698
|
+
}
|
|
1699
|
+
.nw-clarify-option:active:not(:disabled) { transform: translateY(0); }
|
|
1700
|
+
.nw-clarify-option:disabled { cursor: not-allowed; }
|
|
1701
|
+
.nw-clarify-text-row {
|
|
1702
|
+
display: flex;
|
|
1703
|
+
gap: 6px;
|
|
1704
|
+
margin-top: 2px;
|
|
1705
|
+
}
|
|
1706
|
+
.nw-clarify-input {
|
|
1707
|
+
flex: 1;
|
|
1708
|
+
border: 1px solid var(--nw-border);
|
|
1709
|
+
background: var(--nw-bg-subtle);
|
|
1710
|
+
border-radius: 10px;
|
|
1711
|
+
padding: 8px 12px;
|
|
1712
|
+
font-family: inherit;
|
|
1713
|
+
font-size: 13px;
|
|
1714
|
+
color: var(--nw-text);
|
|
1715
|
+
outline: none;
|
|
1716
|
+
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
1717
|
+
}
|
|
1718
|
+
.nw-clarify-input::placeholder { color: var(--nw-text-tertiary); }
|
|
1719
|
+
.nw-clarify-input:focus {
|
|
1720
|
+
border-color: var(--nw-primary);
|
|
1721
|
+
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
|
|
1722
|
+
}
|
|
1723
|
+
.nw-clarify-submit {
|
|
1724
|
+
background: linear-gradient(135deg, var(--nw-primary) 0%, var(--nw-primary-dark) 100%);
|
|
1725
|
+
color: #fff;
|
|
1726
|
+
border: none;
|
|
1727
|
+
border-radius: 10px;
|
|
1728
|
+
padding: 8px 14px;
|
|
1729
|
+
font-size: 13px;
|
|
1730
|
+
font-weight: 500;
|
|
1731
|
+
cursor: pointer;
|
|
1732
|
+
font-family: inherit;
|
|
1733
|
+
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
1734
|
+
}
|
|
1735
|
+
.nw-clarify-submit:hover:not(:disabled) { transform: scale(1.03); }
|
|
1736
|
+
.nw-clarify-submit:disabled {
|
|
1737
|
+
opacity: 0.4;
|
|
1738
|
+
cursor: not-allowed;
|
|
1739
|
+
background: var(--nw-text-tertiary);
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/* Typing indicator */
|
|
1743
|
+
.nw-typing {
|
|
1744
|
+
display: flex;
|
|
1745
|
+
gap: 4px;
|
|
1746
|
+
padding: 14px 16px;
|
|
1747
|
+
}
|
|
1748
|
+
.nw-typing span {
|
|
1749
|
+
width: 7px;
|
|
1750
|
+
height: 7px;
|
|
1751
|
+
background: var(--nw-text-tertiary);
|
|
1752
|
+
border-radius: 50%;
|
|
1753
|
+
display: inline-block;
|
|
1754
|
+
animation: nw-bounce 1.3s ease-in-out infinite;
|
|
1755
|
+
}
|
|
1756
|
+
.nw-typing span:nth-child(2) { animation-delay: 0.18s; }
|
|
1757
|
+
.nw-typing span:nth-child(3) { animation-delay: 0.36s; }
|
|
1758
|
+
@keyframes nw-bounce {
|
|
1759
|
+
0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
|
|
1760
|
+
30% { transform: translateY(-6px); opacity: 1; }
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
/* Input */
|
|
1764
|
+
.nw-input-wrap {
|
|
1765
|
+
padding: 14px 16px 16px;
|
|
1766
|
+
background: var(--nw-bg);
|
|
1767
|
+
border-top: 1px solid var(--nw-border);
|
|
1768
|
+
flex-shrink: 0;
|
|
1769
|
+
}
|
|
1770
|
+
.nw-input-row {
|
|
1771
|
+
display: flex;
|
|
1772
|
+
align-items: flex-end;
|
|
1773
|
+
gap: 8px;
|
|
1774
|
+
background: var(--nw-bg-subtle);
|
|
1775
|
+
border: 1px solid var(--nw-border);
|
|
1776
|
+
border-radius: 14px;
|
|
1777
|
+
padding: 6px 6px 6px 14px;
|
|
1778
|
+
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
1779
|
+
}
|
|
1780
|
+
.nw-input-row:focus-within {
|
|
1781
|
+
border-color: var(--nw-primary);
|
|
1782
|
+
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
|
|
1783
|
+
}
|
|
1784
|
+
.nw-input {
|
|
1785
|
+
flex: 1;
|
|
1786
|
+
border: none;
|
|
1787
|
+
background: transparent;
|
|
1788
|
+
outline: none;
|
|
1789
|
+
font-family: inherit;
|
|
1790
|
+
font-size: 14px;
|
|
1791
|
+
color: var(--nw-text);
|
|
1792
|
+
resize: none;
|
|
1793
|
+
padding: 8px 0;
|
|
1794
|
+
max-height: 120px;
|
|
1795
|
+
line-height: 1.4;
|
|
1796
|
+
}
|
|
1797
|
+
.nw-input::placeholder { color: var(--nw-text-tertiary); }
|
|
1798
|
+
.nw-send {
|
|
1799
|
+
width: 36px;
|
|
1800
|
+
height: 36px;
|
|
1801
|
+
border-radius: 10px;
|
|
1802
|
+
border: none;
|
|
1803
|
+
background: linear-gradient(135deg, var(--nw-primary) 0%, var(--nw-primary-dark) 100%);
|
|
1804
|
+
color: #fff;
|
|
1805
|
+
cursor: pointer;
|
|
1806
|
+
display: flex;
|
|
1807
|
+
align-items: center;
|
|
1808
|
+
justify-content: center;
|
|
1809
|
+
flex-shrink: 0;
|
|
1810
|
+
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
1811
|
+
}
|
|
1812
|
+
.nw-send:hover:not(:disabled) { transform: scale(1.06); }
|
|
1813
|
+
.nw-send:active:not(:disabled) { transform: scale(0.95); }
|
|
1814
|
+
.nw-send:disabled {
|
|
1815
|
+
opacity: 0.4;
|
|
1816
|
+
cursor: not-allowed;
|
|
1817
|
+
background: var(--nw-text-tertiary);
|
|
1818
|
+
}
|
|
1819
|
+
.nw-send svg { width: 16px; height: 16px; }
|
|
1820
|
+
|
|
1821
|
+
.nw-footer {
|
|
1822
|
+
text-align: center;
|
|
1823
|
+
font-size: 11px;
|
|
1824
|
+
color: var(--nw-text-tertiary);
|
|
1825
|
+
margin-top: 8px;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
@media (max-width: 480px) {
|
|
1829
|
+
.nw-root { bottom: 16px; right: 16px; left: 16px; }
|
|
1830
|
+
.nw-panel {
|
|
1831
|
+
width: auto;
|
|
1832
|
+
left: 0;
|
|
1833
|
+
right: 0;
|
|
1834
|
+
height: calc(100vh - 100px);
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
`;function pk(){try{for(let e=0;e<localStorage.length;e++){let t=localStorage.key(e);if(!t||!/^\d+:notifications\.user_settings$/.test(t))continue;let n=localStorage.getItem(t);if(!n)continue;let r=JSON.parse(n),i=r&&r.payload&&r.payload.username;if(typeof i==`string`&&i.length>0)return i}}catch(e){console.warn(`[Netwatch] Zabbix localStorage scan failed:`,e)}return null}var mk=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}),this.root=null}connectedCallback(){let e=this.getAttribute(`api-endpoint`)||`http://localhost:8000`,t=this.getAttribute(`client-id`),n=this.getAttribute(`username`)||pk();if(!t){console.error("NetwatchWidget: missing required `client-id` attribute");return}if(!n){console.error("NetwatchWidget: could not determine the logged-in user. Either pass `username` as an attribute or embed on a Zabbix page where the user is signed in.");return}console.log(`%c[Netwatch] logged in as %c${n}%c on client %c${t}`,`color:#6b7280`,`color:#6366f1;font-weight:600`,`color:#6b7280`,`color:#374151;font-family:monospace`);let r=document.createElement(`style`);r.textContent=fk,this.shadowRoot.appendChild(r);let i=document.createElement(`div`);this.shadowRoot.appendChild(i),this.root=C.createRoot(i),this.root.render((0,O.jsx)(dk,{apiEndpoint:e,clientId:t,username:n}))}disconnectedCallback(){this.root&&=(this.root.unmount(),null)}};customElements.get(`netwatch-widget`)||customElements.define(`netwatch-widget`,mk);function hk(e={}){if(typeof window>`u`||typeof document>`u`)throw Error(`initBubble must run in a browser environment`);if(!e.clientId)throw Error("initBubble: `clientId` is required");customElements.get(`netwatch-widget`);let t=document.createElement(`netwatch-widget`);t.setAttribute(`client-id`,String(e.clientId));let n=gk(e.apiHost??e.apiEndpoint);n&&t.setAttribute(`api-endpoint`,n),e.username&&t.setAttribute(`username`,String(e.username));let r=e.target instanceof HTMLElement?e.target:document.body;return r?r.appendChild(t):document.addEventListener(`DOMContentLoaded`,()=>{document.body.appendChild(t)},{once:!0}),t}function gk(e){if(!e||typeof e!=`string`)return``;let t=e.replace(/\/+$/,``);return t=t.replace(/\/api\/chat$/,``),t}var _k={initBubble:hk,NetwatchWidgetElement:mk};e.ChatWidget=dk,e.NetwatchWidgetElement=mk,e.default=_k,e.initBubble=hk});
|
|
1838
|
+
//# sourceMappingURL=web.umd.js.map
|