textlint-plugin-mdx 1.0.0 → 1.0.1

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/lib/index.js CHANGED
@@ -8875,16 +8875,26 @@ function isUint8Array2(value2) {
8875
8875
  );
8876
8876
  }
8877
8877
 
8878
- // node_modules/micromark-extension-frontmatter/node_modules/micromark-util-character/index.js
8878
+ // node_modules/micromark-util-character/index.js
8879
8879
  var asciiAlpha = regexCheck(/[A-Za-z]/);
8880
8880
  var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
8881
8881
  var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
8882
+ function asciiControl(code4) {
8883
+ return (
8884
+ // Special whitespace codes (which have negative values), C0 and Control
8885
+ // character DEL
8886
+ code4 !== null && (code4 < 32 || code4 === 127)
8887
+ );
8888
+ }
8882
8889
  var asciiDigit = regexCheck(/\d/);
8883
8890
  var asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
8884
8891
  var asciiPunctuation = regexCheck(/[!-/:-@[-`{-~]/);
8885
8892
  function markdownLineEnding(code4) {
8886
8893
  return code4 !== null && code4 < -2;
8887
8894
  }
8895
+ function markdownLineEndingOrSpace(code4) {
8896
+ return code4 !== null && (code4 < 0 || code4 === 32);
8897
+ }
8888
8898
  function markdownSpace(code4) {
8889
8899
  return code4 === -2 || code4 === -1 || code4 === 32;
8890
8900
  }
@@ -9246,22 +9256,6 @@ function ccount(value2, character) {
9246
9256
  return count;
9247
9257
  }
9248
9258
 
9249
- // node_modules/mdast-util-gfm-autolink-literal/node_modules/micromark-util-character/index.js
9250
- var asciiAlpha2 = regexCheck2(/[A-Za-z]/);
9251
- var asciiAlphanumeric2 = regexCheck2(/[\dA-Za-z]/);
9252
- var asciiAtext2 = regexCheck2(/[#-'*+\--9=?A-Z^-~]/);
9253
- var asciiDigit2 = regexCheck2(/\d/);
9254
- var asciiHexDigit2 = regexCheck2(/[\dA-Fa-f]/);
9255
- var asciiPunctuation2 = regexCheck2(/[!-/:-@[-`{-~]/);
9256
- var unicodePunctuation2 = regexCheck2(/\p{P}|\p{S}/u);
9257
- var unicodeWhitespace2 = regexCheck2(/\s/);
9258
- function regexCheck2(regex) {
9259
- return check;
9260
- function check(code4) {
9261
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
9262
- }
9263
- }
9264
-
9265
9259
  // node_modules/unist-util-visit-parents/node_modules/unist-util-is/lib/index.js
9266
9260
  var convert = (
9267
9261
  // Note: overloads in JSDoc can’t yet use different `@template`s.
@@ -9784,7 +9778,7 @@ function splitUrl(url) {
9784
9778
  }
9785
9779
  function previous(match, email) {
9786
9780
  const code4 = match.input.charCodeAt(match.index - 1);
9787
- return (match.index === 0 || unicodeWhitespace2(code4) || unicodePunctuation2(code4)) && (!email || code4 !== 47);
9781
+ return (match.index === 0 || unicodeWhitespace(code4) || unicodePunctuation(code4)) && (!email || code4 !== 47);
9788
9782
  }
9789
9783
 
9790
9784
  // node_modules/mdast-util-gfm-footnote/node_modules/micromark-util-normalize-identifier/index.js
@@ -14494,32 +14488,6 @@ function constructs(existing, list4) {
14494
14488
  splice(existing, 0, 0, before);
14495
14489
  }
14496
14490
 
14497
- // node_modules/micromark-extension-gfm-autolink-literal/node_modules/micromark-util-character/index.js
14498
- var asciiAlpha3 = regexCheck3(/[A-Za-z]/);
14499
- var asciiAlphanumeric3 = regexCheck3(/[\dA-Za-z]/);
14500
- var asciiAtext3 = regexCheck3(/[#-'*+\--9=?A-Z^-~]/);
14501
- function asciiControl(code4) {
14502
- return (
14503
- // Special whitespace codes (which have negative values), C0 and Control
14504
- // character DEL
14505
- code4 !== null && (code4 < 32 || code4 === 127)
14506
- );
14507
- }
14508
- var asciiDigit3 = regexCheck3(/\d/);
14509
- var asciiHexDigit3 = regexCheck3(/[\dA-Fa-f]/);
14510
- var asciiPunctuation3 = regexCheck3(/[!-/:-@[-`{-~]/);
14511
- function markdownLineEndingOrSpace(code4) {
14512
- return code4 !== null && (code4 < 0 || code4 === 32);
14513
- }
14514
- var unicodePunctuation3 = regexCheck3(/\p{P}|\p{S}/u);
14515
- var unicodeWhitespace3 = regexCheck3(/\s/);
14516
- function regexCheck3(regex) {
14517
- return check;
14518
- function check(code4) {
14519
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
14520
- }
14521
- }
14522
-
14523
14491
  // node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
14524
14492
  var wwwPrefix = {
14525
14493
  tokenize: tokenizeWwwPrefix,
@@ -14608,7 +14576,7 @@ function tokenizeEmailAutolink(effects, ok6, nok) {
14608
14576
  emailDomainDot
14609
14577
  )(code4);
14610
14578
  }
14611
- if (code4 === 45 || code4 === 95 || asciiAlphanumeric3(code4)) {
14579
+ if (code4 === 45 || code4 === 95 || asciiAlphanumeric(code4)) {
14612
14580
  data2 = true;
14613
14581
  effects.consume(code4);
14614
14582
  return emailDomain;
@@ -14621,7 +14589,7 @@ function tokenizeEmailAutolink(effects, ok6, nok) {
14621
14589
  return emailDomain;
14622
14590
  }
14623
14591
  function emailDomainAfter(code4) {
14624
- if (data2 && dot && asciiAlpha3(self2.previous)) {
14592
+ if (data2 && dot && asciiAlpha(self2.previous)) {
14625
14593
  effects.exit("literalAutolinkEmail");
14626
14594
  effects.exit("literalAutolink");
14627
14595
  return ok6(code4);
@@ -14666,7 +14634,7 @@ function tokenizeProtocolAutolink(effects, ok6, nok) {
14666
14634
  return nok(code4);
14667
14635
  }
14668
14636
  function protocolPrefixInside(code4) {
14669
- if (asciiAlpha3(code4) && buffer.length < 5) {
14637
+ if (asciiAlpha(code4) && buffer.length < 5) {
14670
14638
  buffer += String.fromCodePoint(code4);
14671
14639
  effects.consume(code4);
14672
14640
  return protocolPrefixInside;
@@ -14692,7 +14660,7 @@ function tokenizeProtocolAutolink(effects, ok6, nok) {
14692
14660
  return nok(code4);
14693
14661
  }
14694
14662
  function afterProtocol(code4) {
14695
- return code4 === null || asciiControl(code4) || markdownLineEndingOrSpace(code4) || unicodeWhitespace3(code4) || unicodePunctuation3(code4) ? nok(code4) : effects.attempt(domain, effects.attempt(path, protocolAfter), nok)(code4);
14663
+ return code4 === null || asciiControl(code4) || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4) || unicodePunctuation(code4) ? nok(code4) : effects.attempt(domain, effects.attempt(path, protocolAfter), nok)(code4);
14696
14664
  }
14697
14665
  function protocolAfter(code4) {
14698
14666
  effects.exit("literalAutolinkHttp");
@@ -14728,7 +14696,7 @@ function tokenizeDomain(effects, ok6, nok) {
14728
14696
  if (code4 === 46 || code4 === 95) {
14729
14697
  return effects.check(trail, domainAfter, domainAtPunctuation)(code4);
14730
14698
  }
14731
- if (code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace3(code4) || code4 !== 45 && unicodePunctuation3(code4)) {
14699
+ if (code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4) || code4 !== 45 && unicodePunctuation(code4)) {
14732
14700
  return domainAfter(code4);
14733
14701
  }
14734
14702
  seen = true;
@@ -14768,7 +14736,7 @@ function tokenizePath(effects, ok6) {
14768
14736
  if (code4 === 33 || code4 === 34 || code4 === 38 || code4 === 39 || code4 === 41 || code4 === 42 || code4 === 44 || code4 === 46 || code4 === 58 || code4 === 59 || code4 === 60 || code4 === 63 || code4 === 93 || code4 === 95 || code4 === 126) {
14769
14737
  return effects.check(trail, ok6, pathAtPunctuation)(code4);
14770
14738
  }
14771
- if (code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace3(code4)) {
14739
+ if (code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
14772
14740
  return ok6(code4);
14773
14741
  }
14774
14742
  effects.consume(code4);
@@ -14800,27 +14768,27 @@ function tokenizeTrail(effects, ok6, nok) {
14800
14768
  if (
14801
14769
  // `<` is an end.
14802
14770
  code4 === 60 || // So is whitespace.
14803
- code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace3(code4)
14771
+ code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)
14804
14772
  ) {
14805
14773
  return ok6(code4);
14806
14774
  }
14807
14775
  return nok(code4);
14808
14776
  }
14809
14777
  function trailBracketAfter(code4) {
14810
- if (code4 === null || code4 === 40 || code4 === 91 || markdownLineEndingOrSpace(code4) || unicodeWhitespace3(code4)) {
14778
+ if (code4 === null || code4 === 40 || code4 === 91 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
14811
14779
  return ok6(code4);
14812
14780
  }
14813
14781
  return trail2(code4);
14814
14782
  }
14815
14783
  function trailCharRefStart(code4) {
14816
- return asciiAlpha3(code4) ? trailCharRefInside(code4) : nok(code4);
14784
+ return asciiAlpha(code4) ? trailCharRefInside(code4) : nok(code4);
14817
14785
  }
14818
14786
  function trailCharRefInside(code4) {
14819
14787
  if (code4 === 59) {
14820
14788
  effects.consume(code4);
14821
14789
  return trail2;
14822
14790
  }
14823
- if (asciiAlpha3(code4)) {
14791
+ if (asciiAlpha(code4)) {
14824
14792
  effects.consume(code4);
14825
14793
  return trailCharRefInside;
14826
14794
  }
@@ -14834,20 +14802,20 @@ function tokenizeEmailDomainDotTrail(effects, ok6, nok) {
14834
14802
  return after;
14835
14803
  }
14836
14804
  function after(code4) {
14837
- return asciiAlphanumeric3(code4) ? nok(code4) : ok6(code4);
14805
+ return asciiAlphanumeric(code4) ? nok(code4) : ok6(code4);
14838
14806
  }
14839
14807
  }
14840
14808
  function previousWww(code4) {
14841
14809
  return code4 === null || code4 === 40 || code4 === 42 || code4 === 95 || code4 === 91 || code4 === 93 || code4 === 126 || markdownLineEndingOrSpace(code4);
14842
14810
  }
14843
14811
  function previousProtocol(code4) {
14844
- return !asciiAlpha3(code4);
14812
+ return !asciiAlpha(code4);
14845
14813
  }
14846
14814
  function previousEmail(code4) {
14847
14815
  return !(code4 === 47 || gfmAtext(code4));
14848
14816
  }
14849
14817
  function gfmAtext(code4) {
14850
- return code4 === 43 || code4 === 45 || code4 === 46 || code4 === 95 || asciiAlphanumeric3(code4);
14818
+ return code4 === 43 || code4 === 45 || code4 === 46 || code4 === 95 || asciiAlphanumeric(code4);
14851
14819
  }
14852
14820
  function previousUnbalanced(events) {
14853
14821
  let index2 = events.length;
@@ -14869,45 +14837,20 @@ function previousUnbalanced(events) {
14869
14837
  return result;
14870
14838
  }
14871
14839
 
14872
- // node_modules/micromark-extension-gfm-footnote/node_modules/micromark-util-character/index.js
14873
- var asciiAlpha4 = regexCheck4(/[A-Za-z]/);
14874
- var asciiAlphanumeric4 = regexCheck4(/[\dA-Za-z]/);
14875
- var asciiAtext4 = regexCheck4(/[#-'*+\--9=?A-Z^-~]/);
14876
- var asciiDigit4 = regexCheck4(/\d/);
14877
- var asciiHexDigit4 = regexCheck4(/[\dA-Fa-f]/);
14878
- var asciiPunctuation4 = regexCheck4(/[!-/:-@[-`{-~]/);
14879
- function markdownLineEnding2(code4) {
14880
- return code4 !== null && code4 < -2;
14881
- }
14882
- function markdownLineEndingOrSpace2(code4) {
14883
- return code4 !== null && (code4 < 0 || code4 === 32);
14884
- }
14885
- function markdownSpace2(code4) {
14886
- return code4 === -2 || code4 === -1 || code4 === 32;
14887
- }
14888
- var unicodePunctuation4 = regexCheck4(/\p{P}|\p{S}/u);
14889
- var unicodeWhitespace4 = regexCheck4(/\s/);
14890
- function regexCheck4(regex) {
14891
- return check;
14892
- function check(code4) {
14893
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
14894
- }
14895
- }
14896
-
14897
- // node_modules/micromark-extension-gfm-footnote/node_modules/micromark-factory-space/index.js
14840
+ // node_modules/micromark-factory-space/index.js
14898
14841
  function factorySpace(effects, ok6, type, max) {
14899
14842
  const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
14900
14843
  let size = 0;
14901
14844
  return start2;
14902
14845
  function start2(code4) {
14903
- if (markdownSpace2(code4)) {
14846
+ if (markdownSpace(code4)) {
14904
14847
  effects.enter(type);
14905
14848
  return prefix(code4);
14906
14849
  }
14907
14850
  return ok6(code4);
14908
14851
  }
14909
14852
  function prefix(code4) {
14910
- if (markdownSpace2(code4) && size++ < limit) {
14853
+ if (markdownSpace(code4) && size++ < limit) {
14911
14854
  effects.consume(code4);
14912
14855
  return prefix;
14913
14856
  }
@@ -14924,10 +14867,10 @@ var blankLine = {
14924
14867
  function tokenizeBlankLine(effects, ok6, nok) {
14925
14868
  return start2;
14926
14869
  function start2(code4) {
14927
- return markdownSpace2(code4) ? factorySpace(effects, after, "linePrefix")(code4) : after(code4);
14870
+ return markdownSpace(code4) ? factorySpace(effects, after, "linePrefix")(code4) : after(code4);
14928
14871
  }
14929
14872
  function after(code4) {
14930
- return code4 === null || markdownLineEnding2(code4) ? ok6(code4) : nok(code4);
14873
+ return code4 === null || markdownLineEnding(code4) ? ok6(code4) : nok(code4);
14931
14874
  }
14932
14875
  }
14933
14876
 
@@ -15087,7 +15030,7 @@ function tokenizeGfmFootnoteCall(effects, ok6, nok) {
15087
15030
  size > 999 || // Closing brace with nothing.
15088
15031
  code4 === 93 && !data2 || // Space or tab is not supported by GFM for some reason.
15089
15032
  // `\n` and `[` not being supported makes sense.
15090
- code4 === null || code4 === 91 || markdownLineEndingOrSpace2(code4)
15033
+ code4 === null || code4 === 91 || markdownLineEndingOrSpace(code4)
15091
15034
  ) {
15092
15035
  return nok(code4);
15093
15036
  }
@@ -15103,7 +15046,7 @@ function tokenizeGfmFootnoteCall(effects, ok6, nok) {
15103
15046
  effects.exit("gfmFootnoteCall");
15104
15047
  return ok6;
15105
15048
  }
15106
- if (!markdownLineEndingOrSpace2(code4)) {
15049
+ if (!markdownLineEndingOrSpace(code4)) {
15107
15050
  data2 = true;
15108
15051
  }
15109
15052
  size++;
@@ -15151,7 +15094,7 @@ function tokenizeDefinitionStart(effects, ok6, nok) {
15151
15094
  size > 999 || // Closing brace with nothing.
15152
15095
  code4 === 93 && !data2 || // Space or tab is not supported by GFM for some reason.
15153
15096
  // `\n` and `[` not being supported makes sense.
15154
- code4 === null || code4 === 91 || markdownLineEndingOrSpace2(code4)
15097
+ code4 === null || code4 === 91 || markdownLineEndingOrSpace(code4)
15155
15098
  ) {
15156
15099
  return nok(code4);
15157
15100
  }
@@ -15165,7 +15108,7 @@ function tokenizeDefinitionStart(effects, ok6, nok) {
15165
15108
  effects.exit("gfmFootnoteDefinitionLabel");
15166
15109
  return labelAfter;
15167
15110
  }
15168
- if (!markdownLineEndingOrSpace2(code4)) {
15111
+ if (!markdownLineEndingOrSpace(code4)) {
15169
15112
  data2 = true;
15170
15113
  }
15171
15114
  size++;
@@ -15248,31 +15191,12 @@ function splice2(list4, start2, remove, items) {
15248
15191
  }
15249
15192
  }
15250
15193
 
15251
- // node_modules/micromark-extension-gfm-strikethrough/node_modules/micromark-util-character/index.js
15252
- var asciiAlpha5 = regexCheck5(/[A-Za-z]/);
15253
- var asciiAlphanumeric5 = regexCheck5(/[\dA-Za-z]/);
15254
- var asciiAtext5 = regexCheck5(/[#-'*+\--9=?A-Z^-~]/);
15255
- var asciiDigit5 = regexCheck5(/\d/);
15256
- var asciiHexDigit5 = regexCheck5(/[\dA-Fa-f]/);
15257
- var asciiPunctuation5 = regexCheck5(/[!-/:-@[-`{-~]/);
15258
- function markdownLineEndingOrSpace3(code4) {
15259
- return code4 !== null && (code4 < 0 || code4 === 32);
15260
- }
15261
- var unicodePunctuation5 = regexCheck5(/\p{P}|\p{S}/u);
15262
- var unicodeWhitespace5 = regexCheck5(/\s/);
15263
- function regexCheck5(regex) {
15264
- return check;
15265
- function check(code4) {
15266
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
15267
- }
15268
- }
15269
-
15270
15194
  // node_modules/micromark-extension-gfm-strikethrough/node_modules/micromark-util-classify-character/index.js
15271
15195
  function classifyCharacter(code4) {
15272
- if (code4 === null || markdownLineEndingOrSpace3(code4) || unicodeWhitespace5(code4)) {
15196
+ if (code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
15273
15197
  return 1;
15274
15198
  }
15275
- if (unicodePunctuation5(code4)) {
15199
+ if (unicodePunctuation(code4)) {
15276
15200
  return 2;
15277
15201
  }
15278
15202
  }
@@ -15370,19 +15294,19 @@ function gfmStrikethrough(options) {
15370
15294
  return events;
15371
15295
  }
15372
15296
  function tokenizeStrikethrough(effects, ok6, nok) {
15373
- const previous3 = this.previous;
15297
+ const previous4 = this.previous;
15374
15298
  const events = this.events;
15375
15299
  let size = 0;
15376
15300
  return start2;
15377
15301
  function start2(code4) {
15378
- if (previous3 === 126 && events[events.length - 1][1].type !== "characterEscape") {
15302
+ if (previous4 === 126 && events[events.length - 1][1].type !== "characterEscape") {
15379
15303
  return nok(code4);
15380
15304
  }
15381
15305
  effects.enter("strikethroughSequenceTemporary");
15382
15306
  return more(code4);
15383
15307
  }
15384
15308
  function more(code4) {
15385
- const before = classifyCharacter(previous3);
15309
+ const before = classifyCharacter(previous4);
15386
15310
  if (code4 === 126) {
15387
15311
  if (size > 1)
15388
15312
  return nok(code4);
@@ -15401,53 +15325,6 @@ function gfmStrikethrough(options) {
15401
15325
  }
15402
15326
  }
15403
15327
 
15404
- // node_modules/micromark-extension-gfm-table/node_modules/micromark-util-character/index.js
15405
- var asciiAlpha6 = regexCheck6(/[A-Za-z]/);
15406
- var asciiAlphanumeric6 = regexCheck6(/[\dA-Za-z]/);
15407
- var asciiAtext6 = regexCheck6(/[#-'*+\--9=?A-Z^-~]/);
15408
- var asciiDigit6 = regexCheck6(/\d/);
15409
- var asciiHexDigit6 = regexCheck6(/[\dA-Fa-f]/);
15410
- var asciiPunctuation6 = regexCheck6(/[!-/:-@[-`{-~]/);
15411
- function markdownLineEnding3(code4) {
15412
- return code4 !== null && code4 < -2;
15413
- }
15414
- function markdownLineEndingOrSpace4(code4) {
15415
- return code4 !== null && (code4 < 0 || code4 === 32);
15416
- }
15417
- function markdownSpace3(code4) {
15418
- return code4 === -2 || code4 === -1 || code4 === 32;
15419
- }
15420
- var unicodePunctuation6 = regexCheck6(/\p{P}|\p{S}/u);
15421
- var unicodeWhitespace6 = regexCheck6(/\s/);
15422
- function regexCheck6(regex) {
15423
- return check;
15424
- function check(code4) {
15425
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
15426
- }
15427
- }
15428
-
15429
- // node_modules/micromark-extension-gfm-table/node_modules/micromark-factory-space/index.js
15430
- function factorySpace2(effects, ok6, type, max) {
15431
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
15432
- let size = 0;
15433
- return start2;
15434
- function start2(code4) {
15435
- if (markdownSpace3(code4)) {
15436
- effects.enter(type);
15437
- return prefix(code4);
15438
- }
15439
- return ok6(code4);
15440
- }
15441
- function prefix(code4) {
15442
- if (markdownSpace3(code4) && size++ < limit) {
15443
- effects.consume(code4);
15444
- return prefix;
15445
- }
15446
- effects.exit(type);
15447
- return ok6(code4);
15448
- }
15449
- }
15450
-
15451
15328
  // node_modules/micromark-extension-gfm-table/lib/edit-map.js
15452
15329
  var EditMap = class {
15453
15330
  /**
@@ -15608,7 +15485,7 @@ function tokenizeTable(effects, ok6, nok) {
15608
15485
  if (code4 === null) {
15609
15486
  return nok(code4);
15610
15487
  }
15611
- if (markdownLineEnding3(code4)) {
15488
+ if (markdownLineEnding(code4)) {
15612
15489
  if (sizeB > 1) {
15613
15490
  sizeB = 0;
15614
15491
  self2.interrupt = true;
@@ -15620,8 +15497,8 @@ function tokenizeTable(effects, ok6, nok) {
15620
15497
  }
15621
15498
  return nok(code4);
15622
15499
  }
15623
- if (markdownSpace3(code4)) {
15624
- return factorySpace2(effects, headRowBreak, "whitespace")(code4);
15500
+ if (markdownSpace(code4)) {
15501
+ return factorySpace(effects, headRowBreak, "whitespace")(code4);
15625
15502
  }
15626
15503
  sizeB += 1;
15627
15504
  if (seen) {
@@ -15639,7 +15516,7 @@ function tokenizeTable(effects, ok6, nok) {
15639
15516
  return headRowData(code4);
15640
15517
  }
15641
15518
  function headRowData(code4) {
15642
- if (code4 === null || code4 === 124 || markdownLineEndingOrSpace4(code4)) {
15519
+ if (code4 === null || code4 === 124 || markdownLineEndingOrSpace(code4)) {
15643
15520
  effects.exit("data");
15644
15521
  return headRowBreak(code4);
15645
15522
  }
@@ -15660,8 +15537,8 @@ function tokenizeTable(effects, ok6, nok) {
15660
15537
  }
15661
15538
  effects.enter("tableDelimiterRow");
15662
15539
  seen = false;
15663
- if (markdownSpace3(code4)) {
15664
- return factorySpace2(
15540
+ if (markdownSpace(code4)) {
15541
+ return factorySpace(
15665
15542
  effects,
15666
15543
  headDelimiterBefore,
15667
15544
  "linePrefix",
@@ -15684,8 +15561,8 @@ function tokenizeTable(effects, ok6, nok) {
15684
15561
  return headDelimiterNok(code4);
15685
15562
  }
15686
15563
  function headDelimiterCellBefore(code4) {
15687
- if (markdownSpace3(code4)) {
15688
- return factorySpace2(effects, headDelimiterValueBefore, "whitespace")(code4);
15564
+ if (markdownSpace(code4)) {
15565
+ return factorySpace(effects, headDelimiterValueBefore, "whitespace")(code4);
15689
15566
  }
15690
15567
  return headDelimiterValueBefore(code4);
15691
15568
  }
@@ -15702,7 +15579,7 @@ function tokenizeTable(effects, ok6, nok) {
15702
15579
  sizeB += 1;
15703
15580
  return headDelimiterLeftAlignmentAfter(code4);
15704
15581
  }
15705
- if (code4 === null || markdownLineEnding3(code4)) {
15582
+ if (code4 === null || markdownLineEnding(code4)) {
15706
15583
  return headDelimiterCellAfter(code4);
15707
15584
  }
15708
15585
  return headDelimiterNok(code4);
@@ -15731,8 +15608,8 @@ function tokenizeTable(effects, ok6, nok) {
15731
15608
  return headDelimiterRightAlignmentAfter(code4);
15732
15609
  }
15733
15610
  function headDelimiterRightAlignmentAfter(code4) {
15734
- if (markdownSpace3(code4)) {
15735
- return factorySpace2(effects, headDelimiterCellAfter, "whitespace")(code4);
15611
+ if (markdownSpace(code4)) {
15612
+ return factorySpace(effects, headDelimiterCellAfter, "whitespace")(code4);
15736
15613
  }
15737
15614
  return headDelimiterCellAfter(code4);
15738
15615
  }
@@ -15740,7 +15617,7 @@ function tokenizeTable(effects, ok6, nok) {
15740
15617
  if (code4 === 124) {
15741
15618
  return headDelimiterBefore(code4);
15742
15619
  }
15743
- if (code4 === null || markdownLineEnding3(code4)) {
15620
+ if (code4 === null || markdownLineEnding(code4)) {
15744
15621
  if (!seen || size !== sizeB) {
15745
15622
  return headDelimiterNok(code4);
15746
15623
  }
@@ -15764,18 +15641,18 @@ function tokenizeTable(effects, ok6, nok) {
15764
15641
  effects.exit("tableCellDivider");
15765
15642
  return bodyRowBreak;
15766
15643
  }
15767
- if (code4 === null || markdownLineEnding3(code4)) {
15644
+ if (code4 === null || markdownLineEnding(code4)) {
15768
15645
  effects.exit("tableRow");
15769
15646
  return ok6(code4);
15770
15647
  }
15771
- if (markdownSpace3(code4)) {
15772
- return factorySpace2(effects, bodyRowBreak, "whitespace")(code4);
15648
+ if (markdownSpace(code4)) {
15649
+ return factorySpace(effects, bodyRowBreak, "whitespace")(code4);
15773
15650
  }
15774
15651
  effects.enter("data");
15775
15652
  return bodyRowData(code4);
15776
15653
  }
15777
15654
  function bodyRowData(code4) {
15778
- if (code4 === null || code4 === 124 || markdownLineEndingOrSpace4(code4)) {
15655
+ if (code4 === null || code4 === 124 || markdownLineEndingOrSpace(code4)) {
15779
15656
  effects.exit("data");
15780
15657
  return bodyRowBreak(code4);
15781
15658
  }
@@ -15970,53 +15847,6 @@ function getPoint(events, index2) {
15970
15847
  return event[1][side];
15971
15848
  }
15972
15849
 
15973
- // node_modules/micromark-extension-gfm-task-list-item/node_modules/micromark-util-character/index.js
15974
- var asciiAlpha7 = regexCheck7(/[A-Za-z]/);
15975
- var asciiAlphanumeric7 = regexCheck7(/[\dA-Za-z]/);
15976
- var asciiAtext7 = regexCheck7(/[#-'*+\--9=?A-Z^-~]/);
15977
- var asciiDigit7 = regexCheck7(/\d/);
15978
- var asciiHexDigit7 = regexCheck7(/[\dA-Fa-f]/);
15979
- var asciiPunctuation7 = regexCheck7(/[!-/:-@[-`{-~]/);
15980
- function markdownLineEnding4(code4) {
15981
- return code4 !== null && code4 < -2;
15982
- }
15983
- function markdownLineEndingOrSpace5(code4) {
15984
- return code4 !== null && (code4 < 0 || code4 === 32);
15985
- }
15986
- function markdownSpace4(code4) {
15987
- return code4 === -2 || code4 === -1 || code4 === 32;
15988
- }
15989
- var unicodePunctuation7 = regexCheck7(/\p{P}|\p{S}/u);
15990
- var unicodeWhitespace7 = regexCheck7(/\s/);
15991
- function regexCheck7(regex) {
15992
- return check;
15993
- function check(code4) {
15994
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
15995
- }
15996
- }
15997
-
15998
- // node_modules/micromark-extension-gfm-task-list-item/node_modules/micromark-factory-space/index.js
15999
- function factorySpace3(effects, ok6, type, max) {
16000
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
16001
- let size = 0;
16002
- return start2;
16003
- function start2(code4) {
16004
- if (markdownSpace4(code4)) {
16005
- effects.enter(type);
16006
- return prefix(code4);
16007
- }
16008
- return ok6(code4);
16009
- }
16010
- function prefix(code4) {
16011
- if (markdownSpace4(code4) && size++ < limit) {
16012
- effects.consume(code4);
16013
- return prefix;
16014
- }
16015
- effects.exit(type);
16016
- return ok6(code4);
16017
- }
16018
- }
16019
-
16020
15850
  // node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
16021
15851
  var tasklistCheck = {
16022
15852
  tokenize: tokenizeTasklistCheck
@@ -16040,86 +15870,582 @@ function tokenizeTasklistCheck(effects, ok6, nok) {
16040
15870
  ) {
16041
15871
  return nok(code4);
16042
15872
  }
16043
- effects.enter("taskListCheck");
16044
- effects.enter("taskListCheckMarker");
16045
- effects.consume(code4);
16046
- effects.exit("taskListCheckMarker");
16047
- return inside;
16048
- }
16049
- function inside(code4) {
16050
- if (markdownLineEndingOrSpace5(code4)) {
16051
- effects.enter("taskListCheckValueUnchecked");
15873
+ effects.enter("taskListCheck");
15874
+ effects.enter("taskListCheckMarker");
15875
+ effects.consume(code4);
15876
+ effects.exit("taskListCheckMarker");
15877
+ return inside;
15878
+ }
15879
+ function inside(code4) {
15880
+ if (markdownLineEndingOrSpace(code4)) {
15881
+ effects.enter("taskListCheckValueUnchecked");
15882
+ effects.consume(code4);
15883
+ effects.exit("taskListCheckValueUnchecked");
15884
+ return close2;
15885
+ }
15886
+ if (code4 === 88 || code4 === 120) {
15887
+ effects.enter("taskListCheckValueChecked");
15888
+ effects.consume(code4);
15889
+ effects.exit("taskListCheckValueChecked");
15890
+ return close2;
15891
+ }
15892
+ return nok(code4);
15893
+ }
15894
+ function close2(code4) {
15895
+ if (code4 === 93) {
15896
+ effects.enter("taskListCheckMarker");
15897
+ effects.consume(code4);
15898
+ effects.exit("taskListCheckMarker");
15899
+ effects.exit("taskListCheck");
15900
+ return after;
15901
+ }
15902
+ return nok(code4);
15903
+ }
15904
+ function after(code4) {
15905
+ if (markdownLineEnding(code4)) {
15906
+ return ok6(code4);
15907
+ }
15908
+ if (markdownSpace(code4)) {
15909
+ return effects.check(
15910
+ {
15911
+ tokenize: spaceThenNonSpace
15912
+ },
15913
+ ok6,
15914
+ nok
15915
+ )(code4);
15916
+ }
15917
+ return nok(code4);
15918
+ }
15919
+ }
15920
+ function spaceThenNonSpace(effects, ok6, nok) {
15921
+ return factorySpace(effects, after, "whitespace");
15922
+ function after(code4) {
15923
+ return code4 === null ? nok(code4) : ok6(code4);
15924
+ }
15925
+ }
15926
+
15927
+ // node_modules/micromark-extension-gfm/index.js
15928
+ function gfm(options) {
15929
+ return combineExtensions([
15930
+ gfmAutolinkLiteral(),
15931
+ gfmFootnote(),
15932
+ gfmStrikethrough(options),
15933
+ gfmTable(),
15934
+ gfmTaskListItem()
15935
+ ]);
15936
+ }
15937
+
15938
+ // node_modules/remark-gfm/lib/index.js
15939
+ var emptyOptions4 = {};
15940
+ function remarkGfm(options) {
15941
+ const self2 = (
15942
+ /** @type {Processor} */
15943
+ this
15944
+ );
15945
+ const settings = options || emptyOptions4;
15946
+ const data2 = self2.data();
15947
+ const micromarkExtensions = data2.micromarkExtensions || (data2.micromarkExtensions = []);
15948
+ const fromMarkdownExtensions = data2.fromMarkdownExtensions || (data2.fromMarkdownExtensions = []);
15949
+ const toMarkdownExtensions = data2.toMarkdownExtensions || (data2.toMarkdownExtensions = []);
15950
+ micromarkExtensions.push(gfm(settings));
15951
+ fromMarkdownExtensions.push(gfmFromMarkdown());
15952
+ toMarkdownExtensions.push(gfmToMarkdown(settings));
15953
+ }
15954
+
15955
+ // node_modules/mdast-util-math/lib/index.js
15956
+ function mathFromMarkdown() {
15957
+ return {
15958
+ enter: {
15959
+ mathFlow: enterMathFlow,
15960
+ mathFlowFenceMeta: enterMathFlowMeta,
15961
+ mathText: enterMathText
15962
+ },
15963
+ exit: {
15964
+ mathFlow: exitMathFlow,
15965
+ mathFlowFence: exitMathFlowFence,
15966
+ mathFlowFenceMeta: exitMathFlowMeta,
15967
+ mathFlowValue: exitMathData,
15968
+ mathText: exitMathText,
15969
+ mathTextData: exitMathData
15970
+ }
15971
+ };
15972
+ function enterMathFlow(token) {
15973
+ const code4 = {
15974
+ type: "element",
15975
+ tagName: "code",
15976
+ properties: { className: ["language-math", "math-display"] },
15977
+ children: []
15978
+ };
15979
+ this.enter(
15980
+ {
15981
+ type: "math",
15982
+ meta: null,
15983
+ value: "",
15984
+ data: { hName: "pre", hChildren: [code4] }
15985
+ },
15986
+ token
15987
+ );
15988
+ }
15989
+ function enterMathFlowMeta() {
15990
+ this.buffer();
15991
+ }
15992
+ function exitMathFlowMeta() {
15993
+ const data2 = this.resume();
15994
+ const node4 = this.stack[this.stack.length - 1];
15995
+ ok(node4.type === "math");
15996
+ node4.meta = data2;
15997
+ }
15998
+ function exitMathFlowFence() {
15999
+ if (this.data.mathFlowInside)
16000
+ return;
16001
+ this.buffer();
16002
+ this.data.mathFlowInside = true;
16003
+ }
16004
+ function exitMathFlow(token) {
16005
+ const data2 = this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, "");
16006
+ const node4 = this.stack[this.stack.length - 1];
16007
+ ok(node4.type === "math");
16008
+ this.exit(token);
16009
+ node4.value = data2;
16010
+ const code4 = (
16011
+ /** @type {HastElement} */
16012
+ node4.data.hChildren[0]
16013
+ );
16014
+ ok(code4.type === "element");
16015
+ ok(code4.tagName === "code");
16016
+ code4.children.push({ type: "text", value: data2 });
16017
+ this.data.mathFlowInside = void 0;
16018
+ }
16019
+ function enterMathText(token) {
16020
+ this.enter(
16021
+ {
16022
+ type: "inlineMath",
16023
+ value: "",
16024
+ data: {
16025
+ hName: "code",
16026
+ hProperties: { className: ["language-math", "math-inline"] },
16027
+ hChildren: []
16028
+ }
16029
+ },
16030
+ token
16031
+ );
16032
+ this.buffer();
16033
+ }
16034
+ function exitMathText(token) {
16035
+ const data2 = this.resume();
16036
+ const node4 = this.stack[this.stack.length - 1];
16037
+ ok(node4.type === "inlineMath");
16038
+ this.exit(token);
16039
+ node4.value = data2;
16040
+ const children = (
16041
+ /** @type {Array<HastElementContent>} */
16042
+ // @ts-expect-error: we defined it in `enterMathFlow`.
16043
+ node4.data.hChildren
16044
+ );
16045
+ children.push({ type: "text", value: data2 });
16046
+ }
16047
+ function exitMathData(token) {
16048
+ this.config.enter.data.call(this, token);
16049
+ this.config.exit.data.call(this, token);
16050
+ }
16051
+ }
16052
+ function mathToMarkdown(options) {
16053
+ let single = (options || {}).singleDollarTextMath;
16054
+ if (single === null || single === void 0) {
16055
+ single = true;
16056
+ }
16057
+ inlineMath.peek = inlineMathPeek;
16058
+ return {
16059
+ unsafe: [
16060
+ { character: "\r", inConstruct: "mathFlowMeta" },
16061
+ { character: "\n", inConstruct: "mathFlowMeta" },
16062
+ {
16063
+ character: "$",
16064
+ after: single ? void 0 : "\\$",
16065
+ inConstruct: "phrasing"
16066
+ },
16067
+ { character: "$", inConstruct: "mathFlowMeta" },
16068
+ { atBreak: true, character: "$", after: "\\$" }
16069
+ ],
16070
+ handlers: { math: math2, inlineMath }
16071
+ };
16072
+ function math2(node4, _, state, info) {
16073
+ const raw = node4.value || "";
16074
+ const tracker = state.createTracker(info);
16075
+ const sequence = "$".repeat(Math.max(longestStreak(raw, "$") + 1, 2));
16076
+ const exit3 = state.enter("mathFlow");
16077
+ let value2 = tracker.move(sequence);
16078
+ if (node4.meta) {
16079
+ const subexit = state.enter("mathFlowMeta");
16080
+ value2 += tracker.move(
16081
+ state.safe(node4.meta, {
16082
+ after: "\n",
16083
+ before: value2,
16084
+ encode: ["$"],
16085
+ ...tracker.current()
16086
+ })
16087
+ );
16088
+ subexit();
16089
+ }
16090
+ value2 += tracker.move("\n");
16091
+ if (raw) {
16092
+ value2 += tracker.move(raw + "\n");
16093
+ }
16094
+ value2 += tracker.move(sequence);
16095
+ exit3();
16096
+ return value2;
16097
+ }
16098
+ function inlineMath(node4, _, state) {
16099
+ let value2 = node4.value || "";
16100
+ let size = 1;
16101
+ if (!single)
16102
+ size++;
16103
+ while (new RegExp("(^|[^$])" + "\\$".repeat(size) + "([^$]|$)").test(value2)) {
16104
+ size++;
16105
+ }
16106
+ const sequence = "$".repeat(size);
16107
+ if (
16108
+ // Contains non-space.
16109
+ /[^ \r\n]/.test(value2) && // Starts with space and ends with space.
16110
+ (/^[ \r\n]/.test(value2) && /[ \r\n]$/.test(value2) || // Starts or ends with dollar.
16111
+ /^\$|\$$/.test(value2))
16112
+ ) {
16113
+ value2 = " " + value2 + " ";
16114
+ }
16115
+ let index2 = -1;
16116
+ while (++index2 < state.unsafe.length) {
16117
+ const pattern = state.unsafe[index2];
16118
+ if (!pattern.atBreak)
16119
+ continue;
16120
+ const expression = state.compilePattern(pattern);
16121
+ let match;
16122
+ while (match = expression.exec(value2)) {
16123
+ let position2 = match.index;
16124
+ if (value2.codePointAt(position2) === 10 && value2.codePointAt(position2 - 1) === 13) {
16125
+ position2--;
16126
+ }
16127
+ value2 = value2.slice(0, position2) + " " + value2.slice(match.index + 1);
16128
+ }
16129
+ }
16130
+ return sequence + value2 + sequence;
16131
+ }
16132
+ function inlineMathPeek() {
16133
+ return "$";
16134
+ }
16135
+ }
16136
+
16137
+ // node_modules/micromark-extension-math/lib/math-flow.js
16138
+ var mathFlow = {
16139
+ tokenize: tokenizeMathFenced,
16140
+ concrete: true
16141
+ };
16142
+ var nonLazyContinuation = {
16143
+ tokenize: tokenizeNonLazyContinuation,
16144
+ partial: true
16145
+ };
16146
+ function tokenizeMathFenced(effects, ok6, nok) {
16147
+ const self2 = this;
16148
+ const tail = self2.events[self2.events.length - 1];
16149
+ const initialSize = tail && tail[1].type === "linePrefix" ? tail[2].sliceSerialize(tail[1], true).length : 0;
16150
+ let sizeOpen = 0;
16151
+ return start2;
16152
+ function start2(code4) {
16153
+ effects.enter("mathFlow");
16154
+ effects.enter("mathFlowFence");
16155
+ effects.enter("mathFlowFenceSequence");
16156
+ return sequenceOpen(code4);
16157
+ }
16158
+ function sequenceOpen(code4) {
16159
+ if (code4 === 36) {
16160
+ effects.consume(code4);
16161
+ sizeOpen++;
16162
+ return sequenceOpen;
16163
+ }
16164
+ if (sizeOpen < 2) {
16165
+ return nok(code4);
16166
+ }
16167
+ effects.exit("mathFlowFenceSequence");
16168
+ return factorySpace(effects, metaBefore, "whitespace")(code4);
16169
+ }
16170
+ function metaBefore(code4) {
16171
+ if (code4 === null || markdownLineEnding(code4)) {
16172
+ return metaAfter(code4);
16173
+ }
16174
+ effects.enter("mathFlowFenceMeta");
16175
+ effects.enter("chunkString", {
16176
+ contentType: "string"
16177
+ });
16178
+ return meta(code4);
16179
+ }
16180
+ function meta(code4) {
16181
+ if (code4 === null || markdownLineEnding(code4)) {
16182
+ effects.exit("chunkString");
16183
+ effects.exit("mathFlowFenceMeta");
16184
+ return metaAfter(code4);
16185
+ }
16186
+ if (code4 === 36) {
16187
+ return nok(code4);
16188
+ }
16189
+ effects.consume(code4);
16190
+ return meta;
16191
+ }
16192
+ function metaAfter(code4) {
16193
+ effects.exit("mathFlowFence");
16194
+ if (self2.interrupt) {
16195
+ return ok6(code4);
16196
+ }
16197
+ return effects.attempt(
16198
+ nonLazyContinuation,
16199
+ beforeNonLazyContinuation,
16200
+ after
16201
+ )(code4);
16202
+ }
16203
+ function beforeNonLazyContinuation(code4) {
16204
+ return effects.attempt(
16205
+ {
16206
+ tokenize: tokenizeClosingFence,
16207
+ partial: true
16208
+ },
16209
+ after,
16210
+ contentStart
16211
+ )(code4);
16212
+ }
16213
+ function contentStart(code4) {
16214
+ return (initialSize ? factorySpace(
16215
+ effects,
16216
+ beforeContentChunk,
16217
+ "linePrefix",
16218
+ initialSize + 1
16219
+ ) : beforeContentChunk)(code4);
16220
+ }
16221
+ function beforeContentChunk(code4) {
16222
+ if (code4 === null) {
16223
+ return after(code4);
16224
+ }
16225
+ if (markdownLineEnding(code4)) {
16226
+ return effects.attempt(
16227
+ nonLazyContinuation,
16228
+ beforeNonLazyContinuation,
16229
+ after
16230
+ )(code4);
16231
+ }
16232
+ effects.enter("mathFlowValue");
16233
+ return contentChunk(code4);
16234
+ }
16235
+ function contentChunk(code4) {
16236
+ if (code4 === null || markdownLineEnding(code4)) {
16237
+ effects.exit("mathFlowValue");
16238
+ return beforeContentChunk(code4);
16239
+ }
16240
+ effects.consume(code4);
16241
+ return contentChunk;
16242
+ }
16243
+ function after(code4) {
16244
+ effects.exit("mathFlow");
16245
+ return ok6(code4);
16246
+ }
16247
+ function tokenizeClosingFence(effects2, ok7, nok2) {
16248
+ let size = 0;
16249
+ return factorySpace(
16250
+ effects2,
16251
+ beforeSequenceClose,
16252
+ "linePrefix",
16253
+ self2.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
16254
+ );
16255
+ function beforeSequenceClose(code4) {
16256
+ effects2.enter("mathFlowFence");
16257
+ effects2.enter("mathFlowFenceSequence");
16258
+ return sequenceClose(code4);
16259
+ }
16260
+ function sequenceClose(code4) {
16261
+ if (code4 === 36) {
16262
+ size++;
16263
+ effects2.consume(code4);
16264
+ return sequenceClose;
16265
+ }
16266
+ if (size < sizeOpen) {
16267
+ return nok2(code4);
16268
+ }
16269
+ effects2.exit("mathFlowFenceSequence");
16270
+ return factorySpace(effects2, afterSequenceClose, "whitespace")(code4);
16271
+ }
16272
+ function afterSequenceClose(code4) {
16273
+ if (code4 === null || markdownLineEnding(code4)) {
16274
+ effects2.exit("mathFlowFence");
16275
+ return ok7(code4);
16276
+ }
16277
+ return nok2(code4);
16278
+ }
16279
+ }
16280
+ }
16281
+ function tokenizeNonLazyContinuation(effects, ok6, nok) {
16282
+ const self2 = this;
16283
+ return start2;
16284
+ function start2(code4) {
16285
+ if (code4 === null) {
16286
+ return ok6(code4);
16287
+ }
16288
+ effects.enter("lineEnding");
16289
+ effects.consume(code4);
16290
+ effects.exit("lineEnding");
16291
+ return lineStart;
16292
+ }
16293
+ function lineStart(code4) {
16294
+ return self2.parser.lazy[self2.now().line] ? nok(code4) : ok6(code4);
16295
+ }
16296
+ }
16297
+
16298
+ // node_modules/micromark-extension-math/lib/math-text.js
16299
+ function mathText(options) {
16300
+ const options_ = options || {};
16301
+ let single = options_.singleDollarTextMath;
16302
+ if (single === null || single === void 0) {
16303
+ single = true;
16304
+ }
16305
+ return {
16306
+ tokenize: tokenizeMathText,
16307
+ resolve: resolveMathText,
16308
+ previous: previous2
16309
+ };
16310
+ function tokenizeMathText(effects, ok6, nok) {
16311
+ const self2 = this;
16312
+ let sizeOpen = 0;
16313
+ let size;
16314
+ let token;
16315
+ return start2;
16316
+ function start2(code4) {
16317
+ effects.enter("mathText");
16318
+ effects.enter("mathTextSequence");
16319
+ return sequenceOpen(code4);
16320
+ }
16321
+ function sequenceOpen(code4) {
16322
+ if (code4 === 36) {
16323
+ effects.consume(code4);
16324
+ sizeOpen++;
16325
+ return sequenceOpen;
16326
+ }
16327
+ if (sizeOpen < 2 && !single) {
16328
+ return nok(code4);
16329
+ }
16330
+ effects.exit("mathTextSequence");
16331
+ return between(code4);
16332
+ }
16333
+ function between(code4) {
16334
+ if (code4 === null) {
16335
+ return nok(code4);
16336
+ }
16337
+ if (code4 === 36) {
16338
+ token = effects.enter("mathTextSequence");
16339
+ size = 0;
16340
+ return sequenceClose(code4);
16341
+ }
16342
+ if (code4 === 32) {
16343
+ effects.enter("space");
16344
+ effects.consume(code4);
16345
+ effects.exit("space");
16346
+ return between;
16347
+ }
16348
+ if (markdownLineEnding(code4)) {
16349
+ effects.enter("lineEnding");
16350
+ effects.consume(code4);
16351
+ effects.exit("lineEnding");
16352
+ return between;
16353
+ }
16354
+ effects.enter("mathTextData");
16355
+ return data2(code4);
16356
+ }
16357
+ function data2(code4) {
16358
+ if (code4 === null || code4 === 32 || code4 === 36 || markdownLineEnding(code4)) {
16359
+ effects.exit("mathTextData");
16360
+ return between(code4);
16361
+ }
16052
16362
  effects.consume(code4);
16053
- effects.exit("taskListCheckValueUnchecked");
16054
- return close2;
16363
+ return data2;
16055
16364
  }
16056
- if (code4 === 88 || code4 === 120) {
16057
- effects.enter("taskListCheckValueChecked");
16058
- effects.consume(code4);
16059
- effects.exit("taskListCheckValueChecked");
16060
- return close2;
16365
+ function sequenceClose(code4) {
16366
+ if (code4 === 36) {
16367
+ effects.consume(code4);
16368
+ size++;
16369
+ return sequenceClose;
16370
+ }
16371
+ if (size === sizeOpen) {
16372
+ effects.exit("mathTextSequence");
16373
+ effects.exit("mathText");
16374
+ return ok6(code4);
16375
+ }
16376
+ token.type = "mathTextData";
16377
+ return data2(code4);
16061
16378
  }
16062
- return nok(code4);
16063
16379
  }
16064
- function close2(code4) {
16065
- if (code4 === 93) {
16066
- effects.enter("taskListCheckMarker");
16067
- effects.consume(code4);
16068
- effects.exit("taskListCheckMarker");
16069
- effects.exit("taskListCheck");
16070
- return after;
16380
+ }
16381
+ function resolveMathText(events) {
16382
+ let tailExitIndex = events.length - 4;
16383
+ let headEnterIndex = 3;
16384
+ let index2;
16385
+ let enter;
16386
+ if ((events[headEnterIndex][1].type === "lineEnding" || events[headEnterIndex][1].type === "space") && (events[tailExitIndex][1].type === "lineEnding" || events[tailExitIndex][1].type === "space")) {
16387
+ index2 = headEnterIndex;
16388
+ while (++index2 < tailExitIndex) {
16389
+ if (events[index2][1].type === "mathTextData") {
16390
+ events[tailExitIndex][1].type = "mathTextPadding";
16391
+ events[headEnterIndex][1].type = "mathTextPadding";
16392
+ headEnterIndex += 2;
16393
+ tailExitIndex -= 2;
16394
+ break;
16395
+ }
16071
16396
  }
16072
- return nok(code4);
16073
16397
  }
16074
- function after(code4) {
16075
- if (markdownLineEnding4(code4)) {
16076
- return ok6(code4);
16077
- }
16078
- if (markdownSpace4(code4)) {
16079
- return effects.check(
16080
- {
16081
- tokenize: spaceThenNonSpace
16082
- },
16083
- ok6,
16084
- nok
16085
- )(code4);
16398
+ index2 = headEnterIndex - 1;
16399
+ tailExitIndex++;
16400
+ while (++index2 <= tailExitIndex) {
16401
+ if (enter === void 0) {
16402
+ if (index2 !== tailExitIndex && events[index2][1].type !== "lineEnding") {
16403
+ enter = index2;
16404
+ }
16405
+ } else if (index2 === tailExitIndex || events[index2][1].type === "lineEnding") {
16406
+ events[enter][1].type = "mathTextData";
16407
+ if (index2 !== enter + 2) {
16408
+ events[enter][1].end = events[index2 - 1][1].end;
16409
+ events.splice(enter + 2, index2 - enter - 2);
16410
+ tailExitIndex -= index2 - enter - 2;
16411
+ index2 = enter + 2;
16412
+ }
16413
+ enter = void 0;
16086
16414
  }
16087
- return nok(code4);
16088
16415
  }
16416
+ return events;
16089
16417
  }
16090
- function spaceThenNonSpace(effects, ok6, nok) {
16091
- return factorySpace3(effects, after, "whitespace");
16092
- function after(code4) {
16093
- return code4 === null ? nok(code4) : ok6(code4);
16094
- }
16418
+ function previous2(code4) {
16419
+ return code4 !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
16095
16420
  }
16096
16421
 
16097
- // node_modules/micromark-extension-gfm/index.js
16098
- function gfm(options) {
16099
- return combineExtensions([
16100
- gfmAutolinkLiteral(),
16101
- gfmFootnote(),
16102
- gfmStrikethrough(options),
16103
- gfmTable(),
16104
- gfmTaskListItem()
16105
- ]);
16422
+ // node_modules/micromark-extension-math/lib/syntax.js
16423
+ function math(options) {
16424
+ return {
16425
+ flow: {
16426
+ [36]: mathFlow
16427
+ },
16428
+ text: {
16429
+ [36]: mathText(options)
16430
+ }
16431
+ };
16106
16432
  }
16107
16433
 
16108
- // node_modules/remark-gfm/lib/index.js
16109
- var emptyOptions4 = {};
16110
- function remarkGfm(options) {
16434
+ // node_modules/remark-math/lib/index.js
16435
+ var emptyOptions5 = {};
16436
+ function remarkMath(options) {
16111
16437
  const self2 = (
16112
16438
  /** @type {Processor} */
16113
16439
  this
16114
16440
  );
16115
- const settings = options || emptyOptions4;
16441
+ const settings = options || emptyOptions5;
16116
16442
  const data2 = self2.data();
16117
16443
  const micromarkExtensions = data2.micromarkExtensions || (data2.micromarkExtensions = []);
16118
16444
  const fromMarkdownExtensions = data2.fromMarkdownExtensions || (data2.fromMarkdownExtensions = []);
16119
16445
  const toMarkdownExtensions = data2.toMarkdownExtensions || (data2.toMarkdownExtensions = []);
16120
- micromarkExtensions.push(gfm(settings));
16121
- fromMarkdownExtensions.push(gfmFromMarkdown());
16122
- toMarkdownExtensions.push(gfmToMarkdown(settings));
16446
+ micromarkExtensions.push(math(settings));
16447
+ fromMarkdownExtensions.push(mathFromMarkdown());
16448
+ toMarkdownExtensions.push(mathToMarkdown(settings));
16123
16449
  }
16124
16450
 
16125
16451
  // node_modules/mdast-util-mdx-expression/lib/index.js
@@ -16379,7 +16705,7 @@ function parseEntities(value2, options = {}) {
16379
16705
  }
16380
16706
  let line = (point3 ? point3.line : 0) || 1;
16381
16707
  let column = (point3 ? point3.column : 0) || 1;
16382
- let previous3 = now();
16708
+ let previous4 = now();
16383
16709
  let character;
16384
16710
  index2--;
16385
16711
  while (++index2 <= value2.length) {
@@ -16501,7 +16827,7 @@ function parseEntities(value2, options = {}) {
16501
16827
  }
16502
16828
  if (reference) {
16503
16829
  flush();
16504
- previous3 = now();
16830
+ previous4 = now();
16505
16831
  index2 = end - 1;
16506
16832
  column += end - start2 + 1;
16507
16833
  result.push(reference);
@@ -16511,11 +16837,11 @@ function parseEntities(value2, options = {}) {
16511
16837
  options.reference.call(
16512
16838
  options.referenceContext,
16513
16839
  reference,
16514
- { start: previous3, end: next },
16840
+ { start: previous4, end: next },
16515
16841
  value2.slice(start2 - 1, end)
16516
16842
  );
16517
16843
  }
16518
- previous3 = next;
16844
+ previous4 = next;
16519
16845
  } else {
16520
16846
  characters = value2.slice(start2 - 1, end);
16521
16847
  queue += characters;
@@ -16563,7 +16889,7 @@ function parseEntities(value2, options = {}) {
16563
16889
  result.push(queue);
16564
16890
  if (options.text) {
16565
16891
  options.text.call(options.textContext, queue, {
16566
- start: previous3,
16892
+ start: previous4,
16567
16893
  end: now()
16568
16894
  });
16569
16895
  }
@@ -22468,25 +22794,6 @@ Parser.acorn = {
22468
22794
  // node_modules/micromark-extension-mdxjs/index.js
22469
22795
  var import_acorn_jsx = __toESM(require_acorn_jsx(), 1);
22470
22796
 
22471
- // node_modules/micromark-factory-mdx-expression/node_modules/micromark-util-character/index.js
22472
- var asciiAlpha8 = regexCheck8(/[A-Za-z]/);
22473
- var asciiAlphanumeric8 = regexCheck8(/[\dA-Za-z]/);
22474
- var asciiAtext8 = regexCheck8(/[#-'*+\--9=?A-Z^-~]/);
22475
- var asciiDigit8 = regexCheck8(/\d/);
22476
- var asciiHexDigit8 = regexCheck8(/[\dA-Fa-f]/);
22477
- var asciiPunctuation8 = regexCheck8(/[!-/:-@[-`{-~]/);
22478
- function markdownLineEnding5(code4) {
22479
- return code4 !== null && code4 < -2;
22480
- }
22481
- var unicodePunctuation8 = regexCheck8(/\p{P}|\p{S}/u);
22482
- var unicodeWhitespace8 = regexCheck8(/\s/);
22483
- function regexCheck8(regex) {
22484
- return check;
22485
- function check(code4) {
22486
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
22487
- }
22488
- }
22489
-
22490
22797
  // node_modules/estree-util-visit/lib/color.node.js
22491
22798
  function color2(d) {
22492
22799
  return "\x1B[33m" + d + "\x1B[39m";
@@ -22884,7 +23191,7 @@ function factoryMdxExpression(effects, ok6, type, markerType, chunkType, acorn,
22884
23191
  error.url = trouble + unexpectedEofHash;
22885
23192
  throw error;
22886
23193
  }
22887
- if (markdownLineEnding5(code4)) {
23194
+ if (markdownLineEnding(code4)) {
22888
23195
  effects.enter("lineEnding");
22889
23196
  effects.consume(code4);
22890
23197
  effects.exit("lineEnding");
@@ -22925,7 +23232,7 @@ function factoryMdxExpression(effects, ok6, type, markerType, chunkType, acorn,
22925
23232
  return inside(code4);
22926
23233
  }
22927
23234
  function inside(code4) {
22928
- if (code4 === 125 && size === 0 || code4 === null || markdownLineEnding5(code4)) {
23235
+ if (code4 === 125 && size === 0 || code4 === null || markdownLineEnding(code4)) {
22929
23236
  effects.exit(chunkType);
22930
23237
  return before(code4);
22931
23238
  }
@@ -23031,50 +23338,6 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
23031
23338
  };
23032
23339
  }
23033
23340
 
23034
- // node_modules/micromark-extension-mdx-expression/node_modules/micromark-util-character/index.js
23035
- var asciiAlpha9 = regexCheck9(/[A-Za-z]/);
23036
- var asciiAlphanumeric9 = regexCheck9(/[\dA-Za-z]/);
23037
- var asciiAtext9 = regexCheck9(/[#-'*+\--9=?A-Z^-~]/);
23038
- var asciiDigit9 = regexCheck9(/\d/);
23039
- var asciiHexDigit9 = regexCheck9(/[\dA-Fa-f]/);
23040
- var asciiPunctuation9 = regexCheck9(/[!-/:-@[-`{-~]/);
23041
- function markdownLineEnding6(code4) {
23042
- return code4 !== null && code4 < -2;
23043
- }
23044
- function markdownSpace5(code4) {
23045
- return code4 === -2 || code4 === -1 || code4 === 32;
23046
- }
23047
- var unicodePunctuation9 = regexCheck9(/\p{P}|\p{S}/u);
23048
- var unicodeWhitespace9 = regexCheck9(/\s/);
23049
- function regexCheck9(regex) {
23050
- return check;
23051
- function check(code4) {
23052
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
23053
- }
23054
- }
23055
-
23056
- // node_modules/micromark-extension-mdx-expression/node_modules/micromark-factory-space/index.js
23057
- function factorySpace4(effects, ok6, type, max) {
23058
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
23059
- let size = 0;
23060
- return start2;
23061
- function start2(code4) {
23062
- if (markdownSpace5(code4)) {
23063
- effects.enter(type);
23064
- return prefix(code4);
23065
- }
23066
- return ok6(code4);
23067
- }
23068
- function prefix(code4) {
23069
- if (markdownSpace5(code4) && size++ < limit) {
23070
- effects.consume(code4);
23071
- return prefix;
23072
- }
23073
- effects.exit(type);
23074
- return ok6(code4);
23075
- }
23076
- }
23077
-
23078
23341
  // node_modules/micromark-extension-mdx-expression/lib/syntax.js
23079
23342
  function mdxExpression(options) {
23080
23343
  const options_ = options || {};
@@ -23122,7 +23385,7 @@ function mdxExpression(options) {
23122
23385
  return factoryMdxExpression.call(self2, effects, after, "mdxFlowExpression", "mdxFlowExpressionMarker", "mdxFlowExpressionChunk", acorn, acornOptions, addResult, spread, allowEmpty)(code4);
23123
23386
  }
23124
23387
  function after(code4) {
23125
- return markdownSpace5(code4) ? factorySpace4(effects, end, "whitespace")(code4) : end(code4);
23388
+ return markdownSpace(code4) ? factorySpace(effects, end, "whitespace")(code4) : end(code4);
23126
23389
  }
23127
23390
  function end(code4) {
23128
23391
  const lessThanValue = self2.parser.constructs.flow[60];
@@ -23136,7 +23399,7 @@ function mdxExpression(options) {
23136
23399
  if (code4 === 60 && jsxTag) {
23137
23400
  return effects.attempt(jsxTag, end, nok)(code4);
23138
23401
  }
23139
- return code4 === null || markdownLineEnding6(code4) ? ok6(code4) : nok(code4);
23402
+ return code4 === null || markdownLineEnding(code4) ? ok6(code4) : nok(code4);
23140
23403
  }
23141
23404
  }
23142
23405
  function tokenizeTextExpression(effects, ok6) {
@@ -23152,41 +23415,16 @@ function mdxExpression(options) {
23152
23415
  var startRe = /[$_\p{ID_Start}]/u;
23153
23416
  var contRe = /[$_\u{200C}\u{200D}\p{ID_Continue}]/u;
23154
23417
  var contReJsx = /[-$_\u{200C}\u{200D}\p{ID_Continue}]/u;
23155
- var emptyOptions5 = {};
23418
+ var emptyOptions6 = {};
23156
23419
  function start(code4) {
23157
23420
  return code4 ? startRe.test(String.fromCodePoint(code4)) : false;
23158
23421
  }
23159
23422
  function cont(code4, options) {
23160
- const settings = options || emptyOptions5;
23423
+ const settings = options || emptyOptions6;
23161
23424
  const re = settings.jsx ? contReJsx : contRe;
23162
23425
  return code4 ? re.test(String.fromCodePoint(code4)) : false;
23163
23426
  }
23164
23427
 
23165
- // node_modules/micromark-extension-mdx-jsx/node_modules/micromark-util-character/index.js
23166
- var asciiAlpha10 = regexCheck10(/[A-Za-z]/);
23167
- var asciiAlphanumeric10 = regexCheck10(/[\dA-Za-z]/);
23168
- var asciiAtext10 = regexCheck10(/[#-'*+\--9=?A-Z^-~]/);
23169
- var asciiDigit10 = regexCheck10(/\d/);
23170
- var asciiHexDigit10 = regexCheck10(/[\dA-Fa-f]/);
23171
- var asciiPunctuation10 = regexCheck10(/[!-/:-@[-`{-~]/);
23172
- function markdownLineEnding7(code4) {
23173
- return code4 !== null && code4 < -2;
23174
- }
23175
- function markdownLineEndingOrSpace6(code4) {
23176
- return code4 !== null && (code4 < 0 || code4 === 32);
23177
- }
23178
- function markdownSpace6(code4) {
23179
- return code4 === -2 || code4 === -1 || code4 === 32;
23180
- }
23181
- var unicodePunctuation10 = regexCheck10(/\p{P}|\p{S}/u);
23182
- var unicodeWhitespace10 = regexCheck10(/\s/);
23183
- function regexCheck10(regex) {
23184
- return check;
23185
- function check(code4) {
23186
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
23187
- }
23188
- }
23189
-
23190
23428
  // node_modules/micromark-extension-mdx-jsx/lib/factory-tag.js
23191
23429
  var trouble2 = "https://github.com/micromark/micromark-extension-mdx-jsx";
23192
23430
  function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy, tagType, tagMarkerType, tagClosingMarkerType, tagSelfClosingMarker, tagNameType, tagNamePrimaryType, tagNameMemberMarkerType, tagNameMemberType, tagNamePrefixMarkerType, tagNameLocalType, tagExpressionAttributeType, tagExpressionAttributeMarkerType, tagExpressionAttributeValueType, tagAttributeType, tagAttributeNameType, tagAttributeNamePrimaryType, tagAttributeNamePrefixMarkerType, tagAttributeNameLocalType, tagAttributeInitializerMarkerType, tagAttributeValueLiteralType, tagAttributeValueLiteralMarkerType, tagAttributeValueLiteralValueType, tagAttributeValueExpressionType, tagAttributeValueExpressionMarkerType, tagAttributeValueExpressionValueType) {
@@ -23202,7 +23440,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23202
23440
  return startAfter;
23203
23441
  }
23204
23442
  function startAfter(code4) {
23205
- if (markdownLineEndingOrSpace6(code4)) {
23443
+ if (markdownLineEndingOrSpace(code4)) {
23206
23444
  return nok(code4);
23207
23445
  }
23208
23446
  returnState = nameBefore;
@@ -23246,7 +23484,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23246
23484
  effects.consume(code4);
23247
23485
  return primaryName;
23248
23486
  }
23249
- if (code4 === 46 || code4 === 47 || code4 === 58 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace6(code4) || unicodeWhitespace10(code4)) {
23487
+ if (code4 === 46 || code4 === 47 || code4 === 58 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
23250
23488
  effects.exit(tagNamePrimaryType);
23251
23489
  returnState = primaryNameAfter;
23252
23490
  return esWhitespaceStart(code4);
@@ -23289,7 +23527,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23289
23527
  effects.consume(code4);
23290
23528
  return memberName;
23291
23529
  }
23292
- if (code4 === 46 || code4 === 47 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace6(code4) || unicodeWhitespace10(code4)) {
23530
+ if (code4 === 46 || code4 === 47 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
23293
23531
  effects.exit(tagNameMemberType);
23294
23532
  returnState = memberNameAfter;
23295
23533
  return esWhitespaceStart(code4);
@@ -23325,7 +23563,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23325
23563
  effects.consume(code4);
23326
23564
  return localName;
23327
23565
  }
23328
- if (code4 === 47 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace6(code4) || unicodeWhitespace10(code4)) {
23566
+ if (code4 === 47 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
23329
23567
  effects.exit(tagNameLocalType);
23330
23568
  returnState = localNameAfter;
23331
23569
  return esWhitespaceStart(code4);
@@ -23373,7 +23611,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23373
23611
  effects.consume(code4);
23374
23612
  return attributePrimaryName;
23375
23613
  }
23376
- if (code4 === 47 || code4 === 58 || code4 === 61 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace6(code4) || unicodeWhitespace10(code4)) {
23614
+ if (code4 === 47 || code4 === 58 || code4 === 61 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
23377
23615
  effects.exit(tagAttributeNamePrimaryType);
23378
23616
  returnState = attributePrimaryNameAfter;
23379
23617
  return esWhitespaceStart(code4);
@@ -23396,7 +23634,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23396
23634
  returnState = attributeValueBefore;
23397
23635
  return esWhitespaceStart;
23398
23636
  }
23399
- if (code4 === 47 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace6(code4) || unicodeWhitespace10(code4) || code4 !== null && code4 >= 0 && start(code4)) {
23637
+ if (code4 === 47 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4) || code4 !== null && code4 >= 0 && start(code4)) {
23400
23638
  effects.exit(tagAttributeNameType);
23401
23639
  effects.exit(tagAttributeType);
23402
23640
  returnState = attributeBefore;
@@ -23419,7 +23657,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23419
23657
  effects.consume(code4);
23420
23658
  return attributeLocalName;
23421
23659
  }
23422
- if (code4 === 47 || code4 === 61 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace6(code4) || unicodeWhitespace10(code4)) {
23660
+ if (code4 === 47 || code4 === 61 || code4 === 62 || code4 === 123 || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
23423
23661
  effects.exit(tagAttributeNameLocalType);
23424
23662
  effects.exit(tagAttributeNameType);
23425
23663
  returnState = attributeLocalNameAfter;
@@ -23474,7 +23712,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23474
23712
  returnState = attributeBefore;
23475
23713
  return esWhitespaceStart;
23476
23714
  }
23477
- if (markdownLineEnding7(code4)) {
23715
+ if (markdownLineEnding(code4)) {
23478
23716
  returnState = attributeValueQuotedStart;
23479
23717
  return esWhitespaceStart(code4);
23480
23718
  }
@@ -23482,7 +23720,7 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23482
23720
  return attributeValueQuoted(code4);
23483
23721
  }
23484
23722
  function attributeValueQuoted(code4) {
23485
- if (code4 === null || code4 === marker || markdownLineEnding7(code4)) {
23723
+ if (code4 === null || code4 === marker || markdownLineEnding(code4)) {
23486
23724
  effects.exit(tagAttributeValueLiteralValueType);
23487
23725
  return attributeValueQuotedStart(code4);
23488
23726
  }
@@ -23503,24 +23741,24 @@ function factoryTag(effects, ok6, nok, acorn, acornOptions, addResult, allowLazy
23503
23741
  return ok6;
23504
23742
  }
23505
23743
  function esWhitespaceStart(code4) {
23506
- if (markdownLineEnding7(code4)) {
23744
+ if (markdownLineEnding(code4)) {
23507
23745
  effects.enter("lineEnding");
23508
23746
  effects.consume(code4);
23509
23747
  effects.exit("lineEnding");
23510
23748
  return esWhitespaceEolAfter;
23511
23749
  }
23512
- if (markdownSpace6(code4) || unicodeWhitespace10(code4)) {
23750
+ if (markdownSpace(code4) || unicodeWhitespace(code4)) {
23513
23751
  effects.enter("esWhitespace");
23514
23752
  return esWhitespaceInside(code4);
23515
23753
  }
23516
23754
  return returnState(code4);
23517
23755
  }
23518
23756
  function esWhitespaceInside(code4) {
23519
- if (markdownLineEnding7(code4)) {
23757
+ if (markdownLineEnding(code4)) {
23520
23758
  effects.exit("esWhitespace");
23521
23759
  return esWhitespaceStart(code4);
23522
23760
  }
23523
- if (markdownSpace6(code4) || unicodeWhitespace10(code4)) {
23761
+ if (markdownSpace(code4) || unicodeWhitespace(code4)) {
23524
23762
  effects.consume(code4);
23525
23763
  return esWhitespaceInside;
23526
23764
  }
@@ -23556,28 +23794,6 @@ function jsxText(acorn, options) {
23556
23794
  }
23557
23795
  }
23558
23796
 
23559
- // node_modules/micromark-extension-mdx-jsx/node_modules/micromark-factory-space/index.js
23560
- function factorySpace5(effects, ok6, type, max) {
23561
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
23562
- let size = 0;
23563
- return start2;
23564
- function start2(code4) {
23565
- if (markdownSpace6(code4)) {
23566
- effects.enter(type);
23567
- return prefix(code4);
23568
- }
23569
- return ok6(code4);
23570
- }
23571
- function prefix(code4) {
23572
- if (markdownSpace6(code4) && size++ < limit) {
23573
- effects.consume(code4);
23574
- return prefix;
23575
- }
23576
- effects.exit(type);
23577
- return ok6(code4);
23578
- }
23579
- }
23580
-
23581
23797
  // node_modules/micromark-extension-mdx-jsx/lib/jsx-flow.js
23582
23798
  function jsxFlow(acorn, options) {
23583
23799
  return {
@@ -23595,7 +23811,7 @@ function jsxFlow(acorn, options) {
23595
23811
  return factoryTag.call(self2, effects, after, nok, acorn, options.acornOptions, options.addResult, false, "mdxJsxFlowTag", "mdxJsxFlowTagMarker", "mdxJsxFlowTagClosingMarker", "mdxJsxFlowTagSelfClosingMarker", "mdxJsxFlowTagName", "mdxJsxFlowTagNamePrimary", "mdxJsxFlowTagNameMemberMarker", "mdxJsxFlowTagNameMember", "mdxJsxFlowTagNamePrefixMarker", "mdxJsxFlowTagNameLocal", "mdxJsxFlowTagExpressionAttribute", "mdxJsxFlowTagExpressionAttributeMarker", "mdxJsxFlowTagExpressionAttributeValue", "mdxJsxFlowTagAttribute", "mdxJsxFlowTagAttributeName", "mdxJsxFlowTagAttributeNamePrimary", "mdxJsxFlowTagAttributeNamePrefixMarker", "mdxJsxFlowTagAttributeNameLocal", "mdxJsxFlowTagAttributeInitializerMarker", "mdxJsxFlowTagAttributeValueLiteral", "mdxJsxFlowTagAttributeValueLiteralMarker", "mdxJsxFlowTagAttributeValueLiteralValue", "mdxJsxFlowTagAttributeValueExpression", "mdxJsxFlowTagAttributeValueExpressionMarker", "mdxJsxFlowTagAttributeValueExpressionValue")(code4);
23596
23812
  }
23597
23813
  function after(code4) {
23598
- return markdownSpace6(code4) ? factorySpace5(effects, end, "whitespace")(code4) : end(code4);
23814
+ return markdownSpace(code4) ? factorySpace(effects, end, "whitespace")(code4) : end(code4);
23599
23815
  }
23600
23816
  function end(code4) {
23601
23817
  const leftBraceValue = self2.parser.constructs.flow[123];
@@ -23604,7 +23820,7 @@ function jsxFlow(acorn, options) {
23604
23820
  return code4 === 60 ? (
23605
23821
  // We can’t just say: fine. Lines of blocks have to be parsed until an eol/eof.
23606
23822
  start2(code4)
23607
- ) : code4 === 123 && expression ? effects.attempt(expression, end, nok)(code4) : code4 === null || markdownLineEnding7(code4) ? ok6(code4) : nok(code4);
23823
+ ) : code4 === 123 && expression ? effects.attempt(expression, end, nok)(code4) : code4 === null || markdownLineEnding(code4) ? ok6(code4) : nok(code4);
23608
23824
  }
23609
23825
  }
23610
23826
  }
@@ -23650,50 +23866,6 @@ function mdxMd() {
23650
23866
  };
23651
23867
  }
23652
23868
 
23653
- // node_modules/micromark-extension-mdxjs-esm/node_modules/micromark-util-character/index.js
23654
- var asciiAlpha11 = regexCheck11(/[A-Za-z]/);
23655
- var asciiAlphanumeric11 = regexCheck11(/[\dA-Za-z]/);
23656
- var asciiAtext11 = regexCheck11(/[#-'*+\--9=?A-Z^-~]/);
23657
- var asciiDigit11 = regexCheck11(/\d/);
23658
- var asciiHexDigit11 = regexCheck11(/[\dA-Fa-f]/);
23659
- var asciiPunctuation11 = regexCheck11(/[!-/:-@[-`{-~]/);
23660
- function markdownLineEnding8(code4) {
23661
- return code4 !== null && code4 < -2;
23662
- }
23663
- function markdownSpace7(code4) {
23664
- return code4 === -2 || code4 === -1 || code4 === 32;
23665
- }
23666
- var unicodePunctuation11 = regexCheck11(/\p{P}|\p{S}/u);
23667
- var unicodeWhitespace11 = regexCheck11(/\s/);
23668
- function regexCheck11(regex) {
23669
- return check;
23670
- function check(code4) {
23671
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
23672
- }
23673
- }
23674
-
23675
- // node_modules/micromark-extension-mdxjs-esm/node_modules/micromark-factory-space/index.js
23676
- function factorySpace6(effects, ok6, type, max) {
23677
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
23678
- let size = 0;
23679
- return start2;
23680
- function start2(code4) {
23681
- if (markdownSpace7(code4)) {
23682
- effects.enter(type);
23683
- return prefix(code4);
23684
- }
23685
- return ok6(code4);
23686
- }
23687
- function prefix(code4) {
23688
- if (markdownSpace7(code4) && size++ < limit) {
23689
- effects.consume(code4);
23690
- return prefix;
23691
- }
23692
- effects.exit(type);
23693
- return ok6(code4);
23694
- }
23695
- }
23696
-
23697
23869
  // node_modules/micromark-extension-mdxjs-esm/node_modules/micromark-core-commonmark/lib/blank-line.js
23698
23870
  var blankLine2 = {
23699
23871
  tokenize: tokenizeBlankLine2,
@@ -23702,10 +23874,10 @@ var blankLine2 = {
23702
23874
  function tokenizeBlankLine2(effects, ok6, nok) {
23703
23875
  return start2;
23704
23876
  function start2(code4) {
23705
- return markdownSpace7(code4) ? factorySpace6(effects, after, "linePrefix")(code4) : after(code4);
23877
+ return markdownSpace(code4) ? factorySpace(effects, after, "linePrefix")(code4) : after(code4);
23706
23878
  }
23707
23879
  function after(code4) {
23708
- return code4 === null || markdownLineEnding8(code4) ? ok6(code4) : nok(code4);
23880
+ return code4 === null || markdownLineEnding(code4) ? ok6(code4) : nok(code4);
23709
23881
  }
23710
23882
  }
23711
23883
 
@@ -23753,7 +23925,7 @@ function mdxjsEsm(options) {
23753
23925
  return word;
23754
23926
  }
23755
23927
  function word(code4) {
23756
- if (asciiAlpha11(code4)) {
23928
+ if (asciiAlpha(code4)) {
23757
23929
  effects.consume(code4);
23758
23930
  buffer += String.fromCharCode(code4);
23759
23931
  return word;
@@ -23765,7 +23937,7 @@ function mdxjsEsm(options) {
23765
23937
  return nok(code4);
23766
23938
  }
23767
23939
  function inside(code4) {
23768
- if (code4 === null || markdownLineEnding8(code4)) {
23940
+ if (code4 === null || markdownLineEnding(code4)) {
23769
23941
  effects.exit("mdxjsEsmData");
23770
23942
  return lineStart(code4);
23771
23943
  }
@@ -23776,7 +23948,7 @@ function mdxjsEsm(options) {
23776
23948
  if (code4 === null) {
23777
23949
  return atEnd(code4);
23778
23950
  }
23779
- if (markdownLineEnding8(code4)) {
23951
+ if (markdownLineEnding(code4)) {
23780
23952
  return effects.check(blankLineBefore, atEnd, continuationStart)(code4);
23781
23953
  }
23782
23954
  effects.enter("mdxjsEsmData");
@@ -23871,13 +24043,13 @@ function mdxjs(options) {
23871
24043
  }
23872
24044
 
23873
24045
  // node_modules/remark-mdx/lib/index.js
23874
- var emptyOptions6 = {};
24046
+ var emptyOptions7 = {};
23875
24047
  function remarkMdx(options) {
23876
24048
  const self2 = (
23877
24049
  /** @type {Processor} */
23878
24050
  this
23879
24051
  );
23880
- const settings = options || emptyOptions6;
24052
+ const settings = options || emptyOptions7;
23881
24053
  const data2 = self2.data();
23882
24054
  const micromarkExtensions = data2.micromarkExtensions || (data2.micromarkExtensions = []);
23883
24055
  const fromMarkdownExtensions = data2.fromMarkdownExtensions || (data2.fromMarkdownExtensions = []);
@@ -23888,9 +24060,9 @@ function remarkMdx(options) {
23888
24060
  }
23889
24061
 
23890
24062
  // node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.js
23891
- var emptyOptions7 = {};
24063
+ var emptyOptions8 = {};
23892
24064
  function toString4(value2, options) {
23893
- const settings = options || emptyOptions7;
24065
+ const settings = options || emptyOptions8;
23894
24066
  const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
23895
24067
  const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
23896
24068
  return one3(value2, includeImageAlt, includeHtml);
@@ -23964,60 +24136,6 @@ function normalizeIdentifier3(value2) {
23964
24136
  return value2.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
23965
24137
  }
23966
24138
 
23967
- // node_modules/micromark/node_modules/micromark-util-character/index.js
23968
- var asciiAlpha12 = regexCheck12(/[A-Za-z]/);
23969
- var asciiAlphanumeric12 = regexCheck12(/[\dA-Za-z]/);
23970
- var asciiAtext12 = regexCheck12(/[#-'*+\--9=?A-Z^-~]/);
23971
- function asciiControl2(code4) {
23972
- return (
23973
- // Special whitespace codes (which have negative values), C0 and Control
23974
- // character DEL
23975
- code4 !== null && (code4 < 32 || code4 === 127)
23976
- );
23977
- }
23978
- var asciiDigit12 = regexCheck12(/\d/);
23979
- var asciiHexDigit12 = regexCheck12(/[\dA-Fa-f]/);
23980
- var asciiPunctuation12 = regexCheck12(/[!-/:-@[-`{-~]/);
23981
- function markdownLineEnding9(code4) {
23982
- return code4 !== null && code4 < -2;
23983
- }
23984
- function markdownLineEndingOrSpace7(code4) {
23985
- return code4 !== null && (code4 < 0 || code4 === 32);
23986
- }
23987
- function markdownSpace8(code4) {
23988
- return code4 === -2 || code4 === -1 || code4 === 32;
23989
- }
23990
- var unicodePunctuation12 = regexCheck12(/\p{P}|\p{S}/u);
23991
- var unicodeWhitespace12 = regexCheck12(/\s/);
23992
- function regexCheck12(regex) {
23993
- return check;
23994
- function check(code4) {
23995
- return code4 !== null && code4 > -1 && regex.test(String.fromCharCode(code4));
23996
- }
23997
- }
23998
-
23999
- // node_modules/micromark/node_modules/micromark-factory-space/index.js
24000
- function factorySpace7(effects, ok6, type, max) {
24001
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
24002
- let size = 0;
24003
- return start2;
24004
- function start2(code4) {
24005
- if (markdownSpace8(code4)) {
24006
- effects.enter(type);
24007
- return prefix(code4);
24008
- }
24009
- return ok6(code4);
24010
- }
24011
- function prefix(code4) {
24012
- if (markdownSpace8(code4) && size++ < limit) {
24013
- effects.consume(code4);
24014
- return prefix;
24015
- }
24016
- effects.exit(type);
24017
- return ok6(code4);
24018
- }
24019
- }
24020
-
24021
24139
  // node_modules/micromark/lib/initialize/content.js
24022
24140
  var content = {
24023
24141
  tokenize: initializeContent
@@ -24028,7 +24146,7 @@ function initializeContent(effects) {
24028
24146
  afterContentStartConstruct,
24029
24147
  paragraphInitial
24030
24148
  );
24031
- let previous3;
24149
+ let previous4;
24032
24150
  return contentStart;
24033
24151
  function afterContentStartConstruct(code4) {
24034
24152
  if (code4 === null) {
@@ -24038,7 +24156,7 @@ function initializeContent(effects) {
24038
24156
  effects.enter("lineEnding");
24039
24157
  effects.consume(code4);
24040
24158
  effects.exit("lineEnding");
24041
- return factorySpace7(effects, contentStart, "linePrefix");
24159
+ return factorySpace(effects, contentStart, "linePrefix");
24042
24160
  }
24043
24161
  function paragraphInitial(code4) {
24044
24162
  effects.enter("paragraph");
@@ -24047,12 +24165,12 @@ function initializeContent(effects) {
24047
24165
  function lineStart(code4) {
24048
24166
  const token = effects.enter("chunkText", {
24049
24167
  contentType: "text",
24050
- previous: previous3
24168
+ previous: previous4
24051
24169
  });
24052
- if (previous3) {
24053
- previous3.next = token;
24170
+ if (previous4) {
24171
+ previous4.next = token;
24054
24172
  }
24055
- previous3 = token;
24173
+ previous4 = token;
24056
24174
  return data2(code4);
24057
24175
  }
24058
24176
  function data2(code4) {
@@ -24062,7 +24180,7 @@ function initializeContent(effects) {
24062
24180
  effects.consume(code4);
24063
24181
  return;
24064
24182
  }
24065
- if (markdownLineEnding9(code4)) {
24183
+ if (markdownLineEnding(code4)) {
24066
24184
  effects.consume(code4);
24067
24185
  effects.exit("chunkText");
24068
24186
  return lineStart;
@@ -24198,7 +24316,7 @@ function initializeDocument(effects) {
24198
24316
  effects.consume(code4);
24199
24317
  return;
24200
24318
  }
24201
- if (markdownLineEnding9(code4)) {
24319
+ if (markdownLineEnding(code4)) {
24202
24320
  effects.consume(code4);
24203
24321
  writeToChild(effects.exit("chunkFlow"));
24204
24322
  continued = 0;
@@ -24275,7 +24393,7 @@ function initializeDocument(effects) {
24275
24393
  }
24276
24394
  }
24277
24395
  function tokenizeContainer(effects, ok6, nok) {
24278
- return factorySpace7(
24396
+ return factorySpace(
24279
24397
  effects,
24280
24398
  effects.attempt(this.parser.constructs.document, ok6, nok),
24281
24399
  "linePrefix",
@@ -24285,10 +24403,10 @@ function tokenizeContainer(effects, ok6, nok) {
24285
24403
 
24286
24404
  // node_modules/micromark/node_modules/micromark-util-classify-character/index.js
24287
24405
  function classifyCharacter2(code4) {
24288
- if (code4 === null || markdownLineEndingOrSpace7(code4) || unicodeWhitespace12(code4)) {
24406
+ if (code4 === null || markdownLineEndingOrSpace(code4) || unicodeWhitespace(code4)) {
24289
24407
  return 1;
24290
24408
  }
24291
- if (unicodePunctuation12(code4)) {
24409
+ if (unicodePunctuation(code4)) {
24292
24410
  return 2;
24293
24411
  }
24294
24412
  }
@@ -24412,8 +24530,8 @@ function resolveAllAttention(events, context) {
24412
24530
  }
24413
24531
  function tokenizeAttention(effects, ok6) {
24414
24532
  const attentionMarkers2 = this.parser.constructs.attentionMarkers.null;
24415
- const previous3 = this.previous;
24416
- const before = classifyCharacter2(previous3);
24533
+ const previous4 = this.previous;
24534
+ const before = classifyCharacter2(previous4);
24417
24535
  let marker;
24418
24536
  return start2;
24419
24537
  function start2(code4) {
@@ -24429,7 +24547,7 @@ function tokenizeAttention(effects, ok6) {
24429
24547
  const token = effects.exit("attentionSequence");
24430
24548
  const after = classifyCharacter2(code4);
24431
24549
  const open = !after || after === 2 && before || attentionMarkers2.includes(code4);
24432
- const close2 = !before || before === 2 && after || attentionMarkers2.includes(previous3);
24550
+ const close2 = !before || before === 2 && after || attentionMarkers2.includes(previous4);
24433
24551
  token._open = Boolean(marker === 42 ? open : open && (before || !close2));
24434
24552
  token._close = Boolean(marker === 42 ? close2 : close2 && (after || !open));
24435
24553
  return ok6(code4);
@@ -24458,14 +24576,14 @@ function tokenizeAutolink(effects, ok6, nok) {
24458
24576
  return open;
24459
24577
  }
24460
24578
  function open(code4) {
24461
- if (asciiAlpha12(code4)) {
24579
+ if (asciiAlpha(code4)) {
24462
24580
  effects.consume(code4);
24463
24581
  return schemeOrEmailAtext;
24464
24582
  }
24465
24583
  return emailAtext(code4);
24466
24584
  }
24467
24585
  function schemeOrEmailAtext(code4) {
24468
- if (code4 === 43 || code4 === 45 || code4 === 46 || asciiAlphanumeric12(code4)) {
24586
+ if (code4 === 43 || code4 === 45 || code4 === 46 || asciiAlphanumeric(code4)) {
24469
24587
  size = 1;
24470
24588
  return schemeInsideOrEmailAtext(code4);
24471
24589
  }
@@ -24477,7 +24595,7 @@ function tokenizeAutolink(effects, ok6, nok) {
24477
24595
  size = 0;
24478
24596
  return urlInside;
24479
24597
  }
24480
- if ((code4 === 43 || code4 === 45 || code4 === 46 || asciiAlphanumeric12(code4)) && size++ < 32) {
24598
+ if ((code4 === 43 || code4 === 45 || code4 === 46 || asciiAlphanumeric(code4)) && size++ < 32) {
24481
24599
  effects.consume(code4);
24482
24600
  return schemeInsideOrEmailAtext;
24483
24601
  }
@@ -24493,7 +24611,7 @@ function tokenizeAutolink(effects, ok6, nok) {
24493
24611
  effects.exit("autolink");
24494
24612
  return ok6;
24495
24613
  }
24496
- if (code4 === null || code4 === 32 || code4 === 60 || asciiControl2(code4)) {
24614
+ if (code4 === null || code4 === 32 || code4 === 60 || asciiControl(code4)) {
24497
24615
  return nok(code4);
24498
24616
  }
24499
24617
  effects.consume(code4);
@@ -24504,14 +24622,14 @@ function tokenizeAutolink(effects, ok6, nok) {
24504
24622
  effects.consume(code4);
24505
24623
  return emailAtSignOrDot;
24506
24624
  }
24507
- if (asciiAtext12(code4)) {
24625
+ if (asciiAtext(code4)) {
24508
24626
  effects.consume(code4);
24509
24627
  return emailAtext;
24510
24628
  }
24511
24629
  return nok(code4);
24512
24630
  }
24513
24631
  function emailAtSignOrDot(code4) {
24514
- return asciiAlphanumeric12(code4) ? emailLabel(code4) : nok(code4);
24632
+ return asciiAlphanumeric(code4) ? emailLabel(code4) : nok(code4);
24515
24633
  }
24516
24634
  function emailLabel(code4) {
24517
24635
  if (code4 === 46) {
@@ -24530,7 +24648,7 @@ function tokenizeAutolink(effects, ok6, nok) {
24530
24648
  return emailValue(code4);
24531
24649
  }
24532
24650
  function emailValue(code4) {
24533
- if ((code4 === 45 || asciiAlphanumeric12(code4)) && size++ < 63) {
24651
+ if ((code4 === 45 || asciiAlphanumeric(code4)) && size++ < 63) {
24534
24652
  const next = code4 === 45 ? emailValue : emailLabel;
24535
24653
  effects.consume(code4);
24536
24654
  return next;
@@ -24547,10 +24665,10 @@ var blankLine3 = {
24547
24665
  function tokenizeBlankLine3(effects, ok6, nok) {
24548
24666
  return start2;
24549
24667
  function start2(code4) {
24550
- return markdownSpace8(code4) ? factorySpace7(effects, after, "linePrefix")(code4) : after(code4);
24668
+ return markdownSpace(code4) ? factorySpace(effects, after, "linePrefix")(code4) : after(code4);
24551
24669
  }
24552
24670
  function after(code4) {
24553
- return code4 === null || markdownLineEnding9(code4) ? ok6(code4) : nok(code4);
24671
+ return code4 === null || markdownLineEnding(code4) ? ok6(code4) : nok(code4);
24554
24672
  }
24555
24673
  }
24556
24674
 
@@ -24584,7 +24702,7 @@ function tokenizeBlockQuoteStart(effects, ok6, nok) {
24584
24702
  return nok(code4);
24585
24703
  }
24586
24704
  function after(code4) {
24587
- if (markdownSpace8(code4)) {
24705
+ if (markdownSpace(code4)) {
24588
24706
  effects.enter("blockQuotePrefixWhitespace");
24589
24707
  effects.consume(code4);
24590
24708
  effects.exit("blockQuotePrefixWhitespace");
@@ -24599,8 +24717,8 @@ function tokenizeBlockQuoteContinuation(effects, ok6, nok) {
24599
24717
  const self2 = this;
24600
24718
  return contStart;
24601
24719
  function contStart(code4) {
24602
- if (markdownSpace8(code4)) {
24603
- return factorySpace7(
24720
+ if (markdownSpace(code4)) {
24721
+ return factorySpace(
24604
24722
  effects,
24605
24723
  contBefore,
24606
24724
  "linePrefix",
@@ -24632,7 +24750,7 @@ function tokenizeCharacterEscape(effects, ok6, nok) {
24632
24750
  return inside;
24633
24751
  }
24634
24752
  function inside(code4) {
24635
- if (asciiPunctuation12(code4)) {
24753
+ if (asciiPunctuation(code4)) {
24636
24754
  effects.enter("characterEscapeValue");
24637
24755
  effects.consume(code4);
24638
24756
  effects.exit("characterEscapeValue");
@@ -24670,7 +24788,7 @@ function tokenizeCharacterReference(effects, ok6, nok) {
24670
24788
  }
24671
24789
  effects.enter("characterReferenceValue");
24672
24790
  max = 31;
24673
- test = asciiAlphanumeric12;
24791
+ test = asciiAlphanumeric;
24674
24792
  return value2(code4);
24675
24793
  }
24676
24794
  function numeric(code4) {
@@ -24680,18 +24798,18 @@ function tokenizeCharacterReference(effects, ok6, nok) {
24680
24798
  effects.exit("characterReferenceMarkerHexadecimal");
24681
24799
  effects.enter("characterReferenceValue");
24682
24800
  max = 6;
24683
- test = asciiHexDigit12;
24801
+ test = asciiHexDigit;
24684
24802
  return value2;
24685
24803
  }
24686
24804
  effects.enter("characterReferenceValue");
24687
24805
  max = 7;
24688
- test = asciiDigit12;
24806
+ test = asciiDigit;
24689
24807
  return value2(code4);
24690
24808
  }
24691
24809
  function value2(code4) {
24692
24810
  if (code4 === 59 && size) {
24693
24811
  const token = effects.exit("characterReferenceValue");
24694
- if (test === asciiAlphanumeric12 && !decodeNamedCharacterReference(self2.sliceSerialize(token))) {
24812
+ if (test === asciiAlphanumeric && !decodeNamedCharacterReference(self2.sliceSerialize(token))) {
24695
24813
  return nok(code4);
24696
24814
  }
24697
24815
  effects.enter("characterReferenceMarker");
@@ -24709,8 +24827,8 @@ function tokenizeCharacterReference(effects, ok6, nok) {
24709
24827
  }
24710
24828
 
24711
24829
  // node_modules/micromark/node_modules/micromark-core-commonmark/lib/code-fenced.js
24712
- var nonLazyContinuation = {
24713
- tokenize: tokenizeNonLazyContinuation,
24830
+ var nonLazyContinuation2 = {
24831
+ tokenize: tokenizeNonLazyContinuation2,
24714
24832
  partial: true
24715
24833
  };
24716
24834
  var codeFenced = {
@@ -24750,12 +24868,12 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24750
24868
  return nok(code4);
24751
24869
  }
24752
24870
  effects.exit("codeFencedFenceSequence");
24753
- return markdownSpace8(code4) ? factorySpace7(effects, infoBefore, "whitespace")(code4) : infoBefore(code4);
24871
+ return markdownSpace(code4) ? factorySpace(effects, infoBefore, "whitespace")(code4) : infoBefore(code4);
24754
24872
  }
24755
24873
  function infoBefore(code4) {
24756
- if (code4 === null || markdownLineEnding9(code4)) {
24874
+ if (code4 === null || markdownLineEnding(code4)) {
24757
24875
  effects.exit("codeFencedFence");
24758
- return self2.interrupt ? ok6(code4) : effects.check(nonLazyContinuation, atNonLazyBreak, after)(code4);
24876
+ return self2.interrupt ? ok6(code4) : effects.check(nonLazyContinuation2, atNonLazyBreak, after)(code4);
24759
24877
  }
24760
24878
  effects.enter("codeFencedFenceInfo");
24761
24879
  effects.enter("chunkString", {
@@ -24764,15 +24882,15 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24764
24882
  return info(code4);
24765
24883
  }
24766
24884
  function info(code4) {
24767
- if (code4 === null || markdownLineEnding9(code4)) {
24885
+ if (code4 === null || markdownLineEnding(code4)) {
24768
24886
  effects.exit("chunkString");
24769
24887
  effects.exit("codeFencedFenceInfo");
24770
24888
  return infoBefore(code4);
24771
24889
  }
24772
- if (markdownSpace8(code4)) {
24890
+ if (markdownSpace(code4)) {
24773
24891
  effects.exit("chunkString");
24774
24892
  effects.exit("codeFencedFenceInfo");
24775
- return factorySpace7(effects, metaBefore, "whitespace")(code4);
24893
+ return factorySpace(effects, metaBefore, "whitespace")(code4);
24776
24894
  }
24777
24895
  if (code4 === 96 && code4 === marker) {
24778
24896
  return nok(code4);
@@ -24781,7 +24899,7 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24781
24899
  return info;
24782
24900
  }
24783
24901
  function metaBefore(code4) {
24784
- if (code4 === null || markdownLineEnding9(code4)) {
24902
+ if (code4 === null || markdownLineEnding(code4)) {
24785
24903
  return infoBefore(code4);
24786
24904
  }
24787
24905
  effects.enter("codeFencedFenceMeta");
@@ -24791,7 +24909,7 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24791
24909
  return meta(code4);
24792
24910
  }
24793
24911
  function meta(code4) {
24794
- if (code4 === null || markdownLineEnding9(code4)) {
24912
+ if (code4 === null || markdownLineEnding(code4)) {
24795
24913
  effects.exit("chunkString");
24796
24914
  effects.exit("codeFencedFenceMeta");
24797
24915
  return infoBefore(code4);
@@ -24812,7 +24930,7 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24812
24930
  return contentStart;
24813
24931
  }
24814
24932
  function contentStart(code4) {
24815
- return initialPrefix > 0 && markdownSpace8(code4) ? factorySpace7(
24933
+ return initialPrefix > 0 && markdownSpace(code4) ? factorySpace(
24816
24934
  effects,
24817
24935
  beforeContentChunk,
24818
24936
  "linePrefix",
@@ -24820,14 +24938,14 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24820
24938
  )(code4) : beforeContentChunk(code4);
24821
24939
  }
24822
24940
  function beforeContentChunk(code4) {
24823
- if (code4 === null || markdownLineEnding9(code4)) {
24824
- return effects.check(nonLazyContinuation, atNonLazyBreak, after)(code4);
24941
+ if (code4 === null || markdownLineEnding(code4)) {
24942
+ return effects.check(nonLazyContinuation2, atNonLazyBreak, after)(code4);
24825
24943
  }
24826
24944
  effects.enter("codeFlowValue");
24827
24945
  return contentChunk(code4);
24828
24946
  }
24829
24947
  function contentChunk(code4) {
24830
- if (code4 === null || markdownLineEnding9(code4)) {
24948
+ if (code4 === null || markdownLineEnding(code4)) {
24831
24949
  effects.exit("codeFlowValue");
24832
24950
  return beforeContentChunk(code4);
24833
24951
  }
@@ -24849,7 +24967,7 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24849
24967
  }
24850
24968
  function start3(code4) {
24851
24969
  effects2.enter("codeFencedFence");
24852
- return markdownSpace8(code4) ? factorySpace7(
24970
+ return markdownSpace(code4) ? factorySpace(
24853
24971
  effects2,
24854
24972
  beforeSequenceClose,
24855
24973
  "linePrefix",
@@ -24871,12 +24989,12 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24871
24989
  }
24872
24990
  if (size >= sizeOpen) {
24873
24991
  effects2.exit("codeFencedFenceSequence");
24874
- return markdownSpace8(code4) ? factorySpace7(effects2, sequenceCloseAfter, "whitespace")(code4) : sequenceCloseAfter(code4);
24992
+ return markdownSpace(code4) ? factorySpace(effects2, sequenceCloseAfter, "whitespace")(code4) : sequenceCloseAfter(code4);
24875
24993
  }
24876
24994
  return nok2(code4);
24877
24995
  }
24878
24996
  function sequenceCloseAfter(code4) {
24879
- if (code4 === null || markdownLineEnding9(code4)) {
24997
+ if (code4 === null || markdownLineEnding(code4)) {
24880
24998
  effects2.exit("codeFencedFence");
24881
24999
  return ok7(code4);
24882
25000
  }
@@ -24884,7 +25002,7 @@ function tokenizeCodeFenced(effects, ok6, nok) {
24884
25002
  }
24885
25003
  }
24886
25004
  }
24887
- function tokenizeNonLazyContinuation(effects, ok6, nok) {
25005
+ function tokenizeNonLazyContinuation2(effects, ok6, nok) {
24888
25006
  const self2 = this;
24889
25007
  return start2;
24890
25008
  function start2(code4) {
@@ -24915,7 +25033,7 @@ function tokenizeCodeIndented(effects, ok6, nok) {
24915
25033
  return start2;
24916
25034
  function start2(code4) {
24917
25035
  effects.enter("codeIndented");
24918
- return factorySpace7(effects, afterPrefix, "linePrefix", 4 + 1)(code4);
25036
+ return factorySpace(effects, afterPrefix, "linePrefix", 4 + 1)(code4);
24919
25037
  }
24920
25038
  function afterPrefix(code4) {
24921
25039
  const tail = self2.events[self2.events.length - 1];
@@ -24925,14 +25043,14 @@ function tokenizeCodeIndented(effects, ok6, nok) {
24925
25043
  if (code4 === null) {
24926
25044
  return after(code4);
24927
25045
  }
24928
- if (markdownLineEnding9(code4)) {
25046
+ if (markdownLineEnding(code4)) {
24929
25047
  return effects.attempt(furtherStart, atBreak, after)(code4);
24930
25048
  }
24931
25049
  effects.enter("codeFlowValue");
24932
25050
  return inside(code4);
24933
25051
  }
24934
25052
  function inside(code4) {
24935
- if (code4 === null || markdownLineEnding9(code4)) {
25053
+ if (code4 === null || markdownLineEnding(code4)) {
24936
25054
  effects.exit("codeFlowValue");
24937
25055
  return atBreak(code4);
24938
25056
  }
@@ -24951,17 +25069,17 @@ function tokenizeFurtherStart(effects, ok6, nok) {
24951
25069
  if (self2.parser.lazy[self2.now().line]) {
24952
25070
  return nok(code4);
24953
25071
  }
24954
- if (markdownLineEnding9(code4)) {
25072
+ if (markdownLineEnding(code4)) {
24955
25073
  effects.enter("lineEnding");
24956
25074
  effects.consume(code4);
24957
25075
  effects.exit("lineEnding");
24958
25076
  return furtherStart2;
24959
25077
  }
24960
- return factorySpace7(effects, afterPrefix, "linePrefix", 4 + 1)(code4);
25078
+ return factorySpace(effects, afterPrefix, "linePrefix", 4 + 1)(code4);
24961
25079
  }
24962
25080
  function afterPrefix(code4) {
24963
25081
  const tail = self2.events[self2.events.length - 1];
24964
- return tail && tail[1].type === "linePrefix" && tail[2].sliceSerialize(tail[1], true).length >= 4 ? ok6(code4) : markdownLineEnding9(code4) ? furtherStart2(code4) : nok(code4);
25082
+ return tail && tail[1].type === "linePrefix" && tail[2].sliceSerialize(tail[1], true).length >= 4 ? ok6(code4) : markdownLineEnding(code4) ? furtherStart2(code4) : nok(code4);
24965
25083
  }
24966
25084
  }
24967
25085
 
@@ -24970,7 +25088,7 @@ var codeText = {
24970
25088
  name: "codeText",
24971
25089
  tokenize: tokenizeCodeText,
24972
25090
  resolve: resolveCodeText,
24973
- previous: previous2
25091
+ previous: previous3
24974
25092
  };
24975
25093
  function resolveCodeText(events) {
24976
25094
  let tailExitIndex = events.length - 4;
@@ -25009,7 +25127,7 @@ function resolveCodeText(events) {
25009
25127
  }
25010
25128
  return events;
25011
25129
  }
25012
- function previous2(code4) {
25130
+ function previous3(code4) {
25013
25131
  return code4 !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
25014
25132
  }
25015
25133
  function tokenizeCodeText(effects, ok6, nok) {
@@ -25047,7 +25165,7 @@ function tokenizeCodeText(effects, ok6, nok) {
25047
25165
  size = 0;
25048
25166
  return sequenceClose(code4);
25049
25167
  }
25050
- if (markdownLineEnding9(code4)) {
25168
+ if (markdownLineEnding(code4)) {
25051
25169
  effects.enter("lineEnding");
25052
25170
  effects.consume(code4);
25053
25171
  effects.exit("lineEnding");
@@ -25057,7 +25175,7 @@ function tokenizeCodeText(effects, ok6, nok) {
25057
25175
  return data2(code4);
25058
25176
  }
25059
25177
  function data2(code4) {
25060
- if (code4 === null || code4 === 32 || code4 === 96 || markdownLineEnding9(code4)) {
25178
+ if (code4 === null || code4 === 32 || code4 === 96 || markdownLineEnding(code4)) {
25061
25179
  effects.exit("codeTextData");
25062
25180
  return between(code4);
25063
25181
  }
@@ -25157,7 +25275,7 @@ function subcontent(events, eventIndex) {
25157
25275
  const jumps = [];
25158
25276
  const gaps = {};
25159
25277
  let stream;
25160
- let previous3;
25278
+ let previous4;
25161
25279
  let index2 = -1;
25162
25280
  let current2 = token;
25163
25281
  let adjust = 0;
@@ -25172,7 +25290,7 @@ function subcontent(events, eventIndex) {
25172
25290
  if (!current2.next) {
25173
25291
  stream.push(null);
25174
25292
  }
25175
- if (previous3) {
25293
+ if (previous4) {
25176
25294
  tokenizer2.defineSkip(current2.start);
25177
25295
  }
25178
25296
  if (current2._isInFirstContentOfListItem) {
@@ -25183,7 +25301,7 @@ function subcontent(events, eventIndex) {
25183
25301
  tokenizer2._gfmTasklistFirstContentOfListItem = void 0;
25184
25302
  }
25185
25303
  }
25186
- previous3 = current2;
25304
+ previous4 = current2;
25187
25305
  current2 = current2.next;
25188
25306
  }
25189
25307
  current2 = token;
@@ -25235,11 +25353,11 @@ function resolveContent(events) {
25235
25353
  return events;
25236
25354
  }
25237
25355
  function tokenizeContent(effects, ok6) {
25238
- let previous3;
25356
+ let previous4;
25239
25357
  return chunkStart;
25240
25358
  function chunkStart(code4) {
25241
25359
  effects.enter("content");
25242
- previous3 = effects.enter("chunkContent", {
25360
+ previous4 = effects.enter("chunkContent", {
25243
25361
  contentType: "content"
25244
25362
  });
25245
25363
  return chunkInside(code4);
@@ -25248,7 +25366,7 @@ function tokenizeContent(effects, ok6) {
25248
25366
  if (code4 === null) {
25249
25367
  return contentEnd(code4);
25250
25368
  }
25251
- if (markdownLineEnding9(code4)) {
25369
+ if (markdownLineEnding(code4)) {
25252
25370
  return effects.check(
25253
25371
  continuationConstruct,
25254
25372
  contentContinue,
@@ -25266,11 +25384,11 @@ function tokenizeContent(effects, ok6) {
25266
25384
  function contentContinue(code4) {
25267
25385
  effects.consume(code4);
25268
25386
  effects.exit("chunkContent");
25269
- previous3.next = effects.enter("chunkContent", {
25387
+ previous4.next = effects.enter("chunkContent", {
25270
25388
  contentType: "content",
25271
- previous: previous3
25389
+ previous: previous4
25272
25390
  });
25273
- previous3 = previous3.next;
25391
+ previous4 = previous4.next;
25274
25392
  return chunkInside;
25275
25393
  }
25276
25394
  }
@@ -25282,10 +25400,10 @@ function tokenizeContinuation(effects, ok6, nok) {
25282
25400
  effects.enter("lineEnding");
25283
25401
  effects.consume(code4);
25284
25402
  effects.exit("lineEnding");
25285
- return factorySpace7(effects, prefixed, "linePrefix");
25403
+ return factorySpace(effects, prefixed, "linePrefix");
25286
25404
  }
25287
25405
  function prefixed(code4) {
25288
- if (code4 === null || markdownLineEnding9(code4)) {
25406
+ if (code4 === null || markdownLineEnding(code4)) {
25289
25407
  return nok(code4);
25290
25408
  }
25291
25409
  const tail = self2.events[self2.events.length - 1];
@@ -25310,7 +25428,7 @@ function factoryDestination(effects, ok6, nok, type, literalType, literalMarkerT
25310
25428
  effects.exit(literalMarkerType);
25311
25429
  return enclosedBefore;
25312
25430
  }
25313
- if (code4 === null || code4 === 32 || code4 === 41 || asciiControl2(code4)) {
25431
+ if (code4 === null || code4 === 32 || code4 === 41 || asciiControl(code4)) {
25314
25432
  return nok(code4);
25315
25433
  }
25316
25434
  effects.enter(type);
@@ -25342,7 +25460,7 @@ function factoryDestination(effects, ok6, nok, type, literalType, literalMarkerT
25342
25460
  effects.exit(stringType);
25343
25461
  return enclosedBefore(code4);
25344
25462
  }
25345
- if (code4 === null || code4 === 60 || markdownLineEnding9(code4)) {
25463
+ if (code4 === null || code4 === 60 || markdownLineEnding(code4)) {
25346
25464
  return nok(code4);
25347
25465
  }
25348
25466
  effects.consume(code4);
@@ -25356,7 +25474,7 @@ function factoryDestination(effects, ok6, nok, type, literalType, literalMarkerT
25356
25474
  return enclosed(code4);
25357
25475
  }
25358
25476
  function raw(code4) {
25359
- if (!balance && (code4 === null || code4 === 41 || markdownLineEndingOrSpace7(code4))) {
25477
+ if (!balance && (code4 === null || code4 === 41 || markdownLineEndingOrSpace(code4))) {
25360
25478
  effects.exit("chunkString");
25361
25479
  effects.exit(stringType);
25362
25480
  effects.exit(rawType);
@@ -25373,7 +25491,7 @@ function factoryDestination(effects, ok6, nok, type, literalType, literalMarkerT
25373
25491
  balance--;
25374
25492
  return raw;
25375
25493
  }
25376
- if (code4 === null || code4 === 32 || code4 === 40 || asciiControl2(code4)) {
25494
+ if (code4 === null || code4 === 32 || code4 === 40 || asciiControl(code4)) {
25377
25495
  return nok(code4);
25378
25496
  }
25379
25497
  effects.consume(code4);
@@ -25419,7 +25537,7 @@ function factoryLabel(effects, ok6, nok, type, markerType, stringType) {
25419
25537
  effects.exit(type);
25420
25538
  return ok6;
25421
25539
  }
25422
- if (markdownLineEnding9(code4)) {
25540
+ if (markdownLineEnding(code4)) {
25423
25541
  effects.enter("lineEnding");
25424
25542
  effects.consume(code4);
25425
25543
  effects.exit("lineEnding");
@@ -25431,13 +25549,13 @@ function factoryLabel(effects, ok6, nok, type, markerType, stringType) {
25431
25549
  return labelInside(code4);
25432
25550
  }
25433
25551
  function labelInside(code4) {
25434
- if (code4 === null || code4 === 91 || code4 === 93 || markdownLineEnding9(code4) || size++ > 999) {
25552
+ if (code4 === null || code4 === 91 || code4 === 93 || markdownLineEnding(code4) || size++ > 999) {
25435
25553
  effects.exit("chunkString");
25436
25554
  return atBreak(code4);
25437
25555
  }
25438
25556
  effects.consume(code4);
25439
25557
  if (!seen)
25440
- seen = !markdownSpace8(code4);
25558
+ seen = !markdownSpace(code4);
25441
25559
  return code4 === 92 ? labelEscape : labelInside;
25442
25560
  }
25443
25561
  function labelEscape(code4) {
@@ -25484,11 +25602,11 @@ function factoryTitle(effects, ok6, nok, type, markerType, stringType) {
25484
25602
  if (code4 === null) {
25485
25603
  return nok(code4);
25486
25604
  }
25487
- if (markdownLineEnding9(code4)) {
25605
+ if (markdownLineEnding(code4)) {
25488
25606
  effects.enter("lineEnding");
25489
25607
  effects.consume(code4);
25490
25608
  effects.exit("lineEnding");
25491
- return factorySpace7(effects, atBreak, "linePrefix");
25609
+ return factorySpace(effects, atBreak, "linePrefix");
25492
25610
  }
25493
25611
  effects.enter("chunkString", {
25494
25612
  contentType: "string"
@@ -25496,7 +25614,7 @@ function factoryTitle(effects, ok6, nok, type, markerType, stringType) {
25496
25614
  return inside(code4);
25497
25615
  }
25498
25616
  function inside(code4) {
25499
- if (code4 === marker || code4 === null || markdownLineEnding9(code4)) {
25617
+ if (code4 === marker || code4 === null || markdownLineEnding(code4)) {
25500
25618
  effects.exit("chunkString");
25501
25619
  return atBreak(code4);
25502
25620
  }
@@ -25517,15 +25635,15 @@ function factoryWhitespace(effects, ok6) {
25517
25635
  let seen;
25518
25636
  return start2;
25519
25637
  function start2(code4) {
25520
- if (markdownLineEnding9(code4)) {
25638
+ if (markdownLineEnding(code4)) {
25521
25639
  effects.enter("lineEnding");
25522
25640
  effects.consume(code4);
25523
25641
  effects.exit("lineEnding");
25524
25642
  seen = true;
25525
25643
  return start2;
25526
25644
  }
25527
- if (markdownSpace8(code4)) {
25528
- return factorySpace7(
25645
+ if (markdownSpace(code4)) {
25646
+ return factorySpace(
25529
25647
  effects,
25530
25648
  start2,
25531
25649
  seen ? "linePrefix" : "lineSuffix"
@@ -25577,7 +25695,7 @@ function tokenizeDefinition(effects, ok6, nok) {
25577
25695
  return nok(code4);
25578
25696
  }
25579
25697
  function markerAfter(code4) {
25580
- return markdownLineEndingOrSpace7(code4) ? factoryWhitespace(effects, destinationBefore)(code4) : destinationBefore(code4);
25698
+ return markdownLineEndingOrSpace(code4) ? factoryWhitespace(effects, destinationBefore)(code4) : destinationBefore(code4);
25581
25699
  }
25582
25700
  function destinationBefore(code4) {
25583
25701
  return factoryDestination(
@@ -25596,10 +25714,10 @@ function tokenizeDefinition(effects, ok6, nok) {
25596
25714
  return effects.attempt(titleBefore, after, after)(code4);
25597
25715
  }
25598
25716
  function after(code4) {
25599
- return markdownSpace8(code4) ? factorySpace7(effects, afterWhitespace, "whitespace")(code4) : afterWhitespace(code4);
25717
+ return markdownSpace(code4) ? factorySpace(effects, afterWhitespace, "whitespace")(code4) : afterWhitespace(code4);
25600
25718
  }
25601
25719
  function afterWhitespace(code4) {
25602
- if (code4 === null || markdownLineEnding9(code4)) {
25720
+ if (code4 === null || markdownLineEnding(code4)) {
25603
25721
  effects.exit("definition");
25604
25722
  self2.parser.defined.push(identifier);
25605
25723
  return ok6(code4);
@@ -25610,7 +25728,7 @@ function tokenizeDefinition(effects, ok6, nok) {
25610
25728
  function tokenizeTitleBefore(effects, ok6, nok) {
25611
25729
  return titleBefore2;
25612
25730
  function titleBefore2(code4) {
25613
- return markdownLineEndingOrSpace7(code4) ? factoryWhitespace(effects, beforeMarker)(code4) : nok(code4);
25731
+ return markdownLineEndingOrSpace(code4) ? factoryWhitespace(effects, beforeMarker)(code4) : nok(code4);
25614
25732
  }
25615
25733
  function beforeMarker(code4) {
25616
25734
  return factoryTitle(
@@ -25623,10 +25741,10 @@ function tokenizeTitleBefore(effects, ok6, nok) {
25623
25741
  )(code4);
25624
25742
  }
25625
25743
  function titleAfter(code4) {
25626
- return markdownSpace8(code4) ? factorySpace7(effects, titleAfterOptionalWhitespace, "whitespace")(code4) : titleAfterOptionalWhitespace(code4);
25744
+ return markdownSpace(code4) ? factorySpace(effects, titleAfterOptionalWhitespace, "whitespace")(code4) : titleAfterOptionalWhitespace(code4);
25627
25745
  }
25628
25746
  function titleAfterOptionalWhitespace(code4) {
25629
- return code4 === null || markdownLineEnding9(code4) ? ok6(code4) : nok(code4);
25747
+ return code4 === null || markdownLineEnding(code4) ? ok6(code4) : nok(code4);
25630
25748
  }
25631
25749
  }
25632
25750
 
@@ -25643,7 +25761,7 @@ function tokenizeHardBreakEscape(effects, ok6, nok) {
25643
25761
  return after;
25644
25762
  }
25645
25763
  function after(code4) {
25646
- if (markdownLineEnding9(code4)) {
25764
+ if (markdownLineEnding(code4)) {
25647
25765
  effects.exit("hardBreakEscape");
25648
25766
  return ok6(code4);
25649
25767
  }
@@ -25708,7 +25826,7 @@ function tokenizeHeadingAtx(effects, ok6, nok) {
25708
25826
  effects.consume(code4);
25709
25827
  return sequenceOpen;
25710
25828
  }
25711
- if (code4 === null || markdownLineEndingOrSpace7(code4)) {
25829
+ if (code4 === null || markdownLineEndingOrSpace(code4)) {
25712
25830
  effects.exit("atxHeadingSequence");
25713
25831
  return atBreak(code4);
25714
25832
  }
@@ -25719,12 +25837,12 @@ function tokenizeHeadingAtx(effects, ok6, nok) {
25719
25837
  effects.enter("atxHeadingSequence");
25720
25838
  return sequenceFurther(code4);
25721
25839
  }
25722
- if (code4 === null || markdownLineEnding9(code4)) {
25840
+ if (code4 === null || markdownLineEnding(code4)) {
25723
25841
  effects.exit("atxHeading");
25724
25842
  return ok6(code4);
25725
25843
  }
25726
- if (markdownSpace8(code4)) {
25727
- return factorySpace7(effects, atBreak, "whitespace")(code4);
25844
+ if (markdownSpace(code4)) {
25845
+ return factorySpace(effects, atBreak, "whitespace")(code4);
25728
25846
  }
25729
25847
  effects.enter("atxHeadingText");
25730
25848
  return data2(code4);
@@ -25738,7 +25856,7 @@ function tokenizeHeadingAtx(effects, ok6, nok) {
25738
25856
  return atBreak(code4);
25739
25857
  }
25740
25858
  function data2(code4) {
25741
- if (code4 === null || code4 === 35 || markdownLineEndingOrSpace7(code4)) {
25859
+ if (code4 === null || code4 === 35 || markdownLineEndingOrSpace(code4)) {
25742
25860
  effects.exit("atxHeadingText");
25743
25861
  return atBreak(code4);
25744
25862
  }
@@ -25875,7 +25993,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25875
25993
  marker = 3;
25876
25994
  return self2.interrupt ? ok6 : continuationDeclarationInside;
25877
25995
  }
25878
- if (asciiAlpha12(code4)) {
25996
+ if (asciiAlpha(code4)) {
25879
25997
  effects.consume(code4);
25880
25998
  buffer = String.fromCharCode(code4);
25881
25999
  return tagName;
@@ -25894,7 +26012,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25894
26012
  index2 = 0;
25895
26013
  return cdataOpenInside;
25896
26014
  }
25897
- if (asciiAlpha12(code4)) {
26015
+ if (asciiAlpha(code4)) {
25898
26016
  effects.consume(code4);
25899
26017
  marker = 4;
25900
26018
  return self2.interrupt ? ok6 : continuationDeclarationInside;
@@ -25920,7 +26038,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25920
26038
  return nok(code4);
25921
26039
  }
25922
26040
  function tagCloseStart(code4) {
25923
- if (asciiAlpha12(code4)) {
26041
+ if (asciiAlpha(code4)) {
25924
26042
  effects.consume(code4);
25925
26043
  buffer = String.fromCharCode(code4);
25926
26044
  return tagName;
@@ -25928,7 +26046,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25928
26046
  return nok(code4);
25929
26047
  }
25930
26048
  function tagName(code4) {
25931
- if (code4 === null || code4 === 47 || code4 === 62 || markdownLineEndingOrSpace7(code4)) {
26049
+ if (code4 === null || code4 === 47 || code4 === 62 || markdownLineEndingOrSpace(code4)) {
25932
26050
  const slash = code4 === 47;
25933
26051
  const name2 = buffer.toLowerCase();
25934
26052
  if (!slash && !closingTag && htmlRawNames.includes(name2)) {
@@ -25946,7 +26064,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25946
26064
  marker = 7;
25947
26065
  return self2.interrupt && !self2.parser.lazy[self2.now().line] ? nok(code4) : closingTag ? completeClosingTagAfter(code4) : completeAttributeNameBefore(code4);
25948
26066
  }
25949
- if (code4 === 45 || asciiAlphanumeric12(code4)) {
26067
+ if (code4 === 45 || asciiAlphanumeric(code4)) {
25950
26068
  effects.consume(code4);
25951
26069
  buffer += String.fromCharCode(code4);
25952
26070
  return tagName;
@@ -25961,7 +26079,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25961
26079
  return nok(code4);
25962
26080
  }
25963
26081
  function completeClosingTagAfter(code4) {
25964
- if (markdownSpace8(code4)) {
26082
+ if (markdownSpace(code4)) {
25965
26083
  effects.consume(code4);
25966
26084
  return completeClosingTagAfter;
25967
26085
  }
@@ -25972,18 +26090,18 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25972
26090
  effects.consume(code4);
25973
26091
  return completeEnd;
25974
26092
  }
25975
- if (code4 === 58 || code4 === 95 || asciiAlpha12(code4)) {
26093
+ if (code4 === 58 || code4 === 95 || asciiAlpha(code4)) {
25976
26094
  effects.consume(code4);
25977
26095
  return completeAttributeName;
25978
26096
  }
25979
- if (markdownSpace8(code4)) {
26097
+ if (markdownSpace(code4)) {
25980
26098
  effects.consume(code4);
25981
26099
  return completeAttributeNameBefore;
25982
26100
  }
25983
26101
  return completeEnd(code4);
25984
26102
  }
25985
26103
  function completeAttributeName(code4) {
25986
- if (code4 === 45 || code4 === 46 || code4 === 58 || code4 === 95 || asciiAlphanumeric12(code4)) {
26104
+ if (code4 === 45 || code4 === 46 || code4 === 58 || code4 === 95 || asciiAlphanumeric(code4)) {
25987
26105
  effects.consume(code4);
25988
26106
  return completeAttributeName;
25989
26107
  }
@@ -25994,7 +26112,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
25994
26112
  effects.consume(code4);
25995
26113
  return completeAttributeValueBefore;
25996
26114
  }
25997
- if (markdownSpace8(code4)) {
26115
+ if (markdownSpace(code4)) {
25998
26116
  effects.consume(code4);
25999
26117
  return completeAttributeNameAfter;
26000
26118
  }
@@ -26009,7 +26127,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26009
26127
  markerB = code4;
26010
26128
  return completeAttributeValueQuoted;
26011
26129
  }
26012
- if (markdownSpace8(code4)) {
26130
+ if (markdownSpace(code4)) {
26013
26131
  effects.consume(code4);
26014
26132
  return completeAttributeValueBefore;
26015
26133
  }
@@ -26021,21 +26139,21 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26021
26139
  markerB = null;
26022
26140
  return completeAttributeValueQuotedAfter;
26023
26141
  }
26024
- if (code4 === null || markdownLineEnding9(code4)) {
26142
+ if (code4 === null || markdownLineEnding(code4)) {
26025
26143
  return nok(code4);
26026
26144
  }
26027
26145
  effects.consume(code4);
26028
26146
  return completeAttributeValueQuoted;
26029
26147
  }
26030
26148
  function completeAttributeValueUnquoted(code4) {
26031
- if (code4 === null || code4 === 34 || code4 === 39 || code4 === 47 || code4 === 60 || code4 === 61 || code4 === 62 || code4 === 96 || markdownLineEndingOrSpace7(code4)) {
26149
+ if (code4 === null || code4 === 34 || code4 === 39 || code4 === 47 || code4 === 60 || code4 === 61 || code4 === 62 || code4 === 96 || markdownLineEndingOrSpace(code4)) {
26032
26150
  return completeAttributeNameAfter(code4);
26033
26151
  }
26034
26152
  effects.consume(code4);
26035
26153
  return completeAttributeValueUnquoted;
26036
26154
  }
26037
26155
  function completeAttributeValueQuotedAfter(code4) {
26038
- if (code4 === 47 || code4 === 62 || markdownSpace8(code4)) {
26156
+ if (code4 === 47 || code4 === 62 || markdownSpace(code4)) {
26039
26157
  return completeAttributeNameBefore(code4);
26040
26158
  }
26041
26159
  return nok(code4);
@@ -26048,10 +26166,10 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26048
26166
  return nok(code4);
26049
26167
  }
26050
26168
  function completeAfter(code4) {
26051
- if (code4 === null || markdownLineEnding9(code4)) {
26169
+ if (code4 === null || markdownLineEnding(code4)) {
26052
26170
  return continuation(code4);
26053
26171
  }
26054
- if (markdownSpace8(code4)) {
26172
+ if (markdownSpace(code4)) {
26055
26173
  effects.consume(code4);
26056
26174
  return completeAfter;
26057
26175
  }
@@ -26078,7 +26196,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26078
26196
  effects.consume(code4);
26079
26197
  return continuationCdataInside;
26080
26198
  }
26081
- if (markdownLineEnding9(code4) && (marker === 6 || marker === 7)) {
26199
+ if (markdownLineEnding(code4) && (marker === 6 || marker === 7)) {
26082
26200
  effects.exit("htmlFlowData");
26083
26201
  return effects.check(
26084
26202
  blankLineBefore2,
@@ -26086,7 +26204,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26086
26204
  continuationStart
26087
26205
  )(code4);
26088
26206
  }
26089
- if (code4 === null || markdownLineEnding9(code4)) {
26207
+ if (code4 === null || markdownLineEnding(code4)) {
26090
26208
  effects.exit("htmlFlowData");
26091
26209
  return continuationStart(code4);
26092
26210
  }
@@ -26107,7 +26225,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26107
26225
  return continuationBefore;
26108
26226
  }
26109
26227
  function continuationBefore(code4) {
26110
- if (code4 === null || markdownLineEnding9(code4)) {
26228
+ if (code4 === null || markdownLineEnding(code4)) {
26111
26229
  return continuationStart(code4);
26112
26230
  }
26113
26231
  effects.enter("htmlFlowData");
@@ -26137,7 +26255,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26137
26255
  }
26138
26256
  return continuation(code4);
26139
26257
  }
26140
- if (asciiAlpha12(code4) && buffer.length < 8) {
26258
+ if (asciiAlpha(code4) && buffer.length < 8) {
26141
26259
  effects.consume(code4);
26142
26260
  buffer += String.fromCharCode(code4);
26143
26261
  return continuationRawEndTag;
@@ -26163,7 +26281,7 @@ function tokenizeHtmlFlow(effects, ok6, nok) {
26163
26281
  return continuation(code4);
26164
26282
  }
26165
26283
  function continuationClose(code4) {
26166
- if (code4 === null || markdownLineEnding9(code4)) {
26284
+ if (code4 === null || markdownLineEnding(code4)) {
26167
26285
  effects.exit("htmlFlowData");
26168
26286
  return continuationAfter(code4);
26169
26287
  }
@@ -26179,7 +26297,7 @@ function tokenizeNonLazyContinuationStart(effects, ok6, nok) {
26179
26297
  const self2 = this;
26180
26298
  return start2;
26181
26299
  function start2(code4) {
26182
- if (markdownLineEnding9(code4)) {
26300
+ if (markdownLineEnding(code4)) {
26183
26301
  effects.enter("lineEnding");
26184
26302
  effects.consume(code4);
26185
26303
  effects.exit("lineEnding");
@@ -26231,7 +26349,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26231
26349
  effects.consume(code4);
26232
26350
  return instruction;
26233
26351
  }
26234
- if (asciiAlpha12(code4)) {
26352
+ if (asciiAlpha(code4)) {
26235
26353
  effects.consume(code4);
26236
26354
  return tagOpen;
26237
26355
  }
@@ -26247,7 +26365,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26247
26365
  index2 = 0;
26248
26366
  return cdataOpenInside;
26249
26367
  }
26250
- if (asciiAlpha12(code4)) {
26368
+ if (asciiAlpha(code4)) {
26251
26369
  effects.consume(code4);
26252
26370
  return declaration;
26253
26371
  }
@@ -26268,7 +26386,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26268
26386
  effects.consume(code4);
26269
26387
  return commentClose;
26270
26388
  }
26271
- if (markdownLineEnding9(code4)) {
26389
+ if (markdownLineEnding(code4)) {
26272
26390
  returnState = comment;
26273
26391
  return lineEndingBefore(code4);
26274
26392
  }
@@ -26301,7 +26419,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26301
26419
  effects.consume(code4);
26302
26420
  return cdataClose;
26303
26421
  }
26304
- if (markdownLineEnding9(code4)) {
26422
+ if (markdownLineEnding(code4)) {
26305
26423
  returnState = cdata;
26306
26424
  return lineEndingBefore(code4);
26307
26425
  }
@@ -26329,7 +26447,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26329
26447
  if (code4 === null || code4 === 62) {
26330
26448
  return end(code4);
26331
26449
  }
26332
- if (markdownLineEnding9(code4)) {
26450
+ if (markdownLineEnding(code4)) {
26333
26451
  returnState = declaration;
26334
26452
  return lineEndingBefore(code4);
26335
26453
  }
@@ -26344,7 +26462,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26344
26462
  effects.consume(code4);
26345
26463
  return instructionClose;
26346
26464
  }
26347
- if (markdownLineEnding9(code4)) {
26465
+ if (markdownLineEnding(code4)) {
26348
26466
  returnState = instruction;
26349
26467
  return lineEndingBefore(code4);
26350
26468
  }
@@ -26355,36 +26473,36 @@ function tokenizeHtmlText(effects, ok6, nok) {
26355
26473
  return code4 === 62 ? end(code4) : instruction(code4);
26356
26474
  }
26357
26475
  function tagCloseStart(code4) {
26358
- if (asciiAlpha12(code4)) {
26476
+ if (asciiAlpha(code4)) {
26359
26477
  effects.consume(code4);
26360
26478
  return tagClose;
26361
26479
  }
26362
26480
  return nok(code4);
26363
26481
  }
26364
26482
  function tagClose(code4) {
26365
- if (code4 === 45 || asciiAlphanumeric12(code4)) {
26483
+ if (code4 === 45 || asciiAlphanumeric(code4)) {
26366
26484
  effects.consume(code4);
26367
26485
  return tagClose;
26368
26486
  }
26369
26487
  return tagCloseBetween(code4);
26370
26488
  }
26371
26489
  function tagCloseBetween(code4) {
26372
- if (markdownLineEnding9(code4)) {
26490
+ if (markdownLineEnding(code4)) {
26373
26491
  returnState = tagCloseBetween;
26374
26492
  return lineEndingBefore(code4);
26375
26493
  }
26376
- if (markdownSpace8(code4)) {
26494
+ if (markdownSpace(code4)) {
26377
26495
  effects.consume(code4);
26378
26496
  return tagCloseBetween;
26379
26497
  }
26380
26498
  return end(code4);
26381
26499
  }
26382
26500
  function tagOpen(code4) {
26383
- if (code4 === 45 || asciiAlphanumeric12(code4)) {
26501
+ if (code4 === 45 || asciiAlphanumeric(code4)) {
26384
26502
  effects.consume(code4);
26385
26503
  return tagOpen;
26386
26504
  }
26387
- if (code4 === 47 || code4 === 62 || markdownLineEndingOrSpace7(code4)) {
26505
+ if (code4 === 47 || code4 === 62 || markdownLineEndingOrSpace(code4)) {
26388
26506
  return tagOpenBetween(code4);
26389
26507
  }
26390
26508
  return nok(code4);
@@ -26394,22 +26512,22 @@ function tokenizeHtmlText(effects, ok6, nok) {
26394
26512
  effects.consume(code4);
26395
26513
  return end;
26396
26514
  }
26397
- if (code4 === 58 || code4 === 95 || asciiAlpha12(code4)) {
26515
+ if (code4 === 58 || code4 === 95 || asciiAlpha(code4)) {
26398
26516
  effects.consume(code4);
26399
26517
  return tagOpenAttributeName;
26400
26518
  }
26401
- if (markdownLineEnding9(code4)) {
26519
+ if (markdownLineEnding(code4)) {
26402
26520
  returnState = tagOpenBetween;
26403
26521
  return lineEndingBefore(code4);
26404
26522
  }
26405
- if (markdownSpace8(code4)) {
26523
+ if (markdownSpace(code4)) {
26406
26524
  effects.consume(code4);
26407
26525
  return tagOpenBetween;
26408
26526
  }
26409
26527
  return end(code4);
26410
26528
  }
26411
26529
  function tagOpenAttributeName(code4) {
26412
- if (code4 === 45 || code4 === 46 || code4 === 58 || code4 === 95 || asciiAlphanumeric12(code4)) {
26530
+ if (code4 === 45 || code4 === 46 || code4 === 58 || code4 === 95 || asciiAlphanumeric(code4)) {
26413
26531
  effects.consume(code4);
26414
26532
  return tagOpenAttributeName;
26415
26533
  }
@@ -26420,11 +26538,11 @@ function tokenizeHtmlText(effects, ok6, nok) {
26420
26538
  effects.consume(code4);
26421
26539
  return tagOpenAttributeValueBefore;
26422
26540
  }
26423
- if (markdownLineEnding9(code4)) {
26541
+ if (markdownLineEnding(code4)) {
26424
26542
  returnState = tagOpenAttributeNameAfter;
26425
26543
  return lineEndingBefore(code4);
26426
26544
  }
26427
- if (markdownSpace8(code4)) {
26545
+ if (markdownSpace(code4)) {
26428
26546
  effects.consume(code4);
26429
26547
  return tagOpenAttributeNameAfter;
26430
26548
  }
@@ -26439,11 +26557,11 @@ function tokenizeHtmlText(effects, ok6, nok) {
26439
26557
  marker = code4;
26440
26558
  return tagOpenAttributeValueQuoted;
26441
26559
  }
26442
- if (markdownLineEnding9(code4)) {
26560
+ if (markdownLineEnding(code4)) {
26443
26561
  returnState = tagOpenAttributeValueBefore;
26444
26562
  return lineEndingBefore(code4);
26445
26563
  }
26446
- if (markdownSpace8(code4)) {
26564
+ if (markdownSpace(code4)) {
26447
26565
  effects.consume(code4);
26448
26566
  return tagOpenAttributeValueBefore;
26449
26567
  }
@@ -26459,7 +26577,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26459
26577
  if (code4 === null) {
26460
26578
  return nok(code4);
26461
26579
  }
26462
- if (markdownLineEnding9(code4)) {
26580
+ if (markdownLineEnding(code4)) {
26463
26581
  returnState = tagOpenAttributeValueQuoted;
26464
26582
  return lineEndingBefore(code4);
26465
26583
  }
@@ -26470,14 +26588,14 @@ function tokenizeHtmlText(effects, ok6, nok) {
26470
26588
  if (code4 === null || code4 === 34 || code4 === 39 || code4 === 60 || code4 === 61 || code4 === 96) {
26471
26589
  return nok(code4);
26472
26590
  }
26473
- if (code4 === 47 || code4 === 62 || markdownLineEndingOrSpace7(code4)) {
26591
+ if (code4 === 47 || code4 === 62 || markdownLineEndingOrSpace(code4)) {
26474
26592
  return tagOpenBetween(code4);
26475
26593
  }
26476
26594
  effects.consume(code4);
26477
26595
  return tagOpenAttributeValueUnquoted;
26478
26596
  }
26479
26597
  function tagOpenAttributeValueQuotedAfter(code4) {
26480
- if (code4 === 47 || code4 === 62 || markdownLineEndingOrSpace7(code4)) {
26598
+ if (code4 === 47 || code4 === 62 || markdownLineEndingOrSpace(code4)) {
26481
26599
  return tagOpenBetween(code4);
26482
26600
  }
26483
26601
  return nok(code4);
@@ -26499,7 +26617,7 @@ function tokenizeHtmlText(effects, ok6, nok) {
26499
26617
  return lineEndingAfter;
26500
26618
  }
26501
26619
  function lineEndingAfter(code4) {
26502
- return markdownSpace8(code4) ? factorySpace7(
26620
+ return markdownSpace(code4) ? factorySpace(
26503
26621
  effects,
26504
26622
  lineEndingAfterPrefix,
26505
26623
  "linePrefix",
@@ -26684,7 +26802,7 @@ function tokenizeResource(effects, ok6, nok) {
26684
26802
  return resourceBefore;
26685
26803
  }
26686
26804
  function resourceBefore(code4) {
26687
- return markdownLineEndingOrSpace7(code4) ? factoryWhitespace(effects, resourceOpen)(code4) : resourceOpen(code4);
26805
+ return markdownLineEndingOrSpace(code4) ? factoryWhitespace(effects, resourceOpen)(code4) : resourceOpen(code4);
26688
26806
  }
26689
26807
  function resourceOpen(code4) {
26690
26808
  if (code4 === 41) {
@@ -26703,7 +26821,7 @@ function tokenizeResource(effects, ok6, nok) {
26703
26821
  )(code4);
26704
26822
  }
26705
26823
  function resourceDestinationAfter(code4) {
26706
- return markdownLineEndingOrSpace7(code4) ? factoryWhitespace(effects, resourceBetween)(code4) : resourceEnd(code4);
26824
+ return markdownLineEndingOrSpace(code4) ? factoryWhitespace(effects, resourceBetween)(code4) : resourceEnd(code4);
26707
26825
  }
26708
26826
  function resourceDestinationMissing(code4) {
26709
26827
  return nok(code4);
@@ -26722,7 +26840,7 @@ function tokenizeResource(effects, ok6, nok) {
26722
26840
  return resourceEnd(code4);
26723
26841
  }
26724
26842
  function resourceTitleAfter(code4) {
26725
- return markdownLineEndingOrSpace7(code4) ? factoryWhitespace(effects, resourceEnd)(code4) : resourceEnd(code4);
26843
+ return markdownLineEndingOrSpace(code4) ? factoryWhitespace(effects, resourceEnd)(code4) : resourceEnd(code4);
26726
26844
  }
26727
26845
  function resourceEnd(code4) {
26728
26846
  if (code4 === 41) {
@@ -26845,7 +26963,7 @@ function tokenizeLineEnding(effects, ok6) {
26845
26963
  effects.enter("lineEnding");
26846
26964
  effects.consume(code4);
26847
26965
  effects.exit("lineEnding");
26848
- return factorySpace7(effects, ok6, "linePrefix");
26966
+ return factorySpace(effects, ok6, "linePrefix");
26849
26967
  }
26850
26968
  }
26851
26969
 
@@ -26871,7 +26989,7 @@ function tokenizeThematicBreak(effects, ok6, nok) {
26871
26989
  effects.enter("thematicBreakSequence");
26872
26990
  return sequence(code4);
26873
26991
  }
26874
- if (size >= 3 && (code4 === null || markdownLineEnding9(code4))) {
26992
+ if (size >= 3 && (code4 === null || markdownLineEnding(code4))) {
26875
26993
  effects.exit("thematicBreak");
26876
26994
  return ok6(code4);
26877
26995
  }
@@ -26884,7 +27002,7 @@ function tokenizeThematicBreak(effects, ok6, nok) {
26884
27002
  return sequence;
26885
27003
  }
26886
27004
  effects.exit("thematicBreakSequence");
26887
- return markdownSpace8(code4) ? factorySpace7(effects, atBreak, "whitespace")(code4) : atBreak(code4);
27005
+ return markdownSpace(code4) ? factorySpace(effects, atBreak, "whitespace")(code4) : atBreak(code4);
26888
27006
  }
26889
27007
  }
26890
27008
 
@@ -26913,7 +27031,7 @@ function tokenizeListStart(effects, ok6, nok) {
26913
27031
  return start2;
26914
27032
  function start2(code4) {
26915
27033
  const kind = self2.containerState.type || (code4 === 42 || code4 === 43 || code4 === 45 ? "listUnordered" : "listOrdered");
26916
- if (kind === "listUnordered" ? !self2.containerState.marker || code4 === self2.containerState.marker : asciiDigit12(code4)) {
27034
+ if (kind === "listUnordered" ? !self2.containerState.marker || code4 === self2.containerState.marker : asciiDigit(code4)) {
26917
27035
  if (!self2.containerState.type) {
26918
27036
  self2.containerState.type = kind;
26919
27037
  effects.enter(kind, {
@@ -26933,7 +27051,7 @@ function tokenizeListStart(effects, ok6, nok) {
26933
27051
  return nok(code4);
26934
27052
  }
26935
27053
  function inside(code4) {
26936
- if (asciiDigit12(code4) && ++size < 10) {
27054
+ if (asciiDigit(code4) && ++size < 10) {
26937
27055
  effects.consume(code4);
26938
27056
  return inside;
26939
27057
  }
@@ -26965,7 +27083,7 @@ function tokenizeListStart(effects, ok6, nok) {
26965
27083
  return endOfPrefix(code4);
26966
27084
  }
26967
27085
  function otherPrefix(code4) {
26968
- if (markdownSpace8(code4)) {
27086
+ if (markdownSpace(code4)) {
26969
27087
  effects.enter("listItemPrefixWhitespace");
26970
27088
  effects.consume(code4);
26971
27089
  effects.exit("listItemPrefixWhitespace");
@@ -26984,7 +27102,7 @@ function tokenizeListContinuation(effects, ok6, nok) {
26984
27102
  return effects.check(blankLine3, onBlank, notBlank);
26985
27103
  function onBlank(code4) {
26986
27104
  self2.containerState.furtherBlankLines = self2.containerState.furtherBlankLines || self2.containerState.initialBlankLine;
26987
- return factorySpace7(
27105
+ return factorySpace(
26988
27106
  effects,
26989
27107
  ok6,
26990
27108
  "listItemIndent",
@@ -26992,7 +27110,7 @@ function tokenizeListContinuation(effects, ok6, nok) {
26992
27110
  )(code4);
26993
27111
  }
26994
27112
  function notBlank(code4) {
26995
- if (self2.containerState.furtherBlankLines || !markdownSpace8(code4)) {
27113
+ if (self2.containerState.furtherBlankLines || !markdownSpace(code4)) {
26996
27114
  self2.containerState.furtherBlankLines = void 0;
26997
27115
  self2.containerState.initialBlankLine = void 0;
26998
27116
  return notInCurrentItem(code4);
@@ -27004,7 +27122,7 @@ function tokenizeListContinuation(effects, ok6, nok) {
27004
27122
  function notInCurrentItem(code4) {
27005
27123
  self2.containerState._closeFlow = true;
27006
27124
  self2.interrupt = void 0;
27007
- return factorySpace7(
27125
+ return factorySpace(
27008
27126
  effects,
27009
27127
  effects.attempt(list3, ok6, nok),
27010
27128
  "linePrefix",
@@ -27014,7 +27132,7 @@ function tokenizeListContinuation(effects, ok6, nok) {
27014
27132
  }
27015
27133
  function tokenizeIndent2(effects, ok6, nok) {
27016
27134
  const self2 = this;
27017
- return factorySpace7(
27135
+ return factorySpace(
27018
27136
  effects,
27019
27137
  afterPrefix,
27020
27138
  "listItemIndent",
@@ -27030,7 +27148,7 @@ function tokenizeListEnd(effects) {
27030
27148
  }
27031
27149
  function tokenizeListItemPrefixWhitespace(effects, ok6, nok) {
27032
27150
  const self2 = this;
27033
- return factorySpace7(
27151
+ return factorySpace(
27034
27152
  effects,
27035
27153
  afterPrefix,
27036
27154
  "listItemPrefixWhitespace",
@@ -27038,7 +27156,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok6, nok) {
27038
27156
  );
27039
27157
  function afterPrefix(code4) {
27040
27158
  const tail = self2.events[self2.events.length - 1];
27041
- return !markdownSpace8(code4) && tail && tail[1].type === "listItemPrefixWhitespace" ? ok6(code4) : nok(code4);
27159
+ return !markdownSpace(code4) && tail && tail[1].type === "listItemPrefixWhitespace" ? ok6(code4) : nok(code4);
27042
27160
  }
27043
27161
  }
27044
27162
 
@@ -27117,10 +27235,10 @@ function tokenizeSetextUnderline(effects, ok6, nok) {
27117
27235
  return inside;
27118
27236
  }
27119
27237
  effects.exit("setextHeadingLineSequence");
27120
- return markdownSpace8(code4) ? factorySpace7(effects, after, "lineSuffix")(code4) : after(code4);
27238
+ return markdownSpace(code4) ? factorySpace(effects, after, "lineSuffix")(code4) : after(code4);
27121
27239
  }
27122
27240
  function after(code4) {
27123
- if (code4 === null || markdownLineEnding9(code4)) {
27241
+ if (code4 === null || markdownLineEnding(code4)) {
27124
27242
  effects.exit("setextHeadingLine");
27125
27243
  return ok6(code4);
27126
27244
  }
@@ -27142,7 +27260,7 @@ function initializeFlow(effects) {
27142
27260
  effects.attempt(
27143
27261
  this.parser.constructs.flowInitial,
27144
27262
  afterConstruct,
27145
- factorySpace7(
27263
+ factorySpace(
27146
27264
  effects,
27147
27265
  effects.attempt(
27148
27266
  this.parser.constructs.flow,
@@ -27417,7 +27535,7 @@ function createTokenizer(parser, initialize, from) {
27417
27535
  state = state(code4);
27418
27536
  }
27419
27537
  function consume(code4) {
27420
- if (markdownLineEnding9(code4)) {
27538
+ if (markdownLineEnding(code4)) {
27421
27539
  point3.line++;
27422
27540
  point3.column = 1;
27423
27541
  point3.offset += code4 === -3 ? 2 : 1;
@@ -28626,7 +28744,7 @@ function remarkParse(options) {
28626
28744
 
28627
28745
  // src/parse.ts
28628
28746
  var parseMarkdown = (text6) => {
28629
- const remark = unified().use(remarkParse).use(remarkFrontmatter, ["yaml"]).use(remarkGfm).use(remarkMdx);
28747
+ const remark = unified().use(remarkParse).use(remarkFrontmatter, ["yaml"]).use(remarkGfm).use(remarkMdx).use(remarkMath);
28630
28748
  return remark.parse(text6);
28631
28749
  };
28632
28750
  var debug = (0, import_debug.default)("@textlint/markdown-to-ast");