-
Notifications
You must be signed in to change notification settings - Fork 0
/
markdeep.min.js
10 lines (10 loc) · 217 KB
/
markdeep.min.js
1
2
3
4
5
6
7
8
9
10
/**See https://casual-effects.com/markdeep for @license and documentation.
markdeep.min.js 1.17 (C) 2024 Morgan McGuire
highlight.min.js 11.9.0 (C) 2022 Ivan Sagalaev https://highlightjs.org */
!function(){"use strict";var e=String.prototype;e.rp=e.replace,e.ss=e.substring,e.endsWith||(e.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.ss(t-e.length,t)===e}),e.regexIndexOf=function(e,t){var n=this.ss(t||0).search(e);return n>=0?n+(t||0):n};var t=!1,n=t,a=n,r=2,i="*",s=Array(6).join(i);function o(e,t,n){return"<"+e+(n?" "+n:"")+">"+t+"</"+e+">"}"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])}return n},writable:!0,configurable:!0}),String.prototype.includes||(String.prototype.includes=function(e,t){if(e instanceof RegExp)throw TypeError("first argument must not be a RegExp");return void 0===t&&(t=0),-1!==this.indexOf(e,t)}),Array.prototype.includes||(Array.prototype.includes=function(e){return!!~this.indexOf(e)});var l="Menlo,Consolas,monospace",c=Math.round(683.3555157/function(e){try{var t=document.createElement("canvas").getContext("2d");return t.font="10pt "+e,t.measureText("M").width}catch(e){return 10}}(l))+"%",d=o("style",'body{max-width:680px;margin:auto;padding:20px;text-align:justify;line-height:140%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;color:#222;font-family:Palatino,Georgia,"Times New Roman",serif}'),u=-1!==navigator.userAgent.indexOf("Firefox")&&-1===navigator.userAgent.indexOf("Seamonkey"),g=o("style",'@media print{*{-webkit-print-color-adjust:exact;text-shadow:none !important}}body{counter-reset: h1 paragraph line item list-item}@page{margin:0;size:auto}#mdContextMenu{position:absolute;background:#383838;cursor:default;border:1px solid #999;color:#fff;padding:4px 0px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Helvetica Neue",sans-serif;font-size:85%;font-weight:600;border-radius:4px;box-shadow:0px 3px 10px rgba(0,0,0,35%)}#mdContextMenu div{padding:0px 20px}#mdContextMenu div:hover{background:#1659d1}.md code,.md pre{font-family:'+l+";font-size:"+c+';text-align:left;line-height:140%}.md .mediumToc code,.md longToc code,.md .shortToc code,.md h1 code,.md h2 code,.md h3 code,.md h4 code,.md h5 code,.md h6 code{font-size:unset}.md div.title{font-size:26px;font-weight:800;line-height:120%;text-align:center}.md div.afterTitles{height:10px}.md div.subtitle{text-align:center}.md iframe.textinsert, .md object.textinsert,.md iframe:not(.markdeep){display:block;margin-top:10px;margin-bottom:10px;width:100%;height:75vh;border:1px solid #000;border-radius:4px;background:#f5f5f4}.md .image{display:inline-block}.md img{max-width:100%;page-break-inside:avoid}.md li{text-align:left;text-indent:0}.md pre.listing {width:100%;tab-size:4;-moz-tab-size:4;-o-tab-size:4;counter-reset:line;overflow-x:auto;resize:horizontal}.md pre.listing .linenumbers span.line:before{width:30px;margin-left:-28px;font-size:80%;text-align:right;counter-increment:line;content:counter(line);display:inline-block;padding-right:13px;margin-right:8px;color:#ccc}.md div.tilde{margin:20px 0 -10px;text-align:center}.md .imagecaption,.md .tablecaption,.md .listingcaption{display:inline-block;margin:7px 5px 12px;text-align:justify;font-style:italic}.md img.pixel{image-rendering:-moz-crisp-edges;image-rendering:pixelated}.md blockquote.fancyquote{margin:25px 0 25px;text-align:left;line-height:160%}.md blockquote.fancyquote::before{content:"\u201c";color:#DDD;font-family:Times New Roman;font-size:45px;line-height:0;margin-right:6px;vertical-align:-0.3em}.md span.fancyquote{font-size:118%;color:#777;font-style:italic}.md span.fancyquote::after{content:"\u201d";font-style:normal;color:#DDD;font-family:Times New Roman;font-size:45px;line-height:0;margin-left:6px;vertical-align:-0.3em}.md blockquote.fancyquote .author{width:100%;margin-top:10px;display:inline-block;text-align:right}.md small{font-size:60%}.md big{font-size:150%}.md div.title,.md contents,.md .tocHeader,.md h1,.md h2,.md h3,.md h4,.md h5,.md h6,.md .shortTOC,.md .mediumTOC,.md .nonumberh1,.md .nonumberh2,.md .nonumberh3,.md .nonumberh4,.md .nonumberh5,.md .nonumberh6{font-family:Verdana,Helvetica,Arial,sans-serif;margin:13.4px 0 13.4px;padding:15px 0 3px;border-top:none;clear:both}.md .tocTop {display:none}.md h1,.md h2,.md h3,.md h4,.md h5,.md h6,.md .nonumberh1,.md .nonumberh2,.md .nonumberh3,.md .nonumberh4,.md .nonumberh5,.md .nonumberh6{page-break-after:avoid;break-after:avoid}.md svg.diagram{display:block;font-family:'+l+";font-size:"+c+";text-align:center;stroke-linecap:round;stroke-width:"+r+"px;page-break-inside:avoid;stroke:#000;fill:#000}.md svg.diagram .opendot{fill:#fff}.md svg.diagram .shadeddot{fill:#CCC}.md svg.diagram .dotteddot{stroke:#000;stroke-dasharray:4;fill:none}.md svg.diagram text{stroke:none}@media print{@page{margin:1in 5mm;transform: scale(150%)}}@media print{.md .pagebreak{page-break-after:always;visibility:hidden}}.md a{font-family:Georgia,Palatino,'Times New Roman'}.md h1,.md .tocHeader,.md .nonumberh1{border-bottom:3px solid;font-size:20px;font-weight:bold;}.md h1,.md .nonumberh1{counter-reset:h2 h3 h4 h5 h6}.md h2,.md .nonumberh2{counter-reset:h3 h4 h5 h6;border-bottom:2px solid #999;color:#555;font-weight:bold;font-size:18px;}.md h3,.md h4,.md h5,.md h6,.md .nonumberh3,.md .nonumberh4,.md .nonumberh5,.md .nonumberh6{font-family:Verdana,Helvetica,Arial,sans-serif;color:#555;font-size:16px;}.md h3{counter-reset:h4 h5 h6}.md h4{counter-reset:h5 h6}.md h5{counter-reset:h6}.md div.table{margin:16px 0 16px 0}.md table{border-collapse:collapse;line-height:140%;page-break-inside:avoid}.md table.table{margin:auto}.md table.calendar{width:100%;margin:auto;font-size:11px;font-family:Verdana,Helvetica,Arial,sans-serif}.md table.calendar th{font-size:16px}.md .today{background:#ECF8FA}.md .calendar .parenthesized{color:#999;font-style:italic}.md table.table th{color:#FFF;background-color:#AAA;border:1px solid #888;padding:8px 15px 8px 15px}.md table.table td{padding:5px 15px 5px 15px;border:1px solid #888}.md table.table tr:nth-child(even){background:#EEE}.md pre.tilde{border-top: 1px solid #CCC;border-bottom: 1px solid #CCC;padding: 5px 0 5px 20px;margin:0 0 0 0;background:#FCFCFC;page-break-inside:avoid}.md a.target{width:0px;height:0px;visibility:hidden;font-size:0px;display:inline-block}.md a:link, .md a:visited{color:#38A;text-decoration:none}.md a:link:hover{text-decoration:underline}.md dt{font-weight:700}.md dl>dd{margin-top:-8px; margin-bottom:8px}.md dl>table{margin:35px 0 30px}.md code{page-break-inside:avoid;} @media print{.md .listing code{white-space:pre-wrap}}.md .endnote{font-size:13px;line-height:15px;padding-left:10px;text-indent:-10px}.md .bib{padding-left:80px;text-indent:-80px;text-align:left}.markdeepFooter{font-size:9px;text-align:right;padding-top:80px;color:#999}.md .mediumTOC{float:right;font-size:12px;line-height:15px;border-left:1px solid #CCC;padding-left:15px;margin:15px 0px 15px 25px}.md .mediumTOC .level1{font-weight:600}.md .longTOC .level1{font-weight:600;display:block;padding-top:12px;margin:0 0 -20px}.md .shortTOC{text-align:center;font-weight:bold;margin-top:15px;font-size:14px}.md .img-attrib-container .img-attrib{font-size:50%;line-height:120%;writing-mode:vertical-rl;position:absolute;bottom:0;right:0;padding:8px 4px;color:#FFF;background-color:rgba(0,0,0,.3)}.md .img-attrib-container .img-attrib a{color:#FFF;text-decoration:none}.md .admonition{position:relative;margin:1em 0;padding:.4rem 1rem;border-radius:.2rem;border-left:2.5rem solid rgba(68,138,255,.4);background-color:rgba(68,138,255,.15);}.md .admonition-title{font-weight:bold;border-bottom:solid 1px rgba(68,138,255,.4);padding-bottom:4px;margin-bottom:4px;margin-left: -1rem;padding-left:1rem;margin-right:-1rem;border-color:rgba(68,138,255,.4)}.md .admonition.tip{border-left:2.5rem solid rgba(50,255,90,.4);background-color:rgba(50,255,90,.15)}.md .admonition.tip::before{content:\"\\24d8\";font-weight:bold;font-size:"+(u?"200%;":"150%;")+'position:relative;top:3px;color:rgba(26,128,46,.8);left:-2.95rem;display:block;width:0;height:0}.md .admonition.tip>.admonition-title{border-color:rgba(50,255,90,.4)}.md .admonition.warn,.md .admonition.warning{border-left:2.5rem solid rgba(255,145,0,.4);background-color:rgba(255,145,0,.15)}.md .admonition.warn::before,.md .admonition.warning::before{content:"\\26A0";font-weight:bold;'+(u?"":"font-size:150%;")+'position:relative;top:2px;color:rgba(128,73,0,.8);left:-2.95rem;display:block;width:0;height:0}.md .admonition.warn>.admonition-title,.md .admonition.warning>.admonition-title{border-color:rgba(255,145,0,.4)}.md .admonition.error{border-left: 2.5rem solid rgba(255,23,68,.4);background-color:rgba(255,23,68,.15)}.md .admonition.error>.admonition-title{border-color:rgba(255,23,68,.4)}.md .admonition.error::before{content: "\\2612";font-family:"Arial";font-size:'+(u?"150%;":"200%;")+'position:relative;color:rgba(128,12,34,.8);top:-2px;left:-3rem;display:block;width:0;height:0}.md .admonition p:last-child{margin-bottom:0}.md li.checked,.md li.unchecked{list-style:none;overflow:visible;text-indent:-1.2em}.md li.checked:before,.md li.unchecked:before{content:"\\2611";display:block;float:left;width:1em;font-size:120%}.md li.unchecked:before{content:"\\2610"}'),m={name:"French",keyword:{table:"tableau",figure:"figure",listing:"liste",diagram:"diagramme",contents:"Table des mati\xe8res",sec:"sec",section:"section",subsection:"paragraphe",chapter:"chapitre",Monday:"lundi",Tuesday:"mardi",Wednesday:"mercredi",Thursday:"jeudi",Friday:"vendredi",Saturday:"samedi",Sunday:"dimanche",January:"Janvier",February:"F\xe9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xfbt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xe9cembre",jan:"janv.",feb:"f\xe9vr.",mar:"mars",apr:"avril",may:"mai",jun:"juin",jul:"juil.",aug:"ao\xfbt",sep:"sept.",oct:"oct.",nov:"nov.",dec:"d\xe9c.","“":"« ","&rtquo;":" »"}},p={name:"Spanish",keyword:{table:"Tabla",figure:"Figura",listing:"Listado",diagram:"Diagrama",contents:"Tabla de Contenidos",sec:"sec",section:"Secci\xf3n",subsection:"Subsecci\xf3n",chapter:"Cap\xedtulo",Monday:"Lunes",Tuesday:"Martes",Wednesday:"Mi\xe9rcoles",Thursday:"Jueves",Friday:"Viernes",Saturday:"S\xe1bado",Sunday:"Domingo",January:"Enero",February:"Febrero",March:"Marzo",April:"Abril",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre",jan:"ene",feb:"feb",mar:"mar",apr:"abr",may:"may",jun:"jun",jul:"jul",aug:"ago",sep:"sept",oct:"oct",nov:"nov",dec:"dic","“":"« ","&rtquo;":" »"}},b={name:"Catalan",keyword:{table:"Taula",figure:"Figura",listing:"Llistat",diagram:"Diagrama",contents:"Taula de Continguts",sec:"sec",section:"Secci\xf3",subsection:"Subsecci\xf3",chapter:"Cap\xedtol",Monday:"Dilluns",Tuesday:"Dimarts",Wednesday:"Dimecres",Thursday:"Dijous",Friday:"Divendres",Saturday:"Dissabte",Sunday:"Diumenge",January:"Gener",February:"Febrer",March:"Mar\xe7",April:"Abril",May:"Maig",June:"Juny",July:"Juliol",August:"Agost",September:"Setembre",October:"Octubre",November:"Novembre",December:"Desembre",jan:"gen",feb:"feb",mar:"mar",apr:"abr",may:"mai",jun:"jun",jul:"jul",aug:"ago",sep:"set",oct:"oct",nov:"nov",dec:"des","“":"« ","&rtquo;":" »"}},h={mode:"markdeep",detectMath:!0,lang:{keyword:{}},tocStyle:"auto",tocDepth:3,hideEmptyWeekends:!0,autoLinkImages:!0,showLabels:!1,sortScheduleLists:!0,definitionStyle:"auto",linkAPIDefinitions:!1,inlineCodeLang:!1,scrollThreshold:90,captionAbove:{diagram:!1,image:!1,table:!1,listing:!1},smartQuotes:!0},f={name:"English",keyword:{}},_={en:f,ru:{name:"Russian",keyword:{table:"\u0442\u0430\u0431\u043b\u0438\u0446\u0430",figure:"\u0440\u0438\u0441\u0443\u043d\u043e\u043a",listing:"\u043b\u0438\u0441\u0442\u0438\u043d\u0433",diagram:"\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430",contents:"\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435",sec:"\u0441\u0435\u043a",section:"\u0440\u0430\u0437\u0434\u0435\u043b",subsection:"\u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b",chapter:"\u0433\u043b\u0430\u0432\u0430",Monday:"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a",Tuesday:"\u0432\u0442\u043e\u0440\u043d\u0438\u043a",Wednesday:"\u0441\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0435\u0440\u0433",Friday:"\u043f\u044f\u0442\u043d\u0438\u0446\u0430",Saturday:"\u0441\u0443\u0431\u0431\u043e\u0442\u0430",Sunday:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435",January:"\u044f\u043d\u0432\u0430\u0440\u044cr",February:"\u0444\u0435\u0432\u0440\u0430\u043b\u044c",March:"\u043c\u0430\u0440\u0442",April:"\u0430\u043f\u0440\u0435\u043b\u044c",May:"\u043c\u0430\u0439",June:"\u0438\u044e\u043d\u044c",July:"\u0438\u044e\u043b\u044c",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c",October:"\u043e\u043a\u0442\u044f\u0431\u0440\u044c",November:"\u043d\u043e\u044f\u0431\u0440\u044c",December:"\u0434\u0435\u043a\u0430\u0431\u0440\u044c",jan:"\u044f\u043d\u0432",feb:"\u0444\u0435\u0432\u0440",mar:"\u043c\u0430\u0440\u0442",apr:"\u0430\u043f\u0440",may:"\u043c\u0430\u0439",jun:"\u0438\u044e\u043d\u044c",jul:"\u0438\u044e\u043b\u044c",aug:"\u0430\u0432\u0433",sep:"\u0441\u0435\u043d\u0442",oct:"\u043e\u043a\u0442",nov:"\u043d\u043e\u044f\u0431\u0440\u044c",dec:"\u0434\u0435\u043a","“":"\xab","”":"\xbb"}},fr:m,"fr-AD":m,"fr-BE":m,"fr-CA":m,"en-CA":f,"en-VI":f,pl:{name:"Polish",keyword:{table:"tabela",figure:"ilustracja",listing:"wykaz",diagram:"diagram",contents:"Spis tre\u015bci",sec:"rozdz.",section:"rozdzia\u0142",subsection:"podrozdzia\u0142",chapter:"kapitu\u0142a",Monday:"Poniedzia\u0142ek",Tuesday:"Wtorek",Wednesday:"\u015aroda",Thursday:"Czwartek",Friday:"Pi\u0105tek",Saturday:"Sobota",Sunday:"Niedziela",January:"Stycze\u0144",February:"Luty",March:"Marzec",April:"Kwiecie\u0144",May:"Maj",June:"Czerwiec",July:"Lipiec",August:"Sierpie\u0144",September:"Wrzesie\u0144",October:"Pa\u017adziernik",November:"Listopad",December:"Grudzie\u0144",jan:"sty",feb:"lut",mar:"mar",apr:"kwi",may:"maj",jun:"cze",jul:"lip",aug:"sie",sep:"wrz",oct:"pa\u017a",nov:"lis",dec:"gru","“":"„","”":"”"}},bg:{name:"Bulgarian",keyword:{table:"\u0442\u0430\u0431\u043b\u0438\u0446\u0430",figure:"\u0444\u0438\u0433\u0443\u0440\u0430",listing:"\u0441\u043f\u0438\u0441\u044a\u043a",diagram:"\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u0430",contents:"c\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435",sec:"\u0441\u0435\u043a",section:"\u0440\u0430\u0437\u0434\u0435\u043b",subsection:"\u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b",chapter:"\u0433\u043b\u0430\u0432\u0430",Monday:"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a",Tuesday:"\u0432\u0442\u043e\u0440\u043d\u0438\u043a",Wednesday:"\u0441\u0440\u044f\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a",Friday:"\u043f\u0435\u0442\u044a\u043a",Saturday:"\u0441\u044a\u0431\u043e\u0442\u0430",Sunday:"\u043d\u0435\u0434\u0435\u043b\u044f",January:"\u044f\u043d\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043c\u0430\u0440\u0442",April:"\u0430\u043f\u0440\u0438\u043b",May:"\u043c\u0430\u0439",June:"\u044e\u043d\u0438",July:"\u044e\u043b\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438",October:"\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438",November:"\u043d\u043e\u0435\u043c\u0432\u0440\u0438",December:"\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438",jan:"\u044f\u043d",feb:"\u0444\u0435\u0432\u0440",mar:"\u043c\u0430\u0440\u0442",apr:"\u0430\u043f\u0440",may:"\u043c\u0430\u0439",jun:"\u044e\u043d\u0438",jul:"\u044e\u043b\u0438",aug:"\u0430\u0432\u0433",sep:"\u0441\u0435\u043f\u0442",oct:"\u043e\u043a\u0442",nov:"\u043d\u043e\u0435\u043c",dec:"\u0434\u0435\u043a","“":"„","”":"”"}},de:{name:"German",keyword:{table:"Tabelle",figure:"Abbildung",listing:"Auflistung",diagram:"Diagramm",contents:"Inhaltsverzeichnis",sec:"Kap",section:"Kapitel",subsection:"Unterabschnitt",chapter:"Kapitel",Monday:"Montag",Tuesday:"Dienstag",Wednesday:"Mittwoch",Thursday:"Donnerstag",Friday:"Freitag",Saturday:"Samstag",Sunday:"Sonntag",January:"Januar",February:"Februar",March:"M\xe4rz",April:"April",May:"Mai",June:"Juni",July:"Juli",August:"August",September:"September",October:"Oktober",November:"November",December:"Dezember",jan:"Jan",feb:"Feb",mar:"M\xe4r",apr:"Apr",may:"Mai",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Okt",nov:"Nov",dec:"Dez","“":"„","”":"“"}},hu:{name:"Hungarian",keyword:{table:"t\xe1bl\xe1zat",figure:"\xe1bra",listing:"lista",diagram:"diagramm",contents:"Tartalomjegyz\xe9k",sec:"fej",section:"fejezet",subsection:"alfejezet",chapter:"fejezet",Monday:"h\xe9tf\u0151",Tuesday:"kedd",Wednesday:"szerda",Thursday:"cs\xfct\xf6rt\xf6k",Friday:"p\xe9ntek",Saturday:"szombat",Sunday:"vas\xe1rnap",January:"janu\xe1r",February:"febru\xe1r",March:"m\xe1rcius",April:"\xe1prilis",May:"m\xe1jus",June:"j\xfanius",July:"j\xfalius",August:"augusztus",September:"szeptember",October:"okt\xf3ber",November:"november",December:"december",jan:"jan",feb:"febr",mar:"m\xe1rc",apr:"\xe1pr",may:"m\xe1j",jun:"j\xfan",jul:"j\xfal",aug:"aug",sep:"szept",oct:"okt",nov:"nov",dec:"dec","“":"„","”":"”"}},sv:{name:"Swedish",keyword:{table:"tabell",figure:"figur",listing:"lista",diagram:"diagram",contents:"Inneh\xe5llsf\xf6rteckning",sec:"sek",section:"sektion",subsection:"sektion",chapter:"kapitel",Monday:"m\xe5ndag",Tuesday:"tisdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xf6rdag",Sunday:"s\xf6ndag",January:"januari",February:"februari",March:"mars",April:"april",May:"maj",June:"juni",July:"juli",August:"augusti",September:"september",October:"oktober",November:"november",December:"december",jan:"jan",feb:"feb",mar:"mar",apr:"apr",may:"maj",jun:"jun",jul:"jul",aug:"aug",sep:"sep",oct:"okt",nov:"nov",dec:"dec","“":"”","”":"”"}},pt:{name:"Portugese",keyword:{table:"tabela",figure:"figura",listing:"lista",diagram:"diagrama",contents:"conte\xfado",sec:"sec",section:"sec\xe7\xe3o",subsection:"subsec\xe7\xe3o",chapter:"cap\xedtulo",Monday:"Segunda-feira",Tuesday:"Ter\xe7a-feira",Wednesday:"Quarta-feira",Thursday:"Quinta-feira",Friday:"Sexta-feira",Saturday:"S\xe1bado",Sunday:"Domingo",January:"Janeiro",February:"Fevereiro",March:"Mar\xe7o",April:"Abril",May:"Maio",June:"Junho",July:"Julho",August:"Agosto",September:"Setembro",October:"Outubro",November:"Novembro",December:"Dezembro",jan:"jan",feb:"fev",mar:"mar",apr:"abr",may:"mai",jun:"jun",jul:"jul",aug:"ago",sep:"set",oct:"oct",nov:"nov",dec:"dez","“":"«","&rtquo;":"»"}},ja:{name:"Japanese",keyword:{table:"\u8868",figure:"\u56f3",listing:"\u4e00\u89a7",diagram:"\u56f3",contents:"\u76ee\u6b21",sec:"\u7bc0",section:"\u7bc0",subsection:"\u9805",chapter:"\u7ae0",Monday:"\u6708",Tuesday:"\u706b",Wednesday:"\u6c34",Thursday:"\u6728",Friday:"\u91d1",Saturday:"\u571f",Sunday:"\u65e5",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",jan:"1\u6708",feb:"2\u6708",mar:"3\u6708",apr:"4\u6708",may:"5\u6708",jun:"6\u6708",jul:"7\u6708",aug:"8\u6708",sep:"9\u6708",oct:"10\u6708",nov:"11\u6708",dec:"12\u6708","“":"\u300c","”":"\u300d"}},it:{name:"Italian",keyword:{table:"tabella",figure:"figura",listing:"lista",diagram:"diagramma",contents:"indice",sec:"sez",section:"sezione",subsection:"paragrafo",chapter:"capitolo",Monday:"luned\xec",Tuesday:"marted\xec",Wednesday:"mercoled\xec",Thursday:"gioved\xec",Friday:"venerd\xec",Saturday:"sabato",Sunday:"domenica",January:"Gennaio",February:"Febbraio",March:"Marzo",April:"Aprile",May:"Maggio",June:"Giugno",July:"Luglio",August:"Agosto",September:"Settembre",October:"Ottobre",November:"Novembre",December:"Dicembre",jan:"gen",feb:"feb",mar:"mar",apr:"apr",may:"mag",jun:"giu",jul:"lug",aug:"ago",sep:"set",oct:"ott",nov:"nov",dec:"dic","“":"“","&rtquo;":"”"}},lt:{name:"Lithuanian",keyword:{table:"lentel\u0117",figure:"paveiksl\u0117lis",listing:"s\u0105ra\u0161as",diagram:"diagrama",contents:"Turinys",sec:"sk",section:"skyrius",subsection:"poskyris",chapter:"skyrius",Monday:"pirmadienis",Tuesday:"antradienis",Wednesday:"tre\u010diadienis",Thursday:"ketvirtadienis",Friday:"penktadienis",Saturday:"\u0161e\u0161tadienis",Sunday:"sekmadienis",January:"Sausis",February:"Vasaris",March:"Kovas",April:"Balandis",May:"Gegu\u017e\u0117",June:"Bir\u017eelis",July:"Liepa",August:"Rugpj\u016btis",September:"Rugs\u0117jis",October:"Spalis",November:"Lapkritis",December:"Gruodis",jan:"saus",feb:"vas",mar:"kov",apr:"bal",may:"geg",jun:"bir\u017e",jul:"liep",aug:"rugpj",sep:"rugs",oct:"spal",nov:"lapkr",dec:"gruod","“":"„","&rtquo;":"“"}},cs:{name:"Czech",keyword:{table:"Tabulka",figure:"Obr\xe1zek",listing:"Seznam",diagram:"Diagram",contents:"Obsah",sec:"kap.",section:"kapitola",subsection:"podkapitola",chapter:"kapitola",Monday:"pond\u011bl\xed",Tuesday:"\xfater\xfd",Wednesday:"st\u0159eda",Thursday:"\u010dtvrtek",Friday:"p\xe1tek",Saturday:"sobota",Sunday:"ned\u011ble",January:"leden",February:"\xfanor",March:"b\u0159ezen",April:"duben",May:"kv\u011bten",June:"\u010derven",July:"\u010dervenec",August:"srpen",September:"z\xe1\u0159\xed",October:"\u0159\xedjen",November:"listopad",December:"prosinec",jan:"led",feb:"\xfano",mar:"b\u0159e",apr:"dub",may:"kv\u011b",jun:"\u010dvn",jul:"\u010dvc",aug:"srp",sep:"z\xe1\u0159",oct:"\u0159\xedj",nov:"lis",dec:"pro","“":"„","”":"“"}},es:p,"es-ES":p,"ca-ES":b,"es-CO":p,"es-US":p,"en-US":f,ca:b};[].slice.call(document.getElementsByTagName("meta")).forEach((function(e){var t=e.getAttribute("lang");if(t){var n=_[t];n&&(h.lang=n)}}));var y=Math.max,x=Math.min,v=Math.abs,w=Math.sign||function(e){return+e===e?0===e?e:e>0?1:-1:NaN};function E(e,t){if(window.markdeepOptions&&void 0!==window.markdeepOptions[e]){var n=window.markdeepOptions[e];return t?void 0!==(n=n[t])?n:h[e][t]:window.markdeepOptions[e]}return void 0!==h[e]?t?h[e][t]:h[e]:void console.warn('Illegal option: "'+e+'"')}function N(e,t){if(E("showLabels")){var n=" {\xa0"+e+"\xa0}";return t?o(t,n):n}return""}function M(e){return E("lang").keyword[e]||E("lang").keyword[e.toLowerCase()]||e}function A(e){return String(e).rp(/&/g,"&").rp(/</g,"<").rp(/>/g,">").rp(/"/g,""")}function k(e){return e.rp(/</g,"<").rp(/>/g,">").rp(/"/g,'"').rp(/'/g,"'").rp(/–/g,"\u2013").rp(/—/g,"---").rp(/&/g,"&")}function C(e){return e.rp(/<.*?>/g,"")}function S(e){return encodeURI(e.rp(/\s/g,"").toLowerCase())}function T(){for(var e="",t=1;t<=6;++t){e+=".md h"+t+"::before {\ncontent:";for(var n=1;n<=t;++n)e+="counter(h"+n+') "'+(n<t?".":" ")+'"';e+=";\ncounter-increment: h"+t+";margin-right:10px}\n\n"}return o("style",e)}function O(e,t){var n="";if(e)if(Array.isArray(e)){for(var a=0;a<e.length;++a)if(e[a]){const t=e[a];if("HEAD"===t.tagName){const e=t.getElementsByTagName("preformatted");for(var r=0;r<e.length;++r)""!==n&&(n+=" "),n+=e[r].innerHTML}else""!==n&&(n+=" "),n+=t.innerHTML}}else n=e.innerHTML;return n=k(n=(n=(n=n.rp(/<\/https?:.*>|<\/ftp:.*>|<\/[^ "\t\n>]+@[^ "\t\n>]+>/gi,"")).rp(/<(https?|ftp): (.*?)>/gi,(function(e,t,n){var a="<"+t+"://"+n.rp(/=""\s/g,"/");return'=""'===a.ss(a.length-3)&&(a=a.ss(0,a.length-3)),(a=a.rp(/"/g,""))+">"}))).rp(/<style class=["']fallback["']>.*?<\/style>/gim,""))}function D(e,t,n,a){var r=t.source,i="([^A-Za-z0-9])("+r+")("+("[^ \\t\\n"+r+"]")+".*?(\\n.+?)*?)"+r+"(?![A-Za-z0-9])";return e.rp(new RegExp(i,"g"),"$1<"+n+(a?" "+a:"")+">$3</"+n+">")}var R={},I={};function L(e,t){var n=RegExp("\\[?(?<type>"+M("figure")+"|"+M("table")+"|"+M("listing")+"|"+M("diagram")+")"+/\s+\[(?<ref>.+?)\]:(?<text>.*[^\]])\]?/.source,"im"),a=e.match(n);if(a){var r=a.groups.type.toLowerCase(),i=a.groups.ref,s=R[r]=1+(0|R[r]),l=r+"_"+S(i.toLowerCase().trim());return I[l]={number:s,used:!1,source:r+" ["+i+"]"},{target:t(o("a"," ",t('class="target" name="'+l+'"'))),caption:o("b",r[0].toUpperCase()+r.ss(1)+" "+s+":",t('style="font-style:normal;"')+N(i))+a.groups.text}}return{target:"",caption:e}}function B(e,t){return!(!e||!t)&&(e=e.match(/\n/g),t=t.match(/\n/g),e&&e.length>1&&t&&t.length>1)}function j(e,t){var n={},a=0,r={},l="\ue010",c=32,d=[],u=4,g=RegExp(l+"[0-9a-w]{"+u+","+u+"}"+l,"g");function m(e){for(var t=(d.push(e)-1).toString(c);t.length<u;)t="0"+t;return l+t+l}var p=!1;function b(e){var t=parseInt(e.ss(1,e.length-1),c);return p=!0,d[t]}function h(e,t){return m(t)}function f(e){return function(t,n){return"\n\n</p>\n<a "+m('class="target" name="'+S(C(n.rp(g,b)))+'"')+"> </a>"+o("h"+e,n)+"\n<p>\n\n"}}void 0===t&&(t=!0),void 0!==e.innerHTML&&(e=e.innerHTML),e=(e="\n\n"+e).rp(/<script\s+type\s*=\s*['"]preformatted['"]\s*>([\s\S]*?)<\/script>/gi,"$1");var _=function(t,n){var a=new RegExp("\n([ \\t]*)"+n+"{3,}([ \\t]*\\S*)([ \\t]+.+)?\n([\\s\\S]+?)\n\\1"+n+"{3,}[ \t]*\n([ \\t]*\\[.+(?:\n.+){0,3}\\])?","g");e=e.rp(a,(function(e,a,r,i,s,l){var c;l&&(l=(c=L(l=l.trim(),m)).caption,l=o("center","<div "+m('class="listingcaption '+t+'"')+">"+l+"</div>")+"\n"),s=s.rp(new RegExp("(^|\n)"+a,"g"),"$1");var d,u,g,p=E("captionAbove","listing"),b=[];do{var h;if(d=u=g=void 0,s=s.rp(new RegExp("\\n([ \\t]*)"+n+"{3,}([ \\t]*\\S+)([ \\t]+.+)?\n([\\s\\S]*)"),(function(e,t,n,a,r){return u=n,g=a,d=r,""})),"none"===(r=r?r.trim():void 0))h=hljs.highlightAuto(s,[]);else if(void 0===r)h=hljs.highlightAuto(s);else try{h=hljs.highlight(s,{language:r,ignoreIllegals:!0})}catch(e){h=hljs.highlightAuto(s,[])}var f=h.value;f=f.rp(/^(.*)$/gm,o("span","",'class="line"')+"$1"),i&&(f=o("div",f,'class="'+i+'"')),b.push(f),s=d,r=u,i=g}while(s);return"\n"+a+"</p>"+(c?c.target:"")+(l&&p?l:"")+m(o("pre",o("code",b.join("")),'class="listing '+t+'"'))+(l&&!p?l:"")+"<p>\n"}))};_("tilde","~"),_("backtick","`"),e=function e(t){var n=function(e){function t(){u=e.indexOf("\n",o)+1,g=function(e,t,n){for(var a=t,r=t;r<n;++r,++a){var i=e.charCodeAt(a);a+=i>=55296&&i<=56319}return a-n}(e,o+l,o+c),m=m||/\S/.test(e.ss(o,o+l)),b=b||"*"!==e[o+c+g],p=!b&&(p||/[^ *\t\n\r]/.test(e.ss(o+c+g+1,u)))}for(var n={beforeString:e,diagramString:"",alignmentHint:"",afterString:""},a=e.indexOf(s);a>=0;a=e.indexOf(s,a+s.length)){var r,o=y(0,e.lastIndexOf("\n",a))+1,l=a-o;for(r=a+s.length;e[r]===i;++r);var c=r-o-1,d={beforeString:e.ss(0,o),diagramString:"",alignmentHint:"center",afterString:e.ss(o,a).rp(/[ \t]+$/," ")},u=0,g=0,m=!1,p=!1,b=!1;t();for(var h=!0,f=r;h;){if(o=u,t(),0===o)return n;if(m?d.alignmentHint="floatright":p&&(d.alignmentHint="floatleft"),e[o+l]!==i||m&&e[o+c+g]!==i)h=!1;else{var _;for(_=l;_<c&&e[o+_]===i;++_);var x=o+l,v=o+c+g;if(!m){var w=e.indexOf("\n",x);-1!==w&&(v=Math.min(v,w))}if(d.afterString+=e.ss(f,x).rp(/^[ \t]*[ \t]/," ").rp(/[ \t][ \t]*$/," "),_===c)return d.afterString+=e.ss(o+c+1),d;d.diagramString+=e.ss(x+1,v)+"\n",f=v+1}}}return n}(t);if(n.diagramString){n.afterString=n.afterString.rp(/^[ \n]*[ \t]*\[[^\n]+\][ \t]*(?=\n)/,(function(e){var t=L(e,m);return n.beforeString=n.beforeString+t.target,e=(e=e.trim()).ss(1,e.length-1),n.caption=o("center",o("div",t.caption,m('class="imagecaption"'))),""}));var a=$(n.diagramString,n.alignmentHint),r=E("captionAbove","diagram");return n.beforeString+(n.caption&&r?n.caption:"")+a+(n.caption&&!r?n.caption:"")+"\n"+e(n.afterString)}return t}(e=(e=(e=e.rp(/<code\s+lang\s*=\s*["']?([^"'\)\[\]\n]+)["'?]\s*>(.*)<\/code>/gi,(function(e,t,n){return o("code",hljs.highlight(n,{language:t,ignoreIllegals:!0}).value,"lang="+t)}))).rp(/(<code\b.*?<\/code>)/gi,h)).rp(/<!--((?!->|>)[\s\S]*?)-->/g,"")),e=(e=(e=e.rp(/<svg( .*?)?>([\s\S]*?)<\/svg>/gi,(function(e,t,n){return"<svg"+m(t)+">"+m(n)+"</svg>"}))).rp(/<style>([\s\S]*?)<\/style>/gi,(function(e,t){return o("style",m(t))}))).rp(/<img\s+src=(["'])[\s\S]*?\1\s*>/gi,(function(e,t){return"<img "+m(e.ss(5,e.length-1))+">"}));var x=E("inlineCodeLang"),w=/(^|[^\\])`(.*?(?:\n.*?)?[^\n\\`])`(?!\d)/g;if(x){var T=/^[a-zA-Z]:\\|^\/[a-zA-Z_\.]|^[a-z]{3,5}:\/\//;e=e.rp(w,(function(e,t,n){return T.test(n)?t+o("code",n):t+m(o("code",hljs.highlight(n,{language:x,ignoreIllegals:!0}).value))}))}else e=e.rp(w,"$1"+o("code","$2"));e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.rp(/\\`/g,"`")).rp(/(<code(?: .*?)?>)([\s\S]*?)<\/code>/gi,(function(e,t,n){return m(t+A(n)+"</code>")}))).rp(/(<pre\b[\s\S]*?<\/pre>)/gi,h)).rp(/(<\w[^ \n<>]*?[ \t]+)(.*?)(?=\/?>)/g,(function(e,t,n){return t+m(n)}))).rp(/(\$\$[\s\S]+?\$\$)/g,h)).rp(/((?:[^\w\d]))\$(\S(?:[^\$]*?\S(?!US|Can))??)\$(?![\w\d])/g,"$1\\($2\\)")).rp(/((?:[^\w\d]))\$([ \t][^\$]+?[ \t])\$(?![\w\d])/g,"$1\\($2\\)")).rp(/(\\\([\s\S]+?\\\))/g,h)).rp(/(\\begin\{equation\}[\s\S]*?\\end\{equation\})/g,h)).rp(/(\\begin\{eqnarray\}[\s\S]*?\\end\{eqnarray\})/g,h)).rp(/(\\begin\{equation\*\}[\s\S]*?\\end\{equation\*\})/g,h)).rp(/(?:^|\s*\n)(.+?)\n[ \t]*={3,}[ \t]*\n/g,f(1))).rp(/(?:^|\s*\n)(.+?)\n[ \t]*-{3,}[ \t]*\n/g,f(2));for(var O=6;O>0;--O)e=(e=e.rp(new RegExp(/^\s*/.source+"#{"+O+","+O+"}(?:[ \t])([^\n]+?)#*[ \t]*\n","gm"),f(O))).rp(new RegExp(/^\s*/.source+"\\(#{"+O+","+O+"}\\)(?:[ \t])([^\n]+?)\\(?#*\\)?\\n[ \t]*\n","gm"),"\n</p>\n"+o("div","$1",m('class="nonumberh'+O+'"'))+"\n<p>\n\n");e=(e=(e=e.rp(/\n[ \t]*((\*|-|_)[ \t]*){3,}[ \t]*\n/g,"\n<hr/>\n")).rp(/\n[ \t]*\+{5,}[ \t]*\n/g,"\n<hr "+m('class="pagebreak"')+"/>\n")).rp(/^!!![ \t]*([^\s"'><&\:]*)\:?(.*)\n([ \t]{3,}.*\s*\n)*/gm,(function(e,t,n){return e=e.trim(),"\n\n"+o("div",((n?o("div",n,m('class="admonition-title"'))+"\n":"")+e.ss(e.indexOf("\n"))).trim(),m('class="admonition '+t.toLowerCase().trim()+'"'))+"\n\n"}));var R=m('class="fancyquote"');e=e.rp(/\n>[ \t]*"(.*(?:\n>.*)*)"[ \t]*(?:\n>[ \t]*)?(\n>[ \t]{2,}\S.*)?\n/g,(function(e,t,n){return o("blockquote",o("span",t.rp(/\n>/g,"\n"),R)+(n?o("span",n.rp(/\n>/g,"\n"),m('class="author"')):""),R)}));var j=!1;do{j=!1,e=e.rp(/(?:\n>.*){2,}/g,(function(e){return j=!0,o("blockquote",e.rp(/\n>/g,"\n"))}))}while(j);function U(e,t){var r=t.toLowerCase().trim();return r in n||(++a,n[r]=a),"<sup><a "+m('href="#endnote-'+r+'"')+">"+n[r]+"</a></sup>"}e=(e=(e=(e=e.rp(/[ \t]*\[\^([^\]\n\t ]+)\](?!:)/g,U)).rp(/(\S)[ \t]*\[\^([^\]\n\t ]+)\]/g,(function(e,t,n){return t+U(0,n)}))).rp(/\n\[#(\S+)\]:[ \t]+((?:[ \t]*\S[^\n]*\n?)*)/g,(function(e,t,n){return t=t.trim(),"<div "+m('class="bib"')+">[<a "+m('class="target" name="citation-'+t.toLowerCase()+'"')+"> </a><b>"+t+"</b>] "+n+"</div>"}))).rp(/\[(#[^\)\(\[\]\.#\s]+(?:\s*,\s*#(?:[^\)\(\[\]\.#\s]+))*)\]/g,(function(e,t){t=t.split(",");for(var n="[",a=0;a<t.length;++a){var r=t[a].rp(/#| /g,"");n+=o("a",r,m('href="#citation-'+r.toLowerCase()+'"')),a<t.length-1&&(n+=", ")}return n+"]"})),e=function(e,t){var n=/(?:\n[ \t]*(?:(?:\|?[ \t\S]+?(?:\|[ \t\S]+?)+\|?)|\|[ \t\S]+\|)(?=\n))/.source,a=new RegExp(n+/\n[ \t]*(?:(?:\|? *\:?-+\:?(?: *\| *\:?-+\:?)+ *\|?|)|\|[\:-]+\|)(?=\n)/.source+n+"+("+/\n[ \t]*\[[^\n\|]+\][ \t]*(?=\n)/.source+")?","g");function r(e){return e.trim().rp(/^\||\|$/g,"")}return e=e.rp(a,(function(e){var n=e.split("\n"),a="",i=""===n[0]?1:0,s=n[n.length-1].trim();s.length>3&&"["===s[0]&&"]"===s[s.length-1]?(n.pop(),s=s.ss(1,s.length-1)):s=void 0;var l=[];r(n[i+1]).rp(/:?-+:?/g,(function(e){var n=":"===e[0],a=":"===e[e.length-1];l.push(t(' style="text-align:'+(n&&a?"center":a?"right":"left")+'"'))}));for(var c=n[i+1].trim(),d="|"===c[0],u="|"===c[c.length-1],g="th",m=i;m<n.length;++m){c=n[m].trim(),d||"|"!==c[0]||(c=" "+c),u||"|"!==c[c.length-1]||(c+=" "),c=r(c);var p=0;a+=o("tr","<"+g+l[0]+"> "+c.rp(/ *\| */g,(function(){return++p," </"+g+"><"+g+l[p]+"> "}))+" </"+g+">")+"\n",m==i&&(++m,g="td")}if(a=o("table",a,t('class="table"')),s){var b=L(s,t);s=o("center",o("div",b.caption,t('class="tablecaption"'))),a=E("captionAbove","table")?b.target+s+a:"\n"+b.target+a+s}return o("div",a,"class='table'")})),e}(e,m),e=(e=e.rp(/^\[([^\^#].*?)\]:(.*?)$/gm,(function(e,t,n){return r[t.toLowerCase().trim()]={link:n.trim(),used:!1},""}))).rp(/(?:<|(?!<)\b)(\S+@(\S+\.)+?\S{2,}?)(?:$|>|(?=<)|(?=\s)(?!>))/g,(function(e,t){return/http:|ftp:|https:|svn:|:\/\/|\.html|\(|\)|\]/.test(e)?e:"<a "+m('href="mailto:'+t+'"')+">"+t+"</a>"}));var z=function(e,t,n){var a,r,i="",s="";if(n=(n=(n=n||"").rp(/attrib\s*=\s*(?<quote>['"])(([^\n'"])*)\k<quote>/,(function(e,t,n){return s=n.trim(),""}))).rp(/attrib-url\s*=\s*(?<quote>['"]?)(([^\n'"])*)\k<quote>/,(function(e,t,n){return i=n.trim(),""})),/\.(mp4|m4v|avi|mpg|mov|webm)$/i.test(t))a="<video "+m('class="markdeep" src="'+t+'"'+n+' width="480px" controls="true"')+"></video>";else if(/\.(mp3|mp2|ogg|wav|m4a|aac|flac)$/i.test(t))a="<audio "+m('class="markdeep" controls '+n+'><source src="'+t+'"')+"></audio>";else if(r=t.match(/^https:\/\/(?:www\.)?(?:youtube\.com\/\S*?v=|youtu\.be\/)([\w\d-]+).*?(?:\?t=(\d*))?(&.*)?$/i))a=4===r.length?"<iframe "+m('class="markdeep" src="https://www.youtube.com/embed/'+r[1]+"?start="+r[2]+'"'+n+' width="480px" height="300px" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen')+"></iframe>":"<iframe "+m('class="markdeep" src="https://www.youtube.com/embed/'+r[1]+'"'+n+' width="480px" height="300px" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen')+"></iframe>";else if(r=t.match(/^https:\/\/(?:www\.)?vimeo.com\/\S*?\/([\w\d-]+)$/i))a="<iframe "+m('class="markdeep" src="https://player.vimeo.com/video/'+r[1]+'"'+n+' width="480px" height="300px" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen')+"></iframe>";else{var l="markdeep";n=(n=n.rp(/class *= *(["'])([^'"]+)\1/,(function(e,t,n){return l+=" "+n,""}))).rp(/class *= *([^"' ]+)/,(function(e,t){return l+=" "+t,""})),a="<img "+m('class="'+l+'" src="'+t+'"'+n)+" />",E("autoLinkImages")&&(a=o("a",a,m('href="'+t+'" target="_blank"'))),""!==s&&(""!==i&&(s=o("a",s,m('href="'+i+'"'))),a=o("div",a+o("div",s,m('class="img-attrib"')),m('class="img-attrib-container" style="display: inline-block; position: relative"')))}return a};e=(e=(e=(e=(e=(e=(e=(e=e.rp(/\b(equation|eqn\.|eq\.)\s*\[([^\s\]]+)\]/gi,(function(e,t,n){return t+" \\ref{"+n+"}"}))).rp(/\b(figure|fig\.|table|tbl\.|listing|lst\.)\s*\[([^\s\]]+)\](?=\()/gi,(function(e){return e+"<span></span>"}))).rp(/\(http:\/\/g.gravizo.com\/(.*g)\?((?:[^\(\)]|\([^\(\)]*\))*)\)/gi,(function(e,t,n){return"(http://g.gravizo.com/"+t+"?"+encodeURIComponent(n)+")"}))).rp(/(^|[^!])\[([^\[\]]+?)\]\(("?)([^<>\s"]*?)\3(\s+[^\)]*?)?\)/g,(function(e,t,n,a,r,i){return t+"<a "+m('href="'+r+'"'+(i=i||""))+">"+n+"</a>"+N(r)}))).rp(/(^|[^!])\[[ \t]*?\]\(("?)([^<>\s"]+?)\2\)/g,(function(e,t,n,a){return t+"<a "+m('href="'+a+'"')+">"+a+"</a>"}))).rp(/(^|[^!])\[([^\[\]]+)\]\[([^\[\]]*)\]/g,(function(e,t,n,a){a.trim()||(a=n),a=a.toLowerCase().trim();var i=r[a];return i?(i.used=!0,t+"<a "+m('href="'+i.link+'"')+">"+n+"</a>"):(console.log("Reference link '"+a+"' never defined"),"?")}))).rp(/!\[([^\n\]].*?\n?.*?\n?.*?\n?.*?\n?.*?)\]([\[\(])/g,(function(e,t,n){return"!["+m(t)+"]"+n}))).rp(/(!\[.*?\])\[([^<>\[\]\s]+?)([ \t][^\n\[\]]*?)?\]/g,(function(e,t,n,a){n=n.toLowerCase().trim();var i=r[n];return i?(i.used=!0,t+"("+i.link+(i.attribs||"")+")"):(console.log("Reference image '"+n+"' never defined"),"?")}));var F=m('width="100%"'),q=m('valign="top"');e=(e=e.rp(/((?:\n(?:[ \t]*!\[.*?\]\(("?)[^<>\s]+?(?:[^\n\)]*?)?\))+[ \t]*){2,}|(?:\n(?:[ \t]*!\[.*?\]\(("?)[^<>\s]+?(?:[^\n\)]*?)?\)){2,}[ \t]*))\n/g,(function(e){var t="";return(e=e.split("\n")).forEach((function(e){(e=e.trim())&&(t+=o("tr",e.rp(/[ \t]*!\[.*?\]\([^\)\s]+([^\)]*?)?\)/g,(function(e,t){return o("td","\n\n"+e+"\n\n")})),q))})),"\n"+o("table",t,F)+"\n"}))).rp(/(\s*)!\[\]\(("?)([^"<>\s]+?)\2(\s[^\)]*?)?\)(\s*)/g,(function(e,t,n,a,r,i){var s=z(0,a,r);return B(t,i)&&(s=o("center",s)),t+s+i}));for(var P=!0,H=E("captionAbove","image");P;)P=!1,e=e.rp(/(\s*)!\[(.+?)\]\(("?)([^"<>\s]+?)\3(\s[^\)]*?)?\)(\s*)/,(function(e,t,n,a,r,i,s){P=!0;var l="",c=B(t,s);i&&!c&&(i=(i=i.rp(/((?:max-)?width)\s*:\s*[^;'"]*/g,(function(e,t){return l=e+";",t+":100%"}))).rp(/((?:max-)?width)\s*=\s*('\S+?'|"\S+?")/g,(function(e,t,n){return l=t+":"+n.ss(1,n.length-1)+";",'style="'+t+':100%" '})));var d=z(0,r,i);c?(t+="<center>",s="</center>"+s):l+="float:right;margin:4px 0px 0px 25px;";var u=L(b(n),m);return n=o("center",o("span",u.caption+N(r),m('class="imagecaption"'))),t+o("div",u.target+(H?n:"")+d+(H?"":n),m('class="image" style="'+l+'"'))+s}));e=D(e,/\*\*/,"strong",m('class="asterisk"')),e=D(e,/__/,"strong",m('class="underscore"')),e=D(e,/\*/,"em",m('class="asterisk"')),e=(e=D(e,/_/,"em",m('class="underscore"'))).rp(/\~\~([^~].*?)\~\~/g,o("del","$1")),E("smartQuotes")&&(e=(e=e.rp(/(^|[ \t->])(")(?=\w)/gm,"$1"+M("“"))).rp(/([A-Za-z\.,:;\?!=<])(")(?=$|\W)/gm,"$1"+M("”")));var G=(e=(e=(e=(e=(e=function(e,t){e=(e=e.rp(/^(\s*)(?:-\s*)?(?:\[ \]|\u2610)(\s+)/gm,"$1\u2610$2")).rp(/^(\s*)(?:-\s*)?(?:\[[xX]\]|\u2611)(\s+)/gm,"$1\u2611$2");for(var n=new RegExp("("+/[:,]\s*\n/.source+"|"+/\n\s*\n/.source+"|<p>s*\n|<br/>s*\n?)"+/((?:[ \t]*(?:\d+\.|-|\+|\*|\u2611|\u2610)(?:[ \t]+.+\n(?:[ \t]*\n)?)+)+)/.source,"gm"),a=!0,r={"+":t('class="plus"'),"-":t('class="minus"'),"*":t('class="asterisk"'),"\u2611":t('class="checked"'),"\u2610":t('class="unchecked"')},i=t('class="number"');a;)a=!1,e=e.rp(n,(function(e,n,s){var o=n,l=[],c={indentLevel:-1};for(s.split("\n").forEach((function(e){var n=e.rp(/^\s*/,""),s=e.length-n.length,d=r[n[0]],u=!!d;d=d||i;var g=/^\d+\.[ \t]/.test(n),m=""===n,p=g?" "+t("start="+n.match(/^\d+/)[0]):"";if((g||u)&&(s+=2),c)if(g||u||!(m||s>=c.indentLevel)){if(s!==c.indentLevel)if(-1!==c.indentLevel&&s<c.indentLevel)for(;c&&s<c.indentLevel;)l.pop(),o+="\n</li></"+c.tag+">",c=l[l.length-1];else c={indentLevel:s,tag:g?"ol":"ul",indentChars:e.ss(0,s-2)},l.push(c),o+="\n<"+c.tag+p+">";else-1!==c.indentLevel&&(o+="\n</li>");c?o+="\n"+c.indentChars+"<li "+d+">"+n.rp(/^(\d+\.|-|\+|\*|\u2611|\u2610) /,""):(o+="\n"+e,a=!0)}else o+="\n"+c.indentChars+e;else o+="\n"+e})),o=o.replace(/\s+$/,""),c=l.pop();c;c=l.pop())o+="</li></"+c.tag+">";return o+"\n\n"}));return e}(e=function(e,t){var n=/^.+\n:(?=[ \t])/.source;return e.rp(new RegExp("("+n+"(s*\n|[: \t].+\n)+)+","gm"),(function(e){var n=[],a=null;e.split("\n").forEach((function(e,t){0===e.trim().length?a&&(a.definition+="\n"):/\s/.test(e[0])||":"===e[0]?(":"===e[0]&&(e=" "+e.ss(1)),a.definition+=e+"\n"):(a={term:e,definition:""},n.push(a))}));var r=0;n.forEach((function(e){r=/\n\s*\n/.test(e.definition.trim())?1/0:y(r,k(C(e.definition)).length)}));var i="",s=E("definitionStyle");if("short"===s||"long"!==s&&r<160){var l=t("valign=top");n.forEach((function(e){i+=o("tr",o("td",o("dt",e.term))+o("td",o("dd",o("p",e.definition))),l)})),i=o("table",i)}else n.forEach((function(e){i+=o("dt",e.term)+o("dd",o("p",e.definition))}));return o("dl",i)}))}(e=function(e,t){var n="("+/^(?:[^\|<>\s-\+\*\d].*[12]\d{3}(?!\d).*?|(?:[12]\d{3}(?!\.).*\d.*?)|(?:\d{1,3}(?!\.).*[12]\d{3}(?!\d).*?))/.source+"):"+/[ \t]+([^ \t\n].*)\n/.source+/(?:[ \t]*\n)?((?:[ \t]+.+\n(?:[ \t]*\n){0,3})*)/.source,a=new RegExp(n,"gm"),r=t('valign="top"'),i=t('style="width:100px;padding-right:15px" rowspan="2"'),s=t('style="padding-bottom:25px"'),l=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].map(M),c=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"].map(M),d=["January","February","March","April","May","June","July","August","September","October","November","December"].map(M);function u(e){return e.toLowerCase().rp(".","")}var g=c.map(u),m=d.map(u),p="\\b"+c.concat(d).join("(?:\\.|\\b)|\\b").rp(/([^\\])\./g,"$1")+"(?:\\.|\\b)";try{var b=0;e=e.rp(new RegExp("\n[ \t]*\n("+n+"){2,}","gm"),(function(e){++b;var n=[],c=!1;e.rp(a,(function(e,a,d,h){var f="",_="",y="",x=!1;"("===(a=a.trim())[0]&&")"===a.slice(-1)&&(a=a.slice(1,-1),x=!0);var v=RegExp("([0123]?\\d)\\D+([01]?\\d|"+p+")\\D+([12]\\d{3})","i"),w=a.match(v);if(w)y=w[1],_=w[2],f=w[3];else if(w=a.match(RegExp("([12]\\d{3})\\D+([01]?\\d|"+p+")\\D+([0123]?\\d)","i")))y=w[3],_=w[2],f=w[1];else{if(!(w=a.match(RegExp("("+p+")\\D+([0123]?\\d)\\D+([12]\\d{3})","i"))))throw"Could not parse date";y=w[2],_=w[1],f=w[3]}a=y+" "+M(_)+" "+f;var E=parseInt(_)-1;if(isNaN(E)){var N=u(_);-1===(E=g.indexOf(N))&&(E=m.indexOf(N))}var A=new Date(Date.UTC(parseInt(f),E,parseInt(y),9)),k=A.getUTCDay();return a=l[k]+"<br/>"+a,c=c||0===k||6===k,n.push({date:A,title:d,sourceOrder:n.length,parenthesized:x,text:x?"":o("tr",o("td","<a "+t('class="target" name="schedule'+b+"_"+A.getUTCFullYear()+"-"+(A.getUTCMonth()+1)+"-"+A.getUTCDate()+'"')+"> </a>"+a,i)+o("td",o("b",d)),r)+o("tr",o("td","\n\n"+h,s),r)}),""}));var h=E("sortScheduleLists")?n:n.slice(0);n.sort((function(e,t){var n=e.date.getTime(),a=t.date.getTime();return n===a?e.sourceOrder-t.sourceOrder:n-a}));var f=864e5,_=(n[n.length-1].date.getTime()-n[0].date.getTime())/f,y=new Date;y=new Date(Date.UTC(y.getUTCFullYear(),y.getUTCMonth(),y.getUTCDate(),9));var x="";if(_>14&&_/n.length<16){var w=t('colspan="2" width="14%" style="padding-top:5px;text-align:center;font-style:italic"'),N=t('width="1%" height="30px" style="text-align:right;border:1px solid #EEE;border-right:none;"'),A=t('width="1%" height="30px" style="color:#BBB;text-align:right;"'),k=t('width="14%" style="border:1px solid #EEE;border-left:none;"'),C=t('class="parenthesized"'),S=n[0].date,T=0,O=!c&&E("hideEmptyWeekends"),D=O?function(e){return e.getUTCDay()>0&&e.getUTCDay()<6}:function(){return!0},R=function(e,t){return v(e.getTime()-t.getTime())<432e5};for(S=new Date(S.getUTCFullYear(),S.getUTCMonth(),1,9);S.getTime()<n[n.length-1].date.getTime();){for(x+="<table "+t('class="calendar"')+">\n"+o("tr",o("th",d[S.getUTCMonth()]+" "+S.getUTCFullYear(),t('colspan="14"')))+"<tr>",(O?l.slice(1,6):l).forEach((function(e){x+=o("td",e,w)})),x+="</tr>";0!==S.getUTCDay();)S=new Date(S.getTime()-f);if(1!==S.getDate())for(x+="<tr "+r+">";1!==S.getDate();)D(S)&&(x+="<td "+A+">"+S.getUTCDate()+"</td><td> </td>"),S=new Date(S.getTime()+f);do{if(0===S.getUTCDay()&&(x+="<tr "+r+">"),D(S)){var I="";R(S,y)&&(I=t('class="today"'));for(var L="",B=n[T];B&&R(B.date,S);++T,B=n[T])L&&(L+="<br/>"),B.parenthesized?L+=o("span",B.title,C):L+=o("a",B.title,t('href="#schedule'+b+"_"+S.getUTCFullYear()+"-"+(S.getUTCMonth()+1)+"-"+S.getUTCDate()+'"'));x+=L?o("td",o("b",S.getUTCDate()),N+I)+o("td",L,k+I):"<td "+N+I+"></a>"+S.getUTCDate()+"</td><td "+k+I+"> </td>"}6===S.getUTCDay()&&(x+="</tr>"),S=new Date(S.getTime()+f)}while(S.getUTCDate()>1);if(0!==S.getUTCDay()){for(;0!==S.getUTCDay();)D(S)&&(x+="<td "+A+">"+S.getUTCDate()+"</td><td> </td>"),S=new Date(S.getTime()+f);x+="</tr>"}x+="</table><br/>\n",S=new Date(Date.UTC(S.getUTCFullYear(),S.getUTCMonth(),1,9))}}return e="",h.forEach((function(t){e+=t.text})),"\n\n"+x+o("table",e,t('class="schedule"'))+"\n\n"}))}catch(e){}return e}(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.rp(/(\s|^)<==(\s)/g,"$1\u21d0$2")).rp(/(\s|^)->(\s)/g,"$1→$2")).rp(/(\s|^)-->(\s)/g,"$1⟶$2")).rp(/(\s|^)==>(\s)/g,"$1\u21d2$2")).rp(/(\s|^)<-(\s)/g,"$1←$2")).rp(/(\s|^)<--(\s)/g,"$1⟵$2")).rp(/(\s|^)<==>(\s)/g,"$1\u21d4$2")).rp(/(\s|^)<->(\s)/g,"$1\u2194$2")).rp(/([^-!\:\|])---([^->\:\|])/g,"$1—$2")).rp(/([^-!\:\|])--([^->\:\|])/g,"$1—$2")).rp(/(\d+[ \t]?)x(?=[ \t]?\d+)/g,"$1×")).rp(/([\s\(\[<\|])-(\d)/g,"$1−$2")).rp(/(\d) - (\d)/g,"$1 − $2")).rp(/\^([-+]?\d+)\b/g,"<sup>$1</sup>")).rp(/(^|\s|\b)\\(pagebreak|newpage)(\b|\s|$)/gi,m('<div style="page-break-after:always"> </div>\n')),m),m),m)).rp(/(\d+?)[ \t-]?\n?degree(?:s?)/g,"$1°")).rp(/(?:<p>)?\n\s*\n+(?!<\/p>)/gi,(function(e){return/^<p>/i.test(e)?e:"\n\n</p><p>\n\n"}))).rp(/<p>[\s\n]*<\/p>/gi,"")).rp(/\n\[\^(\S+)\]: ((?:.+?\n?)*)/g,(function(e,t,a){return(t=t.toLowerCase().trim())in n?"\n<div "+m('class="endnote"')+"><a "+m('class="target" name="endnote-'+t+'"')+"> </a><sup>"+n[t]+"</sup> "+a+"</div>":"\n"}))).match(/<h([1-6])>(.*?)<\/h\1>/gi);if(G&&G.forEach((function(t){var n="<a "+m('href="#'+S(t=C(t.ss(4,t.length-5)).trim())+'"')+">",a="("+M("section")+"|"+M("subsection")+"|"+M("chapter")+")",r="(\\b"+function(e){return e.rp(/([\.\[\]\(\)\*\+\?\^\$\\\{\}\|])/g,"\\$1")}(t)+")";e=(e=e.rp(RegExp(r+"\\s+"+a,"gi"),n+"$1</a> $2")).rp(RegExp(a+"\\s+"+r,"gi"),"$1 "+n+"$2</a>")})),e=(e=e.rp(RegExp("\\b(fig\\.|tbl\\.|lst\\.|"+M("figure")+"|"+M("table")+"|"+M("listing")+"|"+M("diagram")+")\\s+\\[([^\\s\\]]+)\\]","gi"),(function(e,t,n){var a=t.toLowerCase();switch(a){case"fig.":a=M("figure").toLowerCase();break;case"tbl.":a=M("table").toLowerCase();break;case"lst.":a=M("listing").toLowerCase()}var r=a+"_"+S(n.toLowerCase().trim()),i=I[r];return i?(i.used=!0,"<a "+m('href="#'+r+'"')+">"+t+" "+i.number+N(n)+"</a>"):(console.log("Reference to undefined '"+a+" ["+n+"]'"),t+" ?")}))).rp(/(?:<|(?!<)\b)(\w{3,6}:\/\/.+?)(?:$|>|(?=<)|(?=\s|\u00A0)(?!<))/g,(function(e,t){var n="";return"."==t[t.length-1]&&(t=t.ss(0,t.length-1),n="."),"<a "+("s"!==t[0]&&"p"!==t[0]?m('href="'+t+'" class="url"'):"")+">"+t+"</a>"+n})),!t){var Z=/^\s*(?:<\/p><p>)?\s*<strong.*?>([^ \t\*].*?[^ \t\*])<\/strong>(?:<\/p>)?[ \t]*\n/.source,K=/([ {4,}\t][ \t]*\S.*\n)*/.source;e=e.rp(new RegExp(Z+K,"g"),(function(e,t){t=t.trim();var n=e.ss(e.indexOf("\n",e.indexOf("</strong>")));return n=n?n.rp(/[ \t]*(\S.*?)\n/g,'<div class="subtitle"> $1 </div>\n'):"",o("title",C(t).replace(/[\u200a\u2006\u2008\u2009\u202f]/g,"").replace(/[ \u2000\u2001\u2002\u2003\u2004\u2005\u2007\u205f\u3000]/g," "))+N(window.location.href,"center")+'<div class="title"> '+t+" </div>\n"+n+'<div class="afterTitles"></div>\n'}))}if(e=e.rp(/^\s*<\/p>/,""),!t){var V=function(e,t,n){var a='<a href="#" class="tocTop">(Top)</a><br/>\n',r="",i=[],s=[0],l=0,c=0,d={},u=parseInt(E("tocDepth"));e=e.rp(/<h([1-6])>(.*?)<\/h\1>/gi,(function(e,g,m){g=parseInt(g),m=m.trim();for(var p=l;p<g;++p)i[p]="",s[p]=0;s.splice(g,l-g),i.splice(g,l-g),++s[(l=g)-1];var b=s.join("."),h="toc"+b,f=C(n(m)).trim().toLowerCase();d[f]=b,m=m.rp(/<a\s.*>(.*?)<\/a>/g,"$1"),i[l-1]=S(f);var _=i.join("/");return g<=u&&(a+=Array(g).join(" ")+'<a href="#'+_+'" class="level'+g+'"><span class="tocNumber">'+b+" </span>"+m+"</a><br/>\n",1===g?r+=' · <a href="#'+_+'">'+m+"</a>":++c),o("a"," ",t('class="target" name="'+_+'"'))+o("a"," ",t('class="target" name="'+h+'"'))+e})),r.length>0&&(r=r.ss(10));var g=s[0],m=g+c,p=e.regexIndexOf(/((<a\s+\S+> <\/a>)\s*)*?<h\d>/i);-1===p&&(p=0);var b='<div class="afterTitles"></div>',h=e.indexOf(b);-1===h?h=0:h+=31;var f=E("tocStyle"),_="";switch("auto"!==f&&""!==f||(f=m<4&&g<=1||e.length<2048?"none":g<7&&m/g<2.5?"short":-1===p||p/55>m?"medium":"long"),f){case"none":case"":break;case"short":_='<div class="shortTOC">'+r+"</div>";break;case"medium":_='<div class="mediumTOC"><center><b>'+M("Contents")+"</b></center><p>"+a+"</p></div>";break;case"long":h=p,_='<div class="longTOC"><div class="tocHeader">'+M("Contents")+"</div><p>"+a+"</p></div>";break;default:console.log('markdeepOptions.tocStyle = "'+f+'" specified in your document is not a legal value')}return[e=e.ss(0,h)+_+e.ss(h),d]}(e,m,(function(e){return e.rp(g,b)}));e=V[0];var X=V[1];e=e.rp(RegExp("\\b("+M("sec")+"\\.|"+M("section")+"|"+M("subsection")+"|"+M("chapter")+")\\s\\[(.+?)\\]","gi"),(function(e,t,n){var a=X[n.toLowerCase().trim()];return a?t+" <a "+m('href="#toc'+a+'"')+">"+a+"</a>":t+" ?"}))}var W=50;for(p=!0;e.indexOf(l)+1&&p&&W>0;)p=!1,e=e.rp(g,b),--W;if(W<=0&&console.log("WARNING: Ran out of iterations while expanding protected substrings"),Object.keys(r).forEach((function(e){r[e].used||console.log("Reference link '["+e+"]' is defined but never used")})),Object.keys(I).forEach((function(e){I[e].used||console.log("'"+I[e].source+"' is never referenced")})),E("linkAPIDefinitions")){var J={};e=(e=(e=e.rp(/<dt><code(\b[^<>\n]*)>(<span class="[a-zA-Z\-_0-9]+">)?([A-Za-z_][A-Za-z_\.0-9:\->]*)(<\/span>)?([\(\[<])/g,(function(e,t,n,a,r,i){var s=a+("<"===i?"":"("===i?"-fcn":"["===i?"-array":i);return J[s]=!0,'<dt><a name="apiDefinition-'+s+'"></a><code ignore '+t+">"+(n||"")+a+(r||"")+i}))).rp(/<h([1-9])>(.*<code\b[^<>\n]*>.*)<\/code>(.*<\/h\1>)/g,"<h$1>$2</code >$3")).rp(/<code(?! ignore)\b[^<>\n]*>(<span class="[a-zA-Z\-_0-9]+">)?([A-Za-z_][A-Za-z_\.0-9:\->]*)(<\/span>)?(\(\)|\[\])?<\/code>/g,(function(e,t,n,a,r){var i=n+(r?"("===r[0]?"-fcn":"["===r[0]?"-array":r[0]:"");return!0===J[i]?o("a",e,'href="#apiDefinition-'+i+'"'):e}))}return'<span class="md">'+o("p",e)+"</span>"}function U(e){if(Array.from)return Array.from(e);for(var t=[],n=0;n<e.length;++n)t[n]=e[n];return t}function z(e){var t=e.split("\n"),n=1/0;if(t.forEach((function(e){if(""!==e.trim()){var t=e.match(/^([ \t]*)/);t&&(n=x(n,t[0].length))}})),0===n)return e;var a="";return t.forEach((function(e){a+=e.ss(n)+"\n"})),a}function F(e){var t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122}function $(e,i){var s="\ue004";e=(e=(e=(e=function(e){var t=e.split("\n");t.length>0&&""===t[t.length-1]&&t.pop();var n=0;t.forEach((function(e){n=y(n,U(e).length)}));var a=Array(n+1).join(" "),r="";return t.forEach((function(e){r+=e+a.ss(U(e).length)+"\n"})),r}(e)).rp(/([a-zA-Z]{2})o/g,"$1\ue004")).rp(/o([a-zA-Z]{2})/g,"\ue004$1")).rp(/([a-zA-Z\ue004])o([a-zA-Z\ue004])/g,"$1\ue004$2");var o=180*Math.atan(.5)/Math.PI,l=1e-6,c=">v<^",d="o*\u25cc\u25cb\u25cd\u25cf",u="()",g="+",m=g+".'",p="\u2591\u2592\u2593\u2588",b="\u25e2\u25e3\u25e4\u25e5",h=c+d+u+p+b;function f(e){return g.indexOf(e)+1}function _(e){return-1!==m.indexOf(e)}function E(e){return f(e)||"."===e}function N(e){return f(e)||"'"===e}function M(e){return _(e)||"<"===e||B(e)}function k(e){return _(e)||">"===e||B(e)}function C(e){return p.indexOf(e)+1}function S(e){return b.indexOf(e)+1}function T(e){return"-"===e||f(e)||L(e)}function O(e){return D(e)||L(e)||B(e)}function D(e){return"|"===e||f(e)}function R(e){return"/"===e||f(e)}function I(e){return"\\"===e||f(e)}function L(e){return u.indexOf(e)+1}function B(e){return d.indexOf(e)+1}function j(e,t){if(!(this instanceof j))return new j(e,t);void 0===t&&(void 0===e?e=t=0:e instanceof j?(t=e.y,e=e.x):console.error("Vec2 requires one Vec2 or (x, y) as an argument")),this.x=e,this.y=t,Object.seal(this)}function z(e,t,n,a,r){e instanceof j&&t instanceof j||console.error("Path constructor requires at least two Vec2s"),this.A=e,this.B=t,n&&(this.C=n,this.D=a||n),this.dashed=r||!1,Object.freeze(this)}j.prototype.toString=j.prototype.toSVG=function(){return 8*this.x+","+8*this.y*2+" "};var $=z.prototype;function q(){this._pathArray=[]}$.isVertical=function(){return this.B.x===this.A.x},$.isHorizontal=function(){return this.B.y===this.A.y},$.isDiagonal=function(){var e=this.B.x-this.A.x,t=this.B.y-this.A.y;return v(t+e)<l},$.isBackDiagonal=function(){var e=this.B.x-this.A.x,t=this.B.y-this.A.y;return v(t-e)<l},$.isCurved=function(){return void 0!==this.C},$.endsAt=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.A.x===e&&this.A.y===t||this.B.x===e&&this.B.y===t},$.upEndsAt=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.isVertical()&&this.A.x===e&&x(this.A.y,this.B.y)===t},$.diagonalUpEndsAt=function(e,t){return!!this.isDiagonal()&&(void 0===t&&(t=e.y,e=e.x),this.A.y<this.B.y?this.A.x===e&&this.A.y===t:this.B.x===e&&this.B.y===t)},$.diagonalDownEndsAt=function(e,t){return!!this.isDiagonal()&&(void 0===t&&(t=e.y,e=e.x),this.B.y<this.A.y?this.A.x===e&&this.A.y===t:this.B.x===e&&this.B.y===t)},$.backDiagonalUpEndsAt=function(e,t){return!!this.isBackDiagonal()&&(void 0===t&&(t=e.y,e=e.x),this.A.y<this.B.y?this.A.x===e&&this.A.y===t:this.B.x===e&&this.B.y===t)},$.backDiagonalDownEndsAt=function(e,t){return!!this.isBackDiagonal()&&(void 0===t&&(t=e.y,e=e.x),this.B.y<this.A.y?this.A.x===e&&this.A.y===t:this.B.x===e&&this.B.y===t)},$.downEndsAt=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.isVertical()&&this.A.x===e&&y(this.A.y,this.B.y)===t},$.leftEndsAt=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.isHorizontal()&&this.A.y===t&&x(this.A.x,this.B.x)===e},$.rightEndsAt=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.isHorizontal()&&this.A.y===t&&y(this.A.x,this.B.x)===e},$.verticalPassesThrough=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.isVertical()&&this.A.x===e&&x(this.A.y,this.B.y)<=t&&y(this.A.y,this.B.y)>=t},$.horizontalPassesThrough=function(e,t){return void 0===t&&(t=e.y,e=e.x),this.isHorizontal()&&this.A.y===t&&x(this.A.x,this.B.x)<=e&&y(this.A.x,this.B.x)>=e},$.toSVG=function(){var e='<path d="M '+this.A;return this.isCurved()?e+="C "+this.C+this.D+this.B:e+="L "+this.B,e+='" style="fill:none;"',this.dashed&&(e+=' stroke-dasharray="3,6"'),e+="/>"};var P=q.prototype;function H(e){return function(t,n){for(var a=0;a<this._pathArray.length;++a)if(e.call(this._pathArray[a],t,n))return!0}}function G(){this._decorationArray=[]}P.insert=function(e){this._pathArray.push(e)},P.upEndsAt=H($.upEndsAt),P.diagonalUpEndsAt=H($.diagonalUpEndsAt),P.backDiagonalUpEndsAt=H($.backDiagonalUpEndsAt),P.diagonalDownEndsAt=H($.diagonalDownEndsAt),P.backDiagonalDownEndsAt=H($.backDiagonalDownEndsAt),P.downEndsAt=H($.downEndsAt),P.leftEndsAt=H($.leftEndsAt),P.rightEndsAt=H($.rightEndsAt),P.endsAt=H($.endsAt),P.verticalPassesThrough=H($.verticalPassesThrough),P.horizontalPassesThrough=H($.horizontalPassesThrough),P.toSVG=function(){for(var e="",t=0;t<this._pathArray.length;++t)e+=this._pathArray[t].toSVG()+"\n";return e};var Z=G.prototype;Z.insert=function(e,t,n,a){void 0===n&&(n=t,t=e.y,e=e.x),function(e){return h.indexOf(e)+1}(n)||console.error("Illegal decoration character: "+n);var r={C:j(e,t),type:n,angle:a||0};B(n)?this._decorationArray.push(r):this._decorationArray.unshift(r)},Z.toSVG=function(){for(var e="",t=0;t<this._decorationArray.length;++t){var n=this._decorationArray[t],a=n.C;if(L(n.type)){var i=")"===n.type?.75:-.75,s=j(a.x,a.y-.5),o=j(a.x,a.y+.5),l=j(a.x+i,a.y-.5);e+='<path d="M '+o+" C "+j(a.x+i,a.y+.5)+l+s+'" style="fill:none;"/>'}else if(B(n.type)){var c={"*":"closed",o:"open","\u25cc":"dotted","\u25cb":"open","\u25cd":"shaded","\u25cf":"closed"}[n.type];e+='<circle cx="'+8*a.x+'" cy="'+8*a.y*2+'" r="'+(8-r)+'" class="'+c+'dot"/>'}else if(C(n.type)){var d=Math.round(63.75*(3-p.indexOf(n.type)));e+='<rect x="'+8*(a.x-.5)+'" y="'+8*(a.y-.5)*2+'" width="8" height="16" stroke="none" fill="rgb('+d+","+d+","+d+')"/>'}else if(S(n.type)){var u=b.indexOf(n.type),g=.5-(1&u),m=.5-(u>>1);g*=w(m),e+='<polygon points="'+j(a.x+g,a.y-m)+(s=j(a.x+g,a.y+m))+(o=j(a.x-g,a.y+m))+'" style="stroke:none"/>\n'}else{e+='<polygon points="'+j(a.x+1,a.y)+(s=j(a.x-.5,a.y-.35))+(o=j(a.x-.5,a.y+.35))+'" style="stroke:none" transform="rotate('+n.angle+","+a+')"/>\n'}}return e};var K=function(e){var t=function(n,a){return void 0===a&&(n instanceof j?(a=n.y,n=n.x):console.error("grid requires either a Vec2 or (x, y)")),n>=0&&n<t.width&&a>=0&&a<t.height?e[a*(t.width+1)+n]:" "};return t._used=[],t.height=e.split("\n").length,"\n"===e[e.length-1]&&--t.height,e=U(e),t.width=e.indexOf("\n"),t.setUsed=function(e,n){void 0===n&&(e instanceof j?(n=e.y,e=e.x):console.error("grid requires either a Vec2 or (x, y)")),e>=0&&e<t.width&&n>=0&&n<t.height&&(t._used[n*(t.width+1)+e]=!0)},t.isUsed=function(e,t){return void 0===t&&(e instanceof j?(t=e.y,e=e.x):console.error("grid requires either a Vec2 or (x, y)")),!0===this._used[t*(this.width+1)+e]},t.isSolidVLineAt=function(e,n){void 0===n&&(n=e.x,e=e.x);var a=t(e,n-1),r=t(e,n),i=t(e,n+1),s=t(e+1,n-1),o=t(e-1,n-1);return D(r)?E(a)||"^"===a||D(a)||L(a)||N(i)||"v"===i||D(i)||L(i)||B(a)||B(i)||"_"===t(e,n-1)||"_"===o||"_"===s||(E(o)||E(s))&&(N(t(e-1,n+1))||N(t(e+1,n+1))):E(r)||"^"===r?D(i)||L(i)&&"."!==r:N(r)||"v"===r?D(a)||L(a)&&"'"!==r:!!B(r)&&(D(a)||D(i))},t.isSolidHLineAt=function(e,n){void 0===n&&(n=e.x,e=e.x);var a=t(e-2,n),r=t(e-1,n),i=t(e+0,n),s=t(e+1,n),o=t(e+2,n);return T(i)||T(r)&&L(i)?T(r)?T(s)||k(s)||T(a)||M(a):M(r)?T(s):T(s)&&(T(o)||k(o)):"<"===i?T(s)&&T(o):">"===i?T(r)&&T(a):!!_(i)&&(T(r)&&T(a)||T(s)&&T(o))},t.isSolidBLineAt=function(e,n){void 0===n&&(n=e.x,e=e.x);var a=t(e,n),r=t(e-1,n-1),i=t(e+1,n+1);return"\\"===a?I(i)||N(i)||B(i)||"v"===i||I(r)||E(r)||B(r)||"^"===r||"/"===t(e,n-1)||"/"===t(e,n+1)||"_"===i||"_"===r:"."===a?"\\"===i:"'"===a?"\\"===r:"^"===a?"\\"===i:"v"===a?"\\"===r:_(a)||B(a)||"|"===a?I(r)||I(i):void 0},t.isSolidDLineAt=function(e,n){void 0===n&&(n=e.x,e=e.x);var a=t(e,n),r=t(e-1,n+1),i=t(e+1,n-1);return"/"===a&&("\\"===t(e,n-1)||"\\"===t(e,n+1))||(R(a)?R(i)||E(i)||B(i)||"^"===i||"_"===i||R(r)||N(r)||B(r)||"v"===r||"_"===r:"."===a?"/"===r:"'"===a?"/"===i:"^"===a?"/"===r:"v"===a?"/"===i:!(!_(a)&&!B(a)&&"|"!==a)&&(R(r)||R(i)))},t.toString=function(){return e},Object.freeze(t)}(e),V=new q,X=new G;!function(e,t){function n(t,n,a){var r,i,s=w(n.x-t.x),o=w(n.y-t.y);for(r=t.x,i=t.y;r!==n.x||i!==n.y;r+=s,i+=o)if(e(r,i)===a)return!0;return e(r,i)===a}for(var a=0;a<e.width;++a)for(var r=0;r<e.height;++r)if(e.isSolidVLineAt(a,r)){var i=j(a,r);do{e.setUsed(a,r),++r}while(e.isSolidVLineAt(a,r));var s=j(a,r-1),o=e(i),l=e(i.x,i.y-1);(!_(o)&&("-"===l||"_"===l||"\u2533"===l||"_"===e(i.x-1,i.y-1)||"_"===e(i.x+1,i.y-1)||N(l))||L(l))&&(i.y-=.5);var c=e(s),d=e(s.x,s.y+1);(!_(c)&&("-"===d||"\u253b"===d||E(d))||L(d)||"_"===e(s.x-1,s.y)||"_"===e(s.x+1,s.y))&&(s.y+=.5),i.x===s.x&&i.y===s.y||t.insert(new z(i,s))}else"'"===e(a,r)&&("-"===e(a-1,r)&&"_"===e(a+1,r-1)&&!O(e(a-1,r-1))||"_"===e(a-1,r-1)&&"-"===e(a+1,r)&&!O(e(a+1,r-1)))?t.insert(new z(j(a,r-.5),j(a,r))):"."===e(a,r)&&("_"===e(a-1,r)&&"-"===e(a+1,r)&&!O(e(a+1,r+1))||"-"===e(a-1,r)&&"_"===e(a+1,r)&&!O(e(a-1,r+1)))?t.insert(new z(j(a,r),j(a,r+.5))):"."===e(a,r)&&"-"===e(a-1,r)&&"\u2571"===e(a+1,r)?t.insert(new z(j(a,r),j(a+.5,r+.5))):"'"===e(a,r)&&"-"===e(a+1,r)&&"\u2571"===e(a-1,r)&&t.insert(new z(j(a,r),j(a-.5,r-.5)));for(r=0;r<e.height;++r)for(a=0;a<e.width;++a)if(e.isSolidHLineAt(a,r)){i=j(a,r);do{e.setUsed(a,r),++a}while(e.isSolidHLineAt(a,r));s=j(a-1,r);"\u252b"===e(s.x+1,s.y)&&(s.x+=.5),"\u2523"===e(i.x-1,i.y)&&(i.x-=.5),!_(e(i.x-1,i.y))&&(E(e(i))&&O(e(i.x-1,i.y+1))||N(e(i))&&O(e(i.x-1,i.y-1)))&&++i.x,!_(e(s.x+1,s.y))&&(E(e(s))&&O(e(s.x+1,s.y+1))||N(e(s))&&O(e(s.x+1,s.y-1)))&&--s.x,i.x===s.x&&i.y===s.y||t.insert(new z(i,s))}for(var u=-e.height;u<e.width;++u)for(a=u,r=0;r<e.height;++r,++a)if(e.isSolidBLineAt(a,r)){i=j(a,r);do{++a,++r}while(e.isSolidBLineAt(a,r));if(n(i,s=j(a-1,r-1),"\\")){for(var g=i.x;g<=s.x;++g)e.setUsed(g,i.y+(g-i.x));var m=e(i),p=(o=e(i.x,i.y-1),e(i.x-1,i.y-1));"/"===o||"_"===p||"_"===o||!_(m)&&(T(p)||D(p))?(i.x-=.5,i.y-=.5):B(p)&&(i.x-=.25,i.y-=.25);e(s);var b=e(s.x+1,s.y+1);"/"===e(s.x,s.y+1)||"_"===e(s.x+1,s.y)||"_"===e(s.x-1,s.y)||!_(e(s))&&(T(b)||D(b))?(s.x+=.5,s.y+=.5):B(b)&&(s.x+=.25,s.y+=.25),t.insert(new z(i,s))}}for(u=-e.height;u<e.width;++u)for(a=u,r=e.height-1;r>=0;--r,++a)if(e.isSolidDLineAt(a,r)){i=j(a,r);do{++a,--r}while(e.isSolidDLineAt(a,r));if(n(i,s=j(a-1,r+1),"/")){for(g=i.x;g<=s.x;++g)e.setUsed(g,i.y-(g-i.x));o=e(s.x,s.y-1);var h=e(s.x+1,s.y-1);e(s);"\\"===o||"_"===o||"_"===h||!_(e(s))&&(T(h)||D(h))?(s.x+=.5,s.y-=.5):B(h)&&(s.x+=.25,s.y-=.25);var f=e(i.x-1,i.y+1);m=e(i);"\\"===e(i.x,i.y+1)||"_"===e(i.x-1,i.y)||"_"===e(i.x+1,i.y)||!_(e(i))&&(T(f)||D(f))?(i.x-=.5,i.y+=.5):B(f)&&(i.x-=.25,i.y+=.25),t.insert(new z(i,s))}}for(r=0;r<e.height;++r)for(a=0;a<e.width;++a){E(v=e(a,r))&&(T(e(a-1,r))&&D(e(a+1,r+1))&&(e.setUsed(a-1,r),e.setUsed(a,r),e.setUsed(a+1,r+1),t.insert(new z(j(a-1,r),j(a+1,r+1),j(a+1.1,r),j(a+1,r+1)))),T(e(a+1,r))&&D(e(a-1,r+1))&&(e.setUsed(a-1,r+1),e.setUsed(a,r),e.setUsed(a+1,r),t.insert(new z(j(a+1,r),j(a-1,r+1),j(a-1.1,r),j(a-1,r+1))))),")"!==v&&!B(v)||"."!==e(a-1,r-1)||"'"!==e(a-1,r+1)||(e.setUsed(a,r),e.setUsed(a-1,r-1),e.setUsed(a-1,r+1),t.insert(new z(j(a-2,r-1),j(a-2,r+1),j(a+.6,r-1),j(a+.6,r+1)))),"("!==v&&!B(v)||"."!==e(a+1,r-1)||"'"!==e(a+1,r+1)||(e.setUsed(a,r),e.setUsed(a+1,r-1),e.setUsed(a+1,r+1),t.insert(new z(j(a+2,r-1),j(a+2,r+1),j(a-.6,r-1),j(a-.6,r+1)))),N(v)&&(T(e(a-1,r))&&D(e(a+1,r-1))&&(e.setUsed(a-1,r),e.setUsed(a,r),e.setUsed(a+1,r-1),t.insert(new z(j(a-1,r),j(a+1,r-1),j(a+1.1,r),j(a+1,r-1)))),T(e(a+1,r))&&D(e(a-1,r-1))&&(e.setUsed(a-1,r-1),e.setUsed(a,r),e.setUsed(a+1,r),t.insert(new z(j(a+1,r),j(a-1,r-1),j(a-1.1,r),j(a-1,r-1)))))}for(r=0;r<e.height;++r)for(a=0;a<e.width-2;++a){var y=e(a-1,r);if(!("_"!==e(a,r)||"_"!==e(a+1,r)||F(e(a+2,r))&&"_"!==y||F(y)&&"_"!==e(a+2,r))){var x=e(a-2,r);i=j(a-.5,r+.5);"|"===y||"|"===e(a-1,r+1)||"."===y||"'"===e(a-1,r+1)?(i.x-=.5,"."!==y||"-"!==x&&"."!==x||"("!==e(a-2,r+1)||(i.x-=.5)):"/"===y&&(i.x-=1),"("===y&&"("===x&&"'"===e(a,r+1)&&"."===e(a,r-1)&&(i.x+=.5),y=x=void 0;do{e.setUsed(a,r),++a}while("_"===e(a,r));s=j(a-.5,r+.5);var v=e(a,r),M=e(a+1,r);c=e(a,r+1);"|"===v||"|"===c||"."===v||"'"===c?(s.x+=.5,"."!==v||"-"!==M&&"."!==M||")"!==e(a+1,r+1)||(s.x+=.5)):"\\"===v&&(s.x+=1),")"===v&&")"===M&&"'"===e(a-1,r+1)&&"."===e(a-1,r-1)&&(s.x+=-.5),t.insert(new z(i,s))}}}(K,V),function(e,t){for(var n=0;n<e.width;++n)for(var a=0;a<e.height;++a){if(!e.isUsed(n,a))switch(e(n,a)){case"\u2571":t.insert(new z(j(n-.5,a+.5),j(n+.5,a-.5))),e.setUsed(n,a);break;case"\u2572":t.insert(new z(j(n-.5,a-.5),j(n+.5,a+.5))),e.setUsed(n,a)}}}(K,V),function(e,t,n){function a(e){return" "===e||/[^a-zA-Z0-9]|[ov]/.test(e)}function r(e,t,n,r){return(a(t)||B(t))&&(a(e)||B(e))&&a(r)&&a(n)}for(var i=0;i<e.width;++i)for(var s=0;s<e.height;++s){var l=e(i,s),c=s;if(L(l))t.downEndsAt(i,c-.5)&&t.upEndsAt(i,c+.5)&&(n.insert(i,c,l),e.setUsed(i,c));else if(B(l)){var d=e(i,c-1),u=e(i,c+1),g=e(i-1,c),m=e(i+1,c);e(i-2,c),e(i+2,c);(t.rightEndsAt(i-1,c)||t.leftEndsAt(i+1,c)||t.downEndsAt(i,c-1)||t.upEndsAt(i,c+1)||t.upEndsAt(i,c)||t.downEndsAt(i,c)||r(d,u,g,m))&&(n.insert(i,c,l),e.setUsed(i,c))}else if(C(l))n.insert(i,c,l),e.setUsed(i,c);else if(S(l))n.insert(i,c,l),e.setUsed(i,c);else{var p=0;">"===l&&(t.rightEndsAt(i,c)||t.horizontalPassesThrough(i,c))?(B(e(i+1,c))&&(p=-.5),n.insert(i+p,c,">",0),e.setUsed(i,c)):"<"===l&&(t.leftEndsAt(i,c)||t.horizontalPassesThrough(i,c))?(B(e(i-1,c))&&(p=.5),n.insert(i+p,c,">",180),e.setUsed(i,c)):"^"===l?t.upEndsAt(i,c-.5)?(n.insert(i,c-.5,">",270),e.setUsed(i,c)):t.upEndsAt(i,c)?(n.insert(i,c,">",270),e.setUsed(i,c)):t.diagonalUpEndsAt(i+.5,c-.5)?(n.insert(i+.5,c-.5,">",270+o),e.setUsed(i,c)):t.diagonalUpEndsAt(i+.25,c-.25)?(n.insert(i+.25,c-.25,">",270+o),e.setUsed(i,c)):t.diagonalUpEndsAt(i,c)?(n.insert(i,c,">",270+o),e.setUsed(i,c)):t.backDiagonalUpEndsAt(i,c)?(n.insert(i,c,l,270-o),e.setUsed(i,c)):t.backDiagonalUpEndsAt(i-.5,c-.5)?(n.insert(i-.5,c-.5,l,270-o),e.setUsed(i,c)):t.backDiagonalUpEndsAt(i-.25,c-.25)?(n.insert(i-.25,c-.25,l,270-o),e.setUsed(i,c)):t.verticalPassesThrough(i,c)&&(n.insert(i,c-.5,">",270),e.setUsed(i,c)):"v"===l&&(t.downEndsAt(i,c+.5)?(n.insert(i,c+.5,">",90),e.setUsed(i,c)):t.downEndsAt(i,c)?(n.insert(i,c,">",90),e.setUsed(i,c)):t.diagonalDownEndsAt(i,c)?(n.insert(i,c,">",90+o),e.setUsed(i,c)):t.diagonalDownEndsAt(i-.5,c+.5)?(n.insert(i-.5,c+.5,">",90+o),e.setUsed(i,c)):t.diagonalDownEndsAt(i-.25,c+.25)?(n.insert(i-.25,c+.25,">",90+o),e.setUsed(i,c)):t.backDiagonalDownEndsAt(i,c)?(n.insert(i,c,">",90-o),e.setUsed(i,c)):t.backDiagonalDownEndsAt(i+.5,c+.5)?(n.insert(i+.5,c+.5,">",90-o),e.setUsed(i,c)):t.backDiagonalDownEndsAt(i+.25,c+.25)?(n.insert(i+.25,c+.25,">",90-o),e.setUsed(i,c)):t.verticalPassesThrough(i,c)&&(n.insert(i,c+.5,">",90),e.setUsed(i,c)))}}}(K,V,X);var W='<svg class="diagram" xmlns="http://www.w3.org/2000/svg" version="1.1" height="'+8*(K.height+1)*2+'" width="'+8*(K.width+1)+'"';if("floatleft"===i?W+=' style="float:left;margin:15px 30px 15px 0;"':"floatright"===i?W+=' style="float:right;margin:15px 0 15px 30px;"':"center"===i&&(W+=' style="margin:0 auto 0 auto;"'),W+='><g transform="translate('+j(1,1)+')">\n',t){W+='<g style="opacity:0.1">\n';for(var J=0;J<K.width;++J)for(var Y=0;Y<K.height;++Y)W+='<rect x="'+(8*(J-.5)+1)+'" + y="'+(8*(Y-.5)*2+2)+'" width="6" height="14" style="fill:',K.isUsed(J,Y)?W+="red;":" "===K(J,Y)?W+="gray;opacity:0.05":W+="blue;",W+='"/>\n';W+="</g>\n"}if(W+=V.toSVG(),W+=X.toSVG(),!a){W+='<g transform="translate(0,0)">';for(Y=0;Y<K.height;++Y)for(J=0;J<K.width;++J){var Q=K(J,Y);/[\u2B22\u2B21]/.test(Q)?W+='<text text-anchor="middle" x="'+8*J+'" y="'+(4+8*Y*2)+'" style="font-size:20.5px">'+A(Q)+"</text>":" "===Q||K.isUsed(J,Y)||(W+='<text text-anchor="middle" x="'+8*J+'" y="'+(4+8*Y*2)+'">'+A(Q)+"</text>")}W+="</g>"}if(n){W+='<g transform="translate(2,2)">\n';for(J=0;J<K.width;++J)for(Y=0;Y<K.height;++Y){" "!==(Q=K(J,Y))&&(W+='<text text-anchor="middle" x="'+8*J+'" y="'+(4+8*Y*2)+'" style="fill:#F00;font-family:Menlo,monospace;font-size:12px;text-align:center">'+A(Q)+"</text>")}W+="</g>"}return W=(W+="</g></svg>").rp(new RegExp(s,"g"),"o")}function q(e,t,n){var a=/([^?]+)(?:\?id=(inc\d+)&p=([^&]+))?/.exec(location.href),r=u(a[1]),i=a[2],s=(u(a[3]&&decodeURIComponent(a[3])),0),l=i,c=!1,d=0;function u(e){return e&&e.ss(0,e.lastIndexOf("/")+1)}function g(e,t,a){e?function(){var e,t,n=document.body.innerHTML;if(void 0!==document.baseURI)e=document.baseURI.rp(/\/[^/]+$/,"/");else{var a=document.getElementsByTagName("base");e=a.length>0?a[0].href:document.URL}function r(n){return/^[a-z]{3,6}:\/\//.test(n)?n:"/"===n[0]?t+n.ss(1):e+n}t=/^file:\/\//.test(e)?"file://":e.match(/[^:/]{3,6}:\/\/[^/]*\//)[0],n=(n=(n=(n=n.rp(/\]\([ \t]*([^#")][^ "\)]+)([ \t\)])/g,(function(e,t,n){return"]("+r(t)+n}))).rp(/\]\([ \t]*"([^#"][^"]+)"([ \t\)])/g,(function(e,t,n){return']("'+r(t)+'"'+n}))).rp(/(src|href)=(["'])([^#>][^"'\n>]+)\2/g,(function(e,t,n,a){return t+"="+n+r(a)+n}))).rp(/(\n\[[^\]>\n \t]:[ \t]*)([^# \t][^ \t]+)"/g,(function(e,t,n){return t+r(n)})),parent.postMessage([i,"=",n].join(""),"*")}():setTimeout((function(){n(t,a)}),1)}function m(t){var n=!1,a=t.data.substring&&t.data.replace(/^(inc\d+)=/,(function(e,t){return n=t,""}));n&&(document.getElementById(n).outerHTML="\n"+a+"\n",--d<=0&&g(l,e))}for(var p=-1!==navigator.userAgent.indexOf("Firefox")&&-1===navigator.userAgent.indexOf("Seamonkey"),b=0;b<t.length;++b)t[b]=t[b].rp(/(?:^|\s)\((insert|embed)[ \t]+(\S+\.\S*)[ \t]+(height=[a-zA-Z0-9.]+[ \t]+)?here\)\s/g,(function(e,t,n,a){var i="inc"+ ++s,l=n.toLowerCase().rp(/\?.*$/,"").endsWith(".html");if("embed"===t||!l){var u="iframe",g="src",b=a?' style="'+a.rp(/=/g,":")+'"':"";if(p&&!l&&(u="object",g="data",location.protocol.startsWith("http"))){var h=new XMLHttpRequest;!function(e,t){h.addEventListener("load",(function(){document.getElementById(e).outerHTML=o("iframe","",'class="textinsert" srcdoc="<pre>'+this.responseText.replace(/"/g,""")+'</pre>"'+t)})),h.overrideMimeType("text/plain; charset=x-user-defined"),h.open("GET",n),h.send()}(i,b)}return o(u,"",'class="textinsert" id="'+i+'" '+g+'="'+n+'"'+b)}return 0===d&&(c=!0,addEventListener("message",m)),++d,'<iframe src="'+n+"?id="+i+"&p="+encodeURIComponent(r)+'" id="'+i+'" style="display:none" content="text/html;charset=UTF-8"></iframe>'}));if(c)for(b=0;b<t.length;++b)e[b].innerHTML=t[b];else g(l,e,t)}var P="<style>.hljs{display:block;overflow-x:auto;padding:0.5em;background:#fff;color:#000;-webkit-text-size-adjust:none}.hljs-comment{color:#006a00}.hljs-keyword{color:#02E}.hljs-literal,.nginx .hljs-title{color:#aa0d91}.method,.hljs-list .hljs-title,.hljs-tag .hljs-title,.setting .hljs-value,.hljs-winutils,.tex .hljs-command,.http .hljs-title,.hljs-request,.hljs-status,.hljs-name{color:#008}.hljs-envvar,.tex .hljs-special{color:#660}.hljs-string{color:#c41a16}.hljs-tag .hljs-value,.hljs-cdata,.hljs-filter .hljs-argument,.hljs-attr_selector,.apache .hljs-cbracket,.hljs-date,.hljs-regexp{color:#080}.hljs-sub .hljs-identifier,.hljs-pi,.hljs-tag,.hljs-tag .hljs-keyword,.hljs-decorator,.ini .hljs-title,.hljs-shebang,.hljs-prompt,.hljs-hexcolor,.hljs-rule .hljs-value,.hljs-symbol,.hljs-symbol .hljs-string,.hljs-number,.css .hljs-function,.hljs-function .hljs-title,.coffeescript .hljs-attribute{color:#A0C}.hljs-function .hljs-title{font-weight:bold;color:#000}.hljs-class .hljs-title,.smalltalk .hljs-class,.hljs-type,.hljs-typename,.hljs-tag .hljs-attribute,.hljs-doctype,.hljs-class .hljs-id,.hljs-built_in,.setting,.hljs-params,.clojure .hljs-attribute{color:#5c2699}.hljs-variable{color:#3f6e74}.css .hljs-tag,.hljs-rule .hljs-property,.hljs-pseudo,.hljs-subst{color:#000}.css .hljs-class,.css .hljs-id{color:#9b703f}.hljs-value .hljs-important{color:#ff7700;font-weight:bold}.hljs-rule .hljs-keyword{color:#c5af75}.hljs-annotation,.apache .hljs-sqbracket,.nginx .hljs-built_in{color:#9b859d}.hljs-preprocessor,.hljs-preprocessor *,.hljs-pragma{color:#643820}.tex .hljs-formula{background-color:#eee;font-style:italic}.diff .hljs-header,.hljs-chunk{color:#808080;font-weight:bold}.diff .hljs-change{background-color:#bccff9}.hljs-addition{background-color:#baeeba}.hljs-deletion{background-color:#ffc8bd}.hljs-comment .hljs-doctag{font-weight:bold}.method .hljs-id{color:#000}</style>";function H(e){return Array.prototype.slice.call(e)}if(!window.alreadyProcessedMarkdeep){window.alreadyProcessedMarkdeep=!0;var G=-1!==window.location.href.search(/\?.*noformat.*/i);window.markdeep=Object.freeze({format:j,formatDiagram:$,langTable:_,stylesheet:function(){return g+T()+P}});var Z='<script type="text/x-mathjax-config">MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "AMS"} } });<\/script><span style="display:none">'+"$$NC{\\n}{\\hat{n}}NC{\\thetai}{\\theta_\\mathrm{i}}NC{\\thetao}{\\theta_\\mathrm{o}}NC{\\d}[1]{\\mathrm{d}#1}NC{\\w}{\\hat{\\omega}}NC{\\wi}{\\w_\\mathrm{i}}NC{\\wo}{\\w_\\mathrm{o}}NC{\\wh}{\\w_\\mathrm{h}}NC{\\Li}{L_\\mathrm{i}}NC{\\Lo}{L_\\mathrm{o}}NC{\\Le}{L_\\mathrm{e}}NC{\\Lr}{L_\\mathrm{r}}NC{\\Lt}{L_\\mathrm{t}}NC{\\O}{\\mathrm{O}}NC{\\degrees}{{^{\\large\\circ}}}NC{\\T}{\\mathsf{T}}NC{\\mathset}[1]{\\mathbb{#1}}NC{\\Real}{\\mathset{R}}NC{\\Integer}{\\mathset{Z}}NC{\\Boolean}{\\mathset{B}}NC{\\Complex}{\\mathset{C}}NC{\\un}[1]{\\,\\mathrm{#1}}$$\n".rp(/NC/g,"\\newcommand")+"</span>\n",K="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS-MML_HTMLorMML",V=function(){var e=document.createElement("script");e.type="text/javascript",e.src=K,document.getElementsByTagName("head")[0].appendChild(e)},X=function(e){return E("detectMath")&&(-1!==e.search(/(?:\$\$[\s\S]+\$\$)|(?:\\begin{)/m)||-1!==e.search(/\\\(.*\\\)/))},W=E("mode");switch(W){case"script":return;case"html":case"doxygen":H(document.getElementsByClassName("diagram")).concat(H(document.getElementsByTagName("diagram"))).forEach((function(e){var t=k(e.innerHTML);t=t.rp(/(:?^[ \t]*\n)|(:?\n[ \t]*)$/g,""),"doxygen"===W&&(t=(t=(t=t.rp(new RegExp("\u2013","g"),"--")).rp(new RegExp("\u2014","g"),"---")).rp(/<a class="el" .*>(.*)<\/a>/g,"$1")),e.outerHTML='<center class="md">'+$(z(t),"")+"</center>"}));var J=H(document.getElementsByClassName("markdeep")).concat(H(document.getElementsByTagName("markdeep"))),Y=J.map((function(e){return z(k(e.innerHTML))}));return q(J,Y,(function(e,t){t=t||e.map((function(e){return z(k(e.innerHTML))}));for(var n=!1,a=0;a<J.length;++a){var r=J[a],i=document.createElement("div"),s=j(z(k(r.innerHTML)),!0);n=n||X(s),i.innerHTML=s,r.parentNode.replaceChild(i,r)}n&&V(),document.head.innerHTML=window.markdeep.stylesheet()+document.head.innerHTML+(n?Z:"");var o=document.getElementsByClassName("fallback");for(a=0;a<o.length;++a)o[a].remove()})),void(window.alreadyProcessedMarkdeep=!0)}if(!G){H(document.getElementsByTagName("script")).forEach((function(e){-1!==e.src.search(/markdeep\S*?\.js$/i)&&e.parentNode.removeChild(e)}));var Q=parseInt(E("scrollThreshold"));document.addEventListener("scroll",(function(){var e=document.body,t=e.classList,n="scrolled";e.scrollTop>Q?t.add(n):t.remove(n)})),document.body&&(document.body.style.visibility="hidden")}var ee=O([document.head,document.body]);if(G){ee=(ee=ee.rp(/<!-- Markdeep:.+$/gm,"")+'\x3c!-- Markdeep: --\x3e<style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js"><\/script><script src="https://casual-effects.com/markdeep/latest/markdeep.min.js?"><\/script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")<\/script>').rp(/</g,"<").rp(/>/g,">"),document.body.innerHTML=o("pre",ee);for(var te=document.getElementsByClassName("fallback"),ne=0;ne<te.length;++ne)te[ne].remove();return}q([document.body],[ee],(function(e,t){!function(e){var t=j(e=e||O([document.head,document.body]),!1);t+='<div id="mdContextMenu" style="visibility:hidden"></div>',document.addEventListener("contextmenu",(function(e){var t=null;try{var n=e.target.tagName.match(/^H(\d)$/);if(!n)return;for(var a=e.target;a&&!a.classList.contains("md");)a=a.parentElement;if(!a)return;var r=parseInt(n[1])||1;if(!(t=document.getElementById("mdContextMenu")))return;var i=["Section","Subsection"][Math.min(r-1,1)],s=e.target.previousElementSibling.previousElementSibling,l=e.target.innerText.trim(),c=l.toLowerCase(),d=s.name,u=""+location.origin+location.pathname+"#"+d,g=u;g.length>17&&(g=u.ss(0,7)+"…"+location.pathname.ss(location.pathname.length-8)+"#"+d);var m=o("div","Visit URL “"+g+"”",'onclick="(location="'+u+'")"');return m+=o("div","Copy URL “"+g+"”",'onclick="navigator.clipboard.writeText("'+u+"")&&(document.getElementById('mdContextMenu').style.visibility='hidden')\""),m+=o("div","Copy Markdeep “"+l+" "+i.toLowerCase()+"”","onclick=\"navigator.clipboard.writeText('"+l+" "+i.toLowerCase()+"')&&(document.getElementById('mdContextMenu').style.visibility='hidden')\""),m+=o("div","Copy Markdeep “"+i+" ["+c+"]”","onclick=\"navigator.clipboard.writeText('"+i+" ["+c+"]')&&(document.getElementById('mdContextMenu').style.visibility='hidden')\""),m+=o("div","Copy HTML “<a href=…>”","onclick=\"navigator.clipboard.writeText('<a href=""+u+"">"+l+"</a>')&&(document.getElementById('mdContextMenu').style.visibility='hidden')\""),t.innerHTML=m,t.style.visibility="visible",t.style.left=e.pageX+"px",t.style.top=e.pageY+"px",e.preventDefault(),!1}catch(e){console.log(e),t&&(t.style.visibility="hidden")}}),!1),document.addEventListener("mousedown",(function(e){var t=document.getElementById("mdContextMenu");if(t){for(var n=e.target;n;n=n.parentElement)if(n===t)return;t.style.visibility="hidden"}})),document.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=document.getElementById("mdContextMenu");t&&(t.style.visibility="hidden")}}));var n=X(t);n&&(t=Z+t),t+='<div class="markdeepFooter"><i>formatted by <a href="https://casual-effects.com/markdeep" style="color:#999">Markdeep 1.17 </a></i><div style="display:inline-block;font-size:13px;font-family:\'Times New Roman\',serif;vertical-align:middle;transform:translate(-3px,-1px)rotate(135deg);">✒</div></div>';var a=e.length>1e3,r='<meta charset="UTF-8"><meta http-equiv="content-type" content="text/html;charset=UTF-8"><meta name="viewport" content="width=600, initial-scale=1">'+d+g+T()+P;if(a&&(r+=o("style","div.title { padding-top: 40px; } div.afterTitles { height: 15px; }")),-1!==window.location.href.search(/\?.*export.*/i)){var i=r+document.head.innerHTML+t;n&&(i+='<script src="'+K+'"><\/script>'),document.body.innerHTML=o("pre",A(i))}else document.head.innerHTML=r+document.head.innerHTML,document.body.innerHTML=t,n&&V();document.body.id="md",document.body.style.visibility="visible";var s=window.location.href.indexOf("#");s>-1?setTimeout((function(){var e=document.getElementsByName(window.location.href.substring(s+1));e.length>0&&e[0].scrollIntoView(),window.markdeepOptions&&(window.markdeepOptions.onLoad||Math.cos)()}),100):window.markdeepOptions&&window.markdeepOptions.onLoad&&setTimeout(window.markdeepOptions.onLoad,100)}(t&&t[0])}))}}();
/*!
Highlight.js v11.9.0 (git: 15d3b627fa)
(c) 2006-2024 undefined and other contributors
License: BSD-3-Clause
*/
var hljs=function(){"use strict";function e(t){return t instanceof Map?t.clear=t.delete=t.set=()=>{throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{const a=t[n],r=typeof a;"object"!==r&&"function"!==r||Object.isFrozen(a)||e(a)})),t}class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t];return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const r=e=>!!e.scope;class i{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!r(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){r(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const s=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class o{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=s({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{o._collapse(e)})))}}class l extends o{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope="language:"+t),this.add(n)}toHTML(){return new i(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function d(e){return m("(?=",e,")")}function u(e){return m("(?:",e,")*")}function g(e){return m("(?:",e,")?")}function m(...e){return e.map((e=>c(e))).join("")}function p(...e){const t=(e=>{const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}})(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function b(e){return RegExp(e.toString()+"|").exec("").length-1}const h=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function f(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let a=c(e),r="";for(;a.length>0;){const e=h.exec(a);if(!e){r+=a;break}r+=a.substring(0,e.index),a=a.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+(Number(e[1])+t):(r+=e[0],"("===e[0]&&n++)}return r})).map((e=>`(${e})`)).join(t)}const _="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",x="\\b\\d+(\\.\\d+)?",v="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",w="\\b(0b[01]+)",E={begin:"\\\\[\\s\\S]",relevance:0},N={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[E]},M={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[E]},A=(e,t,n={})=>{const r=a({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=p("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:m(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},k=A("//","$"),C=A("/\\*","\\*/"),S=A("#","$");var T=Object.freeze({__proto__:null,APOS_STRING_MODE:N,BACKSLASH_ESCAPE:E,BINARY_NUMBER_MODE:{scope:"number",begin:w,relevance:0},BINARY_NUMBER_RE:w,COMMENT:A,C_BLOCK_COMMENT_MODE:C,C_LINE_COMMENT_MODE:k,C_NUMBER_MODE:{scope:"number",begin:v,relevance:0},C_NUMBER_RE:v,END_SAME_AS_BEGIN:e=>Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}}),HASH_COMMENT_MODE:S,IDENT_RE:_,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+y,relevance:0},NUMBER_MODE:{scope:"number",begin:x,relevance:0},NUMBER_RE:x,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:M,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[E,{begin:/\[/,end:/\]/,relevance:0,contains:[E]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=m(t,/.*\b/,e.binary,/\b.*/)),a({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:_,relevance:0},UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:{scope:"title",begin:y,relevance:0}});function O(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function D(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function R(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=O,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function I(e,t){Array.isArray(e.illegal)&&(e.illegal=p(...e.illegal))}function L(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function B(e,t){void 0===e.relevance&&(e.relevance=1)}const j=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=m(n.beforeMatch,d(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},U=["of","and","for","in","not","or","if","then","parent","list","value"],z="keyword";function F(e,t,n=z){const a=Object.create(null);return"string"==typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((n=>{Object.assign(a,F(e[n],t,n))})),a;function r(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|");a[n[0]]=[e,$(n[0],n[1])]}))}}function $(e,t){return t?Number(t):(e=>U.includes(e.toLowerCase()))(e)?0:1}const q={},P=e=>{console.error(e)},H=(e,...t)=>{console.log("WARN: "+e,...t)},G=(e,t)=>{q[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),q[`${e}/${t}`]=!0)},Z=Error();function K(e,t,{key:n}){let a=0;const r=e[n],i={},s={};for(let e=1;e<=t.length;e++)s[e+a]=r[e],i[e+a]=!0,a+=b(t[e-1]);e[n]=s,e[n]._emit=i,e[n]._multi=!0}function V(e){(e=>{e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),(e=>{if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw P("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Z;if("object"!=typeof e.beginScope||null===e.beginScope)throw P("beginScope must be object"),Z;K(e,e.begin,{key:"beginScope"}),e.begin=f(e.begin,{joinWith:""})}})(e),(e=>{if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw P("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Z;if("object"!=typeof e.endScope||null===e.endScope)throw P("endScope must be object"),Z;K(e,e.end,{key:"endScope"}),e.end=f(e.end,{joinWith:""})}})(e)}function X(e){function t(t,n){return RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(f(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),a=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,a)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),function n(i,s){const o=i;if(i.isCompiled)return o;[D,L,V,j].forEach((e=>e(i,s))),e.compilerExtensions.forEach((e=>e(i,s))),i.__beforeBegin=null,[R,I,B].forEach((e=>e(i,s))),i.isCompiled=!0;let l=null;return"object"==typeof i.keywords&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),l=i.keywords.$pattern,delete i.keywords.$pattern),l=l||/\w+/,i.keywords&&(i.keywords=F(i.keywords,e.case_insensitive)),o.keywordPatternRe=t(l,!0),s&&(i.begin||(i.begin=/\B|\b/),o.beginRe=t(o.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(o.endRe=t(o.end)),o.terminatorEnd=c(o.end)||"",i.endsWithParent&&s.terminatorEnd&&(o.terminatorEnd+=(i.end?"|":"")+s.terminatorEnd)),i.illegal&&(o.illegalRe=t(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((t=>a(e,{variants:null},t)))),e.cachedVariants?e.cachedVariants:W(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e))("self"===e?i:e)))),i.contains.forEach((e=>{n(e,o)})),i.starts&&n(i.starts,s),o.matcher=(e=>{const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(o),o}(e)}function W(e){return!!e&&(e.endsWithParent||W(e.starts))}class J extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const Y=n,Q=a,ee=Symbol("nomatch"),te=n=>{const a=Object.create(null),r=Object.create(null),i=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let b={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:l};function h(e){return b.noHighlightRe.test(e)}function f(e,t,n){let a="",r="";"object"==typeof t?(a=e,n=t.ignoreIllegals,r=t.language):(G("10.7.0","highlight(lang, code, ...args) has been deprecated."),G("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,a=t),void 0===n&&(n=!0);const i={code:a,language:r};A("before:highlight",i);const s=i.result?i.result:_(i.language,i.code,n);return s.code=i.code,A("after:highlight",s),s}function _(e,n,r,i){const l=Object.create(null);function c(){if(!M.keywords)return void k.addText(C);let e=0;M.keywordPatternRe.lastIndex=0;let t=M.keywordPatternRe.exec(C),n="";for(;t;){n+=C.substring(e,t.index);const r=v.case_insensitive?t[0].toLowerCase():t[0],i=(a=r,M.keywords[a]);if(i){const[e,a]=i;if(k.addText(n),n="",l[r]=(l[r]||0)+1,l[r]<=7&&(S+=a),e.startsWith("_"))n+=t[0];else{const n=v.classNameAliases[e]||e;u(t[0],n)}}else n+=t[0];e=M.keywordPatternRe.lastIndex,t=M.keywordPatternRe.exec(C)}var a;n+=C.substring(e),k.addText(n)}function d(){null!=M.subLanguage?(()=>{if(""===C)return;let e=null;if("string"==typeof M.subLanguage){if(!a[M.subLanguage])return void k.addText(C);e=_(M.subLanguage,C,!0,A[M.subLanguage]),A[M.subLanguage]=e._top}else e=y(C,M.subLanguage.length?M.subLanguage:null);M.relevance>0&&(S+=e.relevance),k.__addSublanguage(e._emitter,e.language)})():c(),C=""}function u(e,t){""!==e&&(k.startScope(t),k.addText(e),k.endScope())}function g(e,t){let n=1;const a=t.length-1;for(;n<=a;){if(!e._emit[n]){n++;continue}const a=v.classNameAliases[e[n]]||e[n],r=t[n];a?u(r,a):(C=r,c(),C=""),n++}}function m(e,t){return e.scope&&"string"==typeof e.scope&&k.openNode(v.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(u(C,v.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),C=""):e.beginScope._multi&&(g(e.beginScope,t),C="")),M=Object.create(e,{parent:{value:M}}),M}function p(e,n,a){let r=((e,t)=>{const n=e&&e.exec(t);return n&&0===n.index})(e.endRe,a);if(r){if(e["on:end"]){const a=new t(e);e["on:end"](n,a),a.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return p(e.parent,n,a)}function h(e){return 0===M.matcher.regexIndex?(C+=e[0],1):(D=!0,0)}let f={};function x(a,i){const o=i&&i[0];if(C+=a,null==o)return d(),0;if("begin"===f.type&&"end"===i.type&&f.index===i.index&&""===o){if(C+=n.slice(i.index,i.index+1),!s){const t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=f.rule,t}return 1}if(f=i,"begin"===i.type)return(e=>{const n=e[0],a=e.rule,r=new t(a),i=[a.__beforeBegin,a["on:begin"]];for(const t of i)if(t&&(t(e,r),r.isMatchIgnored))return h(n);return a.skip?C+=n:(a.excludeBegin&&(C+=n),d(),a.returnBegin||a.excludeBegin||(C=n)),m(a,e),a.returnBegin?0:n.length})(i);if("illegal"===i.type&&!r){const e=Error('Illegal lexeme "'+o+'" for mode "'+(M.scope||"<unnamed>")+'"');throw e.mode=M,e}if("end"===i.type){const e=function(e){const t=e[0],a=n.substring(e.index),r=p(M,e,a);if(!r)return ee;const i=M;M.endScope&&M.endScope._wrap?(d(),u(t,M.endScope._wrap)):M.endScope&&M.endScope._multi?(d(),g(M.endScope,e)):i.skip?C+=t:(i.returnEnd||i.excludeEnd||(C+=t),d(),i.excludeEnd&&(C=t));do{M.scope&&k.closeNode(),M.skip||M.subLanguage||(S+=M.relevance),M=M.parent}while(M!==r.parent);return r.starts&&m(r.starts,e),i.returnEnd?0:t.length}(i);if(e!==ee)return e}if("illegal"===i.type&&""===o)return 1;if(O>1e5&&O>3*i.index)throw Error("potential infinite loop, way more iterations than matches");return C+=o,o.length}const v=E(e);if(!v)throw P(o.replace("{}",e)),Error('Unknown language: "'+e+'"');const w=X(v);let N="",M=i||w;const A={},k=new b.__emitter(b);(()=>{const e=[];for(let t=M;t!==v;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>k.openNode(e)))})();let C="",S=0,T=0,O=0,D=!1;try{if(v.__emitTokens)v.__emitTokens(n,k);else{for(M.matcher.considerAll();;){O++,D?D=!1:M.matcher.considerAll(),M.matcher.lastIndex=T;const e=M.matcher.exec(n);if(!e)break;const t=x(n.substring(T,e.index),e);T=e.index+t}x(n.substring(T))}return k.finalize(),N=k.toHTML(),{language:e,value:N,relevance:S,illegal:!1,_emitter:k,_top:M}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:Y(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:T,context:n.slice(T-100,T+100),mode:t.mode,resultSoFar:N},_emitter:k};if(s)return{language:e,value:Y(n),illegal:!1,relevance:0,errorRaised:t,_emitter:k,_top:M};throw t}}function y(e,t){t=t||b.languages||Object.keys(a);const n=(e=>{const t={value:Y(e),illegal:!1,relevance:0,_top:c,_emitter:new b.__emitter(b)};return t._emitter.addText(e),t})(e),r=t.filter(E).filter(M).map((t=>_(t,e,!1)));r.unshift(n);const i=r.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(E(e.language).supersetOf===t.language)return 1;if(E(t.language).supersetOf===e.language)return-1}return 0})),[s,o]=i,l=s;return l.secondBest=o,l}function x(e){let t=null;const n=(e=>{let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=b.languageDetectRe.exec(t);if(n){const t=E(n[1]);return t||(H(o.replace("{}",n[1])),H("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>h(e)||E(e)))})(e);if(h(n))return;if(A("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(b.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),b.throwUnescapedHTML))throw new J("One of your code blocks includes unescaped HTML.",e.innerHTML);t=e;const a=t.textContent,i=n?f(a,{language:n,ignoreIllegals:!0}):y(a);e.innerHTML=i.value,e.dataset.highlighted="yes",((e,t,n)=>{const a=t&&r[t]||n;e.classList.add("hljs"),e.classList.add("language-"+a)})(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),A("after:highlightElement",{el:e,result:i,text:a})}let v=!1;function w(){"loading"!==document.readyState?document.querySelectorAll(b.cssSelector).forEach(x):v=!0}function E(e){return e=(e||"").toLowerCase(),a[e]||a[r[e]]}function N(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{r[e.toLowerCase()]=t}))}function M(e){const t=E(e);return t&&!t.disableAutodetect}function A(e,t){const n=e;i.forEach((e=>{e[n]&&e[n](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{v&&w()}),!1),Object.assign(n,{highlight:f,highlightAuto:y,highlightAll:w,highlightElement:x,highlightBlock:e=>(G("10.7.0","highlightBlock will be removed entirely in v12.0"),G("10.7.0","Please use highlightElement now."),x(e)),configure:e=>{b=Q(b,e)},initHighlighting:()=>{w(),G("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{w(),G("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(e,t)=>{let r=null;try{r=t(n)}catch(t){if(P("Language definition for '{}' could not be registered.".replace("{}",e)),!s)throw t;P(t),r=c}r.name||(r.name=e),a[e]=r,r.rawDefinition=t.bind(null,n),r.aliases&&N(r.aliases,{languageName:e})},unregisterLanguage:e=>{delete a[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]},listLanguages:()=>Object.keys(a),getLanguage:E,registerAliases:N,autoDetection:M,inherit:Q,addPlugin:e=>{(e=>{e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),i.push(e)},removePlugin:e=>{const t=i.indexOf(e);-1!==t&&i.splice(t,1)}}),n.debugMode=()=>{s=!1},n.safeMode=()=>{s=!0},n.versionString="11.9.0",n.regex={concat:m,lookahead:d,either:p,optional:g,anyNumberOfTimes:u};for(const t in T)"object"==typeof T[t]&&e(T[t]);return Object.assign(n,T),n},ne=te({});ne.newInstance=()=>te({});const ae=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],re=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],ie=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],se=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],oe=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),le="[A-Za-z$_][0-9A-Za-z$_]*",ce=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],de=["true","false","null","undefined","NaN","Infinity"],ue=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ge=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],me=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],pe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],be=[].concat(me,ue,ge);var he="[0-9](_*[0-9])*",fe=`\\.(${he})`,_e="[0-9a-fA-F](_*[0-9a-fA-F])*",ye={className:"number",variants:[{begin:`(\\b(${he})((${fe})|\\.)?|(${fe}))[eE][+-]?(${he})[fFdD]?\\b`},{begin:`\\b(${he})((${fe})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${fe})[fFdD]?\\b`},{begin:`\\b(${he})[fFdD]\\b`},{begin:`\\b0[xX]((${_e})\\.?|(${_e})?\\.(${_e}))[pP][+-]?(${he})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${_e})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function xe(e,t,n){return-1===n?"":e.replace(t,(a=>xe(e,t,n-1)))}function ve(e){const t=e.regex,n=le,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,a=e.input[n];if("<"===a||","===a)return void t.ignoreMatch();let r;">"===a&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((r=i.match(/^\s*=/))||(r=i.match(/^\s+extends\s+/))&&0===r.index)&&t.ignoreMatch()}},r={$pattern:le,keyword:ce,literal:de,built_in:be,"variable.language":pe},i="[0-9](_?[0-9])*",s=`\\.(${i})`,o="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${o})((${s})|\\.)?|(${s}))[eE][+-]?(${i})\\b`},{begin:`\\b(${o})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},u={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},p={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,u,g,m,{match:/\$\d+/},l];c.contains=b.concat({begin:/\{/,end:/\}/,keywords:r,contains:["self"].concat(b)});const h=[].concat(p,c.contains),f=h.concat([{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(h)}]),_={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:f},y={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...ue,...ge]}},v={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[_],illegal:/%/},w={match:t.concat(/\b/,(E=[...me,"super","import"],t.concat("(?!",E.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var E;const N={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},_]},A="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",k={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(A)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[_]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:r,exports:{PARAMS_CONTAINS:f,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,u,g,m,p,{match:/\$\d+/},l,x,{className:"attr",begin:n+t.lookahead(":"),relevance:0},k,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[p,e.REGEXP_MODE,{className:"function",begin:A,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:f}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},v,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[_,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},N,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[_]},w,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},y,M,{match:/\$[(.]/}]}}const we=e=>m(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Ee=["Protocol","Type"].map(we),Ne=["init","self"].map(we),Me=["Any","Self"],Ae=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ke=["false","nil","true"],Ce=["assignment","associativity","higherThan","left","lowerThan","none","right"],Se=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Te=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Oe=p(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),De=p(Oe,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Re=m(Oe,De,"*"),Ie=p(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Le=p(Ie,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Be=m(Ie,Le,"*"),je=m(/[A-Z]/,Le,"*"),Ue=["attached","autoclosure",m(/convention\(/,p("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",m(/objc\(/,Be,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ze=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];var Fe=Object.freeze({__proto__:null,grmr_armasm:e=>{const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}},grmr_bash:e=>{const t=e.regex,n={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,r]};r.contains.push(s);const o={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),c,o,e.HASH_COMMENT_MODE,i,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},grmr_c:e=>{const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="("+a+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},o={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+"\\s*\\(",g={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},m=[c,s,n,e.C_BLOCK_COMMENT_MODE,l,o],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:m.concat([{begin:/\(/,end:/\)/,keywords:g,contains:m.concat(["self"]),relevance:0}]),relevance:0},b={begin:"("+i+"[\\*&\\s]+)+"+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:g,relevance:0},{begin:u,returnBegin:!0,contains:[e.inherit(d,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,l,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,o,l,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(p,b,m,[c,{begin:e.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:o,keywords:g}}},grmr_coffeescript:e=>{const t={keyword:ce.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((n=["var","const","let","function","static"],e=>!n.includes(e))),literal:de.concat(["yes","no","on","off"]),built_in:be.concat(["npm","print"])};var n;const a="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,r]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[r,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+a},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];r.contains=i;const s=e.inherit(e.TITLE_MODE,{begin:a}),o="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]},c={variants:[{match:[/class\s+/,a,/\s+extends\s+/,a]},{match:[/class\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:t};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:[...i,e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[s,l]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[l]}]},c,{begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}},grmr_cpp:e=>{const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="(?!struct)("+a+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},o={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+"\\s*\\(",g={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},m={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},p=[m,c,s,n,e.C_BLOCK_COMMENT_MODE,l,o],b={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:p.concat([{begin:/\(/,end:/\)/,keywords:g,contains:p.concat(["self"]),relevance:0}]),relevance:0},h={className:"function",begin:"("+i+"[\\*&\\s]+)+"+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:g,relevance:0},{begin:u,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[o,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,l,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,o,l,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:g,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(b,h,m,p,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:g,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:e=>{const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},r={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(r,{illegal:/\n/}),s={className:"subst",begin:/\{/,end:/\}/,keywords:t},o=e.inherit(s,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,o]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]},d=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]});s.contains=[c,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],o.contains=[d,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const u={variants:[c,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},m=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",p={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},u,a,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,g,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,g,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+m+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,g],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[u,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},p]}},grmr_css:e=>{const t=e.regex,n=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ie.join("|")+")"},{begin:":(:)?("+se.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+oe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:re.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+ae.join("|")+")\\b"}]}},grmr_glsl:e=>({name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}),grmr_go:e=>{const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}},grmr_haskell:e=>{const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",a="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",r={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"meta",begin:/\{-#/,end:/#-\}/},s={className:"meta",begin:"^#",end:"$"},o={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[i,s,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),r]},c={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:"\\b0[oO](([0-7]_*)+)\\b"},{match:"\\b0[bB](([01]_*)+)\\b"}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,r],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,r],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[o,l,r]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,o,l,{begin:/\{/,end:/\}/,contains:l.contains},r]},{beginKeywords:"default",end:"$",contains:[o,l,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,r]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[o,e.QUOTE_STRING_MODE,r]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,s,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,c,o,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${a}--+|--+(?!-)${a}`},r,{begin:"->|<-"}]}},grmr_http:e=>{const t="HTTP/([32]|1\\.[01])",n={className:"attribute",begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},a=[n,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},e.inherit(n,{relevance:0})]}},grmr_java:e=>{const t=e.regex,n="[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*",a=n+xe("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),r={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},s={className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:r,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:r,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,ye,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},ye,i]}},grmr_javascript:ve,grmr_json:e=>{const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}},grmr_julia:e=>{const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",n={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","\u03c0","\u212f"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:n,illegal:/<\//},r={className:"subst",begin:/\$\(/,end:/\)/,keywords:n},i={className:"variable",begin:"\\$"+t},s={className:"string",contains:[e.BACKSLASH_ESCAPE,r,i],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r,i],begin:"`",end:"`"},l={className:"meta",begin:"@"+t};return a.name="Julia",a.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},s,o,l,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],r.contains=a.contains,a},grmr_kotlin:e=>{const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},r={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[r,a]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,r,a]}]};a.contains.push(i);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},o={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},l=ye,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},u=d;return u.variants[1].contains=[d],d.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,s,o,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,s,o,i,e.C_NUMBER_MODE]},c]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,o]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}},grmr_lisp:e=>{const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",r={className:"literal",begin:"\\b(t{1}|nil)\\b"},i={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o=e.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+t},d={begin:t,relevance:0},u={begin:n},g={contains:[i,s,l,c,{begin:"\\(",end:"\\)",contains:["self",r,s,i,d]},d],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},m={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},p={begin:"\\(\\s*",end:"\\)"},b={endsWithParent:!0,relevance:0};return p.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},b],b.contains=[g,m,p,r,i,s,o,l,c,u,d],{name:"Lisp",illegal:/\S/,contains:[i,e.SHEBANG(),r,s,o,g,m,p,d]}},grmr_lua:e=>{const t="\\[=*\\[",n="\\]=*\\]",a={begin:t,end:n,contains:["self"]},r=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[a],relevance:5}])}},grmr_makefile:e=>{const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},a={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,a,r,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},i]}},grmr_markdown:e=>{const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},a={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},r={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(a,{contains:[]}),s=e.inherit(r,{contains:[]});a.contains.push(s),r.contains.push(i);let o=[t,n];return[a,r,i,s].forEach((e=>{e.contains=e.contains.concat(o)})),o=o.concat(a,r),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:o},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:o}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a,r,{className:"quote",begin:"^>\\s+",contains:o,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_matlab:e=>{const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}},grmr_objectivec:e=>{const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},grmr_perl:e=>{const t=e.regex,n=/[dualxmsipngr]{0,12}/,a={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},r={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:a},i={begin:/->\{/,end:/\}/},s={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},o=[e.BACKSLASH_ESCAPE,r,s],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],c=(e,a,r="\\1")=>{const i="\\1"===r?r:t.concat(r,a);return t.concat(t.concat("(?:",e,")"),a,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,r,n)},d=(e,a,r)=>t.concat(t.concat("(?:",e,")"),a,/(?:\\.|[^\\\/])*?/,r,n),u=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:o,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:c("s|tr|y",t.either(...l,{capture:!0}))},{begin:c("s|tr|y","\\(","\\)")},{begin:c("s|tr|y","\\[","\\]")},{begin:c("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",t.either(...l,{capture:!0}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return r.contains=u,i.contains=u,{name:"Perl",aliases:["pl","pm"],keywords:a,contains:u}},grmr_php:e=>{const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,a=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),r=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i={scope:"variable",match:"\\$+"+a},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},o=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),o,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},d={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},u=["false","null","true"],g=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],m=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],p={keyword:g,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(u),built_in:m},b=e=>e.map((e=>e.replace(/\|\d+$/,""))),h={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",b(m).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},f=t.concat(a,"\\b(?!\\()"),_={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),f],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,t.concat(/::/,t.lookahead(/(?!class\b)/)),f],scope:{1:"title.class",3:"variable.constant"}},{match:[r,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},y={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},x={relevance:0,begin:/\(/,end:/\)/,keywords:p,contains:[y,i,_,e.C_BLOCK_COMMENT_MODE,c,d,h]},v={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",b(g).join("\\b|"),"|",b(m).join("\\b|"),"\\b)"),a,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[x]};x.contains.push(v);const w=[y,_,e.C_BLOCK_COMMENT_MODE,c,d,h];return{case_insensitive:!1,keywords:p,contains:[{begin:t.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:u,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:u,keyword:["new","array"]},contains:["self",...w]},...w,{scope:"meta",match:r}]},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,v,_,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},h,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:p,contains:["self",i,_,e.C_BLOCK_COMMENT_MODE,c,d]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,d]}},grmr_plaintext:e=>({name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}),grmr_python:e=>{const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},s={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},o={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,o,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,o,s]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",d=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,u="\\b|"+a.join("|"),g={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${d}))[eE][+-]?(${c})[jJ]?(?=${u})`},{begin:`(${d})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${u})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${u})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${u})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${u})`},{begin:`\\b(${c})[jJ](?=${u})`}]},m={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},p={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",i,g,l,e.HASH_COMMENT_MODE]}]};return s.contains=[l,g,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[i,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,m,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,p,l]}]}},grmr_pyxlscript:e=>{var t={keyword:"assert todo debug_pause debug_print|4 debug_watch with_camera let|2 const mod local preserving_transform|10 for at in and or xor not with while until if then else push_mode pop_mode reset_game set_mode return def break continue default bitand bitnot bitor bitxor bitshl bitshr because quit_game launch_game deg true false nan IDE_USER VIEW_ARRAY HOST_CODE SCREEN_SIZE pi epsilon infinity nil|2 \u221e \xbd \u2153 \u2154 \xbc \xbe \u2155 \u2156 \u2157 \u2158 \u2159 \u2150 \u215b \u2151 \u2152 \xb0 \u03b5 \u03c0 \u2205 \u221e \u2070 \xb9 \xb2 \xb3 \u2074 \u2075 \u2076 \u2077 \u2078 \u2079 CREDITS CONSTANTS ASSETS SOURCE_LOCATION midi gamepad_array touch joy",built_in:"set_screen_size ray_intersect ray_intersect_map up_y draw_bounds draw_disk reset_clip reset_transform set_clip draw_line draw_sprite_corner_rect intersect_clip draw_point draw_corner_rect reset_camera set_camera get_camera draw_rect get_background set_background text_width sprite_transfer_orientation get_sprite_pixel_color draw_sprite draw_text draw_tri draw_poly get_transform get_clip rotation_sign sign_nonzero set_transform xy xz_to_xyz xy_to_angle angle_to_xy xy_to_xyz xz_to_xy xy_to_xz xz xyz any_button_press any_button_release draw_map draw_map_span map_resize map_generate_maze map_resize get_mode get_previous_mode get_map_pixel_color get_map_pixel_color_by_ws_coord get_map_sprite set_map_sprite get_map_sprite_by_ws_coord set_map_sprite_by_ws_coord parse unparse format_number capitalized uppercase lowercase resume_audio get_audio_status ray_value play_sound stop_audio game_frames mode_frames delay sequence add_frame_hook make_spline remove_frame_hook make_entity entity_mass entity_move entity_inertia entity_area draw_entity overlaps entity_remove_all entity_add_child entity_remove_child entity_update_children entity_simulate split now game_frames mode_frames replace starts_with ends_with find_move make_move_finder map_find_path find_path make_array join entity_apply_force entity_apply_impulse perp gray rgb rgba artist_hsv_to_rgb hsv hsva last_value last_key insert reverse reversed call set_post_effects get_post_effects reset_post_effects push_front local_time device_control physics_add_contact_callback physics_entity_contacts physics_entity_has_contacts physics_add_entity physics_remove_entity physics_remove_all physics_attach physics_detach make_physics make_contact_group draw_physics physics_simulate min max mid find_max_value find_min_value max_value min_value abs acos atan asin sign sign_nonzero cos clamp hash smoothstep lerp lerp_angle smootherstep perceptual_lerp_color log log2 log10 noise oscillate pow make_random random_from_distribution random_sign random_integer random_within_cube random_within_region random_within_sphere random_on_sphere random_within_circle random_within_region random_within_square random_on_square random_on_circle random_direction2D random_direction3D random_key random_value random_gaussian3D random_on_cube random_gaussian random_gaussian2D random_truncated_gaussian random_truncated_gaussian2D random_truncated_gaussian3D \u03be sqrt cbrt sin set_random_seed tan conncatenate extend extended make_bot_gamepad update_bot_gamepad deep_immutable_clone deep_clone clone copy draw_previous_mode cross direction dot equivalent magnitude magnitude_squared max_component min_component xy xyz midi_send_raw trim_spaces slice set_pause_menu iterate iterate_pairs contains fast_remove_key find keys remove_key shuffle shuffled sort sorted resize push pop pop_front push_front fast_remove_value remove_values remove_all round floor ceil todo debug_pause debug_print resized set_playback_rate set_pitch set_volume set_pan set_loop remove_frame_hooks_by_mode type is_string is_function is_nan is_object is_nil is_boolean is_number is_array rgb_to_xyz axis_aligned_draw_box animation_frame load_local save_local transform_map_layer_to_ws_z transform_ws_z_to_map_layer transform_map_space_to_ws transform_ws_to_map_space transform_cs_to_ss transform_cs_z_to_ws_z transform_ws_z_to_cs_z transform_ss_to_cs transform_cs_to_ws transform_ws_to_cs transform_es_to_es transform_es_to_sprite_space transform_sprite_space_to_es transform_to transform_from transform_es_to_ws transform_ws_to_ws transform_to_parent transform_to_child compose_transform transform_ws_to_es transform_cs_z_to_ss_z transform_ss_z_to_cs_z transform_ss_to_ws transform_ws_to_ss array_value push_guest_menu_mode stop_hosting start_hosting disconnect_guest unparse_hex_color xyz_to_rgb ABS ADD DIV MAD SUM PROD MUL SUB FLOOR CEIL ROUND MAX MIN MEAN MEAN3 MEAN4 SIGN CLAMP LERP RGB_ADD_RGB RGB_SUB_RGB RGB_MUL_RGB RGB_DIV_RGB RGB_DISTANCE RGB_MUL RGB_DIV RGB_DOT_RGB RGB_LERP RGBA_ADD_RGBA RGBA_SUB_RGBA RGBA_MUL_RGBA RGBA_DIV_RGBA RGBA_MUL RGBA_DIV RGBA_DOT_RGBA RGBA_LERP XY_DISTANCE XZ_DISTANCE XYZ_DISTANCE XY_MAD_S_XY XY_MAD_XY_XY XY_ADD_XY XY_SUB_XY XY_MUL_XY XY_DIV_XY XY_MUL XY_DIV XY_DOT_XY XY_CRS_XY XZ_ADD_XZ XZ_SUB_XZ XZ_MUL_XZ XZ_DIV_XZ XZ_MUL XZ_DIV XZ_DOT_XZ XYZ_DIRECTION XYZ_ADD_XYZ XYZ_SUB_XYZ XYZ_MAD_S_XYZ XYZ_MUL_XYZ XYZ_DIV_XYZ XYZ_MUL XYZ_DIV XYZ_DOT_XYZ XYZ_CRS_XYZ XY_LERP XYZ_LERP XZ_LERP XY_DIRECTION XY_MAGNITUDE XZ_MAGNITUDE XYZ_MAGNITUDE MAT3x3_ORTHONORMALIZE MAT2x2_MATMUL_XY XZ_DIRECTION MAT2x2_MATMUL_XZ MAT3x3_MATMUL_XYZ MAT3x4_MATMUL_XYZ MAT3x4_MATMUL_XYZW"},n={className:"subst",begin:/\{/,end:/\}/,keywords:t},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]},e.QUOTE_STRING_MODE]},r={className:"number",relevance:0,variants:[{begin:/\u2205|[+-]?[\u221e\u03b5\u03c0\xbd\u2153\u2154\xbc\xbe\u2155\u2156\u2157\u2158\u2159\u2150\u215b\u2151\u2152`]/},{begin:/#[0-7a-fA-F]+/},{begin:/\b[+-]?(\d*\.)?\d+(%|deg|\xb0)?/},{begin:/[\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2070\xb9\xb2\xb3\u2074\u2075\u2076\u2077\u2078\u2079]/}]},i={className:"params",begin:/\(/,end:/\)/,contains:[r,a]};return n.contains=[a,r],{aliases:["pyxlscript"],keywords:t,illegal:/(<\/|->|\?)|=>|@|\$/,contains:[{className:"section",relevance:10,variants:[{begin:/^[^\n]+?\\n(-|\u2500|\u2014|\u2501|\u23af|=|\u2550|\u268c){5,}/}]},r,a,{className:"built_in",variants:[{begin:/\b(loop|size|random)(?=\()/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,i,{begin:/->/,endsWithParent:!0,keywords:"None"}]}]}},grmr_r:e=>{const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[i,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},grmr_ruby:e=>{const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=t.concat(a,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},o={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},d={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},u="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${u}))?([eE][+-]?(${u})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},p=[d,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:i},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:n}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(o,l),relevance:0}].concat(o,l);c.contains=p,m.contains=p;const b=[{begin:/^\s*=>/,starts:{end:"$",contains:p}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:p}}];return l.unshift(o),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(b).concat(l).concat(p)}},grmr_rust:e=>{const t=e.regex,n={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(32|64))?",r=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:i,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:r},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+a},{begin:"\\b0o([0-7_]+)"+a},{begin:"\\b0x([A-Fa-f0-9_]+)"+a},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+a}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:r,type:i}},{className:"punctuation",begin:"->"},n]}},grmr_scheme:e=>{const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",a={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},i={className:"number",variants:[{begin:n,relevance:0},{begin:n+"[+\\-]"+n+"i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=e.QUOTE_STRING_MODE,o=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],l={begin:t,relevance:0},c={className:"symbol",begin:"'"+t},d={endsWithParent:!0,relevance:0},u={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",r,s,i,l,c]}]},g={className:"name",relevance:0,begin:t,keywords:a},m={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[g,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[l]}]},g,d]};return d.contains=[r,i,s,l,c,u,m].concat(o),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),i,s,c,u,m].concat(o)}},grmr_shell:e=>({name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}),grmr_sml:e=>({name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}),grmr_sql:e=>{const t=e.regex,n=e.COMMENT("--","$"),a=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],s=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],o=i,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!i.includes(e))),c={begin:t.concat(/\b/,t.either(...o),/\s*\(/),relevance:0,keywords:{built_in:o}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:((e,{exceptions:t,when:n}={})=>{const a=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:a(e)?e+"|0":e))})(l,{when:e=>e.length<3}),literal:a,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either(...s),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(s),literal:a,type:r}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},grmr_swift:e=>{const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,n],r={match:[/\./,p(...Ee,...Ne)],className:{2:"keyword"}},i={match:m(/\./,p(...Ae)),relevance:0},s=Ae.filter((e=>"string"==typeof e)).concat(["_|0"]),o={variants:[{className:"keyword",match:p(...Ae.filter((e=>"string"!=typeof e)).concat(Me).map(we),...Ne)}]},l={$pattern:p(/\b\w+/,/#\w+/),keyword:s.concat(Se),literal:ke},c=[r,i,o],u=[{match:m(/\./,p(...Te)),relevance:0},{className:"built_in",match:m(/\b/,p(...Te),/(?=\()/)}],g={match:/->/,relevance:0},b=[g,{className:"operator",relevance:0,variants:[{match:Re},{match:`\\.(\\.|${De})+`}]}],h="([0-9]_*)+",f="([0-9a-fA-F]_*)+",_={className:"number",relevance:0,variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},y=(e="")=>({className:"subst",variants:[{match:m(/\\/,e,/[0\\tnr"']/)},{match:m(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),x=(e="")=>({className:"subst",match:m(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e="")=>({className:"subst",label:"interpol",begin:m(/\\/,e,/\(/),end:/\)/}),w=(e="")=>({begin:m(e,/"""/),end:m(/"""/,e),contains:[y(e),x(e),v(e)]}),E=(e="")=>({begin:m(e,/"/),end:m(/"/,e),contains:[y(e),v(e)]}),N={className:"string",variants:[w(),w("#"),w("##"),w("###"),E(),E("#"),E("##"),E("###")]},M=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],A={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:M},k=e=>{const t=m(e,/\//),n=m(/\//,e);return{begin:t,end:n,contains:[...M,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},C={scope:"regexp",variants:[k("###"),k("##"),k("#"),A]},S={match:m(/`/,Be,/`/)},T=[S,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${Le}+`}],O=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ze,contains:[...b,_,N]}]}},{scope:"keyword",match:m(/@/,p(...Ue))},{scope:"meta",match:m(/@/,Be)}],D={match:d(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:m(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Le,"+")},{className:"type",match:je,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:m(/\s+&\s+/,d(je)),relevance:0}]},R={begin:/</,end:/>/,keywords:l,contains:[...a,...c,...O,g,D]};D.contains.push(R);const I={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:m(Be,/\s*:/),keywords:"_|0",relevance:0},...a,C,...c,...u,...b,_,N,...T,...O,D]},L={begin:/</,end:/>/,keywords:"repeat each",contains:[...a,D]},B={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:p(d(m(Be,/\s*:/)),d(m(Be,/\s+/,Be,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Be}]},...a,...c,...b,_,N,...O,D,I],endsParent:!0,illegal:/["']/},j={match:[/(func|macro)/,/\s+/,p(S.match,Be,Re)],className:{1:"keyword",3:"title.function"},contains:[L,B,t],illegal:[/\[/,/%/]},U={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[L,B,t],illegal:/\[|%/},z={match:[/operator/,/\s+/,Re],className:{1:"keyword",3:"title"}},F={begin:[/precedencegroup/,/\s+/,je],className:{1:"keyword",3:"title"},contains:[D],keywords:[...Ce,...ke],end:/}/};for(const e of N.variants){const t=e.contains.find((e=>"interpol"===e.label));t.keywords=l;const n=[...c,...u,...b,_,N,...T];t.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:l,contains:[...a,j,U,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},z,F,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0},C,...c,...u,...b,_,N,...T,...O,D,I]}},grmr_typescript:e=>{const t=ve(e),n=le,a=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],r={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:a},contains:[t.exports.CLASS_REFERENCE]},s={$pattern:le,keyword:ce.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:de,built_in:be.concat(a),"variable.language":pe},o={className:"meta",begin:"@"+n},l=(e,t,n)=>{const a=e.contains.findIndex((e=>e.label===t));if(-1===a)throw Error("can not find mode to replace");e.contains.splice(a,1,n)};return Object.assign(t.keywords,s),t.exports.PARAMS_CONTAINS.push(o),t.contains=t.contains.concat([o,r,i]),l(t,"shebang",e.SHEBANG()),l(t,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t},grmr_wgsl:e=>({name:"WGSL",keywords:{keyword:"break continue continuing discard else for if loop return while switch case default alias const const_assert diagnostic enable fn let override requires struct var function private workgroup uniform storage read read_write write center centroid flat linear perspective sample frag_depth front_facing global_invocation_id instance_index local_invocation_id local_invocation_index num_workgroups position sample_index sample_mask vertex_index workgroup_id rgba8unorm rgba8snorm rgba8uint rgba8sint rgba16uint rgba16sint rgba16float r32uint r32sint r32float rg32uint rg32sint rg32float rgba32uint rgba32sint rgba32float bgra8unorm align binding builtin compute const diagnostic fragment group id interpolate invariant location must_use size vertex workgroup_size",type:"bool f32 f16 i32 i16 u32 u16 vec2 vec2f vec2i vec2u vec3 vec3f vec3i vec3u vec4 vec4f vec4i vec4u mat2x2 mat2x2f mat2x2i mat2x2u mat2x3 mat2x3f mat2x3i mat2x3u mat2x4 mat2x4f mat2x4i mat2x4u mat3x2 mat3x2f mat3x2i mat3x2u mat3x3 mat3x3f mat3x3i mat3x3u mat3x4 mat3x4f mat3x4i mat3x4u mat4x2 mat4x2f mat4x2i mat4x2u mat4x3 mat4x3f mat4x3i mat4x3u mat4x4 mat4x4f mat4x4i mat4x4u texture_1d texture_2d texture_2d_array texture_3d texture_cube texture_cube_array texture_multisampled_2d texture_storage_3d texture_storage_1d texture_storage_2d texture_storage_2d_array texture_depth_2d texture_depth_2d_array texture_depth_cube texture_depth_cube_array sampler sampler_comparison array atomic ptr",built_in:"bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2 ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross degrees determinant distance dot dot4U8Packed dot4I8Packed exp exp2 extractBits faceForward firstLeadingBit firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm pack4x8unorm pack4xI8 pack4xU8 pack4xI8Clamp pack4xU8Clamp pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm unpack4xI8 unpack4xU8 unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier textureBarrier workgroupBarrier workgroupUniformLoad",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE]}),grmr_xml:e=>{const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(r,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),o=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[a]},{begin:/'/,end:/'/,contains:[a]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[r,o,s,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[r,i,o,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[o]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},grmr_yaml:e=>{const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},r=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[i],illegal:"\\n",relevance:0},o={begin:"\\[",end:"\\]",contains:[i],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,o,a],c=[...l];return c.pop(),c.push(r),i.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}}});const $e=ne;for(const e of Object.keys(Fe)){const t=e.replace("grmr_","").replace("_","-");$e.registerLanguage(t,Fe[e])}return $e}();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);