@quartz-community/remark-obsidian 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE-THIRD-PARTY.md +47 -0
- package/README.md +62 -24
- package/dist/index.d.ts +93 -2
- package/dist/index.js +10286 -10572
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +25 -0
- package/dist/legacy.js +8514 -0
- package/dist/legacy.js.map +1 -0
- package/package.json +23 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/character-entities/index.js","../node_modules/decode-named-character-reference/index.js","../node_modules/micromark-util-decode-numeric-character-reference/index.js","../node_modules/micromark-util-decode-string/index.js","../node_modules/micromark-util-normalize-identifier/index.js","../node_modules/unist-util-is/lib/index.js","../node_modules/unist-util-visit-parents/lib/color.node.js","../node_modules/unist-util-visit-parents/lib/index.js","../src/lib/visit.ts","../src/lib/byte-order-mark.ts","../src/lib/callout.ts","../src/lib/normalize-points.ts","../src/lib/callout-marker.ts","../src/lib/math-display.ts","../src/lib/wikilink-target.ts","../src/lib/syntax/highlight.ts","../src/rp8/vendor/helpers.ts","../src/rp8/vendor/remark-parse/util/get-indentation.ts","../src/rp8/remove-indentation.ts","../src/rp8/vendor/remark-parse/util/interrupt.ts","../src/rp8/list.ts","../src/rp8/reads-past-end.ts","../src/rp8/vendor/remark-footnotes/index.ts","../src/rp8/vendor/remark-math/util.ts","../src/rp8/vendor/remark-math/inline.ts","../src/rp8/vendor/remark-math/block.ts","../src/rp8/vendor/remark-math/index.ts","../src/rp8/vendor/remark-parse/unescape.ts","../src/rp8/vendor/entities-v1.ts","../src/rp8/vendor/parse-entities/index.ts","../src/rp8/vendor/remark-parse/decode.ts","../src/rp8/vendor/remark-parse/tokenizer.ts","../src/rp8/vendor/remark-parse/block-elements.ts","../src/rp8/vendor/remark-parse/defaults.ts","../src/rp8/vendor/remark-parse/set-options.ts","../src/rp8/vendor/remark-parse/parse.ts","../src/rp8/vendor/remark-parse/tokenize/blank-line.ts","../src/rp8/vendor/remark-parse/tokenize/code-indented.ts","../src/rp8/vendor/remark-parse/tokenize/code-fenced.ts","../src/rp8/vendor/remark-parse/tokenize/blockquote.ts","../src/rp8/vendor/remark-parse/tokenize/heading-atx.ts","../src/rp8/vendor/remark-parse/tokenize/thematic-break.ts","../src/rp8/vendor/remark-parse/util/remove-indentation.ts","../src/rp8/vendor/remark-parse/tokenize/list.ts","../src/rp8/vendor/remark-parse/tokenize/heading-setext.ts","../src/rp8/vendor/remark-parse/util/html.ts","../src/rp8/vendor/remark-parse/tokenize/html-block.ts","../src/rp8/vendor/remark-parse/util/normalize.ts","../src/rp8/vendor/remark-parse/tokenize/definition.ts","../src/rp8/vendor/remark-parse/tokenize/table.ts","../src/rp8/vendor/remark-parse/tokenize/paragraph.ts","../src/rp8/vendor/remark-parse/locate/escape.ts","../src/rp8/vendor/remark-parse/tokenize/escape.ts","../src/rp8/vendor/remark-parse/locate/tag.ts","../src/rp8/vendor/remark-parse/tokenize/auto-link.ts","../src/rp8/vendor/remark-parse/locate/url.ts","../src/rp8/vendor/remark-parse/tokenize/url.ts","../src/rp8/vendor/remark-parse/locate/email.ts","../src/rp8/vendor/remark-parse/tokenize/email.ts","../src/rp8/vendor/remark-parse/tokenize/html-inline.ts","../src/rp8/vendor/remark-parse/locate/link.ts","../src/rp8/vendor/remark-parse/tokenize/link.ts","../src/rp8/vendor/remark-parse/tokenize/reference.ts","../src/rp8/vendor/remark-parse/locate/strong.ts","../src/rp8/vendor/remark-parse/tokenize/strong.ts","../src/rp8/vendor/remark-parse/locate/emphasis.ts","../src/rp8/vendor/remark-parse/tokenize/emphasis.ts","../src/rp8/vendor/remark-parse/locate/delete.ts","../src/rp8/vendor/remark-parse/tokenize/delete.ts","../src/rp8/vendor/remark-parse/locate/code-inline.ts","../src/rp8/vendor/remark-parse/tokenize/code-inline.ts","../src/rp8/vendor/remark-parse/locate/break.ts","../src/rp8/vendor/remark-parse/tokenize/break.ts","../src/rp8/vendor/remark-parse/tokenize/text.ts","../src/rp8/vendor/remark-parse/parser.ts","../src/lib/tag-char.ts","../src/rp8/reader.ts","../src/rp8/adapt.ts","../src/legacy.ts"],"sourcesContent":["/**\n * Map of named character references.\n *\n * @type {Record<string, string>}\n */\nexport const characterEntities = {\n AElig: 'Æ',\n AMP: '&',\n Aacute: 'Á',\n Abreve: 'Ă',\n Acirc: 'Â',\n Acy: 'А',\n Afr: '𝔄',\n Agrave: 'À',\n Alpha: 'Α',\n Amacr: 'Ā',\n And: '⩓',\n Aogon: 'Ą',\n Aopf: '𝔸',\n ApplyFunction: '',\n Aring: 'Å',\n Ascr: '𝒜',\n Assign: '≔',\n Atilde: 'Ã',\n Auml: 'Ä',\n Backslash: '∖',\n Barv: '⫧',\n Barwed: '⌆',\n Bcy: 'Б',\n Because: '∵',\n Bernoullis: 'ℬ',\n Beta: 'Β',\n Bfr: '𝔅',\n Bopf: '𝔹',\n Breve: '˘',\n Bscr: 'ℬ',\n Bumpeq: '≎',\n CHcy: 'Ч',\n COPY: '©',\n Cacute: 'Ć',\n Cap: '⋒',\n CapitalDifferentialD: 'ⅅ',\n Cayleys: 'ℭ',\n Ccaron: 'Č',\n Ccedil: 'Ç',\n Ccirc: 'Ĉ',\n Cconint: '∰',\n Cdot: 'Ċ',\n Cedilla: '¸',\n CenterDot: '·',\n Cfr: 'ℭ',\n Chi: 'Χ',\n CircleDot: '⊙',\n CircleMinus: '⊖',\n CirclePlus: '⊕',\n CircleTimes: '⊗',\n ClockwiseContourIntegral: '∲',\n CloseCurlyDoubleQuote: '”',\n CloseCurlyQuote: '’',\n Colon: '∷',\n Colone: '⩴',\n Congruent: '≡',\n Conint: '∯',\n ContourIntegral: '∮',\n Copf: 'ℂ',\n Coproduct: '∐',\n CounterClockwiseContourIntegral: '∳',\n Cross: '⨯',\n Cscr: '𝒞',\n Cup: '⋓',\n CupCap: '≍',\n DD: 'ⅅ',\n DDotrahd: '⤑',\n DJcy: 'Ђ',\n DScy: 'Ѕ',\n DZcy: 'Џ',\n Dagger: '‡',\n Darr: '↡',\n Dashv: '⫤',\n Dcaron: 'Ď',\n Dcy: 'Д',\n Del: '∇',\n Delta: 'Δ',\n Dfr: '𝔇',\n DiacriticalAcute: '´',\n DiacriticalDot: '˙',\n DiacriticalDoubleAcute: '˝',\n DiacriticalGrave: '`',\n DiacriticalTilde: '˜',\n Diamond: '⋄',\n DifferentialD: 'ⅆ',\n Dopf: '𝔻',\n Dot: '¨',\n DotDot: '⃜',\n DotEqual: '≐',\n DoubleContourIntegral: '∯',\n DoubleDot: '¨',\n DoubleDownArrow: '⇓',\n DoubleLeftArrow: '⇐',\n DoubleLeftRightArrow: '⇔',\n DoubleLeftTee: '⫤',\n DoubleLongLeftArrow: '⟸',\n DoubleLongLeftRightArrow: '⟺',\n DoubleLongRightArrow: '⟹',\n DoubleRightArrow: '⇒',\n DoubleRightTee: '⊨',\n DoubleUpArrow: '⇑',\n DoubleUpDownArrow: '⇕',\n DoubleVerticalBar: '∥',\n DownArrow: '↓',\n DownArrowBar: '⤓',\n DownArrowUpArrow: '⇵',\n DownBreve: '̑',\n DownLeftRightVector: '⥐',\n DownLeftTeeVector: '⥞',\n DownLeftVector: '↽',\n DownLeftVectorBar: '⥖',\n DownRightTeeVector: '⥟',\n DownRightVector: '⇁',\n DownRightVectorBar: '⥗',\n DownTee: '⊤',\n DownTeeArrow: '↧',\n Downarrow: '⇓',\n Dscr: '𝒟',\n Dstrok: 'Đ',\n ENG: 'Ŋ',\n ETH: 'Ð',\n Eacute: 'É',\n Ecaron: 'Ě',\n Ecirc: 'Ê',\n Ecy: 'Э',\n Edot: 'Ė',\n Efr: '𝔈',\n Egrave: 'È',\n Element: '∈',\n Emacr: 'Ē',\n EmptySmallSquare: '◻',\n EmptyVerySmallSquare: '▫',\n Eogon: 'Ę',\n Eopf: '𝔼',\n Epsilon: 'Ε',\n Equal: '⩵',\n EqualTilde: '≂',\n Equilibrium: '⇌',\n Escr: 'ℰ',\n Esim: '⩳',\n Eta: 'Η',\n Euml: 'Ë',\n Exists: '∃',\n ExponentialE: 'ⅇ',\n Fcy: 'Ф',\n Ffr: '𝔉',\n FilledSmallSquare: '◼',\n FilledVerySmallSquare: '▪',\n Fopf: '𝔽',\n ForAll: '∀',\n Fouriertrf: 'ℱ',\n Fscr: 'ℱ',\n GJcy: 'Ѓ',\n GT: '>',\n Gamma: 'Γ',\n Gammad: 'Ϝ',\n Gbreve: 'Ğ',\n Gcedil: 'Ģ',\n Gcirc: 'Ĝ',\n Gcy: 'Г',\n Gdot: 'Ġ',\n Gfr: '𝔊',\n Gg: '⋙',\n Gopf: '𝔾',\n GreaterEqual: '≥',\n GreaterEqualLess: '⋛',\n GreaterFullEqual: '≧',\n GreaterGreater: '⪢',\n GreaterLess: '≷',\n GreaterSlantEqual: '⩾',\n GreaterTilde: '≳',\n Gscr: '𝒢',\n Gt: '≫',\n HARDcy: 'Ъ',\n Hacek: 'ˇ',\n Hat: '^',\n Hcirc: 'Ĥ',\n Hfr: 'ℌ',\n HilbertSpace: 'ℋ',\n Hopf: 'ℍ',\n HorizontalLine: '─',\n Hscr: 'ℋ',\n Hstrok: 'Ħ',\n HumpDownHump: '≎',\n HumpEqual: '≏',\n IEcy: 'Е',\n IJlig: 'IJ',\n IOcy: 'Ё',\n Iacute: 'Í',\n Icirc: 'Î',\n Icy: 'И',\n Idot: 'İ',\n Ifr: 'ℑ',\n Igrave: 'Ì',\n Im: 'ℑ',\n Imacr: 'Ī',\n ImaginaryI: 'ⅈ',\n Implies: '⇒',\n Int: '∬',\n Integral: '∫',\n Intersection: '⋂',\n InvisibleComma: '',\n InvisibleTimes: '',\n Iogon: 'Į',\n Iopf: '𝕀',\n Iota: 'Ι',\n Iscr: 'ℐ',\n Itilde: 'Ĩ',\n Iukcy: 'І',\n Iuml: 'Ï',\n Jcirc: 'Ĵ',\n Jcy: 'Й',\n Jfr: '𝔍',\n Jopf: '𝕁',\n Jscr: '𝒥',\n Jsercy: 'Ј',\n Jukcy: 'Є',\n KHcy: 'Х',\n KJcy: 'Ќ',\n Kappa: 'Κ',\n Kcedil: 'Ķ',\n Kcy: 'К',\n Kfr: '𝔎',\n Kopf: '𝕂',\n Kscr: '𝒦',\n LJcy: 'Љ',\n LT: '<',\n Lacute: 'Ĺ',\n Lambda: 'Λ',\n Lang: '⟪',\n Laplacetrf: 'ℒ',\n Larr: '↞',\n Lcaron: 'Ľ',\n Lcedil: 'Ļ',\n Lcy: 'Л',\n LeftAngleBracket: '⟨',\n LeftArrow: '←',\n LeftArrowBar: '⇤',\n LeftArrowRightArrow: '⇆',\n LeftCeiling: '⌈',\n LeftDoubleBracket: '⟦',\n LeftDownTeeVector: '⥡',\n LeftDownVector: '⇃',\n LeftDownVectorBar: '⥙',\n LeftFloor: '⌊',\n LeftRightArrow: '↔',\n LeftRightVector: '⥎',\n LeftTee: '⊣',\n LeftTeeArrow: '↤',\n LeftTeeVector: '⥚',\n LeftTriangle: '⊲',\n LeftTriangleBar: '⧏',\n LeftTriangleEqual: '⊴',\n LeftUpDownVector: '⥑',\n LeftUpTeeVector: '⥠',\n LeftUpVector: '↿',\n LeftUpVectorBar: '⥘',\n LeftVector: '↼',\n LeftVectorBar: '⥒',\n Leftarrow: '⇐',\n Leftrightarrow: '⇔',\n LessEqualGreater: '⋚',\n LessFullEqual: '≦',\n LessGreater: '≶',\n LessLess: '⪡',\n LessSlantEqual: '⩽',\n LessTilde: '≲',\n Lfr: '𝔏',\n Ll: '⋘',\n Lleftarrow: '⇚',\n Lmidot: 'Ŀ',\n LongLeftArrow: '⟵',\n LongLeftRightArrow: '⟷',\n LongRightArrow: '⟶',\n Longleftarrow: '⟸',\n Longleftrightarrow: '⟺',\n Longrightarrow: '⟹',\n Lopf: '𝕃',\n LowerLeftArrow: '↙',\n LowerRightArrow: '↘',\n Lscr: 'ℒ',\n Lsh: '↰',\n Lstrok: 'Ł',\n Lt: '≪',\n Map: '⤅',\n Mcy: 'М',\n MediumSpace: ' ',\n Mellintrf: 'ℳ',\n Mfr: '𝔐',\n MinusPlus: '∓',\n Mopf: '𝕄',\n Mscr: 'ℳ',\n Mu: 'Μ',\n NJcy: 'Њ',\n Nacute: 'Ń',\n Ncaron: 'Ň',\n Ncedil: 'Ņ',\n Ncy: 'Н',\n NegativeMediumSpace: '',\n NegativeThickSpace: '',\n NegativeThinSpace: '',\n NegativeVeryThinSpace: '',\n NestedGreaterGreater: '≫',\n NestedLessLess: '≪',\n NewLine: '\\n',\n Nfr: '𝔑',\n NoBreak: '',\n NonBreakingSpace: ' ',\n Nopf: 'ℕ',\n Not: '⫬',\n NotCongruent: '≢',\n NotCupCap: '≭',\n NotDoubleVerticalBar: '∦',\n NotElement: '∉',\n NotEqual: '≠',\n NotEqualTilde: '≂̸',\n NotExists: '∄',\n NotGreater: '≯',\n NotGreaterEqual: '≱',\n NotGreaterFullEqual: '≧̸',\n NotGreaterGreater: '≫̸',\n NotGreaterLess: '≹',\n NotGreaterSlantEqual: '⩾̸',\n NotGreaterTilde: '≵',\n NotHumpDownHump: '≎̸',\n NotHumpEqual: '≏̸',\n NotLeftTriangle: '⋪',\n NotLeftTriangleBar: '⧏̸',\n NotLeftTriangleEqual: '⋬',\n NotLess: '≮',\n NotLessEqual: '≰',\n NotLessGreater: '≸',\n NotLessLess: '≪̸',\n NotLessSlantEqual: '⩽̸',\n NotLessTilde: '≴',\n NotNestedGreaterGreater: '⪢̸',\n NotNestedLessLess: '⪡̸',\n NotPrecedes: '⊀',\n NotPrecedesEqual: '⪯̸',\n NotPrecedesSlantEqual: '⋠',\n NotReverseElement: '∌',\n NotRightTriangle: '⋫',\n NotRightTriangleBar: '⧐̸',\n NotRightTriangleEqual: '⋭',\n NotSquareSubset: '⊏̸',\n NotSquareSubsetEqual: '⋢',\n NotSquareSuperset: '⊐̸',\n NotSquareSupersetEqual: '⋣',\n NotSubset: '⊂⃒',\n NotSubsetEqual: '⊈',\n NotSucceeds: '⊁',\n NotSucceedsEqual: '⪰̸',\n NotSucceedsSlantEqual: '⋡',\n NotSucceedsTilde: '≿̸',\n NotSuperset: '⊃⃒',\n NotSupersetEqual: '⊉',\n NotTilde: '≁',\n NotTildeEqual: '≄',\n NotTildeFullEqual: '≇',\n NotTildeTilde: '≉',\n NotVerticalBar: '∤',\n Nscr: '𝒩',\n Ntilde: 'Ñ',\n Nu: 'Ν',\n OElig: 'Œ',\n Oacute: 'Ó',\n Ocirc: 'Ô',\n Ocy: 'О',\n Odblac: 'Ő',\n Ofr: '𝔒',\n Ograve: 'Ò',\n Omacr: 'Ō',\n Omega: 'Ω',\n Omicron: 'Ο',\n Oopf: '𝕆',\n OpenCurlyDoubleQuote: '“',\n OpenCurlyQuote: '‘',\n Or: '⩔',\n Oscr: '𝒪',\n Oslash: 'Ø',\n Otilde: 'Õ',\n Otimes: '⨷',\n Ouml: 'Ö',\n OverBar: '‾',\n OverBrace: '⏞',\n OverBracket: '⎴',\n OverParenthesis: '⏜',\n PartialD: '∂',\n Pcy: 'П',\n Pfr: '𝔓',\n Phi: 'Φ',\n Pi: 'Π',\n PlusMinus: '±',\n Poincareplane: 'ℌ',\n Popf: 'ℙ',\n Pr: '⪻',\n Precedes: '≺',\n PrecedesEqual: '⪯',\n PrecedesSlantEqual: '≼',\n PrecedesTilde: '≾',\n Prime: '″',\n Product: '∏',\n Proportion: '∷',\n Proportional: '∝',\n Pscr: '𝒫',\n Psi: 'Ψ',\n QUOT: '\"',\n Qfr: '𝔔',\n Qopf: 'ℚ',\n Qscr: '𝒬',\n RBarr: '⤐',\n REG: '®',\n Racute: 'Ŕ',\n Rang: '⟫',\n Rarr: '↠',\n Rarrtl: '⤖',\n Rcaron: 'Ř',\n Rcedil: 'Ŗ',\n Rcy: 'Р',\n Re: 'ℜ',\n ReverseElement: '∋',\n ReverseEquilibrium: '⇋',\n ReverseUpEquilibrium: '⥯',\n Rfr: 'ℜ',\n Rho: 'Ρ',\n RightAngleBracket: '⟩',\n RightArrow: '→',\n RightArrowBar: '⇥',\n RightArrowLeftArrow: '⇄',\n RightCeiling: '⌉',\n RightDoubleBracket: '⟧',\n RightDownTeeVector: '⥝',\n RightDownVector: '⇂',\n RightDownVectorBar: '⥕',\n RightFloor: '⌋',\n RightTee: '⊢',\n RightTeeArrow: '↦',\n RightTeeVector: '⥛',\n RightTriangle: '⊳',\n RightTriangleBar: '⧐',\n RightTriangleEqual: '⊵',\n RightUpDownVector: '⥏',\n RightUpTeeVector: '⥜',\n RightUpVector: '↾',\n RightUpVectorBar: '⥔',\n RightVector: '⇀',\n RightVectorBar: '⥓',\n Rightarrow: '⇒',\n Ropf: 'ℝ',\n RoundImplies: '⥰',\n Rrightarrow: '⇛',\n Rscr: 'ℛ',\n Rsh: '↱',\n RuleDelayed: '⧴',\n SHCHcy: 'Щ',\n SHcy: 'Ш',\n SOFTcy: 'Ь',\n Sacute: 'Ś',\n Sc: '⪼',\n Scaron: 'Š',\n Scedil: 'Ş',\n Scirc: 'Ŝ',\n Scy: 'С',\n Sfr: '𝔖',\n ShortDownArrow: '↓',\n ShortLeftArrow: '←',\n ShortRightArrow: '→',\n ShortUpArrow: '↑',\n Sigma: 'Σ',\n SmallCircle: '∘',\n Sopf: '𝕊',\n Sqrt: '√',\n Square: '□',\n SquareIntersection: '⊓',\n SquareSubset: '⊏',\n SquareSubsetEqual: '⊑',\n SquareSuperset: '⊐',\n SquareSupersetEqual: '⊒',\n SquareUnion: '⊔',\n Sscr: '𝒮',\n Star: '⋆',\n Sub: '⋐',\n Subset: '⋐',\n SubsetEqual: '⊆',\n Succeeds: '≻',\n SucceedsEqual: '⪰',\n SucceedsSlantEqual: '≽',\n SucceedsTilde: '≿',\n SuchThat: '∋',\n Sum: '∑',\n Sup: '⋑',\n Superset: '⊃',\n SupersetEqual: '⊇',\n Supset: '⋑',\n THORN: 'Þ',\n TRADE: '™',\n TSHcy: 'Ћ',\n TScy: 'Ц',\n Tab: '\\t',\n Tau: 'Τ',\n Tcaron: 'Ť',\n Tcedil: 'Ţ',\n Tcy: 'Т',\n Tfr: '𝔗',\n Therefore: '∴',\n Theta: 'Θ',\n ThickSpace: ' ',\n ThinSpace: ' ',\n Tilde: '∼',\n TildeEqual: '≃',\n TildeFullEqual: '≅',\n TildeTilde: '≈',\n Topf: '𝕋',\n TripleDot: '⃛',\n Tscr: '𝒯',\n Tstrok: 'Ŧ',\n Uacute: 'Ú',\n Uarr: '↟',\n Uarrocir: '⥉',\n Ubrcy: 'Ў',\n Ubreve: 'Ŭ',\n Ucirc: 'Û',\n Ucy: 'У',\n Udblac: 'Ű',\n Ufr: '𝔘',\n Ugrave: 'Ù',\n Umacr: 'Ū',\n UnderBar: '_',\n UnderBrace: '⏟',\n UnderBracket: '⎵',\n UnderParenthesis: '⏝',\n Union: '⋃',\n UnionPlus: '⊎',\n Uogon: 'Ų',\n Uopf: '𝕌',\n UpArrow: '↑',\n UpArrowBar: '⤒',\n UpArrowDownArrow: '⇅',\n UpDownArrow: '↕',\n UpEquilibrium: '⥮',\n UpTee: '⊥',\n UpTeeArrow: '↥',\n Uparrow: '⇑',\n Updownarrow: '⇕',\n UpperLeftArrow: '↖',\n UpperRightArrow: '↗',\n Upsi: 'ϒ',\n Upsilon: 'Υ',\n Uring: 'Ů',\n Uscr: '𝒰',\n Utilde: 'Ũ',\n Uuml: 'Ü',\n VDash: '⊫',\n Vbar: '⫫',\n Vcy: 'В',\n Vdash: '⊩',\n Vdashl: '⫦',\n Vee: '⋁',\n Verbar: '‖',\n Vert: '‖',\n VerticalBar: '∣',\n VerticalLine: '|',\n VerticalSeparator: '❘',\n VerticalTilde: '≀',\n VeryThinSpace: ' ',\n Vfr: '𝔙',\n Vopf: '𝕍',\n Vscr: '𝒱',\n Vvdash: '⊪',\n Wcirc: 'Ŵ',\n Wedge: '⋀',\n Wfr: '𝔚',\n Wopf: '𝕎',\n Wscr: '𝒲',\n Xfr: '𝔛',\n Xi: 'Ξ',\n Xopf: '𝕏',\n Xscr: '𝒳',\n YAcy: 'Я',\n YIcy: 'Ї',\n YUcy: 'Ю',\n Yacute: 'Ý',\n Ycirc: 'Ŷ',\n Ycy: 'Ы',\n Yfr: '𝔜',\n Yopf: '𝕐',\n Yscr: '𝒴',\n Yuml: 'Ÿ',\n ZHcy: 'Ж',\n Zacute: 'Ź',\n Zcaron: 'Ž',\n Zcy: 'З',\n Zdot: 'Ż',\n ZeroWidthSpace: '',\n Zeta: 'Ζ',\n Zfr: 'ℨ',\n Zopf: 'ℤ',\n Zscr: '𝒵',\n aacute: 'á',\n abreve: 'ă',\n ac: '∾',\n acE: '∾̳',\n acd: '∿',\n acirc: 'â',\n acute: '´',\n acy: 'а',\n aelig: 'æ',\n af: '',\n afr: '𝔞',\n agrave: 'à',\n alefsym: 'ℵ',\n aleph: 'ℵ',\n alpha: 'α',\n amacr: 'ā',\n amalg: '⨿',\n amp: '&',\n and: '∧',\n andand: '⩕',\n andd: '⩜',\n andslope: '⩘',\n andv: '⩚',\n ang: '∠',\n ange: '⦤',\n angle: '∠',\n angmsd: '∡',\n angmsdaa: '⦨',\n angmsdab: '⦩',\n angmsdac: '⦪',\n angmsdad: '⦫',\n angmsdae: '⦬',\n angmsdaf: '⦭',\n angmsdag: '⦮',\n angmsdah: '⦯',\n angrt: '∟',\n angrtvb: '⊾',\n angrtvbd: '⦝',\n angsph: '∢',\n angst: 'Å',\n angzarr: '⍼',\n aogon: 'ą',\n aopf: '𝕒',\n ap: '≈',\n apE: '⩰',\n apacir: '⩯',\n ape: '≊',\n apid: '≋',\n apos: \"'\",\n approx: '≈',\n approxeq: '≊',\n aring: 'å',\n ascr: '𝒶',\n ast: '*',\n asymp: '≈',\n asympeq: '≍',\n atilde: 'ã',\n auml: 'ä',\n awconint: '∳',\n awint: '⨑',\n bNot: '⫭',\n backcong: '≌',\n backepsilon: '϶',\n backprime: '‵',\n backsim: '∽',\n backsimeq: '⋍',\n barvee: '⊽',\n barwed: '⌅',\n barwedge: '⌅',\n bbrk: '⎵',\n bbrktbrk: '⎶',\n bcong: '≌',\n bcy: 'б',\n bdquo: '„',\n becaus: '∵',\n because: '∵',\n bemptyv: '⦰',\n bepsi: '϶',\n bernou: 'ℬ',\n beta: 'β',\n beth: 'ℶ',\n between: '≬',\n bfr: '𝔟',\n bigcap: '⋂',\n bigcirc: '◯',\n bigcup: '⋃',\n bigodot: '⨀',\n bigoplus: '⨁',\n bigotimes: '⨂',\n bigsqcup: '⨆',\n bigstar: '★',\n bigtriangledown: '▽',\n bigtriangleup: '△',\n biguplus: '⨄',\n bigvee: '⋁',\n bigwedge: '⋀',\n bkarow: '⤍',\n blacklozenge: '⧫',\n blacksquare: '▪',\n blacktriangle: '▴',\n blacktriangledown: '▾',\n blacktriangleleft: '◂',\n blacktriangleright: '▸',\n blank: '␣',\n blk12: '▒',\n blk14: '░',\n blk34: '▓',\n block: '█',\n bne: '=⃥',\n bnequiv: '≡⃥',\n bnot: '⌐',\n bopf: '𝕓',\n bot: '⊥',\n bottom: '⊥',\n bowtie: '⋈',\n boxDL: '╗',\n boxDR: '╔',\n boxDl: '╖',\n boxDr: '╓',\n boxH: '═',\n boxHD: '╦',\n boxHU: '╩',\n boxHd: '╤',\n boxHu: '╧',\n boxUL: '╝',\n boxUR: '╚',\n boxUl: '╜',\n boxUr: '╙',\n boxV: '║',\n boxVH: '╬',\n boxVL: '╣',\n boxVR: '╠',\n boxVh: '╫',\n boxVl: '╢',\n boxVr: '╟',\n boxbox: '⧉',\n boxdL: '╕',\n boxdR: '╒',\n boxdl: '┐',\n boxdr: '┌',\n boxh: '─',\n boxhD: '╥',\n boxhU: '╨',\n boxhd: '┬',\n boxhu: '┴',\n boxminus: '⊟',\n boxplus: '⊞',\n boxtimes: '⊠',\n boxuL: '╛',\n boxuR: '╘',\n boxul: '┘',\n boxur: '└',\n boxv: '│',\n boxvH: '╪',\n boxvL: '╡',\n boxvR: '╞',\n boxvh: '┼',\n boxvl: '┤',\n boxvr: '├',\n bprime: '‵',\n breve: '˘',\n brvbar: '¦',\n bscr: '𝒷',\n bsemi: '⁏',\n bsim: '∽',\n bsime: '⋍',\n bsol: '\\\\',\n bsolb: '⧅',\n bsolhsub: '⟈',\n bull: '•',\n bullet: '•',\n bump: '≎',\n bumpE: '⪮',\n bumpe: '≏',\n bumpeq: '≏',\n cacute: 'ć',\n cap: '∩',\n capand: '⩄',\n capbrcup: '⩉',\n capcap: '⩋',\n capcup: '⩇',\n capdot: '⩀',\n caps: '∩︀',\n caret: '⁁',\n caron: 'ˇ',\n ccaps: '⩍',\n ccaron: 'č',\n ccedil: 'ç',\n ccirc: 'ĉ',\n ccups: '⩌',\n ccupssm: '⩐',\n cdot: 'ċ',\n cedil: '¸',\n cemptyv: '⦲',\n cent: '¢',\n centerdot: '·',\n cfr: '𝔠',\n chcy: 'ч',\n check: '✓',\n checkmark: '✓',\n chi: 'χ',\n cir: '○',\n cirE: '⧃',\n circ: 'ˆ',\n circeq: '≗',\n circlearrowleft: '↺',\n circlearrowright: '↻',\n circledR: '®',\n circledS: 'Ⓢ',\n circledast: '⊛',\n circledcirc: '⊚',\n circleddash: '⊝',\n cire: '≗',\n cirfnint: '⨐',\n cirmid: '⫯',\n cirscir: '⧂',\n clubs: '♣',\n clubsuit: '♣',\n colon: ':',\n colone: '≔',\n coloneq: '≔',\n comma: ',',\n commat: '@',\n comp: '∁',\n compfn: '∘',\n complement: '∁',\n complexes: 'ℂ',\n cong: '≅',\n congdot: '⩭',\n conint: '∮',\n copf: '𝕔',\n coprod: '∐',\n copy: '©',\n copysr: '℗',\n crarr: '↵',\n cross: '✗',\n cscr: '𝒸',\n csub: '⫏',\n csube: '⫑',\n csup: '⫐',\n csupe: '⫒',\n ctdot: '⋯',\n cudarrl: '⤸',\n cudarrr: '⤵',\n cuepr: '⋞',\n cuesc: '⋟',\n cularr: '↶',\n cularrp: '⤽',\n cup: '∪',\n cupbrcap: '⩈',\n cupcap: '⩆',\n cupcup: '⩊',\n cupdot: '⊍',\n cupor: '⩅',\n cups: '∪︀',\n curarr: '↷',\n curarrm: '⤼',\n curlyeqprec: '⋞',\n curlyeqsucc: '⋟',\n curlyvee: '⋎',\n curlywedge: '⋏',\n curren: '¤',\n curvearrowleft: '↶',\n curvearrowright: '↷',\n cuvee: '⋎',\n cuwed: '⋏',\n cwconint: '∲',\n cwint: '∱',\n cylcty: '⌭',\n dArr: '⇓',\n dHar: '⥥',\n dagger: '†',\n daleth: 'ℸ',\n darr: '↓',\n dash: '‐',\n dashv: '⊣',\n dbkarow: '⤏',\n dblac: '˝',\n dcaron: 'ď',\n dcy: 'д',\n dd: 'ⅆ',\n ddagger: '‡',\n ddarr: '⇊',\n ddotseq: '⩷',\n deg: '°',\n delta: 'δ',\n demptyv: '⦱',\n dfisht: '⥿',\n dfr: '𝔡',\n dharl: '⇃',\n dharr: '⇂',\n diam: '⋄',\n diamond: '⋄',\n diamondsuit: '♦',\n diams: '♦',\n die: '¨',\n digamma: 'ϝ',\n disin: '⋲',\n div: '÷',\n divide: '÷',\n divideontimes: '⋇',\n divonx: '⋇',\n djcy: 'ђ',\n dlcorn: '⌞',\n dlcrop: '⌍',\n dollar: '$',\n dopf: '𝕕',\n dot: '˙',\n doteq: '≐',\n doteqdot: '≑',\n dotminus: '∸',\n dotplus: '∔',\n dotsquare: '⊡',\n doublebarwedge: '⌆',\n downarrow: '↓',\n downdownarrows: '⇊',\n downharpoonleft: '⇃',\n downharpoonright: '⇂',\n drbkarow: '⤐',\n drcorn: '⌟',\n drcrop: '⌌',\n dscr: '𝒹',\n dscy: 'ѕ',\n dsol: '⧶',\n dstrok: 'đ',\n dtdot: '⋱',\n dtri: '▿',\n dtrif: '▾',\n duarr: '⇵',\n duhar: '⥯',\n dwangle: '⦦',\n dzcy: 'џ',\n dzigrarr: '⟿',\n eDDot: '⩷',\n eDot: '≑',\n eacute: 'é',\n easter: '⩮',\n ecaron: 'ě',\n ecir: '≖',\n ecirc: 'ê',\n ecolon: '≕',\n ecy: 'э',\n edot: 'ė',\n ee: 'ⅇ',\n efDot: '≒',\n efr: '𝔢',\n eg: '⪚',\n egrave: 'è',\n egs: '⪖',\n egsdot: '⪘',\n el: '⪙',\n elinters: '⏧',\n ell: 'ℓ',\n els: '⪕',\n elsdot: '⪗',\n emacr: 'ē',\n empty: '∅',\n emptyset: '∅',\n emptyv: '∅',\n emsp13: ' ',\n emsp14: ' ',\n emsp: ' ',\n eng: 'ŋ',\n ensp: ' ',\n eogon: 'ę',\n eopf: '𝕖',\n epar: '⋕',\n eparsl: '⧣',\n eplus: '⩱',\n epsi: 'ε',\n epsilon: 'ε',\n epsiv: 'ϵ',\n eqcirc: '≖',\n eqcolon: '≕',\n eqsim: '≂',\n eqslantgtr: '⪖',\n eqslantless: '⪕',\n equals: '=',\n equest: '≟',\n equiv: '≡',\n equivDD: '⩸',\n eqvparsl: '⧥',\n erDot: '≓',\n erarr: '⥱',\n escr: 'ℯ',\n esdot: '≐',\n esim: '≂',\n eta: 'η',\n eth: 'ð',\n euml: 'ë',\n euro: '€',\n excl: '!',\n exist: '∃',\n expectation: 'ℰ',\n exponentiale: 'ⅇ',\n fallingdotseq: '≒',\n fcy: 'ф',\n female: '♀',\n ffilig: 'ffi',\n fflig: 'ff',\n ffllig: 'ffl',\n ffr: '𝔣',\n filig: 'fi',\n fjlig: 'fj',\n flat: '♭',\n fllig: 'fl',\n fltns: '▱',\n fnof: 'ƒ',\n fopf: '𝕗',\n forall: '∀',\n fork: '⋔',\n forkv: '⫙',\n fpartint: '⨍',\n frac12: '½',\n frac13: '⅓',\n frac14: '¼',\n frac15: '⅕',\n frac16: '⅙',\n frac18: '⅛',\n frac23: '⅔',\n frac25: '⅖',\n frac34: '¾',\n frac35: '⅗',\n frac38: '⅜',\n frac45: '⅘',\n frac56: '⅚',\n frac58: '⅝',\n frac78: '⅞',\n frasl: '⁄',\n frown: '⌢',\n fscr: '𝒻',\n gE: '≧',\n gEl: '⪌',\n gacute: 'ǵ',\n gamma: 'γ',\n gammad: 'ϝ',\n gap: '⪆',\n gbreve: 'ğ',\n gcirc: 'ĝ',\n gcy: 'г',\n gdot: 'ġ',\n ge: '≥',\n gel: '⋛',\n geq: '≥',\n geqq: '≧',\n geqslant: '⩾',\n ges: '⩾',\n gescc: '⪩',\n gesdot: '⪀',\n gesdoto: '⪂',\n gesdotol: '⪄',\n gesl: '⋛︀',\n gesles: '⪔',\n gfr: '𝔤',\n gg: '≫',\n ggg: '⋙',\n gimel: 'ℷ',\n gjcy: 'ѓ',\n gl: '≷',\n glE: '⪒',\n gla: '⪥',\n glj: '⪤',\n gnE: '≩',\n gnap: '⪊',\n gnapprox: '⪊',\n gne: '⪈',\n gneq: '⪈',\n gneqq: '≩',\n gnsim: '⋧',\n gopf: '𝕘',\n grave: '`',\n gscr: 'ℊ',\n gsim: '≳',\n gsime: '⪎',\n gsiml: '⪐',\n gt: '>',\n gtcc: '⪧',\n gtcir: '⩺',\n gtdot: '⋗',\n gtlPar: '⦕',\n gtquest: '⩼',\n gtrapprox: '⪆',\n gtrarr: '⥸',\n gtrdot: '⋗',\n gtreqless: '⋛',\n gtreqqless: '⪌',\n gtrless: '≷',\n gtrsim: '≳',\n gvertneqq: '≩︀',\n gvnE: '≩︀',\n hArr: '⇔',\n hairsp: ' ',\n half: '½',\n hamilt: 'ℋ',\n hardcy: 'ъ',\n harr: '↔',\n harrcir: '⥈',\n harrw: '↭',\n hbar: 'ℏ',\n hcirc: 'ĥ',\n hearts: '♥',\n heartsuit: '♥',\n hellip: '…',\n hercon: '⊹',\n hfr: '𝔥',\n hksearow: '⤥',\n hkswarow: '⤦',\n hoarr: '⇿',\n homtht: '∻',\n hookleftarrow: '↩',\n hookrightarrow: '↪',\n hopf: '𝕙',\n horbar: '―',\n hscr: '𝒽',\n hslash: 'ℏ',\n hstrok: 'ħ',\n hybull: '⁃',\n hyphen: '‐',\n iacute: 'í',\n ic: '',\n icirc: 'î',\n icy: 'и',\n iecy: 'е',\n iexcl: '¡',\n iff: '⇔',\n ifr: '𝔦',\n igrave: 'ì',\n ii: 'ⅈ',\n iiiint: '⨌',\n iiint: '∭',\n iinfin: '⧜',\n iiota: '℩',\n ijlig: 'ij',\n imacr: 'ī',\n image: 'ℑ',\n imagline: 'ℐ',\n imagpart: 'ℑ',\n imath: 'ı',\n imof: '⊷',\n imped: 'Ƶ',\n in: '∈',\n incare: '℅',\n infin: '∞',\n infintie: '⧝',\n inodot: 'ı',\n int: '∫',\n intcal: '⊺',\n integers: 'ℤ',\n intercal: '⊺',\n intlarhk: '⨗',\n intprod: '⨼',\n iocy: 'ё',\n iogon: 'į',\n iopf: '𝕚',\n iota: 'ι',\n iprod: '⨼',\n iquest: '¿',\n iscr: '𝒾',\n isin: '∈',\n isinE: '⋹',\n isindot: '⋵',\n isins: '⋴',\n isinsv: '⋳',\n isinv: '∈',\n it: '',\n itilde: 'ĩ',\n iukcy: 'і',\n iuml: 'ï',\n jcirc: 'ĵ',\n jcy: 'й',\n jfr: '𝔧',\n jmath: 'ȷ',\n jopf: '𝕛',\n jscr: '𝒿',\n jsercy: 'ј',\n jukcy: 'є',\n kappa: 'κ',\n kappav: 'ϰ',\n kcedil: 'ķ',\n kcy: 'к',\n kfr: '𝔨',\n kgreen: 'ĸ',\n khcy: 'х',\n kjcy: 'ќ',\n kopf: '𝕜',\n kscr: '𝓀',\n lAarr: '⇚',\n lArr: '⇐',\n lAtail: '⤛',\n lBarr: '⤎',\n lE: '≦',\n lEg: '⪋',\n lHar: '⥢',\n lacute: 'ĺ',\n laemptyv: '⦴',\n lagran: 'ℒ',\n lambda: 'λ',\n lang: '⟨',\n langd: '⦑',\n langle: '⟨',\n lap: '⪅',\n laquo: '«',\n larr: '←',\n larrb: '⇤',\n larrbfs: '⤟',\n larrfs: '⤝',\n larrhk: '↩',\n larrlp: '↫',\n larrpl: '⤹',\n larrsim: '⥳',\n larrtl: '↢',\n lat: '⪫',\n latail: '⤙',\n late: '⪭',\n lates: '⪭︀',\n lbarr: '⤌',\n lbbrk: '❲',\n lbrace: '{',\n lbrack: '[',\n lbrke: '⦋',\n lbrksld: '⦏',\n lbrkslu: '⦍',\n lcaron: 'ľ',\n lcedil: 'ļ',\n lceil: '⌈',\n lcub: '{',\n lcy: 'л',\n ldca: '⤶',\n ldquo: '“',\n ldquor: '„',\n ldrdhar: '⥧',\n ldrushar: '⥋',\n ldsh: '↲',\n le: '≤',\n leftarrow: '←',\n leftarrowtail: '↢',\n leftharpoondown: '↽',\n leftharpoonup: '↼',\n leftleftarrows: '⇇',\n leftrightarrow: '↔',\n leftrightarrows: '⇆',\n leftrightharpoons: '⇋',\n leftrightsquigarrow: '↭',\n leftthreetimes: '⋋',\n leg: '⋚',\n leq: '≤',\n leqq: '≦',\n leqslant: '⩽',\n les: '⩽',\n lescc: '⪨',\n lesdot: '⩿',\n lesdoto: '⪁',\n lesdotor: '⪃',\n lesg: '⋚︀',\n lesges: '⪓',\n lessapprox: '⪅',\n lessdot: '⋖',\n lesseqgtr: '⋚',\n lesseqqgtr: '⪋',\n lessgtr: '≶',\n lesssim: '≲',\n lfisht: '⥼',\n lfloor: '⌊',\n lfr: '𝔩',\n lg: '≶',\n lgE: '⪑',\n lhard: '↽',\n lharu: '↼',\n lharul: '⥪',\n lhblk: '▄',\n ljcy: 'љ',\n ll: '≪',\n llarr: '⇇',\n llcorner: '⌞',\n llhard: '⥫',\n lltri: '◺',\n lmidot: 'ŀ',\n lmoust: '⎰',\n lmoustache: '⎰',\n lnE: '≨',\n lnap: '⪉',\n lnapprox: '⪉',\n lne: '⪇',\n lneq: '⪇',\n lneqq: '≨',\n lnsim: '⋦',\n loang: '⟬',\n loarr: '⇽',\n lobrk: '⟦',\n longleftarrow: '⟵',\n longleftrightarrow: '⟷',\n longmapsto: '⟼',\n longrightarrow: '⟶',\n looparrowleft: '↫',\n looparrowright: '↬',\n lopar: '⦅',\n lopf: '𝕝',\n loplus: '⨭',\n lotimes: '⨴',\n lowast: '∗',\n lowbar: '_',\n loz: '◊',\n lozenge: '◊',\n lozf: '⧫',\n lpar: '(',\n lparlt: '⦓',\n lrarr: '⇆',\n lrcorner: '⌟',\n lrhar: '⇋',\n lrhard: '⥭',\n lrm: '',\n lrtri: '⊿',\n lsaquo: '‹',\n lscr: '𝓁',\n lsh: '↰',\n lsim: '≲',\n lsime: '⪍',\n lsimg: '⪏',\n lsqb: '[',\n lsquo: '‘',\n lsquor: '‚',\n lstrok: 'ł',\n lt: '<',\n ltcc: '⪦',\n ltcir: '⩹',\n ltdot: '⋖',\n lthree: '⋋',\n ltimes: '⋉',\n ltlarr: '⥶',\n ltquest: '⩻',\n ltrPar: '⦖',\n ltri: '◃',\n ltrie: '⊴',\n ltrif: '◂',\n lurdshar: '⥊',\n luruhar: '⥦',\n lvertneqq: '≨︀',\n lvnE: '≨︀',\n mDDot: '∺',\n macr: '¯',\n male: '♂',\n malt: '✠',\n maltese: '✠',\n map: '↦',\n mapsto: '↦',\n mapstodown: '↧',\n mapstoleft: '↤',\n mapstoup: '↥',\n marker: '▮',\n mcomma: '⨩',\n mcy: 'м',\n mdash: '—',\n measuredangle: '∡',\n mfr: '𝔪',\n mho: '℧',\n micro: 'µ',\n mid: '∣',\n midast: '*',\n midcir: '⫰',\n middot: '·',\n minus: '−',\n minusb: '⊟',\n minusd: '∸',\n minusdu: '⨪',\n mlcp: '⫛',\n mldr: '…',\n mnplus: '∓',\n models: '⊧',\n mopf: '𝕞',\n mp: '∓',\n mscr: '𝓂',\n mstpos: '∾',\n mu: 'μ',\n multimap: '⊸',\n mumap: '⊸',\n nGg: '⋙̸',\n nGt: '≫⃒',\n nGtv: '≫̸',\n nLeftarrow: '⇍',\n nLeftrightarrow: '⇎',\n nLl: '⋘̸',\n nLt: '≪⃒',\n nLtv: '≪̸',\n nRightarrow: '⇏',\n nVDash: '⊯',\n nVdash: '⊮',\n nabla: '∇',\n nacute: 'ń',\n nang: '∠⃒',\n nap: '≉',\n napE: '⩰̸',\n napid: '≋̸',\n napos: 'ʼn',\n napprox: '≉',\n natur: '♮',\n natural: '♮',\n naturals: 'ℕ',\n nbsp: ' ',\n nbump: '≎̸',\n nbumpe: '≏̸',\n ncap: '⩃',\n ncaron: 'ň',\n ncedil: 'ņ',\n ncong: '≇',\n ncongdot: '⩭̸',\n ncup: '⩂',\n ncy: 'н',\n ndash: '–',\n ne: '≠',\n neArr: '⇗',\n nearhk: '⤤',\n nearr: '↗',\n nearrow: '↗',\n nedot: '≐̸',\n nequiv: '≢',\n nesear: '⤨',\n nesim: '≂̸',\n nexist: '∄',\n nexists: '∄',\n nfr: '𝔫',\n ngE: '≧̸',\n nge: '≱',\n ngeq: '≱',\n ngeqq: '≧̸',\n ngeqslant: '⩾̸',\n nges: '⩾̸',\n ngsim: '≵',\n ngt: '≯',\n ngtr: '≯',\n nhArr: '⇎',\n nharr: '↮',\n nhpar: '⫲',\n ni: '∋',\n nis: '⋼',\n nisd: '⋺',\n niv: '∋',\n njcy: 'њ',\n nlArr: '⇍',\n nlE: '≦̸',\n nlarr: '↚',\n nldr: '‥',\n nle: '≰',\n nleftarrow: '↚',\n nleftrightarrow: '↮',\n nleq: '≰',\n nleqq: '≦̸',\n nleqslant: '⩽̸',\n nles: '⩽̸',\n nless: '≮',\n nlsim: '≴',\n nlt: '≮',\n nltri: '⋪',\n nltrie: '⋬',\n nmid: '∤',\n nopf: '𝕟',\n not: '¬',\n notin: '∉',\n notinE: '⋹̸',\n notindot: '⋵̸',\n notinva: '∉',\n notinvb: '⋷',\n notinvc: '⋶',\n notni: '∌',\n notniva: '∌',\n notnivb: '⋾',\n notnivc: '⋽',\n npar: '∦',\n nparallel: '∦',\n nparsl: '⫽⃥',\n npart: '∂̸',\n npolint: '⨔',\n npr: '⊀',\n nprcue: '⋠',\n npre: '⪯̸',\n nprec: '⊀',\n npreceq: '⪯̸',\n nrArr: '⇏',\n nrarr: '↛',\n nrarrc: '⤳̸',\n nrarrw: '↝̸',\n nrightarrow: '↛',\n nrtri: '⋫',\n nrtrie: '⋭',\n nsc: '⊁',\n nsccue: '⋡',\n nsce: '⪰̸',\n nscr: '𝓃',\n nshortmid: '∤',\n nshortparallel: '∦',\n nsim: '≁',\n nsime: '≄',\n nsimeq: '≄',\n nsmid: '∤',\n nspar: '∦',\n nsqsube: '⋢',\n nsqsupe: '⋣',\n nsub: '⊄',\n nsubE: '⫅̸',\n nsube: '⊈',\n nsubset: '⊂⃒',\n nsubseteq: '⊈',\n nsubseteqq: '⫅̸',\n nsucc: '⊁',\n nsucceq: '⪰̸',\n nsup: '⊅',\n nsupE: '⫆̸',\n nsupe: '⊉',\n nsupset: '⊃⃒',\n nsupseteq: '⊉',\n nsupseteqq: '⫆̸',\n ntgl: '≹',\n ntilde: 'ñ',\n ntlg: '≸',\n ntriangleleft: '⋪',\n ntrianglelefteq: '⋬',\n ntriangleright: '⋫',\n ntrianglerighteq: '⋭',\n nu: 'ν',\n num: '#',\n numero: '№',\n numsp: ' ',\n nvDash: '⊭',\n nvHarr: '⤄',\n nvap: '≍⃒',\n nvdash: '⊬',\n nvge: '≥⃒',\n nvgt: '>⃒',\n nvinfin: '⧞',\n nvlArr: '⤂',\n nvle: '≤⃒',\n nvlt: '<⃒',\n nvltrie: '⊴⃒',\n nvrArr: '⤃',\n nvrtrie: '⊵⃒',\n nvsim: '∼⃒',\n nwArr: '⇖',\n nwarhk: '⤣',\n nwarr: '↖',\n nwarrow: '↖',\n nwnear: '⤧',\n oS: 'Ⓢ',\n oacute: 'ó',\n oast: '⊛',\n ocir: '⊚',\n ocirc: 'ô',\n ocy: 'о',\n odash: '⊝',\n odblac: 'ő',\n odiv: '⨸',\n odot: '⊙',\n odsold: '⦼',\n oelig: 'œ',\n ofcir: '⦿',\n ofr: '𝔬',\n ogon: '˛',\n ograve: 'ò',\n ogt: '⧁',\n ohbar: '⦵',\n ohm: 'Ω',\n oint: '∮',\n olarr: '↺',\n olcir: '⦾',\n olcross: '⦻',\n oline: '‾',\n olt: '⧀',\n omacr: 'ō',\n omega: 'ω',\n omicron: 'ο',\n omid: '⦶',\n ominus: '⊖',\n oopf: '𝕠',\n opar: '⦷',\n operp: '⦹',\n oplus: '⊕',\n or: '∨',\n orarr: '↻',\n ord: '⩝',\n order: 'ℴ',\n orderof: 'ℴ',\n ordf: 'ª',\n ordm: 'º',\n origof: '⊶',\n oror: '⩖',\n orslope: '⩗',\n orv: '⩛',\n oscr: 'ℴ',\n oslash: 'ø',\n osol: '⊘',\n otilde: 'õ',\n otimes: '⊗',\n otimesas: '⨶',\n ouml: 'ö',\n ovbar: '⌽',\n par: '∥',\n para: '¶',\n parallel: '∥',\n parsim: '⫳',\n parsl: '⫽',\n part: '∂',\n pcy: 'п',\n percnt: '%',\n period: '.',\n permil: '‰',\n perp: '⊥',\n pertenk: '‱',\n pfr: '𝔭',\n phi: 'φ',\n phiv: 'ϕ',\n phmmat: 'ℳ',\n phone: '☎',\n pi: 'π',\n pitchfork: '⋔',\n piv: 'ϖ',\n planck: 'ℏ',\n planckh: 'ℎ',\n plankv: 'ℏ',\n plus: '+',\n plusacir: '⨣',\n plusb: '⊞',\n pluscir: '⨢',\n plusdo: '∔',\n plusdu: '⨥',\n pluse: '⩲',\n plusmn: '±',\n plussim: '⨦',\n plustwo: '⨧',\n pm: '±',\n pointint: '⨕',\n popf: '𝕡',\n pound: '£',\n pr: '≺',\n prE: '⪳',\n prap: '⪷',\n prcue: '≼',\n pre: '⪯',\n prec: '≺',\n precapprox: '⪷',\n preccurlyeq: '≼',\n preceq: '⪯',\n precnapprox: '⪹',\n precneqq: '⪵',\n precnsim: '⋨',\n precsim: '≾',\n prime: '′',\n primes: 'ℙ',\n prnE: '⪵',\n prnap: '⪹',\n prnsim: '⋨',\n prod: '∏',\n profalar: '⌮',\n profline: '⌒',\n profsurf: '⌓',\n prop: '∝',\n propto: '∝',\n prsim: '≾',\n prurel: '⊰',\n pscr: '𝓅',\n psi: 'ψ',\n puncsp: ' ',\n qfr: '𝔮',\n qint: '⨌',\n qopf: '𝕢',\n qprime: '⁗',\n qscr: '𝓆',\n quaternions: 'ℍ',\n quatint: '⨖',\n quest: '?',\n questeq: '≟',\n quot: '\"',\n rAarr: '⇛',\n rArr: '⇒',\n rAtail: '⤜',\n rBarr: '⤏',\n rHar: '⥤',\n race: '∽̱',\n racute: 'ŕ',\n radic: '√',\n raemptyv: '⦳',\n rang: '⟩',\n rangd: '⦒',\n range: '⦥',\n rangle: '⟩',\n raquo: '»',\n rarr: '→',\n rarrap: '⥵',\n rarrb: '⇥',\n rarrbfs: '⤠',\n rarrc: '⤳',\n rarrfs: '⤞',\n rarrhk: '↪',\n rarrlp: '↬',\n rarrpl: '⥅',\n rarrsim: '⥴',\n rarrtl: '↣',\n rarrw: '↝',\n ratail: '⤚',\n ratio: '∶',\n rationals: 'ℚ',\n rbarr: '⤍',\n rbbrk: '❳',\n rbrace: '}',\n rbrack: ']',\n rbrke: '⦌',\n rbrksld: '⦎',\n rbrkslu: '⦐',\n rcaron: 'ř',\n rcedil: 'ŗ',\n rceil: '⌉',\n rcub: '}',\n rcy: 'р',\n rdca: '⤷',\n rdldhar: '⥩',\n rdquo: '”',\n rdquor: '”',\n rdsh: '↳',\n real: 'ℜ',\n realine: 'ℛ',\n realpart: 'ℜ',\n reals: 'ℝ',\n rect: '▭',\n reg: '®',\n rfisht: '⥽',\n rfloor: '⌋',\n rfr: '𝔯',\n rhard: '⇁',\n rharu: '⇀',\n rharul: '⥬',\n rho: 'ρ',\n rhov: 'ϱ',\n rightarrow: '→',\n rightarrowtail: '↣',\n rightharpoondown: '⇁',\n rightharpoonup: '⇀',\n rightleftarrows: '⇄',\n rightleftharpoons: '⇌',\n rightrightarrows: '⇉',\n rightsquigarrow: '↝',\n rightthreetimes: '⋌',\n ring: '˚',\n risingdotseq: '≓',\n rlarr: '⇄',\n rlhar: '⇌',\n rlm: '',\n rmoust: '⎱',\n rmoustache: '⎱',\n rnmid: '⫮',\n roang: '⟭',\n roarr: '⇾',\n robrk: '⟧',\n ropar: '⦆',\n ropf: '𝕣',\n roplus: '⨮',\n rotimes: '⨵',\n rpar: ')',\n rpargt: '⦔',\n rppolint: '⨒',\n rrarr: '⇉',\n rsaquo: '›',\n rscr: '𝓇',\n rsh: '↱',\n rsqb: ']',\n rsquo: '’',\n rsquor: '’',\n rthree: '⋌',\n rtimes: '⋊',\n rtri: '▹',\n rtrie: '⊵',\n rtrif: '▸',\n rtriltri: '⧎',\n ruluhar: '⥨',\n rx: '℞',\n sacute: 'ś',\n sbquo: '‚',\n sc: '≻',\n scE: '⪴',\n scap: '⪸',\n scaron: 'š',\n sccue: '≽',\n sce: '⪰',\n scedil: 'ş',\n scirc: 'ŝ',\n scnE: '⪶',\n scnap: '⪺',\n scnsim: '⋩',\n scpolint: '⨓',\n scsim: '≿',\n scy: 'с',\n sdot: '⋅',\n sdotb: '⊡',\n sdote: '⩦',\n seArr: '⇘',\n searhk: '⤥',\n searr: '↘',\n searrow: '↘',\n sect: '§',\n semi: ';',\n seswar: '⤩',\n setminus: '∖',\n setmn: '∖',\n sext: '✶',\n sfr: '𝔰',\n sfrown: '⌢',\n sharp: '♯',\n shchcy: 'щ',\n shcy: 'ш',\n shortmid: '∣',\n shortparallel: '∥',\n shy: '',\n sigma: 'σ',\n sigmaf: 'ς',\n sigmav: 'ς',\n sim: '∼',\n simdot: '⩪',\n sime: '≃',\n simeq: '≃',\n simg: '⪞',\n simgE: '⪠',\n siml: '⪝',\n simlE: '⪟',\n simne: '≆',\n simplus: '⨤',\n simrarr: '⥲',\n slarr: '←',\n smallsetminus: '∖',\n smashp: '⨳',\n smeparsl: '⧤',\n smid: '∣',\n smile: '⌣',\n smt: '⪪',\n smte: '⪬',\n smtes: '⪬︀',\n softcy: 'ь',\n sol: '/',\n solb: '⧄',\n solbar: '⌿',\n sopf: '𝕤',\n spades: '♠',\n spadesuit: '♠',\n spar: '∥',\n sqcap: '⊓',\n sqcaps: '⊓︀',\n sqcup: '⊔',\n sqcups: '⊔︀',\n sqsub: '⊏',\n sqsube: '⊑',\n sqsubset: '⊏',\n sqsubseteq: '⊑',\n sqsup: '⊐',\n sqsupe: '⊒',\n sqsupset: '⊐',\n sqsupseteq: '⊒',\n squ: '□',\n square: '□',\n squarf: '▪',\n squf: '▪',\n srarr: '→',\n sscr: '𝓈',\n ssetmn: '∖',\n ssmile: '⌣',\n sstarf: '⋆',\n star: '☆',\n starf: '★',\n straightepsilon: 'ϵ',\n straightphi: 'ϕ',\n strns: '¯',\n sub: '⊂',\n subE: '⫅',\n subdot: '⪽',\n sube: '⊆',\n subedot: '⫃',\n submult: '⫁',\n subnE: '⫋',\n subne: '⊊',\n subplus: '⪿',\n subrarr: '⥹',\n subset: '⊂',\n subseteq: '⊆',\n subseteqq: '⫅',\n subsetneq: '⊊',\n subsetneqq: '⫋',\n subsim: '⫇',\n subsub: '⫕',\n subsup: '⫓',\n succ: '≻',\n succapprox: '⪸',\n succcurlyeq: '≽',\n succeq: '⪰',\n succnapprox: '⪺',\n succneqq: '⪶',\n succnsim: '⋩',\n succsim: '≿',\n sum: '∑',\n sung: '♪',\n sup1: '¹',\n sup2: '²',\n sup3: '³',\n sup: '⊃',\n supE: '⫆',\n supdot: '⪾',\n supdsub: '⫘',\n supe: '⊇',\n supedot: '⫄',\n suphsol: '⟉',\n suphsub: '⫗',\n suplarr: '⥻',\n supmult: '⫂',\n supnE: '⫌',\n supne: '⊋',\n supplus: '⫀',\n supset: '⊃',\n supseteq: '⊇',\n supseteqq: '⫆',\n supsetneq: '⊋',\n supsetneqq: '⫌',\n supsim: '⫈',\n supsub: '⫔',\n supsup: '⫖',\n swArr: '⇙',\n swarhk: '⤦',\n swarr: '↙',\n swarrow: '↙',\n swnwar: '⤪',\n szlig: 'ß',\n target: '⌖',\n tau: 'τ',\n tbrk: '⎴',\n tcaron: 'ť',\n tcedil: 'ţ',\n tcy: 'т',\n tdot: '⃛',\n telrec: '⌕',\n tfr: '𝔱',\n there4: '∴',\n therefore: '∴',\n theta: 'θ',\n thetasym: 'ϑ',\n thetav: 'ϑ',\n thickapprox: '≈',\n thicksim: '∼',\n thinsp: ' ',\n thkap: '≈',\n thksim: '∼',\n thorn: 'þ',\n tilde: '˜',\n times: '×',\n timesb: '⊠',\n timesbar: '⨱',\n timesd: '⨰',\n tint: '∭',\n toea: '⤨',\n top: '⊤',\n topbot: '⌶',\n topcir: '⫱',\n topf: '𝕥',\n topfork: '⫚',\n tosa: '⤩',\n tprime: '‴',\n trade: '™',\n triangle: '▵',\n triangledown: '▿',\n triangleleft: '◃',\n trianglelefteq: '⊴',\n triangleq: '≜',\n triangleright: '▹',\n trianglerighteq: '⊵',\n tridot: '◬',\n trie: '≜',\n triminus: '⨺',\n triplus: '⨹',\n trisb: '⧍',\n tritime: '⨻',\n trpezium: '⏢',\n tscr: '𝓉',\n tscy: 'ц',\n tshcy: 'ћ',\n tstrok: 'ŧ',\n twixt: '≬',\n twoheadleftarrow: '↞',\n twoheadrightarrow: '↠',\n uArr: '⇑',\n uHar: '⥣',\n uacute: 'ú',\n uarr: '↑',\n ubrcy: 'ў',\n ubreve: 'ŭ',\n ucirc: 'û',\n ucy: 'у',\n udarr: '⇅',\n udblac: 'ű',\n udhar: '⥮',\n ufisht: '⥾',\n ufr: '𝔲',\n ugrave: 'ù',\n uharl: '↿',\n uharr: '↾',\n uhblk: '▀',\n ulcorn: '⌜',\n ulcorner: '⌜',\n ulcrop: '⌏',\n ultri: '◸',\n umacr: 'ū',\n uml: '¨',\n uogon: 'ų',\n uopf: '𝕦',\n uparrow: '↑',\n updownarrow: '↕',\n upharpoonleft: '↿',\n upharpoonright: '↾',\n uplus: '⊎',\n upsi: 'υ',\n upsih: 'ϒ',\n upsilon: 'υ',\n upuparrows: '⇈',\n urcorn: '⌝',\n urcorner: '⌝',\n urcrop: '⌎',\n uring: 'ů',\n urtri: '◹',\n uscr: '𝓊',\n utdot: '⋰',\n utilde: 'ũ',\n utri: '▵',\n utrif: '▴',\n uuarr: '⇈',\n uuml: 'ü',\n uwangle: '⦧',\n vArr: '⇕',\n vBar: '⫨',\n vBarv: '⫩',\n vDash: '⊨',\n vangrt: '⦜',\n varepsilon: 'ϵ',\n varkappa: 'ϰ',\n varnothing: '∅',\n varphi: 'ϕ',\n varpi: 'ϖ',\n varpropto: '∝',\n varr: '↕',\n varrho: 'ϱ',\n varsigma: 'ς',\n varsubsetneq: '⊊︀',\n varsubsetneqq: '⫋︀',\n varsupsetneq: '⊋︀',\n varsupsetneqq: '⫌︀',\n vartheta: 'ϑ',\n vartriangleleft: '⊲',\n vartriangleright: '⊳',\n vcy: 'в',\n vdash: '⊢',\n vee: '∨',\n veebar: '⊻',\n veeeq: '≚',\n vellip: '⋮',\n verbar: '|',\n vert: '|',\n vfr: '𝔳',\n vltri: '⊲',\n vnsub: '⊂⃒',\n vnsup: '⊃⃒',\n vopf: '𝕧',\n vprop: '∝',\n vrtri: '⊳',\n vscr: '𝓋',\n vsubnE: '⫋︀',\n vsubne: '⊊︀',\n vsupnE: '⫌︀',\n vsupne: '⊋︀',\n vzigzag: '⦚',\n wcirc: 'ŵ',\n wedbar: '⩟',\n wedge: '∧',\n wedgeq: '≙',\n weierp: '℘',\n wfr: '𝔴',\n wopf: '𝕨',\n wp: '℘',\n wr: '≀',\n wreath: '≀',\n wscr: '𝓌',\n xcap: '⋂',\n xcirc: '◯',\n xcup: '⋃',\n xdtri: '▽',\n xfr: '𝔵',\n xhArr: '⟺',\n xharr: '⟷',\n xi: 'ξ',\n xlArr: '⟸',\n xlarr: '⟵',\n xmap: '⟼',\n xnis: '⋻',\n xodot: '⨀',\n xopf: '𝕩',\n xoplus: '⨁',\n xotime: '⨂',\n xrArr: '⟹',\n xrarr: '⟶',\n xscr: '𝓍',\n xsqcup: '⨆',\n xuplus: '⨄',\n xutri: '△',\n xvee: '⋁',\n xwedge: '⋀',\n yacute: 'ý',\n yacy: 'я',\n ycirc: 'ŷ',\n ycy: 'ы',\n yen: '¥',\n yfr: '𝔶',\n yicy: 'ї',\n yopf: '𝕪',\n yscr: '𝓎',\n yucy: 'ю',\n yuml: 'ÿ',\n zacute: 'ź',\n zcaron: 'ž',\n zcy: 'з',\n zdot: 'ż',\n zeetrf: 'ℨ',\n zeta: 'ζ',\n zfr: '𝔷',\n zhcy: 'ж',\n zigrarr: '⇝',\n zopf: '𝕫',\n zscr: '𝓏',\n zwj: '',\n zwnj: ''\n}\n","import {characterEntities} from 'character-entities'\n\n// To do: next major: use `Object.hasOwn`.\nconst own = {}.hasOwnProperty\n\n/**\n * Decode a single character reference (without the `&` or `;`).\n * You probably only need this when you’re building parsers yourself that follow\n * different rules compared to HTML.\n * This is optimized to be tiny in browsers.\n *\n * @param {string} value\n * `notin` (named), `#123` (deci), `#x123` (hexa).\n * @returns {string|false}\n * Decoded reference.\n */\nexport function decodeNamedCharacterReference(value) {\n return own.call(characterEntities, value) ? characterEntities[value] : false\n}\n","/**\n * Turn the number (in string form as either hexa- or plain decimal) coming from\n * a numeric character reference into a character.\n *\n * Sort of like `String.fromCodePoint(Number.parseInt(value, base))`, but makes\n * non-characters and control characters safe.\n *\n * @param {string} value\n * Value to decode.\n * @param {number} base\n * Numeric base.\n * @returns {string}\n * Character.\n */\nexport function decodeNumericCharacterReference(value, base) {\n const code = Number.parseInt(value, base);\n if (\n // C0 except for HT, LF, FF, CR, space.\n code < 9 || code === 11 || code > 13 && code < 32 ||\n // Control character (DEL) of C0, and C1 controls.\n code > 126 && code < 160 ||\n // Lone high surrogates and low surrogates.\n code > 55_295 && code < 57_344 ||\n // Noncharacters.\n code > 64_975 && code < 65_008 || /* eslint-disable no-bitwise */\n (code & 65_535) === 65_535 || (code & 65_535) === 65_534 || /* eslint-enable no-bitwise */\n // Out of range\n code > 1_114_111) {\n return \"\\uFFFD\";\n }\n return String.fromCodePoint(code);\n}","import { decodeNamedCharacterReference } from 'decode-named-character-reference';\nimport { decodeNumericCharacterReference } from 'micromark-util-decode-numeric-character-reference';\nconst characterEscapeOrReference = /\\\\([!-/:-@[-`{-~])|&(#(?:\\d{1,7}|x[\\da-f]{1,6})|[\\da-z]{1,31});/gi;\n\n/**\n * Decode markdown strings (which occur in places such as fenced code info\n * strings, destinations, labels, and titles).\n *\n * The “string” content type allows character escapes and -references.\n * This decodes those.\n *\n * @param {string} value\n * Value to decode.\n * @returns {string}\n * Decoded value.\n */\nexport function decodeString(value) {\n return value.replace(characterEscapeOrReference, decode);\n}\n\n/**\n * @param {string} $0\n * Match.\n * @param {string} $1\n * Character escape.\n * @param {string} $2\n * Character reference.\n * @returns {string}\n * Decoded value\n */\nfunction decode($0, $1, $2) {\n if ($1) {\n // Escape.\n return $1;\n }\n\n // Reference.\n const head = $2.charCodeAt(0);\n if (head === 35) {\n const head = $2.charCodeAt(1);\n const hex = head === 120 || head === 88;\n return decodeNumericCharacterReference($2.slice(hex ? 2 : 1), hex ? 16 : 10);\n }\n return decodeNamedCharacterReference($2) || $0;\n}","/**\n * Normalize an identifier (as found in references, definitions).\n *\n * Collapses markdown whitespace, trim, and then lower- and uppercase.\n *\n * Some characters are considered “uppercase”, such as U+03F4 (`ϴ`), but if their\n * lowercase counterpart (U+03B8 (`θ`)) is uppercased will result in a different\n * uppercase character (U+0398 (`Θ`)).\n * So, to get a canonical form, we perform both lower- and uppercase.\n *\n * Using uppercase last makes sure keys will never interact with default\n * prototypal values (such as `constructor`): nothing in the prototype of\n * `Object` is uppercase.\n *\n * @param {string} value\n * Identifier to normalize.\n * @returns {string}\n * Normalized identifier.\n */\nexport function normalizeIdentifier(value) {\n return value\n // Collapse markdown whitespace.\n .replace(/[\\t\\n\\r ]+/g, \" \")\n // Trim.\n .replace(/^ | $/g, '')\n // Some characters are considered “uppercase”, but if their lowercase\n // counterpart is uppercased will result in a different uppercase\n // character.\n // Hence, to get that form, we perform both lower- and uppercase.\n // Upper case makes sure keys will not interact with default prototypal\n // methods: no method is uppercase.\n .toLowerCase().toUpperCase();\n}","/**\n * @import {Node, Parent} from 'unist'\n */\n\n/**\n * @template Fn\n * @template Fallback\n * @typedef {Fn extends (value: any) => value is infer Thing ? Thing : Fallback} Predicate\n */\n\n/**\n * @callback Check\n * Check that an arbitrary value is a node.\n * @param {unknown} this\n * The given context.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean}\n * Whether this is a node and passes a test.\n *\n * @typedef {Record<string, unknown> | Node} Props\n * Object to check for equivalence.\n *\n * Note: `Node` is included as it is common but is not indexable.\n *\n * @typedef {Array<Props | TestFunction | string> | ReadonlyArray<Props | TestFunction | string> | Props | TestFunction | string | null | undefined} Test\n * Check for an arbitrary node.\n *\n * @callback TestFunction\n * Check if a node passes a test.\n * @param {unknown} this\n * The given context.\n * @param {Node} node\n * A node.\n * @param {number | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | undefined} [parent]\n * The node’s parent.\n * @returns {boolean | undefined | void}\n * Whether this node passes the test.\n *\n * Note: `void` is included until TS sees no return as `undefined`.\n */\n\n/**\n * Check if `node` is a `Node` and whether it passes the given test.\n *\n * @param {unknown} node\n * Thing to check, typically `Node`.\n * @param {Test} test\n * A check for a specific node.\n * @param {number | null | undefined} index\n * The node’s position in its parent.\n * @param {Parent | null | undefined} parent\n * The node’s parent.\n * @param {unknown} context\n * Context object (`this`) to pass to `test` functions.\n * @returns {boolean}\n * Whether `node` is a node and passes a test.\n */\nexport const is =\n // Note: overloads in JSDoc can’t yet use different `@template`s.\n /**\n * @type {(\n * (<Condition extends ReadonlyArray<string>>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition[number]}) &\n * (<Condition extends Array<string>>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition[number]}) &\n * (<Condition extends string>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &\n * (<Condition extends Props>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &\n * (<Condition extends TestFunction>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &\n * ((node?: null | undefined) => false) &\n * ((node: unknown, test?: null | undefined, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &\n * ((node: unknown, test?: Test, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => boolean)\n * )}\n */\n (\n /**\n * @param {unknown} [node]\n * @param {Test} [test]\n * @param {number | null | undefined} [index]\n * @param {Parent | null | undefined} [parent]\n * @param {unknown} [context]\n * @returns {boolean}\n */\n // eslint-disable-next-line max-params\n function (node, test, index, parent, context) {\n const check = convert(test)\n\n if (\n index !== undefined &&\n index !== null &&\n (typeof index !== 'number' ||\n index < 0 ||\n index === Number.POSITIVE_INFINITY)\n ) {\n throw new Error('Expected positive finite index')\n }\n\n if (\n parent !== undefined &&\n parent !== null &&\n (!is(parent) || !parent.children)\n ) {\n throw new Error('Expected parent node')\n }\n\n if (\n (parent === undefined || parent === null) !==\n (index === undefined || index === null)\n ) {\n throw new Error('Expected both parent and index')\n }\n\n return looksLikeANode(node)\n ? check.call(context, node, index, parent)\n : false\n }\n )\n\n/**\n * Generate an assertion from a test.\n *\n * Useful if you’re going to test many nodes, for example when creating a\n * utility where something else passes a compatible test.\n *\n * The created function is a bit faster because it expects valid input only:\n * a `node`, `index`, and `parent`.\n *\n * @param {Test} test\n * * when nullish, checks if `node` is a `Node`.\n * * when `string`, works like passing `(node) => node.type === test`.\n * * when `function` checks if function passed the node is true.\n * * when `object`, checks that all keys in test are in node, and that they have (strictly) equal values.\n * * when `array`, checks if any one of the subtests pass.\n * @returns {Check}\n * An assertion.\n */\nexport const convert =\n // Note: overloads in JSDoc can’t yet use different `@template`s.\n /**\n * @type {(\n * (<Condition extends string>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &\n * (<Condition extends Props>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &\n * (<Condition extends TestFunction>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &\n * ((test?: null | undefined) => (node?: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &\n * ((test?: Test) => Check)\n * )}\n */\n (\n /**\n * @param {Test} [test]\n * @returns {Check}\n */\n function (test) {\n if (test === null || test === undefined) {\n return ok\n }\n\n if (typeof test === 'function') {\n return castFactory(test)\n }\n\n if (typeof test === 'object') {\n return Array.isArray(test)\n ? anyFactory(test)\n : // Cast because `ReadonlyArray` goes into the above but `isArray`\n // narrows to `Array`.\n propertiesFactory(/** @type {Props} */ (test))\n }\n\n if (typeof test === 'string') {\n return typeFactory(test)\n }\n\n throw new Error('Expected function, string, or object as test')\n }\n )\n\n/**\n * @param {Array<Props | TestFunction | string>} tests\n * @returns {Check}\n */\nfunction anyFactory(tests) {\n /** @type {Array<Check>} */\n const checks = []\n let index = -1\n\n while (++index < tests.length) {\n checks[index] = convert(tests[index])\n }\n\n return castFactory(any)\n\n /**\n * @this {unknown}\n * @type {TestFunction}\n */\n function any(...parameters) {\n let index = -1\n\n while (++index < checks.length) {\n if (checks[index].apply(this, parameters)) return true\n }\n\n return false\n }\n}\n\n/**\n * Turn an object into a test for a node with a certain fields.\n *\n * @param {Props} check\n * @returns {Check}\n */\nfunction propertiesFactory(check) {\n const checkAsRecord = /** @type {Record<string, unknown>} */ (check)\n\n return castFactory(all)\n\n /**\n * @param {Node} node\n * @returns {boolean}\n */\n function all(node) {\n const nodeAsRecord = /** @type {Record<string, unknown>} */ (\n /** @type {unknown} */ (node)\n )\n\n /** @type {string} */\n let key\n\n for (key in check) {\n if (nodeAsRecord[key] !== checkAsRecord[key]) return false\n }\n\n return true\n }\n}\n\n/**\n * Turn a string into a test for a node with a certain type.\n *\n * @param {string} check\n * @returns {Check}\n */\nfunction typeFactory(check) {\n return castFactory(type)\n\n /**\n * @param {Node} node\n */\n function type(node) {\n return node && node.type === check\n }\n}\n\n/**\n * Turn a custom test into a test for a node that passes that test.\n *\n * @param {TestFunction} testFunction\n * @returns {Check}\n */\nfunction castFactory(testFunction) {\n return check\n\n /**\n * @this {unknown}\n * @type {Check}\n */\n function check(value, index, parent) {\n return Boolean(\n looksLikeANode(value) &&\n testFunction.call(\n this,\n value,\n typeof index === 'number' ? index : undefined,\n parent || undefined\n )\n )\n }\n}\n\nfunction ok() {\n return true\n}\n\n/**\n * @param {unknown} value\n * @returns {value is Node}\n */\nfunction looksLikeANode(value) {\n return value !== null && typeof value === 'object' && 'type' in value\n}\n","/**\n * @param {string} d\n * @returns {string}\n */\nexport function color(d) {\n return '\\u001B[33m' + d + '\\u001B[39m'\n}\n","/**\n * @import {Node as UnistNode, Parent as UnistParent} from 'unist'\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends ReadonlyArray<infer T>\n * ? MatchesOne<Value, T>\n * : Check extends Array<infer T>\n * ? MatchesOne<Value, T>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {InternalAncestor<InclusiveDescendant<Tree>, Child>} Ancestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {'skip' | boolean} Action\n * Union of the action types.\n *\n * @typedef {number} Index\n * Move to the sibling at `index` next (after node itself is completely\n * traversed).\n *\n * Useful if mutating the tree, such as removing the node the visitor is\n * currently on, or any of its previous siblings.\n * Results less than 0 or greater than or equal to `children.length` stop\n * traversing the parent.\n *\n * @typedef {[(Action | null | undefined | void)?, (Index | null | undefined)?]} ActionTuple\n * List with one or two values, the first an action, the second an index.\n *\n * @typedef {Action | ActionTuple | Index | null | undefined | void} VisitorResult\n * Any value that can be returned from a visitor.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform the parent of node (the last of `ancestors`).\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of an ancestor still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Array<VisitedParents>} ancestors\n * Ancestors of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [VisitedParents=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Matches<InclusiveDescendant<Tree>, Check>, Ancestor<Tree, Matches<InclusiveDescendant<Tree>, Check>>>} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parents`.\n * @template {UnistNode} [Tree=UnistNode]\n * Tree type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {convert} from 'unist-util-is'\nimport {color} from 'unist-util-visit-parents/do-not-use-color'\n\n/** @type {Readonly<ActionTuple>} */\nconst empty = []\n\n/**\n * Continue traversing as normal.\n */\nexport const CONTINUE = true\n\n/**\n * Stop traversing immediately.\n */\nexport const EXIT = false\n\n/**\n * Do not traverse this node’s children.\n */\nexport const SKIP = 'skip'\n\n/**\n * Visit nodes, with ancestral information.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} test\n * `unist-util-is`-compatible test\n * @param {Visitor | boolean | null | undefined} [visitor]\n * Handle each node.\n * @param {boolean | null | undefined} [reverse]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visitParents(tree, test, visitor, reverse) {\n /** @type {Test} */\n let check\n\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n // @ts-expect-error no visitor given, so `visitor` is test.\n visitor = test\n } else {\n // @ts-expect-error visitor given, so `test` isn’t a visitor.\n check = test\n }\n\n const is = convert(check)\n const step = reverse ? -1 : 1\n\n factory(tree, undefined, [])()\n\n /**\n * @param {UnistNode} node\n * @param {number | undefined} index\n * @param {Array<UnistParent>} parents\n */\n function factory(node, index, parents) {\n const value = /** @type {Record<string, unknown>} */ (\n node && typeof node === 'object' ? node : {}\n )\n\n if (typeof value.type === 'string') {\n const name =\n // `hast`\n typeof value.tagName === 'string'\n ? value.tagName\n : // `xast`\n typeof value.name === 'string'\n ? value.name\n : undefined\n\n Object.defineProperty(visit, 'name', {\n value:\n 'node (' + color(node.type + (name ? '<' + name + '>' : '')) + ')'\n })\n }\n\n return visit\n\n function visit() {\n /** @type {Readonly<ActionTuple>} */\n let result = empty\n /** @type {Readonly<ActionTuple>} */\n let subresult\n /** @type {number} */\n let offset\n /** @type {Array<UnistParent>} */\n let grandparents\n\n if (!test || is(node, index, parents[parents.length - 1] || undefined)) {\n // @ts-expect-error: `visitor` is now a visitor.\n result = toResult(visitor(node, parents))\n\n if (result[0] === EXIT) {\n return result\n }\n }\n\n if ('children' in node && node.children) {\n const nodeAsParent = /** @type {UnistParent} */ (node)\n\n if (nodeAsParent.children && result[0] !== SKIP) {\n offset = (reverse ? nodeAsParent.children.length : -1) + step\n grandparents = parents.concat(nodeAsParent)\n\n while (offset > -1 && offset < nodeAsParent.children.length) {\n const child = nodeAsParent.children[offset]\n\n subresult = factory(child, offset, grandparents)()\n\n if (subresult[0] === EXIT) {\n return subresult\n }\n\n offset =\n typeof subresult[1] === 'number' ? subresult[1] : offset + step\n }\n }\n }\n\n return result\n }\n }\n}\n\n/**\n * Turn a return value into a clean result.\n *\n * @param {VisitorResult} value\n * Valid return values from visitors.\n * @returns {Readonly<ActionTuple>}\n * Clean result.\n */\nfunction toResult(value) {\n if (Array.isArray(value)) {\n return value\n }\n\n if (typeof value === 'number') {\n return [CONTINUE, value]\n }\n\n return value === null || value === undefined ? empty : [value]\n}\n","import { convert, type Test } from \"unist-util-is\";\nimport type { visit as stockVisit } from \"unist-util-visit\";\nimport { visitParents, type VisitorResult } from \"unist-util-visit-parents\";\nimport type { Node, Parent } from \"unist\";\n\nexport { CONTINUE, EXIT, SKIP } from \"unist-util-visit-parents\";\n\ntype AnyVisitor = (\n node: Node,\n index: number | undefined,\n parent: Parent | undefined,\n) => VisitorResult;\n\n/**\n * `unist-util-visit`'s `visit`, but linear in a node's siblings.\n *\n * The stock function finds each visited node's index with `parent.children.indexOf(node)`, so a\n * paragraph of tens of thousands of inline nodes cost every pass that visits text a scan of the\n * paragraph per text: `\"*a* \".repeat(32000)` spent about 0.5 s in each of ten passes. Here the\n * index is the one `visitParents` reads the child at, handed over through the test it runs on\n * that same child just before the visitor. The two agree whenever a node sits in its parent's\n * children once, which every tree this package builds holds.\n */\nexport const visit = function (\n tree: Node,\n testOrVisitor: Test | AnyVisitor,\n visitorOrReverse?: AnyVisitor | boolean | null,\n maybeReverse?: boolean | null,\n): undefined {\n let test: Test;\n let visitor: AnyVisitor;\n let reverse: boolean | null | undefined;\n\n if (\n typeof testOrVisitor === \"function\" &&\n typeof visitorOrReverse !== \"function\"\n ) {\n test = undefined;\n visitor = testOrVisitor as AnyVisitor;\n reverse = visitorOrReverse;\n } else {\n test = testOrVisitor as Test;\n visitor = visitorOrReverse as AnyVisitor;\n reverse = maybeReverse;\n }\n\n const is = convert(test);\n let seat: number | undefined;\n\n visitParents(\n tree,\n (node: Node, index?: number, parent?: Parent) => {\n seat = index;\n return is(node, index, parent);\n },\n (node: Node, parents: Parent[]) =>\n visitor(node, seat, parents[parents.length - 1]),\n reverse,\n );\n} as typeof stockVisit;\n","import type { Root } from \"mdast\";\nimport type { Point } from \"unist\";\nimport { visit } from \"./visit.js\";\n\n/**\n * Count a leading byte order mark that was read past without being counted, so every offset\n * indexes the string the caller passed. Only the first line's columns move, and the root keeps\n * its start, since it is the whole string, as remark-parse 8 places it.\n *\n * Points are moved by identity. A tree can hold one point object in two places (an empty callout\n * title and the block on its line), and moving it once per holder lands it past the mark's width.\n */\nexport function countByteOrderMark(tree: Root): void {\n const moved = new Set<Point>();\n const move = (point: Point): void => {\n if (moved.has(point)) return;\n moved.add(point);\n if (point.offset !== undefined) point.offset += 1;\n if (point.line === 1) point.column += 1;\n };\n if (tree.position) {\n tree.position = {\n start: { ...tree.position.start },\n end: { ...tree.position.end },\n };\n move(tree.position.end);\n }\n visit(tree, (node) => {\n // A callout's marker and title-line end are points too (`data.marker`, `data.lineEnd`).\n const data = node.data as\n { marker?: { start: Point; end: Point }; lineEnd?: Point } | undefined;\n if (node.type === (\"callout\" as never) && data) {\n if (data.marker) {\n move(data.marker.start);\n move(data.marker.end);\n }\n if (data.lineEnd) move(data.lineEnd);\n }\n if (node === tree || !node.position) return;\n move(node.position.start);\n move(node.position.end);\n });\n // The mark stands in front of what the first line's containers took. A line none took stays\n // absent: the mark is no container.\n const offsets = tree.data?.lineOffsets as Record<number, number> | undefined;\n if (offsets?.[1] !== undefined) offsets[1] += 1;\n}\n","import type { Blockquote, Paragraph, Root, RootContent, Text } from \"mdast\";\nimport type { Node } from \"unist\";\nimport { visit } from \"./visit.js\";\nimport type { Callout } from \"./types.js\";\nimport { mapLines, shiftByMap } from \"./line-map.js\";\n\n/**\n * `[!type]`, an optional fold marker, then the end of the marker.\n *\n * Three details are measured rather than assumed, each against a recorded\n * case. The type may hold inner whitespace -- `> [! note]` is a callout and\n * reads \"Note\" -- but may not be empty, so `> [!]` is not one. The fold\n * marker must touch the bracket. And the marker must end the line or be\n * followed by a space or tab -- a titleless callout puts a newline there,\n * since the whole quote arrives as one text value: `> [!note]x` and `> [!note]-x` are both\n * ordinary quotes, which is why the title cannot simply start after `]`.\n */\n// `[^\\]\\n]` rather than `[^\\]]`: the type may not span a line ending. Allowing it\n// made `> [!n` / `note]` a callout of type `n\\nnote`, where Obsidian reads an\n// unclosed `[!` as ordinary prose and reports the text `[!n note]`.\n// `\\r` too: under `strict` a title-less `> [!note]` over a `\\r\\n` line ending formed no callout.\nexport const MARKER = /^\\[!([^\\]\\r\\n]+)\\]([-+]?)(?=[ \\t\\r\\n]|$)[ \\t]?/;\n\n/**\n * A marker binds to `>` plus at most one space. `> [!note]` is a quote, not\n * a callout, and by the time the tree exists that second space is gone --\n * the blockquote tokenizer ate one and the paragraph begins at the other --\n * so this has to be read off the source line.\n *\n * List markers count as container prefix too: `- > [!note] ...` is a callout\n * inside a list item, and anchoring on `>` alone missed it.\n */\nconst QUOTE_MARKER = /^[ \\t]{0,3}>/u;\nconst LIST_MARKER = /^[ \\t]{0,3}(?:[-*+]|\\d{1,9}[.)])[ \\t]+/u;\n/**\n * A footnote label too: `[^1]: > [!note] T` is a callout inside the definition, which Obsidian\n * renders in the footnote list (recorded, 1.15.0, 2026-11-08) and `legacy` builds. Under `strict`\n * the label's prefix failed this check and the callout stayed a plain quote.\n */\nconst LABEL_MARKER = /^[ \\t]{0,3}\\[\\^[^\\]\\s]+\\]:[ \\t]*/u;\nconst AT_MARKER = /^ ?\\[!/u;\n\n/**\n * Strip container markers one at a time rather than matching them all with a\n * single pattern. One alternation of \"whitespace then marker\", repeated, is\n * ambiguous about where each repetition begins, and the ReDoS gate rightly\n * called the first attempt exponential. Each pattern here is anchored and\n * bounded, and the loop is linear in the prefix.\n */\nexport function atMarkerColumn(line: string): boolean {\n let rest = line;\n for (;;) {\n const quote = QUOTE_MARKER.exec(rest);\n if (quote) {\n rest = rest.slice(quote[0].length);\n continue;\n }\n const list = LIST_MARKER.exec(rest) ?? LABEL_MARKER.exec(rest);\n if (!list) break;\n rest = rest.slice(list[0].length);\n }\n return AT_MARKER.test(rest);\n}\n\ninterface ParentNode extends Node {\n children: Node[];\n}\n\ninterface Point {\n line: number;\n column: number;\n offset?: number;\n}\n\ninterface Positioned extends Node {\n position?: { start: Point; end: Point };\n}\n\n/** The container prefix a callout's continuation lines carry. */\nconst LINE_PREFIX = /^[ \\t]*(?:>[ \\t]?)*/u;\n\n/**\n * Consuming text off the front of a node without moving its start leaves the\n * node claiming a span it no longer reproduces, which is what lets a formatter\n * splice by position and delete the part that was consumed. The marker sits on\n * one line, so the column moves with the offset.\n */\n/**\n * Place a block reparsed from the title line onto the document.\n *\n * `titleLineIsBlock` reparses that line on its own, so what comes back is numbered\n * from the line rather than from the note. An offset that is merely wrong still looks\n * usable, which is how `> [!note] # h` came to be indexed as `1:> [` -- the heading\n * kept offset 0 and its name was sliced from the top of the document.\n *\n * Offsets are what matter; `normalizePointsTransform` rebuilds every line and column\n * from them afterwards.\n */\nfunction shiftOnto(node: unknown, offset: number, line: number): void {\n const candidate = node as {\n position?: {\n start: { line: number; column: number; offset?: number };\n end: { line: number; column: number; offset?: number };\n };\n children?: unknown[];\n };\n if (candidate.position) {\n for (const point of [candidate.position.start, candidate.position.end]) {\n point.offset = offset + (point.offset ?? 0);\n point.line = line + point.line - 1;\n }\n }\n for (const child of candidate.children ?? []) shiftOnto(child, offset, line);\n}\n\nfunction advanceStart(node: Node, by: number): void {\n const start = (node as Positioned).position?.start;\n if (!start || start.offset === undefined) return;\n start.offset += by;\n start.column += by;\n}\n\n/** Where the line holding `offset` begins, so a column can be counted from it. */\nfunction columnAt(source: string, offset: number): number {\n return offset - (source.lastIndexOf(\"\\n\", offset - 1) + 1) + 1;\n}\n\nfunction moveStartTo(node: Node, source: string, offset: number, line: number) {\n const position = (node as Positioned).position;\n if (!position) return;\n position.start = { line, column: columnAt(source, offset), offset };\n}\n\n/**\n * Promote a blockquote whose first line opens with `[!type]` into a `callout`.\n *\n * A transform rather than a flow construct because the blockquote is already\n * parsed by the time the marker can be recognised, and because the marker lives in\n * the first paragraph's inline content. Obsidian accepts any `[!word]`, so no type\n * list is checked — `callout/unknown-type` confirms `[!custom]` is a callout.\n *\n * The title is stored exactly as written, empty when absent. Obsidian *displays*\n * the capitalised type in that case (`> [!warning]` reads \"Warning\"), but that is\n * the view defaulting a missing value, so it is left to whatever renders this.\n */\n/**\n * The remainder of the marker's line is block content, not a title.\n *\n * `> [!note] Title` reads as a title because a bare run of words is a\n * paragraph, and `> [!note] [^1]: x` does not: measured, that renders no text\n * at all, because the remainder is a footnote definition and a definition is\n * relocated out of the callout rather than shown as its heading. So the test\n * is what the remainder parses as, and only a lone paragraph becomes a title.\n *\n * A `$$` there is the title's text too: `> [!note] $$y` and `> [!note] $$` render no math,\n * where the remainder alone parses as a display block.\n */\nfunction titleLineIsBlock(\n remainder: string,\n reparse: (markdown: string) => Root,\n): RootContent[] | undefined {\n if (remainder.trim() === \"\") return undefined;\n const parsed = reparse(remainder);\n const only = parsed.children[0];\n if (\n parsed.children.length === 1 &&\n (only?.type === \"paragraph\" || only?.type === (\"math\" as string))\n ) {\n return undefined;\n }\n return parsed.children as RootContent[];\n}\n\nexport function calloutTransform(\n tree: Root,\n source = \"\",\n reparse: (markdown: string) => Root = () => ({\n type: \"root\",\n children: [],\n }),\n): void {\n visit(tree, \"blockquote\", (node: Node) => {\n const quote = node as Blockquote;\n // A `heading` as well as a `paragraph`. A setext underline written INSIDE the quote makes\n // micromark read the marker line and the underline as one setext heading, so\n // `> [!note] title` / `> ---` arrived as `blockquote { heading }` and was declined here --\n // degrading the callout to a plain blockquote, where Obsidian reports `callout@0-1`.\n // `compose.mts --inside` found both forms, `---` and `===`, and they were its only two\n // divergences of 64.\n //\n // The underline is consumed either way: six controls against live 1.14.4 report an EMPTY\n // `headings` for every setext inside a container, column-zero or prefixed, while a root\n // `title` / `===` reports one -- so Obsidian paints a heading there and indexes none,\n // which is the asymmetry `normalize.ts` and `container-setext.ts` both already record.\n const first = quote.children[0];\n if (!first || (first.type !== \"paragraph\" && first.type !== \"heading\")) {\n return;\n }\n\n const paragraph = first as Paragraph;\n // On the blockquote's own first line, not merely in its first child. An empty `>`\n // line produces no node, so `>` over `> [!note]` leaves the marker's paragraph as\n // `children[0]` and read as a callout -- where Obsidian reports a plain blockquote\n // rendering `[!note]` as text. The line still counts even though it holds nothing.\n //\n // `> x` over `> [!note]` was already declined, but by the lead text not matching\n // rather than by position, which is why the empty-line form slipped through.\n if (\n paragraph.position?.start?.line !== undefined &&\n quote.position?.start?.line !== undefined &&\n paragraph.position.start.line !== quote.position.start.line\n ) {\n return;\n }\n const lead = paragraph.children[0];\n if (!lead || lead.type !== \"text\") return;\n\n const match = MARKER.exec((lead as Text).value);\n if (!match) return;\n if (match[1]!.trim() === \"\") return;\n\n const from = paragraph.position?.start?.offset;\n if (source !== \"\" && from !== undefined) {\n const lineStart = source.lastIndexOf(\"\\n\", from - 1) + 1;\n const lineEnd = source.indexOf(\"\\n\", lineStart);\n const line = source.slice(\n lineStart,\n lineEnd === -1 ? undefined : lineEnd,\n );\n if (!atMarkerColumn(line)) return;\n }\n\n const [consumed, calloutType, fold] = match;\n (lead as Text).value = (lead as Text).value.slice(consumed.length);\n advanceStart(lead, consumed.length);\n\n // The title keeps its own nodes under a `calloutTitle` child rather than\n // being flattened to a string: `> [!note] **a**` renders a bold title, and\n // discarding the `strong` node would lose it from the tree entirely.\n const collect = (nodes: readonly Node[]): string =>\n nodes\n .map((c) =>\n \"value\" in c\n ? String((c as { value: unknown }).value)\n : collect(((c as ParentNode).children ?? []) as readonly Node[]),\n )\n .join(\"\");\n\n // The marker's line can end two ways. `remark-breaks` usually turns the\n // newline into a `break` node, but inside a list item it stays inside the text\n // value, which is where a break-only rule swallowed the body as the title.\n const leadText = lead as Text;\n const newlineAt = leadText.value.indexOf(\"\\n\");\n\n // Before splitting title from body: if the rest of this line is a block\n // rather than prose, the callout has no title and that block is its\n // content.\n // Judged on the source line, not on the lead node's value. The inline\n // tokenizer may already have taken part of the title into a sibling, and what\n // is left can read as something it is not: `> [!note] ****strong**` leaves a\n // lone `*` here, `*` alone parses as a list, so the title was declared a block\n // and the `strong` holding the rest of it was dropped. Obsidian shows\n // `**strong`, and our own emphasis had it right before this threw it away.\n const titleFrom = (leadText as unknown as Positioned).position?.start\n ?.offset;\n let firstLine =\n newlineAt === -1 ? leadText.value : leadText.value.slice(0, newlineAt);\n if (source !== \"\" && titleFrom !== undefined) {\n const breakAt = source.indexOf(\"\\n\", titleFrom);\n firstLine = source.slice(titleFrom, breakAt === -1 ? undefined : breakAt);\n }\n // A `\\r\\n` line ending is no title: `> [!note]\\r\\n` displays the type, as `> [!note]` does.\n if (firstLine.endsWith(\"\\r\")) firstLine = firstLine.slice(0, -1);\n /**\n * Whatever the title line's own paragraph holds after it.\n *\n * Reparsed with the quote prefixes stripped, through `mapLines`, so a body\n * inside the callout is placed back on the lines it came from.\n */\n function bodyUnderTitleLine(): Node[] {\n const from = (leadText as unknown as Positioned).position?.start?.offset;\n const to = (paragraph as unknown as Positioned).position?.end?.offset;\n if (from === undefined || to === undefined || source === \"\") return [];\n const breakAt = source.indexOf(\"\\n\", from);\n if (breakAt === -1 || breakAt >= to) return [];\n\n const bodyFrom =\n breakAt +\n 1 +\n (LINE_PREFIX.exec(source.slice(breakAt + 1))?.[0].length ?? 0);\n if (bodyFrom >= to) return [];\n\n const map = mapLines(\n source,\n bodyFrom,\n to,\n source.slice(0, bodyFrom).split(\"\\n\").length,\n );\n const parsed = reparse(map.text);\n for (const child of parsed.children) shiftByMap(child, map, 0);\n return parsed.children as unknown as Node[];\n }\n\n const asBlock = titleLineIsBlock(firstLine, reparse);\n if (asBlock) {\n const titleStart = (leadText as unknown as Positioned).position?.start;\n if (titleStart?.offset !== undefined) {\n for (const block of asBlock) {\n shiftOnto(block, titleStart.offset, titleStart.line);\n }\n }\n // The lines under the title line are the callout's body, and they were\n // being thrown away: `titleLineIsBlock` reparses the *first line only*, and\n // whatever followed it inside the same paragraph went with the paragraph it\n // replaced. `> [!note] # h` / `> body` lost `body` outright, as did the lazy,\n // list, comment and definition forms -- eight recorded cases, all content\n // loss on input anyone might write.\n //\n // `slice(1)` is also unconditional now. It was guarded on the lead text\n // carrying the newline, which is false whenever the body sits in a *separate*\n // paragraph -- so `> [!note] # h` / `>` / `> body` dropped that paragraph too.\n const body = bodyUnderTitleLine();\n const rest = quote.children.slice(1);\n // An empty `calloutTitle` rather than none. A callout with no title node\n // displays the capitalised type -- `> [!note]` alone reads \"Note\" --\n // but this one renders nothing at all, so the empty node is what says\n // \"it has a title, and the title is nowhere to be seen\".\n quote.children = [\n {\n type: \"calloutTitle\",\n children: [],\n // Zero width at the title's own offset. The title is empty, not absent --\n // it has nowhere to span, but it does have a place, and an unplaced node\n // is one a formatter cannot edit around. Nine of these arrived with the\n // block-title cases alone.\n ...(titleStart?.offset === undefined\n ? {}\n : {\n position: {\n start: { ...titleStart },\n end: { ...titleStart },\n },\n }),\n } as unknown as (typeof quote.children)[number],\n ...(asBlock as typeof quote.children),\n ...(body as typeof quote.children),\n ...rest,\n ];\n const callout = node as unknown as Callout;\n callout.type = \"callout\";\n callout.calloutType = (calloutType ?? \"\").trim();\n callout.title = \"\";\n callout.collapsed = fold === \"-\" ? true : fold === \"+\" ? false : null;\n return;\n }\n\n /**\n * Split a title from a body when the boundary falls *inside* an inline\n * construct.\n *\n * The `break` the branch below looks for is a direct child of the paragraph,\n * but a construct that spans the title's line ending swallows it:\n * `> [!note] *em` / `em*` arrives as one `emphasis` holding the break, so no\n * top-level break exists and the whole construct was taken as the title.\n *\n * Obsidian forms no such construct -- it reports the text `*em em*` with no\n * emphasis at all -- because the title ends at the line ending and the two\n * markers are then in different blocks. So each side is reparsed on its own,\n * which is the mirror of `setext-underline.ts`: there a demoted heading's lines\n * had to be parsed *together*, and here a title and its body have to be parsed\n * *apart*. Both bugs were one reparse boundary in the wrong place.\n *\n * Only when the paragraph really does span lines. A single-line title has no\n * boundary to fall inside and keeps its own children untouched.\n */\n function splitAcrossConstruct():\n { title: Node[]; body: Node[] } | undefined {\n const from = (leadText as Positioned).position?.start?.offset;\n const to = (paragraph as Positioned).position?.end?.offset;\n if (from === undefined || to === undefined) return undefined;\n const breakAtSource = source.indexOf(\"\\n\", from);\n if (breakAtSource === -1 || breakAtSource >= to) return undefined;\n\n const titleLine = source.slice(from, breakAtSource);\n const bodyFrom =\n breakAtSource +\n 1 +\n (LINE_PREFIX.exec(source.slice(breakAtSource + 1))?.[0].length ?? 0);\n if (bodyFrom >= to) return undefined;\n\n const titleBlock = reparse(titleLine).children[0];\n const bodyMap = mapLines(\n source,\n bodyFrom,\n to,\n source.slice(0, bodyFrom).split(\"\\n\").length,\n );\n const bodyBlock = reparse(bodyMap.text).children[0];\n if (titleBlock?.type !== \"paragraph\" || bodyBlock?.type !== \"paragraph\") {\n let reread: Node[] | undefined;\n if (bodyBlock?.type === \"paragraph\") {\n for (const child of bodyBlock.children) shiftByMap(child, bodyMap, 0);\n reread = bodyBlock.children as Node[];\n }\n return splitAtLineEnd(breakAtSource, bodyFrom, reread);\n }\n\n for (const child of titleBlock.children) shiftOnto(child, from, 1);\n for (const child of bodyBlock.children) shiftByMap(child, bodyMap, 0);\n return { title: titleBlock.children, body: bodyBlock.children };\n }\n\n /**\n * The paragraph's own children, cut where the title line ends.\n *\n * For when a half read alone is no paragraph: lazy lines `<x` / `===` under\n * the title parse alone as a setext heading, though as lazy lines they\n * cannot be one, and the whole paragraph stayed the title (found by\n * `fuzz/invariant-sweep.ts`). The children were read as one paragraph,\n * which is how those lines read in place. A text node across the line end\n * is cut at its first newline. Any other node across it -- a formula\n * opened by a `$$` in the title, `> [!note] $$a` / `b$$` -- is the title's\n * text up to the line end, as the title's `$$` is in Obsidian. The body is\n * then `reread`, the body read alone, when that is a paragraph. When it is\n * not, the node's rest below is read inline on its own and joins the body\n * ahead of the children after it, so a formula over `===` (fuzz seed 373)\n * reads as `b` / `===` does.\n */\n const nonEmpty = (node: Node): boolean =>\n node.type !== \"text\" || (node as Text).value !== \"\";\n function splitAtLineEnd(\n lineEnd: number,\n bodyFrom: number,\n reread: Node[] | undefined,\n ): { title: Node[]; body: Node[] } | undefined {\n const title: Node[] = [];\n const body: Node[] = [];\n for (const child of paragraph.children as Node[]) {\n const span = (child as Positioned).position;\n if (span?.start.offset === undefined || span.end.offset === undefined) {\n return undefined;\n }\n if (span.end.offset <= lineEnd) title.push(child);\n else if (span.start.offset > lineEnd) body.push(child);\n else if (child.type === \"text\") {\n const value = (child as Text).value;\n const cut = value.indexOf(\"\\n\");\n if (cut === -1) return undefined;\n if (cut > 0) {\n title.push({\n type: \"text\",\n value: value.slice(0, cut),\n position: {\n start: { ...span.start },\n end: {\n line: span.start.line,\n column: span.start.column + cut,\n offset: span.start.offset + cut,\n },\n },\n } as Text);\n }\n const rest = { ...(child as Text), value: value.slice(cut + 1) };\n rest.position = { start: { ...span.start }, end: { ...span.end } };\n moveStartTo(rest, source, bodyFrom, span.start.line + 1);\n if (rest.value !== \"\") body.push(rest);\n } else {\n const titleText = {\n type: \"text\",\n value: source.slice(span.start.offset, lineEnd),\n position: {\n start: { ...span.start },\n end: {\n line: span.start.line,\n column: span.start.column + lineEnd - span.start.offset,\n offset: lineEnd,\n },\n },\n } as Text;\n if (reread) {\n return {\n title: [...title, titleText].filter(nonEmpty),\n body: reread,\n };\n }\n // The body alone read as no paragraph: lazy `===` under it made a setext\n // heading. Then the rest of the node, on the lines below, is read inline on\n // its own -- the formula's closing half, once its opener is title text --\n // ahead of the children after it.\n const map = mapLines(\n source,\n bodyFrom,\n span.end.offset,\n source.slice(0, bodyFrom).split(\"\\n\").length,\n );\n const tail = reparse(map.text).children[0];\n if (tail?.type !== \"paragraph\") return undefined;\n for (const node of tail.children) shiftByMap(node, map, 0);\n title.push(titleText);\n body.push(...(tail.children as Node[]));\n }\n }\n return body.length > 0\n ? { title: title.filter(nonEmpty), body }\n : undefined;\n }\n\n let titleNodes: Node[];\n\n if (newlineAt !== -1) {\n // Up to the newline the value and the source still run together, since\n // the first line carries no prefix of its own. Past it they diverge, so\n // the body's start is found in the source rather than counted in the\n // value: a continuation line spends characters on `> ` that the value\n // never held.\n const titleStart = (leadText as Positioned).position?.start;\n const titleEnd =\n titleStart?.offset === undefined\n ? undefined\n : titleStart.offset + newlineAt;\n const bodyStart =\n titleEnd === undefined\n ? undefined\n : titleEnd +\n 1 +\n (LINE_PREFIX.exec(source.slice(titleEnd + 1))?.[0].length ?? 0);\n\n titleNodes =\n leadText.value.slice(0, newlineAt).trim() === \"\"\n ? []\n : [\n {\n type: \"text\",\n value: leadText.value.slice(0, newlineAt),\n ...(titleStart && titleEnd !== undefined\n ? {\n position: {\n start: { ...titleStart },\n end: {\n line: titleStart.line,\n column: titleStart.column + newlineAt,\n offset: titleEnd,\n },\n },\n }\n : {}),\n } as Text,\n ];\n leadText.value = leadText.value.slice(newlineAt + 1);\n if (leadText.value === \"\") paragraph.children.shift();\n else if (bodyStart !== undefined && titleStart) {\n moveStartTo(leadText, source, bodyStart, titleStart.line + 1);\n moveStartTo(paragraph, source, bodyStart, titleStart.line + 1);\n }\n } else {\n const breakAt = paragraph.children.findIndex((c) => c.type === \"break\");\n const split = breakAt === -1 ? splitAcrossConstruct() : undefined;\n titleNodes =\n split?.title ??\n (breakAt === -1\n ? paragraph.children.slice()\n : paragraph.children.slice(0, breakAt));\n if (split) paragraph.children = split.body as typeof paragraph.children;\n if (!split) {\n paragraph.children =\n breakAt === -1 ? [] : paragraph.children.slice(breakAt + 1);\n }\n // The kept children carry their own spans, so the paragraph follows the\n // first of them rather than still beginning at the marker.\n const first = paragraph.children[0] as Positioned | undefined;\n const start = first?.position?.start;\n if (start?.offset !== undefined && paragraph.position) {\n paragraph.position.start = { ...start };\n } else if (first && paragraph.position && titleFrom !== undefined) {\n // A first child with no span -- an autolink literal's run, which the GFM transform\n // splices without one -- leaves the body's own line to say where it starts. Kept at the\n // marker, the paragraph overlapped the title (found by the million-seed census).\n const lineEnd = source.indexOf(\"\\n\", titleFrom);\n if (lineEnd !== -1) {\n const bodyStart =\n lineEnd +\n 1 +\n (LINE_PREFIX.exec(source.slice(lineEnd + 1))?.[0].length ?? 0);\n moveStartTo(\n paragraph,\n source,\n bodyStart,\n source.slice(0, bodyStart).split(\"\\n\").length,\n );\n }\n }\n }\n\n const title = collect(titleNodes).trim();\n\n // A title-only callout leaves an empty paragraph, which would project as a\n // block Obsidian does not report.\n if (\n paragraph.children.length === 0 ||\n (paragraph.children.length === 1 &&\n paragraph.children[0]!.type === \"text\" &&\n (paragraph.children[0] as Text).value.trim() === \"\")\n ) {\n quote.children.shift();\n }\n\n // Gate on the collected text, not on the node count: stripping the marker\n // can leave an empty text node behind, and a `calloutTitle` holding nothing\n // still reads as \"this callout has a title\", which suppresses the type name\n // Obsidian displays in its place.\n // Whitespace after the `]` is a title that was *written*, even though it collects\n // to nothing. `> [!note]` alone displays `Note`, the capitalised type, and all\n // seventeen recorded title-less callouts agree; `> [!note] ` displays nothing at\n // all. The trailing run is the entire difference between them, so gating on the\n // trimmed text made the two indistinguishable. Same rule as a wikilink's\n // written-but-empty alias: an explicit empty beats an absent one.\n //\n // Read off `firstLine`, which by here is the title line with the marker and any\n // fold character already stripped: `> [!note] ` leaves `\" \"` and a bare\n // `> [!note]` leaves `\"\"`. That is the whole test. (It is emphatically not the\n // marker-bearing source line it reads like -- a first attempt matched a `]` that\n // is long gone, and only printing the value alongside a known-non-empty control\n // said so.)\n // Not only whitespace as written: a character reference that decodes to it,\n // `> [!note]  `, displays nothing too (asked of 1.15.0), and it is the spelling the\n // writer uses for an empty title over a block it cannot put on the title line.\n const blankTitle = title === \"\" && firstLine !== \"\";\n\n // A node that is not an empty text node is a title, whatever it collects to.\n // `> [!note] ^[]` is an empty *inline footnote*, which Obsidian shows as the\n // title -- and `^[]` collects to nothing, so the text gate alone cannot see it\n // while the same footnote carrying content, `^[x]`, sails through. Testing the\n // node *count* instead was rejected earlier for a reason that still holds:\n // stripping the marker can leave an empty text node behind, and that is not a\n // title. So the test is on the node's kind, not on how many there are.\n const hasTitleNode = titleNodes.some(\n (node) =>\n node.type !== \"text\" || ((node as Text).value ?? \"\").trim() !== \"\",\n );\n\n if (title !== \"\" || blankTitle || hasTitleNode) {\n const head = (titleNodes[0] as Positioned | undefined)?.position?.start;\n const tail = (titleNodes[titleNodes.length - 1] as Positioned | undefined)\n ?.position?.end;\n quote.children.unshift({\n type: \"calloutTitle\",\n children: titleNodes,\n // Copies, not the children's own points: a pass that moves every node's position (a\n // comment body's re-parse, placed back by `shiftByMap`) moved a shared point twice, so the\n // title ran past the source (`%%note` / blank / `[^1]: > [!note] $$y^2`).\n ...(head && tail\n ? { position: { start: { ...head }, end: { ...tail } } }\n : {}),\n } as unknown as (typeof quote.children)[number]);\n }\n\n // The body paragraph's own start, once the title nodes have been lifted out of it.\n //\n // It kept the start it had before the split, which is the `>` marker's content column,\n // so `> [!note] Title` / `> [[target]]` left `paragraph[2..28]` beside\n // `calloutTitle[10..15]` -- two siblings overlapping by the title's whole width. 26 of\n // the span checker's violations were this, and a consumer splicing by offset cannot\n // order an edit in the title against one in the body while they do.\n //\n // Only the start moves, and only forward to a child the paragraph still holds. The\n // paragraph is dropped entirely a few lines above when the title took everything, so\n // this only ever runs on one with content left.\n for (const child of quote.children) {\n if (child.type !== \"paragraph\") continue;\n const first = (child.children as Positioned[])[0]?.position?.start;\n const start = child.position?.start;\n if (!first || !start) break;\n if (start.offset === undefined || first.offset === undefined) break;\n if (first.offset > start.offset) child.position!.start = { ...first };\n break;\n }\n\n const callout = node as unknown as Callout;\n callout.type = \"callout\";\n callout.calloutType = (calloutType ?? \"\").trim();\n callout.title = title;\n callout.collapsed = fold === \"-\" ? true : fold === \"+\" ? false : null;\n });\n}\n\n/**\n * Each callout's `title`, derived again from its title node once every pass has run.\n *\n * It is collected when the callout is built, and `strict` passes after that rewrite the title's\n * children: an undefined `[^…` becomes text again, an inline footnote goes inert. So\n * `> [!note] [^[[a|b]]] | w` held the title text `[^[[a|b]]] | w` while `title` still read\n * `[[a|b]] | w` (found by \"formatting keeps the tree\"). Collected as the callout reader collects\n * it: every node value in order, trimmed.\n */\nexport function syncCalloutTitlesTransform(tree: Root): void {\n const collect = (nodes: readonly Node[]): string =>\n nodes\n .map((child) =>\n \"value\" in child\n ? String((child as { value: unknown }).value)\n : collect(((child as ParentNode).children ?? []) as readonly Node[]),\n )\n .join(\"\");\n visit(tree, (node: Node) => {\n if ((node as { type: string }).type !== \"callout\") return;\n const titleNode = ((node as ParentNode).children ?? []).find(\n (child) => (child as Node).type === \"calloutTitle\",\n ) as ParentNode | undefined;\n if (titleNode) {\n (node as unknown as Callout).title = collect(\n (titleNode.children ?? []) as readonly Node[],\n ).trim();\n }\n });\n}\n","import type { Root } from \"mdast\";\nimport type { Node } from \"unist\";\nimport { visit } from \"./visit.js\";\n\n/**\n * Make every point's line and column agree with its own offset.\n *\n * The passes above re-parse fragments, and a fragment parse numbers its lines\n * from one. Each caller then places the result back, and placing it back is\n * where the two halves of a point diverge: an offset is a single number that a\n * shift can simply add to, while a line and a column have to be recomputed\n * against the document. `inline-refold` is the clearest case -- it rewrites\n * both offsets and leaves `line` and `column` spelling the flattened copy --\n * but any pass that moves a fragment can drift the same way.\n *\n * Measured rather than assumed: across the saved `computeMetadataAsync`\n * answers, every footnote reference whose declared line disagreed with\n * Obsidian had an offset that derived Obsidian's own line and column exactly.\n * The offsets are what the passes maintain carefully, so they are taken as the\n * truth here and the rest of the point is rebuilt from them.\n *\n * Running last means a pass may move a node freely and only has to keep its\n * offsets honest, which is the invariant `test/parity/points.test.ts` gates.\n *\n * **And that gate only sees the FINAL tree, so a pass reading `point.column` mid-pipeline\n * is unprotected.** `definitionColumnTransform` compared its computed column against\n * `start.column` on a node an earlier pass had moved by offset alone -- column 2 against\n * offset 26 -- so it silently declined the case it existed for, and nothing caught it\n * because this pass repaired the point afterwards either way. The tell was an edit that\n * changed no output at all.\n *\n * So: a pass running before this one must read `offset` and derive the column itself.\n * Audited across `src/lib`, eight places read a `.column`:\n *\n * - `line-map.ts` derives an offset FROM a column, which is correct there and nowhere\n * else -- `shiftByMap` places a freshly parsed fragment, whose line and column are\n * authoritative and whose offset is an index into the fragment string.\n * - `callout.ts` and `task-char.ts` only increment, so they inherit whatever drift exists\n * rather than acting on it.\n * - The remaining five were instrumented over the whole corpus, counting how often the\n * point they read carries a column that disagrees with its own offset:\n *\n * comment-tail 15 agree, 0 stale\n * list-deep-continuation 1 agree, 0 stale\n * math-fence 78 agree, 0 stale\n * footnote-bare 984 agree, 21 STALE\n * setext-underline 74 agree, 1 STALE\n *\n * **This table went stale, which is its own lesson: an audit of call sites is only true\n * for the call sites that existed when it was written.** Three more reads appeared after\n * it and none were covered -- `container-lazy` (which never fires on the corpus) and both\n * of `definition-trim`'s, which were instrumented the same way and came back\n *\n * definition-trim:start 1354 agree, 28 STALE\n * definition-trim:end 224 agree, 12 STALE\n *\n * Both were BRANCHES, so neither was repairable here, and both now derive their column\n * from the offset. The repair is currently inert -- 0 parity regressions and the referee\n * unchanged at 78.1% -- because none of the 40 stale reads happened to flip an outcome on\n * this corpus. That is a latent defect removed rather than a measurable gain, and the\n * distinction is worth stating plainly: an inert soundness fix and an inert mistake look\n * identical from the numbers.\n *\n * Adding a pass that reads a `.column` means re-running this audit. The procedure is a\n * `console.error` at the site comparing the point's column against one derived from its\n * own offset, with the corpus parsed under both profiles.\n *\n * `footnote-bare` is stale 21 times and HARMLESS, which is the distinction that\n * matters: it writes `offset` independently of the column, so this pass rebuilds the\n * column correctly afterwards and nothing downstream ever sees the bad value.\n *\n * `setext-underline` was the real one, at a single occurrence. Its column is not a\n * point it writes but a DECISION -- how much of a setext underline counts as the\n * container's own indent -- and a decision cannot be repaired after the fact. Fixed to\n * derive from the offset.\n *\n * So the rule is sharper than \"read the offset\": a stale column read into a point is\n * repaired here, while one read into a branch is not. Frequency is the wrong sort by a\n * long way -- the pass that was stale 21 times needed no change and the pass that was\n * stale once did.\n */\n/**\n * One point, for a pass that splices a node and knows only its offset.\n *\n * A binary search over the source's line starts, which are indexed once per source.\n */\nexport function pointAt(\n source: string,\n offset: number,\n): { line: number; column: number; offset: number } {\n const starts = lineStartsOf(source);\n // The last line starting at or before the offset.\n let low = 0;\n let high = starts.length - 1;\n while (low < high) {\n const middle = (low + high + 1) >> 1;\n if (starts[middle]! <= offset) low = middle;\n else high = middle - 1;\n }\n return { line: low + 1, column: offset - starts[low]! + 1, offset };\n}\n\n/**\n * Where each line of `source` starts, kept for the last source asked about.\n *\n * `pointAt` used to count line endings from offset 0 on every call, and the passes call it per\n * node, so a long paragraph of unplaced inline nodes was quadratic: 16,000 `x]#t` spent a\n * second in `restoreInlinePositionsTransform` alone. One table per source makes each call a\n * binary search. A lone CR ends a line too, which splitting on `\\n` cannot see -- see\n * `normalizePointsTransform` below for what that cost -- and a CRLF ends it once.\n */\nlet cachedSource: string | undefined;\nlet cachedStarts: number[] = [0];\n\nfunction lineStartsOf(source: string): number[] {\n if (source === cachedSource) return cachedStarts;\n const starts = [0];\n for (let index = 0; index < source.length; index++) {\n if (source[index] === \"\\r\" && source[index + 1] === \"\\n\") continue;\n if (source[index] === \"\\n\" || source[index] === \"\\r\")\n starts.push(index + 1);\n }\n cachedSource = source;\n cachedStarts = starts;\n return starts;\n}\n\n/**\n * Give a spliced node the span it covers.\n *\n * A node with no position is invisible to anything that edits by offset, and it\n * blinds the passes downstream too: the bare-reference pass reads a label's\n * written form out of the source through its host's span, so a positionless host\n * made it fall back to the folded identifier. Measured against the saved\n * `computeMetadataAsync` answers, positionless hosts were holding 1439\n * references that no consumer could place.\n *\n * Does nothing when either end is unknown, so a caller may pass what it has.\n */\nexport function span<T extends Node>(\n candidate: T,\n source: string,\n from: number | undefined,\n to: number | undefined,\n): T {\n if (source !== \"\" && from !== undefined && to !== undefined) {\n candidate.position = {\n start: pointAt(source, from),\n end: pointAt(source, to),\n };\n }\n return candidate;\n}\n\nexport function normalizePointsTransform(tree: Root, source: string): void {\n if (source === \"\") return;\n\n // CommonMark ends a line on `\\r\\n`, `\\n` OR a lone `\\r`, and indexing only `\\n` made\n // this pass CORRUPT the positions it exists to repair. `a\\rb\\r` is two lines to Obsidian\n // and to micromark, which gets the paragraph right; this pass then rebuilt every point\n // against a one-line index and reported `0:0-0:3` for what is `0:0-1:1`. A lone CR is\n // rare enough that it hid behind a single probe, and the failure mode is the worst kind\n // -- a wrong offset rather than a missing one, written over a correct one.\n const starts = [0];\n for (let index = 0; index < source.length; index++) {\n const character = source[index];\n if (character === \"\\r\" && source[index + 1] === \"\\n\") continue;\n if (character === \"\\n\" || character === \"\\r\") starts.push(index + 1);\n }\n\n /** The index in `starts` of the line holding `offset`. */\n const lineAt = (offset: number): number => {\n let low = 0;\n let high = starts.length - 1;\n while (low < high) {\n const middle = (low + high + 1) >> 1;\n if (starts[middle]! <= offset) low = middle;\n else high = middle - 1;\n }\n return low;\n };\n\n visit(tree, (node: Node) => {\n const position = node.position;\n if (!position) return;\n for (const point of [position.start, position.end]) {\n const offset = point.offset;\n // A point with no offset is left alone: there is nothing to derive from,\n // and inventing one would place a node somewhere it never claimed to be.\n if (offset === undefined || offset < 0 || offset > source.length) {\n continue;\n }\n const index = lineAt(offset);\n point.line = index + 1;\n point.column = offset - starts[index]! + 1;\n }\n });\n}\n","import type { Root } from \"mdast\";\n\nimport { MARKER } from \"./callout.js\";\nimport { pointAt } from \"./normalize-points.js\";\nimport type { Callout } from \"./types.js\";\n\n/** The quote marker a callout's span starts with, and the one space that binds the `[!`. */\nconst QUOTE_PREFIX = /^[ \\t]*> ?/u;\n\nfunction placeMarker(callout: Callout, source: string): void {\n const from = callout.position?.start.offset;\n if (from === undefined) return;\n let end = from;\n while (end < source.length && source[end] !== \"\\n\" && source[end] !== \"\\r\")\n end++;\n const line = source.slice(from, end);\n const prefix = QUOTE_PREFIX.exec(line);\n if (!prefix) return;\n const marker = MARKER.exec(line.slice(prefix[0].length));\n if (!marker) return;\n const start = from + prefix[0].length;\n // Not `marker[0]`, which also takes the one space or tab that starts the title.\n const width = \"[!]\".length + marker[1]!.length + marker[2]!.length;\n callout.data = {\n ...callout.data,\n marker: {\n start: pointAt(source, start),\n end: pointAt(source, start + width),\n },\n lineEnd: pointAt(source, end),\n };\n}\n\n/**\n * Where each callout's marker sits, on `data.marker` and `data.lineEnd`.\n *\n * The title node cannot say. `> [!note]` has none, a title's span covers its text only, and\n * `> [!note] [^1]: def` has a zero-width one, its block moved out into the body. So a consumer\n * had to read the source to find the marker.\n *\n * Reads the final spans, so it runs after every pass that can move a callout, and only on the\n * document: a fragment's positions are placed back later.\n */\nexport function calloutMarkerTransform(tree: Root, source: string): void {\n if (!source.includes(\"[!\")) return;\n const walk = (node: { type: string; children?: unknown }): void => {\n if (node.type === \"callout\") placeMarker(node as Callout, source);\n if (!Array.isArray(node.children)) return;\n for (const child of node.children) walk(child);\n };\n walk(tree);\n}\n","import type { Root } from \"mdast\";\nimport type { Node } from \"unist\";\nimport { visit } from \"./visit.js\";\n\ninterface InlineMathNode extends Node {\n type: \"inlineMath\";\n value: string;\n data?: {\n display?: boolean;\n hName?: string;\n hProperties?: { className?: string[] };\n hChildren?: unknown[];\n };\n}\n\n/**\n * Obsidian treats any `$$`-delimited math as display, wherever it appears:\n * `$$E=mc^2$$`, `- $$x^2$$` and `# $$x^2$$` all render as display math inside the\n * surrounding block. `micromark-extension-math` classifies by position instead, so\n * a `$$` run inside a paragraph arrives as inline.\n *\n * The node stays inline, because Obsidian's own output is an inline element\n * carrying display styling (`<span class=\"math math-block\">`) rather than a block.\n * Only the classification and the rendered class change.\n */\nexport function mathDisplayTransform(tree: Root, source: string): void {\n visit(tree, \"inlineMath\", (node: Node) => {\n const math = node as InlineMathNode;\n const start = math.position?.start?.offset;\n const end = math.position?.end?.offset;\n if (start === undefined || end === undefined) return;\n\n const opening = /^\\$+/.exec(source.slice(start, end));\n if (!opening || opening[0].length < 2) return;\n\n math.data ??= {};\n math.data.display = true;\n math.data.hProperties ??= {};\n math.data.hProperties.className = [\"language-math\", \"math-display\"];\n });\n}\n","/**\n * A wikilink target as Obsidian resolves it: a no-break space as an ordinary one\n * (`![[*\\u00a0*]]` embeds the note `* *`), and NFC (`[[cafe\\u0301]]` links to `caf\\u00e9`;\n * both found by `fuzz/charclass-sweep.ts`).\n */\nexport function resolveTarget(target: string): string {\n return target.replace(/\\u00a0/gu, \" \").normalize(\"NFC\");\n}\n\n/** A wikilink's parts as the author spelled them, where resolving changed them. */\nexport interface SpelledTarget {\n spelledPath?: string;\n spelledHeading?: string;\n}\n\n/**\n * The spelling to keep beside the resolved parts, or `undefined` when resolving changed\n * nothing. The writer builds a wikilink from its parts, so without it formatting rewrote\n * `[[*\\u00a0*]]` as `[[* *]]`: the same target, but another node `value` (about 970 seeds of the\n * million-seed census, under \"formatting keeps the tree\").\n */\nexport function spelledTarget(\n path: string,\n heading: string,\n resolved: { readonly path: string; readonly heading: string },\n): SpelledTarget | undefined {\n const spelled: SpelledTarget = {};\n if (path !== resolved.path) spelled.spelledPath = path;\n if (heading !== resolved.heading) spelled.spelledHeading = heading;\n return Object.keys(spelled).length > 0 ? spelled : undefined;\n}\n\n/**\n * The text to write for a part: the author's spelling while it still resolves to the part\n * (an edited target wins), else the part, with the backslash resolving dropped put back.\n */\nexport function writtenPart(\n part: string,\n spelled: string | undefined,\n strippedBackslash: boolean,\n): string {\n const resolved = strippedBackslash ? `${part}\\\\` : part;\n return spelled !== undefined && resolveTarget(spelled) === resolved\n ? spelled\n : resolved;\n}\n","import type {\n Code,\n Construct,\n Effects,\n Extension,\n State,\n TokenizeContext,\n} from \"micromark-util-types\";\nimport { createChunkScan, planBody, type Segment } from \"./legacy-scan.js\";\nimport { types } from \"micromark-util-symbol\";\n\nconst EQUALS = 61;\nconst MARKER = \"=\";\nconst MARKER_LENGTH = 2;\n\n/**\n * `==highlight==` as Obsidian tokenizes it, which is a forward scan rather than\n * CommonMark attention.\n *\n * The algorithm is `remark-parse@8`'s `strong.js` without its\n * `charAt(index + 2) !== marker` guard: close at the first `==`, and fail the\n * whole attempt when the content would be empty. That failure is what makes an\n * over-long run behave — in `====text==` the attempt at the first `=` dies on\n * empty content, so the retry one character along leaves a literal `=` and\n * highlights `=text`, which is what Obsidian shows.\n *\n * Scanning raw codes also makes backslashes fall out without special handling.\n * `==text\\==` closes on the escaped run and keeps `text\\` as content, because\n * the scan never consults CommonMark's escape rules; `\\==text==` never opens,\n * because micromark's own escape consumes that `=` before this construct is\n * tried; and `\\==text\\==` produces no highlight for the same reason. All three\n * match Obsidian, and the asymmetry between them needs no code of its own.\n */\nexport function legacyHighlightQueue(value: string): string | null {\n if (value.charAt(0) !== MARKER || value.charAt(1) !== MARKER) return null;\n\n let index = MARKER_LENGTH;\n\n while (index < value.length) {\n if (value.charAt(index) === MARKER && value.charAt(index + 1) === MARKER) {\n // Content may not be blank or begin with whitespace, and no later closer\n // can repair either, so the attempt is over. Blank content that is not\n // empty begins with whitespace, so the first character decides both.\n if (index === MARKER_LENGTH || isSpace(value.charAt(MARKER_LENGTH)))\n return null;\n // Trailing whitespace is different: the scan keeps going and may close\n // further along. `===` / `[^2]: b` / `===` closes on the *last* two\n // markers, because stopping at the first leaves `=⏎[^2]: b⏎` ending in a\n // newline — carrying on takes the next `=` into the content and lands on\n // a closer that does not.\n if (!isSpace(value.charAt(index - 1)))\n return value.slice(MARKER_LENGTH, index);\n }\n index++;\n }\n\n return null;\n}\n\n/**\n * One character each, not the content so far: with a `==` after every whitespace, testing the\n * growing content at each one was quadratic per opener. `\\s` is `trim`'s own class.\n */\nfunction isSpace(character: string): boolean {\n return /\\s/u.test(character);\n}\n\n/**\n * Per text run, the offset from which no opener can close.\n *\n * `legacyHighlightQueue` closes on a `==` with no whitespace straight before it, which is a fact\n * about that `==` and not about the opener. So once a scan that read to the end of the run answers\n * `null`, every later opener in the run must too, and need not read it again. `==a ` x8000 scanned\n * to the end for each of its 8000 openers. A tokenizer reads one run, so it keys the memo.\n */\nconst noCloserFrom = new WeakMap<TokenizeContext, number>();\n\n/**\n * Stop the chunk scan once `legacyHighlightQueue` is bound to answer `null`.\n *\n * The scan materialises the rest of the text chunk so the ported tokenizer can\n * judge the whole match, and that is what made a run of `=` quadratic: every one\n * of 20000 openers read to end of input before the decision function ran, even\n * though the decision itself needs four characters. `=` x20000 was 26ms on the\n * bare chain against more than 20s here.\n *\n * Only the two conditions that `legacyHighlightQueue` itself treats as final are\n * short-circuited, so this cannot change an answer -- it only stops collecting\n * characters the answer no longer depends on:\n *\n * - content beginning with whitespace never matches, whatever follows, because\n * the first closer tests `/^\\s/` on the whole queue and every later one sees\n * the same prefix;\n * - a closer immediately after the opener has empty content, and `====` is the\n * case the construct's own docstring is built on.\n *\n * `\\s` is kept rather than written out as ASCII whitespace, deliberately: the\n * decision function uses `/^\\s/u`, which includes U+00A0, and a narrower class\n * here would stop the scan on inputs it still accepts.\n */\nfunction createQueueBound(): (character: string) => boolean {\n let index = -1;\n let opened = false;\n let previous = \"\";\n let beforePrevious = \"\";\n return (character: string): boolean => {\n index += 1;\n const last = previous;\n const beforeLast = beforePrevious;\n beforePrevious = previous;\n previous = character;\n if (index < MARKER_LENGTH) return character !== MARKER;\n if (index === MARKER_LENGTH) {\n opened = character === MARKER;\n return /^\\s/u.test(character);\n }\n // The second half of a closer sitting directly on the opener: empty content.\n if (index === MARKER_LENGTH + 1) return opened && character === MARKER;\n // The first closer `legacyHighlightQueue` accepts: two markers with no whitespace before\n // them. It answers there, so nothing after it is needed. Without this every highlight read\n // to the end of the run, and `==a== ` x4000 took over 10 s under `strict`.\n return (\n character === MARKER &&\n last === MARKER &&\n index >= MARKER_LENGTH + 2 &&\n !/\\s/u.test(beforeLast)\n );\n };\n}\n\nconst highlight: Construct = {\n name: \"highlight\",\n tokenize(\n this: TokenizeContext,\n effects: Effects,\n ok: State,\n nok: State,\n ): State {\n const self = this;\n const characters: string[] = [];\n const scan = createChunkScan(characters, createQueueBound());\n const TEXT_TOKEN = \"highlightText\" as const;\n let queue = \"\";\n let segments: Segment[] = [];\n let index = 0;\n let remaining = 0;\n\n function startBody(code: Code): State | undefined {\n segments = planBody(queue, { stripContinuationIndent: true });\n index = 0;\n return nextSegment(code);\n }\n\n function nextSegment(code: Code): State | undefined {\n const segment = segments[index];\n if (!segment) return closeStart(code);\n remaining = segment.length;\n if (segment.kind === \"eol\") effects.enter(types.lineEnding);\n else if (segment.kind === \"data\") effects.enter(\"data\");\n else if (segment.kind === \"prefix\") effects.enter(types.linePrefix);\n else if (segment.kind === \"hardBreak\") effects.enter(\"hardBreakEscape\");\n else effects.enter(TEXT_TOKEN, { contentType: \"text\" });\n return consumeSegment(code);\n }\n\n function consumeSegment(code: Code): State | undefined {\n effects.consume(code);\n if (--remaining > 0) return consumeSegment;\n const segment = segments[index]!;\n effects.exit(\n segment.kind === \"eol\"\n ? types.lineEnding\n : segment.kind === \"data\"\n ? \"data\"\n : segment.kind === \"prefix\"\n ? types.linePrefix\n : segment.kind === \"hardBreak\"\n ? \"hardBreakEscape\"\n : TEXT_TOKEN,\n );\n index++;\n return nextSegment;\n }\n\n return start;\n\n function start(code: Code): State | undefined {\n if (code !== EQUALS) return nok(code);\n const known = noCloserFrom.get(self);\n if (known !== undefined && self.now().offset >= known) return nok(code);\n characters.length = 0;\n return effects.check(scan, decide, decide)(code);\n }\n\n function decide(code: Code): State | undefined {\n const found = legacyHighlightQueue(characters.join(\"\"));\n if (found === null) {\n // Past the `createQueueBound` stops, so this scan did read to the end of the run.\n if (characters.length > MARKER_LENGTH + 2)\n noCloserFrom.set(self, self.now().offset);\n return nok(code);\n }\n if (emphasisClosesInside(self, found)) return nok(code);\n\n queue = found;\n effects.enter(\"highlight\");\n effects.enter(\"highlightSequence\");\n remaining = MARKER_LENGTH;\n return openSequence(code);\n }\n\n function openSequence(code: Code): State | undefined {\n effects.consume(code);\n if (--remaining > 0) return openSequence;\n effects.exit(\"highlightSequence\");\n return startBody;\n }\n\n function closeStart(code: Code): State | undefined {\n effects.enter(\"highlightSequence\");\n remaining = MARKER_LENGTH;\n return closeSequence(code);\n }\n\n function closeSequence(code: Code): State | undefined {\n effects.consume(code);\n if (--remaining > 0) return closeSequence;\n effects.exit(\"highlightSequence\");\n effects.exit(\"highlight\");\n return ok;\n }\n },\n};\n\ntype Group = 1 | 2 | undefined;\n\n/** micromark's `classifyCharacter`: whitespace 1, punctuation 2, anything else neither. */\nfunction group(character: string | undefined): Group {\n if (character === undefined || /\\s/u.test(character)) return 1;\n if (/\\p{P}|\\p{S}/u.test(character)) return 2;\n return undefined;\n}\n\n/**\n * Each text's emphasis runs paired so far, as `emphasisClosesInside` last left them, so that a\n * line of highlights reads its events once rather than once per `==`.\n */\nconst pairedRuns = new WeakMap<\n TokenizeContext,\n {\n readonly events: TokenizeContext[\"events\"];\n read: number;\n last: TokenizeContext[\"events\"][number] | undefined;\n readonly stack: Array<{ run: Run; outer: boolean }>;\n }\n>();\n\ninterface Run {\n readonly marker: string;\n size: number;\n readonly open: boolean;\n readonly close: boolean;\n}\n\n/** micromark's own flanking rule for an attention run (`attention.js`). */\nfunction flank(marker: string, size: number, before: Group, after: Group): Run {\n const open = !after || (after === 2 && Boolean(before));\n const close = !before || (before === 2 && Boolean(after));\n return {\n marker,\n size,\n open: marker === \"*\" ? open : open && (Boolean(before) || !close),\n close: marker === \"*\" ? close : close && (Boolean(after) || !open),\n };\n}\n\n/**\n * Whether emphasis opened BEFORE this `==` would close inside its body.\n *\n * Obsidian's reader (remark-parse 8) tokenizes left to right, so whichever construct opens first\n * consumes its span: `**a==b**c==` is strong `a==b` and no highlight, `==a**b==c**` a highlight\n * `a**b` and no strong (Reading view, 1.14.5 recorded and 1.15.0 asked). micromark pairs emphasis\n * only after this construct has taken its span, so without this check the highlight won both.\n *\n * Simulated with CommonMark's pairing on the runs micromark has already marked: the runs before\n * the `==` pair among themselves first, then the body's runs -- with the `==` read as the plain\n * punctuation they would be without a highlight -- close the nearest opener. A body closer that\n * reaches an opener from before the `==` crosses it. Undecidable cases (the rule of three) are\n * left to the highlight, as before.\n */\nfunction emphasisClosesInside(self: TokenizeContext, body: string): boolean {\n const events = self.events;\n let paired = pairedRuns.get(self);\n // Carry on from the pairing of the events already read while they stand as they were.\n // micromark only appends to them, except where a failed attempt truncates them or a resolver\n // (a link's, a footnote call's) rewrites them from some point on, and either replaces or moves\n // the event this pairing stopped after.\n if (\n paired?.events !== events ||\n paired.read > events.length ||\n (paired.read > 0 && events[paired.read - 1] !== paired.last)\n ) {\n paired = { events, read: 0, last: undefined, stack: [] };\n pairedRuns.set(self, paired);\n }\n const stack = paired.stack;\n const take = (run: Run, outer: boolean): boolean => {\n if (run.close) {\n for (let at = stack.length - 1; at >= 0 && run.size > 0; at -= 1) {\n const entry = stack[at]!;\n if (entry.run.marker !== run.marker) continue;\n if (entry.outer && !outer) return true;\n const used = Math.min(entry.run.size, run.size);\n entry.run.size -= used;\n run.size -= used;\n if (entry.run.size === 0) stack.splice(at, 1);\n }\n }\n if (run.open && run.size > 0) stack.push({ run, outer });\n return false;\n };\n\n for (; paired.read < events.length; paired.read += 1) {\n const [kind, token] = events[paired.read]!;\n if (kind !== \"enter\" || token.type !== \"attentionSequence\") continue;\n const text = self.sliceSerialize(token);\n const flags = token as typeof token & { _open?: boolean; _close?: boolean };\n take(\n {\n marker: text[0]!,\n size: text.length,\n open: Boolean(flags._open),\n close: Boolean(flags._close),\n },\n true,\n );\n }\n paired.last = events[paired.read - 1];\n // Every entry is an opener from before the `==` here. The body's runs never change one -- a\n // closer reaching one returns first -- and their own openers stack above them, so cutting the\n // stack back to this length leaves it as the events alone made it, for the next `==`.\n const outer = stack.length;\n if (outer === 0) return false;\n try {\n for (const match of body.matchAll(/\\*+|_+/gu)) {\n const start = match.index;\n const end = start + match[0].length;\n const run = flank(\n match[0][0]!,\n match[0].length,\n group(start > 0 ? body[start - 1] : MARKER),\n group(end < body.length ? body[end] : MARKER),\n );\n if (take(run, false)) return true;\n }\n return false;\n } finally {\n stack.length = outer;\n }\n}\n\nexport function highlightSyntax(): Extension {\n return { text: { [EQUALS]: highlight } };\n}\n","/**\n * The small packages remark-parse 8 and parse-entities 2 required, as one module.\n *\n * Each is the published v1 behaviour, read from its source; versions are those remark-parse\n * 8.0.3 resolved. All MIT. One deliberate change: `trim` 0.0.1 used `/^\\s*|\\s*$/g`, which is\n * quadratic on a long run of interior whitespace (GHSA-w5p7-h5w8-2hfq). `String.prototype.trim`\n * strips exactly the same characters -- `\\s` and the trim set are both WhiteSpace plus\n * LineTerminator -- in linear time.\n */\n\n/** trim 0.0.1 */\nexport function trim(value: string): string {\n return value.trim();\n}\n\n/** repeat-string 1.6.1, for the non-negative counts remark-parse passes. */\nexport function repeat(value: string, count: number): string {\n if (typeof value !== \"string\") throw new TypeError(\"expected a string\");\n return value.repeat(count);\n}\n\n/** xtend 4.0.2: own enumerable properties of every argument, later winning. */\nexport function xtend(...sources: object[]): Record<string, unknown> {\n const target: Record<string, unknown> = {};\n for (const source of sources) {\n for (const key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = (source as Record<string, unknown>)[key];\n }\n }\n }\n return target;\n}\n\nconst codeOf = (character: string | number): number =>\n typeof character === \"string\" ? character.charCodeAt(0) : character;\nconst charOf = (character: string | number): string =>\n typeof character === \"number\"\n ? String.fromCharCode(character)\n : character.charAt(0);\n\n/** is-whitespace-character 1.0.4 */\nexport function isWhitespaceCharacter(character: string | number): boolean {\n return /\\s/.test(charOf(character));\n}\n\n/** is-word-character 1.0.4 */\nexport function isWordCharacter(character: string | number): boolean {\n return /\\w/.test(charOf(character));\n}\n\n/** is-decimal 1.0.4 */\nexport function isDecimal(character: string | number): boolean {\n const code = codeOf(character);\n return code >= 48 && code <= 57;\n}\n\n/** is-alphabetical 1.0.4 */\nexport function isAlphabetical(character: string | number): boolean {\n const code = codeOf(character);\n return (code >= 97 && code <= 122) || (code >= 65 && code <= 90);\n}\n\n/** is-hexadecimal 1.0.4 */\nexport function isHexadecimal(character: string | number): boolean {\n const code = codeOf(character);\n return (\n (code >= 97 && code <= 102) ||\n (code >= 65 && code <= 70) ||\n (code >= 48 && code <= 57)\n );\n}\n\n/** is-alphanumerical 1.0.4 */\nexport function isAlphanumerical(character: string | number): boolean {\n return isAlphabetical(character) || isDecimal(character);\n}\n\n/**\n * trim-trailing-lines 1.1.4, without its `/\\n+$/`: quadratic on a long run of line endings\n * that does not end the value (the ReDoS lint's finding). Same result, linear.\n */\nexport function trimTrailingLines(value: unknown): string {\n const text = String(value);\n let end = text.length;\n while (end > 0 && text.charCodeAt(end - 1) === 10) end--;\n return text.slice(0, end);\n}\n\n/** collapse-white-space 1.0.6 */\nexport function collapseWhiteSpace(value: unknown): string {\n return String(value).replace(/\\s+/g, \" \");\n}\n\n/** ccount 1.1.0 */\nexport function ccount(source: unknown, character: string): number {\n const value = String(source);\n if (typeof character !== \"string\") throw new Error(\"Expected character\");\n let count = 0;\n let index = value.indexOf(character);\n while (index !== -1) {\n count++;\n index = value.indexOf(character, index + character.length);\n }\n return count;\n}\n\n/** state-toggle 1.0.3 */\nexport function stateToggle(\n key: string,\n state: boolean,\n ctx?: Record<string, unknown>,\n): (this: Record<string, unknown>) => () => void {\n return function enter(this: Record<string, unknown>) {\n const context = ctx ?? this;\n const current = context[key];\n context[key] = !state;\n return function exit() {\n context[key] = current;\n };\n };\n}\n\nconst escapesDefault = [\n \"\\\\\",\n \"`\",\n \"*\",\n \"{\",\n \"}\",\n \"[\",\n \"]\",\n \"(\",\n \")\",\n \"#\",\n \"+\",\n \"-\",\n \".\",\n \"!\",\n \"_\",\n \">\",\n];\nconst escapesGfm = escapesDefault.concat([\"~\", \"|\"]);\nconst escapesCommonmark = escapesGfm.concat([\n \"\\n\",\n '\"',\n \"$\",\n \"%\",\n \"&\",\n \"'\",\n \",\",\n \"/\",\n \":\",\n \";\",\n \"<\",\n \"=\",\n \"?\",\n \"@\",\n \"^\",\n]);\n\n/** markdown-escapes 1.0.4 */\nexport function markdownEscapes(options?: {\n commonmark?: boolean;\n gfm?: boolean;\n}): string[] {\n const settings = options ?? {};\n if (settings.commonmark) return escapesCommonmark;\n return settings.gfm ? escapesGfm : escapesDefault;\n}\nmarkdownEscapes.default = escapesDefault;\nmarkdownEscapes.gfm = escapesGfm;\nmarkdownEscapes.commonmark = escapesCommonmark;\n\ninterface Point {\n line: number;\n column: number;\n offset: number;\n}\n\n/** vfile-location 3.2.0 */\nexport function vfileLocation(file: unknown): {\n toPoint: (offset: number) => Point | Record<string, never>;\n toPosition: (offset: number) => Point | Record<string, never>;\n toOffset: (point: Partial<Point> | undefined) => number;\n} {\n const value = String(file);\n const indices: number[] = [];\n const search = /\\r?\\n|\\r/g;\n while (search.exec(value)) indices.push(search.lastIndex);\n indices.push(value.length + 1);\n\n function offsetToPoint(offset: number): Point | Record<string, never> {\n let index = -1;\n if (offset > -1 && offset < indices[indices.length - 1]!) {\n while (++index < indices.length) {\n if (indices[index]! > offset) {\n return {\n line: index + 1,\n column: offset - (indices[index - 1] ?? 0) + 1,\n offset,\n };\n }\n }\n }\n return {};\n }\n\n function pointToOffset(point: Partial<Point> | undefined): number {\n const line = point?.line;\n const column = point?.column;\n let offset: number | undefined;\n if (\n line !== undefined &&\n column !== undefined &&\n !Number.isNaN(line) &&\n !Number.isNaN(column) &&\n line - 1 in indices\n ) {\n offset = (indices[line - 2] ?? 0) + column - 1 || 0;\n }\n return offset !== undefined &&\n offset > -1 &&\n offset < indices[indices.length - 1]!\n ? offset\n : -1;\n }\n\n return {\n toPoint: offsetToPoint,\n toPosition: offsetToPoint,\n toOffset: pointToOffset,\n };\n}\n\ninterface Positioned {\n position?: unknown;\n children?: Positioned[];\n}\n\n/** unist-util-remove-position 2.0.1 */\nexport function removePosition<T extends Positioned>(\n node: T,\n force?: boolean,\n): T {\n const visit = (current: Positioned): void => {\n if (force) delete current.position;\n else current.position = undefined;\n for (const child of current.children ?? []) visit(child);\n };\n visit(node);\n return node;\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default indentation\n\nvar tab = '\\t'\nvar space = ' '\n\nvar spaceSize = 1\nvar tabSize = 4\n\n// Gets indentation information for a line.\nfunction indentation(value) {\n var index = 0\n var indent = 0\n var character = value.charAt(index)\n var stops = {}\n var size\n var lastIndent = 0\n\n while (character === tab || character === space) {\n size = character === tab ? tabSize : spaceSize\n\n indent += size\n\n if (size > 1) {\n indent = Math.floor(indent / size) * size\n }\n\n while (lastIndent < indent) {\n stops[++lastIndent] = index\n }\n\n character = value.charAt(++index)\n }\n\n return {indent: indent, stops: stops}\n}\n","// @ts-nocheck -- remark-parse 8.0.3's lib/util/remove-indentation.js (MIT, Titus Wormer),\n// vendored in ./vendor, with the line marked \"Obsidian:\" changed.\nimport { trim as trim } from \"./vendor/helpers.js\";\nimport { repeat as repeat } from \"./vendor/helpers.js\";\nimport getIndent from \"./vendor/remark-parse/util/get-indentation.js\";\nexport default indentation\n\nvar lineFeed = '\\n'\nvar space = ' '\nvar exclamationMark = '!'\n\n// Remove the minimum indent from every line in `value`. Supports both tab,\n// spaced, and mixed indentation (as well as possible).\nfunction indentation(value, maximum) {\n var values = value.split(lineFeed)\n var position = values.length + 1\n var minIndent = Infinity\n var matrix = []\n var index\n var indentation\n var stops\n\n values.unshift(repeat(space, maximum) + exclamationMark)\n\n while (position--) {\n indentation = getIndent(values[position])\n\n matrix[position] = indentation.stops\n\n if (trim(values[position]).length === 0) {\n continue\n }\n\n if (indentation.indent) {\n if (indentation.indent > 0 && indentation.indent < minIndent) {\n minIndent = indentation.indent\n }\n } else {\n // Obsidian (rule B3): a line with no indentation -- a lazy line -- is left out of the\n // minimum. Stock set minIndent to Infinity and stopped, cancelling every line's strip.\n continue\n }\n }\n\n if (minIndent !== Infinity) {\n position = values.length\n\n while (position--) {\n stops = matrix[position]\n index = minIndent\n\n while (index && !(index in stops)) {\n index--\n }\n\n values[position] = values[position].slice(stops[index] + 1)\n }\n }\n\n values.shift()\n\n return values.join(lineFeed)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default interrupt\n\nfunction interrupt(interruptors, tokenizers, ctx, parameters) {\n var length = interruptors.length\n var index = -1\n var interruptor\n var config\n\n while (++index < length) {\n interruptor = interruptors[index]\n config = interruptor[1] || {}\n\n if (\n config.pedantic !== undefined &&\n config.pedantic !== ctx.options.pedantic\n ) {\n continue\n }\n\n if (\n config.commonmark !== undefined &&\n config.commonmark !== ctx.options.commonmark\n ) {\n continue\n }\n\n if (tokenizers[interruptor[0]].apply(ctx, parameters)) {\n return true\n }\n }\n\n return false\n}\n","// @ts-nocheck -- remark-parse 8.0.3's lib/tokenize/list.js (MIT, Titus Wormer), vendored in\n// ./vendor, with the lines marked \"Obsidian:\" changed. The approach follows obsidian-footnotes'\n// src/parsing/remark-parse-list.js (MIT).\nimport { trim as trim } from \"./vendor/helpers.js\";\nimport { repeat as repeat } from \"./vendor/helpers.js\";\nimport { isDecimal as decimal } from \"./vendor/helpers.js\";\nimport getIndent from \"./vendor/remark-parse/util/get-indentation.js\";\nimport removeIndent from \"./remove-indentation.js\";\nimport interrupt from \"./vendor/remark-parse/util/interrupt.js\";\nexport default list\n\nvar asterisk = '*'\nvar underscore = '_'\nvar plusSign = '+'\nvar dash = '-'\nvar dot = '.'\nvar space = ' '\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar rightParenthesis = ')'\nvar lowercaseX = 'x'\n\nvar tabSize = 4\nvar looseListItemExpression = /\\n\\n(?!\\s*$)/\n// Obsidian: any one character in the box (rule B8), unless `anyTaskChar` is off.\nvar taskItemExpression = /^\\[(.)][ \\t]/\nvar stockTaskItemExpression = /^\\[([ X\\tx])][ \\t]/\nvar bulletExpression = /^([ \\t]*)([*+-]|\\d+[.)])( {1,4}(?! )| |\\t|$|(?=\\n))([^\\n]*)/\nvar pedanticBulletExpression = /^([ \\t]*)([*+-]|\\d+[.)])([ \\t]+)/\nvar initialIndentExpression = /^( {1,4}|\\t)?/gm\n\nfunction list(eat, value, silent) {\n var self = this\n var commonmark = self.options.commonmark\n var pedantic = self.options.pedantic\n var tokenizers = self.blockTokenizers\n var interuptors = self.interruptList\n var index = 0\n var length = value.length\n var start = null\n var size\n var queue\n var ordered\n var character\n var marker\n var nextIndex\n var startIndex\n var prefixed\n var currentMarker\n var content\n var line\n var previousEmpty\n var empty\n var items\n var allLines\n var emptyLines\n var item\n var enterTop\n var exitBlockquote\n var spread = false\n var node\n var now\n var end\n var indented\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space) {\n break\n }\n\n index++\n }\n\n character = value.charAt(index)\n\n if (character === asterisk || character === plusSign || character === dash) {\n marker = character\n ordered = false\n } else {\n ordered = true\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!decimal(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (\n !queue ||\n !(character === dot || (commonmark && character === rightParenthesis))\n ) {\n return\n }\n\n /* Slightly abusing `silent` mode, whose goal is to make interrupting\n * paragraphs work.\n * Well, that’s exactly what we want to do here: don’t interrupt:\n * 2. here, because the “list” doesn’t start with `1`. */\n if (silent && queue !== '1') {\n return\n }\n\n start = parseInt(queue, 10)\n marker = character\n }\n\n character = value.charAt(++index)\n\n if (\n character !== space &&\n character !== tab &&\n (pedantic || (character !== lineFeed && character !== ''))\n ) {\n return\n }\n\n if (silent) {\n return true\n }\n\n index = 0\n items = []\n allLines = []\n emptyLines = []\n\n while (index < length) {\n nextIndex = value.indexOf(lineFeed, index)\n startIndex = index\n prefixed = false\n indented = false\n\n if (nextIndex === -1) {\n nextIndex = length\n }\n\n size = 0\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === tab) {\n size += tabSize - (size % tabSize)\n } else if (character === space) {\n size++\n } else {\n break\n }\n\n index++\n }\n\n if (item && size >= item.indent) {\n indented = true\n }\n\n character = value.charAt(index)\n currentMarker = null\n\n if (!indented) {\n if (\n character === asterisk ||\n character === plusSign ||\n character === dash\n ) {\n currentMarker = character\n index++\n size++\n } else {\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!decimal(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n index++\n\n if (\n queue &&\n (character === dot || (commonmark && character === rightParenthesis))\n ) {\n currentMarker = character\n size += queue.length + 1\n }\n }\n\n if (currentMarker) {\n character = value.charAt(index)\n\n if (character === tab) {\n size += tabSize - (size % tabSize)\n index++\n } else if (character === space) {\n end = index + tabSize\n\n while (index < end) {\n if (value.charAt(index) !== space) {\n break\n }\n\n index++\n size++\n }\n\n if (index === end && value.charAt(index) === space) {\n index -= tabSize - 1\n size -= tabSize - 1\n }\n } else if (character !== lineFeed && character !== '') {\n currentMarker = null\n }\n }\n }\n\n if (currentMarker) {\n if (!pedantic && marker !== currentMarker) {\n break\n }\n\n prefixed = true\n } else {\n if (!commonmark && !indented && value.charAt(startIndex) === space) {\n indented = true\n } else if (commonmark && item) {\n indented = size >= item.indent || size > tabSize\n }\n\n prefixed = false\n index = startIndex\n }\n\n line = value.slice(startIndex, nextIndex)\n content = startIndex === index ? line : value.slice(index, nextIndex)\n\n if (\n currentMarker === asterisk ||\n currentMarker === underscore ||\n currentMarker === dash\n ) {\n if (tokenizers.thematicBreak.call(self, eat, line, true)) {\n break\n }\n }\n\n previousEmpty = empty\n empty = !prefixed && !trim(content).length\n\n if (indented && item) {\n item.value = item.value.concat(emptyLines, line)\n allLines = allLines.concat(emptyLines, line)\n emptyLines = []\n } else if (prefixed) {\n if (emptyLines.length !== 0) {\n spread = true\n item.value.push('')\n item.trail = emptyLines.concat()\n }\n\n item = {\n value: [line],\n indent: size,\n trail: []\n }\n\n items.push(item)\n allLines = allLines.concat(emptyLines, line)\n emptyLines = []\n } else if (empty) {\n if (previousEmpty && !commonmark) {\n break\n }\n\n emptyLines.push(line)\n } else {\n if (previousEmpty) {\n break\n }\n\n if (interrupt(interuptors, tokenizers, self, [eat, line, true])) {\n break\n }\n\n item.value = item.value.concat(emptyLines, line)\n allLines = allLines.concat(emptyLines, line)\n emptyLines = []\n }\n\n index = nextIndex + 1\n }\n\n node = eat(allLines.join(lineFeed)).reset({\n type: 'list',\n ordered: ordered,\n start: start,\n spread: spread,\n children: []\n })\n\n enterTop = self.enterList()\n exitBlockquote = self.enterBlock()\n index = -1\n length = items.length\n\n while (++index < length) {\n item = items[index].value.join(lineFeed)\n now = eat.now()\n\n eat(item)(listItem(self, item, now), node)\n\n item = items[index].trail.join(lineFeed)\n\n if (index !== length - 1) {\n item += lineFeed\n }\n\n eat(item)\n }\n\n enterTop()\n exitBlockquote()\n\n return node\n}\n\nfunction listItem(ctx, value, position) {\n var offsets = ctx.offset\n var fn = ctx.options.pedantic ? pedanticListItem : normalListItem\n var checked = null\n var task\n var indent\n\n value = fn.apply(null, arguments)\n\n if (ctx.options.gfm) {\n // Obsidian: the stock box when `customTaskChars` is off.\n task = value.match(\n ctx.anyTaskChar === false ? stockTaskItemExpression : taskItemExpression\n )\n\n if (task) {\n indent = task[0].length\n checked = task[1].toLowerCase() === lowercaseX\n offsets[position.line] += indent\n value = value.slice(indent)\n }\n }\n\n return {\n type: 'listItem',\n spread: looseListItemExpression.test(value),\n checked: checked,\n children: ctx.tokenizeBlock(value, position)\n }\n}\n\n// Create a list-item using overly simple mechanics.\nfunction pedanticListItem(ctx, value, position) {\n var offsets = ctx.offset\n var line = position.line\n\n // Remove the list-item’s bullet.\n value = value.replace(pedanticBulletExpression, replacer)\n\n // The initial line was also matched by the below, so we reset the `line`.\n line = position.line\n\n return value.replace(initialIndentExpression, replacer)\n\n // A simple replacer which removed all matches, and adds their length to\n // `offset`.\n function replacer($0) {\n offsets[line] = (offsets[line] || 0) + $0.length\n line++\n\n return ''\n }\n}\n\n// Create a list-item using sane mechanics.\nfunction normalListItem(ctx, value, position) {\n var offsets = ctx.offset\n var line = position.line\n var max\n var bullet\n var rest\n var lines\n var trimmedLines\n var index\n var length\n\n // Remove the list-item’s bullet.\n value = value.replace(bulletExpression, replacer)\n\n lines = value.split(lineFeed)\n\n trimmedLines = removeIndent(value, getIndent(max).indent).split(lineFeed)\n\n // We replaced the initial bullet with something else above, which was used\n // to trick `removeIndentation` into removing some more characters when\n // possible. However, that could result in the initial line to be stripped\n // more than it should be.\n trimmedLines[0] = rest\n\n offsets[line] = (offsets[line] || 0) + bullet.length\n line++\n\n index = 0\n length = lines.length\n\n while (++index < length) {\n offsets[line] =\n (offsets[line] || 0) + lines[index].length - trimmedLines[index].length\n line++\n }\n\n return trimmedLines.join(lineFeed)\n\n function replacer($0, $1, $2, $3, $4) {\n bullet = $1 + $2 + $3\n rest = $4\n\n // Make sure that the first nine numbered list items can indent with an\n // extra space. That is, when the bullet did not receive an extra final\n // space.\n if (Number($2) < 10 && bullet.length % 2 === 1) {\n $2 = space + $2\n }\n\n max = $1 + repeat(space, $2.length) + $3\n\n return max + rest\n }\n}\n","/**\n * `root.data.readsPastEnd`: whether a top-level link definition would read differently with more\n * lines after the end of this text, which matters only to a note parsed in parts.\n *\n * A link definition is the one block remark-parse 8 reads past the line after it. Its label runs\n * to the first `]` over blank lines too, line breaks may come before the destination, a\n * destination in `<...>` may hold them, and a title may start after blank lines and run over\n * several lines (`vendor/remark-parse/tokenize/definition.ts`). So a cut at a block boundary can\n * change the reading of the lines above it, in two ways:\n *\n * - **The reader declined, and more text would complete a definition.** `[a]: x \"t` is a paragraph\n * alone, and a definition once a later line closes the title. The block loop is not the only\n * one asking: a footnote definition asks at each of its lines whether a definition ends it, so\n * `[^1]: d` / `[` reads differently above `]: x` with no paragraph or table in sight. So this\n * watches the reader rather than the tree.\n * - **The reader took a definition with no title, and more text would undo it.** `[foo]: /url` is\n * a definition alone, and a paragraph above `'tit` / blank line, where the title never closes.\n * A definition with a closed title has nothing left to read.\n *\n * Answering yes when nothing would change costs a caller only a longer part, never a wrong\n * reading, so the scan need not ask what the later text is. It assumes the text ends at a line's\n * end, which a block boundary is, and reads a label, destination and title in the reader's order.\n *\n * Ported from `obsidian-footnotes` (MIT), `src/parsing/obsidian-markdown.ts`, as `reader.ts` is:\n * the scan from `definitionCutOffByTheEnd`, the wrapper from `linkDefinitionsAtTheEnd` before\n * that project's 681a223. The second case is new here: that project always parses a part with\n * the next line attached, so it never ends one on a bare definition.\n */\nimport type { Node8 } from \"./reader.js\";\n\n/** Whether a definition starting at `from` would be taken if the text went on, though it is not now. */\nfunction definitionCutOff(doc: string, from: number): boolean {\n const length = doc.length;\n const skip = (start: number, set: string): number => {\n let at = start;\n while (at < length && set.includes(doc[at]!)) at++;\n return at;\n };\n let at = skip(from, \" \\t\");\n // A `[^` is left to the footnote readers.\n if (doc[at] !== \"[\" || doc[at + 1] === \"^\") return false;\n const labelStart = ++at;\n while (at < length && doc[at] !== \"]\") at += doc[at] === \"\\\\\" ? 2 : 1;\n if (at >= length) return true;\n if (at === labelStart || doc[at + 1] !== \":\") return false;\n at = skip(at + 2, \" \\t\\n\");\n if (at >= length) return true;\n let enclosed = 0;\n if (doc[at] === \"<\") {\n const open = ++at;\n while (at < length && !\">[]\".includes(doc[at]!)) at++;\n if (at >= length) return true;\n if (doc[at] !== \">\") return false;\n enclosed = at - open;\n at++;\n }\n // `<>` is no destination: the reader goes on to look for a bare one after it.\n if (enclosed === 0) {\n const bare = at;\n while (at < length && !/[[\\]\\s]/u.test(doc[at]!)) at++;\n if (at === bare) return at >= length;\n }\n const gap = skip(at, \" \\t\\n\");\n if (gap === at || gap >= length) return false;\n const opener = doc[gap];\n const closer =\n opener === '\"' || opener === \"'\" ? opener : opener === \"(\" ? \")\" : \"\";\n if (closer === \"\") return false;\n at = gap + 1;\n while (at < length && doc[at] !== closer) {\n if (doc[at] === \"\\n\") {\n at++;\n // A blank line, or a closer straight after a line ending, ends the title for good.\n if (doc[at] === \"\\n\" || doc[at] === closer) return false;\n }\n at++;\n }\n return at >= length;\n}\n\n/**\n * Notes a decline the end of the text is to blame for. A quote, a list item or a footnote's body\n * ends itself, so only the top level counts. A footnote definition's check sees 1,024 characters\n * at most, and a window short of the text's end is not cut off by it.\n */\nexport function watchDefinitionReader(tables: any): void {\n const stock = tables.blockTokenizers.definition;\n tables.blockTokenizers.definition = function (\n this: any,\n eat: unknown,\n value: string,\n silent?: boolean,\n ) {\n const result = stock.call(this, eat, value, silent);\n if (\n !result &&\n !this.definitionCutOff &&\n !this.inList &&\n !this.inBlock &&\n definitionCutOff(value, 0) &&\n // A top-level block's remaining text is the file's tail only because `adapt.ts` normalizes\n // line endings and drops a byte order mark first. A direct caller passing raw `\\r\\n` text\n // would get a silent `false` here.\n this.file.toString().endsWith(value)\n ) {\n this.definitionCutOff = true;\n }\n return result;\n };\n}\n\n/** The answer, from what the watched reader noted and the tree it built. */\nexport function readsPastEnd(parser: any, tree: Node8): boolean {\n const last = tree.children?.[tree.children.length - 1];\n return (\n parser.definitionCutOff === true ||\n (last?.type === \"definition\" && last.title == null)\n );\n}\n","// @ts-nocheck -- vendored from remark-footnotes 2.0.0 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default footnotes\n\nvar tab = 9 // '\\t'\nvar lineFeed = 10 // '\\n'\nvar space = 32\nvar exclamationMark = 33 // '!'\nvar colon = 58 // ':'\nvar leftSquareBracket = 91 // '['\nvar backslash = 92 // '\\'\nvar rightSquareBracket = 93 // ']'\nvar caret = 94 // '^'\nvar graveAccent = 96 // '`'\n\nvar tabSize = 4\nvar maxSlice = 1024\n\nfunction footnotes(options) {\n var parser = this.Parser\n var compiler = this.Compiler\n\n if (isRemarkParser(parser)) {\n attachParser(parser, options)\n }\n\n if (isRemarkCompiler(compiler)) {\n attachCompiler(compiler)\n }\n}\n\nfunction isRemarkParser(parser) {\n return Boolean(parser && parser.prototype && parser.prototype.blockTokenizers)\n}\n\nfunction isRemarkCompiler(compiler) {\n return Boolean(compiler && compiler.prototype && compiler.prototype.visitors)\n}\n\nfunction attachParser(parser, options) {\n var settings = options || {}\n var proto = parser.prototype\n var blocks = proto.blockTokenizers\n var spans = proto.inlineTokenizers\n var blockMethods = proto.blockMethods\n var inlineMethods = proto.inlineMethods\n var originalDefinition = blocks.definition\n var originalReference = spans.reference\n var interruptors = []\n var index = -1\n var length = blockMethods.length\n var method\n\n // Interrupt by anything except for indented code or paragraphs.\n while (++index < length) {\n method = blockMethods[index]\n\n if (\n method === 'newline' ||\n method === 'indentedCode' ||\n method === 'paragraph' ||\n method === 'footnoteDefinition'\n ) {\n continue\n }\n\n interruptors.push([method])\n }\n\n interruptors.push(['footnoteDefinition'])\n\n // Insert tokenizers.\n if (settings.inlineNotes) {\n before(inlineMethods, 'reference', 'inlineNote')\n spans.inlineNote = footnote\n }\n\n before(blockMethods, 'definition', 'footnoteDefinition')\n before(inlineMethods, 'reference', 'footnoteCall')\n\n blocks.definition = definition\n blocks.footnoteDefinition = footnoteDefinition\n spans.footnoteCall = footnoteCall\n spans.reference = reference\n\n proto.interruptFootnoteDefinition = interruptors\n reference.locator = originalReference.locator\n footnoteCall.locator = locateFootnoteCall\n footnote.locator = locateFootnote\n\n function footnoteDefinition(eat, value, silent) {\n var self = this\n var interruptors = self.interruptFootnoteDefinition\n var offsets = self.offset\n var length = value.length + 1\n var index = 0\n var content = []\n var label\n var labelStart\n var labelEnd\n var code\n var now\n var add\n var exit\n var children\n var start\n var indent\n var contentStart\n var lines\n var line\n\n // Skip initial whitespace.\n while (index < length) {\n code = value.charCodeAt(index)\n if (code !== tab && code !== space) break\n index++\n }\n\n // Parse `[^`.\n if (value.charCodeAt(index++) !== leftSquareBracket) return\n if (value.charCodeAt(index++) !== caret) return\n\n // Parse label.\n labelStart = index\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n // Exit on white space.\n if (\n code !== code ||\n code === lineFeed ||\n code === tab ||\n code === space\n ) {\n return\n }\n\n if (code === rightSquareBracket) {\n labelEnd = index\n index++\n break\n }\n\n index++\n }\n\n // Exit if we didn’t find an end, no label, or there’s no colon.\n if (\n labelEnd === undefined ||\n labelStart === labelEnd ||\n value.charCodeAt(index++) !== colon\n ) {\n return\n }\n\n // Found it!\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n label = value.slice(labelStart, labelEnd)\n\n // Now, to get all lines.\n now = eat.now()\n start = 0\n indent = 0\n contentStart = index\n lines = []\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n if (code !== code || code === lineFeed) {\n line = {\n start: start,\n contentStart: contentStart || index,\n contentEnd: index,\n end: index\n }\n\n lines.push(line)\n\n // Prepare a new line.\n if (code === lineFeed) {\n start = index + 1\n indent = 0\n contentStart = undefined\n\n line.end = start\n }\n } else if (indent !== undefined) {\n if (code === space || code === tab) {\n indent += code === space ? 1 : tabSize - (indent % tabSize)\n\n if (indent > tabSize) {\n indent = undefined\n contentStart = index\n }\n } else {\n // If this line is not indented and it’s either preceded by a blank\n // line or starts a new block, exit.\n if (\n indent < tabSize &&\n line &&\n (line.contentStart === line.contentEnd ||\n interrupt(interruptors, blocks, self, [\n eat,\n value.slice(index, maxSlice),\n true\n ]))\n ) {\n break\n }\n\n indent = undefined\n contentStart = index\n }\n }\n\n index++\n }\n\n // Remove trailing lines without content.\n index = -1\n length = lines.length\n\n while (length > 0) {\n line = lines[length - 1]\n\n if (line.contentStart !== line.contentEnd) {\n break\n }\n\n length--\n }\n\n // Add all, but ignore the final line feed.\n add = eat(value.slice(0, line.contentEnd))\n\n // Add indent offsets and get content w/o indents.\n while (++index < length) {\n line = lines[index]\n\n offsets[now.line + index] =\n (offsets[now.line + index] || 0) + (line.contentStart - line.start)\n\n content.push(value.slice(line.contentStart, line.end))\n }\n\n // Parse content.\n exit = self.enterBlock()\n children = self.tokenizeBlock(content.join(''), now)\n exit()\n\n return add({\n type: 'footnoteDefinition',\n identifier: label.toLowerCase(),\n label: label,\n children: children\n })\n }\n\n // Parse a footnote call / footnote reference, such as `[^label]`\n function footnoteCall(eat, value, silent) {\n var length = value.length + 1\n var index = 0\n var label\n var labelStart\n var labelEnd\n var code\n\n if (value.charCodeAt(index++) !== leftSquareBracket) return\n if (value.charCodeAt(index++) !== caret) return\n\n labelStart = index\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n if (\n code !== code ||\n code === lineFeed ||\n code === tab ||\n code === space\n ) {\n return\n }\n\n if (code === rightSquareBracket) {\n labelEnd = index\n index++\n break\n }\n\n index++\n }\n\n if (labelEnd === undefined || labelStart === labelEnd) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n label = value.slice(labelStart, labelEnd)\n\n return eat(value.slice(0, index))({\n type: 'footnoteReference',\n identifier: label.toLowerCase(),\n label: label\n })\n }\n\n // Parse an inline note / footnote, such as `^[text]`\n function footnote(eat, value, silent) {\n var self = this\n var length = value.length + 1\n var index = 0\n var balance = 0\n var now\n var code\n var contentStart\n var contentEnd\n var fenceStart\n var fenceOpenSize\n var fenceCloseSize\n\n if (value.charCodeAt(index++) !== caret) return\n if (value.charCodeAt(index++) !== leftSquareBracket) return\n\n contentStart = index\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n // EOF:\n if (code !== code) {\n return\n }\n\n // If we’re not in code:\n if (fenceOpenSize === undefined) {\n if (code === backslash) {\n index += 2\n } else if (code === leftSquareBracket) {\n balance++\n index++\n } else if (code === rightSquareBracket) {\n if (balance === 0) {\n contentEnd = index\n index++\n break\n } else {\n balance--\n index++\n }\n } else if (code === graveAccent) {\n fenceStart = index\n fenceOpenSize = 1\n\n while (value.charCodeAt(fenceStart + fenceOpenSize) === graveAccent) {\n fenceOpenSize++\n }\n\n index += fenceOpenSize\n } else {\n index++\n }\n }\n // We’re in code:\n else {\n if (code === graveAccent) {\n fenceStart = index\n fenceCloseSize = 1\n\n while (\n value.charCodeAt(fenceStart + fenceCloseSize) === graveAccent\n ) {\n fenceCloseSize++\n }\n\n index += fenceCloseSize\n\n // Found it, we’re no longer in code!\n if (fenceOpenSize === fenceCloseSize) {\n fenceOpenSize = undefined\n }\n\n fenceCloseSize = undefined\n } else {\n index++\n }\n }\n }\n\n if (contentEnd === undefined) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n now = eat.now()\n now.column += 2\n now.offset += 2\n\n return eat(value.slice(0, index))({\n type: 'footnote',\n children: self.tokenizeInline(value.slice(contentStart, contentEnd), now)\n })\n }\n\n // Do not allow `![^` or `[^` as a normal reference, do pass all other values\n // through.\n function reference(eat, value, silent) {\n var index = 0\n if (value.charCodeAt(index) === exclamationMark) index++\n if (value.charCodeAt(index) !== leftSquareBracket) return\n if (value.charCodeAt(index + 1) === caret) return\n return originalReference.call(this, eat, value, silent)\n }\n\n // Do not allow `[^` as a normal definition, do pass all other values through.\n function definition(eat, value, silent) {\n var index = 0\n var code = value.charCodeAt(index)\n while (code === space || code === tab) code = value.charCodeAt(++index)\n if (code !== leftSquareBracket) return\n if (value.charCodeAt(index + 1) === caret) return\n return originalDefinition.call(this, eat, value, silent)\n }\n\n function locateFootnoteCall(value, from) {\n return value.indexOf('[', from)\n }\n\n function locateFootnote(value, from) {\n return value.indexOf('^[', from)\n }\n}\n\nfunction attachCompiler(compiler) {\n var serializers = compiler.prototype.visitors\n var indent = ' '\n\n serializers.footnote = footnote\n serializers.footnoteReference = footnoteReference\n serializers.footnoteDefinition = footnoteDefinition\n\n function footnote(node) {\n return '^[' + this.all(node).join('') + ']'\n }\n\n function footnoteReference(node) {\n return '[^' + (node.label || node.identifier) + ']'\n }\n\n function footnoteDefinition(node) {\n var lines = this.all(node).join('\\n\\n').split('\\n')\n var index = 0\n var length = lines.length\n var line\n\n // Indent each line, except the first, that is not empty.\n while (++index < length) {\n line = lines[index]\n if (line === '') continue\n lines[index] = indent + line\n }\n\n return '[^' + (node.label || node.identifier) + ']: ' + lines.join('\\n')\n }\n}\n\nfunction before(list, before, value) {\n list.splice(list.indexOf(before), 0, value)\n}\n\n// Mimics <https://github.com/remarkjs/remark/blob/b4c993e/packages/remark-parse/lib/util/interrupt.js>,\n// but simplified for our needs.\nfunction interrupt(list, tokenizers, ctx, parameters) {\n var length = list.length\n var index = -1\n\n while (++index < length) {\n if (tokenizers[list[index][0]].apply(ctx, parameters)) {\n return true\n }\n }\n\n return false\n}\n","// @ts-nocheck -- vendored from remark-math 3.0.1 (MIT, Junyoung Choi), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport { isRemarkParser }\nexport { isRemarkCompiler }\n\nfunction isRemarkParser(parser) {\n return Boolean(parser && parser.prototype && parser.prototype.blockTokenizers)\n}\n\nfunction isRemarkCompiler(compiler) {\n return Boolean(compiler && compiler.prototype && compiler.prototype.visitors)\n}\n","// @ts-nocheck -- vendored from remark-math 3.0.1 (MIT, Junyoung Choi), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport * as util from \"./util.js\";\nexport default mathInline\n\nconst tab = 9 // '\\t'\nconst space = 32 // ' '\nconst dollarSign = 36 // '$'\nconst digit0 = 48 // '0'\nconst digit9 = 57 // '9'\nconst backslash = 92 // '\\\\'\n\nconst classList = ['math', 'math-inline']\nconst mathDisplay = 'math-display'\n\nfunction mathInline(options) {\n const parser = this.Parser\n const compiler = this.Compiler\n\n if (util.isRemarkParser(parser)) {\n attachParser(parser, options)\n }\n\n if (util.isRemarkCompiler(compiler)) {\n attachCompiler(compiler, options)\n }\n}\n\nfunction attachParser(parser, options) {\n const proto = parser.prototype\n const inlineMethods = proto.inlineMethods\n\n mathInlineTokenizer.locator = locator\n\n proto.inlineTokenizers.math = mathInlineTokenizer\n\n inlineMethods.splice(inlineMethods.indexOf('text'), 0, 'math')\n\n function locator(value, fromIndex) {\n return value.indexOf('$', fromIndex)\n }\n\n function mathInlineTokenizer(eat, value, silent) {\n const length = value.length\n let double = false\n let escaped = false\n let index = 0\n let previous\n let code\n let next\n let contentStart\n let contentEnd\n let valueEnd\n let content\n\n if (value.charCodeAt(index) === backslash) {\n escaped = true\n index++\n }\n\n if (value.charCodeAt(index) !== dollarSign) {\n return\n }\n\n index++\n\n // Support escaped dollars.\n if (escaped) {\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n return eat(value.slice(0, index))({type: 'text', value: '$'})\n }\n\n if (value.charCodeAt(index) === dollarSign) {\n double = true\n index++\n }\n\n next = value.charCodeAt(index)\n\n // Opening fence cannot be followed by a space or a tab.\n if (next === space || next === tab) {\n return\n }\n\n contentStart = index\n\n while (index < length) {\n code = next\n next = value.charCodeAt(index + 1)\n\n if (code === dollarSign) {\n previous = value.charCodeAt(index - 1)\n\n // Closing fence cannot be preceded by a space or a tab, or followed by\n // a digit.\n // If a double marker was used to open, the closing fence must consist\n // of two dollars as well.\n if (\n previous !== space &&\n previous !== tab &&\n (next !== next || next < digit0 || next > digit9) &&\n (!double || next === dollarSign)\n ) {\n contentEnd = index - 1\n\n index++\n\n if (double) {\n index++\n }\n\n valueEnd = index\n break\n }\n } else if (code === backslash) {\n index++\n next = value.charCodeAt(index + 1)\n }\n\n index++\n }\n\n if (valueEnd === undefined) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n content = value.slice(contentStart, contentEnd + 1)\n\n return eat(value.slice(0, valueEnd))({\n type: 'inlineMath',\n value: content,\n data: {\n hName: 'span',\n hProperties: {\n className: classList.concat(\n double && options.inlineMathDouble ? [mathDisplay] : []\n )\n },\n hChildren: [{type: 'text', value: content}]\n }\n })\n }\n}\n\nfunction attachCompiler(compiler) {\n const proto = compiler.prototype\n\n proto.visitors.inlineMath = compileInlineMath\n\n function compileInlineMath(node) {\n let fence = '$'\n const classes =\n (node.data && node.data.hProperties && node.data.hProperties.className) ||\n []\n\n if (classes.includes(mathDisplay)) {\n fence = '$$'\n }\n\n return fence + node.value + fence\n }\n}\n","// @ts-nocheck -- vendored from remark-math 3.0.1 (MIT, Junyoung Choi), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport * as util from \"./util.js\";\nexport default mathBlock\n\nconst lineFeed = 10 // '\\n'\nconst space = 32 // ' '\nconst dollarSign = 36 // '$'\n\nconst lineFeedChar = '\\n'\nconst dollarSignChar = '$'\n\nconst minFenceCount = 2\n\nconst classList = ['math', 'math-display']\n\nfunction mathBlock() {\n const parser = this.Parser\n const compiler = this.Compiler\n\n if (util.isRemarkParser(parser)) {\n attachParser(parser)\n }\n\n if (util.isRemarkCompiler(compiler)) {\n attachCompiler(compiler)\n }\n}\n\nfunction attachParser(parser) {\n const proto = parser.prototype\n const blockMethods = proto.blockMethods\n const interruptParagraph = proto.interruptParagraph\n const interruptList = proto.interruptList\n const interruptBlockquote = proto.interruptBlockquote\n\n proto.blockTokenizers.math = mathBlockTokenizer\n\n blockMethods.splice(blockMethods.indexOf('fencedCode') + 1, 0, 'math')\n\n // Inject math to interrupt rules\n interruptParagraph.splice(interruptParagraph.indexOf('fencedCode') + 1, 0, [\n 'math'\n ])\n interruptList.splice(interruptList.indexOf('fencedCode') + 1, 0, ['math'])\n interruptBlockquote.splice(interruptBlockquote.indexOf('fencedCode') + 1, 0, [\n 'math'\n ])\n\n function mathBlockTokenizer(eat, value, silent) {\n var length = value.length\n var index = 0\n let code\n let content\n let lineEnd\n let lineIndex\n let openingFenceIndentSize\n let openingFenceSize\n let openingFenceContentStart\n let closingFence\n let closingFenceSize\n let lineContentStart\n let lineContentEnd\n\n // Skip initial spacing.\n while (index < length && value.charCodeAt(index) === space) {\n index++\n }\n\n openingFenceIndentSize = index\n\n // Skip the fence.\n while (index < length && value.charCodeAt(index) === dollarSign) {\n index++\n }\n\n openingFenceSize = index - openingFenceIndentSize\n\n // Exit if there is not enough of a fence.\n if (openingFenceSize < minFenceCount) {\n return\n }\n\n // Skip spacing after the fence.\n while (index < length && value.charCodeAt(index) === space) {\n index++\n }\n\n openingFenceContentStart = index\n\n // Eat everything after the fence.\n while (index < length) {\n code = value.charCodeAt(index)\n\n // We don’t allow dollar signs here, as that could interfere with inline\n // math.\n if (code === dollarSign) {\n return\n }\n\n if (code === lineFeed) {\n break\n }\n\n index++\n }\n\n if (value.charCodeAt(index) !== lineFeed) {\n return\n }\n\n if (silent) {\n return true\n }\n\n content = []\n\n if (openingFenceContentStart !== index) {\n content.push(value.slice(openingFenceContentStart, index))\n }\n\n index++\n lineEnd = value.indexOf(lineFeedChar, index + 1)\n lineEnd = lineEnd === -1 ? length : lineEnd\n\n while (index < length) {\n closingFence = false\n lineContentStart = index\n lineContentEnd = lineEnd\n lineIndex = lineEnd\n closingFenceSize = 0\n\n // First, let’s see if this is a valid closing fence.\n // Skip trailing white space\n while (\n lineIndex > lineContentStart &&\n value.charCodeAt(lineIndex - 1) === space\n ) {\n lineIndex--\n }\n\n // Skip the fence.\n while (\n lineIndex > lineContentStart &&\n value.charCodeAt(lineIndex - 1) === dollarSign\n ) {\n closingFenceSize++\n lineIndex--\n }\n\n // Check if this is a valid closing fence line.\n if (\n openingFenceSize <= closingFenceSize &&\n value.indexOf(dollarSignChar, lineContentStart) === lineIndex\n ) {\n closingFence = true\n lineContentEnd = lineIndex\n }\n\n // Sweet, next, we need to trim the line.\n // Skip initial spacing.\n while (\n lineContentStart <= lineContentEnd &&\n lineContentStart - index < openingFenceIndentSize &&\n value.charCodeAt(lineContentStart) === space\n ) {\n lineContentStart++\n }\n\n // If this is a closing fence, skip final spacing.\n if (closingFence) {\n while (\n lineContentEnd > lineContentStart &&\n value.charCodeAt(lineContentEnd - 1) === space\n ) {\n lineContentEnd--\n }\n }\n\n // If this is a content line, or if there is content before the fence:\n if (!closingFence || lineContentStart !== lineContentEnd) {\n content.push(value.slice(lineContentStart, lineContentEnd))\n }\n\n if (closingFence) {\n break\n }\n\n index = lineEnd + 1\n lineEnd = value.indexOf(lineFeedChar, index + 1)\n lineEnd = lineEnd === -1 ? length : lineEnd\n }\n\n content = content.join('\\n')\n\n return eat(value.slice(0, lineEnd))({\n type: 'math',\n value: content,\n data: {\n hName: 'div',\n hProperties: {className: classList.concat()},\n hChildren: [{type: 'text', value: content}]\n }\n })\n }\n}\n\nfunction attachCompiler(compiler) {\n const proto = compiler.prototype\n\n proto.visitors.math = compileBlockMath\n\n function compileBlockMath(node) {\n return '$$\\n' + node.value + '\\n$$'\n }\n}\n","// @ts-nocheck -- vendored from remark-math 3.0.1 (MIT, Junyoung Choi), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport inlinePlugin from \"./inline.js\";\nimport blockPlugin from \"./block.js\";\nexport default math\n\nfunction math(options) {\n var settings = options || {}\n blockPlugin.call(this, settings)\n inlinePlugin.call(this, settings)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default factory\n\nvar backslash = '\\\\'\n\n// Factory to de-escape a value, based on a list at `key` in `ctx`.\nfunction factory(ctx, key) {\n return unescape\n\n // De-escape a string using the expression at `key` in `ctx`.\n function unescape(value) {\n var previous = 0\n var index = value.indexOf(backslash)\n var escape = ctx[key]\n var queue = []\n var character\n\n while (index !== -1) {\n queue.push(value.slice(previous, index))\n previous = index + 1\n character = value.charAt(previous)\n\n // If the following character is not a valid escape, add the slash.\n if (!character || escape.indexOf(character) === -1) {\n queue.push(backslash)\n }\n\n index = value.indexOf(backslash, previous + 1)\n }\n\n queue.push(value.slice(previous))\n\n return queue.join('')\n }\n}\n","// Generated by scripts/vendor-rp8.py: the v1 tables parse-entities 2.0.0 was written against.\n// They are NOT the modern packages' tables -- 97 prefix entries and 4 values differ -- and\n// the greedy legacy matcher depends on exactly these.\n/* character-entities 1.2.4, character-entities-legacy 1.1.4, character-reference-invalid\n 1.1.4 -- all MIT, Titus Wormer. */\nexport const characterEntities: Record<string, string> = JSON.parse(\"{\\\"AEli\\\": \\\"\\u00c6\\\", \\\"AElig\\\": \\\"\\u00c6\\\", \\\"AM\\\": \\\"&\\\", \\\"AMP\\\": \\\"&\\\", \\\"Aacut\\\": \\\"\\u00c1\\\", \\\"Aacute\\\": \\\"\\u00c1\\\", \\\"Abreve\\\": \\\"\\u0102\\\", \\\"Acir\\\": \\\"\\u00c2\\\", \\\"Acirc\\\": \\\"\\u00c2\\\", \\\"Acy\\\": \\\"\\u0410\\\", \\\"Afr\\\": \\\"\\ud835\\udd04\\\", \\\"Agrav\\\": \\\"\\u00c0\\\", \\\"Agrave\\\": \\\"\\u00c0\\\", \\\"Alpha\\\": \\\"\\u0391\\\", \\\"Amacr\\\": \\\"\\u0100\\\", \\\"And\\\": \\\"\\u2a53\\\", \\\"Aogon\\\": \\\"\\u0104\\\", \\\"Aopf\\\": \\\"\\ud835\\udd38\\\", \\\"ApplyFunction\\\": \\\"\\u2061\\\", \\\"Arin\\\": \\\"\\u00c5\\\", \\\"Aring\\\": \\\"\\u00c5\\\", \\\"Ascr\\\": \\\"\\ud835\\udc9c\\\", \\\"Assign\\\": \\\"\\u2254\\\", \\\"Atild\\\": \\\"\\u00c3\\\", \\\"Atilde\\\": \\\"\\u00c3\\\", \\\"Aum\\\": \\\"\\u00c4\\\", \\\"Auml\\\": \\\"\\u00c4\\\", \\\"Backslash\\\": \\\"\\u2216\\\", \\\"Barv\\\": \\\"\\u2ae7\\\", \\\"Barwed\\\": \\\"\\u2306\\\", \\\"Bcy\\\": \\\"\\u0411\\\", \\\"Because\\\": \\\"\\u2235\\\", \\\"Bernoullis\\\": \\\"\\u212c\\\", \\\"Beta\\\": \\\"\\u0392\\\", \\\"Bfr\\\": \\\"\\ud835\\udd05\\\", \\\"Bopf\\\": \\\"\\ud835\\udd39\\\", \\\"Breve\\\": \\\"\\u02d8\\\", \\\"Bscr\\\": \\\"\\u212c\\\", \\\"Bumpeq\\\": \\\"\\u224e\\\", \\\"CHcy\\\": \\\"\\u0427\\\", \\\"COP\\\": \\\"\\u00a9\\\", \\\"COPY\\\": \\\"\\u00a9\\\", \\\"Cacute\\\": \\\"\\u0106\\\", \\\"Cap\\\": \\\"\\u22d2\\\", \\\"CapitalDifferentialD\\\": \\\"\\u2145\\\", \\\"Cayleys\\\": \\\"\\u212d\\\", \\\"Ccaron\\\": \\\"\\u010c\\\", \\\"Ccedi\\\": \\\"\\u00c7\\\", \\\"Ccedil\\\": \\\"\\u00c7\\\", \\\"Ccirc\\\": \\\"\\u0108\\\", \\\"Cconint\\\": \\\"\\u2230\\\", \\\"Cdot\\\": \\\"\\u010a\\\", \\\"Cedilla\\\": \\\"\\u00b8\\\", \\\"CenterDot\\\": \\\"\\u00b7\\\", \\\"Cfr\\\": \\\"\\u212d\\\", \\\"Chi\\\": \\\"\\u03a7\\\", \\\"CircleDot\\\": \\\"\\u2299\\\", \\\"CircleMinus\\\": \\\"\\u2296\\\", \\\"CirclePlus\\\": \\\"\\u2295\\\", \\\"CircleTimes\\\": \\\"\\u2297\\\", \\\"ClockwiseContourIntegral\\\": \\\"\\u2232\\\", \\\"CloseCurlyDoubleQuote\\\": \\\"\\u201d\\\", \\\"CloseCurlyQuote\\\": \\\"\\u2019\\\", \\\"Colon\\\": \\\"\\u2237\\\", \\\"Colone\\\": \\\"\\u2a74\\\", \\\"Congruent\\\": \\\"\\u2261\\\", \\\"Conint\\\": \\\"\\u222f\\\", \\\"ContourIntegral\\\": \\\"\\u222e\\\", \\\"Copf\\\": \\\"\\u2102\\\", \\\"Coproduct\\\": \\\"\\u2210\\\", \\\"CounterClockwiseContourIntegral\\\": \\\"\\u2233\\\", \\\"Cross\\\": \\\"\\u2a2f\\\", \\\"Cscr\\\": \\\"\\ud835\\udc9e\\\", \\\"Cup\\\": \\\"\\u22d3\\\", \\\"CupCap\\\": \\\"\\u224d\\\", \\\"DD\\\": \\\"\\u2145\\\", \\\"DDotrahd\\\": \\\"\\u2911\\\", \\\"DJcy\\\": \\\"\\u0402\\\", \\\"DScy\\\": \\\"\\u0405\\\", \\\"DZcy\\\": \\\"\\u040f\\\", \\\"Dagger\\\": \\\"\\u2021\\\", \\\"Darr\\\": \\\"\\u21a1\\\", \\\"Dashv\\\": \\\"\\u2ae4\\\", \\\"Dcaron\\\": \\\"\\u010e\\\", \\\"Dcy\\\": \\\"\\u0414\\\", \\\"Del\\\": \\\"\\u2207\\\", \\\"Delta\\\": \\\"\\u0394\\\", \\\"Dfr\\\": \\\"\\ud835\\udd07\\\", \\\"DiacriticalAcute\\\": \\\"\\u00b4\\\", \\\"DiacriticalDot\\\": \\\"\\u02d9\\\", \\\"DiacriticalDoubleAcute\\\": \\\"\\u02dd\\\", \\\"DiacriticalGrave\\\": \\\"`\\\", \\\"DiacriticalTilde\\\": \\\"\\u02dc\\\", \\\"Diamond\\\": \\\"\\u22c4\\\", \\\"DifferentialD\\\": \\\"\\u2146\\\", \\\"Dopf\\\": \\\"\\ud835\\udd3b\\\", \\\"Dot\\\": \\\"\\u00a8\\\", \\\"DotDot\\\": \\\"\\u20dc\\\", \\\"DotEqual\\\": \\\"\\u2250\\\", \\\"DoubleContourIntegral\\\": \\\"\\u222f\\\", \\\"DoubleDot\\\": \\\"\\u00a8\\\", \\\"DoubleDownArrow\\\": \\\"\\u21d3\\\", \\\"DoubleLeftArrow\\\": \\\"\\u21d0\\\", \\\"DoubleLeftRightArrow\\\": \\\"\\u21d4\\\", \\\"DoubleLeftTee\\\": \\\"\\u2ae4\\\", \\\"DoubleLongLeftArrow\\\": \\\"\\u27f8\\\", \\\"DoubleLongLeftRightArrow\\\": \\\"\\u27fa\\\", \\\"DoubleLongRightArrow\\\": \\\"\\u27f9\\\", \\\"DoubleRightArrow\\\": \\\"\\u21d2\\\", \\\"DoubleRightTee\\\": \\\"\\u22a8\\\", \\\"DoubleUpArrow\\\": \\\"\\u21d1\\\", \\\"DoubleUpDownArrow\\\": \\\"\\u21d5\\\", \\\"DoubleVerticalBar\\\": \\\"\\u2225\\\", \\\"DownArrow\\\": \\\"\\u2193\\\", \\\"DownArrowBar\\\": \\\"\\u2913\\\", \\\"DownArrowUpArrow\\\": \\\"\\u21f5\\\", \\\"DownBreve\\\": \\\"\\u0311\\\", \\\"DownLeftRightVector\\\": \\\"\\u2950\\\", \\\"DownLeftTeeVector\\\": \\\"\\u295e\\\", \\\"DownLeftVector\\\": \\\"\\u21bd\\\", \\\"DownLeftVectorBar\\\": \\\"\\u2956\\\", \\\"DownRightTeeVector\\\": \\\"\\u295f\\\", \\\"DownRightVector\\\": \\\"\\u21c1\\\", \\\"DownRightVectorBar\\\": \\\"\\u2957\\\", \\\"DownTee\\\": \\\"\\u22a4\\\", \\\"DownTeeArrow\\\": \\\"\\u21a7\\\", \\\"Downarrow\\\": \\\"\\u21d3\\\", \\\"Dscr\\\": \\\"\\ud835\\udc9f\\\", \\\"Dstrok\\\": \\\"\\u0110\\\", \\\"ENG\\\": \\\"\\u014a\\\", \\\"ET\\\": \\\"\\u00d0\\\", \\\"ETH\\\": \\\"\\u00d0\\\", \\\"Eacut\\\": \\\"\\u00c9\\\", \\\"Eacute\\\": \\\"\\u00c9\\\", \\\"Ecaron\\\": \\\"\\u011a\\\", \\\"Ecir\\\": \\\"\\u00ca\\\", \\\"Ecirc\\\": \\\"\\u00ca\\\", \\\"Ecy\\\": \\\"\\u042d\\\", \\\"Edot\\\": \\\"\\u0116\\\", \\\"Efr\\\": \\\"\\ud835\\udd08\\\", \\\"Egrav\\\": \\\"\\u00c8\\\", \\\"Egrave\\\": \\\"\\u00c8\\\", \\\"Element\\\": \\\"\\u2208\\\", \\\"Emacr\\\": \\\"\\u0112\\\", \\\"EmptySmallSquare\\\": \\\"\\u25fb\\\", \\\"EmptyVerySmallSquare\\\": \\\"\\u25ab\\\", \\\"Eogon\\\": \\\"\\u0118\\\", \\\"Eopf\\\": \\\"\\ud835\\udd3c\\\", \\\"Epsilon\\\": \\\"\\u0395\\\", \\\"Equal\\\": \\\"\\u2a75\\\", \\\"EqualTilde\\\": \\\"\\u2242\\\", \\\"Equilibrium\\\": \\\"\\u21cc\\\", \\\"Escr\\\": \\\"\\u2130\\\", \\\"Esim\\\": \\\"\\u2a73\\\", \\\"Eta\\\": \\\"\\u0397\\\", \\\"Eum\\\": \\\"\\u00cb\\\", \\\"Euml\\\": \\\"\\u00cb\\\", \\\"Exists\\\": \\\"\\u2203\\\", \\\"ExponentialE\\\": \\\"\\u2147\\\", \\\"Fcy\\\": \\\"\\u0424\\\", \\\"Ffr\\\": \\\"\\ud835\\udd09\\\", \\\"FilledSmallSquare\\\": \\\"\\u25fc\\\", \\\"FilledVerySmallSquare\\\": \\\"\\u25aa\\\", \\\"Fopf\\\": \\\"\\ud835\\udd3d\\\", \\\"ForAll\\\": \\\"\\u2200\\\", \\\"Fouriertrf\\\": \\\"\\u2131\\\", \\\"Fscr\\\": \\\"\\u2131\\\", \\\"GJcy\\\": \\\"\\u0403\\\", \\\"G\\\": \\\">\\\", \\\"GT\\\": \\\">\\\", \\\"Gamma\\\": \\\"\\u0393\\\", \\\"Gammad\\\": \\\"\\u03dc\\\", \\\"Gbreve\\\": \\\"\\u011e\\\", \\\"Gcedil\\\": \\\"\\u0122\\\", \\\"Gcirc\\\": \\\"\\u011c\\\", \\\"Gcy\\\": \\\"\\u0413\\\", \\\"Gdot\\\": \\\"\\u0120\\\", \\\"Gfr\\\": \\\"\\ud835\\udd0a\\\", \\\"Gg\\\": \\\"\\u22d9\\\", \\\"Gopf\\\": \\\"\\ud835\\udd3e\\\", \\\"GreaterEqual\\\": \\\"\\u2265\\\", \\\"GreaterEqualLess\\\": \\\"\\u22db\\\", \\\"GreaterFullEqual\\\": \\\"\\u2267\\\", \\\"GreaterGreater\\\": \\\"\\u2aa2\\\", \\\"GreaterLess\\\": \\\"\\u2277\\\", \\\"GreaterSlantEqual\\\": \\\"\\u2a7e\\\", \\\"GreaterTilde\\\": \\\"\\u2273\\\", \\\"Gscr\\\": \\\"\\ud835\\udca2\\\", \\\"Gt\\\": \\\"\\u226b\\\", \\\"HARDcy\\\": \\\"\\u042a\\\", \\\"Hacek\\\": \\\"\\u02c7\\\", \\\"Hat\\\": \\\"^\\\", \\\"Hcirc\\\": \\\"\\u0124\\\", \\\"Hfr\\\": \\\"\\u210c\\\", \\\"HilbertSpace\\\": \\\"\\u210b\\\", \\\"Hopf\\\": \\\"\\u210d\\\", \\\"HorizontalLine\\\": \\\"\\u2500\\\", \\\"Hscr\\\": \\\"\\u210b\\\", \\\"Hstrok\\\": \\\"\\u0126\\\", \\\"HumpDownHump\\\": \\\"\\u224e\\\", \\\"HumpEqual\\\": \\\"\\u224f\\\", \\\"IEcy\\\": \\\"\\u0415\\\", \\\"IJlig\\\": \\\"\\u0132\\\", \\\"IOcy\\\": \\\"\\u0401\\\", \\\"Iacut\\\": \\\"\\u00cd\\\", \\\"Iacute\\\": \\\"\\u00cd\\\", \\\"Icir\\\": \\\"\\u00ce\\\", \\\"Icirc\\\": \\\"\\u00ce\\\", \\\"Icy\\\": \\\"\\u0418\\\", \\\"Idot\\\": \\\"\\u0130\\\", \\\"Ifr\\\": \\\"\\u2111\\\", \\\"Igrav\\\": \\\"\\u00cc\\\", \\\"Igrave\\\": \\\"\\u00cc\\\", \\\"Im\\\": \\\"\\u2111\\\", \\\"Imacr\\\": \\\"\\u012a\\\", \\\"ImaginaryI\\\": \\\"\\u2148\\\", \\\"Implies\\\": \\\"\\u21d2\\\", \\\"Int\\\": \\\"\\u222c\\\", \\\"Integral\\\": \\\"\\u222b\\\", \\\"Intersection\\\": \\\"\\u22c2\\\", \\\"InvisibleComma\\\": \\\"\\u2063\\\", \\\"InvisibleTimes\\\": \\\"\\u2062\\\", \\\"Iogon\\\": \\\"\\u012e\\\", \\\"Iopf\\\": \\\"\\ud835\\udd40\\\", \\\"Iota\\\": \\\"\\u0399\\\", \\\"Iscr\\\": \\\"\\u2110\\\", \\\"Itilde\\\": \\\"\\u0128\\\", \\\"Iukcy\\\": \\\"\\u0406\\\", \\\"Ium\\\": \\\"\\u00cf\\\", \\\"Iuml\\\": \\\"\\u00cf\\\", \\\"Jcirc\\\": \\\"\\u0134\\\", \\\"Jcy\\\": \\\"\\u0419\\\", \\\"Jfr\\\": \\\"\\ud835\\udd0d\\\", \\\"Jopf\\\": \\\"\\ud835\\udd41\\\", \\\"Jscr\\\": \\\"\\ud835\\udca5\\\", \\\"Jsercy\\\": \\\"\\u0408\\\", \\\"Jukcy\\\": \\\"\\u0404\\\", \\\"KHcy\\\": \\\"\\u0425\\\", \\\"KJcy\\\": \\\"\\u040c\\\", \\\"Kappa\\\": \\\"\\u039a\\\", \\\"Kcedil\\\": \\\"\\u0136\\\", \\\"Kcy\\\": \\\"\\u041a\\\", \\\"Kfr\\\": \\\"\\ud835\\udd0e\\\", \\\"Kopf\\\": \\\"\\ud835\\udd42\\\", \\\"Kscr\\\": \\\"\\ud835\\udca6\\\", \\\"LJcy\\\": \\\"\\u0409\\\", \\\"L\\\": \\\"<\\\", \\\"LT\\\": \\\"<\\\", \\\"Lacute\\\": \\\"\\u0139\\\", \\\"Lambda\\\": \\\"\\u039b\\\", \\\"Lang\\\": \\\"\\u27ea\\\", \\\"Laplacetrf\\\": \\\"\\u2112\\\", \\\"Larr\\\": \\\"\\u219e\\\", \\\"Lcaron\\\": \\\"\\u013d\\\", \\\"Lcedil\\\": \\\"\\u013b\\\", \\\"Lcy\\\": \\\"\\u041b\\\", \\\"LeftAngleBracket\\\": \\\"\\u27e8\\\", \\\"LeftArrow\\\": \\\"\\u2190\\\", \\\"LeftArrowBar\\\": \\\"\\u21e4\\\", \\\"LeftArrowRightArrow\\\": \\\"\\u21c6\\\", \\\"LeftCeiling\\\": \\\"\\u2308\\\", \\\"LeftDoubleBracket\\\": \\\"\\u27e6\\\", \\\"LeftDownTeeVector\\\": \\\"\\u2961\\\", \\\"LeftDownVector\\\": \\\"\\u21c3\\\", \\\"LeftDownVectorBar\\\": \\\"\\u2959\\\", \\\"LeftFloor\\\": \\\"\\u230a\\\", \\\"LeftRightArrow\\\": \\\"\\u2194\\\", \\\"LeftRightVector\\\": \\\"\\u294e\\\", \\\"LeftTee\\\": \\\"\\u22a3\\\", \\\"LeftTeeArrow\\\": \\\"\\u21a4\\\", \\\"LeftTeeVector\\\": \\\"\\u295a\\\", \\\"LeftTriangle\\\": \\\"\\u22b2\\\", \\\"LeftTriangleBar\\\": \\\"\\u29cf\\\", \\\"LeftTriangleEqual\\\": \\\"\\u22b4\\\", \\\"LeftUpDownVector\\\": \\\"\\u2951\\\", \\\"LeftUpTeeVector\\\": \\\"\\u2960\\\", \\\"LeftUpVector\\\": \\\"\\u21bf\\\", \\\"LeftUpVectorBar\\\": \\\"\\u2958\\\", \\\"LeftVector\\\": \\\"\\u21bc\\\", \\\"LeftVectorBar\\\": \\\"\\u2952\\\", \\\"Leftarrow\\\": \\\"\\u21d0\\\", \\\"Leftrightarrow\\\": \\\"\\u21d4\\\", \\\"LessEqualGreater\\\": \\\"\\u22da\\\", \\\"LessFullEqual\\\": \\\"\\u2266\\\", \\\"LessGreater\\\": \\\"\\u2276\\\", \\\"LessLess\\\": \\\"\\u2aa1\\\", \\\"LessSlantEqual\\\": \\\"\\u2a7d\\\", \\\"LessTilde\\\": \\\"\\u2272\\\", \\\"Lfr\\\": \\\"\\ud835\\udd0f\\\", \\\"Ll\\\": \\\"\\u22d8\\\", \\\"Lleftarrow\\\": \\\"\\u21da\\\", \\\"Lmidot\\\": \\\"\\u013f\\\", \\\"LongLeftArrow\\\": \\\"\\u27f5\\\", \\\"LongLeftRightArrow\\\": \\\"\\u27f7\\\", \\\"LongRightArrow\\\": \\\"\\u27f6\\\", \\\"Longleftarrow\\\": \\\"\\u27f8\\\", \\\"Longleftrightarrow\\\": \\\"\\u27fa\\\", \\\"Longrightarrow\\\": \\\"\\u27f9\\\", \\\"Lopf\\\": \\\"\\ud835\\udd43\\\", \\\"LowerLeftArrow\\\": \\\"\\u2199\\\", \\\"LowerRightArrow\\\": \\\"\\u2198\\\", \\\"Lscr\\\": \\\"\\u2112\\\", \\\"Lsh\\\": \\\"\\u21b0\\\", \\\"Lstrok\\\": \\\"\\u0141\\\", \\\"Lt\\\": \\\"\\u226a\\\", \\\"Map\\\": \\\"\\u2905\\\", \\\"Mcy\\\": \\\"\\u041c\\\", \\\"MediumSpace\\\": \\\"\\u205f\\\", \\\"Mellintrf\\\": \\\"\\u2133\\\", \\\"Mfr\\\": \\\"\\ud835\\udd10\\\", \\\"MinusPlus\\\": \\\"\\u2213\\\", \\\"Mopf\\\": \\\"\\ud835\\udd44\\\", \\\"Mscr\\\": \\\"\\u2133\\\", \\\"Mu\\\": \\\"\\u039c\\\", \\\"NJcy\\\": \\\"\\u040a\\\", \\\"Nacute\\\": \\\"\\u0143\\\", \\\"Ncaron\\\": \\\"\\u0147\\\", \\\"Ncedil\\\": \\\"\\u0145\\\", \\\"Ncy\\\": \\\"\\u041d\\\", \\\"NegativeMediumSpace\\\": \\\"\\u200b\\\", \\\"NegativeThickSpace\\\": \\\"\\u200b\\\", \\\"NegativeThinSpace\\\": \\\"\\u200b\\\", \\\"NegativeVeryThinSpace\\\": \\\"\\u200b\\\", \\\"NestedGreaterGreater\\\": \\\"\\u226b\\\", \\\"NestedLessLess\\\": \\\"\\u226a\\\", \\\"NewLine\\\": \\\"\\\\n\\\", \\\"Nfr\\\": \\\"\\ud835\\udd11\\\", \\\"NoBreak\\\": \\\"\\u2060\\\", \\\"NonBreakingSpace\\\": \\\"\\u00a0\\\", \\\"Nopf\\\": \\\"\\u2115\\\", \\\"Not\\\": \\\"\\u2aec\\\", \\\"NotCongruent\\\": \\\"\\u2262\\\", \\\"NotCupCap\\\": \\\"\\u226d\\\", \\\"NotDoubleVerticalBar\\\": \\\"\\u2226\\\", \\\"NotElement\\\": \\\"\\u2209\\\", \\\"NotEqual\\\": \\\"\\u2260\\\", \\\"NotEqualTilde\\\": \\\"\\u2242\\u0338\\\", \\\"NotExists\\\": \\\"\\u2204\\\", \\\"NotGreater\\\": \\\"\\u226f\\\", \\\"NotGreaterEqual\\\": \\\"\\u2271\\\", \\\"NotGreaterFullEqual\\\": \\\"\\u2267\\u0338\\\", \\\"NotGreaterGreater\\\": \\\"\\u226b\\u0338\\\", \\\"NotGreaterLess\\\": \\\"\\u2279\\\", \\\"NotGreaterSlantEqual\\\": \\\"\\u2a7e\\u0338\\\", \\\"NotGreaterTilde\\\": \\\"\\u2275\\\", \\\"NotHumpDownHump\\\": \\\"\\u224e\\u0338\\\", \\\"NotHumpEqual\\\": \\\"\\u224f\\u0338\\\", \\\"NotLeftTriangle\\\": \\\"\\u22ea\\\", \\\"NotLeftTriangleBar\\\": \\\"\\u29cf\\u0338\\\", \\\"NotLeftTriangleEqual\\\": \\\"\\u22ec\\\", \\\"NotLess\\\": \\\"\\u226e\\\", \\\"NotLessEqual\\\": \\\"\\u2270\\\", \\\"NotLessGreater\\\": \\\"\\u2278\\\", \\\"NotLessLess\\\": \\\"\\u226a\\u0338\\\", \\\"NotLessSlantEqual\\\": \\\"\\u2a7d\\u0338\\\", \\\"NotLessTilde\\\": \\\"\\u2274\\\", \\\"NotNestedGreaterGreater\\\": \\\"\\u2aa2\\u0338\\\", \\\"NotNestedLessLess\\\": \\\"\\u2aa1\\u0338\\\", \\\"NotPrecedes\\\": \\\"\\u2280\\\", \\\"NotPrecedesEqual\\\": \\\"\\u2aaf\\u0338\\\", \\\"NotPrecedesSlantEqual\\\": \\\"\\u22e0\\\", \\\"NotReverseElement\\\": \\\"\\u220c\\\", \\\"NotRightTriangle\\\": \\\"\\u22eb\\\", \\\"NotRightTriangleBar\\\": \\\"\\u29d0\\u0338\\\", \\\"NotRightTriangleEqual\\\": \\\"\\u22ed\\\", \\\"NotSquareSubset\\\": \\\"\\u228f\\u0338\\\", \\\"NotSquareSubsetEqual\\\": \\\"\\u22e2\\\", \\\"NotSquareSuperset\\\": \\\"\\u2290\\u0338\\\", \\\"NotSquareSupersetEqual\\\": \\\"\\u22e3\\\", \\\"NotSubset\\\": \\\"\\u2282\\u20d2\\\", \\\"NotSubsetEqual\\\": \\\"\\u2288\\\", \\\"NotSucceeds\\\": \\\"\\u2281\\\", \\\"NotSucceedsEqual\\\": \\\"\\u2ab0\\u0338\\\", \\\"NotSucceedsSlantEqual\\\": \\\"\\u22e1\\\", \\\"NotSucceedsTilde\\\": \\\"\\u227f\\u0338\\\", \\\"NotSuperset\\\": \\\"\\u2283\\u20d2\\\", \\\"NotSupersetEqual\\\": \\\"\\u2289\\\", \\\"NotTilde\\\": \\\"\\u2241\\\", \\\"NotTildeEqual\\\": \\\"\\u2244\\\", \\\"NotTildeFullEqual\\\": \\\"\\u2247\\\", \\\"NotTildeTilde\\\": \\\"\\u2249\\\", \\\"NotVerticalBar\\\": \\\"\\u2224\\\", \\\"Nscr\\\": \\\"\\ud835\\udca9\\\", \\\"Ntild\\\": \\\"\\u00d1\\\", \\\"Ntilde\\\": \\\"\\u00d1\\\", \\\"Nu\\\": \\\"\\u039d\\\", \\\"OElig\\\": \\\"\\u0152\\\", \\\"Oacut\\\": \\\"\\u00d3\\\", \\\"Oacute\\\": \\\"\\u00d3\\\", \\\"Ocir\\\": \\\"\\u00d4\\\", \\\"Ocirc\\\": \\\"\\u00d4\\\", \\\"Ocy\\\": \\\"\\u041e\\\", \\\"Odblac\\\": \\\"\\u0150\\\", \\\"Ofr\\\": \\\"\\ud835\\udd12\\\", \\\"Ograv\\\": \\\"\\u00d2\\\", \\\"Ograve\\\": \\\"\\u00d2\\\", \\\"Omacr\\\": \\\"\\u014c\\\", \\\"Omega\\\": \\\"\\u03a9\\\", \\\"Omicron\\\": \\\"\\u039f\\\", \\\"Oopf\\\": \\\"\\ud835\\udd46\\\", \\\"OpenCurlyDoubleQuote\\\": \\\"\\u201c\\\", \\\"OpenCurlyQuote\\\": \\\"\\u2018\\\", \\\"Or\\\": \\\"\\u2a54\\\", \\\"Oscr\\\": \\\"\\ud835\\udcaa\\\", \\\"Oslas\\\": \\\"\\u00d8\\\", \\\"Oslash\\\": \\\"\\u00d8\\\", \\\"Otild\\\": \\\"\\u00d5\\\", \\\"Otilde\\\": \\\"\\u00d5\\\", \\\"Otimes\\\": \\\"\\u2a37\\\", \\\"Oum\\\": \\\"\\u00d6\\\", \\\"Ouml\\\": \\\"\\u00d6\\\", \\\"OverBar\\\": \\\"\\u203e\\\", \\\"OverBrace\\\": \\\"\\u23de\\\", \\\"OverBracket\\\": \\\"\\u23b4\\\", \\\"OverParenthesis\\\": \\\"\\u23dc\\\", \\\"PartialD\\\": \\\"\\u2202\\\", \\\"Pcy\\\": \\\"\\u041f\\\", \\\"Pfr\\\": \\\"\\ud835\\udd13\\\", \\\"Phi\\\": \\\"\\u03a6\\\", \\\"Pi\\\": \\\"\\u03a0\\\", \\\"PlusMinus\\\": \\\"\\u00b1\\\", \\\"Poincareplane\\\": \\\"\\u210c\\\", \\\"Popf\\\": \\\"\\u2119\\\", \\\"Pr\\\": \\\"\\u2abb\\\", \\\"Precedes\\\": \\\"\\u227a\\\", \\\"PrecedesEqual\\\": \\\"\\u2aaf\\\", \\\"PrecedesSlantEqual\\\": \\\"\\u227c\\\", \\\"PrecedesTilde\\\": \\\"\\u227e\\\", \\\"Prime\\\": \\\"\\u2033\\\", \\\"Product\\\": \\\"\\u220f\\\", \\\"Proportion\\\": \\\"\\u2237\\\", \\\"Proportional\\\": \\\"\\u221d\\\", \\\"Pscr\\\": \\\"\\ud835\\udcab\\\", \\\"Psi\\\": \\\"\\u03a8\\\", \\\"QUO\\\": \\\"\\\\\\\"\\\", \\\"QUOT\\\": \\\"\\\\\\\"\\\", \\\"Qfr\\\": \\\"\\ud835\\udd14\\\", \\\"Qopf\\\": \\\"\\u211a\\\", \\\"Qscr\\\": \\\"\\ud835\\udcac\\\", \\\"RBarr\\\": \\\"\\u2910\\\", \\\"RE\\\": \\\"\\u00ae\\\", \\\"REG\\\": \\\"\\u00ae\\\", \\\"Racute\\\": \\\"\\u0154\\\", \\\"Rang\\\": \\\"\\u27eb\\\", \\\"Rarr\\\": \\\"\\u21a0\\\", \\\"Rarrtl\\\": \\\"\\u2916\\\", \\\"Rcaron\\\": \\\"\\u0158\\\", \\\"Rcedil\\\": \\\"\\u0156\\\", \\\"Rcy\\\": \\\"\\u0420\\\", \\\"Re\\\": \\\"\\u211c\\\", \\\"ReverseElement\\\": \\\"\\u220b\\\", \\\"ReverseEquilibrium\\\": \\\"\\u21cb\\\", \\\"ReverseUpEquilibrium\\\": \\\"\\u296f\\\", \\\"Rfr\\\": \\\"\\u211c\\\", \\\"Rho\\\": \\\"\\u03a1\\\", \\\"RightAngleBracket\\\": \\\"\\u27e9\\\", \\\"RightArrow\\\": \\\"\\u2192\\\", \\\"RightArrowBar\\\": \\\"\\u21e5\\\", \\\"RightArrowLeftArrow\\\": \\\"\\u21c4\\\", \\\"RightCeiling\\\": \\\"\\u2309\\\", \\\"RightDoubleBracket\\\": \\\"\\u27e7\\\", \\\"RightDownTeeVector\\\": \\\"\\u295d\\\", \\\"RightDownVector\\\": \\\"\\u21c2\\\", \\\"RightDownVectorBar\\\": \\\"\\u2955\\\", \\\"RightFloor\\\": \\\"\\u230b\\\", \\\"RightTee\\\": \\\"\\u22a2\\\", \\\"RightTeeArrow\\\": \\\"\\u21a6\\\", \\\"RightTeeVector\\\": \\\"\\u295b\\\", \\\"RightTriangle\\\": \\\"\\u22b3\\\", \\\"RightTriangleBar\\\": \\\"\\u29d0\\\", \\\"RightTriangleEqual\\\": \\\"\\u22b5\\\", \\\"RightUpDownVector\\\": \\\"\\u294f\\\", \\\"RightUpTeeVector\\\": \\\"\\u295c\\\", \\\"RightUpVector\\\": \\\"\\u21be\\\", \\\"RightUpVectorBar\\\": \\\"\\u2954\\\", \\\"RightVector\\\": \\\"\\u21c0\\\", \\\"RightVectorBar\\\": \\\"\\u2953\\\", \\\"Rightarrow\\\": \\\"\\u21d2\\\", \\\"Ropf\\\": \\\"\\u211d\\\", \\\"RoundImplies\\\": \\\"\\u2970\\\", \\\"Rrightarrow\\\": \\\"\\u21db\\\", \\\"Rscr\\\": \\\"\\u211b\\\", \\\"Rsh\\\": \\\"\\u21b1\\\", \\\"RuleDelayed\\\": \\\"\\u29f4\\\", \\\"SHCHcy\\\": \\\"\\u0429\\\", \\\"SHcy\\\": \\\"\\u0428\\\", \\\"SOFTcy\\\": \\\"\\u042c\\\", \\\"Sacute\\\": \\\"\\u015a\\\", \\\"Sc\\\": \\\"\\u2abc\\\", \\\"Scaron\\\": \\\"\\u0160\\\", \\\"Scedil\\\": \\\"\\u015e\\\", \\\"Scirc\\\": \\\"\\u015c\\\", \\\"Scy\\\": \\\"\\u0421\\\", \\\"Sfr\\\": \\\"\\ud835\\udd16\\\", \\\"ShortDownArrow\\\": \\\"\\u2193\\\", \\\"ShortLeftArrow\\\": \\\"\\u2190\\\", \\\"ShortRightArrow\\\": \\\"\\u2192\\\", \\\"ShortUpArrow\\\": \\\"\\u2191\\\", \\\"Sigma\\\": \\\"\\u03a3\\\", \\\"SmallCircle\\\": \\\"\\u2218\\\", \\\"Sopf\\\": \\\"\\ud835\\udd4a\\\", \\\"Sqrt\\\": \\\"\\u221a\\\", \\\"Square\\\": \\\"\\u25a1\\\", \\\"SquareIntersection\\\": \\\"\\u2293\\\", \\\"SquareSubset\\\": \\\"\\u228f\\\", \\\"SquareSubsetEqual\\\": \\\"\\u2291\\\", \\\"SquareSuperset\\\": \\\"\\u2290\\\", \\\"SquareSupersetEqual\\\": \\\"\\u2292\\\", \\\"SquareUnion\\\": \\\"\\u2294\\\", \\\"Sscr\\\": \\\"\\ud835\\udcae\\\", \\\"Star\\\": \\\"\\u22c6\\\", \\\"Sub\\\": \\\"\\u22d0\\\", \\\"Subset\\\": \\\"\\u22d0\\\", \\\"SubsetEqual\\\": \\\"\\u2286\\\", \\\"Succeeds\\\": \\\"\\u227b\\\", \\\"SucceedsEqual\\\": \\\"\\u2ab0\\\", \\\"SucceedsSlantEqual\\\": \\\"\\u227d\\\", \\\"SucceedsTilde\\\": \\\"\\u227f\\\", \\\"SuchThat\\\": \\\"\\u220b\\\", \\\"Sum\\\": \\\"\\u2211\\\", \\\"Sup\\\": \\\"\\u22d1\\\", \\\"Superset\\\": \\\"\\u2283\\\", \\\"SupersetEqual\\\": \\\"\\u2287\\\", \\\"Supset\\\": \\\"\\u22d1\\\", \\\"THOR\\\": \\\"\\u00de\\\", \\\"THORN\\\": \\\"\\u00de\\\", \\\"TRADE\\\": \\\"\\u2122\\\", \\\"TSHcy\\\": \\\"\\u040b\\\", \\\"TScy\\\": \\\"\\u0426\\\", \\\"Tab\\\": \\\"\\\\t\\\", \\\"Tau\\\": \\\"\\u03a4\\\", \\\"Tcaron\\\": \\\"\\u0164\\\", \\\"Tcedil\\\": \\\"\\u0162\\\", \\\"Tcy\\\": \\\"\\u0422\\\", \\\"Tfr\\\": \\\"\\ud835\\udd17\\\", \\\"Therefore\\\": \\\"\\u2234\\\", \\\"Theta\\\": \\\"\\u0398\\\", \\\"ThickSpace\\\": \\\"\\u205f\\u200a\\\", \\\"ThinSpace\\\": \\\"\\u2009\\\", \\\"Tilde\\\": \\\"\\u223c\\\", \\\"TildeEqual\\\": \\\"\\u2243\\\", \\\"TildeFullEqual\\\": \\\"\\u2245\\\", \\\"TildeTilde\\\": \\\"\\u2248\\\", \\\"Topf\\\": \\\"\\ud835\\udd4b\\\", \\\"TripleDot\\\": \\\"\\u20db\\\", \\\"Tscr\\\": \\\"\\ud835\\udcaf\\\", \\\"Tstrok\\\": \\\"\\u0166\\\", \\\"Uacut\\\": \\\"\\u00da\\\", \\\"Uacute\\\": \\\"\\u00da\\\", \\\"Uarr\\\": \\\"\\u219f\\\", \\\"Uarrocir\\\": \\\"\\u2949\\\", \\\"Ubrcy\\\": \\\"\\u040e\\\", \\\"Ubreve\\\": \\\"\\u016c\\\", \\\"Ucir\\\": \\\"\\u00db\\\", \\\"Ucirc\\\": \\\"\\u00db\\\", \\\"Ucy\\\": \\\"\\u0423\\\", \\\"Udblac\\\": \\\"\\u0170\\\", \\\"Ufr\\\": \\\"\\ud835\\udd18\\\", \\\"Ugrav\\\": \\\"\\u00d9\\\", \\\"Ugrave\\\": \\\"\\u00d9\\\", \\\"Umacr\\\": \\\"\\u016a\\\", \\\"UnderBar\\\": \\\"_\\\", \\\"UnderBrace\\\": \\\"\\u23df\\\", \\\"UnderBracket\\\": \\\"\\u23b5\\\", \\\"UnderParenthesis\\\": \\\"\\u23dd\\\", \\\"Union\\\": \\\"\\u22c3\\\", \\\"UnionPlus\\\": \\\"\\u228e\\\", \\\"Uogon\\\": \\\"\\u0172\\\", \\\"Uopf\\\": \\\"\\ud835\\udd4c\\\", \\\"UpArrow\\\": \\\"\\u2191\\\", \\\"UpArrowBar\\\": \\\"\\u2912\\\", \\\"UpArrowDownArrow\\\": \\\"\\u21c5\\\", \\\"UpDownArrow\\\": \\\"\\u2195\\\", \\\"UpEquilibrium\\\": \\\"\\u296e\\\", \\\"UpTee\\\": \\\"\\u22a5\\\", \\\"UpTeeArrow\\\": \\\"\\u21a5\\\", \\\"Uparrow\\\": \\\"\\u21d1\\\", \\\"Updownarrow\\\": \\\"\\u21d5\\\", \\\"UpperLeftArrow\\\": \\\"\\u2196\\\", \\\"UpperRightArrow\\\": \\\"\\u2197\\\", \\\"Upsi\\\": \\\"\\u03d2\\\", \\\"Upsilon\\\": \\\"\\u03a5\\\", \\\"Uring\\\": \\\"\\u016e\\\", \\\"Uscr\\\": \\\"\\ud835\\udcb0\\\", \\\"Utilde\\\": \\\"\\u0168\\\", \\\"Uum\\\": \\\"\\u00dc\\\", \\\"Uuml\\\": \\\"\\u00dc\\\", \\\"VDash\\\": \\\"\\u22ab\\\", \\\"Vbar\\\": \\\"\\u2aeb\\\", \\\"Vcy\\\": \\\"\\u0412\\\", \\\"Vdash\\\": \\\"\\u22a9\\\", \\\"Vdashl\\\": \\\"\\u2ae6\\\", \\\"Vee\\\": \\\"\\u22c1\\\", \\\"Verbar\\\": \\\"\\u2016\\\", \\\"Vert\\\": \\\"\\u2016\\\", \\\"VerticalBar\\\": \\\"\\u2223\\\", \\\"VerticalLine\\\": \\\"|\\\", \\\"VerticalSeparator\\\": \\\"\\u2758\\\", \\\"VerticalTilde\\\": \\\"\\u2240\\\", \\\"VeryThinSpace\\\": \\\"\\u200a\\\", \\\"Vfr\\\": \\\"\\ud835\\udd19\\\", \\\"Vopf\\\": \\\"\\ud835\\udd4d\\\", \\\"Vscr\\\": \\\"\\ud835\\udcb1\\\", \\\"Vvdash\\\": \\\"\\u22aa\\\", \\\"Wcirc\\\": \\\"\\u0174\\\", \\\"Wedge\\\": \\\"\\u22c0\\\", \\\"Wfr\\\": \\\"\\ud835\\udd1a\\\", \\\"Wopf\\\": \\\"\\ud835\\udd4e\\\", \\\"Wscr\\\": \\\"\\ud835\\udcb2\\\", \\\"Xfr\\\": \\\"\\ud835\\udd1b\\\", \\\"Xi\\\": \\\"\\u039e\\\", \\\"Xopf\\\": \\\"\\ud835\\udd4f\\\", \\\"Xscr\\\": \\\"\\ud835\\udcb3\\\", \\\"YAcy\\\": \\\"\\u042f\\\", \\\"YIcy\\\": \\\"\\u0407\\\", \\\"YUcy\\\": \\\"\\u042e\\\", \\\"Yacut\\\": \\\"\\u00dd\\\", \\\"Yacute\\\": \\\"\\u00dd\\\", \\\"Ycirc\\\": \\\"\\u0176\\\", \\\"Ycy\\\": \\\"\\u042b\\\", \\\"Yfr\\\": \\\"\\ud835\\udd1c\\\", \\\"Yopf\\\": \\\"\\ud835\\udd50\\\", \\\"Yscr\\\": \\\"\\ud835\\udcb4\\\", \\\"Yuml\\\": \\\"\\u0178\\\", \\\"ZHcy\\\": \\\"\\u0416\\\", \\\"Zacute\\\": \\\"\\u0179\\\", \\\"Zcaron\\\": \\\"\\u017d\\\", \\\"Zcy\\\": \\\"\\u0417\\\", \\\"Zdot\\\": \\\"\\u017b\\\", \\\"ZeroWidthSpace\\\": \\\"\\u200b\\\", \\\"Zeta\\\": \\\"\\u0396\\\", \\\"Zfr\\\": \\\"\\u2128\\\", \\\"Zopf\\\": \\\"\\u2124\\\", \\\"Zscr\\\": \\\"\\ud835\\udcb5\\\", \\\"aacut\\\": \\\"\\u00e1\\\", \\\"aacute\\\": \\\"\\u00e1\\\", \\\"abreve\\\": \\\"\\u0103\\\", \\\"ac\\\": \\\"\\u223e\\\", \\\"acE\\\": \\\"\\u223e\\u0333\\\", \\\"acd\\\": \\\"\\u223f\\\", \\\"acir\\\": \\\"\\u00e2\\\", \\\"acirc\\\": \\\"\\u00e2\\\", \\\"acut\\\": \\\"\\u00b4\\\", \\\"acute\\\": \\\"\\u00b4\\\", \\\"acy\\\": \\\"\\u0430\\\", \\\"aeli\\\": \\\"\\u00e6\\\", \\\"aelig\\\": \\\"\\u00e6\\\", \\\"af\\\": \\\"\\u2061\\\", \\\"afr\\\": \\\"\\ud835\\udd1e\\\", \\\"agrav\\\": \\\"\\u00e0\\\", \\\"agrave\\\": \\\"\\u00e0\\\", \\\"alefsym\\\": \\\"\\u2135\\\", \\\"aleph\\\": \\\"\\u2135\\\", \\\"alpha\\\": \\\"\\u03b1\\\", \\\"amacr\\\": \\\"\\u0101\\\", \\\"amalg\\\": \\\"\\u2a3f\\\", \\\"am\\\": \\\"&\\\", \\\"amp\\\": \\\"&\\\", \\\"and\\\": \\\"\\u2227\\\", \\\"andand\\\": \\\"\\u2a55\\\", \\\"andd\\\": \\\"\\u2a5c\\\", \\\"andslope\\\": \\\"\\u2a58\\\", \\\"andv\\\": \\\"\\u2a5a\\\", \\\"ang\\\": \\\"\\u2220\\\", \\\"ange\\\": \\\"\\u29a4\\\", \\\"angle\\\": \\\"\\u2220\\\", \\\"angmsd\\\": \\\"\\u2221\\\", \\\"angmsdaa\\\": \\\"\\u29a8\\\", \\\"angmsdab\\\": \\\"\\u29a9\\\", \\\"angmsdac\\\": \\\"\\u29aa\\\", \\\"angmsdad\\\": \\\"\\u29ab\\\", \\\"angmsdae\\\": \\\"\\u29ac\\\", \\\"angmsdaf\\\": \\\"\\u29ad\\\", \\\"angmsdag\\\": \\\"\\u29ae\\\", \\\"angmsdah\\\": \\\"\\u29af\\\", \\\"angrt\\\": \\\"\\u221f\\\", \\\"angrtvb\\\": \\\"\\u22be\\\", \\\"angrtvbd\\\": \\\"\\u299d\\\", \\\"angsph\\\": \\\"\\u2222\\\", \\\"angst\\\": \\\"\\u00c5\\\", \\\"angzarr\\\": \\\"\\u237c\\\", \\\"aogon\\\": \\\"\\u0105\\\", \\\"aopf\\\": \\\"\\ud835\\udd52\\\", \\\"ap\\\": \\\"\\u2248\\\", \\\"apE\\\": \\\"\\u2a70\\\", \\\"apacir\\\": \\\"\\u2a6f\\\", \\\"ape\\\": \\\"\\u224a\\\", \\\"apid\\\": \\\"\\u224b\\\", \\\"apos\\\": \\\"'\\\", \\\"approx\\\": \\\"\\u2248\\\", \\\"approxeq\\\": \\\"\\u224a\\\", \\\"arin\\\": \\\"\\u00e5\\\", \\\"aring\\\": \\\"\\u00e5\\\", \\\"ascr\\\": \\\"\\ud835\\udcb6\\\", \\\"ast\\\": \\\"*\\\", \\\"asymp\\\": \\\"\\u2248\\\", \\\"asympeq\\\": \\\"\\u224d\\\", \\\"atild\\\": \\\"\\u00e3\\\", \\\"atilde\\\": \\\"\\u00e3\\\", \\\"aum\\\": \\\"\\u00e4\\\", \\\"auml\\\": \\\"\\u00e4\\\", \\\"awconint\\\": \\\"\\u2233\\\", \\\"awint\\\": \\\"\\u2a11\\\", \\\"bNot\\\": \\\"\\u2aed\\\", \\\"backcong\\\": \\\"\\u224c\\\", \\\"backepsilon\\\": \\\"\\u03f6\\\", \\\"backprime\\\": \\\"\\u2035\\\", \\\"backsim\\\": \\\"\\u223d\\\", \\\"backsimeq\\\": \\\"\\u22cd\\\", \\\"barvee\\\": \\\"\\u22bd\\\", \\\"barwed\\\": \\\"\\u2305\\\", \\\"barwedge\\\": \\\"\\u2305\\\", \\\"bbrk\\\": \\\"\\u23b5\\\", \\\"bbrktbrk\\\": \\\"\\u23b6\\\", \\\"bcong\\\": \\\"\\u224c\\\", \\\"bcy\\\": \\\"\\u0431\\\", \\\"bdquo\\\": \\\"\\u201e\\\", \\\"becaus\\\": \\\"\\u2235\\\", \\\"because\\\": \\\"\\u2235\\\", \\\"bemptyv\\\": \\\"\\u29b0\\\", \\\"bepsi\\\": \\\"\\u03f6\\\", \\\"bernou\\\": \\\"\\u212c\\\", \\\"beta\\\": \\\"\\u03b2\\\", \\\"beth\\\": \\\"\\u2136\\\", \\\"between\\\": \\\"\\u226c\\\", \\\"bfr\\\": \\\"\\ud835\\udd1f\\\", \\\"bigcap\\\": \\\"\\u22c2\\\", \\\"bigcirc\\\": \\\"\\u25ef\\\", \\\"bigcup\\\": \\\"\\u22c3\\\", \\\"bigodot\\\": \\\"\\u2a00\\\", \\\"bigoplus\\\": \\\"\\u2a01\\\", \\\"bigotimes\\\": \\\"\\u2a02\\\", \\\"bigsqcup\\\": \\\"\\u2a06\\\", \\\"bigstar\\\": \\\"\\u2605\\\", \\\"bigtriangledown\\\": \\\"\\u25bd\\\", \\\"bigtriangleup\\\": \\\"\\u25b3\\\", \\\"biguplus\\\": \\\"\\u2a04\\\", \\\"bigvee\\\": \\\"\\u22c1\\\", \\\"bigwedge\\\": \\\"\\u22c0\\\", \\\"bkarow\\\": \\\"\\u290d\\\", \\\"blacklozenge\\\": \\\"\\u29eb\\\", \\\"blacksquare\\\": \\\"\\u25aa\\\", \\\"blacktriangle\\\": \\\"\\u25b4\\\", \\\"blacktriangledown\\\": \\\"\\u25be\\\", \\\"blacktriangleleft\\\": \\\"\\u25c2\\\", \\\"blacktriangleright\\\": \\\"\\u25b8\\\", \\\"blank\\\": \\\"\\u2423\\\", \\\"blk12\\\": \\\"\\u2592\\\", \\\"blk14\\\": \\\"\\u2591\\\", \\\"blk34\\\": \\\"\\u2593\\\", \\\"block\\\": \\\"\\u2588\\\", \\\"bne\\\": \\\"=\\u20e5\\\", \\\"bnequiv\\\": \\\"\\u2261\\u20e5\\\", \\\"bnot\\\": \\\"\\u2310\\\", \\\"bopf\\\": \\\"\\ud835\\udd53\\\", \\\"bot\\\": \\\"\\u22a5\\\", \\\"bottom\\\": \\\"\\u22a5\\\", \\\"bowtie\\\": \\\"\\u22c8\\\", \\\"boxDL\\\": \\\"\\u2557\\\", \\\"boxDR\\\": \\\"\\u2554\\\", \\\"boxDl\\\": \\\"\\u2556\\\", \\\"boxDr\\\": \\\"\\u2553\\\", \\\"boxH\\\": \\\"\\u2550\\\", \\\"boxHD\\\": \\\"\\u2566\\\", \\\"boxHU\\\": \\\"\\u2569\\\", \\\"boxHd\\\": \\\"\\u2564\\\", \\\"boxHu\\\": \\\"\\u2567\\\", \\\"boxUL\\\": \\\"\\u255d\\\", \\\"boxUR\\\": \\\"\\u255a\\\", \\\"boxUl\\\": \\\"\\u255c\\\", \\\"boxUr\\\": \\\"\\u2559\\\", \\\"boxV\\\": \\\"\\u2551\\\", \\\"boxVH\\\": \\\"\\u256c\\\", \\\"boxVL\\\": \\\"\\u2563\\\", \\\"boxVR\\\": \\\"\\u2560\\\", \\\"boxVh\\\": \\\"\\u256b\\\", \\\"boxVl\\\": \\\"\\u2562\\\", \\\"boxVr\\\": \\\"\\u255f\\\", \\\"boxbox\\\": \\\"\\u29c9\\\", \\\"boxdL\\\": \\\"\\u2555\\\", \\\"boxdR\\\": \\\"\\u2552\\\", \\\"boxdl\\\": \\\"\\u2510\\\", \\\"boxdr\\\": \\\"\\u250c\\\", \\\"boxh\\\": \\\"\\u2500\\\", \\\"boxhD\\\": \\\"\\u2565\\\", \\\"boxhU\\\": \\\"\\u2568\\\", \\\"boxhd\\\": \\\"\\u252c\\\", \\\"boxhu\\\": \\\"\\u2534\\\", \\\"boxminus\\\": \\\"\\u229f\\\", \\\"boxplus\\\": \\\"\\u229e\\\", \\\"boxtimes\\\": \\\"\\u22a0\\\", \\\"boxuL\\\": \\\"\\u255b\\\", \\\"boxuR\\\": \\\"\\u2558\\\", \\\"boxul\\\": \\\"\\u2518\\\", \\\"boxur\\\": \\\"\\u2514\\\", \\\"boxv\\\": \\\"\\u2502\\\", \\\"boxvH\\\": \\\"\\u256a\\\", \\\"boxvL\\\": \\\"\\u2561\\\", \\\"boxvR\\\": \\\"\\u255e\\\", \\\"boxvh\\\": \\\"\\u253c\\\", \\\"boxvl\\\": \\\"\\u2524\\\", \\\"boxvr\\\": \\\"\\u251c\\\", \\\"bprime\\\": \\\"\\u2035\\\", \\\"breve\\\": \\\"\\u02d8\\\", \\\"brvba\\\": \\\"\\u00a6\\\", \\\"brvbar\\\": \\\"\\u00a6\\\", \\\"bscr\\\": \\\"\\ud835\\udcb7\\\", \\\"bsemi\\\": \\\"\\u204f\\\", \\\"bsim\\\": \\\"\\u223d\\\", \\\"bsime\\\": \\\"\\u22cd\\\", \\\"bsol\\\": \\\"\\\\\\\\\\\", \\\"bsolb\\\": \\\"\\u29c5\\\", \\\"bsolhsub\\\": \\\"\\u27c8\\\", \\\"bull\\\": \\\"\\u2022\\\", \\\"bullet\\\": \\\"\\u2022\\\", \\\"bump\\\": \\\"\\u224e\\\", \\\"bumpE\\\": \\\"\\u2aae\\\", \\\"bumpe\\\": \\\"\\u224f\\\", \\\"bumpeq\\\": \\\"\\u224f\\\", \\\"cacute\\\": \\\"\\u0107\\\", \\\"cap\\\": \\\"\\u2229\\\", \\\"capand\\\": \\\"\\u2a44\\\", \\\"capbrcup\\\": \\\"\\u2a49\\\", \\\"capcap\\\": \\\"\\u2a4b\\\", \\\"capcup\\\": \\\"\\u2a47\\\", \\\"capdot\\\": \\\"\\u2a40\\\", \\\"caps\\\": \\\"\\u2229\\ufe00\\\", \\\"caret\\\": \\\"\\u2041\\\", \\\"caron\\\": \\\"\\u02c7\\\", \\\"ccaps\\\": \\\"\\u2a4d\\\", \\\"ccaron\\\": \\\"\\u010d\\\", \\\"ccedi\\\": \\\"\\u00e7\\\", \\\"ccedil\\\": \\\"\\u00e7\\\", \\\"ccirc\\\": \\\"\\u0109\\\", \\\"ccups\\\": \\\"\\u2a4c\\\", \\\"ccupssm\\\": \\\"\\u2a50\\\", \\\"cdot\\\": \\\"\\u010b\\\", \\\"cedi\\\": \\\"\\u00b8\\\", \\\"cedil\\\": \\\"\\u00b8\\\", \\\"cemptyv\\\": \\\"\\u29b2\\\", \\\"cen\\\": \\\"\\u00a2\\\", \\\"cent\\\": \\\"\\u00a2\\\", \\\"centerdot\\\": \\\"\\u00b7\\\", \\\"cfr\\\": \\\"\\ud835\\udd20\\\", \\\"chcy\\\": \\\"\\u0447\\\", \\\"check\\\": \\\"\\u2713\\\", \\\"checkmark\\\": \\\"\\u2713\\\", \\\"chi\\\": \\\"\\u03c7\\\", \\\"cir\\\": \\\"\\u25cb\\\", \\\"cirE\\\": \\\"\\u29c3\\\", \\\"circ\\\": \\\"\\u02c6\\\", \\\"circeq\\\": \\\"\\u2257\\\", \\\"circlearrowleft\\\": \\\"\\u21ba\\\", \\\"circlearrowright\\\": \\\"\\u21bb\\\", \\\"circledR\\\": \\\"\\u00ae\\\", \\\"circledS\\\": \\\"\\u24c8\\\", \\\"circledast\\\": \\\"\\u229b\\\", \\\"circledcirc\\\": \\\"\\u229a\\\", \\\"circleddash\\\": \\\"\\u229d\\\", \\\"cire\\\": \\\"\\u2257\\\", \\\"cirfnint\\\": \\\"\\u2a10\\\", \\\"cirmid\\\": \\\"\\u2aef\\\", \\\"cirscir\\\": \\\"\\u29c2\\\", \\\"clubs\\\": \\\"\\u2663\\\", \\\"clubsuit\\\": \\\"\\u2663\\\", \\\"colon\\\": \\\":\\\", \\\"colone\\\": \\\"\\u2254\\\", \\\"coloneq\\\": \\\"\\u2254\\\", \\\"comma\\\": \\\",\\\", \\\"commat\\\": \\\"@\\\", \\\"comp\\\": \\\"\\u2201\\\", \\\"compfn\\\": \\\"\\u2218\\\", \\\"complement\\\": \\\"\\u2201\\\", \\\"complexes\\\": \\\"\\u2102\\\", \\\"cong\\\": \\\"\\u2245\\\", \\\"congdot\\\": \\\"\\u2a6d\\\", \\\"conint\\\": \\\"\\u222e\\\", \\\"copf\\\": \\\"\\ud835\\udd54\\\", \\\"coprod\\\": \\\"\\u2210\\\", \\\"cop\\\": \\\"\\u00a9\\\", \\\"copy\\\": \\\"\\u00a9\\\", \\\"copysr\\\": \\\"\\u2117\\\", \\\"crarr\\\": \\\"\\u21b5\\\", \\\"cross\\\": \\\"\\u2717\\\", \\\"cscr\\\": \\\"\\ud835\\udcb8\\\", \\\"csub\\\": \\\"\\u2acf\\\", \\\"csube\\\": \\\"\\u2ad1\\\", \\\"csup\\\": \\\"\\u2ad0\\\", \\\"csupe\\\": \\\"\\u2ad2\\\", \\\"ctdot\\\": \\\"\\u22ef\\\", \\\"cudarrl\\\": \\\"\\u2938\\\", \\\"cudarrr\\\": \\\"\\u2935\\\", \\\"cuepr\\\": \\\"\\u22de\\\", \\\"cuesc\\\": \\\"\\u22df\\\", \\\"cularr\\\": \\\"\\u21b6\\\", \\\"cularrp\\\": \\\"\\u293d\\\", \\\"cup\\\": \\\"\\u222a\\\", \\\"cupbrcap\\\": \\\"\\u2a48\\\", \\\"cupcap\\\": \\\"\\u2a46\\\", \\\"cupcup\\\": \\\"\\u2a4a\\\", \\\"cupdot\\\": \\\"\\u228d\\\", \\\"cupor\\\": \\\"\\u2a45\\\", \\\"cups\\\": \\\"\\u222a\\ufe00\\\", \\\"curarr\\\": \\\"\\u21b7\\\", \\\"curarrm\\\": \\\"\\u293c\\\", \\\"curlyeqprec\\\": \\\"\\u22de\\\", \\\"curlyeqsucc\\\": \\\"\\u22df\\\", \\\"curlyvee\\\": \\\"\\u22ce\\\", \\\"curlywedge\\\": \\\"\\u22cf\\\", \\\"curre\\\": \\\"\\u00a4\\\", \\\"curren\\\": \\\"\\u00a4\\\", \\\"curvearrowleft\\\": \\\"\\u21b6\\\", \\\"curvearrowright\\\": \\\"\\u21b7\\\", \\\"cuvee\\\": \\\"\\u22ce\\\", \\\"cuwed\\\": \\\"\\u22cf\\\", \\\"cwconint\\\": \\\"\\u2232\\\", \\\"cwint\\\": \\\"\\u2231\\\", \\\"cylcty\\\": \\\"\\u232d\\\", \\\"dArr\\\": \\\"\\u21d3\\\", \\\"dHar\\\": \\\"\\u2965\\\", \\\"dagger\\\": \\\"\\u2020\\\", \\\"daleth\\\": \\\"\\u2138\\\", \\\"darr\\\": \\\"\\u2193\\\", \\\"dash\\\": \\\"\\u2010\\\", \\\"dashv\\\": \\\"\\u22a3\\\", \\\"dbkarow\\\": \\\"\\u290f\\\", \\\"dblac\\\": \\\"\\u02dd\\\", \\\"dcaron\\\": \\\"\\u010f\\\", \\\"dcy\\\": \\\"\\u0434\\\", \\\"dd\\\": \\\"\\u2146\\\", \\\"ddagger\\\": \\\"\\u2021\\\", \\\"ddarr\\\": \\\"\\u21ca\\\", \\\"ddotseq\\\": \\\"\\u2a77\\\", \\\"de\\\": \\\"\\u00b0\\\", \\\"deg\\\": \\\"\\u00b0\\\", \\\"delta\\\": \\\"\\u03b4\\\", \\\"demptyv\\\": \\\"\\u29b1\\\", \\\"dfisht\\\": \\\"\\u297f\\\", \\\"dfr\\\": \\\"\\ud835\\udd21\\\", \\\"dharl\\\": \\\"\\u21c3\\\", \\\"dharr\\\": \\\"\\u21c2\\\", \\\"diam\\\": \\\"\\u22c4\\\", \\\"diamond\\\": \\\"\\u22c4\\\", \\\"diamondsuit\\\": \\\"\\u2666\\\", \\\"diams\\\": \\\"\\u2666\\\", \\\"die\\\": \\\"\\u00a8\\\", \\\"digamma\\\": \\\"\\u03dd\\\", \\\"disin\\\": \\\"\\u22f2\\\", \\\"div\\\": \\\"\\u00f7\\\", \\\"divid\\\": \\\"\\u00f7\\\", \\\"divide\\\": \\\"\\u00f7\\\", \\\"divideontimes\\\": \\\"\\u22c7\\\", \\\"divonx\\\": \\\"\\u22c7\\\", \\\"djcy\\\": \\\"\\u0452\\\", \\\"dlcorn\\\": \\\"\\u231e\\\", \\\"dlcrop\\\": \\\"\\u230d\\\", \\\"dollar\\\": \\\"$\\\", \\\"dopf\\\": \\\"\\ud835\\udd55\\\", \\\"dot\\\": \\\"\\u02d9\\\", \\\"doteq\\\": \\\"\\u2250\\\", \\\"doteqdot\\\": \\\"\\u2251\\\", \\\"dotminus\\\": \\\"\\u2238\\\", \\\"dotplus\\\": \\\"\\u2214\\\", \\\"dotsquare\\\": \\\"\\u22a1\\\", \\\"doublebarwedge\\\": \\\"\\u2306\\\", \\\"downarrow\\\": \\\"\\u2193\\\", \\\"downdownarrows\\\": \\\"\\u21ca\\\", \\\"downharpoonleft\\\": \\\"\\u21c3\\\", \\\"downharpoonright\\\": \\\"\\u21c2\\\", \\\"drbkarow\\\": \\\"\\u2910\\\", \\\"drcorn\\\": \\\"\\u231f\\\", \\\"drcrop\\\": \\\"\\u230c\\\", \\\"dscr\\\": \\\"\\ud835\\udcb9\\\", \\\"dscy\\\": \\\"\\u0455\\\", \\\"dsol\\\": \\\"\\u29f6\\\", \\\"dstrok\\\": \\\"\\u0111\\\", \\\"dtdot\\\": \\\"\\u22f1\\\", \\\"dtri\\\": \\\"\\u25bf\\\", \\\"dtrif\\\": \\\"\\u25be\\\", \\\"duarr\\\": \\\"\\u21f5\\\", \\\"duhar\\\": \\\"\\u296f\\\", \\\"dwangle\\\": \\\"\\u29a6\\\", \\\"dzcy\\\": \\\"\\u045f\\\", \\\"dzigrarr\\\": \\\"\\u27ff\\\", \\\"eDDot\\\": \\\"\\u2a77\\\", \\\"eDot\\\": \\\"\\u2251\\\", \\\"eacut\\\": \\\"\\u00e9\\\", \\\"eacute\\\": \\\"\\u00e9\\\", \\\"easter\\\": \\\"\\u2a6e\\\", \\\"ecaron\\\": \\\"\\u011b\\\", \\\"ecir\\\": \\\"\\u00ea\\\", \\\"ecirc\\\": \\\"\\u00ea\\\", \\\"ecolon\\\": \\\"\\u2255\\\", \\\"ecy\\\": \\\"\\u044d\\\", \\\"edot\\\": \\\"\\u0117\\\", \\\"ee\\\": \\\"\\u2147\\\", \\\"efDot\\\": \\\"\\u2252\\\", \\\"efr\\\": \\\"\\ud835\\udd22\\\", \\\"eg\\\": \\\"\\u2a9a\\\", \\\"egrav\\\": \\\"\\u00e8\\\", \\\"egrave\\\": \\\"\\u00e8\\\", \\\"egs\\\": \\\"\\u2a96\\\", \\\"egsdot\\\": \\\"\\u2a98\\\", \\\"el\\\": \\\"\\u2a99\\\", \\\"elinters\\\": \\\"\\u23e7\\\", \\\"ell\\\": \\\"\\u2113\\\", \\\"els\\\": \\\"\\u2a95\\\", \\\"elsdot\\\": \\\"\\u2a97\\\", \\\"emacr\\\": \\\"\\u0113\\\", \\\"empty\\\": \\\"\\u2205\\\", \\\"emptyset\\\": \\\"\\u2205\\\", \\\"emptyv\\\": \\\"\\u2205\\\", \\\"emsp13\\\": \\\"\\u2004\\\", \\\"emsp14\\\": \\\"\\u2005\\\", \\\"emsp\\\": \\\"\\u2003\\\", \\\"eng\\\": \\\"\\u014b\\\", \\\"ensp\\\": \\\"\\u2002\\\", \\\"eogon\\\": \\\"\\u0119\\\", \\\"eopf\\\": \\\"\\ud835\\udd56\\\", \\\"epar\\\": \\\"\\u22d5\\\", \\\"eparsl\\\": \\\"\\u29e3\\\", \\\"eplus\\\": \\\"\\u2a71\\\", \\\"epsi\\\": \\\"\\u03b5\\\", \\\"epsilon\\\": \\\"\\u03b5\\\", \\\"epsiv\\\": \\\"\\u03f5\\\", \\\"eqcirc\\\": \\\"\\u2256\\\", \\\"eqcolon\\\": \\\"\\u2255\\\", \\\"eqsim\\\": \\\"\\u2242\\\", \\\"eqslantgtr\\\": \\\"\\u2a96\\\", \\\"eqslantless\\\": \\\"\\u2a95\\\", \\\"equals\\\": \\\"=\\\", \\\"equest\\\": \\\"\\u225f\\\", \\\"equiv\\\": \\\"\\u2261\\\", \\\"equivDD\\\": \\\"\\u2a78\\\", \\\"eqvparsl\\\": \\\"\\u29e5\\\", \\\"erDot\\\": \\\"\\u2253\\\", \\\"erarr\\\": \\\"\\u2971\\\", \\\"escr\\\": \\\"\\u212f\\\", \\\"esdot\\\": \\\"\\u2250\\\", \\\"esim\\\": \\\"\\u2242\\\", \\\"eta\\\": \\\"\\u03b7\\\", \\\"et\\\": \\\"\\u00f0\\\", \\\"eth\\\": \\\"\\u00f0\\\", \\\"eum\\\": \\\"\\u00eb\\\", \\\"euml\\\": \\\"\\u00eb\\\", \\\"euro\\\": \\\"\\u20ac\\\", \\\"excl\\\": \\\"!\\\", \\\"exist\\\": \\\"\\u2203\\\", \\\"expectation\\\": \\\"\\u2130\\\", \\\"exponentiale\\\": \\\"\\u2147\\\", \\\"fallingdotseq\\\": \\\"\\u2252\\\", \\\"fcy\\\": \\\"\\u0444\\\", \\\"female\\\": \\\"\\u2640\\\", \\\"ffilig\\\": \\\"\\ufb03\\\", \\\"fflig\\\": \\\"\\ufb00\\\", \\\"ffllig\\\": \\\"\\ufb04\\\", \\\"ffr\\\": \\\"\\ud835\\udd23\\\", \\\"filig\\\": \\\"\\ufb01\\\", \\\"fjlig\\\": \\\"fj\\\", \\\"flat\\\": \\\"\\u266d\\\", \\\"fllig\\\": \\\"\\ufb02\\\", \\\"fltns\\\": \\\"\\u25b1\\\", \\\"fnof\\\": \\\"\\u0192\\\", \\\"fopf\\\": \\\"\\ud835\\udd57\\\", \\\"forall\\\": \\\"\\u2200\\\", \\\"fork\\\": \\\"\\u22d4\\\", \\\"forkv\\\": \\\"\\u2ad9\\\", \\\"fpartint\\\": \\\"\\u2a0d\\\", \\\"frac1\\\": \\\"\\u00bc\\\", \\\"frac12\\\": \\\"\\u00bd\\\", \\\"frac13\\\": \\\"\\u2153\\\", \\\"frac14\\\": \\\"\\u00bc\\\", \\\"frac15\\\": \\\"\\u2155\\\", \\\"frac16\\\": \\\"\\u2159\\\", \\\"frac18\\\": \\\"\\u215b\\\", \\\"frac23\\\": \\\"\\u2154\\\", \\\"frac25\\\": \\\"\\u2156\\\", \\\"frac3\\\": \\\"\\u00be\\\", \\\"frac34\\\": \\\"\\u00be\\\", \\\"frac35\\\": \\\"\\u2157\\\", \\\"frac38\\\": \\\"\\u215c\\\", \\\"frac45\\\": \\\"\\u2158\\\", \\\"frac56\\\": \\\"\\u215a\\\", \\\"frac58\\\": \\\"\\u215d\\\", \\\"frac78\\\": \\\"\\u215e\\\", \\\"frasl\\\": \\\"\\u2044\\\", \\\"frown\\\": \\\"\\u2322\\\", \\\"fscr\\\": \\\"\\ud835\\udcbb\\\", \\\"gE\\\": \\\"\\u2267\\\", \\\"gEl\\\": \\\"\\u2a8c\\\", \\\"gacute\\\": \\\"\\u01f5\\\", \\\"gamma\\\": \\\"\\u03b3\\\", \\\"gammad\\\": \\\"\\u03dd\\\", \\\"gap\\\": \\\"\\u2a86\\\", \\\"gbreve\\\": \\\"\\u011f\\\", \\\"gcirc\\\": \\\"\\u011d\\\", \\\"gcy\\\": \\\"\\u0433\\\", \\\"gdot\\\": \\\"\\u0121\\\", \\\"ge\\\": \\\"\\u2265\\\", \\\"gel\\\": \\\"\\u22db\\\", \\\"geq\\\": \\\"\\u2265\\\", \\\"geqq\\\": \\\"\\u2267\\\", \\\"geqslant\\\": \\\"\\u2a7e\\\", \\\"ges\\\": \\\"\\u2a7e\\\", \\\"gescc\\\": \\\"\\u2aa9\\\", \\\"gesdot\\\": \\\"\\u2a80\\\", \\\"gesdoto\\\": \\\"\\u2a82\\\", \\\"gesdotol\\\": \\\"\\u2a84\\\", \\\"gesl\\\": \\\"\\u22db\\ufe00\\\", \\\"gesles\\\": \\\"\\u2a94\\\", \\\"gfr\\\": \\\"\\ud835\\udd24\\\", \\\"gg\\\": \\\"\\u226b\\\", \\\"ggg\\\": \\\"\\u22d9\\\", \\\"gimel\\\": \\\"\\u2137\\\", \\\"gjcy\\\": \\\"\\u0453\\\", \\\"gl\\\": \\\"\\u2277\\\", \\\"glE\\\": \\\"\\u2a92\\\", \\\"gla\\\": \\\"\\u2aa5\\\", \\\"glj\\\": \\\"\\u2aa4\\\", \\\"gnE\\\": \\\"\\u2269\\\", \\\"gnap\\\": \\\"\\u2a8a\\\", \\\"gnapprox\\\": \\\"\\u2a8a\\\", \\\"gne\\\": \\\"\\u2a88\\\", \\\"gneq\\\": \\\"\\u2a88\\\", \\\"gneqq\\\": \\\"\\u2269\\\", \\\"gnsim\\\": \\\"\\u22e7\\\", \\\"gopf\\\": \\\"\\ud835\\udd58\\\", \\\"grave\\\": \\\"`\\\", \\\"gscr\\\": \\\"\\u210a\\\", \\\"gsim\\\": \\\"\\u2273\\\", \\\"gsime\\\": \\\"\\u2a8e\\\", \\\"gsiml\\\": \\\"\\u2a90\\\", \\\"g\\\": \\\">\\\", \\\"gt\\\": \\\">\\\", \\\"gtcc\\\": \\\"\\u2aa7\\\", \\\"gtcir\\\": \\\"\\u2a7a\\\", \\\"gtdot\\\": \\\"\\u22d7\\\", \\\"gtlPar\\\": \\\"\\u2995\\\", \\\"gtquest\\\": \\\"\\u2a7c\\\", \\\"gtrapprox\\\": \\\"\\u2a86\\\", \\\"gtrarr\\\": \\\"\\u2978\\\", \\\"gtrdot\\\": \\\"\\u22d7\\\", \\\"gtreqless\\\": \\\"\\u22db\\\", \\\"gtreqqless\\\": \\\"\\u2a8c\\\", \\\"gtrless\\\": \\\"\\u2277\\\", \\\"gtrsim\\\": \\\"\\u2273\\\", \\\"gvertneqq\\\": \\\"\\u2269\\ufe00\\\", \\\"gvnE\\\": \\\"\\u2269\\ufe00\\\", \\\"hArr\\\": \\\"\\u21d4\\\", \\\"hairsp\\\": \\\"\\u200a\\\", \\\"half\\\": \\\"\\u00bd\\\", \\\"hamilt\\\": \\\"\\u210b\\\", \\\"hardcy\\\": \\\"\\u044a\\\", \\\"harr\\\": \\\"\\u2194\\\", \\\"harrcir\\\": \\\"\\u2948\\\", \\\"harrw\\\": \\\"\\u21ad\\\", \\\"hbar\\\": \\\"\\u210f\\\", \\\"hcirc\\\": \\\"\\u0125\\\", \\\"hearts\\\": \\\"\\u2665\\\", \\\"heartsuit\\\": \\\"\\u2665\\\", \\\"hellip\\\": \\\"\\u2026\\\", \\\"hercon\\\": \\\"\\u22b9\\\", \\\"hfr\\\": \\\"\\ud835\\udd25\\\", \\\"hksearow\\\": \\\"\\u2925\\\", \\\"hkswarow\\\": \\\"\\u2926\\\", \\\"hoarr\\\": \\\"\\u21ff\\\", \\\"homtht\\\": \\\"\\u223b\\\", \\\"hookleftarrow\\\": \\\"\\u21a9\\\", \\\"hookrightarrow\\\": \\\"\\u21aa\\\", \\\"hopf\\\": \\\"\\ud835\\udd59\\\", \\\"horbar\\\": \\\"\\u2015\\\", \\\"hscr\\\": \\\"\\ud835\\udcbd\\\", \\\"hslash\\\": \\\"\\u210f\\\", \\\"hstrok\\\": \\\"\\u0127\\\", \\\"hybull\\\": \\\"\\u2043\\\", \\\"hyphen\\\": \\\"\\u2010\\\", \\\"iacut\\\": \\\"\\u00ed\\\", \\\"iacute\\\": \\\"\\u00ed\\\", \\\"ic\\\": \\\"\\u2063\\\", \\\"icir\\\": \\\"\\u00ee\\\", \\\"icirc\\\": \\\"\\u00ee\\\", \\\"icy\\\": \\\"\\u0438\\\", \\\"iecy\\\": \\\"\\u0435\\\", \\\"iexc\\\": \\\"\\u00a1\\\", \\\"iexcl\\\": \\\"\\u00a1\\\", \\\"iff\\\": \\\"\\u21d4\\\", \\\"ifr\\\": \\\"\\ud835\\udd26\\\", \\\"igrav\\\": \\\"\\u00ec\\\", \\\"igrave\\\": \\\"\\u00ec\\\", \\\"ii\\\": \\\"\\u2148\\\", \\\"iiiint\\\": \\\"\\u2a0c\\\", \\\"iiint\\\": \\\"\\u222d\\\", \\\"iinfin\\\": \\\"\\u29dc\\\", \\\"iiota\\\": \\\"\\u2129\\\", \\\"ijlig\\\": \\\"\\u0133\\\", \\\"imacr\\\": \\\"\\u012b\\\", \\\"image\\\": \\\"\\u2111\\\", \\\"imagline\\\": \\\"\\u2110\\\", \\\"imagpart\\\": \\\"\\u2111\\\", \\\"imath\\\": \\\"\\u0131\\\", \\\"imof\\\": \\\"\\u22b7\\\", \\\"imped\\\": \\\"\\u01b5\\\", \\\"in\\\": \\\"\\u2208\\\", \\\"incare\\\": \\\"\\u2105\\\", \\\"infin\\\": \\\"\\u221e\\\", \\\"infintie\\\": \\\"\\u29dd\\\", \\\"inodot\\\": \\\"\\u0131\\\", \\\"int\\\": \\\"\\u222b\\\", \\\"intcal\\\": \\\"\\u22ba\\\", \\\"integers\\\": \\\"\\u2124\\\", \\\"intercal\\\": \\\"\\u22ba\\\", \\\"intlarhk\\\": \\\"\\u2a17\\\", \\\"intprod\\\": \\\"\\u2a3c\\\", \\\"iocy\\\": \\\"\\u0451\\\", \\\"iogon\\\": \\\"\\u012f\\\", \\\"iopf\\\": \\\"\\ud835\\udd5a\\\", \\\"iota\\\": \\\"\\u03b9\\\", \\\"iprod\\\": \\\"\\u2a3c\\\", \\\"iques\\\": \\\"\\u00bf\\\", \\\"iquest\\\": \\\"\\u00bf\\\", \\\"iscr\\\": \\\"\\ud835\\udcbe\\\", \\\"isin\\\": \\\"\\u2208\\\", \\\"isinE\\\": \\\"\\u22f9\\\", \\\"isindot\\\": \\\"\\u22f5\\\", \\\"isins\\\": \\\"\\u22f4\\\", \\\"isinsv\\\": \\\"\\u22f3\\\", \\\"isinv\\\": \\\"\\u2208\\\", \\\"it\\\": \\\"\\u2062\\\", \\\"itilde\\\": \\\"\\u0129\\\", \\\"iukcy\\\": \\\"\\u0456\\\", \\\"ium\\\": \\\"\\u00ef\\\", \\\"iuml\\\": \\\"\\u00ef\\\", \\\"jcirc\\\": \\\"\\u0135\\\", \\\"jcy\\\": \\\"\\u0439\\\", \\\"jfr\\\": \\\"\\ud835\\udd27\\\", \\\"jmath\\\": \\\"\\u0237\\\", \\\"jopf\\\": \\\"\\ud835\\udd5b\\\", \\\"jscr\\\": \\\"\\ud835\\udcbf\\\", \\\"jsercy\\\": \\\"\\u0458\\\", \\\"jukcy\\\": \\\"\\u0454\\\", \\\"kappa\\\": \\\"\\u03ba\\\", \\\"kappav\\\": \\\"\\u03f0\\\", \\\"kcedil\\\": \\\"\\u0137\\\", \\\"kcy\\\": \\\"\\u043a\\\", \\\"kfr\\\": \\\"\\ud835\\udd28\\\", \\\"kgreen\\\": \\\"\\u0138\\\", \\\"khcy\\\": \\\"\\u0445\\\", \\\"kjcy\\\": \\\"\\u045c\\\", \\\"kopf\\\": \\\"\\ud835\\udd5c\\\", \\\"kscr\\\": \\\"\\ud835\\udcc0\\\", \\\"lAarr\\\": \\\"\\u21da\\\", \\\"lArr\\\": \\\"\\u21d0\\\", \\\"lAtail\\\": \\\"\\u291b\\\", \\\"lBarr\\\": \\\"\\u290e\\\", \\\"lE\\\": \\\"\\u2266\\\", \\\"lEg\\\": \\\"\\u2a8b\\\", \\\"lHar\\\": \\\"\\u2962\\\", \\\"lacute\\\": \\\"\\u013a\\\", \\\"laemptyv\\\": \\\"\\u29b4\\\", \\\"lagran\\\": \\\"\\u2112\\\", \\\"lambda\\\": \\\"\\u03bb\\\", \\\"lang\\\": \\\"\\u27e8\\\", \\\"langd\\\": \\\"\\u2991\\\", \\\"langle\\\": \\\"\\u27e8\\\", \\\"lap\\\": \\\"\\u2a85\\\", \\\"laqu\\\": \\\"\\u00ab\\\", \\\"laquo\\\": \\\"\\u00ab\\\", \\\"larr\\\": \\\"\\u2190\\\", \\\"larrb\\\": \\\"\\u21e4\\\", \\\"larrbfs\\\": \\\"\\u291f\\\", \\\"larrfs\\\": \\\"\\u291d\\\", \\\"larrhk\\\": \\\"\\u21a9\\\", \\\"larrlp\\\": \\\"\\u21ab\\\", \\\"larrpl\\\": \\\"\\u2939\\\", \\\"larrsim\\\": \\\"\\u2973\\\", \\\"larrtl\\\": \\\"\\u21a2\\\", \\\"lat\\\": \\\"\\u2aab\\\", \\\"latail\\\": \\\"\\u2919\\\", \\\"late\\\": \\\"\\u2aad\\\", \\\"lates\\\": \\\"\\u2aad\\ufe00\\\", \\\"lbarr\\\": \\\"\\u290c\\\", \\\"lbbrk\\\": \\\"\\u2772\\\", \\\"lbrace\\\": \\\"{\\\", \\\"lbrack\\\": \\\"[\\\", \\\"lbrke\\\": \\\"\\u298b\\\", \\\"lbrksld\\\": \\\"\\u298f\\\", \\\"lbrkslu\\\": \\\"\\u298d\\\", \\\"lcaron\\\": \\\"\\u013e\\\", \\\"lcedil\\\": \\\"\\u013c\\\", \\\"lceil\\\": \\\"\\u2308\\\", \\\"lcub\\\": \\\"{\\\", \\\"lcy\\\": \\\"\\u043b\\\", \\\"ldca\\\": \\\"\\u2936\\\", \\\"ldquo\\\": \\\"\\u201c\\\", \\\"ldquor\\\": \\\"\\u201e\\\", \\\"ldrdhar\\\": \\\"\\u2967\\\", \\\"ldrushar\\\": \\\"\\u294b\\\", \\\"ldsh\\\": \\\"\\u21b2\\\", \\\"le\\\": \\\"\\u2264\\\", \\\"leftarrow\\\": \\\"\\u2190\\\", \\\"leftarrowtail\\\": \\\"\\u21a2\\\", \\\"leftharpoondown\\\": \\\"\\u21bd\\\", \\\"leftharpoonup\\\": \\\"\\u21bc\\\", \\\"leftleftarrows\\\": \\\"\\u21c7\\\", \\\"leftrightarrow\\\": \\\"\\u2194\\\", \\\"leftrightarrows\\\": \\\"\\u21c6\\\", \\\"leftrightharpoons\\\": \\\"\\u21cb\\\", \\\"leftrightsquigarrow\\\": \\\"\\u21ad\\\", \\\"leftthreetimes\\\": \\\"\\u22cb\\\", \\\"leg\\\": \\\"\\u22da\\\", \\\"leq\\\": \\\"\\u2264\\\", \\\"leqq\\\": \\\"\\u2266\\\", \\\"leqslant\\\": \\\"\\u2a7d\\\", \\\"les\\\": \\\"\\u2a7d\\\", \\\"lescc\\\": \\\"\\u2aa8\\\", \\\"lesdot\\\": \\\"\\u2a7f\\\", \\\"lesdoto\\\": \\\"\\u2a81\\\", \\\"lesdotor\\\": \\\"\\u2a83\\\", \\\"lesg\\\": \\\"\\u22da\\ufe00\\\", \\\"lesges\\\": \\\"\\u2a93\\\", \\\"lessapprox\\\": \\\"\\u2a85\\\", \\\"lessdot\\\": \\\"\\u22d6\\\", \\\"lesseqgtr\\\": \\\"\\u22da\\\", \\\"lesseqqgtr\\\": \\\"\\u2a8b\\\", \\\"lessgtr\\\": \\\"\\u2276\\\", \\\"lesssim\\\": \\\"\\u2272\\\", \\\"lfisht\\\": \\\"\\u297c\\\", \\\"lfloor\\\": \\\"\\u230a\\\", \\\"lfr\\\": \\\"\\ud835\\udd29\\\", \\\"lg\\\": \\\"\\u2276\\\", \\\"lgE\\\": \\\"\\u2a91\\\", \\\"lhard\\\": \\\"\\u21bd\\\", \\\"lharu\\\": \\\"\\u21bc\\\", \\\"lharul\\\": \\\"\\u296a\\\", \\\"lhblk\\\": \\\"\\u2584\\\", \\\"ljcy\\\": \\\"\\u0459\\\", \\\"ll\\\": \\\"\\u226a\\\", \\\"llarr\\\": \\\"\\u21c7\\\", \\\"llcorner\\\": \\\"\\u231e\\\", \\\"llhard\\\": \\\"\\u296b\\\", \\\"lltri\\\": \\\"\\u25fa\\\", \\\"lmidot\\\": \\\"\\u0140\\\", \\\"lmoust\\\": \\\"\\u23b0\\\", \\\"lmoustache\\\": \\\"\\u23b0\\\", \\\"lnE\\\": \\\"\\u2268\\\", \\\"lnap\\\": \\\"\\u2a89\\\", \\\"lnapprox\\\": \\\"\\u2a89\\\", \\\"lne\\\": \\\"\\u2a87\\\", \\\"lneq\\\": \\\"\\u2a87\\\", \\\"lneqq\\\": \\\"\\u2268\\\", \\\"lnsim\\\": \\\"\\u22e6\\\", \\\"loang\\\": \\\"\\u27ec\\\", \\\"loarr\\\": \\\"\\u21fd\\\", \\\"lobrk\\\": \\\"\\u27e6\\\", \\\"longleftarrow\\\": \\\"\\u27f5\\\", \\\"longleftrightarrow\\\": \\\"\\u27f7\\\", \\\"longmapsto\\\": \\\"\\u27fc\\\", \\\"longrightarrow\\\": \\\"\\u27f6\\\", \\\"looparrowleft\\\": \\\"\\u21ab\\\", \\\"looparrowright\\\": \\\"\\u21ac\\\", \\\"lopar\\\": \\\"\\u2985\\\", \\\"lopf\\\": \\\"\\ud835\\udd5d\\\", \\\"loplus\\\": \\\"\\u2a2d\\\", \\\"lotimes\\\": \\\"\\u2a34\\\", \\\"lowast\\\": \\\"\\u2217\\\", \\\"lowbar\\\": \\\"_\\\", \\\"loz\\\": \\\"\\u25ca\\\", \\\"lozenge\\\": \\\"\\u25ca\\\", \\\"lozf\\\": \\\"\\u29eb\\\", \\\"lpar\\\": \\\"(\\\", \\\"lparlt\\\": \\\"\\u2993\\\", \\\"lrarr\\\": \\\"\\u21c6\\\", \\\"lrcorner\\\": \\\"\\u231f\\\", \\\"lrhar\\\": \\\"\\u21cb\\\", \\\"lrhard\\\": \\\"\\u296d\\\", \\\"lrm\\\": \\\"\\u200e\\\", \\\"lrtri\\\": \\\"\\u22bf\\\", \\\"lsaquo\\\": \\\"\\u2039\\\", \\\"lscr\\\": \\\"\\ud835\\udcc1\\\", \\\"lsh\\\": \\\"\\u21b0\\\", \\\"lsim\\\": \\\"\\u2272\\\", \\\"lsime\\\": \\\"\\u2a8d\\\", \\\"lsimg\\\": \\\"\\u2a8f\\\", \\\"lsqb\\\": \\\"[\\\", \\\"lsquo\\\": \\\"\\u2018\\\", \\\"lsquor\\\": \\\"\\u201a\\\", \\\"lstrok\\\": \\\"\\u0142\\\", \\\"l\\\": \\\"<\\\", \\\"lt\\\": \\\"<\\\", \\\"ltcc\\\": \\\"\\u2aa6\\\", \\\"ltcir\\\": \\\"\\u2a79\\\", \\\"ltdot\\\": \\\"\\u22d6\\\", \\\"lthree\\\": \\\"\\u22cb\\\", \\\"ltimes\\\": \\\"\\u22c9\\\", \\\"ltlarr\\\": \\\"\\u2976\\\", \\\"ltquest\\\": \\\"\\u2a7b\\\", \\\"ltrPar\\\": \\\"\\u2996\\\", \\\"ltri\\\": \\\"\\u25c3\\\", \\\"ltrie\\\": \\\"\\u22b4\\\", \\\"ltrif\\\": \\\"\\u25c2\\\", \\\"lurdshar\\\": \\\"\\u294a\\\", \\\"luruhar\\\": \\\"\\u2966\\\", \\\"lvertneqq\\\": \\\"\\u2268\\ufe00\\\", \\\"lvnE\\\": \\\"\\u2268\\ufe00\\\", \\\"mDDot\\\": \\\"\\u223a\\\", \\\"mac\\\": \\\"\\u00af\\\", \\\"macr\\\": \\\"\\u00af\\\", \\\"male\\\": \\\"\\u2642\\\", \\\"malt\\\": \\\"\\u2720\\\", \\\"maltese\\\": \\\"\\u2720\\\", \\\"map\\\": \\\"\\u21a6\\\", \\\"mapsto\\\": \\\"\\u21a6\\\", \\\"mapstodown\\\": \\\"\\u21a7\\\", \\\"mapstoleft\\\": \\\"\\u21a4\\\", \\\"mapstoup\\\": \\\"\\u21a5\\\", \\\"marker\\\": \\\"\\u25ae\\\", \\\"mcomma\\\": \\\"\\u2a29\\\", \\\"mcy\\\": \\\"\\u043c\\\", \\\"mdash\\\": \\\"\\u2014\\\", \\\"measuredangle\\\": \\\"\\u2221\\\", \\\"mfr\\\": \\\"\\ud835\\udd2a\\\", \\\"mho\\\": \\\"\\u2127\\\", \\\"micr\\\": \\\"\\u00b5\\\", \\\"micro\\\": \\\"\\u00b5\\\", \\\"mid\\\": \\\"\\u2223\\\", \\\"midast\\\": \\\"*\\\", \\\"midcir\\\": \\\"\\u2af0\\\", \\\"middo\\\": \\\"\\u00b7\\\", \\\"middot\\\": \\\"\\u00b7\\\", \\\"minus\\\": \\\"\\u2212\\\", \\\"minusb\\\": \\\"\\u229f\\\", \\\"minusd\\\": \\\"\\u2238\\\", \\\"minusdu\\\": \\\"\\u2a2a\\\", \\\"mlcp\\\": \\\"\\u2adb\\\", \\\"mldr\\\": \\\"\\u2026\\\", \\\"mnplus\\\": \\\"\\u2213\\\", \\\"models\\\": \\\"\\u22a7\\\", \\\"mopf\\\": \\\"\\ud835\\udd5e\\\", \\\"mp\\\": \\\"\\u2213\\\", \\\"mscr\\\": \\\"\\ud835\\udcc2\\\", \\\"mstpos\\\": \\\"\\u223e\\\", \\\"mu\\\": \\\"\\u03bc\\\", \\\"multimap\\\": \\\"\\u22b8\\\", \\\"mumap\\\": \\\"\\u22b8\\\", \\\"nGg\\\": \\\"\\u22d9\\u0338\\\", \\\"nGt\\\": \\\"\\u226b\\u20d2\\\", \\\"nGtv\\\": \\\"\\u226b\\u0338\\\", \\\"nLeftarrow\\\": \\\"\\u21cd\\\", \\\"nLeftrightarrow\\\": \\\"\\u21ce\\\", \\\"nLl\\\": \\\"\\u22d8\\u0338\\\", \\\"nLt\\\": \\\"\\u226a\\u20d2\\\", \\\"nLtv\\\": \\\"\\u226a\\u0338\\\", \\\"nRightarrow\\\": \\\"\\u21cf\\\", \\\"nVDash\\\": \\\"\\u22af\\\", \\\"nVdash\\\": \\\"\\u22ae\\\", \\\"nabla\\\": \\\"\\u2207\\\", \\\"nacute\\\": \\\"\\u0144\\\", \\\"nang\\\": \\\"\\u2220\\u20d2\\\", \\\"nap\\\": \\\"\\u2249\\\", \\\"napE\\\": \\\"\\u2a70\\u0338\\\", \\\"napid\\\": \\\"\\u224b\\u0338\\\", \\\"napos\\\": \\\"\\u0149\\\", \\\"napprox\\\": \\\"\\u2249\\\", \\\"natur\\\": \\\"\\u266e\\\", \\\"natural\\\": \\\"\\u266e\\\", \\\"naturals\\\": \\\"\\u2115\\\", \\\"nbs\\\": \\\"\\u00a0\\\", \\\"nbsp\\\": \\\"\\u00a0\\\", \\\"nbump\\\": \\\"\\u224e\\u0338\\\", \\\"nbumpe\\\": \\\"\\u224f\\u0338\\\", \\\"ncap\\\": \\\"\\u2a43\\\", \\\"ncaron\\\": \\\"\\u0148\\\", \\\"ncedil\\\": \\\"\\u0146\\\", \\\"ncong\\\": \\\"\\u2247\\\", \\\"ncongdot\\\": \\\"\\u2a6d\\u0338\\\", \\\"ncup\\\": \\\"\\u2a42\\\", \\\"ncy\\\": \\\"\\u043d\\\", \\\"ndash\\\": \\\"\\u2013\\\", \\\"ne\\\": \\\"\\u2260\\\", \\\"neArr\\\": \\\"\\u21d7\\\", \\\"nearhk\\\": \\\"\\u2924\\\", \\\"nearr\\\": \\\"\\u2197\\\", \\\"nearrow\\\": \\\"\\u2197\\\", \\\"nedot\\\": \\\"\\u2250\\u0338\\\", \\\"nequiv\\\": \\\"\\u2262\\\", \\\"nesear\\\": \\\"\\u2928\\\", \\\"nesim\\\": \\\"\\u2242\\u0338\\\", \\\"nexist\\\": \\\"\\u2204\\\", \\\"nexists\\\": \\\"\\u2204\\\", \\\"nfr\\\": \\\"\\ud835\\udd2b\\\", \\\"ngE\\\": \\\"\\u2267\\u0338\\\", \\\"nge\\\": \\\"\\u2271\\\", \\\"ngeq\\\": \\\"\\u2271\\\", \\\"ngeqq\\\": \\\"\\u2267\\u0338\\\", \\\"ngeqslant\\\": \\\"\\u2a7e\\u0338\\\", \\\"nges\\\": \\\"\\u2a7e\\u0338\\\", \\\"ngsim\\\": \\\"\\u2275\\\", \\\"ngt\\\": \\\"\\u226f\\\", \\\"ngtr\\\": \\\"\\u226f\\\", \\\"nhArr\\\": \\\"\\u21ce\\\", \\\"nharr\\\": \\\"\\u21ae\\\", \\\"nhpar\\\": \\\"\\u2af2\\\", \\\"ni\\\": \\\"\\u220b\\\", \\\"nis\\\": \\\"\\u22fc\\\", \\\"nisd\\\": \\\"\\u22fa\\\", \\\"niv\\\": \\\"\\u220b\\\", \\\"njcy\\\": \\\"\\u045a\\\", \\\"nlArr\\\": \\\"\\u21cd\\\", \\\"nlE\\\": \\\"\\u2266\\u0338\\\", \\\"nlarr\\\": \\\"\\u219a\\\", \\\"nldr\\\": \\\"\\u2025\\\", \\\"nle\\\": \\\"\\u2270\\\", \\\"nleftarrow\\\": \\\"\\u219a\\\", \\\"nleftrightarrow\\\": \\\"\\u21ae\\\", \\\"nleq\\\": \\\"\\u2270\\\", \\\"nleqq\\\": \\\"\\u2266\\u0338\\\", \\\"nleqslant\\\": \\\"\\u2a7d\\u0338\\\", \\\"nles\\\": \\\"\\u2a7d\\u0338\\\", \\\"nless\\\": \\\"\\u226e\\\", \\\"nlsim\\\": \\\"\\u2274\\\", \\\"nlt\\\": \\\"\\u226e\\\", \\\"nltri\\\": \\\"\\u22ea\\\", \\\"nltrie\\\": \\\"\\u22ec\\\", \\\"nmid\\\": \\\"\\u2224\\\", \\\"nopf\\\": \\\"\\ud835\\udd5f\\\", \\\"no\\\": \\\"\\u00ac\\\", \\\"not\\\": \\\"\\u00ac\\\", \\\"notin\\\": \\\"\\u2209\\\", \\\"notinE\\\": \\\"\\u22f9\\u0338\\\", \\\"notindot\\\": \\\"\\u22f5\\u0338\\\", \\\"notinva\\\": \\\"\\u2209\\\", \\\"notinvb\\\": \\\"\\u22f7\\\", \\\"notinvc\\\": \\\"\\u22f6\\\", \\\"notni\\\": \\\"\\u220c\\\", \\\"notniva\\\": \\\"\\u220c\\\", \\\"notnivb\\\": \\\"\\u22fe\\\", \\\"notnivc\\\": \\\"\\u22fd\\\", \\\"npar\\\": \\\"\\u2226\\\", \\\"nparallel\\\": \\\"\\u2226\\\", \\\"nparsl\\\": \\\"\\u2afd\\u20e5\\\", \\\"npart\\\": \\\"\\u2202\\u0338\\\", \\\"npolint\\\": \\\"\\u2a14\\\", \\\"npr\\\": \\\"\\u2280\\\", \\\"nprcue\\\": \\\"\\u22e0\\\", \\\"npre\\\": \\\"\\u2aaf\\u0338\\\", \\\"nprec\\\": \\\"\\u2280\\\", \\\"npreceq\\\": \\\"\\u2aaf\\u0338\\\", \\\"nrArr\\\": \\\"\\u21cf\\\", \\\"nrarr\\\": \\\"\\u219b\\\", \\\"nrarrc\\\": \\\"\\u2933\\u0338\\\", \\\"nrarrw\\\": \\\"\\u219d\\u0338\\\", \\\"nrightarrow\\\": \\\"\\u219b\\\", \\\"nrtri\\\": \\\"\\u22eb\\\", \\\"nrtrie\\\": \\\"\\u22ed\\\", \\\"nsc\\\": \\\"\\u2281\\\", \\\"nsccue\\\": \\\"\\u22e1\\\", \\\"nsce\\\": \\\"\\u2ab0\\u0338\\\", \\\"nscr\\\": \\\"\\ud835\\udcc3\\\", \\\"nshortmid\\\": \\\"\\u2224\\\", \\\"nshortparallel\\\": \\\"\\u2226\\\", \\\"nsim\\\": \\\"\\u2241\\\", \\\"nsime\\\": \\\"\\u2244\\\", \\\"nsimeq\\\": \\\"\\u2244\\\", \\\"nsmid\\\": \\\"\\u2224\\\", \\\"nspar\\\": \\\"\\u2226\\\", \\\"nsqsube\\\": \\\"\\u22e2\\\", \\\"nsqsupe\\\": \\\"\\u22e3\\\", \\\"nsub\\\": \\\"\\u2284\\\", \\\"nsubE\\\": \\\"\\u2ac5\\u0338\\\", \\\"nsube\\\": \\\"\\u2288\\\", \\\"nsubset\\\": \\\"\\u2282\\u20d2\\\", \\\"nsubseteq\\\": \\\"\\u2288\\\", \\\"nsubseteqq\\\": \\\"\\u2ac5\\u0338\\\", \\\"nsucc\\\": \\\"\\u2281\\\", \\\"nsucceq\\\": \\\"\\u2ab0\\u0338\\\", \\\"nsup\\\": \\\"\\u2285\\\", \\\"nsupE\\\": \\\"\\u2ac6\\u0338\\\", \\\"nsupe\\\": \\\"\\u2289\\\", \\\"nsupset\\\": \\\"\\u2283\\u20d2\\\", \\\"nsupseteq\\\": \\\"\\u2289\\\", \\\"nsupseteqq\\\": \\\"\\u2ac6\\u0338\\\", \\\"ntgl\\\": \\\"\\u2279\\\", \\\"ntild\\\": \\\"\\u00f1\\\", \\\"ntilde\\\": \\\"\\u00f1\\\", \\\"ntlg\\\": \\\"\\u2278\\\", \\\"ntriangleleft\\\": \\\"\\u22ea\\\", \\\"ntrianglelefteq\\\": \\\"\\u22ec\\\", \\\"ntriangleright\\\": \\\"\\u22eb\\\", \\\"ntrianglerighteq\\\": \\\"\\u22ed\\\", \\\"nu\\\": \\\"\\u03bd\\\", \\\"num\\\": \\\"#\\\", \\\"numero\\\": \\\"\\u2116\\\", \\\"numsp\\\": \\\"\\u2007\\\", \\\"nvDash\\\": \\\"\\u22ad\\\", \\\"nvHarr\\\": \\\"\\u2904\\\", \\\"nvap\\\": \\\"\\u224d\\u20d2\\\", \\\"nvdash\\\": \\\"\\u22ac\\\", \\\"nvge\\\": \\\"\\u2265\\u20d2\\\", \\\"nvgt\\\": \\\">\\u20d2\\\", \\\"nvinfin\\\": \\\"\\u29de\\\", \\\"nvlArr\\\": \\\"\\u2902\\\", \\\"nvle\\\": \\\"\\u2264\\u20d2\\\", \\\"nvlt\\\": \\\"<\\u20d2\\\", \\\"nvltrie\\\": \\\"\\u22b4\\u20d2\\\", \\\"nvrArr\\\": \\\"\\u2903\\\", \\\"nvrtrie\\\": \\\"\\u22b5\\u20d2\\\", \\\"nvsim\\\": \\\"\\u223c\\u20d2\\\", \\\"nwArr\\\": \\\"\\u21d6\\\", \\\"nwarhk\\\": \\\"\\u2923\\\", \\\"nwarr\\\": \\\"\\u2196\\\", \\\"nwarrow\\\": \\\"\\u2196\\\", \\\"nwnear\\\": \\\"\\u2927\\\", \\\"oS\\\": \\\"\\u24c8\\\", \\\"oacut\\\": \\\"\\u00f3\\\", \\\"oacute\\\": \\\"\\u00f3\\\", \\\"oast\\\": \\\"\\u229b\\\", \\\"ocir\\\": \\\"\\u00f4\\\", \\\"ocirc\\\": \\\"\\u00f4\\\", \\\"ocy\\\": \\\"\\u043e\\\", \\\"odash\\\": \\\"\\u229d\\\", \\\"odblac\\\": \\\"\\u0151\\\", \\\"odiv\\\": \\\"\\u2a38\\\", \\\"odot\\\": \\\"\\u2299\\\", \\\"odsold\\\": \\\"\\u29bc\\\", \\\"oelig\\\": \\\"\\u0153\\\", \\\"ofcir\\\": \\\"\\u29bf\\\", \\\"ofr\\\": \\\"\\ud835\\udd2c\\\", \\\"ogon\\\": \\\"\\u02db\\\", \\\"ograv\\\": \\\"\\u00f2\\\", \\\"ograve\\\": \\\"\\u00f2\\\", \\\"ogt\\\": \\\"\\u29c1\\\", \\\"ohbar\\\": \\\"\\u29b5\\\", \\\"ohm\\\": \\\"\\u03a9\\\", \\\"oint\\\": \\\"\\u222e\\\", \\\"olarr\\\": \\\"\\u21ba\\\", \\\"olcir\\\": \\\"\\u29be\\\", \\\"olcross\\\": \\\"\\u29bb\\\", \\\"oline\\\": \\\"\\u203e\\\", \\\"olt\\\": \\\"\\u29c0\\\", \\\"omacr\\\": \\\"\\u014d\\\", \\\"omega\\\": \\\"\\u03c9\\\", \\\"omicron\\\": \\\"\\u03bf\\\", \\\"omid\\\": \\\"\\u29b6\\\", \\\"ominus\\\": \\\"\\u2296\\\", \\\"oopf\\\": \\\"\\ud835\\udd60\\\", \\\"opar\\\": \\\"\\u29b7\\\", \\\"operp\\\": \\\"\\u29b9\\\", \\\"oplus\\\": \\\"\\u2295\\\", \\\"or\\\": \\\"\\u2228\\\", \\\"orarr\\\": \\\"\\u21bb\\\", \\\"ord\\\": \\\"\\u00ba\\\", \\\"order\\\": \\\"\\u2134\\\", \\\"orderof\\\": \\\"\\u2134\\\", \\\"ordf\\\": \\\"\\u00aa\\\", \\\"ordm\\\": \\\"\\u00ba\\\", \\\"origof\\\": \\\"\\u22b6\\\", \\\"oror\\\": \\\"\\u2a56\\\", \\\"orslope\\\": \\\"\\u2a57\\\", \\\"orv\\\": \\\"\\u2a5b\\\", \\\"oscr\\\": \\\"\\u2134\\\", \\\"oslas\\\": \\\"\\u00f8\\\", \\\"oslash\\\": \\\"\\u00f8\\\", \\\"osol\\\": \\\"\\u2298\\\", \\\"otild\\\": \\\"\\u00f5\\\", \\\"otilde\\\": \\\"\\u00f5\\\", \\\"otimes\\\": \\\"\\u2297\\\", \\\"otimesas\\\": \\\"\\u2a36\\\", \\\"oum\\\": \\\"\\u00f6\\\", \\\"ouml\\\": \\\"\\u00f6\\\", \\\"ovbar\\\": \\\"\\u233d\\\", \\\"par\\\": \\\"\\u00b6\\\", \\\"para\\\": \\\"\\u00b6\\\", \\\"parallel\\\": \\\"\\u2225\\\", \\\"parsim\\\": \\\"\\u2af3\\\", \\\"parsl\\\": \\\"\\u2afd\\\", \\\"part\\\": \\\"\\u2202\\\", \\\"pcy\\\": \\\"\\u043f\\\", \\\"percnt\\\": \\\"%\\\", \\\"period\\\": \\\".\\\", \\\"permil\\\": \\\"\\u2030\\\", \\\"perp\\\": \\\"\\u22a5\\\", \\\"pertenk\\\": \\\"\\u2031\\\", \\\"pfr\\\": \\\"\\ud835\\udd2d\\\", \\\"phi\\\": \\\"\\u03c6\\\", \\\"phiv\\\": \\\"\\u03d5\\\", \\\"phmmat\\\": \\\"\\u2133\\\", \\\"phone\\\": \\\"\\u260e\\\", \\\"pi\\\": \\\"\\u03c0\\\", \\\"pitchfork\\\": \\\"\\u22d4\\\", \\\"piv\\\": \\\"\\u03d6\\\", \\\"planck\\\": \\\"\\u210f\\\", \\\"planckh\\\": \\\"\\u210e\\\", \\\"plankv\\\": \\\"\\u210f\\\", \\\"plus\\\": \\\"+\\\", \\\"plusacir\\\": \\\"\\u2a23\\\", \\\"plusb\\\": \\\"\\u229e\\\", \\\"pluscir\\\": \\\"\\u2a22\\\", \\\"plusdo\\\": \\\"\\u2214\\\", \\\"plusdu\\\": \\\"\\u2a25\\\", \\\"pluse\\\": \\\"\\u2a72\\\", \\\"plusm\\\": \\\"\\u00b1\\\", \\\"plusmn\\\": \\\"\\u00b1\\\", \\\"plussim\\\": \\\"\\u2a26\\\", \\\"plustwo\\\": \\\"\\u2a27\\\", \\\"pm\\\": \\\"\\u00b1\\\", \\\"pointint\\\": \\\"\\u2a15\\\", \\\"popf\\\": \\\"\\ud835\\udd61\\\", \\\"poun\\\": \\\"\\u00a3\\\", \\\"pound\\\": \\\"\\u00a3\\\", \\\"pr\\\": \\\"\\u227a\\\", \\\"prE\\\": \\\"\\u2ab3\\\", \\\"prap\\\": \\\"\\u2ab7\\\", \\\"prcue\\\": \\\"\\u227c\\\", \\\"pre\\\": \\\"\\u2aaf\\\", \\\"prec\\\": \\\"\\u227a\\\", \\\"precapprox\\\": \\\"\\u2ab7\\\", \\\"preccurlyeq\\\": \\\"\\u227c\\\", \\\"preceq\\\": \\\"\\u2aaf\\\", \\\"precnapprox\\\": \\\"\\u2ab9\\\", \\\"precneqq\\\": \\\"\\u2ab5\\\", \\\"precnsim\\\": \\\"\\u22e8\\\", \\\"precsim\\\": \\\"\\u227e\\\", \\\"prime\\\": \\\"\\u2032\\\", \\\"primes\\\": \\\"\\u2119\\\", \\\"prnE\\\": \\\"\\u2ab5\\\", \\\"prnap\\\": \\\"\\u2ab9\\\", \\\"prnsim\\\": \\\"\\u22e8\\\", \\\"prod\\\": \\\"\\u220f\\\", \\\"profalar\\\": \\\"\\u232e\\\", \\\"profline\\\": \\\"\\u2312\\\", \\\"profsurf\\\": \\\"\\u2313\\\", \\\"prop\\\": \\\"\\u221d\\\", \\\"propto\\\": \\\"\\u221d\\\", \\\"prsim\\\": \\\"\\u227e\\\", \\\"prurel\\\": \\\"\\u22b0\\\", \\\"pscr\\\": \\\"\\ud835\\udcc5\\\", \\\"psi\\\": \\\"\\u03c8\\\", \\\"puncsp\\\": \\\"\\u2008\\\", \\\"qfr\\\": \\\"\\ud835\\udd2e\\\", \\\"qint\\\": \\\"\\u2a0c\\\", \\\"qopf\\\": \\\"\\ud835\\udd62\\\", \\\"qprime\\\": \\\"\\u2057\\\", \\\"qscr\\\": \\\"\\ud835\\udcc6\\\", \\\"quaternions\\\": \\\"\\u210d\\\", \\\"quatint\\\": \\\"\\u2a16\\\", \\\"quest\\\": \\\"?\\\", \\\"questeq\\\": \\\"\\u225f\\\", \\\"quo\\\": \\\"\\\\\\\"\\\", \\\"quot\\\": \\\"\\\\\\\"\\\", \\\"rAarr\\\": \\\"\\u21db\\\", \\\"rArr\\\": \\\"\\u21d2\\\", \\\"rAtail\\\": \\\"\\u291c\\\", \\\"rBarr\\\": \\\"\\u290f\\\", \\\"rHar\\\": \\\"\\u2964\\\", \\\"race\\\": \\\"\\u223d\\u0331\\\", \\\"racute\\\": \\\"\\u0155\\\", \\\"radic\\\": \\\"\\u221a\\\", \\\"raemptyv\\\": \\\"\\u29b3\\\", \\\"rang\\\": \\\"\\u27e9\\\", \\\"rangd\\\": \\\"\\u2992\\\", \\\"range\\\": \\\"\\u29a5\\\", \\\"rangle\\\": \\\"\\u27e9\\\", \\\"raqu\\\": \\\"\\u00bb\\\", \\\"raquo\\\": \\\"\\u00bb\\\", \\\"rarr\\\": \\\"\\u2192\\\", \\\"rarrap\\\": \\\"\\u2975\\\", \\\"rarrb\\\": \\\"\\u21e5\\\", \\\"rarrbfs\\\": \\\"\\u2920\\\", \\\"rarrc\\\": \\\"\\u2933\\\", \\\"rarrfs\\\": \\\"\\u291e\\\", \\\"rarrhk\\\": \\\"\\u21aa\\\", \\\"rarrlp\\\": \\\"\\u21ac\\\", \\\"rarrpl\\\": \\\"\\u2945\\\", \\\"rarrsim\\\": \\\"\\u2974\\\", \\\"rarrtl\\\": \\\"\\u21a3\\\", \\\"rarrw\\\": \\\"\\u219d\\\", \\\"ratail\\\": \\\"\\u291a\\\", \\\"ratio\\\": \\\"\\u2236\\\", \\\"rationals\\\": \\\"\\u211a\\\", \\\"rbarr\\\": \\\"\\u290d\\\", \\\"rbbrk\\\": \\\"\\u2773\\\", \\\"rbrace\\\": \\\"}\\\", \\\"rbrack\\\": \\\"]\\\", \\\"rbrke\\\": \\\"\\u298c\\\", \\\"rbrksld\\\": \\\"\\u298e\\\", \\\"rbrkslu\\\": \\\"\\u2990\\\", \\\"rcaron\\\": \\\"\\u0159\\\", \\\"rcedil\\\": \\\"\\u0157\\\", \\\"rceil\\\": \\\"\\u2309\\\", \\\"rcub\\\": \\\"}\\\", \\\"rcy\\\": \\\"\\u0440\\\", \\\"rdca\\\": \\\"\\u2937\\\", \\\"rdldhar\\\": \\\"\\u2969\\\", \\\"rdquo\\\": \\\"\\u201d\\\", \\\"rdquor\\\": \\\"\\u201d\\\", \\\"rdsh\\\": \\\"\\u21b3\\\", \\\"real\\\": \\\"\\u211c\\\", \\\"realine\\\": \\\"\\u211b\\\", \\\"realpart\\\": \\\"\\u211c\\\", \\\"reals\\\": \\\"\\u211d\\\", \\\"rect\\\": \\\"\\u25ad\\\", \\\"re\\\": \\\"\\u00ae\\\", \\\"reg\\\": \\\"\\u00ae\\\", \\\"rfisht\\\": \\\"\\u297d\\\", \\\"rfloor\\\": \\\"\\u230b\\\", \\\"rfr\\\": \\\"\\ud835\\udd2f\\\", \\\"rhard\\\": \\\"\\u21c1\\\", \\\"rharu\\\": \\\"\\u21c0\\\", \\\"rharul\\\": \\\"\\u296c\\\", \\\"rho\\\": \\\"\\u03c1\\\", \\\"rhov\\\": \\\"\\u03f1\\\", \\\"rightarrow\\\": \\\"\\u2192\\\", \\\"rightarrowtail\\\": \\\"\\u21a3\\\", \\\"rightharpoondown\\\": \\\"\\u21c1\\\", \\\"rightharpoonup\\\": \\\"\\u21c0\\\", \\\"rightleftarrows\\\": \\\"\\u21c4\\\", \\\"rightleftharpoons\\\": \\\"\\u21cc\\\", \\\"rightrightarrows\\\": \\\"\\u21c9\\\", \\\"rightsquigarrow\\\": \\\"\\u219d\\\", \\\"rightthreetimes\\\": \\\"\\u22cc\\\", \\\"ring\\\": \\\"\\u02da\\\", \\\"risingdotseq\\\": \\\"\\u2253\\\", \\\"rlarr\\\": \\\"\\u21c4\\\", \\\"rlhar\\\": \\\"\\u21cc\\\", \\\"rlm\\\": \\\"\\u200f\\\", \\\"rmoust\\\": \\\"\\u23b1\\\", \\\"rmoustache\\\": \\\"\\u23b1\\\", \\\"rnmid\\\": \\\"\\u2aee\\\", \\\"roang\\\": \\\"\\u27ed\\\", \\\"roarr\\\": \\\"\\u21fe\\\", \\\"robrk\\\": \\\"\\u27e7\\\", \\\"ropar\\\": \\\"\\u2986\\\", \\\"ropf\\\": \\\"\\ud835\\udd63\\\", \\\"roplus\\\": \\\"\\u2a2e\\\", \\\"rotimes\\\": \\\"\\u2a35\\\", \\\"rpar\\\": \\\")\\\", \\\"rpargt\\\": \\\"\\u2994\\\", \\\"rppolint\\\": \\\"\\u2a12\\\", \\\"rrarr\\\": \\\"\\u21c9\\\", \\\"rsaquo\\\": \\\"\\u203a\\\", \\\"rscr\\\": \\\"\\ud835\\udcc7\\\", \\\"rsh\\\": \\\"\\u21b1\\\", \\\"rsqb\\\": \\\"]\\\", \\\"rsquo\\\": \\\"\\u2019\\\", \\\"rsquor\\\": \\\"\\u2019\\\", \\\"rthree\\\": \\\"\\u22cc\\\", \\\"rtimes\\\": \\\"\\u22ca\\\", \\\"rtri\\\": \\\"\\u25b9\\\", \\\"rtrie\\\": \\\"\\u22b5\\\", \\\"rtrif\\\": \\\"\\u25b8\\\", \\\"rtriltri\\\": \\\"\\u29ce\\\", \\\"ruluhar\\\": \\\"\\u2968\\\", \\\"rx\\\": \\\"\\u211e\\\", \\\"sacute\\\": \\\"\\u015b\\\", \\\"sbquo\\\": \\\"\\u201a\\\", \\\"sc\\\": \\\"\\u227b\\\", \\\"scE\\\": \\\"\\u2ab4\\\", \\\"scap\\\": \\\"\\u2ab8\\\", \\\"scaron\\\": \\\"\\u0161\\\", \\\"sccue\\\": \\\"\\u227d\\\", \\\"sce\\\": \\\"\\u2ab0\\\", \\\"scedil\\\": \\\"\\u015f\\\", \\\"scirc\\\": \\\"\\u015d\\\", \\\"scnE\\\": \\\"\\u2ab6\\\", \\\"scnap\\\": \\\"\\u2aba\\\", \\\"scnsim\\\": \\\"\\u22e9\\\", \\\"scpolint\\\": \\\"\\u2a13\\\", \\\"scsim\\\": \\\"\\u227f\\\", \\\"scy\\\": \\\"\\u0441\\\", \\\"sdot\\\": \\\"\\u22c5\\\", \\\"sdotb\\\": \\\"\\u22a1\\\", \\\"sdote\\\": \\\"\\u2a66\\\", \\\"seArr\\\": \\\"\\u21d8\\\", \\\"searhk\\\": \\\"\\u2925\\\", \\\"searr\\\": \\\"\\u2198\\\", \\\"searrow\\\": \\\"\\u2198\\\", \\\"sec\\\": \\\"\\u00a7\\\", \\\"sect\\\": \\\"\\u00a7\\\", \\\"semi\\\": \\\";\\\", \\\"seswar\\\": \\\"\\u2929\\\", \\\"setminus\\\": \\\"\\u2216\\\", \\\"setmn\\\": \\\"\\u2216\\\", \\\"sext\\\": \\\"\\u2736\\\", \\\"sfr\\\": \\\"\\ud835\\udd30\\\", \\\"sfrown\\\": \\\"\\u2322\\\", \\\"sharp\\\": \\\"\\u266f\\\", \\\"shchcy\\\": \\\"\\u0449\\\", \\\"shcy\\\": \\\"\\u0448\\\", \\\"shortmid\\\": \\\"\\u2223\\\", \\\"shortparallel\\\": \\\"\\u2225\\\", \\\"sh\\\": \\\"\\u00ad\\\", \\\"shy\\\": \\\"\\u00ad\\\", \\\"sigma\\\": \\\"\\u03c3\\\", \\\"sigmaf\\\": \\\"\\u03c2\\\", \\\"sigmav\\\": \\\"\\u03c2\\\", \\\"sim\\\": \\\"\\u223c\\\", \\\"simdot\\\": \\\"\\u2a6a\\\", \\\"sime\\\": \\\"\\u2243\\\", \\\"simeq\\\": \\\"\\u2243\\\", \\\"simg\\\": \\\"\\u2a9e\\\", \\\"simgE\\\": \\\"\\u2aa0\\\", \\\"siml\\\": \\\"\\u2a9d\\\", \\\"simlE\\\": \\\"\\u2a9f\\\", \\\"simne\\\": \\\"\\u2246\\\", \\\"simplus\\\": \\\"\\u2a24\\\", \\\"simrarr\\\": \\\"\\u2972\\\", \\\"slarr\\\": \\\"\\u2190\\\", \\\"smallsetminus\\\": \\\"\\u2216\\\", \\\"smashp\\\": \\\"\\u2a33\\\", \\\"smeparsl\\\": \\\"\\u29e4\\\", \\\"smid\\\": \\\"\\u2223\\\", \\\"smile\\\": \\\"\\u2323\\\", \\\"smt\\\": \\\"\\u2aaa\\\", \\\"smte\\\": \\\"\\u2aac\\\", \\\"smtes\\\": \\\"\\u2aac\\ufe00\\\", \\\"softcy\\\": \\\"\\u044c\\\", \\\"sol\\\": \\\"/\\\", \\\"solb\\\": \\\"\\u29c4\\\", \\\"solbar\\\": \\\"\\u233f\\\", \\\"sopf\\\": \\\"\\ud835\\udd64\\\", \\\"spades\\\": \\\"\\u2660\\\", \\\"spadesuit\\\": \\\"\\u2660\\\", \\\"spar\\\": \\\"\\u2225\\\", \\\"sqcap\\\": \\\"\\u2293\\\", \\\"sqcaps\\\": \\\"\\u2293\\ufe00\\\", \\\"sqcup\\\": \\\"\\u2294\\\", \\\"sqcups\\\": \\\"\\u2294\\ufe00\\\", \\\"sqsub\\\": \\\"\\u228f\\\", \\\"sqsube\\\": \\\"\\u2291\\\", \\\"sqsubset\\\": \\\"\\u228f\\\", \\\"sqsubseteq\\\": \\\"\\u2291\\\", \\\"sqsup\\\": \\\"\\u2290\\\", \\\"sqsupe\\\": \\\"\\u2292\\\", \\\"sqsupset\\\": \\\"\\u2290\\\", \\\"sqsupseteq\\\": \\\"\\u2292\\\", \\\"squ\\\": \\\"\\u25a1\\\", \\\"square\\\": \\\"\\u25a1\\\", \\\"squarf\\\": \\\"\\u25aa\\\", \\\"squf\\\": \\\"\\u25aa\\\", \\\"srarr\\\": \\\"\\u2192\\\", \\\"sscr\\\": \\\"\\ud835\\udcc8\\\", \\\"ssetmn\\\": \\\"\\u2216\\\", \\\"ssmile\\\": \\\"\\u2323\\\", \\\"sstarf\\\": \\\"\\u22c6\\\", \\\"star\\\": \\\"\\u2606\\\", \\\"starf\\\": \\\"\\u2605\\\", \\\"straightepsilon\\\": \\\"\\u03f5\\\", \\\"straightphi\\\": \\\"\\u03d5\\\", \\\"strns\\\": \\\"\\u00af\\\", \\\"sub\\\": \\\"\\u2282\\\", \\\"subE\\\": \\\"\\u2ac5\\\", \\\"subdot\\\": \\\"\\u2abd\\\", \\\"sube\\\": \\\"\\u2286\\\", \\\"subedot\\\": \\\"\\u2ac3\\\", \\\"submult\\\": \\\"\\u2ac1\\\", \\\"subnE\\\": \\\"\\u2acb\\\", \\\"subne\\\": \\\"\\u228a\\\", \\\"subplus\\\": \\\"\\u2abf\\\", \\\"subrarr\\\": \\\"\\u2979\\\", \\\"subset\\\": \\\"\\u2282\\\", \\\"subseteq\\\": \\\"\\u2286\\\", \\\"subseteqq\\\": \\\"\\u2ac5\\\", \\\"subsetneq\\\": \\\"\\u228a\\\", \\\"subsetneqq\\\": \\\"\\u2acb\\\", \\\"subsim\\\": \\\"\\u2ac7\\\", \\\"subsub\\\": \\\"\\u2ad5\\\", \\\"subsup\\\": \\\"\\u2ad3\\\", \\\"succ\\\": \\\"\\u227b\\\", \\\"succapprox\\\": \\\"\\u2ab8\\\", \\\"succcurlyeq\\\": \\\"\\u227d\\\", \\\"succeq\\\": \\\"\\u2ab0\\\", \\\"succnapprox\\\": \\\"\\u2aba\\\", \\\"succneqq\\\": \\\"\\u2ab6\\\", \\\"succnsim\\\": \\\"\\u22e9\\\", \\\"succsim\\\": \\\"\\u227f\\\", \\\"sum\\\": \\\"\\u2211\\\", \\\"sung\\\": \\\"\\u266a\\\", \\\"sup\\\": \\\"\\u2283\\\", \\\"sup1\\\": \\\"\\u00b9\\\", \\\"sup2\\\": \\\"\\u00b2\\\", \\\"sup3\\\": \\\"\\u00b3\\\", \\\"supE\\\": \\\"\\u2ac6\\\", \\\"supdot\\\": \\\"\\u2abe\\\", \\\"supdsub\\\": \\\"\\u2ad8\\\", \\\"supe\\\": \\\"\\u2287\\\", \\\"supedot\\\": \\\"\\u2ac4\\\", \\\"suphsol\\\": \\\"\\u27c9\\\", \\\"suphsub\\\": \\\"\\u2ad7\\\", \\\"suplarr\\\": \\\"\\u297b\\\", \\\"supmult\\\": \\\"\\u2ac2\\\", \\\"supnE\\\": \\\"\\u2acc\\\", \\\"supne\\\": \\\"\\u228b\\\", \\\"supplus\\\": \\\"\\u2ac0\\\", \\\"supset\\\": \\\"\\u2283\\\", \\\"supseteq\\\": \\\"\\u2287\\\", \\\"supseteqq\\\": \\\"\\u2ac6\\\", \\\"supsetneq\\\": \\\"\\u228b\\\", \\\"supsetneqq\\\": \\\"\\u2acc\\\", \\\"supsim\\\": \\\"\\u2ac8\\\", \\\"supsub\\\": \\\"\\u2ad4\\\", \\\"supsup\\\": \\\"\\u2ad6\\\", \\\"swArr\\\": \\\"\\u21d9\\\", \\\"swarhk\\\": \\\"\\u2926\\\", \\\"swarr\\\": \\\"\\u2199\\\", \\\"swarrow\\\": \\\"\\u2199\\\", \\\"swnwar\\\": \\\"\\u292a\\\", \\\"szli\\\": \\\"\\u00df\\\", \\\"szlig\\\": \\\"\\u00df\\\", \\\"target\\\": \\\"\\u2316\\\", \\\"tau\\\": \\\"\\u03c4\\\", \\\"tbrk\\\": \\\"\\u23b4\\\", \\\"tcaron\\\": \\\"\\u0165\\\", \\\"tcedil\\\": \\\"\\u0163\\\", \\\"tcy\\\": \\\"\\u0442\\\", \\\"tdot\\\": \\\"\\u20db\\\", \\\"telrec\\\": \\\"\\u2315\\\", \\\"tfr\\\": \\\"\\ud835\\udd31\\\", \\\"there4\\\": \\\"\\u2234\\\", \\\"therefore\\\": \\\"\\u2234\\\", \\\"theta\\\": \\\"\\u03b8\\\", \\\"thetasym\\\": \\\"\\u03d1\\\", \\\"thetav\\\": \\\"\\u03d1\\\", \\\"thickapprox\\\": \\\"\\u2248\\\", \\\"thicksim\\\": \\\"\\u223c\\\", \\\"thinsp\\\": \\\"\\u2009\\\", \\\"thkap\\\": \\\"\\u2248\\\", \\\"thksim\\\": \\\"\\u223c\\\", \\\"thor\\\": \\\"\\u00fe\\\", \\\"thorn\\\": \\\"\\u00fe\\\", \\\"tilde\\\": \\\"\\u02dc\\\", \\\"time\\\": \\\"\\u00d7\\\", \\\"times\\\": \\\"\\u00d7\\\", \\\"timesb\\\": \\\"\\u22a0\\\", \\\"timesbar\\\": \\\"\\u2a31\\\", \\\"timesd\\\": \\\"\\u2a30\\\", \\\"tint\\\": \\\"\\u222d\\\", \\\"toea\\\": \\\"\\u2928\\\", \\\"top\\\": \\\"\\u22a4\\\", \\\"topbot\\\": \\\"\\u2336\\\", \\\"topcir\\\": \\\"\\u2af1\\\", \\\"topf\\\": \\\"\\ud835\\udd65\\\", \\\"topfork\\\": \\\"\\u2ada\\\", \\\"tosa\\\": \\\"\\u2929\\\", \\\"tprime\\\": \\\"\\u2034\\\", \\\"trade\\\": \\\"\\u2122\\\", \\\"triangle\\\": \\\"\\u25b5\\\", \\\"triangledown\\\": \\\"\\u25bf\\\", \\\"triangleleft\\\": \\\"\\u25c3\\\", \\\"trianglelefteq\\\": \\\"\\u22b4\\\", \\\"triangleq\\\": \\\"\\u225c\\\", \\\"triangleright\\\": \\\"\\u25b9\\\", \\\"trianglerighteq\\\": \\\"\\u22b5\\\", \\\"tridot\\\": \\\"\\u25ec\\\", \\\"trie\\\": \\\"\\u225c\\\", \\\"triminus\\\": \\\"\\u2a3a\\\", \\\"triplus\\\": \\\"\\u2a39\\\", \\\"trisb\\\": \\\"\\u29cd\\\", \\\"tritime\\\": \\\"\\u2a3b\\\", \\\"trpezium\\\": \\\"\\u23e2\\\", \\\"tscr\\\": \\\"\\ud835\\udcc9\\\", \\\"tscy\\\": \\\"\\u0446\\\", \\\"tshcy\\\": \\\"\\u045b\\\", \\\"tstrok\\\": \\\"\\u0167\\\", \\\"twixt\\\": \\\"\\u226c\\\", \\\"twoheadleftarrow\\\": \\\"\\u219e\\\", \\\"twoheadrightarrow\\\": \\\"\\u21a0\\\", \\\"uArr\\\": \\\"\\u21d1\\\", \\\"uHar\\\": \\\"\\u2963\\\", \\\"uacut\\\": \\\"\\u00fa\\\", \\\"uacute\\\": \\\"\\u00fa\\\", \\\"uarr\\\": \\\"\\u2191\\\", \\\"ubrcy\\\": \\\"\\u045e\\\", \\\"ubreve\\\": \\\"\\u016d\\\", \\\"ucir\\\": \\\"\\u00fb\\\", \\\"ucirc\\\": \\\"\\u00fb\\\", \\\"ucy\\\": \\\"\\u0443\\\", \\\"udarr\\\": \\\"\\u21c5\\\", \\\"udblac\\\": \\\"\\u0171\\\", \\\"udhar\\\": \\\"\\u296e\\\", \\\"ufisht\\\": \\\"\\u297e\\\", \\\"ufr\\\": \\\"\\ud835\\udd32\\\", \\\"ugrav\\\": \\\"\\u00f9\\\", \\\"ugrave\\\": \\\"\\u00f9\\\", \\\"uharl\\\": \\\"\\u21bf\\\", \\\"uharr\\\": \\\"\\u21be\\\", \\\"uhblk\\\": \\\"\\u2580\\\", \\\"ulcorn\\\": \\\"\\u231c\\\", \\\"ulcorner\\\": \\\"\\u231c\\\", \\\"ulcrop\\\": \\\"\\u230f\\\", \\\"ultri\\\": \\\"\\u25f8\\\", \\\"umacr\\\": \\\"\\u016b\\\", \\\"um\\\": \\\"\\u00a8\\\", \\\"uml\\\": \\\"\\u00a8\\\", \\\"uogon\\\": \\\"\\u0173\\\", \\\"uopf\\\": \\\"\\ud835\\udd66\\\", \\\"uparrow\\\": \\\"\\u2191\\\", \\\"updownarrow\\\": \\\"\\u2195\\\", \\\"upharpoonleft\\\": \\\"\\u21bf\\\", \\\"upharpoonright\\\": \\\"\\u21be\\\", \\\"uplus\\\": \\\"\\u228e\\\", \\\"upsi\\\": \\\"\\u03c5\\\", \\\"upsih\\\": \\\"\\u03d2\\\", \\\"upsilon\\\": \\\"\\u03c5\\\", \\\"upuparrows\\\": \\\"\\u21c8\\\", \\\"urcorn\\\": \\\"\\u231d\\\", \\\"urcorner\\\": \\\"\\u231d\\\", \\\"urcrop\\\": \\\"\\u230e\\\", \\\"uring\\\": \\\"\\u016f\\\", \\\"urtri\\\": \\\"\\u25f9\\\", \\\"uscr\\\": \\\"\\ud835\\udcca\\\", \\\"utdot\\\": \\\"\\u22f0\\\", \\\"utilde\\\": \\\"\\u0169\\\", \\\"utri\\\": \\\"\\u25b5\\\", \\\"utrif\\\": \\\"\\u25b4\\\", \\\"uuarr\\\": \\\"\\u21c8\\\", \\\"uum\\\": \\\"\\u00fc\\\", \\\"uuml\\\": \\\"\\u00fc\\\", \\\"uwangle\\\": \\\"\\u29a7\\\", \\\"vArr\\\": \\\"\\u21d5\\\", \\\"vBar\\\": \\\"\\u2ae8\\\", \\\"vBarv\\\": \\\"\\u2ae9\\\", \\\"vDash\\\": \\\"\\u22a8\\\", \\\"vangrt\\\": \\\"\\u299c\\\", \\\"varepsilon\\\": \\\"\\u03f5\\\", \\\"varkappa\\\": \\\"\\u03f0\\\", \\\"varnothing\\\": \\\"\\u2205\\\", \\\"varphi\\\": \\\"\\u03d5\\\", \\\"varpi\\\": \\\"\\u03d6\\\", \\\"varpropto\\\": \\\"\\u221d\\\", \\\"varr\\\": \\\"\\u2195\\\", \\\"varrho\\\": \\\"\\u03f1\\\", \\\"varsigma\\\": \\\"\\u03c2\\\", \\\"varsubsetneq\\\": \\\"\\u228a\\ufe00\\\", \\\"varsubsetneqq\\\": \\\"\\u2acb\\ufe00\\\", \\\"varsupsetneq\\\": \\\"\\u228b\\ufe00\\\", \\\"varsupsetneqq\\\": \\\"\\u2acc\\ufe00\\\", \\\"vartheta\\\": \\\"\\u03d1\\\", \\\"vartriangleleft\\\": \\\"\\u22b2\\\", \\\"vartriangleright\\\": \\\"\\u22b3\\\", \\\"vcy\\\": \\\"\\u0432\\\", \\\"vdash\\\": \\\"\\u22a2\\\", \\\"vee\\\": \\\"\\u2228\\\", \\\"veebar\\\": \\\"\\u22bb\\\", \\\"veeeq\\\": \\\"\\u225a\\\", \\\"vellip\\\": \\\"\\u22ee\\\", \\\"verbar\\\": \\\"|\\\", \\\"vert\\\": \\\"|\\\", \\\"vfr\\\": \\\"\\ud835\\udd33\\\", \\\"vltri\\\": \\\"\\u22b2\\\", \\\"vnsub\\\": \\\"\\u2282\\u20d2\\\", \\\"vnsup\\\": \\\"\\u2283\\u20d2\\\", \\\"vopf\\\": \\\"\\ud835\\udd67\\\", \\\"vprop\\\": \\\"\\u221d\\\", \\\"vrtri\\\": \\\"\\u22b3\\\", \\\"vscr\\\": \\\"\\ud835\\udccb\\\", \\\"vsubnE\\\": \\\"\\u2acb\\ufe00\\\", \\\"vsubne\\\": \\\"\\u228a\\ufe00\\\", \\\"vsupnE\\\": \\\"\\u2acc\\ufe00\\\", \\\"vsupne\\\": \\\"\\u228b\\ufe00\\\", \\\"vzigzag\\\": \\\"\\u299a\\\", \\\"wcirc\\\": \\\"\\u0175\\\", \\\"wedbar\\\": \\\"\\u2a5f\\\", \\\"wedge\\\": \\\"\\u2227\\\", \\\"wedgeq\\\": \\\"\\u2259\\\", \\\"weierp\\\": \\\"\\u2118\\\", \\\"wfr\\\": \\\"\\ud835\\udd34\\\", \\\"wopf\\\": \\\"\\ud835\\udd68\\\", \\\"wp\\\": \\\"\\u2118\\\", \\\"wr\\\": \\\"\\u2240\\\", \\\"wreath\\\": \\\"\\u2240\\\", \\\"wscr\\\": \\\"\\ud835\\udccc\\\", \\\"xcap\\\": \\\"\\u22c2\\\", \\\"xcirc\\\": \\\"\\u25ef\\\", \\\"xcup\\\": \\\"\\u22c3\\\", \\\"xdtri\\\": \\\"\\u25bd\\\", \\\"xfr\\\": \\\"\\ud835\\udd35\\\", \\\"xhArr\\\": \\\"\\u27fa\\\", \\\"xharr\\\": \\\"\\u27f7\\\", \\\"xi\\\": \\\"\\u03be\\\", \\\"xlArr\\\": \\\"\\u27f8\\\", \\\"xlarr\\\": \\\"\\u27f5\\\", \\\"xmap\\\": \\\"\\u27fc\\\", \\\"xnis\\\": \\\"\\u22fb\\\", \\\"xodot\\\": \\\"\\u2a00\\\", \\\"xopf\\\": \\\"\\ud835\\udd69\\\", \\\"xoplus\\\": \\\"\\u2a01\\\", \\\"xotime\\\": \\\"\\u2a02\\\", \\\"xrArr\\\": \\\"\\u27f9\\\", \\\"xrarr\\\": \\\"\\u27f6\\\", \\\"xscr\\\": \\\"\\ud835\\udccd\\\", \\\"xsqcup\\\": \\\"\\u2a06\\\", \\\"xuplus\\\": \\\"\\u2a04\\\", \\\"xutri\\\": \\\"\\u25b3\\\", \\\"xvee\\\": \\\"\\u22c1\\\", \\\"xwedge\\\": \\\"\\u22c0\\\", \\\"yacut\\\": \\\"\\u00fd\\\", \\\"yacute\\\": \\\"\\u00fd\\\", \\\"yacy\\\": \\\"\\u044f\\\", \\\"ycirc\\\": \\\"\\u0177\\\", \\\"ycy\\\": \\\"\\u044b\\\", \\\"ye\\\": \\\"\\u00a5\\\", \\\"yen\\\": \\\"\\u00a5\\\", \\\"yfr\\\": \\\"\\ud835\\udd36\\\", \\\"yicy\\\": \\\"\\u0457\\\", \\\"yopf\\\": \\\"\\ud835\\udd6a\\\", \\\"yscr\\\": \\\"\\ud835\\udcce\\\", \\\"yucy\\\": \\\"\\u044e\\\", \\\"yum\\\": \\\"\\u00ff\\\", \\\"yuml\\\": \\\"\\u00ff\\\", \\\"zacute\\\": \\\"\\u017a\\\", \\\"zcaron\\\": \\\"\\u017e\\\", \\\"zcy\\\": \\\"\\u0437\\\", \\\"zdot\\\": \\\"\\u017c\\\", \\\"zeetrf\\\": \\\"\\u2128\\\", \\\"zeta\\\": \\\"\\u03b6\\\", \\\"zfr\\\": \\\"\\ud835\\udd37\\\", \\\"zhcy\\\": \\\"\\u0436\\\", \\\"zigrarr\\\": \\\"\\u21dd\\\", \\\"zopf\\\": \\\"\\ud835\\udd6b\\\", \\\"zscr\\\": \\\"\\ud835\\udccf\\\", \\\"zwj\\\": \\\"\\u200d\\\", \\\"zwnj\\\": \\\"\\u200c\\\"}\");\nexport const characterEntitiesLegacy: Record<string, string> = JSON.parse(\"{\\\"AElig\\\": \\\"\\u00c6\\\", \\\"AMP\\\": \\\"&\\\", \\\"Aacute\\\": \\\"\\u00c1\\\", \\\"Acirc\\\": \\\"\\u00c2\\\", \\\"Agrave\\\": \\\"\\u00c0\\\", \\\"Aring\\\": \\\"\\u00c5\\\", \\\"Atilde\\\": \\\"\\u00c3\\\", \\\"Auml\\\": \\\"\\u00c4\\\", \\\"COPY\\\": \\\"\\u00a9\\\", \\\"Ccedil\\\": \\\"\\u00c7\\\", \\\"ETH\\\": \\\"\\u00d0\\\", \\\"Eacute\\\": \\\"\\u00c9\\\", \\\"Ecirc\\\": \\\"\\u00ca\\\", \\\"Egrave\\\": \\\"\\u00c8\\\", \\\"Euml\\\": \\\"\\u00cb\\\", \\\"GT\\\": \\\">\\\", \\\"Iacute\\\": \\\"\\u00cd\\\", \\\"Icirc\\\": \\\"\\u00ce\\\", \\\"Igrave\\\": \\\"\\u00cc\\\", \\\"Iuml\\\": \\\"\\u00cf\\\", \\\"LT\\\": \\\"<\\\", \\\"Ntilde\\\": \\\"\\u00d1\\\", \\\"Oacute\\\": \\\"\\u00d3\\\", \\\"Ocirc\\\": \\\"\\u00d4\\\", \\\"Ograve\\\": \\\"\\u00d2\\\", \\\"Oslash\\\": \\\"\\u00d8\\\", \\\"Otilde\\\": \\\"\\u00d5\\\", \\\"Ouml\\\": \\\"\\u00d6\\\", \\\"QUOT\\\": \\\"\\\\\\\"\\\", \\\"REG\\\": \\\"\\u00ae\\\", \\\"THORN\\\": \\\"\\u00de\\\", \\\"Uacute\\\": \\\"\\u00da\\\", \\\"Ucirc\\\": \\\"\\u00db\\\", \\\"Ugrave\\\": \\\"\\u00d9\\\", \\\"Uuml\\\": \\\"\\u00dc\\\", \\\"Yacute\\\": \\\"\\u00dd\\\", \\\"aacute\\\": \\\"\\u00e1\\\", \\\"acirc\\\": \\\"\\u00e2\\\", \\\"acute\\\": \\\"\\u00b4\\\", \\\"aelig\\\": \\\"\\u00e6\\\", \\\"agrave\\\": \\\"\\u00e0\\\", \\\"amp\\\": \\\"&\\\", \\\"aring\\\": \\\"\\u00e5\\\", \\\"atilde\\\": \\\"\\u00e3\\\", \\\"auml\\\": \\\"\\u00e4\\\", \\\"brvbar\\\": \\\"\\u00a6\\\", \\\"ccedil\\\": \\\"\\u00e7\\\", \\\"cedil\\\": \\\"\\u00b8\\\", \\\"cent\\\": \\\"\\u00a2\\\", \\\"copy\\\": \\\"\\u00a9\\\", \\\"curren\\\": \\\"\\u00a4\\\", \\\"deg\\\": \\\"\\u00b0\\\", \\\"divide\\\": \\\"\\u00f7\\\", \\\"eacute\\\": \\\"\\u00e9\\\", \\\"ecirc\\\": \\\"\\u00ea\\\", \\\"egrave\\\": \\\"\\u00e8\\\", \\\"eth\\\": \\\"\\u00f0\\\", \\\"euml\\\": \\\"\\u00eb\\\", \\\"frac12\\\": \\\"\\u00bd\\\", \\\"frac14\\\": \\\"\\u00bc\\\", \\\"frac34\\\": \\\"\\u00be\\\", \\\"gt\\\": \\\">\\\", \\\"iacute\\\": \\\"\\u00ed\\\", \\\"icirc\\\": \\\"\\u00ee\\\", \\\"iexcl\\\": \\\"\\u00a1\\\", \\\"igrave\\\": \\\"\\u00ec\\\", \\\"iquest\\\": \\\"\\u00bf\\\", \\\"iuml\\\": \\\"\\u00ef\\\", \\\"laquo\\\": \\\"\\u00ab\\\", \\\"lt\\\": \\\"<\\\", \\\"macr\\\": \\\"\\u00af\\\", \\\"micro\\\": \\\"\\u00b5\\\", \\\"middot\\\": \\\"\\u00b7\\\", \\\"nbsp\\\": \\\"\\u00a0\\\", \\\"not\\\": \\\"\\u00ac\\\", \\\"ntilde\\\": \\\"\\u00f1\\\", \\\"oacute\\\": \\\"\\u00f3\\\", \\\"ocirc\\\": \\\"\\u00f4\\\", \\\"ograve\\\": \\\"\\u00f2\\\", \\\"ordf\\\": \\\"\\u00aa\\\", \\\"ordm\\\": \\\"\\u00ba\\\", \\\"oslash\\\": \\\"\\u00f8\\\", \\\"otilde\\\": \\\"\\u00f5\\\", \\\"ouml\\\": \\\"\\u00f6\\\", \\\"para\\\": \\\"\\u00b6\\\", \\\"plusmn\\\": \\\"\\u00b1\\\", \\\"pound\\\": \\\"\\u00a3\\\", \\\"quot\\\": \\\"\\\\\\\"\\\", \\\"raquo\\\": \\\"\\u00bb\\\", \\\"reg\\\": \\\"\\u00ae\\\", \\\"sect\\\": \\\"\\u00a7\\\", \\\"shy\\\": \\\"\\u00ad\\\", \\\"sup1\\\": \\\"\\u00b9\\\", \\\"sup2\\\": \\\"\\u00b2\\\", \\\"sup3\\\": \\\"\\u00b3\\\", \\\"szlig\\\": \\\"\\u00df\\\", \\\"thorn\\\": \\\"\\u00fe\\\", \\\"times\\\": \\\"\\u00d7\\\", \\\"uacute\\\": \\\"\\u00fa\\\", \\\"ucirc\\\": \\\"\\u00fb\\\", \\\"ugrave\\\": \\\"\\u00f9\\\", \\\"uml\\\": \\\"\\u00a8\\\", \\\"uuml\\\": \\\"\\u00fc\\\", \\\"yacute\\\": \\\"\\u00fd\\\", \\\"yen\\\": \\\"\\u00a5\\\", \\\"yuml\\\": \\\"\\u00ff\\\"}\");\nexport const characterReferenceInvalid: Record<string, string> = JSON.parse(\"{\\\"0\\\": \\\"\\ufffd\\\", \\\"128\\\": \\\"\\u20ac\\\", \\\"130\\\": \\\"\\u201a\\\", \\\"131\\\": \\\"\\u0192\\\", \\\"132\\\": \\\"\\u201e\\\", \\\"133\\\": \\\"\\u2026\\\", \\\"134\\\": \\\"\\u2020\\\", \\\"135\\\": \\\"\\u2021\\\", \\\"136\\\": \\\"\\u02c6\\\", \\\"137\\\": \\\"\\u2030\\\", \\\"138\\\": \\\"\\u0160\\\", \\\"139\\\": \\\"\\u2039\\\", \\\"140\\\": \\\"\\u0152\\\", \\\"142\\\": \\\"\\u017d\\\", \\\"145\\\": \\\"\\u2018\\\", \\\"146\\\": \\\"\\u2019\\\", \\\"147\\\": \\\"\\u201c\\\", \\\"148\\\": \\\"\\u201d\\\", \\\"149\\\": \\\"\\u2022\\\", \\\"150\\\": \\\"\\u2013\\\", \\\"151\\\": \\\"\\u2014\\\", \\\"152\\\": \\\"\\u02dc\\\", \\\"153\\\": \\\"\\u2122\\\", \\\"154\\\": \\\"\\u0161\\\", \\\"155\\\": \\\"\\u203a\\\", \\\"156\\\": \\\"\\u0153\\\", \\\"158\\\": \\\"\\u017e\\\", \\\"159\\\": \\\"\\u0178\\\"}\");\nconst own = {}.hasOwnProperty;\n/** parse-entities 2.0.0's `decode-entity.js` (the Node build). */\nexport function decodeEntityV1(characters: string): string | false {\n return own.call(characterEntities, characters) ? characterEntities[characters]! : false;\n}\n","// @ts-nocheck -- vendored from parse-entities 2.0.0 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { characterEntitiesLegacy as legacy } from \"../entities-v1.js\";\nimport { characterReferenceInvalid as invalid } from \"../entities-v1.js\";\nimport { isDecimal as decimal } from \"../helpers.js\";\nimport { isHexadecimal as hexadecimal } from \"../helpers.js\";\nimport { isAlphanumerical as alphanumerical } from \"../helpers.js\";\nimport { decodeEntityV1 as decodeEntity } from \"../entities-v1.js\";\nexport default parseEntities\n\nvar own = {}.hasOwnProperty\nvar fromCharCode = String.fromCharCode\nvar noop = Function.prototype\n\n// Default settings.\nvar defaults = {\n warning: null,\n reference: null,\n text: null,\n warningContext: null,\n referenceContext: null,\n textContext: null,\n position: {},\n additional: null,\n attribute: false,\n nonTerminated: true\n}\n\n// Characters.\nvar tab = 9 // '\\t'\nvar lineFeed = 10 // '\\n'\nvar formFeed = 12 // '\\f'\nvar space = 32 // ' '\nvar ampersand = 38 // '&'\nvar semicolon = 59 // ';'\nvar lessThan = 60 // '<'\nvar equalsTo = 61 // '='\nvar numberSign = 35 // '#'\nvar uppercaseX = 88 // 'X'\nvar lowercaseX = 120 // 'x'\nvar replacementCharacter = 65533 // '�'\n\n// Reference types.\nvar name = 'named'\nvar hexa = 'hexadecimal'\nvar deci = 'decimal'\n\n// Map of bases.\nvar bases = {}\n\nbases[hexa] = 16\nbases[deci] = 10\n\n// Map of types to tests.\n// Each type of character reference accepts different characters.\n// This test is used to detect whether a reference has ended (as the semicolon\n// is not strictly needed).\nvar tests = {}\n\ntests[name] = alphanumerical\ntests[deci] = decimal\ntests[hexa] = hexadecimal\n\n// Warning types.\nvar namedNotTerminated = 1\nvar numericNotTerminated = 2\nvar namedEmpty = 3\nvar numericEmpty = 4\nvar namedUnknown = 5\nvar numericDisallowed = 6\nvar numericProhibited = 7\n\n// Warning messages.\nvar messages = {}\n\nmessages[namedNotTerminated] =\n 'Named character references must be terminated by a semicolon'\nmessages[numericNotTerminated] =\n 'Numeric character references must be terminated by a semicolon'\nmessages[namedEmpty] = 'Named character references cannot be empty'\nmessages[numericEmpty] = 'Numeric character references cannot be empty'\nmessages[namedUnknown] = 'Named character references must be known'\nmessages[numericDisallowed] =\n 'Numeric character references cannot be disallowed'\nmessages[numericProhibited] =\n 'Numeric character references cannot be outside the permissible Unicode range'\n\n// Wrap to ensure clean parameters are given to `parse`.\nfunction parseEntities(value, options) {\n var settings = {}\n var option\n var key\n\n if (!options) {\n options = {}\n }\n\n for (key in defaults) {\n option = options[key]\n settings[key] =\n option === null || option === undefined ? defaults[key] : option\n }\n\n if (settings.position.indent || settings.position.start) {\n settings.indent = settings.position.indent || []\n settings.position = settings.position.start\n }\n\n return parse(value, settings)\n}\n\n// Parse entities.\nfunction parse(value, settings) {\n var additional = settings.additional\n var nonTerminated = settings.nonTerminated\n var handleText = settings.text\n var handleReference = settings.reference\n var handleWarning = settings.warning\n var textContext = settings.textContext\n var referenceContext = settings.referenceContext\n var warningContext = settings.warningContext\n var pos = settings.position\n var indent = settings.indent || []\n var length = value.length\n var index = 0\n var lines = -1\n var column = pos.column || 1\n var line = pos.line || 1\n var queue = ''\n var result = []\n var entityCharacters\n var namedEntity\n var terminated\n var characters\n var character\n var reference\n var following\n var warning\n var reason\n var output\n var entity\n var begin\n var start\n var type\n var test\n var prev\n var next\n var diff\n var end\n\n if (typeof additional === 'string') {\n additional = additional.charCodeAt(0)\n }\n\n // Cache the current point.\n prev = now()\n\n // Wrap `handleWarning`.\n warning = handleWarning ? parseError : noop\n\n // Ensure the algorithm walks over the first character and the end\n // (inclusive).\n index--\n length++\n\n while (++index < length) {\n // If the previous character was a newline.\n if (character === lineFeed) {\n column = indent[lines] || 1\n }\n\n character = value.charCodeAt(index)\n\n if (character === ampersand) {\n following = value.charCodeAt(index + 1)\n\n // The behaviour depends on the identity of the next character.\n if (\n following === tab ||\n following === lineFeed ||\n following === formFeed ||\n following === space ||\n following === ampersand ||\n following === lessThan ||\n following !== following ||\n (additional && following === additional)\n ) {\n // Not a character reference.\n // No characters are consumed, and nothing is returned.\n // This is not an error, either.\n queue += fromCharCode(character)\n column++\n\n continue\n }\n\n start = index + 1\n begin = start\n end = start\n\n if (following === numberSign) {\n // Numerical entity.\n end = ++begin\n\n // The behaviour further depends on the next character.\n following = value.charCodeAt(end)\n\n if (following === uppercaseX || following === lowercaseX) {\n // ASCII hex digits.\n type = hexa\n end = ++begin\n } else {\n // ASCII digits.\n type = deci\n }\n } else {\n // Named entity.\n type = name\n }\n\n entityCharacters = ''\n entity = ''\n characters = ''\n test = tests[type]\n end--\n\n while (++end < length) {\n following = value.charCodeAt(end)\n\n if (!test(following)) {\n break\n }\n\n characters += fromCharCode(following)\n\n // Check if we can match a legacy named reference.\n // If so, we cache that as the last viable named reference.\n // This ensures we do not need to walk backwards later.\n if (type === name && own.call(legacy, characters)) {\n entityCharacters = characters\n entity = legacy[characters]\n }\n }\n\n terminated = value.charCodeAt(end) === semicolon\n\n if (terminated) {\n end++\n\n namedEntity = type === name ? decodeEntity(characters) : false\n\n if (namedEntity) {\n entityCharacters = characters\n entity = namedEntity\n }\n }\n\n diff = 1 + end - start\n\n if (!terminated && !nonTerminated) {\n // Empty.\n } else if (!characters) {\n // An empty (possible) entity is valid, unless it’s numeric (thus an\n // ampersand followed by an octothorp).\n if (type !== name) {\n warning(numericEmpty, diff)\n }\n } else if (type === name) {\n // An ampersand followed by anything unknown, and not terminated, is\n // invalid.\n if (terminated && !entity) {\n warning(namedUnknown, 1)\n } else {\n // If theres something after an entity name which is not known, cap\n // the reference.\n if (entityCharacters !== characters) {\n end = begin + entityCharacters.length\n diff = 1 + end - begin\n terminated = false\n }\n\n // If the reference is not terminated, warn.\n if (!terminated) {\n reason = entityCharacters ? namedNotTerminated : namedEmpty\n\n if (settings.attribute) {\n following = value.charCodeAt(end)\n\n if (following === equalsTo) {\n warning(reason, diff)\n entity = null\n } else if (alphanumerical(following)) {\n entity = null\n } else {\n warning(reason, diff)\n }\n } else {\n warning(reason, diff)\n }\n }\n }\n\n reference = entity\n } else {\n if (!terminated) {\n // All non-terminated numeric entities are not rendered, and trigger a\n // warning.\n warning(numericNotTerminated, diff)\n }\n\n // When terminated and number, parse as either hexadecimal or decimal.\n reference = parseInt(characters, bases[type])\n\n // Trigger a warning when the parsed number is prohibited, and replace\n // with replacement character.\n if (prohibited(reference)) {\n warning(numericProhibited, diff)\n reference = fromCharCode(replacementCharacter)\n } else if (reference in invalid) {\n // Trigger a warning when the parsed number is disallowed, and replace\n // by an alternative.\n warning(numericDisallowed, diff)\n reference = invalid[reference]\n } else {\n // Parse the number.\n output = ''\n\n // Trigger a warning when the parsed number should not be used.\n if (disallowed(reference)) {\n warning(numericDisallowed, diff)\n }\n\n // Stringify the number.\n if (reference > 0xffff) {\n reference -= 0x10000\n output += fromCharCode((reference >>> (10 & 0x3ff)) | 0xd800)\n reference = 0xdc00 | (reference & 0x3ff)\n }\n\n reference = output + fromCharCode(reference)\n }\n }\n\n // Found it!\n // First eat the queued characters as normal text, then eat an entity.\n if (reference) {\n flush()\n\n prev = now()\n index = end - 1\n column += end - start + 1\n result.push(reference)\n next = now()\n next.offset++\n\n if (handleReference) {\n handleReference.call(\n referenceContext,\n reference,\n {start: prev, end: next},\n value.slice(start - 1, end)\n )\n }\n\n prev = next\n } else {\n // If we could not find a reference, queue the checked characters (as\n // normal characters), and move the pointer to their end.\n // This is possible because we can be certain neither newlines nor\n // ampersands are included.\n characters = value.slice(start - 1, end)\n queue += characters\n column += characters.length\n index = end - 1\n }\n } else {\n // Handle anything other than an ampersand, including newlines and EOF.\n if (\n character === 10 // Line feed\n ) {\n line++\n lines++\n column = 0\n }\n\n if (character === character) {\n queue += fromCharCode(character)\n column++\n } else {\n flush()\n }\n }\n }\n\n // Return the reduced nodes.\n return result.join('')\n\n // Get current position.\n function now() {\n return {\n line: line,\n column: column,\n offset: index + (pos.offset || 0)\n }\n }\n\n // “Throw” a parse-error: a warning.\n function parseError(code, offset) {\n var position = now()\n\n position.column += offset\n position.offset += offset\n\n handleWarning.call(warningContext, messages[code], position, code)\n }\n\n // Flush `queue` (normal text).\n // Macro invoked before each entity and at the end of `value`.\n // Does nothing when `queue` is empty.\n function flush() {\n if (queue) {\n result.push(queue)\n\n if (handleText) {\n handleText.call(textContext, queue, {start: prev, end: now()})\n }\n\n queue = ''\n }\n }\n}\n\n// Check if `character` is outside the permissible unicode range.\nfunction prohibited(code) {\n return (code >= 0xd800 && code <= 0xdfff) || code > 0x10ffff\n}\n\n// Check if `character` is disallowed.\nfunction disallowed(code) {\n return (\n (code >= 0x0001 && code <= 0x0008) ||\n code === 0x000b ||\n (code >= 0x000d && code <= 0x001f) ||\n (code >= 0x007f && code <= 0x009f) ||\n (code >= 0xfdd0 && code <= 0xfdef) ||\n (code & 0xffff) === 0xffff ||\n (code & 0xffff) === 0xfffe\n )\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { xtend as xtend } from \"../helpers.js\";\nimport entities from \"../parse-entities/index.js\";\nexport default factory\n\n// Factory to create an entity decoder.\nfunction factory(ctx) {\n decoder.raw = decodeRaw\n\n return decoder\n\n // Normalize `position` to add an `indent`.\n function normalize(position) {\n var offsets = ctx.offset\n var line = position.line\n var result = []\n\n while (++line) {\n if (!(line in offsets)) {\n break\n }\n\n result.push((offsets[line] || 0) + 1)\n }\n\n return {start: position, indent: result}\n }\n\n // Decode `value` (at `position`) into text-nodes.\n function decoder(value, position, handler) {\n entities(value, {\n position: normalize(position),\n warning: handleWarning,\n text: handler,\n reference: handler,\n textContext: ctx,\n referenceContext: ctx\n })\n }\n\n // Decode `value` (at `position`) into a string.\n function decodeRaw(value, position, options) {\n return entities(\n value,\n xtend(options, {position: normalize(position), warning: handleWarning})\n )\n }\n\n // Handle a warning.\n // See <https://github.com/wooorm/parse-entities> for the warnings.\n function handleWarning(reason, position, code) {\n if (code !== 3) {\n ctx.file.message(reason, position)\n }\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default factory\n\n// Construct a tokenizer. This creates both `tokenizeInline` and `tokenizeBlock`.\nfunction factory(type) {\n return tokenize\n\n // Tokenizer for a bound `type`.\n function tokenize(value, location) {\n var self = this\n var offset = self.offset\n var tokens = []\n var methods = self[type + 'Methods']\n var tokenizers = self[type + 'Tokenizers']\n var line = location.line\n var column = location.column\n var index\n var length\n var method\n var name\n var matched\n var valueLength\n\n // Trim white space only lines.\n if (!value) {\n return tokens\n }\n\n // Expose on `eat`.\n eat.now = now\n eat.file = self.file\n\n // Sync initial offset.\n updatePosition('')\n\n // Iterate over `value`, and iterate over all tokenizers. When one eats\n // something, re-iterate with the remaining value. If no tokenizer eats,\n // something failed (should not happen) and an exception is thrown.\n while (value) {\n index = -1\n length = methods.length\n matched = false\n\n while (++index < length) {\n name = methods[index]\n method = tokenizers[name]\n\n // Previously, we had constructs such as footnotes and YAML that used\n // these properties.\n // Those are now external (plus there are userland extensions), that may\n // still use them.\n if (\n method &&\n /* istanbul ignore next */ (!method.onlyAtStart || self.atStart) &&\n /* istanbul ignore next */ (!method.notInList || !self.inList) &&\n /* istanbul ignore next */ (!method.notInBlock || !self.inBlock) &&\n (!method.notInLink || !self.inLink)\n ) {\n valueLength = value.length\n\n method.apply(self, [eat, value])\n\n matched = valueLength !== value.length\n\n if (matched) {\n break\n }\n }\n }\n\n /* istanbul ignore if */\n if (!matched) {\n self.file.fail(new Error('Infinite loop'), eat.now())\n }\n }\n\n self.eof = now()\n\n return tokens\n\n // Update line, column, and offset based on `value`.\n function updatePosition(subvalue) {\n var lastIndex = -1\n var index = subvalue.indexOf('\\n')\n\n while (index !== -1) {\n line++\n lastIndex = index\n index = subvalue.indexOf('\\n', index + 1)\n }\n\n if (lastIndex === -1) {\n column += subvalue.length\n } else {\n column = subvalue.length - lastIndex\n }\n\n if (line in offset) {\n if (lastIndex !== -1) {\n column += offset[line]\n } else if (column <= offset[line]) {\n column = offset[line] + 1\n }\n }\n }\n\n // Get offset. Called before the first character is eaten to retrieve the\n // range’s offsets.\n function getOffset() {\n var indentation = []\n var pos = line + 1\n\n // Done. Called when the last character is eaten to retrieve the range’s\n // offsets.\n return function () {\n var last = line + 1\n\n while (pos < last) {\n indentation.push((offset[pos] || 0) + 1)\n\n pos++\n }\n\n return indentation\n }\n }\n\n // Get the current position.\n function now() {\n var pos = {line: line, column: column}\n\n pos.offset = self.toOffset(pos)\n\n return pos\n }\n\n // Store position information for a node.\n function Position(start) {\n this.start = start\n this.end = now()\n }\n\n // Throw when a value is incorrectly eaten. This shouldn’t happen but will\n // throw on new, incorrect rules.\n function validateEat(subvalue) {\n /* istanbul ignore if */\n if (value.slice(0, subvalue.length) !== subvalue) {\n // Capture stack-trace.\n self.file.fail(\n new Error(\n 'Incorrectly eaten value: please report this warning on https://git.io/vg5Ft'\n ),\n now()\n )\n }\n }\n\n // Mark position and patch `node.position`.\n function position() {\n var before = now()\n\n return update\n\n // Add the position to a node.\n function update(node, indent) {\n var previous = node.position\n var start = previous ? previous.start : before\n var combined = []\n var n = previous && previous.end.line\n var l = before.line\n\n node.position = new Position(start)\n\n // If there was already a `position`, this node was merged. Fixing\n // `start` wasn’t hard, but the indent is different. Especially\n // because some information, the indent between `n` and `l` wasn’t\n // tracked. Luckily, that space is (should be?) empty, so we can\n // safely check for it now.\n if (previous && indent && previous.indent) {\n combined = previous.indent\n\n if (n < l) {\n while (++n < l) {\n combined.push((offset[n] || 0) + 1)\n }\n\n combined.push(before.column)\n }\n\n indent = combined.concat(indent)\n }\n\n node.position.indent = indent || []\n\n return node\n }\n }\n\n // Add `node` to `parent`s children or to `tokens`. Performs merges where\n // possible.\n function add(node, parent) {\n var children = parent ? parent.children : tokens\n var previous = children[children.length - 1]\n var fn\n\n if (\n previous &&\n node.type === previous.type &&\n (node.type === 'text' || node.type === 'blockquote') &&\n mergeable(previous) &&\n mergeable(node)\n ) {\n fn = node.type === 'text' ? mergeText : mergeBlockquote\n node = fn.call(self, previous, node)\n }\n\n if (node !== previous) {\n children.push(node)\n }\n\n if (self.atStart && tokens.length !== 0) {\n self.exitStart()\n }\n\n return node\n }\n\n // Remove `subvalue` from `value`. `subvalue` must be at the start of\n // `value`.\n function eat(subvalue) {\n var indent = getOffset()\n var pos = position()\n var current = now()\n\n validateEat(subvalue)\n\n apply.reset = reset\n reset.test = test\n apply.test = test\n\n value = value.slice(subvalue.length)\n\n updatePosition(subvalue)\n\n indent = indent()\n\n return apply\n\n // Add the given arguments, add `position` to the returned node, and\n // return the node.\n function apply(node, parent) {\n return pos(add(pos(node), parent), indent)\n }\n\n // Functions just like apply, but resets the content: the line and\n // column are reversed, and the eaten value is re-added. This is\n // useful for nodes with a single type of content, such as lists and\n // tables. See `apply` above for what parameters are expected.\n function reset() {\n var node = apply.apply(null, arguments)\n\n line = current.line\n column = current.column\n value = subvalue + value\n\n return node\n }\n\n // Test the position, after eating, and reverse to a not-eaten state.\n function test() {\n var result = pos({})\n\n line = current.line\n column = current.column\n value = subvalue + value\n\n return result.position\n }\n }\n }\n}\n\n// Check whether a node is mergeable with adjacent nodes.\nfunction mergeable(node) {\n var start\n var end\n\n if (node.type !== 'text' || !node.position) {\n return true\n }\n\n start = node.position.start\n end = node.position.end\n\n // Only merge nodes which occupy the same size as their `value`.\n return (\n start.line !== end.line || end.column - start.column === node.value.length\n )\n}\n\n// Merge two text nodes: `node` into `prev`.\nfunction mergeText(previous, node) {\n previous.value += node.value\n\n return previous\n}\n\n// Merge two blockquotes: `node` into `prev`, unless in CommonMark or gfm modes.\nfunction mergeBlockquote(previous, node) {\n if (this.options.commonmark || this.options.gfm) {\n return node\n }\n\n previous.children = previous.children.concat(node.children)\n\n return previous\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default [\n 'address',\n 'article',\n 'aside',\n 'base',\n 'basefont',\n 'blockquote',\n 'body',\n 'caption',\n 'center',\n 'col',\n 'colgroup',\n 'dd',\n 'details',\n 'dialog',\n 'dir',\n 'div',\n 'dl',\n 'dt',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'frame',\n 'frameset',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hgroup',\n 'hr',\n 'html',\n 'iframe',\n 'legend',\n 'li',\n 'link',\n 'main',\n 'menu',\n 'menuitem',\n 'meta',\n 'nav',\n 'noframes',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'param',\n 'pre',\n 'section',\n 'source',\n 'title',\n 'summary',\n 'table',\n 'tbody',\n 'td',\n 'tfoot',\n 'th',\n 'thead',\n 'title',\n 'tr',\n 'track',\n 'ul'\n]\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport __required1 from \"./block-elements.js\";\nexport default {\n position: true,\n gfm: true,\n commonmark: false,\n pedantic: false,\n blocks: __required1\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { xtend as xtend } from \"../helpers.js\";\nimport { markdownEscapes as escapes } from \"../helpers.js\";\nimport defaults from \"./defaults.js\";\nexport default setOptions\n\nfunction setOptions(options) {\n var self = this\n var current = self.options\n var key\n var value\n\n if (options == null) {\n options = {}\n } else if (typeof options === 'object') {\n options = xtend(options)\n } else {\n throw new Error('Invalid value `' + options + '` for setting `options`')\n }\n\n for (key in defaults) {\n value = options[key]\n\n if (value == null) {\n value = current[key]\n }\n\n if (\n (key !== 'blocks' && typeof value !== 'boolean') ||\n (key === 'blocks' && typeof value !== 'object')\n ) {\n throw new Error(\n 'Invalid value `' + value + '` for setting `options.' + key + '`'\n )\n }\n\n options[key] = value\n }\n\n self.options = options\n self.escape = escapes(options)\n\n return self\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { xtend as xtend } from \"../helpers.js\";\nimport { removePosition as removePosition } from \"../helpers.js\";\nexport default parse\n\nvar lineFeed = '\\n'\nvar lineBreaksExpression = /\\r\\n|\\r/g\n\n// Parse the bound file.\nfunction parse() {\n var self = this\n var value = String(self.file)\n var start = {line: 1, column: 1, offset: 0}\n var content = xtend(start)\n var node\n\n // Clean non-unix newlines: `\\r\\n` and `\\r` are all changed to `\\n`.\n // This should not affect positional information.\n value = value.replace(lineBreaksExpression, lineFeed)\n\n // BOM.\n if (value.charCodeAt(0) === 0xfeff) {\n value = value.slice(1)\n\n content.column++\n content.offset++\n }\n\n node = {\n type: 'root',\n children: self.tokenizeBlock(value, content),\n position: {start: start, end: self.eof || xtend(start)}\n }\n\n if (!self.options.position) {\n removePosition(node, true)\n }\n\n return node\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\n// A line containing no characters, or a line containing only spaces (U+0020) or\n// tabs (U+0009), is called a blank line.\n// See <https://spec.commonmark.org/0.29/#blank-line>.\nvar reBlankLine = /^[ \\t]*(\\n|$)/\n\n// Note that though blank lines play a special role in lists to determine\n// whether the list is tight or loose\n// (<https://spec.commonmark.org/0.29/#blank-lines>), it’s done by the list\n// tokenizer and this blank line tokenizer does not have to be responsible for\n// that.\n// Therefore, configs such as `blankLine.notInList` do not have to be set here.\nexport default blankLine\n\nfunction blankLine(eat, value, silent) {\n var match\n var subvalue = ''\n var index = 0\n var length = value.length\n\n while (index < length) {\n match = reBlankLine.exec(value.slice(index))\n\n if (match == null) {\n break\n }\n\n index += match[0].length\n subvalue += match[0]\n }\n\n if (subvalue === '') {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n eat(subvalue)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { repeat as repeat } from \"../../helpers.js\";\nimport { trimTrailingLines as trim } from \"../../helpers.js\";\nexport default indentedCode\n\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar space = ' '\n\nvar tabSize = 4\nvar codeIndent = repeat(space, tabSize)\n\nfunction indentedCode(eat, value, silent) {\n var index = -1\n var length = value.length\n var subvalue = ''\n var content = ''\n var subvalueQueue = ''\n var contentQueue = ''\n var character\n var blankQueue\n var indent\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (indent) {\n indent = false\n\n subvalue += subvalueQueue\n content += contentQueue\n subvalueQueue = ''\n contentQueue = ''\n\n if (character === lineFeed) {\n subvalueQueue = character\n contentQueue = character\n } else {\n subvalue += character\n content += character\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (!character || character === lineFeed) {\n contentQueue = character\n subvalueQueue = character\n break\n }\n\n subvalue += character\n content += character\n }\n }\n } else if (\n character === space &&\n value.charAt(index + 1) === character &&\n value.charAt(index + 2) === character &&\n value.charAt(index + 3) === character\n ) {\n subvalueQueue += codeIndent\n index += 3\n indent = true\n } else if (character === tab) {\n subvalueQueue += character\n indent = true\n } else {\n blankQueue = ''\n\n while (character === tab || character === space) {\n blankQueue += character\n character = value.charAt(++index)\n }\n\n if (character !== lineFeed) {\n break\n }\n\n subvalueQueue += blankQueue + character\n contentQueue += character\n }\n }\n\n if (content) {\n if (silent) {\n return true\n }\n\n return eat(subvalue)({\n type: 'code',\n lang: null,\n meta: null,\n value: trim(content)\n })\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default fencedCode\n\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar space = ' '\nvar tilde = '~'\nvar graveAccent = '`'\n\nvar minFenceCount = 3\nvar tabSize = 4\n\nfunction fencedCode(eat, value, silent) {\n var self = this\n var gfm = self.options.gfm\n var length = value.length + 1\n var index = 0\n var subvalue = ''\n var fenceCount\n var marker\n var character\n var flag\n var lang\n var meta\n var queue\n var content\n var exdentedContent\n var closing\n var exdentedClosing\n var indent\n var now\n\n if (!gfm) {\n return\n }\n\n // Eat initial spacing.\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n break\n }\n\n subvalue += character\n index++\n }\n\n indent = index\n\n // Eat the fence.\n character = value.charAt(index)\n\n if (character !== tilde && character !== graveAccent) {\n return\n }\n\n index++\n marker = character\n fenceCount = 1\n subvalue += character\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== marker) {\n break\n }\n\n subvalue += character\n fenceCount++\n index++\n }\n\n if (fenceCount < minFenceCount) {\n return\n }\n\n // Eat spacing before flag.\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n break\n }\n\n subvalue += character\n index++\n }\n\n // Eat flag.\n flag = ''\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (\n character === lineFeed ||\n (marker === graveAccent && character === marker)\n ) {\n break\n }\n\n if (character === space || character === tab) {\n queue += character\n } else {\n flag += queue + character\n queue = ''\n }\n\n index++\n }\n\n character = value.charAt(index)\n\n if (character && character !== lineFeed) {\n return\n }\n\n if (silent) {\n return true\n }\n\n now = eat.now()\n now.column += subvalue.length\n now.offset += subvalue.length\n\n subvalue += flag\n flag = self.decode.raw(self.unescape(flag), now)\n\n if (queue) {\n subvalue += queue\n }\n\n queue = ''\n closing = ''\n exdentedClosing = ''\n content = ''\n exdentedContent = ''\n var skip = true\n\n // Eat content.\n while (index < length) {\n character = value.charAt(index)\n content += closing\n exdentedContent += exdentedClosing\n closing = ''\n exdentedClosing = ''\n\n if (character !== lineFeed) {\n content += character\n exdentedClosing += character\n index++\n continue\n }\n\n // The first line feed is ignored. Others aren’t.\n if (skip) {\n subvalue += character\n skip = false\n } else {\n closing += character\n exdentedClosing += character\n }\n\n queue = ''\n index++\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space) {\n break\n }\n\n queue += character\n index++\n }\n\n closing += queue\n exdentedClosing += queue.slice(indent)\n\n if (queue.length >= tabSize) {\n continue\n }\n\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== marker) {\n break\n }\n\n queue += character\n index++\n }\n\n closing += queue\n exdentedClosing += queue\n\n if (queue.length < fenceCount) {\n continue\n }\n\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n break\n }\n\n closing += character\n exdentedClosing += character\n index++\n }\n\n if (!character || character === lineFeed) {\n break\n }\n }\n\n subvalue += content + closing\n\n // Get lang and meta from the flag.\n index = -1\n length = flag.length\n\n while (++index < length) {\n character = flag.charAt(index)\n\n if (character === space || character === tab) {\n if (!lang) {\n lang = flag.slice(0, index)\n }\n } else if (lang) {\n meta = flag.slice(index)\n break\n }\n }\n\n return eat(subvalue)({\n type: 'code',\n lang: lang || flag || null,\n meta: meta || null,\n value: exdentedContent\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { trim as trim } from \"../../helpers.js\";\nimport interrupt from \"../util/interrupt.js\";\nexport default blockquote\n\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar space = ' '\nvar greaterThan = '>'\n\nfunction blockquote(eat, value, silent) {\n var self = this\n var offsets = self.offset\n var tokenizers = self.blockTokenizers\n var interruptors = self.interruptBlockquote\n var now = eat.now()\n var currentLine = now.line\n var length = value.length\n var values = []\n var contents = []\n var indents = []\n var add\n var index = 0\n var character\n var rest\n var nextIndex\n var content\n var line\n var startIndex\n var prefixed\n var exit\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n break\n }\n\n index++\n }\n\n if (value.charAt(index) !== greaterThan) {\n return\n }\n\n if (silent) {\n return true\n }\n\n index = 0\n\n while (index < length) {\n nextIndex = value.indexOf(lineFeed, index)\n startIndex = index\n prefixed = false\n\n if (nextIndex === -1) {\n nextIndex = length\n }\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n break\n }\n\n index++\n }\n\n if (value.charAt(index) === greaterThan) {\n index++\n prefixed = true\n\n if (value.charAt(index) === space) {\n index++\n }\n } else {\n index = startIndex\n }\n\n content = value.slice(index, nextIndex)\n\n if (!prefixed && !trim(content)) {\n index = startIndex\n break\n }\n\n if (!prefixed) {\n rest = value.slice(index)\n\n // Check if the following code contains a possible block.\n if (interrupt(interruptors, tokenizers, self, [eat, rest, true])) {\n break\n }\n }\n\n line = startIndex === index ? content : value.slice(startIndex, nextIndex)\n\n indents.push(index - startIndex)\n values.push(line)\n contents.push(content)\n\n index = nextIndex + 1\n }\n\n index = -1\n length = indents.length\n add = eat(values.join(lineFeed))\n\n while (++index < length) {\n offsets[currentLine] = (offsets[currentLine] || 0) + indents[index]\n currentLine++\n }\n\n exit = self.enterBlock()\n contents = self.tokenizeBlock(contents.join(lineFeed), now)\n exit()\n\n return add({type: 'blockquote', children: contents})\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default atxHeading\n\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar space = ' '\nvar numberSign = '#'\n\nvar maxFenceCount = 6\n\nfunction atxHeading(eat, value, silent) {\n var self = this\n var pedantic = self.options.pedantic\n var length = value.length + 1\n var index = -1\n var now = eat.now()\n var subvalue = ''\n var content = ''\n var character\n var queue\n var depth\n\n // Eat initial spacing.\n while (++index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n index--\n break\n }\n\n subvalue += character\n }\n\n // Eat hashes.\n depth = 0\n\n while (++index <= length) {\n character = value.charAt(index)\n\n if (character !== numberSign) {\n index--\n break\n }\n\n subvalue += character\n depth++\n }\n\n if (depth > maxFenceCount) {\n return\n }\n\n if (!depth || (!pedantic && value.charAt(index + 1) === numberSign)) {\n return\n }\n\n length = value.length + 1\n\n // Eat intermediate white-space.\n queue = ''\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n index--\n break\n }\n\n queue += character\n }\n\n // Exit when not in pedantic mode without spacing.\n if (!pedantic && queue.length === 0 && character && character !== lineFeed) {\n return\n }\n\n if (silent) {\n return true\n }\n\n // Eat content.\n subvalue += queue\n queue = ''\n content = ''\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (!character || character === lineFeed) {\n break\n }\n\n if (character !== space && character !== tab && character !== numberSign) {\n content += queue + character\n queue = ''\n continue\n }\n\n while (character === space || character === tab) {\n queue += character\n character = value.charAt(++index)\n }\n\n // `#` without a queue is part of the content.\n if (!pedantic && content && !queue && character === numberSign) {\n content += character\n continue\n }\n\n while (character === numberSign) {\n queue += character\n character = value.charAt(++index)\n }\n\n while (character === space || character === tab) {\n queue += character\n character = value.charAt(++index)\n }\n\n index--\n }\n\n now.column += subvalue.length\n now.offset += subvalue.length\n subvalue += content + queue\n\n return eat(subvalue)({\n type: 'heading',\n depth: depth,\n children: self.tokenizeInline(content, now)\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default thematicBreak\n\nvar tab = '\\t'\nvar lineFeed = '\\n'\nvar space = ' '\nvar asterisk = '*'\nvar dash = '-'\nvar underscore = '_'\n\nvar maxCount = 3\n\nfunction thematicBreak(eat, value, silent) {\n var index = -1\n var length = value.length + 1\n var subvalue = ''\n var character\n var marker\n var markerCount\n var queue\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space) {\n break\n }\n\n subvalue += character\n }\n\n if (\n character !== asterisk &&\n character !== dash &&\n character !== underscore\n ) {\n return\n }\n\n marker = character\n subvalue += character\n markerCount = 1\n queue = ''\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (character === marker) {\n markerCount++\n subvalue += queue + marker\n queue = ''\n } else if (character === space) {\n queue += character\n } else if (\n markerCount >= maxCount &&\n (!character || character === lineFeed)\n ) {\n subvalue += queue\n\n if (silent) {\n return true\n }\n\n return eat(subvalue)({type: 'thematicBreak'})\n } else {\n return\n }\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { trim as trim } from \"../../helpers.js\";\nimport { repeat as repeat } from \"../../helpers.js\";\nimport getIndent from \"./get-indentation.js\";\nexport default indentation\n\nvar lineFeed = '\\n'\nvar space = ' '\nvar exclamationMark = '!'\n\n// Remove the minimum indent from every line in `value`. Supports both tab,\n// spaced, and mixed indentation (as well as possible).\nfunction indentation(value, maximum) {\n var values = value.split(lineFeed)\n var position = values.length + 1\n var minIndent = Infinity\n var matrix = []\n var index\n var indentation\n var stops\n\n values.unshift(repeat(space, maximum) + exclamationMark)\n\n while (position--) {\n indentation = getIndent(values[position])\n\n matrix[position] = indentation.stops\n\n if (trim(values[position]).length === 0) {\n continue\n }\n\n if (indentation.indent) {\n if (indentation.indent > 0 && indentation.indent < minIndent) {\n minIndent = indentation.indent\n }\n } else {\n minIndent = Infinity\n\n break\n }\n }\n\n if (minIndent !== Infinity) {\n position = values.length\n\n while (position--) {\n stops = matrix[position]\n index = minIndent\n\n while (index && !(index in stops)) {\n index--\n }\n\n values[position] = values[position].slice(stops[index] + 1)\n }\n }\n\n values.shift()\n\n return values.join(lineFeed)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { trim as trim } from \"../../helpers.js\";\nimport { repeat as repeat } from \"../../helpers.js\";\nimport { isDecimal as decimal } from \"../../helpers.js\";\nimport getIndent from \"../util/get-indentation.js\";\nimport removeIndent from \"../util/remove-indentation.js\";\nimport interrupt from \"../util/interrupt.js\";\nexport default list\n\nvar asterisk = '*'\nvar underscore = '_'\nvar plusSign = '+'\nvar dash = '-'\nvar dot = '.'\nvar space = ' '\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar rightParenthesis = ')'\nvar lowercaseX = 'x'\n\nvar tabSize = 4\nvar looseListItemExpression = /\\n\\n(?!\\s*$)/\nvar taskItemExpression = /^\\[([ X\\tx])][ \\t]/\nvar bulletExpression = /^([ \\t]*)([*+-]|\\d+[.)])( {1,4}(?! )| |\\t|$|(?=\\n))([^\\n]*)/\nvar pedanticBulletExpression = /^([ \\t]*)([*+-]|\\d+[.)])([ \\t]+)/\nvar initialIndentExpression = /^( {1,4}|\\t)?/gm\n\nfunction list(eat, value, silent) {\n var self = this\n var commonmark = self.options.commonmark\n var pedantic = self.options.pedantic\n var tokenizers = self.blockTokenizers\n var interuptors = self.interruptList\n var index = 0\n var length = value.length\n var start = null\n var size\n var queue\n var ordered\n var character\n var marker\n var nextIndex\n var startIndex\n var prefixed\n var currentMarker\n var content\n var line\n var previousEmpty\n var empty\n var items\n var allLines\n var emptyLines\n var item\n var enterTop\n var exitBlockquote\n var spread = false\n var node\n var now\n var end\n var indented\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space) {\n break\n }\n\n index++\n }\n\n character = value.charAt(index)\n\n if (character === asterisk || character === plusSign || character === dash) {\n marker = character\n ordered = false\n } else {\n ordered = true\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!decimal(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (\n !queue ||\n !(character === dot || (commonmark && character === rightParenthesis))\n ) {\n return\n }\n\n /* Slightly abusing `silent` mode, whose goal is to make interrupting\n * paragraphs work.\n * Well, that’s exactly what we want to do here: don’t interrupt:\n * 2. here, because the “list” doesn’t start with `1`. */\n if (silent && queue !== '1') {\n return\n }\n\n start = parseInt(queue, 10)\n marker = character\n }\n\n character = value.charAt(++index)\n\n if (\n character !== space &&\n character !== tab &&\n (pedantic || (character !== lineFeed && character !== ''))\n ) {\n return\n }\n\n if (silent) {\n return true\n }\n\n index = 0\n items = []\n allLines = []\n emptyLines = []\n\n while (index < length) {\n nextIndex = value.indexOf(lineFeed, index)\n startIndex = index\n prefixed = false\n indented = false\n\n if (nextIndex === -1) {\n nextIndex = length\n }\n\n size = 0\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === tab) {\n size += tabSize - (size % tabSize)\n } else if (character === space) {\n size++\n } else {\n break\n }\n\n index++\n }\n\n if (item && size >= item.indent) {\n indented = true\n }\n\n character = value.charAt(index)\n currentMarker = null\n\n if (!indented) {\n if (\n character === asterisk ||\n character === plusSign ||\n character === dash\n ) {\n currentMarker = character\n index++\n size++\n } else {\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!decimal(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n index++\n\n if (\n queue &&\n (character === dot || (commonmark && character === rightParenthesis))\n ) {\n currentMarker = character\n size += queue.length + 1\n }\n }\n\n if (currentMarker) {\n character = value.charAt(index)\n\n if (character === tab) {\n size += tabSize - (size % tabSize)\n index++\n } else if (character === space) {\n end = index + tabSize\n\n while (index < end) {\n if (value.charAt(index) !== space) {\n break\n }\n\n index++\n size++\n }\n\n if (index === end && value.charAt(index) === space) {\n index -= tabSize - 1\n size -= tabSize - 1\n }\n } else if (character !== lineFeed && character !== '') {\n currentMarker = null\n }\n }\n }\n\n if (currentMarker) {\n if (!pedantic && marker !== currentMarker) {\n break\n }\n\n prefixed = true\n } else {\n if (!commonmark && !indented && value.charAt(startIndex) === space) {\n indented = true\n } else if (commonmark && item) {\n indented = size >= item.indent || size > tabSize\n }\n\n prefixed = false\n index = startIndex\n }\n\n line = value.slice(startIndex, nextIndex)\n content = startIndex === index ? line : value.slice(index, nextIndex)\n\n if (\n currentMarker === asterisk ||\n currentMarker === underscore ||\n currentMarker === dash\n ) {\n if (tokenizers.thematicBreak.call(self, eat, line, true)) {\n break\n }\n }\n\n previousEmpty = empty\n empty = !prefixed && !trim(content).length\n\n if (indented && item) {\n item.value = item.value.concat(emptyLines, line)\n allLines = allLines.concat(emptyLines, line)\n emptyLines = []\n } else if (prefixed) {\n if (emptyLines.length !== 0) {\n spread = true\n item.value.push('')\n item.trail = emptyLines.concat()\n }\n\n item = {\n value: [line],\n indent: size,\n trail: []\n }\n\n items.push(item)\n allLines = allLines.concat(emptyLines, line)\n emptyLines = []\n } else if (empty) {\n if (previousEmpty && !commonmark) {\n break\n }\n\n emptyLines.push(line)\n } else {\n if (previousEmpty) {\n break\n }\n\n if (interrupt(interuptors, tokenizers, self, [eat, line, true])) {\n break\n }\n\n item.value = item.value.concat(emptyLines, line)\n allLines = allLines.concat(emptyLines, line)\n emptyLines = []\n }\n\n index = nextIndex + 1\n }\n\n node = eat(allLines.join(lineFeed)).reset({\n type: 'list',\n ordered: ordered,\n start: start,\n spread: spread,\n children: []\n })\n\n enterTop = self.enterList()\n exitBlockquote = self.enterBlock()\n index = -1\n length = items.length\n\n while (++index < length) {\n item = items[index].value.join(lineFeed)\n now = eat.now()\n\n eat(item)(listItem(self, item, now), node)\n\n item = items[index].trail.join(lineFeed)\n\n if (index !== length - 1) {\n item += lineFeed\n }\n\n eat(item)\n }\n\n enterTop()\n exitBlockquote()\n\n return node\n}\n\nfunction listItem(ctx, value, position) {\n var offsets = ctx.offset\n var fn = ctx.options.pedantic ? pedanticListItem : normalListItem\n var checked = null\n var task\n var indent\n\n value = fn.apply(null, arguments)\n\n if (ctx.options.gfm) {\n task = value.match(taskItemExpression)\n\n if (task) {\n indent = task[0].length\n checked = task[1].toLowerCase() === lowercaseX\n offsets[position.line] += indent\n value = value.slice(indent)\n }\n }\n\n return {\n type: 'listItem',\n spread: looseListItemExpression.test(value),\n checked: checked,\n children: ctx.tokenizeBlock(value, position)\n }\n}\n\n// Create a list-item using overly simple mechanics.\nfunction pedanticListItem(ctx, value, position) {\n var offsets = ctx.offset\n var line = position.line\n\n // Remove the list-item’s bullet.\n value = value.replace(pedanticBulletExpression, replacer)\n\n // The initial line was also matched by the below, so we reset the `line`.\n line = position.line\n\n return value.replace(initialIndentExpression, replacer)\n\n // A simple replacer which removed all matches, and adds their length to\n // `offset`.\n function replacer($0) {\n offsets[line] = (offsets[line] || 0) + $0.length\n line++\n\n return ''\n }\n}\n\n// Create a list-item using sane mechanics.\nfunction normalListItem(ctx, value, position) {\n var offsets = ctx.offset\n var line = position.line\n var max\n var bullet\n var rest\n var lines\n var trimmedLines\n var index\n var length\n\n // Remove the list-item’s bullet.\n value = value.replace(bulletExpression, replacer)\n\n lines = value.split(lineFeed)\n\n trimmedLines = removeIndent(value, getIndent(max).indent).split(lineFeed)\n\n // We replaced the initial bullet with something else above, which was used\n // to trick `removeIndentation` into removing some more characters when\n // possible. However, that could result in the initial line to be stripped\n // more than it should be.\n trimmedLines[0] = rest\n\n offsets[line] = (offsets[line] || 0) + bullet.length\n line++\n\n index = 0\n length = lines.length\n\n while (++index < length) {\n offsets[line] =\n (offsets[line] || 0) + lines[index].length - trimmedLines[index].length\n line++\n }\n\n return trimmedLines.join(lineFeed)\n\n function replacer($0, $1, $2, $3, $4) {\n bullet = $1 + $2 + $3\n rest = $4\n\n // Make sure that the first nine numbered list items can indent with an\n // extra space. That is, when the bullet did not receive an extra final\n // space.\n if (Number($2) < 10 && bullet.length % 2 === 1) {\n $2 = space + $2\n }\n\n max = $1 + repeat(space, $2.length) + $3\n\n return max + rest\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default setextHeading\n\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar space = ' '\nvar equalsTo = '='\nvar dash = '-'\n\nvar maxIndent = 3\n\nvar equalsToDepth = 1\nvar dashDepth = 2\n\nfunction setextHeading(eat, value, silent) {\n var self = this\n var now = eat.now()\n var length = value.length\n var index = -1\n var subvalue = ''\n var content\n var queue\n var character\n var marker\n var depth\n\n // Eat initial indentation.\n while (++index < length) {\n character = value.charAt(index)\n\n if (character !== space || index >= maxIndent) {\n index--\n break\n }\n\n subvalue += character\n }\n\n // Eat content.\n content = ''\n queue = ''\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (character === lineFeed) {\n index--\n break\n }\n\n if (character === space || character === tab) {\n queue += character\n } else {\n content += queue + character\n queue = ''\n }\n }\n\n now.column += subvalue.length\n now.offset += subvalue.length\n subvalue += content + queue\n\n // Ensure the content is followed by a newline and a valid marker.\n character = value.charAt(++index)\n marker = value.charAt(++index)\n\n if (character !== lineFeed || (marker !== equalsTo && marker !== dash)) {\n return\n }\n\n subvalue += character\n\n // Eat Setext-line.\n queue = marker\n depth = marker === equalsTo ? equalsToDepth : dashDepth\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (character !== marker) {\n if (character !== lineFeed) {\n return\n }\n\n index--\n break\n }\n\n queue += character\n }\n\n if (silent) {\n return true\n }\n\n return eat(subvalue + queue)({\n type: 'heading',\n depth: depth,\n children: self.tokenizeInline(content, now)\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nvar attributeName = '[a-zA-Z_:][a-zA-Z0-9:._-]*'\nvar unquoted = '[^\"\\'=<>`\\\\u0000-\\\\u0020]+'\nvar singleQuoted = \"'[^']*'\"\nvar doubleQuoted = '\"[^\"]*\"'\nvar attributeValue =\n '(?:' + unquoted + '|' + singleQuoted + '|' + doubleQuoted + ')'\nvar attribute =\n '(?:\\\\s+' + attributeName + '(?:\\\\s*=\\\\s*' + attributeValue + ')?)'\nvar openTag = '<[A-Za-z][A-Za-z0-9\\\\-]*' + attribute + '*\\\\s*\\\\/?>'\nvar closeTag = '<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>'\nvar comment = '<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->'\nvar processing = '<[?].*?[?]>'\n// CHANGED: `\\\\s+[^>]*` in the published file, quadratic on a long space run (834 ms at\n// 40,000). `[^>]` already holds every `\\\\s`, so one is the same language and the same match.\nvar declaration = '<![A-Za-z]+\\\\s[^>]*>'\nvar cdata = '<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>'\n\n// CHANGED from the published file: `openTag` as a regular expression backtracks\n// EXPONENTIALLY. `recheck` rates `^(?:openTag|closeTag)` and `tag` exponential, and its own\n// 205-character attack string took 134 s in `openCloseTag.test` -- 270 s to parse a note\n// holding only that line. A vault note is untrusted input, so both are replaced by\n// `matchOpenCloseTag`, a set-of-states simulation of the SAME grammar in linear time.\n// `test/rp8-vendored.test.ts` holds it to the published expressions, match for match.\n//\n// The published expressions, for reference (strings only, never compiled here):\n// openCloseTag = '^(?:' + openTag + '|' + closeTag + ')'\n// tag = '^(?:' + openTag + '|' + closeTag + '|' + comment + '|' + processing\n// + '|' + declaration + '|' + cdata + ')'\nvoid openTag\nvoid attribute\nvoid attributeValue\nvoid singleQuoted\nvoid doubleQuoted\nvoid unquoted\nvoid attributeName\n\nconst whitespace = /\\s/\nconst isAsciiLetter = (c) => (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')\nconst isTagNameChar = (c) => isAsciiLetter(c) || (c >= '0' && c <= '9') || c === '-'\nconst isNameStart = (c) => isAsciiLetter(c) || c === '_' || c === ':'\nconst isNameChar = (c) => isNameStart(c) || (c >= '0' && c <= '9') || c === '.' || c === '-'\n// `[^\"'=<>\\`\\u0000-\\u0020]`\nconst isUnquoted = (c) =>\n c !== '\"' && c !== \"'\" && c !== '=' && c !== '<' && c !== '>' && c !== '`' && c > ' '\n\n// The open tag after `<name`, as a nondeterministic automaton:\n// AFTER a complete tag name or attribute QUOTE1/QUOTE2 inside a quoted value\n// SPACE whitespace after a complete one EQUALS after `=` (and spaces)\n// NAME inside an attribute name VALUE inside an unquoted value\n// NAMESP whitespace after a name, before `=` SLASH after a closing `/`\nconst AFTER = 1\nconst SPACE = 2\nconst NAME = 4\nconst NAMESP = 8\nconst EQUALS = 16\nconst VALUE = 32\nconst QUOTE1 = 64\nconst QUOTE2 = 128\nconst SLASH = 256\n\n/** From each state on character `c`, the set of next states; `-1` accepts at `>`. */\nfunction step(states, c) {\n let next = 0\n const space = whitespace.test(c)\n // A complete name or value (or the tag name) may be followed by space, `/` or `>`.\n const complete = states & (AFTER | NAME | VALUE)\n if (complete || states & SPACE) {\n if (c === '>') return -1\n if (c === '/') next |= SLASH\n }\n if (complete && space) next |= SPACE\n if (states & SPACE) {\n if (space) next |= SPACE\n else if (isNameStart(c)) next |= NAME\n }\n if (states & NAME) {\n if (isNameChar(c)) next |= NAME\n else if (space) next |= NAMESP\n else if (c === '=') next |= EQUALS\n }\n if (states & NAMESP) {\n if (space) next |= NAMESP\n else if (c === '=') next |= EQUALS\n }\n if (states & EQUALS) {\n // Not `else`: U+00A0 and its kind are `\\s` AND unquoted-value characters, so after `=`\n // one may be spacing or begin the value (`<a b=\\u00a0>` matches).\n if (space) next |= EQUALS\n if (c === \"'\") next |= QUOTE1\n else if (c === '\"') next |= QUOTE2\n else if (isUnquoted(c)) next |= VALUE\n }\n if (states & VALUE && isUnquoted(c)) next |= VALUE\n if (states & QUOTE1) next |= c === \"'\" ? AFTER : QUOTE1\n if (states & QUOTE2) next |= c === '\"' ? AFTER : QUOTE2\n if (states & SLASH && c === '>') return -1\n return next\n}\n\n/**\n * The length of the open or close tag `value` starts with, or -1 -- what\n * `^(?:openTag|closeTag)` matches, in linear time. The match is unique: a `>` outside a\n * quoted value can only end the tag, and every live branch is inside the same quotes or\n * none, so the first accepting `>` is the expression's own match.\n */\nexport function matchOpenCloseTag(value) {\n if (value.charAt(0) !== '<') return -1\n let index = 1\n const closing = value.charAt(1) === '/'\n if (closing) index++\n if (!isAsciiLetter(value.charAt(index))) return -1\n while (isTagNameChar(value.charAt(index))) index++\n if (closing) {\n while (index < value.length && whitespace.test(value.charAt(index))) index++\n return value.charAt(index) === '>' ? index + 1 : -1\n }\n let states = AFTER\n for (; index < value.length; index++) {\n states = step(states, value.charAt(index))\n if (states === -1) return index + 1\n if (states === 0) return -1\n }\n return -1\n}\n\n// The other alternatives of `tag`, unchanged; each is linear on its own.\nconst otherTag = new RegExp(\n '^(?:' + comment + '|' + processing + '|' + declaration + '|' + cdata + ')'\n)\n\n/** `^(?:openTag|closeTag)`, as `.test` uses it. */\nexport const openCloseTag = {\n test: (value) => matchOpenCloseTag(value) !== -1\n}\n\n/** `tag`, as `String.prototype.match` uses it: the tag at the start of the value, or null. */\nexport const tag = {\n [Symbol.match](value) {\n const length = matchOpenCloseTag(value)\n if (length !== -1) return [value.slice(0, length)]\n return value.match(otherTag)\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { matchOpenCloseTag as matchOpenCloseTag } from \"../util/html.js\";\nexport default blockHtml\n\nvar tab = '\\t'\nvar space = ' '\nvar lineFeed = '\\n'\nvar lessThan = '<'\n\nvar rawOpenExpression = /^<(script|pre|style)(?=(\\s|>|$))/i\nvar rawCloseExpression = /<\\/(script|pre|style)>/i\nvar commentOpenExpression = /^<!--/\nvar commentCloseExpression = /-->/\nvar instructionOpenExpression = /^<\\?/\nvar instructionCloseExpression = /\\?>/\nvar directiveOpenExpression = /^<![A-Za-z]/\nvar directiveCloseExpression = />/\nvar cdataOpenExpression = /^<!\\[CDATA\\[/\nvar cdataCloseExpression = /]]>/\nvar elementCloseExpression = /^$/\n// CHANGED: `openCloseTag.source + '\\\\s*$'` in the published file; see ../util/html.ts.\nvar otherElementOpenExpression = {\n test: function (line) {\n var end = matchOpenCloseTag(line)\n return end !== -1 && /^\\s*$/.test(line.slice(end))\n }\n}\n\nfunction blockHtml(eat, value, silent) {\n var self = this\n var blocks = self.options.blocks.join('|')\n var elementOpenExpression = new RegExp(\n '^</?(' + blocks + ')(?=(\\\\s|/?>|$))',\n 'i'\n )\n var length = value.length\n var index = 0\n var next\n var line\n var offset\n var character\n var count\n var sequence\n var subvalue\n\n var sequences = [\n [rawOpenExpression, rawCloseExpression, true],\n [commentOpenExpression, commentCloseExpression, true],\n [instructionOpenExpression, instructionCloseExpression, true],\n [directiveOpenExpression, directiveCloseExpression, true],\n [cdataOpenExpression, cdataCloseExpression, true],\n [elementOpenExpression, elementCloseExpression, true],\n [otherElementOpenExpression, elementCloseExpression, false]\n ]\n\n // Eat initial spacing.\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space) {\n break\n }\n\n index++\n }\n\n if (value.charAt(index) !== lessThan) {\n return\n }\n\n next = value.indexOf(lineFeed, index + 1)\n next = next === -1 ? length : next\n line = value.slice(index, next)\n offset = -1\n count = sequences.length\n\n while (++offset < count) {\n if (sequences[offset][0].test(line)) {\n sequence = sequences[offset]\n break\n }\n }\n\n if (!sequence) {\n return\n }\n\n if (silent) {\n return sequence[2]\n }\n\n index = next\n\n if (!sequence[1].test(line)) {\n while (index < length) {\n next = value.indexOf(lineFeed, index + 1)\n next = next === -1 ? length : next\n line = value.slice(index + 1, next)\n\n if (sequence[1].test(line)) {\n if (line) {\n index = next\n }\n\n break\n }\n\n index = next\n }\n }\n\n subvalue = value.slice(0, index)\n\n return eat(subvalue)({type: 'html', value: subvalue})\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { collapseWhiteSpace as collapseWhiteSpace } from \"../../helpers.js\";\nexport default normalize\n\n// Normalize an identifier. Collapses multiple white space characters into a\n// single space, and removes casing.\nfunction normalize(value) {\n return collapseWhiteSpace(value).toLowerCase()\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport normalize from \"../util/normalize.js\";\nexport default definition\n\nvar quotationMark = '\"'\nvar apostrophe = \"'\"\nvar backslash = '\\\\'\nvar lineFeed = '\\n'\nvar tab = '\\t'\nvar space = ' '\nvar leftSquareBracket = '['\nvar rightSquareBracket = ']'\nvar leftParenthesis = '('\nvar rightParenthesis = ')'\nvar colon = ':'\nvar lessThan = '<'\nvar greaterThan = '>'\n\nfunction definition(eat, value, silent) {\n var self = this\n var commonmark = self.options.commonmark\n var index = 0\n var length = value.length\n var subvalue = ''\n var beforeURL\n var beforeTitle\n var queue\n var character\n var test\n var identifier\n var url\n var title\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== space && character !== tab) {\n break\n }\n\n subvalue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (character !== leftSquareBracket) {\n return\n }\n\n index++\n subvalue += character\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === rightSquareBracket) {\n break\n } else if (character === backslash) {\n queue += character\n index++\n character = value.charAt(index)\n }\n\n queue += character\n index++\n }\n\n if (\n !queue ||\n value.charAt(index) !== rightSquareBracket ||\n value.charAt(index + 1) !== colon\n ) {\n return\n }\n\n identifier = queue\n subvalue += queue + rightSquareBracket + colon\n index = subvalue.length\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space && character !== lineFeed) {\n break\n }\n\n subvalue += character\n index++\n }\n\n character = value.charAt(index)\n queue = ''\n beforeURL = subvalue\n\n if (character === lessThan) {\n index++\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!isEnclosedURLCharacter(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (character === isEnclosedURLCharacter.delimiter) {\n subvalue += lessThan + queue + character\n index++\n } else {\n if (commonmark) {\n return\n }\n\n index -= queue.length + 1\n queue = ''\n }\n }\n\n if (!queue) {\n while (index < length) {\n character = value.charAt(index)\n\n if (!isUnclosedURLCharacter(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n subvalue += queue\n }\n\n if (!queue) {\n return\n }\n\n url = queue\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space && character !== lineFeed) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n test = null\n\n if (character === quotationMark) {\n test = quotationMark\n } else if (character === apostrophe) {\n test = apostrophe\n } else if (character === leftParenthesis) {\n test = rightParenthesis\n }\n\n if (!test) {\n queue = ''\n index = subvalue.length\n } else if (queue) {\n subvalue += queue + character\n index = subvalue.length\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === test) {\n break\n }\n\n if (character === lineFeed) {\n index++\n character = value.charAt(index)\n\n if (character === lineFeed || character === test) {\n return\n }\n\n queue += lineFeed\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (character !== test) {\n return\n }\n\n beforeTitle = subvalue\n subvalue += queue + character\n index++\n title = queue\n queue = ''\n } else {\n return\n }\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character !== tab && character !== space) {\n break\n }\n\n subvalue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (!character || character === lineFeed) {\n if (silent) {\n return true\n }\n\n beforeURL = eat(beforeURL).test().end\n url = self.decode.raw(self.unescape(url), beforeURL, {nonTerminated: false})\n\n if (title) {\n beforeTitle = eat(beforeTitle).test().end\n title = self.decode.raw(self.unescape(title), beforeTitle)\n }\n\n return eat(subvalue)({\n type: 'definition',\n identifier: normalize(identifier),\n label: identifier,\n title: title || null,\n url: url\n })\n }\n}\n\n// Check if `character` can be inside an enclosed URI.\nfunction isEnclosedURLCharacter(character) {\n return (\n character !== greaterThan &&\n character !== leftSquareBracket &&\n character !== rightSquareBracket\n )\n}\n\nisEnclosedURLCharacter.delimiter = greaterThan\n\n// Check if `character` can be inside an unclosed URI.\nfunction isUnclosedURLCharacter(character) {\n return (\n character !== leftSquareBracket &&\n character !== rightSquareBracket &&\n !whitespace(character)\n )\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nexport default table\n\nvar tab = '\\t'\nvar lineFeed = '\\n'\nvar space = ' '\nvar dash = '-'\nvar colon = ':'\nvar backslash = '\\\\'\nvar verticalBar = '|'\n\nvar minColumns = 1\nvar minRows = 2\n\nvar left = 'left'\nvar center = 'center'\nvar right = 'right'\n\nfunction table(eat, value, silent) {\n var self = this\n var index\n var alignments\n var alignment\n var subvalue\n var row\n var length\n var lines\n var queue\n var character\n var hasDash\n var align\n var cell\n var preamble\n var now\n var position\n var lineCount\n var line\n var rows\n var table\n var lineIndex\n var pipeIndex\n var first\n\n // Exit when not in gfm-mode.\n if (!self.options.gfm) {\n return\n }\n\n // Get the rows.\n // Detecting tables soon is hard, so there are some checks for performance\n // here, such as the minimum number of rows, and allowed characters in the\n // alignment row.\n index = 0\n lineCount = 0\n length = value.length + 1\n lines = []\n\n while (index < length) {\n lineIndex = value.indexOf(lineFeed, index)\n pipeIndex = value.indexOf(verticalBar, index + 1)\n\n if (lineIndex === -1) {\n lineIndex = value.length\n }\n\n if (pipeIndex === -1 || pipeIndex > lineIndex) {\n if (lineCount < minRows) {\n return\n }\n\n break\n }\n\n lines.push(value.slice(index, lineIndex))\n lineCount++\n index = lineIndex + 1\n }\n\n // Parse the alignment row.\n subvalue = lines.join(lineFeed)\n alignments = lines.splice(1, 1)[0] || []\n index = 0\n length = alignments.length\n lineCount--\n alignment = false\n align = []\n\n while (index < length) {\n character = alignments.charAt(index)\n\n if (character === verticalBar) {\n hasDash = null\n\n if (alignment === false) {\n if (first === false) {\n return\n }\n } else {\n align.push(alignment)\n alignment = false\n }\n\n first = false\n } else if (character === dash) {\n hasDash = true\n alignment = alignment || null\n } else if (character === colon) {\n if (alignment === left) {\n alignment = center\n } else if (hasDash && alignment === null) {\n alignment = right\n } else {\n alignment = left\n }\n } else if (!whitespace(character)) {\n return\n }\n\n index++\n }\n\n if (alignment !== false) {\n align.push(alignment)\n }\n\n // Exit when without enough columns.\n if (align.length < minColumns) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n // Parse the rows.\n position = -1\n rows = []\n\n table = eat(subvalue).reset({type: 'table', align: align, children: rows})\n\n while (++position < lineCount) {\n line = lines[position]\n row = {type: 'tableRow', children: []}\n\n // Eat a newline character when this is not the first row.\n if (position) {\n eat(lineFeed)\n }\n\n // Eat the row.\n eat(line).reset(row, table)\n\n length = line.length + 1\n index = 0\n queue = ''\n cell = ''\n preamble = true\n\n while (index < length) {\n character = line.charAt(index)\n\n if (character === tab || character === space) {\n if (cell) {\n queue += character\n } else {\n eat(character)\n }\n\n index++\n continue\n }\n\n if (character === '' || character === verticalBar) {\n if (preamble) {\n eat(character)\n } else {\n if ((cell || character) && !preamble) {\n subvalue = cell\n\n if (queue.length > 1) {\n if (character) {\n subvalue += queue.slice(0, -1)\n queue = queue.charAt(queue.length - 1)\n } else {\n subvalue += queue\n queue = ''\n }\n }\n\n now = eat.now()\n\n eat(subvalue)(\n {type: 'tableCell', children: self.tokenizeInline(cell, now)},\n row\n )\n }\n\n eat(queue + character)\n\n queue = ''\n cell = ''\n }\n } else {\n if (queue) {\n cell += queue\n queue = ''\n }\n\n cell += character\n\n if (character === backslash && index !== length - 2) {\n cell += line.charAt(index + 1)\n index++\n }\n }\n\n preamble = false\n index++\n }\n\n // Eat the alignment row.\n if (!position) {\n eat(lineFeed + alignments)\n }\n }\n\n return table\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { trim as trim } from \"../../helpers.js\";\nimport { trimTrailingLines as trimTrailingLines } from \"../../helpers.js\";\nimport interrupt from \"../util/interrupt.js\";\nexport default paragraph\n\nvar tab = '\\t'\nvar lineFeed = '\\n'\nvar space = ' '\n\nvar tabSize = 4\n\n// Tokenise paragraph.\nfunction paragraph(eat, value, silent) {\n var self = this\n var settings = self.options\n var commonmark = settings.commonmark\n var tokenizers = self.blockTokenizers\n var interruptors = self.interruptParagraph\n var index = value.indexOf(lineFeed)\n var length = value.length\n var position\n var subvalue\n var character\n var size\n var now\n\n while (index < length) {\n // Eat everything if there’s no following newline.\n if (index === -1) {\n index = length\n break\n }\n\n // Stop if the next character is NEWLINE.\n if (value.charAt(index + 1) === lineFeed) {\n break\n }\n\n // In commonmark-mode, following indented lines are part of the paragraph.\n if (commonmark) {\n size = 0\n position = index + 1\n\n while (position < length) {\n character = value.charAt(position)\n\n if (character === tab) {\n size = tabSize\n break\n } else if (character === space) {\n size++\n } else {\n break\n }\n\n position++\n }\n\n if (size >= tabSize && character !== lineFeed) {\n index = value.indexOf(lineFeed, index + 1)\n continue\n }\n }\n\n subvalue = value.slice(index + 1)\n\n // Check if the following code contains a possible block.\n if (interrupt(interruptors, tokenizers, self, [eat, subvalue, true])) {\n break\n }\n\n position = index\n index = value.indexOf(lineFeed, index + 1)\n\n if (index !== -1 && trim(value.slice(position, index)) === '') {\n index = position\n break\n }\n }\n\n subvalue = value.slice(0, index)\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n now = eat.now()\n subvalue = trimTrailingLines(subvalue)\n\n return eat(subvalue)({\n type: 'paragraph',\n children: self.tokenizeInline(subvalue, now)\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n return value.indexOf('\\\\', fromIndex)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport locate from \"../locate/escape.js\";\nexport default escape\nescape.locator = locate\n\nvar lineFeed = '\\n'\nvar backslash = '\\\\'\n\nfunction escape(eat, value, silent) {\n var self = this\n var character\n var node\n\n if (value.charAt(0) === backslash) {\n character = value.charAt(1)\n\n if (self.escape.indexOf(character) !== -1) {\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n if (character === lineFeed) {\n node = {type: 'break'}\n } else {\n node = {type: 'text', value: character}\n }\n\n return eat(backslash + character)(node)\n }\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n return value.indexOf('<', fromIndex)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport decode from \"../../parse-entities/index.js\";\nimport locate from \"../locate/tag.js\";\nexport default autoLink\nautoLink.locator = locate\nautoLink.notInLink = true\n\nvar lessThan = '<'\nvar greaterThan = '>'\nvar atSign = '@'\nvar slash = '/'\nvar mailto = 'mailto:'\nvar mailtoLength = mailto.length\n\nfunction autoLink(eat, value, silent) {\n var self = this\n var subvalue = ''\n var length = value.length\n var index = 0\n var queue = ''\n var hasAtCharacter = false\n var link = ''\n var character\n var now\n var content\n var tokenizers\n var exit\n\n if (value.charAt(0) !== lessThan) {\n return\n }\n\n index++\n subvalue = lessThan\n\n while (index < length) {\n character = value.charAt(index)\n\n if (\n whitespace(character) ||\n character === greaterThan ||\n character === atSign ||\n (character === ':' && value.charAt(index + 1) === slash)\n ) {\n break\n }\n\n queue += character\n index++\n }\n\n if (!queue) {\n return\n }\n\n link += queue\n queue = ''\n\n character = value.charAt(index)\n link += character\n index++\n\n if (character === atSign) {\n hasAtCharacter = true\n } else {\n if (character !== ':' || value.charAt(index + 1) !== slash) {\n return\n }\n\n link += slash\n index++\n }\n\n while (index < length) {\n character = value.charAt(index)\n\n if (whitespace(character) || character === greaterThan) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n\n if (!queue || character !== greaterThan) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n link += queue\n content = link\n subvalue += link + character\n now = eat.now()\n now.column++\n now.offset++\n\n if (hasAtCharacter) {\n if (link.slice(0, mailtoLength).toLowerCase() === mailto) {\n content = content.slice(mailtoLength)\n now.column += mailtoLength\n now.offset += mailtoLength\n } else {\n link = mailto + link\n }\n }\n\n // Temporarily remove all tokenizers except text in autolinks.\n tokenizers = self.inlineTokenizers\n self.inlineTokenizers = {text: tokenizers.text}\n\n exit = self.enterLink()\n\n content = self.tokenizeInline(content, now)\n\n self.inlineTokenizers = tokenizers\n exit()\n\n return eat(subvalue)({\n type: 'link',\n title: null,\n url: decode(link, {nonTerminated: false}),\n children: content\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nvar values = ['www.', 'http://', 'https://']\n\nfunction locate(value, fromIndex) {\n var min = -1\n var index\n var length\n var position\n\n if (!this.options.gfm) {\n return min\n }\n\n length = values.length\n index = -1\n\n while (++index < length) {\n position = value.indexOf(values[index], fromIndex)\n\n if (position !== -1 && (min === -1 || position < min)) {\n min = position\n }\n }\n\n return min\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { ccount as ccount } from \"../../helpers.js\";\nimport decode from \"../../parse-entities/index.js\";\nimport { isDecimal as decimal } from \"../../helpers.js\";\nimport { isAlphabetical as alphabetical } from \"../../helpers.js\";\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport locate from \"../locate/url.js\";\nexport default url\nurl.locator = locate\nurl.notInLink = true\n\nvar exclamationMark = 33 // '!'\nvar ampersand = 38 // '&'\nvar rightParenthesis = 41 // ')'\nvar asterisk = 42 // '*'\nvar comma = 44 // ','\nvar dash = 45 // '-'\nvar dot = 46 // '.'\nvar colon = 58 // ':'\nvar semicolon = 59 // ';'\nvar questionMark = 63 // '?'\nvar lessThan = 60 // '<'\nvar underscore = 95 // '_'\nvar tilde = 126 // '~'\n\nvar leftParenthesisCharacter = '('\nvar rightParenthesisCharacter = ')'\n\nfunction url(eat, value, silent) {\n var self = this\n var gfm = self.options.gfm\n var tokenizers = self.inlineTokenizers\n var length = value.length\n var previousDot = -1\n var protocolless = false\n var dots\n var lastTwoPartsStart\n var start\n var index\n var pathStart\n var path\n var code\n var end\n var leftCount\n var rightCount\n var content\n var children\n var url\n var exit\n\n if (!gfm) {\n return\n }\n\n // `WWW.` doesn’t work.\n if (value.slice(0, 4) === 'www.') {\n protocolless = true\n index = 4\n } else if (value.slice(0, 7).toLowerCase() === 'http://') {\n index = 7\n } else if (value.slice(0, 8).toLowerCase() === 'https://') {\n index = 8\n } else {\n return\n }\n\n // Act as if the starting boundary is a dot.\n previousDot = index - 1\n\n // Parse a valid domain.\n start = index\n dots = []\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n if (code === dot) {\n // Dots may not appear after each other.\n if (previousDot === index - 1) {\n break\n }\n\n dots.push(index)\n previousDot = index\n index++\n continue\n }\n\n if (\n decimal(code) ||\n alphabetical(code) ||\n code === dash ||\n code === underscore\n ) {\n index++\n continue\n }\n\n break\n }\n\n // Ignore a final dot:\n if (code === dot) {\n dots.pop()\n index--\n }\n\n // If there are not dots, exit.\n if (dots[0] === undefined) {\n return\n }\n\n // If there is an underscore in the last two domain parts, exit:\n // `www.example.c_m` and `www.ex_ample.com` are not OK, but\n // `www.sub_domain.example.com` is.\n lastTwoPartsStart = dots.length < 2 ? start : dots[dots.length - 2] + 1\n\n if (value.slice(lastTwoPartsStart, index).indexOf('_') !== -1) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n end = index\n pathStart = index\n\n // Parse a path.\n while (index < length) {\n code = value.charCodeAt(index)\n\n if (whitespace(code) || code === lessThan) {\n break\n }\n\n index++\n\n if (\n code === exclamationMark ||\n code === asterisk ||\n code === comma ||\n code === dot ||\n code === colon ||\n code === questionMark ||\n code === underscore ||\n code === tilde\n ) {\n // Empty\n } else {\n end = index\n }\n }\n\n index = end\n\n // If the path ends in a closing paren, and the count of closing parens is\n // higher than the opening count, then remove the supefluous closing parens.\n if (value.charCodeAt(index - 1) === rightParenthesis) {\n path = value.slice(pathStart, index)\n leftCount = ccount(path, leftParenthesisCharacter)\n rightCount = ccount(path, rightParenthesisCharacter)\n\n while (rightCount > leftCount) {\n index = pathStart + path.lastIndexOf(rightParenthesisCharacter)\n path = value.slice(pathStart, index)\n rightCount--\n }\n }\n\n if (value.charCodeAt(index - 1) === semicolon) {\n // GitHub doesn’t document this, but final semicolons aren’t paret of the\n // URL either.\n index--\n\n // // If the path ends in what looks like an entity, it’s not part of the path.\n if (alphabetical(value.charCodeAt(index - 1))) {\n end = index - 2\n\n while (alphabetical(value.charCodeAt(end))) {\n end--\n }\n\n if (value.charCodeAt(end) === ampersand) {\n index = end\n }\n }\n }\n\n content = value.slice(0, index)\n url = decode(content, {nonTerminated: false})\n\n if (protocolless) {\n url = 'http://' + url\n }\n\n exit = self.enterLink()\n\n // Temporarily remove all tokenizers except text in url.\n self.inlineTokenizers = {text: tokenizers.text}\n children = self.tokenizeInline(content, eat.now())\n self.inlineTokenizers = tokenizers\n\n exit()\n\n return eat(content)({type: 'link', title: null, url: url, children: children})\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isDecimal as decimal } from \"../../helpers.js\";\nimport { isAlphabetical as alphabetical } from \"../../helpers.js\";\nvar plusSign = 43 // '+'\nvar dash = 45 // '-'\nvar dot = 46 // '.'\nvar underscore = 95 // '_'\n\nexport default locate\n\n// See: <https://github.github.com/gfm/#extended-email-autolink>\nfunction locate(value, fromIndex) {\n var self = this\n var at\n var position\n\n if (!this.options.gfm) {\n return -1\n }\n\n at = value.indexOf('@', fromIndex)\n\n if (at === -1) {\n return -1\n }\n\n position = at\n\n if (position === fromIndex || !isGfmAtext(value.charCodeAt(position - 1))) {\n return locate.call(self, value, at + 1)\n }\n\n while (position > fromIndex && isGfmAtext(value.charCodeAt(position - 1))) {\n position--\n }\n\n return position\n}\n\nfunction isGfmAtext(code) {\n return (\n decimal(code) ||\n alphabetical(code) ||\n code === plusSign ||\n code === dash ||\n code === dot ||\n code === underscore\n )\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport decode from \"../../parse-entities/index.js\";\nimport { isDecimal as decimal } from \"../../helpers.js\";\nimport { isAlphabetical as alphabetical } from \"../../helpers.js\";\nimport locate from \"../locate/email.js\";\nexport default email\nemail.locator = locate\nemail.notInLink = true\n\nvar plusSign = 43 // '+'\nvar dash = 45 // '-'\nvar dot = 46 // '.'\nvar atSign = 64 // '@'\nvar underscore = 95 // '_'\n\nfunction email(eat, value, silent) {\n var self = this\n var gfm = self.options.gfm\n var tokenizers = self.inlineTokenizers\n var index = 0\n var length = value.length\n var firstDot = -1\n var code\n var content\n var children\n var exit\n\n if (!gfm) {\n return\n }\n\n code = value.charCodeAt(index)\n\n while (\n decimal(code) ||\n alphabetical(code) ||\n code === plusSign ||\n code === dash ||\n code === dot ||\n code === underscore\n ) {\n code = value.charCodeAt(++index)\n }\n\n if (index === 0) {\n return\n }\n\n if (code !== atSign) {\n return\n }\n\n index++\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n if (\n decimal(code) ||\n alphabetical(code) ||\n code === dash ||\n code === dot ||\n code === underscore\n ) {\n index++\n\n if (firstDot === -1 && code === dot) {\n firstDot = index\n }\n\n continue\n }\n\n break\n }\n\n if (\n firstDot === -1 ||\n firstDot === index ||\n code === dash ||\n code === underscore\n ) {\n return\n }\n\n if (code === dot) {\n index--\n }\n\n content = value.slice(0, index)\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n exit = self.enterLink()\n\n // Temporarily remove all tokenizers except text in url.\n self.inlineTokenizers = {text: tokenizers.text}\n children = self.tokenizeInline(content, eat.now())\n self.inlineTokenizers = tokenizers\n\n exit()\n\n return eat(content)({\n type: 'link',\n title: null,\n url: 'mailto:' + decode(content, {nonTerminated: false}),\n children: children\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isAlphabetical as alphabetical } from \"../../helpers.js\";\nimport locate from \"../locate/tag.js\";\nimport { tag as tag } from \"../util/html.js\";\nexport default inlineHTML\ninlineHTML.locator = locate\n\nvar lessThan = '<'\nvar questionMark = '?'\nvar exclamationMark = '!'\nvar slash = '/'\n\nvar htmlLinkOpenExpression = /^<a /i\nvar htmlLinkCloseExpression = /^<\\/a>/i\n\nfunction inlineHTML(eat, value, silent) {\n var self = this\n var length = value.length\n var character\n var subvalue\n\n if (value.charAt(0) !== lessThan || length < 3) {\n return\n }\n\n character = value.charAt(1)\n\n if (\n !alphabetical(character) &&\n character !== questionMark &&\n character !== exclamationMark &&\n character !== slash\n ) {\n return\n }\n\n subvalue = value.match(tag)\n\n if (!subvalue) {\n return\n }\n\n /* istanbul ignore if - not used yet. */\n if (silent) {\n return true\n }\n\n subvalue = subvalue[0]\n\n if (!self.inLink && htmlLinkOpenExpression.test(subvalue)) {\n self.inLink = true\n } else if (self.inLink && htmlLinkCloseExpression.test(subvalue)) {\n self.inLink = false\n }\n\n return eat(subvalue)({type: 'html', value: subvalue})\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n var link = value.indexOf('[', fromIndex)\n var image = value.indexOf('![', fromIndex)\n\n if (image === -1) {\n return link\n }\n\n // Link can never be `-1` if an image is found, so we don’t need to check\n // for that :)\n return link < image ? link : image\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport locate from \"../locate/link.js\";\nexport default link\nlink.locator = locate\n\nvar lineFeed = '\\n'\nvar exclamationMark = '!'\nvar quotationMark = '\"'\nvar apostrophe = \"'\"\nvar leftParenthesis = '('\nvar rightParenthesis = ')'\nvar lessThan = '<'\nvar greaterThan = '>'\nvar leftSquareBracket = '['\nvar backslash = '\\\\'\nvar rightSquareBracket = ']'\nvar graveAccent = '`'\n\nfunction link(eat, value, silent) {\n var self = this\n var subvalue = ''\n var index = 0\n var character = value.charAt(0)\n var pedantic = self.options.pedantic\n var commonmark = self.options.commonmark\n var gfm = self.options.gfm\n var closed\n var count\n var opening\n var beforeURL\n var beforeTitle\n var subqueue\n var hasMarker\n var isImage\n var content\n var marker\n var length\n var title\n var depth\n var queue\n var url\n var now\n var exit\n var node\n\n // Detect whether this is an image.\n if (character === exclamationMark) {\n isImage = true\n subvalue = character\n character = value.charAt(++index)\n }\n\n // Eat the opening.\n if (character !== leftSquareBracket) {\n return\n }\n\n // Exit when this is a link and we’re already inside a link.\n if (!isImage && self.inLink) {\n return\n }\n\n subvalue += character\n queue = ''\n index++\n\n // Eat the content.\n length = value.length\n now = eat.now()\n depth = 0\n\n now.column += index\n now.offset += index\n\n while (index < length) {\n character = value.charAt(index)\n subqueue = character\n\n if (character === graveAccent) {\n // Inline-code in link content.\n count = 1\n\n while (value.charAt(index + 1) === graveAccent) {\n subqueue += character\n index++\n count++\n }\n\n if (!opening) {\n opening = count\n } else if (count >= opening) {\n opening = 0\n }\n } else if (character === backslash) {\n // Allow brackets to be escaped.\n index++\n subqueue += value.charAt(index)\n } else if ((!opening || gfm) && character === leftSquareBracket) {\n // In GFM mode, brackets in code still count. In all other modes,\n // they don’t.\n depth++\n } else if ((!opening || gfm) && character === rightSquareBracket) {\n if (depth) {\n depth--\n } else {\n if (value.charAt(index + 1) !== leftParenthesis) {\n return\n }\n\n subqueue += leftParenthesis\n closed = true\n index++\n\n break\n }\n }\n\n queue += subqueue\n subqueue = ''\n index++\n }\n\n // Eat the content closing.\n if (!closed) {\n return\n }\n\n content = queue\n subvalue += queue + subqueue\n index++\n\n // Eat white-space.\n while (index < length) {\n character = value.charAt(index)\n\n if (!whitespace(character)) {\n break\n }\n\n subvalue += character\n index++\n }\n\n // Eat the URL.\n character = value.charAt(index)\n queue = ''\n beforeURL = subvalue\n\n if (character === lessThan) {\n index++\n beforeURL += lessThan\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === greaterThan) {\n break\n }\n\n if (commonmark && character === lineFeed) {\n return\n }\n\n queue += character\n index++\n }\n\n if (value.charAt(index) !== greaterThan) {\n return\n }\n\n subvalue += lessThan + queue + greaterThan\n url = queue\n index++\n } else {\n character = null\n subqueue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (\n subqueue &&\n (character === quotationMark ||\n character === apostrophe ||\n (commonmark && character === leftParenthesis))\n ) {\n break\n }\n\n if (whitespace(character)) {\n if (!pedantic) {\n break\n }\n\n subqueue += character\n } else {\n if (character === leftParenthesis) {\n depth++\n } else if (character === rightParenthesis) {\n if (depth === 0) {\n break\n }\n\n depth--\n }\n\n queue += subqueue\n subqueue = ''\n\n if (character === backslash) {\n queue += backslash\n character = value.charAt(++index)\n }\n\n queue += character\n }\n\n index++\n }\n\n subvalue += queue\n url = queue\n index = subvalue.length\n }\n\n // Eat white-space.\n queue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!whitespace(character)) {\n break\n }\n\n queue += character\n index++\n }\n\n character = value.charAt(index)\n subvalue += queue\n\n // Eat the title.\n if (\n queue &&\n (character === quotationMark ||\n character === apostrophe ||\n (commonmark && character === leftParenthesis))\n ) {\n index++\n subvalue += character\n queue = ''\n marker = character === leftParenthesis ? rightParenthesis : character\n beforeTitle = subvalue\n\n // In commonmark-mode, things are pretty easy: the marker cannot occur\n // inside the title. Non-commonmark does, however, support nested\n // delimiters.\n if (commonmark) {\n while (index < length) {\n character = value.charAt(index)\n\n if (character === marker) {\n break\n }\n\n if (character === backslash) {\n queue += backslash\n character = value.charAt(++index)\n }\n\n index++\n queue += character\n }\n\n character = value.charAt(index)\n\n if (character !== marker) {\n return\n }\n\n title = queue\n subvalue += queue + character\n index++\n\n while (index < length) {\n character = value.charAt(index)\n\n if (!whitespace(character)) {\n break\n }\n\n subvalue += character\n index++\n }\n } else {\n subqueue = ''\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === marker) {\n if (hasMarker) {\n queue += marker + subqueue\n subqueue = ''\n }\n\n hasMarker = true\n } else if (!hasMarker) {\n queue += character\n } else if (character === rightParenthesis) {\n subvalue += queue + marker + subqueue\n title = queue\n break\n } else if (whitespace(character)) {\n subqueue += character\n } else {\n queue += marker + subqueue + character\n subqueue = ''\n hasMarker = false\n }\n\n index++\n }\n }\n }\n\n if (value.charAt(index) !== rightParenthesis) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n subvalue += rightParenthesis\n\n url = self.decode.raw(self.unescape(url), eat(beforeURL).test().end, {\n nonTerminated: false\n })\n\n if (title) {\n beforeTitle = eat(beforeTitle).test().end\n title = self.decode.raw(self.unescape(title), beforeTitle)\n }\n\n node = {\n type: isImage ? 'image' : 'link',\n title: title || null,\n url: url\n }\n\n if (isImage) {\n node.alt = self.decode.raw(self.unescape(content), now) || null\n } else {\n exit = self.enterLink()\n node.children = self.tokenizeInline(content, now)\n exit()\n }\n\n return eat(subvalue)(node)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport locate from \"../locate/link.js\";\nimport normalize from \"../util/normalize.js\";\nexport default reference\nreference.locator = locate\n\nvar link = 'link'\nvar image = 'image'\nvar shortcut = 'shortcut'\nvar collapsed = 'collapsed'\nvar full = 'full'\nvar exclamationMark = '!'\nvar leftSquareBracket = '['\nvar backslash = '\\\\'\nvar rightSquareBracket = ']'\n\nfunction reference(eat, value, silent) {\n var self = this\n var commonmark = self.options.commonmark\n var character = value.charAt(0)\n var index = 0\n var length = value.length\n var subvalue = ''\n var intro = ''\n var type = link\n var referenceType = shortcut\n var content\n var identifier\n var now\n var node\n var exit\n var queue\n var bracketed\n var depth\n\n // Check whether we’re eating an image.\n if (character === exclamationMark) {\n type = image\n intro = character\n character = value.charAt(++index)\n }\n\n if (character !== leftSquareBracket) {\n return\n }\n\n index++\n intro += character\n queue = ''\n\n // Eat the text.\n depth = 0\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === leftSquareBracket) {\n bracketed = true\n depth++\n } else if (character === rightSquareBracket) {\n if (!depth) {\n break\n }\n\n depth--\n }\n\n if (character === backslash) {\n queue += backslash\n character = value.charAt(++index)\n }\n\n queue += character\n index++\n }\n\n subvalue = queue\n content = queue\n character = value.charAt(index)\n\n if (character !== rightSquareBracket) {\n return\n }\n\n index++\n subvalue += character\n queue = ''\n\n if (!commonmark) {\n // The original markdown syntax definition explicitly allows for whitespace\n // between the link text and link label; commonmark departs from this, in\n // part to improve support for shortcut reference links\n while (index < length) {\n character = value.charAt(index)\n\n if (!whitespace(character)) {\n break\n }\n\n queue += character\n index++\n }\n }\n\n character = value.charAt(index)\n\n if (character === leftSquareBracket) {\n identifier = ''\n queue += character\n index++\n\n while (index < length) {\n character = value.charAt(index)\n\n if (character === leftSquareBracket || character === rightSquareBracket) {\n break\n }\n\n if (character === backslash) {\n identifier += backslash\n character = value.charAt(++index)\n }\n\n identifier += character\n index++\n }\n\n character = value.charAt(index)\n\n if (character === rightSquareBracket) {\n referenceType = identifier ? full : collapsed\n queue += identifier + character\n index++\n } else {\n identifier = ''\n }\n\n subvalue += queue\n queue = ''\n } else {\n if (!content) {\n return\n }\n\n identifier = content\n }\n\n // Brackets cannot be inside the identifier.\n if (referenceType !== full && bracketed) {\n return\n }\n\n subvalue = intro + subvalue\n\n if (type === link && self.inLink) {\n return null\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n now = eat.now()\n now.column += intro.length\n now.offset += intro.length\n identifier = referenceType === full ? identifier : content\n\n node = {\n type: type + 'Reference',\n identifier: normalize(identifier),\n label: identifier,\n referenceType: referenceType\n }\n\n if (type === link) {\n exit = self.enterLink()\n node.children = self.tokenizeInline(content, now)\n exit()\n } else {\n node.alt = self.decode.raw(self.unescape(content), now) || null\n }\n\n return eat(subvalue)(node)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n var asterisk = value.indexOf('**', fromIndex)\n var underscore = value.indexOf('__', fromIndex)\n\n if (underscore === -1) {\n return asterisk\n }\n\n if (asterisk === -1) {\n return underscore\n }\n\n return underscore < asterisk ? underscore : asterisk\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { trim as trim } from \"../../helpers.js\";\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport locate from \"../locate/strong.js\";\nexport default strong\nstrong.locator = locate\n\nvar backslash = '\\\\'\nvar asterisk = '*'\nvar underscore = '_'\n\nfunction strong(eat, value, silent) {\n var self = this\n var index = 0\n var character = value.charAt(index)\n var now\n var pedantic\n var marker\n var queue\n var subvalue\n var length\n var previous\n\n if (\n (character !== asterisk && character !== underscore) ||\n value.charAt(++index) !== character\n ) {\n return\n }\n\n pedantic = self.options.pedantic\n marker = character\n subvalue = marker + marker\n length = value.length\n index++\n queue = ''\n character = ''\n\n if (pedantic && whitespace(value.charAt(index))) {\n return\n }\n\n while (index < length) {\n previous = character\n character = value.charAt(index)\n\n if (\n character === marker &&\n value.charAt(index + 1) === marker &&\n (!pedantic || !whitespace(previous))\n ) {\n character = value.charAt(index + 2)\n\n if (character !== marker) {\n if (!trim(queue)) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n now = eat.now()\n now.column += 2\n now.offset += 2\n\n return eat(subvalue + queue + subvalue)({\n type: 'strong',\n children: self.tokenizeInline(queue, now)\n })\n }\n }\n\n if (!pedantic && character === backslash) {\n queue += character\n character = value.charAt(++index)\n }\n\n queue += character\n index++\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n var asterisk = value.indexOf('*', fromIndex)\n var underscore = value.indexOf('_', fromIndex)\n\n if (underscore === -1) {\n return asterisk\n }\n\n if (asterisk === -1) {\n return underscore\n }\n\n return underscore < asterisk ? underscore : asterisk\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { trim as trim } from \"../../helpers.js\";\nimport { isWordCharacter as word } from \"../../helpers.js\";\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport locate from \"../locate/emphasis.js\";\nexport default emphasis\nemphasis.locator = locate\n\nvar asterisk = '*'\nvar underscore = '_'\nvar backslash = '\\\\'\n\nfunction emphasis(eat, value, silent) {\n var self = this\n var index = 0\n var character = value.charAt(index)\n var now\n var pedantic\n var marker\n var queue\n var subvalue\n var length\n var previous\n\n if (character !== asterisk && character !== underscore) {\n return\n }\n\n pedantic = self.options.pedantic\n subvalue = character\n marker = character\n length = value.length\n index++\n queue = ''\n character = ''\n\n if (pedantic && whitespace(value.charAt(index))) {\n return\n }\n\n while (index < length) {\n previous = character\n character = value.charAt(index)\n\n if (character === marker && (!pedantic || !whitespace(previous))) {\n character = value.charAt(++index)\n\n if (character !== marker) {\n if (!trim(queue) || previous === marker) {\n return\n }\n\n if (!pedantic && marker === underscore && word(character)) {\n queue += marker\n continue\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n now = eat.now()\n now.column++\n now.offset++\n\n return eat(subvalue + queue + marker)({\n type: 'emphasis',\n children: self.tokenizeInline(queue, now)\n })\n }\n\n queue += marker\n }\n\n if (!pedantic && character === backslash) {\n queue += character\n character = value.charAt(++index)\n }\n\n queue += character\n index++\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n return value.indexOf('~~', fromIndex)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { isWhitespaceCharacter as whitespace } from \"../../helpers.js\";\nimport locate from \"../locate/delete.js\";\nexport default strikethrough\nstrikethrough.locator = locate\n\nvar tilde = '~'\nvar fence = '~~'\n\nfunction strikethrough(eat, value, silent) {\n var self = this\n var character = ''\n var previous = ''\n var preceding = ''\n var subvalue = ''\n var index\n var length\n var now\n\n if (\n !self.options.gfm ||\n value.charAt(0) !== tilde ||\n value.charAt(1) !== tilde ||\n whitespace(value.charAt(2))\n ) {\n return\n }\n\n index = 1\n length = value.length\n now = eat.now()\n now.column += 2\n now.offset += 2\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (\n character === tilde &&\n previous === tilde &&\n (!preceding || !whitespace(preceding))\n ) {\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n return eat(fence + subvalue + fence)({\n type: 'delete',\n children: self.tokenizeInline(subvalue, now)\n })\n }\n\n subvalue += previous\n preceding = previous\n previous = character\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n return value.indexOf('`', fromIndex)\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport locate from \"../locate/code-inline.js\";\nexport default inlineCode\ninlineCode.locator = locate\n\nvar lineFeed = 10 // '\\n'\nvar space = 32 // ' '\nvar graveAccent = 96 // '`'\n\nfunction inlineCode(eat, value, silent) {\n var length = value.length\n var index = 0\n var openingFenceEnd\n var closingFenceStart\n var closingFenceEnd\n var code\n var next\n var found\n\n while (index < length) {\n if (value.charCodeAt(index) !== graveAccent) {\n break\n }\n\n index++\n }\n\n if (index === 0 || index === length) {\n return\n }\n\n openingFenceEnd = index\n next = value.charCodeAt(index)\n\n while (index < length) {\n code = next\n next = value.charCodeAt(index + 1)\n\n if (code === graveAccent) {\n if (closingFenceStart === undefined) {\n closingFenceStart = index\n }\n\n closingFenceEnd = index + 1\n\n if (\n next !== graveAccent &&\n closingFenceEnd - closingFenceStart === openingFenceEnd\n ) {\n found = true\n break\n }\n } else if (closingFenceStart !== undefined) {\n closingFenceStart = undefined\n closingFenceEnd = undefined\n }\n\n index++\n }\n\n if (!found) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n // Remove the initial and final space (or line feed), iff they exist and there\n // are non-space characters in the content.\n index = openingFenceEnd\n length = closingFenceStart\n code = value.charCodeAt(index)\n next = value.charCodeAt(length - 1)\n found = false\n\n if (\n length - index > 2 &&\n (code === space || code === lineFeed) &&\n (next === space || next === lineFeed)\n ) {\n index++\n length--\n\n while (index < length) {\n code = value.charCodeAt(index)\n\n if (code !== space && code !== lineFeed) {\n found = true\n break\n }\n\n index++\n }\n\n if (found === true) {\n openingFenceEnd++\n closingFenceStart--\n }\n }\n\n return eat(value.slice(0, closingFenceEnd))({\n type: 'inlineCode',\n value: value.slice(openingFenceEnd, closingFenceStart)\n })\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default locate\n\nfunction locate(value, fromIndex) {\n var index = value.indexOf('\\n', fromIndex)\n\n while (index > fromIndex) {\n if (value.charAt(index - 1) !== ' ') {\n break\n }\n\n index--\n }\n\n return index\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport locate from \"../locate/break.js\";\nexport default hardBreak\nhardBreak.locator = locate\n\nvar space = ' '\nvar lineFeed = '\\n'\nvar minBreakLength = 2\n\nfunction hardBreak(eat, value, silent) {\n var length = value.length\n var index = -1\n var queue = ''\n var character\n\n while (++index < length) {\n character = value.charAt(index)\n\n if (character === lineFeed) {\n if (index < minBreakLength) {\n return\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n queue += character\n\n return eat(queue)({type: 'break'})\n }\n\n if (character !== space) {\n return\n }\n\n queue += character\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nexport default text\n\nfunction text(eat, value, silent) {\n var self = this\n var methods\n var tokenizers\n var index\n var length\n var subvalue\n var position\n var tokenizer\n var name\n var min\n var now\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n methods = self.inlineMethods\n length = methods.length\n tokenizers = self.inlineTokenizers\n index = -1\n min = value.length\n\n while (++index < length) {\n name = methods[index]\n\n if (name === 'text' || !tokenizers[name]) {\n continue\n }\n\n tokenizer = tokenizers[name].locator\n\n if (!tokenizer) {\n eat.file.fail('Missing locator: `' + name + '`')\n }\n\n position = tokenizer.call(self, value, 1)\n\n if (position !== -1 && position < min) {\n min = position\n }\n }\n\n subvalue = value.slice(0, min)\n now = eat.now()\n\n self.decode(subvalue, now, handler)\n\n function handler(content, position, source) {\n eat(source || content)({type: 'text', value: content})\n }\n}\n","// @ts-nocheck -- vendored from remark-parse 8.0.3 (MIT, Titus Wormer), converted to ESM by\n// scripts/vendor-rp8.py; code otherwise as published. See src/rp8/vendor/README.md.\nimport { xtend as xtend } from \"../helpers.js\";\nimport { stateToggle as toggle } from \"../helpers.js\";\nimport { vfileLocation as vfileLocation } from \"../helpers.js\";\nimport unescape from \"./unescape.js\";\nimport decode from \"./decode.js\";\nimport tokenizer from \"./tokenizer.js\";\nimport __required1 from \"./set-options.js\";\nimport __required2 from \"./parse.js\";\nimport __required3 from \"./defaults.js\";\nimport __required4 from \"./tokenize/blank-line.js\";\nimport __required5 from \"./tokenize/code-indented.js\";\nimport __required6 from \"./tokenize/code-fenced.js\";\nimport __required7 from \"./tokenize/blockquote.js\";\nimport __required8 from \"./tokenize/heading-atx.js\";\nimport __required9 from \"./tokenize/thematic-break.js\";\nimport __required10 from \"./tokenize/list.js\";\nimport __required11 from \"./tokenize/heading-setext.js\";\nimport __required12 from \"./tokenize/html-block.js\";\nimport __required13 from \"./tokenize/definition.js\";\nimport __required14 from \"./tokenize/table.js\";\nimport __required15 from \"./tokenize/paragraph.js\";\nimport __required16 from \"./tokenize/escape.js\";\nimport __required17 from \"./tokenize/auto-link.js\";\nimport __required18 from \"./tokenize/url.js\";\nimport __required19 from \"./tokenize/email.js\";\nimport __required20 from \"./tokenize/html-inline.js\";\nimport __required21 from \"./tokenize/link.js\";\nimport __required22 from \"./tokenize/reference.js\";\nimport __required23 from \"./tokenize/strong.js\";\nimport __required24 from \"./tokenize/emphasis.js\";\nimport __required25 from \"./tokenize/delete.js\";\nimport __required26 from \"./tokenize/code-inline.js\";\nimport __required27 from \"./tokenize/break.js\";\nimport __required28 from \"./tokenize/text.js\";\nexport default Parser\n\nfunction Parser(doc, file) {\n this.file = file\n this.offset = {}\n this.options = xtend(this.options)\n this.setOptions({})\n\n this.inList = false\n this.inBlock = false\n this.inLink = false\n this.atStart = true\n\n this.toOffset = vfileLocation(file).toOffset\n this.unescape = unescape(this, 'escape')\n this.decode = decode(this)\n}\n\nvar proto = Parser.prototype\n\n// Expose core.\nproto.setOptions = __required1\nproto.parse = __required2\n\n// Expose `defaults`.\nproto.options = __required3\n\n// Enter and exit helpers.\nproto.exitStart = toggle('atStart', true)\nproto.enterList = toggle('inList', false)\nproto.enterLink = toggle('inLink', false)\nproto.enterBlock = toggle('inBlock', false)\n\n// Nodes that can interupt a paragraph:\n//\n// ```markdown\n// A paragraph, followed by a thematic break.\n// ___\n// ```\n//\n// In the above example, the thematic break “interupts” the paragraph.\nproto.interruptParagraph = [\n ['thematicBreak'],\n ['list'],\n ['atxHeading'],\n ['fencedCode'],\n ['blockquote'],\n ['html'],\n ['setextHeading', {commonmark: false}],\n ['definition', {commonmark: false}]\n]\n\n// Nodes that can interupt a list:\n//\n// ```markdown\n// - One\n// ___\n// ```\n//\n// In the above example, the thematic break “interupts” the list.\nproto.interruptList = [\n ['atxHeading', {pedantic: false}],\n ['fencedCode', {pedantic: false}],\n ['thematicBreak', {pedantic: false}],\n ['definition', {commonmark: false}]\n]\n\n// Nodes that can interupt a blockquote:\n//\n// ```markdown\n// > A paragraph.\n// ___\n// ```\n//\n// In the above example, the thematic break “interupts” the blockquote.\nproto.interruptBlockquote = [\n ['indentedCode', {commonmark: true}],\n ['fencedCode', {commonmark: true}],\n ['atxHeading', {commonmark: true}],\n ['setextHeading', {commonmark: true}],\n ['thematicBreak', {commonmark: true}],\n ['html', {commonmark: true}],\n ['list', {commonmark: true}],\n ['definition', {commonmark: false}]\n]\n\n// Handlers.\nproto.blockTokenizers = {\n blankLine: __required4,\n indentedCode: __required5,\n fencedCode: __required6,\n blockquote: __required7,\n atxHeading: __required8,\n thematicBreak: __required9,\n list: __required10,\n setextHeading: __required11,\n html: __required12,\n definition: __required13,\n table: __required14,\n paragraph: __required15\n}\n\nproto.inlineTokenizers = {\n escape: __required16,\n autoLink: __required17,\n url: __required18,\n email: __required19,\n html: __required20,\n link: __required21,\n reference: __required22,\n strong: __required23,\n emphasis: __required24,\n deletion: __required25,\n code: __required26,\n break: __required27,\n text: __required28\n}\n\n// Expose precedence.\nproto.blockMethods = keys(proto.blockTokenizers)\nproto.inlineMethods = keys(proto.inlineTokenizers)\n\n// Tokenizers.\nproto.tokenizeBlock = tokenizer('block')\nproto.tokenizeInline = tokenizer('inline')\nproto.tokenizeFactory = tokenizer\n\n// Get all keys in `value`.\nfunction keys(value) {\n var result = []\n var key\n\n for (key in value) {\n result.push(key)\n }\n\n return result\n}\n","/**\n * What ends a tag, as Obsidian reads one: whitespace, ASCII punctuation other than `/`, `_` and\n * `-`, and the General and Supplemental Punctuation blocks (U+2000-U+206F, U+2E00-U+2E7F).\n *\n * Everything else continues it, which is far more than letters and emoji: `#a§b`, `#a€b`,\n * `#a→b`, `#a≠b`, `#a「b」`, `#a,b` and `#a©b` are each one tag. Asked of Obsidian 1.15.0 over\n * 163 characters, including both sides of every block boundary, and this agrees with all 163.\n * Within the General Punctuation block sit the zero-width space and joiner, so a ZWJ emoji\n * sequence ends at its first joiner -- `#👨👩👧` is the tag `👨`, as Obsidian reports it.\n *\n * The class this replaced (letters, marks, emoji, digits) rejected 66 of those 163, `§` among\n * them: issue #1's closing note.\n */\nconst TAG_STOP =\n /[\\u2000-\\u206F\\u2E00-\\u2E7F'!\"#$%&()*+,.:;<=>?@^`{|}~[\\]\\\\\\s]/u;\n\n/** Whether one character -- a code point, or a single BMP code unit -- continues a tag. */\nexport function isTagCharacter(char: string): boolean {\n return char !== \"\" && !TAG_STOP.test(char);\n}\n","/**\n * The `legacy` reader: remark-parse 8, the parser Obsidian forks, with Obsidian's readers added.\n *\n * remark-parse 8.0.3, remark-footnotes 2.0.0 and remark-math 3.0.1 are vendored in `./vendor`\n * (see its README); nothing here reaches `node_modules` at run time. The readers below are ported from `obsidian-footnotes` (MIT, Copyright (c) 2021-2026 Alexis\n * Rondeau, Micha Brugger, Jason Qin, and contributors), `src/parsing/obsidian-markdown.ts`,\n * whose test suite asserts agreement with every recorded answer this package's referee reads\n * except four P1/P2 cache-bug documents. Each reader carries the rule letter it has in that\n * project's `docs/obsidian-reading-rules.md`. Left out: their speed-only wrappers, but for the math\n * one in `speedUps`. Their link-definition-at-end probe, which only matters when a note is parsed\n * in parts, is `reads-past-end.ts`.\n */\nimport { legacyHighlightQueue } from \"../lib/syntax/highlight.js\";\nimport listTokenizer from \"./list.js\";\nimport { readsPastEnd, watchDefinitionReader } from \"./reads-past-end.js\";\nimport remarkFootnotes2 from \"./vendor/remark-footnotes/index.js\";\nimport remarkMath3 from \"./vendor/remark-math/index.js\";\nimport Parser8 from \"./vendor/remark-parse/parser.js\";\nimport { isTagCharacter } from \"../lib/tag-char.js\";\n\nexport interface Point8 {\n line: number;\n column: number;\n offset: number;\n}\n\nexport interface Node8 {\n type: string;\n position: { start: Point8; end: Point8 };\n children?: Node8[];\n [key: string]: unknown;\n}\n\ntype Tokenizer = ((\n this: any,\n eat: any,\n value: string,\n silent?: boolean,\n) => any) & {\n locator?: (value: string, fromIndex: number) => number;\n};\n\nfunction along(point: Point8, columns: number): Point8 {\n return {\n line: point.line,\n column: point.column + columns,\n offset: point.offset + columns,\n };\n}\n\nfunction lineEnd(value: string, from: number): number {\n const end = value.indexOf(\"\\n\", from);\n return end === -1 ? value.length : end;\n}\n\n/** `%%` comments (F1-F5, D5). */\nfunction percentComments(tables: any): void {\n const block: Tokenizer = function (eat, value, silent) {\n let start = 0;\n while (value.charCodeAt(start) === 32) start++;\n if (!value.startsWith(\"%%\", start)) return undefined;\n const openerEnd = lineEnd(value, start);\n if (value.slice(start + 2, openerEnd).includes(\"%\")) return undefined;\n if (silent === true) return true;\n const close =\n openerEnd === value.length ? -1 : value.indexOf(\"%%\", openerEnd);\n const innerEnd = close === -1 ? value.length : close;\n const children = this.tokenizeInline(\n value.slice(start + 2, innerEnd),\n along(eat.now(), start + 2),\n );\n const comment = eat(\n value.slice(0, close === -1 ? value.length : close + 2),\n )({\n type: \"percentComment\",\n block: true,\n // The body as this reader saw it, container prefixes already stripped.\n body: value.slice(start + 2, innerEnd),\n children,\n });\n if (\n close !== -1 &&\n value.slice(close + 2, lineEnd(value, close)).trim() !== \"\"\n ) {\n const line = comment.position.end.line;\n this.offset[line] =\n (this.offset[line] ?? 0) +\n close +\n 2 -\n (value.lastIndexOf(\"\\n\", close) + 1);\n }\n return comment;\n };\n const inline: Tokenizer = function (eat, value, silent) {\n if (!value.startsWith(\"%%\")) return undefined;\n const close = value.indexOf(\"%%\", 2);\n if (close === -1 || close > lineEnd(value, 0)) return undefined;\n if (silent === true) return true;\n const children = this.tokenizeInline(\n value.slice(2, close),\n along(eat.now(), 2),\n );\n return eat(value.slice(0, close + 2))({\n type: \"percentComment\",\n block: false,\n body: value.slice(2, close),\n children,\n });\n };\n inline.locator = (value, fromIndex) => value.indexOf(\"%%\", fromIndex);\n tables.blockTokenizers.percentComment = block;\n tables.inlineTokenizers.percentComment = inline;\n tables.blockMethods.splice(\n tables.blockMethods.indexOf(\"fencedCode\"),\n 0,\n \"percentComment\",\n );\n tables.inlineMethods.splice(\n tables.inlineMethods.indexOf(\"html\"),\n 0,\n \"percentComment\",\n );\n tables.interruptParagraph.push([\"percentComment\"]);\n tables.interruptList.push([\"percentComment\"]);\n tables.interruptBlockquote.push([\"percentComment\"]);\n}\n\nconst CalloutMarker = /^\\[![^\\]\\n]+\\][+-]?(?=[ \\t\\n]|$)/;\n\n/** Callout titles (A1-A5). */\nfunction calloutTitles(tables: any): void {\n const stockBlockquote: Tokenizer = tables.blockTokenizers.blockquote;\n tables.blockTokenizers.blockquote = function (\n eat: any,\n value: string,\n silent?: boolean,\n ) {\n if (silent !== true) {\n let i = 0;\n while (value[i] === \" \" || value[i] === \"\\t\") i++;\n if (value[i] === \">\") {\n i++;\n if (value[i] === \" \") i++;\n this.calloutAt = eat.now().offset + i;\n }\n }\n return stockBlockquote.call(this, eat, value, silent);\n } as Tokenizer;\n tables.blockTokenizers.calloutTitle = function (\n eat: any,\n value: string,\n silent?: boolean,\n ) {\n if (eat.now().offset !== this.calloutAt) return undefined;\n const marker = CalloutMarker.exec(value);\n if (!marker) return undefined;\n if (silent === true) return true;\n const line = value.slice(0, lineEnd(value, 0));\n let rest = marker[0].length;\n if (line[rest] === \" \" || line[rest] === \"\\t\") rest++;\n const now = eat.now();\n this.offset[now.line] = Math.max(\n this.offset[now.line] ?? 0,\n now.column - 1 + rest,\n );\n const children = this.tokenizeBlock(line.slice(rest), along(now, rest));\n return eat(line)({ type: \"calloutTitle\", marker: marker[0], children });\n } as Tokenizer;\n tables.blockMethods.unshift(\"calloutTitle\");\n}\n\nfunction startsWithPipe(line: string): boolean {\n return line.startsWith(\"|\");\n}\n\nfunction isTableRow(line: string, piped: boolean): boolean {\n if (piped)\n return (\n startsWithPipe(line) && line.indexOf(\"|\", line.indexOf(\"|\") + 1) !== -1\n );\n return !startsWithPipe(line) && line.includes(\"|\");\n}\n\nfunction tableEnd(value: string): number {\n const headerEnd = lineEnd(value, 0);\n if (headerEnd === value.length || !value.slice(0, headerEnd).includes(\"|\"))\n return -1;\n const piped = startsWithPipe(value);\n const delimiterEnd = lineEnd(value, headerEnd + 1);\n if (startsWithPipe(value.slice(headerEnd + 1, delimiterEnd)) !== piped)\n return -1;\n let end = delimiterEnd;\n while (end < value.length) {\n const rowEnd = lineEnd(value, end + 1);\n if (!isTableRow(value.slice(end + 1, rowEnd), piped)) break;\n end = rowEnd;\n }\n return end;\n}\n\n/** Tables (C1-C3). */\nfunction tablePipeStyles(tables: any): void {\n const stockTable: Tokenizer = tables.blockTokenizers.table;\n tables.blockTokenizers.table = function (\n eat: any,\n value: string,\n silent?: boolean,\n ) {\n const end = tableEnd(value);\n if (end === -1) return undefined;\n return stockTable.call(this, eat, value.slice(0, end), silent);\n } as Tokenizer;\n}\n\n// U+2028 and U+2029 end a wikilink as a line ending does: Obsidian reads `[[a\\u2028b]]` as no\n// link, while U+0085 stays inside one (found by `fuzz/charclass-sweep.ts`).\nconst Wikilink = /^!?\\[\\[(?:(?!\\[\\[)[^\\n\\r\\u2028\\u2029])+?\\]\\]/;\n\n/** Wikilinks and embeds (D1). */\nfunction wikilinks(tables: any): void {\n const wikilink: Tokenizer = function (eat, value, silent) {\n const match = Wikilink.exec(value);\n if (!match) return undefined;\n if (silent === true) return true;\n return eat(match[0])({ type: \"wikiLink\", value: match[0] });\n };\n wikilink.locator = (value, fromIndex) => {\n const at = value.indexOf(\"[[\", fromIndex);\n return at > fromIndex && value[at - 1] === \"!\" ? at - 1 : at;\n };\n tables.inlineTokenizers.wikiLink = wikilink;\n tables.inlineMethods.splice(\n tables.inlineMethods.indexOf(\"link\"),\n 0,\n \"wikiLink\",\n );\n}\n\nconst Frontmatter = /^---\\n(?:[^\\n]*\\n)*?---/;\n\n/** Frontmatter (D2). */\nfunction frontmatter(tables: any): void {\n tables.blockTokenizers.frontmatter = function (\n eat: any,\n value: string,\n silent?: boolean,\n ) {\n const noteStart = this.file.toString().charCodeAt(0) === 0xfeff ? 1 : 0;\n if (eat.now().offset !== noteStart) return undefined;\n const match = Frontmatter.exec(value);\n if (!match) return undefined;\n if (silent === true) return true;\n const yaml = eat(match[0])({ type: \"yaml\", value: match[0] });\n if (\n value.slice(match[0].length, lineEnd(value, match[0].length)).trim() !==\n \"\"\n ) {\n const line = yaml.position.end.line;\n this.offset[line] = (this.offset[line] ?? 0) + \"---\".length;\n }\n return yaml;\n } as Tokenizer;\n tables.blockMethods.unshift(\"frontmatter\");\n}\n\n/** `$$`, a body that may be empty, and the first `$$` not escaped by a backslash. */\nconst DoubleDollarMath = /^\\$\\$(?:|[\\s\\S]*?[^\\\\])\\$\\$/;\n\n/** `$$ … $$` inside a paragraph (M1). */\nfunction doubleDollarMath(tables: any): void {\n const math: Tokenizer = function (eat, value, silent) {\n const match = DoubleDollarMath.exec(value);\n if (!match) return undefined;\n if (silent === true) return true;\n // One space of padding on EACH side is the writer's, as for a code span: `mdast-util-math`\n // pads a value starting or ending with `$`, and reading it back must give the value again.\n let body = match[0].slice(2, -2);\n if (/[^ ]/u.test(body) && body.startsWith(\" \") && body.endsWith(\" \")) {\n body = body.slice(1, -1);\n }\n return eat(match[0])({ type: \"inlineMath\", value: body });\n };\n math.locator = (value, fromIndex) => value.indexOf(\"$$\", fromIndex);\n tables.inlineTokenizers.doubleDollarMath = math;\n tables.inlineMethods.splice(\n tables.inlineMethods.indexOf(\"math\"),\n 0,\n \"doubleDollarMath\",\n );\n}\n\n/** `==highlight==`, by the rule `legacyHighlightQueue` records (measured against Obsidian). */\nfunction highlights(tables: any): void {\n const highlight: Tokenizer = function (eat, value, silent) {\n const body = legacyHighlightQueue(value);\n if (body === null) return undefined;\n if (silent === true) return true;\n const now = eat.now();\n return eat(`==${body}==`)({\n type: \"highlight\",\n children: this.tokenizeInline(body, along(now, 2)),\n });\n };\n highlight.locator = (value, fromIndex) => value.indexOf(\"==\", fromIndex);\n tables.inlineTokenizers.highlight = highlight;\n tables.inlineMethods.splice(\n tables.inlineMethods.indexOf(\"deletion\") + 1,\n 0,\n \"highlight\",\n );\n}\n\n/**\n * `#tag`. The locator offers only a `#` after whitespace, and the reader runs wherever the\n * inline loop stands -- which is also right after any construct, so `a**b**#next` tags while\n * `foo#next` does not. Not after another `#`: Obsidian reads no tag in `##tag` or `x##tag`, and\n * only `#a` in `#a##b`; `#a#b` still holds two, the second straight after a construct.\n */\nfunction tags(tables: any): void {\n const tag: Tokenizer = function (eat, value, silent) {\n if (value.charAt(0) !== \"#\") return undefined;\n let end = 1;\n let nonDigit = false;\n for (const ch of value.slice(1)) {\n if (!isTagCharacter(ch)) break;\n if (!/[0-9]/u.test(ch)) nonDigit = true;\n end += ch.length;\n }\n if (end === 1 || !nonDigit) return undefined;\n if (silent === true) return true;\n return eat(value.slice(0, end))({\n type: \"tag\",\n value: value.slice(1, end),\n });\n };\n tag.locator = (value, fromIndex) => {\n for (\n let at = value.indexOf(\"#\", fromIndex);\n at !== -1;\n at = value.indexOf(\"#\", at + 1)\n ) {\n const before = value.charAt(at - 1);\n if (at === 0 || /\\s/u.test(before)) return at;\n }\n return -1;\n };\n tables.inlineTokenizers.tag = tag;\n tables.inlineMethods.splice(tables.inlineMethods.indexOf(\"text\"), 0, \"tag\");\n}\n\n/** A line ending inside a paragraph is a break (Obsidian's default, remark-breaks 2's reader). */\nfunction softBreaks(tables: any): void {\n const softBreak: Tokenizer = function (eat, value, silent) {\n let queue = \"\";\n for (const character of value) {\n if (character === \"\\n\") {\n if (silent === true) return true;\n const indent = /^[ \\t]*/u.exec(value.slice(queue.length + 1))![0];\n return eat(queue + character + indent)({ type: \"break\" });\n }\n if (character !== \" \") return undefined;\n queue += character;\n }\n return undefined;\n };\n softBreak.locator = (value, fromIndex) => {\n let at = value.indexOf(\"\\n\", fromIndex);\n while (at > fromIndex && value.charAt(at - 1) === \" \") at--;\n return at;\n };\n tables.inlineTokenizers.break = softBreak;\n}\n\n/**\n * SPEED-UPS, none of which changes a reading -- `test/rp8-speedups.test.ts` parses every corpus\n * document with and without them and requires identical trees.\n *\n * remark-parse 8's inline loop is superlinear in two places a vault note can reach. The text\n * reader asks every inline reader where it could next match, at every token boundary, and each\n * answer scans forward: on a long line with nothing to find, that is quadratic. And a code-span\n * opener with no closer of its width scans to the end of the run, after which the text reader\n * advances ONE backtick and the shorter opener scans again -- `backtick-increasing` at 500 took\n * 51 s. Both answers are functions of the run's text alone, so each is computed once per run:\n *\n * - every `tokenizeInline` call pushes its content, so a reader knows where `value` sits in it;\n * - a locator's answer is kept and reused for any later position up to that answer (every\n * locator here finds the first match at or after where it is asked, which is what makes a\n * remembered answer exact -- `break` and `email` walk back, but never past that point);\n * - the code span's closer is \"the first maximal backtick run of the opener's width after it\",\n * looked up in an index of the run's backtick runs; a found span is still read by the stock\n * reader, whose scan is then bounded by the span it consumes.\n *\n * The rest cost time on any note rather than on a bad one, most on a note parsed in small parts.\n * They are ported from `obsidian-footnotes`' `textLineByLine` and `htmlBlockPrecheck`:\n *\n * - plain text holding no `&` skips the entity decoder;\n * - a block not starting with `<` skips the HTML block reader, which builds a `RegExp` from its\n * whole tag list on every call: at every block, and at every line of a paragraph.\n */\ninterface Frame {\n value: string;\n /** Per inline reader, by its index in `inlineMethods`: where its locator was asked, and its answer. */\n askedAt: Int32Array;\n answer: Int32Array;\n runs?: Map<number, number[]>;\n /** For each offset, the first offset at or after it whose character `test` accepts, or -1. */\n next: Map<string, Int32Array>;\n /** For each offset `i`, the first `j > i` whose bracket balance is below balance(i), or -1. */\n lower?: Int32Array;\n /** For each offset, the first backtick at or after it that could open a code span, or -1. */\n spanCapable?: Int32Array;\n /** The math readers that have already searched this run for a closer and found none. */\n noCloser?: Set<string>;\n}\n\n/**\n * `frame.spanCapable`: a code span opened at `q` needs a LATER backtick run of exactly the\n * opener's width, `runEnd(q) - q`. Where every later run is wider than that, no opener from `q` to\n * its run's end can succeed, so those backticks are skipped. (A narrower or equal later run keeps\n * them -- only a sure decline is skipped, never a possible span.)\n */\nfunction spanCapable(frame: Frame): Int32Array {\n if (!frame.spanCapable) {\n const { value } = frame;\n const table = new Int32Array(value.length + 1).fill(-1);\n let narrowestLater = Infinity;\n for (let at = value.length - 1; at >= 0;) {\n if (value.charCodeAt(at) !== 96) {\n table[at] = table[at + 1]!;\n at--;\n continue;\n }\n const runEnd = at + 1;\n let runStart = at;\n while (runStart > 0 && value.charCodeAt(runStart - 1) === 96) runStart--;\n for (let q = runEnd - 1; q >= runStart; q--) {\n table[q] = narrowestLater <= runEnd - q ? q : table[q + 1]!;\n }\n narrowestLater = Math.min(narrowestLater, runEnd - runStart);\n at = runStart - 1;\n }\n frame.spanCapable = table;\n }\n return frame.spanCapable;\n}\n\n/** `frame.next` for one character class, built once per run. */\nfunction nextWhere(\n frame: Frame,\n key: string,\n test: (value: string, at: number) => boolean,\n): Int32Array {\n let table = frame.next.get(key);\n if (!table) {\n const { value } = frame;\n table = new Int32Array(value.length + 1);\n let next = -1;\n table[value.length] = -1;\n for (let at = value.length - 1; at >= 0; at--) {\n if (test(value, at)) next = at;\n table[at] = next;\n }\n frame.next.set(key, table);\n }\n return table;\n}\n\n/** The last backtick strictly before `at`, or -1; one table per run (`frame.next`, its own key). */\nfunction backtickBefore(frame: Frame, at: number): number {\n let table = frame.next.get(\"backtick-before\");\n if (!table) {\n const { value } = frame;\n table = new Int32Array(value.length + 1);\n let last = -1;\n for (let i = 0; i <= value.length; i++) {\n table[i] = last;\n if (value.charCodeAt(i) === 96) last = i;\n }\n frame.next.set(\"backtick-before\", table);\n }\n return table[at]!;\n}\n\n/**\n * Where the `[` at `open` closes, by remark-parse 8's link and reference text scans in GFM mode:\n * a backslash skips the next character, every other `[` and `]` counts, code included. The\n * closer is the first `]` that takes the balance below the opener's, found from a table of\n * \"first later offset with a lower balance\". Escapes are computed once from the run's start,\n * which agrees with a scan started after any `[`: a backslash run never straddles one.\n */\nfunction closingBracket(frame: Frame, open: number): number {\n if (!frame.lower) {\n const { value } = frame;\n // balance[i]: unescaped `[` minus unescaped `]` in value[0, i).\n const balance = new Int32Array(value.length + 1);\n for (let at = 0, level = 0; at < value.length; at++) {\n const code = value.charCodeAt(at);\n balance[at] = level;\n if (code === 92 && at + 1 < value.length) {\n balance[at + 1] = level;\n at++;\n } else if (code === 91) level++;\n else if (code === 93) level--;\n balance[at + 1] = level;\n }\n const lower = new Int32Array(value.length + 1).fill(-1);\n const stack: number[] = [];\n for (let at = 0; at <= value.length; at++) {\n while (\n stack.length > 0 &&\n balance[at]! < balance[stack[stack.length - 1]!]!\n ) {\n lower[stack.pop()!] = at;\n }\n stack.push(at);\n }\n frame.lower = lower;\n }\n // The balance just after the opener is the scan's depth 0; the closer is the `]` before the\n // first offset where it is lower.\n const after = frame.lower[open + 1];\n return after === undefined || after === -1 ? -1 : after - 1;\n}\n\n/** The innermost `tokenizeInline` content, if `value` is its tail; otherwise none. */\nfunction frameOf(state: any, value: string): Frame | undefined {\n const frames: Frame[] | undefined = state.inlineFrames;\n const frame = frames?.[frames.length - 1];\n if (!frame || value.length > frame.value.length || value.length === 0)\n return undefined;\n const base = frame.value.length - value.length;\n return frame.value.charCodeAt(base) === value.charCodeAt(0) &&\n frame.value.charCodeAt(frame.value.length - 1) ===\n value.charCodeAt(value.length - 1)\n ? frame\n : undefined;\n}\n\nfunction speedUps(tables: any, features: Features): void {\n const stockInline = tables.tokenizeInline;\n tables.tokenizeInline = function (value: string, now: Point8) {\n const frames: Frame[] = (this.inlineFrames ??= []);\n const count = (this.inlineMethods as string[]).length;\n frames.push({\n value,\n askedAt: new Int32Array(count).fill(-1),\n answer: new Int32Array(count),\n next: new Map(),\n });\n try {\n return stockInline.call(this, value, now);\n } finally {\n frames.pop();\n }\n };\n\n const stockHtml: Tokenizer = tables.blockTokenizers.html;\n // Exactly the stock reader's own first test, before it builds anything.\n const html: Tokenizer = function (eat, value, silent) {\n let at = 0;\n while (value.charCodeAt(at) === 32 || value.charCodeAt(at) === 9) at++;\n if (value.charCodeAt(at) !== 60) return undefined;\n return stockHtml.call(this, eat, value, silent);\n };\n tables.blockTokenizers.html = html;\n\n const stockText: Tokenizer = tables.inlineTokenizers.text;\n // remark-parse 8's own text reader, with each locator's answer remembered per run.\n const text: Tokenizer = function (eat, value, silent) {\n const frame = frameOf(this, value);\n if (silent === true || !frame)\n return stockText.call(this, eat, value, silent);\n const base = frame.value.length - value.length;\n const from = base + 1;\n let min = value.length;\n const methods = this.inlineMethods as string[];\n if (frame.askedAt.length !== methods.length)\n return stockText.call(this, eat, value, silent);\n for (let index = 0; index < methods.length; index++) {\n const name = methods[index]!;\n const reader = this.inlineTokenizers[name] as Tokenizer | undefined;\n if (name === \"text\" || !reader) continue;\n if (!reader.locator) return stockText.call(this, eat, value, silent);\n const asked = frame.askedAt[index]!;\n let at = frame.answer[index]!;\n if (asked === -1 || asked > from || (at !== -1 && at < from)) {\n const position = reader.locator.call(this, value, 1);\n at = position === -1 ? -1 : base + position;\n // The code locator's next backtick, moved on to the next one a span could open at --\n // but never past an `&`. The stock reader ends a text stretch at every backtick, and\n // remark-parse 8's decoder reads a bare `&` after a reference in the same stretch as\n // that reference (`�`&/` keeps its second `&` only because the backtick splits it).\n // It also reads an `&` that ENDS a stretch as text, but one before a backtick as that\n // stale reference (`�#&``). So the skip stops at the last backtick before the first\n // `&` from the one before `at` on: the stretch it joins then holds no `&` after `at - 1`,\n // those pieces decode to themselves, and no reference reads past a backtick.\n if (name === \"code\" && at !== -1) {\n const skipTo = spanCapable(frame)[at]!;\n const amp = nextWhere(frame, \"&\", (v, i) => v.charCodeAt(i) === 38)[\n at - 1\n ]!;\n if (amp === -1 || (skipTo !== -1 && skipTo < amp)) at = skipTo;\n else at = Math.max(at, backtickBefore(frame, amp));\n }\n frame.askedAt[index] = from;\n frame.answer[index] = at;\n }\n if (at !== -1 && at - base < min) min = at - base;\n }\n const subvalue = value.slice(0, min);\n // Every character reference starts with `&`, so without one the decoder would walk this\n // stretch a character at a time and hand back the same single piece of text.\n if (subvalue !== \"\" && !subvalue.includes(\"&\")) {\n eat(subvalue)({ type: \"text\", value: subvalue });\n return undefined;\n }\n this.decode(\n subvalue,\n eat.now(),\n (content: string, _p: unknown, source: string) => {\n eat(source || content)({ type: \"text\", value: content });\n },\n );\n return undefined;\n };\n tables.inlineTokenizers.text = text;\n\n const stockCode: Tokenizer = tables.inlineTokenizers.code;\n const code: Tokenizer = function (eat, value, silent) {\n const frame = frameOf(this, value);\n if (!frame || value.charCodeAt(0) !== 96)\n return stockCode.call(this, eat, value, silent);\n const base = frame.value.length - value.length;\n // The opener is the rest of this backtick run; counting it here would be quadratic per run.\n const runEnd = nextWhere(\n frame,\n \"not-backtick\",\n (v, i) => v.charCodeAt(i) !== 96,\n )[base]!;\n if (runEnd === -1) return undefined;\n const width = runEnd - base;\n const starts = (frame.runs ??= backtickRuns(frame.value)).get(width);\n // No run of the opener's width after it: the stock reader scans to the end and declines.\n if (!starts || starts[starts.length - 1]! < base + width) return undefined;\n return stockCode.call(this, eat, value, silent);\n };\n code.locator = stockCode.locator;\n tables.inlineTokenizers.code = code;\n\n // Readers that scan forward from an opener for something the run may not hold. Each wrapper\n // returns early ONLY where the stock reader is certain to decline, by its own rules, and\n // otherwise hands over -- so an early return can never change a reading.\n const precheck = (\n name: string,\n declines: (frame: Frame, base: number, value: string) => boolean,\n ) => {\n const stock: Tokenizer | undefined = tables.inlineTokenizers[name];\n // Loud, not skipped: a wrapper on a name nothing registers is an inert speed-up.\n if (!stock) throw new Error(`No inline reader named ${name} to speed up`);\n const wrapped: Tokenizer = function (eat, value, silent) {\n const frame = frameOf(this, value);\n if (frame && declines(frame, frame.value.length - value.length, value))\n return undefined;\n return stock.call(this, eat, value, silent);\n };\n wrapped.locator = stock.locator;\n for (const key of [\"onlyAtStart\", \"notInList\", \"notInBlock\", \"notInLink\"]) {\n if (key in stock) (wrapped as any)[key] = (stock as any)[key];\n }\n tables.inlineTokenizers[name] = wrapped;\n };\n const isSpace = (value: string, at: number) => /\\s/.test(value.charAt(at));\n\n // `[text](dest)` and ``: no closing `]`, a closing `]` with no `(` after it, or an\n // angle destination with no `>` (or, in CommonMark mode, a line ending before it).\n precheck(\"link\", (frame, base, value) => {\n const open = base + (value.charCodeAt(0) === 33 ? 1 : 0);\n if (frame.value.charCodeAt(open) !== 91) return false;\n const close = closingBracket(frame, open);\n if (close === -1) return true;\n if (frame.value.charCodeAt(close + 1) !== 40) return true;\n let at = close + 2;\n while (at < frame.value.length && isSpace(frame.value, at)) at++;\n if (frame.value.charCodeAt(at) !== 60) return false;\n const gt = nextWhere(frame, \">\", (v, i) => v.charCodeAt(i) === 62)[at + 1]!;\n const lf = nextWhere(frame, \"\\n\", (v, i) => v.charCodeAt(i) === 10)[\n at + 1\n ]!;\n return gt === -1 || (lf !== -1 && lf < gt);\n });\n // `[text]`, `[text][label]`, `[text][]`: no closing `]` for the text.\n precheck(\"reference\", (frame, base, value) => {\n const open = base + (value.charCodeAt(0) === 33 ? 1 : 0);\n return (\n frame.value.charCodeAt(open) === 91 && closingBracket(frame, open) === -1\n );\n });\n // `[^label]`: the label ends at the first space, tab, line ending or `]`, and only `]` keeps it.\n precheck(\"footnoteCall\", (frame, base, value) => {\n if (value.charCodeAt(0) !== 91 || value.charCodeAt(1) !== 94) return false;\n const stop = nextWhere(frame, \"label-stop\", (v, i) => {\n const c = v.charCodeAt(i);\n return c === 32 || c === 9 || c === 10 || c === 93;\n })[base + 2]!;\n return stop === -1 || frame.value.charCodeAt(stop) !== 93;\n });\n // `^[note]` (remark-footnotes' `inlineNote`): it needs some `]` after it, whatever its own\n // rules for code and escapes.\n if (features.inlineFootnotes) {\n precheck(\"inlineNote\", (frame, base, value) => {\n if (value.charCodeAt(0) !== 94 || value.charCodeAt(1) !== 91)\n return false;\n return (\n nextWhere(frame, \"]\", (v, i) => v.charCodeAt(i) === 93)[base + 2] === -1\n );\n });\n }\n // `==note==`: only a `==` with no whitespace straight before it closes, and not one on the\n // opener itself, so a run with none ahead declines without reading the rest of the run.\n if (features.highlights) {\n precheck(\"highlight\", (frame, base, value) => {\n if (value.charCodeAt(0) !== 61 || value.charCodeAt(1) !== 61)\n return false;\n return (\n nextWhere(\n frame,\n \"highlight-closer\",\n (v, i) =>\n v.charCodeAt(i) === 61 &&\n v.charCodeAt(i + 1) === 61 &&\n !isSpace(v, i - 1),\n )[base + 3] === -1\n );\n });\n }\n // `~~strike~~` (remark-parse 8's `deletion`, stock): from an opener `~~` at `base` whose third\n // character is no whitespace, its scan closes at the first `j >= base + 3` where `j - 1` and `j`\n // are `~` and either `j === base + 3` (the scan's `preceding` is still empty there) or the\n // character at `j - 2` is no whitespace. Past `base + 3` that test reads only the three\n // characters around the closer, so one table answers it for every opener in the run, and an\n // opener with no closer ahead declines without reading the rest of the run.\n precheck(\"deletion\", (frame, base, value) => {\n if (value.charCodeAt(0) !== 126 || value.charCodeAt(1) !== 126)\n return false;\n if (value.charCodeAt(2) === 126 && value.charCodeAt(3) === 126)\n return false;\n return (\n nextWhere(\n frame,\n \"strike-closer\",\n (v, i) =>\n i >= 2 &&\n v.charCodeAt(i) === 126 &&\n v.charCodeAt(i - 1) === 126 &&\n !isSpace(v, i - 2),\n )[base + 4] === -1\n );\n });\n // `<scheme://...>` and `<user@host>`: the first space, `>`, `@` or `:/` decides the kind, and\n // the rest must reach a `>` before the next space.\n precheck(\"autoLink\", (frame, base, value) => {\n if (value.charCodeAt(0) !== 60) return false;\n const stop = nextWhere(frame, \"autolink-stop\", (v, i) => {\n const c = v.charCodeAt(i);\n return (\n c === 62 ||\n c === 64 ||\n (c === 58 && v.charCodeAt(i + 1) === 47) ||\n isSpace(v, i)\n );\n })[base + 1]!;\n if (stop === -1 || stop === base + 1) return true;\n const c = frame.value.charCodeAt(stop);\n const rest = c === 64 ? stop + 1 : c === 58 ? stop + 2 : -1;\n if (rest === -1) return true;\n const end = nextWhere(\n frame,\n \"space-or-gt\",\n (v, i) => v.charCodeAt(i) === 62 || isSpace(v, i),\n )[rest]!;\n return end === -1 || end === rest || frame.value.charCodeAt(end) !== 62;\n });\n\n // A math opener searches the rest of the run for a closer, so a line of prices (`$5 or $6 and\n // ...`) searched to its end from every `$`. A reader judges a closer by the characters around it\n // alone, and a later opener's search walks what an earlier one walked past it (a backslash's\n // skip lands just after any `$` it hides), so once a search finds nothing, every later one in\n // the run finds nothing too. That needs the same reader and the same kind of opener:\n //\n // - `math` remembers only `$`. `$ ` declines without searching, so it says nothing about the\n // `$a$` after it, and a failed `$$` says nothing about the `$` after it (`$$a$`).\n // - `math`'s `$$` runs only behind `doubleDollarMath`, which leaves it at most two failed\n // searches in a run (`$$$a`), so it has nothing to remember.\n // - `doubleDollarMath` is its own reader: it refuses a `$$` after any backslash, so `$$a\\\\$$`\n // fails there and is math to `math`, and `\\\\` lets a line of `$$ a\\\\` reach it each time.\n const searchOnce = (name: string, opens: (value: string) => boolean) => {\n const stock: Tokenizer = tables.inlineTokenizers[name];\n const wrapped: Tokenizer = function (eat, value, silent) {\n const frame = frameOf(this, value);\n if (!frame || !opens(value)) return stock.call(this, eat, value, silent);\n if (frame.noCloser?.has(name)) return undefined;\n const result = stock.call(this, eat, value, silent);\n if (result === undefined) (frame.noCloser ??= new Set()).add(name);\n return result;\n };\n wrapped.locator = stock.locator;\n tables.inlineTokenizers[name] = wrapped;\n };\n if (features.math) {\n searchOnce(\"math\", (value) => {\n const after = value.charCodeAt(1);\n return (\n value.charCodeAt(0) === 36 &&\n after !== 36 &&\n after !== 32 &&\n after !== 9\n );\n });\n searchOnce(\n \"doubleDollarMath\",\n (value) => value.charCodeAt(0) === 36 && value.charCodeAt(1) === 36,\n );\n }\n}\n\n/** Every maximal run of backticks in `value`, as width -> ascending start offsets. */\nfunction backtickRuns(value: string): Map<number, number[]> {\n const runs = new Map<number, number[]>();\n for (let at = value.indexOf(\"`\"); at !== -1;) {\n let end = at;\n while (value.charCodeAt(end) === 96) end++;\n const width = end - at;\n let list = runs.get(width);\n if (!list) runs.set(width, (list = []));\n list.push(at);\n at = value.indexOf(\"`\", end);\n }\n return runs;\n}\n\n/** Which of Obsidian's readers to register; the rest of the parser is remark-parse 8 as is. */\nexport interface Features {\n comments: boolean;\n callouts: boolean;\n wikilinks: boolean;\n frontmatter: boolean;\n math: boolean;\n highlights: boolean;\n tags: boolean;\n inlineFootnotes: boolean;\n customTaskChars: boolean;\n positionedBreaks: boolean;\n readsPastEnd?: boolean;\n}\n\n/**\n * Order matters once: remark-footnotes builds the definition's interrupt list from the block\n * readers registered when it attaches, so math before it (a `$$` line ends a definition, E1)\n * and Obsidian's readers after it (a `%%` line does not, D5).\n */\nfunction buildParser(features: Features, fast: boolean): any {\n const Stock: any = Parser8;\n class ObsidianParser extends Stock {}\n const tables: any = ObsidianParser.prototype;\n tables.options = { ...tables.options, commonmark: true };\n // Not in `options`: remark-parse 8's `setOptions` keeps only the keys it knows.\n tables.anyTaskChar = features.customTaskChars;\n tables.blockTokenizers = { ...tables.blockTokenizers };\n tables.inlineTokenizers = { ...tables.inlineTokenizers };\n tables.blockMethods = tables.blockMethods.slice();\n tables.inlineMethods = tables.inlineMethods.slice();\n tables.interruptParagraph = tables.interruptParagraph.slice();\n tables.interruptList = tables.interruptList.slice();\n tables.interruptBlockquote = tables.interruptBlockquote.slice();\n\n const host = { Parser: ObsidianParser };\n if (features.math) (remarkMath3 as any).call(host, {});\n (remarkFootnotes2 as any).call(host, {\n inlineNotes: features.inlineFootnotes,\n });\n\n if (features.comments) percentComments(tables);\n if (features.callouts) calloutTitles(tables);\n tables.blockTokenizers.list = listTokenizer;\n tablePipeStyles(tables);\n if (features.wikilinks) wikilinks(tables);\n if (features.frontmatter) frontmatter(tables);\n if (features.math) doubleDollarMath(tables);\n if (features.highlights) highlights(tables);\n if (features.tags) tags(tables);\n if (features.positionedBreaks) softBreaks(tables);\n if (fast) speedUps(tables, features);\n if (features.readsPastEnd) watchDefinitionReader(tables);\n return ObsidianParser;\n}\n\nconst parserClasses = new Map<string, any>();\n\n/** The tree with remark-parse 8's per-line container offset table. */\nexport function parse8WithOffsets(\n doc: string,\n features: Features,\n fast = true,\n): { tree: Node8; offsets: Record<number, number>; readsPastEnd?: boolean } {\n const key = JSON.stringify(features) + String(fast);\n let parserClass = parserClasses.get(key);\n if (parserClass === undefined) {\n parserClass = buildParser(features, fast);\n parserClasses.set(key, parserClass);\n }\n const file = {\n toString: () => doc,\n message: () => undefined,\n fail: (error: Error) => {\n throw error;\n },\n };\n const parser = new parserClass(doc, file);\n const tree = parser.parse() as Node8;\n const offsets = { ...parser.offset };\n return features.readsPastEnd\n ? { tree, offsets, readsPastEnd: readsPastEnd(parser, tree) }\n : { tree, offsets };\n}\n","/**\n * PROTOTYPE: remark-parse 8's tree, reshaped to this package's public node types.\n *\n * Positions are never invented: every node keeps the position the rp8 reader gave it, except\n * that a block's end at column 1 of a later line is pulled back to the end of the line before,\n * which is where mdast places a block's end.\n */\nimport type { Root } from \"mdast\";\nimport { decodeString } from \"micromark-util-decode-string\";\nimport { normalizeIdentifier } from \"micromark-util-normalize-identifier\";\n\nimport { countByteOrderMark } from \"../lib/byte-order-mark.js\";\nimport { calloutMarkerTransform } from \"../lib/callout-marker.js\";\nimport { mathDisplayTransform } from \"../lib/math-display.js\";\nimport { resolveTarget, spelledTarget } from \"../lib/wikilink-target.js\";\nimport {\n parse8WithOffsets,\n type Features,\n type Node8,\n type Point8,\n} from \"./reader.js\";\n\n/** The plugin options the remark-parse 8 path honours; each maps onto a reader or a step here. */\nexport interface LegacyOptions extends Features {\n keepComments: boolean;\n parseComments: boolean;\n lineOffsets: boolean;\n bareFootnoteRefs: boolean;\n inertFootnoteRefs: boolean;\n keepUndefinedReferences: boolean;\n bomOffsets: boolean;\n}\n\n/** All on: what `legacy` reads with unless told otherwise. */\nexport const legacyDefaults: LegacyOptions = {\n wikilinks: true,\n highlights: true,\n comments: true,\n tags: true,\n customTaskChars: true,\n math: true,\n frontmatter: true,\n keepComments: true,\n parseComments: true,\n lineOffsets: true,\n bareFootnoteRefs: true,\n inlineFootnotes: true,\n callouts: true,\n positionedBreaks: true,\n bomOffsets: false,\n readsPastEnd: false,\n keepUndefinedReferences: false,\n inertFootnoteRefs: false,\n};\n\ninterface Context {\n doc: string;\n definitions: Set<string>;\n footnotes: Set<string>;\n options: LegacyOptions;\n}\n\n/**\n * A label as `mdast-util-from-markdown` reports it: escapes and character references decoded.\n * remark-parse 8 keeps the raw source, which the writer then escapes again on every pass --\n * `[ref\\\\[]` grew a backslash pair per format. The identifier is still made from the raw text.\n */\nconst decodeLabel = (label: unknown): unknown =>\n typeof label === \"string\" ? decodeString(label) : label;\n\nconst fold = (label: string): string =>\n label\n .replace(/[\\t\\n\\r ]+/gu, \" \")\n .toLowerCase()\n .toUpperCase()\n .toLowerCase();\n\nfunction collectDefinitions(\n node: Node8,\n links: Set<string>,\n footnotes: Set<string>,\n): void {\n if (node.type === \"definition\")\n links.add(fold(String(node.label ?? node.identifier)));\n if (node.type === \"footnoteDefinition\")\n footnotes.add(String(node.identifier));\n for (const child of node.children ?? [])\n collectDefinitions(child, links, footnotes);\n}\n\n/** Adjacent text nodes, as one: the reverts above leave runs a tokenizer would have merged. */\nfunction mergeText(node: Node8): void {\n if (!node.children) return;\n const out: Node8[] = [];\n for (const child of node.children) {\n mergeText(child);\n const prev = out[out.length - 1];\n if (\n prev?.type === \"text\" &&\n child.type === \"text\" &&\n prev.position.end.offset === child.position.start.offset\n ) {\n prev.value = String(prev.value) + String(child.value);\n prev.position = { start: prev.position.start, end: child.position.end };\n } else out.push(child);\n }\n node.children = out;\n}\n\nfunction pointAt(doc: string, offset: number): Point8 {\n const bol = doc.lastIndexOf(\"\\n\", offset - 1) + 1;\n let line = 1;\n for (\n let at = doc.indexOf(\"\\n\");\n at !== -1 && at < offset;\n at = doc.indexOf(\"\\n\", at + 1)\n ) {\n line++;\n }\n return { line, column: offset - bol + 1, offset };\n}\n\nfunction pullBack(node: Node8, doc: string): void {\n const { start, end } = node.position;\n if (end.column === 1 && end.line > start.line && end.offset > start.offset) {\n node.position.end = pointAt(doc, end.offset - 1);\n }\n}\n\nfunction at(node: Node8): { start: Point8; end: Point8 } {\n const { start, end } = node.position;\n return {\n start: { line: start.line, column: start.column, offset: start.offset },\n end: { line: end.line, column: end.column, offset: end.offset },\n };\n}\n\nfunction text(doc: string, from: number, to: number): Node8 {\n return {\n type: \"text\",\n value: doc.slice(from, to),\n position: { start: pointAt(doc, from), end: pointAt(doc, to) },\n };\n}\n\n// Only `\\#`. Obsidian keeps a backslash before `]` in a target or heading: `[[a\\]b]]` links to\n// `a\\]b` and `[[link\\](u)]]` to `link\\](u)` (recorded live, 1.15.0; the nightly differential\n// fuzz found it). A trailing backslash, `[[a\\]]]`, is the one it drops, handled below.\nconst UNESCAPE = /\\\\(#)/g;\n\n/**\n * `[[path#heading|alias]]`, split as `syntax/wikilink.ts` splits it and finished as\n * `wikilinkFromMarkdown` finishes it. Inside a wikilink a backslash is an ordinary character:\n * an escaped `|` or `#` splits anyway, and a LEADING `|` is part of the path (`[[|b]]`).\n */\nfunction wikilink(raw: string): { type: \"wikilink\"; [key: string]: unknown } {\n const embedded = raw.startsWith(\"!\");\n const inner = raw.slice(embedded ? 3 : 2, -2);\n let split = -1;\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === \"#\" || (inner[i] === \"|\" && i > 0)) {\n split = i;\n break;\n }\n }\n const parts = { path: !inner.startsWith(\"#\"), heading: false, alias: false };\n const node = { path: inner, heading: \"\", alias: \"\" };\n if (split !== -1) {\n node.path = inner.slice(0, split);\n if (inner[split] === \"#\") {\n parts.heading = true;\n const pipe = inner.indexOf(\"|\", split + 1);\n node.heading = inner.slice(split + 1, pipe === -1 ? undefined : pipe);\n if (pipe !== -1) {\n parts.alias = true;\n node.alias = inner.slice(pipe + 1);\n }\n } else {\n parts.alias = true;\n node.alias = inner.slice(split + 1);\n }\n }\n node.path = node.path.replace(UNESCAPE, \"$1\");\n node.heading = node.heading.replace(UNESCAPE, \"$1\");\n const order = ([\"path\", \"heading\", \"alias\"] as const).filter((k) => parts[k]);\n const first = order[0];\n const last = order[order.length - 1];\n if (first) node[first] = node[first].trimStart();\n if (last) node[last] = node[last].trimEnd();\n const written = node.path;\n const writtenHeading = node.heading;\n // Resolved NFC, as Obsidian resolves it: `[[cafe\\u0301]]` links to `caf\\u00e9`, and `a#cafe\\u0301` to\n // the composed heading. Only the resolved parts: `value` keeps what the author typed.\n node.path = resolveTarget(node.path);\n node.heading = resolveTarget(node.heading);\n const spelled = spelledTarget(written, writtenHeading, node);\n const resolved = parts.heading ? \"heading\" : parts.path ? \"path\" : undefined;\n let stripped: \"path\" | \"heading\" | undefined;\n if (resolved && node[resolved].endsWith(\"\\\\\")) {\n node[resolved] = node[resolved].slice(0, -1);\n stripped = resolved;\n }\n const value = embedded\n ? node.path\n : parts.alias\n ? node.alias\n : [written, ...writtenHeading.split(\"#\")].filter(Boolean).join(\" > \");\n return {\n type: \"wikilink\",\n value,\n embedded,\n ...node,\n // Kept for the writer, which builds from the parts (see `mdast/wikilink.ts`).\n // Only before `]]`, not before an alias's `|`, which is a cell's pipe escape.\n ...(stripped && !parts.alias\n ? { data: { strippedBackslash: stripped, ...spelled } }\n : spelled\n ? { data: spelled }\n : {}),\n };\n}\n\nconst MATH_DISPLAY = (value: string) => ({\n hName: \"pre\",\n hChildren: [\n {\n type: \"element\",\n tagName: \"code\",\n properties: { className: [\"language-math\", \"math-display\"] },\n children: [{ type: \"text\", value }],\n },\n ],\n});\n\nconst MATH_INLINE = (value: string) => ({\n hName: \"code\",\n hProperties: { className: [\"language-math\", \"math-inline\"] },\n hChildren: [{ type: \"text\", value }],\n});\n\n/**\n * `convert` over a whole tree, children first, on an explicit stack. A nested list costs two\n * levels per nesting, and recursing here ran out of stack before the reader did. A comment's\n * children are skipped when `convert` would drop them.\n */\nfunction convertTree(root: Node8, ctx: Context): Node8 {\n const { keepComments, parseComments } = ctx.options;\n const stack = [{ node: root, inNote: false, next: 0, kids: [] as Node8[] }];\n for (;;) {\n const top = stack[stack.length - 1]!;\n const { node, inNote } = top;\n const child =\n node.type !== \"percentComment\" || (keepComments && parseComments)\n ? node.children?.[top.next++]\n : undefined;\n if (child) {\n const under = inNote || node.type === \"footnote\";\n stack.push({ node: child, inNote: under, next: 0, kids: [] });\n continue;\n }\n stack.pop();\n const made = convert(node, ctx, inNote, top.kids);\n const parent = stack[stack.length - 1];\n if (!parent) return made[0]!;\n parent.kids.push(...made);\n }\n}\n\nfunction convert(\n node: Node8,\n ctx: Context,\n inNote: boolean,\n converted: Node8[],\n): Node8[] {\n const { doc } = ctx;\n const position = at(node);\n const kids = () => converted;\n\n switch (node.type) {\n case \"footnoteReference\":\n if (inNote && ctx.options.inertFootnoteRefs) {\n return [\n {\n type: \"footnoteReference\",\n identifier: node.identifier,\n label: node.label,\n data: { inert: true },\n position,\n },\n ];\n }\n // E3: nothing inside an inline footnote is a reference.\n // Without `bareFootnoteRefs`, a reference nothing defines stays literal, as in GFM.\n if (\n inNote ||\n (!ctx.options.bareFootnoteRefs &&\n !ctx.footnotes.has(String(node.identifier)))\n )\n return [text(doc, position.start.offset, position.end.offset)];\n return [\n {\n type: \"footnoteReference\",\n identifier: node.identifier,\n label: node.label,\n position,\n },\n ];\n case \"footnoteDefinition\": {\n pullBack(node, doc);\n return [\n {\n type: \"footnoteDefinition\",\n identifier: node.identifier,\n label: node.label,\n children: kids(),\n position: at(node),\n },\n ];\n }\n case \"footnote\":\n return [{ type: \"footnote\", children: kids(), position }];\n case \"highlight\": {\n // Continuation indent is not highlight text (`legacyHighlightQueue`'s `planBody`).\n const strip = (n: Node8): void => {\n if (n.type === \"text\")\n n.value = String(n.value).replace(/\\n[ \\t]+/gu, \"\\n\");\n for (const child of n.children ?? []) strip(child);\n };\n const children = kids();\n children.forEach(strip);\n return [{ type: \"highlight\", children, position }];\n }\n case \"percentComment\": {\n if (!ctx.options.keepComments) return [];\n return [\n {\n type: \"comment\",\n // The body as the reader saw it, without container prefixes: `commentToMarkdown`\n // writes this back, and inside a quote the writer adds `> ` itself.\n value: String(node.body),\n data: { hName: \"obsidian-comment\", hChildren: [] },\n ...(ctx.options.parseComments ? { children: kids() } : {}),\n position,\n },\n ];\n }\n case \"wikiLink\":\n return [{ ...wikilink(String(node.value)), position }];\n case \"yaml\": {\n // The body between the fences, as `mdast-util-frontmatter` reports it.\n return [\n {\n type: \"yaml\",\n value: String(node.value).split(\"\\n\").slice(1, -1).join(\"\\n\"),\n position,\n },\n ];\n }\n case \"math\":\n return [\n {\n type: \"math\",\n value: node.value,\n meta: null,\n data: MATH_DISPLAY(String(node.value)),\n position,\n },\n ];\n case \"inlineMath\":\n return [\n {\n type: \"inlineMath\",\n value: node.value,\n data: MATH_INLINE(String(node.value)),\n position,\n },\n ];\n case \"linkReference\":\n case \"imageReference\": {\n const { type, label, referenceType, alt } = node;\n // Obsidian neither trims nor collapses a label (rule 18a), but folds case fully (`ẞ`/`SS`).\n const isDefined = ctx.definitions.has(fold(String(label)));\n const keep = ctx.options.keepUndefinedReferences;\n if (referenceType !== \"full\" && !isDefined && !keep) {\n // Undefined and not full: plain text, as the current tree has it.\n const children = type === \"linkReference\" ? kids() : [];\n if (children.length === 0)\n return [text(doc, position.start.offset, position.end.offset)];\n const first = children[0]!.position.start.offset;\n const last = children[children.length - 1]!.position.end.offset;\n return [\n text(doc, position.start.offset, first),\n ...children,\n text(doc, last, position.end.offset),\n ];\n }\n const identifier = normalizeIdentifier(\n String(label ?? node.identifier),\n ).toLowerCase();\n const kept = keep && !isDefined;\n // The label as written, where decoding changed it, for the writer: written decoded,\n // `[x][&]` came back `[x][&]`, another identifier (`link-reference-to-markdown.ts`).\n const written =\n (referenceType === \"full\" || kept) && decodeLabel(label) !== label\n ? { spelledLabel: label }\n : {};\n const spelled =\n kept || \"spelledLabel\" in written\n ? { data: { ...written, ...(kept ? { defined: false } : {}) } }\n : {};\n // remark-parse 8 takes a `[` that never closes into a shortcut (`[a][`). A kept one gives\n // it back as text, so it renders and survives a format, as it does by default.\n const open =\n kept &&\n referenceType === \"shortcut\" &&\n doc[position.end.offset - 1] === \"[\";\n const own = open\n ? {\n start: position.start,\n end: pointAt(doc, position.end.offset - 1),\n }\n : position;\n const tail = open\n ? [text(doc, position.end.offset - 1, position.end.offset)]\n : [];\n return [\n type === \"imageReference\"\n ? {\n type,\n identifier,\n label: decodeLabel(label),\n referenceType,\n alt,\n position: own,\n ...spelled,\n }\n : {\n type,\n identifier,\n label: decodeLabel(label),\n referenceType,\n children: kids(),\n position: own,\n ...spelled,\n },\n ...tail,\n ];\n }\n case \"definition\": {\n const { label, url, title } = node;\n const identifier = normalizeIdentifier(\n String(label ?? node.identifier),\n ).toLowerCase();\n return [\n {\n type: \"definition\",\n identifier,\n label: decodeLabel(label),\n title: title ?? null,\n url,\n position,\n },\n ];\n }\n case \"blockquote\": {\n const children = kids();\n const head = node.children?.[0];\n if (head?.type !== \"calloutTitle\")\n return [{ type: \"blockquote\", children, position }];\n const marker = /^\\[!([^\\]\\n]+)\\]([-+]?)/u.exec(String(head.marker))!;\n const titleBlocks = children[0]!.children ?? [];\n // The title as `calloutTransform` reads it: every value under the title, joined.\n const collect = (nodes: readonly Node8[]): string =>\n nodes\n .map((n) => {\n if (\"value\" in n) return String(n.value);\n // A kept undefined reference is what it was before it was kept: its brackets are\n // the title's text.\n if (\n (n.data as { defined?: boolean } | undefined)?.defined ===\n false &&\n n.referenceType !== \"full\"\n ) {\n const { start, end } = n.position;\n const kids = n.children ?? [];\n if (kids.length === 0) return doc.slice(start.offset, end.offset);\n const first = kids[0]!.position.start.offset;\n const last = kids[kids.length - 1]!.position.end.offset;\n return (\n doc.slice(start.offset, first) +\n collect(kids) +\n doc.slice(last, end.offset)\n );\n }\n return collect(n.children ?? []);\n })\n .join(\"\");\n let title = collect(titleBlocks).trim();\n const body = children.slice(1);\n const titleNode: Node8[] = [];\n if (titleBlocks.length === 1 && titleBlocks[0]!.type === \"paragraph\") {\n titleNode.push({\n type: \"calloutTitle\",\n children: titleBlocks[0]!.children,\n position: titleBlocks[0]!.position,\n });\n } else if (titleBlocks.length > 0) {\n // A block on the title line (A4) leaves the title empty, zero-width where the block starts.\n const startAt = titleBlocks[0]!.position.start;\n title = \"\";\n titleNode.push({\n type: \"calloutTitle\",\n children: [],\n position: { start: startAt, end: startAt },\n });\n body.unshift(...titleBlocks);\n }\n return [\n {\n type: \"callout\",\n calloutType: marker[1]!.trim(),\n title,\n collapsed:\n marker[2] === \"-\" ? true : marker[2] === \"+\" ? false : null,\n children: [...titleNode, ...body],\n position,\n },\n ];\n }\n case \"listItem\": {\n const out: Node8 = {\n type: \"listItem\",\n spread: node.spread,\n checked: node.checked ?? null,\n children: kids(),\n position,\n };\n if (node.checked !== null && node.checked !== undefined) {\n const box = /^[ \\t]*(?:[-+*]|\\d+[.)])[ \\t]+\\[(.)\\]/u.exec(\n doc.slice(position.start.offset),\n );\n const char = box?.[1] ?? (node.checked ? \"x\" : \" \");\n out.checked = char !== \" \";\n out.data = { taskChar: char, hProperties: { dataTaskChar: char } };\n }\n return [out];\n }\n case \"paragraph\": {\n // CommonMark strips a paragraph's leading indentation from its content; remark-parse 8\n // keeps it in the first text value. The paragraph itself keeps Obsidian's column.\n const children = kids();\n const head = children[0];\n if (head?.type === \"text\") {\n const lead = /^[ \\t]+/u.exec(String(head.value))?.[0].length ?? 0;\n if (lead > 0 && lead < String(head.value).length) {\n head.value = String(head.value).slice(lead);\n head.position = {\n start: pointAt(doc, head.position.start.offset + lead),\n end: head.position.end,\n };\n }\n }\n // A line ending that closes the paragraph breaks nothing (CommonMark: \"neither syntax for\n // hard line breaks works at the end of a paragraph\"); the soft-break reader still sees\n // one before trailing whitespace, as in `> foo` / `> `.\n while (children[children.length - 1]?.type === \"break\") children.pop();\n return [{ type: \"paragraph\", children, position }];\n }\n default: {\n const { position: _p, children: _c, ...rest } = node;\n const out: Node8 = { ...rest, position } as Node8;\n if (node.children) out.children = kids();\n return [out];\n }\n }\n}\n\n/**\n * A child never ends after its parent. Pulling a definition's end back to its last content\n * line leaves a final block child (a comment, html or math) ending at column 1 of the next\n * line; it takes the same end, which is the same pull-back applied one level down.\n */\nfunction clampToParent(node: Node8): void {\n for (const child of node.children ?? []) {\n if (node.position && child.position.end.offset > node.position.end.offset) {\n child.position.end = { ...node.position.end };\n }\n clampToParent(child);\n }\n}\n\n/**\n * remark-parse 8 reads `\\r\\n` as `\\n`, which moves every later offset; Obsidian reports them in\n * the original text, so each is moved back. A lone `\\r` keeps its length and needs nothing.\n */\n// A point object can sit in two nodes (an empty callout title and the block on its line), so\n// each is shifted once, by identity.\nfunction restoreCrlf(\n node: Node8,\n crlf: readonly number[],\n seen = new Set<object>(),\n): void {\n const shift = (offset: number): number => {\n let low = 0;\n let high = crlf.length;\n while (low < high) {\n const mid = (low + high) >> 1;\n if (crlf[mid]! < offset) low = mid + 1;\n else high = mid;\n }\n return offset + low;\n };\n if (node.position) {\n for (const point of [node.position.start, node.position.end]) {\n if (seen.has(point)) continue;\n seen.add(point);\n point.offset = shift(point.offset);\n }\n }\n for (const child of node.children ?? []) restoreCrlf(child, crlf, seen);\n}\n\nexport function parseLegacy8(input: string, options: LegacyOptions): Root {\n const source = input.startsWith(\"\\uFEFF\") ? input.slice(1) : input;\n const crlf: number[] = [];\n for (\n let at = source.indexOf(\"\\r\\n\");\n at !== -1;\n at = source.indexOf(\"\\r\\n\", at + 2)\n ) {\n crlf.push(at - crlf.length);\n }\n const doc = source.replace(/\\r\\n?/g, \"\\n\");\n const { tree, offsets, readsPastEnd } = parse8WithOffsets(doc, options);\n const definitions = new Set<string>();\n const footnotes = new Set<string>();\n collectDefinitions(tree, definitions, footnotes);\n const root = convertTree(tree, { doc, definitions, footnotes, options });\n mergeText(root);\n clampToParent(root);\n if (options.lineOffsets) root.data = { lineOffsets: offsets };\n if (readsPastEnd !== undefined) {\n root.data = { ...(root.data as object), readsPastEnd };\n }\n if (options.math) mathDisplayTransform(root as unknown as Root, doc);\n if (crlf.length > 0) restoreCrlf(root, crlf);\n if (options.callouts) calloutMarkerTransform(root as unknown as Root, source);\n if (source !== input && options.bomOffsets)\n countByteOrderMark(root as unknown as Root);\n return root as unknown as Root;\n}\n","/**\n * The `legacy` reading as a plain function, for a consumer that only reads.\n *\n * `remarkObsidian` holds both presets and every writer, so importing it bundles `strict`'s\n * micromark chain and the `toMarkdown` handlers whichever preset runs, and no `sideEffects` flag\n * or module split can drop them: one function reaches them all. This entry reaches only the\n * remark-parse 8 path. It takes the same options with the same defaults and returns the tree\n * `unified().use(remarkObsidian, options).parse(text)` returns, which\n * `test/legacy-entry.test.ts` holds over the corpus.\n */\nimport type { Root } from \"mdast\";\n\nimport \"./lib/types.js\";\n\nimport type { RemarkObsidianOptions } from \"./index.js\";\nimport { legacyDefaults, parseLegacy8 } from \"./rp8/adapt.js\";\n\nexport type {\n Wikilink,\n Highlight,\n Comment,\n Tag,\n InlineFootnote,\n Callout,\n CalloutTitle,\n} from \"./lib/types.js\";\n\n/** The main entry's options, documented there, less the two only it reads. */\nexport type LegacyParseOptions = Omit<\n RemarkObsidianOptions,\n \"preset\" | \"escapedLineBreaks\"\n>;\n\n/** Reads `text` as the `legacy` preset does. `text` is the whole input; no processor is involved. */\nexport function parse(text: string, options?: LegacyParseOptions): Root {\n return parseLegacy8(text, { ...legacyDefaults, ...options });\n}\n"],"mappings":";AAKO,IAAM,oBAAoB;AAAA,EAC/B,OAAO;AAAA,EACP,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,KAAK;AAAA,EACL,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,eAAe;AAAA,EACf,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,WAAW;AAAA,EACX,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,sBAAsB;AAAA,EACtB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,KAAK;AAAA,EACL,KAAK;AAAA,EACL,WAAW;AAAA,EACX,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,0BAA0B;AAAA,EAC1B,uBAAuB;AAAA,EACvB,iBAAiB;AAAA,EACjB,OAAO;AAAA,EACP,QAAQ;AAAA,EAC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E,MAAI,WAAW,SAAS,QAAQ;AAC9B,uBAAmB,IAAuB;AAC5C,SAAO;AACT;;;ACxmBO,SAASC,OAAMC,OAAc,SAAoC;AACtE,SAAO,aAAaA,OAAM,EAAE,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAC7D;","names":["head","tests","index","is","step","factory","name","visit","is","math","MARKER","text","visit","indentation","space","values","space","lineFeed","tab","tabSize","empty","at","tab","lineFeed","space","exclamationMark","tabSize","proto","definition","reference","interruptors","length","index","interrupt","list","before","isRemarkParser","isRemarkCompiler","tab","space","backslash","isRemarkParser","attachParser","isRemarkCompiler","attachCompiler","proto","fence","lineFeed","space","dollarSign","classList","isRemarkParser","attachParser","isRemarkCompiler","attachCompiler","proto","lineEnd","backslash","escape","characterEntities","own","own","tab","lineFeed","space","lowercaseX","reference","factory","normalize","factory","name","index","indentation","before","parse","lineFeed","lineFeed","tab","space","tabSize","lineFeed","tab","space","graveAccent","minFenceCount","tabSize","lineFeed","tab","space","values","lineFeed","tab","space","numberSign","tab","lineFeed","space","asterisk","dash","underscore","remove_indentation_default","indentation","lineFeed","space","exclamationMark","values","list_default","list","asterisk","underscore","plusSign","dash","dot","space","lineFeed","tab","rightParenthesis","lowercaseX","tabSize","looseListItemExpression","taskItemExpression","bulletExpression","pedanticBulletExpression","initialIndentExpression","empty","listItem","pedanticListItem","normalListItem","remove_indentation_default","lineFeed","tab","space","equalsTo","dash","space","tab","space","lineFeed","lessThan","backslash","lineFeed","tab","space","leftSquareBracket","rightSquareBracket","rightParenthesis","colon","lessThan","greaterThan","url","tab","lineFeed","space","dash","colon","backslash","table","tab","lineFeed","space","tabSize","escape_default","lineFeed","backslash","locate","lessThan","greaterThan","link","locate","url_default","exclamationMark","ampersand","rightParenthesis","asterisk","dash","dot","colon","semicolon","lessThan","underscore","tilde","url","plusSign","dash","dot","underscore","locate","at","email_default","plusSign","dash","dot","atSign","underscore","lessThan","questionMark","exclamationMark","slash","locate","link","image","link_default","lineFeed","exclamationMark","quotationMark","apostrophe","leftParenthesis","rightParenthesis","lessThan","greaterThan","leftSquareBracket","backslash","rightSquareBracket","graveAccent","url","link","exclamationMark","leftSquareBracket","backslash","rightSquareBracket","locate","asterisk","underscore","strong_default","backslash","asterisk","underscore","locate","asterisk","underscore","emphasis_default","asterisk","underscore","backslash","locate","delete_default","tilde","locate","code_inline_default","lineFeed","space","graveAccent","locate","break_default","space","lineFeed","name","position","list_default","escape_default","url_default","email_default","link_default","strong_default","emphasis_default","delete_default","code_inline_default","break_default","comment","wikilink","at","math","tag","before","table","text","name","isSpace","c","list","footnotes","mergeText","pointAt","at","text","convert","own","url","kids","readsPastEnd","parse","text"]}
|