markdown2typst 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,90 +1,91 @@
1
1
  (function(global) {
2
- "use strict";var markdown2typstLib=(()=>{var ks=Object.create;var Ht=Object.defineProperty;var ys=Object.getOwnPropertyDescriptor;var vs=Object.getOwnPropertyNames;var Ss=Object.getPrototypeOf,Ts=Object.prototype.hasOwnProperty;var Es=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ut=(e,t)=>()=>(e&&(t=e(e=0)),t);var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),en=(e,t)=>{for(var r in t)Ht(e,r,{get:t[r],enumerable:!0})},to=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of vs(t))!Ts.call(e,i)&&i!==r&&Ht(e,i,{get:()=>t[i],enumerable:!(n=ys(t,i))||n.enumerable});return e};var pr=(e,t,r)=>(r=e!=null?ks(Ss(e)):{},to(t||!e||!e.__esModule?Ht(r,"default",{value:e,enumerable:!0}):r,e)),ro=e=>to(Ht({},"__esModule",{value:!0}),e);var C=(e,t,r)=>Es(e,typeof t!="symbol"?t+"":t,r);var qe,De=Ut(()=>{"use strict";qe=(r=>(r.WARNING="warning",r.ERROR="error",r))(qe||{})});var po=kt((Fd,co)=>{"use strict";var fr=Object.prototype.hasOwnProperty,uo=Object.prototype.toString,no=Object.defineProperty,io=Object.getOwnPropertyDescriptor,oo=function(t){return typeof Array.isArray=="function"?Array.isArray(t):uo.call(t)==="[object Array]"},ao=function(t){if(!t||uo.call(t)!=="[object Object]")return!1;var r=fr.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&fr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||fr.call(t,i)},lo=function(t,r){no&&r.name==="__proto__"?no(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},so=function(t,r){if(r==="__proto__")if(fr.call(t,r)){if(io)return io(t,r).value}else return;return t[r]};co.exports=function e(){var t,r,n,i,a,o,l=arguments[0],s=1,u=arguments.length,p=!1;for(typeof l=="boolean"&&(p=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});s<u;++s)if(t=arguments[s],t!=null)for(r in t)n=so(l,r),i=so(t,r),l!==i&&(p&&i&&(ao(i)||(a=oo(i)))?(a?(a=!1,o=n&&oo(n)?n:[]):o=n&&ao(n)?n:{},lo(l,{name:r,newValue:e(p,o,i)})):typeof i<"u"&&lo(l,{name:r,newValue:i}));return l}});var Eo=kt((mg,hn)=>{(function(){var e;typeof hn<"u"?e=hn.exports=n:e=(function(){return this||(0,eval)("this")})(),e.format=n,e.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(n.apply(null,arguments))}function r(i,a){return n.apply(null,[i].concat(a))}function n(i){for(var a=1,o=[].slice.call(arguments),l=0,s=i.length,u="",p,c=!1,h,f,m=!1,y,k=function(){return o[a++]},w=function(){for(var b="";/\d/.test(i[l]);)b+=i[l++],p=i[l];return b.length>0?parseInt(b):null};l<s;++l)if(p=i[l],c)switch(c=!1,p=="."?(m=!1,p=i[++l]):p=="0"&&i[l+1]=="."?(m=!0,l+=2,p=i[l]):m=!0,y=w(),p){case"b":u+=parseInt(k(),10).toString(2);break;case"c":h=k(),typeof h=="string"||h instanceof String?u+=h:u+=String.fromCharCode(parseInt(h,10));break;case"d":u+=parseInt(k(),10);break;case"f":f=String(parseFloat(k()).toFixed(y||6)),u+=m?f:f.replace(/^0/,"");break;case"j":u+=JSON.stringify(k());break;case"o":u+="0"+parseInt(k(),10).toString(8);break;case"s":u+=k();break;case"x":u+="0x"+parseInt(k(),10).toString(16);break;case"X":u+="0x"+parseInt(k(),10).toString(16).toUpperCase();break;default:u+=p;break}else p==="%"?c=!0:u+=p;return u}})()});var ja=kt((ev,Ua)=>{Ua.exports=[{name:"Abkhaz",local:"\u0410\u04A7\u0441\u0443\u0430",1:"ab",2:"abk","2T":"abk","2B":"abk",3:"abk"},{name:"Afar",local:"Afaraf",1:"aa",2:"aar","2T":"aar","2B":"aar",3:"aar"},{name:"Afrikaans",local:"Afrikaans",1:"af",2:"afr","2T":"afr","2B":"afr",3:"afr"},{name:"Akan",local:"Akan",1:"ak",2:"aka","2T":"aka","2B":"aka",3:"aka"},{name:"Albanian",local:"Shqip",1:"sq",2:"sqi","2T":"sqi","2B":"alb",3:"sqi"},{name:"Amharic",local:"\u12A0\u121B\u122D\u129B",1:"am",2:"amh","2T":"amh","2B":"amh",3:"amh"},{name:"Arabic",local:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",1:"ar",2:"ara","2T":"ara","2B":"ara",3:"ara"},{name:"Aragonese",local:"Aragon\xE9s",1:"an",2:"arg","2T":"arg","2B":"arg",3:"arg"},{name:"Armenian",local:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",1:"hy",2:"hye","2T":"hye","2B":"arm",3:"hye"},{name:"Assamese",local:"\u0985\u09B8\u09AE\u09C0\u09AF\u09BC\u09BE",1:"as",2:"asm","2T":"asm","2B":"asm",3:"asm"},{name:"Avaric",local:"\u0410\u0432\u0430\u0440",1:"av",2:"ava","2T":"ava","2B":"ava",3:"ava"},{name:"Avestan",local:"avesta",1:"ae",2:"ave","2T":"ave","2B":"ave",3:"ave"},{name:"Aymara",local:"Aymar",1:"ay",2:"aym","2T":"aym","2B":"aym",3:"aym"},{name:"Azerbaijani",local:"Az\u0259rbaycanca",1:"az",2:"aze","2T":"aze","2B":"aze",3:"aze"},{name:"Bambara",local:"Bamanankan",1:"bm",2:"bam","2T":"bam","2B":"bam",3:"bam"},{name:"Bashkir",local:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",1:"ba",2:"bak","2T":"bak","2B":"bak",3:"bak"},{name:"Basque",local:"Euskara",1:"eu",2:"eus","2T":"eus","2B":"baq",3:"eus"},{name:"Belarusian",local:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F",1:"be",2:"bel","2T":"bel","2B":"bel",3:"bel"},{name:"Bengali",local:"\u09AC\u09BE\u0982\u09B2\u09BE",1:"bn",2:"ben","2T":"ben","2B":"ben",3:"ben"},{name:"Bihari",local:"\u092D\u094B\u091C\u092A\u0941\u0930\u0940",1:"bh",2:"bih","2T":"bih","2B":"bih",3:"bih"},{name:"Bislama",local:"Bislama",1:"bi",2:"bis","2T":"bis","2B":"bis",3:"bis"},{name:"Bosnian",local:"Bosanski",1:"bs",2:"bos","2T":"bos","2B":"bos",3:"bos"},{name:"Breton",local:"Brezhoneg",1:"br",2:"bre","2T":"bre","2B":"bre",3:"bre"},{name:"Bulgarian",local:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",1:"bg",2:"bul","2T":"bul","2B":"bul",3:"bul"},{name:"Burmese",local:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C",1:"my",2:"mya","2T":"mya","2B":"bur",3:"mya"},{name:"Catalan",local:"Catal\xE0",1:"ca",2:"cat","2T":"cat","2B":"cat",3:"cat"},{name:"Chamorro",local:"Chamoru",1:"ch",2:"cha","2T":"cha","2B":"cha",3:"cha"},{name:"Chechen",local:"\u041D\u043E\u0445\u0447\u0438\u0439\u043D",1:"ce",2:"che","2T":"che","2B":"che",3:"che"},{name:"Chichewa",local:"Chichewa",1:"ny",2:"nya","2T":"nya","2B":"nya",3:"nya"},{name:"Chinese",local:"\u4E2D\u6587",1:"zh",2:"zho","2T":"zho","2B":"chi",3:"zho"},{name:"Chuvash",local:"\u0427\u04D1\u0432\u0430\u0448\u043B\u0430",1:"cv",2:"chv","2T":"chv","2B":"chv",3:"chv"},{name:"Cornish",local:"Kernewek",1:"kw",2:"cor","2T":"cor","2B":"cor",3:"cor"},{name:"Corsican",local:"Corsu",1:"co",2:"cos","2T":"cos","2B":"cos",3:"cos"},{name:"Cree",local:"\u14C0\u1426\u1403\u152D\u140D\u140F\u1423",1:"cr",2:"cre","2T":"cre","2B":"cre",3:"cre"},{name:"Croatian",local:"Hrvatski",1:"hr",2:"hrv","2T":"hrv","2B":"hrv",3:"hrv"},{name:"Czech",local:"\u010Ce\u0161tina",1:"cs",2:"ces","2T":"ces","2B":"cze",3:"ces"},{name:"Danish",local:"Dansk",1:"da",2:"dan","2T":"dan","2B":"dan",3:"dan"},{name:"Divehi",local:"Divehi",1:"dv",2:"div","2T":"div","2B":"div",3:"div"},{name:"Dutch",local:"Nederlands",1:"nl",2:"nld","2T":"nld","2B":"dut",3:"nld"},{name:"Dzongkha",local:"\u0F62\u0FAB\u0F7C\u0F44\u0F0B\u0F41",1:"dz",2:"dzo","2T":"dzo","2B":"dzo",3:"dzo"},{name:"English",local:"English",1:"en",2:"eng","2T":"eng","2B":"eng",3:"eng"},{name:"Esperanto",local:"Esperanto",1:"eo",2:"epo","2T":"epo","2B":"epo",3:"epo"},{name:"Estonian",local:"Eesti",1:"et",2:"est","2T":"est","2B":"est",3:"est"},{name:"Ewe",local:"E\u028Begbe",1:"ee",2:"ewe","2T":"ewe","2B":"ewe",3:"ewe"},{name:"Faroese",local:"F\xF8royskt",1:"fo",2:"fao","2T":"fao","2B":"fao",3:"fao"},{name:"Fijian",local:"Na Vosa Vaka-Viti",1:"fj",2:"fij","2T":"fij","2B":"fij",3:"fij"},{name:"Finnish",local:"Suomi",1:"fi",2:"fin","2T":"fin","2B":"fin",3:"fin"},{name:"French",local:"Fran\xE7ais",1:"fr",2:"fra","2T":"fra","2B":"fre",3:"fra"},{name:"Fula",local:"Fulfulde",1:"ff",2:"ful","2T":"ful","2B":"ful",3:"ful"},{name:"Galician",local:"Galego",1:"gl",2:"glg","2T":"glg","2B":"glg",3:"glg"},{name:"Georgian",local:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",1:"ka",2:"kat","2T":"kat","2B":"geo",3:"kat"},{name:"German",local:"Deutsch",1:"de",2:"deu","2T":"deu","2B":"ger",3:"deu"},{name:"Greek",local:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",1:"el",2:"ell","2T":"ell","2B":"gre",3:"ell"},{name:"Guaran\xED",local:"Ava\xF1e'\u1EBD",1:"gn",2:"grn","2T":"grn","2B":"grn",3:"grn"},{name:"Gujarati",local:"\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0",1:"gu",2:"guj","2T":"guj","2B":"guj",3:"guj"},{name:"Haitian",local:"Krey\xF2l Ayisyen",1:"ht",2:"hat","2T":"hat","2B":"hat",3:"hat"},{name:"Hausa",local:"\u0647\u064E\u0648\u064F\u0633\u064E",1:"ha",2:"hau","2T":"hau","2B":"hau",3:"hau"},{name:"Hebrew",local:"\u05E2\u05D1\u05E8\u05D9\u05EA",1:"he",2:"heb","2T":"heb","2B":"heb",3:"heb"},{name:"Herero",local:"Otjiherero",1:"hz",2:"her","2T":"her","2B":"her",3:"her"},{name:"Hindi",local:"\u0939\u093F\u0928\u094D\u0926\u0940",1:"hi",2:"hin","2T":"hin","2B":"hin",3:"hin"},{name:"Hiri Motu",local:"Hiri Motu",1:"ho",2:"hmo","2T":"hmo","2B":"hmo",3:"hmo"},{name:"Hungarian",local:"Magyar",1:"hu",2:"hun","2T":"hun","2B":"hun",3:"hun"},{name:"Interlingua",local:"Interlingua",1:"ia",2:"ina","2T":"ina","2B":"ina",3:"ina"},{name:"Indonesian",local:"Bahasa Indonesia",1:"id",2:"ind","2T":"ind","2B":"ind",3:"ind"},{name:"Interlingue",local:"Interlingue",1:"ie",2:"ile","2T":"ile","2B":"ile",3:"ile"},{name:"Irish",local:"Gaeilge",1:"ga",2:"gle","2T":"gle","2B":"gle",3:"gle"},{name:"Igbo",local:"Igbo",1:"ig",2:"ibo","2T":"ibo","2B":"ibo",3:"ibo"},{name:"Inupiaq",local:"I\xF1upiak",1:"ik",2:"ipk","2T":"ipk","2B":"ipk",3:"ipk"},{name:"Ido",local:"Ido",1:"io",2:"ido","2T":"ido","2B":"ido",3:"ido"},{name:"Icelandic",local:"\xCDslenska",1:"is",2:"isl","2T":"isl","2B":"ice",3:"isl"},{name:"Italian",local:"Italiano",1:"it",2:"ita","2T":"ita","2B":"ita",3:"ita"},{name:"Inuktitut",local:"\u1403\u14C4\u1483\u144E\u1450\u1466",1:"iu",2:"iku","2T":"iku","2B":"iku",3:"iku"},{name:"Japanese",local:"\u65E5\u672C\u8A9E",1:"ja",2:"jpn","2T":"jpn","2B":"jpn",3:"jpn"},{name:"Javanese",local:"Basa Jawa",1:"jv",2:"jav","2T":"jav","2B":"jav",3:"jav"},{name:"Kalaallisut",local:"Kalaallisut",1:"kl",2:"kal","2T":"kal","2B":"kal",3:"kal"},{name:"Kannada",local:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",1:"kn",2:"kan","2T":"kan","2B":"kan",3:"kan"},{name:"Kanuri",local:"Kanuri",1:"kr",2:"kau","2T":"kau","2B":"kau",3:"kau"},{name:"Kashmiri",local:"\u0643\u0634\u0645\u064A\u0631\u064A",1:"ks",2:"kas","2T":"kas","2B":"kas",3:"kas"},{name:"Kazakh",local:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",1:"kk",2:"kaz","2T":"kaz","2B":"kaz",3:"kaz"},{name:"Khmer",local:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A",1:"km",2:"khm","2T":"khm","2B":"khm",3:"khm"},{name:"Kikuyu",local:"G\u0129k\u0169y\u0169",1:"ki",2:"kik","2T":"kik","2B":"kik",3:"kik"},{name:"Kinyarwanda",local:"Kinyarwanda",1:"rw",2:"kin","2T":"kin","2B":"kin",3:"kin"},{name:"Kyrgyz",local:"\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430",1:"ky",2:"kir","2T":"kir","2B":"kir",3:"kir"},{name:"Komi",local:"\u041A\u043E\u043C\u0438",1:"kv",2:"kom","2T":"kom","2B":"kom",3:"kom"},{name:"Kongo",local:"Kongo",1:"kg",2:"kon","2T":"kon","2B":"kon",3:"kon"},{name:"Korean",local:"\uD55C\uAD6D\uC5B4",1:"ko",2:"kor","2T":"kor","2B":"kor",3:"kor"},{name:"Kurdish",local:"Kurd\xEE",1:"ku",2:"kur","2T":"kur","2B":"kur",3:"kur"},{name:"Kwanyama",local:"Kuanyama",1:"kj",2:"kua","2T":"kua","2B":"kua",3:"kua"},{name:"Latin",local:"Latina",1:"la",2:"lat","2T":"lat","2B":"lat",3:"lat"},{name:"Luxembourgish",local:"L\xEBtzebuergesch",1:"lb",2:"ltz","2T":"ltz","2B":"ltz",3:"ltz"},{name:"Ganda",local:"Luganda",1:"lg",2:"lug","2T":"lug","2B":"lug",3:"lug"},{name:"Limburgish",local:"Limburgs",1:"li",2:"lim","2T":"lim","2B":"lim",3:"lim"},{name:"Lingala",local:"Ling\xE1la",1:"ln",2:"lin","2T":"lin","2B":"lin",3:"lin"},{name:"Lao",local:"\u0E9E\u0EB2\u0EAA\u0EB2\u0EA5\u0EB2\u0EA7",1:"lo",2:"lao","2T":"lao","2B":"lao",3:"lao"},{name:"Lithuanian",local:"Lietuvi\u0173",1:"lt",2:"lit","2T":"lit","2B":"lit",3:"lit"},{name:"Luba-Katanga",local:"Tshiluba",1:"lu",2:"lub","2T":"lub","2B":"lub",3:"lub"},{name:"Latvian",local:"Latvie\u0161u",1:"lv",2:"lav","2T":"lav","2B":"lav",3:"lav"},{name:"Manx",local:"Gaelg",1:"gv",2:"glv","2T":"glv","2B":"glv",3:"glv"},{name:"Macedonian",local:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438",1:"mk",2:"mkd","2T":"mkd","2B":"mac",3:"mkd"},{name:"Malagasy",local:"Malagasy",1:"mg",2:"mlg","2T":"mlg","2B":"mlg",3:"mlg"},{name:"Malay",local:"Bahasa Melayu",1:"ms",2:"msa","2T":"msa","2B":"may",3:"msa"},{name:"Malayalam",local:"\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02",1:"ml",2:"mal","2T":"mal","2B":"mal",3:"mal"},{name:"Maltese",local:"Malti",1:"mt",2:"mlt","2T":"mlt","2B":"mlt",3:"mlt"},{name:"M\u0101ori",local:"M\u0101ori",1:"mi",2:"mri","2T":"mri","2B":"mao",3:"mri"},{name:"Marathi",local:"\u092E\u0930\u093E\u0920\u0940",1:"mr",2:"mar","2T":"mar","2B":"mar",3:"mar"},{name:"Marshallese",local:"Kajin M\u0327aje\u013C",1:"mh",2:"mah","2T":"mah","2B":"mah",3:"mah"},{name:"Mongolian",local:"\u041C\u043E\u043D\u0433\u043E\u043B",1:"mn",2:"mon","2T":"mon","2B":"mon",3:"mon"},{name:"Nauru",local:"Dorerin Naoero",1:"na",2:"nau","2T":"nau","2B":"nau",3:"nau"},{name:"Navajo",local:"Din\xE9 Bizaad",1:"nv",2:"nav","2T":"nav","2B":"nav",3:"nav"},{name:"Northern Ndebele",local:"isiNdebele",1:"nd",2:"nde","2T":"nde","2B":"nde",3:"nde"},{name:"Nepali",local:"\u0928\u0947\u092A\u093E\u0932\u0940",1:"ne",2:"nep","2T":"nep","2B":"nep",3:"nep"},{name:"Ndonga",local:"Owambo",1:"ng",2:"ndo","2T":"ndo","2B":"ndo",3:"ndo"},{name:"Norwegian Bokm\xE5l",local:"Norsk (Bokm\xE5l)",1:"nb",2:"nob","2T":"nob","2B":"nob",3:"nob"},{name:"Norwegian Nynorsk",local:"Norsk (Nynorsk)",1:"nn",2:"nno","2T":"nno","2B":"nno",3:"nno"},{name:"Norwegian",local:"Norsk",1:"no",2:"nor","2T":"nor","2B":"nor",3:"nor"},{name:"Nuosu",local:"\uA188\uA320\uA4BF Nuosuhxop",1:"ii",2:"iii","2T":"iii","2B":"iii",3:"iii"},{name:"Southern Ndebele",local:"isiNdebele",1:"nr",2:"nbl","2T":"nbl","2B":"nbl",3:"nbl"},{name:"Occitan",local:"Occitan",1:"oc",2:"oci","2T":"oci","2B":"oci",3:"oci"},{name:"Ojibwe",local:"\u140A\u14C2\u1511\u14C8\u142F\u14A7\u140E\u14D0",1:"oj",2:"oji","2T":"oji","2B":"oji",3:"oji"},{name:"Old Church Slavonic",local:"\u0421\u043B\u043E\u0432\u0463\u0301\u043D\u044C\u0441\u043A\u044A",1:"cu",2:"chu","2T":"chu","2B":"chu",3:"chu"},{name:"Oromo",local:"Afaan Oromoo",1:"om",2:"orm","2T":"orm","2B":"orm",3:"orm"},{name:"Oriya",local:"\u0B13\u0B21\u0B3F\u0B3C\u0B06",1:"or",2:"ori","2T":"ori","2B":"ori",3:"ori"},{name:"Ossetian",local:"\u0418\u0440\u043E\u043D \xE6\u0432\u0437\u0430\u0433",1:"os",2:"oss","2T":"oss","2B":"oss",3:"oss"},{name:"Panjabi",local:"\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40",1:"pa",2:"pan","2T":"pan","2B":"pan",3:"pan"},{name:"P\u0101li",local:"\u092A\u093E\u0934\u093F",1:"pi",2:"pli","2T":"pli","2B":"pli",3:"pli"},{name:"Persian",local:"\u0641\u0627\u0631\u0633\u06CC",1:"fa",2:"fas","2T":"fas","2B":"per",3:"fas"},{name:"Polish",local:"Polski",1:"pl",2:"pol","2T":"pol","2B":"pol",3:"pol"},{name:"Pashto",local:"\u067E\u069A\u062A\u0648",1:"ps",2:"pus","2T":"pus","2B":"pus",3:"pus"},{name:"Portuguese",local:"Portugu\xEAs",1:"pt",2:"por","2T":"por","2B":"por",3:"por"},{name:"Quechua",local:"Runa Simi",1:"qu",2:"que","2T":"que","2B":"que",3:"que"},{name:"Romansh",local:"Rumantsch",1:"rm",2:"roh","2T":"roh","2B":"roh",3:"roh"},{name:"Kirundi",local:"Kirundi",1:"rn",2:"run","2T":"run","2B":"run",3:"run"},{name:"Romanian",local:"Rom\xE2n\u0103",1:"ro",2:"ron","2T":"ron","2B":"rum",3:"ron"},{name:"Russian",local:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",1:"ru",2:"rus","2T":"rus","2B":"rus",3:"rus"},{name:"Sanskrit",local:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D",1:"sa",2:"san","2T":"san","2B":"san",3:"san"},{name:"Sardinian",local:"Sardu",1:"sc",2:"srd","2T":"srd","2B":"srd",3:"srd"},{name:"Sindhi",local:"\u0633\u0646\u068C\u064A\u200E",1:"sd",2:"snd","2T":"snd","2B":"snd",3:"snd"},{name:"Northern Sami",local:"S\xE1megiella",1:"se",2:"sme","2T":"sme","2B":"sme",3:"sme"},{name:"Samoan",local:"Gagana S\u0101moa",1:"sm",2:"smo","2T":"smo","2B":"smo",3:"smo"},{name:"Sango",local:"S\xE4ng\xF6",1:"sg",2:"sag","2T":"sag","2B":"sag",3:"sag"},{name:"Serbian",local:"\u0421\u0440\u043F\u0441\u043A\u0438",1:"sr",2:"srp","2T":"srp","2B":"srp",3:"srp"},{name:"Gaelic",local:"G\xE0idhlig",1:"gd",2:"gla","2T":"gla","2B":"gla",3:"gla"},{name:"Shona",local:"ChiShona",1:"sn",2:"sna","2T":"sna","2B":"sna",3:"sna"},{name:"Sinhala",local:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",1:"si",2:"sin","2T":"sin","2B":"sin",3:"sin"},{name:"Slovak",local:"Sloven\u010Dina",1:"sk",2:"slk","2T":"slk","2B":"slo",3:"slk"},{name:"Slovene",local:"Sloven\u0161\u010Dina",1:"sl",2:"slv","2T":"slv","2B":"slv",3:"slv"},{name:"Somali",local:"Soomaaliga",1:"so",2:"som","2T":"som","2B":"som",3:"som"},{name:"Southern Sotho",local:"Sesotho",1:"st",2:"sot","2T":"sot","2B":"sot",3:"sot"},{name:"Spanish",local:"Espa\xF1ol",1:"es",2:"spa","2T":"spa","2B":"spa",3:"spa"},{name:"Sundanese",local:"Basa Sunda",1:"su",2:"sun","2T":"sun","2B":"sun",3:"sun"},{name:"Swahili",local:"Kiswahili",1:"sw",2:"swa","2T":"swa","2B":"swa",3:"swa"},{name:"Swati",local:"SiSwati",1:"ss",2:"ssw","2T":"ssw","2B":"ssw",3:"ssw"},{name:"Swedish",local:"Svenska",1:"sv",2:"swe","2T":"swe","2B":"swe",3:"swe"},{name:"Tamil",local:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",1:"ta",2:"tam","2T":"tam","2B":"tam",3:"tam"},{name:"Telugu",local:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41",1:"te",2:"tel","2T":"tel","2B":"tel",3:"tel"},{name:"Tajik",local:"\u0422\u043E\u04B7\u0438\u043A\u04E3",1:"tg",2:"tgk","2T":"tgk","2B":"tgk",3:"tgk"},{name:"Thai",local:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",1:"th",2:"tha","2T":"tha","2B":"tha",3:"tha"},{name:"Tigrinya",local:"\u1275\u130D\u122D\u129B",1:"ti",2:"tir","2T":"tir","2B":"tir",3:"tir"},{name:"Tibetan Standard",local:"\u0F56\u0F7C\u0F51\u0F0B\u0F61\u0F72\u0F42",1:"bo",2:"bod","2T":"bod","2B":"tib",3:"bod"},{name:"Turkmen",local:"T\xFCrkmen\xE7e",1:"tk",2:"tuk","2T":"tuk","2B":"tuk",3:"tuk"},{name:"Tagalog",local:"Tagalog",1:"tl",2:"tgl","2T":"tgl","2B":"tgl",3:"tgl"},{name:"Tswana",local:"Setswana",1:"tn",2:"tsn","2T":"tsn","2B":"tsn",3:"tsn"},{name:"Tonga",local:"faka Tonga",1:"to",2:"ton","2T":"ton","2B":"ton",3:"ton"},{name:"Turkish",local:"T\xFCrk\xE7e",1:"tr",2:"tur","2T":"tur","2B":"tur",3:"tur"},{name:"Tsonga",local:"Xitsonga",1:"ts",2:"tso","2T":"tso","2B":"tso",3:"tso"},{name:"Tatar",local:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",1:"tt",2:"tat","2T":"tat","2B":"tat",3:"tat"},{name:"Twi",local:"Twi",1:"tw",2:"twi","2T":"twi","2B":"twi",3:"twi"},{name:"Tahitian",local:"Reo M\u0101\u2019ohi",1:"ty",2:"tah","2T":"tah","2B":"tah",3:"tah"},{name:"Uyghur",local:"\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u0647",1:"ug",2:"uig","2T":"uig","2B":"uig",3:"uig"},{name:"Ukrainian",local:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",1:"uk",2:"ukr","2T":"ukr","2B":"ukr",3:"ukr"},{name:"Urdu",local:"\u0627\u0631\u062F\u0648",1:"ur",2:"urd","2T":"urd","2B":"urd",3:"urd"},{name:"Uzbek",local:"O\u2018zbek",1:"uz",2:"uzb","2T":"uzb","2B":"uzb",3:"uzb"},{name:"Venda",local:"Tshiven\u1E13a",1:"ve",2:"ven","2T":"ven","2B":"ven",3:"ven"},{name:"Vietnamese",local:"Ti\u1EBFng Vi\u1EC7t",1:"vi",2:"vie","2T":"vie","2B":"vie",3:"vie"},{name:"Volap\xFCk",local:"Volap\xFCk",1:"vo",2:"vol","2T":"vol","2B":"vol",3:"vol"},{name:"Walloon",local:"Walon",1:"wa",2:"wln","2T":"wln","2B":"wln",3:"wln"},{name:"Welsh",local:"Cymraeg",1:"cy",2:"cym","2T":"cym","2B":"wel",3:"cym"},{name:"Wolof",local:"Wolof",1:"wo",2:"wol","2T":"wol","2B":"wol",3:"wol"},{name:"Western Frisian",local:"Frysk",1:"fy",2:"fry","2T":"fry","2B":"fry",3:"fry"},{name:"Xhosa",local:"isiXhosa",1:"xh",2:"xho","2T":"xho","2B":"xho",3:"xho"},{name:"Yiddish",local:"\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9",1:"yi",2:"yid","2T":"yid","2B":"yid",3:"yid"},{name:"Yoruba",local:"Yor\xF9b\xE1",1:"yo",2:"yor","2T":"yor","2B":"yor",3:"yor"},{name:"Zhuang",local:"Cuengh",1:"za",2:"zha","2T":"zha","2B":"zha",3:"zha"},{name:"Zulu",local:"isiZulu",1:"zu",2:"zul","2T":"zul","2B":"zul",3:"zul"}]});var Ya=kt((tv,Va)=>{var qt=ja(),Wp={all:Kp,has:Qp,codes:Zp,names:Xp,where:Ga};Va.exports=Wp;function Kp(){return qt}function Qp(e,t){return Ga(e,t)!==void 0}function Zp(e){if(Jp(e))return $a(qt,function(r){return r[e]})}function Xp(e){return $a(qt,function(r){return e?r.local:r.name})}function Ga(e,t){for(var r=0;r<qt.length;r++)if(t===qt[r][e])return qt[r]}function $a(e,t){var r=[],n;for(n=0;n<e.length;n++)r.push(t(e[n],n));return r}function Jp(e){var t=[1,2,3,"1","2","2B","2T","3"];return t.indexOf(e)!==-1}});var Wa=kt((rv,ef)=>{ef.exports=[{code:"AD",name:"Andorra"},{code:"AE",name:"United Arab Emirates (the)"},{code:"AF",name:"Afghanistan"},{code:"AG",name:"Antigua and Barbuda"},{code:"AI",name:"Anguilla"},{code:"AL",name:"Albania"},{code:"AM",name:"Armenia"},{code:"AO",name:"Angola"},{code:"AQ",name:"Antarctica"},{code:"AR",name:"Argentina"},{code:"AS",name:"American Samoa"},{code:"AT",name:"Austria"},{code:"AU",name:"Australia"},{code:"AW",name:"Aruba"},{code:"AX",name:"\xC5land Islands"},{code:"AZ",name:"Azerbaijan"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BB",name:"Barbados"},{code:"BD",name:"Bangladesh"},{code:"BE",name:"Belgium"},{code:"BF",name:"Burkina Faso"},{code:"BG",name:"Bulgaria"},{code:"BH",name:"Bahrain"},{code:"BI",name:"Burundi"},{code:"BJ",name:"Benin"},{code:"BL",name:"Saint Barth\xE9lemy"},{code:"BM",name:"Bermuda"},{code:"BN",name:"Brunei Darussalam"},{code:"BO",name:"Bolivia (Plurinational State of)"},{code:"BQ",name:"Bonaire, Sint Eustatius and Saba"},{code:"BR",name:"Brazil"},{code:"BS",name:"Bahamas (The)"},{code:"BT",name:"Bhutan"},{code:"BV",name:"Bouvet Island"},{code:"BW",name:"Botswana"},{code:"BY",name:"Belarus"},{code:"BZ",name:"Belize"},{code:"CA",name:"Canada"},{code:"CC",name:"Cocos (Keeling) Islands (the)"},{code:"CD",name:"Congo (the Democratic Republic of the)"},{code:"CF",name:"Central African Republic (the)"},{code:"CG",name:"Congo (the)"},{code:"CH",name:"Switzerland"},{code:"CI",name:"C\xF4te d'Ivoire"},{code:"CK",name:"Cook Islands (the)"},{code:"CL",name:"Chile"},{code:"CM",name:"Cameroon"},{code:"CN",name:"China"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"CV",name:"Cabo Verde"},{code:"CW",name:"Cura\xE7ao"},{code:"CX",name:"Christmas Island"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czechia"},{code:"DE",name:"Germany"},{code:"DJ",name:"Djibouti"},{code:"DK",name:"Denmark"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic (the)"},{code:"DZ",name:"Algeria"},{code:"EC",name:"Ecuador"},{code:"EE",name:"Estonia"},{code:"EG",name:"Egypt"},{code:"EH",name:"Western Sahara*"},{code:"ER",name:"Eritrea"},{code:"ES",name:"Spain"},{code:"ET",name:"Ethiopia"},{code:"FI",name:"Finland"},{code:"FJ",name:"Fiji"},{code:"FK",name:"Falkland Islands (the) [Malvinas]"},{code:"FM",name:"Micronesia (Federated States of)"},{code:"FO",name:"Faroe Islands (the)"},{code:"FR",name:"France"},{code:"GA",name:"Gabon"},{code:"GB",name:"United Kingdom of Great Britain and Northern Ireland (the)"},{code:"GD",name:"Grenada"},{code:"GE",name:"Georgia"},{code:"GF",name:"French Guiana"},{code:"GG",name:"Guernsey"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GL",name:"Greenland"},{code:"GM",name:"Gambia (the)"},{code:"GN",name:"Guinea"},{code:"GP",name:"Guadeloupe"},{code:"GQ",name:"Equatorial Guinea"},{code:"GR",name:"Greece"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"GT",name:"Guatemala"},{code:"GU",name:"Guam"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HK",name:"Hong Kong"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"HN",name:"Honduras"},{code:"HR",name:"Croatia"},{code:"HT",name:"Haiti"},{code:"HU",name:"Hungary"},{code:"ID",name:"Indonesia"},{code:"IE",name:"Ireland"},{code:"IL",name:"Israel"},{code:"IM",name:"Isle of Man"},{code:"IN",name:"India"},{code:"IO",name:"British Indian Ocean Territory (the)"},{code:"IQ",name:"Iraq"},{code:"IR",name:"Iran (Islamic Republic of)"},{code:"IS",name:"Iceland"},{code:"IT",name:"Italy"},{code:"JE",name:"Jersey"},{code:"JM",name:"Jamaica"},{code:"JO",name:"Jordan"},{code:"JP",name:"Japan"},{code:"KE",name:"Kenya"},{code:"KG",name:"Kyrgyzstan"},{code:"KH",name:"Cambodia"},{code:"KI",name:"Kiribati"},{code:"KM",name:"Comoros (the)"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"KP",name:"Korea (the Democratic People's Republic of)"},{code:"KR",name:"Korea (the Republic of)"},{code:"KW",name:"Kuwait"},{code:"KY",name:"Cayman Islands (the)"},{code:"KZ",name:"Kazakhstan"},{code:"LA",name:"Lao People's Democratic Republic (the)"},{code:"LB",name:"Lebanon"},{code:"LC",name:"Saint Lucia"},{code:"LI",name:"Liechtenstein"},{code:"LK",name:"Sri Lanka"},{code:"LR",name:"Liberia"},{code:"LS",name:"Lesotho"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"LV",name:"Latvia"},{code:"LY",name:"Libya"},{code:"MA",name:"Morocco"},{code:"MC",name:"Monaco"},{code:"MD",name:"Moldova (the Republic of)"},{code:"ME",name:"Montenegro"},{code:"MF",name:"Saint Martin (French part)"},{code:"MG",name:"Madagascar"},{code:"MH",name:"Marshall Islands (the)"},{code:"MK",name:"North Macedonia"},{code:"ML",name:"Mali"},{code:"MM",name:"Myanmar"},{code:"MN",name:"Mongolia"},{code:"MO",name:"Macao"},{code:"MP",name:"Northern Mariana Islands (the)"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MS",name:"Montserrat"},{code:"MT",name:"Malta"},{code:"MU",name:"Mauritius"},{code:"MV",name:"Maldives"},{code:"MW",name:"Malawi"},{code:"MX",name:"Mexico"},{code:"MY",name:"Malaysia"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NC",name:"New Caledonia"},{code:"NE",name:"Niger (the)"},{code:"NF",name:"Norfolk Island"},{code:"NG",name:"Nigeria"},{code:"NI",name:"Nicaragua"},{code:"NL",name:"Netherlands (Kingdom of the)"},{code:"NO",name:"Norway"},{code:"NP",name:"Nepal"},{code:"NR",name:"Nauru"},{code:"NU",name:"Niue"},{code:"NZ",name:"New Zealand"},{code:"OM",name:"Oman"},{code:"PA",name:"Panama"},{code:"PE",name:"Peru"},{code:"PF",name:"French Polynesia"},{code:"PG",name:"Papua New Guinea"},{code:"PH",name:"Philippines (the)"},{code:"PK",name:"Pakistan"},{code:"PL",name:"Poland"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"PN",name:"Pitcairn"},{code:"PR",name:"Puerto Rico"},{code:"PS",name:"Palestine, State of"},{code:"PT",name:"Portugal"},{code:"PW",name:"Palau"},{code:"PY",name:"Paraguay"},{code:"QA",name:"Qatar"},{code:"RE",name:"R\xE9union"},{code:"RO",name:"Romania"},{code:"RS",name:"Serbia"},{code:"RU",name:"Russian Federation (the)"},{code:"RW",name:"Rwanda"},{code:"SA",name:"Saudi Arabia"},{code:"SB",name:"Solomon Islands"},{code:"SC",name:"Seychelles"},{code:"SD",name:"Sudan (the)"},{code:"SE",name:"Sweden"},{code:"SG",name:"Singapore"},{code:"SH",name:"Saint Helena, Ascension and Tristan da Cunha"},{code:"SI",name:"Slovenia"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SK",name:"Slovakia"},{code:"SL",name:"Sierra Leone"},{code:"SM",name:"San Marino"},{code:"SN",name:"Senegal"},{code:"SO",name:"Somalia"},{code:"SR",name:"Suriname"},{code:"SS",name:"South Sudan"},{code:"ST",name:"Sao Tome and Principe"},{code:"SV",name:"El Salvador"},{code:"SX",name:"Sint Maarten (Dutch part)"},{code:"SY",name:"Syrian Arab Republic (the)"},{code:"SZ",name:"Eswatini"},{code:"TC",name:"Turks and Caicos Islands (the)"},{code:"TD",name:"Chad"},{code:"TF",name:"French Southern Territories (the)"},{code:"TG",name:"Togo"},{code:"TH",name:"Thailand"},{code:"TJ",name:"Tajikistan"},{code:"TK",name:"Tokelau"},{code:"TL",name:"Timor-Leste"},{code:"TM",name:"Turkmenistan"},{code:"TN",name:"Tunisia"},{code:"TO",name:"Tonga"},{code:"TR",name:"T\xFCrkiye"},{code:"TT",name:"Trinidad and Tobago"},{code:"TV",name:"Tuvalu"},{code:"TW",name:"Taiwan (Province of China)"},{code:"TZ",name:"Tanzania, the United Republic of"},{code:"UA",name:"Ukraine"},{code:"UG",name:"Uganda"},{code:"UM",name:"United States Minor Outlying Islands (the)"},{code:"US",name:"United States of America (the)"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VA",name:"Holy See (the)"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"VE",name:"Venezuela (Bolivarian Republic of)"},{code:"VG",name:"Virgin Islands (British)"},{code:"VI",name:"Virgin Islands (U.S.)"},{code:"VN",name:"Viet Nam"},{code:"VU",name:"Vanuatu"},{code:"WF",name:"Wallis and Futuna"},{code:"WS",name:"Samoa"},{code:"YE",name:"Yemen"},{code:"YT",name:"Mayotte"},{code:"ZA",name:"South Africa"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}]});var Qa=kt(Pe=>{"use strict";var _t=Wa(),vi={},Si={};_t.forEach(Ka);function Ka(e){vi[e.name.toLowerCase()]=e.code,Si[e.code.toLowerCase()]=e.name}Pe.overwrite=function(t){!t||!t.length||t.forEach(function(r){var n=_t.findIndex(function(i){return i.code===r.code});_t[n]=r,Ka(r)})};Pe.getCode=function(t){return vi[t.toLowerCase()]};Pe.getName=function(t){return Si[t.toLowerCase()]};Pe.getNames=function(){return _t.map(function(t){return t.name})};Pe.getCodes=function(){return _t.map(function(t){return t.code})};Pe.getCodeList=function(){return Si};Pe.getNameList=function(){return vi};Pe.getData=function(){return _t}});function mt(e){try{return e.replace(/[\\#*_`\[\]\$<>@]/g,t=>`\\${t}`)}catch{return e}}function Ke(e){try{return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n")}catch{return e}}function he(e,t){if(!t)return e;let r=" ".repeat(t);return e.split(`
3
- `).map(n=>`${r}${n}`).join(`
4
- `)}function Qe(e){return typeof e=="string"&&e.length>0}function Za(e){return(e??"").trim()}function ht(e,t){return e.map(r=>tf(r,t)).join("")}function tf(e,t){switch(e.type){case"text":return e.value;case"strong":case"emphasis":return ht(e.children,t);case"inlineCode":return e.value;case"link":return ht(e.children,t);case"linkReference":{let r=e,n=ht(r.children,t);if(n.trim())return n;let i=t.get(r.identifier.toLowerCase());return i?i.url:r.label||r.identifier}case"break":return`
5
- `;default:return""}}function Ti(e){return e.length===1?`(${e[0]},)`:`(${e.join(", ")})`}function Xa(e){let t=0,r=0;for(let n=0;n<e.length;n++){if(e[n]==="`"){r++,r>t&&(t=r);continue}r=0}return t}function Ja(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.split(/[-_]/)[0].toLowerCase();if(Lt.default.codes("1").includes(r))return r;let i=Lt.default.all();for(let s of i)if(s.name&&s.name.toLowerCase()===t.toLowerCase()&&s[1]||s.local&&s.local.toLowerCase()===t.toLowerCase()&&s[1])return s[1];let a=Lt.default.where("2",t.toLowerCase());if(a&&a[1])return a[1];let o=Lt.default.where("2B",t.toLowerCase());if(o&&o[1])return o[1];let l=Lt.default.where("3",t.toLowerCase());if(l&&l[1])return l[1]}function el(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.toUpperCase();if((0,zr.getCodes)().includes(r))return r;let i=(0,zr.getCode)(t);if(i)return i.toUpperCase()}var Lt,zr,It=Ut(()=>{"use strict";Lt=pr(Ya(),1),zr=pr(Qa(),1)});function Kl(e){return"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".includes(e)}function ae(e,t="Assertion failed."){if(!e)throw new Error(t)}function Im(e,t){let r=t.toString(),n=!1;return t.type===5?n=!0:(n||(n=/[{\(\[\|]$/.test(e)),n||(n=/\\\w+$/.test(e)&&r==="["),n||(n=/^[\.,;:!\?\(\)\]{}_^]$/.test(r)),n||(n=["\\{","\\}"].includes(r)),n||(n=r==="'"),n||(n=e.endsWith("_")||e.endsWith("^")),n||(n=/\s$/.test(e)),n||(n=/^\s/.test(r)),n||(n=e===""),n||(n=/[\(\[{]\s*(-|\+)$/.test(e)||e==="-"||e==="+"),n||(n=e.endsWith("&")&&r==="="),n||(n=/\d$/.test(e)&&/^[a-zA-Z]$/.test(r))),n||(e+=" "),e+r}function Bm(e,t){return e.some(r=>r.eq(t))}function Ql(e,t){let r=[],n=[];for(let i of e)i.eq(t)?(r.push(n),n=[]):n.push(i);return r.push(n),r}function Fm(e,t){return e.flatMap((r,n)=>n!==e.length-1?[...r,t]:r)}function Mm(e,t){let r=e.reMatchArray[0].length,n=t.reMatchArray[0].length;return n!==r?n-r:e.index-t.index}function Dm(e){let t=["{","}","\\","$","&","#","_","%"];for(let r of t)e=e.replaceAll("\\"+r,r);return e}function ls(e){return new Rm(zm).collect(e)}function Hm(e){return os.includes(e)?1:as.includes(e)?2:0}function Yr(e,t){let r=t;for(;r<e.length&&[5,6].includes(e[r].type);)r++;return e.slice(t,r)}function Xl(e,t){let r=e[t];return r.type===1&&["(",")","[","]","|","\\{","\\}",".","\\|","<",">"].includes(r.value)||r.type===2&&["lfloor","rfloor","lceil","rceil","langle","rangle","lparen","rparen","lbrace","rbrace"].includes(r.value.slice(1))?r:null}function lr(e,t){let r=t;for(;r<e.length&&e[r].eq(new q(1,"'"));)r+=1;return r-t}function Gm(e){let t=null,r=[],n=[],i=0;for(;;){if(i===e.length||e[i].head.eq(q.COMMAND_DISPLAYSTYLE)||e[i].head.eq(q.COMMAND_TEXTSTYLE)){if(r.length>0){let a=r.length===1?r[0]:new sr(r);n.push(t?new ur(t,[a]):a)}if(i===e.length)break;r=[],t=e[i].head}else r.push(e[i]);i++}return n}function Ym(e){let t=n=>n.eq(Hi)||n.eq(Ui),r=[];for(let n=0;n<e.length;n++)e[n].type===5&&n+1<e.length&&t(e[n+1])||e[n].type===5&&n-1>=0&&t(e[n-1])||r.push(e[n]);return r}function Wm(e,t){let r=[];for(let n of e)if(n.type===2&&t[n.value]){let i=ls(t[n.value]);r=r.concat(i)}else r.push(n);return r}function Km(e,t={}){let r=new Vm,n=ls(e);return n=Ym(n),n=Wm(n,t),r.parse(n)}function ld(e){if(/^[a-zA-Z0-9]$/.test(e))return e;if(e==="/")return"\\/";if(["\\\\","\\{","\\}","\\%"].includes(e))return e.substring(1);if(["\\$","\\#","\\&","\\_"].includes(e))return e;if(e.startsWith("\\")){let t=e.slice(1);return Ae.has(t)?Ae.get(t):null}return e}function Rt(e,t){let r;switch(e.type){case 0:return x.NONE;case 2:r=1;break;case 1:r=2;break;case 3:r=3;break;case 4:r=5;break;case 5:r=6;break;case 6:r=8;break;case 7:{if(e.value==="\\\\")return new x(7,"\\");if(e.value==="\\!")return new x(1,"#h(-math.thin.amount)");if(e.value==="~"){let i=Ae.get("~");return new x(1,i)}else if(Ae.has(e.value.substring(1))){let i=Ae.get(e.value.substring(1));return new x(1,i)}else throw new Error(`Unknown control sequence: ${e.value}`)}default:throw Error(`Unknown token type: ${e.type}`)}let n=ld(e.value);if(n===null){if(t.nonStrict)return new x(r,e.value.substring(1));throw new Wr(`Unknown token: ${e.value}`,e)}return new x(r,n)}function sd(e,t){let[r,n]=e.args;if(t.optimize&&["\\overset{\\text{def}}{=}","\\overset{d e f}{=}"].includes(e.toString()))return new x(1,"eq.def").toNode();let i=new pe(new x(1,"limits"),[Q(n,t)]);return new $i({base:i,sup:Q(r,t),sub:null})}function ud(e,t){let[r,n]=e.args,i=new pe(new x(1,"limits"),[Q(n,t)]);return new $i({base:i,sub:Q(r,t),sup:null})}function cd(e){let t={},r={l:"#left",c:"#center",r:"#right"},n=Array.from(e),i=[],a=0;for(let l of n)l==="|"?i.push(a):(l==="l"||l==="c"||l==="r")&&a++;if(i.length>0){let l;i.length===1?l=`#${i[0]}`:l=`#(vline: (${i.join(", ")}))`,t.augment=new x(3,l).toNode()}let o=n.map(l=>r[l]).filter(l=>l!==void 0).map(l=>new x(3,l).toNode());if(o.length>0){let l=o.every(s=>s.eq(o[0]));t.align=l?o[0]:new x(3,"#center").toNode()}return t}function Pi(e){return["group","supsub","matrixLike","fraction","empty"].includes(e.type)?new Te(null,{left:pd,right:fd,body:e}):e}function Q(e,t){switch(e.type){case"terminal":return Rt(e.head,t).toNode();case"text":{let i=e;return new x(4,i.head.value).toNode()}case"ordgroup":let n=e;return new Oi(n.items.map(i=>Q(i,t)));case"supsub":{let i=e,{base:a,sup:o,sub:l}=i;if(a&&a.type==="funcCall"&&a.head.value==="\\overbrace"&&o)return new pe(new x(1,"overbrace"),[Q(a.args[0],t),Q(o,t)]);if(a&&a.type==="funcCall"&&a.head.value==="\\underbrace"&&l)return new pe(new x(1,"underbrace"),[Q(a.args[0],t),Q(l,t)]);let s={base:Q(a,t),sup:o?Q(o,t):null,sub:l?Q(l,t):null};return s.sup&&(s.sup=Pi(s.sup)),s.sub&&(s.sub=Pi(s.sub)),new $i(s)}case"leftright":{let i=e,{left:a,right:o}=i,l=Q(i.body,t);if(t.optimize&&a!==null&&o!==null){let c=Rt(a,t),h=Rt(o,t);if(a.value==="\\|"&&o.value==="\\|")return new pe(new x(1,"norm"),[l]);if(["[]","()","\\{\\}","\\lfloor\\rfloor","\\lceil\\rceil","\\lfloor\\rceil"].includes(a.value+o.value))return new Oi([c.toNode(),l,h.toNode()])}let s=function(c){return["(",")","{","["].includes(c.value)?new x(2,"\\"+c.value):c},u=a?Rt(a,t):null,p=o?Rt(o,t):null;return u&&u.value==="<"&&(u=new x(1,"chevron.l")),p&&p.value===">"&&(p=new x(1,"chevron.r")),u===null&&p!==null&&(p=s(p)),p===null&&u!==null&&(u=s(u)),new Te(x.LR,{body:l,left:u,right:p})}case"funcCall":{let i=e,a=Q(i.args[0],t);if(i.head.value==="\\sqrt"&&i.data){let o=Q(i.data,t);return new pe(new x(1,"root"),[o,a])}if(i.head.value==="\\mathbf"){let o=new pe(new x(1,"bold"),[a]);return new pe(new x(1,"upright"),[o])}if(i.head.value==="\\overrightarrow")return new pe(new x(1,"arrow"),[a]);if(i.head.value==="\\overleftarrow")return new pe(new x(1,"accent"),[a,new x(1,"arrow.l").toNode()]);if(i.head.value==="\\operatorname"||i.head.value==="\\operatorname*"){if(t.optimize&&ad.includes(a.head.value))return new x(1,a.head.value).toNode();let o=new pe(new x(1,"op"),[new x(4,a.head.value).toNode()]);return i.head.value==="\\operatorname*"&&o.setOptions({limits:new x(3,"#true").toNode()}),o}if(i.head.value==="\\textcolor"){let o=new ed(new x(1,"#text"),[Q(i.args[1],t)]);return o.setOptions({fill:a}),o}if(i.head.value==="\\substack"||i.head.value==="\\displaylines"||i.head.value==="\\mathinner")return a;if(i.head.value==="\\mathrel")return new pe(new x(1,"class"),[new x(4,"relation").toNode(),a]);if(i.head.value==="\\mathbin")return new pe(new x(1,"class"),[new x(4,"binary").toNode(),a]);if(i.head.value==="\\mathop")return new pe(new x(1,"class"),[new x(4,"large").toNode(),a]);if(i.head.value==="\\not"){let o=Q(i.args[0],t);if(ae(o.type==="terminal"),o.head.type===1)return new x(1,o.head.value+".not").toNode();if(o.head.value==="=")return new x(1,"eq.not").toNode();throw new Error(`Not supported: \\not ${o.head.value}`)}if(i.head.value==="\\pmod"){let o=new Oi([new x(1,"mod").toNode(),a]);return new Te(null,{body:o,left:x.LEFT_PAREN,right:x.RIGHT_PAREN})}if(i.head.value==="\\overset")return sd(i,t);if(i.head.value==="\\underset")return ud(i,t);if(["\\bra","\\ket","\\braket","\\set","\\Bra","\\Ket","\\Braket","\\Set"].includes(i.head.value)){let o=function(l,s){let u=new pe(new x(1,"mid"),[x.VERTICAL_BAR.toNode()]);if(l.type==="terminal"&&l.head.eq(x.VERTICAL_BAR))return u;if(l.type==="group"){let p=l;for(let c=0;c<p.items.length&&!(p.items[c].type==="terminal"&&p.items[c].head.eq(x.VERTICAL_BAR)&&(p.items[c]=u,s));c++);return p}else return l};var r=o;switch(i.head.value){case"\\bra":return new Te(null,{body:a,left:x.LEFT_ANGLE,right:x.VERTICAL_BAR});case"\\ket":return new Te(null,{body:a,left:x.VERTICAL_BAR,right:x.RIGHT_ANGLE});case"\\braket":return new Te(null,{body:a,left:x.LEFT_ANGLE,right:x.RIGHT_ANGLE});case"\\set":return new Te(null,{body:a,left:x.LEFT_BRACE,right:x.RIGHT_BRACE});case"\\Bra":return new Te(x.LR,{body:a,left:x.LEFT_ANGLE,right:x.VERTICAL_BAR});case"\\Ket":return new Te(x.LR,{body:a,left:x.VERTICAL_BAR,right:x.RIGHT_ANGLE});case"\\Braket":return new Te(x.LR,{body:o(a,!1),left:x.LEFT_ANGLE,right:x.RIGHT_ANGLE});case"\\Set":return new Te(x.LR,{body:o(a,!0),left:x.LEFT_BRACE,right:x.RIGHT_BRACE});default:}}if(i.head.value==="\\frac"&&t.fracToSlash)return new Jm(i.args.map(o=>Q(o,t)).map(Pi));if(t.optimize){if(i.head.value==="\\mathbb"&&/^\\mathbb{[A-Z]}$/.test(i.toString()))return new x(1,a.head.value.repeat(2)).toNode();if(i.head.value==="\\mathrm"&&i.toString()==="\\mathrm{d}")return new x(1,"dif").toNode()}return new pe(Rt(i.head,t),i.args.map(o=>Q(o,t)))}case"beginend":{let i=e,a=i.matrix.map(o=>o.map(l=>Q(l,t)));if(i.head.value.startsWith("align"))return new Je(null,a);if(i.head.value==="cases")return new Je(Je.CASES,a);if(i.head.value==="subarray"){if(i.data)switch(i.data.head.value){case"r":a.forEach(l=>l.push(x.EMPTY.toNode()));break;case"l":a.forEach(l=>l.unshift(x.EMPTY.toNode()));break;default:break}return new Je(null,a)}if(i.head.value==="array"){let o={delim:od};ae(i.data!==null&&i.head.type===3);let l=cd(i.data.head.value);Object.assign(o,l);let s=new Je(Je.MAT,a);return s.setOptions(o),s}if(i.head.value.endsWith("matrix")){let o=new Je(Je.MAT,a),l;switch(i.head.value){case"matrix":l=x.NONE;break;case"pmatrix":return o;case"bmatrix":l=new x(4,"[");break;case"Bmatrix":l=new x(4,"{");break;case"vmatrix":l=new x(4,"|");break;case"Vmatrix":{l=new x(1,"bar.v.double");break}default:throw new Wr(`Unimplemented beginend: ${i.head}`,i)}return o.setOptions({delim:l.toNode()}),o}throw new Wr(`Unimplemented beginend: ${i.head}`,i)}default:throw new Wr(`Unimplemented node type: ${e.type}`,e)}}function md(){return`(${hd.map(t=>(t=t.replaceAll("|","\\|"),t=t.replaceAll(".","\\."),t=t.replaceAll("[","\\["),t=t.replaceAll("]","\\]"),t)).join("|")})`}function Zr(e,t={}){let r={nonStrict:!0,preferShorthands:!0,keepSpaces:!1,fracToSlash:!0,inftyToOo:!1,optimize:!0,customTexMacros:{}};if(typeof t!="object")throw new Error("options must be an object");for(let o in r)o in t&&(r[o]=t[o]);let n=Km(e,r.customTexMacros),i=Q(n,r),a=new td(r);return a.serialize(i),a.finalize()}var Ee,q,wt,Am,Cm,sr,qm,ur,_m,Lm,is,Nm,Rm,os,as,Om,zm,Pm,Zl,Vr,ar,Um,jm,Jl,es,ts,rs,$m,Z,Y,Hi,Ui,Vm,ji,Gi,N,x,Qm,ge,et,Zm,Xm,Oi,$i,pe,Jm,Kr,Qr,Te,Ue,Je,ed,ns,zi,td,Ae,rd,nd,Vi,id,Wr,od,ad,pd,fd,xv,hd,dd,kv,yv,vv,Sv,Tv,Ev,Av,Cv,qv,_v,Lv,Iv,Bv,Yi=Ut(()=>{q=(Ee=class{constructor(t,r){C(this,"type");C(this,"value");this.type=t,this.value=r}eq(t){return this.type===t.type&&this.value===t.value}toString(){return this.type===4?"%"+this.value:this.value}toNode(){return new Am(this)}},C(Ee,"EMPTY",new Ee(0,"")),C(Ee,"COMMAND_DISPLAYSTYLE",new Ee(2,"\\displaystyle")),C(Ee,"COMMAND_TEXTSTYLE",new Ee(2,"\\textstyle")),Ee),wt=class{constructor(e,t){C(this,"type");C(this,"head");this.type=e,this.head=t||q.EMPTY}eq(e){return this.type===e.type&&this.head.eq(e.head)}toString(){return this.serialize().reduce(Im,"")}},Am=class extends wt{constructor(e){super("terminal",e)}serialize(){switch(this.head.type){case 0:return[];case 1:case 2:case 3:case 4:case 7:return[this.head];case 5:case 6:{let e=[];for(let t of this.head.value){let r=t===" "?5:6;e.push(new q(r,t))}return e}default:throw new Error(`Unknown terminal token type: ${this.head.type}`)}}},Cm=class extends wt{constructor(e){ae(e.type===3),super("text",e)}serialize(){return[new q(2,"\\text"),new q(1,"{"),this.head,new q(1,"}")]}},sr=class extends wt{constructor(t){super("ordgroup",q.EMPTY);C(this,"items");this.items=t}serialize(){return this.items.map(t=>t.serialize()).flat()}},qm=class extends wt{constructor(t){super("supsub",q.EMPTY);C(this,"base");C(this,"sup");C(this,"sub");this.base=t.base,this.sup=t.sup,this.sub=t.sub}serialize(){let t=[],{base:r,sup:n,sub:i}=this;t=t.concat(r.serialize());function a(o){return o.type==="ordgroup"||o.type==="supsub"||o.head.type===0?!0:!!(o.head.type===1&&/\d+(\.\d+)?/.test(o.head.value)&&o.head.value.length>1)}return i&&(t.push(new q(7,"_")),a(i)?(t.push(new q(1,"{")),t=t.concat(i.serialize()),t.push(new q(1,"}"))):t=t.concat(i.serialize())),n&&(t.push(new q(7,"^")),a(n)?(t.push(new q(1,"{")),t=t.concat(n.serialize()),t.push(new q(1,"}"))):t=t.concat(n.serialize())),t}},ur=class extends wt{constructor(t,r,n=null){super("funcCall",t);C(this,"args");C(this,"data");this.args=r,this.data=n}serialize(){let t=[];t.push(this.head),this.head.value==="\\sqrt"&&this.data&&(t.push(new q(1,"[")),t=t.concat(this.data.serialize()),t.push(new q(1,"]")));for(let r of this.args)t.push(new q(1,"{")),t=t.concat(r.serialize()),t.push(new q(1,"}"));return t}},_m=class extends wt{constructor(t){super("leftright",q.EMPTY);C(this,"body");C(this,"left");C(this,"right");this.body=t.body,this.left=t.left,this.right=t.right}serialize(){let t=[];return t.push(new q(2,"\\left")),t.push(new q(1,this.left?this.left.value:".")),t=t.concat(this.body.serialize()),t.push(new q(2,"\\right")),t.push(new q(1,this.right?this.right.value:".")),t}},Lm=class extends wt{constructor(t,r,n=null){ae(t.type===3);super("beginend",t);C(this,"matrix");C(this,"data");this.matrix=r,this.data=n}serialize(){let t=[],r=this.matrix;t.push(new q(2,"\\begin")),t.push(new q(1,"{")),t=t.concat(this.head),t.push(new q(1,"}")),t.push(new q(6,`
6
- `));for(let n=0;n<r.length;n++){let i=r[n];for(let a=0;a<i.length;a++){let o=i[a];t=t.concat(o.serialize()),a!==i.length-1&&t.push(new q(7,"&"))}n!==r.length-1&&t.push(new q(7,"\\\\"))}return t.push(new q(6,`
7
- `)),t.push(new q(2,"\\end")),t.push(new q(1,"{")),t=t.concat(this.head),t.push(new q(1,"}")),t}};is={};Nm=class{constructor(e,t){C(this,"_input");C(this,"_lexer");C(this,"_pos",0);C(this,"_line",0);C(this,"_col",0);C(this,"_offset",0);C(this,"_less",null);C(this,"_go",!1);C(this,"_newstate",null);C(this,"_state");C(this,"_text",null);C(this,"_leng",null);C(this,"_reMatchArray",null);this._input=e,this._lexer=t,this._state=t.states[0]}text(){return this._text}leng(){return this._leng}reMatchArray(){return this._reMatchArray}pos(){return this._pos}line(){return this._line}column(){return this._col}input(){return this._input.charAt(this._pos+this._leng+this._offset++)}unput(){return this._offset=this._offset>0?this._offset--:0}less(e){return this._less=e,this._offset=0,this._text=this._text.substring(0,e),this._leng=this._text.length}pushback(e){return this.less(this._leng-e)}reject(){this._go=!0}begin(e){if(this._lexer.specification[e])return this._newstate=e;let t=this._lexer.states[parseInt(e)];if(t)return this._newstate=t;throw"Unknown state '"+e+"' requested"}state(){return this._state}scan(){if(this._pos>=this._input.length)return is;let e=this._input.substring(this._pos),t=this._lexer.specification[this._state],r=[];for(let s=0;s<t.length;s++){let u=t[s],p=e.match(u.re);p!==null&&p[0].length>0&&r.push({index:s,rule:u,reMatchArray:p})}if(r.length===0)throw new Error("No match found for input '"+e+"'");r.sort(Mm),this._go=!0;let n,i;for(let s=0,u=r.length;s<u&&this._go;s++){this._offset=0,this._less=null,this._go=!1,this._newstate=null;let p=r[s];if(i=p.reMatchArray[0],this._text=i,this._leng=i.length,this._reMatchArray=p.reMatchArray,n=p.rule.action(this),this._newstate&&this._newstate!=this._state){this._state=this._newstate;break}}let a=this._less===null?i:i.substring(0,this._less),o=a.length;this._pos+=o+this._offset;let l=a.match(/\n/g);return l!==null?(this._line+=l.length,this._col=o-a.lastIndexOf(`
8
- `)-1):this._col+=o,n}},Rm=class{constructor(e){C(this,"states");C(this,"specification");this.states=Object.keys(e),this.specification={};for(let t of this.states){let r=e[t];if(t in this.specification)throw"Duplicate state declaration encountered for state '"+t+"'";this.specification[t]=[];for(let[n,i]of r.entries()){let a;try{a=new RegExp("^"+n)}catch(o){throw"Invalid regexp '"+n+"' in state '"+t+"' ("+o.message+")"}this.specification[t].push({re:a,action:i})}}}scanner(e){return new Nm(e,this)}lex(e,t){let r=this.scanner(e);for(;;){let n=r.scan();if(n===is)return;n!==void 0&&t(n)}}collect(e){let t=[],r=function(n){Array.isArray(n)?t.push(...n):t.push(n)};return this.lex(e,r),t}},os=["sqrt","text","bar","bold","boldsymbol","ddot","dot","hat","mathbb","mathbf","mathcal","mathfrak","mathit","mathrm","mathscr","mathsf","mathtt","operatorname","operatorname*","overbrace","overline","pmb","rm","tilde","underbrace","underline","vec","widehat","widetilde","overleftarrow","overrightarrow","hspace","substack","displaylines","mathinner","mathrel","mathbin","mathop","not","bra","ket","braket","set","Bra","Ket","Braket","Set","pmod"],as=["frac","tfrac","binom","dbinom","dfrac","tbinom","overset","underset","textcolor"];Om=new Map([[String.raw`\\begin{(array|subarry)}{(.+?)}`,e=>{let t=e.reMatchArray();return[new q(2,"\\begin"),new q(7,"{"),new q(3,t[1]),new q(7,"}"),new q(7,"{"),new q(3,t[2]),new q(7,"}")]}],[String.raw`\\(text|operatorname\*?|textcolor|begin|end|hspace|array){(.+?)}`,e=>{let t=e.reMatchArray();return[new q(2,"\\"+t[1]),new q(7,"{"),new q(3,Dm(t[2])),new q(7,"}")]}],[String.raw`%[^\n]*`,e=>new q(4,e.text().substring(1))],[String.raw`[{}_^&]`,e=>new q(7,e.text())],[String.raw`\\[\\,:;!> ]`,e=>new q(7,e.text())],[String.raw`~`,e=>new q(7,e.text())],[String.raw`\r?\n`,e=>new q(6,`
9
- `)],[String.raw`\s+`,e=>new q(5,e.text())],[String.raw`\\[{}%$&#_|]`,e=>new q(1,e.text())],[String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])\s*([0-9a-zA-Z])`,e=>{let t=e.reMatchArray(),r=t[1];if(as.includes(r.substring(1))){let n=t[2].trimStart(),i=t[3];return[new q(2,r),new q(1,n),new q(1,i)]}else return e.reject(),[]}],[String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])`,e=>{let t=e.reMatchArray(),r=t[1];if(os.includes(r.substring(1))){let n=t[2].trimStart();return[new q(2,r),new q(1,n)]}else return e.reject(),[]}],[String.raw`\\[a-zA-Z]+`,e=>new q(2,e.text())],[String.raw`[0-9]+(\.[0-9]+)?`,e=>new q(1,e.text())],[String.raw`[a-zA-Z]`,e=>new q(1,e.text())],[String.raw`[+\-*/='<>!.,;:?()\[\]|]`,e=>new q(1,e.text())],[String.raw`[^\x00-\x7F]`,e=>new q(1,e.text())],[String.raw`.`,e=>new q(8,e.text())]]),zm={start:Om};Pm=["bigl","bigr","bigm","biggl","biggr","biggm","Bigl","Bigr","Bigm","Biggl","Biggr","Biggm"],Zl=q.EMPTY.toNode();Vr=new q(7,"{"),ar=new q(7,"}"),Um=new q(1,"["),jm=new q(1,"]");Jl=new q(2,"\\left"),es=new q(2,"\\right"),ts=new q(2,"\\begin"),rs=new q(2,"\\end"),$m=new q(7,"\\\\"),Y=(Z=class extends Error{constructor(t){super(t),this.name="LatexParserError"}},C(Z,"UNMATCHED_LEFT_BRACE",new Z("Unmatched '\\{'")),C(Z,"UNMATCHED_RIGHT_BRACE",new Z("Unmatched '\\}'")),C(Z,"UNMATCHED_LEFT_BRACKET",new Z("Unmatched '\\['")),C(Z,"UNMATCHED_RIGHT_BRACKET",new Z("Unmatched '\\]'")),C(Z,"UNMATCHED_COMMAND_BEGIN",new Z("Unmatched '\\begin'")),C(Z,"UNMATCHED_COMMAND_END",new Z("Unmatched '\\end'")),C(Z,"UNMATCHED_COMMAND_LEFT",new Z("Unmatched '\\left'")),C(Z,"UNMATCHED_COMMAND_RIGHT",new Z("Unmatched '\\right'")),Z),Hi=new q(7,"_"),Ui=new q(7,"^"),Vm=class{constructor(e=!1,t=!0){C(this,"space_sensitive");C(this,"newline_sensitive");C(this,"alignmentDepth",0);this.space_sensitive=e,this.newline_sensitive=t}parse(e){return this.parseGroup(e.slice(0))}parseGroup(e){let[t,r]=this.parseClosure(e,0,null);return t}parseClosure(e,t,r){let n=[],i=t;for(;i<e.length&&!(r!==null&&e[i].eq(r));){let[l,s]=this.parseNextExpr(e,i);i=s,!((l.head.type===5||l.head.type===6)&&(!this.space_sensitive&&l.head.value.replace(/ /g,"").length===0||!this.newline_sensitive&&l.head.value===`
10
- `))&&n.push(l)}if(i>=e.length&&r!==null)return[Zl,-1];let a=Gm(n),o;return a.length===1?o=a[0]:o=new sr(a),[o,i+1]}parseNextExpr(e,t){let[r,n]=this.parseNextExprWithoutSupSub(e,t),i=null,a=null,o=0;if(o+=lr(e,n),n+=o,n<e.length){let l=e[n];if(l.eq(Hi)){[i,n]=this.parseNextExprWithoutSupSub(e,n+1);let s=lr(e,n);if(o+=s,n+=s,n<e.length&&e[n].eq(Ui)&&([a,n]=this.parseNextExprWithoutSupSub(e,n+1),lr(e,n)>0))throw new Y("Double superscript")}else if(l.eq(Ui)){if([a,n]=this.parseNextExprWithoutSupSub(e,n+1),lr(e,n)>0)throw new Y("Double superscript");if(n<e.length&&e[n].eq(Hi)&&([i,n]=this.parseNextExprWithoutSupSub(e,n+1),lr(e,n)>0))throw new Y("Double superscript")}}if(i!==null||a!==null||o>0){let l={base:r,sup:null,sub:null};if(i&&(l.sub=i),o>0){let s=[];for(let u=0;u<o;u++)s.push(new q(1,"'").toNode());a&&s.push(a),l.sup=s.length===1?s[0]:new sr(s)}else a&&(l.sup=a);return[new qm(l),n]}else return[r,n]}parseNextExprWithoutSupSub(e,t){if(t>=e.length)throw new Y("Unexpected end of input");let r=e[t];switch(r.type){case 1:case 3:case 4:case 5:case 6:return[r.toNode(),t+1];case 2:let n=r.value.slice(1);if(Pm.includes(n))return this.parseNextExprWithoutSupSub(e,t+1);if(r.eq(ts))return this.parseBeginEndExpr(e,t);if(r.eq(rs))throw Y.UNMATCHED_COMMAND_END;if(r.eq(Jl))return this.parseLeftRightExpr(e,t);if(r.eq(es))throw Y.UNMATCHED_COMMAND_RIGHT;return this.parseCommandExpr(e,t);case 7:switch(r.value){case"{":let[a,o]=this.parseClosure(e,t+1,ar);if(o===-1)throw Y.UNMATCHED_LEFT_BRACE;return[a,o];case"}":throw Y.UNMATCHED_RIGHT_BRACE;case"\\\\":case"\\!":case"\\,":case"\\:":case"\\;":case"\\>":return[r.toNode(),t+1];case"\\ ":case"~":return[r.toNode(),t+1];case"_":case"^":return[Zl,t];case"&":if(this.alignmentDepth<=0)throw new Y("Unexpected & outside of an alignment");return[r.toNode(),t+1];default:throw new Y("Unknown control sequence")}default:throw new Y("Unknown token type")}}parseCommandExpr(e,t){ae(e[t].type===2);let r=e[t],n=r.value,i=t+1;switch(Hm(n.slice(1))){case 0:return[r.toNode(),i];case 1:{if(i>=e.length)throw new Y("Expecting argument for "+n);if(n==="\\sqrt"&&i<e.length&&e[i].eq(Um)){let[s,u]=this.parseClosure(e,i+1,jm);if(u===-1)throw Y.UNMATCHED_LEFT_BRACKET;let[p,c]=this.parseNextArg(e,u);return[new ur(r,[p],s),c]}else if(n==="\\text"){if(i+2>=e.length)throw new Y("Expecting content for \\text command");ae(e[i].eq(Vr)),ae(e[i+1].type===3),ae(e[i+2].eq(ar));let s=e[i+1];return[new Cm(s),i+3]}else if(n==="\\displaylines"){ae(e[i].eq(Vr));let[s,u]=this.parseAligned(e,i+1,ar);if(u===-1)throw Y.UNMATCHED_LEFT_BRACE;let p=new sr(Fm(s,$m.toNode()));return[new ur(r,[p]),u]}let[o,l]=this.parseNextArg(e,i);return[new ur(r,[o]),l]}case 2:{let[o,l]=this.parseNextArg(e,i),[s,u]=this.parseNextArg(e,l);return[new ur(r,[o,s]),u]}default:throw new Error("Invalid number of parameters")}}parseNextArg(e,t){let r=t,n=null;for(;r<e.length;){let i;if([i,r]=this.parseNextExprWithoutSupSub(e,r),!(i.head.type===5||i.head.type===6)){n=i;break}}if(n===null)throw new Y("Expecting argument but token stream ended");return[n,r]}parseLeftRightExpr(e,t){ae(e[t].eq(Jl));let r=t+1;if(r+=Yr(e,r).length,r>=e.length)throw new Y("Expecting a delimiter after \\left");let n=Xl(e,r);if(n===null)throw new Y("Invalid delimiter after \\left");r++;let[i,a]=this.parseClosure(e,r,es);if(a===-1)throw Y.UNMATCHED_COMMAND_LEFT;if(r=a,r+=Yr(e,r).length,r>=e.length)throw new Y("Expecting a delimiter after \\right");let o=Xl(e,r);if(o===null)throw new Y("Invalid delimiter after \\right");r++;let l=n.value==="."?null:n,s=o.value==="."?null:o;return[new _m({body:i,left:l,right:s}),r]}parseBeginEndExpr(e,t){ae(e[t].eq(ts));let r=t+1;ae(e[r].eq(Vr)),ae(e[r+1].type===3),ae(e[r+2].eq(ar));let n=e[r+1].value;r+=3;let i=null;["array","subarray"].includes(n)&&(r+=Yr(e,r).length,[i,r]=this.parseNextArg(e,r));let[a,o]=this.parseAligned(e,r,rs);if(o===-1)throw Y.UNMATCHED_COMMAND_BEGIN;if(r=o,ae(e[r].eq(Vr)),ae(e[r+1].type===3),ae(e[r+2].eq(ar)),e[r+1].value!==n)throw new Y("\\begin and \\end environments mismatch");return r+=3,[new Lm(new q(3,n),a,i),r]}parseAligned(e,t,r){this.alignmentDepth++;let n=t;n+=Yr(e,n).length;let i;if([i,n]=this.parseClosure(e,n,r),n===-1)return[[],-1];let a;if(i.type==="ordgroup"){let o=i.items;for(;o.length>0&&[5,6].includes(o[o.length-1].head.type);)o.pop();a=Ql(o,new q(7,"\\\\").toNode()).map(l=>Ql(l,new q(7,"&").toNode()).map(s=>new sr(s)))}else a=[[i]];return this.alignmentDepth--,[a,n]}};ji=new Map([["arrow.l.r.double.long","<==>"],["arrow.l.r.long","<-->"],["arrow.r.bar","|->"],["arrow.r.double.bar","|=>"],["arrow.r.double.long","==>"],["arrow.r.long","-->"],["arrow.r.long.squiggly","~~>"],["arrow.r.tail",">->"],["arrow.r.twohead","->>"],["arrow.l.double.long","<=="],["arrow.l.long","<--"],["arrow.l.long.squiggly","<~~"],["arrow.l.tail","<-<"],["arrow.l.twohead","<<-"],["arrow.l.r.double","<=>"],["colon.double.eq","::="],["dots.h","..."],["gt.triple",">>>"],["lt.triple","<<<"],["arrow.r","->"],["arrow.r.double","=>"],["arrow.r.squiggly","~>"],["arrow.l","<-"],["arrow.l.squiggly","<~"],["bar.v.double","||"],["bracket.l.stroked","[|"],["bracket.r.stroked","|]"],["colon.eq",":="],["eq.colon","=:"],["eq.not","!="],["gt.double",">>"],["gt.eq",">="],["lt.double","<<"],["lt.eq","<="],["ast.op","*"],["minus","-"],["tilde.op","~"],["arrow.l.r","<->"]]),Gi=new Map;for(let[e,t]of ji.entries())t.length>1&&Gi.set(t,e);x=(N=class{constructor(t,r){C(this,"type");C(this,"value");this.type=t,this.value=r}eq(t){return this.type===t.type&&this.value===t.value}isOneOf(t){return Bm(t,this)}toNode(){return new Zm(this)}toString(){switch(this.type){case 4:return`"${this.value}"`;case 5:return`//${this.value}`;default:return this.value}}},C(N,"NONE",new N(0,"#none")),C(N,"EMPTY",new N(2,"")),C(N,"LEFT_BRACE",new N(2,"{")),C(N,"RIGHT_BRACE",new N(2,"}")),C(N,"LEFT_PAREN",new N(2,"(")),C(N,"RIGHT_PAREN",new N(2,")")),C(N,"LEFT_ANGLE",new N(1,"chevron.l")),C(N,"RIGHT_ANGLE",new N(1,"chevron.r")),C(N,"VERTICAL_BAR",new N(2,"|")),C(N,"PLUS",new N(2,"+")),C(N,"MINUS",new N(2,"-")),C(N,"LR",new N(1,"lr")),C(N,"LEFT_DELIMITERS",[N.LEFT_PAREN,new N(2,"["),N.LEFT_BRACE,N.VERTICAL_BAR,N.LEFT_ANGLE,new N(1,"paren.l"),new N(1,"brace.l")]),C(N,"RIGHT_DELIMITERS",[N.RIGHT_PAREN,new N(2,"]"),N.RIGHT_BRACE,N.VERTICAL_BAR,N.RIGHT_ANGLE,new N(1,"paren.r"),new N(1,"brace.r")]),N),Qm=class extends Error{constructor(t,r){super(t);C(this,"node");this.name="TypstWriterError",this.node=r}},ge=new x(7," "),et=class{constructor(e,t){C(this,"type");C(this,"head");C(this,"options");this.type=e,this.head=t||x.NONE}setOptions(e){this.options=e}eq(e){return this.type===e.type&&this.head.eq(e.head)}toString(){throw new Error("Unimplemented toString() in base class TypstNode")}},Zm=class extends et{constructor(e){super("terminal",e)}isOverHigh(){return!1}isLeftSpaceful(){switch(this.head.type){case 6:case 8:return!1;case 4:return!0;case 1:case 2:return!["(","!",",",")","}","]"].includes(this.head.value);default:return!0}}isRightSpaceful(){switch(this.head.type){case 6:case 8:return!1;case 4:return!0;case 1:case 2:return["+","=",",","\\/","dot","dot.op","arrow","arrow.r"].includes(this.head.value);default:return!1}}toString(){return this.head.toString()}serialize(e,t){if(this.head.type===2){if(this.head.value===","&&e.insideFunctionDepth>0)return[ge,new x(1,"comma")]}else if(this.head.type===1){let r=this.head.value;return t.preferShorthands&&ji.has(r)&&(r=ji.get(r)),t.inftyToOo&&r==="infinity"&&(r="oo"),[new x(1,r)]}else if(this.head.type===6||this.head.type===8){let r=[];for(let n of this.head.value)if(n===" ")t.keepSpaces&&r.push(new x(6,n));else if(n===`
11
- `)r.push(new x(1,n));else throw new Qm(`Unexpected whitespace character: ${n}`,this);return r}return[this.head]}},Xm=class{constructor(){C(this,"queue",[])}pushSoftSpace(){if(this.queue.length!==0){{if(this.queue.at(-1).eq(ge))return;if(["(","{","["].includes(this.queue.at(-1).value))return}this.queue.push(ge)}}pushAll(e){if(e.length!=0)if(e[0].eq(ge)&&this.queue.length===0)this.queue.push(...e.slice(1));else{if([")","}","]"].includes(e[0].value))for(;this.queue.at(-1)?.eq(ge);)this.queue.pop();this.queue.push(...e)}}getQueue(){let e=Array.from(this.queue);for(;e.at(-1)?.eq(ge);)e.pop();return e}},Oi=class extends et{constructor(t){super("group",x.NONE);C(this,"items");this.items=t}isOverHigh(){return this.items.some(t=>t.isOverHigh())}isLeftSpaceful(){return this.items.length===0?!1:this.items[0].isLeftSpaceful()}isRightSpaceful(){return this.items.length===0?!1:this.items.at(-1).isRightSpaceful()}serialize(t,r){if(this.items.length===0)return[];let n=new Xm;for(let a=0;a<this.items.length;a++){let o=this.items[a],l=o.serialize(t,r);o.isLeftSpaceful()&&n.pushSoftSpace(),n.pushAll(l),o.isRightSpaceful()&&n.pushSoftSpace()}let i=n.getQueue();if(i.length>0&&(i[0].eq(x.MINUS)||i[0].eq(x.PLUS)))for(;i.length>1&&i[1].eq(ge);)i.splice(1,1);return i}},$i=class extends et{constructor(t){super("supsub",x.NONE);C(this,"base");C(this,"sup");C(this,"sub");this.base=t.base,this.sup=t.sup,this.sub=t.sub}isOverHigh(){return this.base.isOverHigh()}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[],{base:i,sup:a,sub:o}=this;n.push(...i.serialize(t,r));let l=a&&a.head.eq(new x(2,"'"));return l&&n.push(new x(2,"'")),o&&(n.push(new x(2,"_")),n.push(...o.serialize(t,r))),a&&!l&&(n.push(new x(2,"^")),n.push(...a.serialize(t,r))),n}},pe=class extends et{constructor(t,r){super("funcCall",t);C(this,"args");this.args=r}isOverHigh(){return this.head.value==="frac"?!0:this.args.some(t=>t.isOverHigh())}isLeftSpaceful(){return!0}isRightSpaceful(){return!["op","bold","dot"].includes(this.head.value)}serialize(t,r){let n=[],i=this.head;n.push(i),t.insideFunctionDepth++,n.push(Kr);for(let a=0;a<this.args.length;a++)n.push(...this.args[a].serialize(t,r)),a<this.args.length-1&&(n.push(new x(2,",")),n.push(ge));if(this.options)for(let[a,o]of Object.entries(this.options))n.push(new x(3,`, ${a}: ${o.toString()}`));return n.push(Qr),t.insideFunctionDepth--,n}},Jm=class extends et{constructor(t){super("fraction",x.NONE);C(this,"args");this.args=t}isOverHigh(){return!0}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[],[i,a]=this.args;return n.push(...i.serialize(t,r)),n.push(new x(2,"/")),n.push(...a.serialize(t,r)),n}},Kr=new x(2,"("),Qr=new x(2,")"),Te=class extends et{constructor(t,r){super("leftright",t);C(this,"body");C(this,"left");C(this,"right");this.body=r.body,this.left=r.left,this.right=r.right}isOverHigh(){return this.body.isOverHigh()}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[],i=new x(1,"lr"),{left:a,right:o}=this;return this.head.eq(i)&&(n.push(i),n.push(Kr)),a&&(n.push(a),Kl(a.value[0])&&n.push(ge)),n.push(...this.body.serialize(t,r)),o&&(Kl(o.value[0])&&n.push(ge),n.push(o)),this.head.eq(i)&&n.push(Qr),n}},Je=(Ue=class extends et{constructor(r,n){super("matrixLike",r);C(this,"matrix");this.matrix=n}isOverHigh(){return!0}isLeftSpaceful(){return!0}isRightSpaceful(){return!1}serialize(r,n){let i=[],a,o;if(this.head.eq(Ue.MAT)?(a=new x(2,","),o=new x(2,";")):this.head.eq(Ue.CASES)?(a=new x(2,"&"),o=new x(2,",")):this.head.eq(x.NONE)&&(a=new x(2,"&"),o=new x(1,"\\")),!this.head.eq(x.NONE)&&(i.push(this.head),r.insideFunctionDepth++,i.push(Kr),this.options))for(let[l,s]of Object.entries(this.options))i.push(new x(3,`${l}: ${s.toString()}, `));return this.matrix.forEach((l,s)=>{l.forEach((u,p)=>{i.push(...u.serialize(r,n)),p<l.length-1?(a.value==="&"&&i.push(ge),i.push(a),i.push(ge)):s<this.matrix.length-1&&(o.value==="\\"&&i.push(ge),i.push(o),i.push(ge))})}),this.head.eq(x.NONE)||(i.push(Qr),r.insideFunctionDepth--),i}},C(Ue,"MAT",new x(1,"mat")),C(Ue,"CASES",new x(1,"cases")),Ue),ed=class extends et{constructor(t,r){super("markupFunc",t);C(this,"fragments");this.fragments=r}isOverHigh(){return this.fragments.some(t=>t.isOverHigh())}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[];if(n.push(this.head),t.insideFunctionDepth++,n.push(Kr),this.options){let i=Object.entries(this.options);for(let a=0;a<i.length;a++){let[o,l]=i[a];n.push(new x(3,`${o}: ${l.toString()}`)),a<i.length-1&&n.push(new x(2,","))}}n.push(Qr),n.push(new x(3,"["));for(let i of this.fragments)n.push(new x(3,"$")),n.push(...i.serialize(t,r)),n.push(new x(3,"$"));return n.push(new x(3,"]")),n}},ns=new x(1,`
12
- `),zi=new x(7," "),td=class{constructor(e){C(this,"buffer","");C(this,"queue",[]);C(this,"options");this.options=e}serialize(e){let t={insideFunctionDepth:0};this.queue.push(...e.serialize(t,this.options))}flushQueue(){let e=this.queue.filter(n=>n.value!==""),t=[];for(let n of e)n.eq(zi)&&t.length>0&&t[t.length-1].eq(zi)||t.push(n);let r=new x(1,"");for(let n=0;n<t.length;n++)t[n].eq(zi)&&(n===0||n===t.length-1||t[n-1].type===6||t[n-1].eq(ns)||t[n+1].eq(ns))&&(t[n]=r);for(let n of t)this.buffer+=n.toString();this.queue=[]}finalize(){this.flushQueue();let e=function(n){let i=n.replace(/floor\.l\s*(.*?)\s*floor\.r/g,"floor($1)");return i=i.replace(/floor\(\)/g,'floor("")'),i},t=function(n){let i=n.replace(/ceil\.l\s*(.*?)\s*ceil\.r/g,"ceil($1)");return i=i.replace(/ceil\(\)/g,'ceil("")'),i},r=function(n){let i=n.replace(/floor\.l\s*(.*?)\s*ceil\.r/g,"round($1)");return i=i.replace(/round\(\)/g,'round("")'),i};if(this.options.optimize){let n=[e,t,r];for(let i of n)this.buffer=i(this.buffer)}return this.buffer=this.buffer.replace(/& =/g,"&="),this.buffer}},Ae=new Map([["displaystyle","display"],["textstyle","inline"],["hspace","#h"],["|","bar.v.double"],[",","thin"],[":","med"],[" ","med"],[";","thick"],[">","med"],["~","space.nobreak"],["blacktriangleleft","triangle.filled.l"],["blacktriangleright","triangle.filled.r"],["clubsuit","suit.club.filled"],["hookleftarrow","arrow.l.hook"],["hookrightarrow","arrow.r.hook"],["leftrightarrow","arrow.l.r"],["lgblksquare","square.filled.big"],["lgwhtsquare","square.stroked.big"],["nearrow","arrow.tr"],["nwarrow","arrow.tl"],["searrow","arrow.br"],["swarrow","arrow.bl"],["spadesuit","suit.spade.filled"],["updownarrow","arrow.t.b"],["ln","ln"],["log","log"],["cos","cos"],["sin","sin"],["tan","tan"],["cot","cot"],["sec","sec"],["csc","csc"],["mod","mod"],["omicron","omicron"],["Xi","Xi"],["Upsilon","Upsilon"],["lim","lim"],["binom","binom"],["tilde","tilde"],["hat","hat"],["sqrt","sqrt"],["bmod","mod"],["nonumber",""],["vec","arrow"],["neq","eq.not"],["dot","dot"],["ddot","dot.double"],["doteq","dot(eq)"],["dots","dots.h"],["vdots","dots.v"],["ddots","dots.down"],["widehat","hat"],["widetilde","tilde"],["quad","quad"],["qquad","wide"],["overbrace","overbrace"],["underbrace","underbrace"],["overline","overline"],["underline","underline"],["bar","macron"],["dbinom","binom"],["tbinom","binom"],["dfrac","frac"],["tfrac","frac"],["operatorname","op"],["operatorname*","op"],["boldsymbol","bold"],["mathbb","bb"],["mathbf","bold"],["mathcal","cal"],["mathscr","scr"],["mathit","italic"],["mathfrak","frak"],["mathrm","upright"],["mathsf","sans"],["mathtt","mono"],["rm","upright"],["pmb","bold"],["leadsto","arrow.r.squiggly"],["P","pilcrow"],["S","section"],["aleph","alef"],["infin","infinity"],["Delta","Delta"],["Gamma","Gamma"],["Lambda","Lambda"],["Omega","Omega"],["Phi","Phi"],["Pi","Pi"],["Psi","Psi"],["Sigma","Sigma"],["Theta","Theta"],["alpha","alpha"],["beta","beta"],["bigcirc","circle.big"],["bullet","bullet"],["cdot","dot.op"],["cdots","dots.c"],["checkmark","checkmark"],["chi","chi"],["circ","circle.small"],["colon","colon"],["cong","tilde.equiv"],["coprod","product.co"],["copyright","copyright"],["cup","union"],["curlyvee","or.curly"],["curlywedge","and.curly"],["dagger","dagger"],["dashv","tack.l"],["ddagger","dagger.double"],["delta","delta"],["ddots","dots.down"],["diamond","diamond"],["div","div"],["divideontimes","times.div"],["dotplus","plus.dot"],["ell","ell"],["emptyset","nothing"],["epsilon","epsilon.alt"],["equiv","equiv"],["eta","eta"],["exists","exists"],["forall","forall"],["gamma","gamma"],["ge","gt.eq"],["geq","gt.eq"],["geqslant","gt.eq.slant"],["gg","gt.double"],["hbar","planck"],["imath","dotless.i"],["iiiint","integral.quad"],["iiint","integral.triple"],["iint","integral.double"],["in","in"],["infty","infinity"],["int","integral"],["intercal","top"],["iota","iota"],["jmath","dotless.j"],["kappa","kappa"],["lambda","lambda"],["land","and"],["langle","chevron.l"],["lbrace","brace.l"],["lbrack","bracket.l"],["ldots","dots.h"],["le","lt.eq"],["leftthreetimes","times.three.l"],["leftrightarrow","arrow.l.r"],["leq","lt.eq"],["leqslant","lt.eq.slant"],["lhd","triangle.l"],["ll","lt.double"],["lor","or"],["ltimes","times.l"],["measuredangle","angle.arc"],["mid","divides"],["models","models"],["mp","minus.plus"],["mu","mu"],["nabla","nabla"],["ncong","tilde.equiv.not"],["ne","eq.not"],["neg","not"],["neq","eq.not"],["nexists","exists.not"],["ni","in.rev"],["nleftarrow","arrow.l.not"],["nleq","lt.eq.not"],["nparallel","parallel.not"],["ngeq","gt.eq.not"],["nmid","divides.not"],["notin","in.not"],["nsim","tilde.not"],["nsubseteq","subset.eq.not"],["nu","nu"],["ntriangleleft","lt.tri.not"],["ntriangleright","gt.tri.not"],["odot","dot.circle"],["oint","integral.cont"],["oiint","integral.surf"],["oiiint","integral.vol"],["omega","omega"],["ominus","minus.circle"],["otimes","times.circle"],["parallel","parallel"],["partial","partial"],["perp","perp"],["phi","phi.alt"],["pi","pi"],["pm","plus.minus"],["pounds","pound"],["prec","prec"],["preceq","prec.eq"],["prime","prime"],["prod","product"],["propto","prop"],["psi","psi"],["rangle","chevron.r"],["rbrace","brace.r"],["rbrack","bracket.r"],["rhd","triangle"],["rho","rho"],["rightarrow","arrow.r"],["rightthreetimes","times.three.r"],["rtimes","times.r"],["setminus","without"],["sigma","sigma"],["sim","tilde.op"],["simeq","tilde.eq"],["slash","slash"],["smallsetminus","without"],["spadesuit","suit.spade"],["sqsubseteq","subset.eq.sq"],["sqsupseteq","supset.eq.sq"],["subset","subset"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["succeq","succ.eq"],["sum","sum"],["supset","supset"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["tau","tau"],["theta","theta"],["times","times"],["to","arrow.r"],["top","top"],["triangle","triangle.t"],["twoheadrightarrow","arrow.r.twohead"],["upharpoonright","harpoon.tr"],["uplus","union.plus"],["upsilon","upsilon"],["varepsilon","epsilon"],["varnothing","diameter"],["varphi","phi"],["varpi","pi.alt"],["varrho","rho.alt"],["varsigma","sigma.alt"],["vartheta","theta.alt"],["vdash","tack.r"],["vdots","dots.v"],["vee","or"],["wedge","and"],["wr","wreath"],["xi","xi"],["yen","yen"],["zeta","zeta"],["intop","limits(integral)"],["LaTeX","#LaTeX"],["TeX","#TeX"]]),rd=new Map([["acwopencirclearrow","arrow.ccw"],["adots","dots.up"],["angdnr","angle.acute"],["angle","angle"],["angles","angle.s"],["approx","approx"],["approxeq","approx.eq"],["approxident","tilde.triple"],["assert","tack.r.short"],["ast","ast.op"],["astrosun","sun"],["asymp","asymp"],["awint","integral.ccw"],["backcong","tilde.rev.equiv"],["backdprime","prime.double.rev"],["backprime","prime.rev"],["backsim","tilde.rev"],["backsimeq","tilde.eq.rev"],["backslash","backslash"],["backtrprime","prime.triple.rev"],["bardownharpoonleft","harpoon.bl.bar"],["bardownharpoonright","harpoon.br.bar"],["barleftarrow","arrow.l.stop"],["barleftarrowrightarrowbar","arrows.lr.stop"],["barleftharpoondown","harpoon.lb.stop"],["barleftharpoonup","harpoon.lt.stop"],["barrightharpoondown","harpoon.rb.bar"],["barrightharpoonup","harpoon.rt.bar"],["baruparrow","arrow.t.stop"],["barupharpoonleft","harpoon.tl.stop"],["barupharpoonright","harpoon.tr.stop"],["barV","tack.b.double"],["BbbA","AA"],["BbbB","BB"],["BbbC","CC"],["BbbD","DD"],["BbbE","EE"],["BbbF","FF"],["BbbG","GG"],["BbbH","HH"],["BbbI","II"],["BbbJ","JJ"],["BbbK","KK"],["BbbL","LL"],["BbbM","MM"],["BbbN","NN"],["BbbO","OO"],["BbbP","PP"],["BbbQ","QQ"],["BbbR","RR"],["BbbS","SS"],["BbbT","TT"],["BbbU","UU"],["BbbV","VV"],["BbbW","WW"],["BbbX","XX"],["BbbY","YY"],["BbbZ","ZZ"],["because","because"],["bigblacktriangledown","triangle.filled.b"],["bigblacktriangleup","triangle.filled.t"],["bigbot","tack.t.big"],["bigcap","inter.big"],["bigcup","union.big"],["bigcupdot","union.dot.big"],["biginterleave","interleave.big"],["bigodot","dot.o.big"],["bigoplus","plus.o.big"],["bigotimes","times.o.big"],["bigsqcap","inter.sq.big"],["bigsqcup","union.sq.big"],["bigstar","star.filled"],["bigtimes","times.big"],["bigtop","tack.b.big"],["bigtriangledown","triangle.stroked.b"],["bigtriangleup","triangle.stroked.t"],["biguplus","union.plus.big"],["bigvee","or.big"],["bigwedge","and.big"],["bigwhitestar","star.stroked"],["blackhourglass","hourglass.filled"],["blacktriangle","triangle.filled.small.t"],["blacktriangledown","triangle.filled.small.b"],["blkhorzoval","ellipse.filled.h"],["blkvertoval","ellipse.filled.v"],["bot","bot"],["boxast","ast.square"],["boxdot","dot.square"],["boxminus","minus.square"],["boxplus","plus.square"],["boxtimes","times.square"],["cap","inter"],["Cap","inter.double"],["capdot","inter.dot"],["capwedge","inter.and"],["caretinsert","caret"],["cdot","dot.op"],["cdotp","dot.c"],["checkmark","checkmark"],["circledast","ast.op.o"],["circledbullet","bullet.o"],["circledcirc","compose.o"],["circleddash","dash.o"],["circledequal","cc.nd"],["circledparallel","parallel.o"],["circledvert","bar.v.o"],["circledwhitebullet","bullet.stroked.o"],["Colon","colon.double"],["coloneq","colon.eq"],["Coloneq","colon.double.eq"],["complement","complement"],["cong","tilde.equiv"],["coprod","product.co"],["cup","union"],["Cup","union.double"],["cupdot","union.dot"],["cupleftarrow","union.arrow"],["cupvee","union.or"],["curlyeqprec","eq.prec"],["curlyeqsucc","eq.succ"],["curlyvee","or.curly"],["curlywedge","and.curly"],["curvearrowleft","arrow.ccw.half"],["curvearrowright","arrow.cw.half"],["cwopencirclearrow","arrow.cw"],["dagger","dagger"],["dashcolon","dash.colon"],["dashv","tack.l"],["Dashv","tack.l.double"],["dashVdash","tack.l.r"],["ddagger","dagger.double"],["ddddot","dot.quad"],["dddot","dot.triple"],["ddots","dots.down"],["DDownarrow","arrow.b.quad"],["Ddownarrow","arrow.b.triple"],["diameter","diameter"],["diamondcdot","diamond.stroked.dot"],["diamondsuit","suit.diamond.stroked"],["dicei","die.one"],["diceii","die.two"],["diceiii","die.three"],["diceiv","die.four"],["dicev","die.five"],["dicevi","die.six"],["div","div"],["divideontimes","times.div"],["Doteq","eq.dots"],["dotminus","minus.dot"],["dotplus","plus.dot"],["dotsim","tilde.dot"],["dottedcircle","circle.dotted"],["dottedsquare","square.stroked.dotted"],["doubleplus","plus.double"],["downarrow","arrow.b"],["Downarrow","arrow.b.double"],["downarrowbar","arrow.b.stop"],["downarrowbarred","arrow.b.struck"],["downdasharrow","arrow.b.dashed"],["downdownarrows","arrows.bb"],["downharpoonleft","harpoon.bl"],["downharpoonleftbar","harpoon.bl.stop"],["downharpoonright","harpoon.br"],["downharpoonrightbar","harpoon.br.stop"],["downharpoonsleftright","harpoons.blbr"],["downuparrows","arrows.bt"],["downupharpoonsleftright","harpoons.bltr"],["downwhitearrow","arrow.b.stroked"],["downzigzagarrow","arrow.zigzag"],["dprime","prime.double"],["dualmap","multimap.double"],["eighthnote","note.eighth.alt"],["ell","ell"],["emptysetoarr","emptyset.arrow.r"],["emptysetoarrl","emptyset.arrow.l"],["emptysetobar","emptyset.bar"],["emptysetocirc","emptyset.circle"],["eparsl","parallel.slanted.eq"],["eqcolon","eq.colon"],["eqdef","eq.def"],["eqgtr","eq.gt"],["eqless","eq.lt"],["eqsim","minus.tilde"],["equal","eq"],["equalparallel","parallel.eq"],["equiv","eq.triple"],["Equiv","eq.quad"],["equivVert","parallel.equiv"],["eqvparsl","parallel.slanted.equiv"],["errbarblackcircle","errorbar.circle.filled"],["errbarblackdiamond","errorbar.diamond.filled"],["errbarblacksquare","errorbar.square.filled"],["errbarcircle","errorbar.circle.stroked"],["errbardiamond","errorbar.diamond.stroked"],["errbarsquare","errorbar.square.stroked"],["euro","euro"],["exists","exists"],["fallingdotseq","eq.dots.down"],["fint","integral.slash"],["flat","flat"],["forall","forall"],["fourvdots","fence.dotted"],["frown","frown"],["fullouterjoin","join.l.r"],["geq","gt.eq"],["geqq","gt.equiv"],["geqslant","gt.eq.slant"],["gg","gt.double"],["ggg","gt.triple"],["gggnest","gt.triple.nested"],["gnapprox","gt.napprox"],["gneq","gt.neq"],["gneqq","gt.nequiv"],["gnsim","gt.ntilde"],["greater","gt"],["gtlpar","angle.spheric.rev"],["gtrapprox","gt.approx"],["gtrdot","gt.dot"],["gtreqless","gt.eq.lt"],["gtrless","gt.lt"],["gtrsim","gt.tilde"],["heartsuit","suit.heart.stroked"],["hknearrow","arrow.tr.hook"],["hknwarrow","arrow.tl.hook"],["hksearrow","arrow.br.hook"],["hkswarrow","arrow.bl.hook"],["horizbar","bar.h"],["hourglass","hourglass.stroked"],["hrectangle","rect.stroked.h"],["hrectangleblack","rect.filled.h"],["hyphenbullet","bullet.hyph"],["iiiint","integral.quad"],["iiint","integral.triple"],["iinfin","infinity.incomplete"],["iint","integral.double"],["Im","Im"],["imageof","image"],["in","in"],["increment","laplace"],["infty","infinity"],["int","integral"],["intbar","integral.dash"],["intBar","integral.dash.double"],["intcap","integral.inter"],["intclockwise","integral.cw"],["intcup","integral.union"],["interleave","interleave"],["intlarhk","integral.arrow.hook"],["intx","integral.times"],["inversebullet","bullet.hole"],["Join","join"],["langle","chevron.l"],["lAngle","chevron.l.double"],["langledot","chevron.l.dot"],["lat","lat"],["late","lat.eq"],["lbag","bag.l"],["lblkbrbrak","shell.l.filled"],["lbrace","brace.l"],["lBrace","brace.l.stroked"],["lbrack","bracket.l"],["lBrack","bracket.l.stroked"],["lbracklltick","bracket.l.tick.b"],["lbrackultick","bracket.l.tick.t"],["lbrbrak","shell.l"],["Lbrbrak","shell.l.stroked"],["lceil","ceil.l"],["lcurvyangle","chevron.l.curly"],["leftarrow","arrow.l"],["Leftarrow","arrow.l.double"],["leftarrowtail","arrow.l.tail"],["leftarrowtriangle","arrow.l.open"],["leftdasharrow","arrow.l.dashed"],["leftdotarrow","arrow.l.dotted"],["leftdowncurvedarrow","arrow.l.curve"],["leftharpoondown","harpoon.lb"],["leftharpoondownbar","harpoon.lb.bar"],["leftharpoonsupdown","harpoons.ltlb"],["leftharpoonup","harpoon.lt"],["leftharpoonupbar","harpoon.lt.bar"],["leftleftarrows","arrows.ll"],["leftouterjoin","join.l"],["Leftrightarrow","arrow.l.r.double"],["leftrightarrows","arrows.lr"],["leftrightarrowtriangle","arrow.l.r.open"],["leftrightharpoondowndown","harpoon.lb.rb"],["leftrightharpoondownup","harpoon.lb.rt"],["leftrightharpoons","harpoons.ltrb"],["leftrightharpoonsdown","harpoons.lbrb"],["leftrightharpoonsup","harpoons.ltrt"],["leftrightharpoonupdown","harpoon.lt.rb"],["leftrightharpoonupup","harpoon.lt.rt"],["leftrightsquigarrow","arrow.l.r.wave"],["leftsquigarrow","arrow.l.squiggly"],["leftthreearrows","arrows.lll"],["leftthreetimes","times.three.l"],["leftwavearrow","arrow.l.wave"],["leftwhitearrow","arrow.l.stroked"],["leq","lt.eq"],["leqq","lt.equiv"],["leqslant","lt.eq.slant"],["less","lt"],["lessapprox","lt.approx"],["lessdot","lt.dot"],["lesseqgtr","lt.eq.gt"],["lessgtr","lt.gt"],["lesssim","lt.tilde"],["lfloor","floor.l"],["lgblkcircle","circle.filled.big"],["lgroup","paren.l.flat"],["lgwhtcircle","circle.stroked.big"],["ll","lt.double"],["llangle","chevron.l.closed"],["llblacktriangle","triangle.filled.bl"],["llcorner","corner.l.b"],["LLeftarrow","arrow.l.quad"],["Lleftarrow","arrow.l.triple"],["lll","lt.triple"],["lllnest","lt.triple.nested"],["llparenthesis","paren.l.closed"],["lltriangle","triangle.stroked.bl"],["lmoustache","mustache.l"],["lnapprox","lt.napprox"],["lneq","lt.neq"],["lneqq","lt.nequiv"],["lnsim","lt.ntilde"],["longdashv","tack.l.long"],["Longleftarrow","arrow.l.double.long"],["longleftarrow","arrow.l.long"],["Longleftrightarrow","arrow.l.r.double.long"],["longleftrightarrow","arrow.l.r.long"],["longleftsquigarrow","arrow.l.long.squiggly"],["Longmapsfrom","arrow.l.double.long.bar"],["longmapsfrom","arrow.l.long.bar"],["longmapsto","arrow.r.long.bar"],["Longmapsto","arrow.r.double.long.bar"],["Longrightarrow","arrow.r.double.long"],["longrightarrow","arrow.r.long"],["longrightsquigarrow","arrow.r.long.squiggly"],["looparrowleft","arrow.l.loop"],["looparrowright","arrow.r.loop"],["lparen","paren.l"],["lParen","paren.l.stroked"],["lrblacktriangle","triangle.filled.br"],["lrcorner","corner.r.b"],["lrtriangle","triangle.stroked.br"],["ltimes","times.l"],["lvzigzag","fence.l"],["Lvzigzag","fence.l.double"],["maltese","maltese"],["mapsdown","arrow.b.bar"],["mapsfrom","arrow.l.bar"],["Mapsfrom","arrow.l.double.bar"],["mapsto","arrow.r.bar"],["Mapsto","arrow.r.double.bar"],["mapsup","arrow.t.bar"],["mathampersand","amp"],["mathatsign","at"],["mathcolon","colon"],["mathcomma","comma"],["mathdollar","dollar"],["mathexclam","excl"],["mathhyphen","hyph"],["mathparagraph","pilcrow"],["mathpercent","percent"],["mathperiod","dot.basic"],["mathplus","plus"],["mathquestion","quest"],["mathratio","ratio"],["mathsection","section"],["mathsemicolon","semi"],["mathslash","slash"],["mathsterling","pound"],["mathyen","yen"],["mdblkdiamond","diamond.filled.medium"],["mdblklozenge","lozenge.filled.medium"],["mdlgblkcircle","circle.filled"],["mdlgblkdiamond","diamond.filled"],["mdlgblklozenge","lozenge.filled"],["mdlgblksquare","square.filled"],["mdlgwhtcircle","circle.stroked"],["mdlgwhtdiamond","diamond.stroked"],["mdlgwhtlozenge","lozenge.stroked"],["mdlgwhtsquare","square.stroked"],["mdsmblkcircle","circle.filled.tiny"],["mdsmwhtcircle","circle.stroked.small"],["mdwhtdiamond","diamond.stroked.medium"],["mdwhtlozenge","lozenge.stroked.medium"],["measeq","eq.m"],["measuredangle","angle.arc"],["measuredangleleft","angle.arc.rev"],["measuredrightangle","angle.right.arc"],["mho","Omega.inv"],["mid","divides"],["minus","minus"],["models","models"],["mp","minus.plus"],["multimap","multimap"],["nabla","gradient"],["napprox","approx.not"],["nasymp","asymp.not"],["natural","natural"],["ncong","tilde.equiv.not"],["ne","eq.not"],["Nearrow","arrow.tr.double"],["neg","not"],["nequiv","equiv.not"],["neswarrow","arrow.tr.bl"],["nexists","exists.not"],["ngeq","gt.eq.not"],["ngtr","gt.not"],["ngtrless","gt.lt.not"],["ngtrsim","gt.tilde.not"],["nHdownarrow","arrow.b.dstruck"],["nhpar","parallel.struck"],["nHuparrow","arrow.t.dstruck"],["nhVvert","interleave.struck"],["ni","in.rev"],["nLeftarrow","arrow.l.double.not"],["nleftarrow","arrow.l.not"],["nLeftrightarrow","arrow.l.r.double.not"],["nleftrightarrow","arrow.l.r.not"],["nleq","lt.eq.not"],["nless","lt.not"],["nlessgtr","lt.gt.not"],["nlesssim","lt.tilde.not"],["nmid","divides.not"],["nni","in.rev.not"],["notin","in.not"],["nparallel","parallel.not"],["nprec","prec.not"],["npreccurlyeq","prec.curly.eq.not"],["nRightarrow","arrow.r.double.not"],["nrightarrow","arrow.r.not"],["nsim","tilde.not"],["nsimeq","tilde.eq.not"],["nsqsubseteq","subset.eq.sq.not"],["nsqsupseteq","supset.eq.sq.not"],["nsubset","subset.not"],["nsubseteq","subset.eq.not"],["nsucc","succ.not"],["nsucccurlyeq","succ.curly.eq.not"],["nsupset","supset.not"],["nsupseteq","supset.eq.not"],["ntrianglelefteq","lt.tri.eq.not"],["ntrianglerighteq","gt.tri.eq.not"],["nvartriangleleft","lt.tri.not"],["nvartriangleright","gt.tri.not"],["nVdash","forces.not"],["nvdash","tack.r.not"],["nvDash","tack.r.double.not"],["nvinfty","infinity.bar"],["nvLeftarrow","arrow.l.double.struck"],["nvleftarrow","arrow.l.struck"],["nVleftarrow","arrow.l.dstruck"],["nvleftarrowtail","arrow.l.tail.struck"],["nVleftarrowtail","arrow.l.tail.dstruck"],["nvLeftrightarrow","arrow.l.r.double.struck"],["nvleftrightarrow","arrow.l.r.struck"],["nVleftrightarrow","arrow.l.r.dstruck"],["nvRightarrow","arrow.r.double.struck"],["nvrightarrow","arrow.r.struck"],["nVrightarrow","arrow.r.dstruck"],["nvrightarrowtail","arrow.r.tail.struck"],["nVrightarrowtail","arrow.r.tail.dstruck"],["nvtwoheadleftarrow","arrow.l.twohead.struck"],["nVtwoheadleftarrow","arrow.l.twohead.dstruck"],["nvtwoheadleftarrowtail","arrow.l.twohead.tail.struck"],["nVtwoheadleftarrowtail","arrow.l.twohead.tail.dstruck"],["nvtwoheadrightarrow","arrow.r.twohead.struck"],["nVtwoheadrightarrow","arrow.r.twohead.dstruck"],["nvtwoheadrightarrowtail","arrow.r.twohead.tail.struck"],["nVtwoheadrightarrowtail","arrow.r.twohead.tail.dstruck"],["Nwarrow","arrow.tl.double"],["nwsearrow","arrow.tl.br"],["obrbrak","shell.t"],["obslash","backslash.o"],["odiv","div.o"],["odot","dot.o"],["odotslashdot","div.slanted.o"],["ogreaterthan","gt.o"],["oiiint","integral.vol"],["oiint","integral.surf"],["oint","integral.cont"],["ointctrclockwise","integral.cont.ccw"],["olessthan","lt.o"],["ominus","minus.o"],["operp","perp.o"],["oplus","plus.o"],["opluslhrim","plus.o.l"],["oplusrhrim","plus.o.r"],["origof","original"],["oslash","slash.o"],["otimes","times.o"],["otimeshat","times.o.hat"],["otimeslhrim","times.o.l"],["otimesrhrim","times.o.r"],["parallel","parallel"],["parallelogram","parallelogram.stroked"],["parallelogramblack","parallelogram.filled"],["parsim","parallel.tilde"],["partial","partial"],["pentagon","penta.stroked"],["pentagonblack","penta.filled"],["perp","perp"],["pm","plus.minus"],["prec","prec"],["Prec","prec.double"],["precapprox","prec.approx"],["preccurlyeq","prec.curly.eq"],["preceq","prec.eq"],["preceqq","prec.equiv"],["precnapprox","prec.napprox"],["precneq","prec.neq"],["precneqq","prec.nequiv"],["precnsim","prec.ntilde"],["precsim","prec.tilde"],["prime","prime"],["prod","product"],["propto","prop"],["QED","qed"],["qprime","prime.quad"],["quarternote","note.quarter.alt"],["questeq","eq.quest"],["Question","quest.double"],["rangle","chevron.r"],["rAngle","chevron.r.double"],["rangledot","chevron.r.dot"],["rangledownzigzagarrow","angle.azimuth"],["rbag","bag.r"],["rblkbrbrak","shell.r.filled"],["rbrace","brace.r"],["rBrace","brace.r.stroked"],["rbrack","bracket.r"],["rBrack","bracket.r.stroked"],["rbracklrtick","bracket.r.tick.b"],["rbrackurtick","bracket.r.tick.t"],["rbrbrak","shell.r"],["Rbrbrak","shell.r.stroked"],["rceil","ceil.r"],["rcurvyangle","chevron.r.curly"],["Re","Re"],["revangle","angle.rev"],["revemptyset","emptyset.rev"],["revnmid","divides.not.rev"],["rfloor","floor.r"],["rgroup","paren.r.flat"],["rightangle","angle.right"],["rightanglemdot","angle.right.dot"],["rightanglesqr","angle.right.square"],["rightarrow","arrow.r"],["Rightarrow","arrow.r.double"],["rightarrowbar","arrow.r.stop"],["rightarrowonoplus","plus.o.arrow"],["rightarrowtail","arrow.r.tail"],["rightarrowtriangle","arrow.r.open"],["rightdasharrow","arrow.r.dashed"],["rightdotarrow","arrow.r.dotted"],["rightdowncurvedarrow","arrow.r.curve"],["rightharpoondown","harpoon.rb"],["rightharpoondownbar","harpoon.rb.stop"],["rightharpoonsupdown","harpoons.rtrb"],["rightharpoonup","harpoon.rt"],["rightharpoonupbar","harpoon.rt.stop"],["rightleftarrows","arrows.rl"],["rightleftharpoons","harpoons.rtlb"],["rightleftharpoonsdown","harpoons.rblb"],["rightleftharpoonsup","harpoons.rtlt"],["rightouterjoin","join.r"],["rightrightarrows","arrows.rr"],["rightsquigarrow","arrow.r.squiggly"],["rightthreearrows","arrows.rrr"],["rightthreetimes","times.three.r"],["rightwavearrow","arrow.r.wave"],["rightwhitearrow","arrow.r.stroked"],["risingdotseq","eq.dots.up"],["rmoustache","mustache.r"],["rparen","paren.r"],["rParen","paren.r.stroked"],["rrangle","chevron.r.closed"],["RRightarrow","arrow.r.quad"],["Rrightarrow","arrow.r.triple"],["rrparenthesis","paren.r.closed"],["rsolbar","backslash.not"],["rtimes","times.r"],["rvzigzag","fence.r"],["Rvzigzag","fence.r.double"],["Searrow","arrow.br.double"],["setminus","without"],["sharp","sharp"],["shortdowntack","tack.b.short"],["shortlefttack","tack.l.short"],["shortuptack","tack.t.short"],["sim","tilde.op"],["sime","tilde.eq"],["similarleftarrow","arrow.l.tilde"],["similarrightarrow","arrow.r.tilde"],["simneqq","tilde.nequiv"],["smallblacktriangleleft","triangle.filled.small.l"],["smallblacktriangleright","triangle.filled.small.r"],["smallin","in.small"],["smallni","in.rev.small"],["smalltriangleleft","triangle.stroked.small.l"],["smalltriangleright","triangle.stroked.small.r"],["smashtimes","smash"],["smblkcircle","bullet"],["smblkdiamond","diamond.filled.small"],["smblklozenge","lozenge.filled.small"],["smeparsl","parallel.slanted.eq.tilde"],["smile","smile"],["smt","smt"],["smte","smt.eq"],["smwhtcircle","bullet.stroked"],["smwhtdiamond","diamond.stroked.small"],["smwhtlozenge","lozenge.stroked.small"],["sphericalangle","angle.spheric"],["sphericalangleup","angle.spheric.t"],["sqcap","inter.sq"],["Sqcap","inter.sq.double"],["sqcup","union.sq"],["Sqcup","union.sq.double"],["sqint","integral.square"],["sqsubset","subset.sq"],["sqsubseteq","subset.eq.sq"],["sqsubsetneq","subset.sq.neq"],["sqsupset","supset.sq"],["sqsupseteq","supset.eq.sq"],["sqsupsetneq","supset.sq.neq"],["squoval","square.stroked.rounded"],["sslash","slash.double"],["star","star.op"],["stareq","eq.star"],["subset","subset"],["Subset","subset.double"],["subsetdot","subset.dot"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["Succ","succ.double"],["succapprox","succ.approx"],["succcurlyeq","succ.curly.eq"],["succeq","succ.eq"],["succeqq","succ.equiv"],["succnapprox","succ.napprox"],["succneq","succ.neq"],["succneqq","succ.nequiv"],["succnsim","succ.ntilde"],["succsim","succ.tilde"],["sum","sum"],["sumint","sum.integral"],["supset","supset"],["Supset","supset.double"],["supsetdot","supset.dot"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["Swarrow","arrow.bl.double"],["therefore","therefore"],["threedangle","angle.spatial"],["threedotcolon","colon.tri.op"],["tieinfty","infinity.tie"],["times","times"],["tminus","miny"],["top","tack.b"],["tplus","tiny"],["trianglecdot","triangle.stroked.dot"],["triangledown","triangle.stroked.small.b"],["triangleleft","triangle.stroked.l"],["trianglelefteq","lt.tri.eq"],["triangleminus","minus.triangle"],["triangleplus","plus.triangle"],["triangleq","eq.delta"],["triangleright","triangle.stroked.r"],["trianglerighteq","gt.tri.eq"],["triangletimes","times.triangle"],["tripleplus","plus.triple"],["trprime","prime.triple"],["trslash","slash.triple"],["turnediota","iota.inv"],["twoheaddownarrow","arrow.b.twohead"],["twoheadleftarrow","arrow.l.twohead"],["twoheadleftarrowtail","arrow.l.twohead.tail"],["twoheadmapsfrom","arrow.l.twohead.bar"],["twoheadmapsto","arrow.r.twohead.bar"],["twoheadrightarrow","arrow.r.twohead"],["twoheadrightarrowtail","arrow.r.twohead.tail"],["twoheaduparrow","arrow.t.twohead"],["twonotes","note.eighth.beamed"],["ubrbrak","shell.b"],["ulblacktriangle","triangle.filled.tl"],["ulcorner","corner.l.t"],["ultriangle","triangle.stroked.tl"],["uminus","union.minus"],["underbrace","brace.b"],["underbracket","bracket.b"],["underparen","paren.b"],["unicodecdots","dots.h.c"],["unicodeellipsis","dots.h"],["upand","amp.inv"],["uparrow","arrow.t"],["Uparrow","arrow.t.double"],["uparrowbarred","arrow.t.struck"],["upbackepsilon","epsilon.alt.rev"],["updasharrow","arrow.t.dashed"],["upDigamma","Digamma"],["updigamma","digamma"],["Updownarrow","arrow.t.b.double"],["updownarrows","arrows.tb"],["updownharpoonleftleft","harpoon.tl.bl"],["updownharpoonleftright","harpoon.tl.br"],["updownharpoonrightleft","harpoon.tr.bl"],["updownharpoonrightright","harpoon.tr.br"],["updownharpoonsleftright","harpoons.tlbr"],["upharpoonleft","harpoon.tl"],["upharpoonleftbar","harpoon.tl.bar"],["upharpoonright","harpoon.tr"],["upharpoonrightbar","harpoon.tr.bar"],["upharpoonsleftright","harpoons.tltr"],["uplus","union.plus"],["upuparrows","arrows.tt"],["upwhitearrow","arrow.t.stroked"],["urblacktriangle","triangle.filled.tr"],["urcorner","corner.r.t"],["urtriangle","triangle.stroked.tr"],["UUparrow","arrow.t.quad"],["Uuparrow","arrow.t.triple"],["varclubsuit","suit.club.stroked"],["varhexagon","hexa.stroked"],["varhexagonblack","hexa.filled"],["varnothing","emptyset"],["varointclockwise","integral.cont.cw"],["varspadesuit","suit.spade.stroked"],["vartriangle","triangle.stroked.small.t"],["vartriangleleft","lt.tri"],["vartriangleright","gt.tri"],["Vbar","tack.t.double"],["Vdash","forces"],["vdash","tack.r"],["vDash","tack.r.double"],["vdots","dots.v"],["vee","or"],["Vee","or.double"],["veedot","or.dot"],["veeeq","eq.equi"],["vert","bar.v"],["Vert","bar.v.double"],["vlongdash","tack.r.long"],["vrectangle","rect.stroked.v"],["vrectangleblack","rect.filled.v"],["Vvert","bar.v.triple"],["vysmblkcircle","circle.filled.small"],["vysmwhtcircle","circle.stroked.tiny"],["wedge","and"],["Wedge","and.double"],["wedgedot","and.dot"],["wedgeq","eq.est"],["whiteinwhitetriangle","triangle.stroked.nested"],["whthorzoval","ellipse.stroked.h"],["whtvertoval","ellipse.stroked.v"],["wideangledown","angle.obtuse"],["wr","wreath"],["xsol","slash.big"]]),nd=new Map([["gets","leftarrow"],["iff","Longleftrightarrow"],["implies","Longrightarrow"]]);for(let[e,t]of rd)Ae.has(e)||Ae.set(e,t);Vi=new Map;for(let[e,t]of Array.from(Ae.entries()).reverse())Vi.set(t,e);Vi.set("oo","infty");id=new Map([["top","top"],["frac","frac"],["tilde","tilde"],["hat","hat"],["upright","mathrm"],["bold","boldsymbol"],["infinity","infty"],["diff","partial"]]);for(let[e,t]of id)Vi.set(e,t);for(let[e,t]of nd)Ae.has(e)||Ae.set(e,Ae.get(t));Wr=class extends Error{constructor(t,r=null){super(t);C(this,"node");this.name="ConverterError",this.node=r}},od=x.NONE.toNode(),ad=["dim","id","im","mod","Pr","sech","csch"];pd=new x(2,"("),fd=new x(2,")");xv=new q(1,",").toNode(),hd=Array.from(Gi.keys());dd=md(),kv=new Map([[String.raw`//[^\n]*`,e=>new x(5,e.text().substring(2))],[String.raw`/`,e=>new x(2,e.text())],[String.raw`[_^&]`,e=>new x(7,e.text())],[String.raw`\r?\n`,e=>new x(8,`
13
- `)],[String.raw`\s+`,e=>new x(6,e.text())],[String.raw`\\[$&#_]`,e=>new x(2,e.text())],[String.raw`\\\n`,e=>[new x(7,"\\"),new x(8,`
14
- `)]],[String.raw`\\\s`,e=>[new x(7,"\\"),new x(6," ")]],[String.raw`\\\S`,e=>new x(7,"")],[String.raw`"([^"]|(\\"))*"`,e=>{let t=e.text().substring(1,e.text().length-1);return t.replaceAll('\\"','"'),new x(4,t)}],[dd,e=>{let t=e.text(),r=Gi.get(t);return new x(1,r)}],[String.raw`[0-9]+(\.[0-9]+)?`,e=>new x(2,e.text())],[String.raw`[+\-*/=\'<>!.,;?()\[\]|]`,e=>new x(2,e.text())],[String.raw`#h\((.+?)\)`,e=>{let t=e.reMatchArray();return[new x(1,"#h"),new x(2,"("),new x(3,t[1]),new x(2,")")]}],[String.raw`#none`,e=>new x(0,e.text())],[String.raw`#?[a-zA-Z\.]+`,e=>new x(e.text().length===1?2:1,e.text())],[String.raw`.`,e=>new x(2,e.text())]]),yv=new x(2,"/").toNode(),vv=new x(7,"_"),Sv=new x(7,"^"),Tv=new x(2,"("),Ev=new x(2,")"),Av=new x(2,"["),Cv=new x(2,"]"),qv=new x(2,"{"),_v=new x(2,"}"),Lv=new x(2,","),Iv=new x(2,";"),Bv=new x(7,"&")});function xe(e,t){return e.map(r=>gd(r,t)).filter(Qe).join("")}function gd(e,t){let{definitions:r,footnoteDefinitions:n}=t;switch(e.type){case"text":return mt(e.value);case"strong":return`*${xe(e.children,t)}*`;case"emphasis":return`_${xe(e.children,t)}_`;case"delete":return`#strike[${xe(e.children,t)}]`;case"mark":return`#highlight[${xe(e.children,t)}]`;case"subscript":return`#sub[${xe(e.children,t)}]`;case"superscript":return`#super[${xe(e.children,t)}]`;case"footnoteReference":{let i=e,a=n.get(i.identifier.toLowerCase());if(!a)return t.onError&&t.onError({severity:"warning",message:`Footnote reference [^${i.identifier}] has no matching definition`,context:"inline rendering",details:{identifier:i.identifier}}),"";try{return`#footnote[${a.children.map(l=>{let{renderBlock:s}=(Wi(),ro(us));return s(l,0,t)}).filter(Qe).join(" ").trim()}]`}catch(o){let l=o instanceof Error?o.message:String(o);return t.onError&&t.onError({severity:"error",message:`Error rendering footnote [^${i.identifier}]: ${l}`,context:"inline rendering",originalError:o}),""}}case"inlineCode":return wd(e);case"inlineMath":{let i=e,a=i.value.trim();try{let o=Zr(a);return i.position?.end?.offset!=null&&i.position?.start?.offset!=null&&i.position.end.offset-i.position.start.offset>=a.length+4?`$ ${o} $`:`$${o}$`}catch(o){let l=o instanceof Error?o.message:String(o);return t.onError&&t.onError({severity:"warning",message:`Failed to convert inline math LaTeX to Typst: ${l}`,context:"inline math rendering",originalError:o,details:{latex:a}}),i.position?.end?.offset!=null&&i.position?.start?.offset!=null&&i.position.end.offset-i.position.start.offset>=a.length+4?`$ ${a} $`:`$${a}$`}}case"image":return bd(e,t);case"link":return xd(e,t);case"linkReference":return kd(e,t);case"break":return`\\
15
- `;case"html":return mt(e.value);default:return null}}function wd(e){return`\`${e.value.replace(/`/g,"\\`")}\``}function bd(e,t){if(/^https?:\/\//i.test(e.url)){t.warnings.externalImages=!0;try{return`#external-image(
16
- "${Ke(e.url)}"
17
- )`}catch{return`#external-image(
18
- "${e.url}"
19
- )`}}else try{return`#image("${Ke(e.url)}")`}catch{return`#image("${e.url}")`}}function xd(e,t){let r=Ke(e.url),n=xe(e.children,t);return n.trim()?`#link("${r}")[${n}]`:`#link("${r}")[${mt(e.url)}]`}function kd(e,t){let{definitions:r}=t,n=r.get(e.identifier.toLowerCase()),i=xe(e.children,t);if(!n)return t.onError&&t.onError({severity:"warning",message:`Link reference [${e.identifier}] has no matching definition`,context:"inline rendering",details:{identifier:e.identifier}}),i||mt(e.label||e.identifier);try{let a=Ke(n.url);return i.trim()?`#link("${a}")[${i}]`:`#link("${a}")[${mt(n.url)}]`}catch(a){let o=a instanceof Error?a.message:String(a);return t.onError&&t.onError({severity:"error",message:`Error rendering link reference [${e.identifier}]: ${o}`,context:"inline rendering",originalError:a}),i||mt(e.label||e.identifier)}}var ss=Ut(()=>{"use strict";Yi();It();De()});var us={};en(us,{renderBlock:()=>Dt});function Dt(e,t,r){try{switch(e.type){case"yaml":case"definition":case"footnoteDefinition":return null;case"heading":return vd(e,t,r);case"paragraph":return he(cs(e,r),t);case"list":return Ki(e,t,r);case"code":return Td(e,t);case"blockquote":return Ad(e,t,r);case"thematicBreak":return he("#line(length: 100%, stroke: 0.6pt)",t);case"table":return Ed(e,t,r);case"math":return yd(e,t,r);default:return r.onError&&r.onError({severity:"warning",message:`Unknown block node type: ${e.type}`,context:"block rendering",details:{nodeType:e.type}}),null}}catch(n){let i=n instanceof Error?n.message:String(n);return r.onError&&r.onError({severity:"error",message:`Error rendering block node: ${i}`,context:"block rendering",originalError:n,details:{nodeType:e.type}}),null}}function yd(e,t,r){let n=e.value.trim();try{let i=Zr(n);return he(`$ ${i} $`,t)}catch(i){let a=i instanceof Error?i.message:String(i);return r.onError&&r.onError({severity:"warning",message:`Failed to convert block math LaTeX to Typst: ${a}`,context:"block math rendering",originalError:i,details:{latex:n}}),he(`$ ${n} $`,t)}}function vd(e,t,r){let n=Math.min(Math.max(e.depth,1),6);return he(`${"=".repeat(n)} ${xe(e.children,r)}`,t)}function cs(e,t){return ht(e.children,t.definitions).trim().toLowerCase()==="[toc]"?"#outline(title: auto, indent: auto)":xe(e.children,t)}function Ki(e,t,r){let n=e.ordered?"+":"-";return e.children.map(i=>Sd(i,n,t,r)).filter(Qe).join(`
20
- `)}function Sd(e,t,r,n){let i=" ".repeat(r),a=r+1,o=e.children[0],l=[];if(o?.type==="paragraph"){l.push(`${i}${t} ${cs(o,n)}`);for(let s of e.children.slice(1)){if(s.type==="list"){l.push(Ki(s,a,n));continue}let u=Dt(s,a,n);u&&l.push(u)}return l.join(`
21
- `)}l.push(`${i}${t}`);for(let s of e.children){if(s.type==="list"){l.push(Ki(s,a,n));continue}let u=Dt(s,a,n);u&&l.push(u)}return l.join(`
22
- `)}function Td(e,t){let r=e.lang?.trim()?e.lang.trim():"",n=e.value.replace(/\n$/,""),i="`".repeat(Math.max(3,Xa(n)+1)),a=r?`${i}${r}`:i,o=he(n,t);return[he(a,t),o,he(i,t)].join(`
23
- `)}function Ed(e,t,r){try{let n=e.children;if(n.length===0)return r.onError&&r.onError({severity:"warning",message:"Empty table found (no rows)",context:"table rendering"}),"";let i=n[0],a=i.children.length;if(a===0)return r.onError&&r.onError({severity:"warning",message:"Table has no columns",context:"table rendering"}),"";let o={left:"left",right:"right",center:"center"},l=(e.align??[]).map(f=>o[f??"left"]??"left"),s=Array(a).fill("1fr").join(", "),u=[];for(let f of i.children){let m=xe(f.children,r);u.push(`[*${m}*]`)}let p=[];for(let f=1;f<n.length;f++){let m=n[f];for(let y of m.children){let k=xe(y.children,r);p.push(`[${k}]`)}}let c=l.slice(0,a).map(f=>f).join(", "),h=["#table(",` columns: (${s}),`,` align: (${c}),`,` table.header(${u.join(", ")}),`,` ${p.join(", ")}`,")"];return he(h.join(`
24
- `),t)}catch(n){let i=n instanceof Error?n.message:String(n);return r.onError&&r.onError({severity:"error",message:`Error rendering table: ${i}`,context:"table rendering",originalError:n}),""}}function Ad(e,t,r){let n=e.children.map(a=>Dt(a,0,r)).filter(Qe).join(`
25
-
26
- `),i=he("#quote[",t);return n.trim()?[i,he(n,t+1),he("]",t)].join(`
27
- `):`${i}
28
- ${he("]",t)}`}var Wi=Ut(()=>{"use strict";Yi();ss();It();De()});var _d={};en(_d,{ErrorSeverity:()=>qe,default:()=>qd,markdown2typst:()=>fs});De();function tn(e){if(e)throw e}var mr=pr(po(),1);function jt(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function rn(){let e=[],t={run:r,use:n};return t;function r(...i){let a=-1,o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...i);function l(s,...u){let p=e[++a],c=-1;if(s){o(s);return}for(;++c<i.length;)(u[c]===null||u[c]===void 0)&&(u[c]=i[c]);i=u,p?fo(p,l)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function fo(e,t){let r;return n;function n(...o){let l=e.length>o.length,s;l&&o.push(i);try{s=e.apply(this,o)}catch(u){let p=u;if(l&&r)throw p;return i(p)}l||(s&&s.then&&typeof s.then=="function"?s.then(a,i):s instanceof Error?i(s):a(s))}function i(o,...l){r||(r=!0,t(o,...l))}function a(o){i(null,o)}}function je(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ho(e.position):"start"in e||"end"in e?ho(e):"line"in e||"column"in e?nn(e):""}function nn(e){return mo(e&&e.line)+":"+mo(e&&e.column)}function ho(e){return nn(e&&e.start)+"-"+nn(e&&e.end)}function mo(e){return e&&typeof e=="number"?e:1}var ie=class extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){let s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){let s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}let l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=je(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ie.prototype.file="";ie.prototype.name="";ie.prototype.reason="";ie.prototype.message="";ie.prototype.stack="";ie.prototype.column=void 0;ie.prototype.line=void 0;ie.prototype.ancestors=void 0;ie.prototype.cause=void 0;ie.prototype.fatal=void 0;ie.prototype.place=void 0;ie.prototype.ruleId=void 0;ie.prototype.source=void 0;var Se={basename:As,dirname:Cs,extname:qs,join:_s,sep:"/"};function As(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Gt(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(n=i):(l=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function Cs(e){if(Gt(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function qs(e){Gt(e);let t=e.length,r=-1,n=0,i=-1,a=0,o;for(;t--;){let l=e.codePointAt(t);if(l===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function _s(...e){let t=-1,r;for(;++t<e.length;)Gt(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Ls(r)}function Ls(e){Gt(e);let t=e.codePointAt(0)===47,r=Is(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Is(e,t){let r="",n=0,i=-1,a=0,o=-1,l,s;for(;++o<=e.length;){if(o<e.length)l=e.codePointAt(o);else{if(l===47)break;l=47}if(l===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(s=r.lastIndexOf("/"),s!==r.length-1){s<0?(r="",n=0):(r=r.slice(0,s),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,o):r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else l===46&&a>-1?a++:a=-1}return r}function Gt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var go={cwd:Bs};function Bs(){return"/"}function yt(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function wo(e){if(typeof e=="string")e=new URL(e);else if(!yt(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Fs(e)}function Fs(e){if(e.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let t=e.pathname,r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){let n=t.codePointAt(r+2);if(n===70||n===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var on=["history","path","basename","stem","extname","dirname"],$t=class{constructor(t){let r;t?yt(t)?r={path:t}:typeof t=="string"||Ms(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":go.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<on.length;){let a=on[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)on.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Se.basename(this.path):void 0}set basename(t){ln(t,"basename"),an(t,"basename"),this.path=Se.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Se.dirname(this.path):void 0}set dirname(t){bo(this.basename,"dirname"),this.path=Se.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Se.extname(this.path):void 0}set extname(t){if(an(t,"extname"),bo(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Se.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){yt(t)&&(t=wo(t)),ln(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Se.basename(this.path,this.extname):void 0}set stem(t){ln(t,"stem"),an(t,"stem"),this.path=Se.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){let i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){let i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){let i=new ie(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}};function an(e,t){if(e&&e.includes(Se.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Se.sep+"`")}function ln(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function bo(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Ms(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var xo=(function(e){let n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a});var Ns={}.hasOwnProperty,pn=class e extends xo{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=rn()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let n=this.attachers[r];t.use(...n)}return t.data((0,mr.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(cn("data",this.frozen),this.namespace[t]=r,this):Ns.call(this.namespace,t)&&this.namespace[t]||void 0:t?(cn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let r=hr(t),n=this.parser||this.Parser;return sn("parse",n),n(String(r),r)}process(t,r){let n=this;return this.freeze(),sn("process",this.parser||this.Parser),un("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){let l=hr(t),s=n.parse(l);n.run(s,l,function(p,c,h){if(p||!c||!h)return u(p);let f=c,m=n.stringify(f,h);Ds(m)?h.value=m:h.result=m,u(p,h)});function u(p,c){p||!c?o(p):a?a(c):r(void 0,c)}}}processSync(t){let r=!1,n;return this.freeze(),sn("processSync",this.parser||this.Parser),un("processSync",this.compiler||this.Compiler),this.process(t,i),yo("processSync","process",r),n;function i(a,o){r=!0,tn(a),n=o}}run(t,r,n){ko(t),this.freeze();let i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,l){let s=hr(r);i.run(t,s,u);function u(p,c,h){let f=c||t;p?l(p):o?o(f):n(void 0,f,h)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),yo("runSync","run",n),i;function a(o,l){tn(o),i=l,n=!0}}stringify(t,r){this.freeze();let n=hr(r),i=this.compiler||this.Compiler;return un("stringify",i),ko(t),i(t,n)}use(t,...r){let n=this.attachers,i=this.namespace;if(cn("use",this.frozen),t!=null)if(typeof t=="function")s(t,r);else if(typeof t=="object")Array.isArray(t)?l(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){let[p,...c]=u;s(p,c)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(i.settings=(0,mr.default)(!0,i.settings,u.settings))}function l(u){let p=-1;if(u!=null)if(Array.isArray(u))for(;++p<u.length;){let c=u[p];a(c)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,p){let c=-1,h=-1;for(;++c<n.length;)if(n[c][0]===u){h=c;break}if(h===-1)n.push([u,...p]);else if(p.length>0){let[f,...m]=p,y=n[h][1];jt(y)&&jt(f)&&(f=(0,mr.default)(!0,y,f)),n[h]=[u,f,...m]}}}},fn=new pn().freeze();function sn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function un(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function cn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ko(e){if(!jt(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function yo(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function hr(e){return Rs(e)?e:new $t(e)}function Rs(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ds(e){return typeof e=="string"||Os(e)}function Os(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var ee=Ge(/[A-Za-z]/),te=Ge(/[\dA-Za-z]/),vo=Ge(/[#-'*+\--9=?A-Z^-~]/);function it(e){return e!==null&&(e<32||e===127)}var Vt=Ge(/\d/),So=Ge(/[\dA-Fa-f]/),To=Ge(/[!-/:-@[-`{-~]/);function A(e){return e!==null&&e<-2}function U(e){return e!==null&&(e<0||e===32)}function B(e){return e===-2||e===-1||e===32}var ot=Ge(/\p{P}|\p{S}/u),_e=Ge(/\s/);function Ge(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}var Ao=pr(Eo(),1),Yt=Object.assign(at(Error),{eval:at(EvalError),range:at(RangeError),reference:at(ReferenceError),syntax:at(SyntaxError),type:at(TypeError),uri:at(URIError)});function at(e){return t.displayName=e.displayName||e.name,t;function t(r,...n){let i=r&&(0,Ao.default)(r,...n);return new e(i)}}var dr={}.hasOwnProperty,Co={yaml:"-",toml:"+"};function vt(e){let t=[],r=-1,n=Array.isArray(e)?e:e?[e]:["yaml"];for(;++r<n.length;)t[r]=zs(n[r]);return t}function zs(e){let t=e;if(typeof t=="string"){if(!dr.call(Co,t))throw Yt("Missing matter definition for `%s`",t);t={type:t,marker:Co[t]}}else if(typeof t!="object")throw Yt("Expected matter to be an object, not `%j`",t);if(!dr.call(t,"type"))throw Yt("Missing `type` in matter `%j`",t);if(!dr.call(t,"fence")&&!dr.call(t,"marker"))throw Yt("Missing `marker` or `fence` in matter `%j`",t);return t}function dn(e){let t=vt(e),r={},n=-1;for(;++n<t.length;){let i=t[n],a=mn(i,"open").charCodeAt(0),o=Ps(i),l=r[a];Array.isArray(l)?l.push(o):r[a]=[o]}return{flow:r}}function Ps(e){let t=e.anywhere,r=e.type,n=r+"Fence",i=n+"Sequence",a=r+"Value",o={tokenize:p,partial:!0},l,s=0;return{tokenize:u,concrete:!0};function u(c,h,f){let m=this;return y;function y(L){let G=m.now();return G.column===1&&(G.line===1||t)&&(l=mn(e,"open"),s=0,L===l.charCodeAt(s))?(c.enter(r),c.enter(n),c.enter(i),k(L)):f(L)}function k(L){return s===l.length?(c.exit(i),B(L)?(c.enter("whitespace"),w(L)):b(L)):L===l.charCodeAt(s++)?(c.consume(L),k):f(L)}function w(L){return B(L)?(c.consume(L),w):(c.exit("whitespace"),b(L))}function b(L){return A(L)?(c.exit(n),c.enter("lineEnding"),c.consume(L),c.exit("lineEnding"),l=mn(e,"close"),s=0,c.attempt(o,T,E)):f(L)}function E(L){return L===null||A(L)?D(L):(c.enter(a),R(L))}function R(L){return L===null||A(L)?(c.exit(a),D(L)):(c.consume(L),R)}function D(L){return L===null?f(L):(c.enter("lineEnding"),c.consume(L),c.exit("lineEnding"),c.attempt(o,T,E))}function T(L){return c.exit(r),h(L)}}function p(c,h,f){let m=0;return y;function y(E){return E===l.charCodeAt(m)?(c.enter(n),c.enter(i),k(E)):f(E)}function k(E){return m===l.length?(c.exit(i),B(E)?(c.enter("whitespace"),w(E)):b(E)):E===l.charCodeAt(m++)?(c.consume(E),k):f(E)}function w(E){return B(E)?(c.consume(E),w):(c.exit("whitespace"),b(E))}function b(E){return E===null||A(E)?(c.exit(n),h(E)):f(E)}}}function mn(e,t){return e.marker?qo(e.marker,t).repeat(3):qo(e.fence,t)}function qo(e,t){return typeof e=="string"?e:e[t]}function Wt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function wn(e){let t=vt(e),r={},n={},i=-1;for(;++i<t.length;){let a=t[i];r[a.type]=Hs(a),n[a.type]=Us,n[a.type+"Value"]=js}return{enter:r,exit:n}}function Hs(e){return t;function t(r){this.enter({type:e.type,value:""},r),this.buffer()}}function Us(e){let t=this.resume(),r=this.stack[this.stack.length-1];"value"in r,this.exit(e),r.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function js(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function bn(e){let t=[],r={},n=vt(e),i=-1;for(;++i<n.length;){let a=n[i];r[a.type]=Gs(a);let o=gn(a,"open");t.push({atBreak:!0,character:o.charAt(0),after:Wt(o.charAt(1))})}return{unsafe:t,handlers:r}}function Gs(e){let t=gn(e,"open"),r=gn(e,"close");return n;function n(i){return t+(i.value?`
2
+ "use strict";var markdown2typstLib=(()=>{var fs=Object.create;var zt=Object.defineProperty;var hs=Object.getOwnPropertyDescriptor;var ms=Object.getOwnPropertyNames;var ds=Object.getPrototypeOf,gs=Object.prototype.hasOwnProperty;var ws=(e,t,r)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ki=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},Qi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ms(t))!gs.call(e,i)&&i!==r&&zt(e,i,{get:()=>t[i],enumerable:!(n=hs(t,i))||n.enumerable});return e};var sr=(e,t,r)=>(r=e!=null?fs(ds(e)):{},Qi(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),bs=e=>Qi(zt({},"__esModule",{value:!0}),e);var C=(e,t,r)=>ws(e,typeof t!="symbol"?t+"":t,r);var oo=kt((Ad,io)=>{"use strict";var ur=Object.prototype.hasOwnProperty,no=Object.prototype.toString,Zi=Object.defineProperty,Xi=Object.getOwnPropertyDescriptor,Ji=function(t){return typeof Array.isArray=="function"?Array.isArray(t):no.call(t)==="[object Array]"},eo=function(t){if(!t||no.call(t)!=="[object Object]")return!1;var r=ur.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&ur.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||ur.call(t,i)},to=function(t,r){Zi&&r.name==="__proto__"?Zi(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},ro=function(t,r){if(r==="__proto__")if(ur.call(t,r)){if(Xi)return Xi(t,r).value}else return;return t[r]};io.exports=function e(){var t,r,n,i,a,o,l=arguments[0],s=1,u=arguments.length,p=!1;for(typeof l=="boolean"&&(p=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});s<u;++s)if(t=arguments[s],t!=null)for(r in t)n=ro(l,r),i=ro(t,r),l!==i&&(p&&i&&(eo(i)||(a=Ji(i)))?(a?(a=!1,o=n&&Ji(n)?n:[]):o=n&&eo(n)?n:{},to(l,{name:r,newValue:e(p,o,i)})):typeof i<"u"&&to(l,{name:r,newValue:i}));return l}});var xo=kt((lg,un)=>{(function(){var e;typeof un<"u"?e=un.exports=n:e=(function(){return this||(0,eval)("this")})(),e.format=n,e.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(n.apply(null,arguments))}function r(i,a){return n.apply(null,[i].concat(a))}function n(i){for(var a=1,o=[].slice.call(arguments),l=0,s=i.length,u="",p,c=!1,h,f,m=!1,y,k=function(){return o[a++]},w=function(){for(var b="";/\d/.test(i[l]);)b+=i[l++],p=i[l];return b.length>0?parseInt(b):null};l<s;++l)if(p=i[l],c)switch(c=!1,p=="."?(m=!1,p=i[++l]):p=="0"&&i[l+1]=="."?(m=!0,l+=2,p=i[l]):m=!0,y=w(),p){case"b":u+=parseInt(k(),10).toString(2);break;case"c":h=k(),typeof h=="string"||h instanceof String?u+=h:u+=String.fromCharCode(parseInt(h,10));break;case"d":u+=parseInt(k(),10);break;case"f":f=String(parseFloat(k()).toFixed(y||6)),u+=m?f:f.replace(/^0/,"");break;case"j":u+=JSON.stringify(k());break;case"o":u+="0"+parseInt(k(),10).toString(8);break;case"s":u+=k();break;case"x":u+="0x"+parseInt(k(),10).toString(16);break;case"X":u+="0x"+parseInt(k(),10).toString(16).toUpperCase();break;default:u+=p;break}else p==="%"?c=!0:u+=p;return u}})()});var Da=kt((Y0,Ra)=>{Ra.exports=[{name:"Abkhaz",local:"\u0410\u04A7\u0441\u0443\u0430",1:"ab",2:"abk","2T":"abk","2B":"abk",3:"abk"},{name:"Afar",local:"Afaraf",1:"aa",2:"aar","2T":"aar","2B":"aar",3:"aar"},{name:"Afrikaans",local:"Afrikaans",1:"af",2:"afr","2T":"afr","2B":"afr",3:"afr"},{name:"Akan",local:"Akan",1:"ak",2:"aka","2T":"aka","2B":"aka",3:"aka"},{name:"Albanian",local:"Shqip",1:"sq",2:"sqi","2T":"sqi","2B":"alb",3:"sqi"},{name:"Amharic",local:"\u12A0\u121B\u122D\u129B",1:"am",2:"amh","2T":"amh","2B":"amh",3:"amh"},{name:"Arabic",local:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",1:"ar",2:"ara","2T":"ara","2B":"ara",3:"ara"},{name:"Aragonese",local:"Aragon\xE9s",1:"an",2:"arg","2T":"arg","2B":"arg",3:"arg"},{name:"Armenian",local:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",1:"hy",2:"hye","2T":"hye","2B":"arm",3:"hye"},{name:"Assamese",local:"\u0985\u09B8\u09AE\u09C0\u09AF\u09BC\u09BE",1:"as",2:"asm","2T":"asm","2B":"asm",3:"asm"},{name:"Avaric",local:"\u0410\u0432\u0430\u0440",1:"av",2:"ava","2T":"ava","2B":"ava",3:"ava"},{name:"Avestan",local:"avesta",1:"ae",2:"ave","2T":"ave","2B":"ave",3:"ave"},{name:"Aymara",local:"Aymar",1:"ay",2:"aym","2T":"aym","2B":"aym",3:"aym"},{name:"Azerbaijani",local:"Az\u0259rbaycanca",1:"az",2:"aze","2T":"aze","2B":"aze",3:"aze"},{name:"Bambara",local:"Bamanankan",1:"bm",2:"bam","2T":"bam","2B":"bam",3:"bam"},{name:"Bashkir",local:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",1:"ba",2:"bak","2T":"bak","2B":"bak",3:"bak"},{name:"Basque",local:"Euskara",1:"eu",2:"eus","2T":"eus","2B":"baq",3:"eus"},{name:"Belarusian",local:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F",1:"be",2:"bel","2T":"bel","2B":"bel",3:"bel"},{name:"Bengali",local:"\u09AC\u09BE\u0982\u09B2\u09BE",1:"bn",2:"ben","2T":"ben","2B":"ben",3:"ben"},{name:"Bihari",local:"\u092D\u094B\u091C\u092A\u0941\u0930\u0940",1:"bh",2:"bih","2T":"bih","2B":"bih",3:"bih"},{name:"Bislama",local:"Bislama",1:"bi",2:"bis","2T":"bis","2B":"bis",3:"bis"},{name:"Bosnian",local:"Bosanski",1:"bs",2:"bos","2T":"bos","2B":"bos",3:"bos"},{name:"Breton",local:"Brezhoneg",1:"br",2:"bre","2T":"bre","2B":"bre",3:"bre"},{name:"Bulgarian",local:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",1:"bg",2:"bul","2T":"bul","2B":"bul",3:"bul"},{name:"Burmese",local:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C",1:"my",2:"mya","2T":"mya","2B":"bur",3:"mya"},{name:"Catalan",local:"Catal\xE0",1:"ca",2:"cat","2T":"cat","2B":"cat",3:"cat"},{name:"Chamorro",local:"Chamoru",1:"ch",2:"cha","2T":"cha","2B":"cha",3:"cha"},{name:"Chechen",local:"\u041D\u043E\u0445\u0447\u0438\u0439\u043D",1:"ce",2:"che","2T":"che","2B":"che",3:"che"},{name:"Chichewa",local:"Chichewa",1:"ny",2:"nya","2T":"nya","2B":"nya",3:"nya"},{name:"Chinese",local:"\u4E2D\u6587",1:"zh",2:"zho","2T":"zho","2B":"chi",3:"zho"},{name:"Chuvash",local:"\u0427\u04D1\u0432\u0430\u0448\u043B\u0430",1:"cv",2:"chv","2T":"chv","2B":"chv",3:"chv"},{name:"Cornish",local:"Kernewek",1:"kw",2:"cor","2T":"cor","2B":"cor",3:"cor"},{name:"Corsican",local:"Corsu",1:"co",2:"cos","2T":"cos","2B":"cos",3:"cos"},{name:"Cree",local:"\u14C0\u1426\u1403\u152D\u140D\u140F\u1423",1:"cr",2:"cre","2T":"cre","2B":"cre",3:"cre"},{name:"Croatian",local:"Hrvatski",1:"hr",2:"hrv","2T":"hrv","2B":"hrv",3:"hrv"},{name:"Czech",local:"\u010Ce\u0161tina",1:"cs",2:"ces","2T":"ces","2B":"cze",3:"ces"},{name:"Danish",local:"Dansk",1:"da",2:"dan","2T":"dan","2B":"dan",3:"dan"},{name:"Divehi",local:"Divehi",1:"dv",2:"div","2T":"div","2B":"div",3:"div"},{name:"Dutch",local:"Nederlands",1:"nl",2:"nld","2T":"nld","2B":"dut",3:"nld"},{name:"Dzongkha",local:"\u0F62\u0FAB\u0F7C\u0F44\u0F0B\u0F41",1:"dz",2:"dzo","2T":"dzo","2B":"dzo",3:"dzo"},{name:"English",local:"English",1:"en",2:"eng","2T":"eng","2B":"eng",3:"eng"},{name:"Esperanto",local:"Esperanto",1:"eo",2:"epo","2T":"epo","2B":"epo",3:"epo"},{name:"Estonian",local:"Eesti",1:"et",2:"est","2T":"est","2B":"est",3:"est"},{name:"Ewe",local:"E\u028Begbe",1:"ee",2:"ewe","2T":"ewe","2B":"ewe",3:"ewe"},{name:"Faroese",local:"F\xF8royskt",1:"fo",2:"fao","2T":"fao","2B":"fao",3:"fao"},{name:"Fijian",local:"Na Vosa Vaka-Viti",1:"fj",2:"fij","2T":"fij","2B":"fij",3:"fij"},{name:"Finnish",local:"Suomi",1:"fi",2:"fin","2T":"fin","2B":"fin",3:"fin"},{name:"French",local:"Fran\xE7ais",1:"fr",2:"fra","2T":"fra","2B":"fre",3:"fra"},{name:"Fula",local:"Fulfulde",1:"ff",2:"ful","2T":"ful","2B":"ful",3:"ful"},{name:"Galician",local:"Galego",1:"gl",2:"glg","2T":"glg","2B":"glg",3:"glg"},{name:"Georgian",local:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",1:"ka",2:"kat","2T":"kat","2B":"geo",3:"kat"},{name:"German",local:"Deutsch",1:"de",2:"deu","2T":"deu","2B":"ger",3:"deu"},{name:"Greek",local:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",1:"el",2:"ell","2T":"ell","2B":"gre",3:"ell"},{name:"Guaran\xED",local:"Ava\xF1e'\u1EBD",1:"gn",2:"grn","2T":"grn","2B":"grn",3:"grn"},{name:"Gujarati",local:"\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0",1:"gu",2:"guj","2T":"guj","2B":"guj",3:"guj"},{name:"Haitian",local:"Krey\xF2l Ayisyen",1:"ht",2:"hat","2T":"hat","2B":"hat",3:"hat"},{name:"Hausa",local:"\u0647\u064E\u0648\u064F\u0633\u064E",1:"ha",2:"hau","2T":"hau","2B":"hau",3:"hau"},{name:"Hebrew",local:"\u05E2\u05D1\u05E8\u05D9\u05EA",1:"he",2:"heb","2T":"heb","2B":"heb",3:"heb"},{name:"Herero",local:"Otjiherero",1:"hz",2:"her","2T":"her","2B":"her",3:"her"},{name:"Hindi",local:"\u0939\u093F\u0928\u094D\u0926\u0940",1:"hi",2:"hin","2T":"hin","2B":"hin",3:"hin"},{name:"Hiri Motu",local:"Hiri Motu",1:"ho",2:"hmo","2T":"hmo","2B":"hmo",3:"hmo"},{name:"Hungarian",local:"Magyar",1:"hu",2:"hun","2T":"hun","2B":"hun",3:"hun"},{name:"Interlingua",local:"Interlingua",1:"ia",2:"ina","2T":"ina","2B":"ina",3:"ina"},{name:"Indonesian",local:"Bahasa Indonesia",1:"id",2:"ind","2T":"ind","2B":"ind",3:"ind"},{name:"Interlingue",local:"Interlingue",1:"ie",2:"ile","2T":"ile","2B":"ile",3:"ile"},{name:"Irish",local:"Gaeilge",1:"ga",2:"gle","2T":"gle","2B":"gle",3:"gle"},{name:"Igbo",local:"Igbo",1:"ig",2:"ibo","2T":"ibo","2B":"ibo",3:"ibo"},{name:"Inupiaq",local:"I\xF1upiak",1:"ik",2:"ipk","2T":"ipk","2B":"ipk",3:"ipk"},{name:"Ido",local:"Ido",1:"io",2:"ido","2T":"ido","2B":"ido",3:"ido"},{name:"Icelandic",local:"\xCDslenska",1:"is",2:"isl","2T":"isl","2B":"ice",3:"isl"},{name:"Italian",local:"Italiano",1:"it",2:"ita","2T":"ita","2B":"ita",3:"ita"},{name:"Inuktitut",local:"\u1403\u14C4\u1483\u144E\u1450\u1466",1:"iu",2:"iku","2T":"iku","2B":"iku",3:"iku"},{name:"Japanese",local:"\u65E5\u672C\u8A9E",1:"ja",2:"jpn","2T":"jpn","2B":"jpn",3:"jpn"},{name:"Javanese",local:"Basa Jawa",1:"jv",2:"jav","2T":"jav","2B":"jav",3:"jav"},{name:"Kalaallisut",local:"Kalaallisut",1:"kl",2:"kal","2T":"kal","2B":"kal",3:"kal"},{name:"Kannada",local:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",1:"kn",2:"kan","2T":"kan","2B":"kan",3:"kan"},{name:"Kanuri",local:"Kanuri",1:"kr",2:"kau","2T":"kau","2B":"kau",3:"kau"},{name:"Kashmiri",local:"\u0643\u0634\u0645\u064A\u0631\u064A",1:"ks",2:"kas","2T":"kas","2B":"kas",3:"kas"},{name:"Kazakh",local:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",1:"kk",2:"kaz","2T":"kaz","2B":"kaz",3:"kaz"},{name:"Khmer",local:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A",1:"km",2:"khm","2T":"khm","2B":"khm",3:"khm"},{name:"Kikuyu",local:"G\u0129k\u0169y\u0169",1:"ki",2:"kik","2T":"kik","2B":"kik",3:"kik"},{name:"Kinyarwanda",local:"Kinyarwanda",1:"rw",2:"kin","2T":"kin","2B":"kin",3:"kin"},{name:"Kyrgyz",local:"\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430",1:"ky",2:"kir","2T":"kir","2B":"kir",3:"kir"},{name:"Komi",local:"\u041A\u043E\u043C\u0438",1:"kv",2:"kom","2T":"kom","2B":"kom",3:"kom"},{name:"Kongo",local:"Kongo",1:"kg",2:"kon","2T":"kon","2B":"kon",3:"kon"},{name:"Korean",local:"\uD55C\uAD6D\uC5B4",1:"ko",2:"kor","2T":"kor","2B":"kor",3:"kor"},{name:"Kurdish",local:"Kurd\xEE",1:"ku",2:"kur","2T":"kur","2B":"kur",3:"kur"},{name:"Kwanyama",local:"Kuanyama",1:"kj",2:"kua","2T":"kua","2B":"kua",3:"kua"},{name:"Latin",local:"Latina",1:"la",2:"lat","2T":"lat","2B":"lat",3:"lat"},{name:"Luxembourgish",local:"L\xEBtzebuergesch",1:"lb",2:"ltz","2T":"ltz","2B":"ltz",3:"ltz"},{name:"Ganda",local:"Luganda",1:"lg",2:"lug","2T":"lug","2B":"lug",3:"lug"},{name:"Limburgish",local:"Limburgs",1:"li",2:"lim","2T":"lim","2B":"lim",3:"lim"},{name:"Lingala",local:"Ling\xE1la",1:"ln",2:"lin","2T":"lin","2B":"lin",3:"lin"},{name:"Lao",local:"\u0E9E\u0EB2\u0EAA\u0EB2\u0EA5\u0EB2\u0EA7",1:"lo",2:"lao","2T":"lao","2B":"lao",3:"lao"},{name:"Lithuanian",local:"Lietuvi\u0173",1:"lt",2:"lit","2T":"lit","2B":"lit",3:"lit"},{name:"Luba-Katanga",local:"Tshiluba",1:"lu",2:"lub","2T":"lub","2B":"lub",3:"lub"},{name:"Latvian",local:"Latvie\u0161u",1:"lv",2:"lav","2T":"lav","2B":"lav",3:"lav"},{name:"Manx",local:"Gaelg",1:"gv",2:"glv","2T":"glv","2B":"glv",3:"glv"},{name:"Macedonian",local:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438",1:"mk",2:"mkd","2T":"mkd","2B":"mac",3:"mkd"},{name:"Malagasy",local:"Malagasy",1:"mg",2:"mlg","2T":"mlg","2B":"mlg",3:"mlg"},{name:"Malay",local:"Bahasa Melayu",1:"ms",2:"msa","2T":"msa","2B":"may",3:"msa"},{name:"Malayalam",local:"\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02",1:"ml",2:"mal","2T":"mal","2B":"mal",3:"mal"},{name:"Maltese",local:"Malti",1:"mt",2:"mlt","2T":"mlt","2B":"mlt",3:"mlt"},{name:"M\u0101ori",local:"M\u0101ori",1:"mi",2:"mri","2T":"mri","2B":"mao",3:"mri"},{name:"Marathi",local:"\u092E\u0930\u093E\u0920\u0940",1:"mr",2:"mar","2T":"mar","2B":"mar",3:"mar"},{name:"Marshallese",local:"Kajin M\u0327aje\u013C",1:"mh",2:"mah","2T":"mah","2B":"mah",3:"mah"},{name:"Mongolian",local:"\u041C\u043E\u043D\u0433\u043E\u043B",1:"mn",2:"mon","2T":"mon","2B":"mon",3:"mon"},{name:"Nauru",local:"Dorerin Naoero",1:"na",2:"nau","2T":"nau","2B":"nau",3:"nau"},{name:"Navajo",local:"Din\xE9 Bizaad",1:"nv",2:"nav","2T":"nav","2B":"nav",3:"nav"},{name:"Northern Ndebele",local:"isiNdebele",1:"nd",2:"nde","2T":"nde","2B":"nde",3:"nde"},{name:"Nepali",local:"\u0928\u0947\u092A\u093E\u0932\u0940",1:"ne",2:"nep","2T":"nep","2B":"nep",3:"nep"},{name:"Ndonga",local:"Owambo",1:"ng",2:"ndo","2T":"ndo","2B":"ndo",3:"ndo"},{name:"Norwegian Bokm\xE5l",local:"Norsk (Bokm\xE5l)",1:"nb",2:"nob","2T":"nob","2B":"nob",3:"nob"},{name:"Norwegian Nynorsk",local:"Norsk (Nynorsk)",1:"nn",2:"nno","2T":"nno","2B":"nno",3:"nno"},{name:"Norwegian",local:"Norsk",1:"no",2:"nor","2T":"nor","2B":"nor",3:"nor"},{name:"Nuosu",local:"\uA188\uA320\uA4BF Nuosuhxop",1:"ii",2:"iii","2T":"iii","2B":"iii",3:"iii"},{name:"Southern Ndebele",local:"isiNdebele",1:"nr",2:"nbl","2T":"nbl","2B":"nbl",3:"nbl"},{name:"Occitan",local:"Occitan",1:"oc",2:"oci","2T":"oci","2B":"oci",3:"oci"},{name:"Ojibwe",local:"\u140A\u14C2\u1511\u14C8\u142F\u14A7\u140E\u14D0",1:"oj",2:"oji","2T":"oji","2B":"oji",3:"oji"},{name:"Old Church Slavonic",local:"\u0421\u043B\u043E\u0432\u0463\u0301\u043D\u044C\u0441\u043A\u044A",1:"cu",2:"chu","2T":"chu","2B":"chu",3:"chu"},{name:"Oromo",local:"Afaan Oromoo",1:"om",2:"orm","2T":"orm","2B":"orm",3:"orm"},{name:"Oriya",local:"\u0B13\u0B21\u0B3F\u0B3C\u0B06",1:"or",2:"ori","2T":"ori","2B":"ori",3:"ori"},{name:"Ossetian",local:"\u0418\u0440\u043E\u043D \xE6\u0432\u0437\u0430\u0433",1:"os",2:"oss","2T":"oss","2B":"oss",3:"oss"},{name:"Panjabi",local:"\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40",1:"pa",2:"pan","2T":"pan","2B":"pan",3:"pan"},{name:"P\u0101li",local:"\u092A\u093E\u0934\u093F",1:"pi",2:"pli","2T":"pli","2B":"pli",3:"pli"},{name:"Persian",local:"\u0641\u0627\u0631\u0633\u06CC",1:"fa",2:"fas","2T":"fas","2B":"per",3:"fas"},{name:"Polish",local:"Polski",1:"pl",2:"pol","2T":"pol","2B":"pol",3:"pol"},{name:"Pashto",local:"\u067E\u069A\u062A\u0648",1:"ps",2:"pus","2T":"pus","2B":"pus",3:"pus"},{name:"Portuguese",local:"Portugu\xEAs",1:"pt",2:"por","2T":"por","2B":"por",3:"por"},{name:"Quechua",local:"Runa Simi",1:"qu",2:"que","2T":"que","2B":"que",3:"que"},{name:"Romansh",local:"Rumantsch",1:"rm",2:"roh","2T":"roh","2B":"roh",3:"roh"},{name:"Kirundi",local:"Kirundi",1:"rn",2:"run","2T":"run","2B":"run",3:"run"},{name:"Romanian",local:"Rom\xE2n\u0103",1:"ro",2:"ron","2T":"ron","2B":"rum",3:"ron"},{name:"Russian",local:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",1:"ru",2:"rus","2T":"rus","2B":"rus",3:"rus"},{name:"Sanskrit",local:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D",1:"sa",2:"san","2T":"san","2B":"san",3:"san"},{name:"Sardinian",local:"Sardu",1:"sc",2:"srd","2T":"srd","2B":"srd",3:"srd"},{name:"Sindhi",local:"\u0633\u0646\u068C\u064A\u200E",1:"sd",2:"snd","2T":"snd","2B":"snd",3:"snd"},{name:"Northern Sami",local:"S\xE1megiella",1:"se",2:"sme","2T":"sme","2B":"sme",3:"sme"},{name:"Samoan",local:"Gagana S\u0101moa",1:"sm",2:"smo","2T":"smo","2B":"smo",3:"smo"},{name:"Sango",local:"S\xE4ng\xF6",1:"sg",2:"sag","2T":"sag","2B":"sag",3:"sag"},{name:"Serbian",local:"\u0421\u0440\u043F\u0441\u043A\u0438",1:"sr",2:"srp","2T":"srp","2B":"srp",3:"srp"},{name:"Gaelic",local:"G\xE0idhlig",1:"gd",2:"gla","2T":"gla","2B":"gla",3:"gla"},{name:"Shona",local:"ChiShona",1:"sn",2:"sna","2T":"sna","2B":"sna",3:"sna"},{name:"Sinhala",local:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",1:"si",2:"sin","2T":"sin","2B":"sin",3:"sin"},{name:"Slovak",local:"Sloven\u010Dina",1:"sk",2:"slk","2T":"slk","2B":"slo",3:"slk"},{name:"Slovene",local:"Sloven\u0161\u010Dina",1:"sl",2:"slv","2T":"slv","2B":"slv",3:"slv"},{name:"Somali",local:"Soomaaliga",1:"so",2:"som","2T":"som","2B":"som",3:"som"},{name:"Southern Sotho",local:"Sesotho",1:"st",2:"sot","2T":"sot","2B":"sot",3:"sot"},{name:"Spanish",local:"Espa\xF1ol",1:"es",2:"spa","2T":"spa","2B":"spa",3:"spa"},{name:"Sundanese",local:"Basa Sunda",1:"su",2:"sun","2T":"sun","2B":"sun",3:"sun"},{name:"Swahili",local:"Kiswahili",1:"sw",2:"swa","2T":"swa","2B":"swa",3:"swa"},{name:"Swati",local:"SiSwati",1:"ss",2:"ssw","2T":"ssw","2B":"ssw",3:"ssw"},{name:"Swedish",local:"Svenska",1:"sv",2:"swe","2T":"swe","2B":"swe",3:"swe"},{name:"Tamil",local:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",1:"ta",2:"tam","2T":"tam","2B":"tam",3:"tam"},{name:"Telugu",local:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41",1:"te",2:"tel","2T":"tel","2B":"tel",3:"tel"},{name:"Tajik",local:"\u0422\u043E\u04B7\u0438\u043A\u04E3",1:"tg",2:"tgk","2T":"tgk","2B":"tgk",3:"tgk"},{name:"Thai",local:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",1:"th",2:"tha","2T":"tha","2B":"tha",3:"tha"},{name:"Tigrinya",local:"\u1275\u130D\u122D\u129B",1:"ti",2:"tir","2T":"tir","2B":"tir",3:"tir"},{name:"Tibetan Standard",local:"\u0F56\u0F7C\u0F51\u0F0B\u0F61\u0F72\u0F42",1:"bo",2:"bod","2T":"bod","2B":"tib",3:"bod"},{name:"Turkmen",local:"T\xFCrkmen\xE7e",1:"tk",2:"tuk","2T":"tuk","2B":"tuk",3:"tuk"},{name:"Tagalog",local:"Tagalog",1:"tl",2:"tgl","2T":"tgl","2B":"tgl",3:"tgl"},{name:"Tswana",local:"Setswana",1:"tn",2:"tsn","2T":"tsn","2B":"tsn",3:"tsn"},{name:"Tonga",local:"faka Tonga",1:"to",2:"ton","2T":"ton","2B":"ton",3:"ton"},{name:"Turkish",local:"T\xFCrk\xE7e",1:"tr",2:"tur","2T":"tur","2B":"tur",3:"tur"},{name:"Tsonga",local:"Xitsonga",1:"ts",2:"tso","2T":"tso","2B":"tso",3:"tso"},{name:"Tatar",local:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",1:"tt",2:"tat","2T":"tat","2B":"tat",3:"tat"},{name:"Twi",local:"Twi",1:"tw",2:"twi","2T":"twi","2B":"twi",3:"twi"},{name:"Tahitian",local:"Reo M\u0101\u2019ohi",1:"ty",2:"tah","2T":"tah","2B":"tah",3:"tah"},{name:"Uyghur",local:"\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u0647",1:"ug",2:"uig","2T":"uig","2B":"uig",3:"uig"},{name:"Ukrainian",local:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",1:"uk",2:"ukr","2T":"ukr","2B":"ukr",3:"ukr"},{name:"Urdu",local:"\u0627\u0631\u062F\u0648",1:"ur",2:"urd","2T":"urd","2B":"urd",3:"urd"},{name:"Uzbek",local:"O\u2018zbek",1:"uz",2:"uzb","2T":"uzb","2B":"uzb",3:"uzb"},{name:"Venda",local:"Tshiven\u1E13a",1:"ve",2:"ven","2T":"ven","2B":"ven",3:"ven"},{name:"Vietnamese",local:"Ti\u1EBFng Vi\u1EC7t",1:"vi",2:"vie","2T":"vie","2B":"vie",3:"vie"},{name:"Volap\xFCk",local:"Volap\xFCk",1:"vo",2:"vol","2T":"vol","2B":"vol",3:"vol"},{name:"Walloon",local:"Walon",1:"wa",2:"wln","2T":"wln","2B":"wln",3:"wln"},{name:"Welsh",local:"Cymraeg",1:"cy",2:"cym","2T":"cym","2B":"wel",3:"cym"},{name:"Wolof",local:"Wolof",1:"wo",2:"wol","2T":"wol","2B":"wol",3:"wol"},{name:"Western Frisian",local:"Frysk",1:"fy",2:"fry","2T":"fry","2B":"fry",3:"fry"},{name:"Xhosa",local:"isiXhosa",1:"xh",2:"xho","2T":"xho","2B":"xho",3:"xho"},{name:"Yiddish",local:"\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9",1:"yi",2:"yid","2T":"yid","2B":"yid",3:"yid"},{name:"Yoruba",local:"Yor\xF9b\xE1",1:"yo",2:"yor","2T":"yor","2B":"yor",3:"yor"},{name:"Zhuang",local:"Cuengh",1:"za",2:"zha","2T":"zha","2B":"zha",3:"zha"},{name:"Zulu",local:"isiZulu",1:"zu",2:"zul","2T":"zul","2B":"zul",3:"zul"}]});var Ha=kt((W0,Pa)=>{var qt=Da(),Hp={all:Up,has:jp,codes:Gp,names:$p,where:Oa};Pa.exports=Hp;function Up(){return qt}function jp(e,t){return Oa(e,t)!==void 0}function Gp(e){if(Vp(e))return za(qt,function(r){return r[e]})}function $p(e){return za(qt,function(r){return e?r.local:r.name})}function Oa(e,t){for(var r=0;r<qt.length;r++)if(t===qt[r][e])return qt[r]}function za(e,t){var r=[],n;for(n=0;n<e.length;n++)r.push(t(e[n],n));return r}function Vp(e){var t=[1,2,3,"1","2","2B","2T","3"];return t.indexOf(e)!==-1}});var Ua=kt((K0,Yp)=>{Yp.exports=[{code:"AD",name:"Andorra"},{code:"AE",name:"United Arab Emirates (the)"},{code:"AF",name:"Afghanistan"},{code:"AG",name:"Antigua and Barbuda"},{code:"AI",name:"Anguilla"},{code:"AL",name:"Albania"},{code:"AM",name:"Armenia"},{code:"AO",name:"Angola"},{code:"AQ",name:"Antarctica"},{code:"AR",name:"Argentina"},{code:"AS",name:"American Samoa"},{code:"AT",name:"Austria"},{code:"AU",name:"Australia"},{code:"AW",name:"Aruba"},{code:"AX",name:"\xC5land Islands"},{code:"AZ",name:"Azerbaijan"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BB",name:"Barbados"},{code:"BD",name:"Bangladesh"},{code:"BE",name:"Belgium"},{code:"BF",name:"Burkina Faso"},{code:"BG",name:"Bulgaria"},{code:"BH",name:"Bahrain"},{code:"BI",name:"Burundi"},{code:"BJ",name:"Benin"},{code:"BL",name:"Saint Barth\xE9lemy"},{code:"BM",name:"Bermuda"},{code:"BN",name:"Brunei Darussalam"},{code:"BO",name:"Bolivia (Plurinational State of)"},{code:"BQ",name:"Bonaire, Sint Eustatius and Saba"},{code:"BR",name:"Brazil"},{code:"BS",name:"Bahamas (The)"},{code:"BT",name:"Bhutan"},{code:"BV",name:"Bouvet Island"},{code:"BW",name:"Botswana"},{code:"BY",name:"Belarus"},{code:"BZ",name:"Belize"},{code:"CA",name:"Canada"},{code:"CC",name:"Cocos (Keeling) Islands (the)"},{code:"CD",name:"Congo (the Democratic Republic of the)"},{code:"CF",name:"Central African Republic (the)"},{code:"CG",name:"Congo (the)"},{code:"CH",name:"Switzerland"},{code:"CI",name:"C\xF4te d'Ivoire"},{code:"CK",name:"Cook Islands (the)"},{code:"CL",name:"Chile"},{code:"CM",name:"Cameroon"},{code:"CN",name:"China"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"CV",name:"Cabo Verde"},{code:"CW",name:"Cura\xE7ao"},{code:"CX",name:"Christmas Island"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czechia"},{code:"DE",name:"Germany"},{code:"DJ",name:"Djibouti"},{code:"DK",name:"Denmark"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic (the)"},{code:"DZ",name:"Algeria"},{code:"EC",name:"Ecuador"},{code:"EE",name:"Estonia"},{code:"EG",name:"Egypt"},{code:"EH",name:"Western Sahara*"},{code:"ER",name:"Eritrea"},{code:"ES",name:"Spain"},{code:"ET",name:"Ethiopia"},{code:"FI",name:"Finland"},{code:"FJ",name:"Fiji"},{code:"FK",name:"Falkland Islands (the) [Malvinas]"},{code:"FM",name:"Micronesia (Federated States of)"},{code:"FO",name:"Faroe Islands (the)"},{code:"FR",name:"France"},{code:"GA",name:"Gabon"},{code:"GB",name:"United Kingdom of Great Britain and Northern Ireland (the)"},{code:"GD",name:"Grenada"},{code:"GE",name:"Georgia"},{code:"GF",name:"French Guiana"},{code:"GG",name:"Guernsey"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GL",name:"Greenland"},{code:"GM",name:"Gambia (the)"},{code:"GN",name:"Guinea"},{code:"GP",name:"Guadeloupe"},{code:"GQ",name:"Equatorial Guinea"},{code:"GR",name:"Greece"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"GT",name:"Guatemala"},{code:"GU",name:"Guam"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HK",name:"Hong Kong"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"HN",name:"Honduras"},{code:"HR",name:"Croatia"},{code:"HT",name:"Haiti"},{code:"HU",name:"Hungary"},{code:"ID",name:"Indonesia"},{code:"IE",name:"Ireland"},{code:"IL",name:"Israel"},{code:"IM",name:"Isle of Man"},{code:"IN",name:"India"},{code:"IO",name:"British Indian Ocean Territory (the)"},{code:"IQ",name:"Iraq"},{code:"IR",name:"Iran (Islamic Republic of)"},{code:"IS",name:"Iceland"},{code:"IT",name:"Italy"},{code:"JE",name:"Jersey"},{code:"JM",name:"Jamaica"},{code:"JO",name:"Jordan"},{code:"JP",name:"Japan"},{code:"KE",name:"Kenya"},{code:"KG",name:"Kyrgyzstan"},{code:"KH",name:"Cambodia"},{code:"KI",name:"Kiribati"},{code:"KM",name:"Comoros (the)"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"KP",name:"Korea (the Democratic People's Republic of)"},{code:"KR",name:"Korea (the Republic of)"},{code:"KW",name:"Kuwait"},{code:"KY",name:"Cayman Islands (the)"},{code:"KZ",name:"Kazakhstan"},{code:"LA",name:"Lao People's Democratic Republic (the)"},{code:"LB",name:"Lebanon"},{code:"LC",name:"Saint Lucia"},{code:"LI",name:"Liechtenstein"},{code:"LK",name:"Sri Lanka"},{code:"LR",name:"Liberia"},{code:"LS",name:"Lesotho"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"LV",name:"Latvia"},{code:"LY",name:"Libya"},{code:"MA",name:"Morocco"},{code:"MC",name:"Monaco"},{code:"MD",name:"Moldova (the Republic of)"},{code:"ME",name:"Montenegro"},{code:"MF",name:"Saint Martin (French part)"},{code:"MG",name:"Madagascar"},{code:"MH",name:"Marshall Islands (the)"},{code:"MK",name:"North Macedonia"},{code:"ML",name:"Mali"},{code:"MM",name:"Myanmar"},{code:"MN",name:"Mongolia"},{code:"MO",name:"Macao"},{code:"MP",name:"Northern Mariana Islands (the)"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MS",name:"Montserrat"},{code:"MT",name:"Malta"},{code:"MU",name:"Mauritius"},{code:"MV",name:"Maldives"},{code:"MW",name:"Malawi"},{code:"MX",name:"Mexico"},{code:"MY",name:"Malaysia"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NC",name:"New Caledonia"},{code:"NE",name:"Niger (the)"},{code:"NF",name:"Norfolk Island"},{code:"NG",name:"Nigeria"},{code:"NI",name:"Nicaragua"},{code:"NL",name:"Netherlands (Kingdom of the)"},{code:"NO",name:"Norway"},{code:"NP",name:"Nepal"},{code:"NR",name:"Nauru"},{code:"NU",name:"Niue"},{code:"NZ",name:"New Zealand"},{code:"OM",name:"Oman"},{code:"PA",name:"Panama"},{code:"PE",name:"Peru"},{code:"PF",name:"French Polynesia"},{code:"PG",name:"Papua New Guinea"},{code:"PH",name:"Philippines (the)"},{code:"PK",name:"Pakistan"},{code:"PL",name:"Poland"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"PN",name:"Pitcairn"},{code:"PR",name:"Puerto Rico"},{code:"PS",name:"Palestine, State of"},{code:"PT",name:"Portugal"},{code:"PW",name:"Palau"},{code:"PY",name:"Paraguay"},{code:"QA",name:"Qatar"},{code:"RE",name:"R\xE9union"},{code:"RO",name:"Romania"},{code:"RS",name:"Serbia"},{code:"RU",name:"Russian Federation (the)"},{code:"RW",name:"Rwanda"},{code:"SA",name:"Saudi Arabia"},{code:"SB",name:"Solomon Islands"},{code:"SC",name:"Seychelles"},{code:"SD",name:"Sudan (the)"},{code:"SE",name:"Sweden"},{code:"SG",name:"Singapore"},{code:"SH",name:"Saint Helena, Ascension and Tristan da Cunha"},{code:"SI",name:"Slovenia"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SK",name:"Slovakia"},{code:"SL",name:"Sierra Leone"},{code:"SM",name:"San Marino"},{code:"SN",name:"Senegal"},{code:"SO",name:"Somalia"},{code:"SR",name:"Suriname"},{code:"SS",name:"South Sudan"},{code:"ST",name:"Sao Tome and Principe"},{code:"SV",name:"El Salvador"},{code:"SX",name:"Sint Maarten (Dutch part)"},{code:"SY",name:"Syrian Arab Republic (the)"},{code:"SZ",name:"Eswatini"},{code:"TC",name:"Turks and Caicos Islands (the)"},{code:"TD",name:"Chad"},{code:"TF",name:"French Southern Territories (the)"},{code:"TG",name:"Togo"},{code:"TH",name:"Thailand"},{code:"TJ",name:"Tajikistan"},{code:"TK",name:"Tokelau"},{code:"TL",name:"Timor-Leste"},{code:"TM",name:"Turkmenistan"},{code:"TN",name:"Tunisia"},{code:"TO",name:"Tonga"},{code:"TR",name:"T\xFCrkiye"},{code:"TT",name:"Trinidad and Tobago"},{code:"TV",name:"Tuvalu"},{code:"TW",name:"Taiwan (Province of China)"},{code:"TZ",name:"Tanzania, the United Republic of"},{code:"UA",name:"Ukraine"},{code:"UG",name:"Uganda"},{code:"UM",name:"United States Minor Outlying Islands (the)"},{code:"US",name:"United States of America (the)"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VA",name:"Holy See (the)"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"VE",name:"Venezuela (Bolivarian Republic of)"},{code:"VG",name:"Virgin Islands (British)"},{code:"VI",name:"Virgin Islands (U.S.)"},{code:"VN",name:"Viet Nam"},{code:"VU",name:"Vanuatu"},{code:"WF",name:"Wallis and Futuna"},{code:"WS",name:"Samoa"},{code:"YE",name:"Yemen"},{code:"YT",name:"Mayotte"},{code:"ZA",name:"South Africa"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}]});var Ga=kt(ze=>{"use strict";var _t=Ua(),bi={},xi={};_t.forEach(ja);function ja(e){bi[e.name.toLowerCase()]=e.code,xi[e.code.toLowerCase()]=e.name}ze.overwrite=function(t){!t||!t.length||t.forEach(function(r){var n=_t.findIndex(function(i){return i.code===r.code});_t[n]=r,ja(r)})};ze.getCode=function(t){return bi[t.toLowerCase()]};ze.getName=function(t){return xi[t.toLowerCase()]};ze.getNames=function(){return _t.map(function(t){return t.name})};ze.getCodes=function(){return _t.map(function(t){return t.code})};ze.getCodeList=function(){return xi};ze.getNameList=function(){return bi};ze.getData=function(){return _t}});var vd={};Ki(vd,{ErrorSeverity:()=>qe,default:()=>yd,markdown2typst:()=>is});var qe=(r=>(r.WARNING="warning",r.ERROR="error",r))(qe||{});function Zr(e){if(e)throw e}var pr=sr(oo(),1);function Pt(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xr(){let e=[],t={run:r,use:n};return t;function r(...i){let a=-1,o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...i);function l(s,...u){let p=e[++a],c=-1;if(s){o(s);return}for(;++c<i.length;)(u[c]===null||u[c]===void 0)&&(u[c]=i[c]);i=u,p?ao(p,l)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function ao(e,t){let r;return n;function n(...o){let l=e.length>o.length,s;l&&o.push(i);try{s=e.apply(this,o)}catch(u){let p=u;if(l&&r)throw p;return i(p)}l||(s&&s.then&&typeof s.then=="function"?s.then(a,i):s instanceof Error?i(s):a(s))}function i(o,...l){r||(r=!0,t(o,...l))}function a(o){i(null,o)}}function Ue(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?lo(e.position):"start"in e||"end"in e?lo(e):"line"in e||"column"in e?Jr(e):""}function Jr(e){return so(e&&e.line)+":"+so(e&&e.column)}function lo(e){return Jr(e&&e.start)+"-"+Jr(e&&e.end)}function so(e){return e&&typeof e=="number"?e:1}var ie=class extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){let s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){let s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}let l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=Ue(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ie.prototype.file="";ie.prototype.name="";ie.prototype.reason="";ie.prototype.message="";ie.prototype.stack="";ie.prototype.column=void 0;ie.prototype.line=void 0;ie.prototype.ancestors=void 0;ie.prototype.cause=void 0;ie.prototype.fatal=void 0;ie.prototype.place=void 0;ie.prototype.ruleId=void 0;ie.prototype.source=void 0;var Se={basename:xs,dirname:ks,extname:ys,join:vs,sep:"/"};function xs(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ht(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(n=i):(l=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function ks(e){if(Ht(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ys(e){Ht(e);let t=e.length,r=-1,n=0,i=-1,a=0,o;for(;t--;){let l=e.codePointAt(t);if(l===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function vs(...e){let t=-1,r;for(;++t<e.length;)Ht(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Ss(r)}function Ss(e){Ht(e);let t=e.codePointAt(0)===47,r=Ts(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Ts(e,t){let r="",n=0,i=-1,a=0,o=-1,l,s;for(;++o<=e.length;){if(o<e.length)l=e.codePointAt(o);else{if(l===47)break;l=47}if(l===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(s=r.lastIndexOf("/"),s!==r.length-1){s<0?(r="",n=0):(r=r.slice(0,s),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,o):r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else l===46&&a>-1?a++:a=-1}return r}function Ht(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var uo={cwd:Es};function Es(){return"/"}function yt(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function co(e){if(typeof e=="string")e=new URL(e);else if(!yt(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return As(e)}function As(e){if(e.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let t=e.pathname,r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){let n=t.codePointAt(r+2);if(n===70||n===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var en=["history","path","basename","stem","extname","dirname"],Ut=class{constructor(t){let r;t?yt(t)?r={path:t}:typeof t=="string"||Cs(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":uo.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<en.length;){let a=en[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)en.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Se.basename(this.path):void 0}set basename(t){rn(t,"basename"),tn(t,"basename"),this.path=Se.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Se.dirname(this.path):void 0}set dirname(t){po(this.basename,"dirname"),this.path=Se.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Se.extname(this.path):void 0}set extname(t){if(tn(t,"extname"),po(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Se.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){yt(t)&&(t=co(t)),rn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Se.basename(this.path,this.extname):void 0}set stem(t){rn(t,"stem"),tn(t,"stem"),this.path=Se.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){let i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){let i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){let i=new ie(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}};function tn(e,t){if(e&&e.includes(Se.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Se.sep+"`")}function rn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function po(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Cs(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var fo=(function(e){let n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a});var qs={}.hasOwnProperty,ln=class e extends fo{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Xr()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let n=this.attachers[r];t.use(...n)}return t.data((0,pr.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(an("data",this.frozen),this.namespace[t]=r,this):qs.call(this.namespace,t)&&this.namespace[t]||void 0:t?(an("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let r=cr(t),n=this.parser||this.Parser;return nn("parse",n),n(String(r),r)}process(t,r){let n=this;return this.freeze(),nn("process",this.parser||this.Parser),on("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){let l=cr(t),s=n.parse(l);n.run(s,l,function(p,c,h){if(p||!c||!h)return u(p);let f=c,m=n.stringify(f,h);Ls(m)?h.value=m:h.result=m,u(p,h)});function u(p,c){p||!c?o(p):a?a(c):r(void 0,c)}}}processSync(t){let r=!1,n;return this.freeze(),nn("processSync",this.parser||this.Parser),on("processSync",this.compiler||this.Compiler),this.process(t,i),mo("processSync","process",r),n;function i(a,o){r=!0,Zr(a),n=o}}run(t,r,n){ho(t),this.freeze();let i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,l){let s=cr(r);i.run(t,s,u);function u(p,c,h){let f=c||t;p?l(p):o?o(f):n(void 0,f,h)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),mo("runSync","run",n),i;function a(o,l){Zr(o),i=l,n=!0}}stringify(t,r){this.freeze();let n=cr(r),i=this.compiler||this.Compiler;return on("stringify",i),ho(t),i(t,n)}use(t,...r){let n=this.attachers,i=this.namespace;if(an("use",this.frozen),t!=null)if(typeof t=="function")s(t,r);else if(typeof t=="object")Array.isArray(t)?l(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){let[p,...c]=u;s(p,c)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(i.settings=(0,pr.default)(!0,i.settings,u.settings))}function l(u){let p=-1;if(u!=null)if(Array.isArray(u))for(;++p<u.length;){let c=u[p];a(c)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,p){let c=-1,h=-1;for(;++c<n.length;)if(n[c][0]===u){h=c;break}if(h===-1)n.push([u,...p]);else if(p.length>0){let[f,...m]=p,y=n[h][1];Pt(y)&&Pt(f)&&(f=(0,pr.default)(!0,y,f)),n[h]=[u,f,...m]}}}},sn=new ln().freeze();function nn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function on(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function an(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ho(e){if(!Pt(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function mo(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function cr(e){return _s(e)?e:new Ut(e)}function _s(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ls(e){return typeof e=="string"||Is(e)}function Is(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var ee=je(/[A-Za-z]/),te=je(/[\dA-Za-z]/),go=je(/[#-'*+\--9=?A-Z^-~]/);function nt(e){return e!==null&&(e<32||e===127)}var jt=je(/\d/),wo=je(/[\dA-Fa-f]/),bo=je(/[!-/:-@[-`{-~]/);function A(e){return e!==null&&e<-2}function U(e){return e!==null&&(e<0||e===32)}function B(e){return e===-2||e===-1||e===32}var it=je(/\p{P}|\p{S}/u),_e=je(/\s/);function je(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}var ko=sr(xo(),1),Gt=Object.assign(ot(Error),{eval:ot(EvalError),range:ot(RangeError),reference:ot(ReferenceError),syntax:ot(SyntaxError),type:ot(TypeError),uri:ot(URIError)});function ot(e){return t.displayName=e.displayName||e.name,t;function t(r,...n){let i=r&&(0,ko.default)(r,...n);return new e(i)}}var fr={}.hasOwnProperty,yo={yaml:"-",toml:"+"};function vt(e){let t=[],r=-1,n=Array.isArray(e)?e:e?[e]:["yaml"];for(;++r<n.length;)t[r]=Bs(n[r]);return t}function Bs(e){let t=e;if(typeof t=="string"){if(!fr.call(yo,t))throw Gt("Missing matter definition for `%s`",t);t={type:t,marker:yo[t]}}else if(typeof t!="object")throw Gt("Expected matter to be an object, not `%j`",t);if(!fr.call(t,"type"))throw Gt("Missing `type` in matter `%j`",t);if(!fr.call(t,"fence")&&!fr.call(t,"marker"))throw Gt("Missing `marker` or `fence` in matter `%j`",t);return t}function pn(e){let t=vt(e),r={},n=-1;for(;++n<t.length;){let i=t[n],a=cn(i,"open").charCodeAt(0),o=Fs(i),l=r[a];Array.isArray(l)?l.push(o):r[a]=[o]}return{flow:r}}function Fs(e){let t=e.anywhere,r=e.type,n=r+"Fence",i=n+"Sequence",a=r+"Value",o={tokenize:p,partial:!0},l,s=0;return{tokenize:u,concrete:!0};function u(c,h,f){let m=this;return y;function y(L){let G=m.now();return G.column===1&&(G.line===1||t)&&(l=cn(e,"open"),s=0,L===l.charCodeAt(s))?(c.enter(r),c.enter(n),c.enter(i),k(L)):f(L)}function k(L){return s===l.length?(c.exit(i),B(L)?(c.enter("whitespace"),w(L)):b(L)):L===l.charCodeAt(s++)?(c.consume(L),k):f(L)}function w(L){return B(L)?(c.consume(L),w):(c.exit("whitespace"),b(L))}function b(L){return A(L)?(c.exit(n),c.enter("lineEnding"),c.consume(L),c.exit("lineEnding"),l=cn(e,"close"),s=0,c.attempt(o,T,E)):f(L)}function E(L){return L===null||A(L)?D(L):(c.enter(a),R(L))}function R(L){return L===null||A(L)?(c.exit(a),D(L)):(c.consume(L),R)}function D(L){return L===null?f(L):(c.enter("lineEnding"),c.consume(L),c.exit("lineEnding"),c.attempt(o,T,E))}function T(L){return c.exit(r),h(L)}}function p(c,h,f){let m=0;return y;function y(E){return E===l.charCodeAt(m)?(c.enter(n),c.enter(i),k(E)):f(E)}function k(E){return m===l.length?(c.exit(i),B(E)?(c.enter("whitespace"),w(E)):b(E)):E===l.charCodeAt(m++)?(c.consume(E),k):f(E)}function w(E){return B(E)?(c.consume(E),w):(c.exit("whitespace"),b(E))}function b(E){return E===null||A(E)?(c.exit(n),h(E)):f(E)}}}function cn(e,t){return e.marker?vo(e.marker,t).repeat(3):vo(e.fence,t)}function vo(e,t){return typeof e=="string"?e:e[t]}function $t(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function hn(e){let t=vt(e),r={},n={},i=-1;for(;++i<t.length;){let a=t[i];r[a.type]=Ms(a),n[a.type]=Ns,n[a.type+"Value"]=Rs}return{enter:r,exit:n}}function Ms(e){return t;function t(r){this.enter({type:e.type,value:""},r),this.buffer()}}function Ns(e){let t=this.resume(),r=this.stack[this.stack.length-1];"value"in r,this.exit(e),r.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function Rs(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function mn(e){let t=[],r={},n=vt(e),i=-1;for(;++i<n.length;){let a=n[i];r[a.type]=Ds(a);let o=fn(a,"open");t.push({atBreak:!0,character:o.charAt(0),after:$t(o.charAt(1))})}return{unsafe:t,handlers:r}}function Ds(e){let t=fn(e,"open"),r=fn(e,"close");return n;function n(i){return t+(i.value?`
29
3
  `+i.value:"")+`
30
- `+r}}function gn(e,t){return e.marker?_o(e.marker,t).repeat(3):_o(e.fence,t)}function _o(e,t){return typeof e=="string"?e:e[t]}var $s="yaml";function gr(e){let t=this,r=e||$s,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(dn(r)),a.push(wn(r)),o.push(bn(r))}function xn(e,t){let r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}var $e=(function(e){if(e==null)return Ks;if(typeof e=="function")return wr(e);if(typeof e=="object")return Array.isArray(e)?Vs(e):Ys(e);if(typeof e=="string")return Ws(e);throw new Error("Expected function, string, or object as test")});function Vs(e){let t=[],r=-1;for(;++r<e.length;)t[r]=$e(e[r]);return wr(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function Ys(e){let t=e;return wr(r);function r(n){let i=n,a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function Ws(e){return wr(t);function t(r){return r&&r.type===e}}function wr(e){return t;function t(r,n,i){return!!(Qs(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function Ks(){return!0}function Qs(e){return e!==null&&typeof e=="object"&&"type"in e}var Lo=[],br=!0,lt=!1,xr="skip";function Kt(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;let a=$e(i),o=n?-1:1;l(e,void 0,[])();function l(s,u,p){let c=s&&typeof s=="object"?s:{};if(typeof c.type=="string"){let f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return h;function h(){let f=Lo,m,y,k;if((!t||a(s,u,p[p.length-1]||void 0))&&(f=Zs(r(s,p)),f[0]===lt))return f;if("children"in s&&s.children){let w=s;if(w.children&&f[0]!==xr)for(y=(n?w.children.length:-1)+o,k=p.concat(w);y>-1&&y<w.children.length;){let b=w.children[y];if(m=l(b,y,k)(),m[0]===lt)return m;y=typeof m[1]=="number"?m[1]:y+o}}return f}}}function Zs(e){return Array.isArray(e)?e:typeof e=="number"?[br,e]:e==null?Lo:[e]}function kn(e,t,r){let i=$e((r||{}).ignore||[]),a=Xs(t),o=-1;for(;++o<a.length;)Kt(e,"text",l);function l(u,p){let c=-1,h;for(;++c<p.length;){let f=p[c],m=h?h.children:void 0;if(i(f,m?m.indexOf(f):void 0,h))return;h=f}if(h)return s(u,p)}function s(u,p){let c=p[p.length-1],h=a[o][0],f=a[o][1],m=0,k=c.children.indexOf(u),w=!1,b=[];h.lastIndex=0;let E=h.exec(u.value);for(;E;){let R=E.index,D={index:E.index,input:E.input,stack:[...p,u]},T=f(...E,D);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T===!1?h.lastIndex=R+1:(m!==R&&b.push({type:"text",value:u.value.slice(m,R)}),Array.isArray(T)?b.push(...T):T&&b.push(T),m=R+E[0].length,w=!0),!h.global)break;E=h.exec(u.value)}return w?(m<u.value.length&&b.push({type:"text",value:u.value.slice(m)}),c.children.splice(k,1,...b)):b=[u],k+b.length}}function Xs(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){let i=r[n];t.push([Js(i[0]),eu(i[1])])}return t}function Js(e){return typeof e=="string"?new RegExp(Wt(e),"g"):e}function eu(e){return typeof e=="function"?e:function(){return e}}var yn="phrasing",vn=["autolink","link","image","label"];function Tn(){return{transforms:[au],enter:{literalAutolink:tu,literalAutolinkEmail:Sn,literalAutolinkHttp:Sn,literalAutolinkWww:Sn},exit:{literalAutolink:ou,literalAutolinkEmail:iu,literalAutolinkHttp:ru,literalAutolinkWww:nu}}}function En(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:yn,notInConstruct:vn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:yn,notInConstruct:vn},{character:":",before:"[ps]",after:"\\/",inConstruct:yn,notInConstruct:vn}]}}function tu(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Sn(e){this.config.enter.autolinkProtocol.call(this,e)}function ru(e){this.config.exit.autolinkProtocol.call(this,e)}function nu(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function iu(e){this.config.exit.autolinkEmail.call(this,e)}function ou(e){this.exit(e)}function au(e){kn(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,lu],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,su]],{ignore:["link","linkReference"]})}function lu(e,t,r,n,i){let a="";if(!Io(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!uu(r)))return!1;let o=cu(r+n);if(!o[0])return!1;let l={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function su(e,t,r,n){return!Io(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function uu(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function cu(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")"),i=xn(e,"("),a=xn(e,")");for(;n!==-1&&i>a;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[e,r]}function Io(e,t){let r=e.input.charCodeAt(e.index-1);return(e.index===0||_e(r)||ot(r))&&(!t||r!==47)}function le(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Bo.peek=xu;function pu(){this.buffer()}function fu(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function hu(){this.buffer()}function mu(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function du(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=le(this.sliceSerialize(e)).toLowerCase(),r.label=t}function gu(e){this.exit(e)}function wu(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=le(this.sliceSerialize(e)).toLowerCase(),r.label=t}function bu(e){this.exit(e)}function xu(){return"["}function Bo(e,t,r,n){let i=r.createTracker(n),a=i.move("[^"),o=r.enter("footnoteReference"),l=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),l(),o(),a+=i.move("]"),a}function An(){return{enter:{gfmFootnoteCallString:pu,gfmFootnoteCall:fu,gfmFootnoteDefinitionLabelString:hu,gfmFootnoteDefinition:mu},exit:{gfmFootnoteCallString:du,gfmFootnoteCall:gu,gfmFootnoteDefinitionLabelString:wu,gfmFootnoteDefinition:bu}}}function Cn(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:Bo},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,o){let l=a.createTracker(o),s=l.move("[^"),u=a.enter("footnoteDefinition"),p=a.enter("label");return s+=l.move(a.safe(a.associationId(n),{before:s,after:"]"})),p(),s+=l.move("]:"),n.children&&n.children.length>0&&(l.shift(4),s+=l.move((t?`
31
- `:" ")+a.indentLines(a.containerFlow(n,l.current()),t?Fo:ku))),u(),s}}function ku(e,t,r){return t===0?e:Fo(e,t,r)}function Fo(e,t,r){return(r?"":" ")+e}var yu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Mo.peek=Tu;function qn(){return{canContainEols:["delete"],enter:{strikethrough:vu},exit:{strikethrough:Su}}}function _n(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:yu}],handlers:{delete:Mo}}}function vu(e){this.enter({type:"delete",children:[]},e)}function Su(e){this.exit(e)}function Mo(e,t,r,n){let i=r.createTracker(n),a=r.enter("strikethrough"),o=i.move("~~");return o+=r.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function Tu(){return"~"}function Eu(e){return e.length}function Ro(e,t){let r=t||{},n=(r.align||[]).concat(),i=r.stringLength||Eu,a=[],o=[],l=[],s=[],u=0,p=-1;for(;++p<e.length;){let y=[],k=[],w=-1;for(e[p].length>u&&(u=e[p].length);++w<e[p].length;){let b=Au(e[p][w]);if(r.alignDelimiters!==!1){let E=i(b);k[w]=E,(s[w]===void 0||E>s[w])&&(s[w]=E)}y.push(b)}o[p]=y,l[p]=k}let c=-1;if(typeof n=="object"&&"length"in n)for(;++c<u;)a[c]=No(n[c]);else{let y=No(n);for(;++c<u;)a[c]=y}c=-1;let h=[],f=[];for(;++c<u;){let y=a[c],k="",w="";y===99?(k=":",w=":"):y===108?k=":":y===114&&(w=":");let b=r.alignDelimiters===!1?1:Math.max(1,s[c]-k.length-w.length),E=k+"-".repeat(b)+w;r.alignDelimiters!==!1&&(b=k.length+b+w.length,b>s[c]&&(s[c]=b),f[c]=b),h[c]=E}o.splice(1,0,h),l.splice(1,0,f),p=-1;let m=[];for(;++p<o.length;){let y=o[p],k=l[p];c=-1;let w=[];for(;++c<u;){let b=y[c]||"",E="",R="";if(r.alignDelimiters!==!1){let D=s[c]-(k[c]||0),T=a[c];T===114?E=" ".repeat(D):T===99?D%2?(E=" ".repeat(D/2+.5),R=" ".repeat(D/2-.5)):(E=" ".repeat(D/2),R=E):R=" ".repeat(D)}r.delimiterStart!==!1&&!c&&w.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&b==="")&&(r.delimiterStart!==!1||c)&&w.push(" "),r.alignDelimiters!==!1&&w.push(E),w.push(b),r.alignDelimiters!==!1&&w.push(R),r.padding!==!1&&w.push(" "),(r.delimiterEnd!==!1||c!==u-1)&&w.push("|")}m.push(r.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return m.join(`
32
- `)}function Au(e){return e==null?"":String(e)}function No(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Do(e,t,r,n){let i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);let o=r.indentLines(r.containerFlow(e,a.current()),Cu);return i(),o}function Cu(e,t,r){return">"+(r?"":" ")+e}function zo(e,t){return Oo(e,t.inConstruct,!0)&&!Oo(e,t.notInConstruct,!1)}function Oo(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function Ln(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
33
- `&&zo(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
34
- `}function kr(e,t){let r=String(e),n=r.indexOf(t),i=n,a=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++a>o&&(o=a):a=1,i=n+t.length,n=r.indexOf(t,i);return o}function Po(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Ho(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Uo(e,t,r,n){let i=Ho(r),a=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Po(e,r)){let c=r.enter("codeIndented"),h=r.indentLines(a,qu);return c(),h}let l=r.createTracker(n),s=i.repeat(Math.max(kr(a,i)+1,3)),u=r.enter("codeFenced"),p=l.move(s);if(e.lang){let c=r.enter(`codeFencedLang${o}`);p+=l.move(r.safe(e.lang,{before:p,after:" ",encode:["`"],...l.current()})),c()}if(e.lang&&e.meta){let c=r.enter(`codeFencedMeta${o}`);p+=l.move(" "),p+=l.move(r.safe(e.meta,{before:p,after:`
4
+ `+r}}function fn(e,t){return e.marker?So(e.marker,t).repeat(3):So(e.fence,t)}function So(e,t){return typeof e=="string"?e:e[t]}var Os="yaml";function hr(e){let t=this,r=e||Os,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(pn(r)),a.push(hn(r)),o.push(mn(r))}function dn(e,t){let r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}var Ge=(function(e){if(e==null)return Us;if(typeof e=="function")return mr(e);if(typeof e=="object")return Array.isArray(e)?zs(e):Ps(e);if(typeof e=="string")return Hs(e);throw new Error("Expected function, string, or object as test")});function zs(e){let t=[],r=-1;for(;++r<e.length;)t[r]=Ge(e[r]);return mr(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function Ps(e){let t=e;return mr(r);function r(n){let i=n,a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function Hs(e){return mr(t);function t(r){return r&&r.type===e}}function mr(e){return t;function t(r,n,i){return!!(js(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function Us(){return!0}function js(e){return e!==null&&typeof e=="object"&&"type"in e}var To=[],dr=!0,at=!1,gr="skip";function Vt(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;let a=Ge(i),o=n?-1:1;l(e,void 0,[])();function l(s,u,p){let c=s&&typeof s=="object"?s:{};if(typeof c.type=="string"){let f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return h;function h(){let f=To,m,y,k;if((!t||a(s,u,p[p.length-1]||void 0))&&(f=Gs(r(s,p)),f[0]===at))return f;if("children"in s&&s.children){let w=s;if(w.children&&f[0]!==gr)for(y=(n?w.children.length:-1)+o,k=p.concat(w);y>-1&&y<w.children.length;){let b=w.children[y];if(m=l(b,y,k)(),m[0]===at)return m;y=typeof m[1]=="number"?m[1]:y+o}}return f}}}function Gs(e){return Array.isArray(e)?e:typeof e=="number"?[dr,e]:e==null?To:[e]}function gn(e,t,r){let i=Ge((r||{}).ignore||[]),a=$s(t),o=-1;for(;++o<a.length;)Vt(e,"text",l);function l(u,p){let c=-1,h;for(;++c<p.length;){let f=p[c],m=h?h.children:void 0;if(i(f,m?m.indexOf(f):void 0,h))return;h=f}if(h)return s(u,p)}function s(u,p){let c=p[p.length-1],h=a[o][0],f=a[o][1],m=0,k=c.children.indexOf(u),w=!1,b=[];h.lastIndex=0;let E=h.exec(u.value);for(;E;){let R=E.index,D={index:E.index,input:E.input,stack:[...p,u]},T=f(...E,D);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T===!1?h.lastIndex=R+1:(m!==R&&b.push({type:"text",value:u.value.slice(m,R)}),Array.isArray(T)?b.push(...T):T&&b.push(T),m=R+E[0].length,w=!0),!h.global)break;E=h.exec(u.value)}return w?(m<u.value.length&&b.push({type:"text",value:u.value.slice(m)}),c.children.splice(k,1,...b)):b=[u],k+b.length}}function $s(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){let i=r[n];t.push([Vs(i[0]),Ys(i[1])])}return t}function Vs(e){return typeof e=="string"?new RegExp($t(e),"g"):e}function Ys(e){return typeof e=="function"?e:function(){return e}}var wn="phrasing",bn=["autolink","link","image","label"];function kn(){return{transforms:[Js],enter:{literalAutolink:Ws,literalAutolinkEmail:xn,literalAutolinkHttp:xn,literalAutolinkWww:xn},exit:{literalAutolink:Xs,literalAutolinkEmail:Zs,literalAutolinkHttp:Ks,literalAutolinkWww:Qs}}}function yn(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:wn,notInConstruct:bn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:wn,notInConstruct:bn},{character:":",before:"[ps]",after:"\\/",inConstruct:wn,notInConstruct:bn}]}}function Ws(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function xn(e){this.config.enter.autolinkProtocol.call(this,e)}function Ks(e){this.config.exit.autolinkProtocol.call(this,e)}function Qs(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Zs(e){this.config.exit.autolinkEmail.call(this,e)}function Xs(e){this.exit(e)}function Js(e){gn(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,eu],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,tu]],{ignore:["link","linkReference"]})}function eu(e,t,r,n,i){let a="";if(!Eo(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!ru(r)))return!1;let o=nu(r+n);if(!o[0])return!1;let l={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function tu(e,t,r,n){return!Eo(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function ru(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function nu(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")"),i=dn(e,"("),a=dn(e,")");for(;n!==-1&&i>a;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[e,r]}function Eo(e,t){let r=e.input.charCodeAt(e.index-1);return(e.index===0||_e(r)||it(r))&&(!t||r!==47)}function le(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Ao.peek=fu;function iu(){this.buffer()}function ou(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function au(){this.buffer()}function lu(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function su(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=le(this.sliceSerialize(e)).toLowerCase(),r.label=t}function uu(e){this.exit(e)}function cu(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=le(this.sliceSerialize(e)).toLowerCase(),r.label=t}function pu(e){this.exit(e)}function fu(){return"["}function Ao(e,t,r,n){let i=r.createTracker(n),a=i.move("[^"),o=r.enter("footnoteReference"),l=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),l(),o(),a+=i.move("]"),a}function vn(){return{enter:{gfmFootnoteCallString:iu,gfmFootnoteCall:ou,gfmFootnoteDefinitionLabelString:au,gfmFootnoteDefinition:lu},exit:{gfmFootnoteCallString:su,gfmFootnoteCall:uu,gfmFootnoteDefinitionLabelString:cu,gfmFootnoteDefinition:pu}}}function Sn(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:Ao},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,o){let l=a.createTracker(o),s=l.move("[^"),u=a.enter("footnoteDefinition"),p=a.enter("label");return s+=l.move(a.safe(a.associationId(n),{before:s,after:"]"})),p(),s+=l.move("]:"),n.children&&n.children.length>0&&(l.shift(4),s+=l.move((t?`
5
+ `:" ")+a.indentLines(a.containerFlow(n,l.current()),t?Co:hu))),u(),s}}function hu(e,t,r){return t===0?e:Co(e,t,r)}function Co(e,t,r){return(r?"":" ")+e}var mu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qo.peek=wu;function Tn(){return{canContainEols:["delete"],enter:{strikethrough:du},exit:{strikethrough:gu}}}function En(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:mu}],handlers:{delete:qo}}}function du(e){this.enter({type:"delete",children:[]},e)}function gu(e){this.exit(e)}function qo(e,t,r,n){let i=r.createTracker(n),a=r.enter("strikethrough"),o=i.move("~~");return o+=r.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function wu(){return"~"}function bu(e){return e.length}function Lo(e,t){let r=t||{},n=(r.align||[]).concat(),i=r.stringLength||bu,a=[],o=[],l=[],s=[],u=0,p=-1;for(;++p<e.length;){let y=[],k=[],w=-1;for(e[p].length>u&&(u=e[p].length);++w<e[p].length;){let b=xu(e[p][w]);if(r.alignDelimiters!==!1){let E=i(b);k[w]=E,(s[w]===void 0||E>s[w])&&(s[w]=E)}y.push(b)}o[p]=y,l[p]=k}let c=-1;if(typeof n=="object"&&"length"in n)for(;++c<u;)a[c]=_o(n[c]);else{let y=_o(n);for(;++c<u;)a[c]=y}c=-1;let h=[],f=[];for(;++c<u;){let y=a[c],k="",w="";y===99?(k=":",w=":"):y===108?k=":":y===114&&(w=":");let b=r.alignDelimiters===!1?1:Math.max(1,s[c]-k.length-w.length),E=k+"-".repeat(b)+w;r.alignDelimiters!==!1&&(b=k.length+b+w.length,b>s[c]&&(s[c]=b),f[c]=b),h[c]=E}o.splice(1,0,h),l.splice(1,0,f),p=-1;let m=[];for(;++p<o.length;){let y=o[p],k=l[p];c=-1;let w=[];for(;++c<u;){let b=y[c]||"",E="",R="";if(r.alignDelimiters!==!1){let D=s[c]-(k[c]||0),T=a[c];T===114?E=" ".repeat(D):T===99?D%2?(E=" ".repeat(D/2+.5),R=" ".repeat(D/2-.5)):(E=" ".repeat(D/2),R=E):R=" ".repeat(D)}r.delimiterStart!==!1&&!c&&w.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&b==="")&&(r.delimiterStart!==!1||c)&&w.push(" "),r.alignDelimiters!==!1&&w.push(E),w.push(b),r.alignDelimiters!==!1&&w.push(R),r.padding!==!1&&w.push(" "),(r.delimiterEnd!==!1||c!==u-1)&&w.push("|")}m.push(r.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return m.join(`
6
+ `)}function xu(e){return e==null?"":String(e)}function _o(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Io(e,t,r,n){let i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);let o=r.indentLines(r.containerFlow(e,a.current()),ku);return i(),o}function ku(e,t,r){return">"+(r?"":" ")+e}function Fo(e,t){return Bo(e,t.inConstruct,!0)&&!Bo(e,t.notInConstruct,!1)}function Bo(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function An(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
7
+ `&&Fo(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
8
+ `}function wr(e,t){let r=String(e),n=r.indexOf(t),i=n,a=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++a>o&&(o=a):a=1,i=n+t.length,n=r.indexOf(t,i);return o}function Mo(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function No(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Ro(e,t,r,n){let i=No(r),a=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Mo(e,r)){let c=r.enter("codeIndented"),h=r.indentLines(a,yu);return c(),h}let l=r.createTracker(n),s=i.repeat(Math.max(wr(a,i)+1,3)),u=r.enter("codeFenced"),p=l.move(s);if(e.lang){let c=r.enter(`codeFencedLang${o}`);p+=l.move(r.safe(e.lang,{before:p,after:" ",encode:["`"],...l.current()})),c()}if(e.lang&&e.meta){let c=r.enter(`codeFencedMeta${o}`);p+=l.move(" "),p+=l.move(r.safe(e.meta,{before:p,after:`
35
9
  `,encode:["`"],...l.current()})),c()}return p+=l.move(`
36
10
  `),a&&(p+=l.move(a+`
37
- `)),p+=l.move(s),u(),p}function qu(e,t,r){return(r?"":" ")+e}function St(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function jo(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("definition"),l=r.enter("label"),s=r.createTracker(n),u=s.move("[");return u+=s.move(r.safe(r.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":`
38
- `,...s.current()}))),l(),e.title&&(l=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),o(),u}function Go(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ve(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Oe(e){if(e===null||U(e)||_e(e))return 1;if(ot(e))return 2}function Tt(e,t,r){let n=Oe(e),i=Oe(t);return n===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}In.peek=_u;function In(e,t,r,n){let i=Go(r),a=r.enter("emphasis"),o=r.createTracker(n),l=o.move(i),s=o.move(r.containerPhrasing(e,{after:i,before:l,...o.current()})),u=s.charCodeAt(0),p=Tt(n.before.charCodeAt(n.before.length-1),u,i);p.inside&&(s=Ve(u)+s.slice(1));let c=s.charCodeAt(s.length-1),h=Tt(n.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+Ve(c));let f=o.move(i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},l+s+f}function _u(e,t,r){return r.options.emphasis||"*"}function Bn(e,t,r,n){let i,a,o;typeof t=="function"&&typeof r!="function"?(a=void 0,o=t,i=r):(a=t,o=r,i=n),Kt(e,a,l,i);function l(s,u){let p=u[u.length-1],c=p?p.children.indexOf(s):void 0;return o(s,c,p)}}var Lu={};function st(e,t){let r=t||Lu,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Vo(e,n,i)}function Vo(e,t,r){if(Iu(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return $o(e.children,t,r)}return Array.isArray(e)?$o(e,t,r):""}function $o(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=Vo(e[i],t,r);return n.join("")}function Iu(e){return!!(e&&typeof e=="object")}function Yo(e,t){let r=!1;return Bn(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,lt}),!!((!e.depth||e.depth<3)&&st(e)&&(t.options.setext||r))}function Wo(e,t,r,n){let i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(Yo(e,r)){let p=r.enter("headingSetext"),c=r.enter("phrasing"),h=r.containerPhrasing(e,{...a.current(),before:`
11
+ `)),p+=l.move(s),u(),p}function yu(e,t,r){return(r?"":" ")+e}function St(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Do(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("definition"),l=r.enter("label"),s=r.createTracker(n),u=s.move("[");return u+=s.move(r.safe(r.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":`
12
+ `,...s.current()}))),l(),e.title&&(l=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),o(),u}function Oo(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function $e(e){return"&#x"+e.toString(16).toUpperCase()+";"}function De(e){if(e===null||U(e)||_e(e))return 1;if(it(e))return 2}function Tt(e,t,r){let n=De(e),i=De(t);return n===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Cn.peek=vu;function Cn(e,t,r,n){let i=Oo(r),a=r.enter("emphasis"),o=r.createTracker(n),l=o.move(i),s=o.move(r.containerPhrasing(e,{after:i,before:l,...o.current()})),u=s.charCodeAt(0),p=Tt(n.before.charCodeAt(n.before.length-1),u,i);p.inside&&(s=$e(u)+s.slice(1));let c=s.charCodeAt(s.length-1),h=Tt(n.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+$e(c));let f=o.move(i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},l+s+f}function vu(e,t,r){return r.options.emphasis||"*"}function qn(e,t,r,n){let i,a,o;typeof t=="function"&&typeof r!="function"?(a=void 0,o=t,i=r):(a=t,o=r,i=n),Vt(e,a,l,i);function l(s,u){let p=u[u.length-1],c=p?p.children.indexOf(s):void 0;return o(s,c,p)}}var Su={};function lt(e,t){let r=t||Su,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Po(e,n,i)}function Po(e,t,r){if(Tu(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return zo(e.children,t,r)}return Array.isArray(e)?zo(e,t,r):""}function zo(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=Po(e[i],t,r);return n.join("")}function Tu(e){return!!(e&&typeof e=="object")}function Ho(e,t){let r=!1;return qn(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,at}),!!((!e.depth||e.depth<3)&&lt(e)&&(t.options.setext||r))}function Uo(e,t,r,n){let i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(Ho(e,r)){let p=r.enter("headingSetext"),c=r.enter("phrasing"),h=r.containerPhrasing(e,{...a.current(),before:`
39
13
  `,after:`
40
14
  `});return c(),p(),h+`
41
15
  `+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
42
16
  `))+1))}let o="#".repeat(i),l=r.enter("headingAtx"),s=r.enter("phrasing");a.move(o+" ");let u=r.containerPhrasing(e,{before:"# ",after:`
43
- `,...a.current()});return/^[\t ]/.test(u)&&(u=Ve(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,r.options.closeAtx&&(u+=" "+o),s(),l(),u}Fn.peek=Bu;function Fn(e){return e.value||""}function Bu(){return"<"}Mn.peek=Fu;function Mn(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("image"),l=r.enter("label"),s=r.createTracker(n),u=s.move("![");return u+=s.move(r.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),u+=s.move(")"),o(),u}function Fu(){return"!"}Nn.peek=Mu;function Nn(e,t,r,n){let i=e.referenceType,a=r.enter("imageReference"),o=r.enter("label"),l=r.createTracker(n),s=l.move("!["),u=r.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let p=r.stack;r.stack=[],o=r.enter("reference");let c=r.safe(r.associationId(e),{before:s,after:"]",...l.current()});return o(),r.stack=p,a(),i==="full"||!u||u!==c?s+=l.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function Mu(){return"!"}Rn.peek=Nu;function Rn(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){let o=r.unsafe[a],l=r.compilePattern(o),s;if(o.atBreak)for(;s=l.exec(n);){let u=s.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(s.index+1)}}return i+n+i}function Nu(){return"`"}function Dn(e,t){let r=st(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}On.peek=Ru;function On(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.createTracker(n),l,s;if(Dn(e,r)){let p=r.stack;r.stack=[],l=r.enter("autolink");let c=o.move("<");return c+=o.move(r.containerPhrasing(e,{before:c,after:">",...o.current()})),c+=o.move(">"),l(),r.stack=p,c}l=r.enter("link"),s=r.enter("label");let u=o.move("[");return u+=o.move(r.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(r.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(s=r.enter("destinationRaw"),u+=o.move(r.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),s(),e.title&&(s=r.enter(`title${a}`),u+=o.move(" "+i),u+=o.move(r.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),s()),u+=o.move(")"),l(),u}function Ru(e,t,r){return Dn(e,r)?"<":"["}zn.peek=Du;function zn(e,t,r,n){let i=e.referenceType,a=r.enter("linkReference"),o=r.enter("label"),l=r.createTracker(n),s=l.move("["),u=r.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let p=r.stack;r.stack=[],o=r.enter("reference");let c=r.safe(r.associationId(e),{before:s,after:"]",...l.current()});return o(),r.stack=p,a(),i==="full"||!u||u!==c?s+=l.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function Du(){return"["}function Et(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ko(e){let t=Et(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Qo(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function yr(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Zo(e,t,r,n){let i=r.enter("list"),a=r.bulletCurrent,o=e.ordered?Qo(r):Et(r),l=e.ordered?o==="."?")":".":Ko(r),s=t&&r.bulletLastUsed?o===r.bulletLastUsed:!1;if(!e.ordered){let p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(s=!0),yr(r)===o&&p){let c=-1;for(;++c<e.children.length;){let h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(o=l),r.bulletCurrent=o;let u=r.containerFlow(e,n);return r.bulletLastUsed=o,r.bulletCurrent=a,i(),u}function Xo(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Jo(e,t,r,n){let i=Xo(r),a=r.bulletCurrent||Et(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let l=r.createTracker(n);l.move(a+" ".repeat(o-a.length)),l.shift(o);let s=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,l.current()),p);return s(),u;function p(c,h,f){return h?(f?"":" ".repeat(o))+c:(f?a:a+" ".repeat(o-a.length))+c}}function ea(e,t,r,n){let i=r.enter("paragraph"),a=r.enter("phrasing"),o=r.containerPhrasing(e,n);return a(),i(),o}var Pn=$e(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ta(e,t,r,n){return(e.children.some(function(o){return Pn(o)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function ra(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Hn.peek=Ou;function Hn(e,t,r,n){let i=ra(r),a=r.enter("strong"),o=r.createTracker(n),l=o.move(i+i),s=o.move(r.containerPhrasing(e,{after:i,before:l,...o.current()})),u=s.charCodeAt(0),p=Tt(n.before.charCodeAt(n.before.length-1),u,i);p.inside&&(s=Ve(u)+s.slice(1));let c=s.charCodeAt(s.length-1),h=Tt(n.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+Ve(c));let f=o.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},l+s+f}function Ou(e,t,r){return r.options.strong||"*"}function na(e,t,r,n){return r.safe(e.value,n)}function ia(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function oa(e,t,r){let n=(yr(r)+(r.options.ruleSpaces?" ":"")).repeat(ia(r));return r.options.ruleSpaces?n.slice(0,-1):n}var Qt={blockquote:Do,break:Ln,code:Uo,definition:jo,emphasis:In,hardBreak:Ln,heading:Wo,html:Fn,image:Mn,imageReference:Nn,inlineCode:Rn,link:On,linkReference:zn,list:Zo,listItem:Jo,paragraph:ea,root:ta,strong:Hn,text:na,thematicBreak:oa};var Un={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
44
- `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var zu={}.hasOwnProperty;function At(e){return zu.call(Un,e)?Un[e]:!1}function vr(e,t){let r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}var Pu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function aa(e){return e.replace(Pu,Hu)}function Hu(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),a=i===120||i===88;return vr(r.slice(a?2:1),a?16:10)}return At(r)||e}function Gn(){return{enter:{table:Uu,tableData:la,tableHeader:la,tableRow:Gu},exit:{codeText:$u,table:ju,tableData:jn,tableHeader:jn,tableRow:jn}}}function Uu(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function ju(e){this.exit(e),this.data.inTable=void 0}function Gu(e){this.enter({type:"tableRow",children:[]},e)}function jn(e){this.exit(e)}function la(e){this.enter({type:"tableCell",children:[]},e)}function $u(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Vu));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function Vu(e,t){return t==="|"?t:e}function $n(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
17
+ `,...a.current()});return/^[\t ]/.test(u)&&(u=$e(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,r.options.closeAtx&&(u+=" "+o),s(),l(),u}_n.peek=Eu;function _n(e){return e.value||""}function Eu(){return"<"}Ln.peek=Au;function Ln(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("image"),l=r.enter("label"),s=r.createTracker(n),u=s.move("![");return u+=s.move(r.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),u+=s.move(")"),o(),u}function Au(){return"!"}In.peek=Cu;function In(e,t,r,n){let i=e.referenceType,a=r.enter("imageReference"),o=r.enter("label"),l=r.createTracker(n),s=l.move("!["),u=r.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let p=r.stack;r.stack=[],o=r.enter("reference");let c=r.safe(r.associationId(e),{before:s,after:"]",...l.current()});return o(),r.stack=p,a(),i==="full"||!u||u!==c?s+=l.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function Cu(){return"!"}Bn.peek=qu;function Bn(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){let o=r.unsafe[a],l=r.compilePattern(o),s;if(o.atBreak)for(;s=l.exec(n);){let u=s.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(s.index+1)}}return i+n+i}function qu(){return"`"}function Fn(e,t){let r=lt(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Mn.peek=_u;function Mn(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.createTracker(n),l,s;if(Fn(e,r)){let p=r.stack;r.stack=[],l=r.enter("autolink");let c=o.move("<");return c+=o.move(r.containerPhrasing(e,{before:c,after:">",...o.current()})),c+=o.move(">"),l(),r.stack=p,c}l=r.enter("link"),s=r.enter("label");let u=o.move("[");return u+=o.move(r.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(r.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(s=r.enter("destinationRaw"),u+=o.move(r.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),s(),e.title&&(s=r.enter(`title${a}`),u+=o.move(" "+i),u+=o.move(r.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),s()),u+=o.move(")"),l(),u}function _u(e,t,r){return Fn(e,r)?"<":"["}Nn.peek=Lu;function Nn(e,t,r,n){let i=e.referenceType,a=r.enter("linkReference"),o=r.enter("label"),l=r.createTracker(n),s=l.move("["),u=r.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let p=r.stack;r.stack=[],o=r.enter("reference");let c=r.safe(r.associationId(e),{before:s,after:"]",...l.current()});return o(),r.stack=p,a(),i==="full"||!u||u!==c?s+=l.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function Lu(){return"["}function Et(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function jo(e){let t=Et(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Go(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function br(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function $o(e,t,r,n){let i=r.enter("list"),a=r.bulletCurrent,o=e.ordered?Go(r):Et(r),l=e.ordered?o==="."?")":".":jo(r),s=t&&r.bulletLastUsed?o===r.bulletLastUsed:!1;if(!e.ordered){let p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(s=!0),br(r)===o&&p){let c=-1;for(;++c<e.children.length;){let h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(o=l),r.bulletCurrent=o;let u=r.containerFlow(e,n);return r.bulletLastUsed=o,r.bulletCurrent=a,i(),u}function Vo(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Yo(e,t,r,n){let i=Vo(r),a=r.bulletCurrent||Et(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let l=r.createTracker(n);l.move(a+" ".repeat(o-a.length)),l.shift(o);let s=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,l.current()),p);return s(),u;function p(c,h,f){return h?(f?"":" ".repeat(o))+c:(f?a:a+" ".repeat(o-a.length))+c}}function Wo(e,t,r,n){let i=r.enter("paragraph"),a=r.enter("phrasing"),o=r.containerPhrasing(e,n);return a(),i(),o}var Rn=Ge(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ko(e,t,r,n){return(e.children.some(function(o){return Rn(o)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function Qo(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Dn.peek=Iu;function Dn(e,t,r,n){let i=Qo(r),a=r.enter("strong"),o=r.createTracker(n),l=o.move(i+i),s=o.move(r.containerPhrasing(e,{after:i,before:l,...o.current()})),u=s.charCodeAt(0),p=Tt(n.before.charCodeAt(n.before.length-1),u,i);p.inside&&(s=$e(u)+s.slice(1));let c=s.charCodeAt(s.length-1),h=Tt(n.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+$e(c));let f=o.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},l+s+f}function Iu(e,t,r){return r.options.strong||"*"}function Zo(e,t,r,n){return r.safe(e.value,n)}function Xo(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Jo(e,t,r){let n=(br(r)+(r.options.ruleSpaces?" ":"")).repeat(Xo(r));return r.options.ruleSpaces?n.slice(0,-1):n}var Yt={blockquote:Io,break:An,code:Ro,definition:Do,emphasis:Cn,hardBreak:An,heading:Uo,html:_n,image:Ln,imageReference:In,inlineCode:Bn,link:Mn,linkReference:Nn,list:$o,listItem:Yo,paragraph:Wo,root:Ko,strong:Dn,text:Zo,thematicBreak:Jo};var On={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
18
+ `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var Bu={}.hasOwnProperty;function At(e){return Bu.call(On,e)?On[e]:!1}function xr(e,t){let r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}var Fu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ea(e){return e.replace(Fu,Mu)}function Mu(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),a=i===120||i===88;return xr(r.slice(a?2:1),a?16:10)}return At(r)||e}function Pn(){return{enter:{table:Nu,tableData:ta,tableHeader:ta,tableRow:Du},exit:{codeText:Ou,table:Ru,tableData:zn,tableHeader:zn,tableRow:zn}}}function Nu(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function Ru(e){this.exit(e),this.data.inTable=void 0}function Du(e){this.enter({type:"tableRow",children:[]},e)}function zn(e){this.exit(e)}function ta(e){this.enter({type:"tableCell",children:[]},e)}function Ou(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,zu));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function zu(e,t){return t==="|"?t:e}function Hn(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
45
19
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:o,tableCell:s,tableRow:l}};function o(f,m,y,k){return u(p(f,y,k),f.align)}function l(f,m,y,k){let w=c(f,y,k),b=u([w]);return b.slice(0,b.indexOf(`
46
- `))}function s(f,m,y,k){let w=y.enter("tableCell"),b=y.enter("phrasing"),E=y.containerPhrasing(f,{...k,before:a,after:a});return b(),w(),E}function u(f,m){return Ro(f,{align:m,alignDelimiters:n,padding:r,stringLength:i})}function p(f,m,y){let k=f.children,w=-1,b=[],E=m.enter("table");for(;++w<k.length;)b[w]=c(k[w],m,y);return E(),b}function c(f,m,y){let k=f.children,w=-1,b=[],E=m.enter("tableRow");for(;++w<k.length;)b[w]=s(k[w],f,m,y);return E(),b}function h(f,m,y){let k=Qt.inlineCode(f,m,y);return y.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Vn(){return{exit:{taskListCheckValueChecked:sa,taskListCheckValueUnchecked:sa,paragraph:Yu}}}function Yn(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Wu}}}function sa(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Yu(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let n=r.children[0];if(n&&n.type==="text"){let i=t.children,a=-1,o;for(;++a<i.length;){let l=i[a];if(l.type==="paragraph"){o=l;break}}o===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Wu(e,t,r,n){let i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",l=r.createTracker(n);a&&l.move(o);let s=Qt.listItem(e,t,r,{...n,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(p){return p+o}}function Wn(){return[Tn(),An(),qn(),Gn(),Vn()]}function Kn(e){return{extensions:[En(),Cn(e),_n(),$n(e),Yn()]}}function K(e,t,r,n){let i=e.length,a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function fe(e,t){return e.length>0?(K(e,e.length,0,t),e):t}var ua={}.hasOwnProperty;function Sr(e){let t={},r=-1;for(;++r<e.length;)Ku(t,e[r]);return t}function Ku(e,t){let r;for(r in t){let i=(ua.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r],o;if(a)for(o in a){ua.call(i,o)||(i[o]=[]);let l=a[o];Qu(i[o],Array.isArray(l)?l:l?[l]:[])}}}function Qu(e,t){let r=-1,n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);K(e,0,0,n)}var Zu={tokenize:rc,partial:!0},ca={tokenize:nc,partial:!0},pa={tokenize:ic,partial:!0},fa={tokenize:oc,partial:!0},Xu={tokenize:ac,partial:!0},ha={name:"wwwAutolink",tokenize:ec,previous:da},ma={name:"protocolAutolink",tokenize:tc,previous:ga},ze={name:"emailAutolink",tokenize:Ju,previous:wa},Le={};function Zn(){return{text:Le}}var ut=48;for(;ut<123;)Le[ut]=ze,ut++,ut===58?ut=65:ut===91&&(ut=97);Le[43]=ze;Le[45]=ze;Le[46]=ze;Le[95]=ze;Le[72]=[ze,ma];Le[104]=[ze,ma];Le[87]=[ze,ha];Le[119]=[ze,ha];function Ju(e,t,r){let n=this,i,a;return o;function o(c){return!Qn(c)||!wa.call(n,n.previous)||Xn(n.events)?r(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(c))}function l(c){return Qn(c)?(e.consume(c),l):c===64?(e.consume(c),s):r(c)}function s(c){return c===46?e.check(Xu,p,u)(c):c===45||c===95||te(c)?(a=!0,e.consume(c),s):p(c)}function u(c){return e.consume(c),i=!0,s}function p(c){return a&&i&&ee(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):r(c)}}function ec(e,t,r){let n=this;return i;function i(o){return o!==87&&o!==119||!da.call(n,n.previous)||Xn(n.events)?r(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Zu,e.attempt(ca,e.attempt(pa,a),r),r)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function tc(e,t,r){let n=this,i="",a=!1;return o;function o(c){return(c===72||c===104)&&ga.call(n,n.previous)&&!Xn(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),l):r(c)}function l(c){if(ee(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),l;if(c===58){let h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),s}return r(c)}function s(c){return c===47?(e.consume(c),a?u:(a=!0,s)):r(c)}function u(c){return c===null||it(c)||U(c)||_e(c)||ot(c)?r(c):e.attempt(ca,e.attempt(pa,p),r)(c)}function p(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function rc(e,t,r){let n=0;return i;function i(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),i):o===46&&n===3?(e.consume(o),a):r(o)}function a(o){return o===null?r(o):t(o)}}function nc(e,t,r){let n,i,a;return o;function o(u){return u===46||u===95?e.check(fa,s,l)(u):u===null||U(u)||_e(u)||u!==45&&ot(u)?s(u):(a=!0,e.consume(u),o)}function l(u){return u===95?n=!0:(i=n,n=void 0),e.consume(u),o}function s(u){return i||n||!a?r(u):t(u)}}function ic(e,t){let r=0,n=0;return i;function i(o){return o===40?(r++,e.consume(o),i):o===41&&n<r?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(fa,t,a)(o):o===null||U(o)||_e(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&n++,e.consume(o),i}}function oc(e,t,r){return n;function n(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),n):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||U(l)||_e(l)?t(l):r(l)}function i(l){return l===null||l===40||l===91||U(l)||_e(l)?t(l):n(l)}function a(l){return ee(l)?o(l):r(l)}function o(l){return l===59?(e.consume(l),n):ee(l)?(e.consume(l),o):r(l)}}function ac(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return te(a)?r(a):t(a)}}function da(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||U(e)}function ga(e){return!ee(e)}function wa(e){return!(e===47||Qn(e))}function Qn(e){return e===43||e===45||e===46||e===95||te(e)}function Xn(e){let t=e.length,r=!1;for(;t--;){let n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}function Ye(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}var Zt={name:"attention",resolveAll:lc,tokenize:sc};function lc(e,t){let r=-1,n,i,a,o,l,s,u,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;let c={...e[n][1].end},h={...e[r][1].start};ba(c,-s),ba(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:c,end:{...e[n][1].end}},l={type:s>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:h},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[r][1].start={...l.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=fe(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=fe(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=fe(u,Ye(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=fe(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,u=fe(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,K(e,n-1,r-n+3,u),r=n+u.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function sc(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Oe(n),a;return o;function o(s){return a=s,e.enter("attentionSequence"),l(s)}function l(s){if(s===a)return e.consume(s),l;let u=e.exit("attentionSequence"),p=Oe(s),c=!p||p===2&&i||r.includes(s),h=!i||i===2&&p||r.includes(n);return u._open=!!(a===42?c:c&&(i||!h)),u._close=!!(a===42?h:h&&(p||!c)),t(s)}}function ba(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Jn={name:"autolink",tokenize:uc};function uc(e,t,r){let n=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(f){return ee(f)?(e.consume(f),o):f===64?r(f):u(f)}function o(f){return f===43||f===45||f===46||te(f)?(n=1,l(f)):u(f)}function l(f){return f===58?(e.consume(f),n=0,s):(f===43||f===45||f===46||te(f))&&n++<32?(e.consume(f),l):(n=0,u(f))}function s(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||it(f)?r(f):(e.consume(f),s)}function u(f){return f===64?(e.consume(f),p):vo(f)?(e.consume(f),u):r(f)}function p(f){return te(f)?c(f):r(f)}function c(f){return f===46?(e.consume(f),n=0,p):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):h(f)}function h(f){if((f===45||te(f))&&n++<63){let m=f===45?h:c;return e.consume(f),m}return r(f)}}function I(e,t,r,n){let i=n?n-1:Number.POSITIVE_INFINITY,a=0;return o;function o(s){return B(s)?(e.enter(r),l(s)):t(s)}function l(s){return B(s)&&a++<i?(e.consume(s),l):(e.exit(r),t(s))}}var Ie={partial:!0,tokenize:cc};function cc(e,t,r){return n;function n(a){return B(a)?I(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||A(a)?t(a):r(a)}}var Tr={continuation:{tokenize:fc},exit:hc,name:"blockQuote",tokenize:pc};function pc(e,t,r){let n=this;return i;function i(o){if(o===62){let l=n.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return r(o)}function a(o){return B(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function fc(e,t,r){let n=this;return i;function i(o){return B(o)?I(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Tr,t,r)(o)}}function hc(e){e.exit("blockQuote")}var Er={name:"characterEscape",tokenize:mc};function mc(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return To(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var Ar={name:"characterReference",tokenize:dc};function dc(e,t,r){let n=this,i=0,a,o;return l;function l(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),s}function s(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,o=te,p(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=So,p):(e.enter("characterReferenceValue"),a=7,o=Vt,p(c))}function p(c){if(c===59&&i){let h=e.exit("characterReferenceValue");return o===te&&!At(n.sliceSerialize(h))?r(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(c)&&i++<a?(e.consume(c),p):r(c)}}var xa={partial:!0,tokenize:wc},Cr={concrete:!0,name:"codeFenced",tokenize:gc};function gc(e,t,r){let n=this,i={partial:!0,tokenize:D},a=0,o=0,l;return s;function s(T){return u(T)}function u(T){let L=n.events[n.events.length-1];return a=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,l=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(T)}function p(T){return T===l?(o++,e.consume(T),p):o<3?r(T):(e.exit("codeFencedFenceSequence"),B(T)?I(e,c,"whitespace")(T):c(T))}function c(T){return T===null||A(T)?(e.exit("codeFencedFence"),n.interrupt?t(T):e.check(xa,y,R)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||A(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(T)):B(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(T)):T===96&&T===l?r(T):(e.consume(T),h)}function f(T){return T===null||A(T)?c(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||A(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(T)):T===96&&T===l?r(T):(e.consume(T),m)}function y(T){return e.attempt(i,R,k)(T)}function k(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),w}function w(T){return a>0&&B(T)?I(e,b,"linePrefix",a+1)(T):b(T)}function b(T){return T===null||A(T)?e.check(xa,y,R)(T):(e.enter("codeFlowValue"),E(T))}function E(T){return T===null||A(T)?(e.exit("codeFlowValue"),b(T)):(e.consume(T),E)}function R(T){return e.exit("codeFenced"),t(T)}function D(T,L,G){let O=0;return v;function v(H){return T.enter("lineEnding"),T.consume(H),T.exit("lineEnding"),ne}function ne(H){return T.enter("codeFencedFence"),B(H)?I(T,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):$(H)}function $(H){return H===l?(T.enter("codeFencedFenceSequence"),M(H)):G(H)}function M(H){return H===l?(O++,T.consume(H),M):O>=o?(T.exit("codeFencedFenceSequence"),B(H)?I(T,P,"whitespace")(H):P(H)):G(H)}function P(H){return H===null||A(H)?(T.exit("codeFencedFence"),L(H)):G(H)}}}function wc(e,t,r){let n=this;return i;function i(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}var Xt={name:"codeIndented",tokenize:xc},bc={partial:!0,tokenize:kc};function xc(e,t,r){let n=this;return i;function i(u){return e.enter("codeIndented"),I(e,a,"linePrefix",5)(u)}function a(u){let p=n.events[n.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(u):r(u)}function o(u){return u===null?s(u):A(u)?e.attempt(bc,o,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||A(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function kc(e,t,r){let n=this;return i;function i(o){return n.parser.lazy[n.now().line]?r(o):A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):I(e,a,"linePrefix",5)(o)}function a(o){let l=n.events[n.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):A(o)?i(o):r(o)}}var ei={name:"codeText",previous:vc,resolve:yc,tokenize:Sc};function yc(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function vc(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Sc(e,t,r){let n=this,i=0,a,o;return l;function l(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),i++,s):(e.exit("codeTextSequence"),u(h))}function u(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),u):h===96?(o=e.enter("codeTextSequence"),a=0,c(h)):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("codeTextData"),p(h))}function p(h){return h===null||h===32||h===96||A(h)?(e.exit("codeTextData"),u(h)):(e.consume(h),p)}function c(h){return h===96?(e.consume(h),a++,c):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(o.type="codeTextData",p(h))}}var qr=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){let n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){let i=r||0;this.setCursor(Math.trunc(t));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Jt(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Jt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Jt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let r=this.left.splice(t,Number.POSITIVE_INFINITY);Jt(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Jt(this.left,r.reverse())}}};function Jt(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function _r(e){let t={},r=-1,n,i,a,o,l,s,u,p=new qr(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(n=p.get(r),r&&n[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Tc(p,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(o=p.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(n[1].end={...p.get(i)[1].start},l=p.slice(i,r),l.unshift(n),p.splice(i,r-i+1,l))}}return K(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!u}function Tc(e,t){let r=e.get(t)[1],n=e.get(t)[2],i=t-1,a=[],o=r._tokenizer;o||(o=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let l=o.events,s=[],u={},p,c,h=-1,f=r,m=0,y=0,k=[y];for(;f;){for(;e.get(++i)[1]!==f;);a.push(i),f._tokenizer||(p=n.sliceStream(f),f.next||p.push(null),c&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),c=f,f=f.next}for(f=r;++h<l.length;)l[h][0]==="exit"&&l[h-1][0]==="enter"&&l[h][1].type===l[h-1][1].type&&l[h][1].start.line!==l[h][1].end.line&&(y=h+1,k.push(y),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):k.pop(),h=k.length;h--;){let w=l.slice(k[h],k[h+1]),b=a.pop();s.push([b,b+w.length-1]),e.splice(b,2,w)}for(s.reverse(),h=-1;++h<s.length;)u[m+s[h][0]]=m+s[h][1],m+=s[h][1]-s[h][0]-1;return u}var ti={resolve:Ac,tokenize:Cc},Ec={partial:!0,tokenize:qc};function Ac(e){return _r(e),e}function Cc(e,t){let r;return n;function n(l){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):A(l)?e.check(Ec,o,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function qc(e,t,r){let n=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),I(e,a,"linePrefix")}function a(o){if(o===null||A(o))return r(o);let l=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}function Lr(e,t,r,n,i,a,o,l,s){let u=s||Number.POSITIVE_INFINITY,p=0;return c;function c(w){return w===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(w),e.exit(a),h):w===null||w===32||w===41||it(w)?r(w):(e.enter(n),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),y(w))}function h(w){return w===62?(e.enter(a),e.consume(w),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(w))}function f(w){return w===62?(e.exit("chunkString"),e.exit(l),h(w)):w===null||w===60||A(w)?r(w):(e.consume(w),w===92?m:f)}function m(w){return w===60||w===62||w===92?(e.consume(w),f):f(w)}function y(w){return!p&&(w===null||w===41||U(w))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(n),t(w)):p<u&&w===40?(e.consume(w),p++,y):w===41?(e.consume(w),p--,y):w===null||w===32||w===40||it(w)?r(w):(e.consume(w),w===92?k:y)}function k(w){return w===40||w===41||w===92?(e.consume(w),y):y(w)}}function Ir(e,t,r,n,i,a){let o=this,l=0,s;return u;function u(f){return e.enter(n),e.enter(i),e.consume(f),e.exit(i),e.enter(a),p}function p(f){return l>999||f===null||f===91||f===93&&!s||f===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?r(f):f===93?(e.exit(a),e.enter(i),e.consume(f),e.exit(i),e.exit(n),t):A(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===null||f===91||f===93||A(f)||l++>999?(e.exit("chunkString"),p(f)):(e.consume(f),s||(s=!B(f)),f===92?h:c)}function h(f){return f===91||f===92||f===93?(e.consume(f),l++,c):c(f)}}function Br(e,t,r,n,i,a){let o;return l;function l(h){return h===34||h===39||h===40?(e.enter(n),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,s):r(h)}function s(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(n),t):(e.enter(a),u(h))}function u(h){return h===o?(e.exit(a),s(o)):h===null?r(h):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),I(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||A(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?c:p)}function c(h){return h===o||h===92?(e.consume(h),p):p(h)}}function ct(e,t){let r;return n;function n(i){return A(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):B(i)?I(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}var ri={name:"definition",tokenize:Lc},_c={partial:!0,tokenize:Ic};function Lc(e,t,r){let n=this,i;return a;function a(f){return e.enter("definition"),o(f)}function o(f){return Ir.call(n,e,l,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function l(f){return i=le(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),s):r(f)}function s(f){return U(f)?ct(e,u)(f):u(f)}function u(f){return Lr(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function p(f){return e.attempt(_c,c,c)(f)}function c(f){return B(f)?I(e,h,"whitespace")(f):h(f)}function h(f){return f===null||A(f)?(e.exit("definition"),n.parser.defined.push(i),t(f)):r(f)}}function Ic(e,t,r){return n;function n(l){return U(l)?ct(e,i)(l):r(l)}function i(l){return Br(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return B(l)?I(e,o,"whitespace")(l):o(l)}function o(l){return l===null||A(l)?t(l):r(l)}}var ni={name:"hardBreakEscape",tokenize:Bc};function Bc(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return A(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}var ii={name:"headingAtx",resolve:Fc,tokenize:Mc};function Fc(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},K(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Mc(e,t,r){let n=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&n++<6?(e.consume(p),o):p===null||U(p)?(e.exit("atxHeadingSequence"),l(p)):r(p)}function l(p){return p===35?(e.enter("atxHeadingSequence"),s(p)):p===null||A(p)?(e.exit("atxHeading"),t(p)):B(p)?I(e,l,"whitespace")(p):(e.enter("atxHeadingText"),u(p))}function s(p){return p===35?(e.consume(p),s):(e.exit("atxHeadingSequence"),l(p))}function u(p){return p===null||p===35||U(p)?(e.exit("atxHeadingText"),l(p)):(e.consume(p),u)}}var ka=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],oi=["pre","script","style","textarea"];var ai={concrete:!0,name:"htmlFlow",resolveTo:Dc,tokenize:Oc},Nc={partial:!0,tokenize:Pc},Rc={partial:!0,tokenize:zc};function Dc(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Oc(e,t,r){let n=this,i,a,o,l,s;return u;function u(g){return p(g)}function p(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),c}function c(g){return g===33?(e.consume(g),h):g===47?(e.consume(g),a=!0,y):g===63?(e.consume(g),i=3,n.interrupt?t:d):ee(g)?(e.consume(g),o=String.fromCharCode(g),k):r(g)}function h(g){return g===45?(e.consume(g),i=2,f):g===91?(e.consume(g),i=5,l=0,m):ee(g)?(e.consume(g),i=4,n.interrupt?t:d):r(g)}function f(g){return g===45?(e.consume(g),n.interrupt?t:d):r(g)}function m(g){let we="CDATA[";return g===we.charCodeAt(l++)?(e.consume(g),l===we.length?n.interrupt?t:$:m):r(g)}function y(g){return ee(g)?(e.consume(g),o=String.fromCharCode(g),k):r(g)}function k(g){if(g===null||g===47||g===62||U(g)){let we=g===47,tt=o.toLowerCase();return!we&&!a&&oi.includes(tt)?(i=1,n.interrupt?t(g):$(g)):ka.includes(o.toLowerCase())?(i=6,we?(e.consume(g),w):n.interrupt?t(g):$(g)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(g):a?b(g):E(g))}return g===45||te(g)?(e.consume(g),o+=String.fromCharCode(g),k):r(g)}function w(g){return g===62?(e.consume(g),n.interrupt?t:$):r(g)}function b(g){return B(g)?(e.consume(g),b):v(g)}function E(g){return g===47?(e.consume(g),v):g===58||g===95||ee(g)?(e.consume(g),R):B(g)?(e.consume(g),E):v(g)}function R(g){return g===45||g===46||g===58||g===95||te(g)?(e.consume(g),R):D(g)}function D(g){return g===61?(e.consume(g),T):B(g)?(e.consume(g),D):E(g)}function T(g){return g===null||g===60||g===61||g===62||g===96?r(g):g===34||g===39?(e.consume(g),s=g,L):B(g)?(e.consume(g),T):G(g)}function L(g){return g===s?(e.consume(g),s=null,O):g===null||A(g)?r(g):(e.consume(g),L)}function G(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||U(g)?D(g):(e.consume(g),G)}function O(g){return g===47||g===62||B(g)?E(g):r(g)}function v(g){return g===62?(e.consume(g),ne):r(g)}function ne(g){return g===null||A(g)?$(g):B(g)?(e.consume(g),ne):r(g)}function $(g){return g===45&&i===2?(e.consume(g),W):g===60&&i===1?(e.consume(g),J):g===62&&i===4?(e.consume(g),ke):g===63&&i===3?(e.consume(g),d):g===93&&i===5?(e.consume(g),Ce):A(g)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Nc,Fe,M)(g)):g===null||A(g)?(e.exit("htmlFlowData"),M(g)):(e.consume(g),$)}function M(g){return e.check(Rc,P,Fe)(g)}function P(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),H}function H(g){return g===null||A(g)?M(g):(e.enter("htmlFlowData"),$(g))}function W(g){return g===45?(e.consume(g),d):$(g)}function J(g){return g===47?(e.consume(g),o="",ye):$(g)}function ye(g){if(g===62){let we=o.toLowerCase();return oi.includes(we)?(e.consume(g),ke):$(g)}return ee(g)&&o.length<8?(e.consume(g),o+=String.fromCharCode(g),ye):$(g)}function Ce(g){return g===93?(e.consume(g),d):$(g)}function d(g){return g===62?(e.consume(g),ke):g===45&&i===2?(e.consume(g),d):$(g)}function ke(g){return g===null||A(g)?(e.exit("htmlFlowData"),Fe(g)):(e.consume(g),ke)}function Fe(g){return e.exit("htmlFlow"),t(g)}}function zc(e,t,r){let n=this;return i;function i(o){return A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):r(o)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function Pc(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ie,t,r)}}var li={name:"htmlText",tokenize:Hc};function Hc(e,t,r){let n=this,i,a,o;return l;function l(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),s}function s(d){return d===33?(e.consume(d),u):d===47?(e.consume(d),D):d===63?(e.consume(d),E):ee(d)?(e.consume(d),G):r(d)}function u(d){return d===45?(e.consume(d),p):d===91?(e.consume(d),a=0,m):ee(d)?(e.consume(d),b):r(d)}function p(d){return d===45?(e.consume(d),f):r(d)}function c(d){return d===null?r(d):d===45?(e.consume(d),h):A(d)?(o=c,J(d)):(e.consume(d),c)}function h(d){return d===45?(e.consume(d),f):c(d)}function f(d){return d===62?W(d):d===45?h(d):c(d)}function m(d){let ke="CDATA[";return d===ke.charCodeAt(a++)?(e.consume(d),a===ke.length?y:m):r(d)}function y(d){return d===null?r(d):d===93?(e.consume(d),k):A(d)?(o=y,J(d)):(e.consume(d),y)}function k(d){return d===93?(e.consume(d),w):y(d)}function w(d){return d===62?W(d):d===93?(e.consume(d),w):y(d)}function b(d){return d===null||d===62?W(d):A(d)?(o=b,J(d)):(e.consume(d),b)}function E(d){return d===null?r(d):d===63?(e.consume(d),R):A(d)?(o=E,J(d)):(e.consume(d),E)}function R(d){return d===62?W(d):E(d)}function D(d){return ee(d)?(e.consume(d),T):r(d)}function T(d){return d===45||te(d)?(e.consume(d),T):L(d)}function L(d){return A(d)?(o=L,J(d)):B(d)?(e.consume(d),L):W(d)}function G(d){return d===45||te(d)?(e.consume(d),G):d===47||d===62||U(d)?O(d):r(d)}function O(d){return d===47?(e.consume(d),W):d===58||d===95||ee(d)?(e.consume(d),v):A(d)?(o=O,J(d)):B(d)?(e.consume(d),O):W(d)}function v(d){return d===45||d===46||d===58||d===95||te(d)?(e.consume(d),v):ne(d)}function ne(d){return d===61?(e.consume(d),$):A(d)?(o=ne,J(d)):B(d)?(e.consume(d),ne):O(d)}function $(d){return d===null||d===60||d===61||d===62||d===96?r(d):d===34||d===39?(e.consume(d),i=d,M):A(d)?(o=$,J(d)):B(d)?(e.consume(d),$):(e.consume(d),P)}function M(d){return d===i?(e.consume(d),i=void 0,H):d===null?r(d):A(d)?(o=M,J(d)):(e.consume(d),M)}function P(d){return d===null||d===34||d===39||d===60||d===61||d===96?r(d):d===47||d===62||U(d)?O(d):(e.consume(d),P)}function H(d){return d===47||d===62||U(d)?O(d):r(d)}function W(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),t):r(d)}function J(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ye}function ye(d){return B(d)?I(e,Ce,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):Ce(d)}function Ce(d){return e.enter("htmlTextData"),o(d)}}var pt={name:"labelEnd",resolveAll:$c,resolveTo:Vc,tokenize:Yc},Uc={tokenize:Wc},jc={tokenize:Kc},Gc={tokenize:Qc};function $c(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&K(e,0,e.length,r),e}function Vc(e,t){let r=e.length,n=0,i,a,o,l;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(o=r);let s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[o-2][1].start}};return l=[["enter",s,t],["enter",u,t]],l=fe(l,e.slice(a+1,a+n+3)),l=fe(l,[["enter",p,t]]),l=fe(l,Ye(t.parser.constructs.insideSpan.null,e.slice(a+n+4,o-3),t)),l=fe(l,[["exit",p,t],e[o-2],e[o-1],["exit",u,t]]),l=fe(l,e.slice(o+1)),l=fe(l,[["exit",s,t]]),K(e,a,e.length,l),e}function Yc(e,t,r){let n=this,i=n.events.length,a,o;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return l;function l(h){return a?a._inactive?c(h):(o=n.parser.defined.includes(le(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):r(h)}function s(h){return h===40?e.attempt(Uc,p,o?p:c)(h):h===91?e.attempt(jc,p,o?u:c)(h):o?p(h):c(h)}function u(h){return e.attempt(Gc,p,c)(h)}function p(h){return t(h)}function c(h){return a._balanced=!0,r(h)}}function Wc(e,t,r){return n;function n(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return U(c)?ct(e,a)(c):a(c)}function a(c){return c===41?p(c):Lr(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function o(c){return U(c)?ct(e,s)(c):p(c)}function l(c){return r(c)}function s(c){return c===34||c===39||c===40?Br(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):p(c)}function u(c){return U(c)?ct(e,p)(c):p(c)}function p(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):r(c)}}function Kc(e,t,r){let n=this;return i;function i(l){return Ir.call(n,e,a,o,"reference","referenceMarker","referenceString")(l)}function a(l){return n.parser.defined.includes(le(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(l):r(l)}function o(l){return r(l)}}function Qc(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}var si={name:"labelStartImage",resolveAll:pt.resolveAll,tokenize:Zc};function Zc(e,t,r){let n=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),o):r(l)}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}var ui={name:"labelStartLink",resolveAll:pt.resolveAll,tokenize:Xc};function Xc(e,t,r){let n=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var er={name:"lineEnding",tokenize:Jc};function Jc(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,t,"linePrefix")}}var ft={name:"thematicBreak",tokenize:ep};function ep(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):n>=3&&(u===null||A(u))?(e.exit("thematicBreak"),t(u)):r(u)}function s(u){return u===i?(e.consume(u),n++,s):(e.exit("thematicBreakSequence"),B(u)?I(e,l,"whitespace")(u):l(u))}}var se={continuation:{tokenize:ip},exit:ap,name:"list",tokenize:np},tp={partial:!0,tokenize:lp},rp={partial:!0,tokenize:op};function np(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(f){let m=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:Vt(f)){if(n.containerState.type||(n.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(ft,r,u)(f):u(f);if(!n.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(f)}return r(f)}function s(f){return Vt(f)&&++o<10?(e.consume(f),s):(!n.interrupt||o<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):r(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,e.check(Ie,n.interrupt?r:p,e.attempt(tp,h,c))}function p(f){return n.containerState.initialBlankLine=!0,a++,h(f)}function c(f){return B(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),h):r(f)}function h(f){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function ip(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(Ie,i,a);function i(l){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,I(e,t,"listItemIndent",n.containerState.size+1)(l)}function a(l){return n.containerState.furtherBlankLines||!B(l)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(l)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(rp,t,o)(l))}function o(l){return n.containerState._closeFlow=!0,n.interrupt=void 0,I(e,e.attempt(se,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function op(e,t,r){let n=this;return I(e,i,"listItemIndent",n.containerState.size+1);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(a):r(a)}}function ap(e){e.exit(this.containerState.type)}function lp(e,t,r){let n=this;return I(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let o=n.events[n.events.length-1];return!B(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}var Fr={name:"setextUnderline",resolveTo:sp,tokenize:up};function sp(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=o,e.push(["exit",o,t]),e}function up(e,t,r){let n=this,i;return a;function a(u){let p=n.events.length,c;for(;p--;)if(n.events[p][1].type!=="lineEnding"&&n.events[p][1].type!=="linePrefix"&&n.events[p][1].type!=="content"){c=n.events[p][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||c)?(e.enter("setextHeadingLine"),i=u,o(u)):r(u)}function o(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),B(u)?I(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||A(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}var cp={tokenize:wp,partial:!0};function ci(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:mp,continuation:{tokenize:dp},exit:gp}},text:{91:{name:"gfmFootnoteCall",tokenize:hp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pp,resolveTo:fp}}}}function pp(e,t,r){let n=this,i=n.events.length,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o;for(;i--;){let s=n.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!o||!o._balanced)return r(s);let u=le(n.sliceSerialize({start:o.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?r(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function fp(e,t){let r=e.length,n;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...s),e}function hp(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,o;return l;function l(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),s}function s(c){return c!==94?r(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(a>999||c===93&&!o||c===null||c===91||U(c))return r(c);if(c===93){e.exit("chunkString");let h=e.exit("gfmFootnoteCallString");return i.includes(le(n.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(c)}return U(c)||(o=!0),a++,e.consume(c),c===92?p:u}function p(c){return c===91||c===92||c===93?(e.consume(c),a++,u):u(c)}}function mp(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a,o=0,l;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):r(m)}function p(m){if(o>999||m===93&&!l||m===null||m===91||U(m))return r(m);if(m===93){e.exit("chunkString");let y=e.exit("gfmFootnoteDefinitionLabelString");return a=le(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return U(m)||(l=!0),o++,e.consume(m),m===92?c:p}function c(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(a)||i.push(a),I(e,f,"gfmFootnoteDefinitionWhitespace")):r(m)}function f(m){return t(m)}}function dp(e,t,r){return e.check(Ie,t,e.attempt(cp,t,r))}function gp(e){e.exit("gfmFootnoteDefinition")}function wp(e,t,r){let n=this;return I(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):r(a)}}function pi(e){let r=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(o,l){let s=-1;for(;++s<o.length;)if(o[s][0]==="enter"&&o[s][1].type==="strikethroughSequenceTemporary"&&o[s][1]._close){let u=s;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[s][1].end.offset-o[s][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[s][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";let p={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[s][1].end)},c={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[s][1].start)},h=[["enter",p,l],["enter",o[u][1],l],["exit",o[u][1],l],["enter",c,l]],f=l.parser.constructs.insideSpan.null;f&&K(h,h.length,0,Ye(f,o.slice(u+1,s),l)),K(h,h.length,0,[["exit",c,l],["enter",o[s][1],l],["exit",o[s][1],l],["exit",p,l]]),K(o,u-1,s-u+3,h),s=u+h.length-2;break}}for(s=-1;++s<o.length;)o[s][1].type==="strikethroughSequenceTemporary"&&(o[s][1].type="data");return o}function a(o,l,s){let u=this.previous,p=this.events,c=0;return h;function h(m){return u===126&&p[p.length-1][1].type!=="characterEscape"?s(m):(o.enter("strikethroughSequenceTemporary"),f(m))}function f(m){let y=Oe(u);if(m===126)return c>1?s(m):(o.consume(m),c++,f);if(c<2&&!r)return s(m);let k=o.exit("strikethroughSequenceTemporary"),w=Oe(m);return k._open=!w||w===2&&!!y,k._close=!y||y===2&&!!w,l(m)}}}var Mr=class{constructor(){this.map=[]}add(t,r,n){bp(this,t,r,n)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let r=this.map.length,n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(let a of i)t.push(a);i=n.pop()}this.map.length=0}};function bp(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function ya(e,t){let r=!1,n=[];for(;t<e.length;){let i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function fi(){return{flow:{null:{name:"table",tokenize:xp,resolveAll:kp}}}}function xp(e,t,r){let n=this,i=0,a=0,o;return l;function l(v){let ne=n.events.length-1;for(;ne>-1;){let P=n.events[ne][1].type;if(P==="lineEnding"||P==="linePrefix")ne--;else break}let $=ne>-1?n.events[ne][1].type:null,M=$==="tableHead"||$==="tableRow"?T:s;return M===T&&n.parser.lazy[n.now().line]?r(v):M(v)}function s(v){return e.enter("tableHead"),e.enter("tableRow"),u(v)}function u(v){return v===124||(o=!0,a+=1),p(v)}function p(v){return v===null?r(v):A(v)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),f):r(v):B(v)?I(e,p,"whitespace")(v):(a+=1,o&&(o=!1,i+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),c(v)))}function c(v){return v===null||v===124||U(v)?(e.exit("data"),p(v)):(e.consume(v),v===92?h:c)}function h(v){return v===92||v===124?(e.consume(v),c):c(v)}function f(v){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(v):(e.enter("tableDelimiterRow"),o=!1,B(v)?I(e,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):m(v))}function m(v){return v===45||v===58?k(v):v===124?(o=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),y):D(v)}function y(v){return B(v)?I(e,k,"whitespace")(v):k(v)}function k(v){return v===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),w):v===45?(a+=1,w(v)):v===null||A(v)?R(v):D(v)}function w(v){return v===45?(e.enter("tableDelimiterFiller"),b(v)):D(v)}function b(v){return v===45?(e.consume(v),b):v===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(v))}function E(v){return B(v)?I(e,R,"whitespace")(v):R(v)}function R(v){return v===124?m(v):v===null||A(v)?!o||i!==a?D(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):D(v)}function D(v){return r(v)}function T(v){return e.enter("tableRow"),L(v)}function L(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),L):v===null||A(v)?(e.exit("tableRow"),t(v)):B(v)?I(e,L,"whitespace")(v):(e.enter("data"),G(v))}function G(v){return v===null||v===124||U(v)?(e.exit("data"),L(v)):(e.consume(v),v===92?O:G)}function O(v){return v===92||v===124?(e.consume(v),G):G(v)}}function kp(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],l=!1,s=0,u,p,c,h=new Mr;for(;++r<e.length;){let f=e[r],m=f[1];f[0]==="enter"?m.type==="tableHead"?(l=!1,s!==0&&(va(h,t,s,u,p),p=void 0,s=0),u={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",u,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(n=!0,c=void 0,a=[0,0,0,0],o=[0,r+1,0,0],l&&(l=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",p,t]])),i=m.type==="tableDelimiterRow"?2:p?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],c=Nr(h,t,a,i,void 0,c),a=[0,0,0,0]),o[2]=r)):m.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(o[0]=o[1],c=Nr(h,t,a,i,void 0,c)),a=o,o=[a[1],r,0,0])):m.type==="tableHead"?(l=!0,s=r):m.type==="tableRow"||m.type==="tableDelimiterRow"?(s=r,a[1]!==0?(o[0]=o[1],c=Nr(h,t,a,i,r,c)):o[1]!==0&&(c=Nr(h,t,o,i,r,c)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=r)}for(s!==0&&va(h,t,s,u,p),h.consume(t.events),r=-1;++r<t.events.length;){let f=t.events[r];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=ya(t.events,r))}return e}function Nr(e,t,r,n,i,a){let o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",l="tableContent";r[0]!==0&&(a.end=Object.assign({},Ct(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));let s=Ct(t.events,r[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){let u=Ct(t.events,r[2]),p=Ct(t.events,r[3]),c={type:l,start:Object.assign({},u),end:Object.assign({},p)};if(e.add(r[2],0,[["enter",c,t]]),n!==2){let h=t.events[r[2]],f=t.events[r[3]];if(h[1].end=Object.assign({},f[1].end),h[1].type="chunkText",h[1].contentType="text",r[3]>r[2]+1){let m=r[2]+1,y=r[3]-r[2]-1;e.add(m,y,[])}}e.add(r[3]+1,0,[["exit",c,t]])}return i!==void 0&&(a.end=Object.assign({},Ct(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function va(e,t,r,n,i){let a=[],o=Ct(t.events,r);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),n.end=Object.assign({},o),a.push(["exit",n,t]),e.add(r+1,0,a)}function Ct(e,t){let r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}var yp={name:"tasklistCheck",tokenize:vp};function hi(){return{text:{91:yp}}}function vp(e,t,r){let n=this;return i;function i(s){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),a)}function a(s){return U(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),o):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),o):r(s)}function o(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):r(s)}function l(s){return A(s)?t(s):B(s)?e.check({tokenize:Sp},t,r)(s):r(s)}}function Sp(e,t,r){return I(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function Sa(e){return Sr([Zn(),ci(),pi(e),fi(),hi()])}var Tp={};function Rr(e){let t=this,r=e||Tp,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Sa(r)),a.push(Wn()),o.push(Kn(r))}function mi(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:l,mathText:o,mathTextData:l}};function e(s){let u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},s)}function t(){this.buffer()}function r(){let s=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=s}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(s){let u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(s),p.value=u;let c=p.data.hChildren[0];c.type,c.tagName,c.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function a(s){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},s),this.buffer()}function o(s){let u=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(s),p.value=u,p.data.hChildren.push({type:"text",value:u})}function l(s){this.config.enter.data.call(this,s),this.config.exit.data.call(this,s)}}function di(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
47
- `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(a,o,l,s){let u=a.value||"",p=l.createTracker(s),c="$".repeat(Math.max(kr(u,"$")+1,2)),h=l.enter("mathFlow"),f=p.move(c);if(a.meta){let m=l.enter("mathFlowMeta");f+=p.move(l.safe(a.meta,{after:`
20
+ `))}function s(f,m,y,k){let w=y.enter("tableCell"),b=y.enter("phrasing"),E=y.containerPhrasing(f,{...k,before:a,after:a});return b(),w(),E}function u(f,m){return Lo(f,{align:m,alignDelimiters:n,padding:r,stringLength:i})}function p(f,m,y){let k=f.children,w=-1,b=[],E=m.enter("table");for(;++w<k.length;)b[w]=c(k[w],m,y);return E(),b}function c(f,m,y){let k=f.children,w=-1,b=[],E=m.enter("tableRow");for(;++w<k.length;)b[w]=s(k[w],f,m,y);return E(),b}function h(f,m,y){let k=Yt.inlineCode(f,m,y);return y.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Un(){return{exit:{taskListCheckValueChecked:ra,taskListCheckValueUnchecked:ra,paragraph:Pu}}}function jn(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Hu}}}function ra(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Pu(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let n=r.children[0];if(n&&n.type==="text"){let i=t.children,a=-1,o;for(;++a<i.length;){let l=i[a];if(l.type==="paragraph"){o=l;break}}o===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Hu(e,t,r,n){let i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",l=r.createTracker(n);a&&l.move(o);let s=Yt.listItem(e,t,r,{...n,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(p){return p+o}}function Gn(){return[kn(),vn(),Tn(),Pn(),Un()]}function $n(e){return{extensions:[yn(),Sn(e),En(),Hn(e),jn()]}}function K(e,t,r,n){let i=e.length,a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function fe(e,t){return e.length>0?(K(e,e.length,0,t),e):t}var na={}.hasOwnProperty;function kr(e){let t={},r=-1;for(;++r<e.length;)Uu(t,e[r]);return t}function Uu(e,t){let r;for(r in t){let i=(na.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r],o;if(a)for(o in a){na.call(i,o)||(i[o]=[]);let l=a[o];ju(i[o],Array.isArray(l)?l:l?[l]:[])}}}function ju(e,t){let r=-1,n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);K(e,0,0,n)}var Gu={tokenize:Ku,partial:!0},ia={tokenize:Qu,partial:!0},oa={tokenize:Zu,partial:!0},aa={tokenize:Xu,partial:!0},$u={tokenize:Ju,partial:!0},la={name:"wwwAutolink",tokenize:Yu,previous:ua},sa={name:"protocolAutolink",tokenize:Wu,previous:ca},Oe={name:"emailAutolink",tokenize:Vu,previous:pa},Le={};function Yn(){return{text:Le}}var st=48;for(;st<123;)Le[st]=Oe,st++,st===58?st=65:st===91&&(st=97);Le[43]=Oe;Le[45]=Oe;Le[46]=Oe;Le[95]=Oe;Le[72]=[Oe,sa];Le[104]=[Oe,sa];Le[87]=[Oe,la];Le[119]=[Oe,la];function Vu(e,t,r){let n=this,i,a;return o;function o(c){return!Vn(c)||!pa.call(n,n.previous)||Wn(n.events)?r(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(c))}function l(c){return Vn(c)?(e.consume(c),l):c===64?(e.consume(c),s):r(c)}function s(c){return c===46?e.check($u,p,u)(c):c===45||c===95||te(c)?(a=!0,e.consume(c),s):p(c)}function u(c){return e.consume(c),i=!0,s}function p(c){return a&&i&&ee(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):r(c)}}function Yu(e,t,r){let n=this;return i;function i(o){return o!==87&&o!==119||!ua.call(n,n.previous)||Wn(n.events)?r(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Gu,e.attempt(ia,e.attempt(oa,a),r),r)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Wu(e,t,r){let n=this,i="",a=!1;return o;function o(c){return(c===72||c===104)&&ca.call(n,n.previous)&&!Wn(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),l):r(c)}function l(c){if(ee(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),l;if(c===58){let h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),s}return r(c)}function s(c){return c===47?(e.consume(c),a?u:(a=!0,s)):r(c)}function u(c){return c===null||nt(c)||U(c)||_e(c)||it(c)?r(c):e.attempt(ia,e.attempt(oa,p),r)(c)}function p(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function Ku(e,t,r){let n=0;return i;function i(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),i):o===46&&n===3?(e.consume(o),a):r(o)}function a(o){return o===null?r(o):t(o)}}function Qu(e,t,r){let n,i,a;return o;function o(u){return u===46||u===95?e.check(aa,s,l)(u):u===null||U(u)||_e(u)||u!==45&&it(u)?s(u):(a=!0,e.consume(u),o)}function l(u){return u===95?n=!0:(i=n,n=void 0),e.consume(u),o}function s(u){return i||n||!a?r(u):t(u)}}function Zu(e,t){let r=0,n=0;return i;function i(o){return o===40?(r++,e.consume(o),i):o===41&&n<r?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(aa,t,a)(o):o===null||U(o)||_e(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&n++,e.consume(o),i}}function Xu(e,t,r){return n;function n(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),n):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||U(l)||_e(l)?t(l):r(l)}function i(l){return l===null||l===40||l===91||U(l)||_e(l)?t(l):n(l)}function a(l){return ee(l)?o(l):r(l)}function o(l){return l===59?(e.consume(l),n):ee(l)?(e.consume(l),o):r(l)}}function Ju(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return te(a)?r(a):t(a)}}function ua(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||U(e)}function ca(e){return!ee(e)}function pa(e){return!(e===47||Vn(e))}function Vn(e){return e===43||e===45||e===46||e===95||te(e)}function Wn(e){let t=e.length,r=!1;for(;t--;){let n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}function Ve(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}var Wt={name:"attention",resolveAll:ec,tokenize:tc};function ec(e,t){let r=-1,n,i,a,o,l,s,u,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;let c={...e[n][1].end},h={...e[r][1].start};fa(c,-s),fa(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:c,end:{...e[n][1].end}},l={type:s>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:h},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[r][1].start={...l.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=fe(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=fe(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=fe(u,Ve(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=fe(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,u=fe(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,K(e,n-1,r-n+3,u),r=n+u.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function tc(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=De(n),a;return o;function o(s){return a=s,e.enter("attentionSequence"),l(s)}function l(s){if(s===a)return e.consume(s),l;let u=e.exit("attentionSequence"),p=De(s),c=!p||p===2&&i||r.includes(s),h=!i||i===2&&p||r.includes(n);return u._open=!!(a===42?c:c&&(i||!h)),u._close=!!(a===42?h:h&&(p||!c)),t(s)}}function fa(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Kn={name:"autolink",tokenize:rc};function rc(e,t,r){let n=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(f){return ee(f)?(e.consume(f),o):f===64?r(f):u(f)}function o(f){return f===43||f===45||f===46||te(f)?(n=1,l(f)):u(f)}function l(f){return f===58?(e.consume(f),n=0,s):(f===43||f===45||f===46||te(f))&&n++<32?(e.consume(f),l):(n=0,u(f))}function s(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||nt(f)?r(f):(e.consume(f),s)}function u(f){return f===64?(e.consume(f),p):go(f)?(e.consume(f),u):r(f)}function p(f){return te(f)?c(f):r(f)}function c(f){return f===46?(e.consume(f),n=0,p):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):h(f)}function h(f){if((f===45||te(f))&&n++<63){let m=f===45?h:c;return e.consume(f),m}return r(f)}}function I(e,t,r,n){let i=n?n-1:Number.POSITIVE_INFINITY,a=0;return o;function o(s){return B(s)?(e.enter(r),l(s)):t(s)}function l(s){return B(s)&&a++<i?(e.consume(s),l):(e.exit(r),t(s))}}var Ie={partial:!0,tokenize:nc};function nc(e,t,r){return n;function n(a){return B(a)?I(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||A(a)?t(a):r(a)}}var yr={continuation:{tokenize:oc},exit:ac,name:"blockQuote",tokenize:ic};function ic(e,t,r){let n=this;return i;function i(o){if(o===62){let l=n.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return r(o)}function a(o){return B(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function oc(e,t,r){let n=this;return i;function i(o){return B(o)?I(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(yr,t,r)(o)}}function ac(e){e.exit("blockQuote")}var vr={name:"characterEscape",tokenize:lc};function lc(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return bo(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var Sr={name:"characterReference",tokenize:sc};function sc(e,t,r){let n=this,i=0,a,o;return l;function l(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),s}function s(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,o=te,p(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=wo,p):(e.enter("characterReferenceValue"),a=7,o=jt,p(c))}function p(c){if(c===59&&i){let h=e.exit("characterReferenceValue");return o===te&&!At(n.sliceSerialize(h))?r(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(c)&&i++<a?(e.consume(c),p):r(c)}}var ha={partial:!0,tokenize:cc},Tr={concrete:!0,name:"codeFenced",tokenize:uc};function uc(e,t,r){let n=this,i={partial:!0,tokenize:D},a=0,o=0,l;return s;function s(T){return u(T)}function u(T){let L=n.events[n.events.length-1];return a=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,l=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(T)}function p(T){return T===l?(o++,e.consume(T),p):o<3?r(T):(e.exit("codeFencedFenceSequence"),B(T)?I(e,c,"whitespace")(T):c(T))}function c(T){return T===null||A(T)?(e.exit("codeFencedFence"),n.interrupt?t(T):e.check(ha,y,R)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||A(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(T)):B(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(T)):T===96&&T===l?r(T):(e.consume(T),h)}function f(T){return T===null||A(T)?c(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||A(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(T)):T===96&&T===l?r(T):(e.consume(T),m)}function y(T){return e.attempt(i,R,k)(T)}function k(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),w}function w(T){return a>0&&B(T)?I(e,b,"linePrefix",a+1)(T):b(T)}function b(T){return T===null||A(T)?e.check(ha,y,R)(T):(e.enter("codeFlowValue"),E(T))}function E(T){return T===null||A(T)?(e.exit("codeFlowValue"),b(T)):(e.consume(T),E)}function R(T){return e.exit("codeFenced"),t(T)}function D(T,L,G){let O=0;return v;function v(H){return T.enter("lineEnding"),T.consume(H),T.exit("lineEnding"),ne}function ne(H){return T.enter("codeFencedFence"),B(H)?I(T,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):$(H)}function $(H){return H===l?(T.enter("codeFencedFenceSequence"),M(H)):G(H)}function M(H){return H===l?(O++,T.consume(H),M):O>=o?(T.exit("codeFencedFenceSequence"),B(H)?I(T,P,"whitespace")(H):P(H)):G(H)}function P(H){return H===null||A(H)?(T.exit("codeFencedFence"),L(H)):G(H)}}}function cc(e,t,r){let n=this;return i;function i(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}var Kt={name:"codeIndented",tokenize:fc},pc={partial:!0,tokenize:hc};function fc(e,t,r){let n=this;return i;function i(u){return e.enter("codeIndented"),I(e,a,"linePrefix",5)(u)}function a(u){let p=n.events[n.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(u):r(u)}function o(u){return u===null?s(u):A(u)?e.attempt(pc,o,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||A(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function hc(e,t,r){let n=this;return i;function i(o){return n.parser.lazy[n.now().line]?r(o):A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):I(e,a,"linePrefix",5)(o)}function a(o){let l=n.events[n.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):A(o)?i(o):r(o)}}var Qn={name:"codeText",previous:dc,resolve:mc,tokenize:gc};function mc(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function dc(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function gc(e,t,r){let n=this,i=0,a,o;return l;function l(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),i++,s):(e.exit("codeTextSequence"),u(h))}function u(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),u):h===96?(o=e.enter("codeTextSequence"),a=0,c(h)):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("codeTextData"),p(h))}function p(h){return h===null||h===32||h===96||A(h)?(e.exit("codeTextData"),u(h)):(e.consume(h),p)}function c(h){return h===96?(e.consume(h),a++,c):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(o.type="codeTextData",p(h))}}var Er=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){let n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){let i=r||0;this.setCursor(Math.trunc(t));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Qt(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Qt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Qt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let r=this.left.splice(t,Number.POSITIVE_INFINITY);Qt(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Qt(this.left,r.reverse())}}};function Qt(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function Ar(e){let t={},r=-1,n,i,a,o,l,s,u,p=new Er(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(n=p.get(r),r&&n[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,wc(p,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(o=p.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(n[1].end={...p.get(i)[1].start},l=p.slice(i,r),l.unshift(n),p.splice(i,r-i+1,l))}}return K(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!u}function wc(e,t){let r=e.get(t)[1],n=e.get(t)[2],i=t-1,a=[],o=r._tokenizer;o||(o=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let l=o.events,s=[],u={},p,c,h=-1,f=r,m=0,y=0,k=[y];for(;f;){for(;e.get(++i)[1]!==f;);a.push(i),f._tokenizer||(p=n.sliceStream(f),f.next||p.push(null),c&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),c=f,f=f.next}for(f=r;++h<l.length;)l[h][0]==="exit"&&l[h-1][0]==="enter"&&l[h][1].type===l[h-1][1].type&&l[h][1].start.line!==l[h][1].end.line&&(y=h+1,k.push(y),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):k.pop(),h=k.length;h--;){let w=l.slice(k[h],k[h+1]),b=a.pop();s.push([b,b+w.length-1]),e.splice(b,2,w)}for(s.reverse(),h=-1;++h<s.length;)u[m+s[h][0]]=m+s[h][1],m+=s[h][1]-s[h][0]-1;return u}var Zn={resolve:xc,tokenize:kc},bc={partial:!0,tokenize:yc};function xc(e){return Ar(e),e}function kc(e,t){let r;return n;function n(l){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):A(l)?e.check(bc,o,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function yc(e,t,r){let n=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),I(e,a,"linePrefix")}function a(o){if(o===null||A(o))return r(o);let l=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}function Cr(e,t,r,n,i,a,o,l,s){let u=s||Number.POSITIVE_INFINITY,p=0;return c;function c(w){return w===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(w),e.exit(a),h):w===null||w===32||w===41||nt(w)?r(w):(e.enter(n),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),y(w))}function h(w){return w===62?(e.enter(a),e.consume(w),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(w))}function f(w){return w===62?(e.exit("chunkString"),e.exit(l),h(w)):w===null||w===60||A(w)?r(w):(e.consume(w),w===92?m:f)}function m(w){return w===60||w===62||w===92?(e.consume(w),f):f(w)}function y(w){return!p&&(w===null||w===41||U(w))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(n),t(w)):p<u&&w===40?(e.consume(w),p++,y):w===41?(e.consume(w),p--,y):w===null||w===32||w===40||nt(w)?r(w):(e.consume(w),w===92?k:y)}function k(w){return w===40||w===41||w===92?(e.consume(w),y):y(w)}}function qr(e,t,r,n,i,a){let o=this,l=0,s;return u;function u(f){return e.enter(n),e.enter(i),e.consume(f),e.exit(i),e.enter(a),p}function p(f){return l>999||f===null||f===91||f===93&&!s||f===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?r(f):f===93?(e.exit(a),e.enter(i),e.consume(f),e.exit(i),e.exit(n),t):A(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===null||f===91||f===93||A(f)||l++>999?(e.exit("chunkString"),p(f)):(e.consume(f),s||(s=!B(f)),f===92?h:c)}function h(f){return f===91||f===92||f===93?(e.consume(f),l++,c):c(f)}}function _r(e,t,r,n,i,a){let o;return l;function l(h){return h===34||h===39||h===40?(e.enter(n),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,s):r(h)}function s(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(n),t):(e.enter(a),u(h))}function u(h){return h===o?(e.exit(a),s(o)):h===null?r(h):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),I(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||A(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?c:p)}function c(h){return h===o||h===92?(e.consume(h),p):p(h)}}function ut(e,t){let r;return n;function n(i){return A(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):B(i)?I(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}var Xn={name:"definition",tokenize:Sc},vc={partial:!0,tokenize:Tc};function Sc(e,t,r){let n=this,i;return a;function a(f){return e.enter("definition"),o(f)}function o(f){return qr.call(n,e,l,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function l(f){return i=le(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),s):r(f)}function s(f){return U(f)?ut(e,u)(f):u(f)}function u(f){return Cr(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function p(f){return e.attempt(vc,c,c)(f)}function c(f){return B(f)?I(e,h,"whitespace")(f):h(f)}function h(f){return f===null||A(f)?(e.exit("definition"),n.parser.defined.push(i),t(f)):r(f)}}function Tc(e,t,r){return n;function n(l){return U(l)?ut(e,i)(l):r(l)}function i(l){return _r(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return B(l)?I(e,o,"whitespace")(l):o(l)}function o(l){return l===null||A(l)?t(l):r(l)}}var Jn={name:"hardBreakEscape",tokenize:Ec};function Ec(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return A(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}var ei={name:"headingAtx",resolve:Ac,tokenize:Cc};function Ac(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},K(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Cc(e,t,r){let n=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&n++<6?(e.consume(p),o):p===null||U(p)?(e.exit("atxHeadingSequence"),l(p)):r(p)}function l(p){return p===35?(e.enter("atxHeadingSequence"),s(p)):p===null||A(p)?(e.exit("atxHeading"),t(p)):B(p)?I(e,l,"whitespace")(p):(e.enter("atxHeadingText"),u(p))}function s(p){return p===35?(e.consume(p),s):(e.exit("atxHeadingSequence"),l(p))}function u(p){return p===null||p===35||U(p)?(e.exit("atxHeadingText"),l(p)):(e.consume(p),u)}}var ma=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ti=["pre","script","style","textarea"];var ri={concrete:!0,name:"htmlFlow",resolveTo:Lc,tokenize:Ic},qc={partial:!0,tokenize:Fc},_c={partial:!0,tokenize:Bc};function Lc(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ic(e,t,r){let n=this,i,a,o,l,s;return u;function u(g){return p(g)}function p(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),c}function c(g){return g===33?(e.consume(g),h):g===47?(e.consume(g),a=!0,y):g===63?(e.consume(g),i=3,n.interrupt?t:d):ee(g)?(e.consume(g),o=String.fromCharCode(g),k):r(g)}function h(g){return g===45?(e.consume(g),i=2,f):g===91?(e.consume(g),i=5,l=0,m):ee(g)?(e.consume(g),i=4,n.interrupt?t:d):r(g)}function f(g){return g===45?(e.consume(g),n.interrupt?t:d):r(g)}function m(g){let we="CDATA[";return g===we.charCodeAt(l++)?(e.consume(g),l===we.length?n.interrupt?t:$:m):r(g)}function y(g){return ee(g)?(e.consume(g),o=String.fromCharCode(g),k):r(g)}function k(g){if(g===null||g===47||g===62||U(g)){let we=g===47,et=o.toLowerCase();return!we&&!a&&ti.includes(et)?(i=1,n.interrupt?t(g):$(g)):ma.includes(o.toLowerCase())?(i=6,we?(e.consume(g),w):n.interrupt?t(g):$(g)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(g):a?b(g):E(g))}return g===45||te(g)?(e.consume(g),o+=String.fromCharCode(g),k):r(g)}function w(g){return g===62?(e.consume(g),n.interrupt?t:$):r(g)}function b(g){return B(g)?(e.consume(g),b):v(g)}function E(g){return g===47?(e.consume(g),v):g===58||g===95||ee(g)?(e.consume(g),R):B(g)?(e.consume(g),E):v(g)}function R(g){return g===45||g===46||g===58||g===95||te(g)?(e.consume(g),R):D(g)}function D(g){return g===61?(e.consume(g),T):B(g)?(e.consume(g),D):E(g)}function T(g){return g===null||g===60||g===61||g===62||g===96?r(g):g===34||g===39?(e.consume(g),s=g,L):B(g)?(e.consume(g),T):G(g)}function L(g){return g===s?(e.consume(g),s=null,O):g===null||A(g)?r(g):(e.consume(g),L)}function G(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||U(g)?D(g):(e.consume(g),G)}function O(g){return g===47||g===62||B(g)?E(g):r(g)}function v(g){return g===62?(e.consume(g),ne):r(g)}function ne(g){return g===null||A(g)?$(g):B(g)?(e.consume(g),ne):r(g)}function $(g){return g===45&&i===2?(e.consume(g),W):g===60&&i===1?(e.consume(g),J):g===62&&i===4?(e.consume(g),ke):g===63&&i===3?(e.consume(g),d):g===93&&i===5?(e.consume(g),Ce):A(g)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(qc,Fe,M)(g)):g===null||A(g)?(e.exit("htmlFlowData"),M(g)):(e.consume(g),$)}function M(g){return e.check(_c,P,Fe)(g)}function P(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),H}function H(g){return g===null||A(g)?M(g):(e.enter("htmlFlowData"),$(g))}function W(g){return g===45?(e.consume(g),d):$(g)}function J(g){return g===47?(e.consume(g),o="",ye):$(g)}function ye(g){if(g===62){let we=o.toLowerCase();return ti.includes(we)?(e.consume(g),ke):$(g)}return ee(g)&&o.length<8?(e.consume(g),o+=String.fromCharCode(g),ye):$(g)}function Ce(g){return g===93?(e.consume(g),d):$(g)}function d(g){return g===62?(e.consume(g),ke):g===45&&i===2?(e.consume(g),d):$(g)}function ke(g){return g===null||A(g)?(e.exit("htmlFlowData"),Fe(g)):(e.consume(g),ke)}function Fe(g){return e.exit("htmlFlow"),t(g)}}function Bc(e,t,r){let n=this;return i;function i(o){return A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):r(o)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function Fc(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ie,t,r)}}var ni={name:"htmlText",tokenize:Mc};function Mc(e,t,r){let n=this,i,a,o;return l;function l(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),s}function s(d){return d===33?(e.consume(d),u):d===47?(e.consume(d),D):d===63?(e.consume(d),E):ee(d)?(e.consume(d),G):r(d)}function u(d){return d===45?(e.consume(d),p):d===91?(e.consume(d),a=0,m):ee(d)?(e.consume(d),b):r(d)}function p(d){return d===45?(e.consume(d),f):r(d)}function c(d){return d===null?r(d):d===45?(e.consume(d),h):A(d)?(o=c,J(d)):(e.consume(d),c)}function h(d){return d===45?(e.consume(d),f):c(d)}function f(d){return d===62?W(d):d===45?h(d):c(d)}function m(d){let ke="CDATA[";return d===ke.charCodeAt(a++)?(e.consume(d),a===ke.length?y:m):r(d)}function y(d){return d===null?r(d):d===93?(e.consume(d),k):A(d)?(o=y,J(d)):(e.consume(d),y)}function k(d){return d===93?(e.consume(d),w):y(d)}function w(d){return d===62?W(d):d===93?(e.consume(d),w):y(d)}function b(d){return d===null||d===62?W(d):A(d)?(o=b,J(d)):(e.consume(d),b)}function E(d){return d===null?r(d):d===63?(e.consume(d),R):A(d)?(o=E,J(d)):(e.consume(d),E)}function R(d){return d===62?W(d):E(d)}function D(d){return ee(d)?(e.consume(d),T):r(d)}function T(d){return d===45||te(d)?(e.consume(d),T):L(d)}function L(d){return A(d)?(o=L,J(d)):B(d)?(e.consume(d),L):W(d)}function G(d){return d===45||te(d)?(e.consume(d),G):d===47||d===62||U(d)?O(d):r(d)}function O(d){return d===47?(e.consume(d),W):d===58||d===95||ee(d)?(e.consume(d),v):A(d)?(o=O,J(d)):B(d)?(e.consume(d),O):W(d)}function v(d){return d===45||d===46||d===58||d===95||te(d)?(e.consume(d),v):ne(d)}function ne(d){return d===61?(e.consume(d),$):A(d)?(o=ne,J(d)):B(d)?(e.consume(d),ne):O(d)}function $(d){return d===null||d===60||d===61||d===62||d===96?r(d):d===34||d===39?(e.consume(d),i=d,M):A(d)?(o=$,J(d)):B(d)?(e.consume(d),$):(e.consume(d),P)}function M(d){return d===i?(e.consume(d),i=void 0,H):d===null?r(d):A(d)?(o=M,J(d)):(e.consume(d),M)}function P(d){return d===null||d===34||d===39||d===60||d===61||d===96?r(d):d===47||d===62||U(d)?O(d):(e.consume(d),P)}function H(d){return d===47||d===62||U(d)?O(d):r(d)}function W(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),t):r(d)}function J(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ye}function ye(d){return B(d)?I(e,Ce,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):Ce(d)}function Ce(d){return e.enter("htmlTextData"),o(d)}}var ct={name:"labelEnd",resolveAll:Oc,resolveTo:zc,tokenize:Pc},Nc={tokenize:Hc},Rc={tokenize:Uc},Dc={tokenize:jc};function Oc(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&K(e,0,e.length,r),e}function zc(e,t){let r=e.length,n=0,i,a,o,l;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(o=r);let s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[o-2][1].start}};return l=[["enter",s,t],["enter",u,t]],l=fe(l,e.slice(a+1,a+n+3)),l=fe(l,[["enter",p,t]]),l=fe(l,Ve(t.parser.constructs.insideSpan.null,e.slice(a+n+4,o-3),t)),l=fe(l,[["exit",p,t],e[o-2],e[o-1],["exit",u,t]]),l=fe(l,e.slice(o+1)),l=fe(l,[["exit",s,t]]),K(e,a,e.length,l),e}function Pc(e,t,r){let n=this,i=n.events.length,a,o;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return l;function l(h){return a?a._inactive?c(h):(o=n.parser.defined.includes(le(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):r(h)}function s(h){return h===40?e.attempt(Nc,p,o?p:c)(h):h===91?e.attempt(Rc,p,o?u:c)(h):o?p(h):c(h)}function u(h){return e.attempt(Dc,p,c)(h)}function p(h){return t(h)}function c(h){return a._balanced=!0,r(h)}}function Hc(e,t,r){return n;function n(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return U(c)?ut(e,a)(c):a(c)}function a(c){return c===41?p(c):Cr(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function o(c){return U(c)?ut(e,s)(c):p(c)}function l(c){return r(c)}function s(c){return c===34||c===39||c===40?_r(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):p(c)}function u(c){return U(c)?ut(e,p)(c):p(c)}function p(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):r(c)}}function Uc(e,t,r){let n=this;return i;function i(l){return qr.call(n,e,a,o,"reference","referenceMarker","referenceString")(l)}function a(l){return n.parser.defined.includes(le(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(l):r(l)}function o(l){return r(l)}}function jc(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}var ii={name:"labelStartImage",resolveAll:ct.resolveAll,tokenize:Gc};function Gc(e,t,r){let n=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),o):r(l)}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}var oi={name:"labelStartLink",resolveAll:ct.resolveAll,tokenize:$c};function $c(e,t,r){let n=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var Zt={name:"lineEnding",tokenize:Vc};function Vc(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,t,"linePrefix")}}var pt={name:"thematicBreak",tokenize:Yc};function Yc(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):n>=3&&(u===null||A(u))?(e.exit("thematicBreak"),t(u)):r(u)}function s(u){return u===i?(e.consume(u),n++,s):(e.exit("thematicBreakSequence"),B(u)?I(e,l,"whitespace")(u):l(u))}}var se={continuation:{tokenize:Zc},exit:Jc,name:"list",tokenize:Qc},Wc={partial:!0,tokenize:ep},Kc={partial:!0,tokenize:Xc};function Qc(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(f){let m=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:jt(f)){if(n.containerState.type||(n.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(pt,r,u)(f):u(f);if(!n.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(f)}return r(f)}function s(f){return jt(f)&&++o<10?(e.consume(f),s):(!n.interrupt||o<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):r(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,e.check(Ie,n.interrupt?r:p,e.attempt(Wc,h,c))}function p(f){return n.containerState.initialBlankLine=!0,a++,h(f)}function c(f){return B(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),h):r(f)}function h(f){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function Zc(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(Ie,i,a);function i(l){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,I(e,t,"listItemIndent",n.containerState.size+1)(l)}function a(l){return n.containerState.furtherBlankLines||!B(l)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(l)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Kc,t,o)(l))}function o(l){return n.containerState._closeFlow=!0,n.interrupt=void 0,I(e,e.attempt(se,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Xc(e,t,r){let n=this;return I(e,i,"listItemIndent",n.containerState.size+1);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(a):r(a)}}function Jc(e){e.exit(this.containerState.type)}function ep(e,t,r){let n=this;return I(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let o=n.events[n.events.length-1];return!B(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}var Lr={name:"setextUnderline",resolveTo:tp,tokenize:rp};function tp(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=o,e.push(["exit",o,t]),e}function rp(e,t,r){let n=this,i;return a;function a(u){let p=n.events.length,c;for(;p--;)if(n.events[p][1].type!=="lineEnding"&&n.events[p][1].type!=="linePrefix"&&n.events[p][1].type!=="content"){c=n.events[p][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||c)?(e.enter("setextHeadingLine"),i=u,o(u)):r(u)}function o(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),B(u)?I(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||A(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}var np={tokenize:cp,partial:!0};function ai(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:lp,continuation:{tokenize:sp},exit:up}},text:{91:{name:"gfmFootnoteCall",tokenize:ap},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ip,resolveTo:op}}}}function ip(e,t,r){let n=this,i=n.events.length,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o;for(;i--;){let s=n.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!o||!o._balanced)return r(s);let u=le(n.sliceSerialize({start:o.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?r(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function op(e,t){let r=e.length,n;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...s),e}function ap(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,o;return l;function l(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),s}function s(c){return c!==94?r(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(a>999||c===93&&!o||c===null||c===91||U(c))return r(c);if(c===93){e.exit("chunkString");let h=e.exit("gfmFootnoteCallString");return i.includes(le(n.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(c)}return U(c)||(o=!0),a++,e.consume(c),c===92?p:u}function p(c){return c===91||c===92||c===93?(e.consume(c),a++,u):u(c)}}function lp(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a,o=0,l;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):r(m)}function p(m){if(o>999||m===93&&!l||m===null||m===91||U(m))return r(m);if(m===93){e.exit("chunkString");let y=e.exit("gfmFootnoteDefinitionLabelString");return a=le(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return U(m)||(l=!0),o++,e.consume(m),m===92?c:p}function c(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(a)||i.push(a),I(e,f,"gfmFootnoteDefinitionWhitespace")):r(m)}function f(m){return t(m)}}function sp(e,t,r){return e.check(Ie,t,e.attempt(np,t,r))}function up(e){e.exit("gfmFootnoteDefinition")}function cp(e,t,r){let n=this;return I(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):r(a)}}function li(e){let r=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(o,l){let s=-1;for(;++s<o.length;)if(o[s][0]==="enter"&&o[s][1].type==="strikethroughSequenceTemporary"&&o[s][1]._close){let u=s;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[s][1].end.offset-o[s][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[s][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";let p={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[s][1].end)},c={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[s][1].start)},h=[["enter",p,l],["enter",o[u][1],l],["exit",o[u][1],l],["enter",c,l]],f=l.parser.constructs.insideSpan.null;f&&K(h,h.length,0,Ve(f,o.slice(u+1,s),l)),K(h,h.length,0,[["exit",c,l],["enter",o[s][1],l],["exit",o[s][1],l],["exit",p,l]]),K(o,u-1,s-u+3,h),s=u+h.length-2;break}}for(s=-1;++s<o.length;)o[s][1].type==="strikethroughSequenceTemporary"&&(o[s][1].type="data");return o}function a(o,l,s){let u=this.previous,p=this.events,c=0;return h;function h(m){return u===126&&p[p.length-1][1].type!=="characterEscape"?s(m):(o.enter("strikethroughSequenceTemporary"),f(m))}function f(m){let y=De(u);if(m===126)return c>1?s(m):(o.consume(m),c++,f);if(c<2&&!r)return s(m);let k=o.exit("strikethroughSequenceTemporary"),w=De(m);return k._open=!w||w===2&&!!y,k._close=!y||y===2&&!!w,l(m)}}}var Ir=class{constructor(){this.map=[]}add(t,r,n){pp(this,t,r,n)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let r=this.map.length,n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(let a of i)t.push(a);i=n.pop()}this.map.length=0}};function pp(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function da(e,t){let r=!1,n=[];for(;t<e.length;){let i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function si(){return{flow:{null:{name:"table",tokenize:fp,resolveAll:hp}}}}function fp(e,t,r){let n=this,i=0,a=0,o;return l;function l(v){let ne=n.events.length-1;for(;ne>-1;){let P=n.events[ne][1].type;if(P==="lineEnding"||P==="linePrefix")ne--;else break}let $=ne>-1?n.events[ne][1].type:null,M=$==="tableHead"||$==="tableRow"?T:s;return M===T&&n.parser.lazy[n.now().line]?r(v):M(v)}function s(v){return e.enter("tableHead"),e.enter("tableRow"),u(v)}function u(v){return v===124||(o=!0,a+=1),p(v)}function p(v){return v===null?r(v):A(v)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),f):r(v):B(v)?I(e,p,"whitespace")(v):(a+=1,o&&(o=!1,i+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),c(v)))}function c(v){return v===null||v===124||U(v)?(e.exit("data"),p(v)):(e.consume(v),v===92?h:c)}function h(v){return v===92||v===124?(e.consume(v),c):c(v)}function f(v){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(v):(e.enter("tableDelimiterRow"),o=!1,B(v)?I(e,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):m(v))}function m(v){return v===45||v===58?k(v):v===124?(o=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),y):D(v)}function y(v){return B(v)?I(e,k,"whitespace")(v):k(v)}function k(v){return v===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),w):v===45?(a+=1,w(v)):v===null||A(v)?R(v):D(v)}function w(v){return v===45?(e.enter("tableDelimiterFiller"),b(v)):D(v)}function b(v){return v===45?(e.consume(v),b):v===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(v))}function E(v){return B(v)?I(e,R,"whitespace")(v):R(v)}function R(v){return v===124?m(v):v===null||A(v)?!o||i!==a?D(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):D(v)}function D(v){return r(v)}function T(v){return e.enter("tableRow"),L(v)}function L(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),L):v===null||A(v)?(e.exit("tableRow"),t(v)):B(v)?I(e,L,"whitespace")(v):(e.enter("data"),G(v))}function G(v){return v===null||v===124||U(v)?(e.exit("data"),L(v)):(e.consume(v),v===92?O:G)}function O(v){return v===92||v===124?(e.consume(v),G):G(v)}}function hp(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],l=!1,s=0,u,p,c,h=new Ir;for(;++r<e.length;){let f=e[r],m=f[1];f[0]==="enter"?m.type==="tableHead"?(l=!1,s!==0&&(ga(h,t,s,u,p),p=void 0,s=0),u={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",u,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(n=!0,c=void 0,a=[0,0,0,0],o=[0,r+1,0,0],l&&(l=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",p,t]])),i=m.type==="tableDelimiterRow"?2:p?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],c=Br(h,t,a,i,void 0,c),a=[0,0,0,0]),o[2]=r)):m.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(o[0]=o[1],c=Br(h,t,a,i,void 0,c)),a=o,o=[a[1],r,0,0])):m.type==="tableHead"?(l=!0,s=r):m.type==="tableRow"||m.type==="tableDelimiterRow"?(s=r,a[1]!==0?(o[0]=o[1],c=Br(h,t,a,i,r,c)):o[1]!==0&&(c=Br(h,t,o,i,r,c)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=r)}for(s!==0&&ga(h,t,s,u,p),h.consume(t.events),r=-1;++r<t.events.length;){let f=t.events[r];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=da(t.events,r))}return e}function Br(e,t,r,n,i,a){let o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",l="tableContent";r[0]!==0&&(a.end=Object.assign({},Ct(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));let s=Ct(t.events,r[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){let u=Ct(t.events,r[2]),p=Ct(t.events,r[3]),c={type:l,start:Object.assign({},u),end:Object.assign({},p)};if(e.add(r[2],0,[["enter",c,t]]),n!==2){let h=t.events[r[2]],f=t.events[r[3]];if(h[1].end=Object.assign({},f[1].end),h[1].type="chunkText",h[1].contentType="text",r[3]>r[2]+1){let m=r[2]+1,y=r[3]-r[2]-1;e.add(m,y,[])}}e.add(r[3]+1,0,[["exit",c,t]])}return i!==void 0&&(a.end=Object.assign({},Ct(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function ga(e,t,r,n,i){let a=[],o=Ct(t.events,r);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),n.end=Object.assign({},o),a.push(["exit",n,t]),e.add(r+1,0,a)}function Ct(e,t){let r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}var mp={name:"tasklistCheck",tokenize:dp};function ui(){return{text:{91:mp}}}function dp(e,t,r){let n=this;return i;function i(s){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),a)}function a(s){return U(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),o):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),o):r(s)}function o(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):r(s)}function l(s){return A(s)?t(s):B(s)?e.check({tokenize:gp},t,r)(s):r(s)}}function gp(e,t,r){return I(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function wa(e){return kr([Yn(),ai(),li(e),si(),ui()])}var wp={};function Fr(e){let t=this,r=e||wp,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(wa(r)),a.push(Gn()),o.push($n(r))}function ci(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:l,mathText:o,mathTextData:l}};function e(s){let u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},s)}function t(){this.buffer()}function r(){let s=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=s}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(s){let u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(s),p.value=u;let c=p.data.hChildren[0];c.type,c.tagName,c.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function a(s){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},s),this.buffer()}function o(s){let u=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(s),p.value=u,p.data.hChildren.push({type:"text",value:u})}function l(s){this.config.enter.data.call(this,s),this.config.exit.data.call(this,s)}}function pi(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
21
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(a,o,l,s){let u=a.value||"",p=l.createTracker(s),c="$".repeat(Math.max(wr(u,"$")+1,2)),h=l.enter("mathFlow"),f=p.move(c);if(a.meta){let m=l.enter("mathFlowMeta");f+=p.move(l.safe(a.meta,{after:`
48
22
  `,before:f,encode:["$"],...p.current()})),m()}return f+=p.move(`
49
23
  `),u&&(f+=p.move(u+`
50
- `)),f+=p.move(c),h(),f}function n(a,o,l){let s=a.value||"",u=1;for(t||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(s);)u++;let p="$".repeat(u);/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^\$|\$$/.test(s))&&(s=" "+s+" ");let c=-1;for(;++c<l.unsafe.length;){let h=l.unsafe[c];if(!h.atBreak)continue;let f=l.compilePattern(h),m;for(;m=f.exec(s);){let y=m.index;s.codePointAt(y)===10&&s.codePointAt(y-1)===13&&y--,s=s.slice(0,y)+" "+s.slice(m.index+1)}}return p+s+p}function i(){return"$"}}var Ea={tokenize:Ep,concrete:!0,name:"mathFlow"},Ta={tokenize:Ap,partial:!0};function Ep(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(b){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(b)}function s(b){return b===36?(e.consume(b),o++,s):o<2?r(b):(e.exit("mathFlowFenceSequence"),I(e,u,"whitespace")(b))}function u(b){return b===null||A(b)?c(b):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||A(b)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),c(b)):b===36?r(b):(e.consume(b),p)}function c(b){return e.exit("mathFlowFence"),n.interrupt?t(b):e.attempt(Ta,h,k)(b)}function h(b){return e.attempt({tokenize:w,partial:!0},k,f)(b)}function f(b){return(a?I(e,m,"linePrefix",a+1):m)(b)}function m(b){return b===null?k(b):A(b)?e.attempt(Ta,h,k)(b):(e.enter("mathFlowValue"),y(b))}function y(b){return b===null||A(b)?(e.exit("mathFlowValue"),m(b)):(e.consume(b),y)}function k(b){return e.exit("mathFlow"),t(b)}function w(b,E,R){let D=0;return I(b,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function T(O){return b.enter("mathFlowFence"),b.enter("mathFlowFenceSequence"),L(O)}function L(O){return O===36?(D++,b.consume(O),L):D<o?R(O):(b.exit("mathFlowFenceSequence"),I(b,G,"whitespace")(O))}function G(O){return O===null||A(O)?(b.exit("mathFlowFence"),E(O)):R(O)}}}function Ap(e,t,r){let n=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function Aa(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Cp,previous:qp,name:"mathText"};function n(i,a,o){let l=this,s=0,u,p;return c;function c(k){return i.enter("mathText"),i.enter("mathTextSequence"),h(k)}function h(k){return k===36?(i.consume(k),s++,h):s<2&&!r?o(k):(i.exit("mathTextSequence"),f(k))}function f(k){return k===null?o(k):k===36?(p=i.enter("mathTextSequence"),u=0,y(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),f):A(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),f):(i.enter("mathTextData"),m(k))}function m(k){return k===null||k===32||k===36||A(k)?(i.exit("mathTextData"),f(k)):(i.consume(k),m)}function y(k){return k===36?(i.consume(k),u++,y):u===s?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(p.type="mathTextData",m(k))}}}function Cp(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function qp(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function gi(e){return{flow:{36:Ea},text:{36:Aa(e)}}}var _p={};function Dr(e){let t=this,r=e||_p,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(gi(r)),a.push(mi()),o.push(di(r))}var Ca={tokenize:Lp};function Lp(e){let t=e.attempt(this.parser.constructs.contentInitial,n,i),r;return t;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),I(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){let s=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=s),r=s,o(l)}function o(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return A(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),o)}}var _a={tokenize:Ip},qa={tokenize:Bp};function Ip(e){let t=this,r=[],n=0,i,a,o;return l;function l(E){if(n<r.length){let R=r[n];return t.containerState=R[1],e.attempt(R[0].continuation,s,u)(E)}return u(E)}function s(E){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();let R=t.events.length,D=R,T;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){T=t.events[D][1].end;break}w(n);let L=R;for(;L<t.events.length;)t.events[L][1].end={...T},L++;return K(t.events,D+1,0,t.events.slice(R)),t.events.length=L,u(E)}return l(E)}function u(E){if(n===r.length){if(!i)return h(E);if(i.currentConstruct&&i.currentConstruct.concrete)return m(E);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(qa,p,c)(E)}function p(E){return i&&b(),w(n),h(E)}function c(E){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,m(E)}function h(E){return t.containerState={},e.attempt(qa,f,m)(E)}function f(E){return n++,r.push([t.currentConstruct,t.containerState]),h(E)}function m(E){if(E===null){i&&b(),w(0),e.consume(E);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),y(E)}function y(E){if(E===null){k(e.exit("chunkFlow"),!0),w(0),e.consume(E);return}return A(E)?(e.consume(E),k(e.exit("chunkFlow")),n=0,t.interrupt=void 0,l):(e.consume(E),y)}function k(E,R){let D=t.sliceStream(E);if(R&&D.push(null),E.previous=a,a&&(a.next=E),a=E,i.defineSkip(E.start),i.write(D),t.parser.lazy[E.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<o&&(!i.events[T][1].end||i.events[T][1].end.offset>o))return;let L=t.events.length,G=L,O,v;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){if(O){v=t.events[G][1].end;break}O=!0}for(w(n),T=L;T<t.events.length;)t.events[T][1].end={...v},T++;K(t.events,G+1,0,t.events.slice(L)),t.events.length=T}}function w(E){let R=r.length;for(;R-- >E;){let D=r[R];t.containerState=D[1],D[0].exit.call(t,e)}r.length=E}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Bp(e,t,r){return I(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var La={tokenize:Fp};function Fp(e){let t=this,r=e.attempt(Ie,n,e.attempt(this.parser.constructs.flowInitial,i,I(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ti,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var Ia={resolveAll:Na()},Ba=Ma("string"),Fa=Ma("text");function Ma(e){return{resolveAll:Na(e==="text"?Mp:void 0),tokenize:t};function t(r){let n=this,i=this.parser.constructs[e],a=r.attempt(i,o,l);return o;function o(p){return u(p)?a(p):l(p)}function l(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),s}function s(p){return u(p)?(r.exit("data"),a(p)):(r.consume(p),s)}function u(p){if(p===null)return!0;let c=i[p],h=-1;if(c)for(;++h<c.length;){let f=c[h];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function Na(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function Mp(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let n=e[r-1][1],i=t.sliceStream(n),a=i.length,o=-1,l=0,s;for(;a--;){let u=i[a];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)l++,o--;if(o)break;o=-1}else if(u===-2)s=!0,l++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let u={type:r===e.length||s||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:n.start._bufferIndex+o,_index:n.start._index+a,line:n.end.line,column:n.end.column-l,offset:n.end.offset-l},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}var wi={};en(wi,{attentionMarkers:()=>Up,contentInitial:()=>Rp,disable:()=>jp,document:()=>Np,flow:()=>Op,flowInitial:()=>Dp,insideSpan:()=>Hp,string:()=>zp,text:()=>Pp});var Np={42:se,43:se,45:se,48:se,49:se,50:se,51:se,52:se,53:se,54:se,55:se,56:se,57:se,62:Tr},Rp={91:ri},Dp={[-2]:Xt,[-1]:Xt,32:Xt},Op={35:ii,42:ft,45:[Fr,ft],60:ai,61:Fr,95:ft,96:Cr,126:Cr},zp={38:Ar,92:Er},Pp={[-5]:er,[-4]:er,[-3]:er,33:si,38:Ar,42:Zt,60:[Jn,li],91:ui,92:[ni,Er],93:pt,95:Zt,96:ei},Hp={null:[Zt,Ia]},Up={null:[42,95]},jp={null:[]};function Ra(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],l=[],s=!0,u={attempt:O(L),check:O(G),consume:R,enter:D,exit:T,interrupt:O(G,{interrupt:!0})},p={code:null,containerState:{},defineSkip:w,events:[],now:k,parser:e,previous:null,sliceSerialize:m,sliceStream:y,write:f},c=t.tokenize.call(p,u),h;return t.resolveAll&&a.push(t),p;function f(M){return o=fe(o,M),b(),o[o.length-1]!==null?[]:(v(t,0),p.events=Ye(a,p.events,p),p.events)}function m(M,P){return $p(y(M),P)}function y(M){return Gp(o,M)}function k(){let{_bufferIndex:M,_index:P,line:H,column:W,offset:J}=n;return{_bufferIndex:M,_index:P,line:H,column:W,offset:J}}function w(M){i[M.line]=M.column,$()}function b(){let M;for(;n._index<o.length;){let P=o[n._index];if(typeof P=="string")for(M=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===M&&n._bufferIndex<P.length;)E(P.charCodeAt(n._bufferIndex));else E(P)}}function E(M){s=void 0,h=M,c=c(M)}function R(M){A(M)?(n.line++,n.column=1,n.offset+=M===-3?2:1,$()):M!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),p.previous=M,s=!0}function D(M,P){let H=P||{};return H.type=M,H.start=k(),p.events.push(["enter",H,p]),l.push(H),H}function T(M){let P=l.pop();return P.end=k(),p.events.push(["exit",P,p]),P}function L(M,P){v(M,P.from)}function G(M,P){P.restore()}function O(M,P){return H;function H(W,J,ye){let Ce,d,ke,Fe;return Array.isArray(W)?we(W):"tokenize"in W?we([W]):g(W);function g(oe){return Ot;function Ot(Me){let rt=Me!==null&&oe[Me],bt=Me!==null&&oe.null,Jr=[...Array.isArray(rt)?rt:rt?[rt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return we(Jr)(Me)}}function we(oe){return Ce=oe,d=0,oe.length===0?ye:tt(oe[d])}function tt(oe){return Ot;function Ot(Me){return Fe=ne(),ke=oe,oe.partial||(p.currentConstruct=oe),oe.name&&p.parser.constructs.disable.null.includes(oe.name)?cr(Me):oe.tokenize.call(P?Object.assign(Object.create(p),P):p,u,Xr,cr)(Me)}}function Xr(oe){return s=!0,M(ke,Fe),J}function cr(oe){return s=!0,Fe.restore(),++d<Ce.length?tt(Ce[d]):ye}}}function v(M,P){M.resolveAll&&!a.includes(M)&&a.push(M),M.resolve&&K(p.events,P,p.events.length-P,M.resolve(p.events.slice(P),p)),M.resolveTo&&(p.events=M.resolveTo(p.events,p))}function ne(){let M=k(),P=p.previous,H=p.currentConstruct,W=p.events.length,J=Array.from(l);return{from:W,restore:ye};function ye(){n=M,p.previous=P,p.currentConstruct=H,p.events.length=W,l=J,$()}}function $(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Gp(e,t){let r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(r===i)o=[e[r].slice(n,a)];else{if(o=e.slice(r,i),n>-1){let l=o[0];typeof l=="string"?o[0]=l.slice(n):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function $p(e,t){let r=-1,n=[],i;for(;++r<e.length;){let a=e[r],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
24
+ `)),f+=p.move(c),h(),f}function n(a,o,l){let s=a.value||"",u=1;for(t||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(s);)u++;let p="$".repeat(u);/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^\$|\$$/.test(s))&&(s=" "+s+" ");let c=-1;for(;++c<l.unsafe.length;){let h=l.unsafe[c];if(!h.atBreak)continue;let f=l.compilePattern(h),m;for(;m=f.exec(s);){let y=m.index;s.codePointAt(y)===10&&s.codePointAt(y-1)===13&&y--,s=s.slice(0,y)+" "+s.slice(m.index+1)}}return p+s+p}function i(){return"$"}}var xa={tokenize:bp,concrete:!0,name:"mathFlow"},ba={tokenize:xp,partial:!0};function bp(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(b){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(b)}function s(b){return b===36?(e.consume(b),o++,s):o<2?r(b):(e.exit("mathFlowFenceSequence"),I(e,u,"whitespace")(b))}function u(b){return b===null||A(b)?c(b):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||A(b)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),c(b)):b===36?r(b):(e.consume(b),p)}function c(b){return e.exit("mathFlowFence"),n.interrupt?t(b):e.attempt(ba,h,k)(b)}function h(b){return e.attempt({tokenize:w,partial:!0},k,f)(b)}function f(b){return(a?I(e,m,"linePrefix",a+1):m)(b)}function m(b){return b===null?k(b):A(b)?e.attempt(ba,h,k)(b):(e.enter("mathFlowValue"),y(b))}function y(b){return b===null||A(b)?(e.exit("mathFlowValue"),m(b)):(e.consume(b),y)}function k(b){return e.exit("mathFlow"),t(b)}function w(b,E,R){let D=0;return I(b,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function T(O){return b.enter("mathFlowFence"),b.enter("mathFlowFenceSequence"),L(O)}function L(O){return O===36?(D++,b.consume(O),L):D<o?R(O):(b.exit("mathFlowFenceSequence"),I(b,G,"whitespace")(O))}function G(O){return O===null||A(O)?(b.exit("mathFlowFence"),E(O)):R(O)}}}function xp(e,t,r){let n=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function ka(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:kp,previous:yp,name:"mathText"};function n(i,a,o){let l=this,s=0,u,p;return c;function c(k){return i.enter("mathText"),i.enter("mathTextSequence"),h(k)}function h(k){return k===36?(i.consume(k),s++,h):s<2&&!r?o(k):(i.exit("mathTextSequence"),f(k))}function f(k){return k===null?o(k):k===36?(p=i.enter("mathTextSequence"),u=0,y(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),f):A(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),f):(i.enter("mathTextData"),m(k))}function m(k){return k===null||k===32||k===36||A(k)?(i.exit("mathTextData"),f(k)):(i.consume(k),m)}function y(k){return k===36?(i.consume(k),u++,y):u===s?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(p.type="mathTextData",m(k))}}}function kp(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function yp(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function fi(e){return{flow:{36:xa},text:{36:ka(e)}}}var vp={};function Mr(e){let t=this,r=e||vp,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(fi(r)),a.push(ci()),o.push(pi(r))}var ya={tokenize:Sp};function Sp(e){let t=e.attempt(this.parser.constructs.contentInitial,n,i),r;return t;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),I(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){let s=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=s),r=s,o(l)}function o(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return A(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),o)}}var Sa={tokenize:Tp},va={tokenize:Ep};function Tp(e){let t=this,r=[],n=0,i,a,o;return l;function l(E){if(n<r.length){let R=r[n];return t.containerState=R[1],e.attempt(R[0].continuation,s,u)(E)}return u(E)}function s(E){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();let R=t.events.length,D=R,T;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){T=t.events[D][1].end;break}w(n);let L=R;for(;L<t.events.length;)t.events[L][1].end={...T},L++;return K(t.events,D+1,0,t.events.slice(R)),t.events.length=L,u(E)}return l(E)}function u(E){if(n===r.length){if(!i)return h(E);if(i.currentConstruct&&i.currentConstruct.concrete)return m(E);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(va,p,c)(E)}function p(E){return i&&b(),w(n),h(E)}function c(E){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,m(E)}function h(E){return t.containerState={},e.attempt(va,f,m)(E)}function f(E){return n++,r.push([t.currentConstruct,t.containerState]),h(E)}function m(E){if(E===null){i&&b(),w(0),e.consume(E);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),y(E)}function y(E){if(E===null){k(e.exit("chunkFlow"),!0),w(0),e.consume(E);return}return A(E)?(e.consume(E),k(e.exit("chunkFlow")),n=0,t.interrupt=void 0,l):(e.consume(E),y)}function k(E,R){let D=t.sliceStream(E);if(R&&D.push(null),E.previous=a,a&&(a.next=E),a=E,i.defineSkip(E.start),i.write(D),t.parser.lazy[E.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<o&&(!i.events[T][1].end||i.events[T][1].end.offset>o))return;let L=t.events.length,G=L,O,v;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){if(O){v=t.events[G][1].end;break}O=!0}for(w(n),T=L;T<t.events.length;)t.events[T][1].end={...v},T++;K(t.events,G+1,0,t.events.slice(L)),t.events.length=T}}function w(E){let R=r.length;for(;R-- >E;){let D=r[R];t.containerState=D[1],D[0].exit.call(t,e)}r.length=E}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Ep(e,t,r){return I(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var Ta={tokenize:Ap};function Ap(e){let t=this,r=e.attempt(Ie,n,e.attempt(this.parser.constructs.flowInitial,i,I(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Zn,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var Ea={resolveAll:_a()},Aa=qa("string"),Ca=qa("text");function qa(e){return{resolveAll:_a(e==="text"?Cp:void 0),tokenize:t};function t(r){let n=this,i=this.parser.constructs[e],a=r.attempt(i,o,l);return o;function o(p){return u(p)?a(p):l(p)}function l(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),s}function s(p){return u(p)?(r.exit("data"),a(p)):(r.consume(p),s)}function u(p){if(p===null)return!0;let c=i[p],h=-1;if(c)for(;++h<c.length;){let f=c[h];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function _a(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function Cp(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let n=e[r-1][1],i=t.sliceStream(n),a=i.length,o=-1,l=0,s;for(;a--;){let u=i[a];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)l++,o--;if(o)break;o=-1}else if(u===-2)s=!0,l++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let u={type:r===e.length||s||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:n.start._bufferIndex+o,_index:n.start._index+a,line:n.end.line,column:n.end.column-l,offset:n.end.offset-l},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}var hi={};Ki(hi,{attentionMarkers:()=>Np,contentInitial:()=>_p,disable:()=>Rp,document:()=>qp,flow:()=>Ip,flowInitial:()=>Lp,insideSpan:()=>Mp,string:()=>Bp,text:()=>Fp});var qp={42:se,43:se,45:se,48:se,49:se,50:se,51:se,52:se,53:se,54:se,55:se,56:se,57:se,62:yr},_p={91:Xn},Lp={[-2]:Kt,[-1]:Kt,32:Kt},Ip={35:ei,42:pt,45:[Lr,pt],60:ri,61:Lr,95:pt,96:Tr,126:Tr},Bp={38:Sr,92:vr},Fp={[-5]:Zt,[-4]:Zt,[-3]:Zt,33:ii,38:Sr,42:Wt,60:[Kn,ni],91:oi,92:[Jn,vr],93:ct,95:Wt,96:Qn},Mp={null:[Wt,Ea]},Np={null:[42,95]},Rp={null:[]};function La(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],l=[],s=!0,u={attempt:O(L),check:O(G),consume:R,enter:D,exit:T,interrupt:O(G,{interrupt:!0})},p={code:null,containerState:{},defineSkip:w,events:[],now:k,parser:e,previous:null,sliceSerialize:m,sliceStream:y,write:f},c=t.tokenize.call(p,u),h;return t.resolveAll&&a.push(t),p;function f(M){return o=fe(o,M),b(),o[o.length-1]!==null?[]:(v(t,0),p.events=Ve(a,p.events,p),p.events)}function m(M,P){return Op(y(M),P)}function y(M){return Dp(o,M)}function k(){let{_bufferIndex:M,_index:P,line:H,column:W,offset:J}=n;return{_bufferIndex:M,_index:P,line:H,column:W,offset:J}}function w(M){i[M.line]=M.column,$()}function b(){let M;for(;n._index<o.length;){let P=o[n._index];if(typeof P=="string")for(M=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===M&&n._bufferIndex<P.length;)E(P.charCodeAt(n._bufferIndex));else E(P)}}function E(M){s=void 0,h=M,c=c(M)}function R(M){A(M)?(n.line++,n.column=1,n.offset+=M===-3?2:1,$()):M!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),p.previous=M,s=!0}function D(M,P){let H=P||{};return H.type=M,H.start=k(),p.events.push(["enter",H,p]),l.push(H),H}function T(M){let P=l.pop();return P.end=k(),p.events.push(["exit",P,p]),P}function L(M,P){v(M,P.from)}function G(M,P){P.restore()}function O(M,P){return H;function H(W,J,ye){let Ce,d,ke,Fe;return Array.isArray(W)?we(W):"tokenize"in W?we([W]):g(W);function g(oe){return Rt;function Rt(Me){let tt=Me!==null&&oe[Me],bt=Me!==null&&oe.null,Qr=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return we(Qr)(Me)}}function we(oe){return Ce=oe,d=0,oe.length===0?ye:et(oe[d])}function et(oe){return Rt;function Rt(Me){return Fe=ne(),ke=oe,oe.partial||(p.currentConstruct=oe),oe.name&&p.parser.constructs.disable.null.includes(oe.name)?lr(Me):oe.tokenize.call(P?Object.assign(Object.create(p),P):p,u,Kr,lr)(Me)}}function Kr(oe){return s=!0,M(ke,Fe),J}function lr(oe){return s=!0,Fe.restore(),++d<Ce.length?et(Ce[d]):ye}}}function v(M,P){M.resolveAll&&!a.includes(M)&&a.push(M),M.resolve&&K(p.events,P,p.events.length-P,M.resolve(p.events.slice(P),p)),M.resolveTo&&(p.events=M.resolveTo(p.events,p))}function ne(){let M=k(),P=p.previous,H=p.currentConstruct,W=p.events.length,J=Array.from(l);return{from:W,restore:ye};function ye(){n=M,p.previous=P,p.currentConstruct=H,p.events.length=W,l=J,$()}}function $(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Dp(e,t){let r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(r===i)o=[e[r].slice(n,a)];else{if(o=e.slice(r,i),n>-1){let l=o[0];typeof l=="string"?o[0]=l.slice(n):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Op(e,t){let r=-1,n=[],i;for(;++r<e.length;){let a=e[r],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
51
25
  `;break}case-3:{o=`\r
52
- `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,n.push(o)}return n.join("")}function bi(e){let n={constructs:Sr([wi,...(e||{}).extensions||[]]),content:i(Ca),defined:[],document:i(_a),flow:i(La),lazy:{},string:i(Ba),text:i(Fa)};return n;function i(a){return o;function o(l){return Ra(n,a,l)}}}function xi(e){for(;!_r(e););return e}var Da=/[\0\t\n\r]/g;function ki(){let e=1,t="",r=!0,n;return i;function i(a,o,l){let s=[],u,p,c,h,f;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),c=0,t="",r&&(a.charCodeAt(0)===65279&&c++,r=void 0);c<a.length;){if(Da.lastIndex=c,u=Da.exec(a),h=u&&u.index!==void 0?u.index:a.length,f=a.charCodeAt(h),!u){t=a.slice(c);break}if(f===10&&c===h&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),c<h&&(s.push(a.slice(c,h)),e+=h-c),f){case 0:{s.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,s.push(-2);e++<p;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:n=!0,e=1}c=h+1}return l&&(n&&s.push(-5),t&&s.push(t),s.push(null)),s}}var za={}.hasOwnProperty;function yi(e,t,r){return typeof t!="string"&&(r=t,t=void 0),Vp(r)(xi(bi(r).document().write(ki()(e,t,!0))))}function Vp(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Ji),autolinkProtocol:O,autolinkEmail:O,atxHeading:a(Qi),blockQuote:a(Me),characterEscape:O,characterReference:O,codeFenced:a(rt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(rt,o),codeText:a(bt,o),codeTextData:O,data:O,codeFlowValue:O,definition:a(Jr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(hs),hardBreakEscape:a(Zi),hardBreakTrailing:a(Zi),htmlFlow:a(Xi,o),htmlFlowData:O,htmlText:a(Xi,o),htmlTextData:O,image:a(ms),label:o,link:a(Ji),listItem:a(ds),listItemValue:h,listOrdered:a(eo,c),listUnordered:a(eo),paragraph:a(gs),reference:g,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Qi),strong:a(ws),thematicBreak:a(xs)},exit:{atxHeading:s(),atxHeadingSequence:D,autolink:s(),autolinkEmail:Ot,autolinkProtocol:oe,blockQuote:s(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:tt,characterReferenceMarkerNumeric:tt,characterReferenceValue:Xr,characterReference:cr,codeFenced:s(k),codeFencedFence:y,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:v,codeIndented:s(w),codeText:s(H),codeTextData:v,data:v,definition:s(),definitionDestinationString:R,definitionLabelString:b,definitionTitleString:E,emphasis:s(),hardBreakEscape:s($),hardBreakTrailing:s($),htmlFlow:s(M),htmlFlowData:v,htmlText:s(P),htmlTextData:v,image:s(J),label:Ce,labelText:ye,lineEnding:ne,link:s(W),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:we,resourceDestinationString:d,resourceTitleString:ke,resource:Fe,setextHeading:s(G),setextHeadingLineSequence:L,setextHeadingText:T,strong:s(),thematicBreak:s()}};Pa(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(S){let _={type:"root",children:[]},z={stack:[_],tokenStack:[],config:t,enter:l,exit:u,buffer:o,resume:p,data:r},j=[],V=-1;for(;++V<S.length;)if(S[V][1].type==="listOrdered"||S[V][1].type==="listUnordered")if(S[V][0]==="enter")j.push(V);else{let ve=j.pop();V=i(S,ve,V)}for(V=-1;++V<S.length;){let ve=t[S[V][0]];za.call(ve,S[V][1].type)&&ve[S[V][1].type].call(Object.assign({sliceSerialize:S[V][2].sliceSerialize},z),S[V][1])}if(z.tokenStack.length>0){let ve=z.tokenStack[z.tokenStack.length-1];(ve[1]||Oa).call(z,void 0,ve[0])}for(_.position={start:We(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:We(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},V=-1;++V<t.transforms.length;)_=t.transforms[V](_)||_;return _}function i(S,_,z){let j=_-1,V=-1,ve=!1,nt,Ne,zt,Pt;for(;++j<=z;){let be=S[j];switch(be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{be[0]==="enter"?V++:V--,Pt=void 0;break}case"lineEndingBlank":{be[0]==="enter"&&(nt&&!Pt&&!V&&!zt&&(zt=j),Pt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Pt=void 0}if(!V&&be[0]==="enter"&&be[1].type==="listItemPrefix"||V===-1&&be[0]==="exit"&&(be[1].type==="listUnordered"||be[1].type==="listOrdered")){if(nt){let xt=j;for(Ne=void 0;xt--;){let Re=S[xt];if(Re[1].type==="lineEnding"||Re[1].type==="lineEndingBlank"){if(Re[0]==="exit")continue;Ne&&(S[Ne][1].type="lineEndingBlank",ve=!0),Re[1].type="lineEnding",Ne=xt}else if(!(Re[1].type==="linePrefix"||Re[1].type==="blockQuotePrefix"||Re[1].type==="blockQuotePrefixWhitespace"||Re[1].type==="blockQuoteMarker"||Re[1].type==="listItemIndent"))break}zt&&(!Ne||zt<Ne)&&(nt._spread=!0),nt.end=Object.assign({},Ne?S[Ne][1].start:be[1].end),S.splice(Ne||j,0,["exit",nt,be[2]]),j++,z++}if(be[1].type==="listItemPrefix"){let xt={type:"listItem",_spread:!1,start:Object.assign({},be[1].start),end:void 0};nt=xt,S.splice(j,0,["enter",xt,be[2]]),j++,z++,zt=void 0,Pt=!0}}}return S[_][1]._spread=ve,z}function a(S,_){return z;function z(j){l.call(this,S(j),j),_&&_.call(this,j)}}function o(){this.stack.push({type:"fragment",children:[]})}function l(S,_,z){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([_,z||void 0]),S.position={start:We(_.start),end:void 0}}function s(S){return _;function _(z){S&&S.call(this,z),u.call(this,z)}}function u(S,_){let z=this.stack.pop(),j=this.tokenStack.pop();if(j)j[0].type!==S.type&&(_?_.call(this,S,j[0]):(j[1]||Oa).call(this,S,j[0]));else throw new Error("Cannot close `"+S.type+"` ("+je({start:S.start,end:S.end})+"): it\u2019s not open");z.position.end=We(S.end)}function p(){return st(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(S){if(this.data.expectingFirstListItemValue){let _=this.stack[this.stack.length-2];_.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function f(){let S=this.resume(),_=this.stack[this.stack.length-1];_.lang=S}function m(){let S=this.resume(),_=this.stack[this.stack.length-1];_.meta=S}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S.replace(/(\r?\n|\r)$/g,"")}function b(S){let _=this.resume(),z=this.stack[this.stack.length-1];z.label=_,z.identifier=le(this.sliceSerialize(S)).toLowerCase()}function E(){let S=this.resume(),_=this.stack[this.stack.length-1];_.title=S}function R(){let S=this.resume(),_=this.stack[this.stack.length-1];_.url=S}function D(S){let _=this.stack[this.stack.length-1];if(!_.depth){let z=this.sliceSerialize(S).length;_.depth=z}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function L(S){let _=this.stack[this.stack.length-1];_.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function G(){this.data.setextHeadingSlurpLineEnding=void 0}function O(S){let z=this.stack[this.stack.length-1].children,j=z[z.length-1];(!j||j.type!=="text")&&(j=bs(),j.position={start:We(S.start),end:void 0},z.push(j)),this.stack.push(j)}function v(S){let _=this.stack.pop();_.value+=this.sliceSerialize(S),_.position.end=We(S.end)}function ne(S){let _=this.stack[this.stack.length-1];if(this.data.atHardBreak){let z=_.children[_.children.length-1];z.position.end=We(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(_.type)&&(O.call(this,S),v.call(this,S))}function $(){this.data.atHardBreak=!0}function M(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function P(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function H(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function W(){let S=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=_,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function J(){let S=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=_,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function ye(S){let _=this.sliceSerialize(S),z=this.stack[this.stack.length-2];z.label=aa(_),z.identifier=le(_).toLowerCase()}function Ce(){let S=this.stack[this.stack.length-1],_=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){let j=S.children;z.children=j}else z.alt=_}function d(){let S=this.resume(),_=this.stack[this.stack.length-1];_.url=S}function ke(){let S=this.resume(),_=this.stack[this.stack.length-1];_.title=S}function Fe(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function we(S){let _=this.resume(),z=this.stack[this.stack.length-1];z.label=_,z.identifier=le(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function tt(S){this.data.characterReferenceType=S.type}function Xr(S){let _=this.sliceSerialize(S),z=this.data.characterReferenceType,j;z?(j=vr(_,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):j=At(_);let V=this.stack[this.stack.length-1];V.value+=j}function cr(S){let _=this.stack.pop();_.position.end=We(S.end)}function oe(S){v.call(this,S);let _=this.stack[this.stack.length-1];_.url=this.sliceSerialize(S)}function Ot(S){v.call(this,S);let _=this.stack[this.stack.length-1];_.url="mailto:"+this.sliceSerialize(S)}function Me(){return{type:"blockquote",children:[]}}function rt(){return{type:"code",lang:null,meta:null,value:""}}function bt(){return{type:"inlineCode",value:""}}function Jr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function hs(){return{type:"emphasis",children:[]}}function Qi(){return{type:"heading",depth:0,children:[]}}function Zi(){return{type:"break"}}function Xi(){return{type:"html",value:""}}function ms(){return{type:"image",title:null,url:"",alt:null}}function Ji(){return{type:"link",title:null,url:"",children:[]}}function eo(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function ds(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function gs(){return{type:"paragraph",children:[]}}function ws(){return{type:"strong",children:[]}}function bs(){return{type:"text",value:""}}function xs(){return{type:"thematicBreak"}}}function We(e){return{line:e.line,column:e.column,offset:e.offset}}function Pa(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?Pa(e,n):Yp(e,n)}}function Yp(e,t){let r;for(r in t)if(za.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n);break}}}function Oa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+je({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+je({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+je({start:t.start,end:t.end})+") is still open")}function Or(e){let t=this;t.parser=r;function r(n){return yi(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}De();function Ha(e,t){try{let r=fn().use(Or).use(gr,["yaml"]).use(Rr,{singleTilde:!1}).use(Dr),n=r.parse(e);return r.runSync(n)}catch(r){let n=r instanceof Error?r.message:String(r);throw t&&t({severity:"error",message:`Failed to parse Markdown: ${n}`,context:"markdown parsing",originalError:r}),r}}It();De();function tl(e,t){let r=new Map;try{for(let n of e.children){if(n.type!=="definition")continue;let i=n,a=i.identifier.toLowerCase();r.has(a)&&t&&t({severity:"warning",message:`Duplicate link/image definition found: [${i.identifier}]`,context:"definition collection",details:{identifier:i.identifier,url:i.url}}),r.set(a,i)}}catch(n){let i=n instanceof Error?n.message:String(n);t&&t({severity:"error",message:`Error collecting definitions: ${i}`,context:"definition collection",originalError:n})}return r}function rl(e,t){let r=new Map;try{for(let n of e.children){if(n.type!=="footnoteDefinition")continue;let i=n,a=i.identifier.toLowerCase();r.has(a)&&t&&t({severity:"warning",message:`Duplicate footnote definition found: [^${i.identifier}]`,context:"footnote collection",details:{identifier:i.identifier}}),r.set(a,i)}}catch(n){let i=n instanceof Error?n.message:String(n);t&&t({severity:"error",message:`Error collecting footnotes: ${i}`,context:"footnote collection",originalError:n})}return r}function nl(e,t,r){try{for(let n=0;n<e.children.length;n++){let i=e.children[n];if(i.type==="yaml"||i.type==="definition")continue;if(i.type!=="heading")return null;let a=i;if(a.depth!==1)return null;let o=ht(a.children,t).trim();return o?{title:o,index:n}:null}}catch(n){let i=n instanceof Error?n.message:String(n);r&&r({severity:"warning",message:`Error extracting leading H1 title: ${i}`,context:"title extraction",originalError:n})}return null}function xl(e){return typeof e>"u"||e===null}function rf(e){return typeof e=="object"&&e!==null}function nf(e){return Array.isArray(e)?e:xl(e)?[]:[e]}function of(e,t){var r,n,i,a;if(t)for(a=Object.keys(t),r=0,n=a.length;r<n;r+=1)i=a[r],e[i]=t[i];return e}function af(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function lf(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var sf=xl,uf=rf,cf=nf,pf=af,ff=lf,hf=of,re={isNothing:sf,isObject:uf,toArray:cf,repeat:pf,isNegativeZero:ff,extend:hf};function kl(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
26
+ `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,n.push(o)}return n.join("")}function mi(e){let n={constructs:kr([hi,...(e||{}).extensions||[]]),content:i(ya),defined:[],document:i(Sa),flow:i(Ta),lazy:{},string:i(Aa),text:i(Ca)};return n;function i(a){return o;function o(l){return La(n,a,l)}}}function di(e){for(;!Ar(e););return e}var Ia=/[\0\t\n\r]/g;function gi(){let e=1,t="",r=!0,n;return i;function i(a,o,l){let s=[],u,p,c,h,f;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),c=0,t="",r&&(a.charCodeAt(0)===65279&&c++,r=void 0);c<a.length;){if(Ia.lastIndex=c,u=Ia.exec(a),h=u&&u.index!==void 0?u.index:a.length,f=a.charCodeAt(h),!u){t=a.slice(c);break}if(f===10&&c===h&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),c<h&&(s.push(a.slice(c,h)),e+=h-c),f){case 0:{s.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,s.push(-2);e++<p;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:n=!0,e=1}c=h+1}return l&&(n&&s.push(-5),t&&s.push(t),s.push(null)),s}}var Fa={}.hasOwnProperty;function wi(e,t,r){return typeof t!="string"&&(r=t,t=void 0),zp(r)(di(mi(r).document().write(gi()(e,t,!0))))}function zp(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Yi),autolinkProtocol:O,autolinkEmail:O,atxHeading:a(Gi),blockQuote:a(Me),characterEscape:O,characterReference:O,codeFenced:a(tt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(tt,o),codeText:a(bt,o),codeTextData:O,data:O,codeFlowValue:O,definition:a(Qr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(os),hardBreakEscape:a($i),hardBreakTrailing:a($i),htmlFlow:a(Vi,o),htmlFlowData:O,htmlText:a(Vi,o),htmlTextData:O,image:a(as),label:o,link:a(Yi),listItem:a(ls),listItemValue:h,listOrdered:a(Wi,c),listUnordered:a(Wi),paragraph:a(ss),reference:g,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Gi),strong:a(us),thematicBreak:a(ps)},exit:{atxHeading:s(),atxHeadingSequence:D,autolink:s(),autolinkEmail:Rt,autolinkProtocol:oe,blockQuote:s(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:et,characterReferenceMarkerNumeric:et,characterReferenceValue:Kr,characterReference:lr,codeFenced:s(k),codeFencedFence:y,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:v,codeIndented:s(w),codeText:s(H),codeTextData:v,data:v,definition:s(),definitionDestinationString:R,definitionLabelString:b,definitionTitleString:E,emphasis:s(),hardBreakEscape:s($),hardBreakTrailing:s($),htmlFlow:s(M),htmlFlowData:v,htmlText:s(P),htmlTextData:v,image:s(J),label:Ce,labelText:ye,lineEnding:ne,link:s(W),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:we,resourceDestinationString:d,resourceTitleString:ke,resource:Fe,setextHeading:s(G),setextHeadingLineSequence:L,setextHeadingText:T,strong:s(),thematicBreak:s()}};Ma(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(S){let _={type:"root",children:[]},z={stack:[_],tokenStack:[],config:t,enter:l,exit:u,buffer:o,resume:p,data:r},j=[],V=-1;for(;++V<S.length;)if(S[V][1].type==="listOrdered"||S[V][1].type==="listUnordered")if(S[V][0]==="enter")j.push(V);else{let ve=j.pop();V=i(S,ve,V)}for(V=-1;++V<S.length;){let ve=t[S[V][0]];Fa.call(ve,S[V][1].type)&&ve[S[V][1].type].call(Object.assign({sliceSerialize:S[V][2].sliceSerialize},z),S[V][1])}if(z.tokenStack.length>0){let ve=z.tokenStack[z.tokenStack.length-1];(ve[1]||Ba).call(z,void 0,ve[0])}for(_.position={start:Ye(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:Ye(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},V=-1;++V<t.transforms.length;)_=t.transforms[V](_)||_;return _}function i(S,_,z){let j=_-1,V=-1,ve=!1,rt,Ne,Dt,Ot;for(;++j<=z;){let be=S[j];switch(be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{be[0]==="enter"?V++:V--,Ot=void 0;break}case"lineEndingBlank":{be[0]==="enter"&&(rt&&!Ot&&!V&&!Dt&&(Dt=j),Ot=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ot=void 0}if(!V&&be[0]==="enter"&&be[1].type==="listItemPrefix"||V===-1&&be[0]==="exit"&&(be[1].type==="listUnordered"||be[1].type==="listOrdered")){if(rt){let xt=j;for(Ne=void 0;xt--;){let Re=S[xt];if(Re[1].type==="lineEnding"||Re[1].type==="lineEndingBlank"){if(Re[0]==="exit")continue;Ne&&(S[Ne][1].type="lineEndingBlank",ve=!0),Re[1].type="lineEnding",Ne=xt}else if(!(Re[1].type==="linePrefix"||Re[1].type==="blockQuotePrefix"||Re[1].type==="blockQuotePrefixWhitespace"||Re[1].type==="blockQuoteMarker"||Re[1].type==="listItemIndent"))break}Dt&&(!Ne||Dt<Ne)&&(rt._spread=!0),rt.end=Object.assign({},Ne?S[Ne][1].start:be[1].end),S.splice(Ne||j,0,["exit",rt,be[2]]),j++,z++}if(be[1].type==="listItemPrefix"){let xt={type:"listItem",_spread:!1,start:Object.assign({},be[1].start),end:void 0};rt=xt,S.splice(j,0,["enter",xt,be[2]]),j++,z++,Dt=void 0,Ot=!0}}}return S[_][1]._spread=ve,z}function a(S,_){return z;function z(j){l.call(this,S(j),j),_&&_.call(this,j)}}function o(){this.stack.push({type:"fragment",children:[]})}function l(S,_,z){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([_,z||void 0]),S.position={start:Ye(_.start),end:void 0}}function s(S){return _;function _(z){S&&S.call(this,z),u.call(this,z)}}function u(S,_){let z=this.stack.pop(),j=this.tokenStack.pop();if(j)j[0].type!==S.type&&(_?_.call(this,S,j[0]):(j[1]||Ba).call(this,S,j[0]));else throw new Error("Cannot close `"+S.type+"` ("+Ue({start:S.start,end:S.end})+"): it\u2019s not open");z.position.end=Ye(S.end)}function p(){return lt(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(S){if(this.data.expectingFirstListItemValue){let _=this.stack[this.stack.length-2];_.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function f(){let S=this.resume(),_=this.stack[this.stack.length-1];_.lang=S}function m(){let S=this.resume(),_=this.stack[this.stack.length-1];_.meta=S}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S.replace(/(\r?\n|\r)$/g,"")}function b(S){let _=this.resume(),z=this.stack[this.stack.length-1];z.label=_,z.identifier=le(this.sliceSerialize(S)).toLowerCase()}function E(){let S=this.resume(),_=this.stack[this.stack.length-1];_.title=S}function R(){let S=this.resume(),_=this.stack[this.stack.length-1];_.url=S}function D(S){let _=this.stack[this.stack.length-1];if(!_.depth){let z=this.sliceSerialize(S).length;_.depth=z}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function L(S){let _=this.stack[this.stack.length-1];_.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function G(){this.data.setextHeadingSlurpLineEnding=void 0}function O(S){let z=this.stack[this.stack.length-1].children,j=z[z.length-1];(!j||j.type!=="text")&&(j=cs(),j.position={start:Ye(S.start),end:void 0},z.push(j)),this.stack.push(j)}function v(S){let _=this.stack.pop();_.value+=this.sliceSerialize(S),_.position.end=Ye(S.end)}function ne(S){let _=this.stack[this.stack.length-1];if(this.data.atHardBreak){let z=_.children[_.children.length-1];z.position.end=Ye(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(_.type)&&(O.call(this,S),v.call(this,S))}function $(){this.data.atHardBreak=!0}function M(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function P(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function H(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function W(){let S=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=_,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function J(){let S=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=_,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function ye(S){let _=this.sliceSerialize(S),z=this.stack[this.stack.length-2];z.label=ea(_),z.identifier=le(_).toLowerCase()}function Ce(){let S=this.stack[this.stack.length-1],_=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){let j=S.children;z.children=j}else z.alt=_}function d(){let S=this.resume(),_=this.stack[this.stack.length-1];_.url=S}function ke(){let S=this.resume(),_=this.stack[this.stack.length-1];_.title=S}function Fe(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function we(S){let _=this.resume(),z=this.stack[this.stack.length-1];z.label=_,z.identifier=le(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function et(S){this.data.characterReferenceType=S.type}function Kr(S){let _=this.sliceSerialize(S),z=this.data.characterReferenceType,j;z?(j=xr(_,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):j=At(_);let V=this.stack[this.stack.length-1];V.value+=j}function lr(S){let _=this.stack.pop();_.position.end=Ye(S.end)}function oe(S){v.call(this,S);let _=this.stack[this.stack.length-1];_.url=this.sliceSerialize(S)}function Rt(S){v.call(this,S);let _=this.stack[this.stack.length-1];_.url="mailto:"+this.sliceSerialize(S)}function Me(){return{type:"blockquote",children:[]}}function tt(){return{type:"code",lang:null,meta:null,value:""}}function bt(){return{type:"inlineCode",value:""}}function Qr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function os(){return{type:"emphasis",children:[]}}function Gi(){return{type:"heading",depth:0,children:[]}}function $i(){return{type:"break"}}function Vi(){return{type:"html",value:""}}function as(){return{type:"image",title:null,url:"",alt:null}}function Yi(){return{type:"link",title:null,url:"",children:[]}}function Wi(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function ls(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function ss(){return{type:"paragraph",children:[]}}function us(){return{type:"strong",children:[]}}function cs(){return{type:"text",value:""}}function ps(){return{type:"thematicBreak"}}}function Ye(e){return{line:e.line,column:e.column,offset:e.offset}}function Ma(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?Ma(e,n):Pp(e,n)}}function Pp(e,t){let r;for(r in t)if(Fa.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n);break}}}function Ba(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ue({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ue({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ue({start:t.start,end:t.end})+") is still open")}function Nr(e){let t=this;t.parser=r;function r(n){return wi(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Na(e,t){try{let r=sn().use(Nr).use(hr,["yaml"]).use(Fr,{singleTilde:!1}).use(Mr),n=r.parse(e);return r.runSync(n)}catch(r){let n=r instanceof Error?r.message:String(r);throw t&&t({severity:"error",message:`Failed to parse Markdown: ${n}`,context:"markdown parsing",originalError:r}),r}}var Lt=sr(Ha(),1),Rr=sr(Ga(),1);function ht(e){try{return e.replace(/[\\#*_`\[\]\$<>@]/g,t=>`\\${t}`)}catch{return e}}function We(e){try{return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n")}catch{return e}}function he(e,t){if(!t)return e;let r=" ".repeat(t);return e.split(`
27
+ `).map(n=>`${r}${n}`).join(`
28
+ `)}function Ke(e){return typeof e=="string"&&e.length>0}function $a(e){return(e??"").trim()}function ft(e,t){return e.map(r=>Wp(r,t)).join("")}function Wp(e,t){switch(e.type){case"text":return e.value;case"strong":case"emphasis":return ft(e.children,t);case"inlineCode":return e.value;case"link":return ft(e.children,t);case"linkReference":{let r=e,n=ft(r.children,t);if(n.trim())return n;let i=t.get(r.identifier.toLowerCase());return i?i.url:r.label||r.identifier}case"break":return`
29
+ `;default:return""}}function ki(e){return e.length===1?`(${e[0]},)`:`(${e.join(", ")})`}function Va(e){let t=0,r=0;for(let n=0;n<e.length;n++){if(e[n]==="`"){r++,r>t&&(t=r);continue}r=0}return t}function Ya(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.split(/[-_]/)[0].toLowerCase();if(Lt.default.codes("1").includes(r))return r;let i=Lt.default.all();for(let s of i)if(s.name&&s.name.toLowerCase()===t.toLowerCase()&&s[1]||s.local&&s.local.toLowerCase()===t.toLowerCase()&&s[1])return s[1];let a=Lt.default.where("2",t.toLowerCase());if(a&&a[1])return a[1];let o=Lt.default.where("2B",t.toLowerCase());if(o&&o[1])return o[1];let l=Lt.default.where("3",t.toLowerCase());if(l&&l[1])return l[1]}function Wa(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.toUpperCase();if((0,Rr.getCodes)().includes(r))return r;let i=(0,Rr.getCode)(t);if(i)return i.toUpperCase()}function Ka(e,t){let r=new Map;try{for(let n of e.children){if(n.type!=="definition")continue;let i=n,a=i.identifier.toLowerCase();r.has(a)&&t&&t({severity:"warning",message:`Duplicate link/image definition found: [${i.identifier}]`,context:"definition collection",details:{identifier:i.identifier,url:i.url}}),r.set(a,i)}}catch(n){let i=n instanceof Error?n.message:String(n);t&&t({severity:"error",message:`Error collecting definitions: ${i}`,context:"definition collection",originalError:n})}return r}function Qa(e,t){let r=new Map;try{for(let n of e.children){if(n.type!=="footnoteDefinition")continue;let i=n,a=i.identifier.toLowerCase();r.has(a)&&t&&t({severity:"warning",message:`Duplicate footnote definition found: [^${i.identifier}]`,context:"footnote collection",details:{identifier:i.identifier}}),r.set(a,i)}}catch(n){let i=n instanceof Error?n.message:String(n);t&&t({severity:"error",message:`Error collecting footnotes: ${i}`,context:"footnote collection",originalError:n})}return r}function Za(e,t,r){try{for(let n=0;n<e.children.length;n++){let i=e.children[n];if(i.type==="yaml"||i.type==="definition")continue;if(i.type!=="heading")return null;let a=i;if(a.depth!==1)return null;let o=ft(a.children,t).trim();return o?{title:o,index:n}:null}}catch(n){let i=n instanceof Error?n.message:String(n);r&&r({severity:"warning",message:`Error extracting leading H1 title: ${i}`,context:"title extraction",originalError:n})}return null}function hl(e){return typeof e>"u"||e===null}function Kp(e){return typeof e=="object"&&e!==null}function Qp(e){return Array.isArray(e)?e:hl(e)?[]:[e]}function Zp(e,t){var r,n,i,a;if(t)for(a=Object.keys(t),r=0,n=a.length;r<n;r+=1)i=a[r],e[i]=t[i];return e}function Xp(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function Jp(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var ef=hl,tf=Kp,rf=Qp,nf=Xp,of=Jp,af=Zp,re={isNothing:ef,isObject:tf,toArray:rf,repeat:nf,isNegativeZero:of,extend:af};function ml(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
53
30
 
54
- `+e.mark.snippet),n+" "+r):n}function rr(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=kl(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}rr.prototype=Object.create(Error.prototype);rr.prototype.constructor=rr;rr.prototype.toString=function(t){return this.name+": "+kl(this,t)};var me=rr;function Ei(e,t,r,n,i){var a="",o="",l=Math.floor(i/2)-1;return n-t>l&&(a=" ... ",t=n-l+a.length),r-n>l&&(o=" ...",r=n+l-o.length),{str:a+e.slice(t,r).replace(/\t/g,"\u2192")+o,pos:n-t+a.length}}function Ai(e,t){return re.repeat(" ",t-e.length)+e}function mf(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],a,o=-1;a=r.exec(e.buffer);)i.push(a.index),n.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var l="",s,u,p=Math.min(e.line+t.linesAfter,i.length).toString().length,c=t.maxLength-(t.indent+p+3);for(s=1;s<=t.linesBefore&&!(o-s<0);s++)u=Ei(e.buffer,n[o-s],i[o-s],e.position-(n[o]-n[o-s]),c),l=re.repeat(" ",t.indent)+Ai((e.line-s+1).toString(),p)+" | "+u.str+`
55
- `+l;for(u=Ei(e.buffer,n[o],i[o],e.position,c),l+=re.repeat(" ",t.indent)+Ai((e.line+1).toString(),p)+" | "+u.str+`
31
+ `+e.mark.snippet),n+" "+r):n}function Jt(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=ml(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Jt.prototype=Object.create(Error.prototype);Jt.prototype.constructor=Jt;Jt.prototype.toString=function(t){return this.name+": "+ml(this,t)};var me=Jt;function yi(e,t,r,n,i){var a="",o="",l=Math.floor(i/2)-1;return n-t>l&&(a=" ... ",t=n-l+a.length),r-n>l&&(o=" ...",r=n+l-o.length),{str:a+e.slice(t,r).replace(/\t/g,"\u2192")+o,pos:n-t+a.length}}function vi(e,t){return re.repeat(" ",t-e.length)+e}function lf(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],a,o=-1;a=r.exec(e.buffer);)i.push(a.index),n.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var l="",s,u,p=Math.min(e.line+t.linesAfter,i.length).toString().length,c=t.maxLength-(t.indent+p+3);for(s=1;s<=t.linesBefore&&!(o-s<0);s++)u=yi(e.buffer,n[o-s],i[o-s],e.position-(n[o]-n[o-s]),c),l=re.repeat(" ",t.indent)+vi((e.line-s+1).toString(),p)+" | "+u.str+`
32
+ `+l;for(u=yi(e.buffer,n[o],i[o],e.position,c),l+=re.repeat(" ",t.indent)+vi((e.line+1).toString(),p)+" | "+u.str+`
56
33
  `,l+=re.repeat("-",t.indent+p+3+u.pos)+`^
57
- `,s=1;s<=t.linesAfter&&!(o+s>=i.length);s++)u=Ei(e.buffer,n[o+s],i[o+s],e.position-(n[o]-n[o+s]),c),l+=re.repeat(" ",t.indent)+Ai((e.line+s+1).toString(),p)+" | "+u.str+`
58
- `;return l.replace(/\n$/,"")}var df=mf,gf=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],wf=["scalar","sequence","mapping"];function bf(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function xf(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(gf.indexOf(r)===-1)throw new me('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=bf(t.styleAliases||null),wf.indexOf(this.kind)===-1)throw new me('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ue=xf;function il(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(a,o){a.tag===n.tag&&a.kind===n.kind&&a.multi===n.multi&&(i=o)}),r[i]=n}),r}function kf(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function qi(e){return this.extend(e)}qi.prototype.extend=function(t){var r=[],n=[];if(t instanceof ue)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new me("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(a){if(!(a instanceof ue))throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new me("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new me("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(a){if(!(a instanceof ue))throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(qi.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=il(i,"implicit"),i.compiledExplicit=il(i,"explicit"),i.compiledTypeMap=kf(i.compiledImplicit,i.compiledExplicit),i};var yf=qi,vf=new ue("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),Sf=new ue("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),Tf=new ue("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),Ef=new yf({explicit:[vf,Sf,Tf]});function Af(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function Cf(){return null}function qf(e){return e===null}var _f=new ue("tag:yaml.org,2002:null",{kind:"scalar",resolve:Af,construct:Cf,predicate:qf,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Lf(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function If(e){return e==="true"||e==="True"||e==="TRUE"}function Bf(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Ff=new ue("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Lf,construct:If,predicate:Bf,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function Mf(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Nf(e){return 48<=e&&e<=55}function Rf(e){return 48<=e&&e<=57}function Df(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!Mf(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!Nf(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!Rf(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function Of(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function zf(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!re.isNegativeZero(e)}var Pf=new ue("tag:yaml.org,2002:int",{kind:"scalar",resolve:Df,construct:Of,predicate:zf,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Hf=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Uf(e){return!(e===null||!Hf.test(e)||e[e.length-1]==="_")}function jf(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var Gf=/^[-+]?[0-9]+e/;function $f(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(re.isNegativeZero(e))return"-0.0";return r=e.toString(10),Gf.test(r)?r.replace("e",".e"):r}function Vf(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||re.isNegativeZero(e))}var Yf=new ue("tag:yaml.org,2002:float",{kind:"scalar",resolve:Uf,construct:jf,predicate:Vf,represent:$f,defaultStyle:"lowercase"}),Wf=Ef.extend({implicit:[_f,Ff,Pf,Yf]}),Kf=Wf,yl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),vl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Qf(e){return e===null?!1:yl.exec(e)!==null||vl.exec(e)!==null}function Zf(e){var t,r,n,i,a,o,l,s=0,u=null,p,c,h;if(t=yl.exec(e),t===null&&(t=vl.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(a=+t[4],o=+t[5],l=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(p=+t[10],c=+(t[11]||0),u=(p*60+c)*6e4,t[9]==="-"&&(u=-u)),h=new Date(Date.UTC(r,n,i,a,o,l,s)),u&&h.setTime(h.getTime()-u),h}function Xf(e){return e.toISOString()}var Jf=new ue("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Qf,construct:Zf,instanceOf:Date,represent:Xf});function eh(e){return e==="<<"||e===null}var th=new ue("tag:yaml.org,2002:merge",{kind:"scalar",resolve:eh}),Fi=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
59
- \r`;function rh(e){if(e===null)return!1;var t,r,n=0,i=e.length,a=Fi;for(r=0;r<i;r++)if(t=a.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function nh(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,a=Fi,o=0,l=[];for(t=0;t<i;t++)t%4===0&&t&&(l.push(o>>16&255),l.push(o>>8&255),l.push(o&255)),o=o<<6|a.indexOf(n.charAt(t));return r=i%4*6,r===0?(l.push(o>>16&255),l.push(o>>8&255),l.push(o&255)):r===18?(l.push(o>>10&255),l.push(o>>2&255)):r===12&&l.push(o>>4&255),new Uint8Array(l)}function ih(e){var t="",r=0,n,i,a=e.length,o=Fi;for(n=0;n<a;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=a%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function oh(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var ah=new ue("tag:yaml.org,2002:binary",{kind:"scalar",resolve:rh,construct:nh,predicate:oh,represent:ih}),lh=Object.prototype.hasOwnProperty,sh=Object.prototype.toString;function uh(e){if(e===null)return!0;var t=[],r,n,i,a,o,l=e;for(r=0,n=l.length;r<n;r+=1){if(i=l[r],o=!1,sh.call(i)!=="[object Object]")return!1;for(a in i)if(lh.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}function ch(e){return e!==null?e:[]}var ph=new ue("tag:yaml.org,2002:omap",{kind:"sequence",resolve:uh,construct:ch}),fh=Object.prototype.toString;function hh(e){if(e===null)return!0;var t,r,n,i,a,o=e;for(a=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],fh.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;a[t]=[i[0],n[i[0]]]}return!0}function mh(e){if(e===null)return[];var t,r,n,i,a,o=e;for(a=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),a[t]=[i[0],n[i[0]]];return a}var dh=new ue("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:hh,construct:mh}),gh=Object.prototype.hasOwnProperty;function wh(e){if(e===null)return!0;var t,r=e;for(t in r)if(gh.call(r,t)&&r[t]!==null)return!1;return!0}function bh(e){return e!==null?e:{}}var xh=new ue("tag:yaml.org,2002:set",{kind:"mapping",resolve:wh,construct:bh}),Sl=Kf.extend({implicit:[Jf,th],explicit:[ah,ph,dh,xh]}),Xe=Object.prototype.hasOwnProperty,Pr=1,Tl=2,El=3,Hr=4,Ci=1,kh=2,ol=3,yh=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,vh=/[\x85\u2028\u2029]/,Sh=/[,\[\]\{\}]/,Al=/^(?:!|!!|![a-z\-]+!)$/i,Cl=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function al(e){return Object.prototype.toString.call(e)}function Be(e){return e===10||e===13}function gt(e){return e===9||e===32}function de(e){return e===9||e===32||e===10||e===13}function Ft(e){return e===44||e===91||e===93||e===123||e===125}function Th(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function Eh(e){return e===120?2:e===117?4:e===85?8:0}function Ah(e){return 48<=e&&e<=57?e-48:-1}function ll(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
60
- `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function Ch(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function ql(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}var _l=new Array(256),Ll=new Array(256);for(dt=0;dt<256;dt++)_l[dt]=ll(dt)?1:0,Ll[dt]=ll(dt);var dt;function qh(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Sl,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Il(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=df(r),new me(t,r)}function F(e,t){throw Il(e,t)}function Ur(e,t){e.onWarning&&e.onWarning.call(null,Il(e,t))}var sl={YAML:function(t,r,n){var i,a,o;t.version!==null&&F(t,"duplication of %YAML directive"),n.length!==1&&F(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&F(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),o=parseInt(i[2],10),a!==1&&F(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Ur(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,a;n.length!==2&&F(t,"TAG directive accepts exactly two arguments"),i=n[0],a=n[1],Al.test(i)||F(t,"ill-formed tag handle (first argument) of the TAG directive"),Xe.call(t.tagMap,i)&&F(t,'there is a previously declared suffix for "'+i+'" tag handle'),Cl.test(a)||F(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{F(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function Ze(e,t,r,n){var i,a,o,l;if(t<r){if(l=e.input.slice(t,r),n)for(i=0,a=l.length;i<a;i+=1)o=l.charCodeAt(i),o===9||32<=o&&o<=1114111||F(e,"expected valid JSON character");else yh.test(l)&&F(e,"the stream contains non-printable characters");e.result+=l}}function ul(e,t,r,n){var i,a,o,l;for(re.isObject(r)||F(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,l=i.length;o<l;o+=1)a=i[o],Xe.call(t,a)||(ql(t,a,r[a]),n[a]=!0)}function Mt(e,t,r,n,i,a,o,l,s){var u,p;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),u=0,p=i.length;u<p;u+=1)Array.isArray(i[u])&&F(e,"nested arrays are not supported inside keys"),typeof i=="object"&&al(i[u])==="[object Object]"&&(i[u]="[object Object]");if(typeof i=="object"&&al(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(a))for(u=0,p=a.length;u<p;u+=1)ul(e,t,a[u],r);else ul(e,t,a,r);else!e.json&&!Xe.call(r,i)&&Xe.call(t,i)&&(e.line=o||e.line,e.lineStart=l||e.lineStart,e.position=s||e.position,F(e,"duplicated mapping key")),ql(t,i,a),delete r[i];return t}function Mi(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):F(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function X(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;gt(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(Be(i))for(Mi(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&Ur(e,"deficient indentation"),n}function $r(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||de(r)))}function Ni(e,t){t===1?e.result+=" ":t>1&&(e.result+=re.repeat(`
61
- `,t-1))}function _h(e,t,r){var n,i,a,o,l,s,u,p,c=e.kind,h=e.result,f;if(f=e.input.charCodeAt(e.position),de(f)||Ft(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(i=e.input.charCodeAt(e.position+1),de(i)||r&&Ft(i)))return!1;for(e.kind="scalar",e.result="",a=o=e.position,l=!1;f!==0;){if(f===58){if(i=e.input.charCodeAt(e.position+1),de(i)||r&&Ft(i))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),de(n))break}else{if(e.position===e.lineStart&&$r(e)||r&&Ft(f))break;if(Be(f))if(s=e.line,u=e.lineStart,p=e.lineIndent,X(e,!1,-1),e.lineIndent>=t){l=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=s,e.lineStart=u,e.lineIndent=p;break}}l&&(Ze(e,a,o,!1),Ni(e,e.line-s),a=o=e.position,l=!1),gt(f)||(o=e.position+1),f=e.input.charCodeAt(++e.position)}return Ze(e,a,o,!1),e.result?!0:(e.kind=c,e.result=h,!1)}function Lh(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Ze(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else Be(r)?(Ze(e,n,i,!0),Ni(e,X(e,!1,t)),n=i=e.position):e.position===e.lineStart&&$r(e)?F(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);F(e,"unexpected end of the stream within a single quoted scalar")}function Ih(e,t){var r,n,i,a,o,l;if(l=e.input.charCodeAt(e.position),l!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(l=e.input.charCodeAt(e.position))!==0;){if(l===34)return Ze(e,r,e.position,!0),e.position++,!0;if(l===92){if(Ze(e,r,e.position,!0),l=e.input.charCodeAt(++e.position),Be(l))X(e,!1,t);else if(l<256&&_l[l])e.result+=Ll[l],e.position++;else if((o=Eh(l))>0){for(i=o,a=0;i>0;i--)l=e.input.charCodeAt(++e.position),(o=Th(l))>=0?a=(a<<4)+o:F(e,"expected hexadecimal character");e.result+=Ch(a),e.position++}else F(e,"unknown escape sequence");r=n=e.position}else Be(l)?(Ze(e,r,n,!0),Ni(e,X(e,!1,t)),r=n=e.position):e.position===e.lineStart&&$r(e)?F(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}F(e,"unexpected end of the stream within a double quoted scalar")}function Bh(e,t){var r=!0,n,i,a,o=e.tag,l,s=e.anchor,u,p,c,h,f,m=Object.create(null),y,k,w,b;if(b=e.input.charCodeAt(e.position),b===91)p=93,f=!1,l=[];else if(b===123)p=125,f=!0,l={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),b=e.input.charCodeAt(++e.position);b!==0;){if(X(e,!0,t),b=e.input.charCodeAt(e.position),b===p)return e.position++,e.tag=o,e.anchor=s,e.kind=f?"mapping":"sequence",e.result=l,!0;r?b===44&&F(e,"expected the node content, but found ','"):F(e,"missed comma between flow collection entries"),k=y=w=null,c=h=!1,b===63&&(u=e.input.charCodeAt(e.position+1),de(u)&&(c=h=!0,e.position++,X(e,!0,t))),n=e.line,i=e.lineStart,a=e.position,Nt(e,t,Pr,!1,!0),k=e.tag,y=e.result,X(e,!0,t),b=e.input.charCodeAt(e.position),(h||e.line===n)&&b===58&&(c=!0,b=e.input.charCodeAt(++e.position),X(e,!0,t),Nt(e,t,Pr,!1,!0),w=e.result),f?Mt(e,l,m,k,y,w,n,i,a):c?l.push(Mt(e,null,m,k,y,w,n,i,a)):l.push(y),X(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}F(e,"unexpected end of the stream within a flow collection")}function Fh(e,t){var r,n,i=Ci,a=!1,o=!1,l=t,s=0,u=!1,p,c;if(c=e.input.charCodeAt(e.position),c===124)n=!1;else if(c===62)n=!0;else return!1;for(e.kind="scalar",e.result="";c!==0;)if(c=e.input.charCodeAt(++e.position),c===43||c===45)Ci===i?i=c===43?ol:kh:F(e,"repeat of a chomping mode identifier");else if((p=Ah(c))>=0)p===0?F(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?F(e,"repeat of an indentation width identifier"):(l=t+p-1,o=!0);else break;if(gt(c)){do c=e.input.charCodeAt(++e.position);while(gt(c));if(c===35)do c=e.input.charCodeAt(++e.position);while(!Be(c)&&c!==0)}for(;c!==0;){for(Mi(e),e.lineIndent=0,c=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&c===32;)e.lineIndent++,c=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),Be(c)){s++;continue}if(e.lineIndent<l){i===ol?e.result+=re.repeat(`
62
- `,a?1+s:s):i===Ci&&a&&(e.result+=`
63
- `);break}for(n?gt(c)?(u=!0,e.result+=re.repeat(`
34
+ `,s=1;s<=t.linesAfter&&!(o+s>=i.length);s++)u=yi(e.buffer,n[o+s],i[o+s],e.position-(n[o]-n[o+s]),c),l+=re.repeat(" ",t.indent)+vi((e.line+s+1).toString(),p)+" | "+u.str+`
35
+ `;return l.replace(/\n$/,"")}var sf=lf,uf=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],cf=["scalar","sequence","mapping"];function pf(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function ff(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(uf.indexOf(r)===-1)throw new me('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=pf(t.styleAliases||null),cf.indexOf(this.kind)===-1)throw new me('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ue=ff;function Xa(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(a,o){a.tag===n.tag&&a.kind===n.kind&&a.multi===n.multi&&(i=o)}),r[i]=n}),r}function hf(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Ti(e){return this.extend(e)}Ti.prototype.extend=function(t){var r=[],n=[];if(t instanceof ue)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new me("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(a){if(!(a instanceof ue))throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new me("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new me("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(a){if(!(a instanceof ue))throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(Ti.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=Xa(i,"implicit"),i.compiledExplicit=Xa(i,"explicit"),i.compiledTypeMap=hf(i.compiledImplicit,i.compiledExplicit),i};var mf=Ti,df=new ue("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),gf=new ue("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),wf=new ue("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),bf=new mf({explicit:[df,gf,wf]});function xf(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function kf(){return null}function yf(e){return e===null}var vf=new ue("tag:yaml.org,2002:null",{kind:"scalar",resolve:xf,construct:kf,predicate:yf,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Sf(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function Tf(e){return e==="true"||e==="True"||e==="TRUE"}function Ef(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Af=new ue("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Sf,construct:Tf,predicate:Ef,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function Cf(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function qf(e){return 48<=e&&e<=55}function _f(e){return 48<=e&&e<=57}function Lf(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!Cf(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!qf(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!_f(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function If(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function Bf(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!re.isNegativeZero(e)}var Ff=new ue("tag:yaml.org,2002:int",{kind:"scalar",resolve:Lf,construct:If,predicate:Bf,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Mf=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Nf(e){return!(e===null||!Mf.test(e)||e[e.length-1]==="_")}function Rf(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var Df=/^[-+]?[0-9]+e/;function Of(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(re.isNegativeZero(e))return"-0.0";return r=e.toString(10),Df.test(r)?r.replace("e",".e"):r}function zf(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||re.isNegativeZero(e))}var Pf=new ue("tag:yaml.org,2002:float",{kind:"scalar",resolve:Nf,construct:Rf,predicate:zf,represent:Of,defaultStyle:"lowercase"}),Hf=bf.extend({implicit:[vf,Af,Ff,Pf]}),Uf=Hf,dl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),gl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function jf(e){return e===null?!1:dl.exec(e)!==null||gl.exec(e)!==null}function Gf(e){var t,r,n,i,a,o,l,s=0,u=null,p,c,h;if(t=dl.exec(e),t===null&&(t=gl.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(a=+t[4],o=+t[5],l=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(p=+t[10],c=+(t[11]||0),u=(p*60+c)*6e4,t[9]==="-"&&(u=-u)),h=new Date(Date.UTC(r,n,i,a,o,l,s)),u&&h.setTime(h.getTime()-u),h}function $f(e){return e.toISOString()}var Vf=new ue("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:jf,construct:Gf,instanceOf:Date,represent:$f});function Yf(e){return e==="<<"||e===null}var Wf=new ue("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Yf}),_i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
36
+ \r`;function Kf(e){if(e===null)return!1;var t,r,n=0,i=e.length,a=_i;for(r=0;r<i;r++)if(t=a.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function Qf(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,a=_i,o=0,l=[];for(t=0;t<i;t++)t%4===0&&t&&(l.push(o>>16&255),l.push(o>>8&255),l.push(o&255)),o=o<<6|a.indexOf(n.charAt(t));return r=i%4*6,r===0?(l.push(o>>16&255),l.push(o>>8&255),l.push(o&255)):r===18?(l.push(o>>10&255),l.push(o>>2&255)):r===12&&l.push(o>>4&255),new Uint8Array(l)}function Zf(e){var t="",r=0,n,i,a=e.length,o=_i;for(n=0;n<a;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=a%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function Xf(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Jf=new ue("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Kf,construct:Qf,predicate:Xf,represent:Zf}),eh=Object.prototype.hasOwnProperty,th=Object.prototype.toString;function rh(e){if(e===null)return!0;var t=[],r,n,i,a,o,l=e;for(r=0,n=l.length;r<n;r+=1){if(i=l[r],o=!1,th.call(i)!=="[object Object]")return!1;for(a in i)if(eh.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}function nh(e){return e!==null?e:[]}var ih=new ue("tag:yaml.org,2002:omap",{kind:"sequence",resolve:rh,construct:nh}),oh=Object.prototype.toString;function ah(e){if(e===null)return!0;var t,r,n,i,a,o=e;for(a=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],oh.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;a[t]=[i[0],n[i[0]]]}return!0}function lh(e){if(e===null)return[];var t,r,n,i,a,o=e;for(a=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),a[t]=[i[0],n[i[0]]];return a}var sh=new ue("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:ah,construct:lh}),uh=Object.prototype.hasOwnProperty;function ch(e){if(e===null)return!0;var t,r=e;for(t in r)if(uh.call(r,t)&&r[t]!==null)return!1;return!0}function ph(e){return e!==null?e:{}}var fh=new ue("tag:yaml.org,2002:set",{kind:"mapping",resolve:ch,construct:ph}),wl=Uf.extend({implicit:[Vf,Wf],explicit:[Jf,ih,sh,fh]}),Ze=Object.prototype.hasOwnProperty,Dr=1,bl=2,xl=3,Or=4,Si=1,hh=2,Ja=3,mh=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,dh=/[\x85\u2028\u2029]/,gh=/[,\[\]\{\}]/,kl=/^(?:!|!!|![a-z\-]+!)$/i,yl=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function el(e){return Object.prototype.toString.call(e)}function Be(e){return e===10||e===13}function dt(e){return e===9||e===32}function de(e){return e===9||e===32||e===10||e===13}function Bt(e){return e===44||e===91||e===93||e===123||e===125}function wh(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function bh(e){return e===120?2:e===117?4:e===85?8:0}function xh(e){return 48<=e&&e<=57?e-48:-1}function tl(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
37
+ `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function kh(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function vl(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}var Sl=new Array(256),Tl=new Array(256);for(mt=0;mt<256;mt++)Sl[mt]=tl(mt)?1:0,Tl[mt]=tl(mt);var mt;function yh(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||wl,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function El(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=sf(r),new me(t,r)}function F(e,t){throw El(e,t)}function zr(e,t){e.onWarning&&e.onWarning.call(null,El(e,t))}var rl={YAML:function(t,r,n){var i,a,o;t.version!==null&&F(t,"duplication of %YAML directive"),n.length!==1&&F(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&F(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),o=parseInt(i[2],10),a!==1&&F(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&zr(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,a;n.length!==2&&F(t,"TAG directive accepts exactly two arguments"),i=n[0],a=n[1],kl.test(i)||F(t,"ill-formed tag handle (first argument) of the TAG directive"),Ze.call(t.tagMap,i)&&F(t,'there is a previously declared suffix for "'+i+'" tag handle'),yl.test(a)||F(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{F(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function Qe(e,t,r,n){var i,a,o,l;if(t<r){if(l=e.input.slice(t,r),n)for(i=0,a=l.length;i<a;i+=1)o=l.charCodeAt(i),o===9||32<=o&&o<=1114111||F(e,"expected valid JSON character");else mh.test(l)&&F(e,"the stream contains non-printable characters");e.result+=l}}function nl(e,t,r,n){var i,a,o,l;for(re.isObject(r)||F(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,l=i.length;o<l;o+=1)a=i[o],Ze.call(t,a)||(vl(t,a,r[a]),n[a]=!0)}function Ft(e,t,r,n,i,a,o,l,s){var u,p;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),u=0,p=i.length;u<p;u+=1)Array.isArray(i[u])&&F(e,"nested arrays are not supported inside keys"),typeof i=="object"&&el(i[u])==="[object Object]"&&(i[u]="[object Object]");if(typeof i=="object"&&el(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(a))for(u=0,p=a.length;u<p;u+=1)nl(e,t,a[u],r);else nl(e,t,a,r);else!e.json&&!Ze.call(r,i)&&Ze.call(t,i)&&(e.line=o||e.line,e.lineStart=l||e.lineStart,e.position=s||e.position,F(e,"duplicated mapping key")),vl(t,i,a),delete r[i];return t}function Li(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):F(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function X(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;dt(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(Be(i))for(Li(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&zr(e,"deficient indentation"),n}function Ur(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||de(r)))}function Ii(e,t){t===1?e.result+=" ":t>1&&(e.result+=re.repeat(`
38
+ `,t-1))}function vh(e,t,r){var n,i,a,o,l,s,u,p,c=e.kind,h=e.result,f;if(f=e.input.charCodeAt(e.position),de(f)||Bt(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(i=e.input.charCodeAt(e.position+1),de(i)||r&&Bt(i)))return!1;for(e.kind="scalar",e.result="",a=o=e.position,l=!1;f!==0;){if(f===58){if(i=e.input.charCodeAt(e.position+1),de(i)||r&&Bt(i))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),de(n))break}else{if(e.position===e.lineStart&&Ur(e)||r&&Bt(f))break;if(Be(f))if(s=e.line,u=e.lineStart,p=e.lineIndent,X(e,!1,-1),e.lineIndent>=t){l=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=s,e.lineStart=u,e.lineIndent=p;break}}l&&(Qe(e,a,o,!1),Ii(e,e.line-s),a=o=e.position,l=!1),dt(f)||(o=e.position+1),f=e.input.charCodeAt(++e.position)}return Qe(e,a,o,!1),e.result?!0:(e.kind=c,e.result=h,!1)}function Sh(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Qe(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else Be(r)?(Qe(e,n,i,!0),Ii(e,X(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Ur(e)?F(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);F(e,"unexpected end of the stream within a single quoted scalar")}function Th(e,t){var r,n,i,a,o,l;if(l=e.input.charCodeAt(e.position),l!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(l=e.input.charCodeAt(e.position))!==0;){if(l===34)return Qe(e,r,e.position,!0),e.position++,!0;if(l===92){if(Qe(e,r,e.position,!0),l=e.input.charCodeAt(++e.position),Be(l))X(e,!1,t);else if(l<256&&Sl[l])e.result+=Tl[l],e.position++;else if((o=bh(l))>0){for(i=o,a=0;i>0;i--)l=e.input.charCodeAt(++e.position),(o=wh(l))>=0?a=(a<<4)+o:F(e,"expected hexadecimal character");e.result+=kh(a),e.position++}else F(e,"unknown escape sequence");r=n=e.position}else Be(l)?(Qe(e,r,n,!0),Ii(e,X(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Ur(e)?F(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}F(e,"unexpected end of the stream within a double quoted scalar")}function Eh(e,t){var r=!0,n,i,a,o=e.tag,l,s=e.anchor,u,p,c,h,f,m=Object.create(null),y,k,w,b;if(b=e.input.charCodeAt(e.position),b===91)p=93,f=!1,l=[];else if(b===123)p=125,f=!0,l={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),b=e.input.charCodeAt(++e.position);b!==0;){if(X(e,!0,t),b=e.input.charCodeAt(e.position),b===p)return e.position++,e.tag=o,e.anchor=s,e.kind=f?"mapping":"sequence",e.result=l,!0;r?b===44&&F(e,"expected the node content, but found ','"):F(e,"missed comma between flow collection entries"),k=y=w=null,c=h=!1,b===63&&(u=e.input.charCodeAt(e.position+1),de(u)&&(c=h=!0,e.position++,X(e,!0,t))),n=e.line,i=e.lineStart,a=e.position,Mt(e,t,Dr,!1,!0),k=e.tag,y=e.result,X(e,!0,t),b=e.input.charCodeAt(e.position),(h||e.line===n)&&b===58&&(c=!0,b=e.input.charCodeAt(++e.position),X(e,!0,t),Mt(e,t,Dr,!1,!0),w=e.result),f?Ft(e,l,m,k,y,w,n,i,a):c?l.push(Ft(e,null,m,k,y,w,n,i,a)):l.push(y),X(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}F(e,"unexpected end of the stream within a flow collection")}function Ah(e,t){var r,n,i=Si,a=!1,o=!1,l=t,s=0,u=!1,p,c;if(c=e.input.charCodeAt(e.position),c===124)n=!1;else if(c===62)n=!0;else return!1;for(e.kind="scalar",e.result="";c!==0;)if(c=e.input.charCodeAt(++e.position),c===43||c===45)Si===i?i=c===43?Ja:hh:F(e,"repeat of a chomping mode identifier");else if((p=xh(c))>=0)p===0?F(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?F(e,"repeat of an indentation width identifier"):(l=t+p-1,o=!0);else break;if(dt(c)){do c=e.input.charCodeAt(++e.position);while(dt(c));if(c===35)do c=e.input.charCodeAt(++e.position);while(!Be(c)&&c!==0)}for(;c!==0;){for(Li(e),e.lineIndent=0,c=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&c===32;)e.lineIndent++,c=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),Be(c)){s++;continue}if(e.lineIndent<l){i===Ja?e.result+=re.repeat(`
39
+ `,a?1+s:s):i===Si&&a&&(e.result+=`
40
+ `);break}for(n?dt(c)?(u=!0,e.result+=re.repeat(`
64
41
  `,a?1+s:s)):u?(u=!1,e.result+=re.repeat(`
65
42
  `,s+1)):s===0?a&&(e.result+=" "):e.result+=re.repeat(`
66
43
  `,s):e.result+=re.repeat(`
67
- `,a?1+s:s),a=!0,o=!0,s=0,r=e.position;!Be(c)&&c!==0;)c=e.input.charCodeAt(++e.position);Ze(e,r,e.position,!1)}return!0}function cl(e,t){var r,n=e.tag,i=e.anchor,a=[],o,l=!1,s;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),s=e.input.charCodeAt(e.position);s!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,F(e,"tab characters must not be used in indentation")),!(s!==45||(o=e.input.charCodeAt(e.position+1),!de(o))));){if(l=!0,e.position++,X(e,!0,-1)&&e.lineIndent<=t){a.push(null),s=e.input.charCodeAt(e.position);continue}if(r=e.line,Nt(e,t,El,!1,!0),a.push(e.result),X(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&s!==0)F(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return l?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=a,!0):!1}function Mh(e,t,r){var n,i,a,o,l,s,u=e.tag,p=e.anchor,c={},h=Object.create(null),f=null,m=null,y=null,k=!1,w=!1,b;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),b=e.input.charCodeAt(e.position);b!==0;){if(!k&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,F(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),a=e.line,(b===63||b===58)&&de(n))b===63?(k&&(Mt(e,c,h,f,m,null,o,l,s),f=m=y=null),w=!0,k=!0,i=!0):k?(k=!1,i=!0):F(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=n;else{if(o=e.line,l=e.lineStart,s=e.position,!Nt(e,r,Tl,!1,!0))break;if(e.line===a){for(b=e.input.charCodeAt(e.position);gt(b);)b=e.input.charCodeAt(++e.position);if(b===58)b=e.input.charCodeAt(++e.position),de(b)||F(e,"a whitespace character is expected after the key-value separator within a block mapping"),k&&(Mt(e,c,h,f,m,null,o,l,s),f=m=y=null),w=!0,k=!1,i=!1,f=e.tag,m=e.result;else if(w)F(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=p,!0}else if(w)F(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=p,!0}if((e.line===a||e.lineIndent>t)&&(k&&(o=e.line,l=e.lineStart,s=e.position),Nt(e,t,Hr,!0,i)&&(k?m=e.result:y=e.result),k||(Mt(e,c,h,f,m,y,o,l,s),f=m=y=null),X(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&b!==0)F(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return k&&Mt(e,c,h,f,m,null,o,l,s),w&&(e.tag=u,e.anchor=p,e.kind="mapping",e.result=c),w}function Nh(e){var t,r=!1,n=!1,i,a,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&F(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):F(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!de(o);)o===33&&(n?F(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),Al.test(i)||F(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),Sh.test(a)&&F(e,"tag suffix cannot contain flow indicator characters")}a&&!Cl.test(a)&&F(e,"tag name cannot contain such characters: "+a);try{a=decodeURIComponent(a)}catch{F(e,"tag name is malformed: "+a)}return r?e.tag=a:Xe.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i==="!"?e.tag="!"+a:i==="!!"?e.tag="tag:yaml.org,2002:"+a:F(e,'undeclared tag handle "'+i+'"'),!0}function Rh(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&F(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!de(r)&&!Ft(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&F(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function Dh(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!de(n)&&!Ft(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&F(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Xe.call(e.anchorMap,r)||F(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],X(e,!0,-1),!0}function Nt(e,t,r,n,i){var a,o,l,s=1,u=!1,p=!1,c,h,f,m,y,k;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=l=Hr===r||El===r,n&&X(e,!0,-1)&&(u=!0,e.lineIndent>t?s=1:e.lineIndent===t?s=0:e.lineIndent<t&&(s=-1)),s===1)for(;Nh(e)||Rh(e);)X(e,!0,-1)?(u=!0,l=a,e.lineIndent>t?s=1:e.lineIndent===t?s=0:e.lineIndent<t&&(s=-1)):l=!1;if(l&&(l=u||i),(s===1||Hr===r)&&(Pr===r||Tl===r?y=t:y=t+1,k=e.position-e.lineStart,s===1?l&&(cl(e,k)||Mh(e,k,y))||Bh(e,y)?p=!0:(o&&Fh(e,y)||Lh(e,y)||Ih(e,y)?p=!0:Dh(e)?(p=!0,(e.tag!==null||e.anchor!==null)&&F(e,"alias node should not have any properties")):_h(e,y,Pr===r)&&(p=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):s===0&&(p=l&&cl(e,k))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&F(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),c=0,h=e.implicitTypes.length;c<h;c+=1)if(m=e.implicitTypes[c],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Xe.call(e.typeMap[e.kind||"fallback"],e.tag))m=e.typeMap[e.kind||"fallback"][e.tag];else for(m=null,f=e.typeMap.multi[e.kind||"fallback"],c=0,h=f.length;c<h;c+=1)if(e.tag.slice(0,f[c].tag.length)===f[c].tag){m=f[c];break}m||F(e,"unknown tag !<"+e.tag+">"),e.result!==null&&m.kind!==e.kind&&F(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):F(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||p}function Oh(e){var t=e.position,r,n,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(X(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!de(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&F(e,"directive name must not be less than one character in length");o!==0;){for(;gt(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Be(o));break}if(Be(o))break;for(r=e.position;o!==0&&!de(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&Mi(e),Xe.call(sl,n)?sl[n](e,n,i):Ur(e,'unknown document directive "'+n+'"')}if(X(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,X(e,!0,-1)):a&&F(e,"directives end mark is expected"),Nt(e,e.lineIndent-1,Hr,!1,!0),X(e,!0,-1),e.checkLineBreaks&&vh.test(e.input.slice(t,e.position))&&Ur(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&$r(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,X(e,!0,-1));return}if(e.position<e.length-1)F(e,"end of the stream or a document separator is expected");else return}function Bl(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
68
- `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new qh(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,F(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)Oh(r);return r.documents}function zh(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=Bl(e,r);if(typeof t!="function")return n;for(var i=0,a=n.length;i<a;i+=1)t(n[i])}function Ph(e,t){var r=Bl(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new me("expected a single document in the stream, but found more")}}var Hh=zh,Uh=Ph,Fl={loadAll:Hh,load:Uh},Ml=Object.prototype.toString,Nl=Object.prototype.hasOwnProperty,Ri=65279,jh=9,nr=10,Gh=13,$h=32,Vh=33,Yh=34,_i=35,Wh=37,Kh=38,Qh=39,Zh=42,Rl=44,Xh=45,jr=58,Jh=61,em=62,tm=63,rm=64,Dl=91,Ol=93,nm=96,zl=123,im=124,Pl=125,ce={};ce[0]="\\0";ce[7]="\\a";ce[8]="\\b";ce[9]="\\t";ce[10]="\\n";ce[11]="\\v";ce[12]="\\f";ce[13]="\\r";ce[27]="\\e";ce[34]='\\"';ce[92]="\\\\";ce[133]="\\N";ce[160]="\\_";ce[8232]="\\L";ce[8233]="\\P";var om=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],am=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function lm(e,t){var r,n,i,a,o,l,s;if(t===null)return{};for(r={},n=Object.keys(t),i=0,a=n.length;i<a;i+=1)o=n[i],l=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),s=e.compiledTypeMap.fallback[o],s&&Nl.call(s.styleAliases,l)&&(l=s.styleAliases[l]),r[o]=l;return r}function sm(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new me("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+re.repeat("0",n-t.length)+t}var um=1,ir=2;function cm(e){this.schema=e.schema||Sl,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=re.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=lm(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?ir:um,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function pl(e,t){for(var r=re.repeat(" ",t),n=0,i=-1,a="",o,l=e.length;n<l;)i=e.indexOf(`
44
+ `,a?1+s:s),a=!0,o=!0,s=0,r=e.position;!Be(c)&&c!==0;)c=e.input.charCodeAt(++e.position);Qe(e,r,e.position,!1)}return!0}function il(e,t){var r,n=e.tag,i=e.anchor,a=[],o,l=!1,s;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),s=e.input.charCodeAt(e.position);s!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,F(e,"tab characters must not be used in indentation")),!(s!==45||(o=e.input.charCodeAt(e.position+1),!de(o))));){if(l=!0,e.position++,X(e,!0,-1)&&e.lineIndent<=t){a.push(null),s=e.input.charCodeAt(e.position);continue}if(r=e.line,Mt(e,t,xl,!1,!0),a.push(e.result),X(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&s!==0)F(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return l?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=a,!0):!1}function Ch(e,t,r){var n,i,a,o,l,s,u=e.tag,p=e.anchor,c={},h=Object.create(null),f=null,m=null,y=null,k=!1,w=!1,b;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),b=e.input.charCodeAt(e.position);b!==0;){if(!k&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,F(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),a=e.line,(b===63||b===58)&&de(n))b===63?(k&&(Ft(e,c,h,f,m,null,o,l,s),f=m=y=null),w=!0,k=!0,i=!0):k?(k=!1,i=!0):F(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=n;else{if(o=e.line,l=e.lineStart,s=e.position,!Mt(e,r,bl,!1,!0))break;if(e.line===a){for(b=e.input.charCodeAt(e.position);dt(b);)b=e.input.charCodeAt(++e.position);if(b===58)b=e.input.charCodeAt(++e.position),de(b)||F(e,"a whitespace character is expected after the key-value separator within a block mapping"),k&&(Ft(e,c,h,f,m,null,o,l,s),f=m=y=null),w=!0,k=!1,i=!1,f=e.tag,m=e.result;else if(w)F(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=p,!0}else if(w)F(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=p,!0}if((e.line===a||e.lineIndent>t)&&(k&&(o=e.line,l=e.lineStart,s=e.position),Mt(e,t,Or,!0,i)&&(k?m=e.result:y=e.result),k||(Ft(e,c,h,f,m,y,o,l,s),f=m=y=null),X(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&b!==0)F(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return k&&Ft(e,c,h,f,m,null,o,l,s),w&&(e.tag=u,e.anchor=p,e.kind="mapping",e.result=c),w}function qh(e){var t,r=!1,n=!1,i,a,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&F(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):F(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!de(o);)o===33&&(n?F(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),kl.test(i)||F(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),gh.test(a)&&F(e,"tag suffix cannot contain flow indicator characters")}a&&!yl.test(a)&&F(e,"tag name cannot contain such characters: "+a);try{a=decodeURIComponent(a)}catch{F(e,"tag name is malformed: "+a)}return r?e.tag=a:Ze.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i==="!"?e.tag="!"+a:i==="!!"?e.tag="tag:yaml.org,2002:"+a:F(e,'undeclared tag handle "'+i+'"'),!0}function _h(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&F(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!de(r)&&!Bt(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&F(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function Lh(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!de(n)&&!Bt(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&F(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Ze.call(e.anchorMap,r)||F(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],X(e,!0,-1),!0}function Mt(e,t,r,n,i){var a,o,l,s=1,u=!1,p=!1,c,h,f,m,y,k;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=l=Or===r||xl===r,n&&X(e,!0,-1)&&(u=!0,e.lineIndent>t?s=1:e.lineIndent===t?s=0:e.lineIndent<t&&(s=-1)),s===1)for(;qh(e)||_h(e);)X(e,!0,-1)?(u=!0,l=a,e.lineIndent>t?s=1:e.lineIndent===t?s=0:e.lineIndent<t&&(s=-1)):l=!1;if(l&&(l=u||i),(s===1||Or===r)&&(Dr===r||bl===r?y=t:y=t+1,k=e.position-e.lineStart,s===1?l&&(il(e,k)||Ch(e,k,y))||Eh(e,y)?p=!0:(o&&Ah(e,y)||Sh(e,y)||Th(e,y)?p=!0:Lh(e)?(p=!0,(e.tag!==null||e.anchor!==null)&&F(e,"alias node should not have any properties")):vh(e,y,Dr===r)&&(p=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):s===0&&(p=l&&il(e,k))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&F(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),c=0,h=e.implicitTypes.length;c<h;c+=1)if(m=e.implicitTypes[c],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Ze.call(e.typeMap[e.kind||"fallback"],e.tag))m=e.typeMap[e.kind||"fallback"][e.tag];else for(m=null,f=e.typeMap.multi[e.kind||"fallback"],c=0,h=f.length;c<h;c+=1)if(e.tag.slice(0,f[c].tag.length)===f[c].tag){m=f[c];break}m||F(e,"unknown tag !<"+e.tag+">"),e.result!==null&&m.kind!==e.kind&&F(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):F(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||p}function Ih(e){var t=e.position,r,n,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(X(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!de(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&F(e,"directive name must not be less than one character in length");o!==0;){for(;dt(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Be(o));break}if(Be(o))break;for(r=e.position;o!==0&&!de(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&Li(e),Ze.call(rl,n)?rl[n](e,n,i):zr(e,'unknown document directive "'+n+'"')}if(X(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,X(e,!0,-1)):a&&F(e,"directives end mark is expected"),Mt(e,e.lineIndent-1,Or,!1,!0),X(e,!0,-1),e.checkLineBreaks&&dh.test(e.input.slice(t,e.position))&&zr(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Ur(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,X(e,!0,-1));return}if(e.position<e.length-1)F(e,"end of the stream or a document separator is expected");else return}function Al(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
45
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new yh(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,F(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)Ih(r);return r.documents}function Bh(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=Al(e,r);if(typeof t!="function")return n;for(var i=0,a=n.length;i<a;i+=1)t(n[i])}function Fh(e,t){var r=Al(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new me("expected a single document in the stream, but found more")}}var Mh=Bh,Nh=Fh,Cl={loadAll:Mh,load:Nh},ql=Object.prototype.toString,_l=Object.prototype.hasOwnProperty,Bi=65279,Rh=9,er=10,Dh=13,Oh=32,zh=33,Ph=34,Ei=35,Hh=37,Uh=38,jh=39,Gh=42,Ll=44,$h=45,Pr=58,Vh=61,Yh=62,Wh=63,Kh=64,Il=91,Bl=93,Qh=96,Fl=123,Zh=124,Ml=125,ce={};ce[0]="\\0";ce[7]="\\a";ce[8]="\\b";ce[9]="\\t";ce[10]="\\n";ce[11]="\\v";ce[12]="\\f";ce[13]="\\r";ce[27]="\\e";ce[34]='\\"';ce[92]="\\\\";ce[133]="\\N";ce[160]="\\_";ce[8232]="\\L";ce[8233]="\\P";var Xh=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],Jh=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function em(e,t){var r,n,i,a,o,l,s;if(t===null)return{};for(r={},n=Object.keys(t),i=0,a=n.length;i<a;i+=1)o=n[i],l=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),s=e.compiledTypeMap.fallback[o],s&&_l.call(s.styleAliases,l)&&(l=s.styleAliases[l]),r[o]=l;return r}function tm(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new me("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+re.repeat("0",n-t.length)+t}var rm=1,tr=2;function nm(e){this.schema=e.schema||wl,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=re.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=em(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?tr:rm,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function ol(e,t){for(var r=re.repeat(" ",t),n=0,i=-1,a="",o,l=e.length;n<l;)i=e.indexOf(`
69
46
  `,n),i===-1?(o=e.slice(n),n=l):(o=e.slice(n,i+1),n=i+1),o.length&&o!==`
70
- `&&(a+=r),a+=o;return a}function Li(e,t){return`
71
- `+re.repeat(" ",e.indent*t)}function pm(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function Gr(e){return e===$h||e===jh}function or(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Ri||65536<=e&&e<=1114111}function fl(e){return or(e)&&e!==Ri&&e!==Gh&&e!==nr}function hl(e,t,r){var n=fl(e),i=n&&!Gr(e);return(r?n:n&&e!==Rl&&e!==Dl&&e!==Ol&&e!==zl&&e!==Pl)&&e!==_i&&!(t===jr&&!i)||fl(t)&&!Gr(t)&&e===_i||t===jr&&i}function fm(e){return or(e)&&e!==Ri&&!Gr(e)&&e!==Xh&&e!==tm&&e!==jr&&e!==Rl&&e!==Dl&&e!==Ol&&e!==zl&&e!==Pl&&e!==_i&&e!==Kh&&e!==Zh&&e!==Vh&&e!==im&&e!==Jh&&e!==em&&e!==Qh&&e!==Yh&&e!==Wh&&e!==rm&&e!==nm}function hm(e){return!Gr(e)&&e!==jr}function tr(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function Hl(e){var t=/^\n* /;return t.test(e)}var Ul=1,Ii=2,jl=3,Gl=4,Bt=5;function mm(e,t,r,n,i,a,o,l){var s,u=0,p=null,c=!1,h=!1,f=n!==-1,m=-1,y=fm(tr(e,0))&&hm(tr(e,e.length-1));if(t||o)for(s=0;s<e.length;u>=65536?s+=2:s++){if(u=tr(e,s),!or(u))return Bt;y=y&&hl(u,p,l),p=u}else{for(s=0;s<e.length;u>=65536?s+=2:s++){if(u=tr(e,s),u===nr)c=!0,f&&(h=h||s-m-1>n&&e[m+1]!==" ",m=s);else if(!or(u))return Bt;y=y&&hl(u,p,l),p=u}h=h||f&&s-m-1>n&&e[m+1]!==" "}return!c&&!h?y&&!o&&!i(e)?Ul:a===ir?Bt:Ii:r>9&&Hl(e)?Bt:o?a===ir?Bt:Ii:h?Gl:jl}function dm(e,t,r,n,i){e.dump=(function(){if(t.length===0)return e.quotingType===ir?'""':"''";if(!e.noCompatMode&&(om.indexOf(t)!==-1||am.test(t)))return e.quotingType===ir?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),l=n||e.flowLevel>-1&&r>=e.flowLevel;function s(u){return pm(e,u)}switch(mm(t,l,e.indent,o,s,e.quotingType,e.forceQuotes&&!n,i)){case Ul:return t;case Ii:return"'"+t.replace(/'/g,"''")+"'";case jl:return"|"+ml(t,e.indent)+dl(pl(t,a));case Gl:return">"+ml(t,e.indent)+dl(pl(gm(t,o),a));case Bt:return'"'+wm(t)+'"';default:throw new me("impossible error: invalid scalar style")}})()}function ml(e,t){var r=Hl(e)?String(t):"",n=e[e.length-1]===`
47
+ `&&(a+=r),a+=o;return a}function Ai(e,t){return`
48
+ `+re.repeat(" ",e.indent*t)}function im(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function Hr(e){return e===Oh||e===Rh}function rr(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Bi||65536<=e&&e<=1114111}function al(e){return rr(e)&&e!==Bi&&e!==Dh&&e!==er}function ll(e,t,r){var n=al(e),i=n&&!Hr(e);return(r?n:n&&e!==Ll&&e!==Il&&e!==Bl&&e!==Fl&&e!==Ml)&&e!==Ei&&!(t===Pr&&!i)||al(t)&&!Hr(t)&&e===Ei||t===Pr&&i}function om(e){return rr(e)&&e!==Bi&&!Hr(e)&&e!==$h&&e!==Wh&&e!==Pr&&e!==Ll&&e!==Il&&e!==Bl&&e!==Fl&&e!==Ml&&e!==Ei&&e!==Uh&&e!==Gh&&e!==zh&&e!==Zh&&e!==Vh&&e!==Yh&&e!==jh&&e!==Ph&&e!==Hh&&e!==Kh&&e!==Qh}function am(e){return!Hr(e)&&e!==Pr}function Xt(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function Nl(e){var t=/^\n* /;return t.test(e)}var Rl=1,Ci=2,Dl=3,Ol=4,It=5;function lm(e,t,r,n,i,a,o,l){var s,u=0,p=null,c=!1,h=!1,f=n!==-1,m=-1,y=om(Xt(e,0))&&am(Xt(e,e.length-1));if(t||o)for(s=0;s<e.length;u>=65536?s+=2:s++){if(u=Xt(e,s),!rr(u))return It;y=y&&ll(u,p,l),p=u}else{for(s=0;s<e.length;u>=65536?s+=2:s++){if(u=Xt(e,s),u===er)c=!0,f&&(h=h||s-m-1>n&&e[m+1]!==" ",m=s);else if(!rr(u))return It;y=y&&ll(u,p,l),p=u}h=h||f&&s-m-1>n&&e[m+1]!==" "}return!c&&!h?y&&!o&&!i(e)?Rl:a===tr?It:Ci:r>9&&Nl(e)?It:o?a===tr?It:Ci:h?Ol:Dl}function sm(e,t,r,n,i){e.dump=(function(){if(t.length===0)return e.quotingType===tr?'""':"''";if(!e.noCompatMode&&(Xh.indexOf(t)!==-1||Jh.test(t)))return e.quotingType===tr?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),l=n||e.flowLevel>-1&&r>=e.flowLevel;function s(u){return im(e,u)}switch(lm(t,l,e.indent,o,s,e.quotingType,e.forceQuotes&&!n,i)){case Rl:return t;case Ci:return"'"+t.replace(/'/g,"''")+"'";case Dl:return"|"+sl(t,e.indent)+ul(ol(t,a));case Ol:return">"+sl(t,e.indent)+ul(ol(um(t,o),a));case It:return'"'+cm(t)+'"';default:throw new me("impossible error: invalid scalar style")}})()}function sl(e,t){var r=Nl(e)?String(t):"",n=e[e.length-1]===`
72
49
  `,i=n&&(e[e.length-2]===`
73
50
  `||e===`
74
51
  `),a=i?"+":n?"":"-";return r+a+`
75
- `}function dl(e){return e[e.length-1]===`
76
- `?e.slice(0,-1):e}function gm(e,t){for(var r=/(\n+)([^\n]*)/g,n=(function(){var u=e.indexOf(`
77
- `);return u=u!==-1?u:e.length,r.lastIndex=u,gl(e.slice(0,u),t)})(),i=e[0]===`
52
+ `}function ul(e){return e[e.length-1]===`
53
+ `?e.slice(0,-1):e}function um(e,t){for(var r=/(\n+)([^\n]*)/g,n=(function(){var u=e.indexOf(`
54
+ `);return u=u!==-1?u:e.length,r.lastIndex=u,cl(e.slice(0,u),t)})(),i=e[0]===`
78
55
  `||e[0]===" ",a,o;o=r.exec(e);){var l=o[1],s=o[2];a=s[0]===" ",n+=l+(!i&&!a&&s!==""?`
79
- `:"")+gl(s,t),i=a}return n}function gl(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,a,o=0,l=0,s="";n=r.exec(e);)l=n.index,l-i>t&&(a=o>i?o:l,s+=`
56
+ `:"")+cl(s,t),i=a}return n}function cl(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,a,o=0,l=0,s="";n=r.exec(e);)l=n.index,l-i>t&&(a=o>i?o:l,s+=`
80
57
  `+e.slice(i,a),i=a+1),o=l;return s+=`
81
58
  `,e.length-i>t&&o>i?s+=e.slice(i,o)+`
82
- `+e.slice(o+1):s+=e.slice(i),s.slice(1)}function wm(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=tr(e,i),n=ce[r],!n&&or(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||sm(r);return t}function bm(e,t,r){var n="",i=e.tag,a,o,l;for(a=0,o=r.length;a<o;a+=1)l=r[a],e.replacer&&(l=e.replacer.call(r,String(a),l)),(He(e,t,l,!1,!1)||typeof l>"u"&&He(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function wl(e,t,r,n){var i="",a=e.tag,o,l,s;for(o=0,l=r.length;o<l;o+=1)s=r[o],e.replacer&&(s=e.replacer.call(r,String(o),s)),(He(e,t+1,s,!0,!0,!1,!0)||typeof s>"u"&&He(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Li(e,t)),e.dump&&nr===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=a,e.dump=i||"[]"}function xm(e,t,r){var n="",i=e.tag,a=Object.keys(r),o,l,s,u,p;for(o=0,l=a.length;o<l;o+=1)p="",n!==""&&(p+=", "),e.condenseFlow&&(p+='"'),s=a[o],u=r[s],e.replacer&&(u=e.replacer.call(r,s,u)),He(e,t,s,!1,!1)&&(e.dump.length>1024&&(p+="? "),p+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),He(e,t,u,!1,!1)&&(p+=e.dump,n+=p));e.tag=i,e.dump="{"+n+"}"}function km(e,t,r,n){var i="",a=e.tag,o=Object.keys(r),l,s,u,p,c,h;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new me("sortKeys must be a boolean or a function");for(l=0,s=o.length;l<s;l+=1)h="",(!n||i!=="")&&(h+=Li(e,t)),u=o[l],p=r[u],e.replacer&&(p=e.replacer.call(r,u,p)),He(e,t+1,u,!0,!0,!0)&&(c=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,c&&(e.dump&&nr===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,c&&(h+=Li(e,t)),He(e,t+1,p,!0,c)&&(e.dump&&nr===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=a,e.dump=i||"{}"}function bl(e,t,r){var n,i,a,o,l,s;for(i=r?e.explicitTypes:e.implicitTypes,a=0,o=i.length;a<o;a+=1)if(l=i[a],(l.instanceOf||l.predicate)&&(!l.instanceOf||typeof t=="object"&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(r?l.multi&&l.representName?e.tag=l.representName(t):e.tag=l.tag:e.tag="?",l.represent){if(s=e.styleMap[l.tag]||l.defaultStyle,Ml.call(l.represent)==="[object Function]")n=l.represent(t,s);else if(Nl.call(l.represent,s))n=l.represent[s](t,s);else throw new me("!<"+l.tag+'> tag resolver accepts not "'+s+'" style');e.dump=n}return!0}return!1}function He(e,t,r,n,i,a,o){e.tag=null,e.dump=r,bl(e,r,!1)||bl(e,r,!0);var l=Ml.call(e.dump),s=n,u;n&&(n=e.flowLevel<0||e.flowLevel>t);var p=l==="[object Object]"||l==="[object Array]",c,h;if(p&&(c=e.duplicates.indexOf(r),h=c!==-1),(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0)&&(i=!1),h&&e.usedDuplicates[c])e.dump="*ref_"+c;else{if(p&&h&&!e.usedDuplicates[c]&&(e.usedDuplicates[c]=!0),l==="[object Object]")n&&Object.keys(e.dump).length!==0?(km(e,t,e.dump,i),h&&(e.dump="&ref_"+c+e.dump)):(xm(e,t,e.dump),h&&(e.dump="&ref_"+c+" "+e.dump));else if(l==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?wl(e,t-1,e.dump,i):wl(e,t,e.dump,i),h&&(e.dump="&ref_"+c+e.dump)):(bm(e,t,e.dump),h&&(e.dump="&ref_"+c+" "+e.dump));else if(l==="[object String]")e.tag!=="?"&&dm(e,e.dump,t,a,s);else{if(l==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new me("unacceptable kind of an object to dump "+l)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function ym(e,t){var r=[],n=[],i,a;for(Bi(e,r,n),i=0,a=n.length;i<a;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(a)}function Bi(e,t,r){var n,i,a;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)Bi(e[i],t,r);else for(n=Object.keys(e),i=0,a=n.length;i<a;i+=1)Bi(e[n[i]],t,r)}function vm(e,t){t=t||{};var r=new cm(t);r.noRefs||ym(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),He(r,0,n,!0,!0)?r.dump+`
83
- `:""}var Sm=vm,Tm={dump:Sm};function Di(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var $l=Fl.load,uv=Fl.loadAll,cv=Tm.dump;var pv=Di("safeLoad","load"),fv=Di("safeLoadAll","loadAll"),hv=Di("safeDump","dump");De();It();function Vl(e,t){let r=e.children.find(n=>n.type==="yaml");return r?.value?Em(r.value,t):{}}function Em(e,t){try{let r=$l(e);if(!r||typeof r!="object")return t&&t({severity:"warning",message:"YAML frontmatter is empty or not an object",context:"frontmatter parsing"}),{};let n={};return"title"in r&&typeof r.title=="string"&&(n.title=r.title),"author"in r&&(typeof r.author=="string"?n.author=r.author:Array.isArray(r.author)?n.author=r.author.filter(i=>typeof i=="string"):t&&t({severity:"warning",message:'Frontmatter "author" field must be a string or array of strings',context:"frontmatter parsing",details:{fieldType:typeof r.author}})),"authors"in r&&Array.isArray(r.authors)&&(n.authors=r.authors.filter(i=>typeof i=="string")),"description"in r&&typeof r.description=="string"&&(n.description=r.description),"keywords"in r&&Array.isArray(r.keywords)&&(n.keywords=r.keywords.filter(i=>typeof i=="string")),"date"in r&&(typeof r.date=="string"?n.date=r.date:r.date instanceof Date&&(n.date=r.date.toISOString().split("T")[0])),"abstract"in r&&typeof r.abstract=="string"&&(n.abstract=r.abstract),"lang"in r&&typeof r.lang=="string"&&(n.lang=r.lang),"language"in r&&typeof r.language=="string"&&(n.language=r.language),"region"in r&&typeof r.region=="string"&&(n.region=r.region),n}catch(r){let n=r instanceof Error?r.message:String(r);return t&&t({severity:"warning",message:`Failed to parse YAML frontmatter: ${n}`,context:"frontmatter parsing",originalError:r}),{}}}function Yl(e){let t=e.trim().toLowerCase();if(t==="auto")return"auto";if(t==="none")return"none";let r=/^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(e.trim());if(r){let n=parseInt(r[1],10),i=parseInt(r[2],10);return`datetime(day: ${parseInt(r[3],10)}, month: ${i}, year: ${n})`}return"auto"}function Wl(e,t,r){let n=e.title??t.title??r??"",i=e.authors??(typeof e.author=="string"?[e.author]:e.author)??[],a=t.authors??(typeof t.author=="string"?[t.author]:t.author)??[],o=i.length>0?i:a,l=Ja(e.lang??e.language??t.lang??t.language),s=el(e.region??t.region),u=e.date??t.date,p=e.description??t.description,c=e.keywords??t.keywords,h=e.abstract??t.abstract;return{title:n,authors:o,description:p,keywords:c,date:u,abstract:h,lang:l,region:s}}Wi();It();De();function Cd(e){let{warnings:t}=e,r=[];return t.externalImages?(r.push("// ========================= WARNINGS ========================="),r.push(""),r.push("// ------------------------------------------------------------"),r.push("// NOTE: The conversion did not work perfectly due to intrinsic"),r.push("// Markdown to Typst limitations. The following custom"),r.push("// functions, set or show rules are used to visually display"),r.push("// these minor conversion warnings to the user."),r.push("// ------------------------------------------------------------"),r.push(""),t.externalImages&&(r.push("// EXTERNAL IMAGES WERE DETECTED!"),r.push("#let external-image(url) = {"),r.push(" rect(radius: 4pt, inset: 20pt,)["),r.push(" #align(center)["),r.push(" #text()["),r.push(" External image detected: \\"),r.push(" #link(url)"),r.push(" ]"),r.push(" ]"),r.push(" ]"),r.push("}"),r.push("")),r.push("// ============================================================"),r.join(`
84
- `)):null}function ps(e,t,r,n){try{let{title:i,authors:a,description:o,keywords:l,date:s,abstract:u,lang:p,region:c}=t,f=(r!==null&&Za(i)!==""?e.children.filter((w,b)=>b!==r):e.children).map(w=>Dt(w,0,n)).filter(Qe).join(`
59
+ `+e.slice(o+1):s+=e.slice(i),s.slice(1)}function cm(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=Xt(e,i),n=ce[r],!n&&rr(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||tm(r);return t}function pm(e,t,r){var n="",i=e.tag,a,o,l;for(a=0,o=r.length;a<o;a+=1)l=r[a],e.replacer&&(l=e.replacer.call(r,String(a),l)),(Pe(e,t,l,!1,!1)||typeof l>"u"&&Pe(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function pl(e,t,r,n){var i="",a=e.tag,o,l,s;for(o=0,l=r.length;o<l;o+=1)s=r[o],e.replacer&&(s=e.replacer.call(r,String(o),s)),(Pe(e,t+1,s,!0,!0,!1,!0)||typeof s>"u"&&Pe(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Ai(e,t)),e.dump&&er===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=a,e.dump=i||"[]"}function fm(e,t,r){var n="",i=e.tag,a=Object.keys(r),o,l,s,u,p;for(o=0,l=a.length;o<l;o+=1)p="",n!==""&&(p+=", "),e.condenseFlow&&(p+='"'),s=a[o],u=r[s],e.replacer&&(u=e.replacer.call(r,s,u)),Pe(e,t,s,!1,!1)&&(e.dump.length>1024&&(p+="? "),p+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Pe(e,t,u,!1,!1)&&(p+=e.dump,n+=p));e.tag=i,e.dump="{"+n+"}"}function hm(e,t,r,n){var i="",a=e.tag,o=Object.keys(r),l,s,u,p,c,h;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new me("sortKeys must be a boolean or a function");for(l=0,s=o.length;l<s;l+=1)h="",(!n||i!=="")&&(h+=Ai(e,t)),u=o[l],p=r[u],e.replacer&&(p=e.replacer.call(r,u,p)),Pe(e,t+1,u,!0,!0,!0)&&(c=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,c&&(e.dump&&er===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,c&&(h+=Ai(e,t)),Pe(e,t+1,p,!0,c)&&(e.dump&&er===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=a,e.dump=i||"{}"}function fl(e,t,r){var n,i,a,o,l,s;for(i=r?e.explicitTypes:e.implicitTypes,a=0,o=i.length;a<o;a+=1)if(l=i[a],(l.instanceOf||l.predicate)&&(!l.instanceOf||typeof t=="object"&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(r?l.multi&&l.representName?e.tag=l.representName(t):e.tag=l.tag:e.tag="?",l.represent){if(s=e.styleMap[l.tag]||l.defaultStyle,ql.call(l.represent)==="[object Function]")n=l.represent(t,s);else if(_l.call(l.represent,s))n=l.represent[s](t,s);else throw new me("!<"+l.tag+'> tag resolver accepts not "'+s+'" style');e.dump=n}return!0}return!1}function Pe(e,t,r,n,i,a,o){e.tag=null,e.dump=r,fl(e,r,!1)||fl(e,r,!0);var l=ql.call(e.dump),s=n,u;n&&(n=e.flowLevel<0||e.flowLevel>t);var p=l==="[object Object]"||l==="[object Array]",c,h;if(p&&(c=e.duplicates.indexOf(r),h=c!==-1),(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0)&&(i=!1),h&&e.usedDuplicates[c])e.dump="*ref_"+c;else{if(p&&h&&!e.usedDuplicates[c]&&(e.usedDuplicates[c]=!0),l==="[object Object]")n&&Object.keys(e.dump).length!==0?(hm(e,t,e.dump,i),h&&(e.dump="&ref_"+c+e.dump)):(fm(e,t,e.dump),h&&(e.dump="&ref_"+c+" "+e.dump));else if(l==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?pl(e,t-1,e.dump,i):pl(e,t,e.dump,i),h&&(e.dump="&ref_"+c+e.dump)):(pm(e,t,e.dump),h&&(e.dump="&ref_"+c+" "+e.dump));else if(l==="[object String]")e.tag!=="?"&&sm(e,e.dump,t,a,s);else{if(l==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new me("unacceptable kind of an object to dump "+l)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function mm(e,t){var r=[],n=[],i,a;for(qi(e,r,n),i=0,a=n.length;i<a;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(a)}function qi(e,t,r){var n,i,a;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)qi(e[i],t,r);else for(n=Object.keys(e),i=0,a=n.length;i<a;i+=1)qi(e[n[i]],t,r)}function dm(e,t){t=t||{};var r=new nm(t);r.noRefs||mm(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),Pe(r,0,n,!0,!0)?r.dump+`
60
+ `:""}var gm=dm,wm={dump:gm};function Fi(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var zl=Cl.load,rv=Cl.loadAll,nv=wm.dump;var iv=Fi("safeLoad","load"),ov=Fi("safeLoadAll","loadAll"),av=Fi("safeDump","dump");function Pl(e,t){let r=e.children.find(n=>n.type==="yaml");return r?.value?bm(r.value,t):{}}function bm(e,t){try{let r=zl(e);if(!r||typeof r!="object")return t&&t({severity:"warning",message:"YAML frontmatter is empty or not an object",context:"frontmatter parsing"}),{};let n={};return"title"in r&&typeof r.title=="string"&&(n.title=r.title),"author"in r&&(typeof r.author=="string"?n.author=r.author:Array.isArray(r.author)?n.author=r.author.filter(i=>typeof i=="string"):t&&t({severity:"warning",message:'Frontmatter "author" field must be a string or array of strings',context:"frontmatter parsing",details:{fieldType:typeof r.author}})),"authors"in r&&Array.isArray(r.authors)&&(n.authors=r.authors.filter(i=>typeof i=="string")),"description"in r&&typeof r.description=="string"&&(n.description=r.description),"keywords"in r&&Array.isArray(r.keywords)&&(n.keywords=r.keywords.filter(i=>typeof i=="string")),"date"in r&&(typeof r.date=="string"?n.date=r.date:r.date instanceof Date&&(n.date=r.date.toISOString().split("T")[0])),"abstract"in r&&typeof r.abstract=="string"&&(n.abstract=r.abstract),"lang"in r&&typeof r.lang=="string"&&(n.lang=r.lang),"language"in r&&typeof r.language=="string"&&(n.language=r.language),"region"in r&&typeof r.region=="string"&&(n.region=r.region),n}catch(r){let n=r instanceof Error?r.message:String(r);return t&&t({severity:"warning",message:`Failed to parse YAML frontmatter: ${n}`,context:"frontmatter parsing",originalError:r}),{}}}function Hl(e){let t=e.trim().toLowerCase();if(t==="auto")return"auto";if(t==="none")return"none";let r=/^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(e.trim());if(r){let n=parseInt(r[1],10),i=parseInt(r[2],10);return`datetime(day: ${parseInt(r[3],10)}, month: ${i}, year: ${n})`}return"auto"}function Ul(e,t,r){let n=e.title??t.title??r??"",i=e.authors??(typeof e.author=="string"?[e.author]:e.author)??[],a=t.authors??(typeof t.author=="string"?[t.author]:t.author)??[],o=i.length>0?i:a,l=Ya(e.lang??e.language??t.lang??t.language),s=Wa(e.region??t.region),u=e.date??t.date,p=e.description??t.description,c=e.keywords??t.keywords,h=e.abstract??t.abstract;return{title:n,authors:o,description:p,keywords:c,date:u,abstract:h,lang:l,region:s}}function jl(e){return"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".includes(e)}function ae(e,t="Assertion failed."){if(!e)throw new Error(t)}var Ee,q=(Ee=class{constructor(t,r){C(this,"type");C(this,"value");this.type=t,this.value=r}eq(t){return this.type===t.type&&this.value===t.value}toString(){return this.type===4?"%"+this.value:this.value}toNode(){return new xm(this)}},C(Ee,"EMPTY",new Ee(0,"")),C(Ee,"COMMAND_DISPLAYSTYLE",new Ee(2,"\\displaystyle")),C(Ee,"COMMAND_TEXTSTYLE",new Ee(2,"\\textstyle")),Ee),gt=class{constructor(e,t){C(this,"type");C(this,"head");this.type=e,this.head=t||q.EMPTY}eq(e){return this.type===e.type&&this.head.eq(e.head)}toString(){return this.serialize().reduce(Tm,"")}},xm=class extends gt{constructor(e){super("terminal",e)}serialize(){switch(this.head.type){case 0:return[];case 1:case 2:case 3:case 4:case 7:return[this.head];case 5:case 6:{let e=[];for(let t of this.head.value){let r=t===" "?5:6;e.push(new q(r,t))}return e}default:throw new Error(`Unknown terminal token type: ${this.head.type}`)}}},km=class extends gt{constructor(e){ae(e.type===3),super("text",e)}serialize(){return[new q(2,"\\text"),new q(1,"{"),this.head,new q(1,"}")]}},or=class extends gt{constructor(t){super("ordgroup",q.EMPTY);C(this,"items");this.items=t}serialize(){return this.items.map(t=>t.serialize()).flat()}},ym=class extends gt{constructor(t){super("supsub",q.EMPTY);C(this,"base");C(this,"sup");C(this,"sub");this.base=t.base,this.sup=t.sup,this.sub=t.sub}serialize(){let t=[],{base:r,sup:n,sub:i}=this;t=t.concat(r.serialize());function a(o){return o.type==="ordgroup"||o.type==="supsub"||o.head.type===0?!0:!!(o.head.type===1&&/\d+(\.\d+)?/.test(o.head.value)&&o.head.value.length>1)}return i&&(t.push(new q(7,"_")),a(i)?(t.push(new q(1,"{")),t=t.concat(i.serialize()),t.push(new q(1,"}"))):t=t.concat(i.serialize())),n&&(t.push(new q(7,"^")),a(n)?(t.push(new q(1,"{")),t=t.concat(n.serialize()),t.push(new q(1,"}"))):t=t.concat(n.serialize())),t}},ar=class extends gt{constructor(t,r,n=null){super("funcCall",t);C(this,"args");C(this,"data");this.args=r,this.data=n}serialize(){let t=[];t.push(this.head),this.head.value==="\\sqrt"&&this.data&&(t.push(new q(1,"[")),t=t.concat(this.data.serialize()),t.push(new q(1,"]")));for(let r of this.args)t.push(new q(1,"{")),t=t.concat(r.serialize()),t.push(new q(1,"}"));return t}},vm=class extends gt{constructor(t){super("leftright",q.EMPTY);C(this,"body");C(this,"left");C(this,"right");this.body=t.body,this.left=t.left,this.right=t.right}serialize(){let t=[];return t.push(new q(2,"\\left")),t.push(new q(1,this.left?this.left.value:".")),t=t.concat(this.body.serialize()),t.push(new q(2,"\\right")),t.push(new q(1,this.right?this.right.value:".")),t}},Sm=class extends gt{constructor(t,r,n=null){ae(t.type===3);super("beginend",t);C(this,"matrix");C(this,"data");this.matrix=r,this.data=n}serialize(){let t=[],r=this.matrix;t.push(new q(2,"\\begin")),t.push(new q(1,"{")),t=t.concat(this.head),t.push(new q(1,"}")),t.push(new q(6,`
61
+ `));for(let n=0;n<r.length;n++){let i=r[n];for(let a=0;a<i.length;a++){let o=i[a];t=t.concat(o.serialize()),a!==i.length-1&&t.push(new q(7,"&"))}n!==r.length-1&&t.push(new q(7,"\\\\"))}return t.push(new q(6,`
62
+ `)),t.push(new q(2,"\\end")),t.push(new q(1,"{")),t=t.concat(this.head),t.push(new q(1,"}")),t}};function Tm(e,t){let r=t.toString(),n=!1;return t.type===5?n=!0:(n||(n=/[{\(\[\|]$/.test(e)),n||(n=/\\\w+$/.test(e)&&r==="["),n||(n=/^[\.,;:!\?\(\)\]{}_^]$/.test(r)),n||(n=["\\{","\\}"].includes(r)),n||(n=r==="'"),n||(n=e.endsWith("_")||e.endsWith("^")),n||(n=/\s$/.test(e)),n||(n=/^\s/.test(r)),n||(n=e===""),n||(n=/[\(\[{]\s*(-|\+)$/.test(e)||e==="-"||e==="+"),n||(n=e.endsWith("&")&&r==="="),n||(n=/\d$/.test(e)&&/^[a-zA-Z]$/.test(r))),n||(e+=" "),e+r}function Em(e,t){return e.some(r=>r.eq(t))}function Gl(e,t){let r=[],n=[];for(let i of e)i.eq(t)?(r.push(n),n=[]):n.push(i);return r.push(n),r}function Am(e,t){return e.flatMap((r,n)=>n!==e.length-1?[...r,t]:r)}var Xl={};function Cm(e,t){let r=e.reMatchArray[0].length,n=t.reMatchArray[0].length;return n!==r?n-r:e.index-t.index}var qm=class{constructor(e,t){C(this,"_input");C(this,"_lexer");C(this,"_pos",0);C(this,"_line",0);C(this,"_col",0);C(this,"_offset",0);C(this,"_less",null);C(this,"_go",!1);C(this,"_newstate",null);C(this,"_state");C(this,"_text",null);C(this,"_leng",null);C(this,"_reMatchArray",null);this._input=e,this._lexer=t,this._state=t.states[0]}text(){return this._text}leng(){return this._leng}reMatchArray(){return this._reMatchArray}pos(){return this._pos}line(){return this._line}column(){return this._col}input(){return this._input.charAt(this._pos+this._leng+this._offset++)}unput(){return this._offset=this._offset>0?this._offset--:0}less(e){return this._less=e,this._offset=0,this._text=this._text.substring(0,e),this._leng=this._text.length}pushback(e){return this.less(this._leng-e)}reject(){this._go=!0}begin(e){if(this._lexer.specification[e])return this._newstate=e;let t=this._lexer.states[parseInt(e)];if(t)return this._newstate=t;throw"Unknown state '"+e+"' requested"}state(){return this._state}scan(){if(this._pos>=this._input.length)return Xl;let e=this._input.substring(this._pos),t=this._lexer.specification[this._state],r=[];for(let s=0;s<t.length;s++){let u=t[s],p=e.match(u.re);p!==null&&p[0].length>0&&r.push({index:s,rule:u,reMatchArray:p})}if(r.length===0)throw new Error("No match found for input '"+e+"'");r.sort(Cm),this._go=!0;let n,i;for(let s=0,u=r.length;s<u&&this._go;s++){this._offset=0,this._less=null,this._go=!1,this._newstate=null;let p=r[s];if(i=p.reMatchArray[0],this._text=i,this._leng=i.length,this._reMatchArray=p.reMatchArray,n=p.rule.action(this),this._newstate&&this._newstate!=this._state){this._state=this._newstate;break}}let a=this._less===null?i:i.substring(0,this._less),o=a.length;this._pos+=o+this._offset;let l=a.match(/\n/g);return l!==null?(this._line+=l.length,this._col=o-a.lastIndexOf(`
63
+ `)-1):this._col+=o,n}},_m=class{constructor(e){C(this,"states");C(this,"specification");this.states=Object.keys(e),this.specification={};for(let t of this.states){let r=e[t];if(t in this.specification)throw"Duplicate state declaration encountered for state '"+t+"'";this.specification[t]=[];for(let[n,i]of r.entries()){let a;try{a=new RegExp("^"+n)}catch(o){throw"Invalid regexp '"+n+"' in state '"+t+"' ("+o.message+")"}this.specification[t].push({re:a,action:i})}}}scanner(e){return new qm(e,this)}lex(e,t){let r=this.scanner(e);for(;;){let n=r.scan();if(n===Xl)return;n!==void 0&&t(n)}}collect(e){let t=[],r=function(n){Array.isArray(n)?t.push(...n):t.push(n)};return this.lex(e,r),t}},Jl=["sqrt","text","bar","bold","boldsymbol","ddot","dot","hat","mathbb","mathbf","mathcal","mathfrak","mathit","mathrm","mathscr","mathsf","mathtt","operatorname","operatorname*","overbrace","overline","pmb","rm","tilde","underbrace","underline","vec","widehat","widetilde","overleftarrow","overrightarrow","hspace","substack","displaylines","mathinner","mathrel","mathbin","mathop","not","bra","ket","braket","set","Bra","Ket","Braket","Set","pmod"],es=["frac","tfrac","binom","dbinom","dfrac","tbinom","overset","underset","textcolor"];function Lm(e){let t=["{","}","\\","$","&","#","_","%"];for(let r of t)e=e.replaceAll("\\"+r,r);return e}var Im=new Map([[String.raw`\\begin{(array|subarry)}{(.+?)}`,e=>{let t=e.reMatchArray();return[new q(2,"\\begin"),new q(7,"{"),new q(3,t[1]),new q(7,"}"),new q(7,"{"),new q(3,t[2]),new q(7,"}")]}],[String.raw`\\(text|operatorname\*?|textcolor|begin|end|hspace|array){(.+?)}`,e=>{let t=e.reMatchArray();return[new q(2,"\\"+t[1]),new q(7,"{"),new q(3,Lm(t[2])),new q(7,"}")]}],[String.raw`%[^\n]*`,e=>new q(4,e.text().substring(1))],[String.raw`[{}_^&]`,e=>new q(7,e.text())],[String.raw`\\[\\,:;!> ]`,e=>new q(7,e.text())],[String.raw`~`,e=>new q(7,e.text())],[String.raw`\r?\n`,e=>new q(6,`
64
+ `)],[String.raw`\s+`,e=>new q(5,e.text())],[String.raw`\\[{}%$&#_|]`,e=>new q(1,e.text())],[String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])\s*([0-9a-zA-Z])`,e=>{let t=e.reMatchArray(),r=t[1];if(es.includes(r.substring(1))){let n=t[2].trimStart(),i=t[3];return[new q(2,r),new q(1,n),new q(1,i)]}else return e.reject(),[]}],[String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])`,e=>{let t=e.reMatchArray(),r=t[1];if(Jl.includes(r.substring(1))){let n=t[2].trimStart();return[new q(2,r),new q(1,n)]}else return e.reject(),[]}],[String.raw`\\[a-zA-Z]+`,e=>new q(2,e.text())],[String.raw`[0-9]+(\.[0-9]+)?`,e=>new q(1,e.text())],[String.raw`[a-zA-Z]`,e=>new q(1,e.text())],[String.raw`[+\-*/='<>!.,;:?()\[\]|]`,e=>new q(1,e.text())],[String.raw`[^\x00-\x7F]`,e=>new q(1,e.text())],[String.raw`.`,e=>new q(8,e.text())]]),Bm={start:Im};function ts(e){return new _m(Bm).collect(e)}var Fm=["bigl","bigr","bigm","biggl","biggr","biggm","Bigl","Bigr","Bigm","Biggl","Biggr","Biggm"],$l=q.EMPTY.toNode();function Mm(e){return Jl.includes(e)?1:es.includes(e)?2:0}var jr=new q(7,"{"),nr=new q(7,"}"),Nm=new q(1,"["),Rm=new q(1,"]");function Gr(e,t){let r=t;for(;r<e.length&&[5,6].includes(e[r].type);)r++;return e.slice(t,r)}function Vl(e,t){let r=e[t];return r.type===1&&["(",")","[","]","|","\\{","\\}",".","\\|","<",">"].includes(r.value)||r.type===2&&["lfloor","rfloor","lceil","rceil","langle","rangle","lparen","rparen","lbrace","rbrace"].includes(r.value.slice(1))?r:null}function ir(e,t){let r=t;for(;r<e.length&&e[r].eq(new q(1,"'"));)r+=1;return r-t}function Dm(e){let t=null,r=[],n=[],i=0;for(;;){if(i===e.length||e[i].head.eq(q.COMMAND_DISPLAYSTYLE)||e[i].head.eq(q.COMMAND_TEXTSTYLE)){if(r.length>0){let a=r.length===1?r[0]:new or(r);n.push(t?new ar(t,[a]):a)}if(i===e.length)break;r=[],t=e[i].head}else r.push(e[i]);i++}return n}var Yl=new q(2,"\\left"),Wl=new q(2,"\\right"),Kl=new q(2,"\\begin"),Ql=new q(2,"\\end"),Om=new q(7,"\\\\"),Z,Y=(Z=class extends Error{constructor(t){super(t),this.name="LatexParserError"}},C(Z,"UNMATCHED_LEFT_BRACE",new Z("Unmatched '\\{'")),C(Z,"UNMATCHED_RIGHT_BRACE",new Z("Unmatched '\\}'")),C(Z,"UNMATCHED_LEFT_BRACKET",new Z("Unmatched '\\['")),C(Z,"UNMATCHED_RIGHT_BRACKET",new Z("Unmatched '\\]'")),C(Z,"UNMATCHED_COMMAND_BEGIN",new Z("Unmatched '\\begin'")),C(Z,"UNMATCHED_COMMAND_END",new Z("Unmatched '\\end'")),C(Z,"UNMATCHED_COMMAND_LEFT",new Z("Unmatched '\\left'")),C(Z,"UNMATCHED_COMMAND_RIGHT",new Z("Unmatched '\\right'")),Z),Di=new q(7,"_"),Oi=new q(7,"^"),zm=class{constructor(e=!1,t=!0){C(this,"space_sensitive");C(this,"newline_sensitive");C(this,"alignmentDepth",0);this.space_sensitive=e,this.newline_sensitive=t}parse(e){return this.parseGroup(e.slice(0))}parseGroup(e){let[t,r]=this.parseClosure(e,0,null);return t}parseClosure(e,t,r){let n=[],i=t;for(;i<e.length&&!(r!==null&&e[i].eq(r));){let[l,s]=this.parseNextExpr(e,i);i=s,!((l.head.type===5||l.head.type===6)&&(!this.space_sensitive&&l.head.value.replace(/ /g,"").length===0||!this.newline_sensitive&&l.head.value===`
65
+ `))&&n.push(l)}if(i>=e.length&&r!==null)return[$l,-1];let a=Dm(n),o;return a.length===1?o=a[0]:o=new or(a),[o,i+1]}parseNextExpr(e,t){let[r,n]=this.parseNextExprWithoutSupSub(e,t),i=null,a=null,o=0;if(o+=ir(e,n),n+=o,n<e.length){let l=e[n];if(l.eq(Di)){[i,n]=this.parseNextExprWithoutSupSub(e,n+1);let s=ir(e,n);if(o+=s,n+=s,n<e.length&&e[n].eq(Oi)&&([a,n]=this.parseNextExprWithoutSupSub(e,n+1),ir(e,n)>0))throw new Y("Double superscript")}else if(l.eq(Oi)){if([a,n]=this.parseNextExprWithoutSupSub(e,n+1),ir(e,n)>0)throw new Y("Double superscript");if(n<e.length&&e[n].eq(Di)&&([i,n]=this.parseNextExprWithoutSupSub(e,n+1),ir(e,n)>0))throw new Y("Double superscript")}}if(i!==null||a!==null||o>0){let l={base:r,sup:null,sub:null};if(i&&(l.sub=i),o>0){let s=[];for(let u=0;u<o;u++)s.push(new q(1,"'").toNode());a&&s.push(a),l.sup=s.length===1?s[0]:new or(s)}else a&&(l.sup=a);return[new ym(l),n]}else return[r,n]}parseNextExprWithoutSupSub(e,t){if(t>=e.length)throw new Y("Unexpected end of input");let r=e[t];switch(r.type){case 1:case 3:case 4:case 5:case 6:return[r.toNode(),t+1];case 2:let n=r.value.slice(1);if(Fm.includes(n))return this.parseNextExprWithoutSupSub(e,t+1);if(r.eq(Kl))return this.parseBeginEndExpr(e,t);if(r.eq(Ql))throw Y.UNMATCHED_COMMAND_END;if(r.eq(Yl))return this.parseLeftRightExpr(e,t);if(r.eq(Wl))throw Y.UNMATCHED_COMMAND_RIGHT;return this.parseCommandExpr(e,t);case 7:switch(r.value){case"{":let[a,o]=this.parseClosure(e,t+1,nr);if(o===-1)throw Y.UNMATCHED_LEFT_BRACE;return[a,o];case"}":throw Y.UNMATCHED_RIGHT_BRACE;case"\\\\":case"\\!":case"\\,":case"\\:":case"\\;":case"\\>":return[r.toNode(),t+1];case"\\ ":case"~":return[r.toNode(),t+1];case"_":case"^":return[$l,t];case"&":if(this.alignmentDepth<=0)throw new Y("Unexpected & outside of an alignment");return[r.toNode(),t+1];default:throw new Y("Unknown control sequence")}default:throw new Y("Unknown token type")}}parseCommandExpr(e,t){ae(e[t].type===2);let r=e[t],n=r.value,i=t+1;switch(Mm(n.slice(1))){case 0:return[r.toNode(),i];case 1:{if(i>=e.length)throw new Y("Expecting argument for "+n);if(n==="\\sqrt"&&i<e.length&&e[i].eq(Nm)){let[s,u]=this.parseClosure(e,i+1,Rm);if(u===-1)throw Y.UNMATCHED_LEFT_BRACKET;let[p,c]=this.parseNextArg(e,u);return[new ar(r,[p],s),c]}else if(n==="\\text"){if(i+2>=e.length)throw new Y("Expecting content for \\text command");ae(e[i].eq(jr)),ae(e[i+1].type===3),ae(e[i+2].eq(nr));let s=e[i+1];return[new km(s),i+3]}else if(n==="\\displaylines"){ae(e[i].eq(jr));let[s,u]=this.parseAligned(e,i+1,nr);if(u===-1)throw Y.UNMATCHED_LEFT_BRACE;let p=new or(Am(s,Om.toNode()));return[new ar(r,[p]),u]}let[o,l]=this.parseNextArg(e,i);return[new ar(r,[o]),l]}case 2:{let[o,l]=this.parseNextArg(e,i),[s,u]=this.parseNextArg(e,l);return[new ar(r,[o,s]),u]}default:throw new Error("Invalid number of parameters")}}parseNextArg(e,t){let r=t,n=null;for(;r<e.length;){let i;if([i,r]=this.parseNextExprWithoutSupSub(e,r),!(i.head.type===5||i.head.type===6)){n=i;break}}if(n===null)throw new Y("Expecting argument but token stream ended");return[n,r]}parseLeftRightExpr(e,t){ae(e[t].eq(Yl));let r=t+1;if(r+=Gr(e,r).length,r>=e.length)throw new Y("Expecting a delimiter after \\left");let n=Vl(e,r);if(n===null)throw new Y("Invalid delimiter after \\left");r++;let[i,a]=this.parseClosure(e,r,Wl);if(a===-1)throw Y.UNMATCHED_COMMAND_LEFT;if(r=a,r+=Gr(e,r).length,r>=e.length)throw new Y("Expecting a delimiter after \\right");let o=Vl(e,r);if(o===null)throw new Y("Invalid delimiter after \\right");r++;let l=n.value==="."?null:n,s=o.value==="."?null:o;return[new vm({body:i,left:l,right:s}),r]}parseBeginEndExpr(e,t){ae(e[t].eq(Kl));let r=t+1;ae(e[r].eq(jr)),ae(e[r+1].type===3),ae(e[r+2].eq(nr));let n=e[r+1].value;r+=3;let i=null;["array","subarray"].includes(n)&&(r+=Gr(e,r).length,[i,r]=this.parseNextArg(e,r));let[a,o]=this.parseAligned(e,r,Ql);if(o===-1)throw Y.UNMATCHED_COMMAND_BEGIN;if(r=o,ae(e[r].eq(jr)),ae(e[r+1].type===3),ae(e[r+2].eq(nr)),e[r+1].value!==n)throw new Y("\\begin and \\end environments mismatch");return r+=3,[new Sm(new q(3,n),a,i),r]}parseAligned(e,t,r){this.alignmentDepth++;let n=t;n+=Gr(e,n).length;let i;if([i,n]=this.parseClosure(e,n,r),n===-1)return[[],-1];let a;if(i.type==="ordgroup"){let o=i.items;for(;o.length>0&&[5,6].includes(o[o.length-1].head.type);)o.pop();a=Gl(o,new q(7,"\\\\").toNode()).map(l=>Gl(l,new q(7,"&").toNode()).map(s=>new or(s)))}else a=[[i]];return this.alignmentDepth--,[a,n]}};function Pm(e){let t=n=>n.eq(Di)||n.eq(Oi),r=[];for(let n=0;n<e.length;n++)e[n].type===5&&n+1<e.length&&t(e[n+1])||e[n].type===5&&n-1>=0&&t(e[n-1])||r.push(e[n]);return r}function Hm(e,t){let r=[];for(let n of e)if(n.type===2&&t[n.value]){let i=ts(t[n.value]);r=r.concat(i)}else r.push(n);return r}function Um(e,t={}){let r=new zm,n=ts(e);return n=Pm(n),n=Hm(n,t),r.parse(n)}var zi=new Map([["arrow.l.r.double.long","<==>"],["arrow.l.r.long","<-->"],["arrow.r.bar","|->"],["arrow.r.double.bar","|=>"],["arrow.r.double.long","==>"],["arrow.r.long","-->"],["arrow.r.long.squiggly","~~>"],["arrow.r.tail",">->"],["arrow.r.twohead","->>"],["arrow.l.double.long","<=="],["arrow.l.long","<--"],["arrow.l.long.squiggly","<~~"],["arrow.l.tail","<-<"],["arrow.l.twohead","<<-"],["arrow.l.r.double","<=>"],["colon.double.eq","::="],["dots.h","..."],["gt.triple",">>>"],["lt.triple","<<<"],["arrow.r","->"],["arrow.r.double","=>"],["arrow.r.squiggly","~>"],["arrow.l","<-"],["arrow.l.squiggly","<~"],["bar.v.double","||"],["bracket.l.stroked","[|"],["bracket.r.stroked","|]"],["colon.eq",":="],["eq.colon","=:"],["eq.not","!="],["gt.double",">>"],["gt.eq",">="],["lt.double","<<"],["lt.eq","<="],["ast.op","*"],["minus","-"],["tilde.op","~"],["arrow.l.r","<->"]]),Pi=new Map;for(let[e,t]of zi.entries())t.length>1&&Pi.set(t,e);var N,x=(N=class{constructor(t,r){C(this,"type");C(this,"value");this.type=t,this.value=r}eq(t){return this.type===t.type&&this.value===t.value}isOneOf(t){return Em(t,this)}toNode(){return new Gm(this)}toString(){switch(this.type){case 4:return`"${this.value}"`;case 5:return`//${this.value}`;default:return this.value}}},C(N,"NONE",new N(0,"#none")),C(N,"EMPTY",new N(2,"")),C(N,"LEFT_BRACE",new N(2,"{")),C(N,"RIGHT_BRACE",new N(2,"}")),C(N,"LEFT_PAREN",new N(2,"(")),C(N,"RIGHT_PAREN",new N(2,")")),C(N,"LEFT_ANGLE",new N(1,"chevron.l")),C(N,"RIGHT_ANGLE",new N(1,"chevron.r")),C(N,"VERTICAL_BAR",new N(2,"|")),C(N,"PLUS",new N(2,"+")),C(N,"MINUS",new N(2,"-")),C(N,"LR",new N(1,"lr")),C(N,"LEFT_DELIMITERS",[N.LEFT_PAREN,new N(2,"["),N.LEFT_BRACE,N.VERTICAL_BAR,N.LEFT_ANGLE,new N(1,"paren.l"),new N(1,"brace.l")]),C(N,"RIGHT_DELIMITERS",[N.RIGHT_PAREN,new N(2,"]"),N.RIGHT_BRACE,N.VERTICAL_BAR,N.RIGHT_ANGLE,new N(1,"paren.r"),new N(1,"brace.r")]),N),jm=class extends Error{constructor(t,r){super(t);C(this,"node");this.name="TypstWriterError",this.node=r}},ge=new x(7," "),Je=class{constructor(e,t){C(this,"type");C(this,"head");C(this,"options");this.type=e,this.head=t||x.NONE}setOptions(e){this.options=e}eq(e){return this.type===e.type&&this.head.eq(e.head)}toString(){throw new Error("Unimplemented toString() in base class TypstNode")}},Gm=class extends Je{constructor(e){super("terminal",e)}isOverHigh(){return!1}isLeftSpaceful(){switch(this.head.type){case 6:case 8:return!1;case 4:return!0;case 1:case 2:return!["(","!",",",")","}","]"].includes(this.head.value);default:return!0}}isRightSpaceful(){switch(this.head.type){case 6:case 8:return!1;case 4:return!0;case 1:case 2:return["+","=",",","\\/","dot","dot.op","arrow","arrow.r"].includes(this.head.value);default:return!1}}toString(){return this.head.toString()}serialize(e,t){if(this.head.type===2){if(this.head.value===","&&e.insideFunctionDepth>0)return[ge,new x(1,"comma")]}else if(this.head.type===1){let r=this.head.value;return t.preferShorthands&&zi.has(r)&&(r=zi.get(r)),t.inftyToOo&&r==="infinity"&&(r="oo"),[new x(1,r)]}else if(this.head.type===6||this.head.type===8){let r=[];for(let n of this.head.value)if(n===" ")t.keepSpaces&&r.push(new x(6,n));else if(n===`
66
+ `)r.push(new x(1,n));else throw new jm(`Unexpected whitespace character: ${n}`,this);return r}return[this.head]}},$m=class{constructor(){C(this,"queue",[])}pushSoftSpace(){if(this.queue.length!==0){{if(this.queue.at(-1).eq(ge))return;if(["(","{","["].includes(this.queue.at(-1).value))return}this.queue.push(ge)}}pushAll(e){if(e.length!=0)if(e[0].eq(ge)&&this.queue.length===0)this.queue.push(...e.slice(1));else{if([")","}","]"].includes(e[0].value))for(;this.queue.at(-1)?.eq(ge);)this.queue.pop();this.queue.push(...e)}}getQueue(){let e=Array.from(this.queue);for(;e.at(-1)?.eq(ge);)e.pop();return e}},Mi=class extends Je{constructor(t){super("group",x.NONE);C(this,"items");this.items=t}isOverHigh(){return this.items.some(t=>t.isOverHigh())}isLeftSpaceful(){return this.items.length===0?!1:this.items[0].isLeftSpaceful()}isRightSpaceful(){return this.items.length===0?!1:this.items.at(-1).isRightSpaceful()}serialize(t,r){if(this.items.length===0)return[];let n=new $m;for(let a=0;a<this.items.length;a++){let o=this.items[a],l=o.serialize(t,r);o.isLeftSpaceful()&&n.pushSoftSpace(),n.pushAll(l),o.isRightSpaceful()&&n.pushSoftSpace()}let i=n.getQueue();if(i.length>0&&(i[0].eq(x.MINUS)||i[0].eq(x.PLUS)))for(;i.length>1&&i[1].eq(ge);)i.splice(1,1);return i}},Hi=class extends Je{constructor(t){super("supsub",x.NONE);C(this,"base");C(this,"sup");C(this,"sub");this.base=t.base,this.sup=t.sup,this.sub=t.sub}isOverHigh(){return this.base.isOverHigh()}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[],{base:i,sup:a,sub:o}=this;n.push(...i.serialize(t,r));let l=a&&a.head.eq(new x(2,"'"));return l&&n.push(new x(2,"'")),o&&(n.push(new x(2,"_")),n.push(...o.serialize(t,r))),a&&!l&&(n.push(new x(2,"^")),n.push(...a.serialize(t,r))),n}},pe=class extends Je{constructor(t,r){super("funcCall",t);C(this,"args");this.args=r}isOverHigh(){return this.head.value==="frac"?!0:this.args.some(t=>t.isOverHigh())}isLeftSpaceful(){return!0}isRightSpaceful(){return!["op","bold","dot"].includes(this.head.value)}serialize(t,r){let n=[],i=this.head;n.push(i),t.insideFunctionDepth++,n.push(Vr);for(let a=0;a<this.args.length;a++)n.push(...this.args[a].serialize(t,r)),a<this.args.length-1&&(n.push(new x(2,",")),n.push(ge));if(this.options)for(let[a,o]of Object.entries(this.options))n.push(new x(3,`, ${a}: ${o.toString()}`));return n.push(Yr),t.insideFunctionDepth--,n}},Vm=class extends Je{constructor(t){super("fraction",x.NONE);C(this,"args");this.args=t}isOverHigh(){return!0}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[],[i,a]=this.args;return n.push(...i.serialize(t,r)),n.push(new x(2,"/")),n.push(...a.serialize(t,r)),n}},Vr=new x(2,"("),Yr=new x(2,")"),Te=class extends Je{constructor(t,r){super("leftright",t);C(this,"body");C(this,"left");C(this,"right");this.body=r.body,this.left=r.left,this.right=r.right}isOverHigh(){return this.body.isOverHigh()}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[],i=new x(1,"lr"),{left:a,right:o}=this;return this.head.eq(i)&&(n.push(i),n.push(Vr)),a&&(n.push(a),jl(a.value[0])&&n.push(ge)),n.push(...this.body.serialize(t,r)),o&&(jl(o.value[0])&&n.push(ge),n.push(o)),this.head.eq(i)&&n.push(Yr),n}},He,Xe=(He=class extends Je{constructor(r,n){super("matrixLike",r);C(this,"matrix");this.matrix=n}isOverHigh(){return!0}isLeftSpaceful(){return!0}isRightSpaceful(){return!1}serialize(r,n){let i=[],a,o;if(this.head.eq(He.MAT)?(a=new x(2,","),o=new x(2,";")):this.head.eq(He.CASES)?(a=new x(2,"&"),o=new x(2,",")):this.head.eq(x.NONE)&&(a=new x(2,"&"),o=new x(1,"\\")),!this.head.eq(x.NONE)&&(i.push(this.head),r.insideFunctionDepth++,i.push(Vr),this.options))for(let[l,s]of Object.entries(this.options))i.push(new x(3,`${l}: ${s.toString()}, `));return this.matrix.forEach((l,s)=>{l.forEach((u,p)=>{i.push(...u.serialize(r,n)),p<l.length-1?(a.value==="&"&&i.push(ge),i.push(a),i.push(ge)):s<this.matrix.length-1&&(o.value==="\\"&&i.push(ge),i.push(o),i.push(ge))})}),this.head.eq(x.NONE)||(i.push(Yr),r.insideFunctionDepth--),i}},C(He,"MAT",new x(1,"mat")),C(He,"CASES",new x(1,"cases")),He),Ym=class extends Je{constructor(t,r){super("markupFunc",t);C(this,"fragments");this.fragments=r}isOverHigh(){return this.fragments.some(t=>t.isOverHigh())}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(t,r){let n=[];if(n.push(this.head),t.insideFunctionDepth++,n.push(Vr),this.options){let i=Object.entries(this.options);for(let a=0;a<i.length;a++){let[o,l]=i[a];n.push(new x(3,`${o}: ${l.toString()}`)),a<i.length-1&&n.push(new x(2,","))}}n.push(Yr),n.push(new x(3,"["));for(let i of this.fragments)n.push(new x(3,"$")),n.push(...i.serialize(t,r)),n.push(new x(3,"$"));return n.push(new x(3,"]")),n}},Zl=new x(1,`
67
+ `),Ni=new x(7," "),Wm=class{constructor(e){C(this,"buffer","");C(this,"queue",[]);C(this,"options");this.options=e}serialize(e){let t={insideFunctionDepth:0};this.queue.push(...e.serialize(t,this.options))}flushQueue(){let e=this.queue.filter(n=>n.value!==""),t=[];for(let n of e)n.eq(Ni)&&t.length>0&&t[t.length-1].eq(Ni)||t.push(n);let r=new x(1,"");for(let n=0;n<t.length;n++)t[n].eq(Ni)&&(n===0||n===t.length-1||t[n-1].type===6||t[n-1].eq(Zl)||t[n+1].eq(Zl))&&(t[n]=r);for(let n of t)this.buffer+=n.toString();this.queue=[]}finalize(){this.flushQueue();let e=function(n){let i=n.replace(/floor\.l\s*(.*?)\s*floor\.r/g,"floor($1)");return i=i.replace(/floor\(\)/g,'floor("")'),i},t=function(n){let i=n.replace(/ceil\.l\s*(.*?)\s*ceil\.r/g,"ceil($1)");return i=i.replace(/ceil\(\)/g,'ceil("")'),i},r=function(n){let i=n.replace(/floor\.l\s*(.*?)\s*ceil\.r/g,"round($1)");return i=i.replace(/round\(\)/g,'round("")'),i};if(this.options.optimize){let n=[e,t,r];for(let i of n)this.buffer=i(this.buffer)}return this.buffer=this.buffer.replace(/& =/g,"&="),this.buffer}},Ae=new Map([["displaystyle","display"],["textstyle","inline"],["hspace","#h"],["|","bar.v.double"],[",","thin"],[":","med"],[" ","med"],[";","thick"],[">","med"],["~","space.nobreak"],["blacktriangleleft","triangle.filled.l"],["blacktriangleright","triangle.filled.r"],["clubsuit","suit.club.filled"],["hookleftarrow","arrow.l.hook"],["hookrightarrow","arrow.r.hook"],["leftrightarrow","arrow.l.r"],["lgblksquare","square.filled.big"],["lgwhtsquare","square.stroked.big"],["nearrow","arrow.tr"],["nwarrow","arrow.tl"],["searrow","arrow.br"],["swarrow","arrow.bl"],["spadesuit","suit.spade.filled"],["updownarrow","arrow.t.b"],["ln","ln"],["log","log"],["cos","cos"],["sin","sin"],["tan","tan"],["cot","cot"],["sec","sec"],["csc","csc"],["mod","mod"],["omicron","omicron"],["Xi","Xi"],["Upsilon","Upsilon"],["lim","lim"],["binom","binom"],["tilde","tilde"],["hat","hat"],["sqrt","sqrt"],["bmod","mod"],["nonumber",""],["vec","arrow"],["neq","eq.not"],["dot","dot"],["ddot","dot.double"],["doteq","dot(eq)"],["dots","dots.h"],["vdots","dots.v"],["ddots","dots.down"],["widehat","hat"],["widetilde","tilde"],["quad","quad"],["qquad","wide"],["overbrace","overbrace"],["underbrace","underbrace"],["overline","overline"],["underline","underline"],["bar","macron"],["dbinom","binom"],["tbinom","binom"],["dfrac","frac"],["tfrac","frac"],["operatorname","op"],["operatorname*","op"],["boldsymbol","bold"],["mathbb","bb"],["mathbf","bold"],["mathcal","cal"],["mathscr","scr"],["mathit","italic"],["mathfrak","frak"],["mathrm","upright"],["mathsf","sans"],["mathtt","mono"],["rm","upright"],["pmb","bold"],["leadsto","arrow.r.squiggly"],["P","pilcrow"],["S","section"],["aleph","alef"],["infin","infinity"],["Delta","Delta"],["Gamma","Gamma"],["Lambda","Lambda"],["Omega","Omega"],["Phi","Phi"],["Pi","Pi"],["Psi","Psi"],["Sigma","Sigma"],["Theta","Theta"],["alpha","alpha"],["beta","beta"],["bigcirc","circle.big"],["bullet","bullet"],["cdot","dot.op"],["cdots","dots.c"],["checkmark","checkmark"],["chi","chi"],["circ","circle.small"],["colon","colon"],["cong","tilde.equiv"],["coprod","product.co"],["copyright","copyright"],["cup","union"],["curlyvee","or.curly"],["curlywedge","and.curly"],["dagger","dagger"],["dashv","tack.l"],["ddagger","dagger.double"],["delta","delta"],["ddots","dots.down"],["diamond","diamond"],["div","div"],["divideontimes","times.div"],["dotplus","plus.dot"],["ell","ell"],["emptyset","nothing"],["epsilon","epsilon.alt"],["equiv","equiv"],["eta","eta"],["exists","exists"],["forall","forall"],["gamma","gamma"],["ge","gt.eq"],["geq","gt.eq"],["geqslant","gt.eq.slant"],["gg","gt.double"],["hbar","planck"],["imath","dotless.i"],["iiiint","integral.quad"],["iiint","integral.triple"],["iint","integral.double"],["in","in"],["infty","infinity"],["int","integral"],["intercal","top"],["iota","iota"],["jmath","dotless.j"],["kappa","kappa"],["lambda","lambda"],["land","and"],["langle","chevron.l"],["lbrace","brace.l"],["lbrack","bracket.l"],["ldots","dots.h"],["le","lt.eq"],["leftthreetimes","times.three.l"],["leftrightarrow","arrow.l.r"],["leq","lt.eq"],["leqslant","lt.eq.slant"],["lhd","triangle.l"],["ll","lt.double"],["lor","or"],["ltimes","times.l"],["measuredangle","angle.arc"],["mid","divides"],["models","models"],["mp","minus.plus"],["mu","mu"],["nabla","nabla"],["ncong","tilde.equiv.not"],["ne","eq.not"],["neg","not"],["neq","eq.not"],["nexists","exists.not"],["ni","in.rev"],["nleftarrow","arrow.l.not"],["nleq","lt.eq.not"],["nparallel","parallel.not"],["ngeq","gt.eq.not"],["nmid","divides.not"],["notin","in.not"],["nsim","tilde.not"],["nsubseteq","subset.eq.not"],["nu","nu"],["ntriangleleft","lt.tri.not"],["ntriangleright","gt.tri.not"],["odot","dot.circle"],["oint","integral.cont"],["oiint","integral.surf"],["oiiint","integral.vol"],["omega","omega"],["ominus","minus.circle"],["otimes","times.circle"],["parallel","parallel"],["partial","partial"],["perp","perp"],["phi","phi.alt"],["pi","pi"],["pm","plus.minus"],["pounds","pound"],["prec","prec"],["preceq","prec.eq"],["prime","prime"],["prod","product"],["propto","prop"],["psi","psi"],["rangle","chevron.r"],["rbrace","brace.r"],["rbrack","bracket.r"],["rhd","triangle"],["rho","rho"],["rightarrow","arrow.r"],["rightthreetimes","times.three.r"],["rtimes","times.r"],["setminus","without"],["sigma","sigma"],["sim","tilde.op"],["simeq","tilde.eq"],["slash","slash"],["smallsetminus","without"],["spadesuit","suit.spade"],["sqsubseteq","subset.eq.sq"],["sqsupseteq","supset.eq.sq"],["subset","subset"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["succeq","succ.eq"],["sum","sum"],["supset","supset"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["tau","tau"],["theta","theta"],["times","times"],["to","arrow.r"],["top","top"],["triangle","triangle.t"],["twoheadrightarrow","arrow.r.twohead"],["upharpoonright","harpoon.tr"],["uplus","union.plus"],["upsilon","upsilon"],["varepsilon","epsilon"],["varnothing","diameter"],["varphi","phi"],["varpi","pi.alt"],["varrho","rho.alt"],["varsigma","sigma.alt"],["vartheta","theta.alt"],["vdash","tack.r"],["vdots","dots.v"],["vee","or"],["wedge","and"],["wr","wreath"],["xi","xi"],["yen","yen"],["zeta","zeta"],["intop","limits(integral)"],["LaTeX","#LaTeX"],["TeX","#TeX"]]),Km=new Map([["acwopencirclearrow","arrow.ccw"],["adots","dots.up"],["angdnr","angle.acute"],["angle","angle"],["angles","angle.s"],["approx","approx"],["approxeq","approx.eq"],["approxident","tilde.triple"],["assert","tack.r.short"],["ast","ast.op"],["astrosun","sun"],["asymp","asymp"],["awint","integral.ccw"],["backcong","tilde.rev.equiv"],["backdprime","prime.double.rev"],["backprime","prime.rev"],["backsim","tilde.rev"],["backsimeq","tilde.eq.rev"],["backslash","backslash"],["backtrprime","prime.triple.rev"],["bardownharpoonleft","harpoon.bl.bar"],["bardownharpoonright","harpoon.br.bar"],["barleftarrow","arrow.l.stop"],["barleftarrowrightarrowbar","arrows.lr.stop"],["barleftharpoondown","harpoon.lb.stop"],["barleftharpoonup","harpoon.lt.stop"],["barrightharpoondown","harpoon.rb.bar"],["barrightharpoonup","harpoon.rt.bar"],["baruparrow","arrow.t.stop"],["barupharpoonleft","harpoon.tl.stop"],["barupharpoonright","harpoon.tr.stop"],["barV","tack.b.double"],["BbbA","AA"],["BbbB","BB"],["BbbC","CC"],["BbbD","DD"],["BbbE","EE"],["BbbF","FF"],["BbbG","GG"],["BbbH","HH"],["BbbI","II"],["BbbJ","JJ"],["BbbK","KK"],["BbbL","LL"],["BbbM","MM"],["BbbN","NN"],["BbbO","OO"],["BbbP","PP"],["BbbQ","QQ"],["BbbR","RR"],["BbbS","SS"],["BbbT","TT"],["BbbU","UU"],["BbbV","VV"],["BbbW","WW"],["BbbX","XX"],["BbbY","YY"],["BbbZ","ZZ"],["because","because"],["bigblacktriangledown","triangle.filled.b"],["bigblacktriangleup","triangle.filled.t"],["bigbot","tack.t.big"],["bigcap","inter.big"],["bigcup","union.big"],["bigcupdot","union.dot.big"],["biginterleave","interleave.big"],["bigodot","dot.o.big"],["bigoplus","plus.o.big"],["bigotimes","times.o.big"],["bigsqcap","inter.sq.big"],["bigsqcup","union.sq.big"],["bigstar","star.filled"],["bigtimes","times.big"],["bigtop","tack.b.big"],["bigtriangledown","triangle.stroked.b"],["bigtriangleup","triangle.stroked.t"],["biguplus","union.plus.big"],["bigvee","or.big"],["bigwedge","and.big"],["bigwhitestar","star.stroked"],["blackhourglass","hourglass.filled"],["blacktriangle","triangle.filled.small.t"],["blacktriangledown","triangle.filled.small.b"],["blkhorzoval","ellipse.filled.h"],["blkvertoval","ellipse.filled.v"],["bot","bot"],["boxast","ast.square"],["boxdot","dot.square"],["boxminus","minus.square"],["boxplus","plus.square"],["boxtimes","times.square"],["cap","inter"],["Cap","inter.double"],["capdot","inter.dot"],["capwedge","inter.and"],["caretinsert","caret"],["cdot","dot.op"],["cdotp","dot.c"],["checkmark","checkmark"],["circledast","ast.op.o"],["circledbullet","bullet.o"],["circledcirc","compose.o"],["circleddash","dash.o"],["circledequal","cc.nd"],["circledparallel","parallel.o"],["circledvert","bar.v.o"],["circledwhitebullet","bullet.stroked.o"],["Colon","colon.double"],["coloneq","colon.eq"],["Coloneq","colon.double.eq"],["complement","complement"],["cong","tilde.equiv"],["coprod","product.co"],["cup","union"],["Cup","union.double"],["cupdot","union.dot"],["cupleftarrow","union.arrow"],["cupvee","union.or"],["curlyeqprec","eq.prec"],["curlyeqsucc","eq.succ"],["curlyvee","or.curly"],["curlywedge","and.curly"],["curvearrowleft","arrow.ccw.half"],["curvearrowright","arrow.cw.half"],["cwopencirclearrow","arrow.cw"],["dagger","dagger"],["dashcolon","dash.colon"],["dashv","tack.l"],["Dashv","tack.l.double"],["dashVdash","tack.l.r"],["ddagger","dagger.double"],["ddddot","dot.quad"],["dddot","dot.triple"],["ddots","dots.down"],["DDownarrow","arrow.b.quad"],["Ddownarrow","arrow.b.triple"],["diameter","diameter"],["diamondcdot","diamond.stroked.dot"],["diamondsuit","suit.diamond.stroked"],["dicei","die.one"],["diceii","die.two"],["diceiii","die.three"],["diceiv","die.four"],["dicev","die.five"],["dicevi","die.six"],["div","div"],["divideontimes","times.div"],["Doteq","eq.dots"],["dotminus","minus.dot"],["dotplus","plus.dot"],["dotsim","tilde.dot"],["dottedcircle","circle.dotted"],["dottedsquare","square.stroked.dotted"],["doubleplus","plus.double"],["downarrow","arrow.b"],["Downarrow","arrow.b.double"],["downarrowbar","arrow.b.stop"],["downarrowbarred","arrow.b.struck"],["downdasharrow","arrow.b.dashed"],["downdownarrows","arrows.bb"],["downharpoonleft","harpoon.bl"],["downharpoonleftbar","harpoon.bl.stop"],["downharpoonright","harpoon.br"],["downharpoonrightbar","harpoon.br.stop"],["downharpoonsleftright","harpoons.blbr"],["downuparrows","arrows.bt"],["downupharpoonsleftright","harpoons.bltr"],["downwhitearrow","arrow.b.stroked"],["downzigzagarrow","arrow.zigzag"],["dprime","prime.double"],["dualmap","multimap.double"],["eighthnote","note.eighth.alt"],["ell","ell"],["emptysetoarr","emptyset.arrow.r"],["emptysetoarrl","emptyset.arrow.l"],["emptysetobar","emptyset.bar"],["emptysetocirc","emptyset.circle"],["eparsl","parallel.slanted.eq"],["eqcolon","eq.colon"],["eqdef","eq.def"],["eqgtr","eq.gt"],["eqless","eq.lt"],["eqsim","minus.tilde"],["equal","eq"],["equalparallel","parallel.eq"],["equiv","eq.triple"],["Equiv","eq.quad"],["equivVert","parallel.equiv"],["eqvparsl","parallel.slanted.equiv"],["errbarblackcircle","errorbar.circle.filled"],["errbarblackdiamond","errorbar.diamond.filled"],["errbarblacksquare","errorbar.square.filled"],["errbarcircle","errorbar.circle.stroked"],["errbardiamond","errorbar.diamond.stroked"],["errbarsquare","errorbar.square.stroked"],["euro","euro"],["exists","exists"],["fallingdotseq","eq.dots.down"],["fint","integral.slash"],["flat","flat"],["forall","forall"],["fourvdots","fence.dotted"],["frown","frown"],["fullouterjoin","join.l.r"],["geq","gt.eq"],["geqq","gt.equiv"],["geqslant","gt.eq.slant"],["gg","gt.double"],["ggg","gt.triple"],["gggnest","gt.triple.nested"],["gnapprox","gt.napprox"],["gneq","gt.neq"],["gneqq","gt.nequiv"],["gnsim","gt.ntilde"],["greater","gt"],["gtlpar","angle.spheric.rev"],["gtrapprox","gt.approx"],["gtrdot","gt.dot"],["gtreqless","gt.eq.lt"],["gtrless","gt.lt"],["gtrsim","gt.tilde"],["heartsuit","suit.heart.stroked"],["hknearrow","arrow.tr.hook"],["hknwarrow","arrow.tl.hook"],["hksearrow","arrow.br.hook"],["hkswarrow","arrow.bl.hook"],["horizbar","bar.h"],["hourglass","hourglass.stroked"],["hrectangle","rect.stroked.h"],["hrectangleblack","rect.filled.h"],["hyphenbullet","bullet.hyph"],["iiiint","integral.quad"],["iiint","integral.triple"],["iinfin","infinity.incomplete"],["iint","integral.double"],["Im","Im"],["imageof","image"],["in","in"],["increment","laplace"],["infty","infinity"],["int","integral"],["intbar","integral.dash"],["intBar","integral.dash.double"],["intcap","integral.inter"],["intclockwise","integral.cw"],["intcup","integral.union"],["interleave","interleave"],["intlarhk","integral.arrow.hook"],["intx","integral.times"],["inversebullet","bullet.hole"],["Join","join"],["langle","chevron.l"],["lAngle","chevron.l.double"],["langledot","chevron.l.dot"],["lat","lat"],["late","lat.eq"],["lbag","bag.l"],["lblkbrbrak","shell.l.filled"],["lbrace","brace.l"],["lBrace","brace.l.stroked"],["lbrack","bracket.l"],["lBrack","bracket.l.stroked"],["lbracklltick","bracket.l.tick.b"],["lbrackultick","bracket.l.tick.t"],["lbrbrak","shell.l"],["Lbrbrak","shell.l.stroked"],["lceil","ceil.l"],["lcurvyangle","chevron.l.curly"],["leftarrow","arrow.l"],["Leftarrow","arrow.l.double"],["leftarrowtail","arrow.l.tail"],["leftarrowtriangle","arrow.l.open"],["leftdasharrow","arrow.l.dashed"],["leftdotarrow","arrow.l.dotted"],["leftdowncurvedarrow","arrow.l.curve"],["leftharpoondown","harpoon.lb"],["leftharpoondownbar","harpoon.lb.bar"],["leftharpoonsupdown","harpoons.ltlb"],["leftharpoonup","harpoon.lt"],["leftharpoonupbar","harpoon.lt.bar"],["leftleftarrows","arrows.ll"],["leftouterjoin","join.l"],["Leftrightarrow","arrow.l.r.double"],["leftrightarrows","arrows.lr"],["leftrightarrowtriangle","arrow.l.r.open"],["leftrightharpoondowndown","harpoon.lb.rb"],["leftrightharpoondownup","harpoon.lb.rt"],["leftrightharpoons","harpoons.ltrb"],["leftrightharpoonsdown","harpoons.lbrb"],["leftrightharpoonsup","harpoons.ltrt"],["leftrightharpoonupdown","harpoon.lt.rb"],["leftrightharpoonupup","harpoon.lt.rt"],["leftrightsquigarrow","arrow.l.r.wave"],["leftsquigarrow","arrow.l.squiggly"],["leftthreearrows","arrows.lll"],["leftthreetimes","times.three.l"],["leftwavearrow","arrow.l.wave"],["leftwhitearrow","arrow.l.stroked"],["leq","lt.eq"],["leqq","lt.equiv"],["leqslant","lt.eq.slant"],["less","lt"],["lessapprox","lt.approx"],["lessdot","lt.dot"],["lesseqgtr","lt.eq.gt"],["lessgtr","lt.gt"],["lesssim","lt.tilde"],["lfloor","floor.l"],["lgblkcircle","circle.filled.big"],["lgroup","paren.l.flat"],["lgwhtcircle","circle.stroked.big"],["ll","lt.double"],["llangle","chevron.l.closed"],["llblacktriangle","triangle.filled.bl"],["llcorner","corner.l.b"],["LLeftarrow","arrow.l.quad"],["Lleftarrow","arrow.l.triple"],["lll","lt.triple"],["lllnest","lt.triple.nested"],["llparenthesis","paren.l.closed"],["lltriangle","triangle.stroked.bl"],["lmoustache","mustache.l"],["lnapprox","lt.napprox"],["lneq","lt.neq"],["lneqq","lt.nequiv"],["lnsim","lt.ntilde"],["longdashv","tack.l.long"],["Longleftarrow","arrow.l.double.long"],["longleftarrow","arrow.l.long"],["Longleftrightarrow","arrow.l.r.double.long"],["longleftrightarrow","arrow.l.r.long"],["longleftsquigarrow","arrow.l.long.squiggly"],["Longmapsfrom","arrow.l.double.long.bar"],["longmapsfrom","arrow.l.long.bar"],["longmapsto","arrow.r.long.bar"],["Longmapsto","arrow.r.double.long.bar"],["Longrightarrow","arrow.r.double.long"],["longrightarrow","arrow.r.long"],["longrightsquigarrow","arrow.r.long.squiggly"],["looparrowleft","arrow.l.loop"],["looparrowright","arrow.r.loop"],["lparen","paren.l"],["lParen","paren.l.stroked"],["lrblacktriangle","triangle.filled.br"],["lrcorner","corner.r.b"],["lrtriangle","triangle.stroked.br"],["ltimes","times.l"],["lvzigzag","fence.l"],["Lvzigzag","fence.l.double"],["maltese","maltese"],["mapsdown","arrow.b.bar"],["mapsfrom","arrow.l.bar"],["Mapsfrom","arrow.l.double.bar"],["mapsto","arrow.r.bar"],["Mapsto","arrow.r.double.bar"],["mapsup","arrow.t.bar"],["mathampersand","amp"],["mathatsign","at"],["mathcolon","colon"],["mathcomma","comma"],["mathdollar","dollar"],["mathexclam","excl"],["mathhyphen","hyph"],["mathparagraph","pilcrow"],["mathpercent","percent"],["mathperiod","dot.basic"],["mathplus","plus"],["mathquestion","quest"],["mathratio","ratio"],["mathsection","section"],["mathsemicolon","semi"],["mathslash","slash"],["mathsterling","pound"],["mathyen","yen"],["mdblkdiamond","diamond.filled.medium"],["mdblklozenge","lozenge.filled.medium"],["mdlgblkcircle","circle.filled"],["mdlgblkdiamond","diamond.filled"],["mdlgblklozenge","lozenge.filled"],["mdlgblksquare","square.filled"],["mdlgwhtcircle","circle.stroked"],["mdlgwhtdiamond","diamond.stroked"],["mdlgwhtlozenge","lozenge.stroked"],["mdlgwhtsquare","square.stroked"],["mdsmblkcircle","circle.filled.tiny"],["mdsmwhtcircle","circle.stroked.small"],["mdwhtdiamond","diamond.stroked.medium"],["mdwhtlozenge","lozenge.stroked.medium"],["measeq","eq.m"],["measuredangle","angle.arc"],["measuredangleleft","angle.arc.rev"],["measuredrightangle","angle.right.arc"],["mho","Omega.inv"],["mid","divides"],["minus","minus"],["models","models"],["mp","minus.plus"],["multimap","multimap"],["nabla","gradient"],["napprox","approx.not"],["nasymp","asymp.not"],["natural","natural"],["ncong","tilde.equiv.not"],["ne","eq.not"],["Nearrow","arrow.tr.double"],["neg","not"],["nequiv","equiv.not"],["neswarrow","arrow.tr.bl"],["nexists","exists.not"],["ngeq","gt.eq.not"],["ngtr","gt.not"],["ngtrless","gt.lt.not"],["ngtrsim","gt.tilde.not"],["nHdownarrow","arrow.b.dstruck"],["nhpar","parallel.struck"],["nHuparrow","arrow.t.dstruck"],["nhVvert","interleave.struck"],["ni","in.rev"],["nLeftarrow","arrow.l.double.not"],["nleftarrow","arrow.l.not"],["nLeftrightarrow","arrow.l.r.double.not"],["nleftrightarrow","arrow.l.r.not"],["nleq","lt.eq.not"],["nless","lt.not"],["nlessgtr","lt.gt.not"],["nlesssim","lt.tilde.not"],["nmid","divides.not"],["nni","in.rev.not"],["notin","in.not"],["nparallel","parallel.not"],["nprec","prec.not"],["npreccurlyeq","prec.curly.eq.not"],["nRightarrow","arrow.r.double.not"],["nrightarrow","arrow.r.not"],["nsim","tilde.not"],["nsimeq","tilde.eq.not"],["nsqsubseteq","subset.eq.sq.not"],["nsqsupseteq","supset.eq.sq.not"],["nsubset","subset.not"],["nsubseteq","subset.eq.not"],["nsucc","succ.not"],["nsucccurlyeq","succ.curly.eq.not"],["nsupset","supset.not"],["nsupseteq","supset.eq.not"],["ntrianglelefteq","lt.tri.eq.not"],["ntrianglerighteq","gt.tri.eq.not"],["nvartriangleleft","lt.tri.not"],["nvartriangleright","gt.tri.not"],["nVdash","forces.not"],["nvdash","tack.r.not"],["nvDash","tack.r.double.not"],["nvinfty","infinity.bar"],["nvLeftarrow","arrow.l.double.struck"],["nvleftarrow","arrow.l.struck"],["nVleftarrow","arrow.l.dstruck"],["nvleftarrowtail","arrow.l.tail.struck"],["nVleftarrowtail","arrow.l.tail.dstruck"],["nvLeftrightarrow","arrow.l.r.double.struck"],["nvleftrightarrow","arrow.l.r.struck"],["nVleftrightarrow","arrow.l.r.dstruck"],["nvRightarrow","arrow.r.double.struck"],["nvrightarrow","arrow.r.struck"],["nVrightarrow","arrow.r.dstruck"],["nvrightarrowtail","arrow.r.tail.struck"],["nVrightarrowtail","arrow.r.tail.dstruck"],["nvtwoheadleftarrow","arrow.l.twohead.struck"],["nVtwoheadleftarrow","arrow.l.twohead.dstruck"],["nvtwoheadleftarrowtail","arrow.l.twohead.tail.struck"],["nVtwoheadleftarrowtail","arrow.l.twohead.tail.dstruck"],["nvtwoheadrightarrow","arrow.r.twohead.struck"],["nVtwoheadrightarrow","arrow.r.twohead.dstruck"],["nvtwoheadrightarrowtail","arrow.r.twohead.tail.struck"],["nVtwoheadrightarrowtail","arrow.r.twohead.tail.dstruck"],["Nwarrow","arrow.tl.double"],["nwsearrow","arrow.tl.br"],["obrbrak","shell.t"],["obslash","backslash.o"],["odiv","div.o"],["odot","dot.o"],["odotslashdot","div.slanted.o"],["ogreaterthan","gt.o"],["oiiint","integral.vol"],["oiint","integral.surf"],["oint","integral.cont"],["ointctrclockwise","integral.cont.ccw"],["olessthan","lt.o"],["ominus","minus.o"],["operp","perp.o"],["oplus","plus.o"],["opluslhrim","plus.o.l"],["oplusrhrim","plus.o.r"],["origof","original"],["oslash","slash.o"],["otimes","times.o"],["otimeshat","times.o.hat"],["otimeslhrim","times.o.l"],["otimesrhrim","times.o.r"],["parallel","parallel"],["parallelogram","parallelogram.stroked"],["parallelogramblack","parallelogram.filled"],["parsim","parallel.tilde"],["partial","partial"],["pentagon","penta.stroked"],["pentagonblack","penta.filled"],["perp","perp"],["pm","plus.minus"],["prec","prec"],["Prec","prec.double"],["precapprox","prec.approx"],["preccurlyeq","prec.curly.eq"],["preceq","prec.eq"],["preceqq","prec.equiv"],["precnapprox","prec.napprox"],["precneq","prec.neq"],["precneqq","prec.nequiv"],["precnsim","prec.ntilde"],["precsim","prec.tilde"],["prime","prime"],["prod","product"],["propto","prop"],["QED","qed"],["qprime","prime.quad"],["quarternote","note.quarter.alt"],["questeq","eq.quest"],["Question","quest.double"],["rangle","chevron.r"],["rAngle","chevron.r.double"],["rangledot","chevron.r.dot"],["rangledownzigzagarrow","angle.azimuth"],["rbag","bag.r"],["rblkbrbrak","shell.r.filled"],["rbrace","brace.r"],["rBrace","brace.r.stroked"],["rbrack","bracket.r"],["rBrack","bracket.r.stroked"],["rbracklrtick","bracket.r.tick.b"],["rbrackurtick","bracket.r.tick.t"],["rbrbrak","shell.r"],["Rbrbrak","shell.r.stroked"],["rceil","ceil.r"],["rcurvyangle","chevron.r.curly"],["Re","Re"],["revangle","angle.rev"],["revemptyset","emptyset.rev"],["revnmid","divides.not.rev"],["rfloor","floor.r"],["rgroup","paren.r.flat"],["rightangle","angle.right"],["rightanglemdot","angle.right.dot"],["rightanglesqr","angle.right.square"],["rightarrow","arrow.r"],["Rightarrow","arrow.r.double"],["rightarrowbar","arrow.r.stop"],["rightarrowonoplus","plus.o.arrow"],["rightarrowtail","arrow.r.tail"],["rightarrowtriangle","arrow.r.open"],["rightdasharrow","arrow.r.dashed"],["rightdotarrow","arrow.r.dotted"],["rightdowncurvedarrow","arrow.r.curve"],["rightharpoondown","harpoon.rb"],["rightharpoondownbar","harpoon.rb.stop"],["rightharpoonsupdown","harpoons.rtrb"],["rightharpoonup","harpoon.rt"],["rightharpoonupbar","harpoon.rt.stop"],["rightleftarrows","arrows.rl"],["rightleftharpoons","harpoons.rtlb"],["rightleftharpoonsdown","harpoons.rblb"],["rightleftharpoonsup","harpoons.rtlt"],["rightouterjoin","join.r"],["rightrightarrows","arrows.rr"],["rightsquigarrow","arrow.r.squiggly"],["rightthreearrows","arrows.rrr"],["rightthreetimes","times.three.r"],["rightwavearrow","arrow.r.wave"],["rightwhitearrow","arrow.r.stroked"],["risingdotseq","eq.dots.up"],["rmoustache","mustache.r"],["rparen","paren.r"],["rParen","paren.r.stroked"],["rrangle","chevron.r.closed"],["RRightarrow","arrow.r.quad"],["Rrightarrow","arrow.r.triple"],["rrparenthesis","paren.r.closed"],["rsolbar","backslash.not"],["rtimes","times.r"],["rvzigzag","fence.r"],["Rvzigzag","fence.r.double"],["Searrow","arrow.br.double"],["setminus","without"],["sharp","sharp"],["shortdowntack","tack.b.short"],["shortlefttack","tack.l.short"],["shortuptack","tack.t.short"],["sim","tilde.op"],["sime","tilde.eq"],["similarleftarrow","arrow.l.tilde"],["similarrightarrow","arrow.r.tilde"],["simneqq","tilde.nequiv"],["smallblacktriangleleft","triangle.filled.small.l"],["smallblacktriangleright","triangle.filled.small.r"],["smallin","in.small"],["smallni","in.rev.small"],["smalltriangleleft","triangle.stroked.small.l"],["smalltriangleright","triangle.stroked.small.r"],["smashtimes","smash"],["smblkcircle","bullet"],["smblkdiamond","diamond.filled.small"],["smblklozenge","lozenge.filled.small"],["smeparsl","parallel.slanted.eq.tilde"],["smile","smile"],["smt","smt"],["smte","smt.eq"],["smwhtcircle","bullet.stroked"],["smwhtdiamond","diamond.stroked.small"],["smwhtlozenge","lozenge.stroked.small"],["sphericalangle","angle.spheric"],["sphericalangleup","angle.spheric.t"],["sqcap","inter.sq"],["Sqcap","inter.sq.double"],["sqcup","union.sq"],["Sqcup","union.sq.double"],["sqint","integral.square"],["sqsubset","subset.sq"],["sqsubseteq","subset.eq.sq"],["sqsubsetneq","subset.sq.neq"],["sqsupset","supset.sq"],["sqsupseteq","supset.eq.sq"],["sqsupsetneq","supset.sq.neq"],["squoval","square.stroked.rounded"],["sslash","slash.double"],["star","star.op"],["stareq","eq.star"],["subset","subset"],["Subset","subset.double"],["subsetdot","subset.dot"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["Succ","succ.double"],["succapprox","succ.approx"],["succcurlyeq","succ.curly.eq"],["succeq","succ.eq"],["succeqq","succ.equiv"],["succnapprox","succ.napprox"],["succneq","succ.neq"],["succneqq","succ.nequiv"],["succnsim","succ.ntilde"],["succsim","succ.tilde"],["sum","sum"],["sumint","sum.integral"],["supset","supset"],["Supset","supset.double"],["supsetdot","supset.dot"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["Swarrow","arrow.bl.double"],["therefore","therefore"],["threedangle","angle.spatial"],["threedotcolon","colon.tri.op"],["tieinfty","infinity.tie"],["times","times"],["tminus","miny"],["top","tack.b"],["tplus","tiny"],["trianglecdot","triangle.stroked.dot"],["triangledown","triangle.stroked.small.b"],["triangleleft","triangle.stroked.l"],["trianglelefteq","lt.tri.eq"],["triangleminus","minus.triangle"],["triangleplus","plus.triangle"],["triangleq","eq.delta"],["triangleright","triangle.stroked.r"],["trianglerighteq","gt.tri.eq"],["triangletimes","times.triangle"],["tripleplus","plus.triple"],["trprime","prime.triple"],["trslash","slash.triple"],["turnediota","iota.inv"],["twoheaddownarrow","arrow.b.twohead"],["twoheadleftarrow","arrow.l.twohead"],["twoheadleftarrowtail","arrow.l.twohead.tail"],["twoheadmapsfrom","arrow.l.twohead.bar"],["twoheadmapsto","arrow.r.twohead.bar"],["twoheadrightarrow","arrow.r.twohead"],["twoheadrightarrowtail","arrow.r.twohead.tail"],["twoheaduparrow","arrow.t.twohead"],["twonotes","note.eighth.beamed"],["ubrbrak","shell.b"],["ulblacktriangle","triangle.filled.tl"],["ulcorner","corner.l.t"],["ultriangle","triangle.stroked.tl"],["uminus","union.minus"],["underbrace","brace.b"],["underbracket","bracket.b"],["underparen","paren.b"],["unicodecdots","dots.h.c"],["unicodeellipsis","dots.h"],["upand","amp.inv"],["uparrow","arrow.t"],["Uparrow","arrow.t.double"],["uparrowbarred","arrow.t.struck"],["upbackepsilon","epsilon.alt.rev"],["updasharrow","arrow.t.dashed"],["upDigamma","Digamma"],["updigamma","digamma"],["Updownarrow","arrow.t.b.double"],["updownarrows","arrows.tb"],["updownharpoonleftleft","harpoon.tl.bl"],["updownharpoonleftright","harpoon.tl.br"],["updownharpoonrightleft","harpoon.tr.bl"],["updownharpoonrightright","harpoon.tr.br"],["updownharpoonsleftright","harpoons.tlbr"],["upharpoonleft","harpoon.tl"],["upharpoonleftbar","harpoon.tl.bar"],["upharpoonright","harpoon.tr"],["upharpoonrightbar","harpoon.tr.bar"],["upharpoonsleftright","harpoons.tltr"],["uplus","union.plus"],["upuparrows","arrows.tt"],["upwhitearrow","arrow.t.stroked"],["urblacktriangle","triangle.filled.tr"],["urcorner","corner.r.t"],["urtriangle","triangle.stroked.tr"],["UUparrow","arrow.t.quad"],["Uuparrow","arrow.t.triple"],["varclubsuit","suit.club.stroked"],["varhexagon","hexa.stroked"],["varhexagonblack","hexa.filled"],["varnothing","emptyset"],["varointclockwise","integral.cont.cw"],["varspadesuit","suit.spade.stroked"],["vartriangle","triangle.stroked.small.t"],["vartriangleleft","lt.tri"],["vartriangleright","gt.tri"],["Vbar","tack.t.double"],["Vdash","forces"],["vdash","tack.r"],["vDash","tack.r.double"],["vdots","dots.v"],["vee","or"],["Vee","or.double"],["veedot","or.dot"],["veeeq","eq.equi"],["vert","bar.v"],["Vert","bar.v.double"],["vlongdash","tack.r.long"],["vrectangle","rect.stroked.v"],["vrectangleblack","rect.filled.v"],["Vvert","bar.v.triple"],["vysmblkcircle","circle.filled.small"],["vysmwhtcircle","circle.stroked.tiny"],["wedge","and"],["Wedge","and.double"],["wedgedot","and.dot"],["wedgeq","eq.est"],["whiteinwhitetriangle","triangle.stroked.nested"],["whthorzoval","ellipse.stroked.h"],["whtvertoval","ellipse.stroked.v"],["wideangledown","angle.obtuse"],["wr","wreath"],["xsol","slash.big"]]),Qm=new Map([["gets","leftarrow"],["iff","Longleftrightarrow"],["implies","Longrightarrow"]]);for(let[e,t]of Km)Ae.has(e)||Ae.set(e,t);var Ui=new Map;for(let[e,t]of Array.from(Ae.entries()).reverse())Ui.set(t,e);Ui.set("oo","infty");var Zm=new Map([["top","top"],["frac","frac"],["tilde","tilde"],["hat","hat"],["upright","mathrm"],["bold","boldsymbol"],["infinity","infty"],["diff","partial"]]);for(let[e,t]of Zm)Ui.set(e,t);for(let[e,t]of Qm)Ae.has(e)||Ae.set(e,Ae.get(t));var $r=class extends Error{constructor(t,r=null){super(t);C(this,"node");this.name="ConverterError",this.node=r}},Xm=x.NONE.toNode(),Jm=["dim","id","im","mod","Pr","sech","csch"];function ed(e){if(/^[a-zA-Z0-9]$/.test(e))return e;if(e==="/")return"\\/";if(["\\\\","\\{","\\}","\\%"].includes(e))return e.substring(1);if(["\\$","\\#","\\&","\\_"].includes(e))return e;if(e.startsWith("\\")){let t=e.slice(1);return Ae.has(t)?Ae.get(t):null}return e}function Nt(e,t){let r;switch(e.type){case 0:return x.NONE;case 2:r=1;break;case 1:r=2;break;case 3:r=3;break;case 4:r=5;break;case 5:r=6;break;case 6:r=8;break;case 7:{if(e.value==="\\\\")return new x(7,"\\");if(e.value==="\\!")return new x(1,"#h(-math.thin.amount)");if(e.value==="~"){let i=Ae.get("~");return new x(1,i)}else if(Ae.has(e.value.substring(1))){let i=Ae.get(e.value.substring(1));return new x(1,i)}else throw new Error(`Unknown control sequence: ${e.value}`)}default:throw Error(`Unknown token type: ${e.type}`)}let n=ed(e.value);if(n===null){if(t.nonStrict)return new x(r,e.value.substring(1));throw new $r(`Unknown token: ${e.value}`,e)}return new x(r,n)}function td(e,t){let[r,n]=e.args;if(t.optimize&&["\\overset{\\text{def}}{=}","\\overset{d e f}{=}"].includes(e.toString()))return new x(1,"eq.def").toNode();let i=new pe(new x(1,"limits"),[Q(n,t)]);return new Hi({base:i,sup:Q(r,t),sub:null})}function rd(e,t){let[r,n]=e.args,i=new pe(new x(1,"limits"),[Q(n,t)]);return new Hi({base:i,sub:Q(r,t),sup:null})}function nd(e){let t={},r={l:"#left",c:"#center",r:"#right"},n=Array.from(e),i=[],a=0;for(let l of n)l==="|"?i.push(a):(l==="l"||l==="c"||l==="r")&&a++;if(i.length>0){let l;i.length===1?l=`#${i[0]}`:l=`#(vline: (${i.join(", ")}))`,t.augment=new x(3,l).toNode()}let o=n.map(l=>r[l]).filter(l=>l!==void 0).map(l=>new x(3,l).toNode());if(o.length>0){let l=o.every(s=>s.eq(o[0]));t.align=l?o[0]:new x(3,"#center").toNode()}return t}var id=new x(2,"("),od=new x(2,")");function Ri(e){return["group","supsub","matrixLike","fraction","empty"].includes(e.type)?new Te(null,{left:id,right:od,body:e}):e}function Q(e,t){switch(e.type){case"terminal":return Nt(e.head,t).toNode();case"text":{let i=e;return new x(4,i.head.value).toNode()}case"ordgroup":let n=e;return new Mi(n.items.map(i=>Q(i,t)));case"supsub":{let i=e,{base:a,sup:o,sub:l}=i;if(a&&a.type==="funcCall"&&a.head.value==="\\overbrace"&&o)return new pe(new x(1,"overbrace"),[Q(a.args[0],t),Q(o,t)]);if(a&&a.type==="funcCall"&&a.head.value==="\\underbrace"&&l)return new pe(new x(1,"underbrace"),[Q(a.args[0],t),Q(l,t)]);let s={base:Q(a,t),sup:o?Q(o,t):null,sub:l?Q(l,t):null};return s.sup&&(s.sup=Ri(s.sup)),s.sub&&(s.sub=Ri(s.sub)),new Hi(s)}case"leftright":{let i=e,{left:a,right:o}=i,l=Q(i.body,t);if(t.optimize&&a!==null&&o!==null){let c=Nt(a,t),h=Nt(o,t);if(a.value==="\\|"&&o.value==="\\|")return new pe(new x(1,"norm"),[l]);if(["[]","()","\\{\\}","\\lfloor\\rfloor","\\lceil\\rceil","\\lfloor\\rceil"].includes(a.value+o.value))return new Mi([c.toNode(),l,h.toNode()])}let s=function(c){return["(",")","{","["].includes(c.value)?new x(2,"\\"+c.value):c},u=a?Nt(a,t):null,p=o?Nt(o,t):null;return u&&u.value==="<"&&(u=new x(1,"chevron.l")),p&&p.value===">"&&(p=new x(1,"chevron.r")),u===null&&p!==null&&(p=s(p)),p===null&&u!==null&&(u=s(u)),new Te(x.LR,{body:l,left:u,right:p})}case"funcCall":{let i=e,a=Q(i.args[0],t);if(i.head.value==="\\sqrt"&&i.data){let o=Q(i.data,t);return new pe(new x(1,"root"),[o,a])}if(i.head.value==="\\mathbf"){let o=new pe(new x(1,"bold"),[a]);return new pe(new x(1,"upright"),[o])}if(i.head.value==="\\overrightarrow")return new pe(new x(1,"arrow"),[a]);if(i.head.value==="\\overleftarrow")return new pe(new x(1,"accent"),[a,new x(1,"arrow.l").toNode()]);if(i.head.value==="\\operatorname"||i.head.value==="\\operatorname*"){if(t.optimize&&Jm.includes(a.head.value))return new x(1,a.head.value).toNode();let o=new pe(new x(1,"op"),[new x(4,a.head.value).toNode()]);return i.head.value==="\\operatorname*"&&o.setOptions({limits:new x(3,"#true").toNode()}),o}if(i.head.value==="\\textcolor"){let o=new Ym(new x(1,"#text"),[Q(i.args[1],t)]);return o.setOptions({fill:a}),o}if(i.head.value==="\\substack"||i.head.value==="\\displaylines"||i.head.value==="\\mathinner")return a;if(i.head.value==="\\mathrel")return new pe(new x(1,"class"),[new x(4,"relation").toNode(),a]);if(i.head.value==="\\mathbin")return new pe(new x(1,"class"),[new x(4,"binary").toNode(),a]);if(i.head.value==="\\mathop")return new pe(new x(1,"class"),[new x(4,"large").toNode(),a]);if(i.head.value==="\\not"){let o=Q(i.args[0],t);if(ae(o.type==="terminal"),o.head.type===1)return new x(1,o.head.value+".not").toNode();if(o.head.value==="=")return new x(1,"eq.not").toNode();throw new Error(`Not supported: \\not ${o.head.value}`)}if(i.head.value==="\\pmod"){let o=new Mi([new x(1,"mod").toNode(),a]);return new Te(null,{body:o,left:x.LEFT_PAREN,right:x.RIGHT_PAREN})}if(i.head.value==="\\overset")return td(i,t);if(i.head.value==="\\underset")return rd(i,t);if(["\\bra","\\ket","\\braket","\\set","\\Bra","\\Ket","\\Braket","\\Set"].includes(i.head.value)){let o=function(l,s){let u=new pe(new x(1,"mid"),[x.VERTICAL_BAR.toNode()]);if(l.type==="terminal"&&l.head.eq(x.VERTICAL_BAR))return u;if(l.type==="group"){let p=l;for(let c=0;c<p.items.length&&!(p.items[c].type==="terminal"&&p.items[c].head.eq(x.VERTICAL_BAR)&&(p.items[c]=u,s));c++);return p}else return l};var r=o;switch(i.head.value){case"\\bra":return new Te(null,{body:a,left:x.LEFT_ANGLE,right:x.VERTICAL_BAR});case"\\ket":return new Te(null,{body:a,left:x.VERTICAL_BAR,right:x.RIGHT_ANGLE});case"\\braket":return new Te(null,{body:a,left:x.LEFT_ANGLE,right:x.RIGHT_ANGLE});case"\\set":return new Te(null,{body:a,left:x.LEFT_BRACE,right:x.RIGHT_BRACE});case"\\Bra":return new Te(x.LR,{body:a,left:x.LEFT_ANGLE,right:x.VERTICAL_BAR});case"\\Ket":return new Te(x.LR,{body:a,left:x.VERTICAL_BAR,right:x.RIGHT_ANGLE});case"\\Braket":return new Te(x.LR,{body:o(a,!1),left:x.LEFT_ANGLE,right:x.RIGHT_ANGLE});case"\\Set":return new Te(x.LR,{body:o(a,!0),left:x.LEFT_BRACE,right:x.RIGHT_BRACE});default:}}if(i.head.value==="\\frac"&&t.fracToSlash)return new Vm(i.args.map(o=>Q(o,t)).map(Ri));if(t.optimize){if(i.head.value==="\\mathbb"&&/^\\mathbb{[A-Z]}$/.test(i.toString()))return new x(1,a.head.value.repeat(2)).toNode();if(i.head.value==="\\mathrm"&&i.toString()==="\\mathrm{d}")return new x(1,"dif").toNode()}return new pe(Nt(i.head,t),i.args.map(o=>Q(o,t)))}case"beginend":{let i=e,a=i.matrix.map(o=>o.map(l=>Q(l,t)));if(i.head.value.startsWith("align"))return new Xe(null,a);if(i.head.value==="cases")return new Xe(Xe.CASES,a);if(i.head.value==="subarray"){if(i.data)switch(i.data.head.value){case"r":a.forEach(l=>l.push(x.EMPTY.toNode()));break;case"l":a.forEach(l=>l.unshift(x.EMPTY.toNode()));break;default:break}return new Xe(null,a)}if(i.head.value==="array"){let o={delim:Xm};ae(i.data!==null&&i.head.type===3);let l=nd(i.data.head.value);Object.assign(o,l);let s=new Xe(Xe.MAT,a);return s.setOptions(o),s}if(i.head.value.endsWith("matrix")){let o=new Xe(Xe.MAT,a),l;switch(i.head.value){case"matrix":l=x.NONE;break;case"pmatrix":return o;case"bmatrix":l=new x(4,"[");break;case"Bmatrix":l=new x(4,"{");break;case"vmatrix":l=new x(4,"|");break;case"Vmatrix":{l=new x(1,"bar.v.double");break}default:throw new $r(`Unimplemented beginend: ${i.head}`,i)}return o.setOptions({delim:l.toNode()}),o}throw new $r(`Unimplemented beginend: ${i.head}`,i)}default:throw new $r(`Unimplemented node type: ${e.type}`,e)}}var fv=new q(1,",").toNode();var ad=Array.from(Pi.keys());function ld(){return`(${ad.map(t=>(t=t.replaceAll("|","\\|"),t=t.replaceAll(".","\\."),t=t.replaceAll("[","\\["),t=t.replaceAll("]","\\]"),t)).join("|")})`}var sd=ld(),hv=new Map([[String.raw`//[^\n]*`,e=>new x(5,e.text().substring(2))],[String.raw`/`,e=>new x(2,e.text())],[String.raw`[_^&]`,e=>new x(7,e.text())],[String.raw`\r?\n`,e=>new x(8,`
68
+ `)],[String.raw`\s+`,e=>new x(6,e.text())],[String.raw`\\[$&#_]`,e=>new x(2,e.text())],[String.raw`\\\n`,e=>[new x(7,"\\"),new x(8,`
69
+ `)]],[String.raw`\\\s`,e=>[new x(7,"\\"),new x(6," ")]],[String.raw`\\\S`,e=>new x(7,"")],[String.raw`"([^"]|(\\"))*"`,e=>{let t=e.text().substring(1,e.text().length-1);return t.replaceAll('\\"','"'),new x(4,t)}],[sd,e=>{let t=e.text(),r=Pi.get(t);return new x(1,r)}],[String.raw`[0-9]+(\.[0-9]+)?`,e=>new x(2,e.text())],[String.raw`[+\-*/=\'<>!.,;?()\[\]|]`,e=>new x(2,e.text())],[String.raw`#h\((.+?)\)`,e=>{let t=e.reMatchArray();return[new x(1,"#h"),new x(2,"("),new x(3,t[1]),new x(2,")")]}],[String.raw`#none`,e=>new x(0,e.text())],[String.raw`#?[a-zA-Z\.]+`,e=>new x(e.text().length===1?2:1,e.text())],[String.raw`.`,e=>new x(2,e.text())]]);var mv=new x(2,"/").toNode();var dv=new x(7,"_"),gv=new x(7,"^"),wv=new x(2,"("),bv=new x(2,")"),xv=new x(2,"["),kv=new x(2,"]"),yv=new x(2,"{"),vv=new x(2,"}"),Sv=new x(2,","),Tv=new x(2,";"),Ev=new x(7,"&");function Wr(e,t={}){let r={nonStrict:!0,preferShorthands:!0,keepSpaces:!1,fracToSlash:!0,inftyToOo:!1,optimize:!0,customTexMacros:{}};if(typeof t!="object")throw new Error("options must be an object");for(let o in r)o in t&&(r[o]=t[o]);let n=Um(e,r.customTexMacros),i=Q(n,r),a=new Wm(r);return a.serialize(i),a.finalize()}function xe(e,t){return e.map(r=>ud(r,t)).filter(Ke).join("")}function ud(e,t){let{definitions:r,footnoteDefinitions:n}=t;switch(e.type){case"text":return ht(e.value);case"strong":return`*${xe(e.children,t)}*`;case"emphasis":return`_${xe(e.children,t)}_`;case"delete":return`#strike[${xe(e.children,t)}]`;case"mark":return`#highlight[${xe(e.children,t)}]`;case"subscript":return`#sub[${xe(e.children,t)}]`;case"superscript":return`#super[${xe(e.children,t)}]`;case"footnoteReference":{let i=e,a=n.get(i.identifier.toLowerCase());if(!a)return t.onError&&t.onError({severity:"warning",message:`Footnote reference [^${i.identifier}] has no matching definition`,context:"inline rendering",details:{identifier:i.identifier}}),"";try{if(!t.renderBlock)throw new Error("renderBlock not available in context");return`#footnote[${a.children.map(l=>t.renderBlock(l,0,t)).filter(Ke).join(" ").trim()}]`}catch(o){let l=o instanceof Error?o.message:String(o);return t.onError&&t.onError({severity:"error",message:`Error rendering footnote [^${i.identifier}]: ${l}`,context:"inline rendering",originalError:o}),""}}case"inlineCode":return cd(e);case"inlineMath":{let i=e,a=i.value.trim();try{let o=Wr(a);return i.position?.end?.offset!=null&&i.position?.start?.offset!=null&&i.position.end.offset-i.position.start.offset>=a.length+4?`$ ${o} $`:`$${o}$`}catch(o){let l=o instanceof Error?o.message:String(o);return t.onError&&t.onError({severity:"warning",message:`Failed to convert inline math LaTeX to Typst: ${l}`,context:"inline math rendering",originalError:o,details:{latex:a}}),i.position?.end?.offset!=null&&i.position?.start?.offset!=null&&i.position.end.offset-i.position.start.offset>=a.length+4?`$ ${a} $`:`$${a}$`}}case"image":return pd(e,t);case"link":return fd(e,t);case"linkReference":return hd(e,t);case"break":return`\\
70
+ `;case"html":return ht(e.value);default:return null}}function cd(e){return`\`${e.value.replace(/`/g,"\\`")}\``}function pd(e,t){if(/^https?:\/\//i.test(e.url)){t.warnings.externalImages=!0;try{return`#external-image(
71
+ "${We(e.url)}"
72
+ )`}catch{return`#external-image(
73
+ "${e.url}"
74
+ )`}}else try{return`#image("${We(e.url)}")`}catch{return`#image("${e.url}")`}}function fd(e,t){let r=We(e.url),n=xe(e.children,t);return n.trim()?`#link("${r}")[${n}]`:`#link("${r}")[${ht(e.url)}]`}function hd(e,t){let{definitions:r}=t,n=r.get(e.identifier.toLowerCase()),i=xe(e.children,t);if(!n)return t.onError&&t.onError({severity:"warning",message:`Link reference [${e.identifier}] has no matching definition`,context:"inline rendering",details:{identifier:e.identifier}}),i||ht(e.label||e.identifier);try{let a=We(n.url);return i.trim()?`#link("${a}")[${i}]`:`#link("${a}")[${ht(n.url)}]`}catch(a){let o=a instanceof Error?a.message:String(a);return t.onError&&t.onError({severity:"error",message:`Error rendering link reference [${e.identifier}]: ${o}`,context:"inline rendering",originalError:a}),i||ht(e.label||e.identifier)}}function wt(e,t,r){try{switch(e.type){case"yaml":case"definition":case"footnoteDefinition":return null;case"heading":return dd(e,t,r);case"paragraph":return he(rs(e,r),t);case"list":return ji(e,t,r);case"code":return wd(e,t);case"blockquote":return xd(e,t,r);case"thematicBreak":return he("#line(length: 100%, stroke: 0.6pt)",t);case"table":return bd(e,t,r);case"math":return md(e,t,r);default:return r.onError&&r.onError({severity:"warning",message:`Unknown block node type: ${e.type}`,context:"block rendering",details:{nodeType:e.type}}),null}}catch(n){let i=n instanceof Error?n.message:String(n);return r.onError&&r.onError({severity:"error",message:`Error rendering block node: ${i}`,context:"block rendering",originalError:n,details:{nodeType:e.type}}),null}}function md(e,t,r){let n=e.value||"",i=e.meta;i&&(n=i+(n?`
75
+ `+n:"")),n.endsWith("$$")&&(n=n.slice(0,-2));let a=n.trim();try{let o=Wr(a);return he(`$ ${o} $`,t)}catch(o){let l=o instanceof Error?o.message:String(o);return r.onError&&r.onError({severity:"warning",message:`Failed to convert block math LaTeX to Typst: ${l}`,context:"block math rendering",originalError:o,details:{latex:a}}),he(`$ ${a} $`,t)}}function dd(e,t,r){let n=Math.min(Math.max(e.depth,1),6);return he(`${"=".repeat(n)} ${xe(e.children,r)}`,t)}function rs(e,t){return ft(e.children,t.definitions).trim().toLowerCase()==="[toc]"?"#outline(title: auto, indent: auto)":xe(e.children,t)}function ji(e,t,r){let n=e.ordered?"+":"-";return e.children.map(i=>gd(i,n,t,r)).filter(Ke).join(`
76
+ `)}function gd(e,t,r,n){let i=" ".repeat(r),a=r+1,o=e.children[0],l=[];if(o?.type==="paragraph"){l.push(`${i}${t} ${rs(o,n)}`);for(let s of e.children.slice(1)){if(s.type==="list"){l.push(ji(s,a,n));continue}let u=wt(s,a,n);u&&l.push(u)}return l.join(`
77
+ `)}l.push(`${i}${t}`);for(let s of e.children){if(s.type==="list"){l.push(ji(s,a,n));continue}let u=wt(s,a,n);u&&l.push(u)}return l.join(`
78
+ `)}function wd(e,t){let r=e.lang?.trim()?e.lang.trim():"",n=e.value.replace(/\n$/,""),i="`".repeat(Math.max(3,Va(n)+1)),a=r?`${i}${r}`:i,o=he(n,t);return[he(a,t),o,he(i,t)].join(`
79
+ `)}function bd(e,t,r){try{let n=e.children;if(n.length===0)return r.onError&&r.onError({severity:"warning",message:"Empty table found (no rows)",context:"table rendering"}),"";let i=n[0],a=i.children.length;if(a===0)return r.onError&&r.onError({severity:"warning",message:"Table has no columns",context:"table rendering"}),"";let o={left:"left",right:"right",center:"center"},l=(e.align??[]).map(f=>o[f??"left"]??"left"),s=Array(a).fill("1fr").join(", "),u=[];for(let f of i.children){let m=xe(f.children,r);u.push(`[*${m}*]`)}let p=[];for(let f=1;f<n.length;f++){let m=n[f];for(let y of m.children){let k=xe(y.children,r);p.push(`[${k}]`)}}let c=l.slice(0,a).map(f=>f).join(", "),h=["#table(",` columns: (${s}),`,` align: (${c}),`,` table.header(${u.join(", ")}),`,` ${p.join(", ")}`,")"];return he(h.join(`
80
+ `),t)}catch(n){let i=n instanceof Error?n.message:String(n);return r.onError&&r.onError({severity:"error",message:`Error rendering table: ${i}`,context:"table rendering",originalError:n}),""}}function xd(e,t,r){let n=e.children.map(a=>wt(a,0,r)).filter(Ke).join(`
81
+
82
+ `),i=he("#quote[",t);return n.trim()?[i,he(n,t+1),he("]",t)].join(`
83
+ `):`${i}
84
+ ${he("]",t)}`}function kd(e){let{warnings:t}=e,r=[];return t.externalImages?(r.push("// ========================= WARNINGS ========================="),r.push(""),r.push("// ------------------------------------------------------------"),r.push("// NOTE: The conversion did not work perfectly due to intrinsic"),r.push("// Markdown to Typst limitations. The following custom"),r.push("// functions, set or show rules are used to visually display"),r.push("// these minor conversion warnings to the user."),r.push("// ------------------------------------------------------------"),r.push(""),t.externalImages&&(r.push("// EXTERNAL IMAGES WERE DETECTED!"),r.push("#let external-image(url) = {"),r.push(" rect(radius: 4pt, inset: 20pt,)["),r.push(" #align(center)["),r.push(" #text()["),r.push(" External image detected: \\"),r.push(" #link(url)"),r.push(" ]"),r.push(" ]"),r.push(" ]"),r.push("}"),r.push("")),r.push("// ============================================================"),r.join(`
85
+ `)):null}function ns(e,t,r,n){try{let{title:i,authors:a,description:o,keywords:l,date:s,abstract:u,lang:p,region:c}=t,f=(r!==null&&$a(i)!==""?e.children.filter((w,b)=>b!==r):e.children).map(w=>wt(w,0,n)).filter(Ke).join(`
85
86
 
86
- `),m=[],y=i||a.length>0||o||s||l&&l.length>0;if(y)try{m.push("// =============== FRONTMATTER ==============="),m.push("");let w=[];if(i&&w.push(`title: [${i}]`),a.length>0&&w.push(`author: ${Ti(a.map(b=>`"${Ke(b)}"`))}`),o&&w.push(`description: [${o}]`),l&&l.length>0&&w.push(`keywords: ${Ti(l.map(b=>`"${Ke(b)}"`))}`),s)try{let b=Yl(s);w.push(`date: ${b}`)}catch(b){let E=b instanceof Error?b.message:String(b);n.onError&&n.onError({severity:"warning",message:`Failed to parse date "${s}": ${E}`,context:"output building",originalError:b}),w.push("date: auto")}m.push("#set document(");for(let b=0;b<w.length;b++){let E=b===w.length-1;m.push(` ${w[b]}${E?"":","}`)}m.push(")")}catch(w){let b=w instanceof Error?w.message:String(w);n.onError&&n.onError({severity:"error",message:`Error building document metadata: ${b}`,context:"output building",originalError:w})}if(u&&(m.length>0&&m.push(""),m.push(`#let abstract = [${u}]`)),(i||a.length>0||s||u)&&y){m.push("");let w=[];i&&w.push("#title() \\ \\"),a.length>0&&w.push('#context document.author.join(", ", last: " & ") \\ \\'),s&&w.push("#context document.date.display() \\ \\ "),u&&(w.push("\\ *Abstract* \\"),w.push("#abstract")),m.push("#align(center)["),m.push(` ${w.join(" ")}`),m.push("]")}if(p||c){m.length>0&&m.push("");let w=[];p&&w.push(`lang: "${p}"`),c&&w.push(`region: "${c}"`),m.push(`#set text(${w.join(", ")})`)}y&&(m.push(""),m.push("// ============================================"));let k=Cd(n);return k&&(m.push(""),m.push(k)),m.length>0&&f&&m.push(""),f&&m.push(f),m.length>0?m.join(`
87
- `):f}catch(i){let a=i instanceof Error?i.message:String(i);throw n.onError&&n.onError({severity:"error",message:`Fatal error building output: ${a}`,context:"output building",originalError:i}),i}}De();function fs(e,t={}){try{let r=Ha(e,t.onError),n=tl(r,t.onError),i=rl(r,t.onError),a=Vl(r,t.onError),o=t.useH1AsTitle?nl(r,n,t.onError):null,l=Wl(t,a,o?.title??null),s={definitions:n,footnoteDefinitions:i,onError:t.onError,warnings:{externalImages:!1}};return ps(r,l,o?.index??null,s)}catch(r){let n=r instanceof Error?r.message:String(r);throw t.onError&&t.onError({severity:"error",message:`Fatal error during conversion: ${n}`,context:"markdown2typst",originalError:r}),r}}var qd=fs;return ro(_d);})();
87
+ `),m=[],y=i||a.length>0||o||s||l&&l.length>0;if(y)try{m.push("// =============== FRONTMATTER ==============="),m.push("");let w=[];if(i&&w.push(`title: [${i}]`),a.length>0&&w.push(`author: ${ki(a.map(b=>`"${We(b)}"`))}`),o&&w.push(`description: [${o}]`),l&&l.length>0&&w.push(`keywords: ${ki(l.map(b=>`"${We(b)}"`))}`),s)try{let b=Hl(s);w.push(`date: ${b}`)}catch(b){let E=b instanceof Error?b.message:String(b);n.onError&&n.onError({severity:"warning",message:`Failed to parse date "${s}": ${E}`,context:"output building",originalError:b}),w.push("date: auto")}m.push("#set document(");for(let b=0;b<w.length;b++){let E=b===w.length-1;m.push(` ${w[b]}${E?"":","}`)}m.push(")")}catch(w){let b=w instanceof Error?w.message:String(w);n.onError&&n.onError({severity:"error",message:`Error building document metadata: ${b}`,context:"output building",originalError:w})}if(u&&(m.length>0&&m.push(""),m.push(`#let abstract = [${u}]`)),(i||a.length>0||s||u)&&y){m.push("");let w=[];i&&w.push("#title() \\ \\"),a.length>0&&w.push('#context document.author.join(", ", last: " & ") \\ \\'),s&&w.push("#context document.date.display() \\ \\ "),u&&(w.push("\\ *Abstract* \\"),w.push("#abstract")),m.push("#align(center)["),m.push(` ${w.join(" ")}`),m.push("]")}if(p||c){m.length>0&&m.push("");let w=[];p&&w.push(`lang: "${p}"`),c&&w.push(`region: "${c}"`),m.push(`#set text(${w.join(", ")})`)}y&&(m.push(""),m.push("// ============================================"));let k=kd(n);return k&&(m.push(""),m.push(k)),m.length>0&&f&&m.push(""),f&&m.push(f),m.length>0?m.join(`
88
+ `):f}catch(i){let a=i instanceof Error?i.message:String(i);throw n.onError&&n.onError({severity:"error",message:`Fatal error building output: ${a}`,context:"output building",originalError:i}),i}}function is(e,t={}){try{let r=Na(e,t.onError),n=Ka(r,t.onError),i=Qa(r,t.onError),a=Pl(r,t.onError),o=t.useH1AsTitle?Za(r,n,t.onError):null,l=Ul(t,a,o?.title??null),s={definitions:n,footnoteDefinitions:i,onError:t.onError,warnings:{externalImages:!1},renderBlock:wt};return ns(r,l,o?.index??null,s)}catch(r){let n=r instanceof Error?r.message:String(r);throw t.onError&&t.onError({severity:"error",message:`Fatal error during conversion: ${n}`,context:"markdown2typst",originalError:r}),r}}var yd=is;return bs(vd);})();
88
89
  /**
89
90
  * markdown2typst - Convert Markdown to Typst
90
91
  *