import{j as M,Y as wf,O as q3,k as B3,u as Af,Z as O3,c as R3,l as L3,g as H3,S as U3,T as j3,n as G3,m as Mf,o as V3,p as X3,$ as zf,a0 as kf,a1 as Df,a2 as Y3}from"./ui-vendor-CeCm8EER.js";import{d as F3,h as Z3,r as ae,u as Nf,H as K3,i as Q3,j as q4}from"./react-vendor-DEwriMA6.js";import{N as Ft,c as Zt,af as Ef,u as ra,M as p0,ag as Cf,ah as _f,I as yo,B as nl,D as $3,l as P3,m as J3,n as I3,o as W3,ai as e5,aj as t5,ak as a5,al as r5,am as J0,an as qf,ao as Eo,ap as bo,a2 as n5,a3 as l5,a4 as i5,a5 as u5,aq as s5,ar as o5,as as Bf,at as c5,au as Of,av as d5,aw as Rf,d as f5,V as h5,W as m5,g as In,ax as p5,ay as g5,az as v5}from"./feature-graph-c3KAmzq6.js";import{S as B4,a as O4,b as R4,c as L4,e as Ca,D as y5}from"./feature-documents-DwnpZ4mM.js";import{R as b5}from"./feature-retrieval-CZ47sqx5.js";import{i as xo}from"./utils-vendor-BysuhMZA.js";import"./graph-vendor-B-X5JegA.js";import"./mermaid-vendor-DB77lfsV.js";import"./markdown-vendor-Dv0NSOeH.js";(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function n(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerPolicy&&(d.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?d.credentials="include":o.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(o){if(o.ep)return;o.ep=!0;const d=n(o);fetch(o.href,d)}})();var Ws={exports:{}},Wn={},eo={exports:{}},to={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var H4;function x5(){return H4||(H4=1,function(i){function a($,pe){var ue=$.length;$.push(pe);e:for(;0<ue;){var _e=ue-1>>>1,Ee=$[_e];if(0<o(Ee,pe))$[_e]=pe,$[ue]=Ee,ue=_e;else break e}}function n($){return $.length===0?null:$[0]}function u($){if($.length===0)return null;var pe=$[0],ue=$.pop();if(ue!==pe){$[0]=ue;e:for(var _e=0,Ee=$.length,wt=Ee>>>1;_e<wt;){var at=2*(_e+1)-1,At=$[at],Te=at+1,st=$[Te];if(0>o(At,ue))Te<Ee&&0>o(st,At)?($[_e]=st,$[Te]=ue,_e=Te):($[_e]=At,$[at]=ue,_e=at);else if(Te<Ee&&0>o(st,ue))$[_e]=st,$[Te]=ue,_e=Te;else break e}}return pe}function o($,pe){var ue=$.sortIndex-pe.sortIndex;return ue!==0?ue:$.id-pe.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var m=Date,g=m.now();i.unstable_now=function(){return m.now()-g}}var y=[],S=[],z=1,N=null,_=3,q=!1,j=!1,L=!1,Q=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate<"u"?setImmediate:null;function ne($){for(var pe=n(S);pe!==null;){if(pe.callback===null)u(S);else if(pe.startTime<=$)u(S),pe.sortIndex=pe.expirationTime,a(y,pe);else break;pe=n(S)}}function fe($){if(L=!1,ne($),!j)if(n(y)!==null)j=!0,$e();else{var pe=n(S);pe!==null&&ut(fe,pe.startTime-$)}}var ce=!1,he=-1,ye=5,ze=-1;function J(){return!(i.unstable_now()-ze<ye)}function be(){if(ce){var $=i.unstable_now();ze=$;var pe=!0;try{e:{j=!1,L&&(L=!1,P(he),he=-1),q=!0;var ue=_;try{t:{for(ne($),N=n(y);N!==null&&!(N.expirationTime>$&&J());){var _e=N.callback;if(typeof _e=="function"){N.callback=null,_=N.priorityLevel;var Ee=_e(N.expirationTime<=$);if($=i.unstable_now(),typeof Ee=="function"){N.callback=Ee,ne($),pe=!0;break t}N===n(y)&&u(y),ne($)}else u(y);N=n(y)}if(N!==null)pe=!0;else{var wt=n(S);wt!==null&&ut(fe,wt.startTime-$),pe=!1}}break e}finally{N=null,_=ue,q=!1}pe=void 0}}finally{pe?Ge():ce=!1}}}var Ge;if(typeof te=="function")Ge=function(){te(be)};else if(typeof MessageChannel<"u"){var Ve=new MessageChannel,Tt=Ve.port2;Ve.port1.onmessage=be,Ge=function(){Tt.postMessage(null)}}else Ge=function(){Q(be,0)};function $e(){ce||(ce=!0,Ge())}function ut($,pe){he=Q(function(){$(i.unstable_now())},pe)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function($){$.callback=null},i.unstable_continueExecution=function(){j||q||(j=!0,$e())},i.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ye=0<$?Math.floor(1e3/$):5},i.unstable_getCurrentPriorityLevel=function(){return _},i.unstable_getFirstCallbackNode=function(){return n(y)},i.unstable_next=function($){switch(_){case 1:case 2:case 3:var pe=3;break;default:pe=_}var ue=_;_=pe;try{return $()}finally{_=ue}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function($,pe){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var ue=_;_=$;try{return pe()}finally{_=ue}},i.unstable_scheduleCallback=function($,pe,ue){var _e=i.unstable_now();switch(typeof ue=="object"&&ue!==null?(ue=ue.delay,ue=typeof ue=="number"&&0<ue?_e+ue:_e):ue=_e,$){case 1:var Ee=-1;break;case 2:Ee=250;break;case 5:Ee=1073741823;break;case 4:Ee=1e4;break;default:Ee=5e3}return Ee=ue+Ee,$={id:z++,callback:pe,priorityLevel:$,startTime:ue,expirationTime:Ee,sortIndex:-1},ue>_e?($.sortIndex=ue,a(S,$),n(y)===null&&$===n(S)&&(L?(P(he),he=-1):L=!0,ut(fe,ue-_e))):($.sortIndex=Ee,a(y,$),j||q||(j=!0,$e())),$},i.unstable_shouldYield=J,i.unstable_wrapCallback=function($){var pe=_;return function(){var ue=_;_=pe;try{return $.apply(this,arguments)}finally{_=ue}}}}(to)),to}var U4;function S5(){return U4||(U4=1,eo.exports=x5()),eo.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var j4;function T5(){if(j4)return Wn;j4=1;var i=S5(),a=F3(),n=Z3();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}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 o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}var d=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),_=Symbol.for("react.consumer"),q=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),fe=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function he(e){return e===null||typeof e!="object"?null:(e=ce&&e[ce]||e["@@iterator"],typeof e=="function"?e:null)}var ye=Symbol.for("react.client.reference");function ze(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ye?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case g:return"Portal";case z:return"Profiler";case S:return"StrictMode";case L:return"Suspense";case Q:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:return(e.displayName||"Context")+".Provider";case _:return(e._context.displayName||"Context")+".Consumer";case j:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case P:return t=e.displayName||null,t!==null?t:ze(e.type)||"Memo";case te:t=e._payload,e=e._init;try{return ze(e(t))}catch{}}return null}var J=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,be=Object.assign,Ge,Ve;function Tt(e){if(Ge===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Ge=t&&t[1]||"",Ve=-1<r.stack.indexOf(`
    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ge+e+Ve}var $e=!1;function ut(e,t){if(!e||$e)return"";$e=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(H){var R=H}Reflect.construct(e,[],X)}else{try{X.call()}catch(H){R=H}e.call(X.prototype)}}else{try{throw Error()}catch(H){R=H}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(H){if(H&&R&&typeof H.stack=="string")return[H.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),p=c[0],x=c[1];if(p&&x){var T=p.split(`
`),E=x.split(`
`);for(s=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;s<E.length&&!E[s].includes("DetermineComponentFrameRoot");)s++;if(l===T.length||s===E.length)for(l=T.length-1,s=E.length-1;1<=l&&0<=s&&T[l]!==E[s];)s--;for(;1<=l&&0<=s;l--,s--)if(T[l]!==E[s]){if(l!==1||s!==1)do if(l--,s--,0>s||T[l]!==E[s]){var U=`
`+T[l].replace(" at new "," at ");return e.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",e.displayName)),U}while(1<=l&&0<=s);break}}}finally{$e=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Tt(r):""}function $(e){switch(e.tag){case 26:case 27:case 5:return Tt(e.type);case 16:return Tt("Lazy");case 13:return Tt("Suspense");case 19:return Tt("SuspenseList");case 0:case 15:return e=ut(e.type,!1),e;case 11:return e=ut(e.type.render,!1),e;case 1:return e=ut(e.type,!0),e;default:return""}}function pe(e){try{var t="";do t+=$(e),e=e.return;while(e);return t}catch(r){return`
Error generating stack: `+r.message+`
`+r.stack}}function ue(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function _e(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 Ee(e){if(ue(e)!==e)throw Error(u(188))}function wt(e){var t=e.alternate;if(!t){if(t=ue(e),t===null)throw Error(u(188));return t!==e?null:e}for(var r=e,l=t;;){var s=r.return;if(s===null)break;var c=s.alternate;if(c===null){if(l=s.return,l!==null){r=l;continue}break}if(s.child===c.child){for(c=s.child;c;){if(c===r)return Ee(s),e;if(c===l)return Ee(s),t;c=c.sibling}throw Error(u(188))}if(r.return!==l.return)r=s,l=c;else{for(var p=!1,x=s.child;x;){if(x===r){p=!0,r=s,l=c;break}if(x===l){p=!0,l=s,r=c;break}x=x.sibling}if(!p){for(x=c.child;x;){if(x===r){p=!0,r=c,l=s;break}if(x===l){p=!0,l=c,r=s;break}x=x.sibling}if(!p)throw Error(u(189))}}if(r.alternate!==l)throw Error(u(190))}if(r.tag!==3)throw Error(u(188));return r.stateNode.current===r?e:t}function at(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=at(e),t!==null)return t;e=e.sibling}return null}var At=Array.isArray,Te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,st={pending:!1,data:null,method:null,action:null},hr=[],Ot=-1;function gt(e){return{current:e}}function Ye(e){0>Ot||(e.current=hr[Ot],hr[Ot]=null,Ot--)}function Ce(e,t){Ot++,hr[Ot]=e.current,e.current=t}var Qt=gt(null),Ua=gt(null),v0=gt(null),ia=gt(null);function ja(e,t){switch(Ce(v0,t),Ce(Ua,e),Ce(Qt,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?s4(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=s4(e),t=o4(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Ye(Qt),Ce(Qt,t)}function E0(){Ye(Qt),Ye(Ua),Ye(v0)}function Ga(e){e.memoizedState!==null&&Ce(ia,e);var t=Qt.current,r=o4(t,e.type);t!==r&&(Ce(Ua,e),Ce(Qt,r))}function C0(e){Ua.current===e&&(Ye(Qt),Ye(Ua)),ia.current===e&&(Ye(ia),Kn._currentValue=st)}var ua=Object.prototype.hasOwnProperty,Zi=i.unstable_scheduleCallback,Ki=i.unstable_cancelCallback,dm=i.unstable_shouldYield,fm=i.unstable_requestPaint,y0=i.unstable_now,hm=i.unstable_getCurrentPriorityLevel,Jo=i.unstable_ImmediatePriority,Io=i.unstable_UserBlockingPriority,cl=i.unstable_NormalPriority,mm=i.unstable_LowPriority,Wo=i.unstable_IdlePriority,pm=i.log,gm=i.unstable_setDisableYieldValue,tn=null,Rt=null;function vm(e){if(Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(tn,e,void 0,(e.current.flags&128)===128)}catch{}}function sa(e){if(typeof pm=="function"&&gm(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(tn,e)}catch{}}var Lt=Math.clz32?Math.clz32:xm,ym=Math.log,bm=Math.LN2;function xm(e){return e>>>=0,e===0?32:31-(ym(e)/bm|0)|0}var dl=128,fl=4194304;function Va(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:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;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 hl(e,t){var r=e.pendingLanes;if(r===0)return 0;var l=0,s=e.suspendedLanes,c=e.pingedLanes,p=e.warmLanes;e=e.finishedLanes!==0;var x=r&134217727;return x!==0?(r=x&~s,r!==0?l=Va(r):(c&=x,c!==0?l=Va(c):e||(p=x&~p,p!==0&&(l=Va(p))))):(x=r&~s,x!==0?l=Va(x):c!==0?l=Va(c):e||(p=r&~p,p!==0&&(l=Va(p)))),l===0?0:t!==0&&t!==l&&!(t&s)&&(s=l&-l,p=t&-t,s>=p||s===32&&(p&4194176)!==0)?t:l}function an(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Sm(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ec(){var e=dl;return dl<<=1,!(dl&4194176)&&(dl=128),e}function tc(){var e=fl;return fl<<=1,!(fl&62914560)&&(fl=4194304),e}function Qi(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function rn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Tm(e,t,r,l,s,c){var p=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var x=e.entanglements,T=e.expirationTimes,E=e.hiddenUpdates;for(r=p&~r;0<r;){var U=31-Lt(r),X=1<<U;x[U]=0,T[U]=-1;var R=E[U];if(R!==null)for(E[U]=null,U=0;U<R.length;U++){var H=R[U];H!==null&&(H.lane&=-536870913)}r&=~X}l!==0&&ac(e,l,0),c!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=c&~(p&~t))}function ac(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Lt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|r&4194218}function rc(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var l=31-Lt(r),s=1<<l;s&t|e[l]&t&&(e[l]|=t),r&=~s}}function nc(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function lc(){var e=Te.p;return e!==0?e:(e=window.event,e===void 0?32:k4(e.type))}function wm(e,t){var r=Te.p;try{return Te.p=e,t()}finally{Te.p=r}}var oa=Math.random().toString(36).slice(2),xt="__reactFiber$"+oa,Et="__reactProps$"+oa,mr="__reactContainer$"+oa,$i="__reactEvents$"+oa,Am="__reactListeners$"+oa,Mm="__reactHandles$"+oa,ic="__reactResources$"+oa,nn="__reactMarker$"+oa;function Pi(e){delete e[xt],delete e[Et],delete e[$i],delete e[Am],delete e[Mm]}function Xa(e){var t=e[xt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[mr]||r[xt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=f4(e);e!==null;){if(r=e[xt])return r;e=f4(e)}return t}e=r,r=e.parentNode}return null}function pr(e){if(e=e[xt]||e[mr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function ln(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function gr(e){var t=e[ic];return t||(t=e[ic]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ft(e){e[nn]=!0}var uc=new Set,sc={};function Ya(e,t){vr(e,t),vr(e+"Capture",t)}function vr(e,t){for(sc[e]=t,e=0;e<t.length;e++)uc.add(t[e])}var _0=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zm=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]*$"),oc={},cc={};function km(e){return ua.call(cc,e)?!0:ua.call(oc,e)?!1:zm.test(e)?cc[e]=!0:(oc[e]=!0,!1)}function ml(e,t,r){if(km(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+r)}}function pl(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function q0(e,t,r,l){if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+l)}}function $t(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dm(e){var t=dc(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,c=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(p){l=""+p,c.call(this,p)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(p){l=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gl(e){e._valueTracker||(e._valueTracker=Dm(e))}function fc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),l="";return e&&(l=dc(e)?e.checked?"true":"false":e.value),e=l,e!==r?(t.setValue(e),!0):!1}function vl(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 Nm=/[\n"\\]/g;function Pt(e){return e.replace(Nm,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ji(e,t,r,l,s,c,p,x){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+$t(t)):e.value!==""+$t(t)&&(e.value=""+$t(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?Ii(e,p,$t(t)):r!=null?Ii(e,p,$t(r)):l!=null&&e.removeAttribute("value"),s==null&&c!=null&&(e.defaultChecked=!!c),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+$t(x):e.removeAttribute("name")}function hc(e,t,r,l,s,c,p,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||r!=null){if(!(c!=="submit"&&c!=="reset"||t!=null))return;r=r!=null?""+$t(r):"",t=t!=null?""+$t(t):r,x||t===e.value||(e.value=t),e.defaultValue=t}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=x?e.checked:!!l,e.defaultChecked=!!l,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p)}function Ii(e,t,r){t==="number"&&vl(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function yr(e,t,r,l){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&l&&(e[r].defaultSelected=!0)}else{for(r=""+$t(r),t=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,l&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function mc(e,t,r){if(t!=null&&(t=""+$t(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+$t(r):""}function pc(e,t,r,l){if(t==null){if(l!=null){if(r!=null)throw Error(u(92));if(At(l)){if(1<l.length)throw Error(u(93));l=l[0]}r=l}r==null&&(r=""),t=r}r=$t(t),e.defaultValue=r,l=e.textContent,l===r&&l!==""&&l!==null&&(e.value=l)}function br(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Em=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 gc(e,t,r){var l=t.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,r):typeof r!="number"||r===0||Em.has(t)?t==="float"?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function vc(e,t,r){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var s in t)l=t[s],t.hasOwnProperty(s)&&r[s]!==l&&gc(e,s,l)}else for(var c in t)t.hasOwnProperty(c)&&gc(e,c,t[c])}function Wi(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 Cm=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"]]),_m=/^[\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 yl(e){return _m.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var eu=null;function tu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xr=null,Sr=null;function yc(e){var t=pr(e);if(t&&(e=t.stateNode)){var r=e[Et]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ji(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Pt(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var l=r[t];if(l!==e&&l.form===e.form){var s=l[Et]||null;if(!s)throw Error(u(90));Ji(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<r.length;t++)l=r[t],l.form===e.form&&fc(l)}break e;case"textarea":mc(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&yr(e,!!r.multiple,t,!1)}}}var au=!1;function bc(e,t,r){if(au)return e(t,r);au=!0;try{var l=e(t);return l}finally{if(au=!1,(xr!==null||Sr!==null)&&(ti(),xr&&(t=xr,e=Sr,Sr=xr=null,yc(t),e)))for(t=0;t<e.length;t++)yc(e[t])}}function un(e,t){var r=e.stateNode;if(r===null)return null;var l=r[Et]||null;if(l===null)return null;r=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(u(231,t,typeof r));return r}var ru=!1;if(_0)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){ru=!0}}),window.addEventListener("test",sn,sn),window.removeEventListener("test",sn,sn)}catch{ru=!1}var ca=null,nu=null,bl=null;function xc(){if(bl)return bl;var e,t=nu,r=t.length,l,s="value"in ca?ca.value:ca.textContent,c=s.length;for(e=0;e<r&&t[e]===s[e];e++);var p=r-e;for(l=1;l<=p&&t[r-l]===s[c-l];l++);return bl=s.slice(e,1<l?1-l:void 0)}function xl(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 Sl(){return!0}function Sc(){return!1}function Ct(e){function t(r,l,s,c,p){this._reactName=r,this._targetInst=s,this.type=l,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(r=e[x],this[x]=r?r(c):c[x]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Sl:Sc,this.isPropagationStopped=Sc,this}return be(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Sl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Sl)},persist:function(){},isPersistent:Sl}),t}var Fa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tl=Ct(Fa),on=be({},Fa,{view:0,detail:0}),qm=Ct(on),lu,iu,cn,wl=be({},on,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:su,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!==cn&&(cn&&e.type==="mousemove"?(lu=e.screenX-cn.screenX,iu=e.screenY-cn.screenY):iu=lu=0,cn=e),lu)},movementY:function(e){return"movementY"in e?e.movementY:iu}}),Tc=Ct(wl),Bm=be({},wl,{dataTransfer:0}),Om=Ct(Bm),Rm=be({},on,{relatedTarget:0}),uu=Ct(Rm),Lm=be({},Fa,{animationName:0,elapsedTime:0,pseudoElement:0}),Hm=Ct(Lm),Um=be({},Fa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jm=Ct(Um),Gm=be({},Fa,{data:0}),wc=Ct(Gm),Vm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xm={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"},Ym={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ym[e])?!!t[e]:!1}function su(){return Fm}var Zm=be({},on,{key:function(e){if(e.key){var t=Vm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:su,charCode:function(e){return e.type==="keypress"?xl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Km=Ct(Zm),Qm=be({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ac=Ct(Qm),$m=be({},on,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:su}),Pm=Ct($m),Jm=be({},Fa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Im=Ct(Jm),Wm=be({},wl,{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}),e2=Ct(Wm),t2=be({},Fa,{newState:0,oldState:0}),a2=Ct(t2),r2=[9,13,27,32],ou=_0&&"CompositionEvent"in window,dn=null;_0&&"documentMode"in document&&(dn=document.documentMode);var n2=_0&&"TextEvent"in window&&!dn,Mc=_0&&(!ou||dn&&8<dn&&11>=dn),zc=" ",kc=!1;function Dc(e,t){switch(e){case"keyup":return r2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Tr=!1;function l2(e,t){switch(e){case"compositionend":return Nc(t);case"keypress":return t.which!==32?null:(kc=!0,zc);case"textInput":return e=t.data,e===zc&&kc?null:e;default:return null}}function i2(e,t){if(Tr)return e==="compositionend"||!ou&&Dc(e,t)?(e=xc(),bl=nu=ca=null,Tr=!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 Mc&&t.locale!=="ko"?null:t.data;default:return null}}var u2={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 Ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!u2[e.type]:t==="textarea"}function Cc(e,t,r,l){xr?Sr?Sr.push(l):Sr=[l]:xr=l,t=ii(t,"onChange"),0<t.length&&(r=new Tl("onChange","change",null,r,l),e.push({event:r,listeners:t}))}var fn=null,hn=null;function s2(e){r4(e,0)}function Al(e){var t=ln(e);if(fc(t))return e}function _c(e,t){if(e==="change")return t}var qc=!1;if(_0){var cu;if(_0){var du="oninput"in document;if(!du){var Bc=document.createElement("div");Bc.setAttribute("oninput","return;"),du=typeof Bc.oninput=="function"}cu=du}else cu=!1;qc=cu&&(!document.documentMode||9<document.documentMode)}function Oc(){fn&&(fn.detachEvent("onpropertychange",Rc),hn=fn=null)}function Rc(e){if(e.propertyName==="value"&&Al(hn)){var t=[];Cc(t,hn,e,tu(e)),bc(s2,t)}}function o2(e,t,r){e==="focusin"?(Oc(),fn=t,hn=r,fn.attachEvent("onpropertychange",Rc)):e==="focusout"&&Oc()}function c2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Al(hn)}function d2(e,t){if(e==="click")return Al(t)}function f2(e,t){if(e==="input"||e==="change")return Al(t)}function h2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ht=typeof Object.is=="function"?Object.is:h2;function mn(e,t){if(Ht(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),l=Object.keys(t);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var s=r[l];if(!ua.call(t,s)||!Ht(e[s],t[s]))return!1}return!0}function Lc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hc(e,t){var r=Lc(e);e=0;for(var l;r;){if(r.nodeType===3){if(l=e+r.textContent.length,e<=t&&l>=t)return{node:r,offset:t-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Lc(r)}}function Uc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Uc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jc(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=vl(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=vl(e.document)}return t}function fu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function m2(e,t){var r=jc(t);t=e.focusedElem;var l=e.selectionRange;if(r!==t&&t&&t.ownerDocument&&Uc(t.ownerDocument.documentElement,t)){if(l!==null&&fu(t)){if(e=l.start,r=l.end,r===void 0&&(r=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(r,t.value.length);else if(r=(e=t.ownerDocument||document)&&e.defaultView||window,r.getSelection){r=r.getSelection();var s=t.textContent.length,c=Math.min(l.start,s);l=l.end===void 0?c:Math.min(l.end,s),!r.extend&&c>l&&(s=l,l=c,c=s),s=Hc(t,c);var p=Hc(t,l);s&&p&&(r.rangeCount!==1||r.anchorNode!==s.node||r.anchorOffset!==s.offset||r.focusNode!==p.node||r.focusOffset!==p.offset)&&(e=e.createRange(),e.setStart(s.node,s.offset),r.removeAllRanges(),c>l?(r.addRange(e),r.extend(p.node,p.offset)):(e.setEnd(p.node,p.offset),r.addRange(e)))}}for(e=[],r=t;r=r.parentNode;)r.nodeType===1&&e.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<e.length;t++)r=e[t],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var p2=_0&&"documentMode"in document&&11>=document.documentMode,wr=null,hu=null,pn=null,mu=!1;function Gc(e,t,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;mu||wr==null||wr!==vl(l)||(l=wr,"selectionStart"in l&&fu(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),pn&&mn(pn,l)||(pn=l,l=ii(hu,"onSelect"),0<l.length&&(t=new Tl("onSelect","select",null,t,r),e.push({event:t,listeners:l}),t.target=wr)))}function Za(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Ar={animationend:Za("Animation","AnimationEnd"),animationiteration:Za("Animation","AnimationIteration"),animationstart:Za("Animation","AnimationStart"),transitionrun:Za("Transition","TransitionRun"),transitionstart:Za("Transition","TransitionStart"),transitioncancel:Za("Transition","TransitionCancel"),transitionend:Za("Transition","TransitionEnd")},pu={},Vc={};_0&&(Vc=document.createElement("div").style,"AnimationEvent"in window||(delete Ar.animationend.animation,delete Ar.animationiteration.animation,delete Ar.animationstart.animation),"TransitionEvent"in window||delete Ar.transitionend.transition);function Ka(e){if(pu[e])return pu[e];if(!Ar[e])return e;var t=Ar[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Vc)return pu[e]=t[r];return e}var Xc=Ka("animationend"),Yc=Ka("animationiteration"),Fc=Ka("animationstart"),g2=Ka("transitionrun"),v2=Ka("transitionstart"),y2=Ka("transitioncancel"),Zc=Ka("transitionend"),Kc=new Map,Qc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function d0(e,t){Kc.set(e,t),Ya(t,[e])}var Jt=[],Mr=0,gu=0;function Ml(){for(var e=Mr,t=gu=Mr=0;t<e;){var r=Jt[t];Jt[t++]=null;var l=Jt[t];Jt[t++]=null;var s=Jt[t];Jt[t++]=null;var c=Jt[t];if(Jt[t++]=null,l!==null&&s!==null){var p=l.pending;p===null?s.next=s:(s.next=p.next,p.next=s),l.pending=s}c!==0&&$c(r,s,c)}}function zl(e,t,r,l){Jt[Mr++]=e,Jt[Mr++]=t,Jt[Mr++]=r,Jt[Mr++]=l,gu|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function vu(e,t,r,l){return zl(e,t,r,l),kl(e)}function da(e,t){return zl(e,null,null,t),kl(e)}function $c(e,t,r){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r);for(var s=!1,c=e.return;c!==null;)c.childLanes|=r,l=c.alternate,l!==null&&(l.childLanes|=r),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(s=!0)),e=c,c=c.return;s&&t!==null&&e.tag===3&&(c=e.stateNode,s=31-Lt(r),c=c.hiddenUpdates,e=c[s],e===null?c[s]=[t]:e.push(t),t.lane=r|536870912)}function kl(e){if(50<jn)throw jn=0,ws=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var zr={},Pc=new WeakMap;function It(e,t){if(typeof e=="object"&&e!==null){var r=Pc.get(e);return r!==void 0?r:(t={value:e,source:t,stack:pe(t)},Pc.set(e,t),t)}return{value:e,source:t,stack:pe(t)}}var kr=[],Dr=0,Dl=null,Nl=0,Wt=[],e0=0,Qa=null,B0=1,O0="";function $a(e,t){kr[Dr++]=Nl,kr[Dr++]=Dl,Dl=e,Nl=t}function Jc(e,t,r){Wt[e0++]=B0,Wt[e0++]=O0,Wt[e0++]=Qa,Qa=e;var l=B0;e=O0;var s=32-Lt(l)-1;l&=~(1<<s),r+=1;var c=32-Lt(t)+s;if(30<c){var p=s-s%5;c=(l&(1<<p)-1).toString(32),l>>=p,s-=p,B0=1<<32-Lt(t)+s|r<<s|l,O0=c+e}else B0=1<<c|r<<s|l,O0=e}function yu(e){e.return!==null&&($a(e,1),Jc(e,1,0))}function bu(e){for(;e===Dl;)Dl=kr[--Dr],kr[Dr]=null,Nl=kr[--Dr],kr[Dr]=null;for(;e===Qa;)Qa=Wt[--e0],Wt[e0]=null,O0=Wt[--e0],Wt[e0]=null,B0=Wt[--e0],Wt[e0]=null}var Mt=null,vt=null,De=!1,f0=null,b0=!1,xu=Error(u(519));function Pa(e){var t=Error(u(418,""));throw yn(It(t,e)),xu}function Ic(e){var t=e.stateNode,r=e.type,l=e.memoizedProps;switch(t[xt]=e,t[Et]=l,r){case"dialog":Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":case"embed":Ae("load",t);break;case"video":case"audio":for(r=0;r<Vn.length;r++)Ae(Vn[r],t);break;case"source":Ae("error",t);break;case"img":case"image":case"link":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"input":Ae("invalid",t),hc(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),gl(t);break;case"select":Ae("invalid",t);break;case"textarea":Ae("invalid",t),pc(t,l.value,l.defaultValue,l.children),gl(t)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||l.suppressHydrationWarning===!0||u4(t.textContent,r)?(l.popover!=null&&(Ae("beforetoggle",t),Ae("toggle",t)),l.onScroll!=null&&Ae("scroll",t),l.onScrollEnd!=null&&Ae("scrollend",t),l.onClick!=null&&(t.onclick=ui),t=!0):t=!1,t||Pa(e)}function Wc(e){for(Mt=e.return;Mt;)switch(Mt.tag){case 3:case 27:b0=!0;return;case 5:case 13:b0=!1;return;default:Mt=Mt.return}}function gn(e){if(e!==Mt)return!1;if(!De)return Wc(e),De=!0,!1;var t=!1,r;if((r=e.tag!==3&&e.tag!==27)&&((r=e.tag===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||js(e.type,e.memoizedProps)),r=!r),r&&(t=!0),t&&vt&&Pa(e),Wc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(r=e.data,r==="/$"){if(t===0){vt=m0(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++;e=e.nextSibling}vt=null}}else vt=Mt?m0(e.stateNode.nextSibling):null;return!0}function vn(){vt=Mt=null,De=!1}function yn(e){f0===null?f0=[e]:f0.push(e)}var bn=Error(u(460)),e1=Error(u(474)),Su={then:function(){}};function t1(e){return e=e.status,e==="fulfilled"||e==="rejected"}function El(){}function a1(e,t,r){switch(r=e[r],r===void 0?e.push(t):r!==t&&(t.then(El,El),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===bn?Error(u(483)):e;default:if(typeof t.status=="string")t.then(El,El);else{if(e=He,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=l}},function(l){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===bn?Error(u(483)):e}throw xn=t,bn}}var xn=null;function r1(){if(xn===null)throw Error(u(459));var e=xn;return xn=null,e}var Nr=null,Sn=0;function Cl(e){var t=Sn;return Sn+=1,Nr===null&&(Nr=[]),a1(Nr,e,t)}function Tn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function _l(e,t){throw t.$$typeof===d?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function n1(e){var t=e._init;return t(e._payload)}function l1(e){function t(C,D){if(e){var B=C.deletions;B===null?(C.deletions=[D],C.flags|=16):B.push(D)}}function r(C,D){if(!e)return null;for(;D!==null;)t(C,D),D=D.sibling;return null}function l(C){for(var D=new Map;C!==null;)C.key!==null?D.set(C.key,C):D.set(C.index,C),C=C.sibling;return D}function s(C,D){return C=wa(C,D),C.index=0,C.sibling=null,C}function c(C,D,B){return C.index=B,e?(B=C.alternate,B!==null?(B=B.index,B<D?(C.flags|=33554434,D):B):(C.flags|=33554434,D)):(C.flags|=1048576,D)}function p(C){return e&&C.alternate===null&&(C.flags|=33554434),C}function x(C,D,B,G){return D===null||D.tag!==6?(D=ps(B,C.mode,G),D.return=C,D):(D=s(D,B),D.return=C,D)}function T(C,D,B,G){var ee=B.type;return ee===y?U(C,D,B.props.children,G,B.key):D!==null&&(D.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===te&&n1(ee)===D.type)?(D=s(D,B.props),Tn(D,B),D.return=C,D):(D=Pl(B.type,B.key,B.props,null,C.mode,G),Tn(D,B),D.return=C,D)}function E(C,D,B,G){return D===null||D.tag!==4||D.stateNode.containerInfo!==B.containerInfo||D.stateNode.implementation!==B.implementation?(D=gs(B,C.mode,G),D.return=C,D):(D=s(D,B.children||[]),D.return=C,D)}function U(C,D,B,G,ee){return D===null||D.tag!==7?(D=ir(B,C.mode,G,ee),D.return=C,D):(D=s(D,B),D.return=C,D)}function X(C,D,B){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=ps(""+D,C.mode,B),D.return=C,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case m:return B=Pl(D.type,D.key,D.props,null,C.mode,B),Tn(B,D),B.return=C,B;case g:return D=gs(D,C.mode,B),D.return=C,D;case te:var G=D._init;return D=G(D._payload),X(C,D,B)}if(At(D)||he(D))return D=ir(D,C.mode,B,null),D.return=C,D;if(typeof D.then=="function")return X(C,Cl(D),B);if(D.$$typeof===q)return X(C,Kl(C,D),B);_l(C,D)}return null}function R(C,D,B,G){var ee=D!==null?D.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return ee!==null?null:x(C,D,""+B,G);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case m:return B.key===ee?T(C,D,B,G):null;case g:return B.key===ee?E(C,D,B,G):null;case te:return ee=B._init,B=ee(B._payload),R(C,D,B,G)}if(At(B)||he(B))return ee!==null?null:U(C,D,B,G,null);if(typeof B.then=="function")return R(C,D,Cl(B),G);if(B.$$typeof===q)return R(C,D,Kl(C,B),G);_l(C,B)}return null}function H(C,D,B,G,ee){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return C=C.get(B)||null,x(D,C,""+G,ee);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case m:return C=C.get(G.key===null?B:G.key)||null,T(D,C,G,ee);case g:return C=C.get(G.key===null?B:G.key)||null,E(D,C,G,ee);case te:var Se=G._init;return G=Se(G._payload),H(C,D,B,G,ee)}if(At(G)||he(G))return C=C.get(B)||null,U(D,C,G,ee,null);if(typeof G.then=="function")return H(C,D,B,Cl(G),ee);if(G.$$typeof===q)return H(C,D,B,Kl(D,G),ee);_l(D,G)}return null}function re(C,D,B,G){for(var ee=null,Se=null,le=D,de=D=0,pt=null;le!==null&&de<B.length;de++){le.index>de?(pt=le,le=null):pt=le.sibling;var Ne=R(C,le,B[de],G);if(Ne===null){le===null&&(le=pt);break}e&&le&&Ne.alternate===null&&t(C,le),D=c(Ne,D,de),Se===null?ee=Ne:Se.sibling=Ne,Se=Ne,le=pt}if(de===B.length)return r(C,le),De&&$a(C,de),ee;if(le===null){for(;de<B.length;de++)le=X(C,B[de],G),le!==null&&(D=c(le,D,de),Se===null?ee=le:Se.sibling=le,Se=le);return De&&$a(C,de),ee}for(le=l(le);de<B.length;de++)pt=H(le,C,de,B[de],G),pt!==null&&(e&&pt.alternate!==null&&le.delete(pt.key===null?de:pt.key),D=c(pt,D,de),Se===null?ee=pt:Se.sibling=pt,Se=pt);return e&&le.forEach(function(Ea){return t(C,Ea)}),De&&$a(C,de),ee}function ge(C,D,B,G){if(B==null)throw Error(u(151));for(var ee=null,Se=null,le=D,de=D=0,pt=null,Ne=B.next();le!==null&&!Ne.done;de++,Ne=B.next()){le.index>de?(pt=le,le=null):pt=le.sibling;var Ea=R(C,le,Ne.value,G);if(Ea===null){le===null&&(le=pt);break}e&&le&&Ea.alternate===null&&t(C,le),D=c(Ea,D,de),Se===null?ee=Ea:Se.sibling=Ea,Se=Ea,le=pt}if(Ne.done)return r(C,le),De&&$a(C,de),ee;if(le===null){for(;!Ne.done;de++,Ne=B.next())Ne=X(C,Ne.value,G),Ne!==null&&(D=c(Ne,D,de),Se===null?ee=Ne:Se.sibling=Ne,Se=Ne);return De&&$a(C,de),ee}for(le=l(le);!Ne.done;de++,Ne=B.next())Ne=H(le,C,de,Ne.value,G),Ne!==null&&(e&&Ne.alternate!==null&&le.delete(Ne.key===null?de:Ne.key),D=c(Ne,D,de),Se===null?ee=Ne:Se.sibling=Ne,Se=Ne);return e&&le.forEach(function(_3){return t(C,_3)}),De&&$a(C,de),ee}function Ie(C,D,B,G){if(typeof B=="object"&&B!==null&&B.type===y&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case m:e:{for(var ee=B.key;D!==null;){if(D.key===ee){if(ee=B.type,ee===y){if(D.tag===7){r(C,D.sibling),G=s(D,B.props.children),G.return=C,C=G;break e}}else if(D.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===te&&n1(ee)===D.type){r(C,D.sibling),G=s(D,B.props),Tn(G,B),G.return=C,C=G;break e}r(C,D);break}else t(C,D);D=D.sibling}B.type===y?(G=ir(B.props.children,C.mode,G,B.key),G.return=C,C=G):(G=Pl(B.type,B.key,B.props,null,C.mode,G),Tn(G,B),G.return=C,C=G)}return p(C);case g:e:{for(ee=B.key;D!==null;){if(D.key===ee)if(D.tag===4&&D.stateNode.containerInfo===B.containerInfo&&D.stateNode.implementation===B.implementation){r(C,D.sibling),G=s(D,B.children||[]),G.return=C,C=G;break e}else{r(C,D);break}else t(C,D);D=D.sibling}G=gs(B,C.mode,G),G.return=C,C=G}return p(C);case te:return ee=B._init,B=ee(B._payload),Ie(C,D,B,G)}if(At(B))return re(C,D,B,G);if(he(B)){if(ee=he(B),typeof ee!="function")throw Error(u(150));return B=ee.call(B),ge(C,D,B,G)}if(typeof B.then=="function")return Ie(C,D,Cl(B),G);if(B.$$typeof===q)return Ie(C,D,Kl(C,B),G);_l(C,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,D!==null&&D.tag===6?(r(C,D.sibling),G=s(D,B),G.return=C,C=G):(r(C,D),G=ps(B,C.mode,G),G.return=C,C=G),p(C)):r(C,D)}return function(C,D,B,G){try{Sn=0;var ee=Ie(C,D,B,G);return Nr=null,ee}catch(le){if(le===bn)throw le;var Se=n0(29,le,null,C.mode);return Se.lanes=G,Se.return=C,Se}finally{}}}var Ja=l1(!0),i1=l1(!1),Er=gt(null),ql=gt(0);function u1(e,t){e=Z0,Ce(ql,e),Ce(Er,t),Z0=e|t.baseLanes}function Tu(){Ce(ql,Z0),Ce(Er,Er.current)}function wu(){Z0=ql.current,Ye(Er),Ye(ql)}var t0=gt(null),x0=null;function fa(e){var t=e.alternate;Ce(ot,ot.current&1),Ce(t0,e),x0===null&&(t===null||Er.current!==null||t.memoizedState!==null)&&(x0=e)}function s1(e){if(e.tag===22){if(Ce(ot,ot.current),Ce(t0,e),x0===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(x0=e)}}else ha()}function ha(){Ce(ot,ot.current),Ce(t0,t0.current)}function R0(e){Ye(t0),x0===e&&(x0=null),Ye(ot)}var ot=gt(0);function Bl(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var b2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},x2=i.unstable_scheduleCallback,S2=i.unstable_NormalPriority,ct={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Au(){return{controller:new b2,data:new Map,refCount:0}}function wn(e){e.refCount--,e.refCount===0&&x2(S2,function(){e.controller.abort()})}var An=null,Mu=0,Cr=0,_r=null;function T2(e,t){if(An===null){var r=An=[];Mu=0,Cr=Cs(),_r={status:"pending",value:void 0,then:function(l){r.push(l)}}}return Mu++,t.then(o1,o1),t}function o1(){if(--Mu===0&&An!==null){_r!==null&&(_r.status="fulfilled");var e=An;An=null,Cr=0,_r=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function w2(e,t){var r=[],l={status:"pending",value:null,reason:null,then:function(s){r.push(s)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var s=0;s<r.length;s++)(0,r[s])(t)},function(s){for(l.status="rejected",l.reason=s,s=0;s<r.length;s++)(0,r[s])(void 0)}),l}var c1=J.S;J.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&T2(e,t),c1!==null&&c1(e,t)};var Ia=gt(null);function zu(){var e=Ia.current;return e!==null?e:He.pooledCache}function Ol(e,t){t===null?Ce(Ia,Ia.current):Ce(Ia,t.pool)}function d1(){var e=zu();return e===null?null:{parent:ct._currentValue,pool:e}}var ma=0,xe=null,qe=null,rt=null,Rl=!1,qr=!1,Wa=!1,Ll=0,Mn=0,Br=null,A2=0;function et(){throw Error(u(321))}function ku(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Ht(e[r],t[r]))return!1;return!0}function Du(e,t,r,l,s,c){return ma=c,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e===null||e.memoizedState===null?er:pa,Wa=!1,c=r(l,s),Wa=!1,qr&&(c=h1(t,r,l,s)),f1(e),c}function f1(e){J.H=S0;var t=qe!==null&&qe.next!==null;if(ma=0,rt=qe=xe=null,Rl=!1,Mn=0,Br=null,t)throw Error(u(300));e===null||ht||(e=e.dependencies,e!==null&&Zl(e)&&(ht=!0))}function h1(e,t,r,l){xe=e;var s=0;do{if(qr&&(Br=null),Mn=0,qr=!1,25<=s)throw Error(u(301));if(s+=1,rt=qe=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}J.H=tr,c=t(r,l)}while(qr);return c}function M2(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?zn(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&&(xe.flags|=1024),t}function Nu(){var e=Ll!==0;return Ll=0,e}function Eu(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function Cu(e){if(Rl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Rl=!1}ma=0,rt=qe=xe=null,qr=!1,Mn=Ll=0,Br=null}function _t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?xe.memoizedState=rt=e:rt=rt.next=e,rt}function nt(){if(qe===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=rt===null?xe.memoizedState:rt.next;if(t!==null)rt=t,qe=e;else{if(e===null)throw xe.alternate===null?Error(u(467)):Error(u(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},rt===null?xe.memoizedState=rt=e:rt=rt.next=e}return rt}var Hl;Hl=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function zn(e){var t=Mn;return Mn+=1,Br===null&&(Br=[]),e=a1(Br,e,t),t=xe,(rt===null?t.memoizedState:rt.next)===null&&(t=t.alternate,J.H=t===null||t.memoizedState===null?er:pa),e}function Ul(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return zn(e);if(e.$$typeof===q)return St(e)}throw Error(u(438,String(e)))}function _u(e){var t=null,r=xe.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var l=xe.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=Hl(),xe.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0)for(r=t.data[t.index]=Array(e),l=0;l<e;l++)r[l]=fe;return t.index++,r}function L0(e,t){return typeof t=="function"?t(e):t}function jl(e){var t=nt();return qu(t,qe,e)}function qu(e,t,r){var l=e.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=r;var s=e.baseQueue,c=l.pending;if(c!==null){if(s!==null){var p=s.next;s.next=c.next,c.next=p}t.baseQueue=s=c,l.pending=null}if(c=e.baseState,s===null)e.memoizedState=c;else{t=s.next;var x=p=null,T=null,E=t,U=!1;do{var X=E.lane&-536870913;if(X!==E.lane?(Me&X)===X:(ma&X)===X){var R=E.revertLane;if(R===0)T!==null&&(T=T.next={lane:0,revertLane:0,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),X===Cr&&(U=!0);else if((ma&R)===R){E=E.next,R===Cr&&(U=!0);continue}else X={lane:0,revertLane:E.revertLane,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},T===null?(x=T=X,p=c):T=T.next=X,xe.lanes|=R,Aa|=R;X=E.action,Wa&&r(c,X),c=E.hasEagerState?E.eagerState:r(c,X)}else R={lane:X,revertLane:E.revertLane,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},T===null?(x=T=R,p=c):T=T.next=R,xe.lanes|=X,Aa|=X;E=E.next}while(E!==null&&E!==t);if(T===null?p=c:T.next=x,!Ht(c,e.memoizedState)&&(ht=!0,U&&(r=_r,r!==null)))throw r;e.memoizedState=c,e.baseState=p,e.baseQueue=T,l.lastRenderedState=c}return s===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Bu(e){var t=nt(),r=t.queue;if(r===null)throw Error(u(311));r.lastRenderedReducer=e;var l=r.dispatch,s=r.pending,c=t.memoizedState;if(s!==null){r.pending=null;var p=s=s.next;do c=e(c,p.action),p=p.next;while(p!==s);Ht(c,t.memoizedState)||(ht=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,l]}function m1(e,t,r){var l=xe,s=nt(),c=De;if(c){if(r===void 0)throw Error(u(407));r=r()}else r=t();var p=!Ht((qe||s).memoizedState,r);if(p&&(s.memoizedState=r,ht=!0),s=s.queue,Lu(v1.bind(null,l,s,e),[e]),s.getSnapshot!==t||p||rt!==null&&rt.memoizedState.tag&1){if(l.flags|=2048,Or(9,g1.bind(null,l,s,r,t),{destroy:void 0},null),He===null)throw Error(u(349));c||ma&60||p1(l,t,r)}return r}function p1(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=xe.updateQueue,t===null?(t=Hl(),xe.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function g1(e,t,r,l){t.value=r,t.getSnapshot=l,y1(t)&&b1(e)}function v1(e,t,r){return r(function(){y1(t)&&b1(e)})}function y1(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Ht(e,r)}catch{return!0}}function b1(e){var t=da(e,2);t!==null&&zt(t,e,2)}function Ou(e){var t=_t();if(typeof e=="function"){var r=e;if(e=r(),Wa){sa(!0);try{r()}finally{sa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:L0,lastRenderedState:e},t}function x1(e,t,r,l){return e.baseState=r,qu(e,qe,typeof l=="function"?l:L0)}function z2(e,t,r,l,s){if(Xl(e))throw Error(u(485));if(e=t.action,e!==null){var c={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};J.T!==null?r(!0):c.isTransition=!1,l(c),r=t.pending,r===null?(c.next=t.pending=c,S1(t,c)):(c.next=r.next,t.pending=r.next=c)}}function S1(e,t){var r=t.action,l=t.payload,s=e.state;if(t.isTransition){var c=J.T,p={};J.T=p;try{var x=r(s,l),T=J.S;T!==null&&T(p,x),T1(e,t,x)}catch(E){Ru(e,t,E)}finally{J.T=c}}else try{c=r(s,l),T1(e,t,c)}catch(E){Ru(e,t,E)}}function T1(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){w1(e,t,l)},function(l){return Ru(e,t,l)}):w1(e,t,r)}function w1(e,t,r){t.status="fulfilled",t.value=r,A1(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,S1(e,r)))}function Ru(e,t,r){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=r,A1(t),t=t.next;while(t!==l)}e.action=null}function A1(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function M1(e,t){return t}function z1(e,t){if(De){var r=He.formState;if(r!==null){e:{var l=xe;if(De){if(vt){t:{for(var s=vt,c=b0;s.nodeType!==8;){if(!c){s=null;break t}if(s=m0(s.nextSibling),s===null){s=null;break t}}c=s.data,s=c==="F!"||c==="F"?s:null}if(s){vt=m0(s.nextSibling),l=s.data==="F!";break e}}Pa(l)}l=!1}l&&(t=r[0])}}return r=_t(),r.memoizedState=r.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:M1,lastRenderedState:t},r.queue=l,r=Y1.bind(null,xe,l),l.dispatch=r,l=Ou(!1),c=Vu.bind(null,xe,!1,l.queue),l=_t(),s={state:t,dispatch:null,action:e,pending:null},l.queue=s,r=z2.bind(null,xe,s,c,r),s.dispatch=r,l.memoizedState=e,[t,r,!1]}function k1(e){var t=nt();return D1(t,qe,e)}function D1(e,t,r){t=qu(e,t,M1)[0],e=jl(L0)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?zn(t):t;var l=nt(),s=l.queue,c=s.dispatch;return r!==l.memoizedState&&(xe.flags|=2048,Or(9,k2.bind(null,s,r),{destroy:void 0},null)),[t,c,e]}function k2(e,t){e.action=t}function N1(e){var t=nt(),r=qe;if(r!==null)return D1(t,r,e);nt(),t=t.memoizedState,r=nt();var l=r.queue.dispatch;return r.memoizedState=e,[t,l,!1]}function Or(e,t,r,l){return e={tag:e,create:t,inst:r,deps:l,next:null},t=xe.updateQueue,t===null&&(t=Hl(),xe.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(l=r.next,r.next=e,e.next=l,t.lastEffect=e),e}function E1(){return nt().memoizedState}function Gl(e,t,r,l){var s=_t();xe.flags|=e,s.memoizedState=Or(1|t,r,{destroy:void 0},l===void 0?null:l)}function Vl(e,t,r,l){var s=nt();l=l===void 0?null:l;var c=s.memoizedState.inst;qe!==null&&l!==null&&ku(l,qe.memoizedState.deps)?s.memoizedState=Or(t,r,c,l):(xe.flags|=e,s.memoizedState=Or(1|t,r,c,l))}function C1(e,t){Gl(8390656,8,e,t)}function Lu(e,t){Vl(2048,8,e,t)}function _1(e,t){return Vl(4,2,e,t)}function q1(e,t){return Vl(4,4,e,t)}function B1(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function O1(e,t,r){r=r!=null?r.concat([e]):null,Vl(4,4,B1.bind(null,t,e),r)}function Hu(){}function R1(e,t){var r=nt();t=t===void 0?null:t;var l=r.memoizedState;return t!==null&&ku(t,l[1])?l[0]:(r.memoizedState=[e,t],e)}function L1(e,t){var r=nt();t=t===void 0?null:t;var l=r.memoizedState;if(t!==null&&ku(t,l[1]))return l[0];if(l=e(),Wa){sa(!0);try{e()}finally{sa(!1)}}return r.memoizedState=[l,t],l}function Uu(e,t,r){return r===void 0||ma&1073741824?e.memoizedState=t:(e.memoizedState=r,e=Ud(),xe.lanes|=e,Aa|=e,r)}function H1(e,t,r,l){return Ht(r,t)?r:Er.current!==null?(e=Uu(e,r,l),Ht(e,t)||(ht=!0),e):ma&42?(e=Ud(),xe.lanes|=e,Aa|=e,t):(ht=!0,e.memoizedState=r)}function U1(e,t,r,l,s){var c=Te.p;Te.p=c!==0&&8>c?c:8;var p=J.T,x={};J.T=x,Vu(e,!1,t,r);try{var T=s(),E=J.S;if(E!==null&&E(x,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var U=w2(T,l);kn(e,t,U,Vt(e))}else kn(e,t,l,Vt(e))}catch(X){kn(e,t,{then:function(){},status:"rejected",reason:X},Vt())}finally{Te.p=c,J.T=p}}function D2(){}function ju(e,t,r,l){if(e.tag!==5)throw Error(u(476));var s=j1(e).queue;U1(e,s,t,st,r===null?D2:function(){return G1(e),r(l)})}function j1(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:st,baseState:st,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:L0,lastRenderedState:st},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:L0,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function G1(e){var t=j1(e).next.queue;kn(e,t,{},Vt())}function Gu(){return St(Kn)}function V1(){return nt().memoizedState}function X1(){return nt().memoizedState}function N2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=Vt();e=ya(r);var l=ba(t,e,r);l!==null&&(zt(l,t,r),En(l,t,r)),t={cache:Au()},e.payload=t;return}t=t.return}}function E2(e,t,r){var l=Vt();r={lane:l,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},Xl(e)?F1(t,r):(r=vu(e,t,r,l),r!==null&&(zt(r,e,l),Z1(r,t,l)))}function Y1(e,t,r){var l=Vt();kn(e,t,r,l)}function kn(e,t,r,l){var s={lane:l,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(Xl(e))F1(t,s);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var p=t.lastRenderedState,x=c(p,r);if(s.hasEagerState=!0,s.eagerState=x,Ht(x,p))return zl(e,t,s,0),He===null&&Ml(),!1}catch{}finally{}if(r=vu(e,t,s,l),r!==null)return zt(r,e,l),Z1(r,t,l),!0}return!1}function Vu(e,t,r,l){if(l={lane:2,revertLane:Cs(),action:l,hasEagerState:!1,eagerState:null,next:null},Xl(e)){if(t)throw Error(u(479))}else t=vu(e,r,l,2),t!==null&&zt(t,e,2)}function Xl(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function F1(e,t){qr=Rl=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Z1(e,t,r){if(r&4194176){var l=t.lanes;l&=e.pendingLanes,r|=l,t.lanes=r,rc(e,r)}}var S0={readContext:St,use:Ul,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et};S0.useCacheRefresh=et,S0.useMemoCache=et,S0.useHostTransitionStatus=et,S0.useFormState=et,S0.useActionState=et,S0.useOptimistic=et;var er={readContext:St,use:Ul,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:St,useEffect:C1,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,Gl(4194308,4,B1.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Gl(4194308,4,e,t)},useInsertionEffect:function(e,t){Gl(4,2,e,t)},useMemo:function(e,t){var r=_t();t=t===void 0?null:t;var l=e();if(Wa){sa(!0);try{e()}finally{sa(!1)}}return r.memoizedState=[l,t],l},useReducer:function(e,t,r){var l=_t();if(r!==void 0){var s=r(t);if(Wa){sa(!0);try{r(t)}finally{sa(!1)}}}else s=t;return l.memoizedState=l.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},l.queue=e,e=e.dispatch=E2.bind(null,xe,e),[l.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:function(e){e=Ou(e);var t=e.queue,r=Y1.bind(null,xe,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Hu,useDeferredValue:function(e,t){var r=_t();return Uu(r,e,t)},useTransition:function(){var e=Ou(!1);return e=U1.bind(null,xe,e.queue,!0,!1),_t().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var l=xe,s=_t();if(De){if(r===void 0)throw Error(u(407));r=r()}else{if(r=t(),He===null)throw Error(u(349));Me&60||p1(l,t,r)}s.memoizedState=r;var c={value:r,getSnapshot:t};return s.queue=c,C1(v1.bind(null,l,c,e),[e]),l.flags|=2048,Or(9,g1.bind(null,l,c,r,t),{destroy:void 0},null),r},useId:function(){var e=_t(),t=He.identifierPrefix;if(De){var r=O0,l=B0;r=(l&~(1<<32-Lt(l)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ll++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=A2++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return _t().memoizedState=N2.bind(null,xe)}};er.useMemoCache=_u,er.useHostTransitionStatus=Gu,er.useFormState=z1,er.useActionState=z1,er.useOptimistic=function(e){var t=_t();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=Vu.bind(null,xe,!0,r),r.dispatch=t,[e,t]};var pa={readContext:St,use:Ul,useCallback:R1,useContext:St,useEffect:Lu,useImperativeHandle:O1,useInsertionEffect:_1,useLayoutEffect:q1,useMemo:L1,useReducer:jl,useRef:E1,useState:function(){return jl(L0)},useDebugValue:Hu,useDeferredValue:function(e,t){var r=nt();return H1(r,qe.memoizedState,e,t)},useTransition:function(){var e=jl(L0)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:zn(e),t]},useSyncExternalStore:m1,useId:V1};pa.useCacheRefresh=X1,pa.useMemoCache=_u,pa.useHostTransitionStatus=Gu,pa.useFormState=k1,pa.useActionState=k1,pa.useOptimistic=function(e,t){var r=nt();return x1(r,qe,e,t)};var tr={readContext:St,use:Ul,useCallback:R1,useContext:St,useEffect:Lu,useImperativeHandle:O1,useInsertionEffect:_1,useLayoutEffect:q1,useMemo:L1,useReducer:Bu,useRef:E1,useState:function(){return Bu(L0)},useDebugValue:Hu,useDeferredValue:function(e,t){var r=nt();return qe===null?Uu(r,e,t):H1(r,qe.memoizedState,e,t)},useTransition:function(){var e=Bu(L0)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:zn(e),t]},useSyncExternalStore:m1,useId:V1};tr.useCacheRefresh=X1,tr.useMemoCache=_u,tr.useHostTransitionStatus=Gu,tr.useFormState=N1,tr.useActionState=N1,tr.useOptimistic=function(e,t){var r=nt();return qe!==null?x1(r,qe,e,t):(r.baseState=e,[e,r.queue.dispatch])};function Xu(e,t,r,l){t=e.memoizedState,r=r(l,t),r=r==null?t:be({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Yu={isMounted:function(e){return(e=e._reactInternals)?ue(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var l=Vt(),s=ya(l);s.payload=t,r!=null&&(s.callback=r),t=ba(e,s,l),t!==null&&(zt(t,e,l),En(t,e,l))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var l=Vt(),s=ya(l);s.tag=1,s.payload=t,r!=null&&(s.callback=r),t=ba(e,s,l),t!==null&&(zt(t,e,l),En(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Vt(),l=ya(r);l.tag=2,t!=null&&(l.callback=t),t=ba(e,l,r),t!==null&&(zt(t,e,r),En(t,e,r))}};function K1(e,t,r,l,s,c,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,p):t.prototype&&t.prototype.isPureReactComponent?!mn(r,l)||!mn(s,c):!0}function Q1(e,t,r,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,l),t.state!==e&&Yu.enqueueReplaceState(t,t.state,null)}function ar(e,t){var r=t;if("ref"in t){r={};for(var l in t)l!=="ref"&&(r[l]=t[l])}if(e=e.defaultProps){r===t&&(r=be({},r));for(var s in e)r[s]===void 0&&(r[s]=e[s])}return r}var Yl=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)};function $1(e){Yl(e)}function P1(e){console.error(e)}function J1(e){Yl(e)}function Fl(e,t){try{var r=e.onUncaughtError;r(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function I1(e,t,r){try{var l=e.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Fu(e,t,r){return r=ya(r),r.tag=3,r.payload={element:null},r.callback=function(){Fl(e,t)},r}function W1(e){return e=ya(e),e.tag=3,e}function ed(e,t,r,l){var s=r.type.getDerivedStateFromError;if(typeof s=="function"){var c=l.value;e.payload=function(){return s(c)},e.callback=function(){I1(t,r,l)}}var p=r.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){I1(t,r,l),typeof s!="function"&&(Ma===null?Ma=new Set([this]):Ma.add(this));var x=l.stack;this.componentDidCatch(l.value,{componentStack:x!==null?x:""})})}function C2(e,t,r,l,s){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=r.alternate,t!==null&&Nn(t,r,s,!0),r=t0.current,r!==null){switch(r.tag){case 13:return x0===null?zs():r.alternate===null&&Je===0&&(Je=3),r.flags&=-257,r.flags|=65536,r.lanes=s,l===Su?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([l]):t.add(l),Ds(e,l,s)),!1;case 22:return r.flags|=65536,l===Su?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([l]):r.add(l)),Ds(e,l,s)),!1}throw Error(u(435,r.tag))}return Ds(e,l,s),zs(),!1}if(De)return t=t0.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=s,l!==xu&&(e=Error(u(422),{cause:l}),yn(It(e,r)))):(l!==xu&&(t=Error(u(423),{cause:l}),yn(It(t,r))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,l=It(l,r),s=Fu(e.stateNode,l,s),is(e,s),Je!==4&&(Je=2)),!1;var c=Error(u(520),{cause:l});if(c=It(c,r),Hn===null?Hn=[c]:Hn.push(c),Je!==4&&(Je=2),t===null)return!0;l=It(l,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=s&-s,r.lanes|=e,e=Fu(r.stateNode,l,e),is(r,e),!1;case 1:if(t=r.type,c=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Ma===null||!Ma.has(c))))return r.flags|=65536,s&=-s,r.lanes|=s,s=W1(s),ed(s,e,r,l),is(r,s),!1}r=r.return}while(r!==null);return!1}var td=Error(u(461)),ht=!1;function yt(e,t,r,l){t.child=e===null?i1(t,null,r,l):Ja(t,e.child,r,l)}function ad(e,t,r,l,s){r=r.render;var c=t.ref;if("ref"in l){var p={};for(var x in l)x!=="ref"&&(p[x]=l[x])}else p=l;return nr(t),l=Du(e,t,r,p,c,s),x=Nu(),e!==null&&!ht?(Eu(e,t,s),H0(e,t,s)):(De&&x&&yu(t),t.flags|=1,yt(e,t,l,s),t.child)}function rd(e,t,r,l,s){if(e===null){var c=r.type;return typeof c=="function"&&!ms(c)&&c.defaultProps===void 0&&r.compare===null?(t.tag=15,t.type=c,nd(e,t,c,l,s)):(e=Pl(r.type,null,l,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!es(e,s)){var p=c.memoizedProps;if(r=r.compare,r=r!==null?r:mn,r(p,l)&&e.ref===t.ref)return H0(e,t,s)}return t.flags|=1,e=wa(c,l),e.ref=t.ref,e.return=t,t.child=e}function nd(e,t,r,l,s){if(e!==null){var c=e.memoizedProps;if(mn(c,l)&&e.ref===t.ref)if(ht=!1,t.pendingProps=l=c,es(e,s))e.flags&131072&&(ht=!0);else return t.lanes=e.lanes,H0(e,t,s)}return Zu(e,t,r,l,s)}function ld(e,t,r){var l=t.pendingProps,s=l.children,c=(t.stateNode._pendingVisibility&2)!==0,p=e!==null?e.memoizedState:null;if(Dn(e,t),l.mode==="hidden"||c){if(t.flags&128){if(l=p!==null?p.baseLanes|r:r,e!==null){for(s=t.child=e.child,c=0;s!==null;)c=c|s.lanes|s.childLanes,s=s.sibling;t.childLanes=c&~l}else t.childLanes=0,t.child=null;return id(e,t,l,r)}if(r&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ol(t,p!==null?p.cachePool:null),p!==null?u1(t,p):Tu(),s1(t);else return t.lanes=t.childLanes=536870912,id(e,t,p!==null?p.baseLanes|r:r,r)}else p!==null?(Ol(t,p.cachePool),u1(t,p),ha(),t.memoizedState=null):(e!==null&&Ol(t,null),Tu(),ha());return yt(e,t,s,r),t.child}function id(e,t,r,l){var s=zu();return s=s===null?null:{parent:ct._currentValue,pool:s},t.memoizedState={baseLanes:r,cachePool:s},e!==null&&Ol(t,null),Tu(),s1(t),e!==null&&Nn(e,t,l,!0),null}function Dn(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=2097664);else{if(typeof r!="function"&&typeof r!="object")throw Error(u(284));(e===null||e.ref!==r)&&(t.flags|=2097664)}}function Zu(e,t,r,l,s){return nr(t),r=Du(e,t,r,l,void 0,s),l=Nu(),e!==null&&!ht?(Eu(e,t,s),H0(e,t,s)):(De&&l&&yu(t),t.flags|=1,yt(e,t,r,s),t.child)}function ud(e,t,r,l,s,c){return nr(t),t.updateQueue=null,r=h1(t,l,r,s),f1(e),l=Nu(),e!==null&&!ht?(Eu(e,t,c),H0(e,t,c)):(De&&l&&yu(t),t.flags|=1,yt(e,t,r,c),t.child)}function sd(e,t,r,l,s){if(nr(t),t.stateNode===null){var c=zr,p=r.contextType;typeof p=="object"&&p!==null&&(c=St(p)),c=new r(l,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Yu,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=l,c.state=t.memoizedState,c.refs={},ns(t),p=r.contextType,c.context=typeof p=="object"&&p!==null?St(p):zr,c.state=t.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(Xu(t,r,p,l),c.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&Yu.enqueueReplaceState(c,c.state,null),_n(t,l,c,s),Cn(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){c=t.stateNode;var x=t.memoizedProps,T=ar(r,x);c.props=T;var E=c.context,U=r.contextType;p=zr,typeof U=="object"&&U!==null&&(p=St(U));var X=r.getDerivedStateFromProps;U=typeof X=="function"||typeof c.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,U||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(x||E!==p)&&Q1(t,c,l,p),va=!1;var R=t.memoizedState;c.state=R,_n(t,l,c,s),Cn(),E=t.memoizedState,x||R!==E||va?(typeof X=="function"&&(Xu(t,r,X,l),E=t.memoizedState),(T=va||K1(t,r,T,l,R,E,p))?(U||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=E),c.props=l,c.state=E,c.context=p,l=T):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{c=t.stateNode,ls(e,t),p=t.memoizedProps,U=ar(r,p),c.props=U,X=t.pendingProps,R=c.context,E=r.contextType,T=zr,typeof E=="object"&&E!==null&&(T=St(E)),x=r.getDerivedStateFromProps,(E=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==X||R!==T)&&Q1(t,c,l,T),va=!1,R=t.memoizedState,c.state=R,_n(t,l,c,s),Cn();var H=t.memoizedState;p!==X||R!==H||va||e!==null&&e.dependencies!==null&&Zl(e.dependencies)?(typeof x=="function"&&(Xu(t,r,x,l),H=t.memoizedState),(U=va||K1(t,r,U,l,R,H,T)||e!==null&&e.dependencies!==null&&Zl(e.dependencies))?(E||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,H,T),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,H,T)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=H),c.props=l,c.state=H,c.context=T,l=U):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),l=!1)}return c=l,Dn(e,t),l=(t.flags&128)!==0,c||l?(c=t.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&l?(t.child=Ja(t,e.child,null,s),t.child=Ja(t,null,r,s)):yt(e,t,r,s),t.memoizedState=c.state,e=t.child):e=H0(e,t,s),e}function od(e,t,r,l){return vn(),t.flags|=256,yt(e,t,r,l),t.child}var Ku={dehydrated:null,treeContext:null,retryLane:0};function Qu(e){return{baseLanes:e,cachePool:d1()}}function $u(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=l0),e}function cd(e,t,r){var l=t.pendingProps,s=!1,c=(t.flags&128)!==0,p;if((p=c)||(p=e!==null&&e.memoizedState===null?!1:(ot.current&2)!==0),p&&(s=!0,t.flags&=-129),p=(t.flags&32)!==0,t.flags&=-33,e===null){if(De){if(s?fa(t):ha(),De){var x=vt,T;if(T=x){e:{for(T=x,x=b0;T.nodeType!==8;){if(!x){x=null;break e}if(T=m0(T.nextSibling),T===null){x=null;break e}}x=T}x!==null?(t.memoizedState={dehydrated:x,treeContext:Qa!==null?{id:B0,overflow:O0}:null,retryLane:536870912},T=n0(18,null,null,0),T.stateNode=x,T.return=t,t.child=T,Mt=t,vt=null,T=!0):T=!1}T||Pa(t)}if(x=t.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return x.data==="$!"?t.lanes=16:t.lanes=536870912,null;R0(t)}return x=l.children,l=l.fallback,s?(ha(),s=t.mode,x=Ju({mode:"hidden",children:x},s),l=ir(l,s,r,null),x.return=t,l.return=t,x.sibling=l,t.child=x,s=t.child,s.memoizedState=Qu(r),s.childLanes=$u(e,p,r),t.memoizedState=Ku,l):(fa(t),Pu(t,x))}if(T=e.memoizedState,T!==null&&(x=T.dehydrated,x!==null)){if(c)t.flags&256?(fa(t),t.flags&=-257,t=Iu(e,t,r)):t.memoizedState!==null?(ha(),t.child=e.child,t.flags|=128,t=null):(ha(),s=l.fallback,x=t.mode,l=Ju({mode:"visible",children:l.children},x),s=ir(s,x,r,null),s.flags|=2,l.return=t,s.return=t,l.sibling=s,t.child=l,Ja(t,e.child,null,r),l=t.child,l.memoizedState=Qu(r),l.childLanes=$u(e,p,r),t.memoizedState=Ku,t=s);else if(fa(t),x.data==="$!"){if(p=x.nextSibling&&x.nextSibling.dataset,p)var E=p.dgst;p=E,l=Error(u(419)),l.stack="",l.digest=p,yn({value:l,source:null,stack:null}),t=Iu(e,t,r)}else if(ht||Nn(e,t,r,!1),p=(r&e.childLanes)!==0,ht||p){if(p=He,p!==null){if(l=r&-r,l&42)l=1;else switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:l=64;break;case 268435456:l=134217728;break;default:l=0}if(l=l&(p.suspendedLanes|r)?0:l,l!==0&&l!==T.retryLane)throw T.retryLane=l,da(e,l),zt(p,e,l),td}x.data==="$?"||zs(),t=Iu(e,t,r)}else x.data==="$?"?(t.flags|=128,t.child=e.child,t=Z2.bind(null,e),x._reactRetry=t,t=null):(e=T.treeContext,vt=m0(x.nextSibling),Mt=t,De=!0,f0=null,b0=!1,e!==null&&(Wt[e0++]=B0,Wt[e0++]=O0,Wt[e0++]=Qa,B0=e.id,O0=e.overflow,Qa=t),t=Pu(t,l.children),t.flags|=4096);return t}return s?(ha(),s=l.fallback,x=t.mode,T=e.child,E=T.sibling,l=wa(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&31457280,E!==null?s=wa(E,s):(s=ir(s,x,r,null),s.flags|=2),s.return=t,l.return=t,l.sibling=s,t.child=l,l=s,s=t.child,x=e.child.memoizedState,x===null?x=Qu(r):(T=x.cachePool,T!==null?(E=ct._currentValue,T=T.parent!==E?{parent:E,pool:E}:T):T=d1(),x={baseLanes:x.baseLanes|r,cachePool:T}),s.memoizedState=x,s.childLanes=$u(e,p,r),t.memoizedState=Ku,l):(fa(t),r=e.child,e=r.sibling,r=wa(r,{mode:"visible",children:l.children}),r.return=t,r.sibling=null,e!==null&&(p=t.deletions,p===null?(t.deletions=[e],t.flags|=16):p.push(e)),t.child=r,t.memoizedState=null,r)}function Pu(e,t){return t=Ju({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ju(e,t){return Rd(e,t,0,null)}function Iu(e,t,r){return Ja(t,e.child,null,r),e=Pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function dd(e,t,r){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),as(e.return,t,r)}function Wu(e,t,r,l,s){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:s}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=l,c.tail=r,c.tailMode=s)}function fd(e,t,r){var l=t.pendingProps,s=l.revealOrder,c=l.tail;if(yt(e,t,l.children,r),l=ot.current,l&2)l=l&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&dd(e,r,t);else if(e.tag===19)dd(e,r,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}l&=1}switch(Ce(ot,l),s){case"forwards":for(r=t.child,s=null;r!==null;)e=r.alternate,e!==null&&Bl(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),Wu(t,!1,s,r,c);break;case"backwards":for(r=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Bl(e)===null){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}Wu(t,!0,r,null,c);break;case"together":Wu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function H0(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Aa|=t.lanes,!(r&t.childLanes))if(e!==null){if(Nn(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,r=wa(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=wa(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function es(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&Zl(e)))}function _2(e,t,r){switch(t.tag){case 3:ja(t,t.stateNode.containerInfo),ga(t,ct,e.memoizedState.cache),vn();break;case 27:case 5:Ga(t);break;case 4:ja(t,t.stateNode.containerInfo);break;case 10:ga(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(fa(t),t.flags|=128,null):r&t.child.childLanes?cd(e,t,r):(fa(t),e=H0(e,t,r),e!==null?e.sibling:null);fa(t);break;case 19:var s=(e.flags&128)!==0;if(l=(r&t.childLanes)!==0,l||(Nn(e,t,r,!1),l=(r&t.childLanes)!==0),s){if(l)return fd(e,t,r);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ce(ot,ot.current),l)break;return null;case 22:case 23:return t.lanes=0,ld(e,t,r);case 24:ga(t,ct,e.memoizedState.cache)}return H0(e,t,r)}function hd(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps)ht=!0;else{if(!es(e,r)&&!(t.flags&128))return ht=!1,_2(e,t,r);ht=!!(e.flags&131072)}else ht=!1,De&&t.flags&1048576&&Jc(t,Nl,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var l=t.elementType,s=l._init;if(l=s(l._payload),t.type=l,typeof l=="function")ms(l)?(e=ar(l,e),t.tag=1,t=sd(null,t,l,e,r)):(t.tag=0,t=Zu(null,t,l,e,r));else{if(l!=null){if(s=l.$$typeof,s===j){t.tag=11,t=ad(null,t,l,e,r);break e}else if(s===P){t.tag=14,t=rd(null,t,l,e,r);break e}}throw t=ze(l)||l,Error(u(306,t,""))}}return t;case 0:return Zu(e,t,t.type,t.pendingProps,r);case 1:return l=t.type,s=ar(l,t.pendingProps),sd(e,t,l,s,r);case 3:e:{if(ja(t,t.stateNode.containerInfo),e===null)throw Error(u(387));var c=t.pendingProps;s=t.memoizedState,l=s.element,ls(e,t),_n(t,c,null,r);var p=t.memoizedState;if(c=p.cache,ga(t,ct,c),c!==s.cache&&rs(t,[ct],r,!0),Cn(),c=p.element,s.isDehydrated)if(s={element:c,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=od(e,t,c,r);break e}else if(c!==l){l=It(Error(u(424)),t),yn(l),t=od(e,t,c,r);break e}else for(vt=m0(t.stateNode.containerInfo.firstChild),Mt=t,De=!0,f0=null,b0=!0,r=i1(t,null,c,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(vn(),c===l){t=H0(e,t,r);break e}yt(e,t,c,r)}t=t.child}return t;case 26:return Dn(e,t),e===null?(r=g4(t.type,null,t.pendingProps,null))?t.memoizedState=r:De||(r=t.type,e=t.pendingProps,l=si(v0.current).createElement(r),l[xt]=t,l[Et]=e,bt(l,r,e),ft(l),t.stateNode=l):t.memoizedState=g4(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ga(t),e===null&&De&&(l=t.stateNode=h4(t.type,t.pendingProps,v0.current),Mt=t,b0=!0,vt=m0(l.firstChild)),l=t.pendingProps.children,e!==null||De?yt(e,t,l,r):t.child=Ja(t,null,l,r),Dn(e,t),t.child;case 5:return e===null&&De&&((s=l=vt)&&(l=s3(l,t.type,t.pendingProps,b0),l!==null?(t.stateNode=l,Mt=t,vt=m0(l.firstChild),b0=!1,s=!0):s=!1),s||Pa(t)),Ga(t),s=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,l=c.children,js(s,c)?l=null:p!==null&&js(s,p)&&(t.flags|=32),t.memoizedState!==null&&(s=Du(e,t,M2,null,null,r),Kn._currentValue=s),Dn(e,t),yt(e,t,l,r),t.child;case 6:return e===null&&De&&((e=r=vt)&&(r=o3(r,t.pendingProps,b0),r!==null?(t.stateNode=r,Mt=t,vt=null,e=!0):e=!1),e||Pa(t)),null;case 13:return cd(e,t,r);case 4:return ja(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=Ja(t,null,l,r):yt(e,t,l,r),t.child;case 11:return ad(e,t,t.type,t.pendingProps,r);case 7:return yt(e,t,t.pendingProps,r),t.child;case 8:return yt(e,t,t.pendingProps.children,r),t.child;case 12:return yt(e,t,t.pendingProps.children,r),t.child;case 10:return l=t.pendingProps,ga(t,t.type,l.value),yt(e,t,l.children,r),t.child;case 9:return s=t.type._context,l=t.pendingProps.children,nr(t),s=St(s),l=l(s),t.flags|=1,yt(e,t,l,r),t.child;case 14:return rd(e,t,t.type,t.pendingProps,r);case 15:return nd(e,t,t.type,t.pendingProps,r);case 19:return fd(e,t,r);case 22:return ld(e,t,r);case 24:return nr(t),l=St(ct),e===null?(s=zu(),s===null&&(s=He,c=Au(),s.pooledCache=c,c.refCount++,c!==null&&(s.pooledCacheLanes|=r),s=c),t.memoizedState={parent:l,cache:s},ns(t),ga(t,ct,s)):(e.lanes&r&&(ls(e,t),_n(t,null,null,r),Cn()),s=e.memoizedState,c=t.memoizedState,s.parent!==l?(s={parent:l,cache:l},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),ga(t,ct,l)):(l=c.cache,ga(t,ct,l),l!==s.cache&&rs(t,[ct],r,!0))),yt(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}var ts=gt(null),rr=null,U0=null;function ga(e,t,r){Ce(ts,t._currentValue),t._currentValue=r}function j0(e){e._currentValue=ts.current,Ye(ts)}function as(e,t,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===r)break;e=e.return}}function rs(e,t,r,l){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var c=s.dependencies;if(c!==null){var p=s.child;c=c.firstContext;e:for(;c!==null;){var x=c;c=s;for(var T=0;T<t.length;T++)if(x.context===t[T]){c.lanes|=r,x=c.alternate,x!==null&&(x.lanes|=r),as(c.return,r,e),l||(p=null);break e}c=x.next}}else if(s.tag===18){if(p=s.return,p===null)throw Error(u(341));p.lanes|=r,c=p.alternate,c!==null&&(c.lanes|=r),as(p,r,e),p=null}else p=s.child;if(p!==null)p.return=s;else for(p=s;p!==null;){if(p===e){p=null;break}if(s=p.sibling,s!==null){s.return=p.return,p=s;break}p=p.return}s=p}}function Nn(e,t,r,l){e=null;for(var s=t,c=!1;s!==null;){if(!c){if(s.flags&524288)c=!0;else if(s.flags&262144)break}if(s.tag===10){var p=s.alternate;if(p===null)throw Error(u(387));if(p=p.memoizedProps,p!==null){var x=s.type;Ht(s.pendingProps.value,p.value)||(e!==null?e.push(x):e=[x])}}else if(s===ia.current){if(p=s.alternate,p===null)throw Error(u(387));p.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Kn):e=[Kn])}s=s.return}e!==null&&rs(t,e,r,l),t.flags|=262144}function Zl(e){for(e=e.firstContext;e!==null;){if(!Ht(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function nr(e){rr=e,U0=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function St(e){return md(rr,e)}function Kl(e,t){return rr===null&&nr(e),md(e,t)}function md(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},U0===null){if(e===null)throw Error(u(308));U0=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else U0=U0.next=t;return r}var va=!1;function ns(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ls(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 ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ba(e,t,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,Ze&2){var s=l.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),l.pending=t,t=kl(e),$c(e,null,r),t}return zl(e,l,t,r),kl(e)}function En(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194176)!==0)){var l=t.lanes;l&=e.pendingLanes,r|=l,t.lanes=r,rc(e,r)}}function is(e,t){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var s=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var p={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};c===null?s=c=p:c=c.next=p,r=r.next}while(r!==null);c===null?s=c=t:c=c.next=t}else s=c=t;r={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var us=!1;function Cn(){if(us){var e=_r;if(e!==null)throw e}}function _n(e,t,r,l){us=!1;var s=e.updateQueue;va=!1;var c=s.firstBaseUpdate,p=s.lastBaseUpdate,x=s.shared.pending;if(x!==null){s.shared.pending=null;var T=x,E=T.next;T.next=null,p===null?c=E:p.next=E,p=T;var U=e.alternate;U!==null&&(U=U.updateQueue,x=U.lastBaseUpdate,x!==p&&(x===null?U.firstBaseUpdate=E:x.next=E,U.lastBaseUpdate=T))}if(c!==null){var X=s.baseState;p=0,U=E=T=null,x=c;do{var R=x.lane&-536870913,H=R!==x.lane;if(H?(Me&R)===R:(l&R)===R){R!==0&&R===Cr&&(us=!0),U!==null&&(U=U.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var re=e,ge=x;R=t;var Ie=r;switch(ge.tag){case 1:if(re=ge.payload,typeof re=="function"){X=re.call(Ie,X,R);break e}X=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=ge.payload,R=typeof re=="function"?re.call(Ie,X,R):re,R==null)break e;X=be({},X,R);break e;case 2:va=!0}}R=x.callback,R!==null&&(e.flags|=64,H&&(e.flags|=8192),H=s.callbacks,H===null?s.callbacks=[R]:H.push(R))}else H={lane:R,tag:x.tag,payload:x.payload,callback:x.callback,next:null},U===null?(E=U=H,T=X):U=U.next=H,p|=R;if(x=x.next,x===null){if(x=s.shared.pending,x===null)break;H=x,x=H.next,H.next=null,s.lastBaseUpdate=H,s.shared.pending=null}}while(!0);U===null&&(T=X),s.baseState=T,s.firstBaseUpdate=E,s.lastBaseUpdate=U,c===null&&(s.shared.lanes=0),Aa|=p,e.lanes=p,e.memoizedState=X}}function pd(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function gd(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)pd(r[e],t)}function qn(e,t){try{var r=t.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var s=l.next;r=s;do{if((r.tag&e)===e){l=void 0;var c=r.create,p=r.inst;l=c(),p.destroy=l}r=r.next}while(r!==s)}}catch(x){Oe(t,t.return,x)}}function xa(e,t,r){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var c=s.next;l=c;do{if((l.tag&e)===e){var p=l.inst,x=p.destroy;if(x!==void 0){p.destroy=void 0,s=t;var T=r;try{x()}catch(E){Oe(s,T,E)}}}l=l.next}while(l!==c)}}catch(E){Oe(t,t.return,E)}}function vd(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{gd(t,r)}catch(l){Oe(e,e.return,l)}}}function yd(e,t,r){r.props=ar(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){Oe(e,t,l)}}function lr(e,t){try{var r=e.ref;if(r!==null){var l=e.stateNode;switch(e.tag){case 26:case 27:case 5:var s=l;break;default:s=l}typeof r=="function"?e.refCleanup=r(s):r.current=s}}catch(c){Oe(e,t,c)}}function Ut(e,t){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(s){Oe(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(s){Oe(e,t,s)}else r.current=null}function bd(e){var t=e.type,r=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(s){Oe(e,e.return,s)}}function xd(e,t,r){try{var l=e.stateNode;r3(l,e.type,r,t),l[Et]=t}catch(s){Oe(e,e.return,s)}}function Sd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function ss(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function os(e,t,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ui));else if(l!==4&&l!==27&&(e=e.child,e!==null))for(os(e,t,r),e=e.sibling;e!==null;)os(e,t,r),e=e.sibling}function Ql(e,t,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(l!==4&&l!==27&&(e=e.child,e!==null))for(Ql(e,t,r),e=e.sibling;e!==null;)Ql(e,t,r),e=e.sibling}var G0=!1,Pe=!1,cs=!1,Td=typeof WeakSet=="function"?WeakSet:Set,mt=null,wd=!1;function q2(e,t){if(e=e.containerInfo,Hs=mi,e=jc(e),fu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var s=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var p=0,x=-1,T=-1,E=0,U=0,X=e,R=null;t:for(;;){for(var H;X!==r||s!==0&&X.nodeType!==3||(x=p+s),X!==c||l!==0&&X.nodeType!==3||(T=p+l),X.nodeType===3&&(p+=X.nodeValue.length),(H=X.firstChild)!==null;)R=X,X=H;for(;;){if(X===e)break t;if(R===r&&++E===s&&(x=p),R===c&&++U===l&&(T=p),(H=X.nextSibling)!==null)break;X=R,R=X.parentNode}X=H}r=x===-1||T===-1?null:{start:x,end:T}}else r=null}r=r||{start:0,end:0}}else r=null;for(Us={focusedElem:e,selectionRange:r},mi=!1,mt=t;mt!==null;)if(t=mt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,mt=e;else for(;mt!==null;){switch(t=mt,c=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&c!==null){e=void 0,r=t,s=c.memoizedProps,c=c.memoizedState,l=r.stateNode;try{var re=ar(r.type,s,r.elementType===r.type);e=l.getSnapshotBeforeUpdate(re,c),l.__reactInternalSnapshotBeforeUpdate=e}catch(ge){Oe(r,r.return,ge)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,r=e.nodeType,r===9)Xs(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,mt=e;break}mt=t.return}return re=wd,wd=!1,re}function Ad(e,t,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:X0(e,r),l&4&&qn(5,r);break;case 1:if(X0(e,r),l&4)if(e=r.stateNode,t===null)try{e.componentDidMount()}catch(x){Oe(r,r.return,x)}else{var s=ar(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(x){Oe(r,r.return,x)}}l&64&&vd(r),l&512&&lr(r,r.return);break;case 3:if(X0(e,r),l&64&&(l=r.updateQueue,l!==null)){if(e=null,r.child!==null)switch(r.child.tag){case 27:case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}try{gd(l,e)}catch(x){Oe(r,r.return,x)}}break;case 26:X0(e,r),l&512&&lr(r,r.return);break;case 27:case 5:X0(e,r),t===null&&l&4&&bd(r),l&512&&lr(r,r.return);break;case 12:X0(e,r);break;case 13:X0(e,r),l&4&&kd(e,r);break;case 22:if(s=r.memoizedState!==null||G0,!s){t=t!==null&&t.memoizedState!==null||Pe;var c=G0,p=Pe;G0=s,(Pe=t)&&!p?Sa(e,r,(r.subtreeFlags&8772)!==0):X0(e,r),G0=c,Pe=p}l&512&&(r.memoizedProps.mode==="manual"?lr(r,r.return):Ut(r,r.return));break;default:X0(e,r)}}function Md(e){var t=e.alternate;t!==null&&(e.alternate=null,Md(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Pi(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 lt=null,jt=!1;function V0(e,t,r){for(r=r.child;r!==null;)zd(e,t,r),r=r.sibling}function zd(e,t,r){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(tn,r)}catch{}switch(r.tag){case 26:Pe||Ut(r,t),V0(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Pe||Ut(r,t);var l=lt,s=jt;for(lt=r.stateNode,V0(e,t,r),r=r.stateNode,t=r.attributes;t.length;)r.removeAttributeNode(t[0]);Pi(r),lt=l,jt=s;break;case 5:Pe||Ut(r,t);case 6:s=lt;var c=jt;if(lt=null,V0(e,t,r),lt=s,jt=c,lt!==null)if(jt)try{e=lt,l=r.stateNode,e.nodeType===8?e.parentNode.removeChild(l):e.removeChild(l)}catch(p){Oe(r,t,p)}else try{lt.removeChild(r.stateNode)}catch(p){Oe(r,t,p)}break;case 18:lt!==null&&(jt?(t=lt,r=r.stateNode,t.nodeType===8?Vs(t.parentNode,r):t.nodeType===1&&Vs(t,r),Jn(t)):Vs(lt,r.stateNode));break;case 4:l=lt,s=jt,lt=r.stateNode.containerInfo,jt=!0,V0(e,t,r),lt=l,jt=s;break;case 0:case 11:case 14:case 15:Pe||xa(2,r,t),Pe||xa(4,r,t),V0(e,t,r);break;case 1:Pe||(Ut(r,t),l=r.stateNode,typeof l.componentWillUnmount=="function"&&yd(r,t,l)),V0(e,t,r);break;case 21:V0(e,t,r);break;case 22:Pe||Ut(r,t),Pe=(l=Pe)||r.memoizedState!==null,V0(e,t,r),Pe=l;break;default:V0(e,t,r)}}function kd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Jn(e)}catch(r){Oe(t,t.return,r)}}function B2(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Td),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Td),t;default:throw Error(u(435,e.tag))}}function ds(e,t){var r=B2(e);t.forEach(function(l){var s=K2.bind(null,e,l);r.has(l)||(r.add(l),l.then(s,s))})}function a0(e,t){var r=t.deletions;if(r!==null)for(var l=0;l<r.length;l++){var s=r[l],c=e,p=t,x=p;e:for(;x!==null;){switch(x.tag){case 27:case 5:lt=x.stateNode,jt=!1;break e;case 3:lt=x.stateNode.containerInfo,jt=!0;break e;case 4:lt=x.stateNode.containerInfo,jt=!0;break e}x=x.return}if(lt===null)throw Error(u(160));zd(c,p,s),lt=null,jt=!1,c=s.alternate,c!==null&&(c.return=null),s.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Dd(t,e),t=t.sibling}var h0=null;function Dd(e,t){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:a0(t,e),r0(e),l&4&&(xa(3,e,e.return),qn(3,e),xa(5,e,e.return));break;case 1:a0(t,e),r0(e),l&512&&(Pe||r===null||Ut(r,r.return)),l&64&&G0&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var s=h0;if(a0(t,e),r0(e),l&512&&(Pe||r===null||Ut(r,r.return)),l&4){var c=r!==null?r.memoizedState:null;if(l=e.memoizedState,r===null)if(l===null)if(e.stateNode===null){e:{l=e.type,r=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":c=s.getElementsByTagName("title")[0],(!c||c[nn]||c[xt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=s.createElement(l),s.head.insertBefore(c,s.querySelector("head > title"))),bt(c,l,r),c[xt]=e,ft(c),l=c;break e;case"link":var p=b4("link","href",s).get(l+(r.href||""));if(p){for(var x=0;x<p.length;x++)if(c=p[x],c.getAttribute("href")===(r.href==null?null:r.href)&&c.getAttribute("rel")===(r.rel==null?null:r.rel)&&c.getAttribute("title")===(r.title==null?null:r.title)&&c.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){p.splice(x,1);break t}}c=s.createElement(l),bt(c,l,r),s.head.appendChild(c);break;case"meta":if(p=b4("meta","content",s).get(l+(r.content||""))){for(x=0;x<p.length;x++)if(c=p[x],c.getAttribute("content")===(r.content==null?null:""+r.content)&&c.getAttribute("name")===(r.name==null?null:r.name)&&c.getAttribute("property")===(r.property==null?null:r.property)&&c.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&c.getAttribute("charset")===(r.charSet==null?null:r.charSet)){p.splice(x,1);break t}}c=s.createElement(l),bt(c,l,r),s.head.appendChild(c);break;default:throw Error(u(468,l))}c[xt]=e,ft(c),l=c}e.stateNode=l}else x4(s,e.type,e.stateNode);else e.stateNode=y4(s,l,e.memoizedProps);else c!==l?(c===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):c.count--,l===null?x4(s,e.type,e.stateNode):y4(s,l,e.memoizedProps)):l===null&&e.stateNode!==null&&xd(e,e.memoizedProps,r.memoizedProps)}break;case 27:if(l&4&&e.alternate===null){s=e.stateNode,c=e.memoizedProps;try{for(var T=s.firstChild;T;){var E=T.nextSibling,U=T.nodeName;T[nn]||U==="HEAD"||U==="BODY"||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&T.rel.toLowerCase()==="stylesheet"||s.removeChild(T),T=E}for(var X=e.type,R=s.attributes;R.length;)s.removeAttributeNode(R[0]);bt(s,X,c),s[xt]=e,s[Et]=c}catch(re){Oe(e,e.return,re)}}case 5:if(a0(t,e),r0(e),l&512&&(Pe||r===null||Ut(r,r.return)),e.flags&32){s=e.stateNode;try{br(s,"")}catch(re){Oe(e,e.return,re)}}l&4&&e.stateNode!=null&&(s=e.memoizedProps,xd(e,s,r!==null?r.memoizedProps:s)),l&1024&&(cs=!0);break;case 6:if(a0(t,e),r0(e),l&4){if(e.stateNode===null)throw Error(u(162));l=e.memoizedProps,r=e.stateNode;try{r.nodeValue=l}catch(re){Oe(e,e.return,re)}}break;case 3:if(di=null,s=h0,h0=oi(t.containerInfo),a0(t,e),h0=s,r0(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{Jn(t.containerInfo)}catch(re){Oe(e,e.return,re)}cs&&(cs=!1,Nd(e));break;case 4:l=h0,h0=oi(e.stateNode.containerInfo),a0(t,e),r0(e),h0=l;break;case 12:a0(t,e),r0(e);break;case 13:a0(t,e),r0(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(xs=y0()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,ds(e,l)));break;case 22:if(l&512&&(Pe||r===null||Ut(r,r.return)),T=e.memoizedState!==null,E=r!==null&&r.memoizedState!==null,U=G0,X=Pe,G0=U||T,Pe=X||E,a0(t,e),Pe=X,G0=U,r0(e),t=e.stateNode,t._current=e,t._visibility&=-3,t._visibility|=t._pendingVisibility&2,l&8192&&(t._visibility=T?t._visibility&-2:t._visibility|1,T&&(t=G0||Pe,r===null||E||t||Rr(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(r=null,t=e;;){if(t.tag===5||t.tag===26||t.tag===27){if(r===null){E=r=t;try{if(s=E.stateNode,T)c=s.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{p=E.stateNode,x=E.memoizedProps.style;var H=x!=null&&x.hasOwnProperty("display")?x.display:null;p.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(re){Oe(E,E.return,re)}}}else if(t.tag===6){if(r===null){E=t;try{E.stateNode.nodeValue=T?"":E.memoizedProps}catch(re){Oe(E,E.return,re)}}}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;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,ds(e,r))));break;case 19:a0(t,e),r0(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,ds(e,l)));break;case 21:break;default:a0(t,e),r0(e)}}function r0(e){var t=e.flags;if(t&2){try{if(e.tag!==27){e:{for(var r=e.return;r!==null;){if(Sd(r)){var l=r;break e}r=r.return}throw Error(u(160))}switch(l.tag){case 27:var s=l.stateNode,c=ss(e);Ql(e,c,s);break;case 5:var p=l.stateNode;l.flags&32&&(br(p,""),l.flags&=-33);var x=ss(e);Ql(e,x,p);break;case 3:case 4:var T=l.stateNode.containerInfo,E=ss(e);os(e,E,T);break;default:throw Error(u(161))}}}catch(U){Oe(e,e.return,U)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function X0(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Ad(e,t.alternate,t),t=t.sibling}function Rr(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:xa(4,t,t.return),Rr(t);break;case 1:Ut(t,t.return);var r=t.stateNode;typeof r.componentWillUnmount=="function"&&yd(t,t.return,r),Rr(t);break;case 26:case 27:case 5:Ut(t,t.return),Rr(t);break;case 22:Ut(t,t.return),t.memoizedState===null&&Rr(t);break;default:Rr(t)}e=e.sibling}}function Sa(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,s=e,c=t,p=c.flags;switch(c.tag){case 0:case 11:case 15:Sa(s,c,r),qn(4,c);break;case 1:if(Sa(s,c,r),l=c,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(E){Oe(l,l.return,E)}if(l=c,s=l.updateQueue,s!==null){var x=l.stateNode;try{var T=s.shared.hiddenCallbacks;if(T!==null)for(s.shared.hiddenCallbacks=null,s=0;s<T.length;s++)pd(T[s],x)}catch(E){Oe(l,l.return,E)}}r&&p&64&&vd(c),lr(c,c.return);break;case 26:case 27:case 5:Sa(s,c,r),r&&l===null&&p&4&&bd(c),lr(c,c.return);break;case 12:Sa(s,c,r);break;case 13:Sa(s,c,r),r&&p&4&&kd(s,c);break;case 22:c.memoizedState===null&&Sa(s,c,r),lr(c,c.return);break;default:Sa(s,c,r)}t=t.sibling}}function fs(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&wn(r))}function hs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wn(e))}function Ta(e,t,r,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ed(e,t,r,l),t=t.sibling}function Ed(e,t,r,l){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Ta(e,t,r,l),s&2048&&qn(9,t);break;case 3:Ta(e,t,r,l),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wn(e)));break;case 12:if(s&2048){Ta(e,t,r,l),e=t.stateNode;try{var c=t.memoizedProps,p=c.id,x=c.onPostCommit;typeof x=="function"&&x(p,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){Oe(t,t.return,T)}}else Ta(e,t,r,l);break;case 23:break;case 22:c=t.stateNode,t.memoizedState!==null?c._visibility&4?Ta(e,t,r,l):Bn(e,t):c._visibility&4?Ta(e,t,r,l):(c._visibility|=4,Lr(e,t,r,l,(t.subtreeFlags&10256)!==0)),s&2048&&fs(t.alternate,t);break;case 24:Ta(e,t,r,l),s&2048&&hs(t.alternate,t);break;default:Ta(e,t,r,l)}}function Lr(e,t,r,l,s){for(s=s&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var c=e,p=t,x=r,T=l,E=p.flags;switch(p.tag){case 0:case 11:case 15:Lr(c,p,x,T,s),qn(8,p);break;case 23:break;case 22:var U=p.stateNode;p.memoizedState!==null?U._visibility&4?Lr(c,p,x,T,s):Bn(c,p):(U._visibility|=4,Lr(c,p,x,T,s)),s&&E&2048&&fs(p.alternate,p);break;case 24:Lr(c,p,x,T,s),s&&E&2048&&hs(p.alternate,p);break;default:Lr(c,p,x,T,s)}t=t.sibling}}function Bn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,l=t,s=l.flags;switch(l.tag){case 22:Bn(r,l),s&2048&&fs(l.alternate,l);break;case 24:Bn(r,l),s&2048&&hs(l.alternate,l);break;default:Bn(r,l)}t=t.sibling}}var On=8192;function Hr(e){if(e.subtreeFlags&On)for(e=e.child;e!==null;)Cd(e),e=e.sibling}function Cd(e){switch(e.tag){case 26:Hr(e),e.flags&On&&e.memoizedState!==null&&T3(h0,e.memoizedState,e.memoizedProps);break;case 5:Hr(e);break;case 3:case 4:var t=h0;h0=oi(e.stateNode.containerInfo),Hr(e),h0=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=On,On=16777216,Hr(e),On=t):Hr(e));break;default:Hr(e)}}function _d(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 Rn(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];mt=l,Bd(l,e)}_d(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qd(e),e=e.sibling}function qd(e){switch(e.tag){case 0:case 11:case 15:Rn(e),e.flags&2048&&xa(9,e,e.return);break;case 3:Rn(e);break;case 12:Rn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&4&&(e.return===null||e.return.tag!==13)?(t._visibility&=-5,$l(e)):Rn(e);break;default:Rn(e)}}function $l(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];mt=l,Bd(l,e)}_d(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:xa(8,t,t.return),$l(t);break;case 22:r=t.stateNode,r._visibility&4&&(r._visibility&=-5,$l(t));break;default:$l(t)}e=e.sibling}}function Bd(e,t){for(;mt!==null;){var r=mt;switch(r.tag){case 0:case 11:case 15:xa(8,r,t);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:wn(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,mt=l;else e:for(r=e;mt!==null;){l=mt;var s=l.sibling,c=l.return;if(Md(l),l===r){mt=null;break e}if(s!==null){s.return=c,mt=s;break e}mt=c}}}function O2(e,t,r,l){this.tag=e,this.key=r,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function n0(e,t,r,l){return new O2(e,t,r,l)}function ms(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wa(e,t){var r=e.alternate;return r===null?(r=n0(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&31457280,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Od(e,t){e.flags&=31457282;var r=e.alternate;return r===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=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Pl(e,t,r,l,s,c){var p=0;if(l=e,typeof e=="function")ms(e)&&(p=1);else if(typeof e=="string")p=x3(e,r,Qt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case y:return ir(r.children,s,c,t);case S:p=8,s|=24;break;case z:return e=n0(12,r,t,s|2),e.elementType=z,e.lanes=c,e;case L:return e=n0(13,r,t,s),e.elementType=L,e.lanes=c,e;case Q:return e=n0(19,r,t,s),e.elementType=Q,e.lanes=c,e;case ne:return Rd(r,s,c,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case N:case q:p=10;break e;case _:p=9;break e;case j:p=11;break e;case P:p=14;break e;case te:p=16,l=null;break e}p=29,r=Error(u(130,e===null?"null":typeof e,"")),l=null}return t=n0(p,r,t,s),t.elementType=e,t.type=l,t.lanes=c,t}function ir(e,t,r,l){return e=n0(7,e,l,t),e.lanes=r,e}function Rd(e,t,r,l){e=n0(22,e,l,t),e.elementType=ne,e.lanes=r;var s={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var c=s._current;if(c===null)throw Error(u(456));if(!(s._pendingVisibility&2)){var p=da(c,2);p!==null&&(s._pendingVisibility|=2,zt(p,c,2))}},attach:function(){var c=s._current;if(c===null)throw Error(u(456));if(s._pendingVisibility&2){var p=da(c,2);p!==null&&(s._pendingVisibility&=-3,zt(p,c,2))}}};return e.stateNode=s,e}function ps(e,t,r){return e=n0(6,e,null,t),e.lanes=r,e}function gs(e,t,r){return t=n0(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Y0(e){e.flags|=4}function Ld(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!S4(t)){if(t=t0.current,t!==null&&((Me&4194176)===Me?x0!==null:(Me&62914560)!==Me&&!(Me&536870912)||t!==x0))throw xn=Su,e1;e.flags|=8192}}function Jl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?tc():536870912,e.lanes|=t,jr|=t)}function Ln(e,t){if(!De)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(t)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,l|=s.subtreeFlags&31457280,l|=s.flags&31457280,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=r,t}function R2(e,t,r){var l=t.pendingProps;switch(bu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return Fe(t),null;case 3:return r=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),j0(ct),E0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(gn(t)?Y0(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,f0!==null&&(As(f0),f0=null))),Fe(t),null;case 26:return r=t.memoizedState,e===null?(Y0(t),r!==null?(Fe(t),Ld(t,r)):(Fe(t),t.flags&=-16777217)):r?r!==e.memoizedState?(Y0(t),Fe(t),Ld(t,r)):(Fe(t),t.flags&=-16777217):(e.memoizedProps!==l&&Y0(t),Fe(t),t.flags&=-16777217),null;case 27:C0(t),r=v0.current;var s=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Y0(t);else{if(!l){if(t.stateNode===null)throw Error(u(166));return Fe(t),null}e=Qt.current,gn(t)?Ic(t):(e=h4(s,l,r),t.stateNode=e,Y0(t))}return Fe(t),null;case 5:if(C0(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Y0(t);else{if(!l){if(t.stateNode===null)throw Error(u(166));return Fe(t),null}if(e=Qt.current,gn(t))Ic(t);else{switch(s=si(v0.current),e){case 1:e=s.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:e=s.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":e=s.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":e=s.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof l.is=="string"?s.createElement("select",{is:l.is}):s.createElement("select"),l.multiple?e.multiple=!0:l.size&&(e.size=l.size);break;default:e=typeof l.is=="string"?s.createElement(r,{is:l.is}):s.createElement(r)}}e[xt]=t,e[Et]=l;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=e;e:switch(bt(e,r,l),r){case"button":case"input":case"select":case"textarea":e=!!l.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Y0(t)}}return Fe(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Y0(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(u(166));if(e=v0.current,gn(t)){if(e=t.stateNode,r=t.memoizedProps,l=null,s=Mt,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}e[xt]=t,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||u4(e.nodeValue,r)),e||Pa(t)}else e=si(e).createTextNode(l),e[xt]=t,t.stateNode=e}return Fe(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=gn(t),l!==null&&l.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[xt]=t}else vn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Fe(t),s=!1}else f0!==null&&(As(f0),f0=null),s=!0;if(!s)return t.flags&256?(R0(t),t):(R0(t),null)}if(R0(t),t.flags&128)return t.lanes=r,t;if(r=l!==null,e=e!==null&&e.memoizedState!==null,r){l=t.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool);var c=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==s&&(l.flags|=2048)}return r!==e&&r&&(t.child.flags|=8192),Jl(t,t.updateQueue),Fe(t),null;case 4:return E0(),e===null&&Os(t.stateNode.containerInfo),Fe(t),null;case 10:return j0(t.type),Fe(t),null;case 19:if(Ye(ot),s=t.memoizedState,s===null)return Fe(t),null;if(l=(t.flags&128)!==0,c=s.rendering,c===null)if(l)Ln(s,!1);else{if(Je!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=Bl(e),c!==null){for(t.flags|=128,Ln(s,!1),e=c.updateQueue,t.updateQueue=e,Jl(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)Od(r,e),r=r.sibling;return Ce(ot,ot.current&1|2),t.child}e=e.sibling}s.tail!==null&&y0()>Il&&(t.flags|=128,l=!0,Ln(s,!1),t.lanes=4194304)}else{if(!l)if(e=Bl(c),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Jl(t,e),Ln(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!De)return Fe(t),null}else 2*y0()-s.renderingStartTime>Il&&r!==536870912&&(t.flags|=128,l=!0,Ln(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(e=s.last,e!==null?e.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=y0(),t.sibling=null,e=ot.current,Ce(ot,l?e&1|2:e&1),t):(Fe(t),null);case 22:case 23:return R0(t),wu(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?r&536870912&&!(t.flags&128)&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),r=t.updateQueue,r!==null&&Jl(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==r&&(t.flags|=2048),e!==null&&Ye(Ia),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),j0(ct),Fe(t),null;case 25:return null}throw Error(u(156,t.tag))}function L2(e,t){switch(bu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return j0(ct),E0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return C0(t),null;case 13:if(R0(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ye(ot),null;case 4:return E0(),null;case 10:return j0(t.type),null;case 22:case 23:return R0(t),wu(),e!==null&&Ye(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return j0(ct),null;case 25:return null;default:return null}}function Hd(e,t){switch(bu(t),t.tag){case 3:j0(ct),E0();break;case 26:case 27:case 5:C0(t);break;case 4:E0();break;case 13:R0(t);break;case 19:Ye(ot);break;case 10:j0(t.type);break;case 22:case 23:R0(t),wu(),e!==null&&Ye(Ia);break;case 24:j0(ct)}}var H2={getCacheForType:function(e){var t=St(ct),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r}},U2=typeof WeakMap=="function"?WeakMap:Map,Ze=0,He=null,we=null,Me=0,Ue=0,Gt=null,F0=!1,Ur=!1,vs=!1,Z0=0,Je=0,Aa=0,ur=0,ys=0,l0=0,jr=0,Hn=null,T0=null,bs=!1,xs=0,Il=1/0,Wl=null,Ma=null,ei=!1,sr=null,Un=0,Ss=0,Ts=null,jn=0,ws=null;function Vt(){if(Ze&2&&Me!==0)return Me&-Me;if(J.T!==null){var e=Cr;return e!==0?e:Cs()}return lc()}function Ud(){l0===0&&(l0=!(Me&536870912)||De?ec():536870912);var e=t0.current;return e!==null&&(e.flags|=32),l0}function zt(e,t,r){(e===He&&Ue===2||e.cancelPendingCommit!==null)&&(Gr(e,0),K0(e,Me,l0,!1)),rn(e,r),(!(Ze&2)||e!==He)&&(e===He&&(!(Ze&2)&&(ur|=r),Je===4&&K0(e,Me,l0,!1)),w0(e))}function jd(e,t,r){if(Ze&6)throw Error(u(327));var l=!r&&(t&60)===0&&(t&e.expiredLanes)===0||an(e,t),s=l?V2(e,t):ks(e,t,!0),c=l;do{if(s===0){Ur&&!l&&K0(e,t,0,!1);break}else if(s===6)K0(e,t,0,!F0);else{if(r=e.current.alternate,c&&!j2(r)){s=ks(e,t,!1),c=!1;continue}if(s===2){if(c=t,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{var x=e;s=Hn;var T=x.current.memoizedState.isDehydrated;if(T&&(Gr(x,p).flags|=256),p=ks(x,p,!1),p!==2){if(vs&&!T){x.errorRecoveryDisabledLanes|=c,ur|=c,s=4;break e}c=T0,T0=s,c!==null&&As(c)}s=p}if(c=!1,s!==2)continue}}if(s===1){Gr(e,0),K0(e,t,0,!0);break}e:{switch(l=e,s){case 0:case 1:throw Error(u(345));case 4:if((t&4194176)===t){K0(l,t,l0,!F0);break e}break;case 2:T0=null;break;case 3:case 5:break;default:throw Error(u(329))}if(l.finishedWork=r,l.finishedLanes=t,(t&62914560)===t&&(c=xs+300-y0(),10<c)){if(K0(l,t,l0,!F0),hl(l,0)!==0)break e;l.timeoutHandle=c4(Gd.bind(null,l,r,T0,Wl,bs,t,l0,ur,jr,F0,2,-0,0),c);break e}Gd(l,r,T0,Wl,bs,t,l0,ur,jr,F0,0,-0,0)}}break}while(!0);w0(e)}function As(e){T0===null?T0=e:T0.push.apply(T0,e)}function Gd(e,t,r,l,s,c,p,x,T,E,U,X,R){var H=t.subtreeFlags;if((H&8192||(H&16785408)===16785408)&&(Zn={stylesheets:null,count:0,unsuspend:S3},Cd(t),t=w3(),t!==null)){e.cancelPendingCommit=t(Qd.bind(null,e,r,l,s,p,x,T,1,X,R)),K0(e,c,p,!E);return}Qd(e,r,l,s,p,x,T,U,X,R)}function j2(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var s=r[l],c=s.getSnapshot;s=s.value;try{if(!Ht(c(),s))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 K0(e,t,r,l){t&=~ys,t&=~ur,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var s=t;0<s;){var c=31-Lt(s),p=1<<c;l[c]=-1,s&=~p}r!==0&&ac(e,r,t)}function ti(){return Ze&6?!0:(Gn(0),!1)}function Ms(){if(we!==null){if(Ue===0)var e=we.return;else e=we,U0=rr=null,Cu(e),Nr=null,Sn=0,e=we;for(;e!==null;)Hd(e.alternate,e),e=e.return;we=null}}function Gr(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,l3(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Ms(),He=e,we=r=wa(e.current,null),Me=t,Ue=0,Gt=null,F0=!1,Ur=an(e,t),vs=!1,jr=l0=ys=ur=Aa=Je=0,T0=Hn=null,bs=!1,t&8&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var s=31-Lt(l),c=1<<s;t|=e[s],l&=~c}return Z0=t,Ml(),r}function Vd(e,t){xe=null,J.H=S0,t===bn?(t=r1(),Ue=3):t===e1?(t=r1(),Ue=4):Ue=t===td?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Gt=t,we===null&&(Je=1,Fl(e,It(t,e.current)))}function Xd(){var e=J.H;return J.H=S0,e===null?S0:e}function Yd(){var e=J.A;return J.A=H2,e}function zs(){Je=4,F0||(Me&4194176)!==Me&&t0.current!==null||(Ur=!0),!(Aa&134217727)&&!(ur&134217727)||He===null||K0(He,Me,l0,!1)}function ks(e,t,r){var l=Ze;Ze|=2;var s=Xd(),c=Yd();(He!==e||Me!==t)&&(Wl=null,Gr(e,t)),t=!1;var p=Je;e:do try{if(Ue!==0&&we!==null){var x=we,T=Gt;switch(Ue){case 8:Ms(),p=6;break e;case 3:case 2:case 6:t0.current===null&&(t=!0);var E=Ue;if(Ue=0,Gt=null,Vr(e,x,T,E),r&&Ur){p=0;break e}break;default:E=Ue,Ue=0,Gt=null,Vr(e,x,T,E)}}G2(),p=Je;break}catch(U){Vd(e,U)}while(!0);return t&&e.shellSuspendCounter++,U0=rr=null,Ze=l,J.H=s,J.A=c,we===null&&(He=null,Me=0,Ml()),p}function G2(){for(;we!==null;)Fd(we)}function V2(e,t){var r=Ze;Ze|=2;var l=Xd(),s=Yd();He!==e||Me!==t?(Wl=null,Il=y0()+500,Gr(e,t)):Ur=an(e,t);e:do try{if(Ue!==0&&we!==null){t=we;var c=Gt;t:switch(Ue){case 1:Ue=0,Gt=null,Vr(e,t,c,1);break;case 2:if(t1(c)){Ue=0,Gt=null,Zd(t);break}t=function(){Ue===2&&He===e&&(Ue=7),w0(e)},c.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:t1(c)?(Ue=0,Gt=null,Zd(t)):(Ue=0,Gt=null,Vr(e,t,c,7));break;case 5:var p=null;switch(we.tag){case 26:p=we.memoizedState;case 5:case 27:var x=we;if(!p||S4(p)){Ue=0,Gt=null;var T=x.sibling;if(T!==null)we=T;else{var E=x.return;E!==null?(we=E,ai(E)):we=null}break t}}Ue=0,Gt=null,Vr(e,t,c,5);break;case 6:Ue=0,Gt=null,Vr(e,t,c,6);break;case 8:Ms(),Je=6;break e;default:throw Error(u(462))}}X2();break}catch(U){Vd(e,U)}while(!0);return U0=rr=null,J.H=l,J.A=s,Ze=r,we!==null?0:(He=null,Me=0,Ml(),Je)}function X2(){for(;we!==null&&!dm();)Fd(we)}function Fd(e){var t=hd(e.alternate,e,Z0);e.memoizedProps=e.pendingProps,t===null?ai(e):we=t}function Zd(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=ud(r,t,t.pendingProps,t.type,void 0,Me);break;case 11:t=ud(r,t,t.pendingProps,t.type.render,t.ref,Me);break;case 5:Cu(t);default:Hd(r,t),t=we=Od(t,Z0),t=hd(r,t,Z0)}e.memoizedProps=e.pendingProps,t===null?ai(e):we=t}function Vr(e,t,r,l){U0=rr=null,Cu(t),Nr=null,Sn=0;var s=t.return;try{if(C2(e,s,t,r,Me)){Je=1,Fl(e,It(r,e.current)),we=null;return}}catch(c){if(s!==null)throw we=s,c;Je=1,Fl(e,It(r,e.current)),we=null;return}t.flags&32768?(De||l===1?e=!0:Ur||Me&536870912?e=!1:(F0=e=!0,(l===2||l===3||l===6)&&(l=t0.current,l!==null&&l.tag===13&&(l.flags|=16384))),Kd(t,e)):ai(t)}function ai(e){var t=e;do{if(t.flags&32768){Kd(t,F0);return}e=t.return;var r=R2(t.alternate,t,Z0);if(r!==null){we=r;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);Je===0&&(Je=5)}function Kd(e,t){do{var r=L2(e.alternate,e);if(r!==null){r.flags&=32767,we=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){we=e;return}we=e=r}while(e!==null);Je=6,we=null}function Qd(e,t,r,l,s,c,p,x,T,E){var U=J.T,X=Te.p;try{Te.p=2,J.T=null,Y2(e,t,r,l,X,s,c,p,x,T,E)}finally{J.T=U,Te.p=X}}function Y2(e,t,r,l,s,c,p,x){do Xr();while(sr!==null);if(Ze&6)throw Error(u(327));var T=e.finishedWork;if(l=e.finishedLanes,T===null)return null;if(e.finishedWork=null,e.finishedLanes=0,T===e.current)throw Error(u(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var E=T.lanes|T.childLanes;if(E|=gu,Tm(e,l,E,c,p,x),e===He&&(we=He=null,Me=0),!(T.subtreeFlags&10256)&&!(T.flags&10256)||ei||(ei=!0,Ss=E,Ts=r,Q2(cl,function(){return Xr(),null})),r=(T.flags&15990)!==0,T.subtreeFlags&15990||r?(r=J.T,J.T=null,c=Te.p,Te.p=2,p=Ze,Ze|=4,q2(e,T),Dd(T,e),m2(Us,e.containerInfo),mi=!!Hs,Us=Hs=null,e.current=T,Ad(e,T.alternate,T),fm(),Ze=p,Te.p=c,J.T=r):e.current=T,ei?(ei=!1,sr=e,Un=l):$d(e,E),E=e.pendingLanes,E===0&&(Ma=null),vm(T.stateNode),w0(e),t!==null)for(s=e.onRecoverableError,T=0;T<t.length;T++)E=t[T],s(E.value,{componentStack:E.stack});return Un&3&&Xr(),E=e.pendingLanes,l&4194218&&E&42?e===ws?jn++:(jn=0,ws=e):jn=0,Gn(0),null}function $d(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,wn(t)))}function Xr(){if(sr!==null){var e=sr,t=Ss;Ss=0;var r=nc(Un),l=J.T,s=Te.p;try{if(Te.p=32>r?32:r,J.T=null,sr===null)var c=!1;else{r=Ts,Ts=null;var p=sr,x=Un;if(sr=null,Un=0,Ze&6)throw Error(u(331));var T=Ze;if(Ze|=4,qd(p.current),Ed(p,p.current,x,r),Ze=T,Gn(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(tn,p)}catch{}c=!0}return c}finally{Te.p=s,J.T=l,$d(e,t)}}return!1}function Pd(e,t,r){t=It(r,t),t=Fu(e.stateNode,t,2),e=ba(e,t,2),e!==null&&(rn(e,2),w0(e))}function Oe(e,t,r){if(e.tag===3)Pd(e,e,r);else for(;t!==null;){if(t.tag===3){Pd(t,e,r);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ma===null||!Ma.has(l))){e=It(r,e),r=W1(2),l=ba(t,r,2),l!==null&&(ed(r,l,t,e),rn(l,2),w0(l));break}}t=t.return}}function Ds(e,t,r){var l=e.pingCache;if(l===null){l=e.pingCache=new U2;var s=new Set;l.set(t,s)}else s=l.get(t),s===void 0&&(s=new Set,l.set(t,s));s.has(r)||(vs=!0,s.add(r),e=F2.bind(null,e,t,r),t.then(e,e))}function F2(e,t,r){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,He===e&&(Me&r)===r&&(Je===4||Je===3&&(Me&62914560)===Me&&300>y0()-xs?!(Ze&2)&&Gr(e,0):ys|=r,jr===Me&&(jr=0)),w0(e)}function Jd(e,t){t===0&&(t=tc()),e=da(e,t),e!==null&&(rn(e,t),w0(e))}function Z2(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Jd(e,r)}function K2(e,t){var r=0;switch(e.tag){case 13:var l=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(u(314))}l!==null&&l.delete(t),Jd(e,r)}function Q2(e,t){return Zi(e,t)}var ri=null,Yr=null,Ns=!1,ni=!1,Es=!1,or=0;function w0(e){e!==Yr&&e.next===null&&(Yr===null?ri=Yr=e:Yr=Yr.next=e),ni=!0,Ns||(Ns=!0,P2($2))}function Gn(e,t){if(!Es&&ni){Es=!0;do for(var r=!1,l=ri;l!==null;){if(e!==0){var s=l.pendingLanes;if(s===0)var c=0;else{var p=l.suspendedLanes,x=l.pingedLanes;c=(1<<31-Lt(42|e)+1)-1,c&=s&~(p&~x),c=c&201326677?c&201326677|1:c?c|2:0}c!==0&&(r=!0,e4(l,c))}else c=Me,c=hl(l,l===He?c:0),!(c&3)||an(l,c)||(r=!0,e4(l,c));l=l.next}while(r);Es=!1}}function $2(){ni=Ns=!1;var e=0;or!==0&&(n3()&&(e=or),or=0);for(var t=y0(),r=null,l=ri;l!==null;){var s=l.next,c=Id(l,t);c===0?(l.next=null,r===null?ri=s:r.next=s,s===null&&(Yr=r)):(r=l,(e!==0||c&3)&&(ni=!0)),l=s}Gn(e)}function Id(e,t){for(var r=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-Lt(c),x=1<<p,T=s[p];T===-1?(!(x&r)||x&l)&&(s[p]=Sm(x,t)):T<=t&&(e.expiredLanes|=x),c&=~x}if(t=He,r=Me,r=hl(e,e===t?r:0),l=e.callbackNode,r===0||e===t&&Ue===2||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Ki(l),e.callbackNode=null,e.callbackPriority=0;if(!(r&3)||an(e,r)){if(t=r&-r,t===e.callbackPriority)return t;switch(l!==null&&Ki(l),nc(r)){case 2:case 8:r=Io;break;case 32:r=cl;break;case 268435456:r=Wo;break;default:r=cl}return l=Wd.bind(null,e),r=Zi(r,l),e.callbackPriority=t,e.callbackNode=r,t}return l!==null&&l!==null&&Ki(l),e.callbackPriority=2,e.callbackNode=null,2}function Wd(e,t){var r=e.callbackNode;if(Xr()&&e.callbackNode!==r)return null;var l=Me;return l=hl(e,e===He?l:0),l===0?null:(jd(e,l,t),Id(e,y0()),e.callbackNode!=null&&e.callbackNode===r?Wd.bind(null,e):null)}function e4(e,t){if(Xr())return null;jd(e,t,!0)}function P2(e){i3(function(){Ze&6?Zi(Jo,e):e()})}function Cs(){return or===0&&(or=ec()),or}function t4(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:yl(""+e)}function a4(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function J2(e,t,r,l,s){if(t==="submit"&&r&&r.stateNode===s){var c=t4((s[Et]||null).action),p=l.submitter;p&&(t=(t=p[Et]||null)?t4(t.formAction):p.getAttribute("formAction"),t!==null&&(c=t,p=null));var x=new Tl("action","action",null,l,s);e.push({event:x,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(or!==0){var T=p?a4(s,p):new FormData(s);ju(r,{pending:!0,data:T,method:s.method,action:c},null,T)}}else typeof c=="function"&&(x.preventDefault(),T=p?a4(s,p):new FormData(s),ju(r,{pending:!0,data:T,method:s.method,action:c},c,T))},currentTarget:s}]})}}for(var _s=0;_s<Qc.length;_s++){var qs=Qc[_s],I2=qs.toLowerCase(),W2=qs[0].toUpperCase()+qs.slice(1);d0(I2,"on"+W2)}d0(Xc,"onAnimationEnd"),d0(Yc,"onAnimationIteration"),d0(Fc,"onAnimationStart"),d0("dblclick","onDoubleClick"),d0("focusin","onFocus"),d0("focusout","onBlur"),d0(g2,"onTransitionRun"),d0(v2,"onTransitionStart"),d0(y2,"onTransitionCancel"),d0(Zc,"onTransitionEnd"),vr("onMouseEnter",["mouseout","mouseover"]),vr("onMouseLeave",["mouseout","mouseover"]),vr("onPointerEnter",["pointerout","pointerover"]),vr("onPointerLeave",["pointerout","pointerover"]),Ya("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ya("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ya("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ya("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vn="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(" "),e3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vn));function r4(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],s=l.event;l=l.listeners;e:{var c=void 0;if(t)for(var p=l.length-1;0<=p;p--){var x=l[p],T=x.instance,E=x.currentTarget;if(x=x.listener,T!==c&&s.isPropagationStopped())break e;c=x,s.currentTarget=E;try{c(s)}catch(U){Yl(U)}s.currentTarget=null,c=T}else for(p=0;p<l.length;p++){if(x=l[p],T=x.instance,E=x.currentTarget,x=x.listener,T!==c&&s.isPropagationStopped())break e;c=x,s.currentTarget=E;try{c(s)}catch(U){Yl(U)}s.currentTarget=null,c=T}}}}function Ae(e,t){var r=t[$i];r===void 0&&(r=t[$i]=new Set);var l=e+"__bubble";r.has(l)||(n4(t,e,2,!1),r.add(l))}function Bs(e,t,r){var l=0;t&&(l|=4),n4(r,e,l,t)}var li="_reactListening"+Math.random().toString(36).slice(2);function Os(e){if(!e[li]){e[li]=!0,uc.forEach(function(r){r!=="selectionchange"&&(e3.has(r)||Bs(r,!1,e),Bs(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[li]||(t[li]=!0,Bs("selectionchange",!1,t))}}function n4(e,t,r,l){switch(k4(t)){case 2:var s=z3;break;case 8:s=k3;break;default:s=Qs}r=s.bind(null,t,r,e),s=void 0,!ru||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),l?s!==void 0?e.addEventListener(t,r,{capture:!0,passive:s}):e.addEventListener(t,r,!0):s!==void 0?e.addEventListener(t,r,{passive:s}):e.addEventListener(t,r,!1)}function Rs(e,t,r,l,s){var c=l;if(!(t&1)&&!(t&2)&&l!==null)e:for(;;){if(l===null)return;var p=l.tag;if(p===3||p===4){var x=l.stateNode.containerInfo;if(x===s||x.nodeType===8&&x.parentNode===s)break;if(p===4)for(p=l.return;p!==null;){var T=p.tag;if((T===3||T===4)&&(T=p.stateNode.containerInfo,T===s||T.nodeType===8&&T.parentNode===s))return;p=p.return}for(;x!==null;){if(p=Xa(x),p===null)return;if(T=p.tag,T===5||T===6||T===26||T===27){l=c=p;continue e}x=x.parentNode}}l=l.return}bc(function(){var E=c,U=tu(r),X=[];e:{var R=Kc.get(e);if(R!==void 0){var H=Tl,re=e;switch(e){case"keypress":if(xl(r)===0)break e;case"keydown":case"keyup":H=Km;break;case"focusin":re="focus",H=uu;break;case"focusout":re="blur",H=uu;break;case"beforeblur":case"afterblur":H=uu;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=Tc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=Om;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=Pm;break;case Xc:case Yc:case Fc:H=Hm;break;case Zc:H=Im;break;case"scroll":case"scrollend":H=qm;break;case"wheel":H=e2;break;case"copy":case"cut":case"paste":H=jm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Ac;break;case"toggle":case"beforetoggle":H=a2}var ge=(t&4)!==0,Ie=!ge&&(e==="scroll"||e==="scrollend"),C=ge?R!==null?R+"Capture":null:R;ge=[];for(var D=E,B;D!==null;){var G=D;if(B=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||B===null||C===null||(G=un(D,C),G!=null&&ge.push(Xn(D,G,B))),Ie)break;D=D.return}0<ge.length&&(R=new H(R,re,null,r,U),X.push({event:R,listeners:ge}))}}if(!(t&7)){e:{if(R=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",R&&r!==eu&&(re=r.relatedTarget||r.fromElement)&&(Xa(re)||re[mr]))break e;if((H||R)&&(R=U.window===U?U:(R=U.ownerDocument)?R.defaultView||R.parentWindow:window,H?(re=r.relatedTarget||r.toElement,H=E,re=re?Xa(re):null,re!==null&&(Ie=ue(re),ge=re.tag,re!==Ie||ge!==5&&ge!==27&&ge!==6)&&(re=null)):(H=null,re=E),H!==re)){if(ge=Tc,G="onMouseLeave",C="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(ge=Ac,G="onPointerLeave",C="onPointerEnter",D="pointer"),Ie=H==null?R:ln(H),B=re==null?R:ln(re),R=new ge(G,D+"leave",H,r,U),R.target=Ie,R.relatedTarget=B,G=null,Xa(U)===E&&(ge=new ge(C,D+"enter",re,r,U),ge.target=B,ge.relatedTarget=Ie,G=ge),Ie=G,H&&re)t:{for(ge=H,C=re,D=0,B=ge;B;B=Fr(B))D++;for(B=0,G=C;G;G=Fr(G))B++;for(;0<D-B;)ge=Fr(ge),D--;for(;0<B-D;)C=Fr(C),B--;for(;D--;){if(ge===C||C!==null&&ge===C.alternate)break t;ge=Fr(ge),C=Fr(C)}ge=null}else ge=null;H!==null&&l4(X,R,H,ge,!1),re!==null&&Ie!==null&&l4(X,Ie,re,ge,!0)}}e:{if(R=E?ln(E):window,H=R.nodeName&&R.nodeName.toLowerCase(),H==="select"||H==="input"&&R.type==="file")var ee=_c;else if(Ec(R))if(qc)ee=f2;else{ee=c2;var Se=o2}else H=R.nodeName,!H||H.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?E&&Wi(E.elementType)&&(ee=_c):ee=d2;if(ee&&(ee=ee(e,E))){Cc(X,ee,r,U);break e}Se&&Se(e,R,E),e==="focusout"&&E&&R.type==="number"&&E.memoizedProps.value!=null&&Ii(R,"number",R.value)}switch(Se=E?ln(E):window,e){case"focusin":(Ec(Se)||Se.contentEditable==="true")&&(wr=Se,hu=E,pn=null);break;case"focusout":pn=hu=wr=null;break;case"mousedown":mu=!0;break;case"contextmenu":case"mouseup":case"dragend":mu=!1,Gc(X,r,U);break;case"selectionchange":if(p2)break;case"keydown":case"keyup":Gc(X,r,U)}var le;if(ou)e:{switch(e){case"compositionstart":var de="onCompositionStart";break e;case"compositionend":de="onCompositionEnd";break e;case"compositionupdate":de="onCompositionUpdate";break e}de=void 0}else Tr?Dc(e,r)&&(de="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(de="onCompositionStart");de&&(Mc&&r.locale!=="ko"&&(Tr||de!=="onCompositionStart"?de==="onCompositionEnd"&&Tr&&(le=xc()):(ca=U,nu="value"in ca?ca.value:ca.textContent,Tr=!0)),Se=ii(E,de),0<Se.length&&(de=new wc(de,e,null,r,U),X.push({event:de,listeners:Se}),le?de.data=le:(le=Nc(r),le!==null&&(de.data=le)))),(le=n2?l2(e,r):i2(e,r))&&(de=ii(E,"onBeforeInput"),0<de.length&&(Se=new wc("onBeforeInput","beforeinput",null,r,U),X.push({event:Se,listeners:de}),Se.data=le)),J2(X,e,E,r,U)}r4(X,t)})}function Xn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function ii(e,t){for(var r=t+"Capture",l=[];e!==null;){var s=e,c=s.stateNode;s=s.tag,s!==5&&s!==26&&s!==27||c===null||(s=un(e,r),s!=null&&l.unshift(Xn(e,s,c)),s=un(e,t),s!=null&&l.push(Xn(e,s,c))),e=e.return}return l}function Fr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function l4(e,t,r,l,s){for(var c=t._reactName,p=[];r!==null&&r!==l;){var x=r,T=x.alternate,E=x.stateNode;if(x=x.tag,T!==null&&T===l)break;x!==5&&x!==26&&x!==27||E===null||(T=E,s?(E=un(r,c),E!=null&&p.unshift(Xn(r,E,T))):s||(E=un(r,c),E!=null&&p.push(Xn(r,E,T)))),r=r.return}p.length!==0&&e.push({event:t,listeners:p})}var t3=/\r\n?/g,a3=/\u0000|\uFFFD/g;function i4(e){return(typeof e=="string"?e:""+e).replace(t3,`
`).replace(a3,"")}function u4(e,t){return t=i4(t),i4(e)===t}function ui(){}function Be(e,t,r,l,s,c){switch(r){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||br(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&br(e,""+l);break;case"className":pl(e,"class",l);break;case"tabIndex":pl(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":pl(e,r,l);break;case"style":vc(e,l,c);break;case"data":if(t!=="object"){pl(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=yl(""+l),e.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(r,"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 c=="function"&&(r==="formAction"?(t!=="input"&&Be(e,t,"name",s.name,s,null),Be(e,t,"formEncType",s.formEncType,s,null),Be(e,t,"formMethod",s.formMethod,s,null),Be(e,t,"formTarget",s.formTarget,s,null)):(Be(e,t,"encType",s.encType,s,null),Be(e,t,"method",s.method,s,null),Be(e,t,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=yl(""+l),e.setAttribute(r,l);break;case"onClick":l!=null&&(e.onclick=ui);break;case"onScroll":l!=null&&Ae("scroll",e);break;case"onScrollEnd":l!=null&&Ae("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(r=l.__html,r!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=r}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}r=yl(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""+l):e.removeAttribute(r);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":l===!0?e.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,l):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(r,l):e.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(r):e.setAttribute(r,l);break;case"popover":Ae("beforetoggle",e),Ae("toggle",e),ml(e,"popover",l);break;case"xlinkActuate":q0(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":q0(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":q0(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":q0(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":q0(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":q0(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":q0(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":q0(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":q0(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ml(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=Cm.get(r)||r,ml(e,r,l))}}function Ls(e,t,r,l,s,c){switch(r){case"style":vc(e,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(r=l.__html,r!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=r}}break;case"children":typeof l=="string"?br(e,l):(typeof l=="number"||typeof l=="bigint")&&br(e,""+l);break;case"onScroll":l!=null&&Ae("scroll",e);break;case"onScrollEnd":l!=null&&Ae("scrollend",e);break;case"onClick":l!=null&&(e.onclick=ui);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!sc.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(s=r.endsWith("Capture"),t=r.slice(2,s?r.length-7:void 0),c=e[Et]||null,c=c!=null?c[r]:null,typeof c=="function"&&e.removeEventListener(t,c,s),typeof l=="function")){typeof c!="function"&&c!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,l,s);break e}r in e?e[r]=l:l===!0?e.setAttribute(r,""):ml(e,r,l)}}}function bt(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",e),Ae("load",e);var l=!1,s=!1,c;for(c in r)if(r.hasOwnProperty(c)){var p=r[c];if(p!=null)switch(c){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Be(e,t,c,p,r,null)}}s&&Be(e,t,"srcSet",r.srcSet,r,null),l&&Be(e,t,"src",r.src,r,null);return;case"input":Ae("invalid",e);var x=c=p=s=null,T=null,E=null;for(l in r)if(r.hasOwnProperty(l)){var U=r[l];if(U!=null)switch(l){case"name":s=U;break;case"type":p=U;break;case"checked":T=U;break;case"defaultChecked":E=U;break;case"value":c=U;break;case"defaultValue":x=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(u(137,t));break;default:Be(e,t,l,U,r,null)}}hc(e,c,x,T,E,p,s,!1),gl(e);return;case"select":Ae("invalid",e),l=p=c=null;for(s in r)if(r.hasOwnProperty(s)&&(x=r[s],x!=null))switch(s){case"value":c=x;break;case"defaultValue":p=x;break;case"multiple":l=x;default:Be(e,t,s,x,r,null)}t=c,r=p,e.multiple=!!l,t!=null?yr(e,!!l,t,!1):r!=null&&yr(e,!!l,r,!0);return;case"textarea":Ae("invalid",e),c=s=l=null;for(p in r)if(r.hasOwnProperty(p)&&(x=r[p],x!=null))switch(p){case"value":l=x;break;case"defaultValue":s=x;break;case"children":c=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(u(91));break;default:Be(e,t,p,x,r,null)}pc(e,l,s,c),gl(e);return;case"option":for(T in r)if(r.hasOwnProperty(T)&&(l=r[T],l!=null))switch(T){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Be(e,t,T,l,r,null)}return;case"dialog":Ae("cancel",e),Ae("close",e);break;case"iframe":case"object":Ae("load",e);break;case"video":case"audio":for(l=0;l<Vn.length;l++)Ae(Vn[l],e);break;case"image":Ae("error",e),Ae("load",e);break;case"details":Ae("toggle",e);break;case"embed":case"source":case"link":Ae("error",e),Ae("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(E in r)if(r.hasOwnProperty(E)&&(l=r[E],l!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Be(e,t,E,l,r,null)}return;default:if(Wi(t)){for(U in r)r.hasOwnProperty(U)&&(l=r[U],l!==void 0&&Ls(e,t,U,l,r,void 0));return}}for(x in r)r.hasOwnProperty(x)&&(l=r[x],l!=null&&Be(e,t,x,l,r,null))}function r3(e,t,r,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,c=null,p=null,x=null,T=null,E=null,U=null;for(H in r){var X=r[H];if(r.hasOwnProperty(H)&&X!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":T=X;default:l.hasOwnProperty(H)||Be(e,t,H,null,l,X)}}for(var R in l){var H=l[R];if(X=r[R],l.hasOwnProperty(R)&&(H!=null||X!=null))switch(R){case"type":c=H;break;case"name":s=H;break;case"checked":E=H;break;case"defaultChecked":U=H;break;case"value":p=H;break;case"defaultValue":x=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(u(137,t));break;default:H!==X&&Be(e,t,R,H,l,X)}}Ji(e,p,x,T,E,U,c,s);return;case"select":H=p=x=R=null;for(c in r)if(T=r[c],r.hasOwnProperty(c)&&T!=null)switch(c){case"value":break;case"multiple":H=T;default:l.hasOwnProperty(c)||Be(e,t,c,null,l,T)}for(s in l)if(c=l[s],T=r[s],l.hasOwnProperty(s)&&(c!=null||T!=null))switch(s){case"value":R=c;break;case"defaultValue":x=c;break;case"multiple":p=c;default:c!==T&&Be(e,t,s,c,l,T)}t=x,r=p,l=H,R!=null?yr(e,!!r,R,!1):!!l!=!!r&&(t!=null?yr(e,!!r,t,!0):yr(e,!!r,r?[]:"",!1));return;case"textarea":H=R=null;for(x in r)if(s=r[x],r.hasOwnProperty(x)&&s!=null&&!l.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Be(e,t,x,null,l,s)}for(p in l)if(s=l[p],c=r[p],l.hasOwnProperty(p)&&(s!=null||c!=null))switch(p){case"value":R=s;break;case"defaultValue":H=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==c&&Be(e,t,p,s,l,c)}mc(e,R,H);return;case"option":for(var re in r)if(R=r[re],r.hasOwnProperty(re)&&R!=null&&!l.hasOwnProperty(re))switch(re){case"selected":e.selected=!1;break;default:Be(e,t,re,null,l,R)}for(T in l)if(R=l[T],H=r[T],l.hasOwnProperty(T)&&R!==H&&(R!=null||H!=null))switch(T){case"selected":e.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Be(e,t,T,R,l,H)}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 ge in r)R=r[ge],r.hasOwnProperty(ge)&&R!=null&&!l.hasOwnProperty(ge)&&Be(e,t,ge,null,l,R);for(E in l)if(R=l[E],H=r[E],l.hasOwnProperty(E)&&R!==H&&(R!=null||H!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(u(137,t));break;default:Be(e,t,E,R,l,H)}return;default:if(Wi(t)){for(var Ie in r)R=r[Ie],r.hasOwnProperty(Ie)&&R!==void 0&&!l.hasOwnProperty(Ie)&&Ls(e,t,Ie,void 0,l,R);for(U in l)R=l[U],H=r[U],!l.hasOwnProperty(U)||R===H||R===void 0&&H===void 0||Ls(e,t,U,R,l,H);return}}for(var C in r)R=r[C],r.hasOwnProperty(C)&&R!=null&&!l.hasOwnProperty(C)&&Be(e,t,C,null,l,R);for(X in l)R=l[X],H=r[X],!l.hasOwnProperty(X)||R===H||R==null&&H==null||Be(e,t,X,R,l,H)}var Hs=null,Us=null;function si(e){return e.nodeType===9?e:e.ownerDocument}function s4(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 o4(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 js(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 Gs=null;function n3(){var e=window.event;return e&&e.type==="popstate"?e===Gs?!1:(Gs=e,!0):(Gs=null,!1)}var c4=typeof setTimeout=="function"?setTimeout:void 0,l3=typeof clearTimeout=="function"?clearTimeout:void 0,d4=typeof Promise=="function"?Promise:void 0,i3=typeof queueMicrotask=="function"?queueMicrotask:typeof d4<"u"?function(e){return d4.resolve(null).then(e).catch(u3)}:c4;function u3(e){setTimeout(function(){throw e})}function Vs(e,t){var r=t,l=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(l===0){e.removeChild(s),Jn(t);return}l--}else r!=="$"&&r!=="$?"&&r!=="$!"||l++;r=s}while(r);Jn(t)}function Xs(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Xs(r),Pi(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function s3(e,t,r,l){for(;e.nodeType===1;){var s=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[nn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==s.rel||e.getAttribute("href")!==(s.href==null?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(c=e.getAttribute("src"),(c!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=m0(e.nextSibling),e===null)break}return null}function o3(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=m0(e.nextSibling),e===null))return null;return e}function m0(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==="F!"||t==="F")break;if(t==="/$")return null}}return e}function f4(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}function h4(e,t,r){switch(t=si(r),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}var i0=new Map,m4=new Set;function oi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var Q0=Te.d;Te.d={f:c3,r:d3,D:f3,C:h3,L:m3,m:p3,X:v3,S:g3,M:y3};function c3(){var e=Q0.f(),t=ti();return e||t}function d3(e){var t=pr(e);t!==null&&t.tag===5&&t.type==="form"?G1(t):Q0.r(e)}var Zr=typeof document>"u"?null:document;function p4(e,t,r){var l=Zr;if(l&&typeof t=="string"&&t){var s=Pt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof r=="string"&&(s+='[crossorigin="'+r+'"]'),m4.has(s)||(m4.add(s),e={rel:e,crossOrigin:r,href:t},l.querySelector(s)===null&&(t=l.createElement("link"),bt(t,"link",e),ft(t),l.head.appendChild(t)))}}function f3(e){Q0.D(e),p4("dns-prefetch",e,null)}function h3(e,t){Q0.C(e,t),p4("preconnect",e,t)}function m3(e,t,r){Q0.L(e,t,r);var l=Zr;if(l&&e&&t){var s='link[rel="preload"][as="'+Pt(t)+'"]';t==="image"&&r&&r.imageSrcSet?(s+='[imagesrcset="'+Pt(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(s+='[imagesizes="'+Pt(r.imageSizes)+'"]')):s+='[href="'+Pt(e)+'"]';var c=s;switch(t){case"style":c=Kr(e);break;case"script":c=Qr(e)}i0.has(c)||(e=be({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),i0.set(c,e),l.querySelector(s)!==null||t==="style"&&l.querySelector(Yn(c))||t==="script"&&l.querySelector(Fn(c))||(t=l.createElement("link"),bt(t,"link",e),ft(t),l.head.appendChild(t)))}}function p3(e,t){Q0.m(e,t);var r=Zr;if(r&&e){var l=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Pt(l)+'"][href="'+Pt(e)+'"]',c=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Qr(e)}if(!i0.has(c)&&(e=be({rel:"modulepreload",href:e},t),i0.set(c,e),r.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Fn(c)))return}l=r.createElement("link"),bt(l,"link",e),ft(l),r.head.appendChild(l)}}}function g3(e,t,r){Q0.S(e,t,r);var l=Zr;if(l&&e){var s=gr(l).hoistableStyles,c=Kr(e);t=t||"default";var p=s.get(c);if(!p){var x={loading:0,preload:null};if(p=l.querySelector(Yn(c)))x.loading=5;else{e=be({rel:"stylesheet",href:e,"data-precedence":t},r),(r=i0.get(c))&&Ys(e,r);var T=p=l.createElement("link");ft(T),bt(T,"link",e),T._p=new Promise(function(E,U){T.onload=E,T.onerror=U}),T.addEventListener("load",function(){x.loading|=1}),T.addEventListener("error",function(){x.loading|=2}),x.loading|=4,ci(p,t,l)}p={type:"stylesheet",instance:p,count:1,state:x},s.set(c,p)}}}function v3(e,t){Q0.X(e,t);var r=Zr;if(r&&e){var l=gr(r).hoistableScripts,s=Qr(e),c=l.get(s);c||(c=r.querySelector(Fn(s)),c||(e=be({src:e,async:!0},t),(t=i0.get(s))&&Fs(e,t),c=r.createElement("script"),ft(c),bt(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function y3(e,t){Q0.M(e,t);var r=Zr;if(r&&e){var l=gr(r).hoistableScripts,s=Qr(e),c=l.get(s);c||(c=r.querySelector(Fn(s)),c||(e=be({src:e,async:!0,type:"module"},t),(t=i0.get(s))&&Fs(e,t),c=r.createElement("script"),ft(c),bt(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function g4(e,t,r,l){var s=(s=v0.current)?oi(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=Kr(r.href),r=gr(s).hoistableStyles,l=r.get(t),l||(l={type:"style",instance:null,count:0,state:null},r.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Kr(r.href);var c=gr(s).hoistableStyles,p=c.get(e);if(p||(s=s.ownerDocument||s,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,p),(c=s.querySelector(Yn(e)))&&!c._p&&(p.instance=c,p.state.loading=5),i0.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},i0.set(e,r),c||b3(s,e,r,p.state))),t&&l===null)throw Error(u(528,""));return p}if(t&&l!==null)throw Error(u(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Qr(r),r=gr(s).hoistableScripts,l=r.get(t),l||(l={type:"script",instance:null,count:0,state:null},r.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function Kr(e){return'href="'+Pt(e)+'"'}function Yn(e){return'link[rel="stylesheet"]['+e+"]"}function v4(e){return be({},e,{"data-precedence":e.precedence,precedence:null})}function b3(e,t,r,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),bt(t,"link",r),ft(t),e.head.appendChild(t))}function Qr(e){return'[src="'+Pt(e)+'"]'}function Fn(e){return"script[async]"+e}function y4(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+Pt(r.href)+'"]');if(l)return t.instance=l,ft(l),l;var s=be({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),ft(l),bt(l,"style",s),ci(l,r.precedence,e),t.instance=l;case"stylesheet":s=Kr(r.href);var c=e.querySelector(Yn(s));if(c)return t.state.loading|=4,t.instance=c,ft(c),c;l=v4(r),(s=i0.get(s))&&Ys(l,s),c=(e.ownerDocument||e).createElement("link"),ft(c);var p=c;return p._p=new Promise(function(x,T){p.onload=x,p.onerror=T}),bt(c,"link",l),t.state.loading|=4,ci(c,r.precedence,e),t.instance=c;case"script":return c=Qr(r.src),(s=e.querySelector(Fn(c)))?(t.instance=s,ft(s),s):(l=r,(s=i0.get(c))&&(l=be({},r),Fs(l,s)),e=e.ownerDocument||e,s=e.createElement("script"),ft(s),bt(s,"link",l),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(l=t.instance,t.state.loading|=4,ci(l,r.precedence,e));return t.instance}function ci(e,t,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,c=s,p=0;p<l.length;p++){var x=l[p];if(x.dataset.precedence===t)c=x;else if(c!==s)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Ys(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Fs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var di=null;function b4(e,t,r){if(di===null){var l=new Map,s=di=new Map;s.set(r,l)}else s=di,l=s.get(r),l||(l=new Map,s.set(r,l));if(l.has(e))return l;for(l.set(e,null),r=r.getElementsByTagName(e),s=0;s<r.length;s++){var c=r[s];if(!(c[nn]||c[xt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var p=c.getAttribute(t)||"";p=e+p;var x=l.get(p);x?x.push(c):l.set(p,[c])}}return l}function x4(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function x3(e,t,r){if(r===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 S4(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var Zn=null;function S3(){}function T3(e,t,r){if(Zn===null)throw Error(u(475));var l=Zn;if(t.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var s=Kr(r.href),c=e.querySelector(Yn(s));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=fi.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=c,ft(c);return}c=e.ownerDocument||e,r=v4(r),(s=i0.get(s))&&Ys(r,s),c=c.createElement("link"),ft(c);var p=c;p._p=new Promise(function(x,T){p.onload=x,p.onerror=T}),bt(c,"link",r),t.instance=c}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(l.count++,t=fi.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function w3(){if(Zn===null)throw Error(u(475));var e=Zn;return e.stylesheets&&e.count===0&&Zs(e,e.stylesheets),0<e.count?function(t){var r=setTimeout(function(){if(e.stylesheets&&Zs(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(r)}}:null}function fi(){if(this.count--,this.count===0){if(this.stylesheets)Zs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var hi=null;function Zs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hi=new Map,t.forEach(A3,e),hi=null,fi.call(e))}function A3(e,t){if(!(t.state.loading&4)){var r=hi.get(e);if(r)var l=r.get(null);else{r=new Map,hi.set(e,r);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<s.length;c++){var p=s[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(r.set(p.dataset.precedence,p),l=p)}l&&r.set(null,l)}s=t.instance,p=s.getAttribute("data-precedence"),c=r.get(p)||l,c===l&&r.set(null,s),r.set(p,s),this.count++,l=fi.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),c?c.parentNode.insertBefore(s,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Kn={$$typeof:q,Provider:null,Consumer:null,_currentValue:st,_currentValue2:st,_threadCount:0};function M3(e,t,r,l,s,c,p,x){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qi(0),this.hiddenUpdates=Qi(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function T4(e,t,r,l,s,c,p,x,T,E,U,X){return e=new M3(e,t,r,p,x,T,E,X),t=1,c===!0&&(t|=24),c=n0(3,null,null,t),e.current=c,c.stateNode=e,t=Au(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:l,isDehydrated:r,cache:t},ns(c),e}function w4(e){return e?(e=zr,e):zr}function A4(e,t,r,l,s,c){s=w4(s),l.context===null?l.context=s:l.pendingContext=s,l=ya(t),l.payload={element:r},c=c===void 0?null:c,c!==null&&(l.callback=c),r=ba(e,l,t),r!==null&&(zt(r,e,t),En(r,e,t))}function M4(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Ks(e,t){M4(e,t),(e=e.alternate)&&M4(e,t)}function z4(e){if(e.tag===13){var t=da(e,67108864);t!==null&&zt(t,e,67108864),Ks(e,67108864)}}var mi=!0;function z3(e,t,r,l){var s=J.T;J.T=null;var c=Te.p;try{Te.p=2,Qs(e,t,r,l)}finally{Te.p=c,J.T=s}}function k3(e,t,r,l){var s=J.T;J.T=null;var c=Te.p;try{Te.p=8,Qs(e,t,r,l)}finally{Te.p=c,J.T=s}}function Qs(e,t,r,l){if(mi){var s=$s(l);if(s===null)Rs(e,t,l,pi,r),D4(e,l);else if(N3(s,e,t,r,l))l.stopPropagation();else if(D4(e,l),t&4&&-1<D3.indexOf(e)){for(;s!==null;){var c=pr(s);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=Va(c.pendingLanes);if(p!==0){var x=c;for(x.pendingLanes|=2,x.entangledLanes|=2;p;){var T=1<<31-Lt(p);x.entanglements[1]|=T,p&=~T}w0(c),!(Ze&6)&&(Il=y0()+500,Gn(0))}}break;case 13:x=da(c,2),x!==null&&zt(x,c,2),ti(),Ks(c,2)}if(c=$s(l),c===null&&Rs(e,t,l,pi,r),c===s)break;s=c}s!==null&&l.stopPropagation()}else Rs(e,t,l,null,r)}}function $s(e){return e=tu(e),Ps(e)}var pi=null;function Ps(e){if(pi=null,e=Xa(e),e!==null){var t=ue(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=_e(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return pi=e,null}function k4(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(hm()){case Jo:return 2;case Io:return 8;case cl:case mm:return 32;case Wo:return 268435456;default:return 32}default:return 32}}var Js=!1,za=null,ka=null,Da=null,Qn=new Map,$n=new Map,Na=[],D3="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 D4(e,t){switch(e){case"focusin":case"focusout":za=null;break;case"dragenter":case"dragleave":ka=null;break;case"mouseover":case"mouseout":Da=null;break;case"pointerover":case"pointerout":Qn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$n.delete(t.pointerId)}}function Pn(e,t,r,l,s,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:l,nativeEvent:c,targetContainers:[s]},t!==null&&(t=pr(t),t!==null&&z4(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function N3(e,t,r,l,s){switch(t){case"focusin":return za=Pn(za,e,t,r,l,s),!0;case"dragenter":return ka=Pn(ka,e,t,r,l,s),!0;case"mouseover":return Da=Pn(Da,e,t,r,l,s),!0;case"pointerover":var c=s.pointerId;return Qn.set(c,Pn(Qn.get(c)||null,e,t,r,l,s)),!0;case"gotpointercapture":return c=s.pointerId,$n.set(c,Pn($n.get(c)||null,e,t,r,l,s)),!0}return!1}function N4(e){var t=Xa(e.target);if(t!==null){var r=ue(t);if(r!==null){if(t=r.tag,t===13){if(t=_e(r),t!==null){e.blockedOn=t,wm(e.priority,function(){if(r.tag===13){var l=Vt(),s=da(r,l);s!==null&&zt(s,r,l),Ks(r,l)}});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=$s(e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);eu=l,r.target.dispatchEvent(l),eu=null}else return t=pr(r),t!==null&&z4(t),e.blockedOn=r,!1;t.shift()}return!0}function E4(e,t,r){gi(e)&&r.delete(t)}function E3(){Js=!1,za!==null&&gi(za)&&(za=null),ka!==null&&gi(ka)&&(ka=null),Da!==null&&gi(Da)&&(Da=null),Qn.forEach(E4),$n.forEach(E4)}function vi(e,t){e.blockedOn===t&&(e.blockedOn=null,Js||(Js=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,E3)))}var yi=null;function C4(e){yi!==e&&(yi=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){yi===e&&(yi=null);for(var t=0;t<e.length;t+=3){var r=e[t],l=e[t+1],s=e[t+2];if(typeof l!="function"){if(Ps(l||r)===null)continue;break}var c=pr(r);c!==null&&(e.splice(t,3),t-=3,ju(c,{pending:!0,data:s,method:r.method,action:l},l,s))}}))}function Jn(e){function t(T){return vi(T,e)}za!==null&&vi(za,e),ka!==null&&vi(ka,e),Da!==null&&vi(Da,e),Qn.forEach(t),$n.forEach(t);for(var r=0;r<Na.length;r++){var l=Na[r];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Na.length&&(r=Na[0],r.blockedOn===null);)N4(r),r.blockedOn===null&&Na.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var s=r[l],c=r[l+1],p=s[Et]||null;if(typeof c=="function")p||C4(r);else if(p){var x=null;if(c&&c.hasAttribute("formAction")){if(s=c,p=c[Et]||null)x=p.formAction;else if(Ps(s)!==null)continue}else x=p.action;typeof x=="function"?r[l+1]=x:(r.splice(l,3),l-=3),C4(r)}}}function Is(e){this._internalRoot=e}bi.prototype.render=Is.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var r=t.current,l=Vt();A4(r,l,e,t,null,null)},bi.prototype.unmount=Is.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;e.tag===0&&Xr(),A4(e.current,2,null,e,null,null),ti(),t[mr]=null}};function bi(e){this._internalRoot=e}bi.prototype.unstable_scheduleHydration=function(e){if(e){var t=lc();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Na.length&&t!==0&&t<Na[r].priority;r++);Na.splice(r,0,e),r===0&&N4(e)}};var _4=a.version;if(_4!=="19.0.0")throw Error(u(527,_4,"19.0.0"));Te.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=wt(t),e=e!==null?at(e):null,e=e===null?null:e.stateNode,e};var C3={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:J,findFiberByHostInstance:Xa,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var xi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xi.isDisabled&&xi.supportsFiber)try{tn=xi.inject(C3),Rt=xi}catch{}}return Wn.createRoot=function(e,t){if(!o(e))throw Error(u(299));var r=!1,l="",s=$1,c=P1,p=J1,x=null;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(x=t.unstable_transitionCallbacks)),t=T4(e,1,!1,null,null,r,l,s,c,p,x,null),e[mr]=t.current,Os(e.nodeType===8?e.parentNode:e),new Is(t)},Wn.hydrateRoot=function(e,t,r){if(!o(e))throw Error(u(299));var l=!1,s="",c=$1,p=P1,x=J1,T=null,E=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onUncaughtError!==void 0&&(c=r.onUncaughtError),r.onCaughtError!==void 0&&(p=r.onCaughtError),r.onRecoverableError!==void 0&&(x=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(T=r.unstable_transitionCallbacks),r.formState!==void 0&&(E=r.formState)),t=T4(e,1,!0,t,r??null,l,s,c,p,x,T,E),t.context=w4(null),r=t.current,l=Vt(),s=ya(l),s.callback=null,ba(r,s,l),t.current.lanes=l,rn(t,l),w0(t),e[mr]=t.current,Os(e),new bi(t)},Wn.version="19.0.0",Wn}var G4;function w5(){if(G4)return Ws.exports;G4=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Ws.exports=T5(),Ws.exports}var A5=w5();class Xt{constructor(a,n,u){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=a,this.start=n,this.end=u}static range(a,n){return n?!a||!a.loc||!n.loc||a.loc.lexer!==n.loc.lexer?null:new Xt(a.loc.lexer,a.loc.start,n.loc.end):a&&a.loc}}class s0{constructor(a,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=a,this.loc=n}range(a,n){return new s0(n,Xt.range(this,a))}}class Z{constructor(a,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var u="KaTeX parse error: "+a,o,d,m=n&&n.loc;if(m&&m.start<=m.end){var g=m.lexer.input;o=m.start,d=m.end,o===g.length?u+=" at end of input: ":u+=" at position "+(o+1)+": ";var y=g.slice(o,d).replace(/[^]/g,"$&̲"),S;o>15?S="…"+g.slice(o-15,o):S=g.slice(0,o);var z;d+15<g.length?z=g.slice(d,d+15)+"…":z=g.slice(d),u+=S+y+z}var N=new Error(u);return N.name="ParseError",N.__proto__=Z.prototype,N.position=o,o!=null&&d!=null&&(N.length=d-o),N.rawMessage=a,N}}Z.prototype.__proto__=Error.prototype;var M5=function(a,n){return a.indexOf(n)!==-1},z5=function(a,n){return a===void 0?n:a},k5=/([A-Z])/g,D5=function(a){return a.replace(k5,"-$1").toLowerCase()},N5={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},E5=/[&><"']/g;function C5(i){return String(i).replace(E5,a=>N5[a])}var Lf=function i(a){return a.type==="ordgroup"||a.type==="color"?a.body.length===1?i(a.body[0]):a:a.type==="font"?i(a.body):a},_5=function(a){var n=Lf(a);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},q5=function(a){if(!a)throw new Error("Expected non-null, but got "+String(a));return a},B5=function(a){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(a);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},ie={contains:M5,deflt:z5,escape:C5,hyphenate:D5,getBaseElem:Lf,isCharacterBox:_5,protocolFromUrl:B5},al={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:i=>"#"+i},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(i,a)=>(a.push(i),a)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:i=>Math.max(0,i),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:i=>Math.max(0,i),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:i=>Math.max(0,i),cli:"-e, --max-expand <n>",cliProcessor:i=>i==="Infinity"?1/0:parseInt(i)},globalGroup:{type:"boolean",cli:!1}};function O5(i){if(i.default)return i.default;var a=i.type,n=Array.isArray(a)?a[0]:a;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Co{constructor(a){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,a=a||{};for(var n in al)if(al.hasOwnProperty(n)){var u=al[n];this[n]=a[n]!==void 0?u.processor?u.processor(a[n]):a[n]:O5(u)}}reportNonstrict(a,n,u){var o=this.strict;if(typeof o=="function"&&(o=o(a,n,u)),!(!o||o==="ignore")){if(o===!0||o==="error")throw new Z("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+a+"]"),u);o==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+a+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+o+"': "+n+" ["+a+"]"))}}useStrictBehavior(a,n,u){var o=this.strict;if(typeof o=="function")try{o=o(a,n,u)}catch{o="error"}return!o||o==="ignore"?!1:o===!0||o==="error"?!0:o==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+a+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+o+"': "+n+" ["+a+"]")),!1)}isTrusted(a){if(a.url&&!a.protocol){var n=ie.protocolFromUrl(a.url);if(n==null)return!1;a.protocol=n}var u=typeof this.trust=="function"?this.trust(a):this.trust;return!!u}}class _a{constructor(a,n,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=n,this.cramped=u}sup(){return A0[R5[this.id]]}sub(){return A0[L5[this.id]]}fracNum(){return A0[H5[this.id]]}fracDen(){return A0[U5[this.id]]}cramp(){return A0[j5[this.id]]}text(){return A0[G5[this.id]]}isTight(){return this.size>=2}}var _o=0,_i=1,Pr=2,I0=3,ll=4,u0=5,Ir=6,Dt=7,A0=[new _a(_o,0,!1),new _a(_i,0,!0),new _a(Pr,1,!1),new _a(I0,1,!0),new _a(ll,2,!1),new _a(u0,2,!0),new _a(Ir,3,!1),new _a(Dt,3,!0)],R5=[ll,u0,ll,u0,Ir,Dt,Ir,Dt],L5=[u0,u0,u0,u0,Dt,Dt,Dt,Dt],H5=[Pr,I0,ll,u0,Ir,Dt,Ir,Dt],U5=[I0,I0,u0,u0,Dt,Dt,Dt,Dt],j5=[_i,_i,I0,I0,u0,u0,Dt,Dt],G5=[_o,_i,Pr,I0,Pr,I0,Pr,I0],oe={DISPLAY:A0[_o],TEXT:A0[Pr],SCRIPT:A0[ll],SCRIPTSCRIPT:A0[Ir]},So=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V5(i){for(var a=0;a<So.length;a++)for(var n=So[a],u=0;u<n.blocks.length;u++){var o=n.blocks[u];if(i>=o[0]&&i<=o[1])return n.name}return null}var Ci=[];So.forEach(i=>i.blocks.forEach(a=>Ci.push(...a)));function Hf(i){for(var a=0;a<Ci.length;a+=2)if(i>=Ci[a]&&i<=Ci[a+1])return!0;return!1}var $r=80,X5=function(a,n){return"M95,"+(622+a+n)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+a/2.075+" -"+a+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+a)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+a)+" "+n+"h400000v"+(40+a)+"h-400000z"},Y5=function(a,n){return"M263,"+(601+a+n)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+a/2.084+" -"+a+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+a)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+a)+" "+n+"h400000v"+(40+a)+"h-400000z"},F5=function(a,n){return"M983 "+(10+a+n)+`
l`+a/3.13+" -"+a+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+a)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+a)+" "+n+"h400000v"+(40+a)+"h-400000z"},Z5=function(a,n){return"M424,"+(2398+a+n)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+a/4.223+" -"+a+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+a)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+a)+" "+n+`
h400000v`+(40+a)+"h-400000z"},K5=function(a,n){return"M473,"+(2713+a+n)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+a/5.298+" -"+a+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+a)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+a)+" "+n+"h400000v"+(40+a)+"H1017.7z"},Q5=function(a){var n=a/2;return"M400000 "+a+" H0 L"+n+" 0 l65 45 L145 "+(a-80)+" H400000z"},$5=function(a,n,u){var o=u-54-n-a;return"M702 "+(a+n)+"H400000"+(40+a)+`
H742v`+o+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+n+"H400000v"+(40+a)+"H742z"},P5=function(a,n,u){n=1e3*n;var o="";switch(a){case"sqrtMain":o=X5(n,$r);break;case"sqrtSize1":o=Y5(n,$r);break;case"sqrtSize2":o=F5(n,$r);break;case"sqrtSize3":o=Z5(n,$r);break;case"sqrtSize4":o=K5(n,$r);break;case"sqrtTall":o=$5(n,$r,u)}return o},J5=function(a,n){switch(a){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},V4={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
 435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},I5=function(a,n){switch(a){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class ul{constructor(a){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(a){return ie.contains(this.classes,a)}toNode(){for(var a=document.createDocumentFragment(),n=0;n<this.children.length;n++)a.appendChild(this.children[n].toNode());return a}toMarkup(){for(var a="",n=0;n<this.children.length;n++)a+=this.children[n].toMarkup();return a}toText(){var a=n=>n.toText();return this.children.map(a).join("")}}var M0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Si={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},X4={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Uf(i,a){M0[i]=a}function qo(i,a,n){if(!M0[a])throw new Error("Font metrics not found for font: "+a+".");var u=i.charCodeAt(0),o=M0[a][u];if(!o&&i[0]in X4&&(u=X4[i[0]].charCodeAt(0),o=M0[a][u]),!o&&n==="text"&&Hf(u)&&(o=M0[a][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var ao={};function W5(i){var a;if(i>=5?a=0:i>=3?a=1:a=2,!ao[a]){var n=ao[a]={cssEmPerMu:Si.quad[a]/18};for(var u in Si)Si.hasOwnProperty(u)&&(n[u]=Si[u][a])}return ao[a]}var e6=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Y4=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F4=function(a,n){return n.size<2?a:e6[a-1][n.size-1]};class P0{constructor(a){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=a.style,this.color=a.color,this.size=a.size||P0.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=Y4[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}extend(a){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u]);return new P0(n)}havingStyle(a){return this.style===a?this:this.extend({style:a,size:F4(this.textSize,a)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(a){return this.size===a&&this.textSize===a?this:this.extend({style:this.style.text(),size:a,textSize:a,sizeMultiplier:Y4[a-1]})}havingBaseStyle(a){a=a||this.style.text();var n=F4(P0.BASESIZE,a);return this.size===n&&this.textSize===P0.BASESIZE&&this.style===a?this:this.extend({style:a,size:n})}havingBaseSizing(){var a;switch(this.style.id){case 4:case 5:a=3;break;case 6:case 7:a=1;break;default:a=6}return this.extend({style:this.style.text(),size:a})}withColor(a){return this.extend({color:a})}withPhantom(){return this.extend({phantom:!0})}withFont(a){return this.extend({font:a})}withTextFontFamily(a){return this.extend({fontFamily:a,font:""})}withTextFontWeight(a){return this.extend({fontWeight:a,font:""})}withTextFontShape(a){return this.extend({fontShape:a,font:""})}sizingClasses(a){return a.size!==this.size?["sizing","reset-size"+a.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==P0.BASESIZE?["sizing","reset-size"+this.size,"size"+P0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=W5(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}P0.BASESIZE=6;var To={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},t6={ex:!0,em:!0,mu:!0},jf=function(a){return typeof a!="string"&&(a=a.unit),a in To||a in t6||a==="ex"},Qe=function(a,n){var u;if(a.unit in To)u=To[a.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(a.unit==="mu")u=n.fontMetrics().cssEmPerMu;else{var o;if(n.style.isTight()?o=n.havingStyle(n.style.text()):o=n,a.unit==="ex")u=o.fontMetrics().xHeight;else if(a.unit==="em")u=o.fontMetrics().quad;else throw new Z("Invalid unit: '"+a.unit+"'");o!==n&&(u*=o.sizeMultiplier/n.sizeMultiplier)}return Math.min(a.number*u,n.maxSize)},K=function(a){return+a.toFixed(4)+"em"},Oa=function(a){return a.filter(n=>n).join(" ")},Gf=function(a,n,u){if(this.classes=a||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},n){n.style.isTight()&&this.classes.push("mtight");var o=n.getColor();o&&(this.style.color=o)}},Vf=function(a){var n=document.createElement(a);n.className=Oa(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(n.style[u]=this.style[u]);for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&n.setAttribute(o,this.attributes[o]);for(var d=0;d<this.children.length;d++)n.appendChild(this.children[d].toNode());return n},a6=/[\s"'>/=\x00-\x1f]/,Xf=function(a){var n="<"+a;this.classes.length&&(n+=' class="'+ie.escape(Oa(this.classes))+'"');var u="";for(var o in this.style)this.style.hasOwnProperty(o)&&(u+=ie.hyphenate(o)+":"+this.style[o]+";");u&&(n+=' style="'+ie.escape(u)+'"');for(var d in this.attributes)if(this.attributes.hasOwnProperty(d)){if(a6.test(d))throw new Z("Invalid attribute name '"+d+"'");n+=" "+d+'="'+ie.escape(this.attributes[d])+'"'}n+=">";for(var m=0;m<this.children.length;m++)n+=this.children[m].toMarkup();return n+="</"+a+">",n};class sl{constructor(a,n,u,o){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Gf.call(this,a,u,o),this.children=n||[]}setAttribute(a,n){this.attributes[a]=n}hasClass(a){return ie.contains(this.classes,a)}toNode(){return Vf.call(this,"span")}toMarkup(){return Xf.call(this,"span")}}class Bo{constructor(a,n,u,o){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Gf.call(this,n,o),this.children=u||[],this.setAttribute("href",a)}setAttribute(a,n){this.attributes[a]=n}hasClass(a){return ie.contains(this.classes,a)}toNode(){return Vf.call(this,"a")}toMarkup(){return Xf.call(this,"a")}}class r6{constructor(a,n,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=a,this.classes=["mord"],this.style=u}hasClass(a){return ie.contains(this.classes,a)}toNode(){var a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(a.style[n]=this.style[n]);return a}toMarkup(){var a='<img src="'+ie.escape(this.src)+'"'+(' alt="'+ie.escape(this.alt)+'"'),n="";for(var u in this.style)this.style.hasOwnProperty(u)&&(n+=ie.hyphenate(u)+":"+this.style[u]+";");return n&&(a+=' style="'+ie.escape(n)+'"'),a+="'/>",a}}var n6={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class o0{constructor(a,n,u,o,d,m,g,y){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=a,this.height=n||0,this.depth=u||0,this.italic=o||0,this.skew=d||0,this.width=m||0,this.classes=g||[],this.style=y||{},this.maxFontSize=0;var S=V5(this.text.charCodeAt(0));S&&this.classes.push(S+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=n6[this.text])}hasClass(a){return ie.contains(this.classes,a)}toNode(){var a=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=K(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Oa(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(n=n||document.createElement("span"),n.style[u]=this.style[u]);return n?(n.appendChild(a),n):a}toMarkup(){var a=!1,n="<span";this.classes.length&&(a=!0,n+=' class="',n+=ie.escape(Oa(this.classes)),n+='"');var u="";this.italic>0&&(u+="margin-right:"+this.italic+"em;");for(var o in this.style)this.style.hasOwnProperty(o)&&(u+=ie.hyphenate(o)+":"+this.style[o]+";");u&&(a=!0,n+=' style="'+ie.escape(u)+'"');var d=ie.escape(this.text);return a?(n+=">",n+=d,n+="</span>",n):d}}class ea{constructor(a,n){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=n||{}}toNode(){var a="http://www.w3.org/2000/svg",n=document.createElementNS(a,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&n.setAttribute(u,this.attributes[u]);for(var o=0;o<this.children.length;o++)n.appendChild(this.children[o].toNode());return n}toMarkup(){var a='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(a+=" "+n+'="'+ie.escape(this.attributes[n])+'"');a+=">";for(var u=0;u<this.children.length;u++)a+=this.children[u].toMarkup();return a+="</svg>",a}}class Ra{constructor(a,n){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=n}toNode(){var a="http://www.w3.org/2000/svg",n=document.createElementNS(a,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",V4[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+ie.escape(this.alternate)+'"/>':'<path d="'+ie.escape(V4[this.pathName])+'"/>'}}class wo{constructor(a){this.attributes=void 0,this.attributes=a||{}}toNode(){var a="http://www.w3.org/2000/svg",n=document.createElementNS(a,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&n.setAttribute(u,this.attributes[u]);return n}toMarkup(){var a="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(a+=" "+n+'="'+ie.escape(this.attributes[n])+'"');return a+="/>",a}}function Z4(i){if(i instanceof o0)return i;throw new Error("Expected symbolNode but got "+String(i)+".")}function l6(i){if(i instanceof sl)return i;throw new Error("Expected span<HtmlDomNode> but got "+String(i)+".")}var i6={bin:1,close:1,inner:1,open:1,punct:1,rel:1},u6={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},je={math:{},text:{}};function f(i,a,n,u,o,d){je[i][o]={font:a,group:n,replace:u},d&&u&&(je[i][u]=je[i][o])}var h="math",Y="text",v="main",w="ams",Xe="accent-token",W="bin",Nt="close",Wr="inner",se="mathord",it="op-token",Kt="open",Li="punct",A="rel",na="spacing",k="textord";f(h,v,A,"≡","\\equiv",!0);f(h,v,A,"≺","\\prec",!0);f(h,v,A,"≻","\\succ",!0);f(h,v,A,"∼","\\sim",!0);f(h,v,A,"⊥","\\perp");f(h,v,A,"⪯","\\preceq",!0);f(h,v,A,"⪰","\\succeq",!0);f(h,v,A,"≃","\\simeq",!0);f(h,v,A,"∣","\\mid",!0);f(h,v,A,"≪","\\ll",!0);f(h,v,A,"≫","\\gg",!0);f(h,v,A,"≍","\\asymp",!0);f(h,v,A,"∥","\\parallel");f(h,v,A,"⋈","\\bowtie",!0);f(h,v,A,"⌣","\\smile",!0);f(h,v,A,"⊑","\\sqsubseteq",!0);f(h,v,A,"⊒","\\sqsupseteq",!0);f(h,v,A,"≐","\\doteq",!0);f(h,v,A,"⌢","\\frown",!0);f(h,v,A,"∋","\\ni",!0);f(h,v,A,"∝","\\propto",!0);f(h,v,A,"⊢","\\vdash",!0);f(h,v,A,"⊣","\\dashv",!0);f(h,v,A,"∋","\\owns");f(h,v,Li,".","\\ldotp");f(h,v,Li,"⋅","\\cdotp");f(h,v,k,"#","\\#");f(Y,v,k,"#","\\#");f(h,v,k,"&","\\&");f(Y,v,k,"&","\\&");f(h,v,k,"ℵ","\\aleph",!0);f(h,v,k,"∀","\\forall",!0);f(h,v,k,"ℏ","\\hbar",!0);f(h,v,k,"∃","\\exists",!0);f(h,v,k,"∇","\\nabla",!0);f(h,v,k,"♭","\\flat",!0);f(h,v,k,"ℓ","\\ell",!0);f(h,v,k,"♮","\\natural",!0);f(h,v,k,"♣","\\clubsuit",!0);f(h,v,k,"℘","\\wp",!0);f(h,v,k,"♯","\\sharp",!0);f(h,v,k,"♢","\\diamondsuit",!0);f(h,v,k,"ℜ","\\Re",!0);f(h,v,k,"♡","\\heartsuit",!0);f(h,v,k,"ℑ","\\Im",!0);f(h,v,k,"♠","\\spadesuit",!0);f(h,v,k,"§","\\S",!0);f(Y,v,k,"§","\\S");f(h,v,k,"¶","\\P",!0);f(Y,v,k,"¶","\\P");f(h,v,k,"†","\\dag");f(Y,v,k,"†","\\dag");f(Y,v,k,"†","\\textdagger");f(h,v,k,"‡","\\ddag");f(Y,v,k,"‡","\\ddag");f(Y,v,k,"‡","\\textdaggerdbl");f(h,v,Nt,"⎱","\\rmoustache",!0);f(h,v,Kt,"⎰","\\lmoustache",!0);f(h,v,Nt,"⟯","\\rgroup",!0);f(h,v,Kt,"⟮","\\lgroup",!0);f(h,v,W,"∓","\\mp",!0);f(h,v,W,"⊖","\\ominus",!0);f(h,v,W,"⊎","\\uplus",!0);f(h,v,W,"⊓","\\sqcap",!0);f(h,v,W,"∗","\\ast");f(h,v,W,"⊔","\\sqcup",!0);f(h,v,W,"◯","\\bigcirc",!0);f(h,v,W,"∙","\\bullet",!0);f(h,v,W,"‡","\\ddagger");f(h,v,W,"≀","\\wr",!0);f(h,v,W,"⨿","\\amalg");f(h,v,W,"&","\\And");f(h,v,A,"⟵","\\longleftarrow",!0);f(h,v,A,"⇐","\\Leftarrow",!0);f(h,v,A,"⟸","\\Longleftarrow",!0);f(h,v,A,"⟶","\\longrightarrow",!0);f(h,v,A,"⇒","\\Rightarrow",!0);f(h,v,A,"⟹","\\Longrightarrow",!0);f(h,v,A,"↔","\\leftrightarrow",!0);f(h,v,A,"⟷","\\longleftrightarrow",!0);f(h,v,A,"⇔","\\Leftrightarrow",!0);f(h,v,A,"⟺","\\Longleftrightarrow",!0);f(h,v,A,"↦","\\mapsto",!0);f(h,v,A,"⟼","\\longmapsto",!0);f(h,v,A,"↗","\\nearrow",!0);f(h,v,A,"↩","\\hookleftarrow",!0);f(h,v,A,"↪","\\hookrightarrow",!0);f(h,v,A,"↘","\\searrow",!0);f(h,v,A,"↼","\\leftharpoonup",!0);f(h,v,A,"⇀","\\rightharpoonup",!0);f(h,v,A,"↙","\\swarrow",!0);f(h,v,A,"↽","\\leftharpoondown",!0);f(h,v,A,"⇁","\\rightharpoondown",!0);f(h,v,A,"↖","\\nwarrow",!0);f(h,v,A,"⇌","\\rightleftharpoons",!0);f(h,w,A,"≮","\\nless",!0);f(h,w,A,"","\\@nleqslant");f(h,w,A,"","\\@nleqq");f(h,w,A,"⪇","\\lneq",!0);f(h,w,A,"≨","\\lneqq",!0);f(h,w,A,"","\\@lvertneqq");f(h,w,A,"⋦","\\lnsim",!0);f(h,w,A,"⪉","\\lnapprox",!0);f(h,w,A,"⊀","\\nprec",!0);f(h,w,A,"⋠","\\npreceq",!0);f(h,w,A,"⋨","\\precnsim",!0);f(h,w,A,"⪹","\\precnapprox",!0);f(h,w,A,"≁","\\nsim",!0);f(h,w,A,"","\\@nshortmid");f(h,w,A,"∤","\\nmid",!0);f(h,w,A,"⊬","\\nvdash",!0);f(h,w,A,"⊭","\\nvDash",!0);f(h,w,A,"⋪","\\ntriangleleft");f(h,w,A,"⋬","\\ntrianglelefteq",!0);f(h,w,A,"⊊","\\subsetneq",!0);f(h,w,A,"","\\@varsubsetneq");f(h,w,A,"⫋","\\subsetneqq",!0);f(h,w,A,"","\\@varsubsetneqq");f(h,w,A,"≯","\\ngtr",!0);f(h,w,A,"","\\@ngeqslant");f(h,w,A,"","\\@ngeqq");f(h,w,A,"⪈","\\gneq",!0);f(h,w,A,"≩","\\gneqq",!0);f(h,w,A,"","\\@gvertneqq");f(h,w,A,"⋧","\\gnsim",!0);f(h,w,A,"⪊","\\gnapprox",!0);f(h,w,A,"⊁","\\nsucc",!0);f(h,w,A,"⋡","\\nsucceq",!0);f(h,w,A,"⋩","\\succnsim",!0);f(h,w,A,"⪺","\\succnapprox",!0);f(h,w,A,"≆","\\ncong",!0);f(h,w,A,"","\\@nshortparallel");f(h,w,A,"∦","\\nparallel",!0);f(h,w,A,"⊯","\\nVDash",!0);f(h,w,A,"⋫","\\ntriangleright");f(h,w,A,"⋭","\\ntrianglerighteq",!0);f(h,w,A,"","\\@nsupseteqq");f(h,w,A,"⊋","\\supsetneq",!0);f(h,w,A,"","\\@varsupsetneq");f(h,w,A,"⫌","\\supsetneqq",!0);f(h,w,A,"","\\@varsupsetneqq");f(h,w,A,"⊮","\\nVdash",!0);f(h,w,A,"⪵","\\precneqq",!0);f(h,w,A,"⪶","\\succneqq",!0);f(h,w,A,"","\\@nsubseteqq");f(h,w,W,"⊴","\\unlhd");f(h,w,W,"⊵","\\unrhd");f(h,w,A,"↚","\\nleftarrow",!0);f(h,w,A,"↛","\\nrightarrow",!0);f(h,w,A,"⇍","\\nLeftarrow",!0);f(h,w,A,"⇏","\\nRightarrow",!0);f(h,w,A,"↮","\\nleftrightarrow",!0);f(h,w,A,"⇎","\\nLeftrightarrow",!0);f(h,w,A,"△","\\vartriangle");f(h,w,k,"ℏ","\\hslash");f(h,w,k,"▽","\\triangledown");f(h,w,k,"◊","\\lozenge");f(h,w,k,"Ⓢ","\\circledS");f(h,w,k,"®","\\circledR");f(Y,w,k,"®","\\circledR");f(h,w,k,"∡","\\measuredangle",!0);f(h,w,k,"∄","\\nexists");f(h,w,k,"℧","\\mho");f(h,w,k,"Ⅎ","\\Finv",!0);f(h,w,k,"⅁","\\Game",!0);f(h,w,k,"‵","\\backprime");f(h,w,k,"▲","\\blacktriangle");f(h,w,k,"▼","\\blacktriangledown");f(h,w,k,"■","\\blacksquare");f(h,w,k,"⧫","\\blacklozenge");f(h,w,k,"★","\\bigstar");f(h,w,k,"∢","\\sphericalangle",!0);f(h,w,k,"∁","\\complement",!0);f(h,w,k,"ð","\\eth",!0);f(Y,v,k,"ð","ð");f(h,w,k,"╱","\\diagup");f(h,w,k,"╲","\\diagdown");f(h,w,k,"□","\\square");f(h,w,k,"□","\\Box");f(h,w,k,"◊","\\Diamond");f(h,w,k,"¥","\\yen",!0);f(Y,w,k,"¥","\\yen",!0);f(h,w,k,"✓","\\checkmark",!0);f(Y,w,k,"✓","\\checkmark");f(h,w,k,"ℶ","\\beth",!0);f(h,w,k,"ℸ","\\daleth",!0);f(h,w,k,"ℷ","\\gimel",!0);f(h,w,k,"ϝ","\\digamma",!0);f(h,w,k,"ϰ","\\varkappa");f(h,w,Kt,"┌","\\@ulcorner",!0);f(h,w,Nt,"┐","\\@urcorner",!0);f(h,w,Kt,"└","\\@llcorner",!0);f(h,w,Nt,"┘","\\@lrcorner",!0);f(h,w,A,"≦","\\leqq",!0);f(h,w,A,"⩽","\\leqslant",!0);f(h,w,A,"⪕","\\eqslantless",!0);f(h,w,A,"≲","\\lesssim",!0);f(h,w,A,"⪅","\\lessapprox",!0);f(h,w,A,"≊","\\approxeq",!0);f(h,w,W,"⋖","\\lessdot");f(h,w,A,"⋘","\\lll",!0);f(h,w,A,"≶","\\lessgtr",!0);f(h,w,A,"⋚","\\lesseqgtr",!0);f(h,w,A,"⪋","\\lesseqqgtr",!0);f(h,w,A,"≑","\\doteqdot");f(h,w,A,"≓","\\risingdotseq",!0);f(h,w,A,"≒","\\fallingdotseq",!0);f(h,w,A,"∽","\\backsim",!0);f(h,w,A,"⋍","\\backsimeq",!0);f(h,w,A,"⫅","\\subseteqq",!0);f(h,w,A,"⋐","\\Subset",!0);f(h,w,A,"⊏","\\sqsubset",!0);f(h,w,A,"≼","\\preccurlyeq",!0);f(h,w,A,"⋞","\\curlyeqprec",!0);f(h,w,A,"≾","\\precsim",!0);f(h,w,A,"⪷","\\precapprox",!0);f(h,w,A,"⊲","\\vartriangleleft");f(h,w,A,"⊴","\\trianglelefteq");f(h,w,A,"⊨","\\vDash",!0);f(h,w,A,"⊪","\\Vvdash",!0);f(h,w,A,"⌣","\\smallsmile");f(h,w,A,"⌢","\\smallfrown");f(h,w,A,"≏","\\bumpeq",!0);f(h,w,A,"≎","\\Bumpeq",!0);f(h,w,A,"≧","\\geqq",!0);f(h,w,A,"⩾","\\geqslant",!0);f(h,w,A,"⪖","\\eqslantgtr",!0);f(h,w,A,"≳","\\gtrsim",!0);f(h,w,A,"⪆","\\gtrapprox",!0);f(h,w,W,"⋗","\\gtrdot");f(h,w,A,"⋙","\\ggg",!0);f(h,w,A,"≷","\\gtrless",!0);f(h,w,A,"⋛","\\gtreqless",!0);f(h,w,A,"⪌","\\gtreqqless",!0);f(h,w,A,"≖","\\eqcirc",!0);f(h,w,A,"≗","\\circeq",!0);f(h,w,A,"≜","\\triangleq",!0);f(h,w,A,"∼","\\thicksim");f(h,w,A,"≈","\\thickapprox");f(h,w,A,"⫆","\\supseteqq",!0);f(h,w,A,"⋑","\\Supset",!0);f(h,w,A,"⊐","\\sqsupset",!0);f(h,w,A,"≽","\\succcurlyeq",!0);f(h,w,A,"⋟","\\curlyeqsucc",!0);f(h,w,A,"≿","\\succsim",!0);f(h,w,A,"⪸","\\succapprox",!0);f(h,w,A,"⊳","\\vartriangleright");f(h,w,A,"⊵","\\trianglerighteq");f(h,w,A,"⊩","\\Vdash",!0);f(h,w,A,"∣","\\shortmid");f(h,w,A,"∥","\\shortparallel");f(h,w,A,"≬","\\between",!0);f(h,w,A,"⋔","\\pitchfork",!0);f(h,w,A,"∝","\\varpropto");f(h,w,A,"◀","\\blacktriangleleft");f(h,w,A,"∴","\\therefore",!0);f(h,w,A,"∍","\\backepsilon");f(h,w,A,"▶","\\blacktriangleright");f(h,w,A,"∵","\\because",!0);f(h,w,A,"⋘","\\llless");f(h,w,A,"⋙","\\gggtr");f(h,w,W,"⊲","\\lhd");f(h,w,W,"⊳","\\rhd");f(h,w,A,"≂","\\eqsim",!0);f(h,v,A,"⋈","\\Join");f(h,w,A,"≑","\\Doteq",!0);f(h,w,W,"∔","\\dotplus",!0);f(h,w,W,"∖","\\smallsetminus");f(h,w,W,"⋒","\\Cap",!0);f(h,w,W,"⋓","\\Cup",!0);f(h,w,W,"⩞","\\doublebarwedge",!0);f(h,w,W,"⊟","\\boxminus",!0);f(h,w,W,"⊞","\\boxplus",!0);f(h,w,W,"⋇","\\divideontimes",!0);f(h,w,W,"⋉","\\ltimes",!0);f(h,w,W,"⋊","\\rtimes",!0);f(h,w,W,"⋋","\\leftthreetimes",!0);f(h,w,W,"⋌","\\rightthreetimes",!0);f(h,w,W,"⋏","\\curlywedge",!0);f(h,w,W,"⋎","\\curlyvee",!0);f(h,w,W,"⊝","\\circleddash",!0);f(h,w,W,"⊛","\\circledast",!0);f(h,w,W,"⋅","\\centerdot");f(h,w,W,"⊺","\\intercal",!0);f(h,w,W,"⋒","\\doublecap");f(h,w,W,"⋓","\\doublecup");f(h,w,W,"⊠","\\boxtimes",!0);f(h,w,A,"⇢","\\dashrightarrow",!0);f(h,w,A,"⇠","\\dashleftarrow",!0);f(h,w,A,"⇇","\\leftleftarrows",!0);f(h,w,A,"⇆","\\leftrightarrows",!0);f(h,w,A,"⇚","\\Lleftarrow",!0);f(h,w,A,"↞","\\twoheadleftarrow",!0);f(h,w,A,"↢","\\leftarrowtail",!0);f(h,w,A,"↫","\\looparrowleft",!0);f(h,w,A,"⇋","\\leftrightharpoons",!0);f(h,w,A,"↶","\\curvearrowleft",!0);f(h,w,A,"↺","\\circlearrowleft",!0);f(h,w,A,"↰","\\Lsh",!0);f(h,w,A,"⇈","\\upuparrows",!0);f(h,w,A,"↿","\\upharpoonleft",!0);f(h,w,A,"⇃","\\downharpoonleft",!0);f(h,v,A,"⊶","\\origof",!0);f(h,v,A,"⊷","\\imageof",!0);f(h,w,A,"⊸","\\multimap",!0);f(h,w,A,"↭","\\leftrightsquigarrow",!0);f(h,w,A,"⇉","\\rightrightarrows",!0);f(h,w,A,"⇄","\\rightleftarrows",!0);f(h,w,A,"↠","\\twoheadrightarrow",!0);f(h,w,A,"↣","\\rightarrowtail",!0);f(h,w,A,"↬","\\looparrowright",!0);f(h,w,A,"↷","\\curvearrowright",!0);f(h,w,A,"↻","\\circlearrowright",!0);f(h,w,A,"↱","\\Rsh",!0);f(h,w,A,"⇊","\\downdownarrows",!0);f(h,w,A,"↾","\\upharpoonright",!0);f(h,w,A,"⇂","\\downharpoonright",!0);f(h,w,A,"⇝","\\rightsquigarrow",!0);f(h,w,A,"⇝","\\leadsto");f(h,w,A,"⇛","\\Rrightarrow",!0);f(h,w,A,"↾","\\restriction");f(h,v,k,"‘","`");f(h,v,k,"$","\\$");f(Y,v,k,"$","\\$");f(Y,v,k,"$","\\textdollar");f(h,v,k,"%","\\%");f(Y,v,k,"%","\\%");f(h,v,k,"_","\\_");f(Y,v,k,"_","\\_");f(Y,v,k,"_","\\textunderscore");f(h,v,k,"∠","\\angle",!0);f(h,v,k,"∞","\\infty",!0);f(h,v,k,"′","\\prime");f(h,v,k,"△","\\triangle");f(h,v,k,"Γ","\\Gamma",!0);f(h,v,k,"Δ","\\Delta",!0);f(h,v,k,"Θ","\\Theta",!0);f(h,v,k,"Λ","\\Lambda",!0);f(h,v,k,"Ξ","\\Xi",!0);f(h,v,k,"Π","\\Pi",!0);f(h,v,k,"Σ","\\Sigma",!0);f(h,v,k,"Υ","\\Upsilon",!0);f(h,v,k,"Φ","\\Phi",!0);f(h,v,k,"Ψ","\\Psi",!0);f(h,v,k,"Ω","\\Omega",!0);f(h,v,k,"A","Α");f(h,v,k,"B","Β");f(h,v,k,"E","Ε");f(h,v,k,"Z","Ζ");f(h,v,k,"H","Η");f(h,v,k,"I","Ι");f(h,v,k,"K","Κ");f(h,v,k,"M","Μ");f(h,v,k,"N","Ν");f(h,v,k,"O","Ο");f(h,v,k,"P","Ρ");f(h,v,k,"T","Τ");f(h,v,k,"X","Χ");f(h,v,k,"¬","\\neg",!0);f(h,v,k,"¬","\\lnot");f(h,v,k,"⊤","\\top");f(h,v,k,"⊥","\\bot");f(h,v,k,"∅","\\emptyset");f(h,w,k,"∅","\\varnothing");f(h,v,se,"α","\\alpha",!0);f(h,v,se,"β","\\beta",!0);f(h,v,se,"γ","\\gamma",!0);f(h,v,se,"δ","\\delta",!0);f(h,v,se,"ϵ","\\epsilon",!0);f(h,v,se,"ζ","\\zeta",!0);f(h,v,se,"η","\\eta",!0);f(h,v,se,"θ","\\theta",!0);f(h,v,se,"ι","\\iota",!0);f(h,v,se,"κ","\\kappa",!0);f(h,v,se,"λ","\\lambda",!0);f(h,v,se,"μ","\\mu",!0);f(h,v,se,"ν","\\nu",!0);f(h,v,se,"ξ","\\xi",!0);f(h,v,se,"ο","\\omicron",!0);f(h,v,se,"π","\\pi",!0);f(h,v,se,"ρ","\\rho",!0);f(h,v,se,"σ","\\sigma",!0);f(h,v,se,"τ","\\tau",!0);f(h,v,se,"υ","\\upsilon",!0);f(h,v,se,"ϕ","\\phi",!0);f(h,v,se,"χ","\\chi",!0);f(h,v,se,"ψ","\\psi",!0);f(h,v,se,"ω","\\omega",!0);f(h,v,se,"ε","\\varepsilon",!0);f(h,v,se,"ϑ","\\vartheta",!0);f(h,v,se,"ϖ","\\varpi",!0);f(h,v,se,"ϱ","\\varrho",!0);f(h,v,se,"ς","\\varsigma",!0);f(h,v,se,"φ","\\varphi",!0);f(h,v,W,"∗","*",!0);f(h,v,W,"+","+");f(h,v,W,"−","-",!0);f(h,v,W,"⋅","\\cdot",!0);f(h,v,W,"∘","\\circ",!0);f(h,v,W,"÷","\\div",!0);f(h,v,W,"±","\\pm",!0);f(h,v,W,"×","\\times",!0);f(h,v,W,"∩","\\cap",!0);f(h,v,W,"∪","\\cup",!0);f(h,v,W,"∖","\\setminus",!0);f(h,v,W,"∧","\\land");f(h,v,W,"∨","\\lor");f(h,v,W,"∧","\\wedge",!0);f(h,v,W,"∨","\\vee",!0);f(h,v,k,"√","\\surd");f(h,v,Kt,"⟨","\\langle",!0);f(h,v,Kt,"∣","\\lvert");f(h,v,Kt,"∥","\\lVert");f(h,v,Nt,"?","?");f(h,v,Nt,"!","!");f(h,v,Nt,"⟩","\\rangle",!0);f(h,v,Nt,"∣","\\rvert");f(h,v,Nt,"∥","\\rVert");f(h,v,A,"=","=");f(h,v,A,":",":");f(h,v,A,"≈","\\approx",!0);f(h,v,A,"≅","\\cong",!0);f(h,v,A,"≥","\\ge");f(h,v,A,"≥","\\geq",!0);f(h,v,A,"←","\\gets");f(h,v,A,">","\\gt",!0);f(h,v,A,"∈","\\in",!0);f(h,v,A,"","\\@not");f(h,v,A,"⊂","\\subset",!0);f(h,v,A,"⊃","\\supset",!0);f(h,v,A,"⊆","\\subseteq",!0);f(h,v,A,"⊇","\\supseteq",!0);f(h,w,A,"⊈","\\nsubseteq",!0);f(h,w,A,"⊉","\\nsupseteq",!0);f(h,v,A,"⊨","\\models");f(h,v,A,"←","\\leftarrow",!0);f(h,v,A,"≤","\\le");f(h,v,A,"≤","\\leq",!0);f(h,v,A,"<","\\lt",!0);f(h,v,A,"→","\\rightarrow",!0);f(h,v,A,"→","\\to");f(h,w,A,"≱","\\ngeq",!0);f(h,w,A,"≰","\\nleq",!0);f(h,v,na," ","\\ ");f(h,v,na," ","\\space");f(h,v,na," ","\\nobreakspace");f(Y,v,na," ","\\ ");f(Y,v,na," "," ");f(Y,v,na," ","\\space");f(Y,v,na," ","\\nobreakspace");f(h,v,na,null,"\\nobreak");f(h,v,na,null,"\\allowbreak");f(h,v,Li,",",",");f(h,v,Li,";",";");f(h,w,W,"⊼","\\barwedge",!0);f(h,w,W,"⊻","\\veebar",!0);f(h,v,W,"⊙","\\odot",!0);f(h,v,W,"⊕","\\oplus",!0);f(h,v,W,"⊗","\\otimes",!0);f(h,v,k,"∂","\\partial",!0);f(h,v,W,"⊘","\\oslash",!0);f(h,w,W,"⊚","\\circledcirc",!0);f(h,w,W,"⊡","\\boxdot",!0);f(h,v,W,"△","\\bigtriangleup");f(h,v,W,"▽","\\bigtriangledown");f(h,v,W,"†","\\dagger");f(h,v,W,"⋄","\\diamond");f(h,v,W,"⋆","\\star");f(h,v,W,"◃","\\triangleleft");f(h,v,W,"▹","\\triangleright");f(h,v,Kt,"{","\\{");f(Y,v,k,"{","\\{");f(Y,v,k,"{","\\textbraceleft");f(h,v,Nt,"}","\\}");f(Y,v,k,"}","\\}");f(Y,v,k,"}","\\textbraceright");f(h,v,Kt,"{","\\lbrace");f(h,v,Nt,"}","\\rbrace");f(h,v,Kt,"[","\\lbrack",!0);f(Y,v,k,"[","\\lbrack",!0);f(h,v,Nt,"]","\\rbrack",!0);f(Y,v,k,"]","\\rbrack",!0);f(h,v,Kt,"(","\\lparen",!0);f(h,v,Nt,")","\\rparen",!0);f(Y,v,k,"<","\\textless",!0);f(Y,v,k,">","\\textgreater",!0);f(h,v,Kt,"⌊","\\lfloor",!0);f(h,v,Nt,"⌋","\\rfloor",!0);f(h,v,Kt,"⌈","\\lceil",!0);f(h,v,Nt,"⌉","\\rceil",!0);f(h,v,k,"\\","\\backslash");f(h,v,k,"∣","|");f(h,v,k,"∣","\\vert");f(Y,v,k,"|","\\textbar",!0);f(h,v,k,"∥","\\|");f(h,v,k,"∥","\\Vert");f(Y,v,k,"∥","\\textbardbl");f(Y,v,k,"~","\\textasciitilde");f(Y,v,k,"\\","\\textbackslash");f(Y,v,k,"^","\\textasciicircum");f(h,v,A,"↑","\\uparrow",!0);f(h,v,A,"⇑","\\Uparrow",!0);f(h,v,A,"↓","\\downarrow",!0);f(h,v,A,"⇓","\\Downarrow",!0);f(h,v,A,"↕","\\updownarrow",!0);f(h,v,A,"⇕","\\Updownarrow",!0);f(h,v,it,"∐","\\coprod");f(h,v,it,"⋁","\\bigvee");f(h,v,it,"⋀","\\bigwedge");f(h,v,it,"⨄","\\biguplus");f(h,v,it,"⋂","\\bigcap");f(h,v,it,"⋃","\\bigcup");f(h,v,it,"∫","\\int");f(h,v,it,"∫","\\intop");f(h,v,it,"∬","\\iint");f(h,v,it,"∭","\\iiint");f(h,v,it,"∏","\\prod");f(h,v,it,"∑","\\sum");f(h,v,it,"⨂","\\bigotimes");f(h,v,it,"⨁","\\bigoplus");f(h,v,it,"⨀","\\bigodot");f(h,v,it,"∮","\\oint");f(h,v,it,"∯","\\oiint");f(h,v,it,"∰","\\oiiint");f(h,v,it,"⨆","\\bigsqcup");f(h,v,it,"∫","\\smallint");f(Y,v,Wr,"…","\\textellipsis");f(h,v,Wr,"…","\\mathellipsis");f(Y,v,Wr,"…","\\ldots",!0);f(h,v,Wr,"…","\\ldots",!0);f(h,v,Wr,"⋯","\\@cdots",!0);f(h,v,Wr,"⋱","\\ddots",!0);f(h,v,k,"⋮","\\varvdots");f(Y,v,k,"⋮","\\varvdots");f(h,v,Xe,"ˊ","\\acute");f(h,v,Xe,"ˋ","\\grave");f(h,v,Xe,"¨","\\ddot");f(h,v,Xe,"~","\\tilde");f(h,v,Xe,"ˉ","\\bar");f(h,v,Xe,"˘","\\breve");f(h,v,Xe,"ˇ","\\check");f(h,v,Xe,"^","\\hat");f(h,v,Xe,"⃗","\\vec");f(h,v,Xe,"˙","\\dot");f(h,v,Xe,"˚","\\mathring");f(h,v,se,"","\\@imath");f(h,v,se,"","\\@jmath");f(h,v,k,"ı","ı");f(h,v,k,"ȷ","ȷ");f(Y,v,k,"ı","\\i",!0);f(Y,v,k,"ȷ","\\j",!0);f(Y,v,k,"ß","\\ss",!0);f(Y,v,k,"æ","\\ae",!0);f(Y,v,k,"œ","\\oe",!0);f(Y,v,k,"ø","\\o",!0);f(Y,v,k,"Æ","\\AE",!0);f(Y,v,k,"Œ","\\OE",!0);f(Y,v,k,"Ø","\\O",!0);f(Y,v,Xe,"ˊ","\\'");f(Y,v,Xe,"ˋ","\\`");f(Y,v,Xe,"ˆ","\\^");f(Y,v,Xe,"˜","\\~");f(Y,v,Xe,"ˉ","\\=");f(Y,v,Xe,"˘","\\u");f(Y,v,Xe,"˙","\\.");f(Y,v,Xe,"¸","\\c");f(Y,v,Xe,"˚","\\r");f(Y,v,Xe,"ˇ","\\v");f(Y,v,Xe,"¨",'\\"');f(Y,v,Xe,"˝","\\H");f(Y,v,Xe,"◯","\\textcircled");var Yf={"--":!0,"---":!0,"``":!0,"''":!0};f(Y,v,k,"–","--",!0);f(Y,v,k,"–","\\textendash");f(Y,v,k,"—","---",!0);f(Y,v,k,"—","\\textemdash");f(Y,v,k,"‘","`",!0);f(Y,v,k,"‘","\\textquoteleft");f(Y,v,k,"’","'",!0);f(Y,v,k,"’","\\textquoteright");f(Y,v,k,"“","``",!0);f(Y,v,k,"“","\\textquotedblleft");f(Y,v,k,"”","''",!0);f(Y,v,k,"”","\\textquotedblright");f(h,v,k,"°","\\degree",!0);f(Y,v,k,"°","\\degree");f(Y,v,k,"°","\\textdegree",!0);f(h,v,k,"£","\\pounds");f(h,v,k,"£","\\mathsterling",!0);f(Y,v,k,"£","\\pounds");f(Y,v,k,"£","\\textsterling",!0);f(h,w,k,"✠","\\maltese");f(Y,w,k,"✠","\\maltese");var K4='0123456789/@."';for(var ro=0;ro<K4.length;ro++){var Q4=K4.charAt(ro);f(h,v,k,Q4,Q4)}var $4='0123456789!@*()-=+";:?/.,';for(var no=0;no<$4.length;no++){var P4=$4.charAt(no);f(Y,v,k,P4,P4)}var qi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var lo=0;lo<qi.length;lo++){var Ti=qi.charAt(lo);f(h,v,se,Ti,Ti),f(Y,v,k,Ti,Ti)}f(h,w,k,"C","ℂ");f(Y,w,k,"C","ℂ");f(h,w,k,"H","ℍ");f(Y,w,k,"H","ℍ");f(h,w,k,"N","ℕ");f(Y,w,k,"N","ℕ");f(h,w,k,"P","ℙ");f(Y,w,k,"P","ℙ");f(h,w,k,"Q","ℚ");f(Y,w,k,"Q","ℚ");f(h,w,k,"R","ℝ");f(Y,w,k,"R","ℝ");f(h,w,k,"Z","ℤ");f(Y,w,k,"Z","ℤ");f(h,v,se,"h","ℎ");f(Y,v,se,"h","ℎ");var me="";for(var kt=0;kt<qi.length;kt++){var We=qi.charAt(kt);me=String.fromCharCode(55349,56320+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56372+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56424+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56580+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56684+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56736+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56788+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56840+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56944+kt),f(h,v,se,We,me),f(Y,v,k,We,me),kt<26&&(me=String.fromCharCode(55349,56632+kt),f(h,v,se,We,me),f(Y,v,k,We,me),me=String.fromCharCode(55349,56476+kt),f(h,v,se,We,me),f(Y,v,k,We,me))}me="𝕜";f(h,v,se,"k",me);f(Y,v,k,"k",me);for(var cr=0;cr<10;cr++){var qa=cr.toString();me=String.fromCharCode(55349,57294+cr),f(h,v,se,qa,me),f(Y,v,k,qa,me),me=String.fromCharCode(55349,57314+cr),f(h,v,se,qa,me),f(Y,v,k,qa,me),me=String.fromCharCode(55349,57324+cr),f(h,v,se,qa,me),f(Y,v,k,qa,me),me=String.fromCharCode(55349,57334+cr),f(h,v,se,qa,me),f(Y,v,k,qa,me)}var Ao="ÐÞþ";for(var io=0;io<Ao.length;io++){var wi=Ao.charAt(io);f(h,v,se,wi,wi),f(Y,v,k,wi,wi)}var Ai=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],J4=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],s6=function(a,n){var u=a.charCodeAt(0),o=a.charCodeAt(1),d=(u-55296)*1024+(o-56320)+65536,m=n==="math"?0:1;if(119808<=d&&d<120484){var g=Math.floor((d-119808)/26);return[Ai[g][2],Ai[g][m]]}else if(120782<=d&&d<=120831){var y=Math.floor((d-120782)/10);return[J4[y][2],J4[y][m]]}else{if(d===120485||d===120486)return[Ai[0][2],Ai[0][m]];if(120486<d&&d<120782)return["",""];throw new Z("Unsupported character: "+a)}},Hi=function(a,n,u){return je[u][a]&&je[u][a].replace&&(a=je[u][a].replace),{value:a,metrics:qo(a,n,u)}},g0=function(a,n,u,o,d){var m=Hi(a,n,u),g=m.metrics;a=m.value;var y;if(g){var S=g.italic;(u==="text"||o&&o.font==="mathit")&&(S=0),y=new o0(a,g.height,g.depth,S,g.skew,g.width,d)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+a+"' in style '"+n+"' and mode '"+u+"'")),y=new o0(a,0,0,0,0,0,d);if(o){y.maxFontSize=o.sizeMultiplier,o.style.isTight()&&y.classes.push("mtight");var z=o.getColor();z&&(y.style.color=z)}return y},o6=function(a,n,u,o){return o===void 0&&(o=[]),u.font==="boldsymbol"&&Hi(a,"Main-Bold",n).metrics?g0(a,"Main-Bold",n,u,o.concat(["mathbf"])):a==="\\"||je[n][a].font==="main"?g0(a,"Main-Regular",n,u,o):g0(a,"AMS-Regular",n,u,o.concat(["amsrm"]))},c6=function(a,n,u,o,d){return d!=="textord"&&Hi(a,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},d6=function(a,n,u){var o=a.mode,d=a.text,m=["mord"],g=o==="math"||o==="text"&&n.font,y=g?n.font:n.fontFamily,S="",z="";if(d.charCodeAt(0)===55349&&([S,z]=s6(d,o)),S.length>0)return g0(d,S,o,n,m.concat(z));if(y){var N,_;if(y==="boldsymbol"){var q=c6(d,o,n,m,u);N=q.fontName,_=[q.fontClass]}else g?(N=Kf[y].fontName,_=[y]):(N=Mi(y,n.fontWeight,n.fontShape),_=[y,n.fontWeight,n.fontShape]);if(Hi(d,N,o).metrics)return g0(d,N,o,n,m.concat(_));if(Yf.hasOwnProperty(d)&&N.slice(0,10)==="Typewriter"){for(var j=[],L=0;L<d.length;L++)j.push(g0(d[L],N,o,n,m.concat(_)));return Zf(j)}}if(u==="mathord")return g0(d,"Math-Italic",o,n,m.concat(["mathnormal"]));if(u==="textord"){var Q=je[o][d]&&je[o][d].font;if(Q==="ams"){var P=Mi("amsrm",n.fontWeight,n.fontShape);return g0(d,P,o,n,m.concat("amsrm",n.fontWeight,n.fontShape))}else if(Q==="main"||!Q){var te=Mi("textrm",n.fontWeight,n.fontShape);return g0(d,te,o,n,m.concat(n.fontWeight,n.fontShape))}else{var ne=Mi(Q,n.fontWeight,n.fontShape);return g0(d,ne,o,n,m.concat(ne,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+u+" in makeOrd")},f6=(i,a)=>{if(Oa(i.classes)!==Oa(a.classes)||i.skew!==a.skew||i.maxFontSize!==a.maxFontSize)return!1;if(i.classes.length===1){var n=i.classes[0];if(n==="mbin"||n==="mord")return!1}for(var u in i.style)if(i.style.hasOwnProperty(u)&&i.style[u]!==a.style[u])return!1;for(var o in a.style)if(a.style.hasOwnProperty(o)&&i.style[o]!==a.style[o])return!1;return!0},h6=i=>{for(var a=0;a<i.length-1;a++){var n=i[a],u=i[a+1];n instanceof o0&&u instanceof o0&&f6(n,u)&&(n.text+=u.text,n.height=Math.max(n.height,u.height),n.depth=Math.max(n.depth,u.depth),n.italic=u.italic,i.splice(a+1,1),a--)}return i},Oo=function(a){for(var n=0,u=0,o=0,d=0;d<a.children.length;d++){var m=a.children[d];m.height>n&&(n=m.height),m.depth>u&&(u=m.depth),m.maxFontSize>o&&(o=m.maxFontSize)}a.height=n,a.depth=u,a.maxFontSize=o},qt=function(a,n,u,o){var d=new sl(a,n,u,o);return Oo(d),d},Ff=(i,a,n,u)=>new sl(i,a,n,u),m6=function(a,n,u){var o=qt([a],[],n);return o.height=Math.max(u||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),o.style.borderBottomWidth=K(o.height),o.maxFontSize=1,o},p6=function(a,n,u,o){var d=new Bo(a,n,u,o);return Oo(d),d},Zf=function(a){var n=new ul(a);return Oo(n),n},g6=function(a,n){return a instanceof ul?qt([],[a],n):a},v6=function(a){if(a.positionType==="individualShift"){for(var n=a.children,u=[n[0]],o=-n[0].shift-n[0].elem.depth,d=o,m=1;m<n.length;m++){var g=-n[m].shift-d-n[m].elem.depth,y=g-(n[m-1].elem.height+n[m-1].elem.depth);d=d+g,u.push({type:"kern",size:y}),u.push(n[m])}return{children:u,depth:o}}var S;if(a.positionType==="top"){for(var z=a.positionData,N=0;N<a.children.length;N++){var _=a.children[N];z-=_.type==="kern"?_.size:_.elem.height+_.elem.depth}S=z}else if(a.positionType==="bottom")S=-a.positionData;else{var q=a.children[0];if(q.type!=="elem")throw new Error('First child must have type "elem".');if(a.positionType==="shift")S=-q.elem.depth-a.positionData;else if(a.positionType==="firstBaseline")S=-q.elem.depth;else throw new Error("Invalid positionType "+a.positionType+".")}return{children:a.children,depth:S}},y6=function(a,n){for(var{children:u,depth:o}=v6(a),d=0,m=0;m<u.length;m++){var g=u[m];if(g.type==="elem"){var y=g.elem;d=Math.max(d,y.maxFontSize,y.height)}}d+=2;var S=qt(["pstrut"],[]);S.style.height=K(d);for(var z=[],N=o,_=o,q=o,j=0;j<u.length;j++){var L=u[j];if(L.type==="kern")q+=L.size;else{var Q=L.elem,P=L.wrapperClasses||[],te=L.wrapperStyle||{},ne=qt(P,[S,Q],void 0,te);ne.style.top=K(-d-q-Q.depth),L.marginLeft&&(ne.style.marginLeft=L.marginLeft),L.marginRight&&(ne.style.marginRight=L.marginRight),z.push(ne),q+=Q.height+Q.depth}N=Math.min(N,q),_=Math.max(_,q)}var fe=qt(["vlist"],z);fe.style.height=K(_);var ce;if(N<0){var he=qt([],[]),ye=qt(["vlist"],[he]);ye.style.height=K(-N);var ze=qt(["vlist-s"],[new o0("​")]);ce=[qt(["vlist-r"],[fe,ze]),qt(["vlist-r"],[ye])]}else ce=[qt(["vlist-r"],[fe])];var J=qt(["vlist-t"],ce);return ce.length===2&&J.classes.push("vlist-t2"),J.height=_,J.depth=-N,J},b6=(i,a)=>{var n=qt(["mspace"],[],a),u=Qe(i,a);return n.style.marginRight=K(u),n},Mi=function(a,n,u){var o="";switch(a){case"amsrm":o="AMS";break;case"textrm":o="Main";break;case"textsf":o="SansSerif";break;case"texttt":o="Typewriter";break;default:o=a}var d;return n==="textbf"&&u==="textit"?d="BoldItalic":n==="textbf"?d="Bold":n==="textit"?d="Italic":d="Regular",o+"-"+d},Kf={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Qf={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},x6=function(a,n){var[u,o,d]=Qf[a],m=new Ra(u),g=new ea([m],{width:K(o),height:K(d),style:"width:"+K(o),viewBox:"0 0 "+1e3*o+" "+1e3*d,preserveAspectRatio:"xMinYMin"}),y=Ff(["overlay"],[g],n);return y.height=d,y.style.height=K(d),y.style.width=K(o),y},O={fontMap:Kf,makeSymbol:g0,mathsym:o6,makeSpan:qt,makeSvgSpan:Ff,makeLineSpan:m6,makeAnchor:p6,makeFragment:Zf,wrapFragment:g6,makeVList:y6,makeOrd:d6,makeGlue:b6,staticSvg:x6,svgData:Qf,tryCombineChars:h6},Ke={number:3,unit:"mu"},dr={number:4,unit:"mu"},$0={number:5,unit:"mu"},S6={mord:{mop:Ke,mbin:dr,mrel:$0,minner:Ke},mop:{mord:Ke,mop:Ke,mrel:$0,minner:Ke},mbin:{mord:dr,mop:dr,mopen:dr,minner:dr},mrel:{mord:$0,mop:$0,mopen:$0,minner:$0},mopen:{},mclose:{mop:Ke,mbin:dr,mrel:$0,minner:Ke},mpunct:{mord:Ke,mop:Ke,mrel:$0,mopen:Ke,mclose:Ke,mpunct:Ke,minner:Ke},minner:{mord:Ke,mop:Ke,mbin:dr,mrel:$0,mopen:Ke,mpunct:Ke,minner:Ke}},T6={mord:{mop:Ke},mop:{mord:Ke,mop:Ke},mbin:{},mrel:{},mopen:{},mclose:{mop:Ke},mpunct:{},minner:{mop:Ke}},$f={},Bi={},Oi={};function I(i){for(var{type:a,names:n,props:u,handler:o,htmlBuilder:d,mathmlBuilder:m}=i,g={type:a,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:o},y=0;y<n.length;++y)$f[n[y]]=g;a&&(d&&(Bi[a]=d),m&&(Oi[a]=m))}function fr(i){var{type:a,htmlBuilder:n,mathmlBuilder:u}=i;I({type:a,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:u})}var Ri=function(a){return a.type==="ordgroup"&&a.body.length===1?a.body[0]:a},tt=function(a){return a.type==="ordgroup"?a.body:[a]},ta=O.makeSpan,w6=["leftmost","mbin","mopen","mrel","mop","mpunct"],A6=["rightmost","mrel","mclose","mpunct"],M6={display:oe.DISPLAY,text:oe.TEXT,script:oe.SCRIPT,scriptscript:oe.SCRIPTSCRIPT},z6={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},dt=function(a,n,u,o){o===void 0&&(o=[null,null]);for(var d=[],m=0;m<a.length;m++){var g=ke(a[m],n);if(g instanceof ul){var y=g.children;d.push(...y)}else d.push(g)}if(O.tryCombineChars(d),!u)return d;var S=n;if(a.length===1){var z=a[0];z.type==="sizing"?S=n.havingSize(z.size):z.type==="styling"&&(S=n.havingStyle(M6[z.style]))}var N=ta([o[0]||"leftmost"],[],n),_=ta([o[1]||"rightmost"],[],n),q=u==="root";return I4(d,(j,L)=>{var Q=L.classes[0],P=j.classes[0];Q==="mbin"&&ie.contains(A6,P)?L.classes[0]="mord":P==="mbin"&&ie.contains(w6,Q)&&(j.classes[0]="mord")},{node:N},_,q),I4(d,(j,L)=>{var Q=Mo(L),P=Mo(j),te=Q&&P?j.hasClass("mtight")?T6[Q][P]:S6[Q][P]:null;if(te)return O.makeGlue(te,S)},{node:N},_,q),d},I4=function i(a,n,u,o,d){o&&a.push(o);for(var m=0;m<a.length;m++){var g=a[m],y=Pf(g);if(y){i(y.children,n,u,null,d);continue}var S=!g.hasClass("mspace");if(S){var z=n(g,u.node);z&&(u.insertAfter?u.insertAfter(z):(a.unshift(z),m++))}S?u.node=g:d&&g.hasClass("newline")&&(u.node=ta(["leftmost"])),u.insertAfter=(N=>_=>{a.splice(N+1,0,_),m++})(m)}o&&a.pop()},Pf=function(a){return a instanceof ul||a instanceof Bo||a instanceof sl&&a.hasClass("enclosing")?a:null},k6=function i(a,n){var u=Pf(a);if(u){var o=u.children;if(o.length){if(n==="right")return i(o[o.length-1],"right");if(n==="left")return i(o[0],"left")}}return a},Mo=function(a,n){return a?(n&&(a=k6(a,n)),z6[a.classes[0]]||null):null},il=function(a,n){var u=["nulldelimiter"].concat(a.baseSizingClasses());return ta(n.concat(u))},ke=function(a,n,u){if(!a)return ta();if(Bi[a.type]){var o=Bi[a.type](a,n);if(u&&n.size!==u.size){o=ta(n.sizingClasses(u),[o],n);var d=n.sizeMultiplier/u.sizeMultiplier;o.height*=d,o.depth*=d}return o}else throw new Z("Got group of unknown type: '"+a.type+"'")};function zi(i,a){var n=ta(["base"],i,a),u=ta(["strut"]);return u.style.height=K(n.height+n.depth),n.depth&&(u.style.verticalAlign=K(-n.depth)),n.children.unshift(u),n}function zo(i,a){var n=null;i.length===1&&i[0].type==="tag"&&(n=i[0].tag,i=i[0].body);var u=dt(i,a,"root"),o;u.length===2&&u[1].hasClass("tag")&&(o=u.pop());for(var d=[],m=[],g=0;g<u.length;g++)if(m.push(u[g]),u[g].hasClass("mbin")||u[g].hasClass("mrel")||u[g].hasClass("allowbreak")){for(var y=!1;g<u.length-1&&u[g+1].hasClass("mspace")&&!u[g+1].hasClass("newline");)g++,m.push(u[g]),u[g].hasClass("nobreak")&&(y=!0);y||(d.push(zi(m,a)),m=[])}else u[g].hasClass("newline")&&(m.pop(),m.length>0&&(d.push(zi(m,a)),m=[]),d.push(u[g]));m.length>0&&d.push(zi(m,a));var S;n?(S=zi(dt(n,a,!0)),S.classes=["tag"],d.push(S)):o&&d.push(o);var z=ta(["katex-html"],d);if(z.setAttribute("aria-hidden","true"),S){var N=S.children[0];N.style.height=K(z.height+z.depth),z.depth&&(N.style.verticalAlign=K(-z.depth))}return z}function Jf(i){return new ul(i)}class Yt{constructor(a,n,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=a,this.attributes={},this.children=n||[],this.classes=u||[]}setAttribute(a,n){this.attributes[a]=n}getAttribute(a){return this.attributes[a]}toNode(){var a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&a.setAttribute(n,this.attributes[n]);this.classes.length>0&&(a.className=Oa(this.classes));for(var u=0;u<this.children.length;u++)if(this.children[u]instanceof z0&&this.children[u+1]instanceof z0){for(var o=this.children[u].toText()+this.children[++u].toText();this.children[u+1]instanceof z0;)o+=this.children[++u].toText();a.appendChild(new z0(o).toNode())}else a.appendChild(this.children[u].toNode());return a}toMarkup(){var a="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(a+=" "+n+'="',a+=ie.escape(this.attributes[n]),a+='"');this.classes.length>0&&(a+=' class ="'+ie.escape(Oa(this.classes))+'"'),a+=">";for(var u=0;u<this.children.length;u++)a+=this.children[u].toMarkup();return a+="</"+this.type+">",a}toText(){return this.children.map(a=>a.toText()).join("")}}class z0{constructor(a){this.text=void 0,this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return ie.escape(this.toText())}toText(){return this.text}}class D6{constructor(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character=" ":a>=.1666&&a<=.1667?this.character=" ":a>=.2222&&a<=.2223?this.character=" ":a>=.2777&&a<=.2778?this.character="  ":a>=-.05556&&a<=-.05555?this.character=" ⁣":a>=-.1667&&a<=-.1666?this.character=" ⁣":a>=-.2223&&a<=-.2222?this.character=" ⁣":a>=-.2778&&a<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",K(this.width)),a}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+K(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var F={MathNode:Yt,TextNode:z0,SpaceNode:D6,newDocumentFragment:Jf},c0=function(a,n,u){return je[n][a]&&je[n][a].replace&&a.charCodeAt(0)!==55349&&!(Yf.hasOwnProperty(a)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(a=je[n][a].replace),new F.TextNode(a)},Ro=function(a){return a.length===1?a[0]:new F.MathNode("mrow",a)},Lo=function(a,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var u=n.font;if(!u||u==="mathnormal")return null;var o=a.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return a.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathsfit")return"sans-serif-italic";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var d=a.text;if(ie.contains(["\\imath","\\jmath"],d))return null;je[o][d]&&je[o][d].replace&&(d=je[o][d].replace);var m=O.fontMap[u].fontName;return qo(d,m,o)?O.fontMap[u].variant:null};function uo(i){if(!i)return!1;if(i.type==="mi"&&i.children.length===1){var a=i.children[0];return a instanceof z0&&a.text==="."}else if(i.type==="mo"&&i.children.length===1&&i.getAttribute("separator")==="true"&&i.getAttribute("lspace")==="0em"&&i.getAttribute("rspace")==="0em"){var n=i.children[0];return n instanceof z0&&n.text===","}else return!1}var Bt=function(a,n,u){if(a.length===1){var o=Le(a[0],n);return u&&o instanceof Yt&&o.type==="mo"&&(o.setAttribute("lspace","0em"),o.setAttribute("rspace","0em")),[o]}for(var d=[],m,g=0;g<a.length;g++){var y=Le(a[g],n);if(y instanceof Yt&&m instanceof Yt){if(y.type==="mtext"&&m.type==="mtext"&&y.getAttribute("mathvariant")===m.getAttribute("mathvariant")){m.children.push(...y.children);continue}else if(y.type==="mn"&&m.type==="mn"){m.children.push(...y.children);continue}else if(uo(y)&&m.type==="mn"){m.children.push(...y.children);continue}else if(y.type==="mn"&&uo(m))y.children=[...m.children,...y.children],d.pop();else if((y.type==="msup"||y.type==="msub")&&y.children.length>=1&&(m.type==="mn"||uo(m))){var S=y.children[0];S instanceof Yt&&S.type==="mn"&&(S.children=[...m.children,...S.children],d.pop())}else if(m.type==="mi"&&m.children.length===1){var z=m.children[0];if(z instanceof z0&&z.text==="̸"&&(y.type==="mo"||y.type==="mi"||y.type==="mn")){var N=y.children[0];N instanceof z0&&N.text.length>0&&(N.text=N.text.slice(0,1)+"̸"+N.text.slice(1),d.pop())}}}d.push(y),m=y}return d},La=function(a,n,u){return Ro(Bt(a,n,u))},Le=function(a,n){if(!a)return new F.MathNode("mrow");if(Oi[a.type]){var u=Oi[a.type](a,n);return u}else throw new Z("Got group of unknown type: '"+a.type+"'")};function W4(i,a,n,u,o){var d=Bt(i,n),m;d.length===1&&d[0]instanceof Yt&&ie.contains(["mrow","mtable"],d[0].type)?m=d[0]:m=new F.MathNode("mrow",d);var g=new F.MathNode("annotation",[new F.TextNode(a)]);g.setAttribute("encoding","application/x-tex");var y=new F.MathNode("semantics",[m,g]),S=new F.MathNode("math",[y]);S.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),u&&S.setAttribute("display","block");var z=o?"katex":"katex-mathml";return O.makeSpan([z],[S])}var If=function(a){return new P0({style:a.displayMode?oe.DISPLAY:oe.TEXT,maxSize:a.maxSize,minRuleThickness:a.minRuleThickness})},Wf=function(a,n){if(n.displayMode){var u=["katex-display"];n.leqno&&u.push("leqno"),n.fleqn&&u.push("fleqn"),a=O.makeSpan(u,[a])}return a},N6=function(a,n,u){var o=If(u),d;if(u.output==="mathml")return W4(a,n,o,u.displayMode,!0);if(u.output==="html"){var m=zo(a,o);d=O.makeSpan(["katex"],[m])}else{var g=W4(a,n,o,u.displayMode,!1),y=zo(a,o);d=O.makeSpan(["katex"],[g,y])}return Wf(d,u)},E6=function(a,n,u){var o=If(u),d=zo(a,o),m=O.makeSpan(["katex"],[d]);return Wf(m,u)},C6={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},_6=function(a){var n=new F.MathNode("mo",[new F.TextNode(C6[a.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},q6={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},B6=function(a){return a.type==="ordgroup"?a.body.length:1},O6=function(a,n){function u(){var g=4e5,y=a.label.slice(1);if(ie.contains(["widehat","widecheck","widetilde","utilde"],y)){var S=a,z=B6(S.base),N,_,q;if(z>5)y==="widehat"||y==="widecheck"?(N=420,g=2364,q=.42,_=y+"4"):(N=312,g=2340,q=.34,_="tilde4");else{var j=[1,1,2,2,3,3][z];y==="widehat"||y==="widecheck"?(g=[0,1062,2364,2364,2364][j],N=[0,239,300,360,420][j],q=[0,.24,.3,.3,.36,.42][j],_=y+j):(g=[0,600,1033,2339,2340][j],N=[0,260,286,306,312][j],q=[0,.26,.286,.3,.306,.34][j],_="tilde"+j)}var L=new Ra(_),Q=new ea([L],{width:"100%",height:K(q),viewBox:"0 0 "+g+" "+N,preserveAspectRatio:"none"});return{span:O.makeSvgSpan([],[Q],n),minWidth:0,height:q}}else{var P=[],te=q6[y],[ne,fe,ce]=te,he=ce/1e3,ye=ne.length,ze,J;if(ye===1){var be=te[3];ze=["hide-tail"],J=[be]}else if(ye===2)ze=["halfarrow-left","halfarrow-right"],J=["xMinYMin","xMaxYMin"];else if(ye===3)ze=["brace-left","brace-center","brace-right"],J=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
                    `+ye+" children.");for(var Ge=0;Ge<ye;Ge++){var Ve=new Ra(ne[Ge]),Tt=new ea([Ve],{width:"400em",height:K(he),viewBox:"0 0 "+g+" "+ce,preserveAspectRatio:J[Ge]+" slice"}),$e=O.makeSvgSpan([ze[Ge]],[Tt],n);if(ye===1)return{span:$e,minWidth:fe,height:he};$e.style.height=K(he),P.push($e)}return{span:O.makeSpan(["stretchy"],P,n),minWidth:fe,height:he}}}var{span:o,minWidth:d,height:m}=u();return o.height=m,o.style.height=K(m),d>0&&(o.style.minWidth=K(d)),o},R6=function(a,n,u,o,d){var m,g=a.height+a.depth+u+o;if(/fbox|color|angl/.test(n)){if(m=O.makeSpan(["stretchy",n],[],d),n==="fbox"){var y=d.color&&d.getColor();y&&(m.style.borderColor=y)}}else{var S=[];/^[bx]cancel$/.test(n)&&S.push(new wo({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&S.push(new wo({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var z=new ea(S,{width:"100%",height:K(g)});m=O.makeSvgSpan([],[z],d)}return m.height=g,m.style.height=K(g),m},aa={encloseSpan:R6,mathMLnode:_6,svgSpan:O6};function ve(i,a){if(!i||i.type!==a)throw new Error("Expected node of type "+a+", but got "+(i?"node of type "+i.type:String(i)));return i}function Ho(i){var a=Ui(i);if(!a)throw new Error("Expected node of symbol group type, but got "+(i?"node of type "+i.type:String(i)));return a}function Ui(i){return i&&(i.type==="atom"||u6.hasOwnProperty(i.type))?i:null}var Uo=(i,a)=>{var n,u,o;i&&i.type==="supsub"?(u=ve(i.base,"accent"),n=u.base,i.base=n,o=l6(ke(i,a)),i.base=u):(u=ve(i,"accent"),n=u.base);var d=ke(n,a.havingCrampedStyle()),m=u.isShifty&&ie.isCharacterBox(n),g=0;if(m){var y=ie.getBaseElem(n),S=ke(y,a.havingCrampedStyle());g=Z4(S).skew}var z=u.label==="\\c",N=z?d.height+d.depth:Math.min(d.height,a.fontMetrics().xHeight),_;if(u.isStretchy)_=aa.svgSpan(u,a),_=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"elem",elem:_,wrapperClasses:["svg-align"],wrapperStyle:g>0?{width:"calc(100% - "+K(2*g)+")",marginLeft:K(2*g)}:void 0}]},a);else{var q,j;u.label==="\\vec"?(q=O.staticSvg("vec",a),j=O.svgData.vec[1]):(q=O.makeOrd({mode:u.mode,text:u.label},a,"textord"),q=Z4(q),q.italic=0,j=q.width,z&&(N+=q.depth)),_=O.makeSpan(["accent-body"],[q]);var L=u.label==="\\textcircled";L&&(_.classes.push("accent-full"),N=d.height);var Q=g;L||(Q-=j/2),_.style.left=K(Q),u.label==="\\textcircled"&&(_.style.top=".2em"),_=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:-N},{type:"elem",elem:_}]},a)}var P=O.makeSpan(["mord","accent"],[_],a);return o?(o.children[0]=P,o.height=Math.max(P.height,o.height),o.classes[0]="mord",o):P},eh=(i,a)=>{var n=i.isStretchy?aa.mathMLnode(i.label):new F.MathNode("mo",[c0(i.label,i.mode)]),u=new F.MathNode("mover",[Le(i.base,a),n]);return u.setAttribute("accent","true"),u},L6=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(i=>"\\"+i).join("|"));I({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(i,a)=>{var n=Ri(a[0]),u=!L6.test(i.funcName),o=!u||i.funcName==="\\widehat"||i.funcName==="\\widetilde"||i.funcName==="\\widecheck";return{type:"accent",mode:i.parser.mode,label:i.funcName,isStretchy:u,isShifty:o,base:n}},htmlBuilder:Uo,mathmlBuilder:eh});I({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(i,a)=>{var n=a[0],u=i.parser.mode;return u==="math"&&(i.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+i.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:i.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Uo,mathmlBuilder:eh});I({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=a[0];return{type:"accentUnder",mode:n.mode,label:u,base:o}},htmlBuilder:(i,a)=>{var n=ke(i.base,a),u=aa.svgSpan(i,a),o=i.label==="\\utilde"?.12:0,d=O.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},a);return O.makeSpan(["mord","accentunder"],[d],a)},mathmlBuilder:(i,a)=>{var n=aa.mathMLnode(i.label),u=new F.MathNode("munder",[Le(i.base,a),n]);return u.setAttribute("accentunder","true"),u}});var ki=i=>{var a=new F.MathNode("mpadded",i?[i]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};I({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(i,a,n){var{parser:u,funcName:o}=i;return{type:"xArrow",mode:u.mode,label:o,body:a[0],below:n[0]}},htmlBuilder(i,a){var n=a.style,u=a.havingStyle(n.sup()),o=O.wrapFragment(ke(i.body,u,a),a),d=i.label.slice(0,2)==="\\x"?"x":"cd";o.classes.push(d+"-arrow-pad");var m;i.below&&(u=a.havingStyle(n.sub()),m=O.wrapFragment(ke(i.below,u,a),a),m.classes.push(d+"-arrow-pad"));var g=aa.svgSpan(i,a),y=-a.fontMetrics().axisHeight+.5*g.height,S=-a.fontMetrics().axisHeight-.5*g.height-.111;(o.depth>.25||i.label==="\\xleftequilibrium")&&(S-=o.depth);var z;if(m){var N=-a.fontMetrics().axisHeight+m.height+.5*g.height+.111;z=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:S},{type:"elem",elem:g,shift:y},{type:"elem",elem:m,shift:N}]},a)}else z=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:S},{type:"elem",elem:g,shift:y}]},a);return z.children[0].children[0].children[1].classes.push("svg-align"),O.makeSpan(["mrel","x-arrow"],[z],a)},mathmlBuilder(i,a){var n=aa.mathMLnode(i.label);n.setAttribute("minsize",i.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(i.body){var o=ki(Le(i.body,a));if(i.below){var d=ki(Le(i.below,a));u=new F.MathNode("munderover",[n,d,o])}else u=new F.MathNode("mover",[n,o])}else if(i.below){var m=ki(Le(i.below,a));u=new F.MathNode("munder",[n,m])}else u=ki(),u=new F.MathNode("mover",[n,u]);return u}});var H6=O.makeSpan;function th(i,a){var n=dt(i.body,a,!0);return H6([i.mclass],n,a)}function ah(i,a){var n,u=Bt(i.body,a);return i.mclass==="minner"?n=new F.MathNode("mpadded",u):i.mclass==="mord"?i.isCharacterBox?(n=u[0],n.type="mi"):n=new F.MathNode("mi",u):(i.isCharacterBox?(n=u[0],n.type="mo"):n=new F.MathNode("mo",u),i.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):i.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):i.mclass==="mopen"||i.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):i.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}I({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(i,a){var{parser:n,funcName:u}=i,o=a[0];return{type:"mclass",mode:n.mode,mclass:"m"+u.slice(5),body:tt(o),isCharacterBox:ie.isCharacterBox(o)}},htmlBuilder:th,mathmlBuilder:ah});var ji=i=>{var a=i.type==="ordgroup"&&i.body.length?i.body[0]:i;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};I({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(i,a){var{parser:n}=i;return{type:"mclass",mode:n.mode,mclass:ji(a[0]),body:tt(a[1]),isCharacterBox:ie.isCharacterBox(a[1])}}});I({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(i,a){var{parser:n,funcName:u}=i,o=a[1],d=a[0],m;u!=="\\stackrel"?m=ji(o):m="mrel";var g={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:tt(o)},y={type:"supsub",mode:d.mode,base:g,sup:u==="\\underset"?null:d,sub:u==="\\underset"?d:null};return{type:"mclass",mode:n.mode,mclass:m,body:[y],isCharacterBox:ie.isCharacterBox(y)}},htmlBuilder:th,mathmlBuilder:ah});I({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(i,a){var{parser:n}=i;return{type:"pmb",mode:n.mode,mclass:ji(a[0]),body:tt(a[0])}},htmlBuilder(i,a){var n=dt(i.body,a,!0),u=O.makeSpan([i.mclass],n,a);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(i,a){var n=Bt(i.body,a),u=new F.MathNode("mstyle",n);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var U6={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ef=()=>({type:"styling",body:[],mode:"math",style:"display"}),tf=i=>i.type==="textord"&&i.text==="@",j6=(i,a)=>(i.type==="mathord"||i.type==="atom")&&i.text===a;function G6(i,a,n){var u=U6[i];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(u,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{var o=n.callFunction("\\\\cdleft",[a[0]],[]),d={type:"atom",text:u,mode:"math",family:"rel"},m=n.callFunction("\\Big",[d],[]),g=n.callFunction("\\\\cdright",[a[1]],[]),y={type:"ordgroup",mode:"math",body:[o,m,g]};return n.callFunction("\\\\cdparent",[y],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var S={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[S],[])}default:return{type:"textord",text:" ",mode:"math"}}}function V6(i){var a=[];for(i.gullet.beginGroup(),i.gullet.macros.set("\\cr","\\\\\\relax"),i.gullet.beginGroup();;){a.push(i.parseExpression(!1,"\\\\")),i.gullet.endGroup(),i.gullet.beginGroup();var n=i.fetch().text;if(n==="&"||n==="\\\\")i.consume();else if(n==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new Z("Expected \\\\ or \\cr or \\end",i.nextToken)}for(var u=[],o=[u],d=0;d<a.length;d++){for(var m=a[d],g=ef(),y=0;y<m.length;y++)if(!tf(m[y]))g.body.push(m[y]);else{u.push(g),y+=1;var S=Ho(m[y]).text,z=new Array(2);if(z[0]={type:"ordgroup",mode:"math",body:[]},z[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(S)>-1))if("<>AV".indexOf(S)>-1)for(var N=0;N<2;N++){for(var _=!0,q=y+1;q<m.length;q++){if(j6(m[q],S)){_=!1,y=q;break}if(tf(m[q]))throw new Z("Missing a "+S+" character to complete a CD arrow.",m[q]);z[N].body.push(m[q])}if(_)throw new Z("Missing a "+S+" character to complete a CD arrow.",m[y])}else throw new Z('Expected one of "<>AV=|." after @',m[y]);var j=G6(S,z,i),L={type:"styling",body:[j],mode:"math",style:"display"};u.push(L),g=ef()}d%2===0?u.push(g):u.shift(),u=[],o.push(u)}i.gullet.endGroup(),i.gullet.endGroup();var Q=new Array(o[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:o,arraystretch:1,addJot:!0,rowGaps:[null],cols:Q,colSeparationType:"CD",hLinesBeforeRow:new Array(o.length+1).fill([])}}I({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(i,a){var{parser:n,funcName:u}=i;return{type:"cdlabel",mode:n.mode,side:u.slice(4),label:a[0]}},htmlBuilder(i,a){var n=a.havingStyle(a.style.sup()),u=O.wrapFragment(ke(i.label,n,a),a);return u.classes.push("cd-label-"+i.side),u.style.bottom=K(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(i,a){var n=new F.MathNode("mrow",[Le(i.label,a)]);return n=new F.MathNode("mpadded",[n]),n.setAttribute("width","0"),i.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new F.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});I({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(i,a){var{parser:n}=i;return{type:"cdlabelparent",mode:n.mode,fragment:a[0]}},htmlBuilder(i,a){var n=O.wrapFragment(ke(i.fragment,a),a);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(i,a){return new F.MathNode("mrow",[Le(i.fragment,a)])}});I({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(i,a){for(var{parser:n}=i,u=ve(a[0],"ordgroup"),o=u.body,d="",m=0;m<o.length;m++){var g=ve(o[m],"textord");d+=g.text}var y=parseInt(d),S;if(isNaN(y))throw new Z("\\@char has non-numeric argument "+d);if(y<0||y>=1114111)throw new Z("\\@char with invalid code point "+d);return y<=65535?S=String.fromCharCode(y):(y-=65536,S=String.fromCharCode((y>>10)+55296,(y&1023)+56320)),{type:"textord",mode:n.mode,text:S}}});var rh=(i,a)=>{var n=dt(i.body,a.withColor(i.color),!1);return O.makeFragment(n)},nh=(i,a)=>{var n=Bt(i.body,a.withColor(i.color)),u=new F.MathNode("mstyle",n);return u.setAttribute("mathcolor",i.color),u};I({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(i,a){var{parser:n}=i,u=ve(a[0],"color-token").color,o=a[1];return{type:"color",mode:n.mode,color:u,body:tt(o)}},htmlBuilder:rh,mathmlBuilder:nh});I({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(i,a){var{parser:n,breakOnTokenText:u}=i,o=ve(a[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var d=n.parseExpression(!0,u);return{type:"color",mode:n.mode,color:o,body:d}},htmlBuilder:rh,mathmlBuilder:nh});I({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(i,a,n){var{parser:u}=i,o=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,d=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:d,size:o&&ve(o,"size").value}},htmlBuilder(i,a){var n=O.makeSpan(["mspace"],[],a);return i.newLine&&(n.classes.push("newline"),i.size&&(n.style.marginTop=K(Qe(i.size,a)))),n},mathmlBuilder(i,a){var n=new F.MathNode("mspace");return i.newLine&&(n.setAttribute("linebreak","newline"),i.size&&n.setAttribute("height",K(Qe(i.size,a)))),n}});var ko={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},lh=i=>{var a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new Z("Expected a control sequence",i);return a},X6=i=>{var a=i.gullet.popToken();return a.text==="="&&(a=i.gullet.popToken(),a.text===" "&&(a=i.gullet.popToken())),a},ih=(i,a,n,u)=>{var o=i.gullet.macros.get(n.text);o==null&&(n.noexpand=!0,o={tokens:[n],numArgs:0,unexpandable:!i.gullet.isExpandable(n.text)}),i.gullet.macros.set(a,o,u)};I({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:a,funcName:n}=i;a.consumeSpaces();var u=a.fetch();if(ko[u.text])return(n==="\\global"||n==="\\\\globallong")&&(u.text=ko[u.text]),ve(a.parseFunction(),"internal");throw new Z("Invalid token after macro prefix",u)}});I({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:a,funcName:n}=i,u=a.gullet.popToken(),o=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new Z("Expected a control sequence",u);for(var d=0,m,g=[[]];a.gullet.future().text!=="{";)if(u=a.gullet.popToken(),u.text==="#"){if(a.gullet.future().text==="{"){m=a.gullet.future(),g[d].push("{");break}if(u=a.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new Z('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==d+1)throw new Z('Argument number "'+u.text+'" out of order');d++,g.push([])}else{if(u.text==="EOF")throw new Z("Expected a macro definition");g[d].push(u.text)}var{tokens:y}=a.gullet.consumeArg();return m&&y.unshift(m),(n==="\\edef"||n==="\\xdef")&&(y=a.gullet.expandTokens(y),y.reverse()),a.gullet.macros.set(o,{tokens:y,numArgs:d,delimiters:g},n===ko[n]),{type:"internal",mode:a.mode}}});I({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:a,funcName:n}=i,u=lh(a.gullet.popToken());a.gullet.consumeSpaces();var o=X6(a);return ih(a,u,o,n==="\\\\globallet"),{type:"internal",mode:a.mode}}});I({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:a,funcName:n}=i,u=lh(a.gullet.popToken()),o=a.gullet.popToken(),d=a.gullet.popToken();return ih(a,u,d,n==="\\\\globalfuture"),a.gullet.pushToken(d),a.gullet.pushToken(o),{type:"internal",mode:a.mode}}});var el=function(a,n,u){var o=je.math[a]&&je.math[a].replace,d=qo(o||a,n,u);if(!d)throw new Error("Unsupported symbol "+a+" and font size "+n+".");return d},jo=function(a,n,u,o){var d=u.havingBaseStyle(n),m=O.makeSpan(o.concat(d.sizingClasses(u)),[a],u),g=d.sizeMultiplier/u.sizeMultiplier;return m.height*=g,m.depth*=g,m.maxFontSize=d.sizeMultiplier,m},uh=function(a,n,u){var o=n.havingBaseStyle(u),d=(1-n.sizeMultiplier/o.sizeMultiplier)*n.fontMetrics().axisHeight;a.classes.push("delimcenter"),a.style.top=K(d),a.height-=d,a.depth+=d},Y6=function(a,n,u,o,d,m){var g=O.makeSymbol(a,"Main-Regular",d,o),y=jo(g,n,o,m);return u&&uh(y,o,n),y},F6=function(a,n,u,o){return O.makeSymbol(a,"Size"+n+"-Regular",u,o)},sh=function(a,n,u,o,d,m){var g=F6(a,n,d,o),y=jo(O.makeSpan(["delimsizing","size"+n],[g],o),oe.TEXT,o,m);return u&&uh(y,o,oe.TEXT),y},so=function(a,n,u){var o;n==="Size1-Regular"?o="delim-size1":o="delim-size4";var d=O.makeSpan(["delimsizinginner",o],[O.makeSpan([],[O.makeSymbol(a,n,u)])]);return{type:"elem",elem:d}},oo=function(a,n,u){var o=M0["Size4-Regular"][a.charCodeAt(0)]?M0["Size4-Regular"][a.charCodeAt(0)][4]:M0["Size1-Regular"][a.charCodeAt(0)][4],d=new Ra("inner",J5(a,Math.round(1e3*n))),m=new ea([d],{width:K(o),height:K(n),style:"width:"+K(o),viewBox:"0 0 "+1e3*o+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),g=O.makeSvgSpan([],[m],u);return g.height=n,g.style.height=K(n),g.style.width=K(o),{type:"elem",elem:g}},Do=.008,Di={type:"kern",size:-1*Do},Z6=["|","\\lvert","\\rvert","\\vert"],K6=["\\|","\\lVert","\\rVert","\\Vert"],oh=function(a,n,u,o,d,m){var g,y,S,z,N="",_=0;g=S=z=a,y=null;var q="Size1-Regular";a==="\\uparrow"?S=z="⏐":a==="\\Uparrow"?S=z="‖":a==="\\downarrow"?g=S="⏐":a==="\\Downarrow"?g=S="‖":a==="\\updownarrow"?(g="\\uparrow",S="⏐",z="\\downarrow"):a==="\\Updownarrow"?(g="\\Uparrow",S="‖",z="\\Downarrow"):ie.contains(Z6,a)?(S="∣",N="vert",_=333):ie.contains(K6,a)?(S="∥",N="doublevert",_=556):a==="["||a==="\\lbrack"?(g="⎡",S="⎢",z="⎣",q="Size4-Regular",N="lbrack",_=667):a==="]"||a==="\\rbrack"?(g="⎤",S="⎥",z="⎦",q="Size4-Regular",N="rbrack",_=667):a==="\\lfloor"||a==="⌊"?(S=g="⎢",z="⎣",q="Size4-Regular",N="lfloor",_=667):a==="\\lceil"||a==="⌈"?(g="⎡",S=z="⎢",q="Size4-Regular",N="lceil",_=667):a==="\\rfloor"||a==="⌋"?(S=g="⎥",z="⎦",q="Size4-Regular",N="rfloor",_=667):a==="\\rceil"||a==="⌉"?(g="⎤",S=z="⎥",q="Size4-Regular",N="rceil",_=667):a==="("||a==="\\lparen"?(g="⎛",S="⎜",z="⎝",q="Size4-Regular",N="lparen",_=875):a===")"||a==="\\rparen"?(g="⎞",S="⎟",z="⎠",q="Size4-Regular",N="rparen",_=875):a==="\\{"||a==="\\lbrace"?(g="⎧",y="⎨",z="⎩",S="⎪",q="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(g="⎫",y="⎬",z="⎭",S="⎪",q="Size4-Regular"):a==="\\lgroup"||a==="⟮"?(g="⎧",z="⎩",S="⎪",q="Size4-Regular"):a==="\\rgroup"||a==="⟯"?(g="⎫",z="⎭",S="⎪",q="Size4-Regular"):a==="\\lmoustache"||a==="⎰"?(g="⎧",z="⎭",S="⎪",q="Size4-Regular"):(a==="\\rmoustache"||a==="⎱")&&(g="⎫",z="⎩",S="⎪",q="Size4-Regular");var j=el(g,q,d),L=j.height+j.depth,Q=el(S,q,d),P=Q.height+Q.depth,te=el(z,q,d),ne=te.height+te.depth,fe=0,ce=1;if(y!==null){var he=el(y,q,d);fe=he.height+he.depth,ce=2}var ye=L+ne+fe,ze=Math.max(0,Math.ceil((n-ye)/(ce*P))),J=ye+ze*ce*P,be=o.fontMetrics().axisHeight;u&&(be*=o.sizeMultiplier);var Ge=J/2-be,Ve=[];if(N.length>0){var Tt=J-L-ne,$e=Math.round(J*1e3),ut=I5(N,Math.round(Tt*1e3)),$=new Ra(N,ut),pe=(_/1e3).toFixed(3)+"em",ue=($e/1e3).toFixed(3)+"em",_e=new ea([$],{width:pe,height:ue,viewBox:"0 0 "+_+" "+$e}),Ee=O.makeSvgSpan([],[_e],o);Ee.height=$e/1e3,Ee.style.width=pe,Ee.style.height=ue,Ve.push({type:"elem",elem:Ee})}else{if(Ve.push(so(z,q,d)),Ve.push(Di),y===null){var wt=J-L-ne+2*Do;Ve.push(oo(S,wt,o))}else{var at=(J-L-ne-fe)/2+2*Do;Ve.push(oo(S,at,o)),Ve.push(Di),Ve.push(so(y,q,d)),Ve.push(Di),Ve.push(oo(S,at,o))}Ve.push(Di),Ve.push(so(g,q,d))}var At=o.havingBaseStyle(oe.TEXT),Te=O.makeVList({positionType:"bottom",positionData:Ge,children:Ve},At);return jo(O.makeSpan(["delimsizing","mult"],[Te],At),oe.TEXT,o,m)},co=80,fo=.08,ho=function(a,n,u,o,d){var m=P5(a,o,u),g=new Ra(a,m),y=new ea([g],{width:"400em",height:K(n),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return O.makeSvgSpan(["hide-tail"],[y],d)},Q6=function(a,n){var u=n.havingBaseSizing(),o=hh("\\surd",a*u.sizeMultiplier,fh,u),d=u.sizeMultiplier,m=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),g,y=0,S=0,z=0,N;return o.type==="small"?(z=1e3+1e3*m+co,a<1?d=1:a<1.4&&(d=.7),y=(1+m+fo)/d,S=(1+m)/d,g=ho("sqrtMain",y,z,m,n),g.style.minWidth="0.853em",N=.833/d):o.type==="large"?(z=(1e3+co)*rl[o.size],S=(rl[o.size]+m)/d,y=(rl[o.size]+m+fo)/d,g=ho("sqrtSize"+o.size,y,z,m,n),g.style.minWidth="1.02em",N=1/d):(y=a+m+fo,S=a+m,z=Math.floor(1e3*a+m)+co,g=ho("sqrtTall",y,z,m,n),g.style.minWidth="0.742em",N=1.056),g.height=S,g.style.height=K(y),{span:g,advanceWidth:N,ruleWidth:(n.fontMetrics().sqrtRuleThickness+m)*d}},ch=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],$6=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],dh=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rl=[0,1.2,1.8,2.4,3],P6=function(a,n,u,o,d){if(a==="<"||a==="\\lt"||a==="⟨"?a="\\langle":(a===">"||a==="\\gt"||a==="⟩")&&(a="\\rangle"),ie.contains(ch,a)||ie.contains(dh,a))return sh(a,n,!1,u,o,d);if(ie.contains($6,a))return oh(a,rl[n],!1,u,o,d);throw new Z("Illegal delimiter: '"+a+"'")},J6=[{type:"small",style:oe.SCRIPTSCRIPT},{type:"small",style:oe.SCRIPT},{type:"small",style:oe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],I6=[{type:"small",style:oe.SCRIPTSCRIPT},{type:"small",style:oe.SCRIPT},{type:"small",style:oe.TEXT},{type:"stack"}],fh=[{type:"small",style:oe.SCRIPTSCRIPT},{type:"small",style:oe.SCRIPT},{type:"small",style:oe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],W6=function(a){if(a.type==="small")return"Main-Regular";if(a.type==="large")return"Size"+a.size+"-Regular";if(a.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+a.type+"' here.")},hh=function(a,n,u,o){for(var d=Math.min(2,3-o.style.size),m=d;m<u.length&&u[m].type!=="stack";m++){var g=el(a,W6(u[m]),"math"),y=g.height+g.depth;if(u[m].type==="small"){var S=o.havingBaseStyle(u[m].style);y*=S.sizeMultiplier}if(y>n)return u[m]}return u[u.length-1]},mh=function(a,n,u,o,d,m){a==="<"||a==="\\lt"||a==="⟨"?a="\\langle":(a===">"||a==="\\gt"||a==="⟩")&&(a="\\rangle");var g;ie.contains(dh,a)?g=J6:ie.contains(ch,a)?g=fh:g=I6;var y=hh(a,n,g,o);return y.type==="small"?Y6(a,y.style,u,o,d,m):y.type==="large"?sh(a,y.size,u,o,d,m):oh(a,n,u,o,d,m)},e7=function(a,n,u,o,d,m){var g=o.fontMetrics().axisHeight*o.sizeMultiplier,y=901,S=5/o.fontMetrics().ptPerEm,z=Math.max(n-g,u+g),N=Math.max(z/500*y,2*z-S);return mh(a,N,!0,o,d,m)},W0={sqrtImage:Q6,sizedDelim:P6,sizeToMaxHeight:rl,customSizedDelim:mh,leftRightDelim:e7},af={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},t7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Gi(i,a){var n=Ui(i);if(n&&ie.contains(t7,n.text))return n;throw n?new Z("Invalid delimiter '"+n.text+"' after '"+a.funcName+"'",i):new Z("Invalid delimiter type '"+i.type+"'",i)}I({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(i,a)=>{var n=Gi(a[0],i);return{type:"delimsizing",mode:i.parser.mode,size:af[i.funcName].size,mclass:af[i.funcName].mclass,delim:n.text}},htmlBuilder:(i,a)=>i.delim==="."?O.makeSpan([i.mclass]):W0.sizedDelim(i.delim,i.size,a,i.mode,[i.mclass]),mathmlBuilder:i=>{var a=[];i.delim!=="."&&a.push(c0(i.delim,i.mode));var n=new F.MathNode("mo",a);i.mclass==="mopen"||i.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var u=K(W0.sizeToMaxHeight[i.size]);return n.setAttribute("minsize",u),n.setAttribute("maxsize",u),n}});function rf(i){if(!i.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}I({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var n=i.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Z("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:i.parser.mode,delim:Gi(a[0],i).text,color:n}}});I({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var n=Gi(a[0],i),u=i.parser;++u.leftrightDepth;var o=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var d=ve(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:o,left:n.text,right:d.delim,rightColor:d.color}},htmlBuilder:(i,a)=>{rf(i);for(var n=dt(i.body,a,!0,["mopen","mclose"]),u=0,o=0,d=!1,m=0;m<n.length;m++)n[m].isMiddle?d=!0:(u=Math.max(n[m].height,u),o=Math.max(n[m].depth,o));u*=a.sizeMultiplier,o*=a.sizeMultiplier;var g;if(i.left==="."?g=il(a,["mopen"]):g=W0.leftRightDelim(i.left,u,o,a,i.mode,["mopen"]),n.unshift(g),d)for(var y=1;y<n.length;y++){var S=n[y],z=S.isMiddle;z&&(n[y]=W0.leftRightDelim(z.delim,u,o,z.options,i.mode,[]))}var N;if(i.right===".")N=il(a,["mclose"]);else{var _=i.rightColor?a.withColor(i.rightColor):a;N=W0.leftRightDelim(i.right,u,o,_,i.mode,["mclose"])}return n.push(N),O.makeSpan(["minner"],n,a)},mathmlBuilder:(i,a)=>{rf(i);var n=Bt(i.body,a);if(i.left!=="."){var u=new F.MathNode("mo",[c0(i.left,i.mode)]);u.setAttribute("fence","true"),n.unshift(u)}if(i.right!=="."){var o=new F.MathNode("mo",[c0(i.right,i.mode)]);o.setAttribute("fence","true"),i.rightColor&&o.setAttribute("mathcolor",i.rightColor),n.push(o)}return Ro(n)}});I({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var n=Gi(a[0],i);if(!i.parser.leftrightDepth)throw new Z("\\middle without preceding \\left",n);return{type:"middle",mode:i.parser.mode,delim:n.text}},htmlBuilder:(i,a)=>{var n;if(i.delim===".")n=il(a,[]);else{n=W0.sizedDelim(i.delim,1,a,i.mode,[]);var u={delim:i.delim,options:a};n.isMiddle=u}return n},mathmlBuilder:(i,a)=>{var n=i.delim==="\\vert"||i.delim==="|"?c0("|","text"):c0(i.delim,i.mode),u=new F.MathNode("mo",[n]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var Go=(i,a)=>{var n=O.wrapFragment(ke(i.body,a),a),u=i.label.slice(1),o=a.sizeMultiplier,d,m=0,g=ie.isCharacterBox(i.body);if(u==="sout")d=O.makeSpan(["stretchy","sout"]),d.height=a.fontMetrics().defaultRuleThickness/o,m=-.5*a.fontMetrics().xHeight;else if(u==="phase"){var y=Qe({number:.6,unit:"pt"},a),S=Qe({number:.35,unit:"ex"},a),z=a.havingBaseSizing();o=o/z.sizeMultiplier;var N=n.height+n.depth+y+S;n.style.paddingLeft=K(N/2+y);var _=Math.floor(1e3*N*o),q=Q5(_),j=new ea([new Ra("phase",q)],{width:"400em",height:K(_/1e3),viewBox:"0 0 400000 "+_,preserveAspectRatio:"xMinYMin slice"});d=O.makeSvgSpan(["hide-tail"],[j],a),d.style.height=K(N),m=n.depth+y+S}else{/cancel/.test(u)?g||n.classes.push("cancel-pad"):u==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var L=0,Q=0,P=0;/box/.test(u)?(P=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),L=a.fontMetrics().fboxsep+(u==="colorbox"?0:P),Q=L):u==="angl"?(P=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),L=4*P,Q=Math.max(0,.25-n.depth)):(L=g?.2:0,Q=L),d=aa.encloseSpan(n,u,L,Q,a),/fbox|boxed|fcolorbox/.test(u)?(d.style.borderStyle="solid",d.style.borderWidth=K(P)):u==="angl"&&P!==.049&&(d.style.borderTopWidth=K(P),d.style.borderRightWidth=K(P)),m=n.depth+Q,i.backgroundColor&&(d.style.backgroundColor=i.backgroundColor,i.borderColor&&(d.style.borderColor=i.borderColor))}var te;if(i.backgroundColor)te=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:m},{type:"elem",elem:n,shift:0}]},a);else{var ne=/cancel|phase/.test(u)?["svg-align"]:[];te=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:d,shift:m,wrapperClasses:ne}]},a)}return/cancel/.test(u)&&(te.height=n.height,te.depth=n.depth),/cancel/.test(u)&&!g?O.makeSpan(["mord","cancel-lap"],[te],a):O.makeSpan(["mord"],[te],a)},Vo=(i,a)=>{var n=0,u=new F.MathNode(i.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Le(i.body,a)]);switch(i.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*n+"pt"),u.setAttribute("height","+"+2*n+"pt"),u.setAttribute("lspace",n+"pt"),u.setAttribute("voffset",n+"pt"),i.label==="\\fcolorbox"){var o=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);u.setAttribute("style","border: "+o+"em solid "+String(i.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return i.backgroundColor&&u.setAttribute("mathbackground",i.backgroundColor),u};I({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(i,a,n){var{parser:u,funcName:o}=i,d=ve(a[0],"color-token").color,m=a[1];return{type:"enclose",mode:u.mode,label:o,backgroundColor:d,body:m}},htmlBuilder:Go,mathmlBuilder:Vo});I({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(i,a,n){var{parser:u,funcName:o}=i,d=ve(a[0],"color-token").color,m=ve(a[1],"color-token").color,g=a[2];return{type:"enclose",mode:u.mode,label:o,backgroundColor:m,borderColor:d,body:g}},htmlBuilder:Go,mathmlBuilder:Vo});I({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(i,a){var{parser:n}=i;return{type:"enclose",mode:n.mode,label:"\\fbox",body:a[0]}}});I({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(i,a){var{parser:n,funcName:u}=i,o=a[0];return{type:"enclose",mode:n.mode,label:u,body:o}},htmlBuilder:Go,mathmlBuilder:Vo});I({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(i,a){var{parser:n}=i;return{type:"enclose",mode:n.mode,label:"\\angl",body:a[0]}}});var ph={};function k0(i){for(var{type:a,names:n,props:u,handler:o,htmlBuilder:d,mathmlBuilder:m}=i,g={type:a,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},y=0;y<n.length;++y)ph[n[y]]=g;d&&(Bi[a]=d),m&&(Oi[a]=m)}var gh={};function b(i,a){gh[i]=a}function nf(i){var a=[];i.consumeSpaces();var n=i.fetch().text;for(n==="\\relax"&&(i.consume(),i.consumeSpaces(),n=i.fetch().text);n==="\\hline"||n==="\\hdashline";)i.consume(),a.push(n==="\\hdashline"),i.consumeSpaces(),n=i.fetch().text;return a}var Vi=i=>{var a=i.parser.settings;if(!a.displayMode)throw new Z("{"+i.envName+"} can be used only in display mode.")};function Xo(i){if(i.indexOf("ed")===-1)return i.indexOf("*")===-1}function Ha(i,a,n){var{hskipBeforeAndAfter:u,addJot:o,cols:d,arraystretch:m,colSeparationType:g,autoTag:y,singleRow:S,emptySingleRow:z,maxNumCols:N,leqno:_}=a;if(i.gullet.beginGroup(),S||i.gullet.macros.set("\\cr","\\\\\\relax"),!m){var q=i.gullet.expandMacroAsText("\\arraystretch");if(q==null)m=1;else if(m=parseFloat(q),!m||m<0)throw new Z("Invalid \\arraystretch: "+q)}i.gullet.beginGroup();var j=[],L=[j],Q=[],P=[],te=y!=null?[]:void 0;function ne(){y&&i.gullet.macros.set("\\@eqnsw","1",!0)}function fe(){te&&(i.gullet.macros.get("\\df@tag")?(te.push(i.subparse([new s0("\\df@tag")])),i.gullet.macros.set("\\df@tag",void 0,!0)):te.push(!!y&&i.gullet.macros.get("\\@eqnsw")==="1"))}for(ne(),P.push(nf(i));;){var ce=i.parseExpression(!1,S?"\\end":"\\\\");i.gullet.endGroup(),i.gullet.beginGroup(),ce={type:"ordgroup",mode:i.mode,body:ce},n&&(ce={type:"styling",mode:i.mode,style:n,body:[ce]}),j.push(ce);var he=i.fetch().text;if(he==="&"){if(N&&j.length===N){if(S||g)throw new Z("Too many tab characters: &",i.nextToken);i.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}i.consume()}else if(he==="\\end"){fe(),j.length===1&&ce.type==="styling"&&ce.body[0].body.length===0&&(L.length>1||!z)&&L.pop(),P.length<L.length+1&&P.push([]);break}else if(he==="\\\\"){i.consume();var ye=void 0;i.gullet.future().text!==" "&&(ye=i.parseSizeGroup(!0)),Q.push(ye?ye.value:null),fe(),P.push(nf(i)),j=[],L.push(j),ne()}else throw new Z("Expected & or \\\\ or \\cr or \\end",i.nextToken)}return i.gullet.endGroup(),i.gullet.endGroup(),{type:"array",mode:i.mode,addJot:o,arraystretch:m,body:L,cols:d,rowGaps:Q,hskipBeforeAndAfter:u,hLinesBeforeRow:P,colSeparationType:g,tags:te,leqno:_}}function Yo(i){return i.slice(0,1)==="d"?"display":"text"}var D0=function(a,n){var u,o,d=a.body.length,m=a.hLinesBeforeRow,g=0,y=new Array(d),S=[],z=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),N=1/n.fontMetrics().ptPerEm,_=5*N;if(a.colSeparationType&&a.colSeparationType==="small"){var q=n.havingStyle(oe.SCRIPT).sizeMultiplier;_=.2778*(q/n.sizeMultiplier)}var j=a.colSeparationType==="CD"?Qe({number:3,unit:"ex"},n):12*N,L=3*N,Q=a.arraystretch*j,P=.7*Q,te=.3*Q,ne=0;function fe(C0){for(var ua=0;ua<C0.length;++ua)ua>0&&(ne+=.25),S.push({pos:ne,isDashed:C0[ua]})}for(fe(m[0]),u=0;u<a.body.length;++u){var ce=a.body[u],he=P,ye=te;g<ce.length&&(g=ce.length);var ze=new Array(ce.length);for(o=0;o<ce.length;++o){var J=ke(ce[o],n);ye<J.depth&&(ye=J.depth),he<J.height&&(he=J.height),ze[o]=J}var be=a.rowGaps[u],Ge=0;be&&(Ge=Qe(be,n),Ge>0&&(Ge+=te,ye<Ge&&(ye=Ge),Ge=0)),a.addJot&&(ye+=L),ze.height=he,ze.depth=ye,ne+=he,ze.pos=ne,ne+=ye+Ge,y[u]=ze,fe(m[u+1])}var Ve=ne/2+n.fontMetrics().axisHeight,Tt=a.cols||[],$e=[],ut,$,pe=[];if(a.tags&&a.tags.some(C0=>C0))for(u=0;u<d;++u){var ue=y[u],_e=ue.pos-Ve,Ee=a.tags[u],wt=void 0;Ee===!0?wt=O.makeSpan(["eqn-num"],[],n):Ee===!1?wt=O.makeSpan([],[],n):wt=O.makeSpan([],dt(Ee,n,!0),n),wt.depth=ue.depth,wt.height=ue.height,pe.push({type:"elem",elem:wt,shift:_e})}for(o=0,$=0;o<g||$<Tt.length;++o,++$){for(var at=Tt[$]||{},At=!0;at.type==="separator";){if(At||(ut=O.makeSpan(["arraycolsep"],[]),ut.style.width=K(n.fontMetrics().doubleRuleSep),$e.push(ut)),at.separator==="|"||at.separator===":"){var Te=at.separator==="|"?"solid":"dashed",st=O.makeSpan(["vertical-separator"],[],n);st.style.height=K(ne),st.style.borderRightWidth=K(z),st.style.borderRightStyle=Te,st.style.margin="0 "+K(-z/2);var hr=ne-Ve;hr&&(st.style.verticalAlign=K(-hr)),$e.push(st)}else throw new Z("Invalid separator type: "+at.separator);$++,at=Tt[$]||{},At=!1}if(!(o>=g)){var Ot=void 0;(o>0||a.hskipBeforeAndAfter)&&(Ot=ie.deflt(at.pregap,_),Ot!==0&&(ut=O.makeSpan(["arraycolsep"],[]),ut.style.width=K(Ot),$e.push(ut)));var gt=[];for(u=0;u<d;++u){var Ye=y[u],Ce=Ye[o];if(Ce){var Qt=Ye.pos-Ve;Ce.depth=Ye.depth,Ce.height=Ye.height,gt.push({type:"elem",elem:Ce,shift:Qt})}}gt=O.makeVList({positionType:"individualShift",children:gt},n),gt=O.makeSpan(["col-align-"+(at.align||"c")],[gt]),$e.push(gt),(o<g-1||a.hskipBeforeAndAfter)&&(Ot=ie.deflt(at.postgap,_),Ot!==0&&(ut=O.makeSpan(["arraycolsep"],[]),ut.style.width=K(Ot),$e.push(ut)))}}if(y=O.makeSpan(["mtable"],$e),S.length>0){for(var Ua=O.makeLineSpan("hline",n,z),v0=O.makeLineSpan("hdashline",n,z),ia=[{type:"elem",elem:y,shift:0}];S.length>0;){var ja=S.pop(),E0=ja.pos-Ve;ja.isDashed?ia.push({type:"elem",elem:v0,shift:E0}):ia.push({type:"elem",elem:Ua,shift:E0})}y=O.makeVList({positionType:"individualShift",children:ia},n)}if(pe.length===0)return O.makeSpan(["mord"],[y],n);var Ga=O.makeVList({positionType:"individualShift",children:pe},n);return Ga=O.makeSpan(["tag"],[Ga],n),O.makeFragment([y,Ga])},a7={c:"center ",l:"left ",r:"right "},N0=function(a,n){for(var u=[],o=new F.MathNode("mtd",[],["mtr-glue"]),d=new F.MathNode("mtd",[],["mml-eqn-num"]),m=0;m<a.body.length;m++){for(var g=a.body[m],y=[],S=0;S<g.length;S++)y.push(new F.MathNode("mtd",[Le(g[S],n)]));a.tags&&a.tags[m]&&(y.unshift(o),y.push(o),a.leqno?y.unshift(d):y.push(d)),u.push(new F.MathNode("mtr",y))}var z=new F.MathNode("mtable",u),N=a.arraystretch===.5?.1:.16+a.arraystretch-1+(a.addJot?.09:0);z.setAttribute("rowspacing",K(N));var _="",q="";if(a.cols&&a.cols.length>0){var j=a.cols,L="",Q=!1,P=0,te=j.length;j[0].type==="separator"&&(_+="top ",P=1),j[j.length-1].type==="separator"&&(_+="bottom ",te-=1);for(var ne=P;ne<te;ne++)j[ne].type==="align"?(q+=a7[j[ne].align],Q&&(L+="none "),Q=!0):j[ne].type==="separator"&&Q&&(L+=j[ne].separator==="|"?"solid ":"dashed ",Q=!1);z.setAttribute("columnalign",q.trim()),/[sd]/.test(L)&&z.setAttribute("columnlines",L.trim())}if(a.colSeparationType==="align"){for(var fe=a.cols||[],ce="",he=1;he<fe.length;he++)ce+=he%2?"0em ":"1em ";z.setAttribute("columnspacing",ce.trim())}else a.colSeparationType==="alignat"||a.colSeparationType==="gather"?z.setAttribute("columnspacing","0em"):a.colSeparationType==="small"?z.setAttribute("columnspacing","0.2778em"):a.colSeparationType==="CD"?z.setAttribute("columnspacing","0.5em"):z.setAttribute("columnspacing","1em");var ye="",ze=a.hLinesBeforeRow;_+=ze[0].length>0?"left ":"",_+=ze[ze.length-1].length>0?"right ":"";for(var J=1;J<ze.length-1;J++)ye+=ze[J].length===0?"none ":ze[J][0]?"dashed ":"solid ";return/[sd]/.test(ye)&&z.setAttribute("rowlines",ye.trim()),_!==""&&(z=new F.MathNode("menclose",[z]),z.setAttribute("notation",_.trim())),a.arraystretch&&a.arraystretch<1&&(z=new F.MathNode("mstyle",[z]),z.setAttribute("scriptlevel","1")),z},vh=function(a,n){a.envName.indexOf("ed")===-1&&Vi(a);var u=[],o=a.envName.indexOf("at")>-1?"alignat":"align",d=a.envName==="split",m=Ha(a.parser,{cols:u,addJot:!0,autoTag:d?void 0:Xo(a.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:d?2:void 0,leqno:a.parser.settings.leqno},"display"),g,y=0,S={type:"ordgroup",mode:a.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var z="",N=0;N<n[0].body.length;N++){var _=ve(n[0].body[N],"textord");z+=_.text}g=Number(z),y=g*2}var q=!y;m.body.forEach(function(P){for(var te=1;te<P.length;te+=2){var ne=ve(P[te],"styling"),fe=ve(ne.body[0],"ordgroup");fe.body.unshift(S)}if(q)y<P.length&&(y=P.length);else{var ce=P.length/2;if(g<ce)throw new Z("Too many math in a row: "+("expected "+g+", but got "+ce),P[0])}});for(var j=0;j<y;++j){var L="r",Q=0;j%2===1?L="l":j>0&&q&&(Q=1),u[j]={type:"align",align:L,pregap:Q,postgap:0}}return m.colSeparationType=q?"align":"alignat",m};k0({type:"array",names:["array","darray"],props:{numArgs:1},handler(i,a){var n=Ui(a[0]),u=n?[a[0]]:ve(a[0],"ordgroup").body,o=u.map(function(m){var g=Ho(m),y=g.text;if("lcr".indexOf(y)!==-1)return{type:"align",align:y};if(y==="|")return{type:"separator",separator:"|"};if(y===":")return{type:"separator",separator:":"};throw new Z("Unknown column alignment: "+y,m)}),d={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return Ha(i.parser,d,Yo(i.envName))},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(i){var a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[i.envName.replace("*","")],n="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(i.envName.charAt(i.envName.length-1)==="*"){var o=i.parser;if(o.consumeSpaces(),o.fetch().text==="["){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,"lcr".indexOf(n)===-1)throw new Z("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),u.cols=[{type:"align",align:n}]}}var d=Ha(i.parser,u,Yo(i.envName)),m=Math.max(0,...d.body.map(g=>g.length));return d.cols=new Array(m).fill({type:"align",align:n}),a?{type:"leftright",mode:i.mode,body:[d],left:a[0],right:a[1],rightColor:void 0}:d},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(i){var a={arraystretch:.5},n=Ha(i.parser,a,"script");return n.colSeparationType="small",n},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["subarray"],props:{numArgs:1},handler(i,a){var n=Ui(a[0]),u=n?[a[0]]:ve(a[0],"ordgroup").body,o=u.map(function(m){var g=Ho(m),y=g.text;if("lc".indexOf(y)!==-1)return{type:"align",align:y};throw new Z("Unknown column alignment: "+y,m)});if(o.length>1)throw new Z("{subarray} can contain only one column");var d={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(d=Ha(i.parser,d,"script"),d.body.length>0&&d.body[0].length>1)throw new Z("{subarray} can contain only one column");return d},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(i){var a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Ha(i.parser,a,Yo(i.envName));return{type:"leftright",mode:i.mode,body:[n],left:i.envName.indexOf("r")>-1?".":"\\{",right:i.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:vh,htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(i){ie.contains(["gather","gather*"],i.envName)&&Vi(i);var a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xo(i.envName),emptySingleRow:!0,leqno:i.parser.settings.leqno};return Ha(i.parser,a,"display")},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:vh,htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(i){Vi(i);var a={autoTag:Xo(i.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:i.parser.settings.leqno};return Ha(i.parser,a,"display")},htmlBuilder:D0,mathmlBuilder:N0});k0({type:"array",names:["CD"],props:{numArgs:0},handler(i){return Vi(i),V6(i.parser)},htmlBuilder:D0,mathmlBuilder:N0});b("\\nonumber","\\gdef\\@eqnsw{0}");b("\\notag","\\nonumber");I({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(i,a){throw new Z(i.funcName+" valid only within array environment")}});var lf=ph;I({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(i,a){var{parser:n,funcName:u}=i,o=a[0];if(o.type!=="ordgroup")throw new Z("Invalid environment name",o);for(var d="",m=0;m<o.body.length;++m)d+=ve(o.body[m],"textord").text;if(u==="\\begin"){if(!lf.hasOwnProperty(d))throw new Z("No such environment: "+d,o);var g=lf[d],{args:y,optArgs:S}=n.parseArguments("\\begin{"+d+"}",g),z={mode:n.mode,envName:d,parser:n},N=g.handler(z,y,S);n.expect("\\end",!1);var _=n.nextToken,q=ve(n.parseFunction(),"environment");if(q.name!==d)throw new Z("Mismatch: \\begin{"+d+"} matched by \\end{"+q.name+"}",_);return N}return{type:"environment",mode:n.mode,name:d,nameGroup:o}}});var yh=(i,a)=>{var n=i.font,u=a.withFont(n);return ke(i.body,u)},bh=(i,a)=>{var n=i.font,u=a.withFont(n);return Le(i.body,u)},uf={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};I({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=Ri(a[0]),d=u;return d in uf&&(d=uf[d]),{type:"font",mode:n.mode,font:d.slice(1),body:o}},htmlBuilder:yh,mathmlBuilder:bh});I({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(i,a)=>{var{parser:n}=i,u=a[0],o=ie.isCharacterBox(u);return{type:"mclass",mode:n.mode,mclass:ji(u),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:u}],isCharacterBox:o}}});I({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(i,a)=>{var{parser:n,funcName:u,breakOnTokenText:o}=i,{mode:d}=n,m=n.parseExpression(!0,o),g="math"+u.slice(1);return{type:"font",mode:d,font:g,body:{type:"ordgroup",mode:n.mode,body:m}}},htmlBuilder:yh,mathmlBuilder:bh});var xh=(i,a)=>{var n=a;return i==="display"?n=n.id>=oe.SCRIPT.id?n.text():oe.DISPLAY:i==="text"&&n.size===oe.DISPLAY.size?n=oe.TEXT:i==="script"?n=oe.SCRIPT:i==="scriptscript"&&(n=oe.SCRIPTSCRIPT),n},Fo=(i,a)=>{var n=xh(i.size,a.style),u=n.fracNum(),o=n.fracDen(),d;d=a.havingStyle(u);var m=ke(i.numer,d,a);if(i.continued){var g=8.5/a.fontMetrics().ptPerEm,y=3.5/a.fontMetrics().ptPerEm;m.height=m.height<g?g:m.height,m.depth=m.depth<y?y:m.depth}d=a.havingStyle(o);var S=ke(i.denom,d,a),z,N,_;i.hasBarLine?(i.barSize?(N=Qe(i.barSize,a),z=O.makeLineSpan("frac-line",a,N)):z=O.makeLineSpan("frac-line",a),N=z.height,_=z.height):(z=null,N=0,_=a.fontMetrics().defaultRuleThickness);var q,j,L;n.size===oe.DISPLAY.size||i.size==="display"?(q=a.fontMetrics().num1,N>0?j=3*_:j=7*_,L=a.fontMetrics().denom1):(N>0?(q=a.fontMetrics().num2,j=_):(q=a.fontMetrics().num3,j=3*_),L=a.fontMetrics().denom2);var Q;if(z){var te=a.fontMetrics().axisHeight;q-m.depth-(te+.5*N)<j&&(q+=j-(q-m.depth-(te+.5*N))),te-.5*N-(S.height-L)<j&&(L+=j-(te-.5*N-(S.height-L)));var ne=-(te-.5*N);Q=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:S,shift:L},{type:"elem",elem:z,shift:ne},{type:"elem",elem:m,shift:-q}]},a)}else{var P=q-m.depth-(S.height-L);P<j&&(q+=.5*(j-P),L+=.5*(j-P)),Q=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:S,shift:L},{type:"elem",elem:m,shift:-q}]},a)}d=a.havingStyle(n),Q.height*=d.sizeMultiplier/a.sizeMultiplier,Q.depth*=d.sizeMultiplier/a.sizeMultiplier;var fe;n.size===oe.DISPLAY.size?fe=a.fontMetrics().delim1:n.size===oe.SCRIPTSCRIPT.size?fe=a.havingStyle(oe.SCRIPT).fontMetrics().delim2:fe=a.fontMetrics().delim2;var ce,he;return i.leftDelim==null?ce=il(a,["mopen"]):ce=W0.customSizedDelim(i.leftDelim,fe,!0,a.havingStyle(n),i.mode,["mopen"]),i.continued?he=O.makeSpan([]):i.rightDelim==null?he=il(a,["mclose"]):he=W0.customSizedDelim(i.rightDelim,fe,!0,a.havingStyle(n),i.mode,["mclose"]),O.makeSpan(["mord"].concat(d.sizingClasses(a)),[ce,O.makeSpan(["mfrac"],[Q]),he],a)},Zo=(i,a)=>{var n=new F.MathNode("mfrac",[Le(i.numer,a),Le(i.denom,a)]);if(!i.hasBarLine)n.setAttribute("linethickness","0px");else if(i.barSize){var u=Qe(i.barSize,a);n.setAttribute("linethickness",K(u))}var o=xh(i.size,a.style);if(o.size!==a.style.size){n=new F.MathNode("mstyle",[n]);var d=o.size===oe.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",d),n.setAttribute("scriptlevel","0")}if(i.leftDelim!=null||i.rightDelim!=null){var m=[];if(i.leftDelim!=null){var g=new F.MathNode("mo",[new F.TextNode(i.leftDelim.replace("\\",""))]);g.setAttribute("fence","true"),m.push(g)}if(m.push(n),i.rightDelim!=null){var y=new F.MathNode("mo",[new F.TextNode(i.rightDelim.replace("\\",""))]);y.setAttribute("fence","true"),m.push(y)}return Ro(m)}return n};I({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=a[0],d=a[1],m,g=null,y=null,S="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":m=!0;break;case"\\\\atopfrac":m=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":m=!1,g="(",y=")";break;case"\\\\bracefrac":m=!1,g="\\{",y="\\}";break;case"\\\\brackfrac":m=!1,g="[",y="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":S="display";break;case"\\tfrac":case"\\tbinom":S="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:o,denom:d,hasBarLine:m,leftDelim:g,rightDelim:y,size:S,barSize:null}},htmlBuilder:Fo,mathmlBuilder:Zo});I({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=a[0],d=a[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:o,denom:d,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});I({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(i){var{parser:a,funcName:n,token:u}=i,o;switch(n){case"\\over":o="\\frac";break;case"\\choose":o="\\binom";break;case"\\atop":o="\\\\atopfrac";break;case"\\brace":o="\\\\bracefrac";break;case"\\brack":o="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:o,token:u}}});var sf=["display","text","script","scriptscript"],of=function(a){var n=null;return a.length>0&&(n=a,n=n==="."?null:n),n};I({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(i,a){var{parser:n}=i,u=a[4],o=a[5],d=Ri(a[0]),m=d.type==="atom"&&d.family==="open"?of(d.text):null,g=Ri(a[1]),y=g.type==="atom"&&g.family==="close"?of(g.text):null,S=ve(a[2],"size"),z,N=null;S.isBlank?z=!0:(N=S.value,z=N.number>0);var _="auto",q=a[3];if(q.type==="ordgroup"){if(q.body.length>0){var j=ve(q.body[0],"textord");_=sf[Number(j.text)]}}else q=ve(q,"textord"),_=sf[Number(q.text)];return{type:"genfrac",mode:n.mode,numer:u,denom:o,continued:!1,hasBarLine:z,barSize:N,leftDelim:m,rightDelim:y,size:_}},htmlBuilder:Fo,mathmlBuilder:Zo});I({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(i,a){var{parser:n,funcName:u,token:o}=i;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:ve(a[0],"size").value,token:o}}});I({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=a[0],d=q5(ve(a[1],"infix").size),m=a[2],g=d.number>0;return{type:"genfrac",mode:n.mode,numer:o,denom:m,continued:!1,hasBarLine:g,barSize:d,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Fo,mathmlBuilder:Zo});var Sh=(i,a)=>{var n=a.style,u,o;i.type==="supsub"?(u=i.sup?ke(i.sup,a.havingStyle(n.sup()),a):ke(i.sub,a.havingStyle(n.sub()),a),o=ve(i.base,"horizBrace")):o=ve(i,"horizBrace");var d=ke(o.base,a.havingBaseStyle(oe.DISPLAY)),m=aa.svgSpan(o,a),g;if(o.isOver?(g=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:.1},{type:"elem",elem:m}]},a),g.children[0].children[0].children[1].classes.push("svg-align")):(g=O.makeVList({positionType:"bottom",positionData:d.depth+.1+m.height,children:[{type:"elem",elem:m},{type:"kern",size:.1},{type:"elem",elem:d}]},a),g.children[0].children[0].children[0].classes.push("svg-align")),u){var y=O.makeSpan(["mord",o.isOver?"mover":"munder"],[g],a);o.isOver?g=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"kern",size:.2},{type:"elem",elem:u}]},a):g=O.makeVList({positionType:"bottom",positionData:y.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:y}]},a)}return O.makeSpan(["mord",o.isOver?"mover":"munder"],[g],a)},r7=(i,a)=>{var n=aa.mathMLnode(i.label);return new F.MathNode(i.isOver?"mover":"munder",[Le(i.base,a),n])};I({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(i,a){var{parser:n,funcName:u}=i;return{type:"horizBrace",mode:n.mode,label:u,isOver:/^\\over/.test(u),base:a[0]}},htmlBuilder:Sh,mathmlBuilder:r7});I({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(i,a)=>{var{parser:n}=i,u=a[1],o=ve(a[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:tt(u)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(i,a)=>{var n=dt(i.body,a,!1);return O.makeAnchor(i.href,[],n,a)},mathmlBuilder:(i,a)=>{var n=La(i.body,a);return n instanceof Yt||(n=new Yt("mrow",[n])),n.setAttribute("href",i.href),n}});I({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(i,a)=>{var{parser:n}=i,u=ve(a[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:u}))return n.formatUnsupportedCmd("\\url");for(var o=[],d=0;d<u.length;d++){var m=u[d];m==="~"&&(m="\\textasciitilde"),o.push({type:"textord",mode:"text",text:m})}var g={type:"text",mode:n.mode,font:"\\texttt",body:o};return{type:"href",mode:n.mode,href:u,body:tt(g)}}});I({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(i,a){var{parser:n}=i;return{type:"hbox",mode:n.mode,body:tt(a[0])}},htmlBuilder(i,a){var n=dt(i.body,a,!1);return O.makeFragment(n)},mathmlBuilder(i,a){return new F.MathNode("mrow",Bt(i.body,a))}});I({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(i,a)=>{var{parser:n,funcName:u,token:o}=i,d=ve(a[0],"raw").string,m=a[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var g,y={};switch(u){case"\\htmlClass":y.class=d,g={command:"\\htmlClass",class:d};break;case"\\htmlId":y.id=d,g={command:"\\htmlId",id:d};break;case"\\htmlStyle":y.style=d,g={command:"\\htmlStyle",style:d};break;case"\\htmlData":{for(var S=d.split(","),z=0;z<S.length;z++){var N=S[z].split("=");if(N.length!==2)throw new Z("Error parsing key-value for \\htmlData");y["data-"+N[0].trim()]=N[1].trim()}g={command:"\\htmlData",attributes:y};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(g)?{type:"html",mode:n.mode,attributes:y,body:tt(m)}:n.formatUnsupportedCmd(u)},htmlBuilder:(i,a)=>{var n=dt(i.body,a,!1),u=["enclosing"];i.attributes.class&&u.push(...i.attributes.class.trim().split(/\s+/));var o=O.makeSpan(u,n,a);for(var d in i.attributes)d!=="class"&&i.attributes.hasOwnProperty(d)&&o.setAttribute(d,i.attributes[d]);return o},mathmlBuilder:(i,a)=>La(i.body,a)});I({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(i,a)=>{var{parser:n}=i;return{type:"htmlmathml",mode:n.mode,html:tt(a[0]),mathml:tt(a[1])}},htmlBuilder:(i,a)=>{var n=dt(i.html,a,!1);return O.makeFragment(n)},mathmlBuilder:(i,a)=>La(i.mathml,a)});var mo=function(a){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(a))return{number:+a,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(a);if(!n)throw new Z("Invalid size: '"+a+"' in \\includegraphics");var u={number:+(n[1]+n[2]),unit:n[3]};if(!jf(u))throw new Z("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};I({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(i,a,n)=>{var{parser:u}=i,o={number:0,unit:"em"},d={number:.9,unit:"em"},m={number:0,unit:"em"},g="";if(n[0])for(var y=ve(n[0],"raw").string,S=y.split(","),z=0;z<S.length;z++){var N=S[z].split("=");if(N.length===2){var _=N[1].trim();switch(N[0].trim()){case"alt":g=_;break;case"width":o=mo(_);break;case"height":d=mo(_);break;case"totalheight":m=mo(_);break;default:throw new Z("Invalid key: '"+N[0]+"' in \\includegraphics.")}}}var q=ve(a[0],"url").url;return g===""&&(g=q,g=g.replace(/^.*[\\/]/,""),g=g.substring(0,g.lastIndexOf("."))),u.settings.isTrusted({command:"\\includegraphics",url:q})?{type:"includegraphics",mode:u.mode,alt:g,width:o,height:d,totalheight:m,src:q}:u.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(i,a)=>{var n=Qe(i.height,a),u=0;i.totalheight.number>0&&(u=Qe(i.totalheight,a)-n);var o=0;i.width.number>0&&(o=Qe(i.width,a));var d={height:K(n+u)};o>0&&(d.width=K(o)),u>0&&(d.verticalAlign=K(-u));var m=new r6(i.src,i.alt,d);return m.height=n,m.depth=u,m},mathmlBuilder:(i,a)=>{var n=new F.MathNode("mglyph",[]);n.setAttribute("alt",i.alt);var u=Qe(i.height,a),o=0;if(i.totalheight.number>0&&(o=Qe(i.totalheight,a)-u,n.setAttribute("valign",K(-o))),n.setAttribute("height",K(u+o)),i.width.number>0){var d=Qe(i.width,a);n.setAttribute("width",K(d))}return n.setAttribute("src",i.src),n}});I({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(i,a){var{parser:n,funcName:u}=i,o=ve(a[0],"size");if(n.settings.strict){var d=u[1]==="m",m=o.value.unit==="mu";d?(m||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+o.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):m&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder(i,a){return O.makeGlue(i.dimension,a)},mathmlBuilder(i,a){var n=Qe(i.dimension,a);return new F.SpaceNode(n)}});I({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=a[0];return{type:"lap",mode:n.mode,alignment:u.slice(5),body:o}},htmlBuilder:(i,a)=>{var n;i.alignment==="clap"?(n=O.makeSpan([],[ke(i.body,a)]),n=O.makeSpan(["inner"],[n],a)):n=O.makeSpan(["inner"],[ke(i.body,a)]);var u=O.makeSpan(["fix"],[]),o=O.makeSpan([i.alignment],[n,u],a),d=O.makeSpan(["strut"]);return d.style.height=K(o.height+o.depth),o.depth&&(d.style.verticalAlign=K(-o.depth)),o.children.unshift(d),o=O.makeSpan(["thinbox"],[o],a),O.makeSpan(["mord","vbox"],[o],a)},mathmlBuilder:(i,a)=>{var n=new F.MathNode("mpadded",[Le(i.body,a)]);if(i.alignment!=="rlap"){var u=i.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",u+"width")}return n.setAttribute("width","0px"),n}});I({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,a){var{funcName:n,parser:u}=i,o=u.mode;u.switchMode("math");var d=n==="\\("?"\\)":"$",m=u.parseExpression(!1,d);return u.expect(d),u.switchMode(o),{type:"styling",mode:u.mode,style:"text",body:m}}});I({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,a){throw new Z("Mismatched "+i.funcName)}});var cf=(i,a)=>{switch(a.style.size){case oe.DISPLAY.size:return i.display;case oe.TEXT.size:return i.text;case oe.SCRIPT.size:return i.script;case oe.SCRIPTSCRIPT.size:return i.scriptscript;default:return i.text}};I({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(i,a)=>{var{parser:n}=i;return{type:"mathchoice",mode:n.mode,display:tt(a[0]),text:tt(a[1]),script:tt(a[2]),scriptscript:tt(a[3])}},htmlBuilder:(i,a)=>{var n=cf(i,a),u=dt(n,a,!1);return O.makeFragment(u)},mathmlBuilder:(i,a)=>{var n=cf(i,a);return La(n,a)}});var Th=(i,a,n,u,o,d,m)=>{i=O.makeSpan([],[i]);var g=n&&ie.isCharacterBox(n),y,S;if(a){var z=ke(a,u.havingStyle(o.sup()),u);S={elem:z,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-z.depth)}}if(n){var N=ke(n,u.havingStyle(o.sub()),u);y={elem:N,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-N.height)}}var _;if(S&&y){var q=u.fontMetrics().bigOpSpacing5+y.elem.height+y.elem.depth+y.kern+i.depth+m;_=O.makeVList({positionType:"bottom",positionData:q,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:y.elem,marginLeft:K(-d)},{type:"kern",size:y.kern},{type:"elem",elem:i},{type:"kern",size:S.kern},{type:"elem",elem:S.elem,marginLeft:K(d)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(y){var j=i.height-m;_=O.makeVList({positionType:"top",positionData:j,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:y.elem,marginLeft:K(-d)},{type:"kern",size:y.kern},{type:"elem",elem:i}]},u)}else if(S){var L=i.depth+m;_=O.makeVList({positionType:"bottom",positionData:L,children:[{type:"elem",elem:i},{type:"kern",size:S.kern},{type:"elem",elem:S.elem,marginLeft:K(d)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return i;var Q=[_];if(y&&d!==0&&!g){var P=O.makeSpan(["mspace"],[],u);P.style.marginRight=K(d),Q.unshift(P)}return O.makeSpan(["mop","op-limits"],Q,u)},wh=["\\smallint"],en=(i,a)=>{var n,u,o=!1,d;i.type==="supsub"?(n=i.sup,u=i.sub,d=ve(i.base,"op"),o=!0):d=ve(i,"op");var m=a.style,g=!1;m.size===oe.DISPLAY.size&&d.symbol&&!ie.contains(wh,d.name)&&(g=!0);var y;if(d.symbol){var S=g?"Size2-Regular":"Size1-Regular",z="";if((d.name==="\\oiint"||d.name==="\\oiiint")&&(z=d.name.slice(1),d.name=z==="oiint"?"\\iint":"\\iiint"),y=O.makeSymbol(d.name,S,"math",a,["mop","op-symbol",g?"large-op":"small-op"]),z.length>0){var N=y.italic,_=O.staticSvg(z+"Size"+(g?"2":"1"),a);y=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:0},{type:"elem",elem:_,shift:g?.08:0}]},a),d.name="\\"+z,y.classes.unshift("mop"),y.italic=N}}else if(d.body){var q=dt(d.body,a,!0);q.length===1&&q[0]instanceof o0?(y=q[0],y.classes[0]="mop"):y=O.makeSpan(["mop"],q,a)}else{for(var j=[],L=1;L<d.name.length;L++)j.push(O.mathsym(d.name[L],d.mode,a));y=O.makeSpan(["mop"],j,a)}var Q=0,P=0;return(y instanceof o0||d.name==="\\oiint"||d.name==="\\oiiint")&&!d.suppressBaseShift&&(Q=(y.height-y.depth)/2-a.fontMetrics().axisHeight,P=y.italic),o?Th(y,n,u,a,m,P,Q):(Q&&(y.style.position="relative",y.style.top=K(Q)),y)},ol=(i,a)=>{var n;if(i.symbol)n=new Yt("mo",[c0(i.name,i.mode)]),ie.contains(wh,i.name)&&n.setAttribute("largeop","false");else if(i.body)n=new Yt("mo",Bt(i.body,a));else{n=new Yt("mi",[new z0(i.name.slice(1))]);var u=new Yt("mo",[c0("⁡","text")]);i.parentIsSupSub?n=new Yt("mrow",[n,u]):n=Jf([n,u])}return n},n7={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};I({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=u;return o.length===1&&(o=n7[o]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:en,mathmlBuilder:ol});I({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var{parser:n}=i,u=a[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tt(u)}},htmlBuilder:en,mathmlBuilder:ol});var l7={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};I({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(i){var{parser:a,funcName:n}=i;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:en,mathmlBuilder:ol});I({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(i){var{parser:a,funcName:n}=i;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:en,mathmlBuilder:ol});I({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(i){var{parser:a,funcName:n}=i,u=n;return u.length===1&&(u=l7[u]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:en,mathmlBuilder:ol});var Ah=(i,a)=>{var n,u,o=!1,d;i.type==="supsub"?(n=i.sup,u=i.sub,d=ve(i.base,"operatorname"),o=!0):d=ve(i,"operatorname");var m;if(d.body.length>0){for(var g=d.body.map(N=>{var _=N.text;return typeof _=="string"?{type:"textord",mode:N.mode,text:_}:N}),y=dt(g,a.withFont("mathrm"),!0),S=0;S<y.length;S++){var z=y[S];z instanceof o0&&(z.text=z.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}m=O.makeSpan(["mop"],y,a)}else m=O.makeSpan(["mop"],[],a);return o?Th(m,n,u,a,a.style,0,0):m},i7=(i,a)=>{for(var n=Bt(i.body,a.withFont("mathrm")),u=!0,o=0;o<n.length;o++){var d=n[o];if(!(d instanceof F.SpaceNode))if(d instanceof F.MathNode)switch(d.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var m=d.children[0];d.children.length===1&&m instanceof F.TextNode?m.text=m.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):u=!1;break}default:u=!1}else u=!1}if(u){var g=n.map(z=>z.toText()).join("");n=[new F.TextNode(g)]}var y=new F.MathNode("mi",n);y.setAttribute("mathvariant","normal");var S=new F.MathNode("mo",[c0("⁡","text")]);return i.parentIsSupSub?new F.MathNode("mrow",[y,S]):F.newDocumentFragment([y,S])};I({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(i,a)=>{var{parser:n,funcName:u}=i,o=a[0];return{type:"operatorname",mode:n.mode,body:tt(o),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ah,mathmlBuilder:i7});b("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");fr({type:"ordgroup",htmlBuilder(i,a){return i.semisimple?O.makeFragment(dt(i.body,a,!1)):O.makeSpan(["mord"],dt(i.body,a,!0),a)},mathmlBuilder(i,a){return La(i.body,a,!0)}});I({type:"overline",names:["\\overline"],props:{numArgs:1},handler(i,a){var{parser:n}=i,u=a[0];return{type:"overline",mode:n.mode,body:u}},htmlBuilder(i,a){var n=ke(i.body,a.havingCrampedStyle()),u=O.makeLineSpan("overline-line",a),o=a.fontMetrics().defaultRuleThickness,d=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:u},{type:"kern",size:o}]},a);return O.makeSpan(["mord","overline"],[d],a)},mathmlBuilder(i,a){var n=new F.MathNode("mo",[new F.TextNode("‾")]);n.setAttribute("stretchy","true");var u=new F.MathNode("mover",[Le(i.body,a),n]);return u.setAttribute("accent","true"),u}});I({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:n}=i,u=a[0];return{type:"phantom",mode:n.mode,body:tt(u)}},htmlBuilder:(i,a)=>{var n=dt(i.body,a.withPhantom(),!1);return O.makeFragment(n)},mathmlBuilder:(i,a)=>{var n=Bt(i.body,a);return new F.MathNode("mphantom",n)}});I({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:n}=i,u=a[0];return{type:"hphantom",mode:n.mode,body:u}},htmlBuilder:(i,a)=>{var n=O.makeSpan([],[ke(i.body,a.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var u=0;u<n.children.length;u++)n.children[u].height=0,n.children[u].depth=0;return n=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},a),O.makeSpan(["mord"],[n],a)},mathmlBuilder:(i,a)=>{var n=Bt(tt(i.body),a),u=new F.MathNode("mphantom",n),o=new F.MathNode("mpadded",[u]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}});I({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:n}=i,u=a[0];return{type:"vphantom",mode:n.mode,body:u}},htmlBuilder:(i,a)=>{var n=O.makeSpan(["inner"],[ke(i.body,a.withPhantom())]),u=O.makeSpan(["fix"],[]);return O.makeSpan(["mord","rlap"],[n,u],a)},mathmlBuilder:(i,a)=>{var n=Bt(tt(i.body),a),u=new F.MathNode("mphantom",n),o=new F.MathNode("mpadded",[u]);return o.setAttribute("width","0px"),o}});I({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(i,a){var{parser:n}=i,u=ve(a[0],"size").value,o=a[1];return{type:"raisebox",mode:n.mode,dy:u,body:o}},htmlBuilder(i,a){var n=ke(i.body,a),u=Qe(i.dy,a);return O.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:n}]},a)},mathmlBuilder(i,a){var n=new F.MathNode("mpadded",[Le(i.body,a)]),u=i.dy.number+i.dy.unit;return n.setAttribute("voffset",u),n}});I({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(i){var{parser:a}=i;return{type:"internal",mode:a.mode}}});I({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(i,a,n){var{parser:u}=i,o=n[0],d=ve(a[0],"size"),m=ve(a[1],"size");return{type:"rule",mode:u.mode,shift:o&&ve(o,"size").value,width:d.value,height:m.value}},htmlBuilder(i,a){var n=O.makeSpan(["mord","rule"],[],a),u=Qe(i.width,a),o=Qe(i.height,a),d=i.shift?Qe(i.shift,a):0;return n.style.borderRightWidth=K(u),n.style.borderTopWidth=K(o),n.style.bottom=K(d),n.width=u,n.height=o+d,n.depth=-d,n.maxFontSize=o*1.125*a.sizeMultiplier,n},mathmlBuilder(i,a){var n=Qe(i.width,a),u=Qe(i.height,a),o=i.shift?Qe(i.shift,a):0,d=a.color&&a.getColor()||"black",m=new F.MathNode("mspace");m.setAttribute("mathbackground",d),m.setAttribute("width",K(n)),m.setAttribute("height",K(u));var g=new F.MathNode("mpadded",[m]);return o>=0?g.setAttribute("height",K(o)):(g.setAttribute("height",K(o)),g.setAttribute("depth",K(-o))),g.setAttribute("voffset",K(o)),g}});function Mh(i,a,n){for(var u=dt(i,a,!1),o=a.sizeMultiplier/n.sizeMultiplier,d=0;d<u.length;d++){var m=u[d].classes.indexOf("sizing");m<0?Array.prototype.push.apply(u[d].classes,a.sizingClasses(n)):u[d].classes[m+1]==="reset-size"+a.size&&(u[d].classes[m+1]="reset-size"+n.size),u[d].height*=o,u[d].depth*=o}return O.makeFragment(u)}var df=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],u7=(i,a)=>{var n=a.havingSize(i.size);return Mh(i.body,n,a)};I({type:"sizing",names:df,props:{numArgs:0,allowedInText:!0},handler:(i,a)=>{var{breakOnTokenText:n,funcName:u,parser:o}=i,d=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:df.indexOf(u)+1,body:d}},htmlBuilder:u7,mathmlBuilder:(i,a)=>{var n=a.havingSize(i.size),u=Bt(i.body,n),o=new F.MathNode("mstyle",u);return o.setAttribute("mathsize",K(n.sizeMultiplier)),o}});I({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(i,a,n)=>{var{parser:u}=i,o=!1,d=!1,m=n[0]&&ve(n[0],"ordgroup");if(m)for(var g="",y=0;y<m.body.length;++y){var S=m.body[y];if(g=S.text,g==="t")o=!0;else if(g==="b")d=!0;else{o=!1,d=!1;break}}else o=!0,d=!0;var z=a[0];return{type:"smash",mode:u.mode,body:z,smashHeight:o,smashDepth:d}},htmlBuilder:(i,a)=>{var n=O.makeSpan([],[ke(i.body,a)]);if(!i.smashHeight&&!i.smashDepth)return n;if(i.smashHeight&&(n.height=0,n.children))for(var u=0;u<n.children.length;u++)n.children[u].height=0;if(i.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;var d=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},a);return O.makeSpan(["mord"],[d],a)},mathmlBuilder:(i,a)=>{var n=new F.MathNode("mpadded",[Le(i.body,a)]);return i.smashHeight&&n.setAttribute("height","0px"),i.smashDepth&&n.setAttribute("depth","0px"),n}});I({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(i,a,n){var{parser:u}=i,o=n[0],d=a[0];return{type:"sqrt",mode:u.mode,body:d,index:o}},htmlBuilder(i,a){var n=ke(i.body,a.havingCrampedStyle());n.height===0&&(n.height=a.fontMetrics().xHeight),n=O.wrapFragment(n,a);var u=a.fontMetrics(),o=u.defaultRuleThickness,d=o;a.style.id<oe.TEXT.id&&(d=a.fontMetrics().xHeight);var m=o+d/4,g=n.height+n.depth+m+o,{span:y,ruleWidth:S,advanceWidth:z}=W0.sqrtImage(g,a),N=y.height-S;N>n.height+n.depth+m&&(m=(m+N-n.height-n.depth)/2);var _=y.height-n.height-m-S;n.style.paddingLeft=K(z);var q=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+_)},{type:"elem",elem:y},{type:"kern",size:S}]},a);if(i.index){var j=a.havingStyle(oe.SCRIPTSCRIPT),L=ke(i.index,j,a),Q=.6*(q.height-q.depth),P=O.makeVList({positionType:"shift",positionData:-Q,children:[{type:"elem",elem:L}]},a),te=O.makeSpan(["root"],[P]);return O.makeSpan(["mord","sqrt"],[te,q],a)}else return O.makeSpan(["mord","sqrt"],[q],a)},mathmlBuilder(i,a){var{body:n,index:u}=i;return u?new F.MathNode("mroot",[Le(n,a),Le(u,a)]):new F.MathNode("msqrt",[Le(n,a)])}});var ff={display:oe.DISPLAY,text:oe.TEXT,script:oe.SCRIPT,scriptscript:oe.SCRIPTSCRIPT};I({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i,a){var{breakOnTokenText:n,funcName:u,parser:o}=i,d=o.parseExpression(!0,n),m=u.slice(1,u.length-5);return{type:"styling",mode:o.mode,style:m,body:d}},htmlBuilder(i,a){var n=ff[i.style],u=a.havingStyle(n).withFont("");return Mh(i.body,u,a)},mathmlBuilder(i,a){var n=ff[i.style],u=a.havingStyle(n),o=Bt(i.body,u),d=new F.MathNode("mstyle",o),m={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},g=m[i.style];return d.setAttribute("scriptlevel",g[0]),d.setAttribute("displaystyle",g[1]),d}});var s7=function(a,n){var u=a.base;if(u)if(u.type==="op"){var o=u.limits&&(n.style.size===oe.DISPLAY.size||u.alwaysHandleSupSub);return o?en:null}else if(u.type==="operatorname"){var d=u.alwaysHandleSupSub&&(n.style.size===oe.DISPLAY.size||u.limits);return d?Ah:null}else{if(u.type==="accent")return ie.isCharacterBox(u.base)?Uo:null;if(u.type==="horizBrace"){var m=!a.sub;return m===u.isOver?Sh:null}else return null}else return null};fr({type:"supsub",htmlBuilder(i,a){var n=s7(i,a);if(n)return n(i,a);var{base:u,sup:o,sub:d}=i,m=ke(u,a),g,y,S=a.fontMetrics(),z=0,N=0,_=u&&ie.isCharacterBox(u);if(o){var q=a.havingStyle(a.style.sup());g=ke(o,q,a),_||(z=m.height-q.fontMetrics().supDrop*q.sizeMultiplier/a.sizeMultiplier)}if(d){var j=a.havingStyle(a.style.sub());y=ke(d,j,a),_||(N=m.depth+j.fontMetrics().subDrop*j.sizeMultiplier/a.sizeMultiplier)}var L;a.style===oe.DISPLAY?L=S.sup1:a.style.cramped?L=S.sup3:L=S.sup2;var Q=a.sizeMultiplier,P=K(.5/S.ptPerEm/Q),te=null;if(y){var ne=i.base&&i.base.type==="op"&&i.base.name&&(i.base.name==="\\oiint"||i.base.name==="\\oiiint");(m instanceof o0||ne)&&(te=K(-m.italic))}var fe;if(g&&y){z=Math.max(z,L,g.depth+.25*S.xHeight),N=Math.max(N,S.sub2);var ce=S.defaultRuleThickness,he=4*ce;if(z-g.depth-(y.height-N)<he){N=he-(z-g.depth)+y.height;var ye=.8*S.xHeight-(z-g.depth);ye>0&&(z+=ye,N-=ye)}var ze=[{type:"elem",elem:y,shift:N,marginRight:P,marginLeft:te},{type:"elem",elem:g,shift:-z,marginRight:P}];fe=O.makeVList({positionType:"individualShift",children:ze},a)}else if(y){N=Math.max(N,S.sub1,y.height-.8*S.xHeight);var J=[{type:"elem",elem:y,marginLeft:te,marginRight:P}];fe=O.makeVList({positionType:"shift",positionData:N,children:J},a)}else if(g)z=Math.max(z,L,g.depth+.25*S.xHeight),fe=O.makeVList({positionType:"shift",positionData:-z,children:[{type:"elem",elem:g,marginRight:P}]},a);else throw new Error("supsub must have either sup or sub.");var be=Mo(m,"right")||"mord";return O.makeSpan([be],[m,O.makeSpan(["msupsub"],[fe])],a)},mathmlBuilder(i,a){var n=!1,u,o;i.base&&i.base.type==="horizBrace"&&(o=!!i.sup,o===i.base.isOver&&(n=!0,u=i.base.isOver)),i.base&&(i.base.type==="op"||i.base.type==="operatorname")&&(i.base.parentIsSupSub=!0);var d=[Le(i.base,a)];i.sub&&d.push(Le(i.sub,a)),i.sup&&d.push(Le(i.sup,a));var m;if(n)m=u?"mover":"munder";else if(i.sub)if(i.sup){var S=i.base;S&&S.type==="op"&&S.limits&&a.style===oe.DISPLAY||S&&S.type==="operatorname"&&S.alwaysHandleSupSub&&(a.style===oe.DISPLAY||S.limits)?m="munderover":m="msubsup"}else{var y=i.base;y&&y.type==="op"&&y.limits&&(a.style===oe.DISPLAY||y.alwaysHandleSupSub)||y&&y.type==="operatorname"&&y.alwaysHandleSupSub&&(y.limits||a.style===oe.DISPLAY)?m="munder":m="msub"}else{var g=i.base;g&&g.type==="op"&&g.limits&&(a.style===oe.DISPLAY||g.alwaysHandleSupSub)||g&&g.type==="operatorname"&&g.alwaysHandleSupSub&&(g.limits||a.style===oe.DISPLAY)?m="mover":m="msup"}return new F.MathNode(m,d)}});fr({type:"atom",htmlBuilder(i,a){return O.mathsym(i.text,i.mode,a,["m"+i.family])},mathmlBuilder(i,a){var n=new F.MathNode("mo",[c0(i.text,i.mode)]);if(i.family==="bin"){var u=Lo(i,a);u==="bold-italic"&&n.setAttribute("mathvariant",u)}else i.family==="punct"?n.setAttribute("separator","true"):(i.family==="open"||i.family==="close")&&n.setAttribute("stretchy","false");return n}});var zh={mi:"italic",mn:"normal",mtext:"normal"};fr({type:"mathord",htmlBuilder(i,a){return O.makeOrd(i,a,"mathord")},mathmlBuilder(i,a){var n=new F.MathNode("mi",[c0(i.text,i.mode,a)]),u=Lo(i,a)||"italic";return u!==zh[n.type]&&n.setAttribute("mathvariant",u),n}});fr({type:"textord",htmlBuilder(i,a){return O.makeOrd(i,a,"textord")},mathmlBuilder(i,a){var n=c0(i.text,i.mode,a),u=Lo(i,a)||"normal",o;return i.mode==="text"?o=new F.MathNode("mtext",[n]):/[0-9]/.test(i.text)?o=new F.MathNode("mn",[n]):i.text==="\\prime"?o=new F.MathNode("mo",[n]):o=new F.MathNode("mi",[n]),u!==zh[o.type]&&o.setAttribute("mathvariant",u),o}});var po={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},go={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};fr({type:"spacing",htmlBuilder(i,a){if(go.hasOwnProperty(i.text)){var n=go[i.text].className||"";if(i.mode==="text"){var u=O.makeOrd(i,a,"textord");return u.classes.push(n),u}else return O.makeSpan(["mspace",n],[O.mathsym(i.text,i.mode,a)],a)}else{if(po.hasOwnProperty(i.text))return O.makeSpan(["mspace",po[i.text]],[],a);throw new Z('Unknown type of space "'+i.text+'"')}},mathmlBuilder(i,a){var n;if(go.hasOwnProperty(i.text))n=new F.MathNode("mtext",[new F.TextNode(" ")]);else{if(po.hasOwnProperty(i.text))return new F.MathNode("mspace");throw new Z('Unknown type of space "'+i.text+'"')}return n}});var hf=()=>{var i=new F.MathNode("mtd",[]);return i.setAttribute("width","50%"),i};fr({type:"tag",mathmlBuilder(i,a){var n=new F.MathNode("mtable",[new F.MathNode("mtr",[hf(),new F.MathNode("mtd",[La(i.body,a)]),hf(),new F.MathNode("mtd",[La(i.tag,a)])])]);return n.setAttribute("width","100%"),n}});var mf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},pf={"\\textbf":"textbf","\\textmd":"textmd"},o7={"\\textit":"textit","\\textup":"textup"},gf=(i,a)=>{var n=i.font;if(n){if(mf[n])return a.withTextFontFamily(mf[n]);if(pf[n])return a.withTextFontWeight(pf[n]);if(n==="\\emph")return a.fontShape==="textit"?a.withTextFontShape("textup"):a.withTextFontShape("textit")}else return a;return a.withTextFontShape(o7[n])};I({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(i,a){var{parser:n,funcName:u}=i,o=a[0];return{type:"text",mode:n.mode,body:tt(o),font:u}},htmlBuilder(i,a){var n=gf(i,a),u=dt(i.body,n,!0);return O.makeSpan(["mord","text"],u,n)},mathmlBuilder(i,a){var n=gf(i,a);return La(i.body,n)}});I({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(i,a){var{parser:n}=i;return{type:"underline",mode:n.mode,body:a[0]}},htmlBuilder(i,a){var n=ke(i.body,a),u=O.makeLineSpan("underline-line",a),o=a.fontMetrics().defaultRuleThickness,d=O.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:u},{type:"kern",size:3*o},{type:"elem",elem:n}]},a);return O.makeSpan(["mord","underline"],[d],a)},mathmlBuilder(i,a){var n=new F.MathNode("mo",[new F.TextNode("‾")]);n.setAttribute("stretchy","true");var u=new F.MathNode("munder",[Le(i.body,a),n]);return u.setAttribute("accentunder","true"),u}});I({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(i,a){var{parser:n}=i;return{type:"vcenter",mode:n.mode,body:a[0]}},htmlBuilder(i,a){var n=ke(i.body,a),u=a.fontMetrics().axisHeight,o=.5*(n.height-u-(n.depth+u));return O.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:n}]},a)},mathmlBuilder(i,a){return new F.MathNode("mpadded",[Le(i.body,a)],["vcenter"])}});I({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(i,a,n){throw new Z("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(i,a){for(var n=vf(i),u=[],o=a.havingStyle(a.style.text()),d=0;d<n.length;d++){var m=n[d];m==="~"&&(m="\\textasciitilde"),u.push(O.makeSymbol(m,"Typewriter-Regular",i.mode,o,["mord","texttt"]))}return O.makeSpan(["mord","text"].concat(o.sizingClasses(a)),O.tryCombineChars(u),o)},mathmlBuilder(i,a){var n=new F.TextNode(vf(i)),u=new F.MathNode("mtext",[n]);return u.setAttribute("mathvariant","monospace"),u}});var vf=i=>i.body.replace(/ /g,i.star?"␣":" "),Ba=$f,kh=`[ \r
	]`,c7="\\\\[a-zA-Z@]+",d7="\\\\[^\uD800-\uDFFF]",f7="("+c7+")"+kh+"*",h7=`\\\\(
|[ \r	]+
?)[ \r	]*`,No="[̀-ͯ]",m7=new RegExp(No+"+$"),p7="("+kh+"+)|"+(h7+"|")+"([!-\\[\\]-‧‪-퟿豈-]"+(No+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(No+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+f7)+("|"+d7+")");class yf{constructor(a,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=n,this.tokenRegex=new RegExp(p7,"g"),this.catcodes={"%":14,"~":13}}setCatcode(a,n){this.catcodes[a]=n}lex(){var a=this.input,n=this.tokenRegex.lastIndex;if(n===a.length)return new s0("EOF",new Xt(this,n,n));var u=this.tokenRegex.exec(a);if(u===null||u.index!==n)throw new Z("Unexpected character: '"+a[n]+"'",new s0(a[n],new Xt(this,n,n+1)));var o=u[6]||u[3]||(u[2]?"\\ ":" ");if(this.catcodes[o]===14){var d=a.indexOf(`
`,this.tokenRegex.lastIndex);return d===-1?(this.tokenRegex.lastIndex=a.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=d+1,this.lex()}return new s0(o,new Xt(this,n,this.tokenRegex.lastIndex))}}class g7{constructor(a,n){a===void 0&&(a={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=a,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Z("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var a=this.undefStack.pop();for(var n in a)a.hasOwnProperty(n)&&(a[n]==null?delete this.current[n]:this.current[n]=a[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(a){return this.current.hasOwnProperty(a)||this.builtins.hasOwnProperty(a)}get(a){return this.current.hasOwnProperty(a)?this.current[a]:this.builtins[a]}set(a,n,u){if(u===void 0&&(u=!1),u){for(var o=0;o<this.undefStack.length;o++)delete this.undefStack[o][a];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][a]=n)}else{var d=this.undefStack[this.undefStack.length-1];d&&!d.hasOwnProperty(a)&&(d[a]=this.current[a])}n==null?delete this.current[a]:this.current[a]=n}}var v7=gh;b("\\noexpand",function(i){var a=i.popToken();return i.isExpandable(a.text)&&(a.noexpand=!0,a.treatAsRelax=!0),{tokens:[a],numArgs:0}});b("\\expandafter",function(i){var a=i.popToken();return i.expandOnce(!0),{tokens:[a],numArgs:0}});b("\\@firstoftwo",function(i){var a=i.consumeArgs(2);return{tokens:a[0],numArgs:0}});b("\\@secondoftwo",function(i){var a=i.consumeArgs(2);return{tokens:a[1],numArgs:0}});b("\\@ifnextchar",function(i){var a=i.consumeArgs(3);i.consumeSpaces();var n=i.future();return a[0].length===1&&a[0][0].text===n.text?{tokens:a[1],numArgs:0}:{tokens:a[2],numArgs:0}});b("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");b("\\TextOrMath",function(i){var a=i.consumeArgs(2);return i.mode==="text"?{tokens:a[0],numArgs:0}:{tokens:a[1],numArgs:0}});var bf={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};b("\\char",function(i){var a=i.popToken(),n,u="";if(a.text==="'")n=8,a=i.popToken();else if(a.text==='"')n=16,a=i.popToken();else if(a.text==="`")if(a=i.popToken(),a.text[0]==="\\")u=a.text.charCodeAt(1);else{if(a.text==="EOF")throw new Z("\\char` missing argument");u=a.text.charCodeAt(0)}else n=10;if(n){if(u=bf[a.text],u==null||u>=n)throw new Z("Invalid base-"+n+" digit "+a.text);for(var o;(o=bf[i.future().text])!=null&&o<n;)u*=n,u+=o,i.popToken()}return"\\@char{"+u+"}"});var Ko=(i,a,n,u)=>{var o=i.consumeArg().tokens;if(o.length!==1)throw new Z("\\newcommand's first argument must be a macro name");var d=o[0].text,m=i.isDefined(d);if(m&&!a)throw new Z("\\newcommand{"+d+"} attempting to redefine "+(d+"; use \\renewcommand"));if(!m&&!n)throw new Z("\\renewcommand{"+d+"} when command "+d+" does not yet exist; use \\newcommand");var g=0;if(o=i.consumeArg().tokens,o.length===1&&o[0].text==="["){for(var y="",S=i.expandNextToken();S.text!=="]"&&S.text!=="EOF";)y+=S.text,S=i.expandNextToken();if(!y.match(/^\s*[0-9]+\s*$/))throw new Z("Invalid number of arguments: "+y);g=parseInt(y),o=i.consumeArg().tokens}return m&&u||i.macros.set(d,{tokens:o,numArgs:g}),""};b("\\newcommand",i=>Ko(i,!1,!0,!1));b("\\renewcommand",i=>Ko(i,!0,!1,!1));b("\\providecommand",i=>Ko(i,!0,!0,!0));b("\\message",i=>{var a=i.consumeArgs(1)[0];return console.log(a.reverse().map(n=>n.text).join("")),""});b("\\errmessage",i=>{var a=i.consumeArgs(1)[0];return console.error(a.reverse().map(n=>n.text).join("")),""});b("\\show",i=>{var a=i.popToken(),n=a.text;return console.log(a,i.macros.get(n),Ba[n],je.math[n],je.text[n]),""});b("\\bgroup","{");b("\\egroup","}");b("~","\\nobreakspace");b("\\lq","`");b("\\rq","'");b("\\aa","\\r a");b("\\AA","\\r A");b("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");b("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");b("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");b("ℬ","\\mathscr{B}");b("ℰ","\\mathscr{E}");b("ℱ","\\mathscr{F}");b("ℋ","\\mathscr{H}");b("ℐ","\\mathscr{I}");b("ℒ","\\mathscr{L}");b("ℳ","\\mathscr{M}");b("ℛ","\\mathscr{R}");b("ℭ","\\mathfrak{C}");b("ℌ","\\mathfrak{H}");b("ℨ","\\mathfrak{Z}");b("\\Bbbk","\\Bbb{k}");b("·","\\cdotp");b("\\llap","\\mathllap{\\textrm{#1}}");b("\\rlap","\\mathrlap{\\textrm{#1}}");b("\\clap","\\mathclap{\\textrm{#1}}");b("\\mathstrut","\\vphantom{(}");b("\\underbar","\\underline{\\text{#1}}");b("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');b("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");b("\\ne","\\neq");b("≠","\\neq");b("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");b("∉","\\notin");b("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");b("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");b("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");b("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");b("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");b("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");b("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");b("⟂","\\perp");b("‼","\\mathclose{!\\mkern-0.8mu!}");b("∌","\\notni");b("⌜","\\ulcorner");b("⌝","\\urcorner");b("⌞","\\llcorner");b("⌟","\\lrcorner");b("©","\\copyright");b("®","\\textregistered");b("️","\\textregistered");b("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');b("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');b("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');b("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');b("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");b("⋮","\\vdots");b("\\varGamma","\\mathit{\\Gamma}");b("\\varDelta","\\mathit{\\Delta}");b("\\varTheta","\\mathit{\\Theta}");b("\\varLambda","\\mathit{\\Lambda}");b("\\varXi","\\mathit{\\Xi}");b("\\varPi","\\mathit{\\Pi}");b("\\varSigma","\\mathit{\\Sigma}");b("\\varUpsilon","\\mathit{\\Upsilon}");b("\\varPhi","\\mathit{\\Phi}");b("\\varPsi","\\mathit{\\Psi}");b("\\varOmega","\\mathit{\\Omega}");b("\\substack","\\begin{subarray}{c}#1\\end{subarray}");b("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");b("\\boxed","\\fbox{$\\displaystyle{#1}$}");b("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");b("\\implies","\\DOTSB\\;\\Longrightarrow\\;");b("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");b("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");b("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var xf={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};b("\\dots",function(i){var a="\\dotso",n=i.expandAfterFuture().text;return n in xf?a=xf[n]:(n.slice(0,4)==="\\not"||n in je.math&&ie.contains(["bin","rel"],je.math[n].group))&&(a="\\dotsb"),a});var Qo={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};b("\\dotso",function(i){var a=i.future().text;return a in Qo?"\\ldots\\,":"\\ldots"});b("\\dotsc",function(i){var a=i.future().text;return a in Qo&&a!==","?"\\ldots\\,":"\\ldots"});b("\\cdots",function(i){var a=i.future().text;return a in Qo?"\\@cdots\\,":"\\@cdots"});b("\\dotsb","\\cdots");b("\\dotsm","\\cdots");b("\\dotsi","\\!\\cdots");b("\\dotsx","\\ldots\\,");b("\\DOTSI","\\relax");b("\\DOTSB","\\relax");b("\\DOTSX","\\relax");b("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");b("\\,","\\tmspace+{3mu}{.1667em}");b("\\thinspace","\\,");b("\\>","\\mskip{4mu}");b("\\:","\\tmspace+{4mu}{.2222em}");b("\\medspace","\\:");b("\\;","\\tmspace+{5mu}{.2777em}");b("\\thickspace","\\;");b("\\!","\\tmspace-{3mu}{.1667em}");b("\\negthinspace","\\!");b("\\negmedspace","\\tmspace-{4mu}{.2222em}");b("\\negthickspace","\\tmspace-{5mu}{.277em}");b("\\enspace","\\kern.5em ");b("\\enskip","\\hskip.5em\\relax");b("\\quad","\\hskip1em\\relax");b("\\qquad","\\hskip2em\\relax");b("\\tag","\\@ifstar\\tag@literal\\tag@paren");b("\\tag@paren","\\tag@literal{({#1})}");b("\\tag@literal",i=>{if(i.macros.get("\\df@tag"))throw new Z("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});b("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");b("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");b("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");b("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");b("\\newline","\\\\\\relax");b("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Dh=K(M0["Main-Regular"][84][1]-.7*M0["Main-Regular"][65][1]);b("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Dh+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");b("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Dh+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");b("\\hspace","\\@ifstar\\@hspacer\\@hspace");b("\\@hspace","\\hskip #1\\relax");b("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");b("\\ordinarycolon",":");b("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");b("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');b("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');b("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');b("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');b("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');b("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');b("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');b("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');b("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');b("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');b("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');b("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');b("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');b("∷","\\dblcolon");b("∹","\\eqcolon");b("≔","\\coloneqq");b("≕","\\eqqcolon");b("⩴","\\Coloneqq");b("\\ratio","\\vcentcolon");b("\\coloncolon","\\dblcolon");b("\\colonequals","\\coloneqq");b("\\coloncolonequals","\\Coloneqq");b("\\equalscolon","\\eqqcolon");b("\\equalscoloncolon","\\Eqqcolon");b("\\colonminus","\\coloneq");b("\\coloncolonminus","\\Coloneq");b("\\minuscolon","\\eqcolon");b("\\minuscoloncolon","\\Eqcolon");b("\\coloncolonapprox","\\Colonapprox");b("\\coloncolonsim","\\Colonsim");b("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");b("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");b("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");b("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");b("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");b("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");b("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");b("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");b("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");b("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");b("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");b("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");b("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");b("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");b("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");b("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");b("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");b("\\nleqq","\\html@mathml{\\@nleqq}{≰}");b("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");b("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");b("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");b("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");b("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");b("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");b("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");b("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");b("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");b("\\imath","\\html@mathml{\\@imath}{ı}");b("\\jmath","\\html@mathml{\\@jmath}{ȷ}");b("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");b("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");b("⟦","\\llbracket");b("⟧","\\rrbracket");b("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");b("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");b("⦃","\\lBrace");b("⦄","\\rBrace");b("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");b("⦵","\\minuso");b("\\darr","\\downarrow");b("\\dArr","\\Downarrow");b("\\Darr","\\Downarrow");b("\\lang","\\langle");b("\\rang","\\rangle");b("\\uarr","\\uparrow");b("\\uArr","\\Uparrow");b("\\Uarr","\\Uparrow");b("\\N","\\mathbb{N}");b("\\R","\\mathbb{R}");b("\\Z","\\mathbb{Z}");b("\\alef","\\aleph");b("\\alefsym","\\aleph");b("\\Alpha","\\mathrm{A}");b("\\Beta","\\mathrm{B}");b("\\bull","\\bullet");b("\\Chi","\\mathrm{X}");b("\\clubs","\\clubsuit");b("\\cnums","\\mathbb{C}");b("\\Complex","\\mathbb{C}");b("\\Dagger","\\ddagger");b("\\diamonds","\\diamondsuit");b("\\empty","\\emptyset");b("\\Epsilon","\\mathrm{E}");b("\\Eta","\\mathrm{H}");b("\\exist","\\exists");b("\\harr","\\leftrightarrow");b("\\hArr","\\Leftrightarrow");b("\\Harr","\\Leftrightarrow");b("\\hearts","\\heartsuit");b("\\image","\\Im");b("\\infin","\\infty");b("\\Iota","\\mathrm{I}");b("\\isin","\\in");b("\\Kappa","\\mathrm{K}");b("\\larr","\\leftarrow");b("\\lArr","\\Leftarrow");b("\\Larr","\\Leftarrow");b("\\lrarr","\\leftrightarrow");b("\\lrArr","\\Leftrightarrow");b("\\Lrarr","\\Leftrightarrow");b("\\Mu","\\mathrm{M}");b("\\natnums","\\mathbb{N}");b("\\Nu","\\mathrm{N}");b("\\Omicron","\\mathrm{O}");b("\\plusmn","\\pm");b("\\rarr","\\rightarrow");b("\\rArr","\\Rightarrow");b("\\Rarr","\\Rightarrow");b("\\real","\\Re");b("\\reals","\\mathbb{R}");b("\\Reals","\\mathbb{R}");b("\\Rho","\\mathrm{P}");b("\\sdot","\\cdot");b("\\sect","\\S");b("\\spades","\\spadesuit");b("\\sub","\\subset");b("\\sube","\\subseteq");b("\\supe","\\supseteq");b("\\Tau","\\mathrm{T}");b("\\thetasym","\\vartheta");b("\\weierp","\\wp");b("\\Zeta","\\mathrm{Z}");b("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");b("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");b("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");b("\\bra","\\mathinner{\\langle{#1}|}");b("\\ket","\\mathinner{|{#1}\\rangle}");b("\\braket","\\mathinner{\\langle{#1}\\rangle}");b("\\Bra","\\left\\langle#1\\right|");b("\\Ket","\\left|#1\\right\\rangle");var Nh=i=>a=>{var n=a.consumeArg().tokens,u=a.consumeArg().tokens,o=a.consumeArg().tokens,d=a.consumeArg().tokens,m=a.macros.get("|"),g=a.macros.get("\\|");a.macros.beginGroup();var y=N=>_=>{i&&(_.macros.set("|",m),o.length&&_.macros.set("\\|",g));var q=N;if(!N&&o.length){var j=_.future();j.text==="|"&&(_.popToken(),q=!0)}return{tokens:q?o:u,numArgs:0}};a.macros.set("|",y(!1)),o.length&&a.macros.set("\\|",y(!0));var S=a.consumeArg().tokens,z=a.expandTokens([...d,...S,...n]);return a.macros.endGroup(),{tokens:z.reverse(),numArgs:0}};b("\\bra@ket",Nh(!1));b("\\bra@set",Nh(!0));b("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");b("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");b("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");b("\\angln","{\\angl n}");b("\\blue","\\textcolor{##6495ed}{#1}");b("\\orange","\\textcolor{##ffa500}{#1}");b("\\pink","\\textcolor{##ff00af}{#1}");b("\\red","\\textcolor{##df0030}{#1}");b("\\green","\\textcolor{##28ae7b}{#1}");b("\\gray","\\textcolor{gray}{#1}");b("\\purple","\\textcolor{##9d38bd}{#1}");b("\\blueA","\\textcolor{##ccfaff}{#1}");b("\\blueB","\\textcolor{##80f6ff}{#1}");b("\\blueC","\\textcolor{##63d9ea}{#1}");b("\\blueD","\\textcolor{##11accd}{#1}");b("\\blueE","\\textcolor{##0c7f99}{#1}");b("\\tealA","\\textcolor{##94fff5}{#1}");b("\\tealB","\\textcolor{##26edd5}{#1}");b("\\tealC","\\textcolor{##01d1c1}{#1}");b("\\tealD","\\textcolor{##01a995}{#1}");b("\\tealE","\\textcolor{##208170}{#1}");b("\\greenA","\\textcolor{##b6ffb0}{#1}");b("\\greenB","\\textcolor{##8af281}{#1}");b("\\greenC","\\textcolor{##74cf70}{#1}");b("\\greenD","\\textcolor{##1fab54}{#1}");b("\\greenE","\\textcolor{##0d923f}{#1}");b("\\goldA","\\textcolor{##ffd0a9}{#1}");b("\\goldB","\\textcolor{##ffbb71}{#1}");b("\\goldC","\\textcolor{##ff9c39}{#1}");b("\\goldD","\\textcolor{##e07d10}{#1}");b("\\goldE","\\textcolor{##a75a05}{#1}");b("\\redA","\\textcolor{##fca9a9}{#1}");b("\\redB","\\textcolor{##ff8482}{#1}");b("\\redC","\\textcolor{##f9685d}{#1}");b("\\redD","\\textcolor{##e84d39}{#1}");b("\\redE","\\textcolor{##bc2612}{#1}");b("\\maroonA","\\textcolor{##ffbde0}{#1}");b("\\maroonB","\\textcolor{##ff92c6}{#1}");b("\\maroonC","\\textcolor{##ed5fa6}{#1}");b("\\maroonD","\\textcolor{##ca337c}{#1}");b("\\maroonE","\\textcolor{##9e034e}{#1}");b("\\purpleA","\\textcolor{##ddd7ff}{#1}");b("\\purpleB","\\textcolor{##c6b9fc}{#1}");b("\\purpleC","\\textcolor{##aa87ff}{#1}");b("\\purpleD","\\textcolor{##7854ab}{#1}");b("\\purpleE","\\textcolor{##543b78}{#1}");b("\\mintA","\\textcolor{##f5f9e8}{#1}");b("\\mintB","\\textcolor{##edf2df}{#1}");b("\\mintC","\\textcolor{##e0e5cc}{#1}");b("\\grayA","\\textcolor{##f6f7f7}{#1}");b("\\grayB","\\textcolor{##f0f1f2}{#1}");b("\\grayC","\\textcolor{##e3e5e6}{#1}");b("\\grayD","\\textcolor{##d6d8da}{#1}");b("\\grayE","\\textcolor{##babec2}{#1}");b("\\grayF","\\textcolor{##888d93}{#1}");b("\\grayG","\\textcolor{##626569}{#1}");b("\\grayH","\\textcolor{##3b3e40}{#1}");b("\\grayI","\\textcolor{##21242c}{#1}");b("\\kaBlue","\\textcolor{##314453}{#1}");b("\\kaGreen","\\textcolor{##71B307}{#1}");var Eh={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class y7{constructor(a,n,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(a),this.macros=new g7(v7,n.macros),this.mode=u,this.stack=[]}feed(a){this.lexer=new yf(a,this.settings)}switchMode(a){this.mode=a}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(a){this.stack.push(a)}pushTokens(a){this.stack.push(...a)}scanArgument(a){var n,u,o;if(a){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:o,end:u}=this.consumeArg(["]"])}else({tokens:o,start:n,end:u}=this.consumeArg());return this.pushToken(new s0("EOF",u.loc)),this.pushTokens(o),n.range(u,"")}consumeSpaces(){for(;;){var a=this.future();if(a.text===" ")this.stack.pop();else break}}consumeArg(a){var n=[],u=a&&a.length>0;u||this.consumeSpaces();var o=this.future(),d,m=0,g=0;do{if(d=this.popToken(),n.push(d),d.text==="{")++m;else if(d.text==="}"){if(--m,m===-1)throw new Z("Extra }",d)}else if(d.text==="EOF")throw new Z("Unexpected end of input in a macro argument, expected '"+(a&&u?a[g]:"}")+"'",d);if(a&&u)if((m===0||m===1&&a[g]==="{")&&d.text===a[g]){if(++g,g===a.length){n.splice(-g,g);break}}else g=0}while(m!==0||u);return o.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:o,end:d}}consumeArgs(a,n){if(n){if(n.length!==a+1)throw new Z("The length of delimiters doesn't match the number of args!");for(var u=n[0],o=0;o<u.length;o++){var d=this.popToken();if(u[o]!==d.text)throw new Z("Use of the macro doesn't match its definition",d)}}for(var m=[],g=0;g<a;g++)m.push(this.consumeArg(n&&n[g+1]).tokens);return m}countExpansion(a){if(this.expansionCount+=a,this.expansionCount>this.settings.maxExpand)throw new Z("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(a){var n=this.popToken(),u=n.text,o=n.noexpand?null:this._getExpansion(u);if(o==null||a&&o.unexpandable){if(a&&o==null&&u[0]==="\\"&&!this.isDefined(u))throw new Z("Undefined control sequence: "+u);return this.pushToken(n),!1}this.countExpansion(1);var d=o.tokens,m=this.consumeArgs(o.numArgs,o.delimiters);if(o.numArgs){d=d.slice();for(var g=d.length-1;g>=0;--g){var y=d[g];if(y.text==="#"){if(g===0)throw new Z("Incomplete placeholder at end of macro body",y);if(y=d[--g],y.text==="#")d.splice(g+1,1);else if(/^[1-9]$/.test(y.text))d.splice(g,2,...m[+y.text-1]);else throw new Z("Not a valid argument number",y)}}}return this.pushTokens(d),d.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var a=this.stack.pop();return a.treatAsRelax&&(a.text="\\relax"),a}throw new Error}expandMacro(a){return this.macros.has(a)?this.expandTokens([new s0(a)]):void 0}expandTokens(a){var n=[],u=this.stack.length;for(this.pushTokens(a);this.stack.length>u;)if(this.expandOnce(!0)===!1){var o=this.stack.pop();o.treatAsRelax&&(o.noexpand=!1,o.treatAsRelax=!1),n.push(o)}return this.countExpansion(n.length),n}expandMacroAsText(a){var n=this.expandMacro(a);return n&&n.map(u=>u.text).join("")}_getExpansion(a){var n=this.macros.get(a);if(n==null)return n;if(a.length===1){var u=this.lexer.catcodes[a];if(u!=null&&u!==13)return}var o=typeof n=="function"?n(this):n;if(typeof o=="string"){var d=0;if(o.indexOf("#")!==-1)for(var m=o.replace(/##/g,"");m.indexOf("#"+(d+1))!==-1;)++d;for(var g=new yf(o,this.settings),y=[],S=g.lex();S.text!=="EOF";)y.push(S),S=g.lex();y.reverse();var z={tokens:y,numArgs:d};return z}return o}isDefined(a){return this.macros.has(a)||Ba.hasOwnProperty(a)||je.math.hasOwnProperty(a)||je.text.hasOwnProperty(a)||Eh.hasOwnProperty(a)}isExpandable(a){var n=this.macros.get(a);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Ba.hasOwnProperty(a)&&!Ba[a].primitive}}var Sf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ni=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),vo={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Tf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Xi{constructor(a,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new y7(a,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(a,n){if(n===void 0&&(n=!0),this.fetch().text!==a)throw new Z("Expected '"+a+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(a){this.mode=a,this.gullet.switchMode(a)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var a=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),a}finally{this.gullet.endGroups()}}subparse(a){var n=this.nextToken;this.consume(),this.gullet.pushToken(new s0("}")),this.gullet.pushTokens(a);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,u}parseExpression(a,n){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var o=this.fetch();if(Xi.endOfExpression.indexOf(o.text)!==-1||n&&o.text===n||a&&Ba[o.text]&&Ba[o.text].infix)break;var d=this.parseAtom(n);if(d){if(d.type==="internal")continue}else break;u.push(d)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(a){for(var n=-1,u,o=0;o<a.length;o++)if(a[o].type==="infix"){if(n!==-1)throw new Z("only one infix operator per group",a[o].token);n=o,u=a[o].replaceWith}if(n!==-1&&u){var d,m,g=a.slice(0,n),y=a.slice(n+1);g.length===1&&g[0].type==="ordgroup"?d=g[0]:d={type:"ordgroup",mode:this.mode,body:g},y.length===1&&y[0].type==="ordgroup"?m=y[0]:m={type:"ordgroup",mode:this.mode,body:y};var S;return u==="\\\\abovefrac"?S=this.callFunction(u,[d,a[n],m],[]):S=this.callFunction(u,[d,m],[]),[S]}else return a}handleSupSubscript(a){var n=this.fetch(),u=n.text;this.consume(),this.consumeSpaces();var o;do{var d;o=this.parseGroup(a)}while(((d=o)==null?void 0:d.type)==="internal");if(!o)throw new Z("Expected group after '"+u+"'",n);return o}formatUnsupportedCmd(a){for(var n=[],u=0;u<a.length;u++)n.push({type:"textord",mode:"text",text:a[u]});var o={type:"text",mode:this.mode,body:n},d={type:"color",mode:this.mode,color:this.settings.errorColor,body:[o]};return d}parseAtom(a){var n=this.parseGroup("atom",a);if((n==null?void 0:n.type)==="internal"||this.mode==="text")return n;for(var u,o;;){this.consumeSpaces();var d=this.fetch();if(d.text==="\\limits"||d.text==="\\nolimits"){if(n&&n.type==="op"){var m=d.text==="\\limits";n.limits=m,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=d.text==="\\limits");else throw new Z("Limit controls must follow a math operator",d);this.consume()}else if(d.text==="^"){if(u)throw new Z("Double superscript",d);u=this.handleSupSubscript("superscript")}else if(d.text==="_"){if(o)throw new Z("Double subscript",d);o=this.handleSupSubscript("subscript")}else if(d.text==="'"){if(u)throw new Z("Double superscript",d);var g={type:"textord",mode:this.mode,text:"\\prime"},y=[g];for(this.consume();this.fetch().text==="'";)y.push(g),this.consume();this.fetch().text==="^"&&y.push(this.handleSupSubscript("superscript")),u={type:"ordgroup",mode:this.mode,body:y}}else if(Ni[d.text]){var S=Sf.test(d.text),z=[];for(z.push(new s0(Ni[d.text])),this.consume();;){var N=this.fetch().text;if(!Ni[N]||Sf.test(N)!==S)break;z.unshift(new s0(Ni[N])),this.consume()}var _=this.subparse(z);S?o={type:"ordgroup",mode:"math",body:_}:u={type:"ordgroup",mode:"math",body:_}}else break}return u||o?{type:"supsub",mode:this.mode,base:n,sup:u,sub:o}:n}parseFunction(a,n){var u=this.fetch(),o=u.text,d=Ba[o];if(!d)return null;if(this.consume(),n&&n!=="atom"&&!d.allowedInArgument)throw new Z("Got function '"+o+"' with no arguments"+(n?" as "+n:""),u);if(this.mode==="text"&&!d.allowedInText)throw new Z("Can't use function '"+o+"' in text mode",u);if(this.mode==="math"&&d.allowedInMath===!1)throw new Z("Can't use function '"+o+"' in math mode",u);var{args:m,optArgs:g}=this.parseArguments(o,d);return this.callFunction(o,m,g,u,a)}callFunction(a,n,u,o,d){var m={funcName:a,parser:this,token:o,breakOnTokenText:d},g=Ba[a];if(g&&g.handler)return g.handler(m,n,u);throw new Z("No function handler for "+a)}parseArguments(a,n){var u=n.numArgs+n.numOptionalArgs;if(u===0)return{args:[],optArgs:[]};for(var o=[],d=[],m=0;m<u;m++){var g=n.argTypes&&n.argTypes[m],y=m<n.numOptionalArgs;(n.primitive&&g==null||n.type==="sqrt"&&m===1&&d[0]==null)&&(g="primitive");var S=this.parseGroupOfType("argument to '"+a+"'",g,y);if(y)d.push(S);else if(S!=null)o.push(S);else throw new Z("Null argument, please report this as a bug")}return{args:o,optArgs:d}}parseGroupOfType(a,n,u){switch(n){case"color":return this.parseColorGroup(u);case"size":return this.parseSizeGroup(u);case"url":return this.parseUrlGroup(u);case"math":case"text":return this.parseArgumentGroup(u,n);case"hbox":{var o=this.parseArgumentGroup(u,"text");return o!=null?{type:"styling",mode:o.mode,body:[o],style:"text"}:null}case"raw":{var d=this.parseStringGroup("raw",u);return d!=null?{type:"raw",mode:"text",string:d.text}:null}case"primitive":{if(u)throw new Z("A primitive argument cannot be optional");var m=this.parseGroup(a);if(m==null)throw new Z("Expected group as "+a,this.fetch());return m}case"original":case null:case void 0:return this.parseArgumentGroup(u);default:throw new Z("Unknown group type as "+a,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(a,n){var u=this.gullet.scanArgument(n);if(u==null)return null;for(var o="",d;(d=this.fetch()).text!=="EOF";)o+=d.text,this.consume();return this.consume(),u.text=o,u}parseRegexGroup(a,n){for(var u=this.fetch(),o=u,d="",m;(m=this.fetch()).text!=="EOF"&&a.test(d+m.text);)o=m,d+=o.text,this.consume();if(d==="")throw new Z("Invalid "+n+": '"+u.text+"'",u);return u.range(o,d)}parseColorGroup(a){var n=this.parseStringGroup("color",a);if(n==null)return null;var u=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!u)throw new Z("Invalid color: '"+n.text+"'",n);var o=u[0];return/^[0-9a-f]{6}$/i.test(o)&&(o="#"+o),{type:"color-token",mode:this.mode,color:o}}parseSizeGroup(a){var n,u=!1;if(this.gullet.consumeSpaces(),!a&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",a),!n)return null;!a&&n.text.length===0&&(n.text="0pt",u=!0);var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!o)throw new Z("Invalid size: '"+n.text+"'",n);var d={number:+(o[1]+o[2]),unit:o[3]};if(!jf(d))throw new Z("Invalid unit: '"+d.unit+"'",n);return{type:"size",mode:this.mode,value:d,isBlank:u}}parseUrlGroup(a){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",a);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var u=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:u}}parseArgumentGroup(a,n){var u=this.gullet.scanArgument(a);if(u==null)return null;var o=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var d=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var m={type:"ordgroup",mode:this.mode,loc:u.loc,body:d};return n&&this.switchMode(o),m}parseGroup(a,n){var u=this.fetch(),o=u.text,d;if(o==="{"||o==="\\begingroup"){this.consume();var m=o==="{"?"}":"\\endgroup";this.gullet.beginGroup();var g=this.parseExpression(!1,m),y=this.fetch();this.expect(m),this.gullet.endGroup(),d={type:"ordgroup",mode:this.mode,loc:Xt.range(u,y),body:g,semisimple:o==="\\begingroup"||void 0}}else if(d=this.parseFunction(n,a)||this.parseSymbol(),d==null&&o[0]==="\\"&&!Eh.hasOwnProperty(o)){if(this.settings.throwOnError)throw new Z("Undefined control sequence: "+o,u);d=this.formatUnsupportedCmd(o),this.consume()}return d}formLigatures(a){for(var n=a.length-1,u=0;u<n;++u){var o=a[u],d=o.text;d==="-"&&a[u+1].text==="-"&&(u+1<n&&a[u+2].text==="-"?(a.splice(u,3,{type:"textord",mode:"text",loc:Xt.range(o,a[u+2]),text:"---"}),n-=2):(a.splice(u,2,{type:"textord",mode:"text",loc:Xt.range(o,a[u+1]),text:"--"}),n-=1)),(d==="'"||d==="`")&&a[u+1].text===d&&(a.splice(u,2,{type:"textord",mode:"text",loc:Xt.range(o,a[u+1]),text:d+d}),n-=1)}}parseSymbol(){var a=this.fetch(),n=a.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var u=n.slice(5),o=u.charAt(0)==="*";if(o&&(u=u.slice(1)),u.length<2||u.charAt(0)!==u.slice(-1))throw new Z(`\\verb assertion failed --
                    please report what input caused this bug`);return u=u.slice(1,-1),{type:"verb",mode:"text",body:u,star:o}}Tf.hasOwnProperty(n[0])&&!je[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',a),n=Tf[n[0]]+n.slice(1));var d=m7.exec(n);d&&(n=n.substring(0,d.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var m;if(je[this.mode][n]){this.settings.strict&&this.mode==="math"&&Ao.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',a);var g=je[this.mode][n].group,y=Xt.range(a),S;if(i6.hasOwnProperty(g)){var z=g;S={type:"atom",mode:this.mode,family:z,loc:y,text:n}}else S={type:g,mode:this.mode,loc:y,text:n};m=S}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Hf(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',a):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),a)),m={type:"textord",mode:"text",loc:Xt.range(a),text:n};else return null;if(this.consume(),d)for(var N=0;N<d[0].length;N++){var _=d[0][N];if(!vo[_])throw new Z("Unknown accent ' "+_+"'",a);var q=vo[_][this.mode]||vo[_].text;if(!q)throw new Z("Accent "+_+" unsupported in "+this.mode+" mode",a);m={type:"accent",mode:this.mode,loc:Xt.range(a),label:q,isStretchy:!1,isShifty:!0,base:m}}return m}}Xi.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var $o=function(a,n){if(!(typeof a=="string"||a instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var u=new Xi(a,n);delete u.gullet.macros.current["\\df@tag"];var o=u.parse();if(delete u.gullet.macros.current["\\current@color"],delete u.gullet.macros.current["\\color"],u.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new Z("\\tag works only in display equations");o=[{type:"tag",mode:"text",body:o,tag:u.subparse([new s0("\\df@tag")])}]}return o},Po=function(a,n,u){n.textContent="";var o=Yi(a,u).toNode();n.appendChild(o)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Po=function(){throw new Z("KaTeX doesn't work in quirks mode.")});var Ch=function(a,n){var u=Yi(a,n).toMarkup();return u},_h=function(a,n){var u=new Co(n);return $o(a,u)},qh=function(a,n,u){if(u.throwOnError||!(a instanceof Z))throw a;var o=O.makeSpan(["katex-error"],[new o0(n)]);return o.setAttribute("title",a.toString()),o.setAttribute("style","color:"+u.errorColor),o},Yi=function(a,n){var u=new Co(n);try{var o=$o(a,u);return N6(o,a,u)}catch(d){return qh(d,a,u)}},Bh=function(a,n){var u=new Co(n);try{var o=$o(a,u);return E6(o,a,u)}catch(d){return qh(d,a,u)}},Oh="0.16.22",Rh={Span:sl,Anchor:Bo,SymbolNode:o0,SvgNode:ea,PathNode:Ra,LineNode:wo},Fi={version:Oh,render:Po,renderToString:Ch,ParseError:Z,SETTINGS_SCHEMA:al,__parse:_h,__renderToDomTree:Yi,__renderToHTMLTree:Bh,__setFontMetrics:Uf,__defineSymbol:f,__defineFunction:I,__defineMacro:b,__domTree:Rh};const i8=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Z,SETTINGS_SCHEMA:al,__defineFunction:I,__defineMacro:b,__defineSymbol:f,__domTree:Rh,__parse:_h,__renderToDomTree:Yi,__renderToHTMLTree:Bh,__setFontMetrics:Uf,default:Fi,get render(){return Po},renderToString:Ch,version:Oh},Symbol.toStringTag,{value:"Module"}));Fi.__defineMacro("\\ce",function(i){return Lh(i.consumeArgs(1)[0],"ce")});Fi.__defineMacro("\\pu",function(i){return Lh(i.consumeArgs(1)[0],"pu")});Fi.__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var Lh=function(a,n){for(var u="",o=a.length&&a[a.length-1].loc.start,d=a.length-1;d>=0;d--)a[d].loc.start>o&&(u+=" ",o=a[d].loc.start),u+=a[d].text,o+=a[d].text.length;var m=Re.go(V.go(u,n));return m},V={go:function(a,n){if(!a)return[];n===void 0&&(n="ce");var u="0",o={};o.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var d,m=10,g=[];;){d!==a?(m=10,d=a):m--;var y=V.stateMachines[n],S=y.transitions[u]||y.transitions["*"];e:for(var z=0;z<S.length;z++){var N=V.patterns.match_(S[z].pattern,a);if(N){for(var _=S[z].task,q=0;q<_.action_.length;q++){var j;if(y.actions[_.action_[q].type_])j=y.actions[_.action_[q].type_](o,N.match_,_.action_[q].option);else if(V.actions[_.action_[q].type_])j=V.actions[_.action_[q].type_](o,N.match_,_.action_[q].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+_.action_[q].type_+")"];V.concatArray(g,j)}if(u=_.nextState||u,a.length>0){if(_.revisit||(a=N.remainder),!_.toContinue)break e}else return g}}if(m<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(a,n){if(n)if(Array.isArray(n))for(var u=0;u<n.length;u++)a.push(n[u]);else a.push(n)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(a){var n=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return n&&n[0]?{match_:n.splice(1),remainder:a.substr(n[0].length)}:null},"(-)(9)^(-9)":function(a){var n=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return n&&n[0]?{match_:n.splice(1),remainder:a.substr(n[0].length)}:null},"state of aggregation $":function(a){var n=V.patterns.findObserveGroups(a,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(n&&n.remainder.match(/^($|[\s,;\)\]\}])/))return n;var u=a.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return u?{match_:u[0],remainder:a.substr(u[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(a){return V.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return V.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return V.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return V.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return V.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return V.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return V.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return V.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return V.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return V.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return V.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return V.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return V.patterns.findObserveGroups(a,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(a){return V.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return V.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return V.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return V.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(a){return V.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return V.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return V.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return V.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return V.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return V.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return V.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return V.patterns.findObserveGroups(a,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(a){var n;if(n=a.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),n)return{match_:n[0],remainder:a.substr(n[0].length)};var u=V.patterns.findObserveGroups(a,"","$","$","");return u&&(n=u.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),n)?{match_:n[0],remainder:a.substr(n[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var n=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return n?{match_:n[0],remainder:a.substr(n[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,n,u,o,d,m,g,y,S,z){var N=function(ne,fe){if(typeof fe=="string")return ne.indexOf(fe)!==0?null:fe;var ce=ne.match(fe);return ce?ce[0]:null},_=function(ne,fe,ce){for(var he=0;fe<ne.length;){var ye=ne.charAt(fe),ze=N(ne.substr(fe),ce);if(ze!==null&&he===0)return{endMatchBegin:fe,endMatchEnd:fe+ze.length};if(ye==="{")he++;else if(ye==="}"){if(he===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];he--}fe++}return he>0,null},q=N(a,n);if(q===null||(a=a.substr(q.length),q=N(a,u),q===null))return null;var j=_(a,q.length,o||d);if(j===null)return null;var L=a.substring(0,o?j.endMatchEnd:j.endMatchBegin);if(m||g){var Q=this.findObserveGroups(a.substr(j.endMatchEnd),m,g,y,S);if(Q===null)return null;var P=[L,Q.match_];return{match_:z?P.join(""):P,remainder:Q.remainder}}else return{match_:L,remainder:a.substr(j.endMatchEnd)}},match_:function(a,n){var u=V.patterns.patterns[a];if(u===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof u=="function")return V.patterns.patterns[a](n);var o=n.match(u);if(o){var d;return o[2]?d=[o[1],o[2]]:o[1]?d=o[1]:d=o[0],{match_:d,remainder:n.substr(o[0].length)}}return null}},actions:{"a=":function(a,n){a.a=(a.a||"")+n},"b=":function(a,n){a.b=(a.b||"")+n},"p=":function(a,n){a.p=(a.p||"")+n},"o=":function(a,n){a.o=(a.o||"")+n},"q=":function(a,n){a.q=(a.q||"")+n},"d=":function(a,n){a.d=(a.d||"")+n},"rm=":function(a,n){a.rm=(a.rm||"")+n},"text=":function(a,n){a.text_=(a.text_||"")+n},insert:function(a,n,u){return{type_:u}},"insert+p1":function(a,n,u){return{type_:u,p1:n}},"insert+p1+p2":function(a,n,u){return{type_:u,p1:n[0],p2:n[1]}},copy:function(a,n){return n},rm:function(a,n){return{type_:"rm",p1:n||""}},text:function(a,n){return V.go(n,"text")},"{text}":function(a,n){var u=["{"];return V.concatArray(u,V.go(n,"text")),u.push("}"),u},"tex-math":function(a,n){return V.go(n,"tex-math")},"tex-math tight":function(a,n){return V.go(n,"tex-math tight")},bond:function(a,n,u){return{type_:"bond",kind_:u||n}},"color0-output":function(a,n){return{type_:"color0",color:n[0]}},ce:function(a,n){return V.go(n)},"1/2":function(a,n){var u=[];n.match(/^[+\-]/)&&(u.push(n.substr(0,1)),n=n.substr(1));var o=n.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return o[1]=o[1].replace(/\$/g,""),u.push({type_:"frac",p1:o[1],p2:o[2]}),o[3]&&(o[3]=o[3].replace(/\$/g,""),u.push({type_:"tex-math",p1:o[3]})),u},"9,9":function(a,n){return V.go(n,"9,9")}},createTransitions:function(a){var n,u,o,d,m={};for(n in a)for(u in a[n])for(o=u.split("|"),a[n][u].stateArray=o,d=0;d<o.length;d++)m[o[d]]=[];for(n in a)for(u in a[n])for(o=a[n][u].stateArray||[],d=0;d<o.length;d++){var g=a[n][u];if(g.action_){g.action_=[].concat(g.action_);for(var y=0;y<g.action_.length;y++)typeof g.action_[y]=="string"&&(g.action_[y]={type_:g.action_[y]})}else g.action_=[];for(var S=n.split("|"),z=0;z<S.length;z++)if(o[d]==="*")for(var N in m)m[N].push({pattern:S[z],task:g});else m[o[d]].push({pattern:S[z],task:g})}return m},stateMachines:{}};V.stateMachines={ce:{transitions:V.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,n){var u;if((a.d||"").match(/^[0-9]+$/)){var o=a.d;a.d=void 0,u=this.output(a),a.b=o}else u=this.output(a);return V.actions["o="](a,n),u},"d= kv":function(a,n){a.d=n,a.dType="kv"},"charge or bond":function(a,n){if(a.beginsWithBond){var u=[];return V.concatArray(u,this.output(a)),V.concatArray(u,V.actions.bond(a,n,"-")),u}else a.d=n},"- after o/d":function(a,n,u){var o=V.patterns.match_("orbital",a.o||""),d=V.patterns.match_("one lowercase greek letter $",a.o||""),m=V.patterns.match_("one lowercase latin letter $",a.o||""),g=V.patterns.match_("$one lowercase latin letter$ $",a.o||""),y=n==="-"&&(o&&o.remainder===""||d||m||g);y&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!o&&m&&(a.o="$"+a.o+"$");var S=[];return y?(V.concatArray(S,this.output(a)),S.push({type_:"hyphen"})):(o=V.patterns.match_("digits",a.d||""),u&&o&&o.remainder===""?(V.concatArray(S,V.actions["d="](a,n)),V.concatArray(S,this.output(a))):(V.concatArray(S,this.output(a)),V.concatArray(S,V.actions.bond(a,n,"-")))),S},"a to o":function(a){a.o=a.a,a.a=void 0},"sb=true":function(a){a.sb=!0},"sb=false":function(a){a.sb=!1},"beginsWithBond=true":function(a){a.beginsWithBond=!0},"beginsWithBond=false":function(a){a.beginsWithBond=!1},"parenthesisLevel++":function(a){a.parenthesisLevel++},"parenthesisLevel--":function(a){a.parenthesisLevel--},"state of aggregation":function(a,n){return{type_:"state of aggregation",p1:V.go(n,"o")}},comma:function(a,n){var u=n.replace(/\s*$/,""),o=u!==n;return o&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:u}:{type_:"comma enumeration M",p1:u}},output:function(a,n,u){var o;if(!a.r)o=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!u||(a.sb&&o.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&u!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&V.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),o.push({type_:"chemfive",a:V.go(a.a,"a"),b:V.go(a.b,"bd"),p:V.go(a.p,"pq"),o:V.go(a.o,"o"),q:V.go(a.q,"pq"),d:V.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var d;a.rdt==="M"?d=V.go(a.rd,"tex-math"):a.rdt==="T"?d=[{type_:"text",p1:a.rd||""}]:d=V.go(a.rd);var m;a.rqt==="M"?m=V.go(a.rq,"tex-math"):a.rqt==="T"?m=[{type_:"text",p1:a.rq||""}]:m=V.go(a.rq),o={type_:"arrow",r:a.r,rd:d,rq:m}}for(var g in a)g!=="parenthesisLevel"&&g!=="beginsWithBond"&&delete a[g];return o},"oxidation-output":function(a,n){var u=["{"];return V.concatArray(u,V.go(n,"oxidation")),u.push("}"),u},"frac-output":function(a,n){return{type_:"frac-ce",p1:V.go(n[0]),p2:V.go(n[1])}},"overset-output":function(a,n){return{type_:"overset",p1:V.go(n[0]),p2:V.go(n[1])}},"underset-output":function(a,n){return{type_:"underset",p1:V.go(n[0]),p2:V.go(n[1])}},"underbrace-output":function(a,n){return{type_:"underbrace",p1:V.go(n[0]),p2:V.go(n[1])}},"color-output":function(a,n){return{type_:"color",color1:n[0],color2:V.go(n[1])}},"r=":function(a,n){a.r=n},"rdt=":function(a,n){a.rdt=n},"rd=":function(a,n){a.rd=n},"rqt=":function(a,n){a.rqt=n},"rq=":function(a,n){a.rq=n},operator:function(a,n,u){return{type_:"operator",kind_:u||n}}}},a:{transitions:V.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:V.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:V.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(a){if(a.text_){var n={type_:"text",p1:a.text_};for(var u in a)delete a[u];return n}}}},pq:{transitions:V.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(a,n){return{type_:"state of aggregation subscript",p1:V.go(n,"o")}},"color-output":function(a,n){return{type_:"color",color1:n[0],color2:V.go(n[1],"pq")}}}},bd:{transitions:V.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(a,n){return{type_:"color",color1:n[0],color2:V.go(n[1],"bd")}}}},oxidation:{transitions:V.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(a,n){return{type_:"roman numeral",p1:n||""}}}},"tex-math":{transitions:V.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(a){if(a.o){var n={type_:"tex-math",p1:a.o};for(var u in a)delete a[u];return n}}}},"tex-math tight":{transitions:V.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(a,n){a.o=(a.o||"")+"{"+n+"}"},output:function(a){if(a.o){var n={type_:"tex-math",p1:a.o};for(var u in a)delete a[u];return n}}}},"9,9":{transitions:V.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:V.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(a,n){var u=[];return n[0]==="+-"||n[0]==="+/-"?u.push("\\pm "):n[0]&&u.push(n[0]),n[1]&&(V.concatArray(u,V.go(n[1],"pu-9,9")),n[2]&&(n[2].match(/[,.]/)?V.concatArray(u,V.go(n[2],"pu-9,9")):u.push(n[2])),n[3]=n[4]||n[3],n[3]&&(n[3]=n[3].trim(),n[3]==="e"||n[3].substr(0,1)==="*"?u.push({type_:"cdot"}):u.push({type_:"times"}))),n[3]&&u.push("10^{"+n[5]+"}"),u},"number^":function(a,n){var u=[];return n[0]==="+-"||n[0]==="+/-"?u.push("\\pm "):n[0]&&u.push(n[0]),V.concatArray(u,V.go(n[1],"pu-9,9")),u.push("^{"+n[2]+"}"),u},operator:function(a,n,u){return{type_:"operator",kind_:u||n}},space:function(){return{type_:"pu-space-1"}},output:function(a){var n,u=V.patterns.match_("{(...)}",a.d||"");u&&u.remainder===""&&(a.d=u.match_);var o=V.patterns.match_("{(...)}",a.q||"");if(o&&o.remainder===""&&(a.q=o.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var d={d:V.go(a.d,"pu"),q:V.go(a.q,"pu")};a.o==="//"?n={type_:"pu-frac",p1:d.d,p2:d.q}:(n=d.d,d.d.length>1||d.q.length>1?n.push({type_:" / "}):n.push({type_:"/"}),V.concatArray(n,d.q))}else n=V.go(a.d,"pu-2");for(var m in a)delete a[m];return n}}},"pu-2":{transitions:V.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(a,n){a.rm+="^{"+n+"}"},space:function(){return{type_:"pu-space-2"}},output:function(a){var n=[];if(a.rm){var u=V.patterns.match_("{(...)}",a.rm||"");u&&u.remainder===""?n=V.go(u.match_,"pu"):n={type_:"rm",p1:a.rm}}for(var o in a)delete a[o];return n}}},"pu-9,9":{transitions:V.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var n=[];if(a.text_=a.text_||"",a.text_.length>4){var u=a.text_.length%3;u===0&&(u=3);for(var o=a.text_.length-3;o>0;o-=3)n.push(a.text_.substr(o,3)),n.push({type_:"1000 separator"});n.push(a.text_.substr(0,u)),n.reverse()}else n.push(a.text_);for(var d in a)delete a[d];return n},"output-o":function(a){var n=[];if(a.text_=a.text_||"",a.text_.length>4){for(var u=a.text_.length-3,o=0;o<u;o+=3)n.push(a.text_.substr(o,3)),n.push({type_:"1000 separator"});n.push(a.text_.substr(o))}else n.push(a.text_);for(var d in a)delete a[d];return n}}}};var Re={go:function(a,n){if(!a)return"";for(var u="",o=!1,d=0;d<a.length;d++){var m=a[d];typeof m=="string"?u+=m:(u+=Re._go2(m),m.type_==="1st-level escape"&&(o=!0))}return!n&&!o&&u&&(u="{"+u+"}"),u},_goInner:function(a){return a&&Re.go(a,!0)},_go2:function(a){var n;switch(a.type_){case"chemfive":n="";var u={a:Re._goInner(a.a),b:Re._goInner(a.b),p:Re._goInner(a.p),o:Re._goInner(a.o),q:Re._goInner(a.q),d:Re._goInner(a.d)};u.a&&(u.a.match(/^[+\-]/)&&(u.a="{"+u.a+"}"),n+=u.a+"\\,"),(u.b||u.p)&&(n+="{\\vphantom{X}}",n+="^{\\hphantom{"+(u.b||"")+"}}_{\\hphantom{"+(u.p||"")+"}}",n+="{\\vphantom{X}}",n+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(u.b||"")+"}}",n+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(u.p||"")+"}}}"),u.o&&(u.o.match(/^[+\-]/)&&(u.o="{"+u.o+"}"),n+=u.o),a.dType==="kv"?((u.d||u.q)&&(n+="{\\vphantom{X}}"),u.d&&(n+="^{"+u.d+"}"),u.q&&(n+="_{\\smash[t]{"+u.q+"}}")):a.dType==="oxidation"?(u.d&&(n+="{\\vphantom{X}}",n+="^{"+u.d+"}"),u.q&&(n+="{\\vphantom{X}}",n+="_{\\smash[t]{"+u.q+"}}")):(u.q&&(n+="{\\vphantom{X}}",n+="_{\\smash[t]{"+u.q+"}}"),u.d&&(n+="{\\vphantom{X}}",n+="^{"+u.d+"}"));break;case"rm":n="\\mathrm{"+a.p1+"}";break;case"text":a.p1.match(/[\^_]/)?(a.p1=a.p1.replace(" ","~").replace("-","\\text{-}"),n="\\mathrm{"+a.p1+"}"):n="\\text{"+a.p1+"}";break;case"roman numeral":n="\\mathrm{"+a.p1+"}";break;case"state of aggregation":n="\\mskip2mu "+Re._goInner(a.p1);break;case"state of aggregation subscript":n="\\mskip1mu "+Re._goInner(a.p1);break;case"bond":if(n=Re._getBond(a.kind_),!n)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var o="\\frac{"+a.p1+"}{"+a.p2+"}";n="\\mathchoice{\\textstyle"+o+"}{"+o+"}{"+o+"}{"+o+"}";break;case"pu-frac":var d="\\frac{"+Re._goInner(a.p1)+"}{"+Re._goInner(a.p2)+"}";n="\\mathchoice{\\textstyle"+d+"}{"+d+"}{"+d+"}{"+d+"}";break;case"tex-math":n=a.p1+" ";break;case"frac-ce":n="\\frac{"+Re._goInner(a.p1)+"}{"+Re._goInner(a.p2)+"}";break;case"overset":n="\\overset{"+Re._goInner(a.p1)+"}{"+Re._goInner(a.p2)+"}";break;case"underset":n="\\underset{"+Re._goInner(a.p1)+"}{"+Re._goInner(a.p2)+"}";break;case"underbrace":n="\\underbrace{"+Re._goInner(a.p1)+"}_{"+Re._goInner(a.p2)+"}";break;case"color":n="{\\color{"+a.color1+"}{"+Re._goInner(a.color2)+"}}";break;case"color0":n="\\color{"+a.color+"}";break;case"arrow":var m={rd:Re._goInner(a.rd),rq:Re._goInner(a.rq)},g="\\x"+Re._getArrow(a.r);m.rq&&(g+="[{"+m.rq+"}]"),m.rd?g+="{"+m.rd+"}":g+="{}",n=g;break;case"operator":n=Re._getOperator(a.kind_);break;case"1st-level escape":n=a.p1+" ";break;case"space":n=" ";break;case"entitySkip":n="~";break;case"pu-space-1":n="~";break;case"pu-space-2":n="\\mkern3mu ";break;case"1000 separator":n="\\mkern2mu ";break;case"commaDecimal":n="{,}";break;case"comma enumeration L":n="{"+a.p1+"}\\mkern6mu ";break;case"comma enumeration M":n="{"+a.p1+"}\\mkern3mu ";break;case"comma enumeration S":n="{"+a.p1+"}\\mkern1mu ";break;case"hyphen":n="\\text{-}";break;case"addition compound":n="\\,{\\cdot}\\,";break;case"electron dot":n="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":n="{\\times}";break;case"prime":n="\\prime ";break;case"cdot":n="\\cdot ";break;case"tight cdot":n="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":n="\\times ";break;case"circa":n="{\\sim}";break;case"^":n="uparrow";break;case"v":n="downarrow";break;case"ellipsis":n="\\ldots ";break;case"/":n="/";break;case" / ":n="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return n},_getArrow:function(a){switch(a){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(a){switch(a){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(a){switch(a){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};const b7={visibleTabs:{},setTabVisibility:()=>{},isTabVisible:()=>!1},Hh=ae.createContext(b7),x7=({children:i})=>{const a=Ft.use.currentTab(),[n,u]=ae.useState(()=>({documents:!0,"knowledge-graph":!0,retrieval:!0,api:!0}));ae.useEffect(()=>{u(d=>({...d,documents:!0,"knowledge-graph":!0,retrieval:!0,api:!0}))},[a]);const o=ae.useMemo(()=>({visibleTabs:n,setTabVisibility:(d,m)=>{u(g=>({...g,[d]:m}))},isTabVisible:d=>!!n[d]}),[n]);return M.jsx(Hh.Provider,{value:o,children:i})};var Uh="AlertDialog",[S7,u8]=R3(Uh,[wf]),la=wf(),jh=i=>{const{__scopeAlertDialog:a,...n}=i,u=la(a);return M.jsx(V3,{...u,...n,modal:!0})};jh.displayName=Uh;var T7="AlertDialogTrigger",w7=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,...u}=i,o=la(n);return M.jsx(X3,{...o,...u,ref:a})});w7.displayName=T7;var A7="AlertDialogPortal",Gh=i=>{const{__scopeAlertDialog:a,...n}=i,u=la(a);return M.jsx(B3,{...u,...n})};Gh.displayName=A7;var M7="AlertDialogOverlay",Vh=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,...u}=i,o=la(n);return M.jsx(q3,{...o,...u,ref:a})});Vh.displayName=M7;var Jr="AlertDialogContent",[z7,k7]=S7(Jr),Xh=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,children:u,...o}=i,d=la(n),m=ae.useRef(null),g=Af(a,m),y=ae.useRef(null);return M.jsx(O3,{contentName:Jr,titleName:Yh,docsSlug:"alert-dialog",children:M.jsx(z7,{scope:n,cancelRef:y,children:M.jsxs(L3,{role:"alertdialog",...d,...o,ref:g,onOpenAutoFocus:H3(o.onOpenAutoFocus,S=>{var z;S.preventDefault(),(z=y.current)==null||z.focus({preventScroll:!0})}),onPointerDownOutside:S=>S.preventDefault(),onInteractOutside:S=>S.preventDefault(),children:[M.jsx(U3,{children:u}),M.jsx(N7,{contentRef:m})]})})})});Xh.displayName=Jr;var Yh="AlertDialogTitle",Fh=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,...u}=i,o=la(n);return M.jsx(j3,{...o,...u,ref:a})});Fh.displayName=Yh;var Zh="AlertDialogDescription",Kh=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,...u}=i,o=la(n);return M.jsx(G3,{...o,...u,ref:a})});Kh.displayName=Zh;var D7="AlertDialogAction",Qh=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,...u}=i,o=la(n);return M.jsx(Mf,{...o,...u,ref:a})});Qh.displayName=D7;var $h="AlertDialogCancel",Ph=ae.forwardRef((i,a)=>{const{__scopeAlertDialog:n,...u}=i,{cancelRef:o}=k7($h,n),d=la(n),m=Af(a,o);return M.jsx(Mf,{...d,...u,ref:m})});Ph.displayName=$h;var N7=({contentRef:i})=>{const a=`\`${Jr}\` requires a description for the component to be accessible for screen reader users.

You can add a description to the \`${Jr}\` by passing a \`${Zh}\` component as a child, which also benefits sighted users by adding visible context to the dialog.

Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Jr}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.

For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return ae.useEffect(()=>{var u;document.getElementById((u=i.current)==null?void 0:u.getAttribute("aria-describedby"))||console.warn(a)},[a,i]),null},E7=jh,C7=Gh,Jh=Vh,Ih=Xh,Wh=Qh,em=Ph,tm=Fh,am=Kh;const _7=E7,q7=C7,rm=ae.forwardRef(({className:i,...a},n)=>M.jsx(Jh,{className:Zt("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",i),...a,ref:n}));rm.displayName=Jh.displayName;const nm=ae.forwardRef(({className:i,...a},n)=>M.jsxs(q7,{children:[M.jsx(rm,{}),M.jsx(Ih,{ref:n,className:Zt("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",i),...a})]}));nm.displayName=Ih.displayName;const lm=({className:i,...a})=>M.jsx("div",{className:Zt("flex flex-col space-y-2 text-center sm:text-left",i),...a});lm.displayName="AlertDialogHeader";const im=ae.forwardRef(({className:i,...a},n)=>M.jsx(tm,{ref:n,className:Zt("text-lg font-semibold",i),...a}));im.displayName=tm.displayName;const um=ae.forwardRef(({className:i,...a},n)=>M.jsx(am,{ref:n,className:Zt("text-muted-foreground text-sm",i),...a}));um.displayName=am.displayName;const B7=ae.forwardRef(({className:i,...a},n)=>M.jsx(Wh,{ref:n,className:Zt(Ef(),i),...a}));B7.displayName=Wh.displayName;const O7=ae.forwardRef(({className:i,...a},n)=>M.jsx(em,{ref:n,className:Zt(Ef({variant:"outline"}),"mt-2 sm:mt-0",i),...a}));O7.displayName=em.displayName;const R7=({open:i,onOpenChange:a})=>{const{t:n}=ra(),u=Ft.use.apiKey(),[o,d]=ae.useState(""),m=p0.use.message();ae.useEffect(()=>{d(u||"")},[u,i]),ae.useEffect(()=>{m&&(m.includes(Cf)||m.includes(_f))&&a(!0)},[m,a]);const g=ae.useCallback(()=>{Ft.setState({apiKey:o||null}),a(!1)},[o,a]),y=ae.useCallback(S=>{d(S.target.value)},[d]);return M.jsx(_7,{open:i,onOpenChange:a,children:M.jsxs(nm,{children:[M.jsxs(lm,{children:[M.jsx(im,{children:n("apiKeyAlert.title")}),M.jsx(um,{children:n("apiKeyAlert.description")})]}),M.jsxs("div",{className:"flex flex-col gap-4",children:[M.jsxs("form",{className:"flex gap-2",onSubmit:S=>S.preventDefault(),children:[M.jsx(yo,{type:"password",value:o,onChange:y,placeholder:n("apiKeyAlert.placeholder"),className:"max-h-full w-full min-w-0",autoComplete:"off"}),M.jsx(nl,{onClick:g,variant:"outline",size:"sm",children:n("apiKeyAlert.save")})]}),m&&M.jsx("div",{className:"text-sm text-red-500",children:m})]})]})})},L7=({status:i})=>{const{t:a}=ra();return i?M.jsxs("div",{className:"min-w-[300px] space-y-2 text-xs",children:[M.jsxs("div",{className:"space-y-1",children:[M.jsx("h4",{className:"font-medium",children:a("graphPanel.statusCard.serverInfo")}),M.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[M.jsxs("span",{children:[a("graphPanel.statusCard.workingDirectory"),":"]}),M.jsx("span",{className:"truncate",children:i.working_directory}),M.jsxs("span",{children:[a("graphPanel.statusCard.inputDirectory"),":"]}),M.jsx("span",{className:"truncate",children:i.input_directory}),M.jsxs("span",{children:[a("graphPanel.statusCard.summarySettings"),":"]}),M.jsxs("span",{children:[i.configuration.summary_language," / LLM summary on ",i.configuration.force_llm_summary_on_merge.toString()," fragments"]}),M.jsxs("span",{children:[a("graphPanel.statusCard.threshold"),":"]}),M.jsxs("span",{children:["cosine ",i.configuration.cosine_threshold," / rerank_score ",i.configuration.min_rerank_score," / max_related ",i.configuration.related_chunk_number]}),M.jsxs("span",{children:[a("graphPanel.statusCard.maxParallelInsert"),":"]}),M.jsx("span",{children:i.configuration.max_parallel_insert})]})]}),M.jsxs("div",{className:"space-y-1",children:[M.jsx("h4",{className:"font-medium",children:a("graphPanel.statusCard.llmConfig")}),M.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[M.jsxs("span",{children:[a("graphPanel.statusCard.llmBindingHost"),":"]}),M.jsx("span",{children:i.configuration.llm_binding_host}),M.jsxs("span",{children:[a("graphPanel.statusCard.llmModel"),":"]}),M.jsxs("span",{children:[i.configuration.llm_binding,": ",i.configuration.llm_model," (#",i.configuration.max_async," Async)"]})]})]}),M.jsxs("div",{className:"space-y-1",children:[M.jsx("h4",{className:"font-medium",children:a("graphPanel.statusCard.embeddingConfig")}),M.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[M.jsxs("span",{children:[a("graphPanel.statusCard.embeddingBindingHost"),":"]}),M.jsx("span",{children:i.configuration.embedding_binding_host}),M.jsxs("span",{children:[a("graphPanel.statusCard.embeddingModel"),":"]}),M.jsxs("span",{children:[i.configuration.embedding_binding,": ",i.configuration.embedding_model," (#",i.configuration.embedding_func_max_async," Async * ",i.configuration.embedding_batch_num," batches)"]})]})]}),i.configuration.enable_rerank&&M.jsxs("div",{className:"space-y-1",children:[M.jsx("h4",{className:"font-medium",children:a("graphPanel.statusCard.rerankerConfig")}),M.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[M.jsxs("span",{children:[a("graphPanel.statusCard.rerankerBindingHost"),":"]}),M.jsx("span",{children:i.configuration.rerank_binding_host||"-"}),M.jsxs("span",{children:[a("graphPanel.statusCard.rerankerModel"),":"]}),M.jsxs("span",{children:[i.configuration.rerank_binding||"-"," : ",i.configuration.rerank_model||"-"]})]})]}),M.jsxs("div",{className:"space-y-1",children:[M.jsx("h4",{className:"font-medium",children:a("graphPanel.statusCard.storageConfig")}),M.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[M.jsxs("span",{children:[a("graphPanel.statusCard.kvStorage"),":"]}),M.jsx("span",{children:i.configuration.kv_storage}),M.jsxs("span",{children:[a("graphPanel.statusCard.docStatusStorage"),":"]}),M.jsx("span",{children:i.configuration.doc_status_storage}),M.jsxs("span",{children:[a("graphPanel.statusCard.graphStorage"),":"]}),M.jsx("span",{children:i.configuration.graph_storage}),M.jsxs("span",{children:[a("graphPanel.statusCard.vectorStorage"),":"]}),M.jsx("span",{children:i.configuration.vector_storage}),M.jsxs("span",{children:[a("graphPanel.statusCard.workspace"),":"]}),M.jsx("span",{children:i.configuration.workspace||"-"}),M.jsxs("span",{children:[a("graphPanel.statusCard.maxGraphNodes"),":"]}),M.jsx("span",{children:i.configuration.max_graph_nodes||"-"}),i.keyed_locks&&M.jsxs(M.Fragment,{children:[M.jsxs("span",{children:[a("graphPanel.statusCard.lockStatus"),":"]}),M.jsxs("span",{children:["mp ",i.keyed_locks.current_status.pending_mp_cleanup,"/",i.keyed_locks.current_status.total_mp_locks," | async ",i.keyed_locks.current_status.pending_async_cleanup,"/",i.keyed_locks.current_status.total_async_locks,"(pid: ",i.keyed_locks.process_id,")"]})]})]})]})]}):M.jsx("div",{className:"text-foreground text-xs",children:a("graphPanel.statusCard.unavailable")})},H7=({open:i,onOpenChange:a,status:n})=>{const{t:u}=ra();return M.jsx($3,{open:i,onOpenChange:a,children:M.jsxs(P3,{className:"sm:max-w-[700px]",children:[M.jsxs(J3,{children:[M.jsx(I3,{children:u("graphPanel.statusDialog.title")}),M.jsx(W3,{children:u("graphPanel.statusDialog.description")})]}),M.jsx(L7,{status:n})]})})},U7=()=>{const{t:i}=ra(),a=p0.use.health(),n=p0.use.lastCheckTime(),u=p0.use.status(),[o,d]=ae.useState(!1),[m,g]=ae.useState(!1);return ae.useEffect(()=>{d(!0);const y=setTimeout(()=>d(!1),300);return()=>clearTimeout(y)},[n]),M.jsxs("div",{className:"fixed right-4 bottom-4 flex items-center gap-2 opacity-80 select-none",children:[M.jsxs("div",{className:"flex cursor-pointer items-center gap-2",onClick:()=>g(!0),children:[M.jsx("div",{className:Zt("h-3 w-3 rounded-full transition-all duration-300","shadow-[0_0_8px_rgba(0,0,0,0.2)]",a?"bg-green-500":"bg-red-500",o&&"scale-125",o&&a&&"shadow-[0_0_12px_rgba(34,197,94,0.4)]",o&&!a&&"shadow-[0_0_12px_rgba(239,68,68,0.4)]")}),M.jsx("span",{className:"text-muted-foreground text-xs",children:i(a?"graphPanel.statusIndicator.connected":"graphPanel.statusIndicator.disconnected")})]}),M.jsx(H7,{open:m,onOpenChange:g,status:u})]})};function sm({className:i}){const[a,n]=ae.useState(!1),{t:u}=ra(),o=Ft.use.language(),d=Ft.use.setLanguage(),m=Ft.use.theme(),g=Ft.use.setTheme(),y=ae.useCallback(z=>{d(z)},[d]),S=ae.useCallback(z=>{g(z)},[g]);return M.jsxs(e5,{open:a,onOpenChange:n,children:[M.jsx(t5,{asChild:!0,children:M.jsx(nl,{variant:"ghost",size:"icon",className:Zt("h-9 w-9",i),children:M.jsx(a5,{className:"h-5 w-5"})})}),M.jsx(r5,{side:"bottom",align:"end",className:"w-56",children:M.jsxs("div",{className:"flex flex-col gap-4",children:[M.jsxs("div",{className:"flex flex-col gap-2",children:[M.jsx("label",{className:"text-sm font-medium",children:u("settings.language")}),M.jsxs(B4,{value:o,onValueChange:y,children:[M.jsx(O4,{children:M.jsx(R4,{})}),M.jsxs(L4,{children:[M.jsx(Ca,{value:"en",children:"English"}),M.jsx(Ca,{value:"zh",children:"中文"}),M.jsx(Ca,{value:"fr",children:"Français"}),M.jsx(Ca,{value:"ar",children:"العربية"}),M.jsx(Ca,{value:"zh_TW",children:"繁體中文"})]})]})]}),M.jsxs("div",{className:"flex flex-col gap-2",children:[M.jsx("label",{className:"text-sm font-medium",children:u("settings.theme")}),M.jsxs(B4,{value:m,onValueChange:S,children:[M.jsx(O4,{children:M.jsx(R4,{})}),M.jsxs(L4,{children:[M.jsx(Ca,{value:"light",children:u("settings.light")}),M.jsx(Ca,{value:"dark",children:u("settings.dark")}),M.jsx(Ca,{value:"system",children:u("settings.system")})]})]})]})]})})]})}const j7=Y3,om=ae.forwardRef(({className:i,...a},n)=>M.jsx(zf,{ref:n,className:Zt("bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",i),...a}));om.displayName=zf.displayName;const cm=ae.forwardRef(({className:i,...a},n)=>M.jsx(kf,{ref:n,className:Zt("ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",i),...a}));cm.displayName=kf.displayName;const tl=ae.forwardRef(({className:i,...a},n)=>M.jsx(Df,{ref:n,className:Zt("ring-offset-background focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none","data-[state=inactive]:invisible data-[state=active]:visible","h-full w-full",i),forceMount:!0,...a}));tl.displayName=Df.displayName;function Ei({value:i,currentTab:a,children:n}){return M.jsx(cm,{value:i,className:Zt("cursor-pointer px-2 py-1 transition-all",a===i?"!bg-emerald-400 !text-zinc-50":"hover:bg-background/60"),children:n})}function G7(){const i=Ft.use.currentTab(),{t:a}=ra();return M.jsx("div",{className:"flex h-8 self-center",children:M.jsxs(om,{className:"h-full gap-2",children:[M.jsx(Ei,{value:"documents",currentTab:i,children:a("header.documents")}),M.jsx(Ei,{value:"knowledge-graph",currentTab:i,children:a("header.knowledgeGraph")}),M.jsx(Ei,{value:"retrieval",currentTab:i,children:a("header.retrieval")}),M.jsx(Ei,{value:"api",currentTab:i,children:a("header.api")})]})})}function V7(){const{t:i}=ra(),{isGuestMode:a,coreVersion:n,apiVersion:u,username:o,webuiTitle:d,webuiDescription:m}=J0(),g=n&&u?`${n}/${u}`:null,y=()=>{Bf.navigateToLogin()};return M.jsxs("header",{className:"border-border/40 bg-background/95 supports-[backdrop-filter]:bg-background/60 sticky top-0 z-50 flex h-10 w-full border-b px-4 backdrop-blur",children:[M.jsxs("div",{className:"min-w-[200px] w-auto flex items-center",children:[M.jsxs("a",{href:qf,className:"flex items-center gap-2",children:[M.jsx(Eo,{className:"size-4 text-emerald-400","aria-hidden":"true"}),M.jsx("span",{className:"font-bold md:inline-block",children:bo.name})]}),d&&M.jsxs("div",{className:"flex items-center",children:[M.jsx("span",{className:"mx-1 text-xs text-gray-500 dark:text-gray-400",children:"|"}),M.jsx(n5,{children:M.jsxs(l5,{children:[M.jsx(i5,{asChild:!0,children:M.jsx("span",{className:"font-medium text-sm cursor-default",children:d})}),m&&M.jsx(u5,{side:"bottom",children:m})]})})]})]}),M.jsxs("div",{className:"flex h-10 flex-1 items-center justify-center",children:[M.jsx(G7,{}),a&&M.jsx("div",{className:"ml-2 self-center px-2 py-1 text-xs bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200 rounded-md",children:i("login.guestMode","Guest Mode")})]}),M.jsx("nav",{className:"w-[200px] flex items-center justify-end",children:M.jsxs("div",{className:"flex items-center gap-2",children:[g&&M.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400 mr-1",children:["v",g]}),M.jsx(nl,{variant:"ghost",size:"icon",side:"bottom",tooltip:i("header.projectRepository"),children:M.jsx("a",{href:bo.github,target:"_blank",rel:"noopener noreferrer",children:M.jsx(s5,{className:"size-4","aria-hidden":"true"})})}),M.jsx(sm,{}),!a&&M.jsx(nl,{variant:"ghost",size:"icon",side:"bottom",tooltip:`${i("header.logout")} (${o})`,onClick:y,children:M.jsx(o5,{className:"size-4","aria-hidden":"true"})})]})})]})}const X7=()=>{const i=ae.useContext(Hh);if(!i)throw new Error("useTabVisibility must be used within a TabVisibilityProvider");return i};function Y7(){const{t:i}=ra(),{isTabVisible:a}=X7(),n=a("api"),[u,o]=ae.useState(!1);return ae.useEffect(()=>{u||o(!0)},[u]),M.jsx("div",{className:`size-full ${n?"":"hidden"}`,children:u?M.jsx("iframe",{src:c5+"/docs",className:"size-full w-full h-full",style:{width:"100%",height:"100%",border:"none"}},"api-docs-iframe"):M.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background",children:M.jsxs("div",{className:"text-center",children:[M.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"}),M.jsx("p",{children:i("apiSite.loading")})]})})})}function F7(){const i=p0.use.message(),a=Ft.use.enableHealthCheck(),n=Ft.use.currentTab(),[u,o]=ae.useState(!1),[d,m]=ae.useState(!0),g=ae.useRef(!1),y=ae.useRef(!1),S=ae.useCallback(_=>{o(_),_||p0.getState().clear()},[]),z=ae.useRef(!0);ae.useEffect(()=>{z.current=!0;const _=()=>{z.current=!1};return window.addEventListener("beforeunload",_),()=>{z.current=!1,window.removeEventListener("beforeunload",_)}},[]),ae.useEffect(()=>{const _=async()=>{try{z.current&&await p0.getState().check()}catch(q){console.error("Health check error:",q)}};if(p0.getState().setHealthCheckFunction(_),!a||u){p0.getState().clearHealthCheckTimer();return}return y.current||(y.current=!0),p0.getState().resetHealthCheckTimer(),()=>{p0.getState().clearHealthCheckTimer()}},[a,u]),ae.useEffect(()=>{(async()=>{if(g.current)return;if(g.current=!0,sessionStorage.getItem("VERSION_CHECKED_FROM_LOGIN")==="true"){m(!1);return}try{m(!0);const j=localStorage.getItem("LIGHTRAG-API-TOKEN"),L=await Rf();if(!L.auth_configured&&L.access_token)J0.getState().login(L.access_token,!0,L.core_version,L.api_version,L.webui_title||null,L.webui_description||null);else if(j&&(L.core_version||L.api_version||L.webui_title||L.webui_description)){const Q=L.auth_mode==="disabled"||J0.getState().isGuestMode;J0.getState().login(j,Q,L.core_version,L.api_version,L.webui_title||null,L.webui_description||null)}sessionStorage.setItem("VERSION_CHECKED_FROM_LOGIN","true")}catch(j){console.error("Failed to get version info:",j)}finally{m(!1)}})()},[]);const N=ae.useCallback(_=>Ft.getState().setCurrentTab(_),[]);return ae.useEffect(()=>{i&&(i.includes(Cf)||i.includes(_f))&&o(!0)},[i]),M.jsx(Of,{children:M.jsx(x7,{children:d?M.jsxs("div",{className:"flex h-screen w-screen flex-col",children:[M.jsxs("header",{className:"border-border/40 bg-background/95 supports-[backdrop-filter]:bg-background/60 sticky top-0 z-50 flex h-10 w-full border-b px-4 backdrop-blur",children:[M.jsx("div",{className:"min-w-[200px] w-auto flex items-center",children:M.jsxs("a",{href:qf,className:"flex items-center gap-2",children:[M.jsx(Eo,{className:"size-4 text-emerald-400","aria-hidden":"true"}),M.jsx("span",{className:"font-bold md:inline-block",children:bo.name})]})}),M.jsx("div",{className:"flex h-10 flex-1 items-center justify-center"}),M.jsx("nav",{className:"w-[200px] flex items-center justify-end"})]}),M.jsx("div",{className:"flex flex-1 items-center justify-center",children:M.jsxs("div",{className:"text-center",children:[M.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent mx-auto"}),M.jsx("p",{children:"Initializing..."})]})})]}):M.jsxs("main",{className:"flex h-screen w-screen overflow-hidden",children:[M.jsxs(j7,{defaultValue:n,className:"!m-0 flex grow flex-col !p-0 overflow-hidden",onValueChange:N,children:[M.jsx(V7,{}),M.jsxs("div",{className:"relative grow",children:[M.jsx(tl,{value:"documents",className:"absolute top-0 right-0 bottom-0 left-0 overflow-auto",children:M.jsx(y5,{})}),M.jsx(tl,{value:"knowledge-graph",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:M.jsx(d5,{})}),M.jsx(tl,{value:"retrieval",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:M.jsx(b5,{})}),M.jsx(tl,{value:"api",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:M.jsx(Y7,{})})]})]}),a&&M.jsx(U7,{}),M.jsx(R7,{open:u,onOpenChange:S})]})})})}const Z7=()=>{const i=Nf(),{login:a,isAuthenticated:n}=J0(),{t:u}=ra(),[o,d]=ae.useState(!1),[m,g]=ae.useState(""),[y,S]=ae.useState(""),[z,N]=ae.useState(!0),_=ae.useRef(!1);if(ae.useEffect(()=>{console.log("LoginPage mounted")},[]),ae.useEffect(()=>((async()=>{if(!_.current){_.current=!0;try{if(n){i("/");return}const L=await Rf();if((L.core_version||L.api_version)&&sessionStorage.setItem("VERSION_CHECKED_FROM_LOGIN","true"),!L.auth_configured&&L.access_token){a(L.access_token,!0,L.core_version,L.api_version,L.webui_title||null,L.webui_description||null),L.message&&In.info(L.message),i("/");return}N(!1)}catch(L){console.error("Failed to check auth configuration:",L),N(!1)}}})(),()=>{}),[n,a,i]),z)return null;const q=async j=>{if(j.preventDefault(),!m||!y){In.error(u("login.errorEmptyFields"));return}try{d(!0);const L=await p5(m,y);localStorage.getItem("LIGHTRAG-PREVIOUS-USER")===m?console.log("Same user logging in, preserving chat history"):(console.log("Different user logging in, clearing chat history"),Ft.getState().setRetrievalHistory([])),localStorage.setItem("LIGHTRAG-PREVIOUS-USER",m);const te=L.auth_mode==="disabled";a(L.access_token,te,L.core_version,L.api_version,L.webui_title||null,L.webui_description||null),(L.core_version||L.api_version)&&sessionStorage.setItem("VERSION_CHECKED_FROM_LOGIN","true"),te?In.info(L.message||u("login.authDisabled","Authentication is disabled. Using guest access.")):In.success(u("login.successMessage")),i("/")}catch(L){console.error("Login failed...",L),In.error(u("login.errorInvalidCredentials")),J0.getState().logout(),localStorage.removeItem("LIGHTRAG-API-TOKEN")}finally{d(!1)}};return M.jsxs("div",{className:"flex h-screen w-screen items-center justify-center bg-gradient-to-br from-emerald-50 to-teal-100 dark:from-gray-900 dark:to-gray-800",children:[M.jsx("div",{className:"absolute top-4 right-4 flex items-center gap-2",children:M.jsx(sm,{className:"bg-white/30 dark:bg-gray-800/30 backdrop-blur-sm rounded-md"})}),M.jsxs(f5,{className:"w-full max-w-[480px] shadow-lg mx-4",children:[M.jsx(h5,{className:"flex items-center justify-center space-y-2 pb-8 pt-6",children:M.jsxs("div",{className:"flex flex-col items-center space-y-4",children:[M.jsxs("div",{className:"flex items-center gap-3",children:[M.jsx("img",{src:"logo.svg",alt:"LightRAG Logo",className:"h-12 w-12"}),M.jsx(Eo,{className:"size-10 text-emerald-400","aria-hidden":"true"})]}),M.jsxs("div",{className:"text-center space-y-2",children:[M.jsx("h1",{className:"text-3xl font-bold tracking-tight",children:"LightRAG"}),M.jsx("p",{className:"text-muted-foreground text-sm",children:u("login.description")})]})]})}),M.jsx(m5,{className:"px-8 pb-8",children:M.jsxs("form",{onSubmit:q,className:"space-y-6",children:[M.jsxs("div",{className:"flex items-center gap-4",children:[M.jsx("label",{htmlFor:"username-input",className:"text-sm font-medium w-16 shrink-0",children:u("login.username")}),M.jsx(yo,{id:"username-input",placeholder:u("login.usernamePlaceholder"),value:m,onChange:j=>g(j.target.value),required:!0,className:"h-11 flex-1"})]}),M.jsxs("div",{className:"flex items-center gap-4",children:[M.jsx("label",{htmlFor:"password-input",className:"text-sm font-medium w-16 shrink-0",children:u("login.password")}),M.jsx(yo,{id:"password-input",type:"password",placeholder:u("login.passwordPlaceholder"),value:y,onChange:j=>S(j.target.value),required:!0,className:"h-11 flex-1"})]}),M.jsx(nl,{type:"submit",className:"w-full h-11 text-base font-medium mt-2",disabled:o,children:u(o?"login.loggingIn":"login.loginButton")})]})})]})]})},K7=()=>{const[i,a]=ae.useState(!0),{isAuthenticated:n}=J0(),u=Nf();return ae.useEffect(()=>{Bf.setNavigate(u)},[u]),ae.useEffect(()=>((async()=>{try{const d=localStorage.getItem("LIGHTRAG-API-TOKEN");if(d&&n){a(!1);return}d||J0.getState().logout()}catch(d){console.error("Auth initialization error:",d),n||J0.getState().logout()}finally{a(!1)}})(),()=>{}),[n]),ae.useEffect(()=>{!i&&!n&&window.location.hash.slice(1)!=="/login"&&(console.log("Not authenticated, redirecting to login"),u("/login"))},[i,n,u]),i?null:M.jsxs(Q3,{children:[M.jsx(q4,{path:"/login",element:M.jsx(Z7,{})}),M.jsx(q4,{path:"/*",element:n?M.jsx(F7,{}):null})]})},Q7=()=>M.jsx(Of,{children:M.jsxs(K3,{children:[M.jsx(K7,{}),M.jsx(g5,{position:"bottom-center",theme:"system",closeButton:!0,richColors:!0})]})}),$7={language:"Language",theme:"Theme",light:"Light",dark:"Dark",system:"System"},P7={documents:"Documents",knowledgeGraph:"Knowledge Graph",retrieval:"Retrieval",api:"API",projectRepository:"Project Repository",logout:"Logout",themeToggle:{switchToLight:"Switch to light theme",switchToDark:"Switch to dark theme"}},J7={description:"Please enter your account and password to log in to the system",username:"Username",usernamePlaceholder:"Please input a username",password:"Password",passwordPlaceholder:"Please input a password",loginButton:"Login",loggingIn:"Logging in...",successMessage:"Login succeeded",errorEmptyFields:"Please enter your username and password",errorInvalidCredentials:"Login failed, please check username and password",authDisabled:"Authentication is disabled. Using login free mode.",guestMode:"Login Free"},I7={cancel:"Cancel",save:"Save",saving:"Saving...",saveFailed:"Save failed"},W7={clearDocuments:{button:"Clear",tooltip:"Clear documents",title:"Clear Documents",description:"This will remove all documents from the system",warning:"WARNING: This action will permanently delete all documents and cannot be undone!",confirm:"Do you really want to clear all documents?",confirmPrompt:"Type 'yes' to confirm this action",confirmPlaceholder:"Type yes to confirm",clearCache:"Clear LLM cache",confirmButton:"YES",clearing:"Clearing...",timeout:"Clear operation timed out, please try again",success:"Documents cleared successfully",cacheCleared:"Cache cleared successfully",cacheClearFailed:`Failed to clear cache:
{{error}}`,failed:`Clear Documents Failed:
{{message}}`,error:`Clear Documents Failed:
{{error}}`},deleteDocuments:{button:"Delete",tooltip:"Delete selected documents",title:"Delete Documents",description:"This will permanently delete the selected documents from the system",warning:"WARNING: This action will permanently delete the selected documents and cannot be undone!",confirm:"Do you really want to delete {{count}} selected document(s)?",confirmPrompt:"Type 'yes' to confirm this action",confirmPlaceholder:"Type yes to confirm",confirmButton:"YES",deleteFileOption:"Also delete uploaded files",deleteFileTooltip:"Check this option to also delete the corresponding uploaded files on the server",success:"Document deletion pipeline started successfully",failed:`Delete Documents Failed:
{{message}}`,error:`Delete Documents Failed:
{{error}}`,busy:"Pipeline is busy, please try again later",notAllowed:"No permission to perform this operation"},selectDocuments:{selectCurrentPage:"Select Current Page ({{count}})",deselectAll:"Deselect All ({{count}})"},uploadDocuments:{button:"Upload",tooltip:"Upload documents",title:"Upload Documents",description:"Drag and drop your documents here or click to browse.",single:{uploading:"Uploading {{name}}: {{percent}}%",success:`Upload Success:
{{name}} uploaded successfully`,failed:`Upload Failed:
{{name}}
{{message}}`,error:`Upload Failed:
{{name}}
{{error}}`},batch:{uploading:"Uploading files...",success:"Files uploaded successfully",error:"Some files failed to upload"},generalError:`Upload Failed
{{error}}`,fileTypes:"Supported types: TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"Cannot upload more than 1 file at a time",maxFilesLimit:"Cannot upload more than {{count}} files",fileRejected:"File {{name}} was rejected",unsupportedType:"Unsupported file type",fileTooLarge:"File too large, maximum size is {{maxSize}}",dropHere:"Drop the files here",dragAndDrop:"Drag and drop files here, or click to select files",removeFile:"Remove file",uploadDescription:"You can upload {{isMultiple ? 'multiple' : count}} files (up to {{maxSize}} each)",duplicateFile:"File name already exists in server cache"}},documentManager:{title:"Document Management",scanButton:"Scan",scanTooltip:"Scan and process documents in input folder, and also reprocess all failed documents",retryFailedButton:"Retry",retryFailedTooltip:"Retry processing all failed documents",refreshTooltip:"Reset document list",pipelineStatusButton:"Pipeline",pipelineStatusTooltip:"View document processing pipeline status",uploadedTitle:"Uploaded Documents",uploadedDescription:"List of uploaded documents and their statuses.",emptyTitle:"No Documents",emptyDescription:"There are no uploaded documents yet.",columns:{id:"ID",fileName:"File Name",summary:"Summary",status:"Status",length:"Length",chunks:"Chunks",created:"Created",updated:"Updated",metadata:"Metadata",select:"Select"},status:{all:"All",completed:"Completed",processing:"Processing",pending:"Pending",failed:"Failed"},errors:{loadFailed:`Failed to load documents
{{error}}`,scanFailed:`Failed to scan documents
{{error}}`,scanProgressFailed:`Failed to get scan progress
{{error}}`},fileNameLabel:"File Name",showButton:"Show",hideButton:"Hide",showFileNameTooltip:"Show file name",hideFileNameTooltip:"Hide file name"},pipelineStatus:{title:"Pipeline Status",busy:"Pipeline Busy",requestPending:"Request Pending",jobName:"Job Name",startTime:"Start Time",progress:"Progress",unit:"batch",latestMessage:"Latest Message",historyMessages:"History Messages",errors:{fetchFailed:`Failed to get pipeline status
{{error}}`}}},ep={dataIsTruncated:"Graph data is truncated to Max Nodes",statusDialog:{title:"LightRAG Server Settings",description:"View current system status and connection information"},legend:"Legend",nodeTypes:{person:"Person",category:"Category",geo:"Geographic",location:"Location",organization:"Organization",event:"Event",equipment:"Equipment",weapon:"Weapon",animal:"Animal",unknown:"Unknown",object:"Object",group:"Group",technology:"Technology",product:"Product",document:"Document",content:"Content",data:"Data",artifact:"Artifact",concept:"Concept",naturalobject:"Natural Object",method:"Method",creature:"Creature",plant:"Plant",disease:"Disease",drug:"Drug",food:"Food",other:"Other"},sideBar:{settings:{settings:"Settings",healthCheck:"Health Check",showPropertyPanel:"Show Property Panel",showSearchBar:"Show Search Bar",showNodeLabel:"Show Node Label",nodeDraggable:"Node Draggable",showEdgeLabel:"Show Edge Label",hideUnselectedEdges:"Hide Unselected Edges",edgeEvents:"Edge Events",maxQueryDepth:"Max Query Depth",maxNodes:"Max Nodes",maxLayoutIterations:"Max Layout Iterations",resetToDefault:"Reset to default",edgeSizeRange:"Edge Size Range",depth:"D",max:"Max",degree:"Degree",apiKey:"API Key",enterYourAPIkey:"Enter your API key",save:"Save",refreshLayout:"Refresh Layout"},zoomControl:{zoomIn:"Zoom In",zoomOut:"Zoom Out",resetZoom:"Reset Zoom",rotateCamera:"Clockwise Rotate",rotateCameraCounterClockwise:"Counter-Clockwise Rotate"},layoutsControl:{startAnimation:"Continue layout animation",stopAnimation:"Stop layout animation",layoutGraph:"Layout Graph",layouts:{Circular:"Circular",Circlepack:"Circlepack",Random:"Random",Noverlaps:"Noverlaps","Force Directed":"Force Directed","Force Atlas":"Force Atlas"}},fullScreenControl:{fullScreen:"Full Screen",windowed:"Windowed"},legendControl:{toggleLegend:"Toggle Legend"}},statusIndicator:{connected:"Connected",disconnected:"Disconnected"},statusCard:{unavailable:"Status information unavailable",serverInfo:"Server Info",workingDirectory:"Working Directory",inputDirectory:"Input Directory",maxParallelInsert:"Concurrent Doc Processing",summarySettings:"Summary Settings",llmConfig:"LLM Configuration",llmBinding:"LLM Binding",llmBindingHost:"LLM Endpoint",llmModel:"LLM Model",embeddingConfig:"Embedding Configuration",embeddingBinding:"Embedding Binding",embeddingBindingHost:"Embedding Endpoint",embeddingModel:"Embedding Model",storageConfig:"Storage Configuration",kvStorage:"KV Storage",docStatusStorage:"Doc Status Storage",graphStorage:"Graph Storage",vectorStorage:"Vector Storage",workspace:"Workspace",maxGraphNodes:"Max Graph Nodes",rerankerConfig:"Reranker Configuration",rerankerBindingHost:"Reranker Endpoint",rerankerModel:"Reranker Model",lockStatus:"Lock Status",threshold:"Threshold"},propertiesView:{editProperty:"Edit {{property}}",editPropertyDescription:"Edit the property value in the text area below.",errors:{duplicateName:"Node name already exists",updateFailed:"Failed to update node",tryAgainLater:"Please try again later"},success:{entityUpdated:"Node updated successfully",relationUpdated:"Relation updated successfully"},node:{title:"Node",id:"ID",labels:"Labels",degree:"Degree",properties:"Properties",relationships:"Relations(within subgraph)",expandNode:"Expand Node",pruneNode:"Prune Node",deleteAllNodesError:"Refuse to delete all nodes in the graph",nodesRemoved:"{{count}} nodes removed, including orphan nodes",noNewNodes:"No expandable nodes found",propertyNames:{description:"Description",entity_id:"Name",entity_type:"Type",source_id:"SrcID",Neighbour:"Neigh",file_path:"Source",keywords:"Keys",weight:"Weight"}},edge:{title:"Relationship",id:"ID",type:"Type",source:"Source",target:"Target",properties:"Properties"}},search:{placeholder:"Search nodes in page...",message:"And {count} others"},graphLabels:{selectTooltip:"Get subgraph of a node (label)",noLabels:"No matching nodes found",label:"Search node name",placeholder:"Search node name...",andOthers:"And {count} others",refreshGlobalTooltip:"Refresh global graph data and reset search history",refreshCurrentLabelTooltip:"Refresh current page graph data",refreshingTooltip:"Refreshing data..."},emptyGraph:"Empty(Try Reload Again)"},tp={chatMessage:{copyTooltip:"Copy to clipboard",copyError:"Failed to copy text to clipboard",copyEmpty:"No content to copy",copySuccess:"Content copied to clipboard",copySuccessLegacy:"Content copied (legacy method)",copySuccessManual:"Content copied (manual method)",copyFailed:"Failed to copy content",copyManualInstruction:"Please select and copy the text manually",thinking:"Thinking...",thinkingTime:"Thinking time {{time}}s",thinkingInProgress:"Thinking in progress..."},retrieval:{startPrompt:"Start a retrieval by typing your query below",clear:"Clear",send:"Send",placeholder:"Enter your query (Support prefix: /<Query Mode>)",error:"Error: Failed to get response",queryModeError:"Only supports the following query modes: {{modes}}",queryModePrefixInvalid:"Invalid query mode prefix. Use: /<mode> [space] your query"},querySettings:{parametersTitle:"Parameters",parametersDescription:"Configure your query parameters",queryMode:"Query Mode",queryModeTooltip:`Select the retrieval strategy:
• Naive: Traditional text chunk vector retrieval
• Local: Focus on entity retrieval
• Global: Focus on relationship retrieval
• Hybrid: Local+Global
• Mix: Local+Global+Naive
• Bypass: Skip retrieval, send conversation history and current question to LLM`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix",bypass:"Bypass"},responseFormat:"Response Format",responseFormatTooltip:`Defines the response format. Examples:
• Multiple Paragraphs
• Single Paragraph
• Bullet Points`,responseFormatOptions:{multipleParagraphs:"Multiple Paragraphs",singleParagraph:"Single Paragraph",bulletPoints:"Bullet Points"},topK:"KG Top K",topKTooltip:"Number of entities and relations to retrieve. Applicable for non-naive modes.",topKPlaceholder:"Enter top_k value",chunkTopK:"Chunk Top K",chunkTopKTooltip:"Number of text chunks to retrieve, applicable for all modes.",chunkTopKPlaceholder:"Enter chunk_top_k value",maxEntityTokens:"Max Entity Tokens",maxEntityTokensTooltip:"Maximum number of tokens allocated for entity context in unified token control system",maxRelationTokens:"Max Relation Tokens",maxRelationTokensTooltip:"Maximum number of tokens allocated for relationship context in unified token control system",maxTotalTokens:"Max Total Tokens",maxTotalTokensTooltip:"Maximum total tokens budget for the entire query context (entities + relations + chunks + system prompt)",historyTurns:"History Turns",historyTurnsTooltip:"Number of complete conversation turns (user-assistant pairs) to consider in the response context",historyTurnsPlaceholder:"Number of history turns",onlyNeedContext:"Only Need Context",onlyNeedContextTooltip:"If True, only returns the retrieved context without generating a response",onlyNeedPrompt:"Only Need Prompt",onlyNeedPromptTooltip:"If True, only returns the generated prompt without producing a response",streamResponse:"Stream Response",streamResponseTooltip:"If True, enables streaming output for real-time responses",userPrompt:"Additional Output Prompt",userPromptTooltip:"Provide additional response requirements to the LLM (unrelated to query content, only for output processing).",userPromptPlaceholder:"Enter custom prompt (optional)",enableRerank:"Enable Rerank",enableRerankTooltip:"Enable reranking for retrieved text chunks. If True but no rerank model is configured, a warning will be issued. Default is True."}},ap={loading:"Loading API Documentation..."},rp={title:"API Key is required",description:"Please enter your API key to access the service",placeholder:"Enter your API key",save:"Save"},np={showing:"Showing {{start}} to {{end}} of {{total}} entries",page:"Page",pageSize:"Page Size",firstPage:"First Page",prevPage:"Previous Page",nextPage:"Next Page",lastPage:"Last Page"},lp={settings:$7,header:P7,login:J7,common:I7,documentPanel:W7,graphPanel:ep,retrievePanel:tp,apiSite:ap,apiKeyAlert:rp,pagination:np},ip={language:"语言",theme:"主题",light:"浅色",dark:"深色",system:"系统"},up={documents:"文档",knowledgeGraph:"知识图谱",retrieval:"检索",api:"API",projectRepository:"项目仓库",logout:"退出登录",themeToggle:{switchToLight:"切换到浅色主题",switchToDark:"切换到深色主题"}},sp={description:"请输入您的账号和密码登录系统",username:"用户名",usernamePlaceholder:"请输入用户名",password:"密码",passwordPlaceholder:"请输入密码",loginButton:"登录",loggingIn:"登录中...",successMessage:"登录成功",errorEmptyFields:"请输入您的用户名和密码",errorInvalidCredentials:"登录失败，请检查用户名和密码",authDisabled:"认证已禁用，使用无需登陆模式。",guestMode:"无需登陆"},op={cancel:"取消",save:"保存",saving:"保存中...",saveFailed:"保存失败"},cp={clearDocuments:{button:"清空",tooltip:"清空文档",title:"清空文档",description:"此操作将从系统中移除所有文档",warning:"警告：此操作将永久删除所有文档，无法恢复！",confirm:"确定要清空所有文档吗？",confirmPrompt:"请输入 yes 确认操作",confirmPlaceholder:"输入 yes 确认",clearCache:"清空LLM缓存",confirmButton:"确定",clearing:"正在清除...",timeout:"清除操作超时，请重试",success:"文档清空成功",cacheCleared:"缓存清空成功",cacheClearFailed:`清空缓存失败：
{{error}}`,failed:`清空文档失败：
{{message}}`,error:`清空文档失败：
{{error}}`},deleteDocuments:{button:"删除",tooltip:"删除选中的文档",title:"删除文档",description:"此操作将永久删除选中的文档",warning:"警告：此操作将永久删除选中的文档，无法恢复！",confirm:"确定要删除 {{count}} 个选中的文档吗？",confirmPrompt:"请输入 yes 确认操作",confirmPlaceholder:"输入 yes 确认",confirmButton:"确定",deleteFileOption:"同时删除上传文件",deleteFileTooltip:"选中此选项将同时删除服务器上对应的上传文件",success:"文档删除流水线启动成功",failed:`删除文档失败：
{{message}}`,error:`删除文档失败：
{{error}}`,busy:"流水线被占用，请稍后再试",notAllowed:"没有操作权限"},selectDocuments:{selectCurrentPage:"全选当前页 ({{count}})",deselectAll:"取消全选 ({{count}})"},uploadDocuments:{button:"上传",tooltip:"上传文档",title:"上传文档",description:"拖拽文件到此处或点击浏览",single:{uploading:"正在上传 {{name}}：{{percent}}%",success:`上传成功：
{{name}} 上传完成`,failed:`上传失败：
{{name}}
{{message}}`,error:`上传失败：
{{name}}
{{error}}`},batch:{uploading:"正在上传文件...",success:"文件上传完成",error:"部分文件上传失败"},generalError:`上传失败
{{error}}`,fileTypes:"支持的文件类型：TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"一次只能上传一个文件",maxFilesLimit:"最多只能上传 {{count}} 个文件",fileRejected:"文件 {{name}} 被拒绝",unsupportedType:"不支持的文件类型",fileTooLarge:"文件过大，最大允许 {{maxSize}}",dropHere:"将文件拖放到此处",dragAndDrop:"拖放文件到此处，或点击选择文件",removeFile:"移除文件",uploadDescription:"您可以上传{{isMultiple ? '多个' : count}}个文件（每个文件最大{{maxSize}}）",duplicateFile:"文件名与服务器上的缓存重复"}},documentManager:{title:"文档管理",scanButton:"扫描",scanTooltip:"扫描处理输入目录中的文档，同时重新处理所有失败的文档",retryFailedButton:"重试",retryFailedTooltip:"重新处理所有失败的文档",refreshTooltip:"复位文档清单",pipelineStatusButton:"流水线",pipelineStatusTooltip:"查看文档处理流水线状态",uploadedTitle:"已上传文档",uploadedDescription:"已上传文档列表及其状态",emptyTitle:"无文档",emptyDescription:"还没有上传任何文档",columns:{id:"ID",fileName:"文件名",summary:"摘要",status:"状态",length:"长度",chunks:"分块",created:"创建时间",updated:"更新时间",metadata:"元数据",select:"选择"},status:{all:"全部",completed:"已完成",processing:"处理中",pending:"等待中",failed:"失败"},errors:{loadFailed:`加载文档失败
{{error}}`,scanFailed:`扫描文档失败
{{error}}`,scanProgressFailed:`获取扫描进度失败
{{error}}`},fileNameLabel:"文件名",showButton:"显示",hideButton:"隐藏",showFileNameTooltip:"显示文件名",hideFileNameTooltip:"隐藏文件名"},pipelineStatus:{title:"流水线状态",busy:"流水线忙碌",requestPending:"待处理请求",jobName:"作业名称",startTime:"开始时间",progress:"进度",unit:"批",latestMessage:"最新消息",historyMessages:"历史消息",errors:{fetchFailed:`获取流水线状态失败
{{error}}`}}},dp={dataIsTruncated:"图数据已截断至最大返回节点数",statusDialog:{title:"LightRAG 服务器设置",description:"查看当前系统状态和连接信息"},legend:"图例",nodeTypes:{person:"人物角色",category:"分类",geo:"地理名称",location:"位置",organization:"组织机构",event:"事件",equipment:"装备",weapon:"武器",animal:"动物",unknown:"未知",object:"物品",group:"群组",technology:"技术",product:"产品",document:"文档",content:"内容",data:"数据",artifact:"人工制品",concept:"概念",naturalobject:"自然物品",method:"方法",creature:"生物神怪",plant:"植物",disease:"疾病",drug:"药物",food:"食物",other:"其他"},sideBar:{settings:{settings:"设置",healthCheck:"健康检查",showPropertyPanel:"显示属性面板",showSearchBar:"显示搜索栏",showNodeLabel:"显示节点标签",nodeDraggable:"节点可拖动",showEdgeLabel:"显示边标签",hideUnselectedEdges:"隐藏未选中的边",edgeEvents:"边事件",maxQueryDepth:"最大查询深度",maxNodes:"最大返回节点数",maxLayoutIterations:"最大布局迭代次数",resetToDefault:"重置为默认值",edgeSizeRange:"边粗细范围",depth:"深",max:"Max",degree:"邻边",apiKey:"API密钥",enterYourAPIkey:"输入您的API密钥",save:"保存",refreshLayout:"刷新布局"},zoomControl:{zoomIn:"放大",zoomOut:"缩小",resetZoom:"重置缩放",rotateCamera:"顺时针旋转图形",rotateCameraCounterClockwise:"逆时针旋转图形"},layoutsControl:{startAnimation:"继续布局动画",stopAnimation:"停止布局动画",layoutGraph:"图布局",layouts:{Circular:"环形",Circlepack:"圆形打包",Random:"随机",Noverlaps:"无重叠","Force Directed":"力导向","Force Atlas":"力地图"}},fullScreenControl:{fullScreen:"全屏",windowed:"窗口"},legendControl:{toggleLegend:"切换图例显示"}},statusIndicator:{connected:"已连接",disconnected:"未连接"},statusCard:{unavailable:"状态信息不可用",serverInfo:"服务器信息",workingDirectory:"工作目录",inputDirectory:"输入目录",maxParallelInsert:"并行处理文档",summarySettings:"摘要设置",llmConfig:"LLM配置",llmBinding:"LLM绑定",llmBindingHost:"LLM端点",llmModel:"LLM模型",embeddingConfig:"嵌入配置",embeddingBinding:"嵌入绑定",embeddingBindingHost:"嵌入端点",embeddingModel:"嵌入模型",storageConfig:"存储配置",kvStorage:"KV存储",docStatusStorage:"文档状态存储",graphStorage:"图存储",vectorStorage:"向量存储",workspace:"工作空间",maxGraphNodes:"最大图节点数",rerankerConfig:"重排序配置",rerankerBindingHost:"重排序端点",rerankerModel:"重排序模型",lockStatus:"锁状态",threshold:"阈值"},propertiesView:{editProperty:"编辑{{property}}",editPropertyDescription:"在下方文本区域编辑属性值。",errors:{duplicateName:"节点名称已存在",updateFailed:"更新节点失败",tryAgainLater:"请稍后重试"},success:{entityUpdated:"节点更新成功",relationUpdated:"关系更新成功"},node:{title:"节点",id:"ID",labels:"标签",degree:"度数",properties:"属性",relationships:"关系(子图内)",expandNode:"扩展节点",pruneNode:"修剪节点",deleteAllNodesError:"拒绝删除图中的所有节点",nodesRemoved:"已删除 {{count}} 个节点，包括孤立节点",noNewNodes:"没有发现可以扩展的节点",propertyNames:{description:"描述",entity_id:"名称",entity_type:"类型",source_id:"信源ID",Neighbour:"邻接",file_path:"信源",keywords:"Keys",weight:"权重"}},edge:{title:"关系",id:"ID",type:"类型",source:"源节点",target:"目标节点",properties:"属性"}},search:{placeholder:"页面内搜索节点...",message:"还有 {count} 个"},graphLabels:{selectTooltip:"获取节点(标签)子图",noLabels:"未找到匹配的节点",label:"搜索节点名称",placeholder:"搜索节点名称...",andOthers:"还有 {count} 个",refreshGlobalTooltip:"刷新全图数据和重置搜索历史",refreshCurrentLabelTooltip:"刷新当前页面图数据",refreshingTooltip:"正在刷新数据..."},emptyGraph:"无数据(请重载图形数据)"},fp={chatMessage:{copyTooltip:"复制到剪贴板",copyError:"复制文本到剪贴板失败",copyEmpty:"没有内容可复制",copySuccess:"内容已复制到剪贴板",copySuccessLegacy:"内容已复制（传统方法）",copySuccessManual:"内容已复制（手动方法）",copyFailed:"复制内容失败",copyManualInstruction:"请手动选择并复制文本",thinking:"正在思考...",thinkingTime:"思考用时 {{time}} 秒",thinkingInProgress:"思考进行中..."},retrieval:{startPrompt:"输入查询开始检索",clear:"清空",send:"发送",placeholder:"输入查询内容 (支持模式前缀: /<Query Mode>)",error:"错误：获取响应失败",queryModeError:"仅支持以下查询模式：{{modes}}",queryModePrefixInvalid:"无效的查询模式前缀。请使用：/<模式> [空格] 查询内容"},querySettings:{parametersTitle:"参数",parametersDescription:"配置查询参数",queryMode:"查询模式",queryModeTooltip:`选择检索策略：
• Naive：传统文本块向量检索
• Local：侧重实体检索
• Global：侧重关系检索
• Hybrid：Local+Global
• Mix：Local+Global+Naive
• Bypass：跳过检索,把历史会话与当前问题送LLM`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix",bypass:"Bypass"},responseFormat:"响应格式",responseFormatTooltip:`定义响应格式。例如：
• 多段落
• 单段落
• 要点`,responseFormatOptions:{multipleParagraphs:"多段落",singleParagraph:"单段落",bulletPoints:"要点"},topK:"KG Top K",topKTooltip:"实体关系检索数量, 适用于非naive模式",topKPlaceholder:"输入top_k值",chunkTopK:"文本块 Top K",chunkTopKTooltip:"文本块检索数量, 适用于所有模式",chunkTopKPlaceholder:"输入文本块chunk_top_k值",maxEntityTokens:"实体令牌数上限",maxEntityTokensTooltip:"统一令牌控制系统中分配给实体上下文的最大令牌数",maxRelationTokens:"关系令牌数上限",maxRelationTokensTooltip:"统一令牌控制系统中分配给关系上下文的最大令牌数",maxTotalTokens:"总令牌数上限",maxTotalTokensTooltip:"整个查询上下文的最大总令牌预算（实体+关系+文档块+系统提示）",historyTurns:"历史轮次",historyTurnsTooltip:"响应上下文中考虑的完整对话轮次（用户-助手对）数量",historyTurnsPlaceholder:"历史轮次数",onlyNeedContext:"仅需上下文",onlyNeedContextTooltip:"如果为True，仅返回检索到的上下文而不生成响应",onlyNeedPrompt:"仅需提示",onlyNeedPromptTooltip:"如果为True，仅返回生成的提示而不产生响应",streamResponse:"流式响应",streamResponseTooltip:"如果为True，启用实时流式输出响应",userPrompt:"附加输出提示词",userPromptTooltip:"向LLM提供额外的响应要求（与查询内容无关，仅用于处理输出）。",userPromptPlaceholder:"输入自定义提示词（可选）",enableRerank:"启用重排",enableRerankTooltip:"为检索到的文本块启用重排。如果为True但未配置重排模型，将发出警告。默认为True。"}},hp={loading:"正在加载 API 文档..."},mp={title:"需要 API Key",description:"请输入您的 API Key 以访问服务",placeholder:"请输入 API Key",save:"保存"},pp={showing:"显示第 {{start}} 到 {{end}} 条，共 {{total}} 条记录",page:"页",pageSize:"每页显示",firstPage:"首页",prevPage:"上一页",nextPage:"下一页",lastPage:"末页"},gp={settings:ip,header:up,login:sp,common:op,documentPanel:cp,graphPanel:dp,retrievePanel:fp,apiSite:hp,apiKeyAlert:mp,pagination:pp},vp={language:"Langue",theme:"Thème",light:"Clair",dark:"Sombre",system:"Système"},yp={documents:"Documents",knowledgeGraph:"Graphe de connaissances",retrieval:"Récupération",api:"API",projectRepository:"Référentiel du projet",logout:"Déconnexion",themeToggle:{switchToLight:"Passer au thème clair",switchToDark:"Passer au thème sombre"}},bp={description:"Veuillez entrer votre compte et mot de passe pour vous connecter au système",username:"Nom d'utilisateur",usernamePlaceholder:"Veuillez saisir un nom d'utilisateur",password:"Mot de passe",passwordPlaceholder:"Veuillez saisir un mot de passe",loginButton:"Connexion",loggingIn:"Connexion en cours...",successMessage:"Connexion réussie",errorEmptyFields:"Veuillez saisir votre nom d'utilisateur et mot de passe",errorInvalidCredentials:"Échec de la connexion, veuillez vérifier le nom d'utilisateur et le mot de passe",authDisabled:"L'authentification est désactivée. Utilisation du mode sans connexion.",guestMode:"Mode sans connexion"},xp={cancel:"Annuler",save:"Sauvegarder",saving:"Sauvegarde en cours...",saveFailed:"Échec de la sauvegarde"},Sp={clearDocuments:{button:"Effacer",tooltip:"Effacer les documents",title:"Effacer les documents",description:"Cette action supprimera tous les documents du système",warning:"ATTENTION : Cette action supprimera définitivement tous les documents et ne peut pas être annulée !",confirm:"Voulez-vous vraiment effacer tous les documents ?",confirmPrompt:"Tapez 'yes' pour confirmer cette action",confirmPlaceholder:"Tapez yes pour confirmer",clearCache:"Effacer le cache LLM",confirmButton:"OUI",clearing:"Effacement en cours...",timeout:"L'opération d'effacement a expiré, veuillez réessayer",success:"Documents effacés avec succès",cacheCleared:"Cache effacé avec succès",cacheClearFailed:`Échec de l'effacement du cache :
{{error}}`,failed:`Échec de l'effacement des documents :
{{message}}`,error:`Échec de l'effacement des documents :
{{error}}`},deleteDocuments:{button:"Supprimer",tooltip:"Supprimer les documents sélectionnés",title:"Supprimer les documents",description:"Cette action supprimera définitivement les documents sélectionnés du système",warning:"ATTENTION : Cette action supprimera définitivement les documents sélectionnés et ne peut pas être annulée !",confirm:"Voulez-vous vraiment supprimer {{count}} document(s) sélectionné(s) ?",confirmPrompt:"Tapez 'yes' pour confirmer cette action",confirmPlaceholder:"Tapez yes pour confirmer",confirmButton:"OUI",deleteFileOption:"Supprimer également les fichiers téléchargés",deleteFileTooltip:"Cochez cette option pour supprimer également les fichiers téléchargés correspondants sur le serveur",success:"Pipeline de suppression de documents démarré avec succès",failed:`Échec de la suppression des documents :
{{message}}`,error:`Échec de la suppression des documents :
{{error}}`,busy:"Le pipeline est occupé, veuillez réessayer plus tard",notAllowed:"Aucune autorisation pour effectuer cette opération"},selectDocuments:{selectCurrentPage:"Sélectionner la page actuelle ({{count}})",deselectAll:"Tout désélectionner ({{count}})"},uploadDocuments:{button:"Télécharger",tooltip:"Télécharger des documents",title:"Télécharger des documents",description:"Glissez-déposez vos documents ici ou cliquez pour parcourir.",single:{uploading:"Téléchargement de {{name}} : {{percent}}%",success:`Succès du téléchargement :
{{name}} téléchargé avec succès`,failed:`Échec du téléchargement :
{{name}}
{{message}}`,error:`Échec du téléchargement :
{{name}}
{{error}}`},batch:{uploading:"Téléchargement des fichiers...",success:"Fichiers téléchargés avec succès",error:"Certains fichiers n'ont pas pu être téléchargés"},generalError:`Échec du téléchargement
{{error}}`,fileTypes:"Types pris en charge : TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"Impossible de télécharger plus d'un fichier à la fois",maxFilesLimit:"Impossible de télécharger plus de {{count}} fichiers",fileRejected:"Le fichier {{name}} a été rejeté",unsupportedType:"Type de fichier non pris en charge",fileTooLarge:"Fichier trop volumineux, taille maximale {{maxSize}}",dropHere:"Déposez les fichiers ici",dragAndDrop:"Glissez et déposez les fichiers ici, ou cliquez pour sélectionner",removeFile:"Supprimer le fichier",uploadDescription:"Vous pouvez télécharger {{isMultiple ? 'plusieurs' : count}} fichiers (jusqu'à {{maxSize}} chacun)",duplicateFile:"Le nom du fichier existe déjà dans le cache du serveur"}},documentManager:{title:"Gestion des documents",scanButton:"Scanner",scanTooltip:"Scanner et traiter les documents dans le dossier d'entrée, et retraiter également tous les documents échoués",retryFailedButton:"Réessayer",retryFailedTooltip:"Réessayer le traitement de tous les documents échoués",refreshTooltip:"Réinitialiser la liste des documents",pipelineStatusButton:"Pipeline",pipelineStatusTooltip:"Voir l'état du pipeline de traitement des documents",uploadedTitle:"Documents téléchargés",uploadedDescription:"Liste des documents téléchargés et leurs statuts.",emptyTitle:"Aucun document",emptyDescription:"Il n'y a pas encore de documents téléchargés.",columns:{id:"ID",fileName:"Nom du fichier",summary:"Résumé",status:"Statut",length:"Longueur",chunks:"Fragments",created:"Créé",updated:"Mis à jour",metadata:"Métadonnées",select:"Sélectionner"},status:{all:"Tous",completed:"Terminé",processing:"En traitement",pending:"En attente",failed:"Échoué"},errors:{loadFailed:`Échec du chargement des documents
{{error}}`,scanFailed:`Échec de la numérisation des documents
{{error}}`,scanProgressFailed:`Échec de l'obtention de la progression de la numérisation
{{error}}`},fileNameLabel:"Nom du fichier",showButton:"Afficher",hideButton:"Masquer",showFileNameTooltip:"Afficher le nom du fichier",hideFileNameTooltip:"Masquer le nom du fichier"},pipelineStatus:{title:"État du Pipeline",busy:"Pipeline occupé",requestPending:"Requête en attente",jobName:"Nom du travail",startTime:"Heure de début",progress:"Progression",unit:"lot",latestMessage:"Dernier message",historyMessages:"Historique des messages",errors:{fetchFailed:`Échec de la récupération de l'état du pipeline
{{error}}`}}},Tp={dataIsTruncated:"Les données du graphe sont tronquées au nombre maximum de nœuds",statusDialog:{title:"Paramètres du Serveur LightRAG",description:"Afficher l'état actuel du système et les informations de connexion"},legend:"Légende",nodeTypes:{person:"Personne",category:"Catégorie",geo:"Géographique",location:"Emplacement",organization:"Organisation",event:"Événement",equipment:"Équipement",weapon:"Arme",animal:"Animal",unknown:"Inconnu",object:"Objet",group:"Groupe",technology:"Technologie",product:"Produit",document:"Document",content:"Contenu",data:"Données",artifact:"Artefact",concept:"Concept",naturalobject:"Objet naturel",method:"Méthode",creature:"Créature",plant:"Plante",disease:"Maladie",drug:"Médicament",food:"Nourriture",other:"Autre"},sideBar:{settings:{settings:"Paramètres",healthCheck:"Vérification de l'état",showPropertyPanel:"Afficher le panneau des propriétés",showSearchBar:"Afficher la barre de recherche",showNodeLabel:"Afficher l'étiquette du nœud",nodeDraggable:"Nœud déplaçable",showEdgeLabel:"Afficher l'étiquette de l'arête",hideUnselectedEdges:"Masquer les arêtes non sélectionnées",edgeEvents:"Événements des arêtes",maxQueryDepth:"Profondeur maximale de la requête",maxNodes:"Nombre maximum de nœuds",maxLayoutIterations:"Itérations maximales de mise en page",resetToDefault:"Réinitialiser par défaut",edgeSizeRange:"Plage de taille des arêtes",depth:"D",max:"Max",degree:"Degré",apiKey:"Clé API",enterYourAPIkey:"Entrez votre clé API",save:"Sauvegarder",refreshLayout:"Actualiser la mise en page"},zoomControl:{zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetZoom:"Réinitialiser le zoom",rotateCamera:"Rotation horaire",rotateCameraCounterClockwise:"Rotation antihoraire"},layoutsControl:{startAnimation:"Démarrer l'animation de mise en page",stopAnimation:"Arrêter l'animation de mise en page",layoutGraph:"Mettre en page le graphe",layouts:{Circular:"Circulaire",Circlepack:"Paquet circulaire",Random:"Aléatoire",Noverlaps:"Sans chevauchement","Force Directed":"Dirigé par la force","Force Atlas":"Atlas de force"}},fullScreenControl:{fullScreen:"Plein écran",windowed:"Fenêtré"},legendControl:{toggleLegend:"Basculer la légende"}},statusIndicator:{connected:"Connecté",disconnected:"Déconnecté"},statusCard:{unavailable:"Informations sur l'état indisponibles",serverInfo:"Informations du serveur",workingDirectory:"Répertoire de travail",inputDirectory:"Répertoire d'entrée",maxParallelInsert:"Traitement simultané des documents",summarySettings:"Paramètres de résumé",llmConfig:"Configuration du modèle de langage",llmBinding:"Liaison du modèle de langage",llmBindingHost:"Point de terminaison LLM",llmModel:"Modèle de langage",embeddingConfig:"Configuration d'incorporation",embeddingBinding:"Liaison d'incorporation",embeddingBindingHost:"Point de terminaison d'incorporation",embeddingModel:"Modèle d'incorporation",storageConfig:"Configuration de stockage",kvStorage:"Stockage clé-valeur",docStatusStorage:"Stockage de l'état des documents",graphStorage:"Stockage du graphe",vectorStorage:"Stockage vectoriel",workspace:"Espace de travail",maxGraphNodes:"Nombre maximum de nœuds du graphe",rerankerConfig:"Configuration du reclassement",rerankerBindingHost:"Point de terminaison de reclassement",rerankerModel:"Modèle de reclassement",lockStatus:"État des verrous",threshold:"Seuil"},propertiesView:{editProperty:"Modifier {{property}}",editPropertyDescription:"Modifiez la valeur de la propriété dans la zone de texte ci-dessous.",errors:{duplicateName:"Le nom du nœud existe déjà",updateFailed:"Échec de la mise à jour du nœud",tryAgainLater:"Veuillez réessayer plus tard"},success:{entityUpdated:"Nœud mis à jour avec succès",relationUpdated:"Relation mise à jour avec succès"},node:{title:"Nœud",id:"ID",labels:"Étiquettes",degree:"Degré",properties:"Propriétés",relationships:"Relations(dans le sous-graphe)",expandNode:"Développer le nœud",pruneNode:"Élaguer le nœud",deleteAllNodesError:"Refus de supprimer tous les nœuds du graphe",nodesRemoved:"{{count}} nœuds supprimés, y compris les nœuds orphelins",noNewNodes:"Aucun nœud développable trouvé",propertyNames:{description:"Description",entity_id:"Nom",entity_type:"Type",source_id:"ID source",Neighbour:"Voisin",file_path:"Source",keywords:"Keys",weight:"Poids"}},edge:{title:"Relation",id:"ID",type:"Type",source:"Source",target:"Cible",properties:"Propriétés"}},search:{placeholder:"Rechercher des nœuds dans la page...",message:"Et {{count}} autres"},graphLabels:{selectTooltip:"Obtenir le sous-graphe d'un nœud (étiquette)",noLabels:"Aucun nœud correspondant trouvé",label:"Rechercher le nom du nœud",placeholder:"Rechercher le nom du nœud...",andOthers:"Et {{count}} autres",refreshGlobalTooltip:"Actualiser les données du graphe global et réinitialiser l'historique de recherche",refreshCurrentLabelTooltip:"Actualiser les données du graphe de la page actuelle",refreshingTooltip:"Actualisation des données en cours..."},emptyGraph:"Vide (Essayez de recharger)"},wp={chatMessage:{copyTooltip:"Copier dans le presse-papiers",copyError:"Échec de la copie du texte dans le presse-papiers",copyEmpty:"Aucun contenu à copier",copySuccess:"Contenu copié dans le presse-papiers",copySuccessLegacy:"Contenu copié (méthode héritée)",copySuccessManual:"Contenu copié (méthode manuelle)",copyFailed:"Échec de la copie du contenu",copyManualInstruction:"Veuillez sélectionner et copier le texte manuellement",thinking:"Réflexion en cours...",thinkingTime:"Temps de réflexion {{time}}s",thinkingInProgress:"Réflexion en cours..."},retrieval:{startPrompt:"Démarrez une récupération en tapant votre requête ci-dessous",clear:"Effacer",send:"Envoyer",placeholder:"Tapez votre requête (Préfixe de requête : /<Query Mode>)",error:"Erreur : Échec de l'obtention de la réponse",queryModeError:"Seuls les modes de requête suivants sont pris en charge : {{modes}}",queryModePrefixInvalid:"Préfixe de mode de requête invalide. Utilisez : /<mode> [espace] votre requête"},querySettings:{parametersTitle:"Paramètres",parametersDescription:"Configurez vos paramètres de requête",queryMode:"Mode de requête",queryModeTooltip:`Sélectionnez la stratégie de récupération :
• Naïf : Récupération vectorielle traditionnelle par blocs de texte
• Local : Axé sur la récupération d'entités
• Global : Axé sur la récupération de relations
• Hybride : Local+Global
• Mixte : Local+Global+Naïf
• Bypass : Ignorer la récupération, envoyer l'historique de conversation et la question actuelle au LLM`,queryModeOptions:{naive:"Naïf",local:"Local",global:"Global",hybrid:"Hybride",mix:"Mixte",bypass:"Bypass"},responseFormat:"Format de réponse",responseFormatTooltip:`Définit le format de la réponse. Exemples :
• Plusieurs paragraphes
• Paragraphe unique
• Points à puces`,responseFormatOptions:{multipleParagraphs:"Plusieurs paragraphes",singleParagraph:"Paragraphe unique",bulletPoints:"Points à puces"},topK:"KG Top K",topKTooltip:"Nombre d'entités et de relations à récupérer. Applicable pour les modes non-naïfs.",topKPlaceholder:"Entrez la valeur top_k",chunkTopK:"Top K des Chunks",chunkTopKTooltip:"Nombre de morceaux de texte à récupérer, applicable à tous les modes.",chunkTopKPlaceholder:"Entrez la valeur chunk_top_k",maxEntityTokens:"Limite de jetons d'entité",maxEntityTokensTooltip:"Nombre maximum de jetons alloués au contexte d'entité dans le système de contrôle de jetons unifié",maxRelationTokens:"Limite de jetons de relation",maxRelationTokensTooltip:"Nombre maximum de jetons alloués au contexte de relation dans le système de contrôle de jetons unifié",maxTotalTokens:"Limite totale de jetons",maxTotalTokensTooltip:"Budget total maximum de jetons pour l'ensemble du contexte de requête (entités + relations + blocs + prompt système)",historyTurns:"Tours d'historique",historyTurnsTooltip:"Nombre de tours complets de conversation (paires utilisateur-assistant) à prendre en compte dans le contexte de la réponse",historyTurnsPlaceholder:"Nombre de tours d'historique",onlyNeedContext:"Besoin uniquement du contexte",onlyNeedContextTooltip:"Si vrai, ne renvoie que le contexte récupéré sans générer de réponse",onlyNeedPrompt:"Besoin uniquement de l'invite",onlyNeedPromptTooltip:"Si vrai, ne renvoie que l'invite générée sans produire de réponse",streamResponse:"Réponse en flux",streamResponseTooltip:"Si vrai, active la sortie en flux pour des réponses en temps réel",userPrompt:"Invite de sortie supplémentaire",userPromptTooltip:"Fournir des exigences de réponse supplémentaires au LLM (sans rapport avec le contenu de la requête, uniquement pour le traitement de sortie).",userPromptPlaceholder:"Entrez une invite personnalisée (facultatif)",enableRerank:"Activer le Reclassement",enableRerankTooltip:"Active le reclassement pour les fragments de texte récupérés. Si True mais qu'aucun modèle de reclassement n'est configuré, un avertissement sera émis. True par défaut."}},Ap={loading:"Chargement de la documentation de l'API..."},Mp={title:"Clé API requise",description:"Veuillez entrer votre clé API pour accéder au service",placeholder:"Entrez votre clé API",save:"Sauvegarder"},zp={showing:"Affichage de {{start}} à {{end}} sur {{total}} entrées",page:"Page",pageSize:"Taille de la page",firstPage:"Première page",prevPage:"Page précédente",nextPage:"Page suivante",lastPage:"Dernière page"},kp={settings:vp,header:yp,login:bp,common:xp,documentPanel:Sp,graphPanel:Tp,retrievePanel:wp,apiSite:Ap,apiKeyAlert:Mp,pagination:zp},Dp={language:"اللغة",theme:"السمة",light:"فاتح",dark:"داكن",system:"النظام"},Np={documents:"المستندات",knowledgeGraph:"شبكة المعرفة",retrieval:"الاسترجاع",api:"واجهة برمجة التطبيقات",projectRepository:"مستودع المشروع",logout:"تسجيل الخروج",themeToggle:{switchToLight:"التحويل إلى السمة الفاتحة",switchToDark:"التحويل إلى السمة الداكنة"}},Ep={description:"الرجاء إدخال حسابك وكلمة المرور لتسجيل الدخول إلى النظام",username:"اسم المستخدم",usernamePlaceholder:"الرجاء إدخال اسم المستخدم",password:"كلمة المرور",passwordPlaceholder:"الرجاء إدخال كلمة المرور",loginButton:"تسجيل الدخول",loggingIn:"جاري تسجيل الدخول...",successMessage:"تم تسجيل الدخول بنجاح",errorEmptyFields:"الرجاء إدخال اسم المستخدم وكلمة المرور",errorInvalidCredentials:"فشل تسجيل الدخول، يرجى التحقق من اسم المستخدم وكلمة المرور",authDisabled:"تم تعطيل المصادقة. استخدام وضع بدون تسجيل دخول.",guestMode:"وضع بدون تسجيل دخول"},Cp={cancel:"إلغاء",save:"حفظ",saving:"جارٍ الحفظ...",saveFailed:"فشل الحفظ"},_p={clearDocuments:{button:"مسح",tooltip:"مسح المستندات",title:"مسح المستندات",description:"سيؤدي هذا إلى إزالة جميع المستندات من النظام",warning:"تحذير: سيؤدي هذا الإجراء إلى حذف جميع المستندات بشكل دائم ولا يمكن التراجع عنه!",confirm:"هل تريد حقًا مسح جميع المستندات؟",confirmPrompt:"اكتب 'yes' لتأكيد هذا الإجراء",confirmPlaceholder:"اكتب yes للتأكيد",clearCache:"مسح كاش نموذج اللغة",confirmButton:"نعم",clearing:"جارٍ المسح...",timeout:"انتهت مهلة عملية المسح، يرجى المحاولة مرة أخرى",success:"تم مسح المستندات بنجاح",cacheCleared:"تم مسح ذاكرة التخزين المؤقت بنجاح",cacheClearFailed:`فشل مسح ذاكرة التخزين المؤقت:
{{error}}`,failed:`فشل مسح المستندات:
{{message}}`,error:`فشل مسح المستندات:
{{error}}`},deleteDocuments:{button:"حذف",tooltip:"حذف المستندات المحددة",title:"حذف المستندات",description:"سيؤدي هذا إلى حذف المستندات المحددة نهائيًا من النظام",warning:"تحذير: سيؤدي هذا الإجراء إلى حذف المستندات المحددة نهائيًا ولا يمكن التراجع عنه!",confirm:"هل تريد حقًا حذف {{count}} مستند(ات) محدد(ة)؟",confirmPrompt:"اكتب 'yes' لتأكيد هذا الإجراء",confirmPlaceholder:"اكتب yes للتأكيد",confirmButton:"نعم",deleteFileOption:"حذف الملفات المرفوعة أيضًا",deleteFileTooltip:"حدد هذا الخيار لحذف الملفات المرفوعة المقابلة على الخادم أيضًا",success:"تم بدء تشغيل خط معالجة حذف المستندات بنجاح",failed:`فشل حذف المستندات:
{{message}}`,error:`فشل حذف المستندات:
{{error}}`,busy:"خط المعالجة مشغول، يرجى المحاولة مرة أخرى لاحقًا",notAllowed:"لا توجد صلاحية لتنفيذ هذه العملية"},selectDocuments:{selectCurrentPage:"تحديد الصفحة الحالية ({{count}})",deselectAll:"إلغاء تحديد الكل ({{count}})"},uploadDocuments:{button:"رفع",tooltip:"رفع المستندات",title:"رفع المستندات",description:"اسحب وأفلت مستنداتك هنا أو انقر للتصفح.",single:{uploading:"جارٍ الرفع {{name}}: {{percent}}%",success:`نجاح الرفع:
تم رفع {{name}} بنجاح`,failed:`فشل الرفع:
{{name}}
{{message}}`,error:`فشل الرفع:
{{name}}
{{error}}`},batch:{uploading:"جارٍ رفع الملفات...",success:"تم رفع الملفات بنجاح",error:"فشل رفع بعض الملفات"},generalError:`فشل الرفع
{{error}}`,fileTypes:"الأنواع المدعومة: TXT، MD، DOCX، PDF، PPTX، XLSX، RTF، ODT، EPUB، HTML، HTM، TEX، JSON، XML، YAML، YML، CSV، LOG، CONF، INI، PROPERTIES، SQL، BAT، SH، C، CPP، PY، JAVA، JS، TS، SWIFT، GO، RB، PHP، CSS، SCSS، LESS",fileUploader:{singleFileLimit:"لا يمكن رفع أكثر من ملف واحد في المرة الواحدة",maxFilesLimit:"لا يمكن رفع أكثر من {{count}} ملفات",fileRejected:"تم رفض الملف {{name}}",unsupportedType:"نوع الملف غير مدعوم",fileTooLarge:"حجم الملف كبير جدًا، الحد الأقصى {{maxSize}}",dropHere:"أفلت الملفات هنا",dragAndDrop:"اسحب وأفلت الملفات هنا، أو انقر للاختيار",removeFile:"إزالة الملف",uploadDescription:"يمكنك رفع {{isMultiple ? 'عدة' : count}} ملفات (حتى {{maxSize}} لكل منها)",duplicateFile:"اسم الملف موجود بالفعل في ذاكرة التخزين المؤقت للخادم"}},documentManager:{title:"إدارة المستندات",scanButton:"مسح ضوئي",scanTooltip:"مسح ومعالجة المستندات في مجلد الإدخال، وإعادة معالجة جميع المستندات الفاشلة أيضًا",retryFailedButton:"إعادة المحاولة",retryFailedTooltip:"إعادة معالجة جميع المستندات الفاشلة",refreshTooltip:"إعادة تعيين قائمة المستندات",pipelineStatusButton:"خط المعالجة",pipelineStatusTooltip:"عرض حالة خط معالجة المستندات",uploadedTitle:"المستندات المرفوعة",uploadedDescription:"قائمة المستندات المرفوعة وحالاتها.",emptyTitle:"لا توجد مستندات",emptyDescription:"لا توجد مستندات مرفوعة بعد.",columns:{id:"المعرف",fileName:"اسم الملف",summary:"الملخص",status:"الحالة",length:"الطول",chunks:"الأجزاء",created:"تم الإنشاء",updated:"تم التحديث",metadata:"البيانات الوصفية",select:"اختيار"},status:{all:"الكل",completed:"مكتمل",processing:"قيد المعالجة",pending:"معلق",failed:"فشل"},errors:{loadFailed:`فشل تحميل المستندات
{{error}}`,scanFailed:`فشل مسح المستندات
{{error}}`,scanProgressFailed:`فشل الحصول على تقدم المسح
{{error}}`},fileNameLabel:"اسم الملف",showButton:"عرض",hideButton:"إخفاء",showFileNameTooltip:"عرض اسم الملف",hideFileNameTooltip:"إخفاء اسم الملف"},pipelineStatus:{title:"حالة خط المعالجة",busy:"خط المعالجة مشغول",requestPending:"الطلب معلق",jobName:"اسم المهمة",startTime:"وقت البدء",progress:"التقدم",unit:"دفعة",latestMessage:"آخر رسالة",historyMessages:"سجل الرسائل",errors:{fetchFailed:`فشل في جلب حالة خط المعالجة
{{error}}`}}},qp={dataIsTruncated:"تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد",statusDialog:{title:"إعدادات خادم LightRAG",description:"عرض حالة النظام الحالية ومعلومات الاتصال"},legend:"المفتاح",nodeTypes:{person:"شخص",category:"فئة",geo:"كيان جغرافي",location:"موقع",organization:"منظمة",event:"حدث",equipment:"معدات",weapon:"سلاح",animal:"حيوان",unknown:"غير معروف",object:"مصنوع",group:"مجموعة",technology:"العلوم",product:"منتج",document:"وثيقة",content:"محتوى",data:"بيانات",artifact:"قطعة أثرية",concept:"مفهوم",naturalobject:"كائن طبيعي",method:"عملية",creature:"مخلوق",plant:"نبات",disease:"مرض",drug:"دواء",food:"طعام",other:"أخرى"},sideBar:{settings:{settings:"الإعدادات",healthCheck:"فحص الحالة",showPropertyPanel:"إظهار لوحة الخصائص",showSearchBar:"إظهار شريط البحث",showNodeLabel:"إظهار تسمية العقدة",nodeDraggable:"العقدة قابلة للسحب",showEdgeLabel:"إظهار تسمية الحافة",hideUnselectedEdges:"إخفاء الحواف غير المحددة",edgeEvents:"أحداث الحافة",maxQueryDepth:"أقصى عمق للاستعلام",maxNodes:"الحد الأقصى للعقد",maxLayoutIterations:"أقصى تكرارات التخطيط",resetToDefault:"إعادة التعيين إلى الافتراضي",edgeSizeRange:"نطاق حجم الحافة",depth:"D",max:"Max",degree:"الدرجة",apiKey:"مفتاح واجهة برمجة التطبيقات",enterYourAPIkey:"أدخل مفتاح واجهة برمجة التطبيقات الخاص بك",save:"حفظ",refreshLayout:"تحديث التخطيط"},zoomControl:{zoomIn:"تكبير",zoomOut:"تصغير",resetZoom:"إعادة تعيين التكبير",rotateCamera:"تدوير في اتجاه عقارب الساعة",rotateCameraCounterClockwise:"تدوير عكس اتجاه عقارب الساعة"},layoutsControl:{startAnimation:"بدء حركة التخطيط",stopAnimation:"إيقاف حركة التخطيط",layoutGraph:"تخطيط الرسم البياني",layouts:{Circular:"دائري",Circlepack:"حزمة دائرية",Random:"عشوائي",Noverlaps:"بدون تداخل","Force Directed":"موجه بالقوة","Force Atlas":"أطلس القوة"}},fullScreenControl:{fullScreen:"شاشة كاملة",windowed:"نوافذ"},legendControl:{toggleLegend:"تبديل المفتاح"}},statusIndicator:{connected:"متصل",disconnected:"غير متصل"},statusCard:{unavailable:"معلومات الحالة غير متوفرة",serverInfo:"معلومات الخادم",workingDirectory:"دليل العمل",inputDirectory:"دليل الإدخال",maxParallelInsert:"معالجة المستندات المتزامنة",summarySettings:"إعدادات الملخص",llmConfig:"تكوين نموذج اللغة الكبير",llmBinding:"ربط نموذج اللغة الكبير",llmBindingHost:"نقطة نهاية نموذج اللغة الكبير",llmModel:"نموذج اللغة الكبير",embeddingConfig:"تكوين التضمين",embeddingBinding:"ربط التضمين",embeddingBindingHost:"نقطة نهاية التضمين",embeddingModel:"نموذج التضمين",storageConfig:"تكوين التخزين",kvStorage:"تخزين المفتاح-القيمة",docStatusStorage:"تخزين حالة المستند",graphStorage:"تخزين الرسم البياني",vectorStorage:"تخزين المتجهات",workspace:"مساحة العمل",maxGraphNodes:"الحد الأقصى لعقد الرسم البياني",rerankerConfig:"تكوين إعادة الترتيب",rerankerBindingHost:"نقطة نهاية إعادة الترتيب",rerankerModel:"نموذج إعادة الترتيب",lockStatus:"حالة القفل",threshold:"العتبة"},propertiesView:{editProperty:"تعديل {{property}}",editPropertyDescription:"قم بتحرير قيمة الخاصية في منطقة النص أدناه.",errors:{duplicateName:"اسم العقدة موجود بالفعل",updateFailed:"فشل تحديث العقدة",tryAgainLater:"يرجى المحاولة مرة أخرى لاحقًا"},success:{entityUpdated:"تم تحديث العقدة بنجاح",relationUpdated:"تم تحديث العلاقة بنجاح"},node:{title:"عقدة",id:"المعرف",labels:"التسميات",degree:"الدرجة",properties:"الخصائص",relationships:"العلاقات (داخل الرسم الفرعي)",expandNode:"توسيع العقدة",pruneNode:"تقليم العقدة",deleteAllNodesError:"رفض حذف جميع العقد في الرسم البياني",nodesRemoved:"تم إزالة {{count}} عقدة، بما في ذلك العقد اليتيمة",noNewNodes:"لم يتم العثور على عقد قابلة للتوسيع",propertyNames:{description:"الوصف",entity_id:"الاسم",entity_type:"النوع",source_id:"معرف المصدر",Neighbour:"الجار",file_path:"المصدر",keywords:"الكلمات الرئيسية",weight:"الوزن"}},edge:{title:"علاقة",id:"المعرف",type:"النوع",source:"المصدر",target:"الهدف",properties:"الخصائص"}},search:{placeholder:"ابحث في العقد في الصفحة...",message:"و {{count}} آخرون"},graphLabels:{selectTooltip:"الحصول على الرسم البياني الفرعي لعقدة (تسمية)",noLabels:"لم يتم العثور على عقد مطابقة",label:"البحث عن اسم العقدة",placeholder:"البحث عن اسم العقدة...",andOthers:"و {{count}} آخرون",refreshGlobalTooltip:"تحديث بيانات الرسم البياني العالمي وإعادة تعيين سجل البحث",refreshCurrentLabelTooltip:"تحديث بيانات الرسم البياني للصفحة الحالية",refreshingTooltip:"جارٍ تحديث البيانات..."},emptyGraph:"فارغ (حاول إعادة التحميل)"},Bp={chatMessage:{copyTooltip:"نسخ إلى الحافظة",copyError:"فشل نسخ النص إلى الحافظة",copyEmpty:"لا يوجد محتوى للنسخ",copySuccess:"تم نسخ المحتوى إلى الحافظة",copySuccessLegacy:"تم نسخ المحتوى (الطريقة التقليدية)",copySuccessManual:"تم نسخ المحتوى (الطريقة اليدوية)",copyFailed:"فشل نسخ المحتوى",copyManualInstruction:"يرجى تحديد ونسخ النص يدوياً",thinking:"جاري التفكير...",thinkingTime:"وقت التفكير {{time}} ثانية",thinkingInProgress:"التفكير قيد التقدم..."},retrieval:{startPrompt:"ابدأ الاسترجاع بكتابة استفسارك أدناه",clear:"مسح",send:"إرسال",placeholder:"اكتب استفسارك (بادئة وضع الاستعلام: /<Query Mode>)",error:"خطأ: فشل الحصول على الرد",queryModeError:"يُسمح فقط بأنماط الاستعلام التالية: {{modes}}",queryModePrefixInvalid:"بادئة وضع الاستعلام غير صالحة. استخدم: /<الوضع> [مسافة] استفسارك"},querySettings:{parametersTitle:"المعلمات",parametersDescription:"تكوين معلمات الاستعلام الخاص بك",queryMode:"وضع الاستعلام",queryModeTooltip:`حدد استراتيجية الاسترجاع:
• ساذج: استرجاع متجهي تقليدي لقطع النص
• محلي: يركز على استرجاع الكيانات
• عالمي: يركز على استرجاع العلاقات
• مختلط: محلي+عالمي
• مزيج: محلي+عالمي+ساذج
• تجاوز: تخطي الاسترجاع، إرسال تاريخ المحادثة والسؤال الحالي إلى LLM`,queryModeOptions:{naive:"ساذج",local:"محلي",global:"عالمي",hybrid:"مختلط",mix:"مزيج",bypass:"تجاوز"},responseFormat:"تنسيق الرد",responseFormatTooltip:`يحدد تنسيق الرد. أمثلة:
• فقرات متعددة
• فقرة واحدة
• نقاط نقطية`,responseFormatOptions:{multipleParagraphs:"فقرات متعددة",singleParagraph:"فقرة واحدة",bulletPoints:"نقاط نقطية"},topK:"KG أعلى K",topKTooltip:"عدد الكيانات والعلاقات المطلوب استردادها، لا ينطبق على الوضع наивный.",topKPlaceholder:"أدخل قيمة top_k",chunkTopK:"أعلى K للقطع",chunkTopKTooltip:"عدد أجزاء النص المطلوب استردادها، وينطبق على جميع الأوضاع.",chunkTopKPlaceholder:"أدخل قيمة chunk_top_k",maxEntityTokens:"الحد الأقصى لرموز الكيان",maxEntityTokensTooltip:"الحد الأقصى لعدد الرموز المخصصة لسياق الكيان في نظام التحكم الموحد في الرموز",maxRelationTokens:"الحد الأقصى لرموز العلاقة",maxRelationTokensTooltip:"الحد الأقصى لعدد الرموز المخصصة لسياق العلاقة في نظام التحكم الموحد في الرموز",maxTotalTokens:"إجمالي الحد الأقصى للرموز",maxTotalTokensTooltip:"الحد الأقصى الإجمالي لميزانية الرموز لسياق الاستعلام بالكامل (الكيانات + العلاقات + الأجزاء + موجه النظام)",historyTurns:"أدوار التاريخ",historyTurnsTooltip:"عدد الدورات الكاملة للمحادثة (أزواج المستخدم-المساعد) التي يجب مراعاتها في سياق الرد",historyTurnsPlaceholder:"عدد دورات التاريخ",onlyNeedContext:"تحتاج فقط إلى السياق",onlyNeedContextTooltip:"إذا كان صحيحًا، يتم إرجاع السياق المسترجع فقط دون إنشاء رد",onlyNeedPrompt:"تحتاج فقط إلى المطالبة",onlyNeedPromptTooltip:"إذا كان صحيحًا، يتم إرجاع المطالبة المولدة فقط دون إنتاج رد",streamResponse:"تدفق الرد",streamResponseTooltip:"إذا كان صحيحًا، يتيح إخراج التدفق للردود في الوقت الفعلي",userPrompt:"مطالبة إخراج إضافية",userPromptTooltip:"تقديم متطلبات استجابة إضافية إلى نموذج اللغة الكبير (غير متعلقة بمحتوى الاستعلام، فقط لمعالجة المخرجات).",userPromptPlaceholder:"أدخل مطالبة مخصصة (اختياري)",enableRerank:"تمكين إعادة الترتيب",enableRerankTooltip:"تمكين إعادة ترتيب أجزاء النص المسترجعة. إذا كان True ولكن لم يتم تكوين نموذج إعادة الترتيب، فسيتم إصدار تحذير. افتراضي True."}},Op={loading:"جارٍ تحميل وثائق واجهة برمجة التطبيقات..."},Rp={title:"مفتاح واجهة برمجة التطبيقات مطلوب",description:"الرجاء إدخال مفتاح واجهة برمجة التطبيقات للوصول إلى الخدمة",placeholder:"أدخل مفتاح واجهة برمجة التطبيقات",save:"حفظ"},Lp={showing:"عرض {{start}} إلى {{end}} من أصل {{total}} إدخالات",page:"الصفحة",pageSize:"حجم الصفحة",firstPage:"الصفحة الأولى",prevPage:"الصفحة السابقة",nextPage:"الصفحة التالية",lastPage:"الصفحة الأخيرة"},Hp={settings:Dp,header:Np,login:Ep,common:Cp,documentPanel:_p,graphPanel:qp,retrievePanel:Bp,apiSite:Op,apiKeyAlert:Rp,pagination:Lp},Up={language:"語言",theme:"主題",light:"淺色",dark:"深色",system:"系統"},jp={documents:"文件",knowledgeGraph:"知識圖譜",retrieval:"檢索",api:"API",projectRepository:"專案庫",logout:"登出",themeToggle:{switchToLight:"切換至淺色主題",switchToDark:"切換至深色主題"}},Gp={description:"請輸入您的帳號和密碼登入系統",username:"帳號",usernamePlaceholder:"請輸入帳號",password:"密碼",passwordPlaceholder:"請輸入密碼",loginButton:"登入",loggingIn:"登入中...",successMessage:"登入成功",errorEmptyFields:"請輸入您的帳號和密碼",errorInvalidCredentials:"登入失敗，請檢查帳號和密碼",authDisabled:"認證已停用，使用免登入模式",guestMode:"免登入"},Vp={cancel:"取消",save:"儲存",saving:"儲存中...",saveFailed:"儲存失敗"},Xp={clearDocuments:{button:"清空",tooltip:"清空文件",title:"清空文件",description:"此操作將從系統中移除所有文件",warning:"警告：此操作將永久刪除所有文件，無法復原！",confirm:"確定要清空所有文件嗎？",confirmPrompt:"請輸入 yes 確認操作",confirmPlaceholder:"輸入 yes 以確認",clearCache:"清空 LLM 快取",confirmButton:"確定",clearing:"正在清除...",timeout:"清除操作逾時，請重試",success:"文件清空成功",cacheCleared:"快取清空成功",cacheClearFailed:`清空快取失敗：
{{error}}`,failed:`清空文件失敗：
{{message}}`,error:`清空文件失敗：
{{error}}`},deleteDocuments:{button:"刪除",tooltip:"刪除選取的文件",title:"刪除文件",description:"此操作將永久刪除選取的文件",warning:"警告：此操作將永久刪除選取的文件，無法復原！",confirm:"確定要刪除 {{count}} 個選取的文件嗎？",confirmPrompt:"請輸入 yes 確認操作",confirmPlaceholder:"輸入 yes 以確認",confirmButton:"確定",deleteFileOption:"同時刪除上傳檔案",deleteFileTooltip:"選取此選項將同時刪除伺服器上對應的上傳檔案",success:"文件刪除流水線啟動成功",failed:`刪除文件失敗：
{{message}}`,error:`刪除文件失敗：
{{error}}`,busy:"pipeline 被佔用，請稍後再試",notAllowed:"沒有操作權限"},selectDocuments:{selectCurrentPage:"全選當前頁 ({{count}})",deselectAll:"取消全選 ({{count}})"},uploadDocuments:{button:"上傳",tooltip:"上傳文件",title:"上傳文件",description:"拖曳檔案至此處或點擊瀏覽",single:{uploading:"正在上傳 {{name}}：{{percent}}%",success:`上傳成功：
{{name}} 上傳完成`,failed:`上傳失敗：
{{name}}
{{message}}`,error:`上傳失敗：
{{name}}
{{error}}`},batch:{uploading:"正在上傳檔案...",success:"檔案上傳完成",error:"部分檔案上傳失敗"},generalError:`上傳失敗
{{error}}`,fileTypes:"支援的檔案類型：TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"一次只能上傳一個檔案",maxFilesLimit:"最多只能上傳 {{count}} 個檔案",fileRejected:"檔案 {{name}} 被拒絕",unsupportedType:"不支援的檔案類型",fileTooLarge:"檔案過大，最大允許 {{maxSize}}",dropHere:"將檔案拖放至此處",dragAndDrop:"拖放檔案至此處，或點擊選擇檔案",removeFile:"移除檔案",uploadDescription:"您可以上傳{{isMultiple ? '多個' : count}}個檔案（每個檔案最大{{maxSize}}）",duplicateFile:"檔案名稱與伺服器上的快取重複"}},documentManager:{title:"文件管理",scanButton:"掃描",scanTooltip:"掃描處理輸入目錄中的文件，同時重新處理所有失敗的文件",retryFailedButton:"重試",retryFailedTooltip:"重新處理所有失敗的文件",refreshTooltip:"重設文件清單",pipelineStatusButton:"管線狀態",pipelineStatusTooltip:"查看文件處理管線狀態",uploadedTitle:"已上傳文件",uploadedDescription:"已上傳文件清單及其狀態",emptyTitle:"無文件",emptyDescription:"尚未上傳任何文件",columns:{id:"ID",fileName:"檔案名稱",summary:"摘要",status:"狀態",length:"長度",chunks:"分塊",created:"建立時間",updated:"更新時間",metadata:"元資料",select:"選擇"},status:{all:"全部",completed:"已完成",processing:"處理中",pending:"等待中",failed:"失敗"},errors:{loadFailed:`載入文件失敗
{{error}}`,scanFailed:`掃描文件失敗
{{error}}`,scanProgressFailed:`取得掃描進度失敗
{{error}}`},fileNameLabel:"檔案名稱",showButton:"顯示",hideButton:"隱藏",showFileNameTooltip:"顯示檔案名稱",hideFileNameTooltip:"隱藏檔案名稱"},pipelineStatus:{title:"pipeline 狀態",busy:"pipeline 忙碌中",requestPending:"待處理請求",jobName:"工作名稱",startTime:"開始時間",progress:"進度",unit:"梯次",latestMessage:"最新訊息",historyMessages:"歷史訊息",errors:{fetchFailed:`取得pipeline 狀態失敗
{{error}}`}}},Yp={dataIsTruncated:"圖資料已截斷至最大回傳節點數",statusDialog:{title:"LightRAG 伺服器設定",description:"查看目前系統狀態和連線資訊"},legend:"圖例",nodeTypes:{person:"人物角色",category:"分類",geo:"地理名稱",location:"位置",organization:"組織機構",event:"事件",equipment:"設備",weapon:"武器",animal:"動物",unknown:"未知",object:"物品",group:"群組",technology:"技術",product:"產品",document:"文檔",content:"內容",data:"資料",artifact:"人工製品",concept:"概念",naturalobject:"自然物品",method:"方法",creature:"生物神怪",plant:"植物",disease:"疾病",drug:"藥物",food:"食物",other:"其他"},sideBar:{settings:{settings:"設定",healthCheck:"健康檢查",showPropertyPanel:"顯示屬性面板",showSearchBar:"顯示搜尋列",showNodeLabel:"顯示節點標籤",nodeDraggable:"節點可拖曳",showEdgeLabel:"顯示 Edge 標籤",hideUnselectedEdges:"隱藏未選取的 Edge",edgeEvents:"Edge 事件",maxQueryDepth:"最大查詢深度",maxNodes:"最大回傳節點數",maxLayoutIterations:"最大版面配置迭代次數",resetToDefault:"重設為預設值",edgeSizeRange:"Edge 粗細範圍",depth:"深度",max:"最大值",degree:"鄰邊",apiKey:"API key",enterYourAPIkey:"輸入您的 API key",save:"儲存",refreshLayout:"重新整理版面配置"},zoomControl:{zoomIn:"放大",zoomOut:"縮小",resetZoom:"重設縮放",rotateCamera:"順時針旋轉圖形",rotateCameraCounterClockwise:"逆時針旋轉圖形"},layoutsControl:{startAnimation:"繼續版面配置動畫",stopAnimation:"停止版面配置動畫",layoutGraph:"圖形版面配置",layouts:{Circular:"環形",Circlepack:"圓形打包",Random:"隨機",Noverlaps:"無重疊","Force Directed":"力導向","Force Atlas":"力圖"}},fullScreenControl:{fullScreen:"全螢幕",windowed:"視窗"},legendControl:{toggleLegend:"切換圖例顯示"}},statusIndicator:{connected:"已連線",disconnected:"未連線"},statusCard:{unavailable:"狀態資訊不可用",serverInfo:"伺服器資訊",workingDirectory:"工作目錄",inputDirectory:"輸入目錄",maxParallelInsert:"並行處理文档",summarySettings:"摘要設定",llmConfig:"LLM 設定",llmBinding:"LLM 綁定",llmBindingHost:"LLM 端點",llmModel:"LLM 模型",embeddingConfig:"嵌入設定",embeddingBinding:"嵌入綁定",embeddingBindingHost:"嵌入端點",embeddingModel:"嵌入模型",storageConfig:"儲存設定",kvStorage:"KV 儲存",docStatusStorage:"文件狀態儲存",graphStorage:"圖形儲存",vectorStorage:"向量儲存",workspace:"工作空間",maxGraphNodes:"最大圖形節點數",rerankerConfig:"重排序設定",rerankerBindingHost:"重排序端點",rerankerModel:"重排序模型",lockStatus:"鎖定狀態",threshold:"閾值"},propertiesView:{editProperty:"編輯{{property}}",editPropertyDescription:"在下方文字區域編輯屬性值。",errors:{duplicateName:"節點名稱已存在",updateFailed:"更新節點失敗",tryAgainLater:"請稍後重試"},success:{entityUpdated:"節點更新成功",relationUpdated:"關係更新成功"},node:{title:"節點",id:"ID",labels:"標籤",degree:"度數",properties:"屬性",relationships:"關係(子圖內)",expandNode:"展開節點",pruneNode:"修剪節點",deleteAllNodesError:"拒絕刪除圖中的所有節點",nodesRemoved:"已刪除 {{count}} 個節點，包括孤立節點",noNewNodes:"沒有發現可以展開的節點",propertyNames:{description:"描述",entity_id:"名稱",entity_type:"類型",source_id:"來源ID",Neighbour:"鄰接",file_path:"來源",keywords:"Keys",weight:"權重"}},edge:{title:"關係",id:"ID",type:"類型",source:"來源節點",target:"目標節點",properties:"屬性"}},search:{placeholder:"頁面內搜尋節點...",message:"還有 {count} 個"},graphLabels:{selectTooltip:"獲取節點(標籤)子圖",noLabels:"未找到匹配的節點",label:"搜尋節點名稱",placeholder:"搜尋節點名稱...",andOthers:"還有 {count} 個",refreshGlobalTooltip:"重新整理全圖資料和重置搜尋歷史",refreshCurrentLabelTooltip:"重新整理目前頁面圖形資料",refreshingTooltip:"正在重新整理資料..."},emptyGraph:"無數據(請重載圖形數據)"},Fp={chatMessage:{copyTooltip:"複製到剪貼簿",copyError:"複製文字到剪貼簿失敗",copyEmpty:"沒有內容可複製",copySuccess:"內容已複製到剪貼簿",copySuccessLegacy:"內容已複製（傳統方法）",copySuccessManual:"內容已複製（手動方法）",copyFailed:"複製內容失敗",copyManualInstruction:"請手動選取並複製文字",thinking:"正在思考...",thinkingTime:"思考用時 {{time}} 秒",thinkingInProgress:"思考進行中..."},retrieval:{startPrompt:"輸入查詢開始檢索",clear:"清空",send:"送出",placeholder:"輸入查詢內容 (支援模式前綴：/<Query Mode>)",error:"錯誤：取得回應失敗",queryModeError:"僅支援以下查詢模式：{{modes}}",queryModePrefixInvalid:"無效的查詢模式前綴。請使用：/<模式> [空格] 查詢內容"},querySettings:{parametersTitle:"參數",parametersDescription:"設定查詢參數",queryMode:"查詢模式",queryModeTooltip:`選擇檢索策略：
• Naive：傳統文字塊向量檢索
• Local：側重實體檢索
• Global：側重關係檢索
• Hybrid：Local+Global
• Mix：Local+Global+Naive
• Bypass：跳過檢索，把歷史會話與當前問題送LLM`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix",bypass:"Bypass"},responseFormat:"回應格式",responseFormatTooltip:`定義回應格式。例如：
• 多段落
• 單段落
• 重點`,responseFormatOptions:{multipleParagraphs:"多段落",singleParagraph:"單段落",bulletPoints:"重點"},topK:"知識圖譜 Top K",topKTooltip:"實體關係檢索數量，適用於非 naive 模式。",topKPlaceholder:"輸入 top_k 值",chunkTopK:"文本區塊 Top K",chunkTopKTooltip:"文本區塊檢索數量，適用於所有模式。",chunkTopKPlaceholder:"輸入文本區塊 chunk_top_k 值",historyTurns:"歷史輪次",historyTurnsTooltip:"回應上下文中考慮的完整對話輪次（使用者-助手對）數量",historyTurnsPlaceholder:"歷史輪次數",onlyNeedContext:"僅需上下文",onlyNeedContextTooltip:"如果為True，僅回傳檢索到的上下文而不產生回應",onlyNeedPrompt:"僅需提示",onlyNeedPromptTooltip:"如果為True，僅回傳產生的提示而不產生回應",streamResponse:"串流回應",streamResponseTooltip:"如果為True，啟用即時串流輸出回應",userPrompt:"附加輸出提示詞",userPromptTooltip:"向LLM提供額外的響應要求（與查詢內容無關，僅用於處理輸出）。",userPromptPlaceholder:"輸入自定義提示詞（可選）",enableRerank:"啟用重排",enableRerankTooltip:"為檢索到的文本塊啟用重排。如果為True但未配置重排模型，將發出警告。默認為True。",maxEntityTokens:"實體令牌數上限",maxEntityTokensTooltip:"統一令牌控制系統中分配給實體上下文的最大令牌數",maxRelationTokens:"關係令牌數上限",maxRelationTokensTooltip:"統一令牌控制系統中分配給關係上下文的最大令牌數",maxTotalTokens:"總令牌數上限",maxTotalTokensTooltip:"整個查詢上下文的最大總令牌預算（實體+關係+文檔塊+系統提示）"}},Zp={loading:"正在載入 API 文件..."},Kp={title:"需要 API key",description:"請輸入您的 API key 以存取服務",placeholder:"請輸入 API key",save:"儲存"},Qp={showing:"顯示第 {{start}} 到 {{end}} 筆，共 {{total}} 筆記錄",page:"頁",pageSize:"每頁顯示",firstPage:"第一頁",prevPage:"上一頁",nextPage:"下一頁",lastPage:"最後一頁"},$p={settings:Up,header:jp,login:Gp,common:Vp,documentPanel:Xp,graphPanel:Yp,retrievePanel:Fp,apiSite:Zp,apiKeyAlert:Kp,pagination:Qp},Pp=()=>{var i;try{const a=localStorage.getItem("settings-storage");if(a)return((i=JSON.parse(a).state)==null?void 0:i.language)||"en"}catch(a){console.error("Failed to get stored language:",a)}return"en"};xo.use(v5).init({resources:{en:{translation:lp},zh:{translation:gp},fr:{translation:kp},ar:{translation:Hp},zh_TW:{translation:$p}},lng:Pp(),fallbackLng:"en",interpolation:{escapeValue:!1},returnEmptyString:!1,returnNull:!1});Ft.subscribe(i=>{const a=i.language;xo.language!==a&&xo.changeLanguage(a)});A5.createRoot(document.getElementById("root")).render(M.jsx(ae.StrictMode,{children:M.jsx(Q7,{})}));export{i8 as a,Fi as k};
