323 lines
333 KiB
JavaScript
323 lines
333 KiB
JavaScript
var Pi=Object.defineProperty;var Fi=(E,u,h)=>u in E?Pi(E,u,{enumerable:!0,configurable:!0,writable:!0,value:h}):E[u]=h;var be=(E,u,h)=>Fi(E,typeof u!="symbol"?u+"":u,h);/**
|
||
* @license
|
||
* (C) Copyright Contributors to the SearXNG project.
|
||
* (C) Copyright Contributors to the searx project (2014 - 2021).
|
||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||
*/window.searxng=function(E,u){E.Element&&function(m){m.matches=m.matches||m.matchesSelector||m.webkitMatchesSelector||m.msMatchesSelector||function(v){for(var M=this,S=(M.parentNode||M.document).querySelectorAll(v),f=-1;S[++f]&&S[f]!=M;);return!!S[f]}}(Element.prototype);function h(m,v,M){try{m.call(v,M)}catch(S){console.log(S)}}var g=window.searxng||{};g.on=function(m,v,M,S){S=S||!1,typeof m!="string"?m.addEventListener(v,M,S):u.addEventListener(v,function(f){for(var y=f.target||f.srcElement,B=!1;y&&y.matches&&y!==u&&!(B=y.matches(m));)y=y.parentElement;B&&h(M,y,f)},S)},g.ready=function(m){document.readyState!="loading"?m.call(E):E.addEventListener("DOMContentLoaded",m.bind(E))},g.http=function(m,v,M=null){return new Promise(function(S,f){try{var y=new XMLHttpRequest;y.open(m,v,!0),y.timeout=2e4,y.onload=function(){y.status==200?S(y.response,y.responseType):f(Error(y.statusText))},y.onerror=function(){f(Error("Network Error"))},y.onabort=function(){f(Error("Transaction is aborted"))},y.ontimeout=function(){f(Error("Timeout"))},M?y.send(M):y.send()}catch(B){f(B)}})},g.loadStyle=function(m){var v=g.settings.theme_static_path+"/"+m,M="style_"+m.replace(".","_"),S=u.getElementById(M);S===null&&(S=u.createElement("link"),S.setAttribute("id",M),S.setAttribute("rel","stylesheet"),S.setAttribute("type","text/css"),S.setAttribute("href",v),u.body.appendChild(S))},g.loadScript=function(m,v){var M=g.settings.theme_static_path+"/"+m,S="script_"+m.replace(".","_"),f=u.getElementById(S);if(f===null)f=u.createElement("script"),f.setAttribute("id",S),f.setAttribute("src",M),f.onload=v,f.onerror=function(){f.setAttribute("error","1")},u.body.appendChild(f);else if(f.hasAttribute("error"))console.log("callback not executed : script '"+M+"' not loaded.");else try{v.apply(f,[])}catch(y){console.log(y)}},g.insertBefore=function(m,v){v.parentNode.insertBefore(m,v)},g.insertAfter=function(m,v){v.parentNode.insertAfter(m,v.nextSibling)},g.on(".close","click",function(){this.parentNode.classList.add("invisible")});function A(){for(var m of u.getElementsByTagName("body")[0].classList.values())if(m.endsWith("_endpoint"))return m.split("_")[0];return""}return g.endpoint=A(),g}(window,document);searxng.ready(function(){if(searxng.infinite_scroll_supported="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,searxng.endpoint!=="results")return;if(!searxng.infinite_scroll_supported){console.log("IntersectionObserver not supported");return}let E=document;var u=E.getElementById("results").classList.contains("only_template_images");function h(){var m=E.createElement("div");return m.classList.add("loader"),m}function g(m,v){m.textContent="",v.forEach(M=>m.appendChild(M))}function A(m){var v=E.querySelector("#pagination form.next_page");if(v){g(E.querySelector("#pagination"),[h()]);var M=new FormData(v);searxng.http("POST",E.querySelector("#search").getAttribute("action"),M).then(function(S){var f=new DOMParser().parseFromString(S,"text/html"),y=f.querySelectorAll("#urls article"),B=f.querySelector("#pagination");E.querySelector("#pagination").remove(),y.length>0&&!u&&E.querySelector("#urls").appendChild(E.createElement("hr")),y.forEach(q=>{E.querySelector("#urls").appendChild(q)}),B&&(E.querySelector("#results").appendChild(B),m())}).catch(function(S){console.log(S);var f=E.createElement("div");f.textContent=searxng.settings.translations.error_loading_next_page,f.classList.add("dialog-error"),f.setAttribute("role","alert"),g(E.querySelector("#pagination"),[f])})}}if(searxng.settings.infinite_scroll&&searxng.infinite_scroll_supported){const m={rootMargin:"20rem"},v="article.result:last-child",M=new IntersectionObserver(S=>{const f=S[0];f.isIntersecting&&(M.unobserve(f.target),A(()=>M.observe(E.querySelector(v),m)))});M.observe(E.querySelector(v),m)}});searxng.ready(function(){function E(R){for(;R!==void 0;){if(R.classList.contains("detail"))return!0;if(R.classList.contains("result"))return!1;R=R.parentNode}return!1}function u(R){for(;R!==void 0;){if(R.classList.contains("result"))return R;R=R.parentNode}}function h(R){return R&&R.classList.contains("result-images")}searxng.on(".result","click",function(R){if(!E(R.target)){v(this)(!0,!0);let H=u(R.target);h(H)&&(R.preventDefault(),searxng.selectImage(H))}}),searxng.on(".result a","focus",function(R){if(!E(R.target)){let H=u(R.target);H&&H.getAttribute("data-vim-selected")===null&&v(H)(!0),h(H)&&searxng.selectImage(H)}},!0);var g={Escape:{key:"ESC",fun:S,des:"remove focus from the focused input",cat:"Control"},c:{key:"c",fun:Z,des:"copy url of the selected result to the clipboard",cat:"Results"},h:{key:"h",fun:X,des:"toggle help window",cat:"Other"},i:{key:"i",fun:G,des:"focus on the search input",cat:"Control"},n:{key:"n",fun:y(),des:"go to next page",cat:"Results"},o:{key:"o",fun:Q(!1),des:"open search result",cat:"Results"},p:{key:"p",fun:B(),des:"go to previous page",cat:"Results"},r:{key:"r",fun:M,des:"reload page from the server",cat:"Control"},t:{key:"t",fun:Q(!0),des:"open the result in a new tab",cat:"Results"}},A={default:Object.assign({ArrowLeft:{key:"←",fun:v("up"),des:"select previous search result",cat:"Results"},ArrowRight:{key:"→",fun:v("down"),des:"select next search result",cat:"Results"}},g),vim:Object.assign({b:{key:"b",fun:_(-window.innerHeight),des:"scroll one page up",cat:"Navigation"},f:{key:"f",fun:_(window.innerHeight),des:"scroll one page down",cat:"Navigation"},u:{key:"u",fun:_(-window.innerHeight/2),des:"scroll half a page up",cat:"Navigation"},d:{key:"d",fun:_(window.innerHeight/2),des:"scroll half a page down",cat:"Navigation"},g:{key:"g",fun:$(-document.body.scrollHeight,"top"),des:"scroll to the top of the page",cat:"Navigation"},v:{key:"v",fun:$(document.body.scrollHeight,"bottom"),des:"scroll to the bottom of the page",cat:"Navigation"},k:{key:"k",fun:v("up"),des:"select previous search result",cat:"Results"},j:{key:"j",fun:v("down"),des:"select next search result",cat:"Results"},y:{key:"y",fun:Z,des:"copy url of the selected result to the clipboard",cat:"Results"}},g)},m=A[searxng.settings.hotkeys]||A.default;searxng.on(document,"keydown",function(R){if(Object.prototype.hasOwnProperty.call(m,R.key)&&!R.ctrlKey&&!R.altKey&&!R.shiftKey&&!R.metaKey){var H=R.target.tagName.toLowerCase();R.key==="Escape"?m[R.key].fun(R):(R.target===document.body||H==="a"||H==="button")&&(R.preventDefault(),m[R.key].fun())}});function v(R){return function(H,ne){var K=document.querySelector(".result[data-vim-selected]"),se=R;if(K===null){if(K=document.querySelector(".result"),K===null)return;(R==="down"||R==="up")&&(se=K)}var J,ae=document.querySelectorAll(".result");if(ae=Array.from(ae),typeof se!="string")J=se;else switch(se){case"visible":for(var Ne=document.documentElement.scrollTop||document.body.scrollTop,Ke=Ne+document.documentElement.clientHeight,Te=0;Te<ae.length;Te++){J=ae[Te];var Ee=J.offsetTop,At=Ee+J.clientHeight;if(At<=Ke&&Ee>Ne)break}break;case"down":J=ae[ae.indexOf(K)+1]||K;break;case"up":J=ae[ae.indexOf(K)-1]||K;break;case"bottom":J=ae[ae.length-1];break;case"top":default:J=ae[0]}if(J){if(K.removeAttribute("data-vim-selected"),J.setAttribute("data-vim-selected","true"),!ne){var wt=J.querySelector("h3 a")||J.querySelector("a");wt!==null&&wt.focus()}H||q()}}}function M(){document.location.reload(!0)}function S(R){const H=R.target.tagName.toLowerCase();document.activeElement&&(H==="input"||H==="select"||H==="textarea")?document.activeElement.blur():searxng.closeDetail()}function f(R){return function(){var H=document.querySelector(R);H&&H.click()}}function y(){return f('nav#pagination .next_page button[type="submit"]')}function B(){return f('nav#pagination .previous_page button[type="submit"]')}function q(){var R=document.querySelector(".result[data-vim-selected]");if(R!==null){var H=document.documentElement.scrollTop||document.body.scrollTop,ne=document.documentElement.clientHeight,K=R.offsetTop,se=K+R.clientHeight,J=120;if(R.previousElementSibling===null&&se<ne){window.scroll(window.scrollX,0);return}if(H>K-J)window.scroll(window.scrollX,K-J);else{var ae=H+ne;ae<se+J&&window.scroll(window.scrollX,se-ne+J)}}}function _(R){return function(){window.scrollBy(0,R),v("visible")()}}function $(R,H){return function(){window.scrollTo(0,R),v(H)()}}function G(){window.scrollTo(0,0);var R=document.querySelector("#q");if(R.focus(),R.setSelectionRange){var H=R.value.length;R.setSelectionRange(H,H)}}function Q(R){return function(){var H=document.querySelector(".result[data-vim-selected] h3 a");if(H===null&&(H=document.querySelector(".result[data-vim-selected] > a")),H!==null){var ne=H.getAttribute("href");R?window.open(ne):window.location.href=ne}}}function V(R){var H={};for(var ne in m){var K=m[ne];H[K.cat]=H[K.cat]||[],H[K.cat].push(K)}var se=Object.keys(H).sort(function(At,wt){return H[wt].length-H[At].length});if(se.length!==0){var J='<a href="#" class="close" aria-label="close" title="close">×</a>';J+="<h3>How to navigate SearXNG with hotkeys</h3>",J+="<table>";for(var ae=0;ae<se.length;ae++){var Ne=H[se[ae]],Ke=ae===se.length-1,Te=ae%2===0;Te&&(J+="<tr>"),J+="<td>",J+="<h4>"+Ne[0].cat+"</h4>",J+='<ul class="list-unstyled">';for(var Ee in Ne)J+="<li><kbd>"+Ne[Ee].key+"</kbd> "+Ne[Ee].des+"</li>";J+="</ul>",J+="</td>",(!Te||Ke)&&(J+="</tr>")}J+="</table>",R.innerHTML=J}}function X(){var R=document.querySelector("#vim-hotkeys-help");if(R==null){R=document.createElement("div"),R.id="vim-hotkeys-help",R.className="dialog-modal",V(R);var H=document.getElementsByTagName("body")[0];H.appendChild(R)}else{R.classList.toggle("invisible");return}}function Z(){var R=document.querySelector(".result[data-vim-selected] h3 a");if(R===null)return;const H=R.getAttribute("href");navigator.clipboard.writeText(H)}searxng.scrollPageToSelected=q,searxng.selectNext=v("down"),searxng.selectPrevious=v("up")});(function(E,u,h){h.ready(function(){h.on(".searxng_init_map","click",function(g){this.classList.remove("searxng_init_map");var A=this.dataset.leafletTarget,m=parseFloat(this.dataset.mapLon),v=parseFloat(this.dataset.mapLat),M=parseFloat(this.dataset.mapZoom),S=JSON.parse(this.dataset.mapBoundingbox),f=JSON.parse(this.dataset.mapGeojson);h.loadStyle("css/leaflet.css"),h.loadScript("js/leaflet.js",function(){var y=null;if(S){var B=L.latLng(S[0],S[2]),q=L.latLng(S[1],S[3]);y=L.latLngBounds(B,q)}var _=L.map(A),$="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",G='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors',Q=new L.TileLayer($,{minZoom:1,maxZoom:19,attribution:G}),V="https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png",X='Wikimedia maps | Maps data © <a href="https://openstreetmap.org">OpenStreetMap contributors</a>',Z=new L.TileLayer(V,{minZoom:1,maxZoom:19,attribution:X});y?setTimeout(function(){_.fitBounds(y,{maxZoom:17})},0):m&&v&&(M?_.setView(new L.latLng(v,m),M):_.setView(new L.latLng(v,m),8)),_.addLayer(Q);var R={"OSM Mapnik":Q,"OSM Wikimedia":Z};L.control.layers(R).addTo(_),f&&L.geoJson(f).addTo(_)}),g.preventDefault()})})})(window,document,window.searxng);(function(E,u,h){h.endpoint==="preferences"&&h.ready(function(){let g=null;function A(){g==null&&h.http("GET","engine_descriptions.json").then(function(y){g=JSON.parse(y);for(const[B,q]of Object.entries(g)){let _=u.querySelectorAll('[data-engine-name="'+B+'"] .engine-description');for(const $ of _){let G=" (<i>"+h.settings.translations.Source+": "+q[1]+"</i>)";$.innerHTML=q[0]+G}}})}for(const y of u.querySelectorAll("[data-engine-name]"))h.on(y,"mouseenter",A);const m=u.querySelectorAll(".enable-all-engines"),v=u.querySelectorAll(".disable-all-engines"),M=u.querySelectorAll("tbody input[type=checkbox][class~=checkbox-onoff]"),S=y=>{for(const B of M)B.offsetParent!==null&&(B.checked=!y)};for(const y of m)h.on(y,"click",()=>S(!0));for(const y of v)h.on(y,"click",()=>S(!1));const f=u.querySelector("#copy-hash");h.on(f,"click",y=>{y.preventDefault(),navigator.clipboard.writeText(f.dataset.hash),f.innerText=f.dataset.copiedText})})})(window,document,window.searxng);(function(E,u,h){h.endpoint==="results"&&h.ready(function(){u.querySelectorAll("#urls img").forEach(M=>M.addEventListener("error",()=>{M.src=window.searxng.settings.theme_static_path+"/img/img_load_error.svg"},{once:!0})),u.querySelector("#search_url button#copy_url")&&(u.querySelector("#search_url button#copy_url").style.display="block"),h.on(".btn-collapse","click",function(){var M=this.getAttribute("data-btn-text-collapsed"),S=this.getAttribute("data-btn-text-not-collapsed"),f=this.getAttribute("data-target"),y=u.querySelector(f),B=this.innerHTML;this.classList.contains("collapsed")?B=B.replace(M,S):B=B.replace(S,M),this.innerHTML=B,this.classList.toggle("collapsed"),y.classList.toggle("invisible")}),h.on(".media-loader","click",function(){var M=this.getAttribute("data-target"),S=u.querySelector(M+" > iframe"),f=S.getAttribute("src");(f==null||f===!1)&&S.setAttribute("src",S.getAttribute("data-src"))}),h.on("#copy_url","click",function(){var M=this.parentElement.querySelector("pre");navigator.clipboard.writeText(M.innerText),this.innerText=this.dataset.copiedText});let g;const A=u.createElement("div");A.classList.add("loader");const m=new Image,v=(M,S)=>{g&&clearTimeout(g),g=setTimeout(()=>{m.src=M},1e3),m.onload=()=>{S(),A.remove()},m.onerror=()=>{A.remove()}};h.selectImage=M=>{if(u.getElementById("results").classList.add("image-detail-open"),window.location.hash="#image-viewer",h.scrollPageToSelected(),!M)return;const S=M.querySelector(".result-images-source img");if(!S)return;const f=S.getAttribute("data-src");if(!f)return;const y=M.querySelector(".image_thumbnail");S.src=y.src,M.querySelector(".detail").appendChild(A),v(f,()=>{S.src=f,S.removeAttribute("data-src")})},h.closeDetail=function(){u.getElementById("results").classList.remove("image-detail-open"),window.location.hash=="#image-viewer"&&window.history.back(),h.scrollPageToSelected()},h.on(".result-detail-close","click",M=>{M.preventDefault(),h.closeDetail()}),h.on(".result-detail-previous","click",M=>{M.preventDefault(),h.selectPrevious(!1)}),h.on(".result-detail-next","click",M=>{M.preventDefault(),h.selectNext(!1)}),window.addEventListener("hashchange",()=>{window.location.hash!="#image-viewer"&&h.closeDetail()}),u.querySelectorAll(".swipe-horizontal").forEach(M=>{M.addEventListener("swiped-left",function(){h.selectNext(!1)}),M.addEventListener("swiped-right",function(){h.selectPrevious(!1)})}),E.addEventListener("scroll",function(){var M=u.getElementById("backToTop"),S=document.documentElement.scrollTop||document.body.scrollTop,f=u.getElementById("results");M!==null&&(S>=100?f.classList.add("scrolling"):f.classList.remove("scrolling"))},!0)})})(window,document,window.searxng);function jn(E){return E&&E.__esModule&&Object.prototype.hasOwnProperty.call(E,"default")?E.default:E}function s0(E){throw new Error('Could not dynamically require "'+E+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var J0={exports:{}},_n;function $i(){return _n||(_n=1,function(E,u){(function(h){E.exports=h()})(function(){return function(){function h(g,A,m){function v(f,y){if(!A[f]){if(!g[f]){var B=typeof s0=="function"&&s0;if(!y&&B)return B(f,!0);if(M)return M(f,!0);var q=new Error("Cannot find module '"+f+"'");throw q.code="MODULE_NOT_FOUND",q}var _=A[f]={exports:{}};g[f][0].call(_.exports,function($){var G=g[f][1][$];return v(G||$)},_,_.exports,h,g,A,m)}return A[f].exports}for(var M=typeof s0=="function"&&s0,S=0;S<m.length;S++)v(m[S]);return v}return h}()({1:[function(h,g,A){var m;(function(S){S[S.AND=0]="AND",S[S.OR=1]="OR"})(m||(m={}));var v;(function(S){S[S.KEYDOWN=0]="KEYDOWN",S[S.KEYUP=1]="KEYUP"})(v||(v={}));var M=function(){function S(f,y){if(f===void 0&&(f={}),y===void 0&&(y="[data-autocomplete]"),Array.isArray(y))y.forEach(function(_){new S(f,_)});else if(typeof y=="string"){var B=document.querySelectorAll(y);Array.prototype.forEach.call(B,function(_){new S(f,_)})}else{var q=S.merge(S.defaults,f,{DOMResults:document.createElement("div")});return S.prototype.create(q,y),q}}return S.prototype.create=function(f,y){if(f.Input=y,f.Input.nodeName.match(/^INPUT$/i)&&(f.Input.hasAttribute("type")===!1||f.Input.getAttribute("type").match(/^TEXT|SEARCH$/i))){f.Input.setAttribute("autocomplete","off"),f._Position(f),f.Input.parentNode.appendChild(f.DOMResults),f.$Listeners={blur:f._Blur.bind(f),destroy:S.prototype.destroy.bind(null,f),focus:f._Focus.bind(f),keyup:S.prototype.event.bind(null,f,v.KEYUP),keydown:S.prototype.event.bind(null,f,v.KEYDOWN),position:f._Position.bind(f)};for(var B in f.$Listeners)f.Input.addEventListener(B,f.$Listeners[B])}},S.prototype.getEventsByType=function(f,y){var B={};for(var q in f.KeyboardMappings){var _=v.KEYUP;f.KeyboardMappings[q].Event!==void 0&&(_=f.KeyboardMappings[q].Event),_==y&&(B[q]=f.KeyboardMappings[q])}return B},S.prototype.event=function(f,y,B){var q=function(Q){(G===!0&&$.Operator==m.AND||G===!1&&$.Operator==m.OR)&&(Q=S.merge({Not:!1},Q),Q.hasOwnProperty("Is")?Q.Is==B.keyCode?G=!Q.Not:G=Q.Not:Q.hasOwnProperty("From")&&Q.hasOwnProperty("To")&&(B.keyCode>=Q.From&&B.keyCode<=Q.To?G=!Q.Not:G=Q.Not))};for(var _ in S.prototype.getEventsByType(f,y)){var $=S.merge({Operator:m.AND},f.KeyboardMappings[_]),G=m.AND==$.Operator;$.Conditions.forEach(q),G===!0&&$.Callback.call(f,B)}},S.prototype.makeRequest=function(f,y,B){var q=Object.getOwnPropertyNames(f.HttpHeaders),_=new XMLHttpRequest,$=f._HttpMethod(),G=f._Url(),Q=f._Pre(),V=encodeURIComponent(f._QueryArg())+"="+encodeURIComponent(Q);$.match(/^GET$/i)&&(G.indexOf("?")!==-1?G+="&"+V:G+="?"+V),_.open($,G,!0);for(var X=q.length-1;X>=0;X--)_.setRequestHeader(q[X],f.HttpHeaders[q[X]]);return _.onreadystatechange=function(){_.readyState==4&&_.status==200?(f.$Cache[Q]=_.response,y(_.response)):_.status>=400&&B()},_},S.prototype.ajax=function(f,y,B){B===void 0&&(B=!0),f.$AjaxTimer&&window.clearTimeout(f.$AjaxTimer),B===!0?f.$AjaxTimer=window.setTimeout(S.prototype.ajax.bind(null,f,y,!1),f.Delay):(f.Request&&f.Request.abort(),f.Request=y,f.Request.send(f._QueryArg()+"="+f._Pre()))},S.prototype.cache=function(f,y,B){var q=f._Cache(f._Pre());if(q===void 0){var _=S.prototype.makeRequest(f,y,B);S.prototype.ajax(f,_)}else y(q)},S.prototype.destroy=function(f){for(var y in f.$Listeners)f.Input.removeEventListener(y,f.$Listeners[y]);f.DOMResults.parentNode.removeChild(f.DOMResults)},S.merge=function(){for(var f={},y,B=0;B<arguments.length;B++)for(y in arguments[B])f[y]=arguments[B][y];return f},S.defaults={Delay:150,EmptyMessage:"No result here",Highlight:{getRegex:function(f){return new RegExp(f,"ig")},transform:function(f){return"<strong>"+f+"</strong>"}},HttpHeaders:{"Content-type":"application/x-www-form-urlencoded"},Limit:0,MinChars:0,HttpMethod:"GET",QueryArg:"q",Url:null,KeyboardMappings:{Enter:{Conditions:[{Is:13,Not:!1}],Callback:function(f){if(this.DOMResults.getAttribute("class").indexOf("open")!=-1){var y=this.DOMResults.querySelector("li.active");y!==null&&(f.preventDefault(),this._Select(y),this.DOMResults.setAttribute("class","autocomplete"))}},Operator:m.AND,Event:v.KEYDOWN},KeyUpAndDown_down:{Conditions:[{Is:38,Not:!1},{Is:40,Not:!1}],Callback:function(f){f.preventDefault()},Operator:m.OR,Event:v.KEYDOWN},KeyUpAndDown_up:{Conditions:[{Is:38,Not:!1},{Is:40,Not:!1}],Callback:function(f){f.preventDefault();var y=this.DOMResults.querySelector("li:first-child:not(.locked)"),B=this.DOMResults.querySelector("li:last-child:not(.locked)"),q=this.DOMResults.querySelector("li.active");if(q){var _=Array.prototype.indexOf.call(q.parentNode.children,q),$=_+(f.keyCode-39),G=this.DOMResults.getElementsByTagName("li").length;$<0?$=G-1:$>=G&&($=0),q.classList.remove("active"),q.parentElement.children.item($).classList.add("active")}else B&&f.keyCode==38?B.classList.add("active"):y&&y.classList.add("active")},Operator:m.OR,Event:v.KEYUP},AlphaNum:{Conditions:[{Is:13,Not:!0},{From:35,To:40,Not:!0}],Callback:function(){var f=this.Input.getAttribute("data-autocomplete-old-value"),y=this._Pre();y!==""&&y.length>=this._MinChars()?((!f||y!=f)&&this.DOMResults.setAttribute("class","autocomplete open"),S.prototype.cache(this,(function(B){this._Render(this._Post(B)),this._Open()}).bind(this),this._Error)):this._Close()},Operator:m.AND,Event:v.KEYUP}},DOMResults:null,Request:null,Input:null,_EmptyMessage:function(){var f="";return this.Input.hasAttribute("data-autocomplete-empty-message")?f=this.Input.getAttribute("data-autocomplete-empty-message"):this.EmptyMessage!==!1?f=this.EmptyMessage:f="",f},_Limit:function(){var f=this.Input.getAttribute("data-autocomplete-limit");return isNaN(f)||f===null?this.Limit:parseInt(f,10)},_MinChars:function(){var f=this.Input.getAttribute("data-autocomplete-minchars");return isNaN(f)||f===null?this.MinChars:parseInt(f,10)},_Highlight:function(f){return f.replace(this.Highlight.getRegex(this._Pre()),this.Highlight.transform)},_HttpMethod:function(){return this.Input.hasAttribute("data-autocomplete-method")?this.Input.getAttribute("data-autocomplete-method"):this.HttpMethod},_QueryArg:function(){return this.Input.hasAttribute("data-autocomplete-param-name")?this.Input.getAttribute("data-autocomplete-param-name"):this.QueryArg},_Url:function(){return this.Input.hasAttribute("data-autocomplete")?this.Input.getAttribute("data-autocomplete"):this.Url},_Blur:function(f){if(f===void 0&&(f=!1),f)this._Close();else{var y=this;setTimeout(function(){y._Blur(!0)},150)}},_Cache:function(f){return this.$Cache[f]},_Focus:function(){var f=this.Input.getAttribute("data-autocomplete-old-value");(!f||this.Input.value!=f)&&this._MinChars()<=this.Input.value.length&&this.DOMResults.setAttribute("class","autocomplete open")},_Open:function(){var f=this;Array.prototype.forEach.call(this.DOMResults.getElementsByTagName("li"),function(y){y.getAttribute("class")!="locked"&&(y.onclick=function(){f._Select(y)})})},_Close:function(){this.DOMResults.setAttribute("class","autocomplete")},_Position:function(){this.DOMResults.setAttribute("class","autocomplete"),this.DOMResults.setAttribute("style","top:"+(this.Input.offsetTop+this.Input.offsetHeight)+"px;left:"+this.Input.offsetLeft+"px;width:"+this.Input.clientWidth+"px;")},_Render:function(f){var y;typeof f=="string"?y=this._RenderRaw(f):y=this._RenderResponseItems(f),this.DOMResults.hasChildNodes()&&this.DOMResults.removeChild(this.DOMResults.childNodes[0]),this.DOMResults.appendChild(y)},_RenderResponseItems:function(f){var y=document.createElement("ul"),B=document.createElement("li"),q=this._Limit();q<0?f=f.reverse():q===0&&(q=f.length);for(var _=0;_<Math.min(Math.abs(q),f.length);_++)B.innerHTML=f[_].Label,B.setAttribute("data-autocomplete-value",f[_].Value),y.appendChild(B),B=document.createElement("li");return y},_RenderRaw:function(f){var y=document.createElement("ul"),B=document.createElement("li");if(f.length>0)this.DOMResults.innerHTML=f;else{var q=this._EmptyMessage();q!==""&&(B.innerHTML=q,B.setAttribute("class","locked"),y.appendChild(B))}return y},_Post:function(f){try{var y=[],B=JSON.parse(f);if(Object.keys(B).length===0)return"";if(Array.isArray(B))for(var q=0;q<Object.keys(B).length;q++)y[y.length]={Value:B[q],Label:this._Highlight(B[q])};else for(var _ in B)y.push({Value:_,Label:this._Highlight(B[_])});return y}catch{return f}},_Pre:function(){return this.Input.value},_Select:function(f){f.hasAttribute("data-autocomplete-value")?this.Input.value=f.getAttribute("data-autocomplete-value"):this.Input.value=f.innerHTML,this.Input.setAttribute("data-autocomplete-old-value",this.Input.value)},_Error:function(){},$AjaxTimer:null,$Cache:{},$Listeners:{}},S}();g.exports=M},{}]},{},[1])(1)})}(J0)),J0.exports}var Gi=$i();const Ze=jn(Gi);(function(E,u,h){var g="q",A;const m=window.matchMedia("only screen and (max-width: 50em)").matches;function v(){if(A.value.length>0){var S=document.getElementById("search");setTimeout(S.submit.bind(S),0)}}function M(S){var f=document.getElementById("clear_search"),y=function(){S.value.length===0?f.classList.add("empty"):f.classList.remove("empty")};y(),f.addEventListener("click",function(B){S.value="",S.focus(),y(),B.preventDefault()}),S.addEventListener("input",y,!1)}h.ready(function(){A=u.getElementById(g),A!==null&&(M(A),h.settings.autocomplete&&(h.autocomplete=Ze.call(E,{Url:"./autocompleter",EmptyMessage:h.settings.translations.no_item_found,HttpMethod:h.settings.method,HttpHeaders:{"Content-type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},MinChars:h.settings.autocomplete_min,Delay:300,_Position:function(){},_Open:function(){var y=this;Array.prototype.forEach.call(this.DOMResults.getElementsByTagName("li"),function(B){B.getAttribute("class")!="locked"&&(B.onmousedown=function(){y._Select(B)})})},_Select:function(y){Ze.defaults._Select.call(this,y);var B=y.closest("form");B&&B.submit()},_MinChars:function(){return this.Input.value.indexOf("!")>-1?0:Ze.defaults._MinChars.call(this)},KeyboardMappings:Object.assign({},Ze.defaults.KeyboardMappings,{KeyUpAndDown_up:Object.assign({},Ze.defaults.KeyboardMappings.KeyUpAndDown_up,{Callback:function(y){Ze.defaults.KeyboardMappings.KeyUpAndDown_up.Callback.call(this,y);var B=this.DOMResults.querySelector("li.active");B&&Ze.defaults._Select.call(this,B)}}),Tab:Object.assign({},Ze.defaults.KeyboardMappings.Enter,{Conditions:[{Is:9,Not:!1}],Callback:function(y){if(this.DOMResults.getAttribute("class").indexOf("open")!=-1){var B=this.DOMResults.querySelector("li.active");B!==null&&(Ze.defaults._Select.call(this,B),y.preventDefault())}}})})},"#"+g)),Ze.prototype.ajax=function(y,B,q){q===void 0&&(q=!0),y.$AjaxTimer&&window.clearTimeout(y.$AjaxTimer),q===!0?y.$AjaxTimer=window.setTimeout(Ze.prototype.ajax.bind(null,y,B,!1),y.Delay):(y.Request&&y.Request.abort(),y.Request=B,y.Request.send(encodeURIComponent(y._QueryArg())+"="+encodeURIComponent(y._Pre())))},!m&&document.querySelector(".index_endpoint")&&A.focus()),A!==null&&h.settings.search_on_category_select&&u.querySelector(".search_filters")!=null&&(h.on(u.getElementById("safesearch"),"change",v),h.on(u.getElementById("time_range"),"change",v),h.on(u.getElementById("language"),"change",v));const S=u.querySelectorAll("button.category_button");for(let y of S)h.on(y,"click",B=>{if(B.shiftKey){B.preventDefault(),y.classList.toggle("selected");return}const q=u.querySelectorAll("button.category_button.selected");for(let _ of q)_.classList.remove("selected");y.classList.add("selected")});const f=u.querySelector("#search");f!=null&&h.on(f,"submit",y=>{y.preventDefault();const B=u.querySelector("#selected-categories");if(B){let q=[];for(let _ of S)_.classList.contains("selected")&&q.push(_.name.replace("category_",""));B.value=q.join(",")}f.submit()})})})(window,document,window.searxng);function tr(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let xt=tr();function Xn(E){xt=E}const qt={exec:()=>null};function pe(E,u=""){let h=typeof E=="string"?E:E.source;const g={replace:(A,m)=>{let v=typeof m=="string"?m:m.source;return v=v.replace(Le.caret,"$1"),h=h.replace(A,v),g},getRegex:()=>new RegExp(h,u)};return g}const Le={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:E=>new RegExp(`^( {0,3}${E})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:E=>new RegExp(`^ {0,${Math.min(3,E-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:E=>new RegExp(`^ {0,${Math.min(3,E-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:E=>new RegExp(`^ {0,${Math.min(3,E-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:E=>new RegExp(`^ {0,${Math.min(3,E-1)}}#`),htmlBeginRegex:E=>new RegExp(`^ {0,${Math.min(3,E-1)}}<(?:[a-z].*>|!--)`,"i")},Vi=/^(?:[ \t]*(?:\n|$))+/,Ui=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Wi=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Lt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ji=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,rr=/(?:[*+-]|\d{1,9}[.)])/,Yn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Zn=pe(Yn).replace(/bull/g,rr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Xi=pe(Yn).replace(/bull/g,rr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),nr=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Yi=/^[^\n]+/,sr=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Zi=pe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",sr).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ki=pe(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,rr).getRegex(),h0="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ir=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Qi=pe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ir).replace("tag",h0).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Kn=pe(nr).replace("hr",Lt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",h0).getRegex(),Ji=pe(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Kn).getRegex(),lr={blockquote:Ji,code:Ui,def:Zi,fences:Wi,heading:ji,hr:Lt,html:Qi,lheading:Zn,list:Ki,newline:Vi,paragraph:Kn,table:qt,text:Yi},Hn=pe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Lt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",h0).getRegex(),el={...lr,lheading:Xi,table:Hn,paragraph:pe(nr).replace("hr",Lt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Hn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",h0).getRegex()},tl={...lr,html:pe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ir).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:qt,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:pe(nr).replace("hr",Lt).replace("heading",` *#{1,6} *[^
|
||
]`).replace("lheading",Zn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},rl=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,nl=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Qn=/^( {2,}|\\)\n(?!\s*$)/,sl=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,d0=/[\p{P}\p{S}]/u,ar=/[\s\p{P}\p{S}]/u,Jn=/[^\s\p{P}\p{S}]/u,il=pe(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ar).getRegex(),es=/(?!~)[\p{P}\p{S}]/u,ll=/(?!~)[\s\p{P}\p{S}]/u,al=/(?:[^\s\p{P}\p{S}]|~)/u,ol=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,ts=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,cl=pe(ts,"u").replace(/punct/g,d0).getRegex(),ul=pe(ts,"u").replace(/punct/g,es).getRegex(),rs="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",hl=pe(rs,"gu").replace(/notPunctSpace/g,Jn).replace(/punctSpace/g,ar).replace(/punct/g,d0).getRegex(),dl=pe(rs,"gu").replace(/notPunctSpace/g,al).replace(/punctSpace/g,ll).replace(/punct/g,es).getRegex(),ml=pe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Jn).replace(/punctSpace/g,ar).replace(/punct/g,d0).getRegex(),pl=pe(/\\(punct)/,"gu").replace(/punct/g,d0).getRegex(),fl=pe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),gl=pe(ir).replace("(?:-->|$)","-->").getRegex(),bl=pe("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",gl).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),o0=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,yl=pe(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",o0).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ns=pe(/^!?\[(label)\]\[(ref)\]/).replace("label",o0).replace("ref",sr).getRegex(),ss=pe(/^!?\[(ref)\](?:\[\])?/).replace("ref",sr).getRegex(),xl=pe("reflink|nolink(?!\\()","g").replace("reflink",ns).replace("nolink",ss).getRegex(),or={_backpedal:qt,anyPunctuation:pl,autolink:fl,blockSkip:ol,br:Qn,code:nl,del:qt,emStrongLDelim:cl,emStrongRDelimAst:hl,emStrongRDelimUnd:ml,escape:rl,link:yl,nolink:ss,punctuation:il,reflink:ns,reflinkSearch:xl,tag:bl,text:sl,url:qt},wl={...or,link:pe(/^!?\[(label)\]\((.*?)\)/).replace("label",o0).getRegex(),reflink:pe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",o0).getRegex()},er={...or,emStrongRDelimAst:dl,emStrongLDelim:ul,url:pe(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},kl={...er,br:pe(Qn).replace("{2,}","*").getRegex(),text:pe(er.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},i0={normal:lr,gfm:el,pedantic:tl},Rt={normal:or,gfm:er,breaks:kl,pedantic:wl},vl={"&":"&","<":"<",">":">",'"':""","'":"'"},Pn=E=>vl[E];function nt(E,u){if(u){if(Le.escapeTest.test(E))return E.replace(Le.escapeReplace,Pn)}else if(Le.escapeTestNoEncode.test(E))return E.replace(Le.escapeReplaceNoEncode,Pn);return E}function Fn(E){try{E=encodeURI(E).replace(Le.percentDecode,"%")}catch{return null}return E}function $n(E,u){var m;const h=E.replace(Le.findPipe,(v,M,S)=>{let f=!1,y=M;for(;--y>=0&&S[y]==="\\";)f=!f;return f?"|":" |"}),g=h.split(Le.splitPipe);let A=0;if(g[0].trim()||g.shift(),g.length>0&&!((m=g.at(-1))!=null&&m.trim())&&g.pop(),u)if(g.length>u)g.splice(u);else for(;g.length<u;)g.push("");for(;A<g.length;A++)g[A]=g[A].trim().replace(Le.slashPipe,"|");return g}function Et(E,u,h){const g=E.length;if(g===0)return"";let A=0;for(;A<g&&E.charAt(g-A-1)===u;)A++;return E.slice(0,g-A)}function Sl(E,u){if(E.indexOf(u[1])===-1)return-1;let h=0;for(let g=0;g<E.length;g++)if(E[g]==="\\")g++;else if(E[g]===u[0])h++;else if(E[g]===u[1]&&(h--,h<0))return g;return-1}function Gn(E,u,h,g,A){const m=u.href,v=u.title||null,M=E[1].replace(A.other.outputLinkReplace,"$1");if(E[0].charAt(0)!=="!"){g.state.inLink=!0;const S={type:"link",raw:h,href:m,title:v,text:M,tokens:g.inlineTokens(M)};return g.state.inLink=!1,S}return{type:"image",raw:h,href:m,title:v,text:M}}function Ml(E,u,h){const g=E.match(h.other.indentCodeCompensation);if(g===null)return u;const A=g[1];return u.split(`
|
||
`).map(m=>{const v=m.match(h.other.beginningSpace);if(v===null)return m;const[M]=v;return M.length>=A.length?m.slice(A.length):m}).join(`
|
||
`)}class c0{constructor(u){be(this,"options");be(this,"rules");be(this,"lexer");this.options=u||xt}space(u){const h=this.rules.block.newline.exec(u);if(h&&h[0].length>0)return{type:"space",raw:h[0]}}code(u){const h=this.rules.block.code.exec(u);if(h){const g=h[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:h[0],codeBlockStyle:"indented",text:this.options.pedantic?g:Et(g,`
|
||
`)}}}fences(u){const h=this.rules.block.fences.exec(u);if(h){const g=h[0],A=Ml(g,h[3]||"",this.rules);return{type:"code",raw:g,lang:h[2]?h[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):h[2],text:A}}}heading(u){const h=this.rules.block.heading.exec(u);if(h){let g=h[2].trim();if(this.rules.other.endingHash.test(g)){const A=Et(g,"#");(this.options.pedantic||!A||this.rules.other.endingSpaceChar.test(A))&&(g=A.trim())}return{type:"heading",raw:h[0],depth:h[1].length,text:g,tokens:this.lexer.inline(g)}}}hr(u){const h=this.rules.block.hr.exec(u);if(h)return{type:"hr",raw:Et(h[0],`
|
||
`)}}blockquote(u){const h=this.rules.block.blockquote.exec(u);if(h){let g=Et(h[0],`
|
||
`).split(`
|
||
`),A="",m="";const v=[];for(;g.length>0;){let M=!1;const S=[];let f;for(f=0;f<g.length;f++)if(this.rules.other.blockquoteStart.test(g[f]))S.push(g[f]),M=!0;else if(!M)S.push(g[f]);else break;g=g.slice(f);const y=S.join(`
|
||
`),B=y.replace(this.rules.other.blockquoteSetextReplace,`
|
||
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");A=A?`${A}
|
||
${y}`:y,m=m?`${m}
|
||
${B}`:B;const q=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(B,v,!0),this.lexer.state.top=q,g.length===0)break;const _=v.at(-1);if((_==null?void 0:_.type)==="code")break;if((_==null?void 0:_.type)==="blockquote"){const $=_,G=$.raw+`
|
||
`+g.join(`
|
||
`),Q=this.blockquote(G);v[v.length-1]=Q,A=A.substring(0,A.length-$.raw.length)+Q.raw,m=m.substring(0,m.length-$.text.length)+Q.text;break}else if((_==null?void 0:_.type)==="list"){const $=_,G=$.raw+`
|
||
`+g.join(`
|
||
`),Q=this.list(G);v[v.length-1]=Q,A=A.substring(0,A.length-_.raw.length)+Q.raw,m=m.substring(0,m.length-$.raw.length)+Q.raw,g=G.substring(v.at(-1).raw.length).split(`
|
||
`);continue}}return{type:"blockquote",raw:A,tokens:v,text:m}}}list(u){let h=this.rules.block.list.exec(u);if(h){let g=h[1].trim();const A=g.length>1,m={type:"list",raw:"",ordered:A,start:A?+g.slice(0,-1):"",loose:!1,items:[]};g=A?`\\d{1,9}\\${g.slice(-1)}`:`\\${g}`,this.options.pedantic&&(g=A?g:"[*+-]");const v=this.rules.other.listItemRegex(g);let M=!1;for(;u;){let f=!1,y="",B="";if(!(h=v.exec(u))||this.rules.block.hr.test(u))break;y=h[0],u=u.substring(y.length);let q=h[2].split(`
|
||
`,1)[0].replace(this.rules.other.listReplaceTabs,X=>" ".repeat(3*X.length)),_=u.split(`
|
||
`,1)[0],$=!q.trim(),G=0;if(this.options.pedantic?(G=2,B=q.trimStart()):$?G=h[1].length+1:(G=h[2].search(this.rules.other.nonSpaceChar),G=G>4?1:G,B=q.slice(G),G+=h[1].length),$&&this.rules.other.blankLine.test(_)&&(y+=_+`
|
||
`,u=u.substring(_.length+1),f=!0),!f){const X=this.rules.other.nextBulletRegex(G),Z=this.rules.other.hrRegex(G),R=this.rules.other.fencesBeginRegex(G),H=this.rules.other.headingBeginRegex(G),ne=this.rules.other.htmlBeginRegex(G);for(;u;){const K=u.split(`
|
||
`,1)[0];let se;if(_=K,this.options.pedantic?(_=_.replace(this.rules.other.listReplaceNesting," "),se=_):se=_.replace(this.rules.other.tabCharGlobal," "),R.test(_)||H.test(_)||ne.test(_)||X.test(_)||Z.test(_))break;if(se.search(this.rules.other.nonSpaceChar)>=G||!_.trim())B+=`
|
||
`+se.slice(G);else{if($||q.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||R.test(q)||H.test(q)||Z.test(q))break;B+=`
|
||
`+_}!$&&!_.trim()&&($=!0),y+=K+`
|
||
`,u=u.substring(K.length+1),q=se.slice(G)}}m.loose||(M?m.loose=!0:this.rules.other.doubleBlankLine.test(y)&&(M=!0));let Q=null,V;this.options.gfm&&(Q=this.rules.other.listIsTask.exec(B),Q&&(V=Q[0]!=="[ ] ",B=B.replace(this.rules.other.listReplaceTask,""))),m.items.push({type:"list_item",raw:y,task:!!Q,checked:V,loose:!1,text:B,tokens:[]}),m.raw+=y}const S=m.items.at(-1);if(S)S.raw=S.raw.trimEnd(),S.text=S.text.trimEnd();else return;m.raw=m.raw.trimEnd();for(let f=0;f<m.items.length;f++)if(this.lexer.state.top=!1,m.items[f].tokens=this.lexer.blockTokens(m.items[f].text,[]),!m.loose){const y=m.items[f].tokens.filter(q=>q.type==="space"),B=y.length>0&&y.some(q=>this.rules.other.anyLine.test(q.raw));m.loose=B}if(m.loose)for(let f=0;f<m.items.length;f++)m.items[f].loose=!0;return m}}html(u){const h=this.rules.block.html.exec(u);if(h)return{type:"html",block:!0,raw:h[0],pre:h[1]==="pre"||h[1]==="script"||h[1]==="style",text:h[0]}}def(u){const h=this.rules.block.def.exec(u);if(h){const g=h[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),A=h[2]?h[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",m=h[3]?h[3].substring(1,h[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):h[3];return{type:"def",tag:g,raw:h[0],href:A,title:m}}}table(u){var M;const h=this.rules.block.table.exec(u);if(!h||!this.rules.other.tableDelimiter.test(h[2]))return;const g=$n(h[1]),A=h[2].replace(this.rules.other.tableAlignChars,"").split("|"),m=(M=h[3])!=null&&M.trim()?h[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
||
`):[],v={type:"table",raw:h[0],header:[],align:[],rows:[]};if(g.length===A.length){for(const S of A)this.rules.other.tableAlignRight.test(S)?v.align.push("right"):this.rules.other.tableAlignCenter.test(S)?v.align.push("center"):this.rules.other.tableAlignLeft.test(S)?v.align.push("left"):v.align.push(null);for(let S=0;S<g.length;S++)v.header.push({text:g[S],tokens:this.lexer.inline(g[S]),header:!0,align:v.align[S]});for(const S of m)v.rows.push($n(S,v.header.length).map((f,y)=>({text:f,tokens:this.lexer.inline(f),header:!1,align:v.align[y]})));return v}}lheading(u){const h=this.rules.block.lheading.exec(u);if(h)return{type:"heading",raw:h[0],depth:h[2].charAt(0)==="="?1:2,text:h[1],tokens:this.lexer.inline(h[1])}}paragraph(u){const h=this.rules.block.paragraph.exec(u);if(h){const g=h[1].charAt(h[1].length-1)===`
|
||
`?h[1].slice(0,-1):h[1];return{type:"paragraph",raw:h[0],text:g,tokens:this.lexer.inline(g)}}}text(u){const h=this.rules.block.text.exec(u);if(h)return{type:"text",raw:h[0],text:h[0],tokens:this.lexer.inline(h[0])}}escape(u){const h=this.rules.inline.escape.exec(u);if(h)return{type:"escape",raw:h[0],text:h[1]}}tag(u){const h=this.rules.inline.tag.exec(u);if(h)return!this.lexer.state.inLink&&this.rules.other.startATag.test(h[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(h[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(h[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(h[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:h[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:h[0]}}link(u){const h=this.rules.inline.link.exec(u);if(h){const g=h[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(g)){if(!this.rules.other.endAngleBracket.test(g))return;const v=Et(g.slice(0,-1),"\\");if((g.length-v.length)%2===0)return}else{const v=Sl(h[2],"()");if(v>-1){const S=(h[0].indexOf("!")===0?5:4)+h[1].length+v;h[2]=h[2].substring(0,v),h[0]=h[0].substring(0,S).trim(),h[3]=""}}let A=h[2],m="";if(this.options.pedantic){const v=this.rules.other.pedanticHrefTitle.exec(A);v&&(A=v[1],m=v[3])}else m=h[3]?h[3].slice(1,-1):"";return A=A.trim(),this.rules.other.startAngleBracket.test(A)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(g)?A=A.slice(1):A=A.slice(1,-1)),Gn(h,{href:A&&A.replace(this.rules.inline.anyPunctuation,"$1"),title:m&&m.replace(this.rules.inline.anyPunctuation,"$1")},h[0],this.lexer,this.rules)}}reflink(u,h){let g;if((g=this.rules.inline.reflink.exec(u))||(g=this.rules.inline.nolink.exec(u))){const A=(g[2]||g[1]).replace(this.rules.other.multipleSpaceGlobal," "),m=h[A.toLowerCase()];if(!m){const v=g[0].charAt(0);return{type:"text",raw:v,text:v}}return Gn(g,m,g[0],this.lexer,this.rules)}}emStrong(u,h,g=""){let A=this.rules.inline.emStrongLDelim.exec(u);if(!A||A[3]&&g.match(this.rules.other.unicodeAlphaNumeric))return;if(!(A[1]||A[2]||"")||!g||this.rules.inline.punctuation.exec(g)){const v=[...A[0]].length-1;let M,S,f=v,y=0;const B=A[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(B.lastIndex=0,h=h.slice(-1*u.length+v);(A=B.exec(h))!=null;){if(M=A[1]||A[2]||A[3]||A[4]||A[5]||A[6],!M)continue;if(S=[...M].length,A[3]||A[4]){f+=S;continue}else if((A[5]||A[6])&&v%3&&!((v+S)%3)){y+=S;continue}if(f-=S,f>0)continue;S=Math.min(S,S+f+y);const q=[...A[0]][0].length,_=u.slice(0,v+A.index+q+S);if(Math.min(v,S)%2){const G=_.slice(1,-1);return{type:"em",raw:_,text:G,tokens:this.lexer.inlineTokens(G)}}const $=_.slice(2,-2);return{type:"strong",raw:_,text:$,tokens:this.lexer.inlineTokens($)}}}}codespan(u){const h=this.rules.inline.code.exec(u);if(h){let g=h[2].replace(this.rules.other.newLineCharGlobal," ");const A=this.rules.other.nonSpaceChar.test(g),m=this.rules.other.startingSpaceChar.test(g)&&this.rules.other.endingSpaceChar.test(g);return A&&m&&(g=g.substring(1,g.length-1)),{type:"codespan",raw:h[0],text:g}}}br(u){const h=this.rules.inline.br.exec(u);if(h)return{type:"br",raw:h[0]}}del(u){const h=this.rules.inline.del.exec(u);if(h)return{type:"del",raw:h[0],text:h[2],tokens:this.lexer.inlineTokens(h[2])}}autolink(u){const h=this.rules.inline.autolink.exec(u);if(h){let g,A;return h[2]==="@"?(g=h[1],A="mailto:"+g):(g=h[1],A=g),{type:"link",raw:h[0],text:g,href:A,tokens:[{type:"text",raw:g,text:g}]}}}url(u){var g;let h;if(h=this.rules.inline.url.exec(u)){let A,m;if(h[2]==="@")A=h[0],m="mailto:"+A;else{let v;do v=h[0],h[0]=((g=this.rules.inline._backpedal.exec(h[0]))==null?void 0:g[0])??"";while(v!==h[0]);A=h[0],h[1]==="www."?m="http://"+h[0]:m=h[0]}return{type:"link",raw:h[0],text:A,href:m,tokens:[{type:"text",raw:A,text:A}]}}}inlineText(u){const h=this.rules.inline.text.exec(u);if(h){const g=this.lexer.state.inRawBlock;return{type:"text",raw:h[0],text:h[0],escaped:g}}}}class je{constructor(u){be(this,"tokens");be(this,"options");be(this,"state");be(this,"tokenizer");be(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=u||xt,this.options.tokenizer=this.options.tokenizer||new c0,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const h={other:Le,block:i0.normal,inline:Rt.normal};this.options.pedantic?(h.block=i0.pedantic,h.inline=Rt.pedantic):this.options.gfm&&(h.block=i0.gfm,this.options.breaks?h.inline=Rt.breaks:h.inline=Rt.gfm),this.tokenizer.rules=h}static get rules(){return{block:i0,inline:Rt}}static lex(u,h){return new je(h).lex(u)}static lexInline(u,h){return new je(h).inlineTokens(u)}lex(u){u=u.replace(Le.carriageReturn,`
|
||
`),this.blockTokens(u,this.tokens);for(let h=0;h<this.inlineQueue.length;h++){const g=this.inlineQueue[h];this.inlineTokens(g.src,g.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(u,h=[],g=!1){var A,m,v;for(this.options.pedantic&&(u=u.replace(Le.tabCharGlobal," ").replace(Le.spaceLine,""));u;){let M;if((m=(A=this.options.extensions)==null?void 0:A.block)!=null&&m.some(f=>(M=f.call({lexer:this},u,h))?(u=u.substring(M.raw.length),h.push(M),!0):!1))continue;if(M=this.tokenizer.space(u)){u=u.substring(M.raw.length);const f=h.at(-1);M.raw.length===1&&f!==void 0?f.raw+=`
|
||
`:h.push(M);continue}if(M=this.tokenizer.code(u)){u=u.substring(M.raw.length);const f=h.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
|
||
`+M.raw,f.text+=`
|
||
`+M.text,this.inlineQueue.at(-1).src=f.text):h.push(M);continue}if(M=this.tokenizer.fences(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.heading(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.hr(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.blockquote(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.list(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.html(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.def(u)){u=u.substring(M.raw.length);const f=h.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
|
||
`+M.raw,f.text+=`
|
||
`+M.raw,this.inlineQueue.at(-1).src=f.text):this.tokens.links[M.tag]||(this.tokens.links[M.tag]={href:M.href,title:M.title});continue}if(M=this.tokenizer.table(u)){u=u.substring(M.raw.length),h.push(M);continue}if(M=this.tokenizer.lheading(u)){u=u.substring(M.raw.length),h.push(M);continue}let S=u;if((v=this.options.extensions)!=null&&v.startBlock){let f=1/0;const y=u.slice(1);let B;this.options.extensions.startBlock.forEach(q=>{B=q.call({lexer:this},y),typeof B=="number"&&B>=0&&(f=Math.min(f,B))}),f<1/0&&f>=0&&(S=u.substring(0,f+1))}if(this.state.top&&(M=this.tokenizer.paragraph(S))){const f=h.at(-1);g&&(f==null?void 0:f.type)==="paragraph"?(f.raw+=`
|
||
`+M.raw,f.text+=`
|
||
`+M.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):h.push(M),g=S.length!==u.length,u=u.substring(M.raw.length);continue}if(M=this.tokenizer.text(u)){u=u.substring(M.raw.length);const f=h.at(-1);(f==null?void 0:f.type)==="text"?(f.raw+=`
|
||
`+M.raw,f.text+=`
|
||
`+M.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):h.push(M);continue}if(u){const f="Infinite loop on byte: "+u.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,h}inline(u,h=[]){return this.inlineQueue.push({src:u,tokens:h}),h}inlineTokens(u,h=[]){var M,S,f;let g=u,A=null;if(this.tokens.links){const y=Object.keys(this.tokens.links);if(y.length>0)for(;(A=this.tokenizer.rules.inline.reflinkSearch.exec(g))!=null;)y.includes(A[0].slice(A[0].lastIndexOf("[")+1,-1))&&(g=g.slice(0,A.index)+"["+"a".repeat(A[0].length-2)+"]"+g.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(A=this.tokenizer.rules.inline.blockSkip.exec(g))!=null;)g=g.slice(0,A.index)+"["+"a".repeat(A[0].length-2)+"]"+g.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(A=this.tokenizer.rules.inline.anyPunctuation.exec(g))!=null;)g=g.slice(0,A.index)+"++"+g.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let m=!1,v="";for(;u;){m||(v=""),m=!1;let y;if((S=(M=this.options.extensions)==null?void 0:M.inline)!=null&&S.some(q=>(y=q.call({lexer:this},u,h))?(u=u.substring(y.raw.length),h.push(y),!0):!1))continue;if(y=this.tokenizer.escape(u)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.tag(u)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.link(u)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.reflink(u,this.tokens.links)){u=u.substring(y.raw.length);const q=h.at(-1);y.type==="text"&&(q==null?void 0:q.type)==="text"?(q.raw+=y.raw,q.text+=y.text):h.push(y);continue}if(y=this.tokenizer.emStrong(u,g,v)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.codespan(u)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.br(u)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.del(u)){u=u.substring(y.raw.length),h.push(y);continue}if(y=this.tokenizer.autolink(u)){u=u.substring(y.raw.length),h.push(y);continue}if(!this.state.inLink&&(y=this.tokenizer.url(u))){u=u.substring(y.raw.length),h.push(y);continue}let B=u;if((f=this.options.extensions)!=null&&f.startInline){let q=1/0;const _=u.slice(1);let $;this.options.extensions.startInline.forEach(G=>{$=G.call({lexer:this},_),typeof $=="number"&&$>=0&&(q=Math.min(q,$))}),q<1/0&&q>=0&&(B=u.substring(0,q+1))}if(y=this.tokenizer.inlineText(B)){u=u.substring(y.raw.length),y.raw.slice(-1)!=="_"&&(v=y.raw.slice(-1)),m=!0;const q=h.at(-1);(q==null?void 0:q.type)==="text"?(q.raw+=y.raw,q.text+=y.text):h.push(y);continue}if(u){const q="Infinite loop on byte: "+u.charCodeAt(0);if(this.options.silent){console.error(q);break}else throw new Error(q)}}return h}}class u0{constructor(u){be(this,"options");be(this,"parser");this.options=u||xt}space(u){return""}code({text:u,lang:h,escaped:g}){var v;const A=(v=(h||"").match(Le.notSpaceStart))==null?void 0:v[0],m=u.replace(Le.endingNewline,"")+`
|
||
`;return A?'<pre><code class="language-'+nt(A)+'">'+(g?m:nt(m,!0))+`</code></pre>
|
||
`:"<pre><code>"+(g?m:nt(m,!0))+`</code></pre>
|
||
`}blockquote({tokens:u}){return`<blockquote>
|
||
${this.parser.parse(u)}</blockquote>
|
||
`}html({text:u}){return u}heading({tokens:u,depth:h}){return`<h${h}>${this.parser.parseInline(u)}</h${h}>
|
||
`}hr(u){return`<hr>
|
||
`}list(u){const h=u.ordered,g=u.start;let A="";for(let M=0;M<u.items.length;M++){const S=u.items[M];A+=this.listitem(S)}const m=h?"ol":"ul",v=h&&g!==1?' start="'+g+'"':"";return"<"+m+v+`>
|
||
`+A+"</"+m+`>
|
||
`}listitem(u){var g;let h="";if(u.task){const A=this.checkbox({checked:!!u.checked});u.loose?((g=u.tokens[0])==null?void 0:g.type)==="paragraph"?(u.tokens[0].text=A+" "+u.tokens[0].text,u.tokens[0].tokens&&u.tokens[0].tokens.length>0&&u.tokens[0].tokens[0].type==="text"&&(u.tokens[0].tokens[0].text=A+" "+nt(u.tokens[0].tokens[0].text),u.tokens[0].tokens[0].escaped=!0)):u.tokens.unshift({type:"text",raw:A+" ",text:A+" ",escaped:!0}):h+=A+" "}return h+=this.parser.parse(u.tokens,!!u.loose),`<li>${h}</li>
|
||
`}checkbox({checked:u}){return"<input "+(u?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:u}){return`<p>${this.parser.parseInline(u)}</p>
|
||
`}table(u){let h="",g="";for(let m=0;m<u.header.length;m++)g+=this.tablecell(u.header[m]);h+=this.tablerow({text:g});let A="";for(let m=0;m<u.rows.length;m++){const v=u.rows[m];g="";for(let M=0;M<v.length;M++)g+=this.tablecell(v[M]);A+=this.tablerow({text:g})}return A&&(A=`<tbody>${A}</tbody>`),`<table>
|
||
<thead>
|
||
`+h+`</thead>
|
||
`+A+`</table>
|
||
`}tablerow({text:u}){return`<tr>
|
||
${u}</tr>
|
||
`}tablecell(u){const h=this.parser.parseInline(u.tokens),g=u.header?"th":"td";return(u.align?`<${g} align="${u.align}">`:`<${g}>`)+h+`</${g}>
|
||
`}strong({tokens:u}){return`<strong>${this.parser.parseInline(u)}</strong>`}em({tokens:u}){return`<em>${this.parser.parseInline(u)}</em>`}codespan({text:u}){return`<code>${nt(u,!0)}</code>`}br(u){return"<br>"}del({tokens:u}){return`<del>${this.parser.parseInline(u)}</del>`}link({href:u,title:h,tokens:g}){const A=this.parser.parseInline(g),m=Fn(u);if(m===null)return A;u=m;let v='<a href="'+u+'"';return h&&(v+=' title="'+nt(h)+'"'),v+=">"+A+"</a>",v}image({href:u,title:h,text:g}){const A=Fn(u);if(A===null)return nt(g);u=A;let m=`<img src="${u}" alt="${g}"`;return h&&(m+=` title="${nt(h)}"`),m+=">",m}text(u){return"tokens"in u&&u.tokens?this.parser.parseInline(u.tokens):"escaped"in u&&u.escaped?u.text:nt(u.text)}}class cr{strong({text:u}){return u}em({text:u}){return u}codespan({text:u}){return u}del({text:u}){return u}html({text:u}){return u}text({text:u}){return u}link({text:u}){return""+u}image({text:u}){return""+u}br(){return""}}class Xe{constructor(u){be(this,"options");be(this,"renderer");be(this,"textRenderer");this.options=u||xt,this.options.renderer=this.options.renderer||new u0,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new cr}static parse(u,h){return new Xe(h).parse(u)}static parseInline(u,h){return new Xe(h).parseInline(u)}parse(u,h=!0){var A,m;let g="";for(let v=0;v<u.length;v++){const M=u[v];if((m=(A=this.options.extensions)==null?void 0:A.renderers)!=null&&m[M.type]){const f=M,y=this.options.extensions.renderers[f.type].call({parser:this},f);if(y!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type)){g+=y||"";continue}}const S=M;switch(S.type){case"space":{g+=this.renderer.space(S);continue}case"hr":{g+=this.renderer.hr(S);continue}case"heading":{g+=this.renderer.heading(S);continue}case"code":{g+=this.renderer.code(S);continue}case"table":{g+=this.renderer.table(S);continue}case"blockquote":{g+=this.renderer.blockquote(S);continue}case"list":{g+=this.renderer.list(S);continue}case"html":{g+=this.renderer.html(S);continue}case"paragraph":{g+=this.renderer.paragraph(S);continue}case"text":{let f=S,y=this.renderer.text(f);for(;v+1<u.length&&u[v+1].type==="text";)f=u[++v],y+=`
|
||
`+this.renderer.text(f);h?g+=this.renderer.paragraph({type:"paragraph",raw:y,text:y,tokens:[{type:"text",raw:y,text:y,escaped:!0}]}):g+=y;continue}default:{const f='Token with "'+S.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return g}parseInline(u,h=this.renderer){var A,m;let g="";for(let v=0;v<u.length;v++){const M=u[v];if((m=(A=this.options.extensions)==null?void 0:A.renderers)!=null&&m[M.type]){const f=this.options.extensions.renderers[M.type].call({parser:this},M);if(f!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(M.type)){g+=f||"";continue}}const S=M;switch(S.type){case"escape":{g+=h.text(S);break}case"html":{g+=h.html(S);break}case"link":{g+=h.link(S);break}case"image":{g+=h.image(S);break}case"strong":{g+=h.strong(S);break}case"em":{g+=h.em(S);break}case"codespan":{g+=h.codespan(S);break}case"br":{g+=h.br(S);break}case"del":{g+=h.del(S);break}case"text":{g+=h.text(S);break}default:{const f='Token with "'+S.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return g}}class It{constructor(u){be(this,"options");be(this,"block");this.options=u||xt}preprocess(u){return u}postprocess(u){return u}processAllTokens(u){return u}provideLexer(){return this.block?je.lex:je.lexInline}provideParser(){return this.block?Xe.parse:Xe.parseInline}}be(It,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Al{constructor(...u){be(this,"defaults",tr());be(this,"options",this.setOptions);be(this,"parse",this.parseMarkdown(!0));be(this,"parseInline",this.parseMarkdown(!1));be(this,"Parser",Xe);be(this,"Renderer",u0);be(this,"TextRenderer",cr);be(this,"Lexer",je);be(this,"Tokenizer",c0);be(this,"Hooks",It);this.use(...u)}walkTokens(u,h){var A,m;let g=[];for(const v of u)switch(g=g.concat(h.call(this,v)),v.type){case"table":{const M=v;for(const S of M.header)g=g.concat(this.walkTokens(S.tokens,h));for(const S of M.rows)for(const f of S)g=g.concat(this.walkTokens(f.tokens,h));break}case"list":{const M=v;g=g.concat(this.walkTokens(M.items,h));break}default:{const M=v;(m=(A=this.defaults.extensions)==null?void 0:A.childTokens)!=null&&m[M.type]?this.defaults.extensions.childTokens[M.type].forEach(S=>{const f=M[S].flat(1/0);g=g.concat(this.walkTokens(f,h))}):M.tokens&&(g=g.concat(this.walkTokens(M.tokens,h)))}}return g}use(...u){const h=this.defaults.extensions||{renderers:{},childTokens:{}};return u.forEach(g=>{const A={...g};if(A.async=this.defaults.async||A.async||!1,g.extensions&&(g.extensions.forEach(m=>{if(!m.name)throw new Error("extension name required");if("renderer"in m){const v=h.renderers[m.name];v?h.renderers[m.name]=function(...M){let S=m.renderer.apply(this,M);return S===!1&&(S=v.apply(this,M)),S}:h.renderers[m.name]=m.renderer}if("tokenizer"in m){if(!m.level||m.level!=="block"&&m.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const v=h[m.level];v?v.unshift(m.tokenizer):h[m.level]=[m.tokenizer],m.start&&(m.level==="block"?h.startBlock?h.startBlock.push(m.start):h.startBlock=[m.start]:m.level==="inline"&&(h.startInline?h.startInline.push(m.start):h.startInline=[m.start]))}"childTokens"in m&&m.childTokens&&(h.childTokens[m.name]=m.childTokens)}),A.extensions=h),g.renderer){const m=this.defaults.renderer||new u0(this.defaults);for(const v in g.renderer){if(!(v in m))throw new Error(`renderer '${v}' does not exist`);if(["options","parser"].includes(v))continue;const M=v,S=g.renderer[M],f=m[M];m[M]=(...y)=>{let B=S.apply(m,y);return B===!1&&(B=f.apply(m,y)),B||""}}A.renderer=m}if(g.tokenizer){const m=this.defaults.tokenizer||new c0(this.defaults);for(const v in g.tokenizer){if(!(v in m))throw new Error(`tokenizer '${v}' does not exist`);if(["options","rules","lexer"].includes(v))continue;const M=v,S=g.tokenizer[M],f=m[M];m[M]=(...y)=>{let B=S.apply(m,y);return B===!1&&(B=f.apply(m,y)),B}}A.tokenizer=m}if(g.hooks){const m=this.defaults.hooks||new It;for(const v in g.hooks){if(!(v in m))throw new Error(`hook '${v}' does not exist`);if(["options","block"].includes(v))continue;const M=v,S=g.hooks[M],f=m[M];It.passThroughHooks.has(v)?m[M]=y=>{if(this.defaults.async)return Promise.resolve(S.call(m,y)).then(q=>f.call(m,q));const B=S.call(m,y);return f.call(m,B)}:m[M]=(...y)=>{let B=S.apply(m,y);return B===!1&&(B=f.apply(m,y)),B}}A.hooks=m}if(g.walkTokens){const m=this.defaults.walkTokens,v=g.walkTokens;A.walkTokens=function(M){let S=[];return S.push(v.call(this,M)),m&&(S=S.concat(m.call(this,M))),S}}this.defaults={...this.defaults,...A}}),this}setOptions(u){return this.defaults={...this.defaults,...u},this}lexer(u,h){return je.lex(u,h??this.defaults)}parser(u,h){return Xe.parse(u,h??this.defaults)}parseMarkdown(u){return(g,A)=>{const m={...A},v={...this.defaults,...m},M=this.onError(!!v.silent,!!v.async);if(this.defaults.async===!0&&m.async===!1)return M(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof g>"u"||g===null)return M(new Error("marked(): input parameter is undefined or null"));if(typeof g!="string")return M(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(g)+", string expected"));v.hooks&&(v.hooks.options=v,v.hooks.block=u);const S=v.hooks?v.hooks.provideLexer():u?je.lex:je.lexInline,f=v.hooks?v.hooks.provideParser():u?Xe.parse:Xe.parseInline;if(v.async)return Promise.resolve(v.hooks?v.hooks.preprocess(g):g).then(y=>S(y,v)).then(y=>v.hooks?v.hooks.processAllTokens(y):y).then(y=>v.walkTokens?Promise.all(this.walkTokens(y,v.walkTokens)).then(()=>y):y).then(y=>f(y,v)).then(y=>v.hooks?v.hooks.postprocess(y):y).catch(M);try{v.hooks&&(g=v.hooks.preprocess(g));let y=S(g,v);v.hooks&&(y=v.hooks.processAllTokens(y)),v.walkTokens&&this.walkTokens(y,v.walkTokens);let B=f(y,v);return v.hooks&&(B=v.hooks.postprocess(B)),B}catch(y){return M(y)}}}onError(u,h){return g=>{if(g.message+=`
|
||
Please report this to https://github.com/markedjs/marked.`,u){const A="<p>An error occurred:</p><pre>"+nt(g.message+"",!0)+"</pre>";return h?Promise.resolve(A):A}if(h)return Promise.reject(g);throw g}}}const yt=new Al;function ce(E,u){return yt.parse(E,u)}ce.options=ce.setOptions=function(E){return yt.setOptions(E),ce.defaults=yt.defaults,Xn(ce.defaults),ce};ce.getDefaults=tr;ce.defaults=xt;ce.use=function(...E){return yt.use(...E),ce.defaults=yt.defaults,Xn(ce.defaults),ce};ce.walkTokens=function(E,u){return yt.walkTokens(E,u)};ce.parseInline=yt.parseInline;ce.Parser=Xe;ce.parser=Xe.parse;ce.Renderer=u0;ce.TextRenderer=cr;ce.Lexer=je;ce.lexer=je.lex;ce.Tokenizer=c0;ce.Hooks=It;ce.parse=ce;ce.options;ce.setOptions;ce.use;ce.walkTokens;ce.parseInline;Xe.parse;je.lex;var l0={exports:{}},a0={exports:{}},Tl=a0.exports,Vn;function zl(){return Vn||(Vn=1,function(E,u){(function(g,A){E.exports=A()})(typeof self<"u"?self:Tl,function(){return function(){var h={};(function(){h.d=function(t,e){for(var r in e)h.o(e,r)&&!h.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}})(),function(){h.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var g={};h.d(g,{default:function(){return Oi}});class A{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let n="KaTeX parse error: "+e,s,l;const o=r&&r.loc;if(o&&o.start<=o.end){const b=o.lexer.input;s=o.start,l=o.end,s===b.length?n+=" at end of input: ":n+=" at position "+(s+1)+": ";const k=b.slice(s,l).replace(/[^]/g,"$&̲");let z;s>15?z="…"+b.slice(s-15,s):z=b.slice(0,s);let C;l+15<b.length?C=b.slice(l,l+15)+"…":C=b.slice(l),n+=z+k+C}const d=new Error(n);return d.name="ParseError",d.__proto__=A.prototype,d.position=s,s!=null&&l!=null&&(d.length=l-s),d.rawMessage=e,d}}A.prototype.__proto__=Error.prototype;var m=A;const v=function(t,e){return t.indexOf(e)!==-1},M=function(t,e){return t===void 0?e:t},S=/([A-Z])/g,f=function(t){return t.replace(S,"-$1").toLowerCase()},y={"&":"&",">":">","<":"<",'"':""","'":"'"},B=/[&><"']/g;function q(t){return String(t).replace(B,e=>y[e])}const _=function(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?_(t.body[0]):t:t.type==="font"?_(t.body):t},$=function(t){const e=_(t);return e.type==="mathord"||e.type==="textord"||e.type==="atom"},G=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t};var V={contains:v,deflt:M,escape:q,hyphenate:f,getBaseElem:_,isCharacterBox:$,protocolFromUrl:function(t){const e=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"}};const X={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:t=>"#"+t},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:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),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:t=>Math.max(0,t),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:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Z(t){if(t.default)return t.default;const e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class R{constructor(e){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,e=e||{};for(const r in X)if(X.hasOwnProperty(r)){const n=X[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:Z(n)}}reportNonstrict(e,r,n){let s=this.strict;if(typeof s=="function"&&(s=s(e,r,n)),!(!s||s==="ignore")){if(s===!0||s==="error")throw new m("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);s==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+s+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){let s=this.strict;if(typeof s=="function")try{s=s(e,r,n)}catch{s="error"}return!s||s==="ignore"?!1:s===!0||s==="error"?!0:s==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+s+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){const n=V.protocolFromUrl(e.url);if(n==null)return!1;e.protocol=n}return!!(typeof this.trust=="function"?this.trust(e):this.trust)}}class H{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return Ee[At[this.id]]}sub(){return Ee[wt[this.id]]}fracNum(){return Ee[is[this.id]]}fracDen(){return Ee[ls[this.id]]}cramp(){return Ee[as[this.id]]}text(){return Ee[os[this.id]]}isTight(){return this.size>=2}}const ne=0,K=1,se=2,J=3,ae=4,Ne=5,Ke=6,Te=7,Ee=[new H(ne,0,!1),new H(K,0,!0),new H(se,1,!1),new H(J,1,!0),new H(ae,2,!1),new H(Ne,2,!0),new H(Ke,3,!1),new H(Te,3,!0)],At=[ae,Ne,ae,Ne,Ke,Te,Ke,Te],wt=[Ne,Ne,Ne,Ne,Te,Te,Te,Te],is=[se,J,ae,Ne,Ke,Te,Ke,Te],ls=[J,J,Ne,Ne,Te,Te,Te,Te],as=[K,K,J,J,Ne,Ne,Te,Te],os=[ne,K,se,J,se,J,se,J];var ee={DISPLAY:Ee[ne],TEXT:Ee[se],SCRIPT:Ee[ae],SCRIPTSCRIPT:Ee[Ke]};const m0=[{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 cs(t){for(let e=0;e<m0.length;e++){const r=m0[e];for(let n=0;n<r.blocks.length;n++){const s=r.blocks[n];if(t>=s[0]&&t<=s[1])return r.name}}return null}const Ot=[];m0.forEach(t=>t.blocks.forEach(e=>Ot.push(...e)));function ur(t){for(let e=0;e<Ot.length;e+=2)if(t>=Ot[e]&&t<=Ot[e+1])return!0;return!1}const kt=80,us=function(t,e){return"M95,"+(622+t+e)+`
|
||
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`+t/2.075+" -"+t+`
|
||
c5.3,-9.3,12,-14,20,-14
|
||
H400000v`+(40+t)+`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+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},hs=function(t,e){return"M263,"+(601+t+e)+`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`+t/2.084+" -"+t+`
|
||
c4.7,-7.3,11,-11,19,-11
|
||
H40000v`+(40+t)+`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+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},ds=function(t,e){return"M983 "+(10+t+e)+`
|
||
l`+t/3.13+" -"+t+`
|
||
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
||
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+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},ms=function(t,e){return"M424,"+(2398+t+e)+`
|
||
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`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
||
v`+(40+t)+`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+t)+" "+e+`
|
||
h400000v`+(40+t)+"h-400000z"},ps=function(t,e){return"M473,"+(2713+t+e)+`
|
||
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
||
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`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+t)+" "+e+"h400000v"+(40+t)+"H1017.7z"},fs=function(t){const e=t/2;return"M400000 "+t+" H0 L"+e+" 0 l65 45 L145 "+(t-80)+" H400000z"},gs=function(t,e,r){const n=r-54-e-t;return"M702 "+(t+e)+"H400000"+(40+t)+`
|
||
H742v`+n+`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 `+e+"H400000v"+(40+t)+"H742z"},bs=function(t,e,r){e=1e3*e;let n="";switch(t){case"sqrtMain":n=us(e,kt);break;case"sqrtSize1":n=hs(e,kt);break;case"sqrtSize2":n=ds(e,kt);break;case"sqrtSize3":n=ms(e,kt);break;case"sqrtSize4":n=ps(e,kt);break;case"sqrtTall":n=gs(e,kt,r)}return n},ys=function(t,e){switch(t){case"⎜":return"M291 0 H417 V"+e+" H291z M291 0 H417 V"+e+" H291z";case"∣":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z";case"∥":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z"+("M367 0 H410 V"+e+" H367z M367 0 H410 V"+e+" H367z");case"⎟":return"M457 0 H583 V"+e+" H457z M457 0 H583 V"+e+" H457z";case"⎢":return"M319 0 H403 V"+e+" H319z M319 0 H403 V"+e+" H319z";case"⎥":return"M263 0 H347 V"+e+" H263z M263 0 H347 V"+e+" H263z";case"⎪":return"M384 0 H504 V"+e+" H384z M384 0 H504 V"+e+" H384z";case"⏐":return"M312 0 H355 V"+e+" H312z M312 0 H355 V"+e+" H312z";case"‖":return"M257 0 H300 V"+e+" H257z M257 0 H300 V"+e+" H257z"+("M478 0 H521 V"+e+" H478z M478 0 H521 V"+e+" H478z");default:return""}},hr={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`},xs=function(t,e){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+` v1759 h347 v-84
|
||
H403z M403 1759 V0 H319 V1759 v`+e+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+` v1759 H0 v84 H347z
|
||
M347 1759 V0 H263 V1759 v`+e+" v1759 h84z";case"vert":return"M145 15 v585 v"+e+` v585 c2.667,10,9.667,15,21,15
|
||
c10,0,16.667,-5,20,-15 v-585 v`+-e+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
||
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+e+" v585 h43z";case"doublevert":return"M145 15 v585 v"+e+` v585 c2.667,10,9.667,15,21,15
|
||
c10,0,16.667,-5,20,-15 v-585 v`+-e+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
||
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+e+` v585 h43z
|
||
M367 15 v585 v`+e+` v585 c2.667,10,9.667,15,21,15
|
||
c10,0,16.667,-5,20,-15 v-585 v`+-e+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
||
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+e+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+e+` v1715 h263 v84 H319z
|
||
MM319 602 V0 H403 V602 v`+e+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+e+` v1799 H0 v-84 H319z
|
||
MM319 602 V0 H403 V602 v`+e+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+` v602 h84z
|
||
M403 1759 V0 H319 V1759 v`+e+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+` v602 h84z
|
||
M347 1759 V0 h-84 V1759 v`+e+" 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,`+(e+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,-`+(e+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,`+(e+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,-`+(e+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 Tt{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return V.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){let e="";for(let r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){const e=r=>r.toText();return this.children.map(e).join("")}}var Qe={"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]}};const _t={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]},dr={Å:"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 ws(t,e){Qe[t]=e}function p0(t,e,r){if(!Qe[e])throw new Error("Font metrics not found for font: "+e+".");let n=t.charCodeAt(0),s=Qe[e][n];if(!s&&t[0]in dr&&(n=dr[t[0]].charCodeAt(0),s=Qe[e][n]),!s&&r==="text"&&ur(n)&&(s=Qe[e][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}const f0={};function ks(t){let e;if(t>=5?e=0:t>=3?e=1:e=2,!f0[e]){const r=f0[e]={cssEmPerMu:_t.quad[e]/18};for(const n in _t)_t.hasOwnProperty(n)&&(r[n]=_t[n][e])}return f0[e]}const vs=[[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]],mr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],pr=function(t,e){return e.size<2?t:vs[t-1][e.size-1]};class st{constructor(e){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=e.style,this.color=e.color,this.size=e.size||st.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=mr[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const r={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(const n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new st(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:pr(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:mr[e-1]})}havingBaseStyle(e){e=e||this.style.text();const r=pr(st.BASESIZE,e);return this.size===r&&this.textSize===st.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==st.BASESIZE?["sizing","reset-size"+this.size,"size"+st.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=ks(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}st.BASESIZE=6;var Ss=st;const g0={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},Ms={ex:!0,em:!0,mu:!0},fr=function(t){return typeof t!="string"&&(t=t.unit),t in g0||t in Ms||t==="ex"},ve=function(t,e){let r;if(t.unit in g0)r=g0[t.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if(t.unit==="mu")r=e.fontMetrics().cssEmPerMu;else{let n;if(e.style.isTight()?n=e.havingStyle(e.style.text()):n=e,t.unit==="ex")r=n.fontMetrics().xHeight;else if(t.unit==="em")r=n.fontMetrics().quad;else throw new m("Invalid unit: '"+t.unit+"'");n!==e&&(r*=n.sizeMultiplier/e.sizeMultiplier)}return Math.min(t.number*r,e.maxSize)},F=function(t){return+t.toFixed(4)+"em"},ht=function(t){return t.filter(e=>e).join(" ")},gr=function(t,e,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},e){e.style.isTight()&&this.classes.push("mtight");const n=e.getColor();n&&(this.style.color=n)}},br=function(t){const e=document.createElement(t);e.className=ht(this.classes);for(const r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);for(const r in this.attributes)this.attributes.hasOwnProperty(r)&&e.setAttribute(r,this.attributes[r]);for(let r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e},As=/[\s"'>/=\x00-\x1f]/,yr=function(t){let e="<"+t;this.classes.length&&(e+=' class="'+V.escape(ht(this.classes))+'"');let r="";for(const n in this.style)this.style.hasOwnProperty(n)&&(r+=V.hyphenate(n)+":"+this.style[n]+";");r&&(e+=' style="'+V.escape(r)+'"');for(const n in this.attributes)if(this.attributes.hasOwnProperty(n)){if(As.test(n))throw new m("Invalid attribute name '"+n+"'");e+=" "+n+'="'+V.escape(this.attributes[n])+'"'}e+=">";for(let n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+t+">",e};class zt{constructor(e,r,n,s){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,gr.call(this,e,n,s),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return V.contains(this.classes,e)}toNode(){return br.call(this,"span")}toMarkup(){return yr.call(this,"span")}}class b0{constructor(e,r,n,s){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,gr.call(this,r,s),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return V.contains(this.classes,e)}toNode(){return br.call(this,"a")}toMarkup(){return yr.call(this,"a")}}class Ts{constructor(e,r,n){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=r,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return V.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){let e='<img src="'+V.escape(this.src)+'"'+(' alt="'+V.escape(this.alt)+'"'),r="";for(const n in this.style)this.style.hasOwnProperty(n)&&(r+=V.hyphenate(n)+":"+this.style[n]+";");return r&&(e+=' style="'+V.escape(r)+'"'),e+="'/>",e}}const zs={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class $e{constructor(e,r,n,s,l,o,d,b){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=e,this.height=r||0,this.depth=n||0,this.italic=s||0,this.skew=l||0,this.width=o||0,this.classes=d||[],this.style=b||{},this.maxFontSize=0;const k=cs(this.text.charCodeAt(0));k&&this.classes.push(k+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=zs[this.text])}hasClass(e){return V.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=F(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=ht(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(e),r):e}toMarkup(){let e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=V.escape(ht(this.classes)),r+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const l in this.style)this.style.hasOwnProperty(l)&&(n+=V.hyphenate(l)+":"+this.style[l]+";");n&&(e=!0,r+=' style="'+V.escape(n)+'"');const s=V.escape(this.text);return e?(r+=">",r+=s,r+="</span>",r):s}}class it{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){const r=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)r.appendChild(this.children[n].toNode());return r}toMarkup(){let e='<svg xmlns="http://www.w3.org/2000/svg"';for(const r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+V.escape(this.attributes[r])+'"');e+=">";for(let r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>",e}}class dt{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){const r=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",hr[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+V.escape(this.alternate)+'"/>':'<path d="'+V.escape(hr[this.pathName])+'"/>'}}class y0{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const r=document.createElementNS("http://www.w3.org/2000/svg","line");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){let e="<line";for(const r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+V.escape(this.attributes[r])+'"');return e+="/>",e}}function xr(t){if(t instanceof $e)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function Cs(t){if(t instanceof zt)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}const Ns={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Bs={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ht={math:{},text:{}};var Se=Ht;function i(t,e,r,n,s,l){Ht[t][s]={font:e,group:r,replace:n},l&&n&&(Ht[t][n]=Ht[t][s])}const a="math",O="text",c="main",x="ams",we="accent-token",W="bin",qe="close",vt="inner",te="mathord",Be="op-token",He="open",Pt="punct",w="rel",lt="spacing",T="textord";i(a,c,w,"≡","\\equiv",!0),i(a,c,w,"≺","\\prec",!0),i(a,c,w,"≻","\\succ",!0),i(a,c,w,"∼","\\sim",!0),i(a,c,w,"⊥","\\perp"),i(a,c,w,"⪯","\\preceq",!0),i(a,c,w,"⪰","\\succeq",!0),i(a,c,w,"≃","\\simeq",!0),i(a,c,w,"∣","\\mid",!0),i(a,c,w,"≪","\\ll",!0),i(a,c,w,"≫","\\gg",!0),i(a,c,w,"≍","\\asymp",!0),i(a,c,w,"∥","\\parallel"),i(a,c,w,"⋈","\\bowtie",!0),i(a,c,w,"⌣","\\smile",!0),i(a,c,w,"⊑","\\sqsubseteq",!0),i(a,c,w,"⊒","\\sqsupseteq",!0),i(a,c,w,"≐","\\doteq",!0),i(a,c,w,"⌢","\\frown",!0),i(a,c,w,"∋","\\ni",!0),i(a,c,w,"∝","\\propto",!0),i(a,c,w,"⊢","\\vdash",!0),i(a,c,w,"⊣","\\dashv",!0),i(a,c,w,"∋","\\owns"),i(a,c,Pt,".","\\ldotp"),i(a,c,Pt,"⋅","\\cdotp"),i(a,c,T,"#","\\#"),i(O,c,T,"#","\\#"),i(a,c,T,"&","\\&"),i(O,c,T,"&","\\&"),i(a,c,T,"ℵ","\\aleph",!0),i(a,c,T,"∀","\\forall",!0),i(a,c,T,"ℏ","\\hbar",!0),i(a,c,T,"∃","\\exists",!0),i(a,c,T,"∇","\\nabla",!0),i(a,c,T,"♭","\\flat",!0),i(a,c,T,"ℓ","\\ell",!0),i(a,c,T,"♮","\\natural",!0),i(a,c,T,"♣","\\clubsuit",!0),i(a,c,T,"℘","\\wp",!0),i(a,c,T,"♯","\\sharp",!0),i(a,c,T,"♢","\\diamondsuit",!0),i(a,c,T,"ℜ","\\Re",!0),i(a,c,T,"♡","\\heartsuit",!0),i(a,c,T,"ℑ","\\Im",!0),i(a,c,T,"♠","\\spadesuit",!0),i(a,c,T,"§","\\S",!0),i(O,c,T,"§","\\S"),i(a,c,T,"¶","\\P",!0),i(O,c,T,"¶","\\P"),i(a,c,T,"†","\\dag"),i(O,c,T,"†","\\dag"),i(O,c,T,"†","\\textdagger"),i(a,c,T,"‡","\\ddag"),i(O,c,T,"‡","\\ddag"),i(O,c,T,"‡","\\textdaggerdbl"),i(a,c,qe,"⎱","\\rmoustache",!0),i(a,c,He,"⎰","\\lmoustache",!0),i(a,c,qe,"⟯","\\rgroup",!0),i(a,c,He,"⟮","\\lgroup",!0),i(a,c,W,"∓","\\mp",!0),i(a,c,W,"⊖","\\ominus",!0),i(a,c,W,"⊎","\\uplus",!0),i(a,c,W,"⊓","\\sqcap",!0),i(a,c,W,"∗","\\ast"),i(a,c,W,"⊔","\\sqcup",!0),i(a,c,W,"◯","\\bigcirc",!0),i(a,c,W,"∙","\\bullet",!0),i(a,c,W,"‡","\\ddagger"),i(a,c,W,"≀","\\wr",!0),i(a,c,W,"⨿","\\amalg"),i(a,c,W,"&","\\And"),i(a,c,w,"⟵","\\longleftarrow",!0),i(a,c,w,"⇐","\\Leftarrow",!0),i(a,c,w,"⟸","\\Longleftarrow",!0),i(a,c,w,"⟶","\\longrightarrow",!0),i(a,c,w,"⇒","\\Rightarrow",!0),i(a,c,w,"⟹","\\Longrightarrow",!0),i(a,c,w,"↔","\\leftrightarrow",!0),i(a,c,w,"⟷","\\longleftrightarrow",!0),i(a,c,w,"⇔","\\Leftrightarrow",!0),i(a,c,w,"⟺","\\Longleftrightarrow",!0),i(a,c,w,"↦","\\mapsto",!0),i(a,c,w,"⟼","\\longmapsto",!0),i(a,c,w,"↗","\\nearrow",!0),i(a,c,w,"↩","\\hookleftarrow",!0),i(a,c,w,"↪","\\hookrightarrow",!0),i(a,c,w,"↘","\\searrow",!0),i(a,c,w,"↼","\\leftharpoonup",!0),i(a,c,w,"⇀","\\rightharpoonup",!0),i(a,c,w,"↙","\\swarrow",!0),i(a,c,w,"↽","\\leftharpoondown",!0),i(a,c,w,"⇁","\\rightharpoondown",!0),i(a,c,w,"↖","\\nwarrow",!0),i(a,c,w,"⇌","\\rightleftharpoons",!0),i(a,x,w,"≮","\\nless",!0),i(a,x,w,"","\\@nleqslant"),i(a,x,w,"","\\@nleqq"),i(a,x,w,"⪇","\\lneq",!0),i(a,x,w,"≨","\\lneqq",!0),i(a,x,w,"","\\@lvertneqq"),i(a,x,w,"⋦","\\lnsim",!0),i(a,x,w,"⪉","\\lnapprox",!0),i(a,x,w,"⊀","\\nprec",!0),i(a,x,w,"⋠","\\npreceq",!0),i(a,x,w,"⋨","\\precnsim",!0),i(a,x,w,"⪹","\\precnapprox",!0),i(a,x,w,"≁","\\nsim",!0),i(a,x,w,"","\\@nshortmid"),i(a,x,w,"∤","\\nmid",!0),i(a,x,w,"⊬","\\nvdash",!0),i(a,x,w,"⊭","\\nvDash",!0),i(a,x,w,"⋪","\\ntriangleleft"),i(a,x,w,"⋬","\\ntrianglelefteq",!0),i(a,x,w,"⊊","\\subsetneq",!0),i(a,x,w,"","\\@varsubsetneq"),i(a,x,w,"⫋","\\subsetneqq",!0),i(a,x,w,"","\\@varsubsetneqq"),i(a,x,w,"≯","\\ngtr",!0),i(a,x,w,"","\\@ngeqslant"),i(a,x,w,"","\\@ngeqq"),i(a,x,w,"⪈","\\gneq",!0),i(a,x,w,"≩","\\gneqq",!0),i(a,x,w,"","\\@gvertneqq"),i(a,x,w,"⋧","\\gnsim",!0),i(a,x,w,"⪊","\\gnapprox",!0),i(a,x,w,"⊁","\\nsucc",!0),i(a,x,w,"⋡","\\nsucceq",!0),i(a,x,w,"⋩","\\succnsim",!0),i(a,x,w,"⪺","\\succnapprox",!0),i(a,x,w,"≆","\\ncong",!0),i(a,x,w,"","\\@nshortparallel"),i(a,x,w,"∦","\\nparallel",!0),i(a,x,w,"⊯","\\nVDash",!0),i(a,x,w,"⋫","\\ntriangleright"),i(a,x,w,"⋭","\\ntrianglerighteq",!0),i(a,x,w,"","\\@nsupseteqq"),i(a,x,w,"⊋","\\supsetneq",!0),i(a,x,w,"","\\@varsupsetneq"),i(a,x,w,"⫌","\\supsetneqq",!0),i(a,x,w,"","\\@varsupsetneqq"),i(a,x,w,"⊮","\\nVdash",!0),i(a,x,w,"⪵","\\precneqq",!0),i(a,x,w,"⪶","\\succneqq",!0),i(a,x,w,"","\\@nsubseteqq"),i(a,x,W,"⊴","\\unlhd"),i(a,x,W,"⊵","\\unrhd"),i(a,x,w,"↚","\\nleftarrow",!0),i(a,x,w,"↛","\\nrightarrow",!0),i(a,x,w,"⇍","\\nLeftarrow",!0),i(a,x,w,"⇏","\\nRightarrow",!0),i(a,x,w,"↮","\\nleftrightarrow",!0),i(a,x,w,"⇎","\\nLeftrightarrow",!0),i(a,x,w,"△","\\vartriangle"),i(a,x,T,"ℏ","\\hslash"),i(a,x,T,"▽","\\triangledown"),i(a,x,T,"◊","\\lozenge"),i(a,x,T,"Ⓢ","\\circledS"),i(a,x,T,"®","\\circledR"),i(O,x,T,"®","\\circledR"),i(a,x,T,"∡","\\measuredangle",!0),i(a,x,T,"∄","\\nexists"),i(a,x,T,"℧","\\mho"),i(a,x,T,"Ⅎ","\\Finv",!0),i(a,x,T,"⅁","\\Game",!0),i(a,x,T,"‵","\\backprime"),i(a,x,T,"▲","\\blacktriangle"),i(a,x,T,"▼","\\blacktriangledown"),i(a,x,T,"■","\\blacksquare"),i(a,x,T,"⧫","\\blacklozenge"),i(a,x,T,"★","\\bigstar"),i(a,x,T,"∢","\\sphericalangle",!0),i(a,x,T,"∁","\\complement",!0),i(a,x,T,"ð","\\eth",!0),i(O,c,T,"ð","ð"),i(a,x,T,"╱","\\diagup"),i(a,x,T,"╲","\\diagdown"),i(a,x,T,"□","\\square"),i(a,x,T,"□","\\Box"),i(a,x,T,"◊","\\Diamond"),i(a,x,T,"¥","\\yen",!0),i(O,x,T,"¥","\\yen",!0),i(a,x,T,"✓","\\checkmark",!0),i(O,x,T,"✓","\\checkmark"),i(a,x,T,"ℶ","\\beth",!0),i(a,x,T,"ℸ","\\daleth",!0),i(a,x,T,"ℷ","\\gimel",!0),i(a,x,T,"ϝ","\\digamma",!0),i(a,x,T,"ϰ","\\varkappa"),i(a,x,He,"┌","\\@ulcorner",!0),i(a,x,qe,"┐","\\@urcorner",!0),i(a,x,He,"└","\\@llcorner",!0),i(a,x,qe,"┘","\\@lrcorner",!0),i(a,x,w,"≦","\\leqq",!0),i(a,x,w,"⩽","\\leqslant",!0),i(a,x,w,"⪕","\\eqslantless",!0),i(a,x,w,"≲","\\lesssim",!0),i(a,x,w,"⪅","\\lessapprox",!0),i(a,x,w,"≊","\\approxeq",!0),i(a,x,W,"⋖","\\lessdot"),i(a,x,w,"⋘","\\lll",!0),i(a,x,w,"≶","\\lessgtr",!0),i(a,x,w,"⋚","\\lesseqgtr",!0),i(a,x,w,"⪋","\\lesseqqgtr",!0),i(a,x,w,"≑","\\doteqdot"),i(a,x,w,"≓","\\risingdotseq",!0),i(a,x,w,"≒","\\fallingdotseq",!0),i(a,x,w,"∽","\\backsim",!0),i(a,x,w,"⋍","\\backsimeq",!0),i(a,x,w,"⫅","\\subseteqq",!0),i(a,x,w,"⋐","\\Subset",!0),i(a,x,w,"⊏","\\sqsubset",!0),i(a,x,w,"≼","\\preccurlyeq",!0),i(a,x,w,"⋞","\\curlyeqprec",!0),i(a,x,w,"≾","\\precsim",!0),i(a,x,w,"⪷","\\precapprox",!0),i(a,x,w,"⊲","\\vartriangleleft"),i(a,x,w,"⊴","\\trianglelefteq"),i(a,x,w,"⊨","\\vDash",!0),i(a,x,w,"⊪","\\Vvdash",!0),i(a,x,w,"⌣","\\smallsmile"),i(a,x,w,"⌢","\\smallfrown"),i(a,x,w,"≏","\\bumpeq",!0),i(a,x,w,"≎","\\Bumpeq",!0),i(a,x,w,"≧","\\geqq",!0),i(a,x,w,"⩾","\\geqslant",!0),i(a,x,w,"⪖","\\eqslantgtr",!0),i(a,x,w,"≳","\\gtrsim",!0),i(a,x,w,"⪆","\\gtrapprox",!0),i(a,x,W,"⋗","\\gtrdot"),i(a,x,w,"⋙","\\ggg",!0),i(a,x,w,"≷","\\gtrless",!0),i(a,x,w,"⋛","\\gtreqless",!0),i(a,x,w,"⪌","\\gtreqqless",!0),i(a,x,w,"≖","\\eqcirc",!0),i(a,x,w,"≗","\\circeq",!0),i(a,x,w,"≜","\\triangleq",!0),i(a,x,w,"∼","\\thicksim"),i(a,x,w,"≈","\\thickapprox"),i(a,x,w,"⫆","\\supseteqq",!0),i(a,x,w,"⋑","\\Supset",!0),i(a,x,w,"⊐","\\sqsupset",!0),i(a,x,w,"≽","\\succcurlyeq",!0),i(a,x,w,"⋟","\\curlyeqsucc",!0),i(a,x,w,"≿","\\succsim",!0),i(a,x,w,"⪸","\\succapprox",!0),i(a,x,w,"⊳","\\vartriangleright"),i(a,x,w,"⊵","\\trianglerighteq"),i(a,x,w,"⊩","\\Vdash",!0),i(a,x,w,"∣","\\shortmid"),i(a,x,w,"∥","\\shortparallel"),i(a,x,w,"≬","\\between",!0),i(a,x,w,"⋔","\\pitchfork",!0),i(a,x,w,"∝","\\varpropto"),i(a,x,w,"◀","\\blacktriangleleft"),i(a,x,w,"∴","\\therefore",!0),i(a,x,w,"∍","\\backepsilon"),i(a,x,w,"▶","\\blacktriangleright"),i(a,x,w,"∵","\\because",!0),i(a,x,w,"⋘","\\llless"),i(a,x,w,"⋙","\\gggtr"),i(a,x,W,"⊲","\\lhd"),i(a,x,W,"⊳","\\rhd"),i(a,x,w,"≂","\\eqsim",!0),i(a,c,w,"⋈","\\Join"),i(a,x,w,"≑","\\Doteq",!0),i(a,x,W,"∔","\\dotplus",!0),i(a,x,W,"∖","\\smallsetminus"),i(a,x,W,"⋒","\\Cap",!0),i(a,x,W,"⋓","\\Cup",!0),i(a,x,W,"⩞","\\doublebarwedge",!0),i(a,x,W,"⊟","\\boxminus",!0),i(a,x,W,"⊞","\\boxplus",!0),i(a,x,W,"⋇","\\divideontimes",!0),i(a,x,W,"⋉","\\ltimes",!0),i(a,x,W,"⋊","\\rtimes",!0),i(a,x,W,"⋋","\\leftthreetimes",!0),i(a,x,W,"⋌","\\rightthreetimes",!0),i(a,x,W,"⋏","\\curlywedge",!0),i(a,x,W,"⋎","\\curlyvee",!0),i(a,x,W,"⊝","\\circleddash",!0),i(a,x,W,"⊛","\\circledast",!0),i(a,x,W,"⋅","\\centerdot"),i(a,x,W,"⊺","\\intercal",!0),i(a,x,W,"⋒","\\doublecap"),i(a,x,W,"⋓","\\doublecup"),i(a,x,W,"⊠","\\boxtimes",!0),i(a,x,w,"⇢","\\dashrightarrow",!0),i(a,x,w,"⇠","\\dashleftarrow",!0),i(a,x,w,"⇇","\\leftleftarrows",!0),i(a,x,w,"⇆","\\leftrightarrows",!0),i(a,x,w,"⇚","\\Lleftarrow",!0),i(a,x,w,"↞","\\twoheadleftarrow",!0),i(a,x,w,"↢","\\leftarrowtail",!0),i(a,x,w,"↫","\\looparrowleft",!0),i(a,x,w,"⇋","\\leftrightharpoons",!0),i(a,x,w,"↶","\\curvearrowleft",!0),i(a,x,w,"↺","\\circlearrowleft",!0),i(a,x,w,"↰","\\Lsh",!0),i(a,x,w,"⇈","\\upuparrows",!0),i(a,x,w,"↿","\\upharpoonleft",!0),i(a,x,w,"⇃","\\downharpoonleft",!0),i(a,c,w,"⊶","\\origof",!0),i(a,c,w,"⊷","\\imageof",!0),i(a,x,w,"⊸","\\multimap",!0),i(a,x,w,"↭","\\leftrightsquigarrow",!0),i(a,x,w,"⇉","\\rightrightarrows",!0),i(a,x,w,"⇄","\\rightleftarrows",!0),i(a,x,w,"↠","\\twoheadrightarrow",!0),i(a,x,w,"↣","\\rightarrowtail",!0),i(a,x,w,"↬","\\looparrowright",!0),i(a,x,w,"↷","\\curvearrowright",!0),i(a,x,w,"↻","\\circlearrowright",!0),i(a,x,w,"↱","\\Rsh",!0),i(a,x,w,"⇊","\\downdownarrows",!0),i(a,x,w,"↾","\\upharpoonright",!0),i(a,x,w,"⇂","\\downharpoonright",!0),i(a,x,w,"⇝","\\rightsquigarrow",!0),i(a,x,w,"⇝","\\leadsto"),i(a,x,w,"⇛","\\Rrightarrow",!0),i(a,x,w,"↾","\\restriction"),i(a,c,T,"‘","`"),i(a,c,T,"$","\\$"),i(O,c,T,"$","\\$"),i(O,c,T,"$","\\textdollar"),i(a,c,T,"%","\\%"),i(O,c,T,"%","\\%"),i(a,c,T,"_","\\_"),i(O,c,T,"_","\\_"),i(O,c,T,"_","\\textunderscore"),i(a,c,T,"∠","\\angle",!0),i(a,c,T,"∞","\\infty",!0),i(a,c,T,"′","\\prime"),i(a,c,T,"△","\\triangle"),i(a,c,T,"Γ","\\Gamma",!0),i(a,c,T,"Δ","\\Delta",!0),i(a,c,T,"Θ","\\Theta",!0),i(a,c,T,"Λ","\\Lambda",!0),i(a,c,T,"Ξ","\\Xi",!0),i(a,c,T,"Π","\\Pi",!0),i(a,c,T,"Σ","\\Sigma",!0),i(a,c,T,"Υ","\\Upsilon",!0),i(a,c,T,"Φ","\\Phi",!0),i(a,c,T,"Ψ","\\Psi",!0),i(a,c,T,"Ω","\\Omega",!0),i(a,c,T,"A","Α"),i(a,c,T,"B","Β"),i(a,c,T,"E","Ε"),i(a,c,T,"Z","Ζ"),i(a,c,T,"H","Η"),i(a,c,T,"I","Ι"),i(a,c,T,"K","Κ"),i(a,c,T,"M","Μ"),i(a,c,T,"N","Ν"),i(a,c,T,"O","Ο"),i(a,c,T,"P","Ρ"),i(a,c,T,"T","Τ"),i(a,c,T,"X","Χ"),i(a,c,T,"¬","\\neg",!0),i(a,c,T,"¬","\\lnot"),i(a,c,T,"⊤","\\top"),i(a,c,T,"⊥","\\bot"),i(a,c,T,"∅","\\emptyset"),i(a,x,T,"∅","\\varnothing"),i(a,c,te,"α","\\alpha",!0),i(a,c,te,"β","\\beta",!0),i(a,c,te,"γ","\\gamma",!0),i(a,c,te,"δ","\\delta",!0),i(a,c,te,"ϵ","\\epsilon",!0),i(a,c,te,"ζ","\\zeta",!0),i(a,c,te,"η","\\eta",!0),i(a,c,te,"θ","\\theta",!0),i(a,c,te,"ι","\\iota",!0),i(a,c,te,"κ","\\kappa",!0),i(a,c,te,"λ","\\lambda",!0),i(a,c,te,"μ","\\mu",!0),i(a,c,te,"ν","\\nu",!0),i(a,c,te,"ξ","\\xi",!0),i(a,c,te,"ο","\\omicron",!0),i(a,c,te,"π","\\pi",!0),i(a,c,te,"ρ","\\rho",!0),i(a,c,te,"σ","\\sigma",!0),i(a,c,te,"τ","\\tau",!0),i(a,c,te,"υ","\\upsilon",!0),i(a,c,te,"ϕ","\\phi",!0),i(a,c,te,"χ","\\chi",!0),i(a,c,te,"ψ","\\psi",!0),i(a,c,te,"ω","\\omega",!0),i(a,c,te,"ε","\\varepsilon",!0),i(a,c,te,"ϑ","\\vartheta",!0),i(a,c,te,"ϖ","\\varpi",!0),i(a,c,te,"ϱ","\\varrho",!0),i(a,c,te,"ς","\\varsigma",!0),i(a,c,te,"φ","\\varphi",!0),i(a,c,W,"∗","*",!0),i(a,c,W,"+","+"),i(a,c,W,"−","-",!0),i(a,c,W,"⋅","\\cdot",!0),i(a,c,W,"∘","\\circ",!0),i(a,c,W,"÷","\\div",!0),i(a,c,W,"±","\\pm",!0),i(a,c,W,"×","\\times",!0),i(a,c,W,"∩","\\cap",!0),i(a,c,W,"∪","\\cup",!0),i(a,c,W,"∖","\\setminus",!0),i(a,c,W,"∧","\\land"),i(a,c,W,"∨","\\lor"),i(a,c,W,"∧","\\wedge",!0),i(a,c,W,"∨","\\vee",!0),i(a,c,T,"√","\\surd"),i(a,c,He,"⟨","\\langle",!0),i(a,c,He,"∣","\\lvert"),i(a,c,He,"∥","\\lVert"),i(a,c,qe,"?","?"),i(a,c,qe,"!","!"),i(a,c,qe,"⟩","\\rangle",!0),i(a,c,qe,"∣","\\rvert"),i(a,c,qe,"∥","\\rVert"),i(a,c,w,"=","="),i(a,c,w,":",":"),i(a,c,w,"≈","\\approx",!0),i(a,c,w,"≅","\\cong",!0),i(a,c,w,"≥","\\ge"),i(a,c,w,"≥","\\geq",!0),i(a,c,w,"←","\\gets"),i(a,c,w,">","\\gt",!0),i(a,c,w,"∈","\\in",!0),i(a,c,w,"","\\@not"),i(a,c,w,"⊂","\\subset",!0),i(a,c,w,"⊃","\\supset",!0),i(a,c,w,"⊆","\\subseteq",!0),i(a,c,w,"⊇","\\supseteq",!0),i(a,x,w,"⊈","\\nsubseteq",!0),i(a,x,w,"⊉","\\nsupseteq",!0),i(a,c,w,"⊨","\\models"),i(a,c,w,"←","\\leftarrow",!0),i(a,c,w,"≤","\\le"),i(a,c,w,"≤","\\leq",!0),i(a,c,w,"<","\\lt",!0),i(a,c,w,"→","\\rightarrow",!0),i(a,c,w,"→","\\to"),i(a,x,w,"≱","\\ngeq",!0),i(a,x,w,"≰","\\nleq",!0),i(a,c,lt," ","\\ "),i(a,c,lt," ","\\space"),i(a,c,lt," ","\\nobreakspace"),i(O,c,lt," ","\\ "),i(O,c,lt," "," "),i(O,c,lt," ","\\space"),i(O,c,lt," ","\\nobreakspace"),i(a,c,lt,null,"\\nobreak"),i(a,c,lt,null,"\\allowbreak"),i(a,c,Pt,",",","),i(a,c,Pt,";",";"),i(a,x,W,"⊼","\\barwedge",!0),i(a,x,W,"⊻","\\veebar",!0),i(a,c,W,"⊙","\\odot",!0),i(a,c,W,"⊕","\\oplus",!0),i(a,c,W,"⊗","\\otimes",!0),i(a,c,T,"∂","\\partial",!0),i(a,c,W,"⊘","\\oslash",!0),i(a,x,W,"⊚","\\circledcirc",!0),i(a,x,W,"⊡","\\boxdot",!0),i(a,c,W,"△","\\bigtriangleup"),i(a,c,W,"▽","\\bigtriangledown"),i(a,c,W,"†","\\dagger"),i(a,c,W,"⋄","\\diamond"),i(a,c,W,"⋆","\\star"),i(a,c,W,"◃","\\triangleleft"),i(a,c,W,"▹","\\triangleright"),i(a,c,He,"{","\\{"),i(O,c,T,"{","\\{"),i(O,c,T,"{","\\textbraceleft"),i(a,c,qe,"}","\\}"),i(O,c,T,"}","\\}"),i(O,c,T,"}","\\textbraceright"),i(a,c,He,"{","\\lbrace"),i(a,c,qe,"}","\\rbrace"),i(a,c,He,"[","\\lbrack",!0),i(O,c,T,"[","\\lbrack",!0),i(a,c,qe,"]","\\rbrack",!0),i(O,c,T,"]","\\rbrack",!0),i(a,c,He,"(","\\lparen",!0),i(a,c,qe,")","\\rparen",!0),i(O,c,T,"<","\\textless",!0),i(O,c,T,">","\\textgreater",!0),i(a,c,He,"⌊","\\lfloor",!0),i(a,c,qe,"⌋","\\rfloor",!0),i(a,c,He,"⌈","\\lceil",!0),i(a,c,qe,"⌉","\\rceil",!0),i(a,c,T,"\\","\\backslash"),i(a,c,T,"∣","|"),i(a,c,T,"∣","\\vert"),i(O,c,T,"|","\\textbar",!0),i(a,c,T,"∥","\\|"),i(a,c,T,"∥","\\Vert"),i(O,c,T,"∥","\\textbardbl"),i(O,c,T,"~","\\textasciitilde"),i(O,c,T,"\\","\\textbackslash"),i(O,c,T,"^","\\textasciicircum"),i(a,c,w,"↑","\\uparrow",!0),i(a,c,w,"⇑","\\Uparrow",!0),i(a,c,w,"↓","\\downarrow",!0),i(a,c,w,"⇓","\\Downarrow",!0),i(a,c,w,"↕","\\updownarrow",!0),i(a,c,w,"⇕","\\Updownarrow",!0),i(a,c,Be,"∐","\\coprod"),i(a,c,Be,"⋁","\\bigvee"),i(a,c,Be,"⋀","\\bigwedge"),i(a,c,Be,"⨄","\\biguplus"),i(a,c,Be,"⋂","\\bigcap"),i(a,c,Be,"⋃","\\bigcup"),i(a,c,Be,"∫","\\int"),i(a,c,Be,"∫","\\intop"),i(a,c,Be,"∬","\\iint"),i(a,c,Be,"∭","\\iiint"),i(a,c,Be,"∏","\\prod"),i(a,c,Be,"∑","\\sum"),i(a,c,Be,"⨂","\\bigotimes"),i(a,c,Be,"⨁","\\bigoplus"),i(a,c,Be,"⨀","\\bigodot"),i(a,c,Be,"∮","\\oint"),i(a,c,Be,"∯","\\oiint"),i(a,c,Be,"∰","\\oiiint"),i(a,c,Be,"⨆","\\bigsqcup"),i(a,c,Be,"∫","\\smallint"),i(O,c,vt,"…","\\textellipsis"),i(a,c,vt,"…","\\mathellipsis"),i(O,c,vt,"…","\\ldots",!0),i(a,c,vt,"…","\\ldots",!0),i(a,c,vt,"⋯","\\@cdots",!0),i(a,c,vt,"⋱","\\ddots",!0),i(a,c,T,"⋮","\\varvdots"),i(O,c,T,"⋮","\\varvdots"),i(a,c,we,"ˊ","\\acute"),i(a,c,we,"ˋ","\\grave"),i(a,c,we,"¨","\\ddot"),i(a,c,we,"~","\\tilde"),i(a,c,we,"ˉ","\\bar"),i(a,c,we,"˘","\\breve"),i(a,c,we,"ˇ","\\check"),i(a,c,we,"^","\\hat"),i(a,c,we,"⃗","\\vec"),i(a,c,we,"˙","\\dot"),i(a,c,we,"˚","\\mathring"),i(a,c,te,"","\\@imath"),i(a,c,te,"","\\@jmath"),i(a,c,T,"ı","ı"),i(a,c,T,"ȷ","ȷ"),i(O,c,T,"ı","\\i",!0),i(O,c,T,"ȷ","\\j",!0),i(O,c,T,"ß","\\ss",!0),i(O,c,T,"æ","\\ae",!0),i(O,c,T,"œ","\\oe",!0),i(O,c,T,"ø","\\o",!0),i(O,c,T,"Æ","\\AE",!0),i(O,c,T,"Œ","\\OE",!0),i(O,c,T,"Ø","\\O",!0),i(O,c,we,"ˊ","\\'"),i(O,c,we,"ˋ","\\`"),i(O,c,we,"ˆ","\\^"),i(O,c,we,"˜","\\~"),i(O,c,we,"ˉ","\\="),i(O,c,we,"˘","\\u"),i(O,c,we,"˙","\\."),i(O,c,we,"¸","\\c"),i(O,c,we,"˚","\\r"),i(O,c,we,"ˇ","\\v"),i(O,c,we,"¨",'\\"'),i(O,c,we,"˝","\\H"),i(O,c,we,"◯","\\textcircled");const wr={"--":!0,"---":!0,"``":!0,"''":!0};i(O,c,T,"–","--",!0),i(O,c,T,"–","\\textendash"),i(O,c,T,"—","---",!0),i(O,c,T,"—","\\textemdash"),i(O,c,T,"‘","`",!0),i(O,c,T,"‘","\\textquoteleft"),i(O,c,T,"’","'",!0),i(O,c,T,"’","\\textquoteright"),i(O,c,T,"“","``",!0),i(O,c,T,"“","\\textquotedblleft"),i(O,c,T,"”","''",!0),i(O,c,T,"”","\\textquotedblright"),i(a,c,T,"°","\\degree",!0),i(O,c,T,"°","\\degree"),i(O,c,T,"°","\\textdegree",!0),i(a,c,T,"£","\\pounds"),i(a,c,T,"£","\\mathsterling",!0),i(O,c,T,"£","\\pounds"),i(O,c,T,"£","\\textsterling",!0),i(a,x,T,"✠","\\maltese"),i(O,x,T,"✠","\\maltese");const kr='0123456789/@."';for(let t=0;t<kr.length;t++){const e=kr.charAt(t);i(a,c,T,e,e)}const vr='0123456789!@*()-=+";:?/.,';for(let t=0;t<vr.length;t++){const e=vr.charAt(t);i(O,c,T,e,e)}const Ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let t=0;t<Ft.length;t++){const e=Ft.charAt(t);i(a,c,te,e,e),i(O,c,T,e,e)}i(a,x,T,"C","ℂ"),i(O,x,T,"C","ℂ"),i(a,x,T,"H","ℍ"),i(O,x,T,"H","ℍ"),i(a,x,T,"N","ℕ"),i(O,x,T,"N","ℕ"),i(a,x,T,"P","ℙ"),i(O,x,T,"P","ℙ"),i(a,x,T,"Q","ℚ"),i(O,x,T,"Q","ℚ"),i(a,x,T,"R","ℝ"),i(O,x,T,"R","ℝ"),i(a,x,T,"Z","ℤ"),i(O,x,T,"Z","ℤ"),i(a,c,te,"h","ℎ"),i(O,c,te,"h","ℎ");let re="";for(let t=0;t<Ft.length;t++){const e=Ft.charAt(t);re=String.fromCharCode(55349,56320+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56372+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56424+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56580+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56684+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56736+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56788+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56840+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56944+t),i(a,c,te,e,re),i(O,c,T,e,re),t<26&&(re=String.fromCharCode(55349,56632+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,56476+t),i(a,c,te,e,re),i(O,c,T,e,re))}re="𝕜",i(a,c,te,"k",re),i(O,c,T,"k",re);for(let t=0;t<10;t++){const e=t.toString();re=String.fromCharCode(55349,57294+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,57314+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,57324+t),i(a,c,te,e,re),i(O,c,T,e,re),re=String.fromCharCode(55349,57334+t),i(a,c,te,e,re),i(O,c,T,e,re)}const x0="ÐÞþ";for(let t=0;t<x0.length;t++){const e=x0.charAt(t);i(a,c,te,e,e),i(O,c,T,e,e)}const $t=[["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"]],Sr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ds=function(t,e){const r=t.charCodeAt(0),n=t.charCodeAt(1),s=(r-55296)*1024+(n-56320)+65536,l=e==="math"?0:1;if(119808<=s&&s<120484){const o=Math.floor((s-119808)/26);return[$t[o][2],$t[o][l]]}else if(120782<=s&&s<=120831){const o=Math.floor((s-120782)/10);return[Sr[o][2],Sr[o][l]]}else{if(s===120485||s===120486)return[$t[0][2],$t[0][l]];if(120486<s&&s<120782)return["",""];throw new m("Unsupported character: "+t)}},Gt=function(t,e,r){return Se[r][t]&&Se[r][t].replace&&(t=Se[r][t].replace),{value:t,metrics:p0(t,e,r)}},Ye=function(t,e,r,n,s){const l=Gt(t,e,r),o=l.metrics;t=l.value;let d;if(o){let b=o.italic;(r==="text"||n&&n.font==="mathit")&&(b=0),d=new $e(t,o.height,o.depth,b,o.skew,o.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+e+"' and mode '"+r+"'")),d=new $e(t,0,0,0,0,0,s);if(n){d.maxFontSize=n.sizeMultiplier,n.style.isTight()&&d.classes.push("mtight");const b=n.getColor();b&&(d.style.color=b)}return d},Rs=function(t,e,r,n){return n===void 0&&(n=[]),r.font==="boldsymbol"&&Gt(t,"Main-Bold",e).metrics?Ye(t,"Main-Bold",e,r,n.concat(["mathbf"])):t==="\\"||Se[e][t].font==="main"?Ye(t,"Main-Regular",e,r,n):Ye(t,"AMS-Regular",e,r,n.concat(["amsrm"]))},Es=function(t,e,r,n,s){return s!=="textord"&&Gt(t,"Math-BoldItalic",e).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},qs=function(t,e,r){const n=t.mode,s=t.text,l=["mord"],o=n==="math"||n==="text"&&e.font,d=o?e.font:e.fontFamily;let b="",k="";if(s.charCodeAt(0)===55349&&([b,k]=Ds(s,n)),b.length>0)return Ye(s,b,n,e,l.concat(k));if(d){let z,C;if(d==="boldsymbol"){const D=Es(s,n,e,l,r);z=D.fontName,C=[D.fontClass]}else o?(z=Tr[d].fontName,C=[d]):(z=Vt(d,e.fontWeight,e.fontShape),C=[d,e.fontWeight,e.fontShape]);if(Gt(s,z,n).metrics)return Ye(s,z,n,e,l.concat(C));if(wr.hasOwnProperty(s)&&z.slice(0,10)==="Typewriter"){const D=[];for(let I=0;I<s.length;I++)D.push(Ye(s[I],z,n,e,l.concat(C)));return Ar(D)}}if(r==="mathord")return Ye(s,"Math-Italic",n,e,l.concat(["mathnormal"]));if(r==="textord"){const z=Se[n][s]&&Se[n][s].font;if(z==="ams"){const C=Vt("amsrm",e.fontWeight,e.fontShape);return Ye(s,C,n,e,l.concat("amsrm",e.fontWeight,e.fontShape))}else if(z==="main"||!z){const C=Vt("textrm",e.fontWeight,e.fontShape);return Ye(s,C,n,e,l.concat(e.fontWeight,e.fontShape))}else{const C=Vt(z,e.fontWeight,e.fontShape);return Ye(s,C,n,e,l.concat(C,e.fontWeight,e.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},Is=(t,e)=>{if(ht(t.classes)!==ht(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){const r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(const r in t.style)if(t.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return!1;for(const r in e.style)if(e.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return!1;return!0},Ls=t=>{for(let e=0;e<t.length-1;e++){const r=t[e],n=t[e+1];r instanceof $e&&n instanceof $e&&Is(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,t.splice(e+1,1),e--)}return t},w0=function(t){let e=0,r=0,n=0;for(let s=0;s<t.children.length;s++){const l=t.children[s];l.height>e&&(e=l.height),l.depth>r&&(r=l.depth),l.maxFontSize>n&&(n=l.maxFontSize)}t.height=e,t.depth=r,t.maxFontSize=n},Oe=function(t,e,r,n){const s=new zt(t,e,r,n);return w0(s),s},Mr=(t,e,r,n)=>new zt(t,e,r,n),Os=function(t,e,r){const n=Oe([t],[],e);return n.height=Math.max(r||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),n.style.borderBottomWidth=F(n.height),n.maxFontSize=1,n},_s=function(t,e,r,n){const s=new b0(t,e,r,n);return w0(s),s},Ar=function(t){const e=new Tt(t);return w0(e),e},Hs=function(t,e){return t instanceof Tt?Oe([],[t],e):t},Ps=function(t){if(t.positionType==="individualShift"){const r=t.children,n=[r[0]],s=-r[0].shift-r[0].elem.depth;let l=s;for(let o=1;o<r.length;o++){const d=-r[o].shift-l-r[o].elem.depth,b=d-(r[o-1].elem.height+r[o-1].elem.depth);l=l+d,n.push({type:"kern",size:b}),n.push(r[o])}return{children:n,depth:s}}let e;if(t.positionType==="top"){let r=t.positionData;for(let n=0;n<t.children.length;n++){const s=t.children[n];r-=s.type==="kern"?s.size:s.elem.height+s.elem.depth}e=r}else if(t.positionType==="bottom")e=-t.positionData;else{const r=t.children[0];if(r.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")e=-r.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")e=-r.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:e}},Fs=function(t,e){const{children:r,depth:n}=Ps(t);let s=0;for(let I=0;I<r.length;I++){const j=r[I];if(j.type==="elem"){const Y=j.elem;s=Math.max(s,Y.maxFontSize,Y.height)}}s+=2;const l=Oe(["pstrut"],[]);l.style.height=F(s);const o=[];let d=n,b=n,k=n;for(let I=0;I<r.length;I++){const j=r[I];if(j.type==="kern")k+=j.size;else{const Y=j.elem,oe=j.wrapperClasses||[],le=j.wrapperStyle||{},ue=Oe(oe,[l,Y],void 0,le);ue.style.top=F(-s-k-Y.depth),j.marginLeft&&(ue.style.marginLeft=j.marginLeft),j.marginRight&&(ue.style.marginRight=j.marginRight),o.push(ue),k+=Y.height+Y.depth}d=Math.min(d,k),b=Math.max(b,k)}const z=Oe(["vlist"],o);z.style.height=F(b);let C;if(d<0){const I=Oe([],[]),j=Oe(["vlist"],[I]);j.style.height=F(-d);const Y=Oe(["vlist-s"],[new $e("")]);C=[Oe(["vlist-r"],[z,Y]),Oe(["vlist-r"],[j])]}else C=[Oe(["vlist-r"],[z])];const D=Oe(["vlist-t"],C);return C.length===2&&D.classes.push("vlist-t2"),D.height=b,D.depth=-d,D},$s=(t,e)=>{const r=Oe(["mspace"],[],e),n=ve(t,e);return r.style.marginRight=F(n),r},Vt=function(t,e,r){let n="";switch(t){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=t}let s;return e==="textbf"&&r==="textit"?s="BoldItalic":e==="textbf"?s="Bold":e==="textit"?s="Italic":s="Regular",n+"-"+s},Tr={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"}},zr={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var N={fontMap:Tr,makeSymbol:Ye,mathsym:Rs,makeSpan:Oe,makeSvgSpan:Mr,makeLineSpan:Os,makeAnchor:_s,makeFragment:Ar,wrapFragment:Hs,makeVList:Fs,makeOrd:qs,makeGlue:$s,staticSvg:function(t,e){const[r,n,s]=zr[t],l=new dt(r),o=new it([l],{width:F(n),height:F(s),style:"width:"+F(n),viewBox:"0 0 "+1e3*n+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),d=Mr(["overlay"],[o],e);return d.height=s,d.style.height=F(s),d.style.width=F(n),d},svgData:zr,tryCombineChars:Ls};const Me={number:3,unit:"mu"},gt={number:4,unit:"mu"},at={number:5,unit:"mu"},Gs={mord:{mop:Me,mbin:gt,mrel:at,minner:Me},mop:{mord:Me,mop:Me,mrel:at,minner:Me},mbin:{mord:gt,mop:gt,mopen:gt,minner:gt},mrel:{mord:at,mop:at,mopen:at,minner:at},mopen:{},mclose:{mop:Me,mbin:gt,mrel:at,minner:Me},mpunct:{mord:Me,mop:Me,mrel:at,mopen:Me,mclose:Me,mpunct:Me,minner:Me},minner:{mord:Me,mop:Me,mbin:gt,mrel:at,mopen:Me,mpunct:Me,minner:Me}},Vs={mord:{mop:Me},mop:{mord:Me,mop:Me},mbin:{},mrel:{},mopen:{},mclose:{mop:Me},mpunct:{},minner:{mop:Me}},Cr={},Ut={},Wt={};function U(t){let{type:e,names:r,props:n,handler:s,htmlBuilder:l,mathmlBuilder:o}=t;const d={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:s};for(let b=0;b<r.length;++b)Cr[r[b]]=d;e&&(l&&(Ut[e]=l),o&&(Wt[e]=o))}function bt(t){let{type:e,htmlBuilder:r,mathmlBuilder:n}=t;U({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}const jt=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ce=function(t){return t.type==="ordgroup"?t.body:[t]},ot=N.makeSpan,Us=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ws=["rightmost","mrel","mclose","mpunct"],js={display:ee.DISPLAY,text:ee.TEXT,script:ee.SCRIPT,scriptscript:ee.SCRIPTSCRIPT},Xs={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},De=function(t,e,r,n){n===void 0&&(n=[null,null]);const s=[];for(let k=0;k<t.length;k++){const z=he(t[k],e);if(z instanceof Tt){const C=z.children;s.push(...C)}else s.push(z)}if(N.tryCombineChars(s),!r)return s;let l=e;if(t.length===1){const k=t[0];k.type==="sizing"?l=e.havingSize(k.size):k.type==="styling"&&(l=e.havingStyle(js[k.style]))}const o=ot([n[0]||"leftmost"],[],e),d=ot([n[1]||"rightmost"],[],e),b=r==="root";return k0(s,(k,z)=>{const C=z.classes[0],D=k.classes[0];C==="mbin"&&V.contains(Ws,D)?z.classes[0]="mord":D==="mbin"&&V.contains(Us,C)&&(k.classes[0]="mord")},{node:o},d,b),k0(s,(k,z)=>{const C=S0(z),D=S0(k),I=C&&D?k.hasClass("mtight")?Vs[C][D]:Gs[C][D]:null;if(I)return N.makeGlue(I,l)},{node:o},d,b),s},k0=function(t,e,r,n,s){n&&t.push(n);let l=0;for(;l<t.length;l++){const o=t[l],d=Nr(o);if(d){k0(d.children,e,r,null,s);continue}const b=!o.hasClass("mspace");if(b){const k=e(o,r.node);k&&(r.insertAfter?r.insertAfter(k):(t.unshift(k),l++))}b?r.node=o:s&&o.hasClass("newline")&&(r.node=ot(["leftmost"])),r.insertAfter=(k=>z=>{t.splice(k+1,0,z),l++})(l)}n&&t.pop()},Nr=function(t){return t instanceof Tt||t instanceof b0||t instanceof zt&&t.hasClass("enclosing")?t:null},v0=function(t,e){const r=Nr(t);if(r){const n=r.children;if(n.length){if(e==="right")return v0(n[n.length-1],"right");if(e==="left")return v0(n[0],"left")}}return t},S0=function(t,e){return t?(e&&(t=v0(t,e)),Xs[t.classes[0]]||null):null},Ct=function(t,e){const r=["nulldelimiter"].concat(t.baseSizingClasses());return ot(e.concat(r))},he=function(t,e,r){if(!t)return ot();if(Ut[t.type]){let n=Ut[t.type](t,e);if(r&&e.size!==r.size){n=ot(e.sizingClasses(r),[n],e);const s=e.sizeMultiplier/r.sizeMultiplier;n.height*=s,n.depth*=s}return n}else throw new m("Got group of unknown type: '"+t.type+"'")};function Xt(t,e){const r=ot(["base"],t,e),n=ot(["strut"]);return n.style.height=F(r.height+r.depth),r.depth&&(n.style.verticalAlign=F(-r.depth)),r.children.unshift(n),r}function M0(t,e){let r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);const n=De(t,e,"root");let s;n.length===2&&n[1].hasClass("tag")&&(s=n.pop());const l=[];let o=[];for(let k=0;k<n.length;k++)if(o.push(n[k]),n[k].hasClass("mbin")||n[k].hasClass("mrel")||n[k].hasClass("allowbreak")){let z=!1;for(;k<n.length-1&&n[k+1].hasClass("mspace")&&!n[k+1].hasClass("newline");)k++,o.push(n[k]),n[k].hasClass("nobreak")&&(z=!0);z||(l.push(Xt(o,e)),o=[])}else n[k].hasClass("newline")&&(o.pop(),o.length>0&&(l.push(Xt(o,e)),o=[]),l.push(n[k]));o.length>0&&l.push(Xt(o,e));let d;r?(d=Xt(De(r,e,!0)),d.classes=["tag"],l.push(d)):s&&l.push(s);const b=ot(["katex-html"],l);if(b.setAttribute("aria-hidden","true"),d){const k=d.children[0];k.style.height=F(b.height+b.depth),b.depth&&(k.style.verticalAlign=F(-b.depth))}return b}function Br(t){return new Tt(t)}class Pe{constructor(e,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=ht(this.classes));for(let r=0;r<this.children.length;r++)if(this.children[r]instanceof Je&&this.children[r+1]instanceof Je){let n=this.children[r].toText()+this.children[++r].toText();for(;this.children[r+1]instanceof Je;)n+=this.children[++r].toText();e.appendChild(new Je(n).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){let e="<"+this.type;for(const r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=V.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+V.escape(ht(this.classes))+'"'),e+=">";for(let r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Je{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return V.escape(this.toText())}toText(){return this.text}}class Ys{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character=" ":e>=-.05556&&e<=-.05555?this.character=" ":e>=-.1667&&e<=-.1666?this.character=" ":e>=-.2223&&e<=-.2222?this.character=" ":e>=-.2778&&e<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",F(this.width)),e}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+F(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var P={MathNode:Pe,TextNode:Je,SpaceNode:Ys,newDocumentFragment:Br};const Ge=function(t,e,r){return Se[e][t]&&Se[e][t].replace&&t.charCodeAt(0)!==55349&&!(wr.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Se[e][t].replace),new P.TextNode(t)},A0=function(t){return t.length===1?t[0]:new P.MathNode("mrow",t)},T0=function(t,e){if(e.fontFamily==="texttt")return"monospace";if(e.fontFamily==="textsf")return e.fontShape==="textit"&&e.fontWeight==="textbf"?"sans-serif-bold-italic":e.fontShape==="textit"?"sans-serif-italic":e.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(e.fontShape==="textit"&&e.fontWeight==="textbf")return"bold-italic";if(e.fontShape==="textit")return"italic";if(e.fontWeight==="textbf")return"bold";const r=e.font;if(!r||r==="mathnormal")return null;const n=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";let s=t.text;if(V.contains(["\\imath","\\jmath"],s))return null;Se[n][s]&&Se[n][s].replace&&(s=Se[n][s].replace);const l=N.fontMap[r].fontName;return p0(s,l,n)?N.fontMap[r].variant:null};function z0(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){const e=t.children[0];return e instanceof Je&&e.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){const e=t.children[0];return e instanceof Je&&e.text===","}else return!1}const _e=function(t,e,r){if(t.length===1){const l=ge(t[0],e);return r&&l instanceof Pe&&l.type==="mo"&&(l.setAttribute("lspace","0em"),l.setAttribute("rspace","0em")),[l]}const n=[];let s;for(let l=0;l<t.length;l++){const o=ge(t[l],e);if(o instanceof Pe&&s instanceof Pe){if(o.type==="mtext"&&s.type==="mtext"&&o.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...o.children);continue}else if(o.type==="mn"&&s.type==="mn"){s.children.push(...o.children);continue}else if(z0(o)&&s.type==="mn"){s.children.push(...o.children);continue}else if(o.type==="mn"&&z0(s))o.children=[...s.children,...o.children],n.pop();else if((o.type==="msup"||o.type==="msub")&&o.children.length>=1&&(s.type==="mn"||z0(s))){const d=o.children[0];d instanceof Pe&&d.type==="mn"&&(d.children=[...s.children,...d.children],n.pop())}else if(s.type==="mi"&&s.children.length===1){const d=s.children[0];if(d instanceof Je&&d.text==="̸"&&(o.type==="mo"||o.type==="mi"||o.type==="mn")){const b=o.children[0];b instanceof Je&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),n.pop())}}}n.push(o),s=o}return n},mt=function(t,e,r){return A0(_e(t,e,r))},ge=function(t,e){if(!t)return new P.MathNode("mrow");if(Wt[t.type])return Wt[t.type](t,e);throw new m("Got group of unknown type: '"+t.type+"'")};function Dr(t,e,r,n,s){const l=_e(t,r);let o;l.length===1&&l[0]instanceof Pe&&V.contains(["mrow","mtable"],l[0].type)?o=l[0]:o=new P.MathNode("mrow",l);const d=new P.MathNode("annotation",[new P.TextNode(e)]);d.setAttribute("encoding","application/x-tex");const b=new P.MathNode("semantics",[o,d]),k=new P.MathNode("math",[b]);k.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&k.setAttribute("display","block");const z=s?"katex":"katex-mathml";return N.makeSpan([z],[k])}const Rr=function(t){return new Ss({style:t.displayMode?ee.DISPLAY:ee.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Er=function(t,e){if(e.displayMode){const r=["katex-display"];e.leqno&&r.push("leqno"),e.fleqn&&r.push("fleqn"),t=N.makeSpan(r,[t])}return t},Zs=function(t,e,r){const n=Rr(r);let s;if(r.output==="mathml")return Dr(t,e,n,r.displayMode,!0);if(r.output==="html"){const l=M0(t,n);s=N.makeSpan(["katex"],[l])}else{const l=Dr(t,e,n,r.displayMode,!1),o=M0(t,n);s=N.makeSpan(["katex"],[l,o])}return Er(s,r)},Ks=function(t,e,r){const n=Rr(r),s=M0(t,n),l=N.makeSpan(["katex"],[s]);return Er(l,r)},Qs={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":"="},Js=function(t){const e=new P.MathNode("mo",[new P.TextNode(Qs[t.replace(/^\\/,"")])]);return e.setAttribute("stretchy","true"),e},ei={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]},ti=function(t){return t.type==="ordgroup"?t.body.length:1};var ct={encloseSpan:function(t,e,r,n,s){let l;const o=t.height+t.depth+r+n;if(/fbox|color|angl/.test(e)){if(l=N.makeSpan(["stretchy",e],[],s),e==="fbox"){const d=s.color&&s.getColor();d&&(l.style.borderColor=d)}}else{const d=[];/^[bx]cancel$/.test(e)&&d.push(new y0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&d.push(new y0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const b=new it(d,{width:"100%",height:F(o)});l=N.makeSvgSpan([],[b],s)}return l.height=o,l.style.height=F(o),l},mathMLnode:Js,svgSpan:function(t,e){function r(){let o=4e5;const d=t.label.slice(1);if(V.contains(["widehat","widecheck","widetilde","utilde"],d)){const k=ti(t.base);let z,C,D;if(k>5)d==="widehat"||d==="widecheck"?(z=420,o=2364,D=.42,C=d+"4"):(z=312,o=2340,D=.34,C="tilde4");else{const Y=[1,1,2,2,3,3][k];d==="widehat"||d==="widecheck"?(o=[0,1062,2364,2364,2364][Y],z=[0,239,300,360,420][Y],D=[0,.24,.3,.3,.36,.42][Y],C=d+Y):(o=[0,600,1033,2339,2340][Y],z=[0,260,286,306,312][Y],D=[0,.26,.286,.3,.306,.34][Y],C="tilde"+Y)}const I=new dt(C),j=new it([I],{width:"100%",height:F(D),viewBox:"0 0 "+o+" "+z,preserveAspectRatio:"none"});return{span:N.makeSvgSpan([],[j],e),minWidth:0,height:D}}else{const b=[],k=ei[d],[z,C,D]=k,I=D/1e3,j=z.length;let Y,oe;if(j===1){const le=k[3];Y=["hide-tail"],oe=[le]}else if(j===2)Y=["halfarrow-left","halfarrow-right"],oe=["xMinYMin","xMaxYMin"];else if(j===3)Y=["brace-left","brace-center","brace-right"],oe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
||
`+j+" children.");for(let le=0;le<j;le++){const ue=new dt(z[le]),me=new it([ue],{width:"400em",height:F(I),viewBox:"0 0 "+o+" "+D,preserveAspectRatio:oe[le]+" slice"}),ye=N.makeSvgSpan([Y[le]],[me],e);if(j===1)return{span:ye,minWidth:C,height:I};ye.style.height=F(I),b.push(ye)}return{span:N.makeSpan(["stretchy"],b,e),minWidth:C,height:I}}}const{span:n,minWidth:s,height:l}=r();return n.height=l,n.style.height=F(l),s>0&&(n.style.minWidth=F(s)),n}};function ie(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function C0(t){const e=Yt(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Yt(t){return t&&(t.type==="atom"||Bs.hasOwnProperty(t.type))?t:null}const N0=(t,e)=>{let r,n,s;t&&t.type==="supsub"?(n=ie(t.base,"accent"),r=n.base,t.base=r,s=Cs(he(t,e)),t.base=n):(n=ie(t,"accent"),r=n.base);const l=he(r,e.havingCrampedStyle()),o=n.isShifty&&V.isCharacterBox(r);let d=0;if(o){const D=V.getBaseElem(r),I=he(D,e.havingCrampedStyle());d=xr(I).skew}const b=n.label==="\\c";let k=b?l.height+l.depth:Math.min(l.height,e.fontMetrics().xHeight),z;if(n.isStretchy)z=ct.svgSpan(n,e),z=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:z,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+F(2*d)+")",marginLeft:F(2*d)}:void 0}]},e);else{let D,I;n.label==="\\vec"?(D=N.staticSvg("vec",e),I=N.svgData.vec[1]):(D=N.makeOrd({mode:n.mode,text:n.label},e,"textord"),D=xr(D),D.italic=0,I=D.width,b&&(k+=D.depth)),z=N.makeSpan(["accent-body"],[D]);const j=n.label==="\\textcircled";j&&(z.classes.push("accent-full"),k=l.height);let Y=d;j||(Y-=I/2),z.style.left=F(Y),n.label==="\\textcircled"&&(z.style.top=".2em"),z=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-k},{type:"elem",elem:z}]},e)}const C=N.makeSpan(["mord","accent"],[z],e);return s?(s.children[0]=C,s.height=Math.max(C.height,s.height),s.classes[0]="mord",s):C},qr=(t,e)=>{const r=t.isStretchy?ct.mathMLnode(t.label):new P.MathNode("mo",[Ge(t.label,t.mode)]),n=new P.MathNode("mover",[ge(t.base,e),r]);return n.setAttribute("accent","true"),n},ri=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));U({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:(t,e)=>{const r=jt(e[0]),n=!ri.test(t.funcName),s=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:s,base:r}},htmlBuilder:N0,mathmlBuilder:qr}),U({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{const r=e[0];let n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:N0,mathmlBuilder:qr}),U({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:s}},htmlBuilder:(t,e)=>{const r=he(t.base,e),n=ct.svgSpan(t,e),s=t.label==="\\utilde"?.12:0,l=N.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:r}]},e);return N.makeSpan(["mord","accentunder"],[l],e)},mathmlBuilder:(t,e)=>{const r=ct.mathMLnode(t.label),n=new P.MathNode("munder",[ge(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});const Zt=t=>{const e=new P.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};U({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(t,e,r){let{parser:n,funcName:s}=t;return{type:"xArrow",mode:n.mode,label:s,body:e[0],below:r[0]}},htmlBuilder(t,e){const r=e.style;let n=e.havingStyle(r.sup());const s=N.wrapFragment(he(t.body,n,e),e),l=t.label.slice(0,2)==="\\x"?"x":"cd";s.classes.push(l+"-arrow-pad");let o;t.below&&(n=e.havingStyle(r.sub()),o=N.wrapFragment(he(t.below,n,e),e),o.classes.push(l+"-arrow-pad"));const d=ct.svgSpan(t,e),b=-e.fontMetrics().axisHeight+.5*d.height;let k=-e.fontMetrics().axisHeight-.5*d.height-.111;(s.depth>.25||t.label==="\\xleftequilibrium")&&(k-=s.depth);let z;if(o){const C=-e.fontMetrics().axisHeight+o.height+.5*d.height+.111;z=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:k},{type:"elem",elem:d,shift:b},{type:"elem",elem:o,shift:C}]},e)}else z=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:k},{type:"elem",elem:d,shift:b}]},e);return z.children[0].children[0].children[1].classes.push("svg-align"),N.makeSpan(["mrel","x-arrow"],[z],e)},mathmlBuilder(t,e){const r=ct.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");let n;if(t.body){const s=Zt(ge(t.body,e));if(t.below){const l=Zt(ge(t.below,e));n=new P.MathNode("munderover",[r,l,s])}else n=new P.MathNode("mover",[r,s])}else if(t.below){const s=Zt(ge(t.below,e));n=new P.MathNode("munder",[r,s])}else n=Zt(),n=new P.MathNode("mover",[r,n]);return n}});const ni=N.makeSpan;function Ir(t,e){const r=De(t.body,e,!0);return ni([t.mclass],r,e)}function Lr(t,e){let r;const n=_e(t.body,e);return t.mclass==="minner"?r=new P.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new P.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new P.MathNode("mo",n),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}U({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){let{parser:r,funcName:n}=t;const s=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ce(s),isCharacterBox:V.isCharacterBox(s)}},htmlBuilder:Ir,mathmlBuilder:Lr});const Kt=t=>{const e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};U({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){let{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:Kt(e[0]),body:Ce(e[1]),isCharacterBox:V.isCharacterBox(e[1])}}}),U({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){let{parser:r,funcName:n}=t;const s=e[1],l=e[0];let o;n!=="\\stackrel"?o=Kt(s):o="mrel";const d={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ce(s)},b={type:"supsub",mode:l.mode,base:d,sup:n==="\\underset"?null:l,sub:n==="\\underset"?l:null};return{type:"mclass",mode:r.mode,mclass:o,body:[b],isCharacterBox:V.isCharacterBox(b)}},htmlBuilder:Ir,mathmlBuilder:Lr}),U({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){let{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:Kt(e[0]),body:Ce(e[0])}},htmlBuilder(t,e){const r=De(t.body,e,!0),n=N.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){const r=_e(t.body,e),n=new P.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});const si={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Or=()=>({type:"styling",body:[],mode:"math",style:"display"}),_r=t=>t.type==="textord"&&t.text==="@",ii=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function li(t,e,r){const n=si[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{const s=r.callFunction("\\\\cdleft",[e[0]],[]),l={type:"atom",text:n,mode:"math",family:"rel"},o=r.callFunction("\\Big",[l],[]),d=r.callFunction("\\\\cdright",[e[1]],[]),b={type:"ordgroup",mode:"math",body:[s,o,d]};return r.callFunction("\\\\cdparent",[b],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const s={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[s],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ai(t){const e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();const l=t.fetch().text;if(l==="&"||l==="\\\\")t.consume();else if(l==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new m("Expected \\\\ or \\cr or \\end",t.nextToken)}let r=[];const n=[r];for(let l=0;l<e.length;l++){const o=e[l];let d=Or();for(let b=0;b<o.length;b++)if(!_r(o[b]))d.body.push(o[b]);else{r.push(d),b+=1;const k=C0(o[b]).text,z=new Array(2);if(z[0]={type:"ordgroup",mode:"math",body:[]},z[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(k)>-1))if("<>AV".indexOf(k)>-1)for(let I=0;I<2;I++){let j=!0;for(let Y=b+1;Y<o.length;Y++){if(ii(o[Y],k)){j=!1,b=Y;break}if(_r(o[Y]))throw new m("Missing a "+k+" character to complete a CD arrow.",o[Y]);z[I].body.push(o[Y])}if(j)throw new m("Missing a "+k+" character to complete a CD arrow.",o[b])}else throw new m('Expected one of "<>AV=|." after @',o[b]);const D={type:"styling",body:[li(k,z,t)],mode:"math",style:"display"};r.push(D),d=Or()}l%2===0?r.push(d):r.shift(),r=[],n.push(r)}t.gullet.endGroup(),t.gullet.endGroup();const s=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:s,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}U({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){let{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){const r=e.havingStyle(e.style.sup()),n=N.wrapFragment(he(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=F(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){let r=new P.MathNode("mrow",[ge(t.label,e)]);return r=new P.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new P.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),U({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){let{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){const r=N.wrapFragment(he(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new P.MathNode("mrow",[ge(t.fragment,e)])}}),U({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){let{parser:r}=t;const s=ie(e[0],"ordgroup").body;let l="";for(let b=0;b<s.length;b++){const k=ie(s[b],"textord");l+=k.text}let o=parseInt(l),d;if(isNaN(o))throw new m("\\@char has non-numeric argument "+l);if(o<0||o>=1114111)throw new m("\\@char with invalid code point "+l);return o<=65535?d=String.fromCharCode(o):(o-=65536,d=String.fromCharCode((o>>10)+55296,(o&1023)+56320)),{type:"textord",mode:r.mode,text:d}}});const Hr=(t,e)=>{const r=De(t.body,e.withColor(t.color),!1);return N.makeFragment(r)},Pr=(t,e)=>{const r=_e(t.body,e.withColor(t.color)),n=new P.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n};U({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){let{parser:r}=t;const n=ie(e[0],"color-token").color,s=e[1];return{type:"color",mode:r.mode,color:n,body:Ce(s)}},htmlBuilder:Hr,mathmlBuilder:Pr}),U({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){let{parser:r,breakOnTokenText:n}=t;const s=ie(e[0],"color-token").color;r.gullet.macros.set("\\current@color",s);const l=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:s,body:l}},htmlBuilder:Hr,mathmlBuilder:Pr}),U({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){let{parser:n}=t;const s=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,l=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:l,size:s&&ie(s,"size").value}},htmlBuilder(t,e){const r=N.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=F(ve(t.size,e)))),r},mathmlBuilder(t,e){const r=new P.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",F(ve(t.size,e)))),r}});const B0={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Fr=t=>{const e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new m("Expected a control sequence",t);return e},oi=t=>{let e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},$r=(t,e,r,n)=>{let s=t.gullet.macros.get(r.text);s==null&&(r.noexpand=!0,s={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,s,n)};U({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){let{parser:e,funcName:r}=t;e.consumeSpaces();const n=e.fetch();if(B0[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=B0[n.text]),ie(e.parseFunction(),"internal");throw new m("Invalid token after macro prefix",n)}}),U({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){let{parser:e,funcName:r}=t,n=e.gullet.popToken();const s=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new m("Expected a control sequence",n);let l=0,o;const d=[[]];for(;e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){o=e.gullet.future(),d[l].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new m('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==l+1)throw new m('Argument number "'+n.text+'" out of order');l++,d.push([])}else{if(n.text==="EOF")throw new m("Expected a macro definition");d[l].push(n.text)}let{tokens:b}=e.gullet.consumeArg();return o&&b.unshift(o),(r==="\\edef"||r==="\\xdef")&&(b=e.gullet.expandTokens(b),b.reverse()),e.gullet.macros.set(s,{tokens:b,numArgs:l,delimiters:d},r===B0[r]),{type:"internal",mode:e.mode}}}),U({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){let{parser:e,funcName:r}=t;const n=Fr(e.gullet.popToken());e.gullet.consumeSpaces();const s=oi(e);return $r(e,n,s,r==="\\\\globallet"),{type:"internal",mode:e.mode}}}),U({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){let{parser:e,funcName:r}=t;const n=Fr(e.gullet.popToken()),s=e.gullet.popToken(),l=e.gullet.popToken();return $r(e,n,l,r==="\\\\globalfuture"),e.gullet.pushToken(l),e.gullet.pushToken(s),{type:"internal",mode:e.mode}}});const Nt=function(t,e,r){const n=Se.math[t]&&Se.math[t].replace,s=p0(n||t,e,r);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+e+".");return s},D0=function(t,e,r,n){const s=r.havingBaseStyle(e),l=N.makeSpan(n.concat(s.sizingClasses(r)),[t],r),o=s.sizeMultiplier/r.sizeMultiplier;return l.height*=o,l.depth*=o,l.maxFontSize=s.sizeMultiplier,l},Gr=function(t,e,r){const n=e.havingBaseStyle(r),s=(1-e.sizeMultiplier/n.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=F(s),t.height-=s,t.depth+=s},ci=function(t,e,r,n,s,l){const o=N.makeSymbol(t,"Main-Regular",s,n),d=D0(o,e,n,l);return r&&Gr(d,n,e),d},ui=function(t,e,r,n){return N.makeSymbol(t,"Size"+e+"-Regular",r,n)},Vr=function(t,e,r,n,s,l){const o=ui(t,e,s,n),d=D0(N.makeSpan(["delimsizing","size"+e],[o],n),ee.TEXT,n,l);return r&&Gr(d,n,ee.TEXT),d},R0=function(t,e,r){let n;return e==="Size1-Regular"?n="delim-size1":n="delim-size4",{type:"elem",elem:N.makeSpan(["delimsizinginner",n],[N.makeSpan([],[N.makeSymbol(t,e,r)])])}},E0=function(t,e,r){const n=Qe["Size4-Regular"][t.charCodeAt(0)]?Qe["Size4-Regular"][t.charCodeAt(0)][4]:Qe["Size1-Regular"][t.charCodeAt(0)][4],s=new dt("inner",ys(t,Math.round(1e3*e))),l=new it([s],{width:F(n),height:F(e),style:"width:"+F(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*e),preserveAspectRatio:"xMinYMin"}),o=N.makeSvgSpan([],[l],r);return o.height=e,o.style.height=F(e),o.style.width=F(n),{type:"elem",elem:o}},q0=.008,Qt={type:"kern",size:-1*q0},hi=["|","\\lvert","\\rvert","\\vert"],di=["\\|","\\lVert","\\rVert","\\Vert"],Ur=function(t,e,r,n,s,l){let o,d,b,k,z="",C=0;o=b=k=t,d=null;let D="Size1-Regular";t==="\\uparrow"?b=k="⏐":t==="\\Uparrow"?b=k="‖":t==="\\downarrow"?o=b="⏐":t==="\\Downarrow"?o=b="‖":t==="\\updownarrow"?(o="\\uparrow",b="⏐",k="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",b="‖",k="\\Downarrow"):V.contains(hi,t)?(b="∣",z="vert",C=333):V.contains(di,t)?(b="∥",z="doublevert",C=556):t==="["||t==="\\lbrack"?(o="⎡",b="⎢",k="⎣",D="Size4-Regular",z="lbrack",C=667):t==="]"||t==="\\rbrack"?(o="⎤",b="⎥",k="⎦",D="Size4-Regular",z="rbrack",C=667):t==="\\lfloor"||t==="⌊"?(b=o="⎢",k="⎣",D="Size4-Regular",z="lfloor",C=667):t==="\\lceil"||t==="⌈"?(o="⎡",b=k="⎢",D="Size4-Regular",z="lceil",C=667):t==="\\rfloor"||t==="⌋"?(b=o="⎥",k="⎦",D="Size4-Regular",z="rfloor",C=667):t==="\\rceil"||t==="⌉"?(o="⎤",b=k="⎥",D="Size4-Regular",z="rceil",C=667):t==="("||t==="\\lparen"?(o="⎛",b="⎜",k="⎝",D="Size4-Regular",z="lparen",C=875):t===")"||t==="\\rparen"?(o="⎞",b="⎟",k="⎠",D="Size4-Regular",z="rparen",C=875):t==="\\{"||t==="\\lbrace"?(o="⎧",d="⎨",k="⎩",b="⎪",D="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",d="⎬",k="⎭",b="⎪",D="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",k="⎩",b="⎪",D="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",k="⎭",b="⎪",D="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",k="⎭",b="⎪",D="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",k="⎩",b="⎪",D="Size4-Regular");const I=Nt(o,D,s),j=I.height+I.depth,Y=Nt(b,D,s),oe=Y.height+Y.depth,le=Nt(k,D,s),ue=le.height+le.depth;let me=0,ye=1;if(d!==null){const ze=Nt(d,D,s);me=ze.height+ze.depth,ye=2}const Ie=j+ue+me,Re=Math.max(0,Math.ceil((e-Ie)/(ye*oe))),Ue=Ie+Re*ye*oe;let Mt=n.fontMetrics().axisHeight;r&&(Mt*=n.sizeMultiplier);const de=Ue/2-Mt,fe=[];if(z.length>0){const ze=Ue-j-ue,Ae=Math.round(Ue*1e3),We=xs(z,Math.round(ze*1e3)),_i=new dt(z,We),Ln=(C/1e3).toFixed(3)+"em",On=(Ae/1e3).toFixed(3)+"em",Hi=new it([_i],{width:Ln,height:On,viewBox:"0 0 "+C+" "+Ae}),n0=N.makeSvgSpan([],[Hi],n);n0.height=Ae/1e3,n0.style.width=Ln,n0.style.height=On,fe.push({type:"elem",elem:n0})}else{if(fe.push(R0(k,D,s)),fe.push(Qt),d===null){const ze=Ue-j-ue+2*q0;fe.push(E0(b,ze,n))}else{const ze=(Ue-j-ue-me)/2+2*q0;fe.push(E0(b,ze,n)),fe.push(Qt),fe.push(R0(d,D,s)),fe.push(Qt),fe.push(E0(b,ze,n))}fe.push(Qt),fe.push(R0(o,D,s))}const xe=n.havingBaseStyle(ee.TEXT),ke=N.makeVList({positionType:"bottom",positionData:de,children:fe},xe);return D0(N.makeSpan(["delimsizing","mult"],[ke],xe),ee.TEXT,n,l)},I0=80,L0=.08,O0=function(t,e,r,n,s){const l=bs(t,n,r),o=new dt(t,l),d=new it([o],{width:"400em",height:F(e),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return N.makeSvgSpan(["hide-tail"],[d],s)},mi=function(t,e){const r=e.havingBaseSizing(),n=Yr("\\surd",t*r.sizeMultiplier,Xr,r);let s=r.sizeMultiplier;const l=Math.max(0,e.minRuleThickness-e.fontMetrics().sqrtRuleThickness);let o,d=0,b=0,k=0,z;return n.type==="small"?(k=1e3+1e3*l+I0,t<1?s=1:t<1.4&&(s=.7),d=(1+l+L0)/s,b=(1+l)/s,o=O0("sqrtMain",d,k,l,e),o.style.minWidth="0.853em",z=.833/s):n.type==="large"?(k=(1e3+I0)*Bt[n.size],b=(Bt[n.size]+l)/s,d=(Bt[n.size]+l+L0)/s,o=O0("sqrtSize"+n.size,d,k,l,e),o.style.minWidth="1.02em",z=1/s):(d=t+l+L0,b=t+l,k=Math.floor(1e3*t+l)+I0,o=O0("sqrtTall",d,k,l,e),o.style.minWidth="0.742em",z=1.056),o.height=b,o.style.height=F(d),{span:o,advanceWidth:z,ruleWidth:(e.fontMetrics().sqrtRuleThickness+l)*s}},Wr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],pi=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],jr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Bt=[0,1.2,1.8,2.4,3],fi=function(t,e,r,n,s){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),V.contains(Wr,t)||V.contains(jr,t))return Vr(t,e,!1,r,n,s);if(V.contains(pi,t))return Ur(t,Bt[e],!1,r,n,s);throw new m("Illegal delimiter: '"+t+"'")},gi=[{type:"small",style:ee.SCRIPTSCRIPT},{type:"small",style:ee.SCRIPT},{type:"small",style:ee.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],bi=[{type:"small",style:ee.SCRIPTSCRIPT},{type:"small",style:ee.SCRIPT},{type:"small",style:ee.TEXT},{type:"stack"}],Xr=[{type:"small",style:ee.SCRIPTSCRIPT},{type:"small",style:ee.SCRIPT},{type:"small",style:ee.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],yi=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Yr=function(t,e,r,n){const s=Math.min(2,3-n.style.size);for(let l=s;l<r.length&&r[l].type!=="stack";l++){const o=Nt(t,yi(r[l]),"math");let d=o.height+o.depth;if(r[l].type==="small"){const b=n.havingBaseStyle(r[l].style);d*=b.sizeMultiplier}if(d>e)return r[l]}return r[r.length-1]},Zr=function(t,e,r,n,s,l){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");let o;V.contains(jr,t)?o=gi:V.contains(Wr,t)?o=Xr:o=bi;const d=Yr(t,e,o,n);return d.type==="small"?ci(t,d.style,r,n,s,l):d.type==="large"?Vr(t,d.size,r,n,s,l):Ur(t,e,r,n,s,l)};var ut={sqrtImage:mi,sizedDelim:fi,sizeToMaxHeight:Bt,customSizedDelim:Zr,leftRightDelim:function(t,e,r,n,s,l){const o=n.fontMetrics().axisHeight*n.sizeMultiplier,d=901,b=5/n.fontMetrics().ptPerEm,k=Math.max(e-o,r+o),z=Math.max(k/500*d,2*k-b);return Zr(t,z,!0,n,s,l)}};const Kr={"\\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}},xi=["(","\\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 Jt(t,e){const r=Yt(t);if(r&&V.contains(xi,r.text))return r;throw r?new m("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new m("Invalid delimiter type '"+t.type+"'",t)}U({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:(t,e)=>{const r=Jt(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Kr[t.funcName].size,mclass:Kr[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?N.makeSpan([t.mclass]):ut.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{const e=[];t.delim!=="."&&e.push(Ge(t.delim,t.mode));const r=new P.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");const n=F(ut.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Qr(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}U({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{const r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new m("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Jt(e[0],t).text,color:r}}}),U({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{const r=Jt(e[0],t),n=t.parser;++n.leftrightDepth;const s=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);const l=ie(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:s,left:r.text,right:l.delim,rightColor:l.color}},htmlBuilder:(t,e)=>{Qr(t);const r=De(t.body,e,!0,["mopen","mclose"]);let n=0,s=0,l=!1;for(let b=0;b<r.length;b++)r[b].isMiddle?l=!0:(n=Math.max(r[b].height,n),s=Math.max(r[b].depth,s));n*=e.sizeMultiplier,s*=e.sizeMultiplier;let o;if(t.left==="."?o=Ct(e,["mopen"]):o=ut.leftRightDelim(t.left,n,s,e,t.mode,["mopen"]),r.unshift(o),l)for(let b=1;b<r.length;b++){const z=r[b].isMiddle;z&&(r[b]=ut.leftRightDelim(z.delim,n,s,z.options,t.mode,[]))}let d;if(t.right===".")d=Ct(e,["mclose"]);else{const b=t.rightColor?e.withColor(t.rightColor):e;d=ut.leftRightDelim(t.right,n,s,b,t.mode,["mclose"])}return r.push(d),N.makeSpan(["minner"],r,e)},mathmlBuilder:(t,e)=>{Qr(t);const r=_e(t.body,e);if(t.left!=="."){const n=new P.MathNode("mo",[Ge(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){const n=new P.MathNode("mo",[Ge(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return A0(r)}}),U({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{const r=Jt(e[0],t);if(!t.parser.leftrightDepth)throw new m("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{let r;if(t.delim===".")r=Ct(e,[]);else{r=ut.sizedDelim(t.delim,1,e,t.mode,[]);const n={delim:t.delim,options:e};r.isMiddle=n}return r},mathmlBuilder:(t,e)=>{const r=t.delim==="\\vert"||t.delim==="|"?Ge("|","text"):Ge(t.delim,t.mode),n=new P.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});const _0=(t,e)=>{const r=N.wrapFragment(he(t.body,e),e),n=t.label.slice(1);let s=e.sizeMultiplier,l,o=0;const d=V.isCharacterBox(t.body);if(n==="sout")l=N.makeSpan(["stretchy","sout"]),l.height=e.fontMetrics().defaultRuleThickness/s,o=-.5*e.fontMetrics().xHeight;else if(n==="phase"){const k=ve({number:.6,unit:"pt"},e),z=ve({number:.35,unit:"ex"},e),C=e.havingBaseSizing();s=s/C.sizeMultiplier;const D=r.height+r.depth+k+z;r.style.paddingLeft=F(D/2+k);const I=Math.floor(1e3*D*s),j=fs(I),Y=new it([new dt("phase",j)],{width:"400em",height:F(I/1e3),viewBox:"0 0 400000 "+I,preserveAspectRatio:"xMinYMin slice"});l=N.makeSvgSpan(["hide-tail"],[Y],e),l.style.height=F(D),o=r.depth+k+z}else{/cancel/.test(n)?d||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");let k=0,z=0,C=0;/box/.test(n)?(C=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),k=e.fontMetrics().fboxsep+(n==="colorbox"?0:C),z=k):n==="angl"?(C=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),k=4*C,z=Math.max(0,.25-r.depth)):(k=d?.2:0,z=k),l=ct.encloseSpan(r,n,k,z,e),/fbox|boxed|fcolorbox/.test(n)?(l.style.borderStyle="solid",l.style.borderWidth=F(C)):n==="angl"&&C!==.049&&(l.style.borderTopWidth=F(C),l.style.borderRightWidth=F(C)),o=r.depth+z,t.backgroundColor&&(l.style.backgroundColor=t.backgroundColor,t.borderColor&&(l.style.borderColor=t.borderColor))}let b;if(t.backgroundColor)b=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:o},{type:"elem",elem:r,shift:0}]},e);else{const k=/cancel|phase/.test(n)?["svg-align"]:[];b=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:l,shift:o,wrapperClasses:k}]},e)}return/cancel/.test(n)&&(b.height=r.height,b.depth=r.depth),/cancel/.test(n)&&!d?N.makeSpan(["mord","cancel-lap"],[b],e):N.makeSpan(["mord"],[b],e)},H0=(t,e)=>{let r=0;const n=new P.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ge(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){const s=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+s+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};U({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){let{parser:n,funcName:s}=t;const l=ie(e[0],"color-token").color,o=e[1];return{type:"enclose",mode:n.mode,label:s,backgroundColor:l,body:o}},htmlBuilder:_0,mathmlBuilder:H0}),U({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){let{parser:n,funcName:s}=t;const l=ie(e[0],"color-token").color,o=ie(e[1],"color-token").color,d=e[2];return{type:"enclose",mode:n.mode,label:s,backgroundColor:o,borderColor:l,body:d}},htmlBuilder:_0,mathmlBuilder:H0}),U({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){let{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}}),U({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){let{parser:r,funcName:n}=t;const s=e[0];return{type:"enclose",mode:r.mode,label:n,body:s}},htmlBuilder:_0,mathmlBuilder:H0}),U({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){let{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});const Jr={};function et(t){let{type:e,names:r,props:n,handler:s,htmlBuilder:l,mathmlBuilder:o}=t;const d={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:s};for(let b=0;b<r.length;++b)Jr[r[b]]=d;l&&(Ut[e]=l),o&&(Wt[e]=o)}const en={};function p(t,e){en[t]=e}class Fe{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new Fe(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class Ve{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new Ve(r,Fe.range(this,e))}}function tn(t){const e=[];t.consumeSpaces();let r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}const e0=t=>{if(!t.parser.settings.displayMode)throw new m("{"+t.envName+"} can be used only in display mode.")};function P0(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function pt(t,e,r){let{hskipBeforeAndAfter:n,addJot:s,cols:l,arraystretch:o,colSeparationType:d,autoTag:b,singleRow:k,emptySingleRow:z,maxNumCols:C,leqno:D}=e;if(t.gullet.beginGroup(),k||t.gullet.macros.set("\\cr","\\\\\\relax"),!o){const ye=t.gullet.expandMacroAsText("\\arraystretch");if(ye==null)o=1;else if(o=parseFloat(ye),!o||o<0)throw new m("Invalid \\arraystretch: "+ye)}t.gullet.beginGroup();let I=[];const j=[I],Y=[],oe=[],le=b!=null?[]:void 0;function ue(){b&&t.gullet.macros.set("\\@eqnsw","1",!0)}function me(){le&&(t.gullet.macros.get("\\df@tag")?(le.push(t.subparse([new Ve("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):le.push(!!b&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(ue(),oe.push(tn(t));;){let ye=t.parseExpression(!1,k?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),ye={type:"ordgroup",mode:t.mode,body:ye},r&&(ye={type:"styling",mode:t.mode,style:r,body:[ye]}),I.push(ye);const Ie=t.fetch().text;if(Ie==="&"){if(C&&I.length===C){if(k||d)throw new m("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(Ie==="\\end"){me(),I.length===1&&ye.type==="styling"&&ye.body[0].body.length===0&&(j.length>1||!z)&&j.pop(),oe.length<j.length+1&&oe.push([]);break}else if(Ie==="\\\\"){t.consume();let Re;t.gullet.future().text!==" "&&(Re=t.parseSizeGroup(!0)),Y.push(Re?Re.value:null),me(),oe.push(tn(t)),I=[],j.push(I),ue()}else throw new m("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:s,arraystretch:o,body:j,cols:l,rowGaps:Y,hskipBeforeAndAfter:n,hLinesBeforeRow:oe,colSeparationType:d,tags:le,leqno:D}}function F0(t){return t.slice(0,1)==="d"?"display":"text"}const tt=function(t,e){let r,n;const s=t.body.length,l=t.hLinesBeforeRow;let o=0,d=new Array(s);const b=[],k=Math.max(e.fontMetrics().arrayRuleWidth,e.minRuleThickness),z=1/e.fontMetrics().ptPerEm;let C=5*z;t.colSeparationType&&t.colSeparationType==="small"&&(C=.2778*(e.havingStyle(ee.SCRIPT).sizeMultiplier/e.sizeMultiplier));const D=t.colSeparationType==="CD"?ve({number:3,unit:"ex"},e):12*z,I=3*z,j=t.arraystretch*D,Y=.7*j,oe=.3*j;let le=0;function ue(de){for(let fe=0;fe<de.length;++fe)fe>0&&(le+=.25),b.push({pos:le,isDashed:de[fe]})}for(ue(l[0]),r=0;r<t.body.length;++r){const de=t.body[r];let fe=Y,xe=oe;o<de.length&&(o=de.length);const ke=new Array(de.length);for(n=0;n<de.length;++n){const We=he(de[n],e);xe<We.depth&&(xe=We.depth),fe<We.height&&(fe=We.height),ke[n]=We}const ze=t.rowGaps[r];let Ae=0;ze&&(Ae=ve(ze,e),Ae>0&&(Ae+=oe,xe<Ae&&(xe=Ae),Ae=0)),t.addJot&&(xe+=I),ke.height=fe,ke.depth=xe,le+=fe,ke.pos=le,le+=xe+Ae,d[r]=ke,ue(l[r+1])}const me=le/2+e.fontMetrics().axisHeight,ye=t.cols||[],Ie=[];let Re,Ue;const Mt=[];if(t.tags&&t.tags.some(de=>de))for(r=0;r<s;++r){const de=d[r],fe=de.pos-me,xe=t.tags[r];let ke;xe===!0?ke=N.makeSpan(["eqn-num"],[],e):xe===!1?ke=N.makeSpan([],[],e):ke=N.makeSpan([],De(xe,e,!0),e),ke.depth=de.depth,ke.height=de.height,Mt.push({type:"elem",elem:ke,shift:fe})}for(n=0,Ue=0;n<o||Ue<ye.length;++n,++Ue){let de=ye[Ue]||{},fe=!0;for(;de.type==="separator";){if(fe||(Re=N.makeSpan(["arraycolsep"],[]),Re.style.width=F(e.fontMetrics().doubleRuleSep),Ie.push(Re)),de.separator==="|"||de.separator===":"){const ze=de.separator==="|"?"solid":"dashed",Ae=N.makeSpan(["vertical-separator"],[],e);Ae.style.height=F(le),Ae.style.borderRightWidth=F(k),Ae.style.borderRightStyle=ze,Ae.style.margin="0 "+F(-k/2);const We=le-me;We&&(Ae.style.verticalAlign=F(-We)),Ie.push(Ae)}else throw new m("Invalid separator type: "+de.separator);Ue++,de=ye[Ue]||{},fe=!1}if(n>=o)continue;let xe;(n>0||t.hskipBeforeAndAfter)&&(xe=V.deflt(de.pregap,C),xe!==0&&(Re=N.makeSpan(["arraycolsep"],[]),Re.style.width=F(xe),Ie.push(Re)));let ke=[];for(r=0;r<s;++r){const ze=d[r],Ae=ze[n];if(!Ae)continue;const We=ze.pos-me;Ae.depth=ze.depth,Ae.height=ze.height,ke.push({type:"elem",elem:Ae,shift:We})}ke=N.makeVList({positionType:"individualShift",children:ke},e),ke=N.makeSpan(["col-align-"+(de.align||"c")],[ke]),Ie.push(ke),(n<o-1||t.hskipBeforeAndAfter)&&(xe=V.deflt(de.postgap,C),xe!==0&&(Re=N.makeSpan(["arraycolsep"],[]),Re.style.width=F(xe),Ie.push(Re)))}if(d=N.makeSpan(["mtable"],Ie),b.length>0){const de=N.makeLineSpan("hline",e,k),fe=N.makeLineSpan("hdashline",e,k),xe=[{type:"elem",elem:d,shift:0}];for(;b.length>0;){const ke=b.pop(),ze=ke.pos-me;ke.isDashed?xe.push({type:"elem",elem:fe,shift:ze}):xe.push({type:"elem",elem:de,shift:ze})}d=N.makeVList({positionType:"individualShift",children:xe},e)}if(Mt.length===0)return N.makeSpan(["mord"],[d],e);{let de=N.makeVList({positionType:"individualShift",children:Mt},e);return de=N.makeSpan(["tag"],[de],e),N.makeFragment([d,de])}},wi={c:"center ",l:"left ",r:"right "},rt=function(t,e){const r=[],n=new P.MathNode("mtd",[],["mtr-glue"]),s=new P.MathNode("mtd",[],["mml-eqn-num"]);for(let C=0;C<t.body.length;C++){const D=t.body[C],I=[];for(let j=0;j<D.length;j++)I.push(new P.MathNode("mtd",[ge(D[j],e)]));t.tags&&t.tags[C]&&(I.unshift(n),I.push(n),t.leqno?I.unshift(s):I.push(s)),r.push(new P.MathNode("mtr",I))}let l=new P.MathNode("mtable",r);const o=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);l.setAttribute("rowspacing",F(o));let d="",b="";if(t.cols&&t.cols.length>0){const C=t.cols;let D="",I=!1,j=0,Y=C.length;C[0].type==="separator"&&(d+="top ",j=1),C[C.length-1].type==="separator"&&(d+="bottom ",Y-=1);for(let oe=j;oe<Y;oe++)C[oe].type==="align"?(b+=wi[C[oe].align],I&&(D+="none "),I=!0):C[oe].type==="separator"&&I&&(D+=C[oe].separator==="|"?"solid ":"dashed ",I=!1);l.setAttribute("columnalign",b.trim()),/[sd]/.test(D)&&l.setAttribute("columnlines",D.trim())}if(t.colSeparationType==="align"){const C=t.cols||[];let D="";for(let I=1;I<C.length;I++)D+=I%2?"0em ":"1em ";l.setAttribute("columnspacing",D.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?l.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?l.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?l.setAttribute("columnspacing","0.5em"):l.setAttribute("columnspacing","1em");let k="";const z=t.hLinesBeforeRow;d+=z[0].length>0?"left ":"",d+=z[z.length-1].length>0?"right ":"";for(let C=1;C<z.length-1;C++)k+=z[C].length===0?"none ":z[C][0]?"dashed ":"solid ";return/[sd]/.test(k)&&l.setAttribute("rowlines",k.trim()),d!==""&&(l=new P.MathNode("menclose",[l]),l.setAttribute("notation",d.trim())),t.arraystretch&&t.arraystretch<1&&(l=new P.MathNode("mstyle",[l]),l.setAttribute("scriptlevel","1")),l},rn=function(t,e){t.envName.indexOf("ed")===-1&&e0(t);const r=[],n=t.envName.indexOf("at")>-1?"alignat":"align",s=t.envName==="split",l=pt(t.parser,{cols:r,addJot:!0,autoTag:s?void 0:P0(t.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display");let o,d=0;const b={type:"ordgroup",mode:t.mode,body:[]};if(e[0]&&e[0].type==="ordgroup"){let z="";for(let C=0;C<e[0].body.length;C++){const D=ie(e[0].body[C],"textord");z+=D.text}o=Number(z),d=o*2}const k=!d;l.body.forEach(function(z){for(let C=1;C<z.length;C+=2){const D=ie(z[C],"styling");ie(D.body[0],"ordgroup").body.unshift(b)}if(k)d<z.length&&(d=z.length);else{const C=z.length/2;if(o<C)throw new m("Too many math in a row: "+("expected "+o+", but got "+C),z[0])}});for(let z=0;z<d;++z){let C="r",D=0;z%2===1?C="l":z>0&&k&&(D=1),r[z]={type:"align",align:C,pregap:D,postgap:0}}return l.colSeparationType=k?"align":"alignat",l};et({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){const s=(Yt(e[0])?[e[0]]:ie(e[0],"ordgroup").body).map(function(o){const b=C0(o).text;if("lcr".indexOf(b)!==-1)return{type:"align",align:b};if(b==="|")return{type:"separator",separator:"|"};if(b===":")return{type:"separator",separator:":"};throw new m("Unknown column alignment: "+b,o)}),l={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return pt(t.parser,l,F0(t.envName))},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){const e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")];let r="c";const n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){const o=t.parser;if(o.consumeSpaces(),o.fetch().text==="["){if(o.consume(),o.consumeSpaces(),r=o.fetch().text,"lcr".indexOf(r)===-1)throw new m("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}const s=pt(t.parser,n,F0(t.envName)),l=Math.max(0,...s.body.map(o=>o.length));return s.cols=new Array(l).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){const e={arraystretch:.5},r=pt(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){const s=(Yt(e[0])?[e[0]]:ie(e[0],"ordgroup").body).map(function(o){const b=C0(o).text;if("lc".indexOf(b)!==-1)return{type:"align",align:b};throw new m("Unknown column alignment: "+b,o)});if(s.length>1)throw new m("{subarray} can contain only one column");let l={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(l=pt(t.parser,l,"script"),l.body.length>0&&l.body[0].length>1)throw new m("{subarray} can contain only one column");return l},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){const e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=pt(t.parser,e,F0(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rn,htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){V.contains(["gather","gather*"],t.envName)&&e0(t);const e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:P0(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return pt(t.parser,e,"display")},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rn,htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){e0(t);const e={autoTag:P0(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return pt(t.parser,e,"display")},htmlBuilder:tt,mathmlBuilder:rt}),et({type:"array",names:["CD"],props:{numArgs:0},handler(t){return e0(t),ai(t.parser)},htmlBuilder:tt,mathmlBuilder:rt}),p("\\nonumber","\\gdef\\@eqnsw{0}"),p("\\notag","\\nonumber"),U({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new m(t.funcName+" valid only within array environment")}});var nn=Jr;U({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){let{parser:r,funcName:n}=t;const s=e[0];if(s.type!=="ordgroup")throw new m("Invalid environment name",s);let l="";for(let o=0;o<s.body.length;++o)l+=ie(s.body[o],"textord").text;if(n==="\\begin"){if(!nn.hasOwnProperty(l))throw new m("No such environment: "+l,s);const o=nn[l],{args:d,optArgs:b}=r.parseArguments("\\begin{"+l+"}",o),k={mode:r.mode,envName:l,parser:r},z=o.handler(k,d,b);r.expect("\\end",!1);const C=r.nextToken,D=ie(r.parseFunction(),"environment");if(D.name!==l)throw new m("Mismatch: \\begin{"+l+"} matched by \\end{"+D.name+"}",C);return z}return{type:"environment",mode:r.mode,name:l,nameGroup:s}}});const sn=(t,e)=>{const r=t.font,n=e.withFont(r);return he(t.body,n)},ln=(t,e)=>{const r=t.font,n=e.withFont(r);return ge(t.body,n)},an={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};U({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=jt(e[0]);let l=n;return l in an&&(l=an[l]),{type:"font",mode:r.mode,font:l.slice(1),body:s}},htmlBuilder:sn,mathmlBuilder:ln}),U({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{let{parser:r}=t;const n=e[0],s=V.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Kt(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:s}}}),U({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{let{parser:r,funcName:n,breakOnTokenText:s}=t;const{mode:l}=r,o=r.parseExpression(!0,s),d="math"+n.slice(1);return{type:"font",mode:l,font:d,body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:sn,mathmlBuilder:ln});const on=(t,e)=>{let r=e;return t==="display"?r=r.id>=ee.SCRIPT.id?r.text():ee.DISPLAY:t==="text"&&r.size===ee.DISPLAY.size?r=ee.TEXT:t==="script"?r=ee.SCRIPT:t==="scriptscript"&&(r=ee.SCRIPTSCRIPT),r},$0=(t,e)=>{const r=on(t.size,e.style),n=r.fracNum(),s=r.fracDen();let l;l=e.havingStyle(n);const o=he(t.numer,l,e);if(t.continued){const ue=8.5/e.fontMetrics().ptPerEm,me=3.5/e.fontMetrics().ptPerEm;o.height=o.height<ue?ue:o.height,o.depth=o.depth<me?me:o.depth}l=e.havingStyle(s);const d=he(t.denom,l,e);let b,k,z;t.hasBarLine?(t.barSize?(k=ve(t.barSize,e),b=N.makeLineSpan("frac-line",e,k)):b=N.makeLineSpan("frac-line",e),k=b.height,z=b.height):(b=null,k=0,z=e.fontMetrics().defaultRuleThickness);let C,D,I;r.size===ee.DISPLAY.size||t.size==="display"?(C=e.fontMetrics().num1,k>0?D=3*z:D=7*z,I=e.fontMetrics().denom1):(k>0?(C=e.fontMetrics().num2,D=z):(C=e.fontMetrics().num3,D=3*z),I=e.fontMetrics().denom2);let j;if(b){const ue=e.fontMetrics().axisHeight;C-o.depth-(ue+.5*k)<D&&(C+=D-(C-o.depth-(ue+.5*k))),ue-.5*k-(d.height-I)<D&&(I+=D-(ue-.5*k-(d.height-I)));const me=-(ue-.5*k);j=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:I},{type:"elem",elem:b,shift:me},{type:"elem",elem:o,shift:-C}]},e)}else{const ue=C-o.depth-(d.height-I);ue<D&&(C+=.5*(D-ue),I+=.5*(D-ue)),j=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:I},{type:"elem",elem:o,shift:-C}]},e)}l=e.havingStyle(r),j.height*=l.sizeMultiplier/e.sizeMultiplier,j.depth*=l.sizeMultiplier/e.sizeMultiplier;let Y;r.size===ee.DISPLAY.size?Y=e.fontMetrics().delim1:r.size===ee.SCRIPTSCRIPT.size?Y=e.havingStyle(ee.SCRIPT).fontMetrics().delim2:Y=e.fontMetrics().delim2;let oe,le;return t.leftDelim==null?oe=Ct(e,["mopen"]):oe=ut.customSizedDelim(t.leftDelim,Y,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?le=N.makeSpan([]):t.rightDelim==null?le=Ct(e,["mclose"]):le=ut.customSizedDelim(t.rightDelim,Y,!0,e.havingStyle(r),t.mode,["mclose"]),N.makeSpan(["mord"].concat(l.sizingClasses(e)),[oe,N.makeSpan(["mfrac"],[j]),le],e)},G0=(t,e)=>{let r=new P.MathNode("mfrac",[ge(t.numer,e),ge(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){const s=ve(t.barSize,e);r.setAttribute("linethickness",F(s))}const n=on(t.size,e.style);if(n.size!==e.style.size){r=new P.MathNode("mstyle",[r]);const s=n.size===ee.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",s),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){const s=[];if(t.leftDelim!=null){const l=new P.MathNode("mo",[new P.TextNode(t.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}if(s.push(r),t.rightDelim!=null){const l=new P.MathNode("mo",[new P.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return A0(s)}return r};U({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=e[0],l=e[1];let o,d=null,b=null,k="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,d="(",b=")";break;case"\\\\bracefrac":o=!1,d="\\{",b="\\}";break;case"\\\\brackfrac":o=!1,d="[",b="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":k="display";break;case"\\tfrac":case"\\tbinom":k="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:s,denom:l,hasBarLine:o,leftDelim:d,rightDelim:b,size:k,barSize:null}},htmlBuilder:$0,mathmlBuilder:G0}),U({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=e[0],l=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:s,denom:l,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),U({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){let{parser:e,funcName:r,token:n}=t,s;switch(r){case"\\over":s="\\frac";break;case"\\choose":s="\\binom";break;case"\\atop":s="\\\\atopfrac";break;case"\\brace":s="\\\\bracefrac";break;case"\\brack":s="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:s,token:n}}});const cn=["display","text","script","scriptscript"],un=function(t){let e=null;return t.length>0&&(e=t,e=e==="."?null:e),e};U({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){let{parser:r}=t;const n=e[4],s=e[5],l=jt(e[0]),o=l.type==="atom"&&l.family==="open"?un(l.text):null,d=jt(e[1]),b=d.type==="atom"&&d.family==="close"?un(d.text):null,k=ie(e[2],"size");let z,C=null;k.isBlank?z=!0:(C=k.value,z=C.number>0);let D="auto",I=e[3];if(I.type==="ordgroup"){if(I.body.length>0){const j=ie(I.body[0],"textord");D=cn[Number(j.text)]}}else I=ie(I,"textord"),D=cn[Number(I.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:z,barSize:C,leftDelim:o,rightDelim:b,size:D}},htmlBuilder:$0,mathmlBuilder:G0}),U({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){let{parser:r,funcName:n,token:s}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ie(e[0],"size").value,token:s}}}),U({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=e[0],l=G(ie(e[1],"infix").size),o=e[2],d=l.number>0;return{type:"genfrac",mode:r.mode,numer:s,denom:o,continued:!1,hasBarLine:d,barSize:l,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:$0,mathmlBuilder:G0});const hn=(t,e)=>{const r=e.style;let n,s;t.type==="supsub"?(n=t.sup?he(t.sup,e.havingStyle(r.sup()),e):he(t.sub,e.havingStyle(r.sub()),e),s=ie(t.base,"horizBrace")):s=ie(t,"horizBrace");const l=he(s.base,e.havingBaseStyle(ee.DISPLAY)),o=ct.svgSpan(s,e);let d;if(s.isOver?(d=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:o}]},e),d.children[0].children[0].children[1].classes.push("svg-align")):(d=N.makeVList({positionType:"bottom",positionData:l.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:l}]},e),d.children[0].children[0].children[0].classes.push("svg-align")),n){const b=N.makeSpan(["mord",s.isOver?"mover":"munder"],[d],e);s.isOver?d=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:b},{type:"kern",size:.2},{type:"elem",elem:n}]},e):d=N.makeVList({positionType:"bottom",positionData:b.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:b}]},e)}return N.makeSpan(["mord",s.isOver?"mover":"munder"],[d],e)};U({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){let{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:hn,mathmlBuilder:(t,e)=>{const r=ct.mathMLnode(t.label);return new P.MathNode(t.isOver?"mover":"munder",[ge(t.base,e),r])}}),U({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{let{parser:r}=t;const n=e[1],s=ie(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:r.mode,href:s,body:Ce(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{const r=De(t.body,e,!1);return N.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{let r=mt(t.body,e);return r instanceof Pe||(r=new Pe("mrow",[r])),r.setAttribute("href",t.href),r}}),U({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{let{parser:r}=t;const n=ie(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");const s=[];for(let o=0;o<n.length;o++){let d=n[o];d==="~"&&(d="\\textasciitilde"),s.push({type:"textord",mode:"text",text:d})}const l={type:"text",mode:r.mode,font:"\\texttt",body:s};return{type:"href",mode:r.mode,href:n,body:Ce(l)}}}),U({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){let{parser:r}=t;return{type:"hbox",mode:r.mode,body:Ce(e[0])}},htmlBuilder(t,e){const r=De(t.body,e,!1);return N.makeFragment(r)},mathmlBuilder(t,e){return new P.MathNode("mrow",_e(t.body,e))}}),U({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{let{parser:r,funcName:n,token:s}=t;const l=ie(e[0],"raw").string,o=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let d;const b={};switch(n){case"\\htmlClass":b.class=l,d={command:"\\htmlClass",class:l};break;case"\\htmlId":b.id=l,d={command:"\\htmlId",id:l};break;case"\\htmlStyle":b.style=l,d={command:"\\htmlStyle",style:l};break;case"\\htmlData":{const k=l.split(",");for(let z=0;z<k.length;z++){const C=k[z].split("=");if(C.length!==2)throw new m("Error parsing key-value for \\htmlData");b["data-"+C[0].trim()]=C[1].trim()}d={command:"\\htmlData",attributes:b};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(d)?{type:"html",mode:r.mode,attributes:b,body:Ce(o)}:r.formatUnsupportedCmd(n)},htmlBuilder:(t,e)=>{const r=De(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));const s=N.makeSpan(n,r,e);for(const l in t.attributes)l!=="class"&&t.attributes.hasOwnProperty(l)&&s.setAttribute(l,t.attributes[l]);return s},mathmlBuilder:(t,e)=>mt(t.body,e)}),U({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{let{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Ce(e[0]),mathml:Ce(e[1])}},htmlBuilder:(t,e)=>{const r=De(t.html,e,!1);return N.makeFragment(r)},mathmlBuilder:(t,e)=>mt(t.mathml,e)});const V0=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};{const e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!e)throw new m("Invalid size: '"+t+"' in \\includegraphics");const r={number:+(e[1]+e[2]),unit:e[3]};if(!fr(r))throw new m("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r}};U({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{let{parser:n}=t,s={number:0,unit:"em"},l={number:.9,unit:"em"},o={number:0,unit:"em"},d="";if(r[0]){const z=ie(r[0],"raw").string.split(",");for(let C=0;C<z.length;C++){const D=z[C].split("=");if(D.length===2){const I=D[1].trim();switch(D[0].trim()){case"alt":d=I;break;case"width":s=V0(I);break;case"height":l=V0(I);break;case"totalheight":o=V0(I);break;default:throw new m("Invalid key: '"+D[0]+"' in \\includegraphics.")}}}}const b=ie(e[0],"url").url;return d===""&&(d=b,d=d.replace(/^.*[\\/]/,""),d=d.substring(0,d.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:b})?{type:"includegraphics",mode:n.mode,alt:d,width:s,height:l,totalheight:o,src:b}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{const r=ve(t.height,e);let n=0;t.totalheight.number>0&&(n=ve(t.totalheight,e)-r);let s=0;t.width.number>0&&(s=ve(t.width,e));const l={height:F(r+n)};s>0&&(l.width=F(s)),n>0&&(l.verticalAlign=F(-n));const o=new Ts(t.src,t.alt,l);return o.height=r,o.depth=n,o},mathmlBuilder:(t,e)=>{const r=new P.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);const n=ve(t.height,e);let s=0;if(t.totalheight.number>0&&(s=ve(t.totalheight,e)-n,r.setAttribute("valign",F(-s))),r.setAttribute("height",F(n+s)),t.width.number>0){const l=ve(t.width,e);r.setAttribute("width",F(l))}return r.setAttribute("src",t.src),r}}),U({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){let{parser:r,funcName:n}=t;const s=ie(e[0],"size");if(r.settings.strict){const l=n[1]==="m",o=s.value.unit==="mu";l?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+s.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:s.value}},htmlBuilder(t,e){return N.makeGlue(t.dimension,e)},mathmlBuilder(t,e){const r=ve(t.dimension,e);return new P.SpaceNode(r)}}),U({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:s}},htmlBuilder:(t,e)=>{let r;t.alignment==="clap"?(r=N.makeSpan([],[he(t.body,e)]),r=N.makeSpan(["inner"],[r],e)):r=N.makeSpan(["inner"],[he(t.body,e)]);const n=N.makeSpan(["fix"],[]);let s=N.makeSpan([t.alignment],[r,n],e);const l=N.makeSpan(["strut"]);return l.style.height=F(s.height+s.depth),s.depth&&(l.style.verticalAlign=F(-s.depth)),s.children.unshift(l),s=N.makeSpan(["thinbox"],[s],e),N.makeSpan(["mord","vbox"],[s],e)},mathmlBuilder:(t,e)=>{const r=new P.MathNode("mpadded",[ge(t.body,e)]);if(t.alignment!=="rlap"){const n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),U({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){let{funcName:r,parser:n}=t;const s=n.mode;n.switchMode("math");const l=r==="\\("?"\\)":"$",o=n.parseExpression(!1,l);return n.expect(l),n.switchMode(s),{type:"styling",mode:n.mode,style:"text",body:o}}}),U({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new m("Mismatched "+t.funcName)}});const dn=(t,e)=>{switch(e.style.size){case ee.DISPLAY.size:return t.display;case ee.TEXT.size:return t.text;case ee.SCRIPT.size:return t.script;case ee.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};U({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{let{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Ce(e[0]),text:Ce(e[1]),script:Ce(e[2]),scriptscript:Ce(e[3])}},htmlBuilder:(t,e)=>{const r=dn(t,e),n=De(r,e,!1);return N.makeFragment(n)},mathmlBuilder:(t,e)=>{const r=dn(t,e);return mt(r,e)}});const mn=(t,e,r,n,s,l,o)=>{t=N.makeSpan([],[t]);const d=r&&V.isCharacterBox(r);let b,k;if(e){const D=he(e,n.havingStyle(s.sup()),n);k={elem:D,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-D.depth)}}if(r){const D=he(r,n.havingStyle(s.sub()),n);b={elem:D,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-D.height)}}let z;if(k&&b){const D=n.fontMetrics().bigOpSpacing5+b.elem.height+b.elem.depth+b.kern+t.depth+o;z=N.makeVList({positionType:"bottom",positionData:D,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:b.elem,marginLeft:F(-l)},{type:"kern",size:b.kern},{type:"elem",elem:t},{type:"kern",size:k.kern},{type:"elem",elem:k.elem,marginLeft:F(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(b){const D=t.height-o;z=N.makeVList({positionType:"top",positionData:D,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:b.elem,marginLeft:F(-l)},{type:"kern",size:b.kern},{type:"elem",elem:t}]},n)}else if(k){const D=t.depth+o;z=N.makeVList({positionType:"bottom",positionData:D,children:[{type:"elem",elem:t},{type:"kern",size:k.kern},{type:"elem",elem:k.elem,marginLeft:F(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;const C=[z];if(b&&l!==0&&!d){const D=N.makeSpan(["mspace"],[],n);D.style.marginRight=F(l),C.unshift(D)}return N.makeSpan(["mop","op-limits"],C,n)},pn=["\\smallint"],St=(t,e)=>{let r,n,s=!1,l;t.type==="supsub"?(r=t.sup,n=t.sub,l=ie(t.base,"op"),s=!0):l=ie(t,"op");const o=e.style;let d=!1;o.size===ee.DISPLAY.size&&l.symbol&&!V.contains(pn,l.name)&&(d=!0);let b;if(l.symbol){const C=d?"Size2-Regular":"Size1-Regular";let D="";if((l.name==="\\oiint"||l.name==="\\oiiint")&&(D=l.name.slice(1),l.name=D==="oiint"?"\\iint":"\\iiint"),b=N.makeSymbol(l.name,C,"math",e,["mop","op-symbol",d?"large-op":"small-op"]),D.length>0){const I=b.italic,j=N.staticSvg(D+"Size"+(d?"2":"1"),e);b=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:0},{type:"elem",elem:j,shift:d?.08:0}]},e),l.name="\\"+D,b.classes.unshift("mop"),b.italic=I}}else if(l.body){const C=De(l.body,e,!0);C.length===1&&C[0]instanceof $e?(b=C[0],b.classes[0]="mop"):b=N.makeSpan(["mop"],C,e)}else{const C=[];for(let D=1;D<l.name.length;D++)C.push(N.mathsym(l.name[D],l.mode,e));b=N.makeSpan(["mop"],C,e)}let k=0,z=0;return(b instanceof $e||l.name==="\\oiint"||l.name==="\\oiiint")&&!l.suppressBaseShift&&(k=(b.height-b.depth)/2-e.fontMetrics().axisHeight,z=b.italic),s?mn(b,r,n,e,o,z,k):(k&&(b.style.position="relative",b.style.top=F(k)),b)},Dt=(t,e)=>{let r;if(t.symbol)r=new Pe("mo",[Ge(t.name,t.mode)]),V.contains(pn,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new Pe("mo",_e(t.body,e));else{r=new Pe("mi",[new Je(t.name.slice(1))]);const n=new Pe("mo",[Ge("","text")]);t.parentIsSupSub?r=new Pe("mrow",[r,n]):r=Br([r,n])}return r},ki={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};U({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{let{parser:r,funcName:n}=t,s=n;return s.length===1&&(s=ki[s]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:St,mathmlBuilder:Dt}),U({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{let{parser:r}=t;const n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ce(n)}},htmlBuilder:St,mathmlBuilder:Dt});const vi={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};U({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(t){let{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:St,mathmlBuilder:Dt}),U({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){let{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:St,mathmlBuilder:Dt}),U({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){let{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=vi[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:St,mathmlBuilder:Dt});const fn=(t,e)=>{let r,n,s=!1,l;t.type==="supsub"?(r=t.sup,n=t.sub,l=ie(t.base,"operatorname"),s=!0):l=ie(t,"operatorname");let o;if(l.body.length>0){const d=l.body.map(k=>{const z=k.text;return typeof z=="string"?{type:"textord",mode:k.mode,text:z}:k}),b=De(d,e.withFont("mathrm"),!0);for(let k=0;k<b.length;k++){const z=b[k];z instanceof $e&&(z.text=z.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=N.makeSpan(["mop"],b,e)}else o=N.makeSpan(["mop"],[],e);return s?mn(o,r,n,e,e.style,0,0):o};U({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{let{parser:r,funcName:n}=t;const s=e[0];return{type:"operatorname",mode:r.mode,body:Ce(s),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:fn,mathmlBuilder:(t,e)=>{let r=_e(t.body,e.withFont("mathrm")),n=!0;for(let o=0;o<r.length;o++){const d=r[o];if(!(d instanceof P.SpaceNode))if(d instanceof P.MathNode)switch(d.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const b=d.children[0];d.children.length===1&&b instanceof P.TextNode?b.text=b.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){const o=r.map(d=>d.toText()).join("");r=[new P.TextNode(o)]}const s=new P.MathNode("mi",r);s.setAttribute("mathvariant","normal");const l=new P.MathNode("mo",[Ge("","text")]);return t.parentIsSupSub?new P.MathNode("mrow",[s,l]):P.newDocumentFragment([s,l])}}),p("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),bt({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?N.makeFragment(De(t.body,e,!1)):N.makeSpan(["mord"],De(t.body,e,!0),e)},mathmlBuilder(t,e){return mt(t.body,e,!0)}}),U({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){let{parser:r}=t;const n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){const r=he(t.body,e.havingCrampedStyle()),n=N.makeLineSpan("overline-line",e),s=e.fontMetrics().defaultRuleThickness,l=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*s},{type:"elem",elem:n},{type:"kern",size:s}]},e);return N.makeSpan(["mord","overline"],[l],e)},mathmlBuilder(t,e){const r=new P.MathNode("mo",[new P.TextNode("‾")]);r.setAttribute("stretchy","true");const n=new P.MathNode("mover",[ge(t.body,e),r]);return n.setAttribute("accent","true"),n}}),U({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{let{parser:r}=t;const n=e[0];return{type:"phantom",mode:r.mode,body:Ce(n)}},htmlBuilder:(t,e)=>{const r=De(t.body,e.withPhantom(),!1);return N.makeFragment(r)},mathmlBuilder:(t,e)=>{const r=_e(t.body,e);return new P.MathNode("mphantom",r)}}),U({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{let{parser:r}=t;const n=e[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{let r=N.makeSpan([],[he(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(let n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),N.makeSpan(["mord"],[r],e)},mathmlBuilder:(t,e)=>{const r=_e(Ce(t.body),e),n=new P.MathNode("mphantom",r),s=new P.MathNode("mpadded",[n]);return s.setAttribute("height","0px"),s.setAttribute("depth","0px"),s}}),U({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{let{parser:r}=t;const n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{const r=N.makeSpan(["inner"],[he(t.body,e.withPhantom())]),n=N.makeSpan(["fix"],[]);return N.makeSpan(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{const r=_e(Ce(t.body),e),n=new P.MathNode("mphantom",r),s=new P.MathNode("mpadded",[n]);return s.setAttribute("width","0px"),s}}),U({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){let{parser:r}=t;const n=ie(e[0],"size").value,s=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:s}},htmlBuilder(t,e){const r=he(t.body,e),n=ve(t.dy,e);return N.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){const r=new P.MathNode("mpadded",[ge(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}}),U({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){let{parser:e}=t;return{type:"internal",mode:e.mode}}}),U({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(t,e,r){let{parser:n}=t;const s=r[0],l=ie(e[0],"size"),o=ie(e[1],"size");return{type:"rule",mode:n.mode,shift:s&&ie(s,"size").value,width:l.value,height:o.value}},htmlBuilder(t,e){const r=N.makeSpan(["mord","rule"],[],e),n=ve(t.width,e),s=ve(t.height,e),l=t.shift?ve(t.shift,e):0;return r.style.borderRightWidth=F(n),r.style.borderTopWidth=F(s),r.style.bottom=F(l),r.width=n,r.height=s+l,r.depth=-l,r.maxFontSize=s*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){const r=ve(t.width,e),n=ve(t.height,e),s=t.shift?ve(t.shift,e):0,l=e.color&&e.getColor()||"black",o=new P.MathNode("mspace");o.setAttribute("mathbackground",l),o.setAttribute("width",F(r)),o.setAttribute("height",F(n));const d=new P.MathNode("mpadded",[o]);return s>=0?d.setAttribute("height",F(s)):(d.setAttribute("height",F(s)),d.setAttribute("depth",F(-s))),d.setAttribute("voffset",F(s)),d}});function gn(t,e,r){const n=De(t,e,!1),s=e.sizeMultiplier/r.sizeMultiplier;for(let l=0;l<n.length;l++){const o=n[l].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[l].classes,e.sizingClasses(r)):n[l].classes[o+1]==="reset-size"+e.size&&(n[l].classes[o+1]="reset-size"+r.size),n[l].height*=s,n[l].depth*=s}return N.makeFragment(n)}const bn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];U({type:"sizing",names:bn,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{let{breakOnTokenText:r,funcName:n,parser:s}=t;const l=s.parseExpression(!1,r);return{type:"sizing",mode:s.mode,size:bn.indexOf(n)+1,body:l}},htmlBuilder:(t,e)=>{const r=e.havingSize(t.size);return gn(t.body,r,e)},mathmlBuilder:(t,e)=>{const r=e.havingSize(t.size),n=_e(t.body,r),s=new P.MathNode("mstyle",n);return s.setAttribute("mathsize",F(r.sizeMultiplier)),s}}),U({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{let{parser:n}=t,s=!1,l=!1;const o=r[0]&&ie(r[0],"ordgroup");if(o){let b="";for(let k=0;k<o.body.length;++k)if(b=o.body[k].text,b==="t")s=!0;else if(b==="b")l=!0;else{s=!1,l=!1;break}}else s=!0,l=!0;const d=e[0];return{type:"smash",mode:n.mode,body:d,smashHeight:s,smashDepth:l}},htmlBuilder:(t,e)=>{const r=N.makeSpan([],[he(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(let s=0;s<r.children.length;s++)r.children[s].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(let s=0;s<r.children.length;s++)r.children[s].depth=0;const n=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return N.makeSpan(["mord"],[n],e)},mathmlBuilder:(t,e)=>{const r=new P.MathNode("mpadded",[ge(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}}),U({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){let{parser:n}=t;const s=r[0],l=e[0];return{type:"sqrt",mode:n.mode,body:l,index:s}},htmlBuilder(t,e){let r=he(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=N.wrapFragment(r,e);const s=e.fontMetrics().defaultRuleThickness;let l=s;e.style.id<ee.TEXT.id&&(l=e.fontMetrics().xHeight);let o=s+l/4;const d=r.height+r.depth+o+s,{span:b,ruleWidth:k,advanceWidth:z}=ut.sqrtImage(d,e),C=b.height-k;C>r.height+r.depth+o&&(o=(o+C-r.height-r.depth)/2);const D=b.height-r.height-o-k;r.style.paddingLeft=F(z);const I=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+D)},{type:"elem",elem:b},{type:"kern",size:k}]},e);if(t.index){const j=e.havingStyle(ee.SCRIPTSCRIPT),Y=he(t.index,j,e),oe=.6*(I.height-I.depth),le=N.makeVList({positionType:"shift",positionData:-oe,children:[{type:"elem",elem:Y}]},e),ue=N.makeSpan(["root"],[le]);return N.makeSpan(["mord","sqrt"],[ue,I],e)}else return N.makeSpan(["mord","sqrt"],[I],e)},mathmlBuilder(t,e){const{body:r,index:n}=t;return n?new P.MathNode("mroot",[ge(r,e),ge(n,e)]):new P.MathNode("msqrt",[ge(r,e)])}});const yn={display:ee.DISPLAY,text:ee.TEXT,script:ee.SCRIPT,scriptscript:ee.SCRIPTSCRIPT};U({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){let{breakOnTokenText:r,funcName:n,parser:s}=t;const l=s.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:s.mode,style:o,body:l}},htmlBuilder(t,e){const r=yn[t.style],n=e.havingStyle(r).withFont("");return gn(t.body,n,e)},mathmlBuilder(t,e){const r=yn[t.style],n=e.havingStyle(r),s=_e(t.body,n),l=new P.MathNode("mstyle",s),d={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[t.style];return l.setAttribute("scriptlevel",d[0]),l.setAttribute("displaystyle",d[1]),l}});const Si=function(t,e){const r=t.base;return r?r.type==="op"?r.limits&&(e.style.size===ee.DISPLAY.size||r.alwaysHandleSupSub)?St:null:r.type==="operatorname"?r.alwaysHandleSupSub&&(e.style.size===ee.DISPLAY.size||r.limits)?fn:null:r.type==="accent"?V.isCharacterBox(r.base)?N0:null:r.type==="horizBrace"&&!t.sub===r.isOver?hn:null:null};bt({type:"supsub",htmlBuilder(t,e){const r=Si(t,e);if(r)return r(t,e);const{base:n,sup:s,sub:l}=t,o=he(n,e);let d,b;const k=e.fontMetrics();let z=0,C=0;const D=n&&V.isCharacterBox(n);if(s){const me=e.havingStyle(e.style.sup());d=he(s,me,e),D||(z=o.height-me.fontMetrics().supDrop*me.sizeMultiplier/e.sizeMultiplier)}if(l){const me=e.havingStyle(e.style.sub());b=he(l,me,e),D||(C=o.depth+me.fontMetrics().subDrop*me.sizeMultiplier/e.sizeMultiplier)}let I;e.style===ee.DISPLAY?I=k.sup1:e.style.cramped?I=k.sup3:I=k.sup2;const j=e.sizeMultiplier,Y=F(.5/k.ptPerEm/j);let oe=null;if(b){const me=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(o instanceof $e||me)&&(oe=F(-o.italic))}let le;if(d&&b){z=Math.max(z,I,d.depth+.25*k.xHeight),C=Math.max(C,k.sub2);const ye=4*k.defaultRuleThickness;if(z-d.depth-(b.height-C)<ye){C=ye-(z-d.depth)+b.height;const Re=.8*k.xHeight-(z-d.depth);Re>0&&(z+=Re,C-=Re)}const Ie=[{type:"elem",elem:b,shift:C,marginRight:Y,marginLeft:oe},{type:"elem",elem:d,shift:-z,marginRight:Y}];le=N.makeVList({positionType:"individualShift",children:Ie},e)}else if(b){C=Math.max(C,k.sub1,b.height-.8*k.xHeight);const me=[{type:"elem",elem:b,marginLeft:oe,marginRight:Y}];le=N.makeVList({positionType:"shift",positionData:C,children:me},e)}else if(d)z=Math.max(z,I,d.depth+.25*k.xHeight),le=N.makeVList({positionType:"shift",positionData:-z,children:[{type:"elem",elem:d,marginRight:Y}]},e);else throw new Error("supsub must have either sup or sub.");const ue=S0(o,"right")||"mord";return N.makeSpan([ue],[o,N.makeSpan(["msupsub"],[le])],e)},mathmlBuilder(t,e){let r=!1,n,s;t.base&&t.base.type==="horizBrace"&&(s=!!t.sup,s===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);const l=[ge(t.base,e)];t.sub&&l.push(ge(t.sub,e)),t.sup&&l.push(ge(t.sup,e));let o;if(r)o=n?"mover":"munder";else if(t.sub)if(t.sup){const d=t.base;d&&d.type==="op"&&d.limits&&e.style===ee.DISPLAY||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(e.style===ee.DISPLAY||d.limits)?o="munderover":o="msubsup"}else{const d=t.base;d&&d.type==="op"&&d.limits&&(e.style===ee.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||e.style===ee.DISPLAY)?o="munder":o="msub"}else{const d=t.base;d&&d.type==="op"&&d.limits&&(e.style===ee.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||e.style===ee.DISPLAY)?o="mover":o="msup"}return new P.MathNode(o,l)}}),bt({type:"atom",htmlBuilder(t,e){return N.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){const r=new P.MathNode("mo",[Ge(t.text,t.mode)]);if(t.family==="bin"){const n=T0(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});const xn={mi:"italic",mn:"normal",mtext:"normal"};bt({type:"mathord",htmlBuilder(t,e){return N.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){const r=new P.MathNode("mi",[Ge(t.text,t.mode,e)]),n=T0(t,e)||"italic";return n!==xn[r.type]&&r.setAttribute("mathvariant",n),r}}),bt({type:"textord",htmlBuilder(t,e){return N.makeOrd(t,e,"textord")},mathmlBuilder(t,e){const r=Ge(t.text,t.mode,e),n=T0(t,e)||"normal";let s;return t.mode==="text"?s=new P.MathNode("mtext",[r]):/[0-9]/.test(t.text)?s=new P.MathNode("mn",[r]):t.text==="\\prime"?s=new P.MathNode("mo",[r]):s=new P.MathNode("mi",[r]),n!==xn[s.type]&&s.setAttribute("mathvariant",n),s}});const U0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},W0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};bt({type:"spacing",htmlBuilder(t,e){if(W0.hasOwnProperty(t.text)){const r=W0[t.text].className||"";if(t.mode==="text"){const n=N.makeOrd(t,e,"textord");return n.classes.push(r),n}else return N.makeSpan(["mspace",r],[N.mathsym(t.text,t.mode,e)],e)}else{if(U0.hasOwnProperty(t.text))return N.makeSpan(["mspace",U0[t.text]],[],e);throw new m('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){let r;if(W0.hasOwnProperty(t.text))r=new P.MathNode("mtext",[new P.TextNode(" ")]);else{if(U0.hasOwnProperty(t.text))return new P.MathNode("mspace");throw new m('Unknown type of space "'+t.text+'"')}return r}});const wn=()=>{const t=new P.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};bt({type:"tag",mathmlBuilder(t,e){const r=new P.MathNode("mtable",[new P.MathNode("mtr",[wn(),new P.MathNode("mtd",[mt(t.body,e)]),wn(),new P.MathNode("mtd",[mt(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});const kn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},vn={"\\textbf":"textbf","\\textmd":"textmd"},Mi={"\\textit":"textit","\\textup":"textup"},Sn=(t,e)=>{const r=t.font;if(r){if(kn[r])return e.withTextFontFamily(kn[r]);if(vn[r])return e.withTextFontWeight(vn[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(Mi[r])};U({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){let{parser:r,funcName:n}=t;const s=e[0];return{type:"text",mode:r.mode,body:Ce(s),font:n}},htmlBuilder(t,e){const r=Sn(t,e),n=De(t.body,r,!0);return N.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){const r=Sn(t,e);return mt(t.body,r)}}),U({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){let{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){const r=he(t.body,e),n=N.makeLineSpan("underline-line",e),s=e.fontMetrics().defaultRuleThickness,l=N.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:s},{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:r}]},e);return N.makeSpan(["mord","underline"],[l],e)},mathmlBuilder(t,e){const r=new P.MathNode("mo",[new P.TextNode("‾")]);r.setAttribute("stretchy","true");const n=new P.MathNode("munder",[ge(t.body,e),r]);return n.setAttribute("accentunder","true"),n}}),U({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){let{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){const r=he(t.body,e),n=e.fontMetrics().axisHeight,s=.5*(r.height-n-(r.depth+n));return N.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new P.MathNode("mpadded",[ge(t.body,e)],["vcenter"])}}),U({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new m("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){const r=Mn(t),n=[],s=e.havingStyle(e.style.text());for(let l=0;l<r.length;l++){let o=r[l];o==="~"&&(o="\\textasciitilde"),n.push(N.makeSymbol(o,"Typewriter-Regular",t.mode,s,["mord","texttt"]))}return N.makeSpan(["mord","text"].concat(s.sizingClasses(e)),N.tryCombineChars(n),s)},mathmlBuilder(t,e){const r=new P.TextNode(Mn(t)),n=new P.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});const Mn=t=>t.body.replace(/ /g,t.star?"␣":" ");var ft=Cr;const An=`[ \r
|
||
]`,Ai="\\\\[a-zA-Z@]+",Ti="\\\\[^\uD800-\uDFFF]",zi="("+Ai+")"+An+"*",Ci=`\\\\(
|
||
|[ \r ]+
|
||
?)[ \r ]*`,j0="[̀-ͯ]",Ni=new RegExp(j0+"+$"),Bi="("+An+"+)|"+(Ci+"|")+"([!-\\[\\]-‧-豈-]"+(j0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(j0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+zi)+("|"+Ti+")");class Tn{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(Bi,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){const e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Ve("EOF",new Fe(this,r,r));const n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new m("Unexpected character: '"+e[r]+"'",new Ve(e[r],new Fe(this,r,r+1)));const s=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[s]===14){const l=e.indexOf(`
|
||
`,this.tokenRegex.lastIndex);return l===-1?(this.tokenRegex.lastIndex=e.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=l+1,this.lex()}return new Ve(s,new Fe(this,r,this.tokenRegex.lastIndex))}}class Di{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new m("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(let s=0;s<this.undefStack.length;s++)delete this.undefStack[s][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{const s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var Ri=en;p("\\noexpand",function(t){const e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),p("\\expandafter",function(t){const e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}}),p("\\@firstoftwo",function(t){return{tokens:t.consumeArgs(2)[0],numArgs:0}}),p("\\@secondoftwo",function(t){return{tokens:t.consumeArgs(2)[1],numArgs:0}}),p("\\@ifnextchar",function(t){const e=t.consumeArgs(3);t.consumeSpaces();const r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),p("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),p("\\TextOrMath",function(t){const e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});const zn={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};p("\\char",function(t){let e=t.popToken(),r,n="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new m("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=zn[e.text],n==null||n>=r)throw new m("Invalid base-"+r+" digit "+e.text);let s;for(;(s=zn[t.future().text])!=null&&s<r;)n*=r,n+=s,t.popToken()}return"\\@char{"+n+"}"});const X0=(t,e,r,n)=>{let s=t.consumeArg().tokens;if(s.length!==1)throw new m("\\newcommand's first argument must be a macro name");const l=s[0].text,o=t.isDefined(l);if(o&&!e)throw new m("\\newcommand{"+l+"} attempting to redefine "+(l+"; use \\renewcommand"));if(!o&&!r)throw new m("\\renewcommand{"+l+"} when command "+l+" does not yet exist; use \\newcommand");let d=0;if(s=t.consumeArg().tokens,s.length===1&&s[0].text==="["){let b="",k=t.expandNextToken();for(;k.text!=="]"&&k.text!=="EOF";)b+=k.text,k=t.expandNextToken();if(!b.match(/^\s*[0-9]+\s*$/))throw new m("Invalid number of arguments: "+b);d=parseInt(b),s=t.consumeArg().tokens}return o&&n||t.macros.set(l,{tokens:s,numArgs:d}),""};p("\\newcommand",t=>X0(t,!1,!0,!1)),p("\\renewcommand",t=>X0(t,!0,!1,!1)),p("\\providecommand",t=>X0(t,!0,!0,!0)),p("\\message",t=>{const e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""}),p("\\errmessage",t=>{const e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""}),p("\\show",t=>{const e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),ft[r],Se.math[r],Se.text[r]),""}),p("\\bgroup","{"),p("\\egroup","}"),p("~","\\nobreakspace"),p("\\lq","`"),p("\\rq","'"),p("\\aa","\\r a"),p("\\AA","\\r A"),p("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),p("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),p("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),p("ℬ","\\mathscr{B}"),p("ℰ","\\mathscr{E}"),p("ℱ","\\mathscr{F}"),p("ℋ","\\mathscr{H}"),p("ℐ","\\mathscr{I}"),p("ℒ","\\mathscr{L}"),p("ℳ","\\mathscr{M}"),p("ℛ","\\mathscr{R}"),p("ℭ","\\mathfrak{C}"),p("ℌ","\\mathfrak{H}"),p("ℨ","\\mathfrak{Z}"),p("\\Bbbk","\\Bbb{k}"),p("·","\\cdotp"),p("\\llap","\\mathllap{\\textrm{#1}}"),p("\\rlap","\\mathrlap{\\textrm{#1}}"),p("\\clap","\\mathclap{\\textrm{#1}}"),p("\\mathstrut","\\vphantom{(}"),p("\\underbar","\\underline{\\text{#1}}"),p("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),p("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),p("\\ne","\\neq"),p("≠","\\neq"),p("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),p("∉","\\notin"),p("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),p("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),p("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),p("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),p("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),p("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),p("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),p("⟂","\\perp"),p("‼","\\mathclose{!\\mkern-0.8mu!}"),p("∌","\\notni"),p("⌜","\\ulcorner"),p("⌝","\\urcorner"),p("⌞","\\llcorner"),p("⌟","\\lrcorner"),p("©","\\copyright"),p("®","\\textregistered"),p("️","\\textregistered"),p("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),p("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),p("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),p("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),p("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),p("⋮","\\vdots"),p("\\varGamma","\\mathit{\\Gamma}"),p("\\varDelta","\\mathit{\\Delta}"),p("\\varTheta","\\mathit{\\Theta}"),p("\\varLambda","\\mathit{\\Lambda}"),p("\\varXi","\\mathit{\\Xi}"),p("\\varPi","\\mathit{\\Pi}"),p("\\varSigma","\\mathit{\\Sigma}"),p("\\varUpsilon","\\mathit{\\Upsilon}"),p("\\varPhi","\\mathit{\\Phi}"),p("\\varPsi","\\mathit{\\Psi}"),p("\\varOmega","\\mathit{\\Omega}"),p("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),p("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),p("\\boxed","\\fbox{$\\displaystyle{#1}$}"),p("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),p("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),p("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),p("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),p("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Cn={",":"\\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"};p("\\dots",function(t){let e="\\dotso";const r=t.expandAfterFuture().text;return r in Cn?e=Cn[r]:(r.slice(0,4)==="\\not"||r in Se.math&&V.contains(["bin","rel"],Se.math[r].group))&&(e="\\dotsb"),e});const Y0={")":!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};p("\\dotso",function(t){return t.future().text in Y0?"\\ldots\\,":"\\ldots"}),p("\\dotsc",function(t){const e=t.future().text;return e in Y0&&e!==","?"\\ldots\\,":"\\ldots"}),p("\\cdots",function(t){return t.future().text in Y0?"\\@cdots\\,":"\\@cdots"}),p("\\dotsb","\\cdots"),p("\\dotsm","\\cdots"),p("\\dotsi","\\!\\cdots"),p("\\dotsx","\\ldots\\,"),p("\\DOTSI","\\relax"),p("\\DOTSB","\\relax"),p("\\DOTSX","\\relax"),p("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),p("\\,","\\tmspace+{3mu}{.1667em}"),p("\\thinspace","\\,"),p("\\>","\\mskip{4mu}"),p("\\:","\\tmspace+{4mu}{.2222em}"),p("\\medspace","\\:"),p("\\;","\\tmspace+{5mu}{.2777em}"),p("\\thickspace","\\;"),p("\\!","\\tmspace-{3mu}{.1667em}"),p("\\negthinspace","\\!"),p("\\negmedspace","\\tmspace-{4mu}{.2222em}"),p("\\negthickspace","\\tmspace-{5mu}{.277em}"),p("\\enspace","\\kern.5em "),p("\\enskip","\\hskip.5em\\relax"),p("\\quad","\\hskip1em\\relax"),p("\\qquad","\\hskip2em\\relax"),p("\\tag","\\@ifstar\\tag@literal\\tag@paren"),p("\\tag@paren","\\tag@literal{({#1})}"),p("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new m("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),p("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),p("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),p("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),p("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),p("\\newline","\\\\\\relax"),p("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Nn=F(Qe["Main-Regular"][84][1]-.7*Qe["Main-Regular"][65][1]);p("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Nn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),p("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Nn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),p("\\hspace","\\@ifstar\\@hspacer\\@hspace"),p("\\@hspace","\\hskip #1\\relax"),p("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),p("\\ordinarycolon",":"),p("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),p("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),p("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),p("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),p("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),p("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),p("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),p("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),p("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),p("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),p("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),p("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),p("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),p("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),p("∷","\\dblcolon"),p("∹","\\eqcolon"),p("≔","\\coloneqq"),p("≕","\\eqqcolon"),p("⩴","\\Coloneqq"),p("\\ratio","\\vcentcolon"),p("\\coloncolon","\\dblcolon"),p("\\colonequals","\\coloneqq"),p("\\coloncolonequals","\\Coloneqq"),p("\\equalscolon","\\eqqcolon"),p("\\equalscoloncolon","\\Eqqcolon"),p("\\colonminus","\\coloneq"),p("\\coloncolonminus","\\Coloneq"),p("\\minuscolon","\\eqcolon"),p("\\minuscoloncolon","\\Eqcolon"),p("\\coloncolonapprox","\\Colonapprox"),p("\\coloncolonsim","\\Colonsim"),p("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),p("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),p("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),p("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),p("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),p("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),p("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),p("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),p("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),p("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),p("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),p("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),p("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),p("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),p("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),p("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),p("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),p("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),p("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),p("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),p("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),p("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),p("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),p("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),p("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),p("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),p("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),p("\\imath","\\html@mathml{\\@imath}{ı}"),p("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),p("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),p("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),p("⟦","\\llbracket"),p("⟧","\\rrbracket"),p("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),p("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),p("⦃","\\lBrace"),p("⦄","\\rBrace"),p("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),p("⦵","\\minuso"),p("\\darr","\\downarrow"),p("\\dArr","\\Downarrow"),p("\\Darr","\\Downarrow"),p("\\lang","\\langle"),p("\\rang","\\rangle"),p("\\uarr","\\uparrow"),p("\\uArr","\\Uparrow"),p("\\Uarr","\\Uparrow"),p("\\N","\\mathbb{N}"),p("\\R","\\mathbb{R}"),p("\\Z","\\mathbb{Z}"),p("\\alef","\\aleph"),p("\\alefsym","\\aleph"),p("\\Alpha","\\mathrm{A}"),p("\\Beta","\\mathrm{B}"),p("\\bull","\\bullet"),p("\\Chi","\\mathrm{X}"),p("\\clubs","\\clubsuit"),p("\\cnums","\\mathbb{C}"),p("\\Complex","\\mathbb{C}"),p("\\Dagger","\\ddagger"),p("\\diamonds","\\diamondsuit"),p("\\empty","\\emptyset"),p("\\Epsilon","\\mathrm{E}"),p("\\Eta","\\mathrm{H}"),p("\\exist","\\exists"),p("\\harr","\\leftrightarrow"),p("\\hArr","\\Leftrightarrow"),p("\\Harr","\\Leftrightarrow"),p("\\hearts","\\heartsuit"),p("\\image","\\Im"),p("\\infin","\\infty"),p("\\Iota","\\mathrm{I}"),p("\\isin","\\in"),p("\\Kappa","\\mathrm{K}"),p("\\larr","\\leftarrow"),p("\\lArr","\\Leftarrow"),p("\\Larr","\\Leftarrow"),p("\\lrarr","\\leftrightarrow"),p("\\lrArr","\\Leftrightarrow"),p("\\Lrarr","\\Leftrightarrow"),p("\\Mu","\\mathrm{M}"),p("\\natnums","\\mathbb{N}"),p("\\Nu","\\mathrm{N}"),p("\\Omicron","\\mathrm{O}"),p("\\plusmn","\\pm"),p("\\rarr","\\rightarrow"),p("\\rArr","\\Rightarrow"),p("\\Rarr","\\Rightarrow"),p("\\real","\\Re"),p("\\reals","\\mathbb{R}"),p("\\Reals","\\mathbb{R}"),p("\\Rho","\\mathrm{P}"),p("\\sdot","\\cdot"),p("\\sect","\\S"),p("\\spades","\\spadesuit"),p("\\sub","\\subset"),p("\\sube","\\subseteq"),p("\\supe","\\supseteq"),p("\\Tau","\\mathrm{T}"),p("\\thetasym","\\vartheta"),p("\\weierp","\\wp"),p("\\Zeta","\\mathrm{Z}"),p("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),p("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),p("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),p("\\bra","\\mathinner{\\langle{#1}|}"),p("\\ket","\\mathinner{|{#1}\\rangle}"),p("\\braket","\\mathinner{\\langle{#1}\\rangle}"),p("\\Bra","\\left\\langle#1\\right|"),p("\\Ket","\\left|#1\\right\\rangle");const Bn=t=>e=>{const r=e.consumeArg().tokens,n=e.consumeArg().tokens,s=e.consumeArg().tokens,l=e.consumeArg().tokens,o=e.macros.get("|"),d=e.macros.get("\\|");e.macros.beginGroup();const b=C=>D=>{t&&(D.macros.set("|",o),s.length&&D.macros.set("\\|",d));let I=C;return!C&&s.length&&D.future().text==="|"&&(D.popToken(),I=!0),{tokens:I?s:n,numArgs:0}};e.macros.set("|",b(!1)),s.length&&e.macros.set("\\|",b(!0));const k=e.consumeArg().tokens,z=e.expandTokens([...l,...k,...r]);return e.macros.endGroup(),{tokens:z.reverse(),numArgs:0}};p("\\bra@ket",Bn(!1)),p("\\bra@set",Bn(!0)),p("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),p("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),p("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),p("\\angln","{\\angl n}"),p("\\blue","\\textcolor{##6495ed}{#1}"),p("\\orange","\\textcolor{##ffa500}{#1}"),p("\\pink","\\textcolor{##ff00af}{#1}"),p("\\red","\\textcolor{##df0030}{#1}"),p("\\green","\\textcolor{##28ae7b}{#1}"),p("\\gray","\\textcolor{gray}{#1}"),p("\\purple","\\textcolor{##9d38bd}{#1}"),p("\\blueA","\\textcolor{##ccfaff}{#1}"),p("\\blueB","\\textcolor{##80f6ff}{#1}"),p("\\blueC","\\textcolor{##63d9ea}{#1}"),p("\\blueD","\\textcolor{##11accd}{#1}"),p("\\blueE","\\textcolor{##0c7f99}{#1}"),p("\\tealA","\\textcolor{##94fff5}{#1}"),p("\\tealB","\\textcolor{##26edd5}{#1}"),p("\\tealC","\\textcolor{##01d1c1}{#1}"),p("\\tealD","\\textcolor{##01a995}{#1}"),p("\\tealE","\\textcolor{##208170}{#1}"),p("\\greenA","\\textcolor{##b6ffb0}{#1}"),p("\\greenB","\\textcolor{##8af281}{#1}"),p("\\greenC","\\textcolor{##74cf70}{#1}"),p("\\greenD","\\textcolor{##1fab54}{#1}"),p("\\greenE","\\textcolor{##0d923f}{#1}"),p("\\goldA","\\textcolor{##ffd0a9}{#1}"),p("\\goldB","\\textcolor{##ffbb71}{#1}"),p("\\goldC","\\textcolor{##ff9c39}{#1}"),p("\\goldD","\\textcolor{##e07d10}{#1}"),p("\\goldE","\\textcolor{##a75a05}{#1}"),p("\\redA","\\textcolor{##fca9a9}{#1}"),p("\\redB","\\textcolor{##ff8482}{#1}"),p("\\redC","\\textcolor{##f9685d}{#1}"),p("\\redD","\\textcolor{##e84d39}{#1}"),p("\\redE","\\textcolor{##bc2612}{#1}"),p("\\maroonA","\\textcolor{##ffbde0}{#1}"),p("\\maroonB","\\textcolor{##ff92c6}{#1}"),p("\\maroonC","\\textcolor{##ed5fa6}{#1}"),p("\\maroonD","\\textcolor{##ca337c}{#1}"),p("\\maroonE","\\textcolor{##9e034e}{#1}"),p("\\purpleA","\\textcolor{##ddd7ff}{#1}"),p("\\purpleB","\\textcolor{##c6b9fc}{#1}"),p("\\purpleC","\\textcolor{##aa87ff}{#1}"),p("\\purpleD","\\textcolor{##7854ab}{#1}"),p("\\purpleE","\\textcolor{##543b78}{#1}"),p("\\mintA","\\textcolor{##f5f9e8}{#1}"),p("\\mintB","\\textcolor{##edf2df}{#1}"),p("\\mintC","\\textcolor{##e0e5cc}{#1}"),p("\\grayA","\\textcolor{##f6f7f7}{#1}"),p("\\grayB","\\textcolor{##f0f1f2}{#1}"),p("\\grayC","\\textcolor{##e3e5e6}{#1}"),p("\\grayD","\\textcolor{##d6d8da}{#1}"),p("\\grayE","\\textcolor{##babec2}{#1}"),p("\\grayF","\\textcolor{##888d93}{#1}"),p("\\grayG","\\textcolor{##626569}{#1}"),p("\\grayH","\\textcolor{##3b3e40}{#1}"),p("\\grayI","\\textcolor{##21242c}{#1}"),p("\\kaBlue","\\textcolor{##314453}{#1}"),p("\\kaGreen","\\textcolor{##71B307}{#1}");const Dn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ei{constructor(e,r,n){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=r,this.expansionCount=0,this.feed(e),this.macros=new Di(Ri,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Tn(e,this.settings)}switchMode(e){this.mode=e}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(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){let r,n,s;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:s,end:n}=this.consumeArg(["]"])}else({tokens:s,start:r,end:n}=this.consumeArg());return this.pushToken(new Ve("EOF",n.loc)),this.pushTokens(s),r.range(n,"")}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(e){const r=[],n=e&&e.length>0;n||this.consumeSpaces();const s=this.future();let l,o=0,d=0;do{if(l=this.popToken(),r.push(l),l.text==="{")++o;else if(l.text==="}"){if(--o,o===-1)throw new m("Extra }",l)}else if(l.text==="EOF")throw new m("Unexpected end of input in a macro argument, expected '"+(e&&n?e[d]:"}")+"'",l);if(e&&n)if((o===0||o===1&&e[d]==="{")&&l.text===e[d]){if(++d,d===e.length){r.splice(-d,d);break}}else d=0}while(o!==0||n);return s.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:s,end:l}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new m("The length of delimiters doesn't match the number of args!");const s=r[0];for(let l=0;l<s.length;l++){const o=this.popToken();if(s[l]!==o.text)throw new m("Use of the macro doesn't match its definition",o)}}const n=[];for(let s=0;s<e;s++)n.push(this.consumeArg(r&&r[s+1]).tokens);return n}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new m("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){const r=this.popToken(),n=r.text,s=r.noexpand?null:this._getExpansion(n);if(s==null||e&&s.unexpandable){if(e&&s==null&&n[0]==="\\"&&!this.isDefined(n))throw new m("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);let l=s.tokens;const o=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs){l=l.slice();for(let d=l.length-1;d>=0;--d){let b=l[d];if(b.text==="#"){if(d===0)throw new m("Incomplete placeholder at end of macro body",b);if(b=l[--d],b.text==="#")l.splice(d+1,1);else if(/^[1-9]$/.test(b.text))l.splice(d,2,...o[+b.text-1]);else throw new m("Not a valid argument number",b)}}}return this.pushTokens(l),l.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Ve(e)]):void 0}expandTokens(e){const r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){const s=this.stack.pop();s.treatAsRelax&&(s.noexpand=!1,s.treatAsRelax=!1),r.push(s)}return this.countExpansion(r.length),r}expandMacroAsText(e){const r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){const r=this.macros.get(e);if(r==null)return r;if(e.length===1){const s=this.lexer.catcodes[e];if(s!=null&&s!==13)return}const n=typeof r=="function"?r(this):r;if(typeof n=="string"){let s=0;if(n.indexOf("#")!==-1){const k=n.replace(/##/g,"");for(;k.indexOf("#"+(s+1))!==-1;)++s}const l=new Tn(n,this.settings),o=[];let d=l.lex();for(;d.text!=="EOF";)o.push(d),d=l.lex();return o.reverse(),{tokens:o,numArgs:s}}return n}isDefined(e){return this.macros.has(e)||ft.hasOwnProperty(e)||Se.math.hasOwnProperty(e)||Se.text.hasOwnProperty(e)||Dn.hasOwnProperty(e)}isExpandable(e){const r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:ft.hasOwnProperty(e)&&!ft[e].primitive}}const Rn=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,t0=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Z0={"́":{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"}},En={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class r0{constructor(e,r){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 Ei(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new m("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){const r=this.nextToken;this.consume(),this.gullet.pushToken(new Ve("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){const n=[];for(;;){this.mode==="math"&&this.consumeSpaces();const s=this.fetch();if(r0.endOfExpression.indexOf(s.text)!==-1||r&&s.text===r||e&&ft[s.text]&&ft[s.text].infix)break;const l=this.parseAtom(r);if(l){if(l.type==="internal")continue}else break;n.push(l)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let r=-1,n;for(let s=0;s<e.length;s++)if(e[s].type==="infix"){if(r!==-1)throw new m("only one infix operator per group",e[s].token);r=s,n=e[s].replaceWith}if(r!==-1&&n){let s,l;const o=e.slice(0,r),d=e.slice(r+1);o.length===1&&o[0].type==="ordgroup"?s=o[0]:s={type:"ordgroup",mode:this.mode,body:o},d.length===1&&d[0].type==="ordgroup"?l=d[0]:l={type:"ordgroup",mode:this.mode,body:d};let b;return n==="\\\\abovefrac"?b=this.callFunction(n,[s,e[r],l],[]):b=this.callFunction(n,[s,l],[]),[b]}else return e}handleSupSubscript(e){const r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();const s=this.parseGroup(e);if(!s)throw new m("Expected group after '"+n+"'",r);return s}formatUnsupportedCmd(e){const r=[];for(let l=0;l<e.length;l++)r.push({type:"textord",mode:"text",text:e[l]});const n={type:"text",mode:this.mode,body:r};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){const r=this.parseGroup("atom",e);if(this.mode==="text")return r;let n,s;for(;;){this.consumeSpaces();const l=this.fetch();if(l.text==="\\limits"||l.text==="\\nolimits"){if(r&&r.type==="op"){const o=l.text==="\\limits";r.limits=o,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=l.text==="\\limits");else throw new m("Limit controls must follow a math operator",l);this.consume()}else if(l.text==="^"){if(n)throw new m("Double superscript",l);n=this.handleSupSubscript("superscript")}else if(l.text==="_"){if(s)throw new m("Double subscript",l);s=this.handleSupSubscript("subscript")}else if(l.text==="'"){if(n)throw new m("Double superscript",l);const o={type:"textord",mode:this.mode,text:"\\prime"},d=[o];for(this.consume();this.fetch().text==="'";)d.push(o),this.consume();this.fetch().text==="^"&&d.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:d}}else if(t0[l.text]){const o=Rn.test(l.text),d=[];for(d.push(new Ve(t0[l.text])),this.consume();;){const k=this.fetch().text;if(!t0[k]||Rn.test(k)!==o)break;d.unshift(new Ve(t0[k])),this.consume()}const b=this.subparse(d);o?s={type:"ordgroup",mode:"math",body:b}:n={type:"ordgroup",mode:"math",body:b}}else break}return n||s?{type:"supsub",mode:this.mode,base:r,sup:n,sub:s}:r}parseFunction(e,r){const n=this.fetch(),s=n.text,l=ft[s];if(!l)return null;if(this.consume(),r&&r!=="atom"&&!l.allowedInArgument)throw new m("Got function '"+s+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!l.allowedInText)throw new m("Can't use function '"+s+"' in text mode",n);if(this.mode==="math"&&l.allowedInMath===!1)throw new m("Can't use function '"+s+"' in math mode",n);const{args:o,optArgs:d}=this.parseArguments(s,l);return this.callFunction(s,o,d,n,e)}callFunction(e,r,n,s,l){const o={funcName:e,parser:this,token:s,breakOnTokenText:l},d=ft[e];if(d&&d.handler)return d.handler(o,r,n);throw new m("No function handler for "+e)}parseArguments(e,r){const n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};const s=[],l=[];for(let o=0;o<n;o++){let d=r.argTypes&&r.argTypes[o];const b=o<r.numOptionalArgs;(r.primitive&&d==null||r.type==="sqrt"&&o===1&&l[0]==null)&&(d="primitive");const k=this.parseGroupOfType("argument to '"+e+"'",d,b);if(b)l.push(k);else if(k!=null)s.push(k);else throw new m("Null argument, please report this as a bug")}return{args:s,optArgs:l}}parseGroupOfType(e,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{const s=this.parseArgumentGroup(n,"text");return s!=null?{type:"styling",mode:s.mode,body:[s],style:"text"}:null}case"raw":{const s=this.parseStringGroup("raw",n);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(n)throw new m("A primitive argument cannot be optional");const s=this.parseGroup(e);if(s==null)throw new m("Expected group as "+e,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new m("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){const n=this.gullet.scanArgument(r);if(n==null)return null;let s="",l;for(;(l=this.fetch()).text!=="EOF";)s+=l.text,this.consume();return this.consume(),n.text=s,n}parseRegexGroup(e,r){const n=this.fetch();let s=n,l="",o;for(;(o=this.fetch()).text!=="EOF"&&e.test(l+o.text);)s=o,l+=s.text,this.consume();if(l==="")throw new m("Invalid "+r+": '"+n.text+"'",n);return n.range(s,l)}parseColorGroup(e){const r=this.parseStringGroup("color",e);if(r==null)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new m("Invalid color: '"+r.text+"'",r);let s=n[0];return/^[0-9a-f]{6}$/i.test(s)&&(s="#"+s),{type:"color-token",mode:this.mode,color:s}}parseSizeGroup(e){let r,n=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",n=!0);const s=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!s)throw new m("Invalid size: '"+r.text+"'",r);const l={number:+(s[1]+s[2]),unit:s[3]};if(!fr(l))throw new m("Invalid unit: '"+l.unit+"'",r);return{type:"size",mode:this.mode,value:l,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;const n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,r){const n=this.gullet.scanArgument(e);if(n==null)return null;const s=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();const l=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const o={type:"ordgroup",mode:this.mode,loc:n.loc,body:l};return r&&this.switchMode(s),o}parseGroup(e,r){const n=this.fetch(),s=n.text;let l;if(s==="{"||s==="\\begingroup"){this.consume();const o=s==="{"?"}":"\\endgroup";this.gullet.beginGroup();const d=this.parseExpression(!1,o),b=this.fetch();this.expect(o),this.gullet.endGroup(),l={type:"ordgroup",mode:this.mode,loc:Fe.range(n,b),body:d,semisimple:s==="\\begingroup"||void 0}}else if(l=this.parseFunction(r,e)||this.parseSymbol(),l==null&&s[0]==="\\"&&!Dn.hasOwnProperty(s)){if(this.settings.throwOnError)throw new m("Undefined control sequence: "+s,n);l=this.formatUnsupportedCmd(s),this.consume()}return l}formLigatures(e){let r=e.length-1;for(let n=0;n<r;++n){const s=e[n],l=s.text;l==="-"&&e[n+1].text==="-"&&(n+1<r&&e[n+2].text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:Fe.range(s,e[n+2]),text:"---"}),r-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Fe.range(s,e[n+1]),text:"--"}),r-=1)),(l==="'"||l==="`")&&e[n+1].text===l&&(e.splice(n,2,{type:"textord",mode:"text",loc:Fe.range(s,e[n+1]),text:l+l}),r-=1)}}parseSymbol(){const e=this.fetch();let r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();let l=r.slice(5);const o=l.charAt(0)==="*";if(o&&(l=l.slice(1)),l.length<2||l.charAt(0)!==l.slice(-1))throw new m(`\\verb assertion failed --
|
||
please report what input caused this bug`);return l=l.slice(1,-1),{type:"verb",mode:"text",body:l,star:o}}En.hasOwnProperty(r[0])&&!Se[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=En[r[0]]+r.slice(1));const n=Ni.exec(r);n&&(r=r.substring(0,n.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));let s;if(Se[this.mode][r]){this.settings.strict&&this.mode==="math"&&x0.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);const l=Se[this.mode][r].group,o=Fe.range(e);let d;if(Ns.hasOwnProperty(l)){const b=l;d={type:"atom",mode:this.mode,family:b,loc:o,text:r}}else d={type:l,mode:this.mode,loc:o,text:r};s=d}else if(r.charCodeAt(0)>=128)this.settings.strict&&(ur(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Fe.range(e),text:r};else return null;if(this.consume(),n)for(let l=0;l<n[0].length;l++){const o=n[0][l];if(!Z0[o])throw new m("Unknown accent ' "+o+"'",e);const d=Z0[o][this.mode]||Z0[o].text;if(!d)throw new m("Accent "+o+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:Fe.range(e),label:d,isStretchy:!1,isShifty:!0,base:s}}return s}}r0.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var K0=function(t,e){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const r=new r0(t,e);delete r.gullet.macros.current["\\df@tag"];let n=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!e.displayMode)throw new m("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new Ve("\\df@tag")])}]}return n};let qn=function(t,e,r){e.textContent="";const n=Q0(t,r).toNode();e.appendChild(n)};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."),qn=function(){throw new m("KaTeX doesn't work in quirks mode.")});const qi=function(t,e){return Q0(t,e).toMarkup()},Ii=function(t,e){const r=new R(e);return K0(t,r)},In=function(t,e,r){if(r.throwOnError||!(t instanceof m))throw t;const n=N.makeSpan(["katex-error"],[new $e(e)]);return n.setAttribute("title",t.toString()),n.setAttribute("style","color:"+r.errorColor),n},Q0=function(t,e){const r=new R(e);try{const n=K0(t,r);return Zs(n,t,r)}catch(n){return In(n,t,r)}};var Li={version:"0.16.21",render:qn,renderToString:qi,ParseError:m,SETTINGS_SCHEMA:X,__parse:Ii,__renderToDomTree:Q0,__renderToHTMLTree:function(t,e){const r=new R(e);try{const n=K0(t,r);return Ks(n,t,r)}catch(n){return In(n,t,r)}},__setFontMetrics:ws,__defineSymbol:i,__defineFunction:U,__defineMacro:p,__domTree:{Span:zt,Anchor:b0,SymbolNode:$e,SvgNode:it,PathNode:dt,LineNode:y0}},Oi=Li;return g=g.default,g}()})}(a0)),a0.exports}var Cl=l0.exports,Un;function Nl(){return Un||(Un=1,function(E,u){(function(g,A){E.exports=A(zl())})(typeof self<"u"?self:Cl,function(h){return function(){var g={757:function(X){X.exports=h}},A={};function m(X){var Z=A[X];if(Z!==void 0)return Z.exports;var R=A[X]={exports:{}};return g[X](R,R.exports,m),R.exports}(function(){m.n=function(X){var Z=X&&X.__esModule?function(){return X.default}:function(){return X};return m.d(Z,{a:Z}),Z}})(),function(){m.d=function(X,Z){for(var R in Z)m.o(Z,R)&&!m.o(X,R)&&Object.defineProperty(X,R,{enumerable:!0,get:Z[R]})}}(),function(){m.o=function(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}}();var v={};m.d(v,{default:function(){return V}});var M=m(757),S=m.n(M);const f=function(X,Z,R){let H=R,ne=0;const K=X.length;for(;H<Z.length;){const se=Z[H];if(ne<=0&&Z.slice(H,H+K)===X)return H;se==="\\"?H++:se==="{"?ne++:se==="}"&&ne--,H++}return-1},y=function(X){return X.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},B=/^\\begin{/;var _=function(X,Z){let R;const H=[],ne=new RegExp("("+Z.map(K=>y(K.left)).join("|")+")");for(;R=X.search(ne),R!==-1;){R>0&&(H.push({type:"text",data:X.slice(0,R)}),X=X.slice(R));const K=Z.findIndex(ae=>X.startsWith(ae.left));if(R=f(Z[K].right,X,Z[K].left.length),R===-1)break;const se=X.slice(0,R+Z[K].right.length),J=B.test(se)?se:X.slice(Z[K].left.length,R);H.push({type:"math",data:J,rawData:se,display:Z[K].display}),X=X.slice(R+Z[K].right.length)}return X!==""&&H.push({type:"text",data:X}),H};const $=function(X,Z){const R=_(X,Z.delimiters);if(R.length===1&&R[0].type==="text")return null;const H=document.createDocumentFragment();for(let ne=0;ne<R.length;ne++)if(R[ne].type==="text")H.appendChild(document.createTextNode(R[ne].data));else{const K=document.createElement("span");let se=R[ne].data;Z.displayMode=R[ne].display;try{Z.preProcess&&(se=Z.preProcess(se)),S().render(se,K,Z)}catch(J){if(!(J instanceof S().ParseError))throw J;Z.errorCallback("KaTeX auto-render: Failed to parse `"+R[ne].data+"` with ",J),H.appendChild(document.createTextNode(R[ne].rawData));continue}H.appendChild(K)}return H},G=function(X,Z){for(let R=0;R<X.childNodes.length;R++){const H=X.childNodes[R];if(H.nodeType===3){let ne=H.textContent,K=H.nextSibling,se=0;for(;K&&K.nodeType===Node.TEXT_NODE;)ne+=K.textContent,K=K.nextSibling,se++;const J=$(ne,Z);if(J){for(let ae=0;ae<se;ae++)H.nextSibling.remove();R+=J.childNodes.length-1,X.replaceChild(J,H)}else R+=se}else if(H.nodeType===1){const ne=" "+H.className+" ";Z.ignoredTags.indexOf(H.nodeName.toLowerCase())===-1&&Z.ignoredClasses.every(se=>ne.indexOf(" "+se+" ")===-1)&&G(H,Z)}}};var V=function(X,Z){if(!X)throw new Error("No element provided to render");const R={};for(const H in Z)Z.hasOwnProperty(H)&&(R[H]=Z[H]);R.delimiters=R.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],R.ignoredTags=R.ignoredTags||["script","noscript","style","textarea","pre","code","option"],R.ignoredClasses=R.ignoredClasses||[],R.errorCallback=R.errorCallback||console.error,R.macros=R.macros||{},G(X,R)};return v=v.default,v}()})}(l0)),l0.exports}var Bl=Nl();const Wn=jn(Bl);document.addEventListener("DOMContentLoaded",()=>{if(typeof window.referenceMap>"u"){console.error("referenceMap is not defined");return}ce.setOptions({gfm:!0,breaks:!0,highlight:function($,G){return G?'<pre><code class="language-'+G+'">'+$.replace(/[&<>'"]/g,Q=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[Q])+"</code></pre>":$}});const E=new ce.Renderer;E.link=$=>{const G=$.href,Q=$.title||"",V=$.text;return`<a href="${G}" title="${Q}" rel="noreferrer">${V}</a>`},ce.use({renderer:E});const u={name:"math",level:"block",start($){var G;return(G=$.match(/\$\$/))==null?void 0:G.index},tokenizer($){const Q=/^\$\$([\s\S]+?)\$\$/.exec($);if(Q)return{type:"math",raw:Q[0],text:Q[1].trim()}},renderer($){return`$$${$.text}$$`}},h={name:"inlineMath",level:"inline",start($){var G;return(G=$.match(/\$/))==null?void 0:G.index},tokenizer($){const Q=/^\$([^$\n]+?)\$/.exec($);if(Q)return{type:"inlineMath",raw:Q[0],text:Q[1].trim()}},renderer($){return`$${$.text}$`}};ce.use({extensions:[u,h]});const g=document.querySelector(".infobox p");if(!g){console.error("Quick answer container not found");return}g.id="quick-answer",g.className="markdown-content";const A=document.createElement("div");A.className="references";const m=document.createElement("h4");m.textContent="References",A.appendChild(m);const v=document.createElement("ol");A.appendChild(v),g.after(A);let M="",S=0,f={},y=1,B=window.referenceMap;function q($){return $.replace(/[&<>"']/g,function(G){switch(G){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"'":return"'";default:return G}})}function _($){return $.replace(/【(\d+)】/g,(Q,V,X)=>{const Z=$.slice(X+Q.length).match(/^【\d+】/),R=B[V];if(R){const[H,ne]=R;let K=f[V];const se=q(ne);if(!K){const J=document.createElement("li"),ae=document.createElement("a");ae.href=H,ae.textContent=ne,ae.rel="noreferrer",J.appendChild(ae),v.appendChild(J),f[V]=y,K=y,y+=1}return`<a href="${H}" class="inline-reference" title="${se}">${K}</a>${Z?"|||CITATION_SPACE|||":""}`}return Q}).replace(/\|\|\|CITATION_SPACE\|\|\|/g," ")}fetch("/quick_answer",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({system:window.systemPrompt,user:window.userPrompt,token:window.userToken,model:window.userModel,providers:window.userProviders})}).then($=>{const G=$.body.getReader(),Q=new TextDecoder;function V(Z){M+=Z;const R={codeBlock:{start:"```",end:"```"},bold:{start:"**",end:"**"},italic:{start:"_",end:"_"},link:{start:"[",end:")"},mathDisplay:{start:"$$",end:"$$"},mathInline:{start:"$",end:"$"}};let H=M.length;for(const ne of Object.values(R)){const K=M.lastIndexOf(ne.start);K>S&&M.indexOf(ne.end,K+ne.start.length)===-1&&(H=Math.min(H,K))}if(H>S){const ne=_(M.substring(0,H));g.innerHTML=ce.parse(ne),Wn(g,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1}),S=H}}function X(){G.read().then(({done:Z,value:R})=>{if(Z){if(M.length>S){const ne=_(M);g.innerHTML=ce.parse(ne),Wn(g,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],throwOnError:!1})}return}const H=Q.decode(R,{stream:!0});V(H),g.scrollTop=g.scrollHeight,X()}).catch(Z=>console.error("Error:",Z))}X()}).catch($=>{console.error("Error:",$),g.innerHTML=ce.parse(`**Error**: ${$.message}`)})});
|
||
//# sourceMappingURL=searxng.min.js.map
|