md-review 0.0.5 → 0.0.6
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 +17 -6
- package/bin/md-review.js +8 -1
- package/dist/assets/index-BZ_-Uaqe.js +87 -0
- package/dist/assets/index-B_-fb83n.css +19 -0
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/server/index.js +2 -5
- package/dist/assets/index-BSdkfsKj.css +0 -10
- package/dist/assets/index-CZ7h92Sm.js +0 -87
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))o(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const c of f.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function l(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(u){if(u.ep)return;u.ep=!0;const f=l(u);fetch(u.href,f)}})();function af(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var gc={exports:{}},hr={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var th;function XE(){if(th)return hr;th=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(o,u,f){var c=null;if(f!==void 0&&(c=""+f),u.key!==void 0&&(c=""+u.key),"key"in u){f={};for(var p in u)p!=="key"&&(f[p]=u[p])}else f=u;return u=f.ref,{$$typeof:n,type:o,key:c,ref:u!==void 0?u:null,props:f}}return hr.Fragment=a,hr.jsx=l,hr.jsxs=l,hr}var nh;function PE(){return nh||(nh=1,gc.exports=XE()),gc.exports}var z=PE(),bc={exports:{}},Oe={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var ih;function ZE(){if(ih)return Oe;ih=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),c=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),_=Symbol.iterator;function E(w){return w===null||typeof w!="object"?null:(w=_&&w[_]||w["@@iterator"],typeof w=="function"?w:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,R={};function N(w,j,S){this.props=w,this.context=j,this.refs=R,this.updater=S||x}N.prototype.isReactComponent={},N.prototype.setState=function(w,j){if(typeof w!="object"&&typeof w!="function"&&w!=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,w,j,"setState")},N.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function F(){}F.prototype=N.prototype;function H(w,j,S){this.props=w,this.context=j,this.refs=R,this.updater=S||x}var $=H.prototype=new F;$.constructor=H,C($,N.prototype),$.isPureReactComponent=!0;var V=Array.isArray;function M(){}var Q={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function ue(w,j,S){var ce=S.ref;return{$$typeof:n,type:w,key:j,ref:ce!==void 0?ce:null,props:S}}function B(w,j){return ue(w.type,j,w.props)}function ae(w){return typeof w=="object"&&w!==null&&w.$$typeof===n}function re(w){var j={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(S){return j[S]})}var we=/\/+/g;function oe(w,j){return typeof w=="object"&&w!==null&&w.key!=null?re(""+w.key):j.toString(36)}function W(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(M,M):(w.status="pending",w.then(function(j){w.status==="pending"&&(w.status="fulfilled",w.value=j)},function(j){w.status==="pending"&&(w.status="rejected",w.reason=j)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function L(w,j,S,ce,_e){var he=typeof w;(he==="undefined"||he==="boolean")&&(w=null);var ze=!1;if(w===null)ze=!0;else switch(he){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(w.$$typeof){case n:case a:ze=!0;break;case b:return ze=w._init,L(ze(w._payload),j,S,ce,_e)}}if(ze)return _e=_e(w),ze=ce===""?"."+oe(w,0):ce,V(_e)?(S="",ze!=null&&(S=ze.replace(we,"$&/")+"/"),L(_e,j,S,"",function(zt){return zt})):_e!=null&&(ae(_e)&&(_e=B(_e,S+(_e.key==null||w&&w.key===_e.key?"":(""+_e.key).replace(we,"$&/")+"/")+ze)),j.push(_e)),1;ze=0;var Je=ce===""?".":ce+":";if(V(w))for(var Qe=0;Qe<w.length;Qe++)ce=w[Qe],he=Je+oe(ce,Qe),ze+=L(ce,j,S,he,_e);else if(Qe=E(w),typeof Qe=="function")for(w=Qe.call(w),Qe=0;!(ce=w.next()).done;)ce=ce.value,he=Je+oe(ce,Qe++),ze+=L(ce,j,S,he,_e);else if(he==="object"){if(typeof w.then=="function")return L(W(w),j,S,ce,_e);throw j=String(w),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return ze}function J(w,j,S){if(w==null)return w;var ce=[],_e=0;return L(w,ce,"","",function(he){return j.call(S,he,_e++)}),ce}function ne(w){if(w._status===-1){var j=w._result;j=j(),j.then(function(S){(w._status===0||w._status===-1)&&(w._status=1,w._result=S)},function(S){(w._status===0||w._status===-1)&&(w._status=2,w._result=S)}),w._status===-1&&(w._status=0,w._result=j)}if(w._status===1)return w._result.default;throw w._result}var ye=typeof reportError=="function"?reportError:function(w){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",w);return}console.error(w)},T={map:J,forEach:function(w,j,S){J(w,function(){j.apply(this,arguments)},S)},count:function(w){var j=0;return J(w,function(){j++}),j},toArray:function(w){return J(w,function(j){return j})||[]},only:function(w){if(!ae(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};return Oe.Activity=g,Oe.Children=T,Oe.Component=N,Oe.Fragment=l,Oe.Profiler=u,Oe.PureComponent=H,Oe.StrictMode=o,Oe.Suspense=h,Oe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,Oe.__COMPILER_RUNTIME={__proto__:null,c:function(w){return Q.H.useMemoCache(w)}},Oe.cache=function(w){return function(){return w.apply(null,arguments)}},Oe.cacheSignal=function(){return null},Oe.cloneElement=function(w,j,S){if(w==null)throw Error("The argument must be a React element, but you passed "+w+".");var ce=C({},w.props),_e=w.key;if(j!=null)for(he in j.key!==void 0&&(_e=""+j.key),j)!ee.call(j,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&j.ref===void 0||(ce[he]=j[he]);var he=arguments.length-2;if(he===1)ce.children=S;else if(1<he){for(var ze=Array(he),Je=0;Je<he;Je++)ze[Je]=arguments[Je+2];ce.children=ze}return ue(w.type,_e,ce)},Oe.createContext=function(w){return w={$$typeof:c,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:f,_context:w},w},Oe.createElement=function(w,j,S){var ce,_e={},he=null;if(j!=null)for(ce in j.key!==void 0&&(he=""+j.key),j)ee.call(j,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(_e[ce]=j[ce]);var ze=arguments.length-2;if(ze===1)_e.children=S;else if(1<ze){for(var Je=Array(ze),Qe=0;Qe<ze;Qe++)Je[Qe]=arguments[Qe+2];_e.children=Je}if(w&&w.defaultProps)for(ce in ze=w.defaultProps,ze)_e[ce]===void 0&&(_e[ce]=ze[ce]);return ue(w,he,_e)},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(w){return{$$typeof:p,render:w}},Oe.isValidElement=ae,Oe.lazy=function(w){return{$$typeof:b,_payload:{_status:-1,_result:w},_init:ne}},Oe.memo=function(w,j){return{$$typeof:m,type:w,compare:j===void 0?null:j}},Oe.startTransition=function(w){var j=Q.T,S={};Q.T=S;try{var ce=w(),_e=Q.S;_e!==null&&_e(S,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(M,ye)}catch(he){ye(he)}finally{j!==null&&S.types!==null&&(j.types=S.types),Q.T=j}},Oe.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},Oe.use=function(w){return Q.H.use(w)},Oe.useActionState=function(w,j,S){return Q.H.useActionState(w,j,S)},Oe.useCallback=function(w,j){return Q.H.useCallback(w,j)},Oe.useContext=function(w){return Q.H.useContext(w)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(w,j){return Q.H.useDeferredValue(w,j)},Oe.useEffect=function(w,j){return Q.H.useEffect(w,j)},Oe.useEffectEvent=function(w){return Q.H.useEffectEvent(w)},Oe.useId=function(){return Q.H.useId()},Oe.useImperativeHandle=function(w,j,S){return Q.H.useImperativeHandle(w,j,S)},Oe.useInsertionEffect=function(w,j){return Q.H.useInsertionEffect(w,j)},Oe.useLayoutEffect=function(w,j){return Q.H.useLayoutEffect(w,j)},Oe.useMemo=function(w,j){return Q.H.useMemo(w,j)},Oe.useOptimistic=function(w,j){return Q.H.useOptimistic(w,j)},Oe.useReducer=function(w,j,S){return Q.H.useReducer(w,j,S)},Oe.useRef=function(w){return Q.H.useRef(w)},Oe.useState=function(w){return Q.H.useState(w)},Oe.useSyncExternalStore=function(w,j,S){return Q.H.useSyncExternalStore(w,j,S)},Oe.useTransition=function(){return Q.H.useTransition()},Oe.version="19.2.0",Oe}var ah;function lf(){return ah||(ah=1,bc.exports=ZE()),bc.exports}var Ae=lf(),yc={exports:{}},gr={},Ec={exports:{}},_c={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var lh;function QE(){return lh||(lh=1,(function(n){function a(L,J){var ne=L.length;L.push(J);e:for(;0<ne;){var ye=ne-1>>>1,T=L[ye];if(0<u(T,J))L[ye]=J,L[ne]=T,ne=ye;else break e}}function l(L){return L.length===0?null:L[0]}function o(L){if(L.length===0)return null;var J=L[0],ne=L.pop();if(ne!==J){L[0]=ne;e:for(var ye=0,T=L.length,w=T>>>1;ye<w;){var j=2*(ye+1)-1,S=L[j],ce=j+1,_e=L[ce];if(0>u(S,ne))ce<T&&0>u(_e,S)?(L[ye]=_e,L[ce]=ne,ye=ce):(L[ye]=S,L[j]=ne,ye=j);else if(ce<T&&0>u(_e,ne))L[ye]=_e,L[ce]=ne,ye=ce;else break e}}return J}function u(L,J){var ne=L.sortIndex-J.sortIndex;return ne!==0?ne:L.id-J.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var c=Date,p=c.now();n.unstable_now=function(){return c.now()-p}}var h=[],m=[],b=1,g=null,_=3,E=!1,x=!1,C=!1,R=!1,N=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function $(L){for(var J=l(m);J!==null;){if(J.callback===null)o(m);else if(J.startTime<=L)o(m),J.sortIndex=J.expirationTime,a(h,J);else break;J=l(m)}}function V(L){if(C=!1,$(L),!x)if(l(h)!==null)x=!0,M||(M=!0,re());else{var J=l(m);J!==null&&W(V,J.startTime-L)}}var M=!1,Q=-1,ee=5,ue=-1;function B(){return R?!0:!(n.unstable_now()-ue<ee)}function ae(){if(R=!1,M){var L=n.unstable_now();ue=L;var J=!0;try{e:{x=!1,C&&(C=!1,F(Q),Q=-1),E=!0;var ne=_;try{t:{for($(L),g=l(h);g!==null&&!(g.expirationTime>L&&B());){var ye=g.callback;if(typeof ye=="function"){g.callback=null,_=g.priorityLevel;var T=ye(g.expirationTime<=L);if(L=n.unstable_now(),typeof T=="function"){g.callback=T,$(L),J=!0;break t}g===l(h)&&o(h),$(L)}else o(h);g=l(h)}if(g!==null)J=!0;else{var w=l(m);w!==null&&W(V,w.startTime-L),J=!1}}break e}finally{g=null,_=ne,E=!1}J=void 0}}finally{J?re():M=!1}}}var re;if(typeof H=="function")re=function(){H(ae)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,oe=we.port2;we.port1.onmessage=ae,re=function(){oe.postMessage(null)}}else re=function(){N(ae,0)};function W(L,J){Q=N(function(){L(n.unstable_now())},J)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(L){L.callback=null},n.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<L?Math.floor(1e3/L):5},n.unstable_getCurrentPriorityLevel=function(){return _},n.unstable_next=function(L){switch(_){case 1:case 2:case 3:var J=3;break;default:J=_}var ne=_;_=J;try{return L()}finally{_=ne}},n.unstable_requestPaint=function(){R=!0},n.unstable_runWithPriority=function(L,J){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var ne=_;_=L;try{return J()}finally{_=ne}},n.unstable_scheduleCallback=function(L,J,ne){var ye=n.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?ye+ne:ye):ne=ye,L){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=ne+T,L={id:b++,callback:J,priorityLevel:L,startTime:ne,expirationTime:T,sortIndex:-1},ne>ye?(L.sortIndex=ne,a(m,L),l(h)===null&&L===l(m)&&(C?(F(Q),Q=-1):C=!0,W(V,ne-ye))):(L.sortIndex=T,a(h,L),x||E||(x=!0,M||(M=!0,re()))),L},n.unstable_shouldYield=B,n.unstable_wrapCallback=function(L){var J=_;return function(){var ne=_;_=J;try{return L.apply(this,arguments)}finally{_=ne}}}})(_c)),_c}var rh;function $E(){return rh||(rh=1,Ec.exports=QE()),Ec.exports}var vc={exports:{}},Xt={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var oh;function JE(){if(oh)return Xt;oh=1;var n=lf();function a(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)m+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var o={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},u=Symbol.for("react.portal");function f(h,m,b){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:g==null?null:""+g,children:h,containerInfo:m,implementation:b}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Xt.createPortal=function(h,m){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(a(299));return f(h,m,null,b)},Xt.flushSync=function(h){var m=c.T,b=o.p;try{if(c.T=null,o.p=2,h)return h()}finally{c.T=m,o.p=b,o.d.f()}},Xt.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(h,m))},Xt.prefetchDNS=function(h){typeof h=="string"&&o.d.D(h)},Xt.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var b=m.as,g=p(b,m.crossOrigin),_=typeof m.integrity=="string"?m.integrity:void 0,E=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;b==="style"?o.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:g,integrity:_,fetchPriority:E}):b==="script"&&o.d.X(h,{crossOrigin:g,integrity:_,fetchPriority:E,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Xt.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var b=p(m.as,m.crossOrigin);o.d.M(h,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(h)},Xt.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var b=m.as,g=p(b,m.crossOrigin);o.d.L(h,b,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Xt.preloadModule=function(h,m){if(typeof h=="string")if(m){var b=p(m.as,m.crossOrigin);o.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(h)},Xt.requestFormReset=function(h){o.d.r(h)},Xt.unstable_batchedUpdates=function(h,m){return h(m)},Xt.useFormState=function(h,m,b){return c.H.useFormState(h,m,b)},Xt.useFormStatus=function(){return c.H.useHostTransitionStatus()},Xt.version="19.2.0",Xt}var sh;function WE(){if(sh)return vc.exports;sh=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),vc.exports=JE(),vc.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var uh;function e_(){if(uh)return gr;uh=1;var n=$E(),a=lf(),l=WE();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i])}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 u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function c(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 p(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 h(e){if(f(e)!==e)throw Error(o(188))}function m(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(o(188));return t!==e?null:e}for(var i=e,r=t;;){var s=i.return;if(s===null)break;var d=s.alternate;if(d===null){if(r=s.return,r!==null){i=r;continue}break}if(s.child===d.child){for(d=s.child;d;){if(d===i)return h(s),e;if(d===r)return h(s),t;d=d.sibling}throw Error(o(188))}if(i.return!==r.return)i=s,r=d;else{for(var y=!1,v=s.child;v;){if(v===i){y=!0,i=s,r=d;break}if(v===r){y=!0,r=s,i=d;break}v=v.sibling}if(!y){for(v=d.child;v;){if(v===i){y=!0,i=d,r=s;break}if(v===r){y=!0,r=d,i=s;break}v=v.sibling}if(!y)throw Error(o(189))}}if(i.alternate!==r)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,_=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),H=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),ue=Symbol.for("react.activity"),B=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function re(e){return e===null||typeof e!="object"?null:(e=ae&&e[ae]||e["@@iterator"],typeof e=="function"?e:null)}var we=Symbol.for("react.client.reference");function oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===we?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case N:return"Profiler";case R:return"StrictMode";case V:return"Suspense";case M:return"SuspenseList";case ue:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case x:return"Portal";case H:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case $:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Q:return t=e.displayName||null,t!==null?t:oe(e.type)||"Memo";case ee:t=e._payload,e=e._init;try{return oe(e(t))}catch{}}return null}var W=Array.isArray,L=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},ye=[],T=-1;function w(e){return{current:e}}function j(e){0>T||(e.current=ye[T],ye[T]=null,T--)}function S(e,t){T++,ye[T]=e.current,e.current=t}var ce=w(null),_e=w(null),he=w(null),ze=w(null);function Je(e,t){switch(S(he,t),S(_e,e),S(ce,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Tm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Tm(t),e=Nm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}j(ce),S(ce,e)}function Qe(){j(ce),j(_e),j(he)}function zt(e){e.memoizedState!==null&&S(ze,e);var t=ce.current,i=Nm(t,e.type);t!==i&&(S(_e,e),S(ce,i))}function mn(e){_e.current===e&&(j(ce),j(_e)),ze.current===e&&(j(ze),fr._currentValue=ne)}var ti,Ti;function hn(e){if(ti===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);ti=t&&t[1]||"",Ti=-1<i.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+ti+e+Ti}var Yn=!1;function Ye(e,t){if(!e||Yn)return"";Yn=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(G){var q=G}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(G){q=G}e.call(Z.prototype)}}else{try{throw Error()}catch(G){q=G}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(G){if(G&&q&&typeof G.stack=="string")return[G.stack,q.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=r.DetermineComponentFrameRoot(),y=d[0],v=d[1];if(y&&v){var A=y.split(`
|
|
44
|
+
`),U=v.split(`
|
|
45
|
+
`);for(s=r=0;r<A.length&&!A[r].includes("DetermineComponentFrameRoot");)r++;for(;s<U.length&&!U[s].includes("DetermineComponentFrameRoot");)s++;if(r===A.length||s===U.length)for(r=A.length-1,s=U.length-1;1<=r&&0<=s&&A[r]!==U[s];)s--;for(;1<=r&&0<=s;r--,s--)if(A[r]!==U[s]){if(r!==1||s!==1)do if(r--,s--,0>s||A[r]!==U[s]){var K=`
|
|
46
|
+
`+A[r].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),K}while(1<=r&&0<=s);break}}}finally{Yn=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?hn(i):""}function Un(e,t){switch(e.tag){case 26:case 27:case 5:return hn(e.type);case 16:return hn("Lazy");case 13:return e.child!==t&&t!==null?hn("Suspense Fallback"):hn("Suspense");case 19:return hn("SuspenseList");case 0:case 15:return Ye(e.type,!1);case 11:return Ye(e.type.render,!1);case 1:return Ye(e.type,!0);case 31:return hn("Activity");default:return""}}function wn(e){try{var t="",i=null;do t+=Un(e,i),i=e,e=e.return;while(e);return t}catch(r){return`
|
|
47
|
+
Error generating stack: `+r.message+`
|
|
48
|
+
`+r.stack}}var Kn=Object.prototype.hasOwnProperty,ni=n.unstable_scheduleCallback,ta=n.unstable_cancelCallback,vl=n.unstable_shouldYield,wa=n.unstable_requestPaint,yt=n.unstable_now,ka=n.unstable_getCurrentPriorityLevel,Y=n.unstable_ImmediatePriority,le=n.unstable_UserBlockingPriority,xe=n.unstable_NormalPriority,Be=n.unstable_LowPriority,Xe=n.unstable_IdlePriority,Qt=n.log,Hn=n.unstable_setDisableYieldValue,Ut=null,_t=null;function Yt(e){if(typeof Qt=="function"&&Hn(e),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(Ut,e)}catch{}}var We=Math.clz32?Math.clz32:Mr,Vn=Math.log,$t=Math.LN2;function Mr(e){return e>>>=0,e===0?32:31-(Vn(e)/$t|0)|0}var na=256,Ca=262144,ia=4194304;function nn(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 k(e,t,i){var r=e.pendingLanes;if(r===0)return 0;var s=0,d=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var v=r&134217727;return v!==0?(r=v&~d,r!==0?s=nn(r):(y&=v,y!==0?s=nn(y):i||(i=v&~e,i!==0&&(s=nn(i))))):(v=r&~d,v!==0?s=nn(v):y!==0?s=nn(y):i||(i=r&~e,i!==0&&(s=nn(i)))),s===0?0:t!==0&&t!==s&&(t&d)===0&&(d=s&-s,i=t&-t,d>=i||d===32&&(i&4194048)!==0)?t:s}function X(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function fe(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 Ce(){var e=ia;return ia<<=1,(ia&62914560)===0&&(ia=4194304),e}function pt(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function st(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function me(e,t,i,r,s,d){var y=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var v=e.entanglements,A=e.expirationTimes,U=e.hiddenUpdates;for(i=y&~i;0<i;){var K=31-We(i),Z=1<<K;v[K]=0,A[K]=-1;var q=U[K];if(q!==null)for(U[K]=null,K=0;K<q.length;K++){var G=q[K];G!==null&&(G.lane&=-536870913)}i&=~Z}r!==0&&de(e,r,0),d!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=d&~(y&~t))}function de(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-We(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|i&261930}function ke(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var r=31-We(i),s=1<<r;s&t|e[r]&t&&(e[r]|=t),i&=~s}}function xt(e,t){var i=t&-t;return i=(i&42)!==0?1:gt(i),(i&(e.suspendedLanes|t))!==0?0:i}function gt(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 ii(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Oa(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Pm(e.type))}function Ma(e,t){var i=J.p;try{return J.p=e,t()}finally{J.p=i}}var Xn=Math.random().toString(36).slice(2),Tt="__reactFiber$"+Xn,Kt="__reactProps$"+Xn,Ni="__reactContainer$"+Xn,Sl="__reactEvents$"+Xn,Rr="__reactListeners$"+Xn,Ra="__reactHandles$"+Xn,Dr="__reactResources$"+Xn,aa="__reactMarker$"+Xn;function xl(e){delete e[Tt],delete e[Kt],delete e[Sl],delete e[Rr],delete e[Ra]}function Jt(e){var t=e[Tt];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Ni]||i[Tt]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Rm(e);e!==null;){if(i=e[Tt])return i;e=Rm(e)}return t}e=i,i=e.parentNode}return null}function ai(e){if(e=e[Tt]||e[Ni]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ai(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function wi(e){var t=e[Dr];return t||(t=e[Dr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function kt(e){e[aa]=!0}var Lr=new Set,la={};function li(e,t){te(e,t),te(e+"Capture",t)}function te(e,t){for(la[e]=t,e=0;e<t.length;e++)Lr.add(t[e])}var Ee=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]*$"),Ie={},et={};function Nt(e){return Kn.call(et,e)?!0:Kn.call(Ie,e)?!1:Ee.test(e)?et[e]=!0:(Ie[e]=!0,!1)}function Vt(e,t,i){if(Nt(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){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,""+i)}}function gn(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+i)}}function an(e,t,i,r){if(r===null)e.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(t,i,""+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 bn(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zr(e,t,i){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,d=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(y){i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Da(e){if(!e._valueTracker){var t=bn(e)?"checked":"value";e._valueTracker=zr(e,t,""+e[t])}}function Tl(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),r="";return e&&(r=bn(e)?e.checked?"true":"false":e.value),e=r,e!==i?(t.setValue(e),!0):!1}function La(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var hs=/[\n"\\]/g;function ln(e){return e.replace(hs,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Nl(e,t,i,r,s,d,y,v){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ft(t)):e.value!==""+ft(t)&&(e.value=""+ft(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?za(e,y,ft(t)):i!=null?za(e,y,ft(i)):r!=null&&e.removeAttribute("value"),s==null&&d!=null&&(e.defaultChecked=!!d),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+ft(v):e.removeAttribute("name")}function ra(e,t,i,r,s,d,y,v){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||i!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){Da(e);return}i=i!=null?""+ft(i):"",t=t!=null?""+ft(t):i,v||t===e.value||(e.value=t),e.defaultValue=t}r=r??s,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=v?e.checked:!!r,e.defaultChecked=!!r,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Da(e)}function za(e,t,i){t==="number"&&La(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Ht(e,t,i,r){if(e=e.options,t){t={};for(var s=0;s<i.length;s++)t["$"+i[s]]=!0;for(i=0;i<e.length;i++)s=t.hasOwnProperty("$"+e[i].value),e[i].selected!==s&&(e[i].selected=s),s&&r&&(e[i].defaultSelected=!0)}else{for(i=""+ft(i),t=null,s=0;s<e.length;s++){if(e[s].value===i){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Br(e,t,i){if(t!=null&&(t=""+ft(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+ft(i):""}function Ba(e,t,i,r){if(t==null){if(r!=null){if(i!=null)throw Error(o(92));if(W(r)){if(1<r.length)throw Error(o(93));r=r[0]}i=r}i==null&&(i=""),t=i}i=ft(t),e.defaultValue=i,r=e.textContent,r===i&&r!==""&&r!==null&&(e.value=r),Da(e)}function Ne(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Ir=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 Ct(e,t,i){var r=t.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,i):typeof i!="number"||i===0||Ir.has(t)?t==="float"?e.cssFloat=i:e[t]=(""+i).trim():e[t]=i+"px"}function tt(e,t,i){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var s in t)r=t[s],t.hasOwnProperty(s)&&i[s]!==r&&Ct(e,s,r)}else for(var d in t)t.hasOwnProperty(d)&&Ct(e,d,t[d])}function ki(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 ri=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"]]),Al=/^[\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 Ci(e){return Al.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function se(){}var ge=null;function Me(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fe=null,Et=null;function kn(e){var t=ai(e);if(t&&(e=t.stateNode)){var i=e[Kt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Nl(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+ln(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var r=i[t];if(r!==e&&r.form===e.form){var s=r[Kt]||null;if(!s)throw Error(o(90));Nl(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<i.length;t++)r=i[t],r.form===e.form&&Tl(r)}break e;case"textarea":Br(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Ht(e,!!i.multiple,t,!1)}}}var wl=!1;function Ur(e,t,i){if(wl)return e(t,i);wl=!0;try{var r=e(t);return r}finally{if(wl=!1,(Fe!==null||Et!==null)&&(Ao(),Fe&&(t=Fe,e=Et,Et=Fe=null,kn(t),e)))for(t=0;t<e.length;t++)kn(e[t])}}function kl(e,t){var i=e.stateNode;if(i===null)return null;var r=i[Kt]||null;if(r===null)return null;i=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(o(231,t,typeof i));return i}var oi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gs=!1;if(oi)try{var Cl={};Object.defineProperty(Cl,"passive",{get:function(){gs=!0}}),window.addEventListener("test",Cl,Cl),window.removeEventListener("test",Cl,Cl)}catch{gs=!1}var Oi=null,bs=null,Hr=null;function Nf(){if(Hr)return Hr;var e,t=bs,i=t.length,r,s="value"in Oi?Oi.value:Oi.textContent,d=s.length;for(e=0;e<i&&t[e]===s[e];e++);var y=i-e;for(r=1;r<=y&&t[i-r]===s[d-r];r++);return Hr=s.slice(e,1<r?1-r:void 0)}function qr(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 Fr(){return!0}function Af(){return!1}function rn(e){function t(i,r,s,d,y){this._reactName=i,this._targetInst=s,this.type=r,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(i=e[v],this[v]=i?i(d):d[v]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Fr:Af,this.isPropagationStopped=Af,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Fr)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Fr)},persist:function(){},isPersistent:Fr}),t}var oa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gr=rn(oa),Ol=g({},oa,{view:0,detail:0}),Kb=rn(Ol),ys,Es,Ml,jr=g({},Ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vs,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!==Ml&&(Ml&&e.type==="mousemove"?(ys=e.screenX-Ml.screenX,Es=e.screenY-Ml.screenY):Es=ys=0,Ml=e),ys)},movementY:function(e){return"movementY"in e?e.movementY:Es}}),wf=rn(jr),Vb=g({},jr,{dataTransfer:0}),Xb=rn(Vb),Pb=g({},Ol,{relatedTarget:0}),_s=rn(Pb),Zb=g({},oa,{animationName:0,elapsedTime:0,pseudoElement:0}),Qb=rn(Zb),$b=g({},oa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jb=rn($b),Wb=g({},oa,{data:0}),kf=rn(Wb),ey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ty={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"},ny={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function iy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ny[e])?!!t[e]:!1}function vs(){return iy}var ay=g({},Ol,{key:function(e){if(e.key){var t=ey[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ty[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vs,charCode:function(e){return e.type==="keypress"?qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ly=rn(ay),ry=g({},jr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cf=rn(ry),oy=g({},Ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vs}),sy=rn(oy),uy=g({},oa,{propertyName:0,elapsedTime:0,pseudoElement:0}),cy=rn(uy),fy=g({},jr,{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}),dy=rn(fy),py=g({},oa,{newState:0,oldState:0}),my=rn(py),hy=[9,13,27,32],Ss=oi&&"CompositionEvent"in window,Rl=null;oi&&"documentMode"in document&&(Rl=document.documentMode);var gy=oi&&"TextEvent"in window&&!Rl,Of=oi&&(!Ss||Rl&&8<Rl&&11>=Rl),Mf=" ",Rf=!1;function Df(e,t){switch(e){case"keyup":return hy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ia=!1;function by(e,t){switch(e){case"compositionend":return Lf(t);case"keypress":return t.which!==32?null:(Rf=!0,Mf);case"textInput":return e=t.data,e===Mf&&Rf?null:e;default:return null}}function yy(e,t){if(Ia)return e==="compositionend"||!Ss&&Df(e,t)?(e=Nf(),Hr=bs=Oi=null,Ia=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Of&&t.locale!=="ko"?null:t.data;default:return null}}var Ey={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 zf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ey[e.type]:t==="textarea"}function Bf(e,t,i,r){Fe?Et?Et.push(r):Et=[r]:Fe=r,t=Do(t,"onChange"),0<t.length&&(i=new Gr("onChange","change",null,i,r),e.push({event:i,listeners:t}))}var Dl=null,Ll=null;function _y(e){ym(e,0)}function Yr(e){var t=Ai(e);if(Tl(t))return e}function If(e,t){if(e==="change")return t}var Uf=!1;if(oi){var xs;if(oi){var Ts="oninput"in document;if(!Ts){var Hf=document.createElement("div");Hf.setAttribute("oninput","return;"),Ts=typeof Hf.oninput=="function"}xs=Ts}else xs=!1;Uf=xs&&(!document.documentMode||9<document.documentMode)}function qf(){Dl&&(Dl.detachEvent("onpropertychange",Ff),Ll=Dl=null)}function Ff(e){if(e.propertyName==="value"&&Yr(Ll)){var t=[];Bf(t,Ll,e,Me(e)),Ur(_y,t)}}function vy(e,t,i){e==="focusin"?(qf(),Dl=t,Ll=i,Dl.attachEvent("onpropertychange",Ff)):e==="focusout"&&qf()}function Sy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Yr(Ll)}function xy(e,t){if(e==="click")return Yr(t)}function Ty(e,t){if(e==="input"||e==="change")return Yr(t)}function Ny(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yn=typeof Object.is=="function"?Object.is:Ny;function zl(e,t){if(yn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),r=Object.keys(t);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var s=i[r];if(!Kn.call(t,s)||!yn(e[s],t[s]))return!1}return!0}function Gf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jf(e,t){var i=Gf(e);e=0;for(var r;i;){if(i.nodeType===3){if(r=e+i.textContent.length,e<=t&&r>=t)return{node:i,offset:t-e};e=r}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Gf(i)}}function Yf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=La(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=La(e.document)}return t}function Ns(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 Ay=oi&&"documentMode"in document&&11>=document.documentMode,Ua=null,As=null,Bl=null,ws=!1;function Vf(e,t,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;ws||Ua==null||Ua!==La(r)||(r=Ua,"selectionStart"in r&&Ns(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}),Bl&&zl(Bl,r)||(Bl=r,r=Do(As,"onSelect"),0<r.length&&(t=new Gr("onSelect","select",null,t,i),e.push({event:t,listeners:r}),t.target=Ua)))}function sa(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Ha={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionrun:sa("Transition","TransitionRun"),transitionstart:sa("Transition","TransitionStart"),transitioncancel:sa("Transition","TransitionCancel"),transitionend:sa("Transition","TransitionEnd")},ks={},Xf={};oi&&(Xf=document.createElement("div").style,"AnimationEvent"in window||(delete Ha.animationend.animation,delete Ha.animationiteration.animation,delete Ha.animationstart.animation),"TransitionEvent"in window||delete Ha.transitionend.transition);function ua(e){if(ks[e])return ks[e];if(!Ha[e])return e;var t=Ha[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Xf)return ks[e]=t[i];return e}var Pf=ua("animationend"),Zf=ua("animationiteration"),Qf=ua("animationstart"),wy=ua("transitionrun"),ky=ua("transitionstart"),Cy=ua("transitioncancel"),$f=ua("transitionend"),Jf=new Map,Cs="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(" ");Cs.push("scrollEnd");function qn(e,t){Jf.set(e,t),li(t,[e])}var Kr=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!==null&&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)},Cn=[],qa=0,Os=0;function Vr(){for(var e=qa,t=Os=qa=0;t<e;){var i=Cn[t];Cn[t++]=null;var r=Cn[t];Cn[t++]=null;var s=Cn[t];Cn[t++]=null;var d=Cn[t];if(Cn[t++]=null,r!==null&&s!==null){var y=r.pending;y===null?s.next=s:(s.next=y.next,y.next=s),r.pending=s}d!==0&&Wf(i,s,d)}}function Xr(e,t,i,r){Cn[qa++]=e,Cn[qa++]=t,Cn[qa++]=i,Cn[qa++]=r,Os|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Ms(e,t,i,r){return Xr(e,t,i,r),Pr(e)}function ca(e,t){return Xr(e,null,null,t),Pr(e)}function Wf(e,t,i){e.lanes|=i;var r=e.alternate;r!==null&&(r.lanes|=i);for(var s=!1,d=e.return;d!==null;)d.childLanes|=i,r=d.alternate,r!==null&&(r.childLanes|=i),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(s=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,s&&t!==null&&(s=31-We(i),e=d.hiddenUpdates,r=e[s],r===null?e[s]=[t]:r.push(t),t.lane=i|536870912),d):null}function Pr(e){if(50<ar)throw ar=0,qu=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Fa={};function Oy(e,t,i,r){this.tag=e,this.key=i,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 En(e,t,i,r){return new Oy(e,t,i,r)}function Rs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function si(e,t){var i=e.alternate;return i===null?(i=En(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function ed(e,t){e.flags&=65011714;var i=e.alternate;return i===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=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Zr(e,t,i,r,s,d){var y=0;if(r=e,typeof e=="function")Rs(e)&&(y=1);else if(typeof e=="string")y=zE(e,i,ce.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ue:return e=En(31,i,t,s),e.elementType=ue,e.lanes=d,e;case C:return fa(i.children,s,d,t);case R:y=8,s|=24;break;case N:return e=En(12,i,t,s|2),e.elementType=N,e.lanes=d,e;case V:return e=En(13,i,t,s),e.elementType=V,e.lanes=d,e;case M:return e=En(19,i,t,s),e.elementType=M,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:y=10;break e;case F:y=9;break e;case $:y=11;break e;case Q:y=14;break e;case ee:y=16,r=null;break e}y=29,i=Error(o(130,e===null?"null":typeof e,"")),r=null}return t=En(y,i,t,s),t.elementType=e,t.type=r,t.lanes=d,t}function fa(e,t,i,r){return e=En(7,e,r,t),e.lanes=i,e}function Ds(e,t,i){return e=En(6,e,null,t),e.lanes=i,e}function td(e){var t=En(18,null,null,0);return t.stateNode=e,t}function Ls(e,t,i){return t=En(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var nd=new WeakMap;function On(e,t){if(typeof e=="object"&&e!==null){var i=nd.get(e);return i!==void 0?i:(t={value:e,source:t,stack:wn(t)},nd.set(e,t),t)}return{value:e,source:t,stack:wn(t)}}var Ga=[],ja=0,Qr=null,Il=0,Mn=[],Rn=0,Mi=null,Pn=1,Zn="";function ui(e,t){Ga[ja++]=Il,Ga[ja++]=Qr,Qr=e,Il=t}function id(e,t,i){Mn[Rn++]=Pn,Mn[Rn++]=Zn,Mn[Rn++]=Mi,Mi=e;var r=Pn;e=Zn;var s=32-We(r)-1;r&=~(1<<s),i+=1;var d=32-We(t)+s;if(30<d){var y=s-s%5;d=(r&(1<<y)-1).toString(32),r>>=y,s-=y,Pn=1<<32-We(t)+s|i<<s|r,Zn=d+e}else Pn=1<<d|i<<s|r,Zn=e}function zs(e){e.return!==null&&(ui(e,1),id(e,1,0))}function Bs(e){for(;e===Qr;)Qr=Ga[--ja],Ga[ja]=null,Il=Ga[--ja],Ga[ja]=null;for(;e===Mi;)Mi=Mn[--Rn],Mn[Rn]=null,Zn=Mn[--Rn],Mn[Rn]=null,Pn=Mn[--Rn],Mn[Rn]=null}function ad(e,t){Mn[Rn++]=Pn,Mn[Rn++]=Zn,Mn[Rn++]=Mi,Pn=t.id,Zn=t.overflow,Mi=e}var qt=null,mt=null,Ke=!1,Ri=null,Dn=!1,Is=Error(o(519));function Di(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ul(On(t,e)),Is}function ld(e){var t=e.stateNode,i=e.type,r=e.memoizedProps;switch(t[Tt]=e,t[Kt]=r,i){case"dialog":He("cancel",t),He("close",t);break;case"iframe":case"object":case"embed":He("load",t);break;case"video":case"audio":for(i=0;i<rr.length;i++)He(rr[i],t);break;case"source":He("error",t);break;case"img":case"image":case"link":He("error",t),He("load",t);break;case"details":He("toggle",t);break;case"input":He("invalid",t),ra(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":He("invalid",t);break;case"textarea":He("invalid",t),Ba(t,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||r.suppressHydrationWarning===!0||Sm(t.textContent,i)?(r.popover!=null&&(He("beforetoggle",t),He("toggle",t)),r.onScroll!=null&&He("scroll",t),r.onScrollEnd!=null&&He("scrollend",t),r.onClick!=null&&(t.onclick=se),t=!0):t=!1,t||Di(e,!0)}function rd(e){for(qt=e.return;qt;)switch(qt.tag){case 5:case 31:case 13:Dn=!1;return;case 27:case 3:Dn=!0;return;default:qt=qt.return}}function Ya(e){if(e!==qt)return!1;if(!Ke)return rd(e),Ke=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||tc(e.type,e.memoizedProps)),i=!i),i&&mt&&Di(e),rd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));mt=Mm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));mt=Mm(e)}else t===27?(t=mt,Xi(e.type)?(e=rc,rc=null,mt=e):mt=t):mt=qt?zn(e.stateNode.nextSibling):null;return!0}function da(){mt=qt=null,Ke=!1}function Us(){var e=Ri;return e!==null&&(cn===null?cn=e:cn.push.apply(cn,e),Ri=null),e}function Ul(e){Ri===null?Ri=[e]:Ri.push(e)}var Hs=w(null),pa=null,ci=null;function Li(e,t,i){S(Hs,t._currentValue),t._currentValue=i}function fi(e){e._currentValue=Hs.current,j(Hs)}function qs(e,t,i){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===i)break;e=e.return}}function Fs(e,t,i,r){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var d=s.dependencies;if(d!==null){var y=s.child;d=d.firstContext;e:for(;d!==null;){var v=d;d=s;for(var A=0;A<t.length;A++)if(v.context===t[A]){d.lanes|=i,v=d.alternate,v!==null&&(v.lanes|=i),qs(d.return,i,e),r||(y=null);break e}d=v.next}}else if(s.tag===18){if(y=s.return,y===null)throw Error(o(341));y.lanes|=i,d=y.alternate,d!==null&&(d.lanes|=i),qs(y,i,e),y=null}else y=s.child;if(y!==null)y.return=s;else for(y=s;y!==null;){if(y===e){y=null;break}if(s=y.sibling,s!==null){s.return=y.return,y=s;break}y=y.return}s=y}}function Ka(e,t,i,r){e=null;for(var s=t,d=!1;s!==null;){if(!d){if((s.flags&524288)!==0)d=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var y=s.alternate;if(y===null)throw Error(o(387));if(y=y.memoizedProps,y!==null){var v=s.type;yn(s.pendingProps.value,y.value)||(e!==null?e.push(v):e=[v])}}else if(s===ze.current){if(y=s.alternate,y===null)throw Error(o(387));y.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(fr):e=[fr])}s=s.return}e!==null&&Fs(t,e,i,r),t.flags|=262144}function $r(e){for(e=e.firstContext;e!==null;){if(!yn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ma(e){pa=e,ci=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ft(e){return od(pa,e)}function Jr(e,t){return pa===null&&ma(e),od(e,t)}function od(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},ci===null){if(e===null)throw Error(o(308));ci=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ci=ci.next=t;return i}var My=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},Ry=n.unstable_scheduleCallback,Dy=n.unstable_NormalPriority,Ot={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gs(){return{controller:new My,data:new Map,refCount:0}}function Hl(e){e.refCount--,e.refCount===0&&Ry(Dy,function(){e.controller.abort()})}var ql=null,js=0,Va=0,Xa=null;function Ly(e,t){if(ql===null){var i=ql=[];js=0,Va=Vu(),Xa={status:"pending",value:void 0,then:function(r){i.push(r)}}}return js++,t.then(sd,sd),t}function sd(){if(--js===0&&ql!==null){Xa!==null&&(Xa.status="fulfilled");var e=ql;ql=null,Va=0,Xa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function zy(e,t){var i=[],r={status:"pending",value:null,reason:null,then:function(s){i.push(s)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var s=0;s<i.length;s++)(0,i[s])(t)},function(s){for(r.status="rejected",r.reason=s,s=0;s<i.length;s++)(0,i[s])(void 0)}),r}var ud=L.S;L.S=function(e,t){Vp=yt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ly(e,t),ud!==null&&ud(e,t)};var ha=w(null);function Ys(){var e=ha.current;return e!==null?e:ut.pooledCache}function Wr(e,t){t===null?S(ha,ha.current):S(ha,t.pool)}function cd(){var e=Ys();return e===null?null:{parent:Ot._currentValue,pool:e}}var Pa=Error(o(460)),Ks=Error(o(474)),eo=Error(o(542)),to={then:function(){}};function fd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function dd(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then(se,se),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,md(e),e;default:if(typeof t.status=="string")t.then(se,se);else{if(e=ut,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=r}},function(r){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,md(e),e}throw ba=t,Pa}}function ga(e){try{var t=e._init;return t(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(ba=i,Pa):i}}var ba=null;function pd(){if(ba===null)throw Error(o(459));var e=ba;return ba=null,e}function md(e){if(e===Pa||e===eo)throw Error(o(483))}var Za=null,Fl=0;function no(e){var t=Fl;return Fl+=1,Za===null&&(Za=[]),dd(Za,e,t)}function Gl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function io(e,t){throw t.$$typeof===_?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function hd(e){function t(D,O){if(e){var I=D.deletions;I===null?(D.deletions=[O],D.flags|=16):I.push(O)}}function i(D,O){if(!e)return null;for(;O!==null;)t(D,O),O=O.sibling;return null}function r(D){for(var O=new Map;D!==null;)D.key!==null?O.set(D.key,D):O.set(D.index,D),D=D.sibling;return O}function s(D,O){return D=si(D,O),D.index=0,D.sibling=null,D}function d(D,O,I){return D.index=I,e?(I=D.alternate,I!==null?(I=I.index,I<O?(D.flags|=67108866,O):I):(D.flags|=67108866,O)):(D.flags|=1048576,O)}function y(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function v(D,O,I,P){return O===null||O.tag!==6?(O=Ds(I,D.mode,P),O.return=D,O):(O=s(O,I),O.return=D,O)}function A(D,O,I,P){var ve=I.type;return ve===C?K(D,O,I.props.children,P,I.key):O!==null&&(O.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===ee&&ga(ve)===O.type)?(O=s(O,I.props),Gl(O,I),O.return=D,O):(O=Zr(I.type,I.key,I.props,null,D.mode,P),Gl(O,I),O.return=D,O)}function U(D,O,I,P){return O===null||O.tag!==4||O.stateNode.containerInfo!==I.containerInfo||O.stateNode.implementation!==I.implementation?(O=Ls(I,D.mode,P),O.return=D,O):(O=s(O,I.children||[]),O.return=D,O)}function K(D,O,I,P,ve){return O===null||O.tag!==7?(O=fa(I,D.mode,P,ve),O.return=D,O):(O=s(O,I),O.return=D,O)}function Z(D,O,I){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Ds(""+O,D.mode,I),O.return=D,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case E:return I=Zr(O.type,O.key,O.props,null,D.mode,I),Gl(I,O),I.return=D,I;case x:return O=Ls(O,D.mode,I),O.return=D,O;case ee:return O=ga(O),Z(D,O,I)}if(W(O)||re(O))return O=fa(O,D.mode,I,null),O.return=D,O;if(typeof O.then=="function")return Z(D,no(O),I);if(O.$$typeof===H)return Z(D,Jr(D,O),I);io(D,O)}return null}function q(D,O,I,P){var ve=O!==null?O.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return ve!==null?null:v(D,O,""+I,P);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case E:return I.key===ve?A(D,O,I,P):null;case x:return I.key===ve?U(D,O,I,P):null;case ee:return I=ga(I),q(D,O,I,P)}if(W(I)||re(I))return ve!==null?null:K(D,O,I,P,null);if(typeof I.then=="function")return q(D,O,no(I),P);if(I.$$typeof===H)return q(D,O,Jr(D,I),P);io(D,I)}return null}function G(D,O,I,P,ve){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return D=D.get(I)||null,v(O,D,""+P,ve);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case E:return D=D.get(P.key===null?I:P.key)||null,A(O,D,P,ve);case x:return D=D.get(P.key===null?I:P.key)||null,U(O,D,P,ve);case ee:return P=ga(P),G(D,O,I,P,ve)}if(W(P)||re(P))return D=D.get(I)||null,K(O,D,P,ve,null);if(typeof P.then=="function")return G(D,O,I,no(P),ve);if(P.$$typeof===H)return G(D,O,I,Jr(O,P),ve);io(O,P)}return null}function pe(D,O,I,P){for(var ve=null,Pe=null,be=O,De=O=0,je=null;be!==null&&De<I.length;De++){be.index>De?(je=be,be=null):je=be.sibling;var Ze=q(D,be,I[De],P);if(Ze===null){be===null&&(be=je);break}e&&be&&Ze.alternate===null&&t(D,be),O=d(Ze,O,De),Pe===null?ve=Ze:Pe.sibling=Ze,Pe=Ze,be=je}if(De===I.length)return i(D,be),Ke&&ui(D,De),ve;if(be===null){for(;De<I.length;De++)be=Z(D,I[De],P),be!==null&&(O=d(be,O,De),Pe===null?ve=be:Pe.sibling=be,Pe=be);return Ke&&ui(D,De),ve}for(be=r(be);De<I.length;De++)je=G(be,D,De,I[De],P),je!==null&&(e&&je.alternate!==null&&be.delete(je.key===null?De:je.key),O=d(je,O,De),Pe===null?ve=je:Pe.sibling=je,Pe=je);return e&&be.forEach(function(Ji){return t(D,Ji)}),Ke&&ui(D,De),ve}function Te(D,O,I,P){if(I==null)throw Error(o(151));for(var ve=null,Pe=null,be=O,De=O=0,je=null,Ze=I.next();be!==null&&!Ze.done;De++,Ze=I.next()){be.index>De?(je=be,be=null):je=be.sibling;var Ji=q(D,be,Ze.value,P);if(Ji===null){be===null&&(be=je);break}e&&be&&Ji.alternate===null&&t(D,be),O=d(Ji,O,De),Pe===null?ve=Ji:Pe.sibling=Ji,Pe=Ji,be=je}if(Ze.done)return i(D,be),Ke&&ui(D,De),ve;if(be===null){for(;!Ze.done;De++,Ze=I.next())Ze=Z(D,Ze.value,P),Ze!==null&&(O=d(Ze,O,De),Pe===null?ve=Ze:Pe.sibling=Ze,Pe=Ze);return Ke&&ui(D,De),ve}for(be=r(be);!Ze.done;De++,Ze=I.next())Ze=G(be,D,De,Ze.value,P),Ze!==null&&(e&&Ze.alternate!==null&&be.delete(Ze.key===null?De:Ze.key),O=d(Ze,O,De),Pe===null?ve=Ze:Pe.sibling=Ze,Pe=Ze);return e&&be.forEach(function(VE){return t(D,VE)}),Ke&&ui(D,De),ve}function rt(D,O,I,P){if(typeof I=="object"&&I!==null&&I.type===C&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case E:e:{for(var ve=I.key;O!==null;){if(O.key===ve){if(ve=I.type,ve===C){if(O.tag===7){i(D,O.sibling),P=s(O,I.props.children),P.return=D,D=P;break e}}else if(O.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===ee&&ga(ve)===O.type){i(D,O.sibling),P=s(O,I.props),Gl(P,I),P.return=D,D=P;break e}i(D,O);break}else t(D,O);O=O.sibling}I.type===C?(P=fa(I.props.children,D.mode,P,I.key),P.return=D,D=P):(P=Zr(I.type,I.key,I.props,null,D.mode,P),Gl(P,I),P.return=D,D=P)}return y(D);case x:e:{for(ve=I.key;O!==null;){if(O.key===ve)if(O.tag===4&&O.stateNode.containerInfo===I.containerInfo&&O.stateNode.implementation===I.implementation){i(D,O.sibling),P=s(O,I.children||[]),P.return=D,D=P;break e}else{i(D,O);break}else t(D,O);O=O.sibling}P=Ls(I,D.mode,P),P.return=D,D=P}return y(D);case ee:return I=ga(I),rt(D,O,I,P)}if(W(I))return pe(D,O,I,P);if(re(I)){if(ve=re(I),typeof ve!="function")throw Error(o(150));return I=ve.call(I),Te(D,O,I,P)}if(typeof I.then=="function")return rt(D,O,no(I),P);if(I.$$typeof===H)return rt(D,O,Jr(D,I),P);io(D,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,O!==null&&O.tag===6?(i(D,O.sibling),P=s(O,I),P.return=D,D=P):(i(D,O),P=Ds(I,D.mode,P),P.return=D,D=P),y(D)):i(D,O)}return function(D,O,I,P){try{Fl=0;var ve=rt(D,O,I,P);return Za=null,ve}catch(be){if(be===Pa||be===eo)throw be;var Pe=En(29,be,null,D.mode);return Pe.lanes=P,Pe.return=D,Pe}finally{}}}var ya=hd(!0),gd=hd(!1),zi=!1;function Vs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xs(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 Bi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,i){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,($e&2)!==0){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,t=Pr(e),Wf(e,null,i),t}return Xr(e,r,t,i),Pr(e)}function jl(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,i|=r,t.lanes=i,ke(e,i)}}function Ps(e,t){var i=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var s=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var y={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};d===null?s=d=y:d=d.next=y,i=i.next}while(i!==null);d===null?s=d=t:d=d.next=t}else s=d=t;i={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:r.shared,callbacks:r.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}var Zs=!1;function Yl(){if(Zs){var e=Xa;if(e!==null)throw e}}function Kl(e,t,i,r){Zs=!1;var s=e.updateQueue;zi=!1;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,v=s.shared.pending;if(v!==null){s.shared.pending=null;var A=v,U=A.next;A.next=null,y===null?d=U:y.next=U,y=A;var K=e.alternate;K!==null&&(K=K.updateQueue,v=K.lastBaseUpdate,v!==y&&(v===null?K.firstBaseUpdate=U:v.next=U,K.lastBaseUpdate=A))}if(d!==null){var Z=s.baseState;y=0,K=U=A=null,v=d;do{var q=v.lane&-536870913,G=q!==v.lane;if(G?(Ge&q)===q:(r&q)===q){q!==0&&q===Va&&(Zs=!0),K!==null&&(K=K.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var pe=e,Te=v;q=t;var rt=i;switch(Te.tag){case 1:if(pe=Te.payload,typeof pe=="function"){Z=pe.call(rt,Z,q);break e}Z=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=Te.payload,q=typeof pe=="function"?pe.call(rt,Z,q):pe,q==null)break e;Z=g({},Z,q);break e;case 2:zi=!0}}q=v.callback,q!==null&&(e.flags|=64,G&&(e.flags|=8192),G=s.callbacks,G===null?s.callbacks=[q]:G.push(q))}else G={lane:q,tag:v.tag,payload:v.payload,callback:v.callback,next:null},K===null?(U=K=G,A=Z):K=K.next=G,y|=q;if(v=v.next,v===null){if(v=s.shared.pending,v===null)break;G=v,v=G.next,G.next=null,s.lastBaseUpdate=G,s.shared.pending=null}}while(!0);K===null&&(A=Z),s.baseState=A,s.firstBaseUpdate=U,s.lastBaseUpdate=K,d===null&&(s.shared.lanes=0),Gi|=y,e.lanes=y,e.memoizedState=Z}}function bd(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function yd(e,t){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)bd(i[e],t)}var Qa=w(null),ao=w(0);function Ed(e,t){e=_i,S(ao,e),S(Qa,t),_i=e|t.baseLanes}function Qs(){S(ao,_i),S(Qa,Qa.current)}function $s(){_i=ao.current,j(Qa),j(ao)}var _n=w(null),Ln=null;function Ui(e){var t=e.alternate;S(At,At.current&1),S(_n,e),Ln===null&&(t===null||Qa.current!==null||t.memoizedState!==null)&&(Ln=e)}function Js(e){S(At,At.current),S(_n,e),Ln===null&&(Ln=e)}function _d(e){e.tag===22?(S(At,At.current),S(_n,e),Ln===null&&(Ln=e)):Hi()}function Hi(){S(At,At.current),S(_n,_n.current)}function vn(e){j(_n),Ln===e&&(Ln=null),j(At)}var At=w(0);function lo(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||ac(i)||lc(i)))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)!==0)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 di=0,Re=null,at=null,Mt=null,ro=!1,$a=!1,Ea=!1,oo=0,Vl=0,Ja=null,By=0;function vt(){throw Error(o(321))}function Ws(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!yn(e[i],t[i]))return!1;return!0}function eu(e,t,i,r,s,d){return di=d,Re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e===null||e.memoizedState===null?ip:hu,Ea=!1,d=i(r,s),Ea=!1,$a&&(d=Sd(t,i,r,s)),vd(e),d}function vd(e){L.H=Zl;var t=at!==null&&at.next!==null;if(di=0,Mt=at=Re=null,ro=!1,Vl=0,Ja=null,t)throw Error(o(300));e===null||Rt||(e=e.dependencies,e!==null&&$r(e)&&(Rt=!0))}function Sd(e,t,i,r){Re=e;var s=0;do{if($a&&(Ja=null),Vl=0,$a=!1,25<=s)throw Error(o(301));if(s+=1,Mt=at=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}L.H=ap,d=t(i,r)}while($a);return d}function Iy(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?Xl(t):t,e=e.useState()[0],(at!==null?at.memoizedState:null)!==e&&(Re.flags|=1024),t}function tu(){var e=oo!==0;return oo=0,e}function nu(e,t,i){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i}function iu(e){if(ro){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ro=!1}di=0,Mt=at=Re=null,$a=!1,Vl=oo=0,Ja=null}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mt===null?Re.memoizedState=Mt=e:Mt=Mt.next=e,Mt}function wt(){if(at===null){var e=Re.alternate;e=e!==null?e.memoizedState:null}else e=at.next;var t=Mt===null?Re.memoizedState:Mt.next;if(t!==null)Mt=t,at=e;else{if(e===null)throw Re.alternate===null?Error(o(467)):Error(o(310));at=e,e={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},Mt===null?Re.memoizedState=Mt=e:Mt=Mt.next=e}return Mt}function so(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(e){var t=Vl;return Vl+=1,Ja===null&&(Ja=[]),e=dd(Ja,e,t),t=Re,(Mt===null?t.memoizedState:Mt.next)===null&&(t=t.alternate,L.H=t===null||t.memoizedState===null?ip:hu),e}function uo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xl(e);if(e.$$typeof===H)return Ft(e)}throw Error(o(438,String(e)))}function au(e){var t=null,i=Re.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var r=Re.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=so(),Re.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0)for(i=t.data[t.index]=Array(e),r=0;r<e;r++)i[r]=B;return t.index++,i}function pi(e,t){return typeof t=="function"?t(e):t}function co(e){var t=wt();return lu(t,at,e)}function lu(e,t,i){var r=e.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=i;var s=e.baseQueue,d=r.pending;if(d!==null){if(s!==null){var y=s.next;s.next=d.next,d.next=y}t.baseQueue=s=d,r.pending=null}if(d=e.baseState,s===null)e.memoizedState=d;else{t=s.next;var v=y=null,A=null,U=t,K=!1;do{var Z=U.lane&-536870913;if(Z!==U.lane?(Ge&Z)===Z:(di&Z)===Z){var q=U.revertLane;if(q===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),Z===Va&&(K=!0);else if((di&q)===q){U=U.next,q===Va&&(K=!0);continue}else Z={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},A===null?(v=A=Z,y=d):A=A.next=Z,Re.lanes|=q,Gi|=q;Z=U.action,Ea&&i(d,Z),d=U.hasEagerState?U.eagerState:i(d,Z)}else q={lane:Z,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},A===null?(v=A=q,y=d):A=A.next=q,Re.lanes|=Z,Gi|=Z;U=U.next}while(U!==null&&U!==t);if(A===null?y=d:A.next=v,!yn(d,e.memoizedState)&&(Rt=!0,K&&(i=Xa,i!==null)))throw i;e.memoizedState=d,e.baseState=y,e.baseQueue=A,r.lastRenderedState=d}return s===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ru(e){var t=wt(),i=t.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var r=i.dispatch,s=i.pending,d=t.memoizedState;if(s!==null){i.pending=null;var y=s=s.next;do d=e(d,y.action),y=y.next;while(y!==s);yn(d,t.memoizedState)||(Rt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),i.lastRenderedState=d}return[d,r]}function xd(e,t,i){var r=Re,s=wt(),d=Ke;if(d){if(i===void 0)throw Error(o(407));i=i()}else i=t();var y=!yn((at||s).memoizedState,i);if(y&&(s.memoizedState=i,Rt=!0),s=s.queue,uu(Ad.bind(null,r,s,e),[e]),s.getSnapshot!==t||y||Mt!==null&&Mt.memoizedState.tag&1){if(r.flags|=2048,Wa(9,{destroy:void 0},Nd.bind(null,r,s,i,t),null),ut===null)throw Error(o(349));d||(di&127)!==0||Td(r,t,i)}return i}function Td(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Re.updateQueue,t===null?(t=so(),Re.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function Nd(e,t,i,r){t.value=i,t.getSnapshot=r,wd(t)&&kd(e)}function Ad(e,t,i){return i(function(){wd(t)&&kd(e)})}function wd(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!yn(e,i)}catch{return!0}}function kd(e){var t=ca(e,2);t!==null&&fn(t,e,2)}function ou(e){var t=Wt();if(typeof e=="function"){var i=e;if(e=i(),Ea){Yt(!0);try{i()}finally{Yt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:e},t}function Cd(e,t,i,r){return e.baseState=i,lu(e,at,typeof r=="function"?r:pi)}function Uy(e,t,i,r,s){if(mo(e))throw Error(o(485));if(e=t.action,e!==null){var d={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){d.listeners.push(y)}};L.T!==null?i(!0):d.isTransition=!1,r(d),i=t.pending,i===null?(d.next=t.pending=d,Od(t,d)):(d.next=i.next,t.pending=i.next=d)}}function Od(e,t){var i=t.action,r=t.payload,s=e.state;if(t.isTransition){var d=L.T,y={};L.T=y;try{var v=i(s,r),A=L.S;A!==null&&A(y,v),Md(e,t,v)}catch(U){su(e,t,U)}finally{d!==null&&y.types!==null&&(d.types=y.types),L.T=d}}else try{d=i(s,r),Md(e,t,d)}catch(U){su(e,t,U)}}function Md(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){Rd(e,t,r)},function(r){return su(e,t,r)}):Rd(e,t,i)}function Rd(e,t,i){t.status="fulfilled",t.value=i,Dd(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Od(e,i)))}function su(e,t,i){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=i,Dd(t),t=t.next;while(t!==r)}e.action=null}function Dd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ld(e,t){return t}function zd(e,t){if(Ke){var i=ut.formState;if(i!==null){e:{var r=Re;if(Ke){if(mt){t:{for(var s=mt,d=Dn;s.nodeType!==8;){if(!d){s=null;break t}if(s=zn(s.nextSibling),s===null){s=null;break t}}d=s.data,s=d==="F!"||d==="F"?s:null}if(s){mt=zn(s.nextSibling),r=s.data==="F!";break e}}Di(r)}r=!1}r&&(t=i[0])}}return i=Wt(),i.memoizedState=i.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ld,lastRenderedState:t},i.queue=r,i=ep.bind(null,Re,r),r.dispatch=i,r=ou(!1),d=mu.bind(null,Re,!1,r.queue),r=Wt(),s={state:t,dispatch:null,action:e,pending:null},r.queue=s,i=Uy.bind(null,Re,s,d,i),s.dispatch=i,r.memoizedState=e,[t,i,!1]}function Bd(e){var t=wt();return Id(t,at,e)}function Id(e,t,i){if(t=lu(e,t,Ld)[0],e=co(pi)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Xl(t)}catch(y){throw y===Pa?eo:y}else r=t;t=wt();var s=t.queue,d=s.dispatch;return i!==t.memoizedState&&(Re.flags|=2048,Wa(9,{destroy:void 0},Hy.bind(null,s,i),null)),[r,d,e]}function Hy(e,t){e.action=t}function Ud(e){var t=wt(),i=at;if(i!==null)return Id(t,i,e);wt(),t=t.memoizedState,i=wt();var r=i.queue.dispatch;return i.memoizedState=e,[t,r,!1]}function Wa(e,t,i,r){return e={tag:e,create:i,deps:r,inst:t,next:null},t=Re.updateQueue,t===null&&(t=so(),Re.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(r=i.next,i.next=e,e.next=r,t.lastEffect=e),e}function Hd(){return wt().memoizedState}function fo(e,t,i,r){var s=Wt();Re.flags|=e,s.memoizedState=Wa(1|t,{destroy:void 0},i,r===void 0?null:r)}function po(e,t,i,r){var s=wt();r=r===void 0?null:r;var d=s.memoizedState.inst;at!==null&&r!==null&&Ws(r,at.memoizedState.deps)?s.memoizedState=Wa(t,d,i,r):(Re.flags|=e,s.memoizedState=Wa(1|t,d,i,r))}function qd(e,t){fo(8390656,8,e,t)}function uu(e,t){po(2048,8,e,t)}function qy(e){Re.flags|=4;var t=Re.updateQueue;if(t===null)t=so(),Re.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function Fd(e){var t=wt().memoizedState;return qy({ref:t,nextImpl:e}),function(){if(($e&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Gd(e,t){return po(4,2,e,t)}function jd(e,t){return po(4,4,e,t)}function Yd(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Kd(e,t,i){i=i!=null?i.concat([e]):null,po(4,4,Yd.bind(null,t,e),i)}function cu(){}function Vd(e,t){var i=wt();t=t===void 0?null:t;var r=i.memoizedState;return t!==null&&Ws(t,r[1])?r[0]:(i.memoizedState=[e,t],e)}function Xd(e,t){var i=wt();t=t===void 0?null:t;var r=i.memoizedState;if(t!==null&&Ws(t,r[1]))return r[0];if(r=e(),Ea){Yt(!0);try{e()}finally{Yt(!1)}}return i.memoizedState=[r,t],r}function fu(e,t,i){return i===void 0||(di&1073741824)!==0&&(Ge&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=Pp(),Re.lanes|=e,Gi|=e,i)}function Pd(e,t,i,r){return yn(i,t)?i:Qa.current!==null?(e=fu(e,i,r),yn(e,t)||(Rt=!0),e):(di&42)===0||(di&1073741824)!==0&&(Ge&261930)===0?(Rt=!0,e.memoizedState=i):(e=Pp(),Re.lanes|=e,Gi|=e,t)}function Zd(e,t,i,r,s){var d=J.p;J.p=d!==0&&8>d?d:8;var y=L.T,v={};L.T=v,mu(e,!1,t,i);try{var A=s(),U=L.S;if(U!==null&&U(v,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var K=zy(A,r);Pl(e,t,K,Tn(e))}else Pl(e,t,r,Tn(e))}catch(Z){Pl(e,t,{then:function(){},status:"rejected",reason:Z},Tn())}finally{J.p=d,y!==null&&v.types!==null&&(y.types=v.types),L.T=y}}function Fy(){}function du(e,t,i,r){if(e.tag!==5)throw Error(o(476));var s=Qd(e).queue;Zd(e,s,t,ne,i===null?Fy:function(){return $d(e),i(r)})}function Qd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:ne},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function $d(e){var t=Qd(e);t.next===null&&(t=e.alternate.memoizedState),Pl(e,t.next.queue,{},Tn())}function pu(){return Ft(fr)}function Jd(){return wt().memoizedState}function Wd(){return wt().memoizedState}function Gy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var i=Tn();e=Bi(i);var r=Ii(t,e,i);r!==null&&(fn(r,t,i),jl(r,t,i)),t={cache:Gs()},e.payload=t;return}t=t.return}}function jy(e,t,i){var r=Tn();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},mo(e)?tp(t,i):(i=Ms(e,t,i,r),i!==null&&(fn(i,e,r),np(i,t,r)))}function ep(e,t,i){var r=Tn();Pl(e,t,i,r)}function Pl(e,t,i,r){var s={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(mo(e))tp(t,s);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,v=d(y,i);if(s.hasEagerState=!0,s.eagerState=v,yn(v,y))return Xr(e,t,s,0),ut===null&&Vr(),!1}catch{}finally{}if(i=Ms(e,t,s,r),i!==null)return fn(i,e,r),np(i,t,r),!0}return!1}function mu(e,t,i,r){if(r={lane:2,revertLane:Vu(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},mo(e)){if(t)throw Error(o(479))}else t=Ms(e,i,r,2),t!==null&&fn(t,e,2)}function mo(e){var t=e.alternate;return e===Re||t!==null&&t===Re}function tp(e,t){$a=ro=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function np(e,t,i){if((i&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,i|=r,t.lanes=i,ke(e,i)}}var Zl={readContext:Ft,use:uo,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useLayoutEffect:vt,useInsertionEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useSyncExternalStore:vt,useId:vt,useHostTransitionStatus:vt,useFormState:vt,useActionState:vt,useOptimistic:vt,useMemoCache:vt,useCacheRefresh:vt};Zl.useEffectEvent=vt;var ip={readContext:Ft,use:uo,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:Ft,useEffect:qd,useImperativeHandle:function(e,t,i){i=i!=null?i.concat([e]):null,fo(4194308,4,Yd.bind(null,t,e),i)},useLayoutEffect:function(e,t){return fo(4194308,4,e,t)},useInsertionEffect:function(e,t){fo(4,2,e,t)},useMemo:function(e,t){var i=Wt();t=t===void 0?null:t;var r=e();if(Ea){Yt(!0);try{e()}finally{Yt(!1)}}return i.memoizedState=[r,t],r},useReducer:function(e,t,i){var r=Wt();if(i!==void 0){var s=i(t);if(Ea){Yt(!0);try{i(t)}finally{Yt(!1)}}}else s=t;return r.memoizedState=r.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},r.queue=e,e=e.dispatch=jy.bind(null,Re,e),[r.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:function(e){e=ou(e);var t=e.queue,i=ep.bind(null,Re,t);return t.dispatch=i,[e.memoizedState,i]},useDebugValue:cu,useDeferredValue:function(e,t){var i=Wt();return fu(i,e,t)},useTransition:function(){var e=ou(!1);return e=Zd.bind(null,Re,e.queue,!0,!1),Wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,i){var r=Re,s=Wt();if(Ke){if(i===void 0)throw Error(o(407));i=i()}else{if(i=t(),ut===null)throw Error(o(349));(Ge&127)!==0||Td(r,t,i)}s.memoizedState=i;var d={value:i,getSnapshot:t};return s.queue=d,qd(Ad.bind(null,r,d,e),[e]),r.flags|=2048,Wa(9,{destroy:void 0},Nd.bind(null,r,d,i,t),null),i},useId:function(){var e=Wt(),t=ut.identifierPrefix;if(Ke){var i=Zn,r=Pn;i=(r&~(1<<32-We(r)-1)).toString(32)+i,t="_"+t+"R_"+i,i=oo++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=By++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:pu,useFormState:zd,useActionState:zd,useOptimistic:function(e){var t=Wt();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=mu.bind(null,Re,!0,i),i.dispatch=t,[e,t]},useMemoCache:au,useCacheRefresh:function(){return Wt().memoizedState=Gy.bind(null,Re)},useEffectEvent:function(e){var t=Wt(),i={impl:e};return t.memoizedState=i,function(){if(($e&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}},hu={readContext:Ft,use:uo,useCallback:Vd,useContext:Ft,useEffect:uu,useImperativeHandle:Kd,useInsertionEffect:Gd,useLayoutEffect:jd,useMemo:Xd,useReducer:co,useRef:Hd,useState:function(){return co(pi)},useDebugValue:cu,useDeferredValue:function(e,t){var i=wt();return Pd(i,at.memoizedState,e,t)},useTransition:function(){var e=co(pi)[0],t=wt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]},useSyncExternalStore:xd,useId:Jd,useHostTransitionStatus:pu,useFormState:Bd,useActionState:Bd,useOptimistic:function(e,t){var i=wt();return Cd(i,at,e,t)},useMemoCache:au,useCacheRefresh:Wd};hu.useEffectEvent=Fd;var ap={readContext:Ft,use:uo,useCallback:Vd,useContext:Ft,useEffect:uu,useImperativeHandle:Kd,useInsertionEffect:Gd,useLayoutEffect:jd,useMemo:Xd,useReducer:ru,useRef:Hd,useState:function(){return ru(pi)},useDebugValue:cu,useDeferredValue:function(e,t){var i=wt();return at===null?fu(i,e,t):Pd(i,at.memoizedState,e,t)},useTransition:function(){var e=ru(pi)[0],t=wt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]},useSyncExternalStore:xd,useId:Jd,useHostTransitionStatus:pu,useFormState:Ud,useActionState:Ud,useOptimistic:function(e,t){var i=wt();return at!==null?Cd(i,at,e,t):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:au,useCacheRefresh:Wd};ap.useEffectEvent=Fd;function gu(e,t,i,r){t=e.memoizedState,i=i(r,t),i=i==null?t:g({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var bu={enqueueSetState:function(e,t,i){e=e._reactInternals;var r=Tn(),s=Bi(r);s.payload=t,i!=null&&(s.callback=i),t=Ii(e,s,r),t!==null&&(fn(t,e,r),jl(t,e,r))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var r=Tn(),s=Bi(r);s.tag=1,s.payload=t,i!=null&&(s.callback=i),t=Ii(e,s,r),t!==null&&(fn(t,e,r),jl(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Tn(),r=Bi(i);r.tag=2,t!=null&&(r.callback=t),t=Ii(e,r,i),t!==null&&(fn(t,e,i),jl(t,e,i))}};function lp(e,t,i,r,s,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,d,y):t.prototype&&t.prototype.isPureReactComponent?!zl(i,r)||!zl(s,d):!0}function rp(e,t,i,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,r),t.state!==e&&bu.enqueueReplaceState(t,t.state,null)}function _a(e,t){var i=t;if("ref"in t){i={};for(var r in t)r!=="ref"&&(i[r]=t[r])}if(e=e.defaultProps){i===t&&(i=g({},i));for(var s in e)i[s]===void 0&&(i[s]=e[s])}return i}function op(e){Kr(e)}function sp(e){console.error(e)}function up(e){Kr(e)}function ho(e,t){try{var i=e.onUncaughtError;i(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function cp(e,t,i){try{var r=e.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function yu(e,t,i){return i=Bi(i),i.tag=3,i.payload={element:null},i.callback=function(){ho(e,t)},i}function fp(e){return e=Bi(e),e.tag=3,e}function dp(e,t,i,r){var s=i.type.getDerivedStateFromError;if(typeof s=="function"){var d=r.value;e.payload=function(){return s(d)},e.callback=function(){cp(t,i,r)}}var y=i.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){cp(t,i,r),typeof s!="function"&&(ji===null?ji=new Set([this]):ji.add(this));var v=r.stack;this.componentDidCatch(r.value,{componentStack:v!==null?v:""})})}function Yy(e,t,i,r,s){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=i.alternate,t!==null&&Ka(t,i,s,!0),i=_n.current,i!==null){switch(i.tag){case 31:case 13:return Ln===null?wo():i.alternate===null&&St===0&&(St=3),i.flags&=-257,i.flags|=65536,i.lanes=s,r===to?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([r]):t.add(r),ju(e,r,s)),!1;case 22:return i.flags|=65536,r===to?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([r]):i.add(r)),ju(e,r,s)),!1}throw Error(o(435,i.tag))}return ju(e,r,s),wo(),!1}if(Ke)return t=_n.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,r!==Is&&(e=Error(o(422),{cause:r}),Ul(On(e,i)))):(r!==Is&&(t=Error(o(423),{cause:r}),Ul(On(t,i))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,r=On(r,i),s=yu(e.stateNode,r,s),Ps(e,s),St!==4&&(St=2)),!1;var d=Error(o(520),{cause:r});if(d=On(d,i),ir===null?ir=[d]:ir.push(d),St!==4&&(St=2),t===null)return!0;r=On(r,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=s&-s,i.lanes|=e,e=yu(i.stateNode,r,e),Ps(i,e),!1;case 1:if(t=i.type,d=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ji===null||!ji.has(d))))return i.flags|=65536,s&=-s,i.lanes|=s,s=fp(s),dp(s,e,i,r),Ps(i,s),!1}i=i.return}while(i!==null);return!1}var Eu=Error(o(461)),Rt=!1;function Gt(e,t,i,r){t.child=e===null?gd(t,null,i,r):ya(t,e.child,i,r)}function pp(e,t,i,r,s){i=i.render;var d=t.ref;if("ref"in r){var y={};for(var v in r)v!=="ref"&&(y[v]=r[v])}else y=r;return ma(t),r=eu(e,t,i,y,d,s),v=tu(),e!==null&&!Rt?(nu(e,t,s),mi(e,t,s)):(Ke&&v&&zs(t),t.flags|=1,Gt(e,t,r,s),t.child)}function mp(e,t,i,r,s){if(e===null){var d=i.type;return typeof d=="function"&&!Rs(d)&&d.defaultProps===void 0&&i.compare===null?(t.tag=15,t.type=d,hp(e,t,d,r,s)):(e=Zr(i.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!wu(e,s)){var y=d.memoizedProps;if(i=i.compare,i=i!==null?i:zl,i(y,r)&&e.ref===t.ref)return mi(e,t,s)}return t.flags|=1,e=si(d,r),e.ref=t.ref,e.return=t,t.child=e}function hp(e,t,i,r,s){if(e!==null){var d=e.memoizedProps;if(zl(d,r)&&e.ref===t.ref)if(Rt=!1,t.pendingProps=r=d,wu(e,s))(e.flags&131072)!==0&&(Rt=!0);else return t.lanes=e.lanes,mi(e,t,s)}return _u(e,t,i,r,s)}function gp(e,t,i,r){var s=r.children,d=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(d=d!==null?d.baseLanes|i:i,e!==null){for(r=t.child=e.child,s=0;r!==null;)s=s|r.lanes|r.childLanes,r=r.sibling;r=s&~d}else r=0,t.child=null;return bp(e,t,d,i,r)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Wr(t,d!==null?d.cachePool:null),d!==null?Ed(t,d):Qs(),_d(t);else return r=t.lanes=536870912,bp(e,t,d!==null?d.baseLanes|i:i,i,r)}else d!==null?(Wr(t,d.cachePool),Ed(t,d),Hi(),t.memoizedState=null):(e!==null&&Wr(t,null),Qs(),Hi());return Gt(e,t,s,i),t.child}function Ql(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function bp(e,t,i,r,s){var d=Ys();return d=d===null?null:{parent:Ot._currentValue,pool:d},t.memoizedState={baseLanes:i,cachePool:d},e!==null&&Wr(t,null),Qs(),_d(t),e!==null&&Ka(e,t,r,!0),t.childLanes=s,null}function go(e,t){return t=yo({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function yp(e,t,i){return ya(t,e.child,null,i),e=go(t,t.pendingProps),e.flags|=2,vn(t),t.memoizedState=null,e}function Ky(e,t,i){var r=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ke){if(r.mode==="hidden")return e=go(t,r),t.lanes=536870912,Ql(null,e);if(Js(t),(e=mt)?(e=Om(e,Dn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi!==null?{id:Pn,overflow:Zn}:null,retryLane:536870912,hydrationErrors:null},i=td(e),i.return=t,t.child=i,qt=t,mt=null)):e=null,e===null)throw Di(t);return t.lanes=536870912,null}return go(t,r)}var d=e.memoizedState;if(d!==null){var y=d.dehydrated;if(Js(t),s)if(t.flags&256)t.flags&=-257,t=yp(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Rt||Ka(e,t,i,!1),s=(i&e.childLanes)!==0,Rt||s){if(r=ut,r!==null&&(y=xt(r,i),y!==0&&y!==d.retryLane))throw d.retryLane=y,ca(e,y),fn(r,e,y),Eu;wo(),t=yp(e,t,i)}else e=d.treeContext,mt=zn(y.nextSibling),qt=t,Ke=!0,Ri=null,Dn=!1,e!==null&&ad(t,e),t=go(t,r),t.flags|=4096;return t}return e=si(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function bo(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(o(284));(e===null||e.ref!==i)&&(t.flags|=4194816)}}function _u(e,t,i,r,s){return ma(t),i=eu(e,t,i,r,void 0,s),r=tu(),e!==null&&!Rt?(nu(e,t,s),mi(e,t,s)):(Ke&&r&&zs(t),t.flags|=1,Gt(e,t,i,s),t.child)}function Ep(e,t,i,r,s,d){return ma(t),t.updateQueue=null,i=Sd(t,r,i,s),vd(e),r=tu(),e!==null&&!Rt?(nu(e,t,d),mi(e,t,d)):(Ke&&r&&zs(t),t.flags|=1,Gt(e,t,i,d),t.child)}function _p(e,t,i,r,s){if(ma(t),t.stateNode===null){var d=Fa,y=i.contextType;typeof y=="object"&&y!==null&&(d=Ft(y)),d=new i(r,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=bu,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=r,d.state=t.memoizedState,d.refs={},Vs(t),y=i.contextType,d.context=typeof y=="object"&&y!==null?Ft(y):Fa,d.state=t.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(gu(t,i,y,r),d.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&bu.enqueueReplaceState(d,d.state,null),Kl(t,r,d,s),Yl(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){d=t.stateNode;var v=t.memoizedProps,A=_a(i,v);d.props=A;var U=d.context,K=i.contextType;y=Fa,typeof K=="object"&&K!==null&&(y=Ft(K));var Z=i.getDerivedStateFromProps;K=typeof Z=="function"||typeof d.getSnapshotBeforeUpdate=="function",v=t.pendingProps!==v,K||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v||U!==y)&&rp(t,d,r,y),zi=!1;var q=t.memoizedState;d.state=q,Kl(t,r,d,s),Yl(),U=t.memoizedState,v||q!==U||zi?(typeof Z=="function"&&(gu(t,i,Z,r),U=t.memoizedState),(A=zi||lp(t,i,A,r,q,U,y))?(K||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=U),d.props=r,d.state=U,d.context=y,r=A):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{d=t.stateNode,Xs(e,t),y=t.memoizedProps,K=_a(i,y),d.props=K,Z=t.pendingProps,q=d.context,U=i.contextType,A=Fa,typeof U=="object"&&U!==null&&(A=Ft(U)),v=i.getDerivedStateFromProps,(U=typeof v=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(y!==Z||q!==A)&&rp(t,d,r,A),zi=!1,q=t.memoizedState,d.state=q,Kl(t,r,d,s),Yl();var G=t.memoizedState;y!==Z||q!==G||zi||e!==null&&e.dependencies!==null&&$r(e.dependencies)?(typeof v=="function"&&(gu(t,i,v,r),G=t.memoizedState),(K=zi||lp(t,i,K,r,q,G,A)||e!==null&&e.dependencies!==null&&$r(e.dependencies))?(U||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(r,G,A),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(r,G,A)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=G),d.props=r,d.state=G,d.context=A,r=K):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),r=!1)}return d=r,bo(e,t),r=(t.flags&128)!==0,d||r?(d=t.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&r?(t.child=ya(t,e.child,null,s),t.child=ya(t,null,i,s)):Gt(e,t,i,s),t.memoizedState=d.state,e=t.child):e=mi(e,t,s),e}function vp(e,t,i,r){return da(),t.flags|=256,Gt(e,t,i,r),t.child}var vu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Su(e){return{baseLanes:e,cachePool:cd()}}function xu(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=xn),e}function Sp(e,t,i){var r=t.pendingProps,s=!1,d=(t.flags&128)!==0,y;if((y=d)||(y=e!==null&&e.memoizedState===null?!1:(At.current&2)!==0),y&&(s=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ke){if(s?Ui(t):Hi(),(e=mt)?(e=Om(e,Dn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi!==null?{id:Pn,overflow:Zn}:null,retryLane:536870912,hydrationErrors:null},i=td(e),i.return=t,t.child=i,qt=t,mt=null)):e=null,e===null)throw Di(t);return lc(e)?t.lanes=32:t.lanes=536870912,null}var v=r.children;return r=r.fallback,s?(Hi(),s=t.mode,v=yo({mode:"hidden",children:v},s),r=fa(r,s,i,null),v.return=t,r.return=t,v.sibling=r,t.child=v,r=t.child,r.memoizedState=Su(i),r.childLanes=xu(e,y,i),t.memoizedState=vu,Ql(null,r)):(Ui(t),Tu(t,v))}var A=e.memoizedState;if(A!==null&&(v=A.dehydrated,v!==null)){if(d)t.flags&256?(Ui(t),t.flags&=-257,t=Nu(e,t,i)):t.memoizedState!==null?(Hi(),t.child=e.child,t.flags|=128,t=null):(Hi(),v=r.fallback,s=t.mode,r=yo({mode:"visible",children:r.children},s),v=fa(v,s,i,null),v.flags|=2,r.return=t,v.return=t,r.sibling=v,t.child=r,ya(t,e.child,null,i),r=t.child,r.memoizedState=Su(i),r.childLanes=xu(e,y,i),t.memoizedState=vu,t=Ql(null,r));else if(Ui(t),lc(v)){if(y=v.nextSibling&&v.nextSibling.dataset,y)var U=y.dgst;y=U,r=Error(o(419)),r.stack="",r.digest=y,Ul({value:r,source:null,stack:null}),t=Nu(e,t,i)}else if(Rt||Ka(e,t,i,!1),y=(i&e.childLanes)!==0,Rt||y){if(y=ut,y!==null&&(r=xt(y,i),r!==0&&r!==A.retryLane))throw A.retryLane=r,ca(e,r),fn(y,e,r),Eu;ac(v)||wo(),t=Nu(e,t,i)}else ac(v)?(t.flags|=192,t.child=e.child,t=null):(e=A.treeContext,mt=zn(v.nextSibling),qt=t,Ke=!0,Ri=null,Dn=!1,e!==null&&ad(t,e),t=Tu(t,r.children),t.flags|=4096);return t}return s?(Hi(),v=r.fallback,s=t.mode,A=e.child,U=A.sibling,r=si(A,{mode:"hidden",children:r.children}),r.subtreeFlags=A.subtreeFlags&65011712,U!==null?v=si(U,v):(v=fa(v,s,i,null),v.flags|=2),v.return=t,r.return=t,r.sibling=v,t.child=r,Ql(null,r),r=t.child,v=e.child.memoizedState,v===null?v=Su(i):(s=v.cachePool,s!==null?(A=Ot._currentValue,s=s.parent!==A?{parent:A,pool:A}:s):s=cd(),v={baseLanes:v.baseLanes|i,cachePool:s}),r.memoizedState=v,r.childLanes=xu(e,y,i),t.memoizedState=vu,Ql(e.child,r)):(Ui(t),i=e.child,e=i.sibling,i=si(i,{mode:"visible",children:r.children}),i.return=t,i.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=i,t.memoizedState=null,i)}function Tu(e,t){return t=yo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function yo(e,t){return e=En(22,e,null,t),e.lanes=0,e}function Nu(e,t,i){return ya(t,e.child,null,i),e=Tu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xp(e,t,i){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qs(e.return,t,i)}function Au(e,t,i,r,s,d){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:s,treeForkCount:d}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=r,y.tail=i,y.tailMode=s,y.treeForkCount=d)}function Tp(e,t,i){var r=t.pendingProps,s=r.revealOrder,d=r.tail;r=r.children;var y=At.current,v=(y&2)!==0;if(v?(y=y&1|2,t.flags|=128):y&=1,S(At,y),Gt(e,t,r,i),r=Ke?Il:0,!v&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xp(e,i,t);else if(e.tag===19)xp(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(i=t.child,s=null;i!==null;)e=i.alternate,e!==null&&lo(e)===null&&(s=i),i=i.sibling;i=s,i===null?(s=t.child,t.child=null):(s=i.sibling,i.sibling=null),Au(t,!1,s,i,d,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&lo(e)===null){t.child=s;break}e=s.sibling,s.sibling=i,i=s,s=e}Au(t,!0,i,null,d,r);break;case"together":Au(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function mi(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Gi|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(Ka(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,i=si(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=si(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function wu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&$r(e)))}function Vy(e,t,i){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),Li(t,Ot,e.memoizedState.cache),da();break;case 27:case 5:zt(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:Li(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Js(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(Ui(t),t.flags|=128,null):(i&t.child.childLanes)!==0?Sp(e,t,i):(Ui(t),e=mi(e,t,i),e!==null?e.sibling:null);Ui(t);break;case 19:var s=(e.flags&128)!==0;if(r=(i&t.childLanes)!==0,r||(Ka(e,t,i,!1),r=(i&t.childLanes)!==0),s){if(r)return Tp(e,t,i);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),S(At,At.current),r)break;return null;case 22:return t.lanes=0,gp(e,t,i,t.pendingProps);case 24:Li(t,Ot,e.memoizedState.cache)}return mi(e,t,i)}function Np(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps)Rt=!0;else{if(!wu(e,i)&&(t.flags&128)===0)return Rt=!1,Vy(e,t,i);Rt=(e.flags&131072)!==0}else Rt=!1,Ke&&(t.flags&1048576)!==0&&id(t,Il,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ga(t.elementType),t.type=e,typeof e=="function")Rs(e)?(r=_a(e,r),t.tag=1,t=_p(null,t,e,r,i)):(t.tag=0,t=_u(null,t,e,r,i));else{if(e!=null){var s=e.$$typeof;if(s===$){t.tag=11,t=pp(null,t,e,r,i);break e}else if(s===Q){t.tag=14,t=mp(null,t,e,r,i);break e}}throw t=oe(e)||e,Error(o(306,t,""))}}return t;case 0:return _u(e,t,t.type,t.pendingProps,i);case 1:return r=t.type,s=_a(r,t.pendingProps),_p(e,t,r,s,i);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error(o(387));r=t.pendingProps;var d=t.memoizedState;s=d.element,Xs(e,t),Kl(t,r,null,i);var y=t.memoizedState;if(r=y.cache,Li(t,Ot,r),r!==d.cache&&Fs(t,[Ot],i,!0),Yl(),r=y.element,d.isDehydrated)if(d={element:r,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=vp(e,t,r,i);break e}else if(r!==s){s=On(Error(o(424)),t),Ul(s),t=vp(e,t,r,i);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(mt=zn(e.firstChild),qt=t,Ke=!0,Ri=null,Dn=!0,i=gd(t,null,r,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(da(),r===s){t=mi(e,t,i);break e}Gt(e,t,r,i)}t=t.child}return t;case 26:return bo(e,t),e===null?(i=Bm(t.type,null,t.pendingProps,null))?t.memoizedState=i:Ke||(i=t.type,e=t.pendingProps,r=Lo(he.current).createElement(i),r[Tt]=t,r[Kt]=e,jt(r,i,e),kt(r),t.stateNode=r):t.memoizedState=Bm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return zt(t),e===null&&Ke&&(r=t.stateNode=Dm(t.type,t.pendingProps,he.current),qt=t,Dn=!0,s=mt,Xi(t.type)?(rc=s,mt=zn(r.firstChild)):mt=s),Gt(e,t,t.pendingProps.children,i),bo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ke&&((s=r=mt)&&(r=SE(r,t.type,t.pendingProps,Dn),r!==null?(t.stateNode=r,qt=t,mt=zn(r.firstChild),Dn=!1,s=!0):s=!1),s||Di(t)),zt(t),s=t.type,d=t.pendingProps,y=e!==null?e.memoizedProps:null,r=d.children,tc(s,d)?r=null:y!==null&&tc(s,y)&&(t.flags|=32),t.memoizedState!==null&&(s=eu(e,t,Iy,null,null,i),fr._currentValue=s),bo(e,t),Gt(e,t,r,i),t.child;case 6:return e===null&&Ke&&((e=i=mt)&&(i=xE(i,t.pendingProps,Dn),i!==null?(t.stateNode=i,qt=t,mt=null,e=!0):e=!1),e||Di(t)),null;case 13:return Sp(e,t,i);case 4:return Je(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ya(t,null,r,i):Gt(e,t,r,i),t.child;case 11:return pp(e,t,t.type,t.pendingProps,i);case 7:return Gt(e,t,t.pendingProps,i),t.child;case 8:return Gt(e,t,t.pendingProps.children,i),t.child;case 12:return Gt(e,t,t.pendingProps.children,i),t.child;case 10:return r=t.pendingProps,Li(t,t.type,r.value),Gt(e,t,r.children,i),t.child;case 9:return s=t.type._context,r=t.pendingProps.children,ma(t),s=Ft(s),r=r(s),t.flags|=1,Gt(e,t,r,i),t.child;case 14:return mp(e,t,t.type,t.pendingProps,i);case 15:return hp(e,t,t.type,t.pendingProps,i);case 19:return Tp(e,t,i);case 31:return Ky(e,t,i);case 22:return gp(e,t,i,t.pendingProps);case 24:return ma(t),r=Ft(Ot),e===null?(s=Ys(),s===null&&(s=ut,d=Gs(),s.pooledCache=d,d.refCount++,d!==null&&(s.pooledCacheLanes|=i),s=d),t.memoizedState={parent:r,cache:s},Vs(t),Li(t,Ot,s)):((e.lanes&i)!==0&&(Xs(e,t),Kl(t,null,null,i),Yl()),s=e.memoizedState,d=t.memoizedState,s.parent!==r?(s={parent:r,cache:r},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Li(t,Ot,r)):(r=d.cache,Li(t,Ot,r),r!==s.cache&&Fs(t,[Ot],i,!0))),Gt(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function hi(e){e.flags|=4}function ku(e,t,i,r,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Jp())e.flags|=8192;else throw ba=to,Ks}else e.flags&=-16777217}function Ap(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Fm(t))if(Jp())e.flags|=8192;else throw ba=to,Ks}function Eo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ce():536870912,e.lanes|=t,il|=t)}function $l(e,t){if(!Ke)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,r=0;if(t)for(var s=e.child;s!==null;)i|=s.lanes|s.childLanes,r|=s.subtreeFlags&65011712,r|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)i|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=i,t}function Xy(e,t,i){var r=t.pendingProps;switch(Bs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return ht(t),null;case 3:return i=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),fi(Ot),Qe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ya(t)?hi(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Us())),ht(t),null;case 26:var s=t.type,d=t.memoizedState;return e===null?(hi(t),d!==null?(ht(t),Ap(t,d)):(ht(t),ku(t,s,null,r,i))):d?d!==e.memoizedState?(hi(t),ht(t),Ap(t,d)):(ht(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&hi(t),ht(t),ku(t,s,e,r,i)),null;case 27:if(mn(t),i=he.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&hi(t);else{if(!r){if(t.stateNode===null)throw Error(o(166));return ht(t),null}e=ce.current,Ya(t)?ld(t):(e=Dm(s,r,i),t.stateNode=e,hi(t))}return ht(t),null;case 5:if(mn(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&hi(t);else{if(!r){if(t.stateNode===null)throw Error(o(166));return ht(t),null}if(d=ce.current,Ya(t))ld(t);else{var y=Lo(he.current);switch(d){case 1:d=y.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:d=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":d=y.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":d=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":d=y.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof r.is=="string"?y.createElement("select",{is:r.is}):y.createElement("select"),r.multiple?d.multiple=!0:r.size&&(d.size=r.size);break;default:d=typeof r.is=="string"?y.createElement(s,{is:r.is}):y.createElement(s)}}d[Tt]=t,d[Kt]=r;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)d.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=d;e:switch(jt(d,s,r),s){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&hi(t)}}return ht(t),ku(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&hi(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(o(166));if(e=he.current,Ya(t)){if(e=t.stateNode,i=t.memoizedProps,r=null,s=qt,s!==null)switch(s.tag){case 27:case 5:r=s.memoizedProps}e[Tt]=t,e=!!(e.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||Sm(e.nodeValue,i)),e||Di(t,!0)}else e=Lo(e).createTextNode(r),e[Tt]=t,t.stateNode=e}return ht(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ya(t),i!==null){if(e===null){if(!r)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Tt]=t}else da(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),e=!1}else i=Us(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(vn(t),t):(vn(t),null);if((t.flags&128)!==0)throw Error(o(558))}return ht(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Ya(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(o(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(o(317));s[Tt]=t}else da(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),s=!1}else s=Us(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(vn(t),t):(vn(t),null)}return vn(t),(t.flags&128)!==0?(t.lanes=i,t):(i=r!==null,e=e!==null&&e.memoizedState!==null,i&&(r=t.child,s=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(s=r.alternate.memoizedState.cachePool.pool),d=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(d=r.memoizedState.cachePool.pool),d!==s&&(r.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),Eo(t,t.updateQueue),ht(t),null);case 4:return Qe(),e===null&&Qu(t.stateNode.containerInfo),ht(t),null;case 10:return fi(t.type),ht(t),null;case 19:if(j(At),r=t.memoizedState,r===null)return ht(t),null;if(s=(t.flags&128)!==0,d=r.rendering,d===null)if(s)$l(r,!1);else{if(St!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=lo(e),d!==null){for(t.flags|=128,$l(r,!1),e=d.updateQueue,t.updateQueue=e,Eo(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)ed(i,e),i=i.sibling;return S(At,At.current&1|2),Ke&&ui(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&yt()>To&&(t.flags|=128,s=!0,$l(r,!1),t.lanes=4194304)}else{if(!s)if(e=lo(d),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Eo(t,e),$l(r,!0),r.tail===null&&r.tailMode==="hidden"&&!d.alternate&&!Ke)return ht(t),null}else 2*yt()-r.renderingStartTime>To&&i!==536870912&&(t.flags|=128,s=!0,$l(r,!1),t.lanes=4194304);r.isBackwards?(d.sibling=t.child,t.child=d):(e=r.last,e!==null?e.sibling=d:t.child=d,r.last=d)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=yt(),e.sibling=null,i=At.current,S(At,s?i&1|2:i&1),Ke&&ui(t,r.treeForkCount),e):(ht(t),null);case 22:case 23:return vn(t),$s(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(i&536870912)!==0&&(t.flags&128)===0&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),i=t.updateQueue,i!==null&&Eo(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==i&&(t.flags|=2048),e!==null&&j(ha),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),fi(Ot),ht(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Py(e,t){switch(Bs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fi(Ot),Qe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return mn(t),null;case 31:if(t.memoizedState!==null){if(vn(t),t.alternate===null)throw Error(o(340));da()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(vn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));da()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return j(At),null;case 4:return Qe(),null;case 10:return fi(t.type),null;case 22:case 23:return vn(t),$s(),e!==null&&j(ha),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return fi(Ot),null;case 25:return null;default:return null}}function wp(e,t){switch(Bs(t),t.tag){case 3:fi(Ot),Qe();break;case 26:case 27:case 5:mn(t);break;case 4:Qe();break;case 31:t.memoizedState!==null&&vn(t);break;case 13:vn(t);break;case 19:j(At);break;case 10:fi(t.type);break;case 22:case 23:vn(t),$s(),e!==null&&j(ha);break;case 24:fi(Ot)}}function Jl(e,t){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var s=r.next;i=s;do{if((i.tag&e)===e){r=void 0;var d=i.create,y=i.inst;r=d(),y.destroy=r}i=i.next}while(i!==s)}}catch(v){it(t,t.return,v)}}function qi(e,t,i){try{var r=t.updateQueue,s=r!==null?r.lastEffect:null;if(s!==null){var d=s.next;r=d;do{if((r.tag&e)===e){var y=r.inst,v=y.destroy;if(v!==void 0){y.destroy=void 0,s=t;var A=i,U=v;try{U()}catch(K){it(s,A,K)}}}r=r.next}while(r!==d)}}catch(K){it(t,t.return,K)}}function kp(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;try{yd(t,i)}catch(r){it(e,e.return,r)}}}function Cp(e,t,i){i.props=_a(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(r){it(e,t,r)}}function Wl(e,t){try{var i=e.ref;if(i!==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 i=="function"?e.refCleanup=i(r):i.current=r}}catch(s){it(e,t,s)}}function Qn(e,t){var i=e.ref,r=e.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(s){it(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(s){it(e,t,s)}else i.current=null}function Op(e){var t=e.type,i=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break e;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(s){it(e,e.return,s)}}function Cu(e,t,i){try{var r=e.stateNode;gE(r,e.type,i,t),r[Kt]=t}catch(s){it(e,e.return,s)}}function Mp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Xi(e.type)||e.tag===4}function Ou(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Mp(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&&Xi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mu(e,t,i){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t):(t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=se));else if(r!==4&&(r===27&&Xi(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(Mu(e,t,i),e=e.sibling;e!==null;)Mu(e,t,i),e=e.sibling}function _o(e,t,i){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(r!==4&&(r===27&&Xi(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(_o(e,t,i),e=e.sibling;e!==null;)_o(e,t,i),e=e.sibling}function Rp(e){var t=e.stateNode,i=e.memoizedProps;try{for(var r=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);jt(t,r,i),t[Tt]=e,t[Kt]=i}catch(d){it(e,e.return,d)}}var gi=!1,Dt=!1,Ru=!1,Dp=typeof WeakSet=="function"?WeakSet:Set,It=null;function Zy(e,t){if(e=e.containerInfo,Wu=Fo,e=Kf(e),Ns(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var s=r.anchorOffset,d=r.focusNode;r=r.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var y=0,v=-1,A=-1,U=0,K=0,Z=e,q=null;t:for(;;){for(var G;Z!==i||s!==0&&Z.nodeType!==3||(v=y+s),Z!==d||r!==0&&Z.nodeType!==3||(A=y+r),Z.nodeType===3&&(y+=Z.nodeValue.length),(G=Z.firstChild)!==null;)q=Z,Z=G;for(;;){if(Z===e)break t;if(q===i&&++U===s&&(v=y),q===d&&++K===r&&(A=y),(G=Z.nextSibling)!==null)break;Z=q,q=Z.parentNode}Z=G}i=v===-1||A===-1?null:{start:v,end:A}}else i=null}i=i||{start:0,end:0}}else i=null;for(ec={focusedElem:e,selectionRange:i},Fo=!1,It=t;It!==null;)if(t=It,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,It=e;else for(;It!==null;){switch(t=It,d=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)s=e[i],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,i=t,s=d.memoizedProps,d=d.memoizedState,r=i.stateNode;try{var pe=_a(i.type,s);e=r.getSnapshotBeforeUpdate(pe,d),r.__reactInternalSnapshotBeforeUpdate=e}catch(Te){it(i,i.return,Te)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,i=e.nodeType,i===9)ic(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ic(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,It=e;break}It=t.return}}function Lp(e,t,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:yi(e,i),r&4&&Jl(5,i);break;case 1:if(yi(e,i),r&4)if(e=i.stateNode,t===null)try{e.componentDidMount()}catch(y){it(i,i.return,y)}else{var s=_a(i.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){it(i,i.return,y)}}r&64&&kp(i),r&512&&Wl(i,i.return);break;case 3:if(yi(e,i),r&64&&(e=i.updateQueue,e!==null)){if(t=null,i.child!==null)switch(i.child.tag){case 27:case 5:t=i.child.stateNode;break;case 1:t=i.child.stateNode}try{yd(e,t)}catch(y){it(i,i.return,y)}}break;case 27:t===null&&r&4&&Rp(i);case 26:case 5:yi(e,i),t===null&&r&4&&Op(i),r&512&&Wl(i,i.return);break;case 12:yi(e,i);break;case 31:yi(e,i),r&4&&Ip(e,i);break;case 13:yi(e,i),r&4&&Up(e,i),r&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=aE.bind(null,i),TE(e,i))));break;case 22:if(r=i.memoizedState!==null||gi,!r){t=t!==null&&t.memoizedState!==null||Dt,s=gi;var d=Dt;gi=r,(Dt=t)&&!d?Ei(e,i,(i.subtreeFlags&8772)!==0):yi(e,i),gi=s,Dt=d}break;case 30:break;default:yi(e,i)}}function zp(e){var t=e.alternate;t!==null&&(e.alternate=null,zp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&xl(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 bt=null,on=!1;function bi(e,t,i){for(i=i.child;i!==null;)Bp(e,t,i),i=i.sibling}function Bp(e,t,i){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Ut,i)}catch{}switch(i.tag){case 26:Dt||Qn(i,t),bi(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Dt||Qn(i,t);var r=bt,s=on;Xi(i.type)&&(bt=i.stateNode,on=!1),bi(e,t,i),sr(i.stateNode),bt=r,on=s;break;case 5:Dt||Qn(i,t);case 6:if(r=bt,s=on,bt=null,bi(e,t,i),bt=r,on=s,bt!==null)if(on)try{(bt.nodeType===9?bt.body:bt.nodeName==="HTML"?bt.ownerDocument.body:bt).removeChild(i.stateNode)}catch(d){it(i,t,d)}else try{bt.removeChild(i.stateNode)}catch(d){it(i,t,d)}break;case 18:bt!==null&&(on?(e=bt,km(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),fl(e)):km(bt,i.stateNode));break;case 4:r=bt,s=on,bt=i.stateNode.containerInfo,on=!0,bi(e,t,i),bt=r,on=s;break;case 0:case 11:case 14:case 15:qi(2,i,t),Dt||qi(4,i,t),bi(e,t,i);break;case 1:Dt||(Qn(i,t),r=i.stateNode,typeof r.componentWillUnmount=="function"&&Cp(i,t,r)),bi(e,t,i);break;case 21:bi(e,t,i);break;case 22:Dt=(r=Dt)||i.memoizedState!==null,bi(e,t,i),Dt=r;break;default:bi(e,t,i)}}function Ip(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{fl(e)}catch(i){it(t,t.return,i)}}}function Up(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{fl(e)}catch(i){it(t,t.return,i)}}function Qy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Dp),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Dp),t;default:throw Error(o(435,e.tag))}}function vo(e,t){var i=Qy(e);t.forEach(function(r){if(!i.has(r)){i.add(r);var s=lE.bind(null,e,r);r.then(s,s)}})}function sn(e,t){var i=t.deletions;if(i!==null)for(var r=0;r<i.length;r++){var s=i[r],d=e,y=t,v=y;e:for(;v!==null;){switch(v.tag){case 27:if(Xi(v.type)){bt=v.stateNode,on=!1;break e}break;case 5:bt=v.stateNode,on=!1;break e;case 3:case 4:bt=v.stateNode.containerInfo,on=!0;break e}v=v.return}if(bt===null)throw Error(o(160));Bp(d,y,s),bt=null,on=!1,d=s.alternate,d!==null&&(d.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Hp(t,e),t=t.sibling}var Fn=null;function Hp(e,t){var i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sn(t,e),un(e),r&4&&(qi(3,e,e.return),Jl(3,e),qi(5,e,e.return));break;case 1:sn(t,e),un(e),r&512&&(Dt||i===null||Qn(i,i.return)),r&64&&gi&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var s=Fn;if(sn(t,e),un(e),r&512&&(Dt||i===null||Qn(i,i.return)),r&4){var d=i!==null?i.memoizedState:null;if(r=e.memoizedState,i===null)if(r===null)if(e.stateNode===null){e:{r=e.type,i=e.memoizedProps,s=s.ownerDocument||s;t:switch(r){case"title":d=s.getElementsByTagName("title")[0],(!d||d[aa]||d[Tt]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=s.createElement(r),s.head.insertBefore(d,s.querySelector("head > title"))),jt(d,r,i),d[Tt]=e,kt(d),r=d;break e;case"link":var y=Hm("link","href",s).get(r+(i.href||""));if(y){for(var v=0;v<y.length;v++)if(d=y[v],d.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&d.getAttribute("rel")===(i.rel==null?null:i.rel)&&d.getAttribute("title")===(i.title==null?null:i.title)&&d.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){y.splice(v,1);break t}}d=s.createElement(r),jt(d,r,i),s.head.appendChild(d);break;case"meta":if(y=Hm("meta","content",s).get(r+(i.content||""))){for(v=0;v<y.length;v++)if(d=y[v],d.getAttribute("content")===(i.content==null?null:""+i.content)&&d.getAttribute("name")===(i.name==null?null:i.name)&&d.getAttribute("property")===(i.property==null?null:i.property)&&d.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&d.getAttribute("charset")===(i.charSet==null?null:i.charSet)){y.splice(v,1);break t}}d=s.createElement(r),jt(d,r,i),s.head.appendChild(d);break;default:throw Error(o(468,r))}d[Tt]=e,kt(d),r=d}e.stateNode=r}else qm(s,e.type,e.stateNode);else e.stateNode=Um(s,r,e.memoizedProps);else d!==r?(d===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):d.count--,r===null?qm(s,e.type,e.stateNode):Um(s,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Cu(e,e.memoizedProps,i.memoizedProps)}break;case 27:sn(t,e),un(e),r&512&&(Dt||i===null||Qn(i,i.return)),i!==null&&r&4&&Cu(e,e.memoizedProps,i.memoizedProps);break;case 5:if(sn(t,e),un(e),r&512&&(Dt||i===null||Qn(i,i.return)),e.flags&32){s=e.stateNode;try{Ne(s,"")}catch(pe){it(e,e.return,pe)}}r&4&&e.stateNode!=null&&(s=e.memoizedProps,Cu(e,s,i!==null?i.memoizedProps:s)),r&1024&&(Ru=!0);break;case 6:if(sn(t,e),un(e),r&4){if(e.stateNode===null)throw Error(o(162));r=e.memoizedProps,i=e.stateNode;try{i.nodeValue=r}catch(pe){it(e,e.return,pe)}}break;case 3:if(Io=null,s=Fn,Fn=zo(t.containerInfo),sn(t,e),Fn=s,un(e),r&4&&i!==null&&i.memoizedState.isDehydrated)try{fl(t.containerInfo)}catch(pe){it(e,e.return,pe)}Ru&&(Ru=!1,qp(e));break;case 4:r=Fn,Fn=zo(e.stateNode.containerInfo),sn(t,e),un(e),Fn=r;break;case 12:sn(t,e),un(e);break;case 31:sn(t,e),un(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vo(e,r)));break;case 13:sn(t,e),un(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(xo=yt()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vo(e,r)));break;case 22:s=e.memoizedState!==null;var A=i!==null&&i.memoizedState!==null,U=gi,K=Dt;if(gi=U||s,Dt=K||A,sn(t,e),Dt=K,gi=U,un(e),r&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(i===null||A||gi||Dt||va(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){A=i=t;try{if(d=A.stateNode,s)y=d.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{v=A.stateNode;var Z=A.memoizedProps.style,q=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;v.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(pe){it(A,A.return,pe)}}}else if(t.tag===6){if(i===null){A=t;try{A.stateNode.nodeValue=s?"":A.memoizedProps}catch(pe){it(A,A.return,pe)}}}else if(t.tag===18){if(i===null){A=t;try{var G=A.stateNode;s?Cm(G,!0):Cm(A.stateNode,!1)}catch(pe){it(A,A.return,pe)}}}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 e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,vo(e,i))));break;case 19:sn(t,e),un(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vo(e,r)));break;case 30:break;case 21:break;default:sn(t,e),un(e)}}function un(e){var t=e.flags;if(t&2){try{for(var i,r=e.return;r!==null;){if(Mp(r)){i=r;break}r=r.return}if(i==null)throw Error(o(160));switch(i.tag){case 27:var s=i.stateNode,d=Ou(e);_o(e,d,s);break;case 5:var y=i.stateNode;i.flags&32&&(Ne(y,""),i.flags&=-33);var v=Ou(e);_o(e,v,y);break;case 3:case 4:var A=i.stateNode.containerInfo,U=Ou(e);Mu(e,U,A);break;default:throw Error(o(161))}}catch(K){it(e,e.return,K)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;qp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Lp(e,t.alternate,t),t=t.sibling}function va(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:qi(4,t,t.return),va(t);break;case 1:Qn(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&Cp(t,t.return,i),va(t);break;case 27:sr(t.stateNode);case 26:case 5:Qn(t,t.return),va(t);break;case 22:t.memoizedState===null&&va(t);break;case 30:va(t);break;default:va(t)}e=e.sibling}}function Ei(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,s=e,d=t,y=d.flags;switch(d.tag){case 0:case 11:case 15:Ei(s,d,i),Jl(4,d);break;case 1:if(Ei(s,d,i),r=d,s=r.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(U){it(r,r.return,U)}if(r=d,s=r.updateQueue,s!==null){var v=r.stateNode;try{var A=s.shared.hiddenCallbacks;if(A!==null)for(s.shared.hiddenCallbacks=null,s=0;s<A.length;s++)bd(A[s],v)}catch(U){it(r,r.return,U)}}i&&y&64&&kp(d),Wl(d,d.return);break;case 27:Rp(d);case 26:case 5:Ei(s,d,i),i&&r===null&&y&4&&Op(d),Wl(d,d.return);break;case 12:Ei(s,d,i);break;case 31:Ei(s,d,i),i&&y&4&&Ip(s,d);break;case 13:Ei(s,d,i),i&&y&4&&Up(s,d);break;case 22:d.memoizedState===null&&Ei(s,d,i),Wl(d,d.return);break;case 30:break;default:Ei(s,d,i)}t=t.sibling}}function Du(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&Hl(i))}function Lu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Hl(e))}function Gn(e,t,i,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Fp(e,t,i,r),t=t.sibling}function Fp(e,t,i,r){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Gn(e,t,i,r),s&2048&&Jl(9,t);break;case 1:Gn(e,t,i,r);break;case 3:Gn(e,t,i,r),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Hl(e)));break;case 12:if(s&2048){Gn(e,t,i,r),e=t.stateNode;try{var d=t.memoizedProps,y=d.id,v=d.onPostCommit;typeof v=="function"&&v(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){it(t,t.return,A)}}else Gn(e,t,i,r);break;case 31:Gn(e,t,i,r);break;case 13:Gn(e,t,i,r);break;case 23:break;case 22:d=t.stateNode,y=t.alternate,t.memoizedState!==null?d._visibility&2?Gn(e,t,i,r):er(e,t):d._visibility&2?Gn(e,t,i,r):(d._visibility|=2,el(e,t,i,r,(t.subtreeFlags&10256)!==0||!1)),s&2048&&Du(y,t);break;case 24:Gn(e,t,i,r),s&2048&&Lu(t.alternate,t);break;default:Gn(e,t,i,r)}}function el(e,t,i,r,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var d=e,y=t,v=i,A=r,U=y.flags;switch(y.tag){case 0:case 11:case 15:el(d,y,v,A,s),Jl(8,y);break;case 23:break;case 22:var K=y.stateNode;y.memoizedState!==null?K._visibility&2?el(d,y,v,A,s):er(d,y):(K._visibility|=2,el(d,y,v,A,s)),s&&U&2048&&Du(y.alternate,y);break;case 24:el(d,y,v,A,s),s&&U&2048&&Lu(y.alternate,y);break;default:el(d,y,v,A,s)}t=t.sibling}}function er(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var i=e,r=t,s=r.flags;switch(r.tag){case 22:er(i,r),s&2048&&Du(r.alternate,r);break;case 24:er(i,r),s&2048&&Lu(r.alternate,r);break;default:er(i,r)}t=t.sibling}}var tr=8192;function tl(e,t,i){if(e.subtreeFlags&tr)for(e=e.child;e!==null;)Gp(e,t,i),e=e.sibling}function Gp(e,t,i){switch(e.tag){case 26:tl(e,t,i),e.flags&tr&&e.memoizedState!==null&&BE(i,Fn,e.memoizedState,e.memoizedProps);break;case 5:tl(e,t,i);break;case 3:case 4:var r=Fn;Fn=zo(e.stateNode.containerInfo),tl(e,t,i),Fn=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=tr,tr=16777216,tl(e,t,i),tr=r):tl(e,t,i));break;default:tl(e,t,i)}}function jp(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 nr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var r=t[i];It=r,Kp(r,e)}jp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yp(e),e=e.sibling}function Yp(e){switch(e.tag){case 0:case 11:case 15:nr(e),e.flags&2048&&qi(9,e,e.return);break;case 3:nr(e);break;case 12:nr(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,So(e)):nr(e);break;default:nr(e)}}function So(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var r=t[i];It=r,Kp(r,e)}jp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:qi(8,t,t.return),So(t);break;case 22:i=t.stateNode,i._visibility&2&&(i._visibility&=-3,So(t));break;default:So(t)}e=e.sibling}}function Kp(e,t){for(;It!==null;){var i=It;switch(i.tag){case 0:case 11:case 15:qi(8,i,t);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Hl(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,It=r;else e:for(i=e;It!==null;){r=It;var s=r.sibling,d=r.return;if(zp(r),r===i){It=null;break e}if(s!==null){s.return=d,It=s;break e}It=d}}}var $y={getCacheForType:function(e){var t=Ft(Ot),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return Ft(Ot).controller.signal}},Jy=typeof WeakMap=="function"?WeakMap:Map,$e=0,ut=null,Ue=null,Ge=0,nt=0,Sn=null,Fi=!1,nl=!1,zu=!1,_i=0,St=0,Gi=0,Sa=0,Bu=0,xn=0,il=0,ir=null,cn=null,Iu=!1,xo=0,Vp=0,To=1/0,No=null,ji=null,Bt=0,Yi=null,al=null,vi=0,Uu=0,Hu=null,Xp=null,ar=0,qu=null;function Tn(){return($e&2)!==0&&Ge!==0?Ge&-Ge:L.T!==null?Vu():Oa()}function Pp(){if(xn===0)if((Ge&536870912)===0||Ke){var e=Ca;Ca<<=1,(Ca&3932160)===0&&(Ca=262144),xn=e}else xn=536870912;return e=_n.current,e!==null&&(e.flags|=32),xn}function fn(e,t,i){(e===ut&&(nt===2||nt===9)||e.cancelPendingCommit!==null)&&(ll(e,0),Ki(e,Ge,xn,!1)),st(e,i),(($e&2)===0||e!==ut)&&(e===ut&&(($e&2)===0&&(Sa|=i),St===4&&Ki(e,Ge,xn,!1)),$n(e))}function Zp(e,t,i){if(($e&6)!==0)throw Error(o(327));var r=!i&&(t&127)===0&&(t&e.expiredLanes)===0||X(e,t),s=r?tE(e,t):Gu(e,t,!0),d=r;do{if(s===0){nl&&!r&&Ki(e,t,0,!1);break}else{if(i=e.current.alternate,d&&!Wy(i)){s=Gu(e,t,!1),d=!1;continue}if(s===2){if(d=t,e.errorRecoveryDisabledLanes&d)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var v=e;s=ir;var A=v.current.memoizedState.isDehydrated;if(A&&(ll(v,y).flags|=256),y=Gu(v,y,!1),y!==2){if(zu&&!A){v.errorRecoveryDisabledLanes|=d,Sa|=d,s=4;break e}d=cn,cn=s,d!==null&&(cn===null?cn=d:cn.push.apply(cn,d))}s=y}if(d=!1,s!==2)continue}}if(s===1){ll(e,0),Ki(e,t,0,!0);break}e:{switch(r=e,d=s,d){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Ki(r,t,xn,!Fi);break e;case 2:cn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(s=xo+300-yt(),10<s)){if(Ki(r,t,xn,!Fi),k(r,0,!0)!==0)break e;vi=t,r.timeoutHandle=Am(Qp.bind(null,r,i,cn,No,Iu,t,xn,Sa,il,Fi,d,"Throttled",-0,0),s);break e}Qp(r,i,cn,No,Iu,t,xn,Sa,il,Fi,d,null,-0,0)}}break}while(!0);$n(e)}function Qp(e,t,i,r,s,d,y,v,A,U,K,Z,q,G){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:se},Gp(t,d,Z);var pe=(d&62914560)===d?xo-yt():(d&4194048)===d?Vp-yt():0;if(pe=IE(Z,pe),pe!==null){vi=d,e.cancelPendingCommit=pe(am.bind(null,e,t,d,i,r,s,y,v,A,K,Z,null,q,G)),Ki(e,d,y,!U);return}}am(e,t,d,i,r,s,y,v,A)}function Wy(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var r=0;r<i.length;r++){var s=i[r],d=s.getSnapshot;s=s.value;try{if(!yn(d(),s))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;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 Ki(e,t,i,r){t&=~Bu,t&=~Sa,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var s=t;0<s;){var d=31-We(s),y=1<<d;r[d]=-1,s&=~y}i!==0&&de(e,i,t)}function Ao(){return($e&6)===0?(lr(0),!1):!0}function Fu(){if(Ue!==null){if(nt===0)var e=Ue.return;else e=Ue,ci=pa=null,iu(e),Za=null,Fl=0,e=Ue;for(;e!==null;)wp(e.alternate,e),e=e.return;Ue=null}}function ll(e,t){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,EE(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),vi=0,Fu(),ut=e,Ue=i=si(e.current,null),Ge=t,nt=0,Sn=null,Fi=!1,nl=X(e,t),zu=!1,il=xn=Bu=Sa=Gi=St=0,cn=ir=null,Iu=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var s=31-We(r),d=1<<s;t|=e[s],r&=~d}return _i=t,Vr(),i}function $p(e,t){Re=null,L.H=Zl,t===Pa||t===eo?(t=pd(),nt=3):t===Ks?(t=pd(),nt=4):nt=t===Eu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Sn=t,Ue===null&&(St=1,ho(e,On(t,e.current)))}function Jp(){var e=_n.current;return e===null?!0:(Ge&4194048)===Ge?Ln===null:(Ge&62914560)===Ge||(Ge&536870912)!==0?e===Ln:!1}function Wp(){var e=L.H;return L.H=Zl,e===null?Zl:e}function em(){var e=L.A;return L.A=$y,e}function wo(){St=4,Fi||(Ge&4194048)!==Ge&&_n.current!==null||(nl=!0),(Gi&134217727)===0&&(Sa&134217727)===0||ut===null||Ki(ut,Ge,xn,!1)}function Gu(e,t,i){var r=$e;$e|=2;var s=Wp(),d=em();(ut!==e||Ge!==t)&&(No=null,ll(e,t)),t=!1;var y=St;e:do try{if(nt!==0&&Ue!==null){var v=Ue,A=Sn;switch(nt){case 8:Fu(),y=6;break e;case 3:case 2:case 9:case 6:_n.current===null&&(t=!0);var U=nt;if(nt=0,Sn=null,rl(e,v,A,U),i&&nl){y=0;break e}break;default:U=nt,nt=0,Sn=null,rl(e,v,A,U)}}eE(),y=St;break}catch(K){$p(e,K)}while(!0);return t&&e.shellSuspendCounter++,ci=pa=null,$e=r,L.H=s,L.A=d,Ue===null&&(ut=null,Ge=0,Vr()),y}function eE(){for(;Ue!==null;)tm(Ue)}function tE(e,t){var i=$e;$e|=2;var r=Wp(),s=em();ut!==e||Ge!==t?(No=null,To=yt()+500,ll(e,t)):nl=X(e,t);e:do try{if(nt!==0&&Ue!==null){t=Ue;var d=Sn;t:switch(nt){case 1:nt=0,Sn=null,rl(e,t,d,1);break;case 2:case 9:if(fd(d)){nt=0,Sn=null,nm(t);break}t=function(){nt!==2&&nt!==9||ut!==e||(nt=7),$n(e)},d.then(t,t);break e;case 3:nt=7;break e;case 4:nt=5;break e;case 7:fd(d)?(nt=0,Sn=null,nm(t)):(nt=0,Sn=null,rl(e,t,d,7));break;case 5:var y=null;switch(Ue.tag){case 26:y=Ue.memoizedState;case 5:case 27:var v=Ue;if(y?Fm(y):v.stateNode.complete){nt=0,Sn=null;var A=v.sibling;if(A!==null)Ue=A;else{var U=v.return;U!==null?(Ue=U,ko(U)):Ue=null}break t}}nt=0,Sn=null,rl(e,t,d,5);break;case 6:nt=0,Sn=null,rl(e,t,d,6);break;case 8:Fu(),St=6;break e;default:throw Error(o(462))}}nE();break}catch(K){$p(e,K)}while(!0);return ci=pa=null,L.H=r,L.A=s,$e=i,Ue!==null?0:(ut=null,Ge=0,Vr(),St)}function nE(){for(;Ue!==null&&!vl();)tm(Ue)}function tm(e){var t=Np(e.alternate,e,_i);e.memoizedProps=e.pendingProps,t===null?ko(e):Ue=t}function nm(e){var t=e,i=t.alternate;switch(t.tag){case 15:case 0:t=Ep(i,t,t.pendingProps,t.type,void 0,Ge);break;case 11:t=Ep(i,t,t.pendingProps,t.type.render,t.ref,Ge);break;case 5:iu(t);default:wp(i,t),t=Ue=ed(t,_i),t=Np(i,t,_i)}e.memoizedProps=e.pendingProps,t===null?ko(e):Ue=t}function rl(e,t,i,r){ci=pa=null,iu(t),Za=null,Fl=0;var s=t.return;try{if(Yy(e,s,t,i,Ge)){St=1,ho(e,On(i,e.current)),Ue=null;return}}catch(d){if(s!==null)throw Ue=s,d;St=1,ho(e,On(i,e.current)),Ue=null;return}t.flags&32768?(Ke||r===1?e=!0:nl||(Ge&536870912)!==0?e=!1:(Fi=e=!0,(r===2||r===9||r===3||r===6)&&(r=_n.current,r!==null&&r.tag===13&&(r.flags|=16384))),im(t,e)):ko(t)}function ko(e){var t=e;do{if((t.flags&32768)!==0){im(t,Fi);return}e=t.return;var i=Xy(t.alternate,t,_i);if(i!==null){Ue=i;return}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);St===0&&(St=5)}function im(e,t){do{var i=Py(e.alternate,e);if(i!==null){i.flags&=32767,Ue=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=i}while(e!==null);St=6,Ue=null}function am(e,t,i,r,s,d,y,v,A){e.cancelPendingCommit=null;do Co();while(Bt!==0);if(($e&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(d=t.lanes|t.childLanes,d|=Os,me(e,i,d,y,v,A),e===ut&&(Ue=ut=null,Ge=0),al=t,Yi=e,vi=i,Uu=d,Hu=s,Xp=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,rE(xe,function(){return um(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=L.T,L.T=null,s=J.p,J.p=2,y=$e,$e|=4;try{Zy(e,t,i)}finally{$e=y,J.p=s,L.T=r}}Bt=1,lm(),rm(),om()}}function lm(){if(Bt===1){Bt=0;var e=Yi,t=al,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var r=J.p;J.p=2;var s=$e;$e|=4;try{Hp(t,e);var d=ec,y=Kf(e.containerInfo),v=d.focusedElem,A=d.selectionRange;if(y!==v&&v&&v.ownerDocument&&Yf(v.ownerDocument.documentElement,v)){if(A!==null&&Ns(v)){var U=A.start,K=A.end;if(K===void 0&&(K=U),"selectionStart"in v)v.selectionStart=U,v.selectionEnd=Math.min(K,v.value.length);else{var Z=v.ownerDocument||document,q=Z&&Z.defaultView||window;if(q.getSelection){var G=q.getSelection(),pe=v.textContent.length,Te=Math.min(A.start,pe),rt=A.end===void 0?Te:Math.min(A.end,pe);!G.extend&&Te>rt&&(y=rt,rt=Te,Te=y);var D=jf(v,Te),O=jf(v,rt);if(D&&O&&(G.rangeCount!==1||G.anchorNode!==D.node||G.anchorOffset!==D.offset||G.focusNode!==O.node||G.focusOffset!==O.offset)){var I=Z.createRange();I.setStart(D.node,D.offset),G.removeAllRanges(),Te>rt?(G.addRange(I),G.extend(O.node,O.offset)):(I.setEnd(O.node,O.offset),G.addRange(I))}}}}for(Z=[],G=v;G=G.parentNode;)G.nodeType===1&&Z.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Z.length;v++){var P=Z[v];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}Fo=!!Wu,ec=Wu=null}finally{$e=s,J.p=r,L.T=i}}e.current=t,Bt=2}}function rm(){if(Bt===2){Bt=0;var e=Yi,t=al,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var r=J.p;J.p=2;var s=$e;$e|=4;try{Lp(e,t.alternate,t)}finally{$e=s,J.p=r,L.T=i}}Bt=3}}function om(){if(Bt===4||Bt===3){Bt=0,wa();var e=Yi,t=al,i=vi,r=Xp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Bt=5:(Bt=0,al=Yi=null,sm(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(ji=null),ii(i),t=t.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(Ut,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=L.T,s=J.p,J.p=2,L.T=null;try{for(var d=e.onRecoverableError,y=0;y<r.length;y++){var v=r[y];d(v.value,{componentStack:v.stack})}}finally{L.T=t,J.p=s}}(vi&3)!==0&&Co(),$n(e),s=e.pendingLanes,(i&261930)!==0&&(s&42)!==0?e===qu?ar++:(ar=0,qu=e):ar=0,lr(0)}}function sm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Hl(t)))}function Co(){return lm(),rm(),om(),um()}function um(){if(Bt!==5)return!1;var e=Yi,t=Uu;Uu=0;var i=ii(vi),r=L.T,s=J.p;try{J.p=32>i?32:i,L.T=null,i=Hu,Hu=null;var d=Yi,y=vi;if(Bt=0,al=Yi=null,vi=0,($e&6)!==0)throw Error(o(331));var v=$e;if($e|=4,Yp(d.current),Fp(d,d.current,y,i),$e=v,lr(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(Ut,d)}catch{}return!0}finally{J.p=s,L.T=r,sm(e,t)}}function cm(e,t,i){t=On(i,t),t=yu(e.stateNode,t,2),e=Ii(e,t,2),e!==null&&(st(e,2),$n(e))}function it(e,t,i){if(e.tag===3)cm(e,e,i);else for(;t!==null;){if(t.tag===3){cm(t,e,i);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ji===null||!ji.has(r))){e=On(i,e),i=fp(2),r=Ii(t,i,2),r!==null&&(dp(i,r,t,e),st(r,2),$n(r));break}}t=t.return}}function ju(e,t,i){var r=e.pingCache;if(r===null){r=e.pingCache=new Jy;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(i)||(zu=!0,s.add(i),e=iE.bind(null,e,t,i),t.then(e,e))}function iE(e,t,i){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,ut===e&&(Ge&i)===i&&(St===4||St===3&&(Ge&62914560)===Ge&&300>yt()-xo?($e&2)===0&&ll(e,0):Bu|=i,il===Ge&&(il=0)),$n(e)}function fm(e,t){t===0&&(t=Ce()),e=ca(e,t),e!==null&&(st(e,t),$n(e))}function aE(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),fm(e,i)}function lE(e,t){var i=0;switch(e.tag){case 31:case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(i=s.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(o(314))}r!==null&&r.delete(t),fm(e,i)}function rE(e,t){return ni(e,t)}var Oo=null,ol=null,Yu=!1,Mo=!1,Ku=!1,Vi=0;function $n(e){e!==ol&&e.next===null&&(ol===null?Oo=ol=e:ol=ol.next=e),Mo=!0,Yu||(Yu=!0,sE())}function lr(e,t){if(!Ku&&Mo){Ku=!0;do for(var i=!1,r=Oo;r!==null;){if(e!==0){var s=r.pendingLanes;if(s===0)var d=0;else{var y=r.suspendedLanes,v=r.pingedLanes;d=(1<<31-We(42|e)+1)-1,d&=s&~(y&~v),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(i=!0,hm(r,d))}else d=Ge,d=k(r,r===ut?d:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(d&3)===0||X(r,d)||(i=!0,hm(r,d));r=r.next}while(i);Ku=!1}}function oE(){dm()}function dm(){Mo=Yu=!1;var e=0;Vi!==0&&yE()&&(e=Vi);for(var t=yt(),i=null,r=Oo;r!==null;){var s=r.next,d=pm(r,t);d===0?(r.next=null,i===null?Oo=s:i.next=s,s===null&&(ol=i)):(i=r,(e!==0||(d&3)!==0)&&(Mo=!0)),r=s}Bt!==0&&Bt!==5||lr(e),Vi!==0&&(Vi=0)}function pm(e,t){for(var i=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var y=31-We(d),v=1<<y,A=s[y];A===-1?((v&i)===0||(v&r)!==0)&&(s[y]=fe(v,t)):A<=t&&(e.expiredLanes|=v),d&=~v}if(t=ut,i=Ge,i=k(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,i===0||e===t&&(nt===2||nt===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ta(r),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||X(e,i)){if(t=i&-i,t===e.callbackPriority)return t;switch(r!==null&&ta(r),ii(i)){case 2:case 8:i=le;break;case 32:i=xe;break;case 268435456:i=Xe;break;default:i=xe}return r=mm.bind(null,e),i=ni(i,r),e.callbackPriority=t,e.callbackNode=i,t}return r!==null&&r!==null&&ta(r),e.callbackPriority=2,e.callbackNode=null,2}function mm(e,t){if(Bt!==0&&Bt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Co()&&e.callbackNode!==i)return null;var r=Ge;return r=k(e,e===ut?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Zp(e,r,t),pm(e,yt()),e.callbackNode!=null&&e.callbackNode===i?mm.bind(null,e):null)}function hm(e,t){if(Co())return null;Zp(e,t,!0)}function sE(){_E(function(){($e&6)!==0?ni(Y,oE):dm()})}function Vu(){if(Vi===0){var e=Va;e===0&&(e=na,na<<=1,(na&261888)===0&&(na=256)),Vi=e}return Vi}function gm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ci(""+e)}function bm(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function uE(e,t,i,r,s){if(t==="submit"&&i&&i.stateNode===s){var d=gm((s[Kt]||null).action),y=r.submitter;y&&(t=(t=y[Kt]||null)?gm(t.formAction):y.getAttribute("formAction"),t!==null&&(d=t,y=null));var v=new Gr("action","action",null,r,s);e.push({event:v,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Vi!==0){var A=y?bm(s,y):new FormData(s);du(i,{pending:!0,data:A,method:s.method,action:d},null,A)}}else typeof d=="function"&&(v.preventDefault(),A=y?bm(s,y):new FormData(s),du(i,{pending:!0,data:A,method:s.method,action:d},d,A))},currentTarget:s}]})}}for(var Xu=0;Xu<Cs.length;Xu++){var Pu=Cs[Xu],cE=Pu.toLowerCase(),fE=Pu[0].toUpperCase()+Pu.slice(1);qn(cE,"on"+fE)}qn(Pf,"onAnimationEnd"),qn(Zf,"onAnimationIteration"),qn(Qf,"onAnimationStart"),qn("dblclick","onDoubleClick"),qn("focusin","onFocus"),qn("focusout","onBlur"),qn(wy,"onTransitionRun"),qn(ky,"onTransitionStart"),qn(Cy,"onTransitionCancel"),qn($f,"onTransitionEnd"),te("onMouseEnter",["mouseout","mouseover"]),te("onMouseLeave",["mouseout","mouseover"]),te("onPointerEnter",["pointerout","pointerover"]),te("onPointerLeave",["pointerout","pointerover"]),li("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),li("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),li("onBeforeInput",["compositionend","keypress","textInput","paste"]),li("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),li("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),li("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rr="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(" "),dE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(rr));function ym(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var r=e[i],s=r.event;r=r.listeners;e:{var d=void 0;if(t)for(var y=r.length-1;0<=y;y--){var v=r[y],A=v.instance,U=v.currentTarget;if(v=v.listener,A!==d&&s.isPropagationStopped())break e;d=v,s.currentTarget=U;try{d(s)}catch(K){Kr(K)}s.currentTarget=null,d=A}else for(y=0;y<r.length;y++){if(v=r[y],A=v.instance,U=v.currentTarget,v=v.listener,A!==d&&s.isPropagationStopped())break e;d=v,s.currentTarget=U;try{d(s)}catch(K){Kr(K)}s.currentTarget=null,d=A}}}}function He(e,t){var i=t[Sl];i===void 0&&(i=t[Sl]=new Set);var r=e+"__bubble";i.has(r)||(Em(t,e,2,!1),i.add(r))}function Zu(e,t,i){var r=0;t&&(r|=4),Em(i,e,r,t)}var Ro="_reactListening"+Math.random().toString(36).slice(2);function Qu(e){if(!e[Ro]){e[Ro]=!0,Lr.forEach(function(i){i!=="selectionchange"&&(dE.has(i)||Zu(i,!1,e),Zu(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ro]||(t[Ro]=!0,Zu("selectionchange",!1,t))}}function Em(e,t,i,r){switch(Pm(t)){case 2:var s=qE;break;case 8:s=FE;break;default:s=fc}i=s.bind(null,t,i,e),s=void 0,!gs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,i,{capture:!0,passive:s}):e.addEventListener(t,i,!0):s!==void 0?e.addEventListener(t,i,{passive:s}):e.addEventListener(t,i,!1)}function $u(e,t,i,r,s){var d=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var y=r.tag;if(y===3||y===4){var v=r.stateNode.containerInfo;if(v===s)break;if(y===4)for(y=r.return;y!==null;){var A=y.tag;if((A===3||A===4)&&y.stateNode.containerInfo===s)return;y=y.return}for(;v!==null;){if(y=Jt(v),y===null)return;if(A=y.tag,A===5||A===6||A===26||A===27){r=d=y;continue e}v=v.parentNode}}r=r.return}Ur(function(){var U=d,K=Me(i),Z=[];e:{var q=Jf.get(e);if(q!==void 0){var G=Gr,pe=e;switch(e){case"keypress":if(qr(i)===0)break e;case"keydown":case"keyup":G=ly;break;case"focusin":pe="focus",G=_s;break;case"focusout":pe="blur",G=_s;break;case"beforeblur":case"afterblur":G=_s;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=Xb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=sy;break;case Pf:case Zf:case Qf:G=Qb;break;case $f:G=cy;break;case"scroll":case"scrollend":G=Kb;break;case"wheel":G=dy;break;case"copy":case"cut":case"paste":G=Jb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=Cf;break;case"toggle":case"beforetoggle":G=my}var Te=(t&4)!==0,rt=!Te&&(e==="scroll"||e==="scrollend"),D=Te?q!==null?q+"Capture":null:q;Te=[];for(var O=U,I;O!==null;){var P=O;if(I=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||I===null||D===null||(P=kl(O,D),P!=null&&Te.push(or(O,P,I))),rt)break;O=O.return}0<Te.length&&(q=new G(q,pe,null,i,K),Z.push({event:q,listeners:Te}))}}if((t&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",q&&i!==ge&&(pe=i.relatedTarget||i.fromElement)&&(Jt(pe)||pe[Ni]))break e;if((G||q)&&(q=K.window===K?K:(q=K.ownerDocument)?q.defaultView||q.parentWindow:window,G?(pe=i.relatedTarget||i.toElement,G=U,pe=pe?Jt(pe):null,pe!==null&&(rt=f(pe),Te=pe.tag,pe!==rt||Te!==5&&Te!==27&&Te!==6)&&(pe=null)):(G=null,pe=U),G!==pe)){if(Te=wf,P="onMouseLeave",D="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(Te=Cf,P="onPointerLeave",D="onPointerEnter",O="pointer"),rt=G==null?q:Ai(G),I=pe==null?q:Ai(pe),q=new Te(P,O+"leave",G,i,K),q.target=rt,q.relatedTarget=I,P=null,Jt(K)===U&&(Te=new Te(D,O+"enter",pe,i,K),Te.target=I,Te.relatedTarget=rt,P=Te),rt=P,G&&pe)t:{for(Te=pE,D=G,O=pe,I=0,P=D;P;P=Te(P))I++;P=0;for(var ve=O;ve;ve=Te(ve))P++;for(;0<I-P;)D=Te(D),I--;for(;0<P-I;)O=Te(O),P--;for(;I--;){if(D===O||O!==null&&D===O.alternate){Te=D;break t}D=Te(D),O=Te(O)}Te=null}else Te=null;G!==null&&_m(Z,q,G,Te,!1),pe!==null&&rt!==null&&_m(Z,rt,pe,Te,!0)}}e:{if(q=U?Ai(U):window,G=q.nodeName&&q.nodeName.toLowerCase(),G==="select"||G==="input"&&q.type==="file")var Pe=If;else if(zf(q))if(Uf)Pe=Ty;else{Pe=Sy;var be=vy}else G=q.nodeName,!G||G.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?U&&ki(U.elementType)&&(Pe=If):Pe=xy;if(Pe&&(Pe=Pe(e,U))){Bf(Z,Pe,i,K);break e}be&&be(e,q,U),e==="focusout"&&U&&q.type==="number"&&U.memoizedProps.value!=null&&za(q,"number",q.value)}switch(be=U?Ai(U):window,e){case"focusin":(zf(be)||be.contentEditable==="true")&&(Ua=be,As=U,Bl=null);break;case"focusout":Bl=As=Ua=null;break;case"mousedown":ws=!0;break;case"contextmenu":case"mouseup":case"dragend":ws=!1,Vf(Z,i,K);break;case"selectionchange":if(Ay)break;case"keydown":case"keyup":Vf(Z,i,K)}var De;if(Ss)e:{switch(e){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else Ia?Df(e,i)&&(je="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(je="onCompositionStart");je&&(Of&&i.locale!=="ko"&&(Ia||je!=="onCompositionStart"?je==="onCompositionEnd"&&Ia&&(De=Nf()):(Oi=K,bs="value"in Oi?Oi.value:Oi.textContent,Ia=!0)),be=Do(U,je),0<be.length&&(je=new kf(je,e,null,i,K),Z.push({event:je,listeners:be}),De?je.data=De:(De=Lf(i),De!==null&&(je.data=De)))),(De=gy?by(e,i):yy(e,i))&&(je=Do(U,"onBeforeInput"),0<je.length&&(be=new kf("onBeforeInput","beforeinput",null,i,K),Z.push({event:be,listeners:je}),be.data=De)),uE(Z,e,U,i,K)}ym(Z,t)})}function or(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Do(e,t){for(var i=t+"Capture",r=[];e!==null;){var s=e,d=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||d===null||(s=kl(e,i),s!=null&&r.unshift(or(e,s,d)),s=kl(e,t),s!=null&&r.push(or(e,s,d))),e.tag===3)return r;e=e.return}return[]}function pE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function _m(e,t,i,r,s){for(var d=t._reactName,y=[];i!==null&&i!==r;){var v=i,A=v.alternate,U=v.stateNode;if(v=v.tag,A!==null&&A===r)break;v!==5&&v!==26&&v!==27||U===null||(A=U,s?(U=kl(i,d),U!=null&&y.unshift(or(i,U,A))):s||(U=kl(i,d),U!=null&&y.push(or(i,U,A)))),i=i.return}y.length!==0&&e.push({event:t,listeners:y})}var mE=/\r\n?/g,hE=/\u0000|\uFFFD/g;function vm(e){return(typeof e=="string"?e:""+e).replace(mE,`
|
|
49
|
+
`).replace(hE,"")}function Sm(e,t){return t=vm(t),vm(e)===t}function lt(e,t,i,r,s,d){switch(i){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Ne(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Ne(e,""+r);break;case"className":gn(e,"class",r);break;case"tabIndex":gn(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":gn(e,i,r);break;case"style":tt(e,r,d);break;case"data":if(t!=="object"){gn(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(i);break}r=Ci(""+r),e.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(i,"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 d=="function"&&(i==="formAction"?(t!=="input"&<(e,t,"name",s.name,s,null),lt(e,t,"formEncType",s.formEncType,s,null),lt(e,t,"formMethod",s.formMethod,s,null),lt(e,t,"formTarget",s.formTarget,s,null)):(lt(e,t,"encType",s.encType,s,null),lt(e,t,"method",s.method,s,null),lt(e,t,"target",s.target,s,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(i);break}r=Ci(""+r),e.setAttribute(i,r);break;case"onClick":r!=null&&(e.onclick=se);break;case"onScroll":r!=null&&He("scroll",e);break;case"onScrollEnd":r!=null&&He("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(i=r.__html,i!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=i}}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}i=Ci(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);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(i,""+r):e.removeAttribute(i);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(i,""):e.removeAttribute(i);break;case"capture":case"download":r===!0?e.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(i,r):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(i,r):e.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(i):e.setAttribute(i,r);break;case"popover":He("beforetoggle",e),He("toggle",e),Vt(e,"popover",r);break;case"xlinkActuate":an(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":an(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":an(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":an(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":an(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":an(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":an(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":an(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":an(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Vt(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=ri.get(i)||i,Vt(e,i,r))}}function Ju(e,t,i,r,s,d){switch(i){case"style":tt(e,r,d);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(i=r.__html,i!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=i}}break;case"children":typeof r=="string"?Ne(e,r):(typeof r=="number"||typeof r=="bigint")&&Ne(e,""+r);break;case"onScroll":r!=null&&He("scroll",e);break;case"onScrollEnd":r!=null&&He("scrollend",e);break;case"onClick":r!=null&&(e.onclick=se);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!la.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(s=i.endsWith("Capture"),t=i.slice(2,s?i.length-7:void 0),d=e[Kt]||null,d=d!=null?d[i]:null,typeof d=="function"&&e.removeEventListener(t,d,s),typeof r=="function")){typeof d!="function"&&d!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,r,s);break e}i in e?e[i]=r:r===!0?e.setAttribute(i,""):Vt(e,i,r)}}}function jt(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var r=!1,s=!1,d;for(d in i)if(i.hasOwnProperty(d)){var y=i[d];if(y!=null)switch(d){case"src":r=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:lt(e,t,d,y,i,null)}}s&<(e,t,"srcSet",i.srcSet,i,null),r&<(e,t,"src",i.src,i,null);return;case"input":He("invalid",e);var v=d=y=s=null,A=null,U=null;for(r in i)if(i.hasOwnProperty(r)){var K=i[r];if(K!=null)switch(r){case"name":s=K;break;case"type":y=K;break;case"checked":A=K;break;case"defaultChecked":U=K;break;case"value":d=K;break;case"defaultValue":v=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(o(137,t));break;default:lt(e,t,r,K,i,null)}}ra(e,d,v,A,U,y,s,!1);return;case"select":He("invalid",e),r=y=d=null;for(s in i)if(i.hasOwnProperty(s)&&(v=i[s],v!=null))switch(s){case"value":d=v;break;case"defaultValue":y=v;break;case"multiple":r=v;default:lt(e,t,s,v,i,null)}t=d,i=y,e.multiple=!!r,t!=null?Ht(e,!!r,t,!1):i!=null&&Ht(e,!!r,i,!0);return;case"textarea":He("invalid",e),d=s=r=null;for(y in i)if(i.hasOwnProperty(y)&&(v=i[y],v!=null))switch(y){case"value":r=v;break;case"defaultValue":s=v;break;case"children":d=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:lt(e,t,y,v,i,null)}Ba(e,r,s,d);return;case"option":for(A in i)if(i.hasOwnProperty(A)&&(r=i[A],r!=null))switch(A){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:lt(e,t,A,r,i,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(r=0;r<rr.length;r++)He(rr[r],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("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 i)if(i.hasOwnProperty(U)&&(r=i[U],r!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:lt(e,t,U,r,i,null)}return;default:if(ki(t)){for(K in i)i.hasOwnProperty(K)&&(r=i[K],r!==void 0&&Ju(e,t,K,r,i,void 0));return}}for(v in i)i.hasOwnProperty(v)&&(r=i[v],r!=null&<(e,t,v,r,i,null))}function gE(e,t,i,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,d=null,y=null,v=null,A=null,U=null,K=null;for(G in i){var Z=i[G];if(i.hasOwnProperty(G)&&Z!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":A=Z;default:r.hasOwnProperty(G)||lt(e,t,G,null,r,Z)}}for(var q in r){var G=r[q];if(Z=i[q],r.hasOwnProperty(q)&&(G!=null||Z!=null))switch(q){case"type":d=G;break;case"name":s=G;break;case"checked":U=G;break;case"defaultChecked":K=G;break;case"value":y=G;break;case"defaultValue":v=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(o(137,t));break;default:G!==Z&<(e,t,q,G,r,Z)}}Nl(e,y,v,A,U,K,d,s);return;case"select":G=y=v=q=null;for(d in i)if(A=i[d],i.hasOwnProperty(d)&&A!=null)switch(d){case"value":break;case"multiple":G=A;default:r.hasOwnProperty(d)||lt(e,t,d,null,r,A)}for(s in r)if(d=r[s],A=i[s],r.hasOwnProperty(s)&&(d!=null||A!=null))switch(s){case"value":q=d;break;case"defaultValue":v=d;break;case"multiple":y=d;default:d!==A&<(e,t,s,d,r,A)}t=v,i=y,r=G,q!=null?Ht(e,!!i,q,!1):!!r!=!!i&&(t!=null?Ht(e,!!i,t,!0):Ht(e,!!i,i?[]:"",!1));return;case"textarea":G=q=null;for(v in i)if(s=i[v],i.hasOwnProperty(v)&&s!=null&&!r.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:lt(e,t,v,null,r,s)}for(y in r)if(s=r[y],d=i[y],r.hasOwnProperty(y)&&(s!=null||d!=null))switch(y){case"value":q=s;break;case"defaultValue":G=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:s!==d&<(e,t,y,s,r,d)}Br(e,q,G);return;case"option":for(var pe in i)if(q=i[pe],i.hasOwnProperty(pe)&&q!=null&&!r.hasOwnProperty(pe))switch(pe){case"selected":e.selected=!1;break;default:lt(e,t,pe,null,r,q)}for(A in r)if(q=r[A],G=i[A],r.hasOwnProperty(A)&&q!==G&&(q!=null||G!=null))switch(A){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:lt(e,t,A,q,r,G)}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 Te in i)q=i[Te],i.hasOwnProperty(Te)&&q!=null&&!r.hasOwnProperty(Te)&<(e,t,Te,null,r,q);for(U in r)if(q=r[U],G=i[U],r.hasOwnProperty(U)&&q!==G&&(q!=null||G!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,t));break;default:lt(e,t,U,q,r,G)}return;default:if(ki(t)){for(var rt in i)q=i[rt],i.hasOwnProperty(rt)&&q!==void 0&&!r.hasOwnProperty(rt)&&Ju(e,t,rt,void 0,r,q);for(K in r)q=r[K],G=i[K],!r.hasOwnProperty(K)||q===G||q===void 0&&G===void 0||Ju(e,t,K,q,r,G);return}}for(var D in i)q=i[D],i.hasOwnProperty(D)&&q!=null&&!r.hasOwnProperty(D)&<(e,t,D,null,r,q);for(Z in r)q=r[Z],G=i[Z],!r.hasOwnProperty(Z)||q===G||q==null&&G==null||lt(e,t,Z,q,r,G)}function xm(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function bE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var s=i[r],d=s.transferSize,y=s.initiatorType,v=s.duration;if(d&&v&&xm(y)){for(y=0,v=s.responseEnd,r+=1;r<i.length;r++){var A=i[r],U=A.startTime;if(U>v)break;var K=A.transferSize,Z=A.initiatorType;K&&xm(Z)&&(A=A.responseEnd,y+=K*(A<v?1:(v-U)/(A-U)))}if(--r,t+=8*(d+y)/(s.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 Wu=null,ec=null;function Lo(e){return e.nodeType===9?e:e.ownerDocument}function Tm(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 Nm(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 tc(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 nc=null;function yE(){var e=window.event;return e&&e.type==="popstate"?e===nc?!1:(nc=e,!0):(nc=null,!1)}var Am=typeof setTimeout=="function"?setTimeout:void 0,EE=typeof clearTimeout=="function"?clearTimeout:void 0,wm=typeof Promise=="function"?Promise:void 0,_E=typeof queueMicrotask=="function"?queueMicrotask:typeof wm<"u"?function(e){return wm.resolve(null).then(e).catch(vE)}:Am;function vE(e){setTimeout(function(){throw e})}function Xi(e){return e==="head"}function km(e,t){var i=t,r=0;do{var s=i.nextSibling;if(e.removeChild(i),s&&s.nodeType===8)if(i=s.data,i==="/$"||i==="/&"){if(r===0){e.removeChild(s),fl(t);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")sr(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,sr(i);for(var d=i.firstChild;d;){var y=d.nextSibling,v=d.nodeName;d[aa]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&d.rel.toLowerCase()==="stylesheet"||i.removeChild(d),d=y}}else i==="body"&&sr(e.ownerDocument.body);i=s}while(i);fl(t)}function Cm(e,t){var i=e;e=0;do{var r=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),r&&r.nodeType===8)if(i=r.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=r}while(i)}function ic(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ic(i),xl(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function SE(e,t,i,r){for(;e.nodeType===1;){var s=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[aa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=zn(e.nextSibling),e===null)break}return null}function xE(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=zn(e.nextSibling),e===null))return null;return e}function Om(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=zn(e.nextSibling),e===null))return null;return e}function ac(e){return e.data==="$?"||e.data==="$~"}function lc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function TE(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var r=function(){t(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function zn(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 rc=null;function Mm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return zn(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Rm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Dm(e,t,i){switch(t=Lo(i),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function sr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);xl(e)}var Bn=new Map,Lm=new Set;function zo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Si=J.d;J.d={f:NE,r:AE,D:wE,C:kE,L:CE,m:OE,X:RE,S:ME,M:DE};function NE(){var e=Si.f(),t=Ao();return e||t}function AE(e){var t=ai(e);t!==null&&t.tag===5&&t.type==="form"?$d(t):Si.r(e)}var sl=typeof document>"u"?null:document;function zm(e,t,i){var r=sl;if(r&&typeof t=="string"&&t){var s=ln(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof i=="string"&&(s+='[crossorigin="'+i+'"]'),Lm.has(s)||(Lm.add(s),e={rel:e,crossOrigin:i,href:t},r.querySelector(s)===null&&(t=r.createElement("link"),jt(t,"link",e),kt(t),r.head.appendChild(t)))}}function wE(e){Si.D(e),zm("dns-prefetch",e,null)}function kE(e,t){Si.C(e,t),zm("preconnect",e,t)}function CE(e,t,i){Si.L(e,t,i);var r=sl;if(r&&e&&t){var s='link[rel="preload"][as="'+ln(t)+'"]';t==="image"&&i&&i.imageSrcSet?(s+='[imagesrcset="'+ln(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(s+='[imagesizes="'+ln(i.imageSizes)+'"]')):s+='[href="'+ln(e)+'"]';var d=s;switch(t){case"style":d=ul(e);break;case"script":d=cl(e)}Bn.has(d)||(e=g({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),Bn.set(d,e),r.querySelector(s)!==null||t==="style"&&r.querySelector(ur(d))||t==="script"&&r.querySelector(cr(d))||(t=r.createElement("link"),jt(t,"link",e),kt(t),r.head.appendChild(t)))}}function OE(e,t){Si.m(e,t);var i=sl;if(i&&e){var r=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+ln(r)+'"][href="'+ln(e)+'"]',d=s;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=cl(e)}if(!Bn.has(d)&&(e=g({rel:"modulepreload",href:e},t),Bn.set(d,e),i.querySelector(s)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(cr(d)))return}r=i.createElement("link"),jt(r,"link",e),kt(r),i.head.appendChild(r)}}}function ME(e,t,i){Si.S(e,t,i);var r=sl;if(r&&e){var s=wi(r).hoistableStyles,d=ul(e);t=t||"default";var y=s.get(d);if(!y){var v={loading:0,preload:null};if(y=r.querySelector(ur(d)))v.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},i),(i=Bn.get(d))&&oc(e,i);var A=y=r.createElement("link");kt(A),jt(A,"link",e),A._p=new Promise(function(U,K){A.onload=U,A.onerror=K}),A.addEventListener("load",function(){v.loading|=1}),A.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Bo(y,t,r)}y={type:"stylesheet",instance:y,count:1,state:v},s.set(d,y)}}}function RE(e,t){Si.X(e,t);var i=sl;if(i&&e){var r=wi(i).hoistableScripts,s=cl(e),d=r.get(s);d||(d=i.querySelector(cr(s)),d||(e=g({src:e,async:!0},t),(t=Bn.get(s))&&sc(e,t),d=i.createElement("script"),kt(d),jt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},r.set(s,d))}}function DE(e,t){Si.M(e,t);var i=sl;if(i&&e){var r=wi(i).hoistableScripts,s=cl(e),d=r.get(s);d||(d=i.querySelector(cr(s)),d||(e=g({src:e,async:!0,type:"module"},t),(t=Bn.get(s))&&sc(e,t),d=i.createElement("script"),kt(d),jt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},r.set(s,d))}}function Bm(e,t,i,r){var s=(s=he.current)?zo(s):null;if(!s)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=ul(i.href),i=wi(s).hoistableStyles,r=i.get(t),r||(r={type:"style",instance:null,count:0,state:null},i.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=ul(i.href);var d=wi(s).hoistableStyles,y=d.get(e);if(y||(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=s.querySelector(ur(e)))&&!d._p&&(y.instance=d,y.state.loading=5),Bn.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Bn.set(e,i),d||LE(s,e,i,y.state))),t&&r===null)throw Error(o(528,""));return y}if(t&&r!==null)throw Error(o(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=cl(i),i=wi(s).hoistableScripts,r=i.get(t),r||(r={type:"script",instance:null,count:0,state:null},i.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function ul(e){return'href="'+ln(e)+'"'}function ur(e){return'link[rel="stylesheet"]['+e+"]"}function Im(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function LE(e,t,i,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}),jt(t,"link",i),kt(t),e.head.appendChild(t))}function cl(e){return'[src="'+ln(e)+'"]'}function cr(e){return"script[async]"+e}function Um(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ln(i.href)+'"]');if(r)return t.instance=r,kt(r),r;var s=g({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),kt(r),jt(r,"style",s),Bo(r,i.precedence,e),t.instance=r;case"stylesheet":s=ul(i.href);var d=e.querySelector(ur(s));if(d)return t.state.loading|=4,t.instance=d,kt(d),d;r=Im(i),(s=Bn.get(s))&&oc(r,s),d=(e.ownerDocument||e).createElement("link"),kt(d);var y=d;return y._p=new Promise(function(v,A){y.onload=v,y.onerror=A}),jt(d,"link",r),t.state.loading|=4,Bo(d,i.precedence,e),t.instance=d;case"script":return d=cl(i.src),(s=e.querySelector(cr(d)))?(t.instance=s,kt(s),s):(r=i,(s=Bn.get(d))&&(r=g({},i),sc(r,s)),e=e.ownerDocument||e,s=e.createElement("script"),kt(s),jt(s,"link",r),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Bo(r,i.precedence,e));return t.instance}function Bo(e,t,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=r.length?r[r.length-1]:null,d=s,y=0;y<r.length;y++){var v=r[y];if(v.dataset.precedence===t)d=v;else if(d!==s)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function oc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function sc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Io=null;function Hm(e,t,i){if(Io===null){var r=new Map,s=Io=new Map;s.set(i,r)}else s=Io,r=s.get(i),r||(r=new Map,s.set(i,r));if(r.has(e))return r;for(r.set(e,null),i=i.getElementsByTagName(e),s=0;s<i.length;s++){var d=i[s];if(!(d[aa]||d[Tt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var y=d.getAttribute(t)||"";y=e+y;var v=r.get(y);v?v.push(d):r.set(y,[d])}}return r}function qm(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function zE(e,t,i){if(i===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 Fm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function BE(e,t,i,r){if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var s=ul(r.href),d=t.querySelector(ur(s));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Uo.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=d,kt(d);return}d=t.ownerDocument||t,r=Im(r),(s=Bn.get(s))&&oc(r,s),d=d.createElement("link"),kt(d);var y=d;y._p=new Promise(function(v,A){y.onload=v,y.onerror=A}),jt(d,"link",r),i.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Uo.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var uc=0;function IE(e,t){return e.stylesheets&&e.count===0&&qo(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var r=setTimeout(function(){if(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+t);0<e.imgBytes&&uc===0&&(uc=62500*bE());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>uc?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(s)}}:null}function Uo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ho=null;function qo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ho=new Map,t.forEach(UE,e),Ho=null,Uo.call(e))}function UE(e,t){if(!(t.state.loading&4)){var i=Ho.get(e);if(i)var r=i.get(null);else{i=new Map,Ho.set(e,i);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<s.length;d++){var y=s[d];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(i.set(y.dataset.precedence,y),r=y)}r&&i.set(null,r)}s=t.instance,y=s.getAttribute("data-precedence"),d=i.get(y)||r,d===r&&i.set(null,s),i.set(y,s),this.count++,r=Uo.bind(this),s.addEventListener("load",r),s.addEventListener("error",r),d?d.parentNode.insertBefore(s,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var fr={$$typeof:H,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function HE(e,t,i,r,s,d,y,v,A){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=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=r,this.onUncaughtError=s,this.onCaughtError=d,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Gm(e,t,i,r,s,d,y,v,A,U,K,Z){return e=new HE(e,t,i,y,A,U,K,Z,v),t=1,d===!0&&(t|=24),d=En(3,null,null,t),e.current=d,d.stateNode=e,t=Gs(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:r,isDehydrated:i,cache:t},Vs(d),e}function jm(e){return e?(e=Fa,e):Fa}function Ym(e,t,i,r,s,d){s=jm(s),r.context===null?r.context=s:r.pendingContext=s,r=Bi(t),r.payload={element:i},d=d===void 0?null:d,d!==null&&(r.callback=d),i=Ii(e,r,t),i!==null&&(fn(i,e,t),jl(i,e,t))}function Km(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function cc(e,t){Km(e,t),(e=e.alternate)&&Km(e,t)}function Vm(e){if(e.tag===13||e.tag===31){var t=ca(e,67108864);t!==null&&fn(t,e,67108864),cc(e,67108864)}}function Xm(e){if(e.tag===13||e.tag===31){var t=Tn();t=gt(t);var i=ca(e,t);i!==null&&fn(i,e,t),cc(e,t)}}var Fo=!0;function qE(e,t,i,r){var s=L.T;L.T=null;var d=J.p;try{J.p=2,fc(e,t,i,r)}finally{J.p=d,L.T=s}}function FE(e,t,i,r){var s=L.T;L.T=null;var d=J.p;try{J.p=8,fc(e,t,i,r)}finally{J.p=d,L.T=s}}function fc(e,t,i,r){if(Fo){var s=dc(r);if(s===null)$u(e,t,r,Go,i),Zm(e,r);else if(jE(s,e,t,i,r))r.stopPropagation();else if(Zm(e,r),t&4&&-1<GE.indexOf(e)){for(;s!==null;){var d=ai(s);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var y=nn(d.pendingLanes);if(y!==0){var v=d;for(v.pendingLanes|=2,v.entangledLanes|=2;y;){var A=1<<31-We(y);v.entanglements[1]|=A,y&=~A}$n(d),($e&6)===0&&(To=yt()+500,lr(0))}}break;case 31:case 13:v=ca(d,2),v!==null&&fn(v,d,2),Ao(),cc(d,2)}if(d=dc(r),d===null&&$u(e,t,r,Go,i),d===s)break;s=d}s!==null&&r.stopPropagation()}else $u(e,t,r,null,i)}}function dc(e){return e=Me(e),pc(e)}var Go=null;function pc(e){if(Go=null,e=Jt(e),e!==null){var t=f(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=c(t),e!==null)return e;e=null}else if(i===31){if(e=p(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Go=e,null}function Pm(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(ka()){case Y:return 2;case le:return 8;case xe:case Be:return 32;case Xe:return 268435456;default:return 32}default:return 32}}var mc=!1,Pi=null,Zi=null,Qi=null,dr=new Map,pr=new Map,$i=[],GE="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 Zm(e,t){switch(e){case"focusin":case"focusout":Pi=null;break;case"dragenter":case"dragleave":Zi=null;break;case"mouseover":case"mouseout":Qi=null;break;case"pointerover":case"pointerout":dr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(t.pointerId)}}function mr(e,t,i,r,s,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:i,eventSystemFlags:r,nativeEvent:d,targetContainers:[s]},t!==null&&(t=ai(t),t!==null&&Vm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function jE(e,t,i,r,s){switch(t){case"focusin":return Pi=mr(Pi,e,t,i,r,s),!0;case"dragenter":return Zi=mr(Zi,e,t,i,r,s),!0;case"mouseover":return Qi=mr(Qi,e,t,i,r,s),!0;case"pointerover":var d=s.pointerId;return dr.set(d,mr(dr.get(d)||null,e,t,i,r,s)),!0;case"gotpointercapture":return d=s.pointerId,pr.set(d,mr(pr.get(d)||null,e,t,i,r,s)),!0}return!1}function Qm(e){var t=Jt(e.target);if(t!==null){var i=f(t);if(i!==null){if(t=i.tag,t===13){if(t=c(i),t!==null){e.blockedOn=t,Ma(e.priority,function(){Xm(i)});return}}else if(t===31){if(t=p(i),t!==null){e.blockedOn=t,Ma(e.priority,function(){Xm(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function jo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=dc(e.nativeEvent);if(i===null){i=e.nativeEvent;var r=new i.constructor(i.type,i);ge=r,i.target.dispatchEvent(r),ge=null}else return t=ai(i),t!==null&&Vm(t),e.blockedOn=i,!1;t.shift()}return!0}function $m(e,t,i){jo(e)&&i.delete(t)}function YE(){mc=!1,Pi!==null&&jo(Pi)&&(Pi=null),Zi!==null&&jo(Zi)&&(Zi=null),Qi!==null&&jo(Qi)&&(Qi=null),dr.forEach($m),pr.forEach($m)}function Yo(e,t){e.blockedOn===t&&(e.blockedOn=null,mc||(mc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,YE)))}var Ko=null;function Jm(e){Ko!==e&&(Ko=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Ko===e&&(Ko=null);for(var t=0;t<e.length;t+=3){var i=e[t],r=e[t+1],s=e[t+2];if(typeof r!="function"){if(pc(r||i)===null)continue;break}var d=ai(i);d!==null&&(e.splice(t,3),t-=3,du(d,{pending:!0,data:s,method:i.method,action:r},r,s))}}))}function fl(e){function t(A){return Yo(A,e)}Pi!==null&&Yo(Pi,e),Zi!==null&&Yo(Zi,e),Qi!==null&&Yo(Qi,e),dr.forEach(t),pr.forEach(t);for(var i=0;i<$i.length;i++){var r=$i[i];r.blockedOn===e&&(r.blockedOn=null)}for(;0<$i.length&&(i=$i[0],i.blockedOn===null);)Qm(i),i.blockedOn===null&&$i.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var s=i[r],d=i[r+1],y=s[Kt]||null;if(typeof d=="function")y||Jm(i);else if(y){var v=null;if(d&&d.hasAttribute("formAction")){if(s=d,y=d[Kt]||null)v=y.formAction;else if(pc(s)!==null)continue}else v=y.action;typeof v=="function"?i[r+1]=v:(i.splice(r,3),r-=3),Jm(i)}}}function Wm(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(y){return s=y})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),r||setTimeout(i,20)}function i(){if(!r&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function hc(e){this._internalRoot=e}Vo.prototype.render=hc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var i=t.current,r=Tn();Ym(i,r,e,t,null,null)},Vo.prototype.unmount=hc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ym(e.current,2,null,e,null,null),Ao(),t[Ni]=null}};function Vo(e){this._internalRoot=e}Vo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Oa();e={blockedOn:null,target:e,priority:t};for(var i=0;i<$i.length&&t!==0&&t<$i[i].priority;i++);$i.splice(i,0,e),i===0&&Qm(e)}};var eh=a.version;if(eh!=="19.2.0")throw Error(o(527,eh,"19.2.0"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=m(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var KE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xo.isDisabled&&Xo.supportsFiber)try{Ut=Xo.inject(KE),_t=Xo}catch{}}return gr.createRoot=function(e,t){if(!u(e))throw Error(o(299));var i=!1,r="",s=op,d=sp,y=up;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Gm(e,1,!1,null,null,i,r,null,s,d,y,Wm),e[Ni]=t.current,Qu(e),new hc(t)},gr.hydrateRoot=function(e,t,i){if(!u(e))throw Error(o(299));var r=!1,s="",d=op,y=sp,v=up,A=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(s=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError),i.formState!==void 0&&(A=i.formState)),t=Gm(e,1,!0,t,i??null,r,s,A,d,y,v,Wm),t.context=jm(null),i=t.current,r=Tn(),r=gt(r),s=Bi(r),s.callback=null,Ii(i,s,r),i=r,t.current.lanes=i,st(t,i),$n(t),e[Ni]=t.current,Qu(e),new Vo(t)},gr.version="19.2.0",gr}var ch;function t_(){if(ch)return yc.exports;ch=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),yc.exports=e_(),yc.exports}var n_=t_();const i_="/api/files",a_=()=>{const[n,a]=Ae.useState([]),[l,o]=Ae.useState(!0),[u,f]=Ae.useState(null);return Ae.useEffect(()=>{(async()=>{try{const p=await fetch(i_);if(!p.ok)throw new Error(`API request failed: ${p.status}`);const h=await p.json();a(h.files||[])}catch(p){f(p instanceof Error?p:new Error("Unknown error"))}finally{o(!1)}})()},[]),{files:n,loading:l,error:u}},fh="/api/markdown",mg=n=>{const[a,l]=Ae.useState(null),[o,u]=Ae.useState(null),[f,c]=Ae.useState(!0),[p,h]=Ae.useState(null);return Ae.useEffect(()=>{(async()=>{if(n===null){c(!1);return}c(!0),h(null);try{const b=n===void 0?fh:`${fh}/${n}`,g=await fetch(b);if(!g.ok)throw new Error(`API request failed: ${g.status}`);const _=await g.json();l(_.content),u(_.filename)}catch(b){h(b instanceof Error?b:new Error("Unknown error")),l(null),u(null)}finally{c(!1)}})()},[n]),{content:a,filename:o,loading:f,error:p}};function l_(n,a){const[l,o]=Ae.useState(()=>{try{const u=window.localStorage.getItem(n);if(!u)return a;const f=JSON.parse(u);return typeof f!="object"||f===null?(console.warn(`Invalid localStorage data for key: ${n}, resetting`),a):f}catch(u){return console.error("Error reading localStorage:",u),a}});return Ae.useEffect(()=>{try{window.localStorage.setItem(n,JSON.stringify(l))}catch(u){console.error("Error writing to localStorage:",u)}},[n,l]),[l,o]}const hg=({initialWidth:n,minWidth:a,maxWidth:l,storageKey:o,direction:u="left",collapsible:f=!1,collapseThreshold:c=100})=>{const[p,h]=Ae.useState(()=>{if(o){const N=localStorage.getItem(o);if(N){const F=parseInt(N,10);if(!isNaN(F)&&F>=a&&F<=l)return F}}return n}),[m,b]=Ae.useState(!1),[g,_]=Ae.useState(!1),E=Ae.useRef(0),x=Ae.useRef(0),C=Ae.useCallback(N=>{N.preventDefault(),_(!0),E.current=N.clientX,x.current=p},[p]);Ae.useEffect(()=>{if(!g)return;const N=H=>{const $=H.clientX-E.current,V=u==="right"?-$:$,M=x.current+V;if(f&&M<c)b(!0),h(a);else{b(!1);const Q=Math.min(l,Math.max(a,M));h(Q)}},F=()=>{_(!1),o&&!m&&localStorage.setItem(o,p.toString())};return document.addEventListener("mousemove",N),document.addEventListener("mouseup",F),()=>{document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",F)}},[g,l,a,o,p,u,f,c,m]);const R=Ae.useCallback(()=>{b(N=>!N)},[]);return{width:p,isResizing:g,isCollapsed:m,handleMouseDown:C,toggleCollapse:R}},gg=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",Sc=n=>n==="system"?gg():n,bg=()=>{const[n,a]=Ae.useState(()=>localStorage.getItem("md-review-theme")||"system");Ae.useEffect(()=>{const f=document.documentElement;Sc(n)==="dark"?f.classList.add("dark-mode"):f.classList.remove("dark-mode")},[n]),Ae.useEffect(()=>{if(n!=="system")return;const f=window.matchMedia("(prefers-color-scheme: dark)"),c=()=>{const p=document.documentElement;gg()==="dark"?p.classList.add("dark-mode"):p.classList.remove("dark-mode")};return f.addEventListener("change",c),()=>f.removeEventListener("change",c)},[n]);const l=()=>{a(f=>{const p=Sc(f)==="light"?"dark":"light";return localStorage.setItem("md-review-theme",p),p})},o=()=>{localStorage.removeItem("md-review-theme"),a("system")},u=Sc(n);return{theme:n,effectiveTheme:u,toggleTheme:l,resetToSystem:o,isDark:u==="dark",isSystem:n==="system"}},yg=()=>{const{isDark:n,toggleTheme:a}=bg();return z.jsx("button",{className:"theme-toggle",onClick:a,title:n?"Switch to light mode":"Switch to dark mode","aria-label":n?"Switch to light mode":"Switch to dark mode",children:n?z.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[z.jsx("circle",{cx:"10",cy:"10",r:"4",stroke:"currentColor",strokeWidth:"1.5"}),z.jsx("path",{d:"M10 2v2M10 16v2M18 10h-2M4 10H2M15.657 4.343l-1.414 1.414M5.757 14.243l-1.414 1.414M15.657 15.657l-1.414-1.414M5.757 5.757L4.343 4.343",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}):z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:z.jsx("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})};function r_(n){const a={name:"root",children:new Map,isFile:!1};for(const l of n){const o=l.path.split("/");let u=a;for(let f=0;f<o.length;f++){const c=o[f],p=f===o.length-1;u.children.has(c)||u.children.set(c,{name:c,path:p?l.path:void 0,children:new Map,isFile:p}),u=u.children.get(c)}}return a}function jc({node:n,selectedFile:a,onFileSelect:l,level:o=0}){const[u,f]=Ae.useState(o===0||o===1);if(n.isFile)return z.jsxs("div",{className:`tree-item file ${a===n.path?"selected":""}`,style:{paddingLeft:`${o*12+8}px`},onClick:()=>n.path&&l(n.path),children:[z.jsx("span",{className:"file-icon",children:"📄"}),z.jsx("span",{className:"file-name",children:n.name})]});const c=Array.from(n.children.entries()).sort((p,h)=>!p[1].isFile&&h[1].isFile?-1:p[1].isFile&&!h[1].isFile?1:p[0].localeCompare(h[0]));return n.name==="root"?z.jsx(z.Fragment,{children:c.map(([,p])=>z.jsx(jc,{node:p,selectedFile:a,onFileSelect:l,level:0},p.path||p.name))}):z.jsxs("div",{children:[z.jsxs("div",{className:"tree-item directory",style:{paddingLeft:`${o*12+8}px`},onClick:()=>f(!u),children:[z.jsx("svg",{className:"chevron-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",style:{transform:u?"rotate(90deg)":"rotate(0deg)"},children:z.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),z.jsx("span",{className:"folder-icon",children:"📁"}),z.jsx("span",{className:"folder-name",children:n.name})]}),u&&z.jsx("div",{className:"tree-children",children:c.map(([,p])=>z.jsx(jc,{node:p,selectedFile:a,onFileSelect:l,level:o+1},p.path||p.name))})]})}const o_=({files:n,selectedFile:a,onFileSelect:l,onToggleSidebar:o,autoFocusSearch:u})=>{const[f,c]=Ae.useState(""),p=Ae.useRef(null),h=f?n.filter(b=>b.name.toLowerCase().includes(f.toLowerCase())||b.path.toLowerCase().includes(f.toLowerCase())):n,m=r_(h);return Ae.useEffect(()=>{var b;u&&((b=p.current)==null||b.focus())},[u]),Ae.useEffect(()=>{const b=g=>{var _;g.metaKey&&g.key==="k"&&(g.preventDefault(),(_=p.current)==null||_.focus())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[]),z.jsxs("div",{className:"file-tree",children:[z.jsxs("div",{className:"file-tree-header",children:[z.jsxs("div",{className:"file-tree-header-content",children:[z.jsx("h3",{children:"Files"}),z.jsxs("span",{className:"file-count",children:[h.length," of ",n.length," files"]})]}),z.jsxs("div",{className:"file-tree-header-actions",children:[z.jsx(yg,{}),o&&z.jsx("button",{className:"sidebar-collapse-button",onClick:o,"aria-label":"Collapse sidebar",title:"Collapse sidebar",children:z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:z.jsx("path",{d:"M12 4L6 10L12 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}),z.jsx("div",{className:"search-container",children:z.jsxs("div",{className:"search-input-wrapper",children:[z.jsx("span",{className:"search-icon",children:"🔍"}),z.jsx("input",{ref:p,type:"text",className:"search-input",placeholder:"Jump to...",value:f,onChange:b=>c(b.target.value)}),f&&z.jsx("button",{className:"search-clear",onClick:()=>c(""),"aria-label":"Clear search",children:"✕"}),z.jsx("kbd",{className:"search-shortcut",children:"⌘K"})]})}),z.jsx("div",{className:"file-tree-content",children:z.jsx(jc,{node:m,selectedFile:a,onFileSelect:l})}),z.jsx("div",{className:"file-tree-footer",children:z.jsx("a",{href:"https://github.com/ryo-manba/md-review",target:"_blank",rel:"noopener noreferrer",className:"github-link","aria-label":"View on GitHub",title:"View on GitHub",children:z.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:z.jsx("path",{d:"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"})})})})]})};function s_(n,a){const l={};return(n[n.length-1]===""?[...n,""]:n).join((l.padRight?" ":"")+","+(l.padLeft===!1?"":" ")).trim()}const u_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,c_=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,f_={};function dh(n,a){return(f_.jsx?c_:u_).test(n)}const d_=/[ \t\n\f\r]/g;function p_(n){return typeof n=="object"?n.type==="text"?ph(n.value):!1:ph(n)}function ph(n){return n.replace(d_,"")===""}class wr{constructor(a,l,o){this.normal=l,this.property=a,o&&(this.space=o)}}wr.prototype.normal={};wr.prototype.property={};wr.prototype.space=void 0;function Eg(n,a){const l={},o={};for(const u of n)Object.assign(l,u.property),Object.assign(o,u.normal);return new wr(l,o,a)}function Yc(n){return n.toLowerCase()}class pn{constructor(a,l){this.attribute=l,this.property=a}}pn.prototype.attribute="";pn.prototype.booleanish=!1;pn.prototype.boolean=!1;pn.prototype.commaOrSpaceSeparated=!1;pn.prototype.commaSeparated=!1;pn.prototype.defined=!1;pn.prototype.mustUseProperty=!1;pn.prototype.number=!1;pn.prototype.overloadedBoolean=!1;pn.prototype.property="";pn.prototype.spaceSeparated=!1;pn.prototype.space=void 0;let m_=0;const Le=Na(),Lt=Na(),Kc=Na(),ie=Na(),dt=Na(),bl=Na(),Nn=Na();function Na(){return 2**++m_}const Vc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Le,booleanish:Lt,commaOrSpaceSeparated:Nn,commaSeparated:bl,number:ie,overloadedBoolean:Kc,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),xc=Object.keys(Vc);class rf extends pn{constructor(a,l,o,u){let f=-1;if(super(a,l),mh(this,"space",u),typeof o=="number")for(;++f<xc.length;){const c=xc[f];mh(this,xc[f],(o&Vc[c])===Vc[c])}}}rf.prototype.defined=!0;function mh(n,a,l){l&&(n[a]=l)}function El(n){const a={},l={};for(const[o,u]of Object.entries(n.properties)){const f=new rf(o,n.transform(n.attributes||{},o),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(f.mustUseProperty=!0),a[o]=f,l[Yc(o)]=o,l[Yc(f.attribute)]=o}return new wr(a,l,n.space)}const _g=El({properties:{ariaActiveDescendant:null,ariaAtomic:Lt,ariaAutoComplete:null,ariaBusy:Lt,ariaChecked:Lt,ariaColCount:ie,ariaColIndex:ie,ariaColSpan:ie,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:Lt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:Lt,ariaFlowTo:dt,ariaGrabbed:Lt,ariaHasPopup:null,ariaHidden:Lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:ie,ariaLive:null,ariaModal:Lt,ariaMultiLine:Lt,ariaMultiSelectable:Lt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:ie,ariaPressed:Lt,ariaReadOnly:Lt,ariaRelevant:null,ariaRequired:Lt,ariaRoleDescription:dt,ariaRowCount:ie,ariaRowIndex:ie,ariaRowSpan:ie,ariaSelected:Lt,ariaSetSize:ie,ariaSort:null,ariaValueMax:ie,ariaValueMin:ie,ariaValueNow:ie,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function vg(n,a){return a in n?n[a]:a}function Sg(n,a){return vg(n,a.toLowerCase())}const h_=El({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bl,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:Le,allowPaymentRequest:Le,allowUserMedia:Le,alt:null,as:null,async:Le,autoCapitalize:null,autoComplete:dt,autoFocus:Le,autoPlay:Le,blocking:dt,capture:null,charSet:null,checked:Le,cite:null,className:dt,cols:ie,colSpan:null,content:null,contentEditable:Lt,controls:Le,controlsList:dt,coords:ie|bl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Le,defer:Le,dir:null,dirName:null,disabled:Le,download:Kc,draggable:Lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Le,formTarget:null,headers:dt,height:ie,hidden:Kc,high:ie,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:Le,inputMode:null,integrity:null,is:null,isMap:Le,itemId:null,itemProp:dt,itemRef:dt,itemScope:Le,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Le,low:ie,manifest:null,max:null,maxLength:ie,media:null,method:null,min:null,minLength:ie,multiple:Le,muted:Le,name:null,nonce:null,noModule:Le,noValidate:Le,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:Le,optimum:ie,pattern:null,ping:dt,placeholder:null,playsInline:Le,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Le,referrerPolicy:null,rel:dt,required:Le,reversed:Le,rows:ie,rowSpan:ie,sandbox:dt,scope:null,scoped:Le,seamless:Le,selected:Le,shadowRootClonable:Le,shadowRootDelegatesFocus:Le,shadowRootMode:null,shape:null,size:ie,sizes:null,slot:null,span:ie,spellCheck:Lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ie,step:null,style:null,tabIndex:ie,target:null,title:null,translate:null,type:null,typeMustMatch:Le,useMap:null,value:Lt,width:ie,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:ie,borderColor:null,bottomMargin:ie,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Le,declare:Le,event:null,face:null,frame:null,frameBorder:null,hSpace:ie,leftMargin:ie,link:null,longDesc:null,lowSrc:null,marginHeight:ie,marginWidth:ie,noResize:Le,noHref:Le,noShade:Le,noWrap:Le,object:null,profile:null,prompt:null,rev:null,rightMargin:ie,rules:null,scheme:null,scrolling:Lt,standby:null,summary:null,text:null,topMargin:ie,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ie,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Le,disableRemotePlayback:Le,prefix:null,property:null,results:ie,security:null,unselectable:null},space:"html",transform:Sg}),g_=El({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:Nn,accentHeight:ie,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ie,amplitude:ie,arabicForm:null,ascent:ie,attributeName:null,attributeType:null,azimuth:ie,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ie,by:null,calcMode:null,capHeight:ie,className:dt,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:ie,diffuseConstant:ie,direction:null,display:null,dur:null,divisor:ie,dominantBaseline:null,download:Le,dx:null,dy:null,edgeMode:null,editable:null,elevation:ie,enableBackground:null,end:null,event:null,exponent:ie,externalResourcesRequired:null,fill:null,fillOpacity:ie,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:bl,g2:bl,glyphName:bl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ie,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ie,horizOriginX:ie,horizOriginY:ie,id:null,ideographic:ie,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ie,k:ie,k1:ie,k2:ie,k3:ie,k4:ie,kernelMatrix:Nn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ie,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:ie,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:ie,overlineThickness:ie,paintOrder:null,panose1:null,path:null,pathLength:ie,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ie,pointsAtY:ie,pointsAtZ:ie,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Nn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Nn,rev:Nn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Nn,requiredFeatures:Nn,requiredFonts:Nn,requiredFormats:Nn,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:ie,specularExponent:ie,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ie,strikethroughThickness:ie,string:null,stroke:null,strokeDashArray:Nn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ie,strokeOpacity:ie,strokeWidth:null,style:null,surfaceScale:ie,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Nn,tabIndex:ie,tableValues:null,target:null,targetX:ie,targetY:ie,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Nn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ie,underlineThickness:ie,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ie,values:null,vAlphabetic:ie,vMathematical:ie,vectorEffect:null,vHanging:ie,vIdeographic:ie,version:null,vertAdvY:ie,vertOriginX:ie,vertOriginY:ie,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ie,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:vg}),xg=El({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),Tg=El({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Sg}),Ng=El({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),b_={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"},y_=/[A-Z]/g,hh=/-[a-z]/g,E_=/^data[-\w.:]+$/i;function __(n,a){const l=Yc(a);let o=a,u=pn;if(l in n.normal)return n.property[n.normal[l]];if(l.length>4&&l.slice(0,4)==="data"&&E_.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(hh,S_);o="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!hh.test(f)){let c=f.replace(y_,v_);c.charAt(0)!=="-"&&(c="-"+c),a="data"+c}}u=rf}return new u(o,a)}function v_(n){return"-"+n.toLowerCase()}function S_(n){return n.charAt(1).toUpperCase()}const x_=Eg([_g,h_,xg,Tg,Ng],"html"),of=Eg([_g,g_,xg,Tg,Ng],"svg");function T_(n){return n.join(" ").trim()}var dl={},Tc,gh;function N_(){if(gh)return Tc;gh=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,l=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,p=/^\s+|\s+$/g,h=`
|
|
50
|
+
`,m="/",b="*",g="",_="comment",E="declaration";function x(R,N){if(typeof R!="string")throw new TypeError("First argument must be a string");if(!R)return[];N=N||{};var F=1,H=1;function $(oe){var W=oe.match(a);W&&(F+=W.length);var L=oe.lastIndexOf(h);H=~L?oe.length-L:H+oe.length}function V(){var oe={line:F,column:H};return function(W){return W.position=new M(oe),ue(),W}}function M(oe){this.start=oe,this.end={line:F,column:H},this.source=N.source}M.prototype.content=R;function Q(oe){var W=new Error(N.source+":"+F+":"+H+": "+oe);if(W.reason=oe,W.filename=N.source,W.line=F,W.column=H,W.source=R,!N.silent)throw W}function ee(oe){var W=oe.exec(R);if(W){var L=W[0];return $(L),R=R.slice(L.length),W}}function ue(){ee(l)}function B(oe){var W;for(oe=oe||[];W=ae();)W!==!1&&oe.push(W);return oe}function ae(){var oe=V();if(!(m!=R.charAt(0)||b!=R.charAt(1))){for(var W=2;g!=R.charAt(W)&&(b!=R.charAt(W)||m!=R.charAt(W+1));)++W;if(W+=2,g===R.charAt(W-1))return Q("End of comment missing");var L=R.slice(2,W-2);return H+=2,$(L),R=R.slice(W),H+=2,oe({type:_,comment:L})}}function re(){var oe=V(),W=ee(o);if(W){if(ae(),!ee(u))return Q("property missing ':'");var L=ee(f),J=oe({type:E,property:C(W[0].replace(n,g)),value:L?C(L[0].replace(n,g)):g});return ee(c),J}}function we(){var oe=[];B(oe);for(var W;W=re();)W!==!1&&(oe.push(W),B(oe));return oe}return ue(),we()}function C(R){return R?R.replace(p,g):g}return Tc=x,Tc}var bh;function A_(){if(bh)return dl;bh=1;var n=dl&&dl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=l;const a=n(N_());function l(o,u){let f=null;if(!o||typeof o!="string")return f;const c=(0,a.default)(o),p=typeof u=="function";return c.forEach(h=>{if(h.type!=="declaration")return;const{property:m,value:b}=h;p?u(m,b,h):b&&(f=f||{},f[m]=b)}),f}return dl}var br={},yh;function w_(){if(yh)return br;yh=1,Object.defineProperty(br,"__esModule",{value:!0}),br.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,l=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,f=function(m){return!m||l.test(m)||n.test(m)},c=function(m,b){return b.toUpperCase()},p=function(m,b){return"".concat(b,"-")},h=function(m,b){return b===void 0&&(b={}),f(m)?m:(m=m.toLowerCase(),b.reactCompat?m=m.replace(u,p):m=m.replace(o,p),m.replace(a,c))};return br.camelCase=h,br}var yr,Eh;function k_(){if(Eh)return yr;Eh=1;var n=yr&&yr.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},a=n(A_()),l=w_();function o(u,f){var c={};return!u||typeof u!="string"||(0,a.default)(u,function(p,h){p&&h&&(c[(0,l.camelCase)(p,f)]=h)}),c}return o.default=o,yr=o,yr}var C_=k_();const O_=af(C_),Ag=wg("end"),sf=wg("start");function wg(n){return a;function a(l){const o=l&&l.position&&l.position[n]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function M_(n){const a=sf(n),l=Ag(n);if(a&&l)return{start:a,end:l}}function Sr(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?_h(n.position):"start"in n||"end"in n?_h(n):"line"in n||"column"in n?Xc(n):""}function Xc(n){return vh(n&&n.line)+":"+vh(n&&n.column)}function _h(n){return Xc(n&&n.start)+"-"+Xc(n&&n.end)}function vh(n){return n&&typeof n=="number"?n:1}class Zt extends Error{constructor(a,l,o){super(),typeof l=="string"&&(o=l,l=void 0);let u="",f={},c=!1;if(l&&("line"in l&&"column"in l?f={place:l}:"start"in l&&"end"in l?f={place:l}:"type"in l?f={ancestors:[l],place:l.position}:f={...l}),typeof a=="string"?u=a:!f.cause&&a&&(c=!0,u=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof o=="string"){const h=o.indexOf(":");h===-1?f.ruleId=o:(f.source=o.slice(0,h),f.ruleId=o.slice(h+1))}if(!f.place&&f.ancestors&&f.ancestors){const h=f.ancestors[f.ancestors.length-1];h&&(f.place=h.position)}const p=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=p?p.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=p?p.line:void 0,this.name=Sr(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=c&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Zt.prototype.file="";Zt.prototype.name="";Zt.prototype.reason="";Zt.prototype.message="";Zt.prototype.stack="";Zt.prototype.column=void 0;Zt.prototype.line=void 0;Zt.prototype.ancestors=void 0;Zt.prototype.cause=void 0;Zt.prototype.fatal=void 0;Zt.prototype.place=void 0;Zt.prototype.ruleId=void 0;Zt.prototype.source=void 0;const uf={}.hasOwnProperty,R_=new Map,D_=/[A-Z]/g,L_=new Set(["table","tbody","thead","tfoot","tr"]),z_=new Set(["td","th"]),kg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function B_(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const l=a.filePath||void 0;let o;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=Y_(l,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=j_(l,a.jsx,a.jsxs)}const u={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:o,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?of:x_,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=Cg(u,n,void 0);return f&&typeof f!="string"?f:u.create(n,u.Fragment,{children:f||void 0},void 0)}function Cg(n,a,l){if(a.type==="element")return I_(n,a,l);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return U_(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return q_(n,a,l);if(a.type==="mdxjsEsm")return H_(n,a);if(a.type==="root")return F_(n,a,l);if(a.type==="text")return G_(n,a)}function I_(n,a,l){const o=n.schema;let u=o;a.tagName.toLowerCase()==="svg"&&o.space==="html"&&(u=of,n.schema=u),n.ancestors.push(a);const f=Mg(n,a.tagName,!1),c=K_(n,a);let p=ff(n,a);return L_.has(a.tagName)&&(p=p.filter(function(h){return typeof h=="string"?!p_(h):!0})),Og(n,c,f,a),cf(c,p),n.ancestors.pop(),n.schema=o,n.create(a,f,c,l)}function U_(n,a){if(a.data&&a.data.estree&&n.evaluater){const o=a.data.estree.body[0];return o.type,n.evaluater.evaluateExpression(o.expression)}Nr(n,a.position)}function H_(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Nr(n,a.position)}function q_(n,a,l){const o=n.schema;let u=o;a.name==="svg"&&o.space==="html"&&(u=of,n.schema=u),n.ancestors.push(a);const f=a.name===null?n.Fragment:Mg(n,a.name,!0),c=V_(n,a),p=ff(n,a);return Og(n,c,f,a),cf(c,p),n.ancestors.pop(),n.schema=o,n.create(a,f,c,l)}function F_(n,a,l){const o={};return cf(o,ff(n,a)),n.create(a,n.Fragment,o,l)}function G_(n,a){return a.value}function Og(n,a,l,o){typeof l!="string"&&l!==n.Fragment&&n.passNode&&(a.node=o)}function cf(n,a){if(a.length>0){const l=a.length>1?a:a[0];l&&(n.children=l)}}function j_(n,a,l){return o;function o(u,f,c,p){const m=Array.isArray(c.children)?l:a;return p?m(f,c,p):m(f,c)}}function Y_(n,a){return l;function l(o,u,f,c){const p=Array.isArray(f.children),h=sf(o);return a(u,f,c,p,{columnNumber:h?h.column-1:void 0,fileName:n,lineNumber:h?h.line:void 0},void 0)}}function K_(n,a){const l={};let o,u;for(u in a.properties)if(u!=="children"&&uf.call(a.properties,u)){const f=X_(n,u,a.properties[u]);if(f){const[c,p]=f;n.tableCellAlignToStyle&&c==="align"&&typeof p=="string"&&z_.has(a.tagName)?o=p:l[c]=p}}if(o){const f=l.style||(l.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return l}function V_(n,a){const l={};for(const o of a.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&n.evaluater){const f=o.data.estree.body[0];f.type;const c=f.expression;c.type;const p=c.properties[0];p.type,Object.assign(l,n.evaluater.evaluateExpression(p.argument))}else Nr(n,a.position);else{const u=o.name;let f;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&n.evaluater){const p=o.value.data.estree.body[0];p.type,f=n.evaluater.evaluateExpression(p.expression)}else Nr(n,a.position);else f=o.value===null?!0:o.value;l[u]=f}return l}function ff(n,a){const l=[];let o=-1;const u=n.passKeys?new Map:R_;for(;++o<a.children.length;){const f=a.children[o];let c;if(n.passKeys){const h=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(h){const m=u.get(h)||0;c=h+"-"+m,u.set(h,m+1)}}const p=Cg(n,f,c);p!==void 0&&l.push(p)}return l}function X_(n,a,l){const o=__(n.schema,a);if(!(l==null||typeof l=="number"&&Number.isNaN(l))){if(Array.isArray(l)&&(l=o.commaSeparated?s_(l):T_(l)),o.property==="style"){let u=typeof l=="object"?l:P_(n,String(l));return n.stylePropertyNameCase==="css"&&(u=Z_(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&o.space?b_[o.property]||o.property:o.attribute,l]}}function P_(n,a){try{return O_(a,{reactCompat:!0})}catch(l){if(n.ignoreInvalidStyle)return{};const o=l,u=new Zt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=kg+"#cannot-parse-style-attribute",u}}function Mg(n,a,l){let o;if(!l)o={type:"Literal",value:a};else if(a.includes(".")){const u=a.split(".");let f=-1,c;for(;++f<u.length;){const p=dh(u[f])?{type:"Identifier",name:u[f]}:{type:"Literal",value:u[f]};c=c?{type:"MemberExpression",object:c,property:p,computed:!!(f&&p.type==="Literal"),optional:!1}:p}o=c}else o=dh(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(o.type==="Literal"){const u=o.value;return uf.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(o);Nr(n)}function Nr(n,a){const l=new Zt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw l.file=n.filePath||void 0,l.url=kg+"#cannot-handle-mdx-estrees-without-createevaluater",l}function Z_(n){const a={};let l;for(l in n)uf.call(n,l)&&(a[Q_(l)]=n[l]);return a}function Q_(n){let a=n.replace(D_,$_);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function $_(n){return"-"+n.toLowerCase()}const Nc={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"]},J_={};function df(n,a){const l=J_,o=typeof l.includeImageAlt=="boolean"?l.includeImageAlt:!0,u=typeof l.includeHtml=="boolean"?l.includeHtml:!0;return Rg(n,o,u)}function Rg(n,a,l){if(W_(n)){if("value"in n)return n.type==="html"&&!l?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Sh(n.children,a,l)}return Array.isArray(n)?Sh(n,a,l):""}function Sh(n,a,l){const o=[];let u=-1;for(;++u<n.length;)o[u]=Rg(n[u],a,l);return o.join("")}function W_(n){return!!(n&&typeof n=="object")}const xh=document.createElement("i");function pf(n){const a="&"+n+";";xh.innerHTML=a;const l=xh.textContent;return l.charCodeAt(l.length-1)===59&&n!=="semi"||l===a?!1:l}function An(n,a,l,o){const u=n.length;let f=0,c;if(a<0?a=-a>u?0:u+a:a=a>u?u:a,l=l>0?l:0,o.length<1e4)c=Array.from(o),c.unshift(a,l),n.splice(...c);else for(l&&n.splice(a,l);f<o.length;)c=o.slice(f,f+1e4),c.unshift(a,0),n.splice(...c),f+=1e4,a+=1e4}function In(n,a){return n.length>0?(An(n,n.length,0,a),n):a}const Th={}.hasOwnProperty;function Dg(n){const a={};let l=-1;for(;++l<n.length;)e0(a,n[l]);return a}function e0(n,a){let l;for(l in a){const u=(Th.call(n,l)?n[l]:void 0)||(n[l]={}),f=a[l];let c;if(f)for(c in f){Th.call(u,c)||(u[c]=[]);const p=f[c];t0(u[c],Array.isArray(p)?p:p?[p]:[])}}}function t0(n,a){let l=-1;const o=[];for(;++l<a.length;)(a[l].add==="after"?n:o).push(a[l]);An(n,0,0,o)}function Lg(n,a){const l=Number.parseInt(n,a);return l<9||l===11||l>13&&l<32||l>126&&l<160||l>55295&&l<57344||l>64975&&l<65008||(l&65535)===65535||(l&65535)===65534||l>1114111?"�":String.fromCodePoint(l)}function jn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tn=ea(/[A-Za-z]/),Pt=ea(/[\dA-Za-z]/),n0=ea(/[#-'*+\--9=?A-Z^-~]/);function as(n){return n!==null&&(n<32||n===127)}const Pc=ea(/\d/),i0=ea(/[\dA-Fa-f]/),a0=ea(/[!-/:-@[-`{-~]/);function Se(n){return n!==null&&n<-2}function ct(n){return n!==null&&(n<0||n===32)}function qe(n){return n===-2||n===-1||n===32}const cs=ea(new RegExp("\\p{P}|\\p{S}","u")),Ta=ea(/\s/);function ea(n){return a;function a(l){return l!==null&&l>-1&&n.test(String.fromCharCode(l))}}function _l(n){const a=[];let l=-1,o=0,u=0;for(;++l<n.length;){const f=n.charCodeAt(l);let c="";if(f===37&&Pt(n.charCodeAt(l+1))&&Pt(n.charCodeAt(l+2)))u=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(c=String.fromCharCode(f));else if(f>55295&&f<57344){const p=n.charCodeAt(l+1);f<56320&&p>56319&&p<57344?(c=String.fromCharCode(f,p),u=1):c="�"}else c=String.fromCharCode(f);c&&(a.push(n.slice(o,l),encodeURIComponent(c)),o=l+u+1,c=""),u&&(l+=u,u=0)}return a.join("")+n.slice(o)}function Ve(n,a,l,o){const u=o?o-1:Number.POSITIVE_INFINITY;let f=0;return c;function c(h){return qe(h)?(n.enter(l),p(h)):a(h)}function p(h){return qe(h)&&f++<u?(n.consume(h),p):(n.exit(l),a(h))}}const l0={tokenize:r0};function r0(n){const a=n.attempt(this.parser.constructs.contentInitial,o,u);let l;return a;function o(p){if(p===null){n.consume(p);return}return n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),Ve(n,a,"linePrefix")}function u(p){return n.enter("paragraph"),f(p)}function f(p){const h=n.enter("chunkText",{contentType:"text",previous:l});return l&&(l.next=h),l=h,c(p)}function c(p){if(p===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(p);return}return Se(p)?(n.consume(p),n.exit("chunkText"),f):(n.consume(p),c)}}const o0={tokenize:s0},Nh={tokenize:u0};function s0(n){const a=this,l=[];let o=0,u,f,c;return p;function p(H){if(o<l.length){const $=l[o];return a.containerState=$[1],n.attempt($[0].continuation,h,m)(H)}return m(H)}function h(H){if(o++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,u&&F();const $=a.events.length;let V=$,M;for(;V--;)if(a.events[V][0]==="exit"&&a.events[V][1].type==="chunkFlow"){M=a.events[V][1].end;break}N(o);let Q=$;for(;Q<a.events.length;)a.events[Q][1].end={...M},Q++;return An(a.events,V+1,0,a.events.slice($)),a.events.length=Q,m(H)}return p(H)}function m(H){if(o===l.length){if(!u)return _(H);if(u.currentConstruct&&u.currentConstruct.concrete)return x(H);a.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(Nh,b,g)(H)}function b(H){return u&&F(),N(o),_(H)}function g(H){return a.parser.lazy[a.now().line]=o!==l.length,c=a.now().offset,x(H)}function _(H){return a.containerState={},n.attempt(Nh,E,x)(H)}function E(H){return o++,l.push([a.currentConstruct,a.containerState]),_(H)}function x(H){if(H===null){u&&F(),N(0),n.consume(H);return}return u=u||a.parser.flow(a.now()),n.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:f}),C(H)}function C(H){if(H===null){R(n.exit("chunkFlow"),!0),N(0),n.consume(H);return}return Se(H)?(n.consume(H),R(n.exit("chunkFlow")),o=0,a.interrupt=void 0,p):(n.consume(H),C)}function R(H,$){const V=a.sliceStream(H);if($&&V.push(null),H.previous=f,f&&(f.next=H),f=H,u.defineSkip(H.start),u.write(V),a.parser.lazy[H.start.line]){let M=u.events.length;for(;M--;)if(u.events[M][1].start.offset<c&&(!u.events[M][1].end||u.events[M][1].end.offset>c))return;const Q=a.events.length;let ee=Q,ue,B;for(;ee--;)if(a.events[ee][0]==="exit"&&a.events[ee][1].type==="chunkFlow"){if(ue){B=a.events[ee][1].end;break}ue=!0}for(N(o),M=Q;M<a.events.length;)a.events[M][1].end={...B},M++;An(a.events,ee+1,0,a.events.slice(Q)),a.events.length=M}}function N(H){let $=l.length;for(;$-- >H;){const V=l[$];a.containerState=V[1],V[0].exit.call(a,n)}l.length=H}function F(){u.write([null]),f=void 0,u=void 0,a.containerState._closeFlow=void 0}}function u0(n,a,l){return Ve(n,n.attempt(this.parser.constructs.document,a,l),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yl(n){if(n===null||ct(n)||Ta(n))return 1;if(cs(n))return 2}function fs(n,a,l){const o=[];let u=-1;for(;++u<n.length;){const f=n[u].resolveAll;f&&!o.includes(f)&&(a=f(a,l),o.push(f))}return a}const Zc={name:"attention",resolveAll:c0,tokenize:f0};function c0(n,a){let l=-1,o,u,f,c,p,h,m,b;for(;++l<n.length;)if(n[l][0]==="enter"&&n[l][1].type==="attentionSequence"&&n[l][1]._close){for(o=l;o--;)if(n[o][0]==="exit"&&n[o][1].type==="attentionSequence"&&n[o][1]._open&&a.sliceSerialize(n[o][1]).charCodeAt(0)===a.sliceSerialize(n[l][1]).charCodeAt(0)){if((n[o][1]._close||n[l][1]._open)&&(n[l][1].end.offset-n[l][1].start.offset)%3&&!((n[o][1].end.offset-n[o][1].start.offset+n[l][1].end.offset-n[l][1].start.offset)%3))continue;h=n[o][1].end.offset-n[o][1].start.offset>1&&n[l][1].end.offset-n[l][1].start.offset>1?2:1;const g={...n[o][1].end},_={...n[l][1].start};Ah(g,-h),Ah(_,h),c={type:h>1?"strongSequence":"emphasisSequence",start:g,end:{...n[o][1].end}},p={type:h>1?"strongSequence":"emphasisSequence",start:{...n[l][1].start},end:_},f={type:h>1?"strongText":"emphasisText",start:{...n[o][1].end},end:{...n[l][1].start}},u={type:h>1?"strong":"emphasis",start:{...c.start},end:{...p.end}},n[o][1].end={...c.start},n[l][1].start={...p.end},m=[],n[o][1].end.offset-n[o][1].start.offset&&(m=In(m,[["enter",n[o][1],a],["exit",n[o][1],a]])),m=In(m,[["enter",u,a],["enter",c,a],["exit",c,a],["enter",f,a]]),m=In(m,fs(a.parser.constructs.insideSpan.null,n.slice(o+1,l),a)),m=In(m,[["exit",f,a],["enter",p,a],["exit",p,a],["exit",u,a]]),n[l][1].end.offset-n[l][1].start.offset?(b=2,m=In(m,[["enter",n[l][1],a],["exit",n[l][1],a]])):b=0,An(n,o-1,l-o+3,m),l=o+m.length-b-2;break}}for(l=-1;++l<n.length;)n[l][1].type==="attentionSequence"&&(n[l][1].type="data");return n}function f0(n,a){const l=this.parser.constructs.attentionMarkers.null,o=this.previous,u=yl(o);let f;return c;function c(h){return f=h,n.enter("attentionSequence"),p(h)}function p(h){if(h===f)return n.consume(h),p;const m=n.exit("attentionSequence"),b=yl(h),g=!b||b===2&&u||l.includes(h),_=!u||u===2&&b||l.includes(o);return m._open=!!(f===42?g:g&&(u||!_)),m._close=!!(f===42?_:_&&(b||!g)),a(h)}}function Ah(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const d0={name:"autolink",tokenize:p0};function p0(n,a,l){let o=0;return u;function u(E){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(E),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),f}function f(E){return tn(E)?(n.consume(E),c):E===64?l(E):m(E)}function c(E){return E===43||E===45||E===46||Pt(E)?(o=1,p(E)):m(E)}function p(E){return E===58?(n.consume(E),o=0,h):(E===43||E===45||E===46||Pt(E))&&o++<32?(n.consume(E),p):(o=0,m(E))}function h(E){return E===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(E),n.exit("autolinkMarker"),n.exit("autolink"),a):E===null||E===32||E===60||as(E)?l(E):(n.consume(E),h)}function m(E){return E===64?(n.consume(E),b):n0(E)?(n.consume(E),m):l(E)}function b(E){return Pt(E)?g(E):l(E)}function g(E){return E===46?(n.consume(E),o=0,b):E===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(E),n.exit("autolinkMarker"),n.exit("autolink"),a):_(E)}function _(E){if((E===45||Pt(E))&&o++<63){const x=E===45?_:g;return n.consume(E),x}return l(E)}}const kr={partial:!0,tokenize:m0};function m0(n,a,l){return o;function o(f){return qe(f)?Ve(n,u,"linePrefix")(f):u(f)}function u(f){return f===null||Se(f)?a(f):l(f)}}const zg={continuation:{tokenize:g0},exit:b0,name:"blockQuote",tokenize:h0};function h0(n,a,l){const o=this;return u;function u(c){if(c===62){const p=o.containerState;return p.open||(n.enter("blockQuote",{_container:!0}),p.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(c),n.exit("blockQuoteMarker"),f}return l(c)}function f(c){return qe(c)?(n.enter("blockQuotePrefixWhitespace"),n.consume(c),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),a):(n.exit("blockQuotePrefix"),a(c))}}function g0(n,a,l){const o=this;return u;function u(c){return qe(c)?Ve(n,f,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):f(c)}function f(c){return n.attempt(zg,a,l)(c)}}function b0(n){n.exit("blockQuote")}const Bg={name:"characterEscape",tokenize:y0};function y0(n,a,l){return o;function o(f){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(f),n.exit("escapeMarker"),u}function u(f){return a0(f)?(n.enter("characterEscapeValue"),n.consume(f),n.exit("characterEscapeValue"),n.exit("characterEscape"),a):l(f)}}const Ig={name:"characterReference",tokenize:E0};function E0(n,a,l){const o=this;let u=0,f,c;return p;function p(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),h}function h(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),m):(n.enter("characterReferenceValue"),f=31,c=Pt,b(g))}function m(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),f=6,c=i0,b):(n.enter("characterReferenceValue"),f=7,c=Pc,b(g))}function b(g){if(g===59&&u){const _=n.exit("characterReferenceValue");return c===Pt&&!pf(o.sliceSerialize(_))?l(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),a)}return c(g)&&u++<f?(n.consume(g),b):l(g)}}const wh={partial:!0,tokenize:v0},kh={concrete:!0,name:"codeFenced",tokenize:_0};function _0(n,a,l){const o=this,u={partial:!0,tokenize:V};let f=0,c=0,p;return h;function h(M){return m(M)}function m(M){const Q=o.events[o.events.length-1];return f=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,p=M,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),b(M)}function b(M){return M===p?(c++,n.consume(M),b):c<3?l(M):(n.exit("codeFencedFenceSequence"),qe(M)?Ve(n,g,"whitespace")(M):g(M))}function g(M){return M===null||Se(M)?(n.exit("codeFencedFence"),o.interrupt?a(M):n.check(wh,C,$)(M)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),_(M))}function _(M){return M===null||Se(M)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),g(M)):qe(M)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Ve(n,E,"whitespace")(M)):M===96&&M===p?l(M):(n.consume(M),_)}function E(M){return M===null||Se(M)?g(M):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),x(M))}function x(M){return M===null||Se(M)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),g(M)):M===96&&M===p?l(M):(n.consume(M),x)}function C(M){return n.attempt(u,$,R)(M)}function R(M){return n.enter("lineEnding"),n.consume(M),n.exit("lineEnding"),N}function N(M){return f>0&&qe(M)?Ve(n,F,"linePrefix",f+1)(M):F(M)}function F(M){return M===null||Se(M)?n.check(wh,C,$)(M):(n.enter("codeFlowValue"),H(M))}function H(M){return M===null||Se(M)?(n.exit("codeFlowValue"),F(M)):(n.consume(M),H)}function $(M){return n.exit("codeFenced"),a(M)}function V(M,Q,ee){let ue=0;return B;function B(W){return M.enter("lineEnding"),M.consume(W),M.exit("lineEnding"),ae}function ae(W){return M.enter("codeFencedFence"),qe(W)?Ve(M,re,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):re(W)}function re(W){return W===p?(M.enter("codeFencedFenceSequence"),we(W)):ee(W)}function we(W){return W===p?(ue++,M.consume(W),we):ue>=c?(M.exit("codeFencedFenceSequence"),qe(W)?Ve(M,oe,"whitespace")(W):oe(W)):ee(W)}function oe(W){return W===null||Se(W)?(M.exit("codeFencedFence"),Q(W)):ee(W)}}}function v0(n,a,l){const o=this;return u;function u(c){return c===null?l(c):(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),f)}function f(c){return o.parser.lazy[o.now().line]?l(c):a(c)}}const Ac={name:"codeIndented",tokenize:x0},S0={partial:!0,tokenize:T0};function x0(n,a,l){const o=this;return u;function u(m){return n.enter("codeIndented"),Ve(n,f,"linePrefix",5)(m)}function f(m){const b=o.events[o.events.length-1];return b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?c(m):l(m)}function c(m){return m===null?h(m):Se(m)?n.attempt(S0,c,h)(m):(n.enter("codeFlowValue"),p(m))}function p(m){return m===null||Se(m)?(n.exit("codeFlowValue"),c(m)):(n.consume(m),p)}function h(m){return n.exit("codeIndented"),a(m)}}function T0(n,a,l){const o=this;return u;function u(c){return o.parser.lazy[o.now().line]?l(c):Se(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),u):Ve(n,f,"linePrefix",5)(c)}function f(c){const p=o.events[o.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(c):Se(c)?u(c):l(c)}}const N0={name:"codeText",previous:w0,resolve:A0,tokenize:k0};function A0(n){let a=n.length-4,l=3,o,u;if((n[l][1].type==="lineEnding"||n[l][1].type==="space")&&(n[a][1].type==="lineEnding"||n[a][1].type==="space")){for(o=l;++o<a;)if(n[o][1].type==="codeTextData"){n[l][1].type="codeTextPadding",n[a][1].type="codeTextPadding",l+=2,a-=2;break}}for(o=l-1,a++;++o<=a;)u===void 0?o!==a&&n[o][1].type!=="lineEnding"&&(u=o):(o===a||n[o][1].type==="lineEnding")&&(n[u][1].type="codeTextData",o!==u+2&&(n[u][1].end=n[o-1][1].end,n.splice(u+2,o-u-2),a-=o-u-2,o=u+2),u=void 0);return n}function w0(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function k0(n,a,l){let o=0,u,f;return c;function c(g){return n.enter("codeText"),n.enter("codeTextSequence"),p(g)}function p(g){return g===96?(n.consume(g),o++,p):(n.exit("codeTextSequence"),h(g))}function h(g){return g===null?l(g):g===32?(n.enter("space"),n.consume(g),n.exit("space"),h):g===96?(f=n.enter("codeTextSequence"),u=0,b(g)):Se(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),h):(n.enter("codeTextData"),m(g))}function m(g){return g===null||g===32||g===96||Se(g)?(n.exit("codeTextData"),h(g)):(n.consume(g),m)}function b(g){return g===96?(n.consume(g),u++,b):u===o?(n.exit("codeTextSequence"),n.exit("codeText"),a(g)):(f.type="codeTextData",m(g))}}class C0{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,l){const o=l??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(a,o):a>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(a,l,o){const u=l||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return o&&Er(this.left,o),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),Er(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),Er(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const l=this.left.splice(a,Number.POSITIVE_INFINITY);Er(this.right,l.reverse())}else{const l=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);Er(this.left,l.reverse())}}}function Er(n,a){let l=0;if(a.length<1e4)n.push(...a);else for(;l<a.length;)n.push(...a.slice(l,l+1e4)),l+=1e4}function Ug(n){const a={};let l=-1,o,u,f,c,p,h,m;const b=new C0(n);for(;++l<b.length;){for(;l in a;)l=a[l];if(o=b.get(l),l&&o[1].type==="chunkFlow"&&b.get(l-1)[1].type==="listItemPrefix"&&(h=o[1]._tokenizer.events,f=0,f<h.length&&h[f][1].type==="lineEndingBlank"&&(f+=2),f<h.length&&h[f][1].type==="content"))for(;++f<h.length&&h[f][1].type!=="content";)h[f][1].type==="chunkText"&&(h[f][1]._isInFirstContentOfListItem=!0,f++);if(o[0]==="enter")o[1].contentType&&(Object.assign(a,O0(b,l)),l=a[l],m=!0);else if(o[1]._container){for(f=l,u=void 0;f--;)if(c=b.get(f),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(u&&(b.get(u)[1].type="lineEndingBlank"),c[1].type="lineEnding",u=f);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;u&&(o[1].end={...b.get(u)[1].start},p=b.slice(u,l),p.unshift(o),b.splice(u,l-u+1,p))}}return An(n,0,Number.POSITIVE_INFINITY,b.slice(0)),!m}function O0(n,a){const l=n.get(a)[1],o=n.get(a)[2];let u=a-1;const f=[];let c=l._tokenizer;c||(c=o.parser[l.contentType](l.start),l._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const p=c.events,h=[],m={};let b,g,_=-1,E=l,x=0,C=0;const R=[C];for(;E;){for(;n.get(++u)[1]!==E;);f.push(u),E._tokenizer||(b=o.sliceStream(E),E.next||b.push(null),g&&c.defineSkip(E.start),E._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(b),E._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),g=E,E=E.next}for(E=l;++_<p.length;)p[_][0]==="exit"&&p[_-1][0]==="enter"&&p[_][1].type===p[_-1][1].type&&p[_][1].start.line!==p[_][1].end.line&&(C=_+1,R.push(C),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(c.events=[],E?(E._tokenizer=void 0,E.previous=void 0):R.pop(),_=R.length;_--;){const N=p.slice(R[_],R[_+1]),F=f.pop();h.push([F,F+N.length-1]),n.splice(F,2,N)}for(h.reverse(),_=-1;++_<h.length;)m[x+h[_][0]]=x+h[_][1],x+=h[_][1]-h[_][0]-1;return m}const M0={resolve:D0,tokenize:L0},R0={partial:!0,tokenize:z0};function D0(n){return Ug(n),n}function L0(n,a){let l;return o;function o(p){return n.enter("content"),l=n.enter("chunkContent",{contentType:"content"}),u(p)}function u(p){return p===null?f(p):Se(p)?n.check(R0,c,f)(p):(n.consume(p),u)}function f(p){return n.exit("chunkContent"),n.exit("content"),a(p)}function c(p){return n.consume(p),n.exit("chunkContent"),l.next=n.enter("chunkContent",{contentType:"content",previous:l}),l=l.next,u}}function z0(n,a,l){const o=this;return u;function u(c){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),Ve(n,f,"linePrefix")}function f(c){if(c===null||Se(c))return l(c);const p=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(c):n.interrupt(o.parser.constructs.flow,l,a)(c)}}function Hg(n,a,l,o,u,f,c,p,h){const m=h||Number.POSITIVE_INFINITY;let b=0;return g;function g(N){return N===60?(n.enter(o),n.enter(u),n.enter(f),n.consume(N),n.exit(f),_):N===null||N===32||N===41||as(N)?l(N):(n.enter(o),n.enter(c),n.enter(p),n.enter("chunkString",{contentType:"string"}),C(N))}function _(N){return N===62?(n.enter(f),n.consume(N),n.exit(f),n.exit(u),n.exit(o),a):(n.enter(p),n.enter("chunkString",{contentType:"string"}),E(N))}function E(N){return N===62?(n.exit("chunkString"),n.exit(p),_(N)):N===null||N===60||Se(N)?l(N):(n.consume(N),N===92?x:E)}function x(N){return N===60||N===62||N===92?(n.consume(N),E):E(N)}function C(N){return!b&&(N===null||N===41||ct(N))?(n.exit("chunkString"),n.exit(p),n.exit(c),n.exit(o),a(N)):b<m&&N===40?(n.consume(N),b++,C):N===41?(n.consume(N),b--,C):N===null||N===32||N===40||as(N)?l(N):(n.consume(N),N===92?R:C)}function R(N){return N===40||N===41||N===92?(n.consume(N),C):C(N)}}function qg(n,a,l,o,u,f){const c=this;let p=0,h;return m;function m(E){return n.enter(o),n.enter(u),n.consume(E),n.exit(u),n.enter(f),b}function b(E){return p>999||E===null||E===91||E===93&&!h||E===94&&!p&&"_hiddenFootnoteSupport"in c.parser.constructs?l(E):E===93?(n.exit(f),n.enter(u),n.consume(E),n.exit(u),n.exit(o),a):Se(E)?(n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),b):(n.enter("chunkString",{contentType:"string"}),g(E))}function g(E){return E===null||E===91||E===93||Se(E)||p++>999?(n.exit("chunkString"),b(E)):(n.consume(E),h||(h=!qe(E)),E===92?_:g)}function _(E){return E===91||E===92||E===93?(n.consume(E),p++,g):g(E)}}function Fg(n,a,l,o,u,f){let c;return p;function p(_){return _===34||_===39||_===40?(n.enter(o),n.enter(u),n.consume(_),n.exit(u),c=_===40?41:_,h):l(_)}function h(_){return _===c?(n.enter(u),n.consume(_),n.exit(u),n.exit(o),a):(n.enter(f),m(_))}function m(_){return _===c?(n.exit(f),h(c)):_===null?l(_):Se(_)?(n.enter("lineEnding"),n.consume(_),n.exit("lineEnding"),Ve(n,m,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),b(_))}function b(_){return _===c||_===null||Se(_)?(n.exit("chunkString"),m(_)):(n.consume(_),_===92?g:b)}function g(_){return _===c||_===92?(n.consume(_),b):b(_)}}function xr(n,a){let l;return o;function o(u){return Se(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),l=!0,o):qe(u)?Ve(n,o,l?"linePrefix":"lineSuffix")(u):a(u)}}const B0={name:"definition",tokenize:U0},I0={partial:!0,tokenize:H0};function U0(n,a,l){const o=this;let u;return f;function f(E){return n.enter("definition"),c(E)}function c(E){return qg.call(o,n,p,l,"definitionLabel","definitionLabelMarker","definitionLabelString")(E)}function p(E){return u=jn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),E===58?(n.enter("definitionMarker"),n.consume(E),n.exit("definitionMarker"),h):l(E)}function h(E){return ct(E)?xr(n,m)(E):m(E)}function m(E){return Hg(n,b,l,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(E)}function b(E){return n.attempt(I0,g,g)(E)}function g(E){return qe(E)?Ve(n,_,"whitespace")(E):_(E)}function _(E){return E===null||Se(E)?(n.exit("definition"),o.parser.defined.push(u),a(E)):l(E)}}function H0(n,a,l){return o;function o(p){return ct(p)?xr(n,u)(p):l(p)}function u(p){return Fg(n,f,l,"definitionTitle","definitionTitleMarker","definitionTitleString")(p)}function f(p){return qe(p)?Ve(n,c,"whitespace")(p):c(p)}function c(p){return p===null||Se(p)?a(p):l(p)}}const q0={name:"hardBreakEscape",tokenize:F0};function F0(n,a,l){return o;function o(f){return n.enter("hardBreakEscape"),n.consume(f),u}function u(f){return Se(f)?(n.exit("hardBreakEscape"),a(f)):l(f)}}const G0={name:"headingAtx",resolve:j0,tokenize:Y0};function j0(n,a){let l=n.length-2,o=3,u,f;return n[o][1].type==="whitespace"&&(o+=2),l-2>o&&n[l][1].type==="whitespace"&&(l-=2),n[l][1].type==="atxHeadingSequence"&&(o===l-1||l-4>o&&n[l-2][1].type==="whitespace")&&(l-=o+1===l?2:4),l>o&&(u={type:"atxHeadingText",start:n[o][1].start,end:n[l][1].end},f={type:"chunkText",start:n[o][1].start,end:n[l][1].end,contentType:"text"},An(n,o,l-o+1,[["enter",u,a],["enter",f,a],["exit",f,a],["exit",u,a]])),n}function Y0(n,a,l){let o=0;return u;function u(b){return n.enter("atxHeading"),f(b)}function f(b){return n.enter("atxHeadingSequence"),c(b)}function c(b){return b===35&&o++<6?(n.consume(b),c):b===null||ct(b)?(n.exit("atxHeadingSequence"),p(b)):l(b)}function p(b){return b===35?(n.enter("atxHeadingSequence"),h(b)):b===null||Se(b)?(n.exit("atxHeading"),a(b)):qe(b)?Ve(n,p,"whitespace")(b):(n.enter("atxHeadingText"),m(b))}function h(b){return b===35?(n.consume(b),h):(n.exit("atxHeadingSequence"),p(b))}function m(b){return b===null||b===35||ct(b)?(n.exit("atxHeadingText"),p(b)):(n.consume(b),m)}}const K0=["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"],Ch=["pre","script","style","textarea"],V0={concrete:!0,name:"htmlFlow",resolveTo:Z0,tokenize:Q0},X0={partial:!0,tokenize:J0},P0={partial:!0,tokenize:$0};function Z0(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type==="htmlFlow"););return a>1&&n[a-2][1].type==="linePrefix"&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function Q0(n,a,l){const o=this;let u,f,c,p,h;return m;function m(S){return b(S)}function b(S){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(S),g}function g(S){return S===33?(n.consume(S),_):S===47?(n.consume(S),f=!0,C):S===63?(n.consume(S),u=3,o.interrupt?a:T):tn(S)?(n.consume(S),c=String.fromCharCode(S),R):l(S)}function _(S){return S===45?(n.consume(S),u=2,E):S===91?(n.consume(S),u=5,p=0,x):tn(S)?(n.consume(S),u=4,o.interrupt?a:T):l(S)}function E(S){return S===45?(n.consume(S),o.interrupt?a:T):l(S)}function x(S){const ce="CDATA[";return S===ce.charCodeAt(p++)?(n.consume(S),p===ce.length?o.interrupt?a:re:x):l(S)}function C(S){return tn(S)?(n.consume(S),c=String.fromCharCode(S),R):l(S)}function R(S){if(S===null||S===47||S===62||ct(S)){const ce=S===47,_e=c.toLowerCase();return!ce&&!f&&Ch.includes(_e)?(u=1,o.interrupt?a(S):re(S)):K0.includes(c.toLowerCase())?(u=6,ce?(n.consume(S),N):o.interrupt?a(S):re(S)):(u=7,o.interrupt&&!o.parser.lazy[o.now().line]?l(S):f?F(S):H(S))}return S===45||Pt(S)?(n.consume(S),c+=String.fromCharCode(S),R):l(S)}function N(S){return S===62?(n.consume(S),o.interrupt?a:re):l(S)}function F(S){return qe(S)?(n.consume(S),F):B(S)}function H(S){return S===47?(n.consume(S),B):S===58||S===95||tn(S)?(n.consume(S),$):qe(S)?(n.consume(S),H):B(S)}function $(S){return S===45||S===46||S===58||S===95||Pt(S)?(n.consume(S),$):V(S)}function V(S){return S===61?(n.consume(S),M):qe(S)?(n.consume(S),V):H(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?l(S):S===34||S===39?(n.consume(S),h=S,Q):qe(S)?(n.consume(S),M):ee(S)}function Q(S){return S===h?(n.consume(S),h=null,ue):S===null||Se(S)?l(S):(n.consume(S),Q)}function ee(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||ct(S)?V(S):(n.consume(S),ee)}function ue(S){return S===47||S===62||qe(S)?H(S):l(S)}function B(S){return S===62?(n.consume(S),ae):l(S)}function ae(S){return S===null||Se(S)?re(S):qe(S)?(n.consume(S),ae):l(S)}function re(S){return S===45&&u===2?(n.consume(S),L):S===60&&u===1?(n.consume(S),J):S===62&&u===4?(n.consume(S),w):S===63&&u===3?(n.consume(S),T):S===93&&u===5?(n.consume(S),ye):Se(S)&&(u===6||u===7)?(n.exit("htmlFlowData"),n.check(X0,j,we)(S)):S===null||Se(S)?(n.exit("htmlFlowData"),we(S)):(n.consume(S),re)}function we(S){return n.check(P0,oe,j)(S)}function oe(S){return n.enter("lineEnding"),n.consume(S),n.exit("lineEnding"),W}function W(S){return S===null||Se(S)?we(S):(n.enter("htmlFlowData"),re(S))}function L(S){return S===45?(n.consume(S),T):re(S)}function J(S){return S===47?(n.consume(S),c="",ne):re(S)}function ne(S){if(S===62){const ce=c.toLowerCase();return Ch.includes(ce)?(n.consume(S),w):re(S)}return tn(S)&&c.length<8?(n.consume(S),c+=String.fromCharCode(S),ne):re(S)}function ye(S){return S===93?(n.consume(S),T):re(S)}function T(S){return S===62?(n.consume(S),w):S===45&&u===2?(n.consume(S),T):re(S)}function w(S){return S===null||Se(S)?(n.exit("htmlFlowData"),j(S)):(n.consume(S),w)}function j(S){return n.exit("htmlFlow"),a(S)}}function $0(n,a,l){const o=this;return u;function u(c){return Se(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),f):l(c)}function f(c){return o.parser.lazy[o.now().line]?l(c):a(c)}}function J0(n,a,l){return o;function o(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),n.attempt(kr,a,l)}}const W0={name:"htmlText",tokenize:ev};function ev(n,a,l){const o=this;let u,f,c;return p;function p(T){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(T),h}function h(T){return T===33?(n.consume(T),m):T===47?(n.consume(T),V):T===63?(n.consume(T),H):tn(T)?(n.consume(T),ee):l(T)}function m(T){return T===45?(n.consume(T),b):T===91?(n.consume(T),f=0,x):tn(T)?(n.consume(T),F):l(T)}function b(T){return T===45?(n.consume(T),E):l(T)}function g(T){return T===null?l(T):T===45?(n.consume(T),_):Se(T)?(c=g,J(T)):(n.consume(T),g)}function _(T){return T===45?(n.consume(T),E):g(T)}function E(T){return T===62?L(T):T===45?_(T):g(T)}function x(T){const w="CDATA[";return T===w.charCodeAt(f++)?(n.consume(T),f===w.length?C:x):l(T)}function C(T){return T===null?l(T):T===93?(n.consume(T),R):Se(T)?(c=C,J(T)):(n.consume(T),C)}function R(T){return T===93?(n.consume(T),N):C(T)}function N(T){return T===62?L(T):T===93?(n.consume(T),N):C(T)}function F(T){return T===null||T===62?L(T):Se(T)?(c=F,J(T)):(n.consume(T),F)}function H(T){return T===null?l(T):T===63?(n.consume(T),$):Se(T)?(c=H,J(T)):(n.consume(T),H)}function $(T){return T===62?L(T):H(T)}function V(T){return tn(T)?(n.consume(T),M):l(T)}function M(T){return T===45||Pt(T)?(n.consume(T),M):Q(T)}function Q(T){return Se(T)?(c=Q,J(T)):qe(T)?(n.consume(T),Q):L(T)}function ee(T){return T===45||Pt(T)?(n.consume(T),ee):T===47||T===62||ct(T)?ue(T):l(T)}function ue(T){return T===47?(n.consume(T),L):T===58||T===95||tn(T)?(n.consume(T),B):Se(T)?(c=ue,J(T)):qe(T)?(n.consume(T),ue):L(T)}function B(T){return T===45||T===46||T===58||T===95||Pt(T)?(n.consume(T),B):ae(T)}function ae(T){return T===61?(n.consume(T),re):Se(T)?(c=ae,J(T)):qe(T)?(n.consume(T),ae):ue(T)}function re(T){return T===null||T===60||T===61||T===62||T===96?l(T):T===34||T===39?(n.consume(T),u=T,we):Se(T)?(c=re,J(T)):qe(T)?(n.consume(T),re):(n.consume(T),oe)}function we(T){return T===u?(n.consume(T),u=void 0,W):T===null?l(T):Se(T)?(c=we,J(T)):(n.consume(T),we)}function oe(T){return T===null||T===34||T===39||T===60||T===61||T===96?l(T):T===47||T===62||ct(T)?ue(T):(n.consume(T),oe)}function W(T){return T===47||T===62||ct(T)?ue(T):l(T)}function L(T){return T===62?(n.consume(T),n.exit("htmlTextData"),n.exit("htmlText"),a):l(T)}function J(T){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(T),n.exit("lineEnding"),ne}function ne(T){return qe(T)?Ve(n,ye,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):ye(T)}function ye(T){return n.enter("htmlTextData"),c(T)}}const mf={name:"labelEnd",resolveAll:av,resolveTo:lv,tokenize:rv},tv={tokenize:ov},nv={tokenize:sv},iv={tokenize:uv};function av(n){let a=-1;const l=[];for(;++a<n.length;){const o=n[a][1];if(l.push(n[a]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const u=o.type==="labelImage"?4:2;o.type="data",a+=u}}return n.length!==l.length&&An(n,0,n.length,l),n}function lv(n,a){let l=n.length,o=0,u,f,c,p;for(;l--;)if(u=n[l][1],f){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;n[l][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(c){if(n[l][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(f=l,u.type!=="labelLink")){o=2;break}}else u.type==="labelEnd"&&(c=l);const h={type:n[f][1].type==="labelLink"?"link":"image",start:{...n[f][1].start},end:{...n[n.length-1][1].end}},m={type:"label",start:{...n[f][1].start},end:{...n[c][1].end}},b={type:"labelText",start:{...n[f+o+2][1].end},end:{...n[c-2][1].start}};return p=[["enter",h,a],["enter",m,a]],p=In(p,n.slice(f+1,f+o+3)),p=In(p,[["enter",b,a]]),p=In(p,fs(a.parser.constructs.insideSpan.null,n.slice(f+o+4,c-3),a)),p=In(p,[["exit",b,a],n[c-2],n[c-1],["exit",m,a]]),p=In(p,n.slice(c+1)),p=In(p,[["exit",h,a]]),An(n,f,n.length,p),n}function rv(n,a,l){const o=this;let u=o.events.length,f,c;for(;u--;)if((o.events[u][1].type==="labelImage"||o.events[u][1].type==="labelLink")&&!o.events[u][1]._balanced){f=o.events[u][1];break}return p;function p(_){return f?f._inactive?g(_):(c=o.parser.defined.includes(jn(o.sliceSerialize({start:f.end,end:o.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(_),n.exit("labelMarker"),n.exit("labelEnd"),h):l(_)}function h(_){return _===40?n.attempt(tv,b,c?b:g)(_):_===91?n.attempt(nv,b,c?m:g)(_):c?b(_):g(_)}function m(_){return n.attempt(iv,b,g)(_)}function b(_){return a(_)}function g(_){return f._balanced=!0,l(_)}}function ov(n,a,l){return o;function o(g){return n.enter("resource"),n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),u}function u(g){return ct(g)?xr(n,f)(g):f(g)}function f(g){return g===41?b(g):Hg(n,c,p,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function c(g){return ct(g)?xr(n,h)(g):b(g)}function p(g){return l(g)}function h(g){return g===34||g===39||g===40?Fg(n,m,l,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):b(g)}function m(g){return ct(g)?xr(n,b)(g):b(g)}function b(g){return g===41?(n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),n.exit("resource"),a):l(g)}}function sv(n,a,l){const o=this;return u;function u(p){return qg.call(o,n,f,c,"reference","referenceMarker","referenceString")(p)}function f(p){return o.parser.defined.includes(jn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?a(p):l(p)}function c(p){return l(p)}}function uv(n,a,l){return o;function o(f){return n.enter("reference"),n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),u}function u(f){return f===93?(n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),n.exit("reference"),a):l(f)}}const cv={name:"labelStartImage",resolveAll:mf.resolveAll,tokenize:fv};function fv(n,a,l){const o=this;return u;function u(p){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(p),n.exit("labelImageMarker"),f}function f(p){return p===91?(n.enter("labelMarker"),n.consume(p),n.exit("labelMarker"),n.exit("labelImage"),c):l(p)}function c(p){return p===94&&"_hiddenFootnoteSupport"in o.parser.constructs?l(p):a(p)}}const dv={name:"labelStartLink",resolveAll:mf.resolveAll,tokenize:pv};function pv(n,a,l){const o=this;return u;function u(c){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(c),n.exit("labelMarker"),n.exit("labelLink"),f}function f(c){return c===94&&"_hiddenFootnoteSupport"in o.parser.constructs?l(c):a(c)}}const wc={name:"lineEnding",tokenize:mv};function mv(n,a){return l;function l(o){return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),Ve(n,a,"linePrefix")}}const is={name:"thematicBreak",tokenize:hv};function hv(n,a,l){let o=0,u;return f;function f(m){return n.enter("thematicBreak"),c(m)}function c(m){return u=m,p(m)}function p(m){return m===u?(n.enter("thematicBreakSequence"),h(m)):o>=3&&(m===null||Se(m))?(n.exit("thematicBreak"),a(m)):l(m)}function h(m){return m===u?(n.consume(m),o++,h):(n.exit("thematicBreakSequence"),qe(m)?Ve(n,p,"whitespace")(m):p(m))}}const dn={continuation:{tokenize:Ev},exit:vv,name:"list",tokenize:yv},gv={partial:!0,tokenize:Sv},bv={partial:!0,tokenize:_v};function yv(n,a,l){const o=this,u=o.events[o.events.length-1];let f=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,c=0;return p;function p(E){const x=o.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!o.containerState.marker||E===o.containerState.marker:Pc(E)){if(o.containerState.type||(o.containerState.type=x,n.enter(x,{_container:!0})),x==="listUnordered")return n.enter("listItemPrefix"),E===42||E===45?n.check(is,l,m)(E):m(E);if(!o.interrupt||E===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),h(E)}return l(E)}function h(E){return Pc(E)&&++c<10?(n.consume(E),h):(!o.interrupt||c<2)&&(o.containerState.marker?E===o.containerState.marker:E===41||E===46)?(n.exit("listItemValue"),m(E)):l(E)}function m(E){return n.enter("listItemMarker"),n.consume(E),n.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||E,n.check(kr,o.interrupt?l:b,n.attempt(gv,_,g))}function b(E){return o.containerState.initialBlankLine=!0,f++,_(E)}function g(E){return qe(E)?(n.enter("listItemPrefixWhitespace"),n.consume(E),n.exit("listItemPrefixWhitespace"),_):l(E)}function _(E){return o.containerState.size=f+o.sliceSerialize(n.exit("listItemPrefix"),!0).length,a(E)}}function Ev(n,a,l){const o=this;return o.containerState._closeFlow=void 0,n.check(kr,u,f);function u(p){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Ve(n,a,"listItemIndent",o.containerState.size+1)(p)}function f(p){return o.containerState.furtherBlankLines||!qe(p)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,c(p)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,n.attempt(bv,a,c)(p))}function c(p){return o.containerState._closeFlow=!0,o.interrupt=void 0,Ve(n,n.attempt(dn,a,l),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(p)}}function _v(n,a,l){const o=this;return Ve(n,u,"listItemIndent",o.containerState.size+1);function u(f){const c=o.events[o.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===o.containerState.size?a(f):l(f)}}function vv(n){n.exit(this.containerState.type)}function Sv(n,a,l){const o=this;return Ve(n,u,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(f){const c=o.events[o.events.length-1];return!qe(f)&&c&&c[1].type==="listItemPrefixWhitespace"?a(f):l(f)}}const Oh={name:"setextUnderline",resolveTo:xv,tokenize:Tv};function xv(n,a){let l=n.length,o,u,f;for(;l--;)if(n[l][0]==="enter"){if(n[l][1].type==="content"){o=l;break}n[l][1].type==="paragraph"&&(u=l)}else n[l][1].type==="content"&&n.splice(l,1),!f&&n[l][1].type==="definition"&&(f=l);const c={type:"setextHeading",start:{...n[o][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type="setextHeadingText",f?(n.splice(u,0,["enter",c,a]),n.splice(f+1,0,["exit",n[o][1],a]),n[o][1].end={...n[f][1].end}):n[o][1]=c,n.push(["exit",c,a]),n}function Tv(n,a,l){const o=this;let u;return f;function f(m){let b=o.events.length,g;for(;b--;)if(o.events[b][1].type!=="lineEnding"&&o.events[b][1].type!=="linePrefix"&&o.events[b][1].type!=="content"){g=o.events[b][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||g)?(n.enter("setextHeadingLine"),u=m,c(m)):l(m)}function c(m){return n.enter("setextHeadingLineSequence"),p(m)}function p(m){return m===u?(n.consume(m),p):(n.exit("setextHeadingLineSequence"),qe(m)?Ve(n,h,"lineSuffix")(m):h(m))}function h(m){return m===null||Se(m)?(n.exit("setextHeadingLine"),a(m)):l(m)}}const Nv={tokenize:Av};function Av(n){const a=this,l=n.attempt(kr,o,n.attempt(this.parser.constructs.flowInitial,u,Ve(n,n.attempt(this.parser.constructs.flow,u,n.attempt(M0,u)),"linePrefix")));return l;function o(f){if(f===null){n.consume(f);return}return n.enter("lineEndingBlank"),n.consume(f),n.exit("lineEndingBlank"),a.currentConstruct=void 0,l}function u(f){if(f===null){n.consume(f);return}return n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),a.currentConstruct=void 0,l}}const wv={resolveAll:jg()},kv=Gg("string"),Cv=Gg("text");function Gg(n){return{resolveAll:jg(n==="text"?Ov:void 0),tokenize:a};function a(l){const o=this,u=this.parser.constructs[n],f=l.attempt(u,c,p);return c;function c(b){return m(b)?f(b):p(b)}function p(b){if(b===null){l.consume(b);return}return l.enter("data"),l.consume(b),h}function h(b){return m(b)?(l.exit("data"),f(b)):(l.consume(b),h)}function m(b){if(b===null)return!0;const g=u[b];let _=-1;if(g)for(;++_<g.length;){const E=g[_];if(!E.previous||E.previous.call(o,o.previous))return!0}return!1}}}function jg(n){return a;function a(l,o){let u=-1,f;for(;++u<=l.length;)f===void 0?l[u]&&l[u][1].type==="data"&&(f=u,u++):(!l[u]||l[u][1].type!=="data")&&(u!==f+2&&(l[f][1].end=l[u-1][1].end,l.splice(f+2,u-f-2),u=f+2),f=void 0);return n?n(l,o):l}}function Ov(n,a){let l=0;for(;++l<=n.length;)if((l===n.length||n[l][1].type==="lineEnding")&&n[l-1][1].type==="data"){const o=n[l-1][1],u=a.sliceStream(o);let f=u.length,c=-1,p=0,h;for(;f--;){const m=u[f];if(typeof m=="string"){for(c=m.length;m.charCodeAt(c-1)===32;)p++,c--;if(c)break;c=-1}else if(m===-2)h=!0,p++;else if(m!==-1){f++;break}}if(a._contentTypeTextTrailing&&l===n.length&&(p=0),p){const m={type:l===n.length||h||p<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?c:o.start._bufferIndex+c,_index:o.start._index+f,line:o.end.line,column:o.end.column-p,offset:o.end.offset-p},end:{...o.end}};o.end={...m.start},o.start.offset===o.end.offset?Object.assign(o,m):(n.splice(l,0,["enter",m,a],["exit",m,a]),l+=2)}l++}return n}const Mv={42:dn,43:dn,45:dn,48:dn,49:dn,50:dn,51:dn,52:dn,53:dn,54:dn,55:dn,56:dn,57:dn,62:zg},Rv={91:B0},Dv={[-2]:Ac,[-1]:Ac,32:Ac},Lv={35:G0,42:is,45:[Oh,is],60:V0,61:Oh,95:is,96:kh,126:kh},zv={38:Ig,92:Bg},Bv={[-5]:wc,[-4]:wc,[-3]:wc,33:cv,38:Ig,42:Zc,60:[d0,W0],91:dv,92:[q0,Bg],93:mf,95:Zc,96:N0},Iv={null:[Zc,wv]},Uv={null:[42,95]},Hv={null:[]},qv=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Uv,contentInitial:Rv,disable:Hv,document:Mv,flow:Lv,flowInitial:Dv,insideSpan:Iv,string:zv,text:Bv},Symbol.toStringTag,{value:"Module"}));function Fv(n,a,l){let o={_bufferIndex:-1,_index:0,line:l&&l.line||1,column:l&&l.column||1,offset:l&&l.offset||0};const u={},f=[];let c=[],p=[];const h={attempt:Q(V),check:Q(M),consume:F,enter:H,exit:$,interrupt:Q(M,{interrupt:!0})},m={code:null,containerState:{},defineSkip:C,events:[],now:x,parser:n,previous:null,sliceSerialize:_,sliceStream:E,write:g};let b=a.tokenize.call(m,h);return a.resolveAll&&f.push(a),m;function g(ae){return c=In(c,ae),R(),c[c.length-1]!==null?[]:(ee(a,0),m.events=fs(f,m.events,m),m.events)}function _(ae,re){return jv(E(ae),re)}function E(ae){return Gv(c,ae)}function x(){const{_bufferIndex:ae,_index:re,line:we,column:oe,offset:W}=o;return{_bufferIndex:ae,_index:re,line:we,column:oe,offset:W}}function C(ae){u[ae.line]=ae.column,B()}function R(){let ae;for(;o._index<c.length;){const re=c[o._index];if(typeof re=="string")for(ae=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===ae&&o._bufferIndex<re.length;)N(re.charCodeAt(o._bufferIndex));else N(re)}}function N(ae){b=b(ae)}function F(ae){Se(ae)?(o.line++,o.column=1,o.offset+=ae===-3?2:1,B()):ae!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===c[o._index].length&&(o._bufferIndex=-1,o._index++)),m.previous=ae}function H(ae,re){const we=re||{};return we.type=ae,we.start=x(),m.events.push(["enter",we,m]),p.push(we),we}function $(ae){const re=p.pop();return re.end=x(),m.events.push(["exit",re,m]),re}function V(ae,re){ee(ae,re.from)}function M(ae,re){re.restore()}function Q(ae,re){return we;function we(oe,W,L){let J,ne,ye,T;return Array.isArray(oe)?j(oe):"tokenize"in oe?j([oe]):w(oe);function w(he){return ze;function ze(Je){const Qe=Je!==null&&he[Je],zt=Je!==null&&he.null,mn=[...Array.isArray(Qe)?Qe:Qe?[Qe]:[],...Array.isArray(zt)?zt:zt?[zt]:[]];return j(mn)(Je)}}function j(he){return J=he,ne=0,he.length===0?L:S(he[ne])}function S(he){return ze;function ze(Je){return T=ue(),ye=he,he.partial||(m.currentConstruct=he),he.name&&m.parser.constructs.disable.null.includes(he.name)?_e():he.tokenize.call(re?Object.assign(Object.create(m),re):m,h,ce,_e)(Je)}}function ce(he){return ae(ye,T),W}function _e(he){return T.restore(),++ne<J.length?S(J[ne]):L}}}function ee(ae,re){ae.resolveAll&&!f.includes(ae)&&f.push(ae),ae.resolve&&An(m.events,re,m.events.length-re,ae.resolve(m.events.slice(re),m)),ae.resolveTo&&(m.events=ae.resolveTo(m.events,m))}function ue(){const ae=x(),re=m.previous,we=m.currentConstruct,oe=m.events.length,W=Array.from(p);return{from:oe,restore:L};function L(){o=ae,m.previous=re,m.currentConstruct=we,m.events.length=oe,p=W,B()}}function B(){o.line in u&&o.column<2&&(o.column=u[o.line],o.offset+=u[o.line]-1)}}function Gv(n,a){const l=a.start._index,o=a.start._bufferIndex,u=a.end._index,f=a.end._bufferIndex;let c;if(l===u)c=[n[l].slice(o,f)];else{if(c=n.slice(l,u),o>-1){const p=c[0];typeof p=="string"?c[0]=p.slice(o):c.shift()}f>0&&c.push(n[u].slice(0,f))}return c}function jv(n,a){let l=-1;const o=[];let u;for(;++l<n.length;){const f=n[l];let c;if(typeof f=="string")c=f;else switch(f){case-5:{c="\r";break}case-4:{c=`
|
|
51
|
+
`;break}case-3:{c=`\r
|
|
52
|
+
`;break}case-2:{c=a?" ":" ";break}case-1:{if(!a&&u)continue;c=" ";break}default:c=String.fromCharCode(f)}u=f===-2,o.push(c)}return o.join("")}function Yv(n){const o={constructs:Dg([qv,...(n||{}).extensions||[]]),content:u(l0),defined:[],document:u(o0),flow:u(Nv),lazy:{},string:u(kv),text:u(Cv)};return o;function u(f){return c;function c(p){return Fv(o,f,p)}}}function Kv(n){for(;!Ug(n););return n}const Mh=/[\0\t\n\r]/g;function Vv(){let n=1,a="",l=!0,o;return u;function u(f,c,p){const h=[];let m,b,g,_,E;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(c||void 0).decode(f)),g=0,a="",l&&(f.charCodeAt(0)===65279&&g++,l=void 0);g<f.length;){if(Mh.lastIndex=g,m=Mh.exec(f),_=m&&m.index!==void 0?m.index:f.length,E=f.charCodeAt(_),!m){a=f.slice(g);break}if(E===10&&g===_&&o)h.push(-3),o=void 0;else switch(o&&(h.push(-5),o=void 0),g<_&&(h.push(f.slice(g,_)),n+=_-g),E){case 0:{h.push(65533),n++;break}case 9:{for(b=Math.ceil(n/4)*4,h.push(-2);n++<b;)h.push(-1);break}case 10:{h.push(-4),n=1;break}default:o=!0,n=1}g=_+1}return p&&(o&&h.push(-5),a&&h.push(a),h.push(null)),h}}const Xv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Pv(n){return n.replace(Xv,Zv)}function Zv(n,a,l){if(a)return a;if(l.charCodeAt(0)===35){const u=l.charCodeAt(1),f=u===120||u===88;return Lg(l.slice(f?2:1),f?16:10)}return pf(l)||n}const Yg={}.hasOwnProperty;function Qv(n,a,l){return typeof a!="string"&&(l=a,a=void 0),$v(l)(Kv(Yv(l).document().write(Vv()(n,a,!0))))}function $v(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Kn),autolinkProtocol:ue,autolinkEmail:ue,atxHeading:f(Yn),blockQuote:f(zt),characterEscape:ue,characterReference:ue,codeFenced:f(mn),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:f(mn,c),codeText:f(ti,c),codeTextData:ue,data:ue,codeFlowValue:ue,definition:f(Ti),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:f(hn),hardBreakEscape:f(Ye),hardBreakTrailing:f(Ye),htmlFlow:f(Un,c),htmlFlowData:ue,htmlText:f(Un,c),htmlTextData:ue,image:f(wn),label:c,link:f(Kn),listItem:f(ta),listItemValue:_,listOrdered:f(ni,g),listUnordered:f(ni),paragraph:f(vl),reference:S,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:f(Yn),strong:f(wa),thematicBreak:f(ka)},exit:{atxHeading:h(),atxHeadingSequence:V,autolink:h(),autolinkEmail:Qe,autolinkProtocol:Je,blockQuote:h(),characterEscapeValue:B,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:he,characterReference:ze,codeFenced:h(R),codeFencedFence:C,codeFencedFenceInfo:E,codeFencedFenceMeta:x,codeFlowValue:B,codeIndented:h(N),codeText:h(W),codeTextData:B,data:B,definition:h(),definitionDestinationString:$,definitionLabelString:F,definitionTitleString:H,emphasis:h(),hardBreakEscape:h(re),hardBreakTrailing:h(re),htmlFlow:h(we),htmlFlowData:B,htmlText:h(oe),htmlTextData:B,image:h(J),label:ye,labelText:ne,lineEnding:ae,link:h(L),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:ce,resourceDestinationString:T,resourceTitleString:w,resource:j,setextHeading:h(ee),setextHeadingLineSequence:Q,setextHeadingText:M,strong:h(),thematicBreak:h()}};Kg(a,(n||{}).mdastExtensions||[]);const l={};return o;function o(Y){let le={type:"root",children:[]};const xe={stack:[le],tokenStack:[],config:a,enter:p,exit:m,buffer:c,resume:b,data:l},Be=[];let Xe=-1;for(;++Xe<Y.length;)if(Y[Xe][1].type==="listOrdered"||Y[Xe][1].type==="listUnordered")if(Y[Xe][0]==="enter")Be.push(Xe);else{const Qt=Be.pop();Xe=u(Y,Qt,Xe)}for(Xe=-1;++Xe<Y.length;){const Qt=a[Y[Xe][0]];Yg.call(Qt,Y[Xe][1].type)&&Qt[Y[Xe][1].type].call(Object.assign({sliceSerialize:Y[Xe][2].sliceSerialize},xe),Y[Xe][1])}if(xe.tokenStack.length>0){const Qt=xe.tokenStack[xe.tokenStack.length-1];(Qt[1]||Rh).call(xe,void 0,Qt[0])}for(le.position={start:Wi(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:Wi(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},Xe=-1;++Xe<a.transforms.length;)le=a.transforms[Xe](le)||le;return le}function u(Y,le,xe){let Be=le-1,Xe=-1,Qt=!1,Hn,Ut,_t,Yt;for(;++Be<=xe;){const We=Y[Be];switch(We[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{We[0]==="enter"?Xe++:Xe--,Yt=void 0;break}case"lineEndingBlank":{We[0]==="enter"&&(Hn&&!Yt&&!Xe&&!_t&&(_t=Be),Yt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Yt=void 0}if(!Xe&&We[0]==="enter"&&We[1].type==="listItemPrefix"||Xe===-1&&We[0]==="exit"&&(We[1].type==="listUnordered"||We[1].type==="listOrdered")){if(Hn){let Vn=Be;for(Ut=void 0;Vn--;){const $t=Y[Vn];if($t[1].type==="lineEnding"||$t[1].type==="lineEndingBlank"){if($t[0]==="exit")continue;Ut&&(Y[Ut][1].type="lineEndingBlank",Qt=!0),$t[1].type="lineEnding",Ut=Vn}else if(!($t[1].type==="linePrefix"||$t[1].type==="blockQuotePrefix"||$t[1].type==="blockQuotePrefixWhitespace"||$t[1].type==="blockQuoteMarker"||$t[1].type==="listItemIndent"))break}_t&&(!Ut||_t<Ut)&&(Hn._spread=!0),Hn.end=Object.assign({},Ut?Y[Ut][1].start:We[1].end),Y.splice(Ut||Be,0,["exit",Hn,We[2]]),Be++,xe++}if(We[1].type==="listItemPrefix"){const Vn={type:"listItem",_spread:!1,start:Object.assign({},We[1].start),end:void 0};Hn=Vn,Y.splice(Be,0,["enter",Vn,We[2]]),Be++,xe++,_t=void 0,Yt=!0}}}return Y[le][1]._spread=Qt,xe}function f(Y,le){return xe;function xe(Be){p.call(this,Y(Be),Be),le&&le.call(this,Be)}}function c(){this.stack.push({type:"fragment",children:[]})}function p(Y,le,xe){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([le,xe||void 0]),Y.position={start:Wi(le.start),end:void 0}}function h(Y){return le;function le(xe){Y&&Y.call(this,xe),m.call(this,xe)}}function m(Y,le){const xe=this.stack.pop(),Be=this.tokenStack.pop();if(Be)Be[0].type!==Y.type&&(le?le.call(this,Y,Be[0]):(Be[1]||Rh).call(this,Y,Be[0]));else throw new Error("Cannot close `"+Y.type+"` ("+Sr({start:Y.start,end:Y.end})+"): it’s not open");xe.position.end=Wi(Y.end)}function b(){return df(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function _(Y){if(this.data.expectingFirstListItemValue){const le=this.stack[this.stack.length-2];le.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function E(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.lang=Y}function x(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.meta=Y}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function N(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.value=Y.replace(/(\r?\n|\r)$/g,"")}function F(Y){const le=this.resume(),xe=this.stack[this.stack.length-1];xe.label=le,xe.identifier=jn(this.sliceSerialize(Y)).toLowerCase()}function H(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.title=Y}function $(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.url=Y}function V(Y){const le=this.stack[this.stack.length-1];if(!le.depth){const xe=this.sliceSerialize(Y).length;le.depth=xe}}function M(){this.data.setextHeadingSlurpLineEnding=!0}function Q(Y){const le=this.stack[this.stack.length-1];le.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function ue(Y){const xe=this.stack[this.stack.length-1].children;let Be=xe[xe.length-1];(!Be||Be.type!=="text")&&(Be=yt(),Be.position={start:Wi(Y.start),end:void 0},xe.push(Be)),this.stack.push(Be)}function B(Y){const le=this.stack.pop();le.value+=this.sliceSerialize(Y),le.position.end=Wi(Y.end)}function ae(Y){const le=this.stack[this.stack.length-1];if(this.data.atHardBreak){const xe=le.children[le.children.length-1];xe.position.end=Wi(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(le.type)&&(ue.call(this,Y),B.call(this,Y))}function re(){this.data.atHardBreak=!0}function we(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.value=Y}function oe(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.value=Y}function W(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.value=Y}function L(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const le=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=le,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function J(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const le=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=le,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function ne(Y){const le=this.sliceSerialize(Y),xe=this.stack[this.stack.length-2];xe.label=Pv(le),xe.identifier=jn(le).toLowerCase()}function ye(){const Y=this.stack[this.stack.length-1],le=this.resume(),xe=this.stack[this.stack.length-1];if(this.data.inReference=!0,xe.type==="link"){const Be=Y.children;xe.children=Be}else xe.alt=le}function T(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.url=Y}function w(){const Y=this.resume(),le=this.stack[this.stack.length-1];le.title=Y}function j(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function ce(Y){const le=this.resume(),xe=this.stack[this.stack.length-1];xe.label=le,xe.identifier=jn(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function _e(Y){this.data.characterReferenceType=Y.type}function he(Y){const le=this.sliceSerialize(Y),xe=this.data.characterReferenceType;let Be;xe?(Be=Lg(le,xe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Be=pf(le);const Xe=this.stack[this.stack.length-1];Xe.value+=Be}function ze(Y){const le=this.stack.pop();le.position.end=Wi(Y.end)}function Je(Y){B.call(this,Y);const le=this.stack[this.stack.length-1];le.url=this.sliceSerialize(Y)}function Qe(Y){B.call(this,Y);const le=this.stack[this.stack.length-1];le.url="mailto:"+this.sliceSerialize(Y)}function zt(){return{type:"blockquote",children:[]}}function mn(){return{type:"code",lang:null,meta:null,value:""}}function ti(){return{type:"inlineCode",value:""}}function Ti(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function hn(){return{type:"emphasis",children:[]}}function Yn(){return{type:"heading",depth:0,children:[]}}function Ye(){return{type:"break"}}function Un(){return{type:"html",value:""}}function wn(){return{type:"image",title:null,url:"",alt:null}}function Kn(){return{type:"link",title:null,url:"",children:[]}}function ni(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function ta(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function vl(){return{type:"paragraph",children:[]}}function wa(){return{type:"strong",children:[]}}function yt(){return{type:"text",value:""}}function ka(){return{type:"thematicBreak"}}}function Wi(n){return{line:n.line,column:n.column,offset:n.offset}}function Kg(n,a){let l=-1;for(;++l<a.length;){const o=a[l];Array.isArray(o)?Kg(n,o):Jv(n,o)}}function Jv(n,a){let l;for(l in a)if(Yg.call(a,l))switch(l){case"canContainEols":{const o=a[l];o&&n[l].push(...o);break}case"transforms":{const o=a[l];o&&n[l].push(...o);break}case"enter":case"exit":{const o=a[l];o&&Object.assign(n[l],o);break}}}function Rh(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+Sr({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+Sr({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Sr({start:a.start,end:a.end})+") is still open")}function Wv(n){const a=this;a.parser=l;function l(o){return Qv(o,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function eS(n,a){const l={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,l),n.applyData(a,l)}function tS(n,a){const l={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,l),[n.applyData(a,l),{type:"text",value:`
|
|
53
|
+
`}]}function nS(n,a){const l=a.value?a.value+`
|
|
54
|
+
`:"",o={};a.lang&&(o.className=["language-"+a.lang]);let u={type:"element",tagName:"code",properties:o,children:[{type:"text",value:l}]};return a.meta&&(u.data={meta:a.meta}),n.patch(a,u),u=n.applyData(a,u),u={type:"element",tagName:"pre",properties:{},children:[u]},n.patch(a,u),u}function iS(n,a){const l={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,l),n.applyData(a,l)}function aS(n,a){const l={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,l),n.applyData(a,l)}function lS(n,a){const l=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",o=String(a.identifier).toUpperCase(),u=_l(o.toLowerCase()),f=n.footnoteOrder.indexOf(o);let c,p=n.footnoteCounts.get(o);p===void 0?(p=0,n.footnoteOrder.push(o),c=n.footnoteOrder.length):c=f+1,p+=1,n.footnoteCounts.set(o,p);const h={type:"element",tagName:"a",properties:{href:"#"+l+"fn-"+u,id:l+"fnref-"+u+(p>1?"-"+p:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};n.patch(a,h);const m={type:"element",tagName:"sup",properties:{},children:[h]};return n.patch(a,m),n.applyData(a,m)}function rS(n,a){const l={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,l),n.applyData(a,l)}function oS(n,a){if(n.options.allowDangerousHtml){const l={type:"raw",value:a.value};return n.patch(a,l),n.applyData(a,l)}}function Vg(n,a){const l=a.referenceType;let o="]";if(l==="collapsed"?o+="[]":l==="full"&&(o+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+o}];const u=n.all(a),f=u[0];f&&f.type==="text"?f.value="["+f.value:u.unshift({type:"text",value:"["});const c=u[u.length-1];return c&&c.type==="text"?c.value+=o:u.push({type:"text",value:o}),u}function sS(n,a){const l=String(a.identifier).toUpperCase(),o=n.definitionById.get(l);if(!o)return Vg(n,a);const u={src:_l(o.url||""),alt:a.alt};o.title!==null&&o.title!==void 0&&(u.title=o.title);const f={type:"element",tagName:"img",properties:u,children:[]};return n.patch(a,f),n.applyData(a,f)}function uS(n,a){const l={src:_l(a.url)};a.alt!==null&&a.alt!==void 0&&(l.alt=a.alt),a.title!==null&&a.title!==void 0&&(l.title=a.title);const o={type:"element",tagName:"img",properties:l,children:[]};return n.patch(a,o),n.applyData(a,o)}function cS(n,a){const l={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,l);const o={type:"element",tagName:"code",properties:{},children:[l]};return n.patch(a,o),n.applyData(a,o)}function fS(n,a){const l=String(a.identifier).toUpperCase(),o=n.definitionById.get(l);if(!o)return Vg(n,a);const u={href:_l(o.url||"")};o.title!==null&&o.title!==void 0&&(u.title=o.title);const f={type:"element",tagName:"a",properties:u,children:n.all(a)};return n.patch(a,f),n.applyData(a,f)}function dS(n,a){const l={href:_l(a.url)};a.title!==null&&a.title!==void 0&&(l.title=a.title);const o={type:"element",tagName:"a",properties:l,children:n.all(a)};return n.patch(a,o),n.applyData(a,o)}function pS(n,a,l){const o=n.all(a),u=l?mS(l):Xg(a),f={},c=[];if(typeof a.checked=="boolean"){const b=o[0];let g;b&&b.type==="element"&&b.tagName==="p"?g=b:(g={type:"element",tagName:"p",properties:{},children:[]},o.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let p=-1;for(;++p<o.length;){const b=o[p];(u||p!==0||b.type!=="element"||b.tagName!=="p")&&c.push({type:"text",value:`
|
|
55
|
+
`}),b.type==="element"&&b.tagName==="p"&&!u?c.push(...b.children):c.push(b)}const h=o[o.length-1];h&&(u||h.type!=="element"||h.tagName!=="p")&&c.push({type:"text",value:`
|
|
56
|
+
`});const m={type:"element",tagName:"li",properties:f,children:c};return n.patch(a,m),n.applyData(a,m)}function mS(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const l=n.children;let o=-1;for(;!a&&++o<l.length;)a=Xg(l[o])}return a}function Xg(n){const a=n.spread;return a??n.children.length>1}function hS(n,a){const l={},o=n.all(a);let u=-1;for(typeof a.start=="number"&&a.start!==1&&(l.start=a.start);++u<o.length;){const c=o[u];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){l.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:l,children:n.wrap(o,!0)};return n.patch(a,f),n.applyData(a,f)}function gS(n,a){const l={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,l),n.applyData(a,l)}function bS(n,a){const l={type:"root",children:n.wrap(n.all(a))};return n.patch(a,l),n.applyData(a,l)}function yS(n,a){const l={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,l),n.applyData(a,l)}function ES(n,a){const l=n.all(a),o=l.shift(),u=[];if(o){const c={type:"element",tagName:"thead",properties:{},children:n.wrap([o],!0)};n.patch(a.children[0],c),u.push(c)}if(l.length>0){const c={type:"element",tagName:"tbody",properties:{},children:n.wrap(l,!0)},p=sf(a.children[1]),h=Ag(a.children[a.children.length-1]);p&&h&&(c.position={start:p,end:h}),u.push(c)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(u,!0)};return n.patch(a,f),n.applyData(a,f)}function _S(n,a,l){const o=l?l.children:void 0,f=(o?o.indexOf(a):1)===0?"th":"td",c=l&&l.type==="table"?l.align:void 0,p=c?c.length:a.children.length;let h=-1;const m=[];for(;++h<p;){const g=a.children[h],_={},E=c?c[h]:void 0;E&&(_.align=E);let x={type:"element",tagName:f,properties:_,children:[]};g&&(x.children=n.all(g),n.patch(g,x),x=n.applyData(g,x)),m.push(x)}const b={type:"element",tagName:"tr",properties:{},children:n.wrap(m,!0)};return n.patch(a,b),n.applyData(a,b)}function vS(n,a){const l={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,l),n.applyData(a,l)}const Dh=9,Lh=32;function SS(n){const a=String(n),l=/\r?\n|\r/g;let o=l.exec(a),u=0;const f=[];for(;o;)f.push(zh(a.slice(u,o.index),u>0,!0),o[0]),u=o.index+o[0].length,o=l.exec(a);return f.push(zh(a.slice(u),u>0,!1)),f.join("")}function zh(n,a,l){let o=0,u=n.length;if(a){let f=n.codePointAt(o);for(;f===Dh||f===Lh;)o++,f=n.codePointAt(o)}if(l){let f=n.codePointAt(u-1);for(;f===Dh||f===Lh;)u--,f=n.codePointAt(u-1)}return u>o?n.slice(o,u):""}function xS(n,a){const l={type:"text",value:SS(String(a.value))};return n.patch(a,l),n.applyData(a,l)}function TS(n,a){const l={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,l),n.applyData(a,l)}const NS={blockquote:eS,break:tS,code:nS,delete:iS,emphasis:aS,footnoteReference:lS,heading:rS,html:oS,imageReference:sS,image:uS,inlineCode:cS,linkReference:fS,link:dS,listItem:pS,list:hS,paragraph:gS,root:bS,strong:yS,table:ES,tableCell:vS,tableRow:_S,text:xS,thematicBreak:TS,toml:Po,yaml:Po,definition:Po,footnoteDefinition:Po};function Po(){}const Pg=-1,ds=0,Tr=1,ls=2,hf=3,gf=4,bf=5,yf=6,Zg=7,Qg=8,Bh=typeof self=="object"?self:globalThis,AS=(n,a)=>{const l=(u,f)=>(n.set(f,u),u),o=u=>{if(n.has(u))return n.get(u);const[f,c]=a[u];switch(f){case ds:case Pg:return l(c,u);case Tr:{const p=l([],u);for(const h of c)p.push(o(h));return p}case ls:{const p=l({},u);for(const[h,m]of c)p[o(h)]=o(m);return p}case hf:return l(new Date(c),u);case gf:{const{source:p,flags:h}=c;return l(new RegExp(p,h),u)}case bf:{const p=l(new Map,u);for(const[h,m]of c)p.set(o(h),o(m));return p}case yf:{const p=l(new Set,u);for(const h of c)p.add(o(h));return p}case Zg:{const{name:p,message:h}=c;return l(new Bh[p](h),u)}case Qg:return l(BigInt(c),u);case"BigInt":return l(Object(BigInt(c)),u);case"ArrayBuffer":return l(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:p}=new Uint8Array(c);return l(new DataView(p),c)}}return l(new Bh[f](c),u)};return o},Ih=n=>AS(new Map,n)(0),pl="",{toString:wS}={},{keys:kS}=Object,_r=n=>{const a=typeof n;if(a!=="object"||!n)return[ds,a];const l=wS.call(n).slice(8,-1);switch(l){case"Array":return[Tr,pl];case"Object":return[ls,pl];case"Date":return[hf,pl];case"RegExp":return[gf,pl];case"Map":return[bf,pl];case"Set":return[yf,pl];case"DataView":return[Tr,l]}return l.includes("Array")?[Tr,l]:l.includes("Error")?[Zg,l]:[ls,l]},Zo=([n,a])=>n===ds&&(a==="function"||a==="symbol"),CS=(n,a,l,o)=>{const u=(c,p)=>{const h=o.push(c)-1;return l.set(p,h),h},f=c=>{if(l.has(c))return l.get(c);let[p,h]=_r(c);switch(p){case ds:{let b=c;switch(h){case"bigint":p=Qg,b=c.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+h);b=null;break;case"undefined":return u([Pg],c)}return u([p,b],c)}case Tr:{if(h){let _=c;return h==="DataView"?_=new Uint8Array(c.buffer):h==="ArrayBuffer"&&(_=new Uint8Array(c)),u([h,[..._]],c)}const b=[],g=u([p,b],c);for(const _ of c)b.push(f(_));return g}case ls:{if(h)switch(h){case"BigInt":return u([h,c.toString()],c);case"Boolean":case"Number":case"String":return u([h,c.valueOf()],c)}if(a&&"toJSON"in c)return f(c.toJSON());const b=[],g=u([p,b],c);for(const _ of kS(c))(n||!Zo(_r(c[_])))&&b.push([f(_),f(c[_])]);return g}case hf:return u([p,c.toISOString()],c);case gf:{const{source:b,flags:g}=c;return u([p,{source:b,flags:g}],c)}case bf:{const b=[],g=u([p,b],c);for(const[_,E]of c)(n||!(Zo(_r(_))||Zo(_r(E))))&&b.push([f(_),f(E)]);return g}case yf:{const b=[],g=u([p,b],c);for(const _ of c)(n||!Zo(_r(_)))&&b.push(f(_));return g}}const{message:m}=c;return u([p,{name:h,message:m}],c)};return f},Uh=(n,{json:a,lossy:l}={})=>{const o=[];return CS(!(a||l),!!a,new Map,o)(n),o},rs=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?Ih(Uh(n,a)):structuredClone(n):(n,a)=>Ih(Uh(n,a));function OS(n,a){const l=[{type:"text",value:"↩"}];return a>1&&l.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),l}function MS(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function RS(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",l=n.options.footnoteBackContent||OS,o=n.options.footnoteBackLabel||MS,u=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",c=n.options.footnoteLabelProperties||{className:["sr-only"]},p=[];let h=-1;for(;++h<n.footnoteOrder.length;){const m=n.footnoteById.get(n.footnoteOrder[h]);if(!m)continue;const b=n.all(m),g=String(m.identifier).toUpperCase(),_=_l(g.toLowerCase());let E=0;const x=[],C=n.footnoteCounts.get(g);for(;C!==void 0&&++E<=C;){x.length>0&&x.push({type:"text",value:" "});let F=typeof l=="string"?l:l(h,E);typeof F=="string"&&(F={type:"text",value:F}),x.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+_+(E>1?"-"+E:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(h,E),className:["data-footnote-backref"]},children:Array.isArray(F)?F:[F]})}const R=b[b.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const F=R.children[R.children.length-1];F&&F.type==="text"?F.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...x)}else b.push(...x);const N={type:"element",tagName:"li",properties:{id:a+"fn-"+_},children:n.wrap(b,!0)};n.patch(m,N),p.push(N)}if(p.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...rs(c),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
57
|
+
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(p,!0)},{type:"text",value:`
|
|
58
|
+
`}]}}const Cr=(function(n){if(n==null)return BS;if(typeof n=="function")return ps(n);if(typeof n=="object")return Array.isArray(n)?DS(n):LS(n);if(typeof n=="string")return zS(n);throw new Error("Expected function, string, or object as test")});function DS(n){const a=[];let l=-1;for(;++l<n.length;)a[l]=Cr(n[l]);return ps(o);function o(...u){let f=-1;for(;++f<a.length;)if(a[f].apply(this,u))return!0;return!1}}function LS(n){const a=n;return ps(l);function l(o){const u=o;let f;for(f in n)if(u[f]!==a[f])return!1;return!0}}function zS(n){return ps(a);function a(l){return l&&l.type===n}}function ps(n){return a;function a(l,o,u){return!!(IS(l)&&n.call(this,l,typeof o=="number"?o:void 0,u||void 0))}}function BS(){return!0}function IS(n){return n!==null&&typeof n=="object"&&"type"in n}const $g=[],US=!0,Qc=!1,HS="skip";function Jg(n,a,l,o){let u;typeof a=="function"&&typeof l!="function"?(o=l,l=a):u=a;const f=Cr(u),c=o?-1:1;p(n,void 0,[])();function p(h,m,b){const g=h&&typeof h=="object"?h:{};if(typeof g.type=="string"){const E=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(_,"name",{value:"node ("+(h.type+(E?"<"+E+">":""))+")"})}return _;function _(){let E=$g,x,C,R;if((!a||f(h,m,b[b.length-1]||void 0))&&(E=qS(l(h,b)),E[0]===Qc))return E;if("children"in h&&h.children){const N=h;if(N.children&&E[0]!==HS)for(C=(o?N.children.length:-1)+c,R=b.concat(N);C>-1&&C<N.children.length;){const F=N.children[C];if(x=p(F,C,R)(),x[0]===Qc)return x;C=typeof x[1]=="number"?x[1]:C+c}}return E}}}function qS(n){return Array.isArray(n)?n:typeof n=="number"?[US,n]:n==null?$g:[n]}function ms(n,a,l,o){let u,f,c;typeof a=="function"&&typeof l!="function"?(f=void 0,c=a,u=l):(f=a,c=l,u=o),Jg(n,f,p,u);function p(h,m){const b=m[m.length-1],g=b?b.children.indexOf(h):void 0;return c(h,g,b)}}const $c={}.hasOwnProperty,FS={};function GS(n,a){const l=a||FS,o=new Map,u=new Map,f=new Map,c={...NS,...l.handlers},p={all:m,applyData:YS,definitionById:o,footnoteById:u,footnoteCounts:f,footnoteOrder:[],handlers:c,one:h,options:l,patch:jS,wrap:VS};return ms(n,function(b){if(b.type==="definition"||b.type==="footnoteDefinition"){const g=b.type==="definition"?o:u,_=String(b.identifier).toUpperCase();g.has(_)||g.set(_,b)}}),p;function h(b,g){const _=b.type,E=p.handlers[_];if($c.call(p.handlers,_)&&E)return E(p,b,g);if(p.options.passThrough&&p.options.passThrough.includes(_)){if("children"in b){const{children:C,...R}=b,N=rs(R);return N.children=p.all(b),N}return rs(b)}return(p.options.unknownHandler||KS)(p,b,g)}function m(b){const g=[];if("children"in b){const _=b.children;let E=-1;for(;++E<_.length;){const x=p.one(_[E],b);if(x){if(E&&_[E-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=Hh(x.value)),!Array.isArray(x)&&x.type==="element")){const C=x.children[0];C&&C.type==="text"&&(C.value=Hh(C.value))}Array.isArray(x)?g.push(...x):g.push(x)}}}return g}}function jS(n,a){n.position&&(a.position=M_(n))}function YS(n,a){let l=a;if(n&&n.data){const o=n.data.hName,u=n.data.hChildren,f=n.data.hProperties;if(typeof o=="string")if(l.type==="element")l.tagName=o;else{const c="children"in l?l.children:[l];l={type:"element",tagName:o,properties:{},children:c}}l.type==="element"&&f&&Object.assign(l.properties,rs(f)),"children"in l&&l.children&&u!==null&&u!==void 0&&(l.children=u)}return l}function KS(n,a){const l=a.data||{},o="value"in a&&!($c.call(l,"hProperties")||$c.call(l,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,o),n.applyData(a,o)}function VS(n,a){const l=[];let o=-1;for(a&&l.push({type:"text",value:`
|
|
59
|
+
`});++o<n.length;)o&&l.push({type:"text",value:`
|
|
60
|
+
`}),l.push(n[o]);return a&&n.length>0&&l.push({type:"text",value:`
|
|
61
|
+
`}),l}function Hh(n){let a=0,l=n.charCodeAt(a);for(;l===9||l===32;)a++,l=n.charCodeAt(a);return n.slice(a)}function qh(n,a){const l=GS(n,a),o=l.one(n,void 0),u=RS(l),f=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return u&&f.children.push({type:"text",value:`
|
|
62
|
+
`},u),f}function XS(n,a){return n&&"run"in n?async function(l,o){const u=qh(l,{file:o,...a});await n.run(u,o)}:function(l,o){return qh(l,{file:o,...n||a})}}function Fh(n){if(n)throw n}var kc,Gh;function PS(){if(Gh)return kc;Gh=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,l=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u=function(m){return typeof Array.isArray=="function"?Array.isArray(m):a.call(m)==="[object Array]"},f=function(m){if(!m||a.call(m)!=="[object Object]")return!1;var b=n.call(m,"constructor"),g=m.constructor&&m.constructor.prototype&&n.call(m.constructor.prototype,"isPrototypeOf");if(m.constructor&&!b&&!g)return!1;var _;for(_ in m);return typeof _>"u"||n.call(m,_)},c=function(m,b){l&&b.name==="__proto__"?l(m,b.name,{enumerable:!0,configurable:!0,value:b.newValue,writable:!0}):m[b.name]=b.newValue},p=function(m,b){if(b==="__proto__")if(n.call(m,b)){if(o)return o(m,b).value}else return;return m[b]};return kc=function h(){var m,b,g,_,E,x,C=arguments[0],R=1,N=arguments.length,F=!1;for(typeof C=="boolean"&&(F=C,C=arguments[1]||{},R=2),(C==null||typeof C!="object"&&typeof C!="function")&&(C={});R<N;++R)if(m=arguments[R],m!=null)for(b in m)g=p(C,b),_=p(m,b),C!==_&&(F&&_&&(f(_)||(E=u(_)))?(E?(E=!1,x=g&&u(g)?g:[]):x=g&&f(g)?g:{},c(C,{name:b,newValue:h(F,x,_)})):typeof _<"u"&&c(C,{name:b,newValue:_}));return C},kc}var ZS=PS();const Cc=af(ZS);function Jc(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function QS(){const n=[],a={run:l,use:o};return a;function l(...u){let f=-1;const c=u.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);p(null,...u);function p(h,...m){const b=n[++f];let g=-1;if(h){c(h);return}for(;++g<u.length;)(m[g]===null||m[g]===void 0)&&(m[g]=u[g]);u=m,b?$S(b,p)(...m):c(null,...m)}}function o(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return n.push(u),a}}function $S(n,a){let l;return o;function o(...c){const p=n.length>c.length;let h;p&&c.push(u);try{h=n.apply(this,c)}catch(m){const b=m;if(p&&l)throw b;return u(b)}p||(h&&h.then&&typeof h.then=="function"?h.then(f,u):h instanceof Error?u(h):f(h))}function u(c,...p){l||(l=!0,a(c,...p))}function f(c){u(null,c)}}const Wn={basename:JS,dirname:WS,extname:e1,join:t1,sep:"/"};function JS(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');Or(n);let l=0,o=-1,u=n.length,f;if(a===void 0||a.length===0||a.length>n.length){for(;u--;)if(n.codePointAt(u)===47){if(f){l=u+1;break}}else o<0&&(f=!0,o=u+1);return o<0?"":n.slice(l,o)}if(a===n)return"";let c=-1,p=a.length-1;for(;u--;)if(n.codePointAt(u)===47){if(f){l=u+1;break}}else c<0&&(f=!0,c=u+1),p>-1&&(n.codePointAt(u)===a.codePointAt(p--)?p<0&&(o=u):(p=-1,o=c));return l===o?o=c:o<0&&(o=n.length),n.slice(l,o)}function WS(n){if(Or(n),n.length===0)return".";let a=-1,l=n.length,o;for(;--l;)if(n.codePointAt(l)===47){if(o){a=l;break}}else o||(o=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function e1(n){Or(n);let a=n.length,l=-1,o=0,u=-1,f=0,c;for(;a--;){const p=n.codePointAt(a);if(p===47){if(c){o=a+1;break}continue}l<0&&(c=!0,l=a+1),p===46?u<0?u=a:f!==1&&(f=1):u>-1&&(f=-1)}return u<0||l<0||f===0||f===1&&u===l-1&&u===o+1?"":n.slice(u,l)}function t1(...n){let a=-1,l;for(;++a<n.length;)Or(n[a]),n[a]&&(l=l===void 0?n[a]:l+"/"+n[a]);return l===void 0?".":n1(l)}function n1(n){Or(n);const a=n.codePointAt(0)===47;let l=i1(n,!a);return l.length===0&&!a&&(l="."),l.length>0&&n.codePointAt(n.length-1)===47&&(l+="/"),a?"/"+l:l}function i1(n,a){let l="",o=0,u=-1,f=0,c=-1,p,h;for(;++c<=n.length;){if(c<n.length)p=n.codePointAt(c);else{if(p===47)break;p=47}if(p===47){if(!(u===c-1||f===1))if(u!==c-1&&f===2){if(l.length<2||o!==2||l.codePointAt(l.length-1)!==46||l.codePointAt(l.length-2)!==46){if(l.length>2){if(h=l.lastIndexOf("/"),h!==l.length-1){h<0?(l="",o=0):(l=l.slice(0,h),o=l.length-1-l.lastIndexOf("/")),u=c,f=0;continue}}else if(l.length>0){l="",o=0,u=c,f=0;continue}}a&&(l=l.length>0?l+"/..":"..",o=2)}else l.length>0?l+="/"+n.slice(u+1,c):l=n.slice(u+1,c),o=c-u-1;u=c,f=0}else p===46&&f>-1?f++:f=-1}return l}function Or(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const a1={cwd:l1};function l1(){return"/"}function Wc(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function r1(n){if(typeof n=="string")n=new URL(n);else if(!Wc(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return o1(n)}function o1(n){if(n.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const a=n.pathname;let l=-1;for(;++l<a.length;)if(a.codePointAt(l)===37&&a.codePointAt(l+1)===50){const o=a.codePointAt(l+2);if(o===70||o===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(a)}const Oc=["history","path","basename","stem","extname","dirname"];class Wg{constructor(a){let l;a?Wc(a)?l={path:a}:typeof a=="string"||s1(a)?l={value:a}:l=a:l={},this.cwd="cwd"in l?"":a1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<Oc.length;){const f=Oc[o];f in l&&l[f]!==void 0&&l[f]!==null&&(this[f]=f==="history"?[...l[f]]:l[f])}let u;for(u in l)Oc.includes(u)||(this[u]=l[u])}get basename(){return typeof this.path=="string"?Wn.basename(this.path):void 0}set basename(a){Rc(a,"basename"),Mc(a,"basename"),this.path=Wn.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?Wn.dirname(this.path):void 0}set dirname(a){jh(this.basename,"dirname"),this.path=Wn.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?Wn.extname(this.path):void 0}set extname(a){if(Mc(a,"extname"),jh(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Wn.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){Wc(a)&&(a=r1(a)),Rc(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?Wn.basename(this.path,this.extname):void 0}set stem(a){Rc(a,"stem"),Mc(a,"stem"),this.path=Wn.join(this.dirname||"",a+(this.extname||""))}fail(a,l,o){const u=this.message(a,l,o);throw u.fatal=!0,u}info(a,l,o){const u=this.message(a,l,o);return u.fatal=void 0,u}message(a,l,o){const u=new Zt(a,l,o);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function Mc(n,a){if(n&&n.includes(Wn.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+Wn.sep+"`")}function Rc(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function jh(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function s1(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const u1=(function(n){const o=this.constructor.prototype,u=o[n],f=function(){return u.apply(f,arguments)};return Object.setPrototypeOf(f,o),f}),c1={}.hasOwnProperty;class Ef extends u1{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=QS()}copy(){const a=new Ef;let l=-1;for(;++l<this.attachers.length;){const o=this.attachers[l];a.use(...o)}return a.data(Cc(!0,{},this.namespace)),a}data(a,l){return typeof a=="string"?arguments.length===2?(zc("data",this.frozen),this.namespace[a]=l,this):c1.call(this.namespace,a)&&this.namespace[a]||void 0:a?(zc("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[l,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const u=l.call(a,...o);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const l=Qo(a),o=this.parser||this.Parser;return Dc("parse",o),o(String(l),l)}process(a,l){const o=this;return this.freeze(),Dc("process",this.parser||this.Parser),Lc("process",this.compiler||this.Compiler),l?u(void 0,l):new Promise(u);function u(f,c){const p=Qo(a),h=o.parse(p);o.run(h,p,function(b,g,_){if(b||!g||!_)return m(b);const E=g,x=o.stringify(E,_);p1(x)?_.value=x:_.result=x,m(b,_)});function m(b,g){b||!g?c(b):f?f(g):l(void 0,g)}}}processSync(a){let l=!1,o;return this.freeze(),Dc("processSync",this.parser||this.Parser),Lc("processSync",this.compiler||this.Compiler),this.process(a,u),Kh("processSync","process",l),o;function u(f,c){l=!0,Fh(f),o=c}}run(a,l,o){Yh(a),this.freeze();const u=this.transformers;return!o&&typeof l=="function"&&(o=l,l=void 0),o?f(void 0,o):new Promise(f);function f(c,p){const h=Qo(l);u.run(a,h,m);function m(b,g,_){const E=g||a;b?p(b):c?c(E):o(void 0,E,_)}}}runSync(a,l){let o=!1,u;return this.run(a,l,f),Kh("runSync","run",o),u;function f(c,p){Fh(c),u=p,o=!0}}stringify(a,l){this.freeze();const o=Qo(l),u=this.compiler||this.Compiler;return Lc("stringify",u),Yh(a),u(a,o)}use(a,...l){const o=this.attachers,u=this.namespace;if(zc("use",this.frozen),a!=null)if(typeof a=="function")h(a,l);else if(typeof a=="object")Array.isArray(a)?p(a):c(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(m){if(typeof m=="function")h(m,[]);else if(typeof m=="object")if(Array.isArray(m)){const[b,...g]=m;h(b,g)}else c(m);else throw new TypeError("Expected usable value, not `"+m+"`")}function c(m){if(!("plugins"in m)&&!("settings"in m))throw new 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");p(m.plugins),m.settings&&(u.settings=Cc(!0,u.settings,m.settings))}function p(m){let b=-1;if(m!=null)if(Array.isArray(m))for(;++b<m.length;){const g=m[b];f(g)}else throw new TypeError("Expected a list of plugins, not `"+m+"`")}function h(m,b){let g=-1,_=-1;for(;++g<o.length;)if(o[g][0]===m){_=g;break}if(_===-1)o.push([m,...b]);else if(b.length>0){let[E,...x]=b;const C=o[_][1];Jc(C)&&Jc(E)&&(E=Cc(!0,C,E)),o[_]=[m,E,...x]}}}}const f1=new Ef().freeze();function Dc(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Lc(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function zc(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Yh(n){if(!Jc(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function Kh(n,a,l){if(!l)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function Qo(n){return d1(n)?n:new Wg(n)}function d1(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function p1(n){return typeof n=="string"||m1(n)}function m1(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const h1="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Vh=[],Xh={allowDangerousHtml:!0},g1=/^(https?|ircs?|mailto|xmpp)$/i,b1=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function y1(n){const a=E1(n),l=_1(n);return v1(a.runSync(a.parse(l),l),n)}function E1(n){const a=n.rehypePlugins||Vh,l=n.remarkPlugins||Vh,o=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...Xh}:Xh;return f1().use(Wv).use(l).use(XS,o).use(a)}function _1(n){const a=n.children||"",l=new Wg;return typeof a=="string"&&(l.value=a),l}function v1(n,a){const l=a.allowedElements,o=a.allowElement,u=a.components,f=a.disallowedElements,c=a.skipHtml,p=a.unwrapDisallowed,h=a.urlTransform||S1;for(const b of b1)Object.hasOwn(a,b.from)&&(""+b.from+(b.to?"use `"+b.to+"` instead":"remove it")+h1+b.id,void 0);return ms(n,m),B_(n,{Fragment:z.Fragment,components:u,ignoreInvalidStyle:!0,jsx:z.jsx,jsxs:z.jsxs,passKeys:!0,passNode:!0});function m(b,g,_){if(b.type==="raw"&&_&&typeof g=="number")return c?_.children.splice(g,1):_.children[g]={type:"text",value:b.value},g;if(b.type==="element"){let E;for(E in Nc)if(Object.hasOwn(Nc,E)&&Object.hasOwn(b.properties,E)){const x=b.properties[E],C=Nc[E];(C===null||C.includes(b.tagName))&&(b.properties[E]=h(String(x||""),E,b))}}if(b.type==="element"){let E=l?!l.includes(b.tagName):f?f.includes(b.tagName):!1;if(!E&&o&&typeof g=="number"&&(E=!o(b,g,_)),E&&_&&typeof g=="number")return p&&b.children?_.children.splice(g,1,...b.children):_.children.splice(g,1),g}}}function S1(n){const a=n.indexOf(":"),l=n.indexOf("?"),o=n.indexOf("#"),u=n.indexOf("/");return a===-1||u!==-1&&a>u||l!==-1&&a>l||o!==-1&&a>o||g1.test(n.slice(0,a))?n:""}function Ph(n,a){const l=String(n);if(typeof a!="string")throw new TypeError("Expected character");let o=0,u=l.indexOf(a);for(;u!==-1;)o++,u=l.indexOf(a,u+a.length);return o}function x1(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function T1(n,a,l){const u=Cr((l||{}).ignore||[]),f=N1(a);let c=-1;for(;++c<f.length;)Jg(n,"text",p);function p(m,b){let g=-1,_;for(;++g<b.length;){const E=b[g],x=_?_.children:void 0;if(u(E,x?x.indexOf(E):void 0,_))return;_=E}if(_)return h(m,b)}function h(m,b){const g=b[b.length-1],_=f[c][0],E=f[c][1];let x=0;const R=g.children.indexOf(m);let N=!1,F=[];_.lastIndex=0;let H=_.exec(m.value);for(;H;){const $=H.index,V={index:H.index,input:H.input,stack:[...b,m]};let M=E(...H,V);if(typeof M=="string"&&(M=M.length>0?{type:"text",value:M}:void 0),M===!1?_.lastIndex=$+1:(x!==$&&F.push({type:"text",value:m.value.slice(x,$)}),Array.isArray(M)?F.push(...M):M&&F.push(M),x=$+H[0].length,N=!0),!_.global)break;H=_.exec(m.value)}return N?(x<m.value.length&&F.push({type:"text",value:m.value.slice(x)}),g.children.splice(R,1,...F)):F=[m],R+F.length}}function N1(n){const a=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const l=!n[0]||Array.isArray(n[0])?n:[n];let o=-1;for(;++o<l.length;){const u=l[o];a.push([A1(u[0]),w1(u[1])])}return a}function A1(n){return typeof n=="string"?new RegExp(x1(n),"g"):n}function w1(n){return typeof n=="function"?n:function(){return n}}const Bc="phrasing",Ic=["autolink","link","image","label"];function k1(){return{transforms:[z1],enter:{literalAutolink:O1,literalAutolinkEmail:Uc,literalAutolinkHttp:Uc,literalAutolinkWww:Uc},exit:{literalAutolink:L1,literalAutolinkEmail:D1,literalAutolinkHttp:M1,literalAutolinkWww:R1}}}function C1(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Bc,notInConstruct:Ic},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Bc,notInConstruct:Ic},{character:":",before:"[ps]",after:"\\/",inConstruct:Bc,notInConstruct:Ic}]}}function O1(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function Uc(n){this.config.enter.autolinkProtocol.call(this,n)}function M1(n){this.config.exit.autolinkProtocol.call(this,n)}function R1(n){this.config.exit.data.call(this,n);const a=this.stack[this.stack.length-1];a.type,a.url="http://"+this.sliceSerialize(n)}function D1(n){this.config.exit.autolinkEmail.call(this,n)}function L1(n){this.exit(n)}function z1(n){T1(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,B1],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),I1]],{ignore:["link","linkReference"]})}function B1(n,a,l,o,u){let f="";if(!eb(u)||(/^w/i.test(a)&&(l=a+l,a="",f="http://"),!U1(l)))return!1;const c=H1(l+o);if(!c[0])return!1;const p={type:"link",title:null,url:f+a+c[0],children:[{type:"text",value:a+c[0]}]};return c[1]?[p,{type:"text",value:c[1]}]:p}function I1(n,a,l,o){return!eb(o,!0)||/[-\d_]$/.test(l)?!1:{type:"link",title:null,url:"mailto:"+a+"@"+l,children:[{type:"text",value:a+"@"+l}]}}function U1(n){const a=n.split(".");return!(a.length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))}function H1(n){const a=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!a)return[n,void 0];n=n.slice(0,a.index);let l=a[0],o=l.indexOf(")");const u=Ph(n,"(");let f=Ph(n,")");for(;o!==-1&&u>f;)n+=l.slice(0,o+1),l=l.slice(o+1),o=l.indexOf(")"),f++;return[n,l]}function eb(n,a){const l=n.input.charCodeAt(n.index-1);return(n.index===0||Ta(l)||cs(l))&&(!a||l!==47)}tb.peek=P1;function q1(){this.buffer()}function F1(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function G1(){this.buffer()}function j1(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function Y1(n){const a=this.resume(),l=this.stack[this.stack.length-1];l.type,l.identifier=jn(this.sliceSerialize(n)).toLowerCase(),l.label=a}function K1(n){this.exit(n)}function V1(n){const a=this.resume(),l=this.stack[this.stack.length-1];l.type,l.identifier=jn(this.sliceSerialize(n)).toLowerCase(),l.label=a}function X1(n){this.exit(n)}function P1(){return"["}function tb(n,a,l,o){const u=l.createTracker(o);let f=u.move("[^");const c=l.enter("footnoteReference"),p=l.enter("reference");return f+=u.move(l.safe(l.associationId(n),{after:"]",before:f})),p(),c(),f+=u.move("]"),f}function Z1(){return{enter:{gfmFootnoteCallString:q1,gfmFootnoteCall:F1,gfmFootnoteDefinitionLabelString:G1,gfmFootnoteDefinition:j1},exit:{gfmFootnoteCallString:Y1,gfmFootnoteCall:K1,gfmFootnoteDefinitionLabelString:V1,gfmFootnoteDefinition:X1}}}function Q1(n){let a=!1;return n&&n.firstLineBlank&&(a=!0),{handlers:{footnoteDefinition:l,footnoteReference:tb},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function l(o,u,f,c){const p=f.createTracker(c);let h=p.move("[^");const m=f.enter("footnoteDefinition"),b=f.enter("label");return h+=p.move(f.safe(f.associationId(o),{before:h,after:"]"})),b(),h+=p.move("]:"),o.children&&o.children.length>0&&(p.shift(4),h+=p.move((a?`
|
|
63
|
+
`:" ")+f.indentLines(f.containerFlow(o,p.current()),a?nb:$1))),m(),h}}function $1(n,a,l){return a===0?n:nb(n,a,l)}function nb(n,a,l){return(l?"":" ")+n}const J1=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ib.peek=ix;function W1(){return{canContainEols:["delete"],enter:{strikethrough:tx},exit:{strikethrough:nx}}}function ex(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:J1}],handlers:{delete:ib}}}function tx(n){this.enter({type:"delete",children:[]},n)}function nx(n){this.exit(n)}function ib(n,a,l,o){const u=l.createTracker(o),f=l.enter("strikethrough");let c=u.move("~~");return c+=l.containerPhrasing(n,{...u.current(),before:c,after:"~"}),c+=u.move("~~"),f(),c}function ix(){return"~"}function ax(n){return n.length}function lx(n,a){const l=a||{},o=(l.align||[]).concat(),u=l.stringLength||ax,f=[],c=[],p=[],h=[];let m=0,b=-1;for(;++b<n.length;){const C=[],R=[];let N=-1;for(n[b].length>m&&(m=n[b].length);++N<n[b].length;){const F=rx(n[b][N]);if(l.alignDelimiters!==!1){const H=u(F);R[N]=H,(h[N]===void 0||H>h[N])&&(h[N]=H)}C.push(F)}c[b]=C,p[b]=R}let g=-1;if(typeof o=="object"&&"length"in o)for(;++g<m;)f[g]=Zh(o[g]);else{const C=Zh(o);for(;++g<m;)f[g]=C}g=-1;const _=[],E=[];for(;++g<m;){const C=f[g];let R="",N="";C===99?(R=":",N=":"):C===108?R=":":C===114&&(N=":");let F=l.alignDelimiters===!1?1:Math.max(1,h[g]-R.length-N.length);const H=R+"-".repeat(F)+N;l.alignDelimiters!==!1&&(F=R.length+F+N.length,F>h[g]&&(h[g]=F),E[g]=F),_[g]=H}c.splice(1,0,_),p.splice(1,0,E),b=-1;const x=[];for(;++b<c.length;){const C=c[b],R=p[b];g=-1;const N=[];for(;++g<m;){const F=C[g]||"";let H="",$="";if(l.alignDelimiters!==!1){const V=h[g]-(R[g]||0),M=f[g];M===114?H=" ".repeat(V):M===99?V%2?(H=" ".repeat(V/2+.5),$=" ".repeat(V/2-.5)):(H=" ".repeat(V/2),$=H):$=" ".repeat(V)}l.delimiterStart!==!1&&!g&&N.push("|"),l.padding!==!1&&!(l.alignDelimiters===!1&&F==="")&&(l.delimiterStart!==!1||g)&&N.push(" "),l.alignDelimiters!==!1&&N.push(H),N.push(F),l.alignDelimiters!==!1&&N.push($),l.padding!==!1&&N.push(" "),(l.delimiterEnd!==!1||g!==m-1)&&N.push("|")}x.push(l.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return x.join(`
|
|
64
|
+
`)}function rx(n){return n==null?"":String(n)}function Zh(n){const a=typeof n=="string"?n.codePointAt(0):0;return a===67||a===99?99:a===76||a===108?108:a===82||a===114?114:0}function ox(n,a,l,o){const u=l.enter("blockquote"),f=l.createTracker(o);f.move("> "),f.shift(2);const c=l.indentLines(l.containerFlow(n,f.current()),sx);return u(),c}function sx(n,a,l){return">"+(l?"":" ")+n}function ux(n,a){return Qh(n,a.inConstruct,!0)&&!Qh(n,a.notInConstruct,!1)}function Qh(n,a,l){if(typeof a=="string"&&(a=[a]),!a||a.length===0)return l;let o=-1;for(;++o<a.length;)if(n.includes(a[o]))return!0;return!1}function $h(n,a,l,o){let u=-1;for(;++u<l.unsafe.length;)if(l.unsafe[u].character===`
|
|
65
|
+
`&&ux(l.stack,l.unsafe[u]))return/[ \t]/.test(o.before)?"":" ";return`\\
|
|
66
|
+
`}function cx(n,a){const l=String(n);let o=l.indexOf(a),u=o,f=0,c=0;if(typeof a!="string")throw new TypeError("Expected substring");for(;o!==-1;)o===u?++f>c&&(c=f):f=1,u=o+a.length,o=l.indexOf(a,u);return c}function fx(n,a){return!!(a.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function dx(n){const a=n.options.fence||"`";if(a!=="`"&&a!=="~")throw new Error("Cannot serialize code with `"+a+"` for `options.fence`, expected `` ` `` or `~`");return a}function px(n,a,l,o){const u=dx(l),f=n.value||"",c=u==="`"?"GraveAccent":"Tilde";if(fx(n,l)){const g=l.enter("codeIndented"),_=l.indentLines(f,mx);return g(),_}const p=l.createTracker(o),h=u.repeat(Math.max(cx(f,u)+1,3)),m=l.enter("codeFenced");let b=p.move(h);if(n.lang){const g=l.enter(`codeFencedLang${c}`);b+=p.move(l.safe(n.lang,{before:b,after:" ",encode:["`"],...p.current()})),g()}if(n.lang&&n.meta){const g=l.enter(`codeFencedMeta${c}`);b+=p.move(" "),b+=p.move(l.safe(n.meta,{before:b,after:`
|
|
67
|
+
`,encode:["`"],...p.current()})),g()}return b+=p.move(`
|
|
68
|
+
`),f&&(b+=p.move(f+`
|
|
69
|
+
`)),b+=p.move(h),m(),b}function mx(n,a,l){return(l?"":" ")+n}function _f(n){const a=n.options.quote||'"';if(a!=='"'&&a!=="'")throw new Error("Cannot serialize title with `"+a+"` for `options.quote`, expected `\"`, or `'`");return a}function hx(n,a,l,o){const u=_f(l),f=u==='"'?"Quote":"Apostrophe",c=l.enter("definition");let p=l.enter("label");const h=l.createTracker(o);let m=h.move("[");return m+=h.move(l.safe(l.associationId(n),{before:m,after:"]",...h.current()})),m+=h.move("]: "),p(),!n.url||/[\0- \u007F]/.test(n.url)?(p=l.enter("destinationLiteral"),m+=h.move("<"),m+=h.move(l.safe(n.url,{before:m,after:">",...h.current()})),m+=h.move(">")):(p=l.enter("destinationRaw"),m+=h.move(l.safe(n.url,{before:m,after:n.title?" ":`
|
|
70
|
+
`,...h.current()}))),p(),n.title&&(p=l.enter(`title${f}`),m+=h.move(" "+u),m+=h.move(l.safe(n.title,{before:m,after:u,...h.current()})),m+=h.move(u),p()),c(),m}function gx(n){const a=n.options.emphasis||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize emphasis with `"+a+"` for `options.emphasis`, expected `*`, or `_`");return a}function Ar(n){return"&#x"+n.toString(16).toUpperCase()+";"}function os(n,a,l){const o=yl(n),u=yl(a);return o===void 0?u===void 0?l==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:o===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}ab.peek=bx;function ab(n,a,l,o){const u=gx(l),f=l.enter("emphasis"),c=l.createTracker(o),p=c.move(u);let h=c.move(l.containerPhrasing(n,{after:u,before:p,...c.current()}));const m=h.charCodeAt(0),b=os(o.before.charCodeAt(o.before.length-1),m,u);b.inside&&(h=Ar(m)+h.slice(1));const g=h.charCodeAt(h.length-1),_=os(o.after.charCodeAt(0),g,u);_.inside&&(h=h.slice(0,-1)+Ar(g));const E=c.move(u);return f(),l.attentionEncodeSurroundingInfo={after:_.outside,before:b.outside},p+h+E}function bx(n,a,l){return l.options.emphasis||"*"}function yx(n,a){let l=!1;return ms(n,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return l=!0,Qc}),!!((!n.depth||n.depth<3)&&df(n)&&(a.options.setext||l))}function Ex(n,a,l,o){const u=Math.max(Math.min(6,n.depth||1),1),f=l.createTracker(o);if(yx(n,l)){const b=l.enter("headingSetext"),g=l.enter("phrasing"),_=l.containerPhrasing(n,{...f.current(),before:`
|
|
71
|
+
`,after:`
|
|
72
|
+
`});return g(),b(),_+`
|
|
73
|
+
`+(u===1?"=":"-").repeat(_.length-(Math.max(_.lastIndexOf("\r"),_.lastIndexOf(`
|
|
74
|
+
`))+1))}const c="#".repeat(u),p=l.enter("headingAtx"),h=l.enter("phrasing");f.move(c+" ");let m=l.containerPhrasing(n,{before:"# ",after:`
|
|
75
|
+
`,...f.current()});return/^[\t ]/.test(m)&&(m=Ar(m.charCodeAt(0))+m.slice(1)),m=m?c+" "+m:c,l.options.closeAtx&&(m+=" "+c),h(),p(),m}lb.peek=_x;function lb(n){return n.value||""}function _x(){return"<"}rb.peek=vx;function rb(n,a,l,o){const u=_f(l),f=u==='"'?"Quote":"Apostrophe",c=l.enter("image");let p=l.enter("label");const h=l.createTracker(o);let m=h.move("![");return m+=h.move(l.safe(n.alt,{before:m,after:"]",...h.current()})),m+=h.move("]("),p(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(p=l.enter("destinationLiteral"),m+=h.move("<"),m+=h.move(l.safe(n.url,{before:m,after:">",...h.current()})),m+=h.move(">")):(p=l.enter("destinationRaw"),m+=h.move(l.safe(n.url,{before:m,after:n.title?" ":")",...h.current()}))),p(),n.title&&(p=l.enter(`title${f}`),m+=h.move(" "+u),m+=h.move(l.safe(n.title,{before:m,after:u,...h.current()})),m+=h.move(u),p()),m+=h.move(")"),c(),m}function vx(){return"!"}ob.peek=Sx;function ob(n,a,l,o){const u=n.referenceType,f=l.enter("imageReference");let c=l.enter("label");const p=l.createTracker(o);let h=p.move("![");const m=l.safe(n.alt,{before:h,after:"]",...p.current()});h+=p.move(m+"]["),c();const b=l.stack;l.stack=[],c=l.enter("reference");const g=l.safe(l.associationId(n),{before:h,after:"]",...p.current()});return c(),l.stack=b,f(),u==="full"||!m||m!==g?h+=p.move(g+"]"):u==="shortcut"?h=h.slice(0,-1):h+=p.move("]"),h}function Sx(){return"!"}sb.peek=xx;function sb(n,a,l){let o=n.value||"",u="`",f=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(o);)u+="`";for(/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++f<l.unsafe.length;){const c=l.unsafe[f],p=l.compilePattern(c);let h;if(c.atBreak)for(;h=p.exec(o);){let m=h.index;o.charCodeAt(m)===10&&o.charCodeAt(m-1)===13&&m--,o=o.slice(0,m)+" "+o.slice(h.index+1)}}return u+o+u}function xx(){return"`"}function ub(n,a){const l=df(n);return!!(!a.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(l===n.url||"mailto:"+l===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}cb.peek=Tx;function cb(n,a,l,o){const u=_f(l),f=u==='"'?"Quote":"Apostrophe",c=l.createTracker(o);let p,h;if(ub(n,l)){const b=l.stack;l.stack=[],p=l.enter("autolink");let g=c.move("<");return g+=c.move(l.containerPhrasing(n,{before:g,after:">",...c.current()})),g+=c.move(">"),p(),l.stack=b,g}p=l.enter("link"),h=l.enter("label");let m=c.move("[");return m+=c.move(l.containerPhrasing(n,{before:m,after:"](",...c.current()})),m+=c.move("]("),h(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(h=l.enter("destinationLiteral"),m+=c.move("<"),m+=c.move(l.safe(n.url,{before:m,after:">",...c.current()})),m+=c.move(">")):(h=l.enter("destinationRaw"),m+=c.move(l.safe(n.url,{before:m,after:n.title?" ":")",...c.current()}))),h(),n.title&&(h=l.enter(`title${f}`),m+=c.move(" "+u),m+=c.move(l.safe(n.title,{before:m,after:u,...c.current()})),m+=c.move(u),h()),m+=c.move(")"),p(),m}function Tx(n,a,l){return ub(n,l)?"<":"["}fb.peek=Nx;function fb(n,a,l,o){const u=n.referenceType,f=l.enter("linkReference");let c=l.enter("label");const p=l.createTracker(o);let h=p.move("[");const m=l.containerPhrasing(n,{before:h,after:"]",...p.current()});h+=p.move(m+"]["),c();const b=l.stack;l.stack=[],c=l.enter("reference");const g=l.safe(l.associationId(n),{before:h,after:"]",...p.current()});return c(),l.stack=b,f(),u==="full"||!m||m!==g?h+=p.move(g+"]"):u==="shortcut"?h=h.slice(0,-1):h+=p.move("]"),h}function Nx(){return"["}function vf(n){const a=n.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function Ax(n){const a=vf(n),l=n.options.bulletOther;if(!l)return a==="*"?"-":"*";if(l!=="*"&&l!=="+"&&l!=="-")throw new Error("Cannot serialize items with `"+l+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(l===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+l+"`) to be different");return l}function wx(n){const a=n.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function db(n){const a=n.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function kx(n,a,l,o){const u=l.enter("list"),f=l.bulletCurrent;let c=n.ordered?wx(l):vf(l);const p=n.ordered?c==="."?")":".":Ax(l);let h=a&&l.bulletLastUsed?c===l.bulletLastUsed:!1;if(!n.ordered){const b=n.children?n.children[0]:void 0;if((c==="*"||c==="-")&&b&&(!b.children||!b.children[0])&&l.stack[l.stack.length-1]==="list"&&l.stack[l.stack.length-2]==="listItem"&&l.stack[l.stack.length-3]==="list"&&l.stack[l.stack.length-4]==="listItem"&&l.indexStack[l.indexStack.length-1]===0&&l.indexStack[l.indexStack.length-2]===0&&l.indexStack[l.indexStack.length-3]===0&&(h=!0),db(l)===c&&b){let g=-1;for(;++g<n.children.length;){const _=n.children[g];if(_&&_.type==="listItem"&&_.children&&_.children[0]&&_.children[0].type==="thematicBreak"){h=!0;break}}}}h&&(c=p),l.bulletCurrent=c;const m=l.containerFlow(n,o);return l.bulletLastUsed=c,l.bulletCurrent=f,u(),m}function Cx(n){const a=n.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function Ox(n,a,l,o){const u=Cx(l);let f=l.bulletCurrent||vf(l);a&&a.type==="list"&&a.ordered&&(f=(typeof a.start=="number"&&a.start>-1?a.start:1)+(l.options.incrementListMarker===!1?0:a.children.indexOf(n))+f);let c=f.length+1;(u==="tab"||u==="mixed"&&(a&&a.type==="list"&&a.spread||n.spread))&&(c=Math.ceil(c/4)*4);const p=l.createTracker(o);p.move(f+" ".repeat(c-f.length)),p.shift(c);const h=l.enter("listItem"),m=l.indentLines(l.containerFlow(n,p.current()),b);return h(),m;function b(g,_,E){return _?(E?"":" ".repeat(c))+g:(E?f:f+" ".repeat(c-f.length))+g}}function Mx(n,a,l,o){const u=l.enter("paragraph"),f=l.enter("phrasing"),c=l.containerPhrasing(n,o);return f(),u(),c}const Rx=Cr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Dx(n,a,l,o){return(n.children.some(function(c){return Rx(c)})?l.containerPhrasing:l.containerFlow).call(l,n,o)}function Lx(n){const a=n.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}pb.peek=zx;function pb(n,a,l,o){const u=Lx(l),f=l.enter("strong"),c=l.createTracker(o),p=c.move(u+u);let h=c.move(l.containerPhrasing(n,{after:u,before:p,...c.current()}));const m=h.charCodeAt(0),b=os(o.before.charCodeAt(o.before.length-1),m,u);b.inside&&(h=Ar(m)+h.slice(1));const g=h.charCodeAt(h.length-1),_=os(o.after.charCodeAt(0),g,u);_.inside&&(h=h.slice(0,-1)+Ar(g));const E=c.move(u+u);return f(),l.attentionEncodeSurroundingInfo={after:_.outside,before:b.outside},p+h+E}function zx(n,a,l){return l.options.strong||"*"}function Bx(n,a,l,o){return l.safe(n.value,o)}function Ix(n){const a=n.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function Ux(n,a,l){const o=(db(l)+(l.options.ruleSpaces?" ":"")).repeat(Ix(l));return l.options.ruleSpaces?o.slice(0,-1):o}const mb={blockquote:ox,break:$h,code:px,definition:hx,emphasis:ab,hardBreak:$h,heading:Ex,html:lb,image:rb,imageReference:ob,inlineCode:sb,link:cb,linkReference:fb,list:kx,listItem:Ox,paragraph:Mx,root:Dx,strong:pb,text:Bx,thematicBreak:Ux};function Hx(){return{enter:{table:qx,tableData:Jh,tableHeader:Jh,tableRow:Gx},exit:{codeText:jx,table:Fx,tableData:Hc,tableHeader:Hc,tableRow:Hc}}}function qx(n){const a=n._align;this.enter({type:"table",align:a.map(function(l){return l==="none"?null:l}),children:[]},n),this.data.inTable=!0}function Fx(n){this.exit(n),this.data.inTable=void 0}function Gx(n){this.enter({type:"tableRow",children:[]},n)}function Hc(n){this.exit(n)}function Jh(n){this.enter({type:"tableCell",children:[]},n)}function jx(n){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,Yx));const l=this.stack[this.stack.length-1];l.type,l.value=a,this.exit(n)}function Yx(n,a){return a==="|"?a:n}function Kx(n){const a=n||{},l=a.tableCellPadding,o=a.tablePipeAlign,u=a.stringLength,f=l?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
76
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:_,table:c,tableCell:h,tableRow:p}};function c(E,x,C,R){return m(b(E,C,R),E.align)}function p(E,x,C,R){const N=g(E,C,R),F=m([N]);return F.slice(0,F.indexOf(`
|
|
77
|
+
`))}function h(E,x,C,R){const N=C.enter("tableCell"),F=C.enter("phrasing"),H=C.containerPhrasing(E,{...R,before:f,after:f});return F(),N(),H}function m(E,x){return lx(E,{align:x,alignDelimiters:o,padding:l,stringLength:u})}function b(E,x,C){const R=E.children;let N=-1;const F=[],H=x.enter("table");for(;++N<R.length;)F[N]=g(R[N],x,C);return H(),F}function g(E,x,C){const R=E.children;let N=-1;const F=[],H=x.enter("tableRow");for(;++N<R.length;)F[N]=h(R[N],E,x,C);return H(),F}function _(E,x,C){let R=mb.inlineCode(E,x,C);return C.stack.includes("tableCell")&&(R=R.replace(/\|/g,"\\$&")),R}}function Vx(){return{exit:{taskListCheckValueChecked:Wh,taskListCheckValueUnchecked:Wh,paragraph:Px}}}function Xx(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Zx}}}function Wh(n){const a=this.stack[this.stack.length-2];a.type,a.checked=n.type==="taskListCheckValueChecked"}function Px(n){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const l=this.stack[this.stack.length-1];l.type;const o=l.children[0];if(o&&o.type==="text"){const u=a.children;let f=-1,c;for(;++f<u.length;){const p=u[f];if(p.type==="paragraph"){c=p;break}}c===l&&(o.value=o.value.slice(1),o.value.length===0?l.children.shift():l.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,l.position.start=Object.assign({},o.position.start)))}}this.exit(n)}function Zx(n,a,l,o){const u=n.children[0],f=typeof n.checked=="boolean"&&u&&u.type==="paragraph",c="["+(n.checked?"x":" ")+"] ",p=l.createTracker(o);f&&p.move(c);let h=mb.listItem(n,a,l,{...o,...p.current()});return f&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),h;function m(b){return b+c}}function Qx(){return[k1(),Z1(),W1(),Hx(),Vx()]}function $x(n){return{extensions:[C1(),Q1(n),ex(),Kx(n),Xx()]}}const Jx={tokenize:aT,partial:!0},hb={tokenize:lT,partial:!0},gb={tokenize:rT,partial:!0},bb={tokenize:oT,partial:!0},Wx={tokenize:sT,partial:!0},yb={name:"wwwAutolink",tokenize:nT,previous:_b},Eb={name:"protocolAutolink",tokenize:iT,previous:vb},xi={name:"emailAutolink",tokenize:tT,previous:Sb},ei={};function eT(){return{text:ei}}let xa=48;for(;xa<123;)ei[xa]=xi,xa++,xa===58?xa=65:xa===91&&(xa=97);ei[43]=xi;ei[45]=xi;ei[46]=xi;ei[95]=xi;ei[72]=[xi,Eb];ei[104]=[xi,Eb];ei[87]=[xi,yb];ei[119]=[xi,yb];function tT(n,a,l){const o=this;let u,f;return c;function c(g){return!ef(g)||!Sb.call(o,o.previous)||Sf(o.events)?l(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),p(g))}function p(g){return ef(g)?(n.consume(g),p):g===64?(n.consume(g),h):l(g)}function h(g){return g===46?n.check(Wx,b,m)(g):g===45||g===95||Pt(g)?(f=!0,n.consume(g),h):b(g)}function m(g){return n.consume(g),u=!0,h}function b(g){return f&&u&&tn(o.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),a(g)):l(g)}}function nT(n,a,l){const o=this;return u;function u(c){return c!==87&&c!==119||!_b.call(o,o.previous)||Sf(o.events)?l(c):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(Jx,n.attempt(hb,n.attempt(gb,f),l),l)(c))}function f(c){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),a(c)}}function iT(n,a,l){const o=this;let u="",f=!1;return c;function c(g){return(g===72||g===104)&&vb.call(o,o.previous)&&!Sf(o.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),u+=String.fromCodePoint(g),n.consume(g),p):l(g)}function p(g){if(tn(g)&&u.length<5)return u+=String.fromCodePoint(g),n.consume(g),p;if(g===58){const _=u.toLowerCase();if(_==="http"||_==="https")return n.consume(g),h}return l(g)}function h(g){return g===47?(n.consume(g),f?m:(f=!0,h)):l(g)}function m(g){return g===null||as(g)||ct(g)||Ta(g)||cs(g)?l(g):n.attempt(hb,n.attempt(gb,b),l)(g)}function b(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),a(g)}}function aT(n,a,l){let o=0;return u;function u(c){return(c===87||c===119)&&o<3?(o++,n.consume(c),u):c===46&&o===3?(n.consume(c),f):l(c)}function f(c){return c===null?l(c):a(c)}}function lT(n,a,l){let o,u,f;return c;function c(m){return m===46||m===95?n.check(bb,h,p)(m):m===null||ct(m)||Ta(m)||m!==45&&cs(m)?h(m):(f=!0,n.consume(m),c)}function p(m){return m===95?o=!0:(u=o,o=void 0),n.consume(m),c}function h(m){return u||o||!f?l(m):a(m)}}function rT(n,a){let l=0,o=0;return u;function u(c){return c===40?(l++,n.consume(c),u):c===41&&o<l?f(c):c===33||c===34||c===38||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===60||c===63||c===93||c===95||c===126?n.check(bb,a,f)(c):c===null||ct(c)||Ta(c)?a(c):(n.consume(c),u)}function f(c){return c===41&&o++,n.consume(c),u}}function oT(n,a,l){return o;function o(p){return p===33||p===34||p===39||p===41||p===42||p===44||p===46||p===58||p===59||p===63||p===95||p===126?(n.consume(p),o):p===38?(n.consume(p),f):p===93?(n.consume(p),u):p===60||p===null||ct(p)||Ta(p)?a(p):l(p)}function u(p){return p===null||p===40||p===91||ct(p)||Ta(p)?a(p):o(p)}function f(p){return tn(p)?c(p):l(p)}function c(p){return p===59?(n.consume(p),o):tn(p)?(n.consume(p),c):l(p)}}function sT(n,a,l){return o;function o(f){return n.consume(f),u}function u(f){return Pt(f)?l(f):a(f)}}function _b(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||ct(n)}function vb(n){return!tn(n)}function Sb(n){return!(n===47||ef(n))}function ef(n){return n===43||n===45||n===46||n===95||Pt(n)}function Sf(n){let a=n.length,l=!1;for(;a--;){const o=n[a][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){l=!0;break}if(o._gfmAutolinkLiteralWalkedInto){l=!1;break}}return n.length>0&&!l&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),l}const uT={tokenize:bT,partial:!0};function cT(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:mT,continuation:{tokenize:hT},exit:gT}},text:{91:{name:"gfmFootnoteCall",tokenize:pT},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:fT,resolveTo:dT}}}}function fT(n,a,l){const o=this;let u=o.events.length;const f=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let c;for(;u--;){const h=o.events[u][1];if(h.type==="labelImage"){c=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return p;function p(h){if(!c||!c._balanced)return l(h);const m=jn(o.sliceSerialize({start:c.end,end:o.now()}));return m.codePointAt(0)!==94||!f.includes(m.slice(1))?l(h):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(h),n.exit("gfmFootnoteCallLabelMarker"),a(h))}}function dT(n,a){let l=n.length;for(;l--;)if(n[l][1].type==="labelImage"&&n[l][0]==="enter"){n[l][1];break}n[l+1][1].type="data",n[l+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},n[l+3][1].start),end:Object.assign({},n[n.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},n[l+3][1].end),end:Object.assign({},n[l+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const f={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},n[n.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},f.start),end:Object.assign({},f.end)},p=[n[l+1],n[l+2],["enter",o,a],n[l+3],n[l+4],["enter",u,a],["exit",u,a],["enter",f,a],["enter",c,a],["exit",c,a],["exit",f,a],n[n.length-2],n[n.length-1],["exit",o,a]];return n.splice(l,n.length-l+1,...p),n}function pT(n,a,l){const o=this,u=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f=0,c;return p;function p(g){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),h}function h(g){return g!==94?l(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",m)}function m(g){if(f>999||g===93&&!c||g===null||g===91||ct(g))return l(g);if(g===93){n.exit("chunkString");const _=n.exit("gfmFootnoteCallString");return u.includes(jn(o.sliceSerialize(_)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),a):l(g)}return ct(g)||(c=!0),f++,n.consume(g),g===92?b:m}function b(g){return g===91||g===92||g===93?(n.consume(g),f++,m):m(g)}}function mT(n,a,l){const o=this,u=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f,c=0,p;return h;function h(x){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(x),n.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(x){return x===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(x),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",b):l(x)}function b(x){if(c>999||x===93&&!p||x===null||x===91||ct(x))return l(x);if(x===93){n.exit("chunkString");const C=n.exit("gfmFootnoteDefinitionLabelString");return f=jn(o.sliceSerialize(C)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(x),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),_}return ct(x)||(p=!0),c++,n.consume(x),x===92?g:b}function g(x){return x===91||x===92||x===93?(n.consume(x),c++,b):b(x)}function _(x){return x===58?(n.enter("definitionMarker"),n.consume(x),n.exit("definitionMarker"),u.includes(f)||u.push(f),Ve(n,E,"gfmFootnoteDefinitionWhitespace")):l(x)}function E(x){return a(x)}}function hT(n,a,l){return n.check(kr,a,n.attempt(uT,a,l))}function gT(n){n.exit("gfmFootnoteDefinition")}function bT(n,a,l){const o=this;return Ve(n,u,"gfmFootnoteDefinitionIndent",5);function u(f){const c=o.events[o.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===4?a(f):l(f)}}function yT(n){let l=(n||{}).singleTilde;const o={name:"strikethrough",tokenize:f,resolveAll:u};return l==null&&(l=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function u(c,p){let h=-1;for(;++h<c.length;)if(c[h][0]==="enter"&&c[h][1].type==="strikethroughSequenceTemporary"&&c[h][1]._close){let m=h;for(;m--;)if(c[m][0]==="exit"&&c[m][1].type==="strikethroughSequenceTemporary"&&c[m][1]._open&&c[h][1].end.offset-c[h][1].start.offset===c[m][1].end.offset-c[m][1].start.offset){c[h][1].type="strikethroughSequence",c[m][1].type="strikethroughSequence";const b={type:"strikethrough",start:Object.assign({},c[m][1].start),end:Object.assign({},c[h][1].end)},g={type:"strikethroughText",start:Object.assign({},c[m][1].end),end:Object.assign({},c[h][1].start)},_=[["enter",b,p],["enter",c[m][1],p],["exit",c[m][1],p],["enter",g,p]],E=p.parser.constructs.insideSpan.null;E&&An(_,_.length,0,fs(E,c.slice(m+1,h),p)),An(_,_.length,0,[["exit",g,p],["enter",c[h][1],p],["exit",c[h][1],p],["exit",b,p]]),An(c,m-1,h-m+3,_),h=m+_.length-2;break}}for(h=-1;++h<c.length;)c[h][1].type==="strikethroughSequenceTemporary"&&(c[h][1].type="data");return c}function f(c,p,h){const m=this.previous,b=this.events;let g=0;return _;function _(x){return m===126&&b[b.length-1][1].type!=="characterEscape"?h(x):(c.enter("strikethroughSequenceTemporary"),E(x))}function E(x){const C=yl(m);if(x===126)return g>1?h(x):(c.consume(x),g++,E);if(g<2&&!l)return h(x);const R=c.exit("strikethroughSequenceTemporary"),N=yl(x);return R._open=!N||N===2&&!!C,R._close=!C||C===2&&!!N,p(x)}}}class ET{constructor(){this.map=[]}add(a,l,o){_T(this,a,l,o)}consume(a){if(this.map.sort(function(f,c){return f[0]-c[0]}),this.map.length===0)return;let l=this.map.length;const o=[];for(;l>0;)l-=1,o.push(a.slice(this.map[l][0]+this.map[l][1]),this.map[l][2]),a.length=this.map[l][0];o.push(a.slice()),a.length=0;let u=o.pop();for(;u;){for(const f of u)a.push(f);u=o.pop()}this.map.length=0}}function _T(n,a,l,o){let u=0;if(!(l===0&&o.length===0)){for(;u<n.map.length;){if(n.map[u][0]===a){n.map[u][1]+=l,n.map[u][2].push(...o);return}u+=1}n.map.push([a,l,o])}}function vT(n,a){let l=!1;const o=[];for(;a<n.length;){const u=n[a];if(l){if(u[0]==="enter")u[1].type==="tableContent"&&o.push(n[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(n[a-1][1].type==="tableDelimiterMarker"){const f=o.length-1;o[f]=o[f]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(l=!0);a+=1}return o}function ST(){return{flow:{null:{name:"table",tokenize:xT,resolveAll:TT}}}}function xT(n,a,l){const o=this;let u=0,f=0,c;return p;function p(B){let ae=o.events.length-1;for(;ae>-1;){const oe=o.events[ae][1].type;if(oe==="lineEnding"||oe==="linePrefix")ae--;else break}const re=ae>-1?o.events[ae][1].type:null,we=re==="tableHead"||re==="tableRow"?M:h;return we===M&&o.parser.lazy[o.now().line]?l(B):we(B)}function h(B){return n.enter("tableHead"),n.enter("tableRow"),m(B)}function m(B){return B===124||(c=!0,f+=1),b(B)}function b(B){return B===null?l(B):Se(B)?f>1?(f=0,o.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(B),n.exit("lineEnding"),E):l(B):qe(B)?Ve(n,b,"whitespace")(B):(f+=1,c&&(c=!1,u+=1),B===124?(n.enter("tableCellDivider"),n.consume(B),n.exit("tableCellDivider"),c=!0,b):(n.enter("data"),g(B)))}function g(B){return B===null||B===124||ct(B)?(n.exit("data"),b(B)):(n.consume(B),B===92?_:g)}function _(B){return B===92||B===124?(n.consume(B),g):g(B)}function E(B){return o.interrupt=!1,o.parser.lazy[o.now().line]?l(B):(n.enter("tableDelimiterRow"),c=!1,qe(B)?Ve(n,x,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):x(B))}function x(B){return B===45||B===58?R(B):B===124?(c=!0,n.enter("tableCellDivider"),n.consume(B),n.exit("tableCellDivider"),C):V(B)}function C(B){return qe(B)?Ve(n,R,"whitespace")(B):R(B)}function R(B){return B===58?(f+=1,c=!0,n.enter("tableDelimiterMarker"),n.consume(B),n.exit("tableDelimiterMarker"),N):B===45?(f+=1,N(B)):B===null||Se(B)?$(B):V(B)}function N(B){return B===45?(n.enter("tableDelimiterFiller"),F(B)):V(B)}function F(B){return B===45?(n.consume(B),F):B===58?(c=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(B),n.exit("tableDelimiterMarker"),H):(n.exit("tableDelimiterFiller"),H(B))}function H(B){return qe(B)?Ve(n,$,"whitespace")(B):$(B)}function $(B){return B===124?x(B):B===null||Se(B)?!c||u!==f?V(B):(n.exit("tableDelimiterRow"),n.exit("tableHead"),a(B)):V(B)}function V(B){return l(B)}function M(B){return n.enter("tableRow"),Q(B)}function Q(B){return B===124?(n.enter("tableCellDivider"),n.consume(B),n.exit("tableCellDivider"),Q):B===null||Se(B)?(n.exit("tableRow"),a(B)):qe(B)?Ve(n,Q,"whitespace")(B):(n.enter("data"),ee(B))}function ee(B){return B===null||B===124||ct(B)?(n.exit("data"),Q(B)):(n.consume(B),B===92?ue:ee)}function ue(B){return B===92||B===124?(n.consume(B),ee):ee(B)}}function TT(n,a){let l=-1,o=!0,u=0,f=[0,0,0,0],c=[0,0,0,0],p=!1,h=0,m,b,g;const _=new ET;for(;++l<n.length;){const E=n[l],x=E[1];E[0]==="enter"?x.type==="tableHead"?(p=!1,h!==0&&(eg(_,a,h,m,b),b=void 0,h=0),m={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},_.add(l,0,[["enter",m,a]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(o=!0,g=void 0,f=[0,0,0,0],c=[0,l+1,0,0],p&&(p=!1,b={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},_.add(l,0,[["enter",b,a]])),u=x.type==="tableDelimiterRow"?2:b?3:1):u&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(o=!1,c[2]===0&&(f[1]!==0&&(c[0]=c[1],g=$o(_,a,f,u,void 0,g),f=[0,0,0,0]),c[2]=l)):x.type==="tableCellDivider"&&(o?o=!1:(f[1]!==0&&(c[0]=c[1],g=$o(_,a,f,u,void 0,g)),f=c,c=[f[1],l,0,0])):x.type==="tableHead"?(p=!0,h=l):x.type==="tableRow"||x.type==="tableDelimiterRow"?(h=l,f[1]!==0?(c[0]=c[1],g=$o(_,a,f,u,l,g)):c[1]!==0&&(g=$o(_,a,c,u,l,g)),u=0):u&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(c[3]=l)}for(h!==0&&eg(_,a,h,m,b),_.consume(a.events),l=-1;++l<a.events.length;){const E=a.events[l];E[0]==="enter"&&E[1].type==="table"&&(E[1]._align=vT(a.events,l))}return n}function $o(n,a,l,o,u,f){const c=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",p="tableContent";l[0]!==0&&(f.end=Object.assign({},ml(a.events,l[0])),n.add(l[0],0,[["exit",f,a]]));const h=ml(a.events,l[1]);if(f={type:c,start:Object.assign({},h),end:Object.assign({},h)},n.add(l[1],0,[["enter",f,a]]),l[2]!==0){const m=ml(a.events,l[2]),b=ml(a.events,l[3]),g={type:p,start:Object.assign({},m),end:Object.assign({},b)};if(n.add(l[2],0,[["enter",g,a]]),o!==2){const _=a.events[l[2]],E=a.events[l[3]];if(_[1].end=Object.assign({},E[1].end),_[1].type="chunkText",_[1].contentType="text",l[3]>l[2]+1){const x=l[2]+1,C=l[3]-l[2]-1;n.add(x,C,[])}}n.add(l[3]+1,0,[["exit",g,a]])}return u!==void 0&&(f.end=Object.assign({},ml(a.events,u)),n.add(u,0,[["exit",f,a]]),f=void 0),f}function eg(n,a,l,o,u){const f=[],c=ml(a.events,l);u&&(u.end=Object.assign({},c),f.push(["exit",u,a])),o.end=Object.assign({},c),f.push(["exit",o,a]),n.add(l+1,0,f)}function ml(n,a){const l=n[a],o=l[0]==="enter"?"start":"end";return l[1][o]}const NT={name:"tasklistCheck",tokenize:wT};function AT(){return{text:{91:NT}}}function wT(n,a,l){const o=this;return u;function u(h){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?l(h):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(h),n.exit("taskListCheckMarker"),f)}function f(h){return ct(h)?(n.enter("taskListCheckValueUnchecked"),n.consume(h),n.exit("taskListCheckValueUnchecked"),c):h===88||h===120?(n.enter("taskListCheckValueChecked"),n.consume(h),n.exit("taskListCheckValueChecked"),c):l(h)}function c(h){return h===93?(n.enter("taskListCheckMarker"),n.consume(h),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),p):l(h)}function p(h){return Se(h)?a(h):qe(h)?n.check({tokenize:kT},a,l)(h):l(h)}}function kT(n,a,l){return Ve(n,o,"whitespace");function o(u){return u===null?l(u):a(u)}}function CT(n){return Dg([eT(),cT(),yT(n),ST(),AT()])}const OT={};function MT(n){const a=this,l=n||OT,o=a.data(),u=o.micromarkExtensions||(o.micromarkExtensions=[]),f=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),c=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);u.push(CT(l)),f.push(Qx()),c.push($x(l))}const tg=(function(n,a,l){const o=Cr(l);if(!n||!n.type||!n.children)throw new Error("Expected parent node");if(typeof a=="number"){if(a<0||a===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(a=n.children.indexOf(a),a<0)throw new Error("Expected child node or index");for(;++a<n.children.length;)if(o(n.children[a],a,n))return n.children[a]}),Aa=(function(n){if(n==null)return LT;if(typeof n=="string")return DT(n);if(typeof n=="object")return RT(n);if(typeof n=="function")return xf(n);throw new Error("Expected function, string, or array as `test`")});function RT(n){const a=[];let l=-1;for(;++l<n.length;)a[l]=Aa(n[l]);return xf(o);function o(...u){let f=-1;for(;++f<a.length;)if(a[f].apply(this,u))return!0;return!1}}function DT(n){return xf(a);function a(l){return l.tagName===n}}function xf(n){return a;function a(l,o,u){return!!(zT(l)&&n.call(this,l,typeof o=="number"?o:void 0,u||void 0))}}function LT(n){return!!(n&&typeof n=="object"&&"type"in n&&n.type==="element"&&"tagName"in n&&typeof n.tagName=="string")}function zT(n){return n!==null&&typeof n=="object"&&"type"in n&&"tagName"in n}const ng=/\n/g,ig=/[\t ]+/g,tf=Aa("br"),ag=Aa(jT),BT=Aa("p"),lg=Aa("tr"),IT=Aa(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",GT,YT]),xb=Aa(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function UT(n,a){const l=a||{},o="children"in n?n.children:[],u=xb(n),f=Ab(n,{whitespace:l.whitespace||"normal"}),c=[];(n.type==="text"||n.type==="comment")&&c.push(...Nb(n,{breakBefore:!0,breakAfter:!0}));let p=-1;for(;++p<o.length;)c.push(...Tb(o[p],n,{whitespace:f,breakBefore:p?void 0:u,breakAfter:p<o.length-1?tf(o[p+1]):u}));const h=[];let m;for(p=-1;++p<c.length;){const b=c[p];typeof b=="number"?m!==void 0&&b>m&&(m=b):b&&(m!==void 0&&m>-1&&h.push(`
|
|
78
|
+
`.repeat(m)||" "),m=-1,h.push(b))}return h.join("")}function Tb(n,a,l){return n.type==="element"?HT(n,a,l):n.type==="text"?l.whitespace==="normal"?Nb(n,l):qT(n):[]}function HT(n,a,l){const o=Ab(n,l),u=n.children||[];let f=-1,c=[];if(IT(n))return c;let p,h;for(tf(n)||lg(n)&&tg(a,n,lg)?h=`
|
|
79
|
+
`:BT(n)?(p=2,h=2):xb(n)&&(p=1,h=1);++f<u.length;)c=c.concat(Tb(u[f],n,{whitespace:o,breakBefore:f?void 0:p,breakAfter:f<u.length-1?tf(u[f+1]):h}));return ag(n)&&tg(a,n,ag)&&c.push(" "),p&&c.unshift(p),h&&c.push(h),c}function Nb(n,a){const l=String(n.value),o=[],u=[];let f=0;for(;f<=l.length;){ng.lastIndex=f;const h=ng.exec(l),m=h&&"index"in h?h.index:l.length;o.push(FT(l.slice(f,m).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),f===0?a.breakBefore:!0,m===l.length?a.breakAfter:!0)),f=m+1}let c=-1,p;for(;++c<o.length;)o[c].charCodeAt(o[c].length-1)===8203||c<o.length-1&&o[c+1].charCodeAt(0)===8203?(u.push(o[c]),p=void 0):o[c]?(typeof p=="number"&&u.push(p),u.push(o[c]),p=0):(c===0||c===o.length-1)&&u.push(0);return u}function qT(n){return[String(n.value)]}function FT(n,a,l){const o=[];let u=0,f;for(;u<n.length;){ig.lastIndex=u;const c=ig.exec(n);f=c?c.index:n.length,!u&&!f&&c&&!a&&o.push(""),u!==f&&o.push(n.slice(u,f)),u=c?f+c[0].length:f}return u!==f&&!l&&o.push(""),o.join(" ")}function Ab(n,a){if(n.type==="element"){const l=n.properties||{};switch(n.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return l.wrap?"pre-wrap":"pre";case"td":case"th":return l.noWrap?"nowrap":a.whitespace;case"textarea":return"pre-wrap"}}return a.whitespace}function GT(n){return!!(n.properties||{}).hidden}function jT(n){return n.tagName==="td"||n.tagName==="th"}function YT(n){return n.tagName==="dialog"&&!(n.properties||{}).open}function KT(n){const a=n.regex,l=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",c="(?!struct)("+o+"|"+a.optional(u)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",p={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},m={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},b={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(m,{className:"string"}),{className:"string",begin:/<.*?>/},l,n.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:a.optional(u)+n.IDENT_RE,relevance:0},E=a.optional(u)+n.IDENT_RE+"\\s*\\(",x=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],C=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],N=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],$={type:C,keyword:x,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},V={className:"function.dispatch",relevance:0,keywords:{_hint:N},begin:a.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,n.IDENT_RE,a.lookahead(/(<[^<>]+>|)\s*\(/))},M=[V,g,p,l,n.C_BLOCK_COMMENT_MODE,b,m],Q={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:$,contains:M.concat([{begin:/\(/,end:/\)/,keywords:$,contains:M.concat(["self"]),relevance:0}]),relevance:0},ee={className:"function",begin:"("+c+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:$,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:$,relevance:0},{begin:E,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[m,b]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:$,relevance:0,contains:[l,n.C_BLOCK_COMMENT_MODE,m,b,p,{begin:/\(/,end:/\)/,keywords:$,relevance:0,contains:["self",l,n.C_BLOCK_COMMENT_MODE,m,b,p]}]},p,l,n.C_BLOCK_COMMENT_MODE,g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:$,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Q,ee,V,M,[g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:$,contains:["self",p]},{begin:n.IDENT_RE+"::",keywords:$},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function VT(n){const a={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},l=KT(n),o=l.keywords;return o.type=[...o.type,...a.type],o.literal=[...o.literal,...a.literal],o.built_in=[...o.built_in,...a.built_in],o._hints=a._hints,l.name="Arduino",l.aliases=["ino"],l.supersetOf="cpp",l}function XT(n){const a=n.regex,l={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[l]}]};Object.assign(l,{className:"variable",variants:[{begin:a.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const u={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},f=n.inherit(n.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),c={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},p={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,l,u]};u.contains.push(p);const h={match:/\\"/},m={className:"string",begin:/'/,end:/'/},b={match:/\\'/},g={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,l]},_=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],E=n.SHEBANG({binary:`(${_.join("|")})`,relevance:10}),x={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},C=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],R=["true","false"],N={match:/(\/[a-z._-]+)+/},F=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],H=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],$=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],V=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:C,literal:R,built_in:[...F,...H,"set","shopt",...$,...V]},contains:[E,n.SHEBANG(),x,g,f,c,N,p,h,m,b,l]}}function PT(n){const a=n.regex,l=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",c="("+o+"|"+a.optional(u)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",p={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},m={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},b={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(m,{className:"string"}),{className:"string",begin:/<.*?>/},l,n.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:a.optional(u)+n.IDENT_RE,relevance:0},E=a.optional(u)+n.IDENT_RE+"\\s*\\(",R={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},N=[g,p,l,n.C_BLOCK_COMMENT_MODE,b,m],F={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:N.concat([{begin:/\(/,end:/\)/,keywords:R,contains:N.concat(["self"]),relevance:0}]),relevance:0},H={begin:"("+c+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:E,returnBegin:!0,contains:[n.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[l,n.C_BLOCK_COMMENT_MODE,m,b,p,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",l,n.C_BLOCK_COMMENT_MODE,m,b,p]}]},p,l,n.C_BLOCK_COMMENT_MODE,g]};return{name:"C",aliases:["h"],keywords:R,disableAutodetect:!0,illegal:"</",contains:[].concat(F,H,N,[g,{begin:n.IDENT_RE+"::",keywords:R},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},n.TITLE_MODE]}]),exports:{preprocessor:g,strings:m,keywords:R}}}function ZT(n){const a=n.regex,l=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",c="(?!struct)("+o+"|"+a.optional(u)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",p={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},m={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},b={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(m,{className:"string"}),{className:"string",begin:/<.*?>/},l,n.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:a.optional(u)+n.IDENT_RE,relevance:0},E=a.optional(u)+n.IDENT_RE+"\\s*\\(",x=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],C=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],N=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],$={type:C,keyword:x,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},V={className:"function.dispatch",relevance:0,keywords:{_hint:N},begin:a.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,n.IDENT_RE,a.lookahead(/(<[^<>]+>|)\s*\(/))},M=[V,g,p,l,n.C_BLOCK_COMMENT_MODE,b,m],Q={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:$,contains:M.concat([{begin:/\(/,end:/\)/,keywords:$,contains:M.concat(["self"]),relevance:0}]),relevance:0},ee={className:"function",begin:"("+c+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:$,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:$,relevance:0},{begin:E,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[m,b]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:$,relevance:0,contains:[l,n.C_BLOCK_COMMENT_MODE,m,b,p,{begin:/\(/,end:/\)/,keywords:$,relevance:0,contains:["self",l,n.C_BLOCK_COMMENT_MODE,m,b,p]}]},p,l,n.C_BLOCK_COMMENT_MODE,g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:$,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Q,ee,V,M,[g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:$,contains:["self",p]},{begin:n.IDENT_RE+"::",keywords:$},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function QT(n){const a=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],l=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],u=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],f=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],c={keyword:u.concat(f),built_in:a,literal:o},p=n.inherit(n.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},m={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},b={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},g=n.inherit(b,{illegal:/\n/}),_={className:"subst",begin:/\{/,end:/\}/,keywords:c},E=n.inherit(_,{illegal:/\n/}),x={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},n.BACKSLASH_ESCAPE,E]},C={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]},R=n.inherit(C,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},E]});_.contains=[C,x,b,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,h,n.C_BLOCK_COMMENT_MODE],E.contains=[R,x,g,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,h,n.inherit(n.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const N={variants:[m,C,x,b,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},F={begin:"<",end:">",contains:[{beginKeywords:"in out"},p]},H=n.IDENT_RE+"(<"+n.IDENT_RE+"(\\s*,\\s*"+n.IDENT_RE+")*>)?(\\[\\])?",$={begin:"@"+n.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:c,illegal:/::/,contains:[n.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},N,h,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},p,F,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[p,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[p,F,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+H+"\\s+)+"+n.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:c,contains:[{beginKeywords:l.join(" "),relevance:0},{begin:n.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[n.TITLE_MODE,F],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,relevance:0,contains:[N,h,n.C_BLOCK_COMMENT_MODE]},n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},$]}}const $T=n=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:n.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:n.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),JT=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],WT=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],eN=[...JT,...WT],tN=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),nN=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),iN=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),aN=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function lN(n){const a=n.regex,l=$T(n),o={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},u="and or not only",f=/@-?\w[\w]*(-\w+)*/,c="[a-zA-Z-][a-zA-Z0-9_-]*",p=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[l.BLOCK_COMMENT,o,l.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+c,relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+nN.join("|")+")"},{begin:":(:)?("+iN.join("|")+")"}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+aN.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[l.BLOCK_COMMENT,l.HEXCOLOR,l.IMPORTANT,l.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},l.FUNCTION_DISPATCH]},{begin:a.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:tN.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,l.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+eN.join("|")+")\\b"}]}}function rN(n){const a=n.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:a.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:a.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function oN(n){const f={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:f,illegal:"</",contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,{className:"string",variants:[n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[n.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:f,illegal:/["']/}]}]}}function sN(n){const a=n.regex,l=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[n.HASH_COMMENT_MODE,n.QUOTE_STRING_MODE,n.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:a.concat(l,a.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function uN(n){const a=n.regex,l={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:n.NUMBER_RE}]},o=n.COMMENT();o.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const u={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},f={className:"literal",begin:/\bon|off|true|false|yes|no\b/},c={className:"string",contains:[n.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},p={begin:/\[/,end:/\]/,contains:[o,f,u,c,l,"self"],relevance:0},h=/[A-Za-z0-9_-]+/,m=/"(\\"|[^"])*"/,b=/'[^']*'/,g=a.either(h,m,b),_=a.concat(g,"(\\s*\\.\\s*",g,")*",a.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[o,{className:"section",begin:/\[+/,end:/\]+/},{begin:_,className:"attr",starts:{end:/$/,contains:[o,p,f,u,c,l]}}]}}var hl="[0-9](_*[0-9])*",Jo=`\\.(${hl})`,Wo="[0-9a-fA-F](_*[0-9a-fA-F])*",rg={className:"number",variants:[{begin:`(\\b(${hl})((${Jo})|\\.)?|(${Jo}))[eE][+-]?(${hl})[fFdD]?\\b`},{begin:`\\b(${hl})((${Jo})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Jo})[fFdD]?\\b`},{begin:`\\b(${hl})[fFdD]\\b`},{begin:`\\b0[xX]((${Wo})\\.?|(${Wo})?\\.(${Wo}))[pP][+-]?(${hl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Wo})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function wb(n,a,l){return l===-1?"":n.replace(a,o=>wb(n,a,l-1))}function cN(n){const a=n.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",o=l+wb("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),h={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},m={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:h,illegal:/<\/|#/,contains:[n.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[n.BACKSLASH_ESCAPE]},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[b,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+o+"\\s+)",n.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:h,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[m,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,rg,n.C_BLOCK_COMMENT_MODE]},n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},rg,m]}}const og="[A-Za-z$_][0-9A-Za-z$_]*",fN=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],dN=["true","false","null","undefined","NaN","Infinity"],kb=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Cb=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ob=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],pN=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],mN=[].concat(Ob,kb,Cb);function hN(n){const a=n.regex,l=(ne,{after:ye})=>{const T="</"+ne[0].slice(1);return ne.input.indexOf(T,ye)!==-1},o=og,u={begin:"<>",end:"</>"},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ne,ye)=>{const T=ne[0].length+ne.index,w=ne.input[T];if(w==="<"||w===","){ye.ignoreMatch();return}w===">"&&(l(ne,{after:T})||ye.ignoreMatch());let j;const S=ne.input.substring(T);if(j=S.match(/^\s*=/)){ye.ignoreMatch();return}if((j=S.match(/^\s+extends\s+/))&&j.index===0){ye.ignoreMatch();return}}},p={$pattern:og,keyword:fN,literal:dN,built_in:mN,"variable.language":pN},h="[0-9](_?[0-9])*",m=`\\.(${h})`,b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${b})((${m})|\\.)?|(${m}))[eE][+-]?(${h})\\b`},{begin:`\\b(${b})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},_={className:"subst",begin:"\\$\\{",end:"\\}",keywords:p,contains:[]},E={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,_],subLanguage:"xml"}},x={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,_],subLanguage:"css"}},C={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,_],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,_]},F={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},H=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,E,x,C,R,{match:/\$\d+/},g];_.contains=H.concat({begin:/\{/,end:/\}/,keywords:p,contains:["self"].concat(H)});const $=[].concat(F,_.contains),V=$.concat([{begin:/(\s*)\(/,end:/\)/,keywords:p,contains:["self"].concat($)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:V},Q={variants:[{match:[/class/,/\s+/,o,/\s+/,/extends/,/\s+/,a.concat(o,"(",a.concat(/\./,o),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,o],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:a.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...kb,...Cb]}},ue={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,o,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/},ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function re(ne){return a.concat("(?!",ne.join("|"),")")}const we={match:a.concat(/\b/,re([...Ob,"super","import"].map(ne=>`${ne}\\s*\\(`)),o,a.lookahead(/\s*\(/)),className:"title.function",relevance:0},oe={begin:a.concat(/\./,a.lookahead(a.concat(o,/(?![0-9A-Za-z$_(])/))),end:o,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},W={match:[/get|set/,/\s+/,o,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,o,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:p,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),ue,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,E,x,C,R,F,{match:/\$\d+/},g,ee,{scope:"attr",match:o+a.lookahead(":"),relevance:0},J,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,n.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:u.begin,end:u.end},{match:f},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,n.inherit(n.TITLE_MODE,{begin:o,className:"title.function"})]},{match:/\.\.\./,relevance:0},oe,{match:"\\$"+o,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},we,ae,Q,W,{match:/\$[(.]/}]}}function gN(n){const a={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},l={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],u={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:o},contains:[a,l,n.QUOTE_STRING_MODE,u,n.C_NUMBER_MODE,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var gl="[0-9](_*[0-9])*",es=`\\.(${gl})`,ts="[0-9a-fA-F](_*[0-9a-fA-F])*",bN={className:"number",variants:[{begin:`(\\b(${gl})((${es})|\\.)?|(${es}))[eE][+-]?(${gl})[fFdD]?\\b`},{begin:`\\b(${gl})((${es})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${es})[fFdD]?\\b`},{begin:`\\b(${gl})[fFdD]\\b`},{begin:`\\b0[xX]((${ts})\\.?|(${ts})?\\.(${ts}))[pP][+-]?(${gl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${ts})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function yN(n){const a={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},l={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},o={className:"symbol",begin:n.UNDERSCORE_IDENT_RE+"@"},u={className:"subst",begin:/\$\{/,end:/\}/,contains:[n.C_NUMBER_MODE]},f={className:"variable",begin:"\\$"+n.UNDERSCORE_IDENT_RE},c={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[f,u]},{begin:"'",end:"'",illegal:/\n/,contains:[n.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[n.BACKSLASH_ESCAPE,f,u]}]};u.contains.push(c);const p={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+n.UNDERSCORE_IDENT_RE+")?"},h={className:"meta",begin:"@"+n.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[n.inherit(c,{className:"string"}),"self"]}]},m=bN,b=n.COMMENT("/\\*","\\*/",{contains:[n.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:n.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=g;return _.variants[1].contains=[g],g.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:a,contains:[n.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),n.C_LINE_COMMENT_MODE,b,l,o,p,h,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:a,relevance:5,contains:[{begin:n.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[n.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[g,n.C_LINE_COMMENT_MODE,b],relevance:0},n.C_LINE_COMMENT_MODE,b,p,h,c,n.C_NUMBER_MODE]},b]},{begin:[/class|interface|trait/,/\s+/,n.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},n.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},p,h]},c,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
80
|
+
`},m]}}const EN=n=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:n.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:n.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),_N=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],vN=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],SN=[..._N,...vN],xN=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Mb=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Rb=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),TN=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),NN=Mb.concat(Rb).sort().reverse();function AN(n){const a=EN(n),l=NN,o="and or not only",u="[\\w-]+",f="("+u+"|@\\{"+u+"\\})",c=[],p=[],h=function(H){return{className:"string",begin:"~?"+H+".*?"+H}},m=function(H,$,V){return{className:H,begin:$,relevance:V}},b={$pattern:/[a-z-]+/,keyword:o,attribute:xN.join(" ")},g={begin:"\\(",end:"\\)",contains:p,keywords:b,relevance:0};p.push(n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,h("'"),h('"'),a.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},a.HEXCOLOR,g,m("variable","@@?"+u,10),m("variable","@\\{"+u+"\\}"),m("built_in","~?`[^`]*?`"),{className:"attribute",begin:u+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},a.IMPORTANT,{beginKeywords:"and not"},a.FUNCTION_DISPATCH);const _=p.concat({begin:/\{/,end:/\}/,contains:c}),E={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(p)},x={begin:f+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+TN.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:p}}]},C={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:p,relevance:0}},R={className:"variable",variants:[{begin:"@"+u+"\\s*:",relevance:15},{begin:"@"+u}],starts:{end:"[;}]",returnEnd:!0,contains:_}},N={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:f,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,E,m("keyword","all\\b"),m("variable","@\\{"+u+"\\}"),{begin:"\\b("+SN.join("|")+")\\b",className:"selector-tag"},a.CSS_NUMBER_MODE,m("selector-tag",f,0),m("selector-id","#"+f),m("selector-class","\\."+f,0),m("selector-tag","&",0),a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Mb.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Rb.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:_},{begin:"!important"},a.FUNCTION_DISPATCH]},F={begin:u+`:(:)?(${l.join("|")})`,returnBegin:!0,contains:[N]};return c.push(n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,C,R,F,x,N,E,a.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:c}}function wN(n){const a="\\[=*\\[",l="\\]=*\\]",o={begin:a,end:l,contains:["self"]},u=[n.COMMENT("--(?!"+a+")","$"),n.COMMENT("--"+a,l,{contains:[o],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:n.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:u.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[n.inherit(n.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:u}].concat(u)},n.C_NUMBER_MODE,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,{className:"string",begin:a,end:l,contains:[o],relevance:5}])}}function kN(n){const a={className:"variable",variants:[{begin:"\\$\\("+n.UNDERSCORE_IDENT_RE+"\\)",contains:[n.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},l={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,a]},o={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[a,l]},u={begin:"^"+n.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},f={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},c={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[a]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[n.HASH_COMMENT_MODE,a,l,o,u,f,c]}}function CN(n){const a=n.regex,l={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},u={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},f={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},c={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},p=/[A-Za-z][A-Za-z0-9+.-]*/,h={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:a.concat(/\[.+?\]\(/,p,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},m={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},b={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},g=n.inherit(m,{contains:[]}),_=n.inherit(b,{contains:[]});m.contains.push(_),b.contains.push(g);let E=[l,h];return[m,b,g,_].forEach(N=>{N.contains=N.contains.concat(E)}),E=E.concat(m,b),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:E},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:E}]}]},l,f,m,b,{className:"quote",begin:"^>\\s+",contains:E,end:"$"},u,o,h,c,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function ON(n){const a={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},l=/[a-zA-Z@][a-zA-Z0-9_]*/,p={"variable.language":["this","super"],$pattern:l,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},h={$pattern:l,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:p,illegal:"</",contains:[a,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,n.C_NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+h.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:h,contains:[n.UNDERSCORE_TITLE_MODE]},{begin:"\\."+n.UNDERSCORE_IDENT_RE,relevance:0}]}}function MN(n){const a=n.regex,l=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,u={$pattern:/[\w.]+/,keyword:l.join(" ")},f={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:u},c={begin:/->\{/,end:/\}/},p={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},h={scope:"variable",variants:[{begin:/\$\d/},{begin:a.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[p]},m={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},b=[n.BACKSLASH_ESCAPE,f,h],g=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],_=(C,R,N="\\1")=>{const F=N==="\\1"?N:a.concat(N,R);return a.concat(a.concat("(?:",C,")"),R,/(?:\\.|[^\\\/])*?/,F,/(?:\\.|[^\\\/])*?/,N,o)},E=(C,R,N)=>a.concat(a.concat("(?:",C,")"),R,/(?:\\.|[^\\\/])*?/,N,o),x=[h,n.HASH_COMMENT_MODE,n.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),c,{className:"string",contains:b,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[n.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},m,{begin:"(\\/\\/|"+n.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[n.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:_("s|tr|y",a.either(...g,{capture:!0}))},{begin:_("s|tr|y","\\(","\\)")},{begin:_("s|tr|y","\\[","\\]")},{begin:_("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:E("(?:m|qr)?",/\//,/\//)},{begin:E("m|qr",a.either(...g,{capture:!0}),/\1/)},{begin:E("m|qr",/\(/,/\)/)},{begin:E("m|qr",/\[/,/\]/)},{begin:E("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[n.TITLE_MODE,p]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[n.TITLE_MODE,p,m]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return f.contains=x,c.contains=x,{name:"Perl",aliases:["pl","pm"],keywords:u,contains:x}}function RN(n){const a=n.regex,l=/(?![A-Za-z0-9])(?![$])/,o=a.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,l),u=a.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,l),f=a.concat(/[A-Z]+/,l),c={scope:"variable",match:"\\$+"+o},p={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},h={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},m=n.inherit(n.APOS_STRING_MODE,{illegal:null}),b=n.inherit(n.QUOTE_STRING_MODE,{illegal:null,contains:n.QUOTE_STRING_MODE.contains.concat(h)}),g={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:n.QUOTE_STRING_MODE.contains.concat(h),"on:begin":(oe,W)=>{W.data._beginMatch=oe[1]||oe[2]},"on:end":(oe,W)=>{W.data._beginMatch!==oe[1]&&W.ignoreMatch()}},_=n.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),E=`[
|
|
81
|
+
]`,x={scope:"string",variants:[b,m,g,_]},C={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},R=["false","null","true"],N=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],F=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],$={keyword:N,literal:(oe=>{const W=[];return oe.forEach(L=>{W.push(L),L.toLowerCase()===L?W.push(L.toUpperCase()):W.push(L.toLowerCase())}),W})(R),built_in:F},V=oe=>oe.map(W=>W.replace(/\|\d+$/,"")),M={variants:[{match:[/new/,a.concat(E,"+"),a.concat("(?!",V(F).join("\\b|"),"\\b)"),u],scope:{1:"keyword",4:"title.class"}}]},Q=a.concat(o,"\\b(?!\\()"),ee={variants:[{match:[a.concat(/::/,a.lookahead(/(?!class\b)/)),Q],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[u,a.concat(/::/,a.lookahead(/(?!class\b)/)),Q],scope:{1:"title.class",3:"variable.constant"}},{match:[u,a.concat("::",a.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[u,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},ue={scope:"attr",match:a.concat(o,a.lookahead(":"),a.lookahead(/(?!::)/))},B={relevance:0,begin:/\(/,end:/\)/,keywords:$,contains:[ue,c,ee,n.C_BLOCK_COMMENT_MODE,x,C,M]},ae={relevance:0,match:[/\b/,a.concat("(?!fn\\b|function\\b|",V(N).join("\\b|"),"|",V(F).join("\\b|"),"\\b)"),o,a.concat(E,"*"),a.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[B]};B.contains.push(ae);const re=[ue,ee,n.C_BLOCK_COMMENT_MODE,x,C,M],we={begin:a.concat(/#\[\s*\\?/,a.either(u,f)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:R,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:R,keyword:["new","array"]},contains:["self",...re]},...re,{scope:"meta",variants:[{match:u},{match:f}]}]};return{case_insensitive:!1,keywords:$,contains:[we,n.HASH_COMMENT_MODE,n.COMMENT("//","$"),n.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:n.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},p,{scope:"variable.language",match:/\$this\b/},c,ae,ee,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},M,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},n.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:$,contains:["self",we,c,ee,n.C_BLOCK_COMMENT_MODE,x,C]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},n.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[n.inherit(n.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},n.UNDERSCORE_TITLE_MODE]},x,C]}}function DN(n){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},n.inherit(n.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),n.inherit(n.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function LN(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function zN(n){const a=n.regex,l=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],p={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},h={className:"meta",begin:/^(>>>|\.\.\.) /},m={className:"subst",begin:/\{/,end:/\}/,keywords:p,illegal:/#/},b={begin:/\{\{/,relevance:0},g={className:"string",contains:[n.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE,h],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,h],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE,h,b,m]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,h,b,m]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[n.BACKSLASH_ESCAPE,b,m]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,b,m]},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},_="[0-9](_?[0-9])*",E=`(\\b(${_}))?\\.(${_})|\\b(${_})\\.`,x=`\\b|${o.join("|")}`,C={className:"number",relevance:0,variants:[{begin:`(\\b(${_})|(${E}))[eE][+-]?(${_})[jJ]?(?=${x})`},{begin:`(${E})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${x})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${x})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${x})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${x})`},{begin:`\\b(${_})[jJ](?=${x})`}]},R={className:"comment",begin:a.lookahead(/# type:/),end:/$/,keywords:p,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},N={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:["self",h,C,g,n.HASH_COMMENT_MODE]}]};return m.contains=[g,C,h],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:p,illegal:/(<\/|\?)|=>/,contains:[h,C,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},g,R,n.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,l],scope:{1:"keyword",3:"title.function"},contains:[N]},{variants:[{match:[/\bclass/,/\s+/,l,/\s*/,/\(\s*/,l,/\s*\)/]},{match:[/\bclass/,/\s+/,l]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[C,N,g]}]}}function BN(n){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function IN(n){const a=n.regex,l=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=a.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),u=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,f=a.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:l,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[n.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:a.lookahead(a.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:l},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),n.HASH_COMMENT_MODE,{scope:"string",contains:[n.BACKSLASH_ESCAPE],variants:[n.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),n.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),n.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),n.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),n.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),n.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[u,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[f,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[l,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:u},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:f},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function UN(n){const a=n.regex,l="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=a.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),u=a.concat(o,/(::\w+)*/),c={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},p={className:"doctag",begin:"@[A-Za-z]+"},h={begin:"#<",end:">"},m=[n.COMMENT("#","$",{contains:[p]}),n.COMMENT("^=begin","^=end",{contains:[p],relevance:10}),n.COMMENT("^__END__",n.MATCH_NOTHING_RE)],b={className:"subst",begin:/#\{/,end:/\}/,keywords:c},g={className:"string",contains:[n.BACKSLASH_ESCAPE,b],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:a.concat(/<<[-~]?'?/,a.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[n.BACKSLASH_ESCAPE,b]})]}]},_="[1-9](_?[0-9])*|0",E="[0-9](_?[0-9])*",x={className:"number",relevance:0,variants:[{begin:`\\b(${_})(\\.(${E}))?([eE][+-]?(${E})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},C={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:c}]},M=[g,{variants:[{match:[/class\s+/,u,/\s+<\s+/,u]},{match:[/\b(class|module)\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:c},{match:[/(include|extend)\s+/,u],scope:{2:"title.class"},keywords:c},{relevance:0,match:[u,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,l],scope:{1:"keyword",3:"title.function"},contains:[C]},{begin:n.IDENT_RE+"::"},{className:"symbol",begin:n.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[g,{begin:l}],relevance:0},x,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:c},{begin:"("+n.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[n.BACKSLASH_ESCAPE,b],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(h,m),relevance:0}].concat(h,m);b.contains=M,C.contains=M;const B=[{begin:/^\s*=>/,starts:{end:"$",contains:M}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:c,contains:M}}];return m.unshift(h),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:c,illegal:/\/\*/,contains:[n.SHEBANG({binary:"ruby"})].concat(B).concat(m).concat(M)}}function HN(n){const a=n.regex,l=/(r#)?/,o=a.concat(l,n.UNDERSCORE_IDENT_RE),u=a.concat(l,n.IDENT_RE),f={className:"title.function.invoke",relevance:0,begin:a.concat(/\b/,/(?!let|for|while|if|else|match\b)/,u,a.lookahead(/\s*\(/))},c="([ui](8|16|32|64|128|size)|f(32|64))?",p=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],h=["true","false","Some","None","Ok","Err"],m=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],b=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:n.IDENT_RE+"!?",type:b,keyword:p,literal:h,built_in:m},illegal:"</",contains:[n.C_LINE_COMMENT_MODE,n.COMMENT("/\\*","\\*/",{contains:["self"]}),n.inherit(n.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+c},{begin:"\\b0o([0-7_]+)"+c},{begin:"\\b0x([A-Fa-f0-9_]+)"+c},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+c}],relevance:0},{begin:[/fn/,/\s+/,o],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,o],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,o,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{begin:n.IDENT_RE+"::",keywords:{keyword:"Self",built_in:m,type:b}},{className:"punctuation",begin:"->"},f]}}const qN=n=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:n.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:n.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),FN=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],GN=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],jN=[...FN,...GN],YN=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),KN=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),VN=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),XN=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function PN(n){const a=qN(n),l=VN,o=KN,u="@[a-z-]+",f="and or not only",p={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,a.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+jN.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+o.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+l.join("|")+")"},p,{begin:/\(/,end:/\)/,contains:[a.CSS_NUMBER_MODE]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+XN.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[a.BLOCK_COMMENT,p,a.HEXCOLOR,a.CSS_NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,a.IMPORTANT,a.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:u,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:YN.join(" ")},contains:[{begin:u,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,a.HEXCOLOR,a.CSS_NUMBER_MODE]},a.FUNCTION_DISPATCH]}}function ZN(n){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function QN(n){const a=n.regex,l=n.COMMENT("--","$"),o={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},u={begin:/"/,end:/"/,contains:[{match:/""/}]},f=["true","false","unknown"],c=["double precision","large object","with timezone","without timezone"],p=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],h=["add","asc","collation","desc","final","first","last","view"],m=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],b=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],E=b,x=[...m,...h].filter(V=>!b.includes(V)),C={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},R={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},N={match:a.concat(/\b/,a.either(...E),/\s*\(/),relevance:0,keywords:{built_in:E}};function F(V){return a.concat(/\b/,a.either(...V.map(M=>M.replace(/\s+/,"\\s+"))),/\b/)}const H={scope:"keyword",match:F(_),relevance:0};function $(V,{exceptions:M,when:Q}={}){const ee=Q;return M=M||[],V.map(ue=>ue.match(/\|\d+$/)||M.includes(ue)?ue:ee(ue)?`${ue}|0`:ue)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:$(x,{when:V=>V.length<3}),literal:f,type:p,built_in:g},contains:[{scope:"type",match:F(c)},H,N,C,o,u,n.C_NUMBER_MODE,n.C_BLOCK_COMMENT_MODE,l,R]}}function Db(n){return n?typeof n=="string"?n:n.source:null}function vr(n){return ot("(?=",n,")")}function ot(...n){return n.map(l=>Db(l)).join("")}function $N(n){const a=n[n.length-1];return typeof a=="object"&&a.constructor===Object?(n.splice(n.length-1,1),a):{}}function en(...n){return"("+($N(n).capture?"":"?:")+n.map(o=>Db(o)).join("|")+")"}const Tf=n=>ot(/\b/,n,/\w$/.test(n)?/\b/:/\B/),JN=["Protocol","Type"].map(Tf),sg=["init","self"].map(Tf),WN=["Any","Self"],qc=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ug=["false","nil","true"],eA=["assignment","associativity","higherThan","left","lowerThan","none","right"],tA=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],cg=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Lb=en(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),zb=en(Lb,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Fc=ot(Lb,zb,"*"),Bb=en(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),ss=en(Bb,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Jn=ot(Bb,ss,"*"),ns=ot(/[A-Z]/,ss,"*"),nA=["attached","autoclosure",ot(/convention\(/,en("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ot(/objc\(/,Jn,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],iA=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function aA(n){const a={match:/\s+/,relevance:0},l=n.COMMENT("/\\*","\\*/",{contains:["self"]}),o=[n.C_LINE_COMMENT_MODE,l],u={match:[/\./,en(...JN,...sg)],className:{2:"keyword"}},f={match:ot(/\./,en(...qc)),relevance:0},c=qc.filter(Ye=>typeof Ye=="string").concat(["_|0"]),p=qc.filter(Ye=>typeof Ye!="string").concat(WN).map(Tf),h={variants:[{className:"keyword",match:en(...p,...sg)}]},m={$pattern:en(/\b\w+/,/#\w+/),keyword:c.concat(tA),literal:ug},b=[u,f,h],g={match:ot(/\./,en(...cg)),relevance:0},_={className:"built_in",match:ot(/\b/,en(...cg),/(?=\()/)},E=[g,_],x={match:/->/,relevance:0},C={className:"operator",relevance:0,variants:[{match:Fc},{match:`\\.(\\.|${zb})+`}]},R=[x,C],N="([0-9]_*)+",F="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${F})(\\.(${F}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},$=(Ye="")=>({className:"subst",variants:[{match:ot(/\\/,Ye,/[0\\tnr"']/)},{match:ot(/\\/,Ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),V=(Ye="")=>({className:"subst",match:ot(/\\/,Ye,/[\t ]*(?:[\r\n]|\r\n)/)}),M=(Ye="")=>({className:"subst",label:"interpol",begin:ot(/\\/,Ye,/\(/),end:/\)/}),Q=(Ye="")=>({begin:ot(Ye,/"""/),end:ot(/"""/,Ye),contains:[$(Ye),V(Ye),M(Ye)]}),ee=(Ye="")=>({begin:ot(Ye,/"/),end:ot(/"/,Ye),contains:[$(Ye),M(Ye)]}),ue={className:"string",variants:[Q(),Q("#"),Q("##"),Q("###"),ee(),ee("#"),ee("##"),ee("###")]},B=[n.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[n.BACKSLASH_ESCAPE]}],ae={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:B},re=Ye=>{const Un=ot(Ye,/\//),wn=ot(/\//,Ye);return{begin:Un,end:wn,contains:[...B,{scope:"comment",begin:`#(?!.*${wn})`,end:/$/}]}},we={scope:"regexp",variants:[re("###"),re("##"),re("#"),ae]},oe={match:ot(/`/,Jn,/`/)},W={className:"variable",match:/\$\d+/},L={className:"variable",match:`\\$${ss}+`},J=[oe,W,L],ne={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:iA,contains:[...R,H,ue]}]}},ye={scope:"keyword",match:ot(/@/,en(...nA),vr(en(/\(/,/\s+/)))},T={scope:"meta",match:ot(/@/,Jn)},w=[ne,ye,T],j={match:vr(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ot(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,ss,"+")},{className:"type",match:ns,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ot(/\s+&\s+/,vr(ns)),relevance:0}]},S={begin:/</,end:/>/,keywords:m,contains:[...o,...b,...w,x,j]};j.contains.push(S);const ce={match:ot(Jn,/\s*:/),keywords:"_|0",relevance:0},_e={begin:/\(/,end:/\)/,relevance:0,keywords:m,contains:["self",ce,...o,we,...b,...E,...R,H,ue,...J,...w,j]},he={begin:/</,end:/>/,keywords:"repeat each",contains:[...o,j]},ze={begin:en(vr(ot(Jn,/\s*:/)),vr(ot(Jn,/\s+/,Jn,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Jn}]},Je={begin:/\(/,end:/\)/,keywords:m,contains:[ze,...o,...b,...R,H,ue,...w,j,_e],endsParent:!0,illegal:/["']/},Qe={match:[/(func|macro)/,/\s+/,en(oe.match,Jn,Fc)],className:{1:"keyword",3:"title.function"},contains:[he,Je,a],illegal:[/\[/,/%/]},zt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[he,Je,a],illegal:/\[|%/},mn={match:[/operator/,/\s+/,Fc],className:{1:"keyword",3:"title"}},ti={begin:[/precedencegroup/,/\s+/,ns],className:{1:"keyword",3:"title"},contains:[j],keywords:[...eA,...ug],end:/}/},Ti={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},hn={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},Yn={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Jn,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:m,contains:[he,...b,{begin:/:/,end:/\{/,keywords:m,contains:[{scope:"title.class.inherited",match:ns},...b],relevance:0}]};for(const Ye of ue.variants){const Un=Ye.contains.find(Kn=>Kn.label==="interpol");Un.keywords=m;const wn=[...b,...E,...R,H,ue,...J];Un.contains=[...wn,{begin:/\(/,end:/\)/,contains:["self",...wn]}]}return{name:"Swift",keywords:m,contains:[...o,Qe,zt,Ti,hn,Yn,mn,ti,{beginKeywords:"import",end:/$/,contains:[...o],relevance:0},we,...b,...E,...R,H,ue,...J,...w,j,_e]}}const us="[A-Za-z$_][0-9A-Za-z$_]*",Ib=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ub=["true","false","null","undefined","NaN","Infinity"],Hb=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],qb=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Fb=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Gb=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],jb=[].concat(Fb,Hb,qb);function lA(n){const a=n.regex,l=(ne,{after:ye})=>{const T="</"+ne[0].slice(1);return ne.input.indexOf(T,ye)!==-1},o=us,u={begin:"<>",end:"</>"},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ne,ye)=>{const T=ne[0].length+ne.index,w=ne.input[T];if(w==="<"||w===","){ye.ignoreMatch();return}w===">"&&(l(ne,{after:T})||ye.ignoreMatch());let j;const S=ne.input.substring(T);if(j=S.match(/^\s*=/)){ye.ignoreMatch();return}if((j=S.match(/^\s+extends\s+/))&&j.index===0){ye.ignoreMatch();return}}},p={$pattern:us,keyword:Ib,literal:Ub,built_in:jb,"variable.language":Gb},h="[0-9](_?[0-9])*",m=`\\.(${h})`,b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${b})((${m})|\\.)?|(${m}))[eE][+-]?(${h})\\b`},{begin:`\\b(${b})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},_={className:"subst",begin:"\\$\\{",end:"\\}",keywords:p,contains:[]},E={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,_],subLanguage:"xml"}},x={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,_],subLanguage:"css"}},C={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,_],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,_]},F={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},H=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,E,x,C,R,{match:/\$\d+/},g];_.contains=H.concat({begin:/\{/,end:/\}/,keywords:p,contains:["self"].concat(H)});const $=[].concat(F,_.contains),V=$.concat([{begin:/(\s*)\(/,end:/\)/,keywords:p,contains:["self"].concat($)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:V},Q={variants:[{match:[/class/,/\s+/,o,/\s+/,/extends/,/\s+/,a.concat(o,"(",a.concat(/\./,o),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,o],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:a.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Hb,...qb]}},ue={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,o,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/},ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function re(ne){return a.concat("(?!",ne.join("|"),")")}const we={match:a.concat(/\b/,re([...Fb,"super","import"].map(ne=>`${ne}\\s*\\(`)),o,a.lookahead(/\s*\(/)),className:"title.function",relevance:0},oe={begin:a.concat(/\./,a.lookahead(a.concat(o,/(?![0-9A-Za-z$_(])/))),end:o,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},W={match:[/get|set/,/\s+/,o,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,o,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:p,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),ue,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,E,x,C,R,F,{match:/\$\d+/},g,ee,{scope:"attr",match:o+a.lookahead(":"),relevance:0},J,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,n.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:p,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:u.begin,end:u.end},{match:f},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,n.inherit(n.TITLE_MODE,{begin:o,className:"title.function"})]},{match:/\.\.\./,relevance:0},oe,{match:"\\$"+o,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},we,ae,Q,W,{match:/\$[(.]/}]}}function rA(n){const a=n.regex,l=lA(n),o=us,u=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],f={begin:[/namespace/,/\s+/,n.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},c={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:u},contains:[l.exports.CLASS_REFERENCE]},p={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},h=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],m={$pattern:us,keyword:Ib.concat(h),literal:Ub,built_in:jb.concat(u),"variable.language":Gb},b={className:"meta",begin:"@"+o},g=(C,R,N)=>{const F=C.contains.findIndex(H=>H.label===R);if(F===-1)throw new Error("can not find mode to replace");C.contains.splice(F,1,N)};Object.assign(l.keywords,m),l.exports.PARAMS_CONTAINS.push(b);const _=l.contains.find(C=>C.scope==="attr"),E=Object.assign({},_,{match:a.concat(o,a.lookahead(/\s*\?:/))});l.exports.PARAMS_CONTAINS.push([l.exports.CLASS_REFERENCE,_,E]),l.contains=l.contains.concat([b,f,c,E]),g(l,"shebang",n.SHEBANG()),g(l,"use_strict",p);const x=l.contains.find(C=>C.label==="func.def");return x.relevance=0,Object.assign(l,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),l}function oA(n){const a=n.regex,l={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},u=/\d{1,2}\/\d{1,2}\/\d{4}/,f=/\d{4}-\d{1,2}-\d{1,2}/,c=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,p=/\d{1,2}(:\d{1,2}){1,2}/,h={className:"literal",variants:[{begin:a.concat(/# */,a.either(f,u),/ *#/)},{begin:a.concat(/# */,p,/ *#/)},{begin:a.concat(/# */,c,/ *#/)},{begin:a.concat(/# */,a.either(f,u),/ +/,a.either(c,p),/ *#/)}]},m={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},b={className:"label",begin:/^\w+:/},g=n.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_=n.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[l,o,h,m,b,g,_,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[_]}]}}function sA(n){n.regex;const a=n.COMMENT(/\(;/,/;\)/);a.contains.push("self");const l=n.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],u={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},f={className:"variable",begin:/\$[\w_]+/},c={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},p={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},h={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},m={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[l,a,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},f,c,u,n.QUOTE_STRING_MODE,h,m,p]}}function uA(n){const a=n.regex,l=a.concat(/[\p{L}_]/u,a.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},f={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=n.inherit(f,{begin:/\(/,end:/\)/}),p=n.inherit(n.APOS_STRING_MODE,{className:"string"}),h=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),m={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:o,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[u]},{begin:/'/,end:/'/,contains:[u]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[f,h,p,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[f,c,h,p]}]}]},n.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},u,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[h]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[m],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[m],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:a.concat(/</,a.lookahead(a.concat(l,a.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:l,relevance:0,starts:m}]},{className:"tag",begin:a.concat(/<\//,a.lookahead(a.concat(l,/>/))),contains:[{className:"name",begin:l,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function cA(n){const a="true false yes no null",l="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},u={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},f={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},c={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,u]},p=n.inherit(c,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),_={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},E={end:",",endsWithParent:!0,excludeEnd:!0,keywords:a,relevance:0},x={begin:/\{/,end:/\}/,contains:[E],illegal:"\\n",relevance:0},C={begin:"\\[",end:"\\]",contains:[E],illegal:"\\n",relevance:0},R=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+l},{className:"type",begin:"!<"+l+">"},{className:"type",begin:"!"+l},{className:"type",begin:"!!"+l},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:a,keywords:{literal:a}},_,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},x,C,f,c],N=[...R];return N.pop(),N.push(p),E.contains=N,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:R}}const fA={arduino:VT,bash:XT,c:PT,cpp:ZT,csharp:QT,css:lN,diff:rN,go:oN,graphql:sN,ini:uN,java:cN,javascript:hN,json:gN,kotlin:yN,less:AN,lua:wN,makefile:kN,markdown:CN,objectivec:ON,perl:MN,php:RN,"php-template":DN,plaintext:LN,python:zN,"python-repl":BN,r:IN,ruby:UN,rust:HN,scss:PN,shell:ZN,sql:QN,swift:aA,typescript:rA,vbnet:oA,wasm:sA,xml:uA,yaml:cA};var Gc,fg;function dA(){if(fg)return Gc;fg=1;function n(k){return k instanceof Map?k.clear=k.delete=k.set=function(){throw new Error("map is read-only")}:k instanceof Set&&(k.add=k.clear=k.delete=function(){throw new Error("set is read-only")}),Object.freeze(k),Object.getOwnPropertyNames(k).forEach(X=>{const fe=k[X],Ce=typeof fe;(Ce==="object"||Ce==="function")&&!Object.isFrozen(fe)&&n(fe)}),k}class a{constructor(X){X.data===void 0&&(X.data={}),this.data=X.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function l(k){return k.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function o(k,...X){const fe=Object.create(null);for(const Ce in k)fe[Ce]=k[Ce];return X.forEach(function(Ce){for(const pt in Ce)fe[pt]=Ce[pt]}),fe}const u="</span>",f=k=>!!k.scope,c=(k,{prefix:X})=>{if(k.startsWith("language:"))return k.replace("language:","language-");if(k.includes(".")){const fe=k.split(".");return[`${X}${fe.shift()}`,...fe.map((Ce,pt)=>`${Ce}${"_".repeat(pt+1)}`)].join(" ")}return`${X}${k}`};class p{constructor(X,fe){this.buffer="",this.classPrefix=fe.classPrefix,X.walk(this)}addText(X){this.buffer+=l(X)}openNode(X){if(!f(X))return;const fe=c(X.scope,{prefix:this.classPrefix});this.span(fe)}closeNode(X){f(X)&&(this.buffer+=u)}value(){return this.buffer}span(X){this.buffer+=`<span class="${X}">`}}const h=(k={})=>{const X={children:[]};return Object.assign(X,k),X};class m{constructor(){this.rootNode=h(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(X){this.top.children.push(X)}openNode(X){const fe=h({scope:X});this.add(fe),this.stack.push(fe)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(X){return this.constructor._walk(X,this.rootNode)}static _walk(X,fe){return typeof fe=="string"?X.addText(fe):fe.children&&(X.openNode(fe),fe.children.forEach(Ce=>this._walk(X,Ce)),X.closeNode(fe)),X}static _collapse(X){typeof X!="string"&&X.children&&(X.children.every(fe=>typeof fe=="string")?X.children=[X.children.join("")]:X.children.forEach(fe=>{m._collapse(fe)}))}}class b extends m{constructor(X){super(),this.options=X}addText(X){X!==""&&this.add(X)}startScope(X){this.openNode(X)}endScope(){this.closeNode()}__addSublanguage(X,fe){const Ce=X.root;fe&&(Ce.scope=`language:${fe}`),this.add(Ce)}toHTML(){return new p(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function g(k){return k?typeof k=="string"?k:k.source:null}function _(k){return C("(?=",k,")")}function E(k){return C("(?:",k,")*")}function x(k){return C("(?:",k,")?")}function C(...k){return k.map(fe=>g(fe)).join("")}function R(k){const X=k[k.length-1];return typeof X=="object"&&X.constructor===Object?(k.splice(k.length-1,1),X):{}}function N(...k){return"("+(R(k).capture?"":"?:")+k.map(Ce=>g(Ce)).join("|")+")"}function F(k){return new RegExp(k.toString()+"|").exec("").length-1}function H(k,X){const fe=k&&k.exec(X);return fe&&fe.index===0}const $=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function V(k,{joinWith:X}){let fe=0;return k.map(Ce=>{fe+=1;const pt=fe;let st=g(Ce),me="";for(;st.length>0;){const de=$.exec(st);if(!de){me+=st;break}me+=st.substring(0,de.index),st=st.substring(de.index+de[0].length),de[0][0]==="\\"&&de[1]?me+="\\"+String(Number(de[1])+pt):(me+=de[0],de[0]==="("&&fe++)}return me}).map(Ce=>`(${Ce})`).join(X)}const M=/\b\B/,Q="[a-zA-Z]\\w*",ee="[a-zA-Z_]\\w*",ue="\\b\\d+(\\.\\d+)?",B="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ae="\\b(0b[01]+)",re="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",we=(k={})=>{const X=/^#![ ]*\//;return k.binary&&(k.begin=C(X,/.*\b/,k.binary,/\b.*/)),o({scope:"meta",begin:X,end:/$/,relevance:0,"on:begin":(fe,Ce)=>{fe.index!==0&&Ce.ignoreMatch()}},k)},oe={begin:"\\\\[\\s\\S]",relevance:0},W={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[oe]},L={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[oe]},J={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ne=function(k,X,fe={}){const Ce=o({scope:"comment",begin:k,end:X,contains:[]},fe);Ce.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const pt=N("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Ce.contains.push({begin:C(/[ ]+/,"(",pt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Ce},ye=ne("//","$"),T=ne("/\\*","\\*/"),w=ne("#","$"),j={scope:"number",begin:ue,relevance:0},S={scope:"number",begin:B,relevance:0},ce={scope:"number",begin:ae,relevance:0},_e={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[oe,{begin:/\[/,end:/\]/,relevance:0,contains:[oe]}]},he={scope:"title",begin:Q,relevance:0},ze={scope:"title",begin:ee,relevance:0},Je={begin:"\\.\\s*"+ee,relevance:0};var zt=Object.freeze({__proto__:null,APOS_STRING_MODE:W,BACKSLASH_ESCAPE:oe,BINARY_NUMBER_MODE:ce,BINARY_NUMBER_RE:ae,COMMENT:ne,C_BLOCK_COMMENT_MODE:T,C_LINE_COMMENT_MODE:ye,C_NUMBER_MODE:S,C_NUMBER_RE:B,END_SAME_AS_BEGIN:function(k){return Object.assign(k,{"on:begin":(X,fe)=>{fe.data._beginMatch=X[1]},"on:end":(X,fe)=>{fe.data._beginMatch!==X[1]&&fe.ignoreMatch()}})},HASH_COMMENT_MODE:w,IDENT_RE:Q,MATCH_NOTHING_RE:M,METHOD_GUARD:Je,NUMBER_MODE:j,NUMBER_RE:ue,PHRASAL_WORDS_MODE:J,QUOTE_STRING_MODE:L,REGEXP_MODE:_e,RE_STARTERS_RE:re,SHEBANG:we,TITLE_MODE:he,UNDERSCORE_IDENT_RE:ee,UNDERSCORE_TITLE_MODE:ze});function mn(k,X){k.input[k.index-1]==="."&&X.ignoreMatch()}function ti(k,X){k.className!==void 0&&(k.scope=k.className,delete k.className)}function Ti(k,X){X&&k.beginKeywords&&(k.begin="\\b("+k.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",k.__beforeBegin=mn,k.keywords=k.keywords||k.beginKeywords,delete k.beginKeywords,k.relevance===void 0&&(k.relevance=0))}function hn(k,X){Array.isArray(k.illegal)&&(k.illegal=N(...k.illegal))}function Yn(k,X){if(k.match){if(k.begin||k.end)throw new Error("begin & end are not supported with match");k.begin=k.match,delete k.match}}function Ye(k,X){k.relevance===void 0&&(k.relevance=1)}const Un=(k,X)=>{if(!k.beforeMatch)return;if(k.starts)throw new Error("beforeMatch cannot be used with starts");const fe=Object.assign({},k);Object.keys(k).forEach(Ce=>{delete k[Ce]}),k.keywords=fe.keywords,k.begin=C(fe.beforeMatch,_(fe.begin)),k.starts={relevance:0,contains:[Object.assign(fe,{endsParent:!0})]},k.relevance=0,delete fe.beforeMatch},wn=["of","and","for","in","not","or","if","then","parent","list","value"],Kn="keyword";function ni(k,X,fe=Kn){const Ce=Object.create(null);return typeof k=="string"?pt(fe,k.split(" ")):Array.isArray(k)?pt(fe,k):Object.keys(k).forEach(function(st){Object.assign(Ce,ni(k[st],X,st))}),Ce;function pt(st,me){X&&(me=me.map(de=>de.toLowerCase())),me.forEach(function(de){const ke=de.split("|");Ce[ke[0]]=[st,ta(ke[0],ke[1])]})}}function ta(k,X){return X?Number(X):vl(k)?0:1}function vl(k){return wn.includes(k.toLowerCase())}const wa={},yt=k=>{console.error(k)},ka=(k,...X)=>{console.log(`WARN: ${k}`,...X)},Y=(k,X)=>{wa[`${k}/${X}`]||(console.log(`Deprecated as of ${k}. ${X}`),wa[`${k}/${X}`]=!0)},le=new Error;function xe(k,X,{key:fe}){let Ce=0;const pt=k[fe],st={},me={};for(let de=1;de<=X.length;de++)me[de+Ce]=pt[de],st[de+Ce]=!0,Ce+=F(X[de-1]);k[fe]=me,k[fe]._emit=st,k[fe]._multi=!0}function Be(k){if(Array.isArray(k.begin)){if(k.skip||k.excludeBegin||k.returnBegin)throw yt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),le;if(typeof k.beginScope!="object"||k.beginScope===null)throw yt("beginScope must be object"),le;xe(k,k.begin,{key:"beginScope"}),k.begin=V(k.begin,{joinWith:""})}}function Xe(k){if(Array.isArray(k.end)){if(k.skip||k.excludeEnd||k.returnEnd)throw yt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),le;if(typeof k.endScope!="object"||k.endScope===null)throw yt("endScope must be object"),le;xe(k,k.end,{key:"endScope"}),k.end=V(k.end,{joinWith:""})}}function Qt(k){k.scope&&typeof k.scope=="object"&&k.scope!==null&&(k.beginScope=k.scope,delete k.scope)}function Hn(k){Qt(k),typeof k.beginScope=="string"&&(k.beginScope={_wrap:k.beginScope}),typeof k.endScope=="string"&&(k.endScope={_wrap:k.endScope}),Be(k),Xe(k)}function Ut(k){function X(me,de){return new RegExp(g(me),"m"+(k.case_insensitive?"i":"")+(k.unicodeRegex?"u":"")+(de?"g":""))}class fe{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(de,ke){ke.position=this.position++,this.matchIndexes[this.matchAt]=ke,this.regexes.push([ke,de]),this.matchAt+=F(de)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const de=this.regexes.map(ke=>ke[1]);this.matcherRe=X(V(de,{joinWith:"|"}),!0),this.lastIndex=0}exec(de){this.matcherRe.lastIndex=this.lastIndex;const ke=this.matcherRe.exec(de);if(!ke)return null;const xt=ke.findIndex((ii,Oa)=>Oa>0&&ii!==void 0),gt=this.matchIndexes[xt];return ke.splice(0,xt),Object.assign(ke,gt)}}class Ce{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(de){if(this.multiRegexes[de])return this.multiRegexes[de];const ke=new fe;return this.rules.slice(de).forEach(([xt,gt])=>ke.addRule(xt,gt)),ke.compile(),this.multiRegexes[de]=ke,ke}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(de,ke){this.rules.push([de,ke]),ke.type==="begin"&&this.count++}exec(de){const ke=this.getMatcher(this.regexIndex);ke.lastIndex=this.lastIndex;let xt=ke.exec(de);if(this.resumingScanAtSamePosition()&&!(xt&&xt.index===this.lastIndex)){const gt=this.getMatcher(0);gt.lastIndex=this.lastIndex+1,xt=gt.exec(de)}return xt&&(this.regexIndex+=xt.position+1,this.regexIndex===this.count&&this.considerAll()),xt}}function pt(me){const de=new Ce;return me.contains.forEach(ke=>de.addRule(ke.begin,{rule:ke,type:"begin"})),me.terminatorEnd&&de.addRule(me.terminatorEnd,{type:"end"}),me.illegal&&de.addRule(me.illegal,{type:"illegal"}),de}function st(me,de){const ke=me;if(me.isCompiled)return ke;[ti,Yn,Hn,Un].forEach(gt=>gt(me,de)),k.compilerExtensions.forEach(gt=>gt(me,de)),me.__beforeBegin=null,[Ti,hn,Ye].forEach(gt=>gt(me,de)),me.isCompiled=!0;let xt=null;return typeof me.keywords=="object"&&me.keywords.$pattern&&(me.keywords=Object.assign({},me.keywords),xt=me.keywords.$pattern,delete me.keywords.$pattern),xt=xt||/\w+/,me.keywords&&(me.keywords=ni(me.keywords,k.case_insensitive)),ke.keywordPatternRe=X(xt,!0),de&&(me.begin||(me.begin=/\B|\b/),ke.beginRe=X(ke.begin),!me.end&&!me.endsWithParent&&(me.end=/\B|\b/),me.end&&(ke.endRe=X(ke.end)),ke.terminatorEnd=g(ke.end)||"",me.endsWithParent&&de.terminatorEnd&&(ke.terminatorEnd+=(me.end?"|":"")+de.terminatorEnd)),me.illegal&&(ke.illegalRe=X(me.illegal)),me.contains||(me.contains=[]),me.contains=[].concat(...me.contains.map(function(gt){return Yt(gt==="self"?me:gt)})),me.contains.forEach(function(gt){st(gt,ke)}),me.starts&&st(me.starts,de),ke.matcher=pt(ke),ke}if(k.compilerExtensions||(k.compilerExtensions=[]),k.contains&&k.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return k.classNameAliases=o(k.classNameAliases||{}),st(k)}function _t(k){return k?k.endsWithParent||_t(k.starts):!1}function Yt(k){return k.variants&&!k.cachedVariants&&(k.cachedVariants=k.variants.map(function(X){return o(k,{variants:null},X)})),k.cachedVariants?k.cachedVariants:_t(k)?o(k,{starts:k.starts?o(k.starts):null}):Object.isFrozen(k)?o(k):k}var We="11.11.1";class Vn extends Error{constructor(X,fe){super(X),this.name="HTMLInjectionError",this.html=fe}}const $t=l,Mr=o,na=Symbol("nomatch"),Ca=7,ia=function(k){const X=Object.create(null),fe=Object.create(null),Ce=[];let pt=!0;const st="Could not find the language '{}', did you forget to load/include a language module?",me={disableAutodetect:!0,name:"Plain text",contains:[]};let de={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:b};function ke(te){return de.noHighlightRe.test(te)}function xt(te){let Ee=te.className+" ";Ee+=te.parentNode?te.parentNode.className:"";const Ie=de.languageDetectRe.exec(Ee);if(Ie){const et=Jt(Ie[1]);return et||(ka(st.replace("{}",Ie[1])),ka("Falling back to no-highlight mode for this block.",te)),et?Ie[1]:"no-highlight"}return Ee.split(/\s+/).find(et=>ke(et)||Jt(et))}function gt(te,Ee,Ie){let et="",Nt="";typeof Ee=="object"?(et=te,Ie=Ee.ignoreIllegals,Nt=Ee.language):(Y("10.7.0","highlight(lang, code, ...args) has been deprecated."),Y("10.7.0",`Please use highlight(code, options) instead.
|
|
82
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),Nt=te,et=Ee),Ie===void 0&&(Ie=!0);const Vt={code:et,language:Nt};la("before:highlight",Vt);const gn=Vt.result?Vt.result:ii(Vt.language,Vt.code,Ie);return gn.code=Vt.code,la("after:highlight",gn),gn}function ii(te,Ee,Ie,et){const Nt=Object.create(null);function Vt(se,ge){return se.keywords[ge]}function gn(){if(!Ne.keywords){Ct.addText(tt);return}let se=0;Ne.keywordPatternRe.lastIndex=0;let ge=Ne.keywordPatternRe.exec(tt),Me="";for(;ge;){Me+=tt.substring(se,ge.index);const Fe=Ht.case_insensitive?ge[0].toLowerCase():ge[0],Et=Vt(Ne,Fe);if(Et){const[kn,wl]=Et;if(Ct.addText(Me),Me="",Nt[Fe]=(Nt[Fe]||0)+1,Nt[Fe]<=Ca&&(ki+=wl),kn.startsWith("_"))Me+=ge[0];else{const Ur=Ht.classNameAliases[kn]||kn;bn(ge[0],Ur)}}else Me+=ge[0];se=Ne.keywordPatternRe.lastIndex,ge=Ne.keywordPatternRe.exec(tt)}Me+=tt.substring(se),Ct.addText(Me)}function an(){if(tt==="")return;let se=null;if(typeof Ne.subLanguage=="string"){if(!X[Ne.subLanguage]){Ct.addText(tt);return}se=ii(Ne.subLanguage,tt,!0,Ir[Ne.subLanguage]),Ir[Ne.subLanguage]=se._top}else se=Ma(tt,Ne.subLanguage.length?Ne.subLanguage:null);Ne.relevance>0&&(ki+=se.relevance),Ct.__addSublanguage(se._emitter,se.language)}function ft(){Ne.subLanguage!=null?an():gn(),tt=""}function bn(se,ge){se!==""&&(Ct.startScope(ge),Ct.addText(se),Ct.endScope())}function zr(se,ge){let Me=1;const Fe=ge.length-1;for(;Me<=Fe;){if(!se._emit[Me]){Me++;continue}const Et=Ht.classNameAliases[se[Me]]||se[Me],kn=ge[Me];Et?bn(kn,Et):(tt=kn,gn(),tt=""),Me++}}function Da(se,ge){return se.scope&&typeof se.scope=="string"&&Ct.openNode(Ht.classNameAliases[se.scope]||se.scope),se.beginScope&&(se.beginScope._wrap?(bn(tt,Ht.classNameAliases[se.beginScope._wrap]||se.beginScope._wrap),tt=""):se.beginScope._multi&&(zr(se.beginScope,ge),tt="")),Ne=Object.create(se,{parent:{value:Ne}}),Ne}function Tl(se,ge,Me){let Fe=H(se.endRe,Me);if(Fe){if(se["on:end"]){const Et=new a(se);se["on:end"](ge,Et),Et.isMatchIgnored&&(Fe=!1)}if(Fe){for(;se.endsParent&&se.parent;)se=se.parent;return se}}if(se.endsWithParent)return Tl(se.parent,ge,Me)}function La(se){return Ne.matcher.regexIndex===0?(tt+=se[0],1):(Ci=!0,0)}function hs(se){const ge=se[0],Me=se.rule,Fe=new a(Me),Et=[Me.__beforeBegin,Me["on:begin"]];for(const kn of Et)if(kn&&(kn(se,Fe),Fe.isMatchIgnored))return La(ge);return Me.skip?tt+=ge:(Me.excludeBegin&&(tt+=ge),ft(),!Me.returnBegin&&!Me.excludeBegin&&(tt=ge)),Da(Me,se),Me.returnBegin?0:ge.length}function ln(se){const ge=se[0],Me=Ee.substring(se.index),Fe=Tl(Ne,se,Me);if(!Fe)return na;const Et=Ne;Ne.endScope&&Ne.endScope._wrap?(ft(),bn(ge,Ne.endScope._wrap)):Ne.endScope&&Ne.endScope._multi?(ft(),zr(Ne.endScope,se)):Et.skip?tt+=ge:(Et.returnEnd||Et.excludeEnd||(tt+=ge),ft(),Et.excludeEnd&&(tt=ge));do Ne.scope&&Ct.closeNode(),!Ne.skip&&!Ne.subLanguage&&(ki+=Ne.relevance),Ne=Ne.parent;while(Ne!==Fe.parent);return Fe.starts&&Da(Fe.starts,se),Et.returnEnd?0:ge.length}function Nl(){const se=[];for(let ge=Ne;ge!==Ht;ge=ge.parent)ge.scope&&se.unshift(ge.scope);se.forEach(ge=>Ct.openNode(ge))}let ra={};function za(se,ge){const Me=ge&&ge[0];if(tt+=se,Me==null)return ft(),0;if(ra.type==="begin"&&ge.type==="end"&&ra.index===ge.index&&Me===""){if(tt+=Ee.slice(ge.index,ge.index+1),!pt){const Fe=new Error(`0 width match regex (${te})`);throw Fe.languageName=te,Fe.badRule=ra.rule,Fe}return 1}if(ra=ge,ge.type==="begin")return hs(ge);if(ge.type==="illegal"&&!Ie){const Fe=new Error('Illegal lexeme "'+Me+'" for mode "'+(Ne.scope||"<unnamed>")+'"');throw Fe.mode=Ne,Fe}else if(ge.type==="end"){const Fe=ln(ge);if(Fe!==na)return Fe}if(ge.type==="illegal"&&Me==="")return tt+=`
|
|
83
|
+
`,1;if(Al>1e5&&Al>ge.index*3)throw new Error("potential infinite loop, way more iterations than matches");return tt+=Me,Me.length}const Ht=Jt(te);if(!Ht)throw yt(st.replace("{}",te)),new Error('Unknown language: "'+te+'"');const Br=Ut(Ht);let Ba="",Ne=et||Br;const Ir={},Ct=new de.__emitter(de);Nl();let tt="",ki=0,ri=0,Al=0,Ci=!1;try{if(Ht.__emitTokens)Ht.__emitTokens(Ee,Ct);else{for(Ne.matcher.considerAll();;){Al++,Ci?Ci=!1:Ne.matcher.considerAll(),Ne.matcher.lastIndex=ri;const se=Ne.matcher.exec(Ee);if(!se)break;const ge=Ee.substring(ri,se.index),Me=za(ge,se);ri=se.index+Me}za(Ee.substring(ri))}return Ct.finalize(),Ba=Ct.toHTML(),{language:te,value:Ba,relevance:ki,illegal:!1,_emitter:Ct,_top:Ne}}catch(se){if(se.message&&se.message.includes("Illegal"))return{language:te,value:$t(Ee),illegal:!0,relevance:0,_illegalBy:{message:se.message,index:ri,context:Ee.slice(ri-100,ri+100),mode:se.mode,resultSoFar:Ba},_emitter:Ct};if(pt)return{language:te,value:$t(Ee),illegal:!1,relevance:0,errorRaised:se,_emitter:Ct,_top:Ne};throw se}}function Oa(te){const Ee={value:$t(te),illegal:!1,relevance:0,_top:me,_emitter:new de.__emitter(de)};return Ee._emitter.addText(te),Ee}function Ma(te,Ee){Ee=Ee||de.languages||Object.keys(X);const Ie=Oa(te),et=Ee.filter(Jt).filter(Ai).map(ft=>ii(ft,te,!1));et.unshift(Ie);const Nt=et.sort((ft,bn)=>{if(ft.relevance!==bn.relevance)return bn.relevance-ft.relevance;if(ft.language&&bn.language){if(Jt(ft.language).supersetOf===bn.language)return 1;if(Jt(bn.language).supersetOf===ft.language)return-1}return 0}),[Vt,gn]=Nt,an=Vt;return an.secondBest=gn,an}function Xn(te,Ee,Ie){const et=Ee&&fe[Ee]||Ie;te.classList.add("hljs"),te.classList.add(`language-${et}`)}function Tt(te){let Ee=null;const Ie=xt(te);if(ke(Ie))return;if(la("before:highlightElement",{el:te,language:Ie}),te.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",te);return}if(te.children.length>0&&(de.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(te)),de.throwUnescapedHTML))throw new Vn("One of your code blocks includes unescaped HTML.",te.innerHTML);Ee=te;const et=Ee.textContent,Nt=Ie?gt(et,{language:Ie,ignoreIllegals:!0}):Ma(et);te.innerHTML=Nt.value,te.dataset.highlighted="yes",Xn(te,Ie,Nt.language),te.result={language:Nt.language,re:Nt.relevance,relevance:Nt.relevance},Nt.secondBest&&(te.secondBest={language:Nt.secondBest.language,relevance:Nt.secondBest.relevance}),la("after:highlightElement",{el:te,result:Nt,text:et})}function Kt(te){de=Mr(de,te)}const Ni=()=>{Ra(),Y("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Sl(){Ra(),Y("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Rr=!1;function Ra(){function te(){Ra()}if(document.readyState==="loading"){Rr||window.addEventListener("DOMContentLoaded",te,!1),Rr=!0;return}document.querySelectorAll(de.cssSelector).forEach(Tt)}function Dr(te,Ee){let Ie=null;try{Ie=Ee(k)}catch(et){if(yt("Language definition for '{}' could not be registered.".replace("{}",te)),pt)yt(et);else throw et;Ie=me}Ie.name||(Ie.name=te),X[te]=Ie,Ie.rawDefinition=Ee.bind(null,k),Ie.aliases&&ai(Ie.aliases,{languageName:te})}function aa(te){delete X[te];for(const Ee of Object.keys(fe))fe[Ee]===te&&delete fe[Ee]}function xl(){return Object.keys(X)}function Jt(te){return te=(te||"").toLowerCase(),X[te]||X[fe[te]]}function ai(te,{languageName:Ee}){typeof te=="string"&&(te=[te]),te.forEach(Ie=>{fe[Ie.toLowerCase()]=Ee})}function Ai(te){const Ee=Jt(te);return Ee&&!Ee.disableAutodetect}function wi(te){te["before:highlightBlock"]&&!te["before:highlightElement"]&&(te["before:highlightElement"]=Ee=>{te["before:highlightBlock"](Object.assign({block:Ee.el},Ee))}),te["after:highlightBlock"]&&!te["after:highlightElement"]&&(te["after:highlightElement"]=Ee=>{te["after:highlightBlock"](Object.assign({block:Ee.el},Ee))})}function kt(te){wi(te),Ce.push(te)}function Lr(te){const Ee=Ce.indexOf(te);Ee!==-1&&Ce.splice(Ee,1)}function la(te,Ee){const Ie=te;Ce.forEach(function(et){et[Ie]&&et[Ie](Ee)})}function li(te){return Y("10.7.0","highlightBlock will be removed entirely in v12.0"),Y("10.7.0","Please use highlightElement now."),Tt(te)}Object.assign(k,{highlight:gt,highlightAuto:Ma,highlightAll:Ra,highlightElement:Tt,highlightBlock:li,configure:Kt,initHighlighting:Ni,initHighlightingOnLoad:Sl,registerLanguage:Dr,unregisterLanguage:aa,listLanguages:xl,getLanguage:Jt,registerAliases:ai,autoDetection:Ai,inherit:Mr,addPlugin:kt,removePlugin:Lr}),k.debugMode=function(){pt=!1},k.safeMode=function(){pt=!0},k.versionString=We,k.regex={concat:C,lookahead:_,either:N,optional:x,anyNumberOfTimes:E};for(const te in zt)typeof zt[te]=="object"&&n(zt[te]);return Object.assign(k,zt),k},nn=ia({});return nn.newInstance=()=>ia({}),Gc=nn,nn.HighlightJS=nn,nn.default=nn,Gc}var pA=dA();const mA=af(pA),dg={},hA="hljs-";function gA(n){const a=mA.newInstance();return n&&f(n),{highlight:l,highlightAuto:o,listLanguages:u,register:f,registerAlias:c,registered:p};function l(h,m,b){const g=b||dg,_=typeof g.prefix=="string"?g.prefix:hA;if(!a.getLanguage(h))throw new Error("Unknown language: `"+h+"` is not registered");a.configure({__emitter:bA,classPrefix:_});const E=a.highlight(m,{ignoreIllegals:!0,language:h});if(E.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:E.errorRaised});const x=E._emitter.root,C=x.data;return C.language=E.language,C.relevance=E.relevance,x}function o(h,m){const g=(m||dg).subset||u();let _=-1,E=0,x;for(;++_<g.length;){const C=g[_];if(!a.getLanguage(C))continue;const R=l(C,h,m);R.data&&R.data.relevance!==void 0&&R.data.relevance>E&&(E=R.data.relevance,x=R)}return x||{type:"root",children:[],data:{language:void 0,relevance:E}}}function u(){return a.listLanguages()}function f(h,m){if(typeof h=="string")a.registerLanguage(h,m);else{let b;for(b in h)Object.hasOwn(h,b)&&a.registerLanguage(b,h[b])}}function c(h,m){if(typeof h=="string")a.registerAliases(typeof m=="string"?m:[...m],{languageName:h});else{let b;for(b in h)if(Object.hasOwn(h,b)){const g=h[b];a.registerAliases(typeof g=="string"?g:[...g],{languageName:b})}}}function p(h){return!!a.getLanguage(h)}}class bA{constructor(a){this.options=a,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(a){if(a==="")return;const l=this.stack[this.stack.length-1],o=l.children[l.children.length-1];o&&o.type==="text"?o.value+=a:l.children.push({type:"text",value:a})}startScope(a){this.openNode(String(a))}endScope(){this.closeNode()}__addSublanguage(a,l){const o=this.stack[this.stack.length-1],u=a.root.children;l?o.children.push({type:"element",tagName:"span",properties:{className:[l]},children:u}):o.children.push(...u)}openNode(a){const l=this,o=a.split(".").map(function(c,p){return p?c+"_".repeat(p):l.options.classPrefix+c}),u=this.stack[this.stack.length-1],f={type:"element",tagName:"span",properties:{className:o},children:[]};u.children.push(f),this.stack.push(f)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const yA={};function EA(n){const a=n||yA,l=a.aliases,o=a.detect||!1,u=a.languages||fA,f=a.plainText,c=a.prefix,p=a.subset;let h="hljs";const m=gA(u);if(l&&m.registerAlias(l),c){const b=c.indexOf("-");h=b===-1?c:c.slice(0,b)}return function(b,g){ms(b,"element",function(_,E,x){if(_.tagName!=="code"||!x||x.type!=="element"||x.tagName!=="pre")return;const C=_A(_);if(C===!1||!C&&!o||C&&f&&f.includes(C))return;Array.isArray(_.properties.className)||(_.properties.className=[]),_.properties.className.includes(h)||_.properties.className.unshift(h);const R=UT(_,{whitespace:"pre"});let N;try{N=C?m.highlight(C,R,{prefix:c}):m.highlightAuto(R,{prefix:c,subset:p})}catch(F){const H=F;if(C&&/Unknown language/.test(H.message)){g.message("Cannot highlight as `"+C+"`, it’s not registered",{ancestors:[x,_],cause:H,place:_.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw H}!C&&N.data&&N.data.language&&_.properties.className.push("language-"+N.data.language),N.children.length>0&&(_.children=N.children)})}}function _A(n){const a=n.properties.className;let l=-1;if(!Array.isArray(a))return;let o;for(;++l<a.length;){const u=String(a[l]);if(u==="no-highlight"||u==="nohighlight")return!1;!o&&u.slice(0,5)==="lang-"&&(o=u.slice(5)),!o&&u.slice(0,9)==="language-"&&(o=u.slice(9))}return o}function pg(n,a){let l=n.nodeType===Node.TEXT_NODE?n.parentElement:n;for(;l&&!l.hasAttribute("data-line-start");)l=l.parentElement;if(!l)return null;const o=Number(l.getAttribute("data-line-start"));if(!Number.isFinite(o))return null;const c=((n.nodeType===Node.TEXT_NODE?n.data:"").slice(0,a).match(/\n/g)||[]).length;return o+c}function vA(n){if(n.isCollapsed)return null;const{anchorNode:a,anchorOffset:l,focusNode:o,focusOffset:u}=n;if(!a||!o)return null;const f=pg(a,l),c=pg(o,u);if(f==null||c==null)return null;let p=Math.min(f,c),h=Math.max(f,c);const m=n.toString();if(m.endsWith(`
|
|
84
|
+
`)&&p<h){const g=(m.replace(/\n+$/,"").match(/\n/g)||[]).length;h=p+g}return{startLine:p,endLine:h}}const SA=({containerRef:n,onSubmitComment:a})=>{const[l,o]=Ae.useState(null),[u,f]=Ae.useState(!1),[c,p]=Ae.useState(!1),[h,m]=Ae.useState(""),[b,g]=Ae.useState(null),_=Ae.useRef(null),E=Ae.useRef(null),x=Ae.useRef(!1),C=Ae.useCallback(V=>{if(E.current&&(E.current.remove(),E.current=null),!V||!n.current)return;const M=V.getClientRects();if(M.length===0)return;const Q=n.current.getBoundingClientRect(),ee=document.createElement("div");ee.className="selection-highlight-container",ee.style.position="absolute",ee.style.top="0",ee.style.left="0",ee.style.pointerEvents="none";for(let ue=0;ue<M.length;ue++){const B=M[ue],ae=document.createElement("div");ae.className="selection-highlight",ae.style.position="absolute",ae.style.left=`${B.left-Q.left+n.current.scrollLeft}px`,ae.style.top=`${B.top-Q.top+n.current.scrollTop}px`,ae.style.width=`${B.width}px`,ae.style.height=`${B.height}px`,ee.appendChild(ae)}n.current.style.position="relative",n.current.appendChild(ee),E.current=ee},[n]),R=Ae.useCallback(()=>{const V=window.getSelection();if(!V||V.isCollapsed||!n.current){c||(f(!1),g(null),C(null));return}const M=V.anchorNode;if(!M||!n.current.contains(M)){c||(f(!1),g(null),C(null));return}const Q=V.getRangeAt(0),ee=Q.getBoundingClientRect(),ue=vA(V);g({range:Q.cloneRange(),text:V.toString(),startLine:(ue==null?void 0:ue.startLine)??1,endLine:(ue==null?void 0:ue.endLine)??1}),o({x:ee.left+ee.width/2,y:ee.top-8}),f(!0)},[n,c,C]),N=V=>{if(V.preventDefault(),V.stopPropagation(),b){C(b.range);const M=b.range.getClientRects();if(M.length>0){let Q=M[0];for(let ee=1;ee<M.length;ee++)M[ee].top<Q.top&&(Q=M[ee]);o({x:Q.left,y:Q.top-8})}}p(!0),x.current=!0,setTimeout(()=>{var M;(M=_.current)==null||M.focus()},0)},F=()=>{h.trim()&&a&&b&&a(h.trim(),b.text,b.startLine,b.endLine),m(""),p(!1),x.current=!1,f(!1),g(null),C(null)},H=()=>{m(""),p(!1),x.current=!1,f(!1),g(null),C(null)},$=V=>{V.key==="Enter"&&(V.metaKey||V.ctrlKey)?(V.preventDefault(),F()):V.key==="Escape"&&H()};return Ae.useEffect(()=>{const V=Q=>{setTimeout(()=>{var ee;(ee=Q.target)!=null&&ee.closest(".selection-popover")||x.current||R()},10)},M=Q=>{var ee;(ee=Q.target)!=null&&ee.closest(".selection-popover")||x.current||(f(!1),g(null),C(null))};return document.addEventListener("mouseup",V),document.addEventListener("mousedown",M),()=>{document.removeEventListener("mouseup",V),document.removeEventListener("mousedown",M)}},[R,C]),Ae.useEffect(()=>()=>{E.current&&E.current.remove()},[]),!u||!l?null:z.jsx("div",{className:"selection-popover",style:{position:"fixed",left:l.x,top:l.y,transform:c?"translateY(-100%)":"translate(-50%, -100%)"},children:c?z.jsxs("div",{className:"comment-form",children:[z.jsx("textarea",{ref:_,className:"comment-input",placeholder:"Add a comment...",value:h,onChange:V=>m(V.target.value),onKeyDown:$,rows:3}),z.jsxs("div",{className:"comment-actions",children:[z.jsx("button",{className:"comment-cancel",onClick:H,children:"Cancel"}),z.jsx("button",{className:"comment-submit",onClick:F,disabled:!h.trim(),children:"Submit"})]})]}):z.jsx("button",{className:"popover-button",onMouseDown:V=>V.preventDefault(),onClick:N,children:"Comment"})})},xA=({comments:n,filename:a,onDeleteComment:l,onDeleteAll:o,onClose:u,onLineClick:f})=>{const[c,p]=Ae.useState(null),[h,m]=Ae.useState(!1),b=E=>{const x=E.startLine===E.endLine?`L${E.startLine}`:`L${E.startLine}-${E.endLine}`;return`${a}:${x}
|
|
85
|
+
${E.text}`},g=async E=>{try{await navigator.clipboard.writeText(b(E)),p(E.id),setTimeout(()=>p(null),2e3)}catch(x){console.error("Failed to copy:",x)}},_=async()=>{const E=n.map(b).join(`
|
|
86
|
+
------------------------------------
|
|
87
|
+
`);try{await navigator.clipboard.writeText(E),m(!0),setTimeout(()=>m(!1),2e3)}catch(x){console.error("Failed to copy:",x)}};return n.length===0?z.jsxs("div",{className:"comment-list-empty",children:[z.jsx("p",{children:"No comments yet"}),z.jsx("p",{className:"comment-list-hint",children:"Select text to add a comment"})]}):z.jsxs("div",{className:"comment-list",children:[z.jsxs("div",{className:"comment-list-header",children:[z.jsxs("div",{className:"comment-list-title-wrapper",children:[u&&z.jsx("button",{className:"comment-list-collapse-btn",onClick:u,title:"Hide comments","aria-label":"Hide comments",children:z.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:z.jsx("polyline",{points:"9 18 15 12 9 6"})})}),z.jsxs("h3",{className:"comment-list-title",children:["Comments (",n.length,")"]})]}),z.jsxs("div",{className:"comment-list-actions",children:[z.jsxs("button",{className:`comment-list-copy-all ${h?"copied":""}`,onClick:_,title:h?"Copied!":"Copy all comments",children:[h?z.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:z.jsx("polyline",{points:"20 6 9 17 4 12"})}):z.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[z.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),z.jsx("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]}),z.jsx("span",{children:"Copy All"})]}),o&&z.jsxs("button",{className:"comment-list-delete-all",onClick:o,title:"Delete all comments",children:[z.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[z.jsx("polyline",{points:"3 6 5 6 21 6"}),z.jsx("path",{d:"M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"})]}),z.jsx("span",{children:"Clear"})]})]})]}),z.jsx("div",{className:"comment-list-items",children:n.map(E=>z.jsxs("div",{className:"comment-item",children:[z.jsxs("div",{className:"comment-item-header",children:[z.jsxs("button",{className:"comment-item-lines",onClick:()=>f==null?void 0:f(E.startLine),title:"Jump to line",children:["Line ",E.startLine===E.endLine?E.startLine:`${E.startLine}-${E.endLine}`]}),z.jsxs("div",{className:"comment-item-actions",children:[z.jsx("button",{className:`comment-item-copy ${c===E.id?"copied":""}`,onClick:()=>g(E),title:c===E.id?"Copied!":"Copy comment",children:c===E.id?z.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:z.jsx("polyline",{points:"20 6 9 17 4 12"})}):z.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[z.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),z.jsx("path",{d:"M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"})]})}),l&&z.jsx("button",{className:"comment-item-delete",onClick:()=>l(E.id),title:"Delete comment",children:"×"})]})]}),z.jsxs("div",{className:"comment-item-selection",children:['"',E.selectedText.length>50?E.selectedText.slice(0,50)+"...":E.selectedText,'"']}),z.jsx("div",{className:"comment-item-text",children:E.text})]},E.id))})]})},TA={p:({node:n,children:a,...l})=>{var o,u;return z.jsx("p",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},h1:({node:n,children:a,...l})=>{var o,u;return z.jsx("h1",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},h2:({node:n,children:a,...l})=>{var o,u;return z.jsx("h2",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},h3:({node:n,children:a,...l})=>{var o,u;return z.jsx("h3",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},h4:({node:n,children:a,...l})=>{var o,u;return z.jsx("h4",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},h5:({node:n,children:a,...l})=>{var o,u;return z.jsx("h5",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},h6:({node:n,children:a,...l})=>{var o,u;return z.jsx("h6",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},li:({node:n,children:a,...l})=>{var o,u;return z.jsx("li",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},blockquote:({node:n,children:a,...l})=>{var o,u;return z.jsx("blockquote",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},pre:({node:n,children:a,...l})=>{var o,u;return z.jsx("pre",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},td:({node:n,children:a,...l})=>{var o,u;return z.jsx("td",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})},th:({node:n,children:a,...l})=>{var o,u;return z.jsx("th",{"data-line-start":(u=(o=n==null?void 0:n.position)==null?void 0:o.start)==null?void 0:u.line,...l,children:a})}},Yb=({content:n,filename:a,filePath:l,comments:o,onCommentsChange:u})=>{const f=Ae.useRef(null),{isDark:c}=bg(),{width:p,isResizing:h,isCollapsed:m,handleMouseDown:b,toggleCollapse:g}=hg({initialWidth:300,minWidth:250,maxWidth:600,storageKey:"md-review-comments-sidebar-width",direction:"right",collapsible:!0,collapseThreshold:70});Ae.useEffect(()=>{const R=document.querySelector('link[href*="github.css"]'),N=document.querySelector('link[href*="github-dark.css"]');R&&N&&(c?(R.disabled=!0,N.disabled=!1):(R.disabled=!1,N.disabled=!0))},[c]);const _=(R,N,F,H)=>{const $={id:crypto.randomUUID(),text:R,selectedText:N,startLine:F,endLine:H,createdAt:new Date};u([...o,$])},E=R=>{u(o.filter(N=>N.id!==R))},x=()=>{u([])},C=R=>{if(!f.current)return;const N=f.current.querySelector(`[data-line-start="${R}"]`);N&&(N.scrollIntoView({behavior:"smooth",block:"center"}),N.classList.add("highlight-line"),setTimeout(()=>{N.classList.remove("highlight-line")},2e3))};return z.jsxs("div",{className:`markdown-with-comments ${h?"resizing":""} ${m?"comments-collapsed":""}`,children:[z.jsxs("div",{className:"markdown-container",style:{paddingRight:m?"0":`${p+20}px`},children:[z.jsx("header",{className:"markdown-header",children:z.jsx("h1",{children:a})}),z.jsx("div",{className:"markdown-content",ref:f,children:z.jsx(y1,{remarkPlugins:[MT],rehypePlugins:[EA],components:TA,children:n})}),z.jsx(SA,{containerRef:f,onSubmitComment:_})]}),m&&z.jsxs("button",{className:"comments-toggle-button",onClick:g,title:"Show comments","aria-label":"Show comments",children:[z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:z.jsx("path",{d:"M2 5a2 2 0 012-2h12a2 2 0 012 2v8a2 2 0 01-2 2H6l-4 3V5z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),o.length>0&&z.jsx("span",{className:"comments-badge",children:o.length})]}),!m&&z.jsxs("aside",{className:"comments-sidebar",style:{width:`${p}px`},children:[z.jsx("div",{className:"comments-sidebar-resizer",onMouseDown:b}),z.jsx(xA,{comments:[...o].sort((R,N)=>R.startLine-N.startLine),filename:l||a,onDeleteComment:E,onDeleteAll:x,onClose:g,onLineClick:C})]})]})},nf=({error:n})=>z.jsxs("div",{style:{padding:"2rem",maxWidth:"800px",margin:"2rem auto",backgroundColor:"#fee",border:"1px solid #fcc",borderRadius:"8px"},children:[z.jsx("h2",{style:{color:"#c00"},children:"Error"}),z.jsx("p",{children:n.message})]}),NA=()=>{const{files:n,loading:a,error:l}=a_(),[o,u]=Ae.useState(null),[f,c]=Ae.useState(!0),[p,h]=Ae.useState(!1),[m,b]=l_("md-review-comments",{}),{content:g,filename:_,loading:E,error:x}=mg(o),{width:C,isResizing:R,isCollapsed:N,handleMouseDown:F,toggleCollapse:H}=hg({initialWidth:240,minWidth:180,maxWidth:500,storageKey:"md-review-sidebar-width",collapsible:!0,collapseThreshold:120}),$=()=>{c(!0),h(!0),setTimeout(()=>h(!1),100)};if(a)return z.jsx("div",{className:"dev-loading",children:z.jsx("p",{children:"Loading files..."})});if(l)return z.jsx(nf,{error:l});if(n.length===0)return z.jsxs("div",{className:"dev-empty",children:[z.jsx("h2",{children:"No Markdown Files Found"}),z.jsx("p",{children:"No .md files were found in the current directory."})]});const V=f&&!N;return z.jsxs("div",{className:`dev-container ${V?"":"sidebar-closed"} ${R?"resizing":""}`,children:[z.jsxs("div",{className:`dev-sidebar ${V?"":"closed"}`,style:V?{width:`${C}px`}:void 0,children:[!V&&z.jsxs("div",{className:"sidebar-icon-bar",children:[z.jsx("button",{className:"icon-bar-item",onClick:()=>{c(!0),N&&H()},title:"Open sidebar",children:z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:z.jsx("path",{d:"M5 3h6l2 2h4a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h2z",stroke:"currentColor",strokeWidth:"1.5"})})}),z.jsx("button",{className:"icon-bar-item",onClick:$,title:"Search",children:z.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[z.jsx("circle",{cx:"9",cy:"9",r:"6",stroke:"currentColor",strokeWidth:"1.5"}),z.jsx("path",{d:"M13.5 13.5l3.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}),z.jsx(yg,{}),z.jsx("div",{className:"icon-bar-spacer"}),z.jsx("a",{href:"https://github.com/ryo-manba/md-review",target:"_blank",rel:"noopener noreferrer",className:"icon-bar-item",title:"View on GitHub","aria-label":"View on GitHub",children:z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:z.jsx("path",{d:"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"})})})]}),V&&z.jsxs(z.Fragment,{children:[z.jsx("div",{className:"sidebar-content",children:z.jsx(o_,{files:n,selectedFile:o,onFileSelect:u,onToggleSidebar:()=>c(!1),autoFocusSearch:p})}),z.jsx("div",{className:"sidebar-resizer",onMouseDown:F})]})]}),z.jsx("div",{className:"dev-main",children:o?E?z.jsx("div",{className:"dev-loading",children:z.jsx("p",{children:"Loading markdown..."})}):x?z.jsx(nf,{error:x}):g&&_?z.jsx(Yb,{content:g,filename:_,filePath:o||_,comments:m[o||_]||[],onCommentsChange:M=>{const Q=o||_;b(ee=>({...ee,[Q]:M}))}}):z.jsx("div",{className:"dev-placeholder",children:z.jsx("p",{children:"No content available"})}):z.jsxs("div",{className:"dev-placeholder",children:[z.jsx("h2",{children:"Welcome to md-review"}),z.jsx("p",{children:"Select a markdown file from the sidebar to preview"}),z.jsxs("p",{className:"file-count",children:[n.length," markdown files found"]})]})})]})},AA=()=>{const{content:n,filename:a,loading:l,error:o}=mg(),[u,f]=Ae.useState([]);return l?z.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:z.jsx("p",{children:"Loading..."})}):o?z.jsx(nf,{error:o}):!n||!a?z.jsx("div",{style:{padding:"2rem"},children:z.jsx("p",{children:"No content available"})}):z.jsx(Yb,{content:n,filename:a,comments:u,onCommentsChange:f})};function wA(){const[n,a]=Ae.useState("loading");return Ae.useEffect(()=>{(async()=>{try{(await fetch("/api/files")).ok?a("dev"):a("cli")}catch{a("cli")}})()},[]),n==="loading"?z.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:z.jsx("p",{children:"Initializing..."})}):n==="dev"?z.jsx(NA,{}):z.jsx(AA,{})}n_.createRoot(document.getElementById("root")).render(z.jsx(Ae.StrictMode,{children:z.jsx(wA,{})}));
|