stream-chat-react 13.1.1 → 13.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,7 +61,7 @@ var require_inline_style_parser = __commonJS({
61
61
  var i = str.lastIndexOf(NEWLINE);
62
62
  column = ~i ? str.length - i : column + str.length;
63
63
  }
64
- function position4() {
64
+ function position3() {
65
65
  var start2 = { line: lineno, column };
66
66
  return function(node2) {
67
67
  node2.position = new Position(start2);
@@ -113,7 +113,7 @@ var require_inline_style_parser = __commonJS({
113
113
  return rules;
114
114
  }
115
115
  function comment() {
116
- var pos = position4();
116
+ var pos = position3();
117
117
  if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;
118
118
  var i = 2;
119
119
  while (EMPTY_STRING != style.charAt(i) && (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))) {
@@ -134,7 +134,7 @@ var require_inline_style_parser = __commonJS({
134
134
  });
135
135
  }
136
136
  function declaration() {
137
- var pos = position4();
137
+ var pos = position3();
138
138
  var prop = match(PROPERTY_REGEX);
139
139
  if (!prop) return;
140
140
  comment();
@@ -971,10 +971,10 @@ Schema.prototype.space = null;
971
971
  function merge(definitions, space2) {
972
972
  const property = {};
973
973
  const normal = {};
974
- let index3 = -1;
975
- while (++index3 < definitions.length) {
976
- Object.assign(property, definitions[index3].property);
977
- Object.assign(normal, definitions[index3].normal);
974
+ let index2 = -1;
975
+ while (++index2 < definitions.length) {
976
+ Object.assign(property, definitions[index2].property);
977
+ Object.assign(normal, definitions[index2].normal);
978
978
  }
979
979
  return new Schema(property, normal, space2);
980
980
  }
@@ -1041,13 +1041,13 @@ var DefinedInfo = class extends Info {
1041
1041
  * @param {string} [space]
1042
1042
  */
1043
1043
  constructor(property, attribute, mask, space2) {
1044
- let index3 = -1;
1044
+ let index2 = -1;
1045
1045
  super(property, attribute);
1046
1046
  mark(this, "space", space2);
1047
1047
  if (typeof mask === "number") {
1048
- while (++index3 < checks.length) {
1049
- const check = checks[index3];
1050
- mark(this, checks[index3], (mask & types_exports[check]) === types_exports[check]);
1048
+ while (++index2 < checks.length) {
1049
+ const check = checks[index2];
1050
+ mark(this, checks[index2], (mask & types_exports[check]) === types_exports[check]);
1051
1051
  }
1052
1052
  }
1053
1053
  }
@@ -2185,14 +2185,14 @@ var esm_default = import_cjs.default.default || import_cjs.default;
2185
2185
  var pointEnd = point("end");
2186
2186
  var pointStart = point("start");
2187
2187
  function point(type) {
2188
- return point5;
2189
- function point5(node2) {
2190
- const point6 = node2 && node2.position && node2.position[type] || {};
2191
- if (typeof point6.line === "number" && point6.line > 0 && typeof point6.column === "number" && point6.column > 0) {
2188
+ return point4;
2189
+ function point4(node2) {
2190
+ const point5 = node2 && node2.position && node2.position[type] || {};
2191
+ if (typeof point5.line === "number" && point5.line > 0 && typeof point5.column === "number" && point5.column > 0) {
2192
2192
  return {
2193
- line: point6.line,
2194
- column: point6.column,
2195
- offset: typeof point6.offset === "number" && point6.offset > -1 ? point6.offset : void 0
2193
+ line: point5.line,
2194
+ column: point5.column,
2195
+ offset: typeof point5.offset === "number" && point5.offset > -1 ? point5.offset : void 0
2196
2196
  };
2197
2197
  }
2198
2198
  }
@@ -2205,7 +2205,7 @@ function position(node2) {
2205
2205
  }
2206
2206
  }
2207
2207
 
2208
- // node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js
2208
+ // node_modules/unist-util-stringify-position/lib/index.js
2209
2209
  function stringifyPosition(value) {
2210
2210
  if (!value || typeof value !== "object") {
2211
2211
  return "";
@@ -2221,8 +2221,8 @@ function stringifyPosition(value) {
2221
2221
  }
2222
2222
  return "";
2223
2223
  }
2224
- function point2(point5) {
2225
- return index(point5 && point5.line) + ":" + index(point5 && point5.column);
2224
+ function point2(point4) {
2225
+ return index(point4 && point4.line) + ":" + index(point4 && point4.column);
2226
2226
  }
2227
2227
  function position2(pos) {
2228
2228
  return point2(pos && pos.start) + "-" + point2(pos && pos.end);
@@ -2319,12 +2319,12 @@ var VFileMessage = class extends Error {
2319
2319
  options.cause = causeOrReason;
2320
2320
  }
2321
2321
  if (!options.ruleId && !options.source && typeof origin === "string") {
2322
- const index3 = origin.indexOf(":");
2323
- if (index3 === -1) {
2322
+ const index2 = origin.indexOf(":");
2323
+ if (index2 === -1) {
2324
2324
  options.ruleId = origin;
2325
2325
  } else {
2326
- options.source = origin.slice(0, index3);
2327
- options.ruleId = origin.slice(index3 + 1);
2326
+ options.source = origin.slice(0, index2);
2327
+ options.ruleId = origin.slice(index2 + 1);
2328
2328
  }
2329
2329
  }
2330
2330
  if (!options.place && options.ancestors && options.ancestors) {
@@ -2536,16 +2536,16 @@ function developmentCreate(filePath, jsxDEV) {
2536
2536
  return create2;
2537
2537
  function create2(node2, type, props, key) {
2538
2538
  const isStaticChildren = Array.isArray(props.children);
2539
- const point5 = pointStart(node2);
2539
+ const point4 = pointStart(node2);
2540
2540
  return jsxDEV(
2541
2541
  type,
2542
2542
  props,
2543
2543
  key,
2544
2544
  isStaticChildren,
2545
2545
  {
2546
- columnNumber: point5 ? point5.column - 1 : void 0,
2546
+ columnNumber: point4 ? point4.column - 1 : void 0,
2547
2547
  fileName: filePath,
2548
- lineNumber: point5 ? point5.line : void 0
2548
+ lineNumber: point4 ? point4.line : void 0
2549
2549
  },
2550
2550
  void 0
2551
2551
  );
@@ -2619,10 +2619,10 @@ function createJsxElementProps(state, node2) {
2619
2619
  }
2620
2620
  function createChildren(state, node2) {
2621
2621
  const children = [];
2622
- let index3 = -1;
2622
+ let index2 = -1;
2623
2623
  const countsByName = state.passKeys ? /* @__PURE__ */ new Map() : emptyMap;
2624
- while (++index3 < node2.children.length) {
2625
- const child = node2.children[index3];
2624
+ while (++index2 < node2.children.length) {
2625
+ const child = node2.children[index2];
2626
2626
  let key;
2627
2627
  if (state.passKeys) {
2628
2628
  const name2 = child.type === "element" ? child.tagName : child.type === "mdxJsxFlowElement" || child.type === "mdxJsxTextElement" ? child.name : void 0;
@@ -2694,15 +2694,15 @@ function findComponentFromName(state, name2, allowExpression) {
2694
2694
  result = { type: "Literal", value: name2 };
2695
2695
  } else if (name2.includes(".")) {
2696
2696
  const identifiers = name2.split(".");
2697
- let index3 = -1;
2697
+ let index2 = -1;
2698
2698
  let node2;
2699
- while (++index3 < identifiers.length) {
2700
- const prop = name(identifiers[index3]) ? { type: "Identifier", name: identifiers[index3] } : { type: "Literal", value: identifiers[index3] };
2699
+ while (++index2 < identifiers.length) {
2700
+ const prop = name(identifiers[index2]) ? { type: "Identifier", name: identifiers[index2] } : { type: "Literal", value: identifiers[index2] };
2701
2701
  node2 = node2 ? {
2702
2702
  type: "MemberExpression",
2703
2703
  object: node2,
2704
2704
  property: prop,
2705
- computed: Boolean(index3 && prop.type === "Literal"),
2705
+ computed: Boolean(index2 && prop.type === "Literal"),
2706
2706
  optional: false
2707
2707
  } : prop;
2708
2708
  }
@@ -2814,9 +2814,9 @@ function one2(value, includeImageAlt, includeHtml) {
2814
2814
  }
2815
2815
  function all(values, includeImageAlt, includeHtml) {
2816
2816
  const result = [];
2817
- let index3 = -1;
2818
- while (++index3 < values.length) {
2819
- result[index3] = one2(values[index3], includeImageAlt, includeHtml);
2817
+ let index2 = -1;
2818
+ while (++index2 < values.length) {
2819
+ result[index2] = one2(values[index2], includeImageAlt, includeHtml);
2820
2820
  }
2821
2821
  return result.join("");
2822
2822
  }
@@ -2824,7 +2824,7 @@ function node(value) {
2824
2824
  return Boolean(value && typeof value === "object");
2825
2825
  }
2826
2826
 
2827
- // node_modules/decode-named-character-reference/node_modules/character-entities/index.js
2827
+ // node_modules/character-entities/index.js
2828
2828
  var characterEntities = {
2829
2829
  AElig: "\xC6",
2830
2830
  AMP: "&",
@@ -4997,9 +4997,9 @@ function push(list3, items) {
4997
4997
  var hasOwnProperty = {}.hasOwnProperty;
4998
4998
  function combineExtensions(extensions) {
4999
4999
  const all2 = {};
5000
- let index3 = -1;
5001
- while (++index3 < extensions.length) {
5002
- syntaxExtension(all2, extensions[index3]);
5000
+ let index2 = -1;
5001
+ while (++index2 < extensions.length) {
5002
+ syntaxExtension(all2, extensions[index2]);
5003
5003
  }
5004
5004
  return all2;
5005
5005
  }
@@ -5024,11 +5024,11 @@ function syntaxExtension(all2, extension2) {
5024
5024
  }
5025
5025
  }
5026
5026
  function constructs(existing, list3) {
5027
- let index3 = -1;
5027
+ let index2 = -1;
5028
5028
  const before = [];
5029
- while (++index3 < list3.length) {
5029
+ while (++index2 < list3.length) {
5030
5030
  ;
5031
- (list3[index3].add === "after" ? existing : before).push(list3[index3]);
5031
+ (list3[index2].add === "after" ? existing : before).push(list3[index2]);
5032
5032
  }
5033
5033
  splice(existing, 0, 0, before);
5034
5034
  }
@@ -5091,20 +5091,20 @@ function regexCheck(regex) {
5091
5091
  // node_modules/micromark-util-sanitize-uri/index.js
5092
5092
  function normalizeUri(value) {
5093
5093
  const result = [];
5094
- let index3 = -1;
5094
+ let index2 = -1;
5095
5095
  let start2 = 0;
5096
5096
  let skip = 0;
5097
- while (++index3 < value.length) {
5098
- const code2 = value.charCodeAt(index3);
5097
+ while (++index2 < value.length) {
5098
+ const code2 = value.charCodeAt(index2);
5099
5099
  let replace = "";
5100
- if (code2 === 37 && asciiAlphanumeric(value.charCodeAt(index3 + 1)) && asciiAlphanumeric(value.charCodeAt(index3 + 2))) {
5100
+ if (code2 === 37 && asciiAlphanumeric(value.charCodeAt(index2 + 1)) && asciiAlphanumeric(value.charCodeAt(index2 + 2))) {
5101
5101
  skip = 2;
5102
5102
  } else if (code2 < 128) {
5103
5103
  if (!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(code2))) {
5104
5104
  replace = String.fromCharCode(code2);
5105
5105
  }
5106
5106
  } else if (code2 > 55295 && code2 < 57344) {
5107
- const next = value.charCodeAt(index3 + 1);
5107
+ const next = value.charCodeAt(index2 + 1);
5108
5108
  if (code2 < 56320 && next > 56319 && next < 57344) {
5109
5109
  replace = String.fromCharCode(code2, next);
5110
5110
  skip = 1;
@@ -5115,12 +5115,12 @@ function normalizeUri(value) {
5115
5115
  replace = String.fromCharCode(code2);
5116
5116
  }
5117
5117
  if (replace) {
5118
- result.push(value.slice(start2, index3), encodeURIComponent(replace));
5119
- start2 = index3 + skip + 1;
5118
+ result.push(value.slice(start2, index2), encodeURIComponent(replace));
5119
+ start2 = index2 + skip + 1;
5120
5120
  replace = "";
5121
5121
  }
5122
5122
  if (skip) {
5123
- index3 += skip;
5123
+ index2 += skip;
5124
5124
  skip = 0;
5125
5125
  }
5126
5126
  }
@@ -5231,23 +5231,23 @@ function initializeDocument(effects) {
5231
5231
  }
5232
5232
  const indexBeforeExits = self2.events.length;
5233
5233
  let indexBeforeFlow = indexBeforeExits;
5234
- let point5;
5234
+ let point4;
5235
5235
  while (indexBeforeFlow--) {
5236
5236
  if (self2.events[indexBeforeFlow][0] === "exit" && self2.events[indexBeforeFlow][1].type === "chunkFlow") {
5237
- point5 = self2.events[indexBeforeFlow][1].end;
5237
+ point4 = self2.events[indexBeforeFlow][1].end;
5238
5238
  break;
5239
5239
  }
5240
5240
  }
5241
5241
  exitContainers(continued);
5242
- let index3 = indexBeforeExits;
5243
- while (index3 < self2.events.length) {
5244
- self2.events[index3][1].end = {
5245
- ...point5
5242
+ let index2 = indexBeforeExits;
5243
+ while (index2 < self2.events.length) {
5244
+ self2.events[index2][1].end = {
5245
+ ...point4
5246
5246
  };
5247
- index3++;
5247
+ index2++;
5248
5248
  }
5249
5249
  splice(self2.events, indexBeforeFlow + 1, 0, self2.events.slice(indexBeforeExits));
5250
- self2.events.length = index3;
5250
+ self2.events.length = index2;
5251
5251
  return checkNewContainers(code2);
5252
5252
  }
5253
5253
  return start2(code2);
@@ -5325,13 +5325,13 @@ function initializeDocument(effects) {
5325
5325
  childFlow.defineSkip(token.start);
5326
5326
  childFlow.write(stream);
5327
5327
  if (self2.parser.lazy[token.start.line]) {
5328
- let index3 = childFlow.events.length;
5329
- while (index3--) {
5328
+ let index2 = childFlow.events.length;
5329
+ while (index2--) {
5330
5330
  if (
5331
5331
  // The token starts before the line ending…
5332
- childFlow.events[index3][1].start.offset < lineStartOffset && // …and either is not ended yet…
5333
- (!childFlow.events[index3][1].end || // …or ends after it.
5334
- childFlow.events[index3][1].end.offset > lineStartOffset)
5332
+ childFlow.events[index2][1].start.offset < lineStartOffset && // …and either is not ended yet…
5333
+ (!childFlow.events[index2][1].end || // …or ends after it.
5334
+ childFlow.events[index2][1].end.offset > lineStartOffset)
5335
5335
  ) {
5336
5336
  return;
5337
5337
  }
@@ -5339,32 +5339,32 @@ function initializeDocument(effects) {
5339
5339
  const indexBeforeExits = self2.events.length;
5340
5340
  let indexBeforeFlow = indexBeforeExits;
5341
5341
  let seen;
5342
- let point5;
5342
+ let point4;
5343
5343
  while (indexBeforeFlow--) {
5344
5344
  if (self2.events[indexBeforeFlow][0] === "exit" && self2.events[indexBeforeFlow][1].type === "chunkFlow") {
5345
5345
  if (seen) {
5346
- point5 = self2.events[indexBeforeFlow][1].end;
5346
+ point4 = self2.events[indexBeforeFlow][1].end;
5347
5347
  break;
5348
5348
  }
5349
5349
  seen = true;
5350
5350
  }
5351
5351
  }
5352
5352
  exitContainers(continued);
5353
- index3 = indexBeforeExits;
5354
- while (index3 < self2.events.length) {
5355
- self2.events[index3][1].end = {
5356
- ...point5
5353
+ index2 = indexBeforeExits;
5354
+ while (index2 < self2.events.length) {
5355
+ self2.events[index2][1].end = {
5356
+ ...point4
5357
5357
  };
5358
- index3++;
5358
+ index2++;
5359
5359
  }
5360
5360
  splice(self2.events, indexBeforeFlow + 1, 0, self2.events.slice(indexBeforeExits));
5361
- self2.events.length = index3;
5361
+ self2.events.length = index2;
5362
5362
  }
5363
5363
  }
5364
5364
  function exitContainers(size) {
5365
- let index3 = stack.length;
5366
- while (index3-- > size) {
5367
- const entry = stack[index3];
5365
+ let index2 = stack.length;
5366
+ while (index2-- > size) {
5367
+ const entry = stack[index2];
5368
5368
  self2.containerState = entry[1];
5369
5369
  entry[0].exit.call(self2, effects);
5370
5370
  }
@@ -5394,9 +5394,9 @@ function classifyCharacter(code2) {
5394
5394
  // node_modules/micromark-util-resolve-all/index.js
5395
5395
  function resolveAll(constructs2, events, context) {
5396
5396
  const called = [];
5397
- let index3 = -1;
5398
- while (++index3 < constructs2.length) {
5399
- const resolve = constructs2[index3].resolveAll;
5397
+ let index2 = -1;
5398
+ while (++index2 < constructs2.length) {
5399
+ const resolve = constructs2[index2].resolveAll;
5400
5400
  if (resolve && !called.includes(resolve)) {
5401
5401
  events = resolve(events, context);
5402
5402
  called.push(resolve);
@@ -5412,7 +5412,7 @@ var attention = {
5412
5412
  tokenize: tokenizeAttention
5413
5413
  };
5414
5414
  function resolveAllAttention(events, context) {
5415
- let index3 = -1;
5415
+ let index2 = -1;
5416
5416
  let open;
5417
5417
  let group;
5418
5418
  let text5;
@@ -5421,21 +5421,21 @@ function resolveAllAttention(events, context) {
5421
5421
  let use;
5422
5422
  let nextEvents;
5423
5423
  let offset;
5424
- while (++index3 < events.length) {
5425
- if (events[index3][0] === "enter" && events[index3][1].type === "attentionSequence" && events[index3][1]._close) {
5426
- open = index3;
5424
+ while (++index2 < events.length) {
5425
+ if (events[index2][0] === "enter" && events[index2][1].type === "attentionSequence" && events[index2][1]._close) {
5426
+ open = index2;
5427
5427
  while (open--) {
5428
5428
  if (events[open][0] === "exit" && events[open][1].type === "attentionSequence" && events[open][1]._open && // If the markers are the same:
5429
- context.sliceSerialize(events[open][1]).charCodeAt(0) === context.sliceSerialize(events[index3][1]).charCodeAt(0)) {
5430
- if ((events[open][1]._close || events[index3][1]._open) && (events[index3][1].end.offset - events[index3][1].start.offset) % 3 && !((events[open][1].end.offset - events[open][1].start.offset + events[index3][1].end.offset - events[index3][1].start.offset) % 3)) {
5429
+ context.sliceSerialize(events[open][1]).charCodeAt(0) === context.sliceSerialize(events[index2][1]).charCodeAt(0)) {
5430
+ if ((events[open][1]._close || events[index2][1]._open) && (events[index2][1].end.offset - events[index2][1].start.offset) % 3 && !((events[open][1].end.offset - events[open][1].start.offset + events[index2][1].end.offset - events[index2][1].start.offset) % 3)) {
5431
5431
  continue;
5432
5432
  }
5433
- use = events[open][1].end.offset - events[open][1].start.offset > 1 && events[index3][1].end.offset - events[index3][1].start.offset > 1 ? 2 : 1;
5433
+ use = events[open][1].end.offset - events[open][1].start.offset > 1 && events[index2][1].end.offset - events[index2][1].start.offset > 1 ? 2 : 1;
5434
5434
  const start2 = {
5435
5435
  ...events[open][1].end
5436
5436
  };
5437
5437
  const end = {
5438
- ...events[index3][1].start
5438
+ ...events[index2][1].start
5439
5439
  };
5440
5440
  movePoint(start2, -use);
5441
5441
  movePoint(end, use);
@@ -5449,7 +5449,7 @@ function resolveAllAttention(events, context) {
5449
5449
  closingSequence = {
5450
5450
  type: use > 1 ? "strongSequence" : "emphasisSequence",
5451
5451
  start: {
5452
- ...events[index3][1].start
5452
+ ...events[index2][1].start
5453
5453
  },
5454
5454
  end
5455
5455
  };
@@ -5459,7 +5459,7 @@ function resolveAllAttention(events, context) {
5459
5459
  ...events[open][1].end
5460
5460
  },
5461
5461
  end: {
5462
- ...events[index3][1].start
5462
+ ...events[index2][1].start
5463
5463
  }
5464
5464
  };
5465
5465
  group = {
@@ -5474,7 +5474,7 @@ function resolveAllAttention(events, context) {
5474
5474
  events[open][1].end = {
5475
5475
  ...openingSequence.start
5476
5476
  };
5477
- events[index3][1].start = {
5477
+ events[index2][1].start = {
5478
5478
  ...closingSequence.end
5479
5479
  };
5480
5480
  nextEvents = [];
@@ -5482,25 +5482,25 @@ function resolveAllAttention(events, context) {
5482
5482
  nextEvents = push(nextEvents, [["enter", events[open][1], context], ["exit", events[open][1], context]]);
5483
5483
  }
5484
5484
  nextEvents = push(nextEvents, [["enter", group, context], ["enter", openingSequence, context], ["exit", openingSequence, context], ["enter", text5, context]]);
5485
- nextEvents = push(nextEvents, resolveAll(context.parser.constructs.insideSpan.null, events.slice(open + 1, index3), context));
5485
+ nextEvents = push(nextEvents, resolveAll(context.parser.constructs.insideSpan.null, events.slice(open + 1, index2), context));
5486
5486
  nextEvents = push(nextEvents, [["exit", text5, context], ["enter", closingSequence, context], ["exit", closingSequence, context], ["exit", group, context]]);
5487
- if (events[index3][1].end.offset - events[index3][1].start.offset) {
5487
+ if (events[index2][1].end.offset - events[index2][1].start.offset) {
5488
5488
  offset = 2;
5489
- nextEvents = push(nextEvents, [["enter", events[index3][1], context], ["exit", events[index3][1], context]]);
5489
+ nextEvents = push(nextEvents, [["enter", events[index2][1], context], ["exit", events[index2][1], context]]);
5490
5490
  } else {
5491
5491
  offset = 0;
5492
5492
  }
5493
- splice(events, open - 1, index3 - open + 3, nextEvents);
5494
- index3 = open + nextEvents.length - offset - 2;
5493
+ splice(events, open - 1, index2 - open + 3, nextEvents);
5494
+ index2 = open + nextEvents.length - offset - 2;
5495
5495
  break;
5496
5496
  }
5497
5497
  }
5498
5498
  }
5499
5499
  }
5500
- index3 = -1;
5501
- while (++index3 < events.length) {
5502
- if (events[index3][1].type === "attentionSequence") {
5503
- events[index3][1].type = "data";
5500
+ index2 = -1;
5501
+ while (++index2 < events.length) {
5502
+ if (events[index2][1].type === "attentionSequence") {
5503
+ events[index2][1].type = "data";
5504
5504
  }
5505
5505
  }
5506
5506
  return events;
@@ -5530,10 +5530,10 @@ function tokenizeAttention(effects, ok3) {
5530
5530
  return ok3(code2);
5531
5531
  }
5532
5532
  }
5533
- function movePoint(point5, offset) {
5534
- point5.column += offset;
5535
- point5.offset += offset;
5536
- point5._bufferIndex += offset;
5533
+ function movePoint(point4, offset) {
5534
+ point4.column += offset;
5535
+ point4.offset += offset;
5536
+ point4._bufferIndex += offset;
5537
5537
  }
5538
5538
 
5539
5539
  // node_modules/micromark-core-commonmark/lib/autolink.js
@@ -6058,12 +6058,12 @@ var codeText = {
6058
6058
  function resolveCodeText(events) {
6059
6059
  let tailExitIndex = events.length - 4;
6060
6060
  let headEnterIndex = 3;
6061
- let index3;
6061
+ let index2;
6062
6062
  let enter;
6063
6063
  if ((events[headEnterIndex][1].type === "lineEnding" || events[headEnterIndex][1].type === "space") && (events[tailExitIndex][1].type === "lineEnding" || events[tailExitIndex][1].type === "space")) {
6064
- index3 = headEnterIndex;
6065
- while (++index3 < tailExitIndex) {
6066
- if (events[index3][1].type === "codeTextData") {
6064
+ index2 = headEnterIndex;
6065
+ while (++index2 < tailExitIndex) {
6066
+ if (events[index2][1].type === "codeTextData") {
6067
6067
  events[headEnterIndex][1].type = "codeTextPadding";
6068
6068
  events[tailExitIndex][1].type = "codeTextPadding";
6069
6069
  headEnterIndex += 2;
@@ -6072,20 +6072,20 @@ function resolveCodeText(events) {
6072
6072
  }
6073
6073
  }
6074
6074
  }
6075
- index3 = headEnterIndex - 1;
6075
+ index2 = headEnterIndex - 1;
6076
6076
  tailExitIndex++;
6077
- while (++index3 <= tailExitIndex) {
6077
+ while (++index2 <= tailExitIndex) {
6078
6078
  if (enter === void 0) {
6079
- if (index3 !== tailExitIndex && events[index3][1].type !== "lineEnding") {
6080
- enter = index3;
6079
+ if (index2 !== tailExitIndex && events[index2][1].type !== "lineEnding") {
6080
+ enter = index2;
6081
6081
  }
6082
- } else if (index3 === tailExitIndex || events[index3][1].type === "lineEnding") {
6082
+ } else if (index2 === tailExitIndex || events[index2][1].type === "lineEnding") {
6083
6083
  events[enter][1].type = "codeTextData";
6084
- if (index3 !== enter + 2) {
6085
- events[enter][1].end = events[index3 - 1][1].end;
6086
- events.splice(enter + 2, index3 - enter - 2);
6087
- tailExitIndex -= index3 - enter - 2;
6088
- index3 = enter + 2;
6084
+ if (index2 !== enter + 2) {
6085
+ events[enter][1].end = events[index2 - 1][1].end;
6086
+ events.splice(enter + 2, index2 - enter - 2);
6087
+ tailExitIndex -= index2 - enter - 2;
6088
+ index2 = enter + 2;
6089
6089
  }
6090
6090
  enter = void 0;
6091
6091
  }
@@ -6184,12 +6184,12 @@ var SpliceBuffer = class {
6184
6184
  * @return {T}
6185
6185
  * Item.
6186
6186
  */
6187
- get(index3) {
6188
- if (index3 < 0 || index3 >= this.left.length + this.right.length) {
6189
- throw new RangeError("Cannot access index `" + index3 + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
6187
+ get(index2) {
6188
+ if (index2 < 0 || index2 >= this.left.length + this.right.length) {
6189
+ throw new RangeError("Cannot access index `" + index2 + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
6190
6190
  }
6191
- if (index3 < this.left.length) return this.left[index3];
6192
- return this.right[this.right.length - index3 + this.left.length - 1];
6191
+ if (index2 < this.left.length) return this.left[index2];
6192
+ return this.right[this.right.length - index2 + this.left.length - 1];
6193
6193
  }
6194
6194
  /**
6195
6195
  * The length of the splice buffer, one greater than the largest index in the
@@ -6359,7 +6359,7 @@ function chunkedPush(list3, right) {
6359
6359
  // node_modules/micromark-util-subtokenize/index.js
6360
6360
  function subtokenize(eventsArray) {
6361
6361
  const jumps = {};
6362
- let index3 = -1;
6362
+ let index2 = -1;
6363
6363
  let event;
6364
6364
  let lineIndex;
6365
6365
  let otherIndex;
@@ -6368,12 +6368,12 @@ function subtokenize(eventsArray) {
6368
6368
  let subevents;
6369
6369
  let more;
6370
6370
  const events = new SpliceBuffer(eventsArray);
6371
- while (++index3 < events.length) {
6372
- while (index3 in jumps) {
6373
- index3 = jumps[index3];
6371
+ while (++index2 < events.length) {
6372
+ while (index2 in jumps) {
6373
+ index2 = jumps[index2];
6374
6374
  }
6375
- event = events.get(index3);
6376
- if (index3 && event[1].type === "chunkFlow" && events.get(index3 - 1)[1].type === "listItemPrefix") {
6375
+ event = events.get(index2);
6376
+ if (index2 && event[1].type === "chunkFlow" && events.get(index2 - 1)[1].type === "listItemPrefix") {
6377
6377
  subevents = event[1]._tokenizer.events;
6378
6378
  otherIndex = 0;
6379
6379
  if (otherIndex < subevents.length && subevents[otherIndex][1].type === "lineEndingBlank") {
@@ -6393,12 +6393,12 @@ function subtokenize(eventsArray) {
6393
6393
  }
6394
6394
  if (event[0] === "enter") {
6395
6395
  if (event[1].contentType) {
6396
- Object.assign(jumps, subcontent(events, index3));
6397
- index3 = jumps[index3];
6396
+ Object.assign(jumps, subcontent(events, index2));
6397
+ index2 = jumps[index2];
6398
6398
  more = true;
6399
6399
  }
6400
6400
  } else if (event[1]._container) {
6401
- otherIndex = index3;
6401
+ otherIndex = index2;
6402
6402
  lineIndex = void 0;
6403
6403
  while (otherIndex--) {
6404
6404
  otherEvent = events.get(otherIndex);
@@ -6419,9 +6419,9 @@ function subtokenize(eventsArray) {
6419
6419
  event[1].end = {
6420
6420
  ...events.get(lineIndex)[1].start
6421
6421
  };
6422
- parameters = events.slice(lineIndex, index3);
6422
+ parameters = events.slice(lineIndex, index2);
6423
6423
  parameters.unshift(event);
6424
- events.splice(lineIndex, index3 - lineIndex + 1, parameters);
6424
+ events.splice(lineIndex, index2 - lineIndex + 1, parameters);
6425
6425
  }
6426
6426
  }
6427
6427
  }
@@ -6439,7 +6439,7 @@ function subcontent(events, eventIndex) {
6439
6439
  const gaps = {};
6440
6440
  let stream;
6441
6441
  let previous2;
6442
- let index3 = -1;
6442
+ let index2 = -1;
6443
6443
  let current = token;
6444
6444
  let adjust = 0;
6445
6445
  let start2 = 0;
@@ -6468,12 +6468,12 @@ function subcontent(events, eventIndex) {
6468
6468
  current = current.next;
6469
6469
  }
6470
6470
  current = token;
6471
- while (++index3 < childEvents.length) {
6471
+ while (++index2 < childEvents.length) {
6472
6472
  if (
6473
6473
  // Find a void token that includes a break.
6474
- childEvents[index3][0] === "exit" && childEvents[index3 - 1][0] === "enter" && childEvents[index3][1].type === childEvents[index3 - 1][1].type && childEvents[index3][1].start.line !== childEvents[index3][1].end.line
6474
+ childEvents[index2][0] === "exit" && childEvents[index2 - 1][0] === "enter" && childEvents[index2][1].type === childEvents[index2 - 1][1].type && childEvents[index2][1].start.line !== childEvents[index2][1].end.line
6475
6475
  ) {
6476
- start2 = index3 + 1;
6476
+ start2 = index2 + 1;
6477
6477
  breaks.push(start2);
6478
6478
  current._tokenizer = void 0;
6479
6479
  current.previous = void 0;
@@ -6487,18 +6487,18 @@ function subcontent(events, eventIndex) {
6487
6487
  } else {
6488
6488
  breaks.pop();
6489
6489
  }
6490
- index3 = breaks.length;
6491
- while (index3--) {
6492
- const slice = childEvents.slice(breaks[index3], breaks[index3 + 1]);
6490
+ index2 = breaks.length;
6491
+ while (index2--) {
6492
+ const slice = childEvents.slice(breaks[index2], breaks[index2 + 1]);
6493
6493
  const start3 = startPositions.pop();
6494
6494
  jumps.push([start3, start3 + slice.length - 1]);
6495
6495
  events.splice(start3, 2, slice);
6496
6496
  }
6497
6497
  jumps.reverse();
6498
- index3 = -1;
6499
- while (++index3 < jumps.length) {
6500
- gaps[adjust + jumps[index3][0]] = adjust + jumps[index3][1];
6501
- adjust += jumps[index3][1] - jumps[index3][0] - 1;
6498
+ index2 = -1;
6499
+ while (++index2 < jumps.length) {
6500
+ gaps[adjust + jumps[index2][0]] = adjust + jumps[index2][1];
6501
+ adjust += jumps[index2][1] - jumps[index2][0] - 1;
6502
6502
  }
6503
6503
  return gaps;
6504
6504
  }
@@ -7089,16 +7089,16 @@ var nonLazyContinuationStart = {
7089
7089
  tokenize: tokenizeNonLazyContinuationStart
7090
7090
  };
7091
7091
  function resolveToHtmlFlow(events) {
7092
- let index3 = events.length;
7093
- while (index3--) {
7094
- if (events[index3][0] === "enter" && events[index3][1].type === "htmlFlow") {
7092
+ let index2 = events.length;
7093
+ while (index2--) {
7094
+ if (events[index2][0] === "enter" && events[index2][1].type === "htmlFlow") {
7095
7095
  break;
7096
7096
  }
7097
7097
  }
7098
- if (index3 > 1 && events[index3 - 2][1].type === "linePrefix") {
7099
- events[index3][1].start = events[index3 - 2][1].start;
7100
- events[index3 + 1][1].start = events[index3 - 2][1].start;
7101
- events.splice(index3 - 2, 2);
7098
+ if (index2 > 1 && events[index2 - 2][1].type === "linePrefix") {
7099
+ events[index2][1].start = events[index2 - 2][1].start;
7100
+ events[index2 + 1][1].start = events[index2 - 2][1].start;
7101
+ events.splice(index2 - 2, 2);
7102
7102
  }
7103
7103
  return events;
7104
7104
  }
@@ -7107,7 +7107,7 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
7107
7107
  let marker;
7108
7108
  let closingTag;
7109
7109
  let buffer;
7110
- let index3;
7110
+ let index2;
7111
7111
  let markerB;
7112
7112
  return start2;
7113
7113
  function start2(code2) {
@@ -7150,7 +7150,7 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
7150
7150
  if (code2 === 91) {
7151
7151
  effects.consume(code2);
7152
7152
  marker = 5;
7153
- index3 = 0;
7153
+ index2 = 0;
7154
7154
  return cdataOpenInside;
7155
7155
  }
7156
7156
  if (asciiAlpha(code2)) {
@@ -7169,9 +7169,9 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
7169
7169
  }
7170
7170
  function cdataOpenInside(code2) {
7171
7171
  const value = "CDATA[";
7172
- if (code2 === value.charCodeAt(index3++)) {
7172
+ if (code2 === value.charCodeAt(index2++)) {
7173
7173
  effects.consume(code2);
7174
- if (index3 === value.length) {
7174
+ if (index2 === value.length) {
7175
7175
  return self2.interrupt ? ok3 : continuation;
7176
7176
  }
7177
7177
  return cdataOpenInside;
@@ -7460,7 +7460,7 @@ var htmlText = {
7460
7460
  function tokenizeHtmlText(effects, ok3, nok) {
7461
7461
  const self2 = this;
7462
7462
  let marker;
7463
- let index3;
7463
+ let index2;
7464
7464
  let returnState;
7465
7465
  return start2;
7466
7466
  function start2(code2) {
@@ -7495,7 +7495,7 @@ function tokenizeHtmlText(effects, ok3, nok) {
7495
7495
  }
7496
7496
  if (code2 === 91) {
7497
7497
  effects.consume(code2);
7498
- index3 = 0;
7498
+ index2 = 0;
7499
7499
  return cdataOpenInside;
7500
7500
  }
7501
7501
  if (asciiAlpha(code2)) {
@@ -7538,9 +7538,9 @@ function tokenizeHtmlText(effects, ok3, nok) {
7538
7538
  }
7539
7539
  function cdataOpenInside(code2) {
7540
7540
  const value = "CDATA[";
7541
- if (code2 === value.charCodeAt(index3++)) {
7541
+ if (code2 === value.charCodeAt(index2++)) {
7542
7542
  effects.consume(code2);
7543
- return index3 === value.length ? cdata : cdataOpenInside;
7543
+ return index2 === value.length ? cdata : cdataOpenInside;
7544
7544
  }
7545
7545
  return nok(code2);
7546
7546
  }
@@ -7775,15 +7775,15 @@ var referenceCollapsedConstruct = {
7775
7775
  tokenize: tokenizeReferenceCollapsed
7776
7776
  };
7777
7777
  function resolveAllLabelEnd(events) {
7778
- let index3 = -1;
7778
+ let index2 = -1;
7779
7779
  const newEvents = [];
7780
- while (++index3 < events.length) {
7781
- const token = events[index3][1];
7782
- newEvents.push(events[index3]);
7780
+ while (++index2 < events.length) {
7781
+ const token = events[index2][1];
7782
+ newEvents.push(events[index2]);
7783
7783
  if (token.type === "labelImage" || token.type === "labelLink" || token.type === "labelEnd") {
7784
7784
  const offset = token.type === "labelImage" ? 4 : 2;
7785
7785
  token.type = "data";
7786
- index3 += offset;
7786
+ index2 += offset;
7787
7787
  }
7788
7788
  }
7789
7789
  if (events.length !== newEvents.length) {
@@ -7792,31 +7792,31 @@ function resolveAllLabelEnd(events) {
7792
7792
  return events;
7793
7793
  }
7794
7794
  function resolveToLabelEnd(events, context) {
7795
- let index3 = events.length;
7795
+ let index2 = events.length;
7796
7796
  let offset = 0;
7797
7797
  let token;
7798
7798
  let open;
7799
7799
  let close;
7800
7800
  let media;
7801
- while (index3--) {
7802
- token = events[index3][1];
7801
+ while (index2--) {
7802
+ token = events[index2][1];
7803
7803
  if (open) {
7804
7804
  if (token.type === "link" || token.type === "labelLink" && token._inactive) {
7805
7805
  break;
7806
7806
  }
7807
- if (events[index3][0] === "enter" && token.type === "labelLink") {
7807
+ if (events[index2][0] === "enter" && token.type === "labelLink") {
7808
7808
  token._inactive = true;
7809
7809
  }
7810
7810
  } else if (close) {
7811
- if (events[index3][0] === "enter" && (token.type === "labelImage" || token.type === "labelLink") && !token._balanced) {
7812
- open = index3;
7811
+ if (events[index2][0] === "enter" && (token.type === "labelImage" || token.type === "labelLink") && !token._balanced) {
7812
+ open = index2;
7813
7813
  if (token.type !== "labelLink") {
7814
7814
  offset = 2;
7815
7815
  break;
7816
7816
  }
7817
7817
  }
7818
7818
  } else if (token.type === "labelEnd") {
7819
- close = index3;
7819
+ close = index2;
7820
7820
  }
7821
7821
  }
7822
7822
  const group = {
@@ -7858,12 +7858,12 @@ function resolveToLabelEnd(events, context) {
7858
7858
  }
7859
7859
  function tokenizeLabelEnd(effects, ok3, nok) {
7860
7860
  const self2 = this;
7861
- let index3 = self2.events.length;
7861
+ let index2 = self2.events.length;
7862
7862
  let labelStart;
7863
7863
  let defined;
7864
- while (index3--) {
7865
- if ((self2.events[index3][1].type === "labelImage" || self2.events[index3][1].type === "labelLink") && !self2.events[index3][1]._balanced) {
7866
- labelStart = self2.events[index3][1];
7864
+ while (index2--) {
7865
+ if ((self2.events[index2][1].type === "labelImage" || self2.events[index2][1].type === "labelLink") && !self2.events[index2][1]._balanced) {
7866
+ labelStart = self2.events[index2][1];
7867
7867
  break;
7868
7868
  }
7869
7869
  }
@@ -8228,25 +8228,25 @@ var setextUnderline = {
8228
8228
  tokenize: tokenizeSetextUnderline
8229
8229
  };
8230
8230
  function resolveToSetextUnderline(events, context) {
8231
- let index3 = events.length;
8231
+ let index2 = events.length;
8232
8232
  let content3;
8233
8233
  let text5;
8234
8234
  let definition2;
8235
- while (index3--) {
8236
- if (events[index3][0] === "enter") {
8237
- if (events[index3][1].type === "content") {
8238
- content3 = index3;
8235
+ while (index2--) {
8236
+ if (events[index2][0] === "enter") {
8237
+ if (events[index2][1].type === "content") {
8238
+ content3 = index2;
8239
8239
  break;
8240
8240
  }
8241
- if (events[index3][1].type === "paragraph") {
8242
- text5 = index3;
8241
+ if (events[index2][1].type === "paragraph") {
8242
+ text5 = index2;
8243
8243
  }
8244
8244
  } else {
8245
- if (events[index3][1].type === "content") {
8246
- events.splice(index3, 1);
8245
+ if (events[index2][1].type === "content") {
8246
+ events.splice(index2, 1);
8247
8247
  }
8248
- if (!definition2 && events[index3][1].type === "definition") {
8249
- definition2 = index3;
8248
+ if (!definition2 && events[index2][1].type === "definition") {
8249
+ definition2 = index2;
8250
8250
  }
8251
8251
  }
8252
8252
  }
@@ -8277,11 +8277,11 @@ function tokenizeSetextUnderline(effects, ok3, nok) {
8277
8277
  let marker;
8278
8278
  return start2;
8279
8279
  function start2(code2) {
8280
- let index3 = self2.events.length;
8280
+ let index2 = self2.events.length;
8281
8281
  let paragraph2;
8282
- while (index3--) {
8283
- if (self2.events[index3][1].type !== "lineEnding" && self2.events[index3][1].type !== "linePrefix" && self2.events[index3][1].type !== "content") {
8284
- paragraph2 = self2.events[index3][1].type === "paragraph";
8282
+ while (index2--) {
8283
+ if (self2.events[index2][1].type !== "lineEnding" && self2.events[index2][1].type !== "linePrefix" && self2.events[index2][1].type !== "content") {
8284
+ paragraph2 = self2.events[index2][1].type === "paragraph";
8285
8285
  break;
8286
8286
  }
8287
8287
  }
@@ -8392,10 +8392,10 @@ function initializeFactory(field) {
8392
8392
  return true;
8393
8393
  }
8394
8394
  const list3 = constructs2[code2];
8395
- let index3 = -1;
8395
+ let index2 = -1;
8396
8396
  if (list3) {
8397
- while (++index3 < list3.length) {
8398
- const item = list3[index3];
8397
+ while (++index2 < list3.length) {
8398
+ const item = list3[index2];
8399
8399
  if (!item.previous || item.previous.call(self2, self2.previous)) {
8400
8400
  return true;
8401
8401
  }
@@ -8408,19 +8408,19 @@ function initializeFactory(field) {
8408
8408
  function createResolver(extraResolver) {
8409
8409
  return resolveAllText;
8410
8410
  function resolveAllText(events, context) {
8411
- let index3 = -1;
8411
+ let index2 = -1;
8412
8412
  let enter;
8413
- while (++index3 <= events.length) {
8413
+ while (++index2 <= events.length) {
8414
8414
  if (enter === void 0) {
8415
- if (events[index3] && events[index3][1].type === "data") {
8416
- enter = index3;
8417
- index3++;
8415
+ if (events[index2] && events[index2][1].type === "data") {
8416
+ enter = index2;
8417
+ index2++;
8418
8418
  }
8419
- } else if (!events[index3] || events[index3][1].type !== "data") {
8420
- if (index3 !== enter + 2) {
8421
- events[enter][1].end = events[index3 - 1][1].end;
8422
- events.splice(enter + 2, index3 - enter - 2);
8423
- index3 = enter + 2;
8419
+ } else if (!events[index2] || events[index2][1].type !== "data") {
8420
+ if (index2 !== enter + 2) {
8421
+ events[enter][1].end = events[index2 - 1][1].end;
8422
+ events.splice(enter + 2, index2 - enter - 2);
8423
+ index2 = enter + 2;
8424
8424
  }
8425
8425
  enter = void 0;
8426
8426
  }
@@ -8434,12 +8434,12 @@ function resolveAllLineSuffixes(events, context) {
8434
8434
  if ((eventIndex === events.length || events[eventIndex][1].type === "lineEnding") && events[eventIndex - 1][1].type === "data") {
8435
8435
  const data = events[eventIndex - 1][1];
8436
8436
  const chunks = context.sliceStream(data);
8437
- let index3 = chunks.length;
8437
+ let index2 = chunks.length;
8438
8438
  let bufferIndex = -1;
8439
8439
  let size = 0;
8440
8440
  let tabs;
8441
- while (index3--) {
8442
- const chunk = chunks[index3];
8441
+ while (index2--) {
8442
+ const chunk = chunks[index2];
8443
8443
  if (typeof chunk === "string") {
8444
8444
  bufferIndex = chunk.length;
8445
8445
  while (chunk.charCodeAt(bufferIndex - 1) === 32) {
@@ -8453,7 +8453,7 @@ function resolveAllLineSuffixes(events, context) {
8453
8453
  size++;
8454
8454
  } else if (chunk === -1) {
8455
8455
  } else {
8456
- index3++;
8456
+ index2++;
8457
8457
  break;
8458
8458
  }
8459
8459
  }
@@ -8461,8 +8461,8 @@ function resolveAllLineSuffixes(events, context) {
8461
8461
  const token = {
8462
8462
  type: eventIndex === events.length || tabs || size < 2 ? "lineSuffix" : "hardBreakTrailing",
8463
8463
  start: {
8464
- _bufferIndex: index3 ? bufferIndex : data.start._bufferIndex + bufferIndex,
8465
- _index: data.start._index + index3,
8464
+ _bufferIndex: index2 ? bufferIndex : data.start._bufferIndex + bufferIndex,
8465
+ _index: data.start._index + index2,
8466
8466
  line: data.end.line,
8467
8467
  column: data.end.column - size,
8468
8468
  offset: data.end.offset - size
@@ -8564,7 +8564,7 @@ var disable = {
8564
8564
 
8565
8565
  // node_modules/micromark/lib/create-tokenizer.js
8566
8566
  function createTokenizer(parser, initialize, from) {
8567
- let point5 = {
8567
+ let point4 = {
8568
8568
  _bufferIndex: -1,
8569
8569
  _index: 0,
8570
8570
  line: from && from.line || 1,
@@ -8627,7 +8627,7 @@ function createTokenizer(parser, initialize, from) {
8627
8627
  line,
8628
8628
  column,
8629
8629
  offset
8630
- } = point5;
8630
+ } = point4;
8631
8631
  return {
8632
8632
  _bufferIndex,
8633
8633
  _index,
@@ -8642,15 +8642,15 @@ function createTokenizer(parser, initialize, from) {
8642
8642
  }
8643
8643
  function main() {
8644
8644
  let chunkIndex;
8645
- while (point5._index < chunks.length) {
8646
- const chunk = chunks[point5._index];
8645
+ while (point4._index < chunks.length) {
8646
+ const chunk = chunks[point4._index];
8647
8647
  if (typeof chunk === "string") {
8648
- chunkIndex = point5._index;
8649
- if (point5._bufferIndex < 0) {
8650
- point5._bufferIndex = 0;
8648
+ chunkIndex = point4._index;
8649
+ if (point4._bufferIndex < 0) {
8650
+ point4._bufferIndex = 0;
8651
8651
  }
8652
- while (point5._index === chunkIndex && point5._bufferIndex < chunk.length) {
8653
- go(chunk.charCodeAt(point5._bufferIndex));
8652
+ while (point4._index === chunkIndex && point4._bufferIndex < chunk.length) {
8653
+ go(chunk.charCodeAt(point4._bufferIndex));
8654
8654
  }
8655
8655
  } else {
8656
8656
  go(chunk);
@@ -8664,24 +8664,24 @@ function createTokenizer(parser, initialize, from) {
8664
8664
  }
8665
8665
  function consume(code2) {
8666
8666
  if (markdownLineEnding(code2)) {
8667
- point5.line++;
8668
- point5.column = 1;
8669
- point5.offset += code2 === -3 ? 2 : 1;
8667
+ point4.line++;
8668
+ point4.column = 1;
8669
+ point4.offset += code2 === -3 ? 2 : 1;
8670
8670
  accountForPotentialSkip();
8671
8671
  } else if (code2 !== -1) {
8672
- point5.column++;
8673
- point5.offset++;
8672
+ point4.column++;
8673
+ point4.offset++;
8674
8674
  }
8675
- if (point5._bufferIndex < 0) {
8676
- point5._index++;
8675
+ if (point4._bufferIndex < 0) {
8676
+ point4._index++;
8677
8677
  } else {
8678
- point5._bufferIndex++;
8679
- if (point5._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
8678
+ point4._bufferIndex++;
8679
+ if (point4._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
8680
8680
  // strings.
8681
8681
  /** @type {string} */
8682
- chunks[point5._index].length) {
8683
- point5._bufferIndex = -1;
8684
- point5._index++;
8682
+ chunks[point4._index].length) {
8683
+ point4._bufferIndex = -1;
8684
+ point4._index++;
8685
8685
  }
8686
8686
  }
8687
8687
  context.previous = code2;
@@ -8805,7 +8805,7 @@ function createTokenizer(parser, initialize, from) {
8805
8805
  restore
8806
8806
  };
8807
8807
  function restore() {
8808
- point5 = startPoint;
8808
+ point4 = startPoint;
8809
8809
  context.previous = startPrevious;
8810
8810
  context.currentConstruct = startCurrentConstruct;
8811
8811
  context.events.length = startEventsIndex;
@@ -8814,9 +8814,9 @@ function createTokenizer(parser, initialize, from) {
8814
8814
  }
8815
8815
  }
8816
8816
  function accountForPotentialSkip() {
8817
- if (point5.line in columnStart && point5.column < 2) {
8818
- point5.column = columnStart[point5.line];
8819
- point5.offset += columnStart[point5.line] - 1;
8817
+ if (point4.line in columnStart && point4.column < 2) {
8818
+ point4.column = columnStart[point4.line];
8819
+ point4.offset += columnStart[point4.line] - 1;
8820
8820
  }
8821
8821
  }
8822
8822
  }
@@ -8845,11 +8845,11 @@ function sliceChunks(chunks, token) {
8845
8845
  return view;
8846
8846
  }
8847
8847
  function serializeChunks(chunks, expandTabs) {
8848
- let index3 = -1;
8848
+ let index2 = -1;
8849
8849
  const result = [];
8850
8850
  let atTab;
8851
- while (++index3 < chunks.length) {
8852
- const chunk = chunks[index3];
8851
+ while (++index2 < chunks.length) {
8852
+ const chunk = chunks[index2];
8853
8853
  let value;
8854
8854
  if (typeof chunk === "string") {
8855
8855
  value = chunk;
@@ -9015,32 +9015,6 @@ function decode($0, $1, $2) {
9015
9015
  return decodeNamedCharacterReference($2) || $0;
9016
9016
  }
9017
9017
 
9018
- // node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js
9019
- function stringifyPosition2(value) {
9020
- if (!value || typeof value !== "object") {
9021
- return "";
9022
- }
9023
- if ("position" in value || "type" in value) {
9024
- return position3(value.position);
9025
- }
9026
- if ("start" in value || "end" in value) {
9027
- return position3(value);
9028
- }
9029
- if ("line" in value || "column" in value) {
9030
- return point3(value);
9031
- }
9032
- return "";
9033
- }
9034
- function point3(point5) {
9035
- return index2(point5 && point5.line) + ":" + index2(point5 && point5.column);
9036
- }
9037
- function position3(pos) {
9038
- return point3(pos && pos.start) + "-" + point3(pos && pos.end);
9039
- }
9040
- function index2(value) {
9041
- return value && typeof value === "number" ? value : 1;
9042
- }
9043
-
9044
9018
  // node_modules/mdast-util-from-markdown/lib/index.js
9045
9019
  var own4 = {}.hasOwnProperty;
9046
9020
  function fromMarkdown(value, encoding, options) {
@@ -9168,24 +9142,24 @@ function compiler(options) {
9168
9142
  data
9169
9143
  };
9170
9144
  const listStack = [];
9171
- let index3 = -1;
9172
- while (++index3 < events.length) {
9173
- if (events[index3][1].type === "listOrdered" || events[index3][1].type === "listUnordered") {
9174
- if (events[index3][0] === "enter") {
9175
- listStack.push(index3);
9145
+ let index2 = -1;
9146
+ while (++index2 < events.length) {
9147
+ if (events[index2][1].type === "listOrdered" || events[index2][1].type === "listUnordered") {
9148
+ if (events[index2][0] === "enter") {
9149
+ listStack.push(index2);
9176
9150
  } else {
9177
9151
  const tail = listStack.pop();
9178
- index3 = prepareList(events, tail, index3);
9152
+ index2 = prepareList(events, tail, index2);
9179
9153
  }
9180
9154
  }
9181
9155
  }
9182
- index3 = -1;
9183
- while (++index3 < events.length) {
9184
- const handler = config[events[index3][0]];
9185
- if (own4.call(handler, events[index3][1].type)) {
9186
- handler[events[index3][1].type].call(Object.assign({
9187
- sliceSerialize: events[index3][2].sliceSerialize
9188
- }, context), events[index3][1]);
9156
+ index2 = -1;
9157
+ while (++index2 < events.length) {
9158
+ const handler = config[events[index2][0]];
9159
+ if (own4.call(handler, events[index2][1].type)) {
9160
+ handler[events[index2][1].type].call(Object.assign({
9161
+ sliceSerialize: events[index2][2].sliceSerialize
9162
+ }, context), events[index2][1]);
9189
9163
  }
9190
9164
  }
9191
9165
  if (context.tokenStack.length > 0) {
@@ -9194,33 +9168,33 @@ function compiler(options) {
9194
9168
  handler.call(context, void 0, tail[0]);
9195
9169
  }
9196
9170
  tree.position = {
9197
- start: point4(events.length > 0 ? events[0][1].start : {
9171
+ start: point3(events.length > 0 ? events[0][1].start : {
9198
9172
  line: 1,
9199
9173
  column: 1,
9200
9174
  offset: 0
9201
9175
  }),
9202
- end: point4(events.length > 0 ? events[events.length - 2][1].end : {
9176
+ end: point3(events.length > 0 ? events[events.length - 2][1].end : {
9203
9177
  line: 1,
9204
9178
  column: 1,
9205
9179
  offset: 0
9206
9180
  })
9207
9181
  };
9208
- index3 = -1;
9209
- while (++index3 < config.transforms.length) {
9210
- tree = config.transforms[index3](tree) || tree;
9182
+ index2 = -1;
9183
+ while (++index2 < config.transforms.length) {
9184
+ tree = config.transforms[index2](tree) || tree;
9211
9185
  }
9212
9186
  return tree;
9213
9187
  }
9214
9188
  function prepareList(events, start2, length) {
9215
- let index3 = start2 - 1;
9189
+ let index2 = start2 - 1;
9216
9190
  let containerBalance = -1;
9217
9191
  let listSpread = false;
9218
9192
  let listItem3;
9219
9193
  let lineIndex;
9220
9194
  let firstBlankLineIndex;
9221
9195
  let atMarker;
9222
- while (++index3 <= length) {
9223
- const event = events[index3];
9196
+ while (++index2 <= length) {
9197
+ const event = events[index2];
9224
9198
  switch (event[1].type) {
9225
9199
  case "listUnordered":
9226
9200
  case "listOrdered":
@@ -9236,7 +9210,7 @@ function compiler(options) {
9236
9210
  case "lineEndingBlank": {
9237
9211
  if (event[0] === "enter") {
9238
9212
  if (listItem3 && !atMarker && !containerBalance && !firstBlankLineIndex) {
9239
- firstBlankLineIndex = index3;
9213
+ firstBlankLineIndex = index2;
9240
9214
  }
9241
9215
  atMarker = void 0;
9242
9216
  }
@@ -9255,7 +9229,7 @@ function compiler(options) {
9255
9229
  }
9256
9230
  if (!containerBalance && event[0] === "enter" && event[1].type === "listItemPrefix" || containerBalance === -1 && event[0] === "exit" && (event[1].type === "listUnordered" || event[1].type === "listOrdered")) {
9257
9231
  if (listItem3) {
9258
- let tailIndex = index3;
9232
+ let tailIndex = index2;
9259
9233
  lineIndex = void 0;
9260
9234
  while (tailIndex--) {
9261
9235
  const tailEvent = events[tailIndex];
@@ -9276,8 +9250,8 @@ function compiler(options) {
9276
9250
  listItem3._spread = true;
9277
9251
  }
9278
9252
  listItem3.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);
9279
- events.splice(lineIndex || index3, 0, ["exit", listItem3, event[2]]);
9280
- index3++;
9253
+ events.splice(lineIndex || index2, 0, ["exit", listItem3, event[2]]);
9254
+ index2++;
9281
9255
  length++;
9282
9256
  }
9283
9257
  if (event[1].type === "listItemPrefix") {
@@ -9289,8 +9263,8 @@ function compiler(options) {
9289
9263
  end: void 0
9290
9264
  };
9291
9265
  listItem3 = item;
9292
- events.splice(index3, 0, ["enter", item, event[2]]);
9293
- index3++;
9266
+ events.splice(index2, 0, ["enter", item, event[2]]);
9267
+ index2++;
9294
9268
  length++;
9295
9269
  firstBlankLineIndex = void 0;
9296
9270
  atMarker = true;
@@ -9320,7 +9294,7 @@ function compiler(options) {
9320
9294
  this.stack.push(node2);
9321
9295
  this.tokenStack.push([token, errorHandler || void 0]);
9322
9296
  node2.position = {
9323
- start: point4(token.start),
9297
+ start: point3(token.start),
9324
9298
  // @ts-expect-error: `end` will be patched later.
9325
9299
  end: void 0
9326
9300
  };
@@ -9336,7 +9310,7 @@ function compiler(options) {
9336
9310
  const node2 = this.stack.pop();
9337
9311
  const open = this.tokenStack.pop();
9338
9312
  if (!open) {
9339
- throw new Error("Cannot close `" + token.type + "` (" + stringifyPosition2({
9313
+ throw new Error("Cannot close `" + token.type + "` (" + stringifyPosition({
9340
9314
  start: token.start,
9341
9315
  end: token.end
9342
9316
  }) + "): it\u2019s not open");
@@ -9348,7 +9322,7 @@ function compiler(options) {
9348
9322
  handler.call(this, token, open[0]);
9349
9323
  }
9350
9324
  }
9351
- node2.position.end = point4(token.end);
9325
+ node2.position.end = point3(token.end);
9352
9326
  }
9353
9327
  function resume() {
9354
9328
  return toString(this.stack.pop());
@@ -9429,7 +9403,7 @@ function compiler(options) {
9429
9403
  if (!tail || tail.type !== "text") {
9430
9404
  tail = text5();
9431
9405
  tail.position = {
9432
- start: point4(token.start),
9406
+ start: point3(token.start),
9433
9407
  // @ts-expect-error: we’ll add `end` later.
9434
9408
  end: void 0
9435
9409
  };
@@ -9440,13 +9414,13 @@ function compiler(options) {
9440
9414
  function onexitdata(token) {
9441
9415
  const tail = this.stack.pop();
9442
9416
  tail.value += this.sliceSerialize(token);
9443
- tail.position.end = point4(token.end);
9417
+ tail.position.end = point3(token.end);
9444
9418
  }
9445
9419
  function onexitlineending(token) {
9446
9420
  const context = this.stack[this.stack.length - 1];
9447
9421
  if (this.data.atHardBreak) {
9448
9422
  const tail = context.children[context.children.length - 1];
9449
- tail.position.end = point4(token.end);
9423
+ tail.position.end = point3(token.end);
9450
9424
  this.data.atHardBreak = void 0;
9451
9425
  return;
9452
9426
  }
@@ -9561,7 +9535,7 @@ function compiler(options) {
9561
9535
  }
9562
9536
  function onexitcharacterreference(token) {
9563
9537
  const tail = this.stack.pop();
9564
- tail.position.end = point4(token.end);
9538
+ tail.position.end = point3(token.end);
9565
9539
  }
9566
9540
  function onexitautolinkprotocol(token) {
9567
9541
  onexitdata.call(this, token);
@@ -9684,7 +9658,7 @@ function compiler(options) {
9684
9658
  };
9685
9659
  }
9686
9660
  }
9687
- function point4(d) {
9661
+ function point3(d) {
9688
9662
  return {
9689
9663
  line: d.line,
9690
9664
  column: d.column,
@@ -9692,9 +9666,9 @@ function point4(d) {
9692
9666
  };
9693
9667
  }
9694
9668
  function configure(combined, extensions) {
9695
- let index3 = -1;
9696
- while (++index3 < extensions.length) {
9697
- const value = extensions[index3];
9669
+ let index2 = -1;
9670
+ while (++index2 < extensions.length) {
9671
+ const value = extensions[index2];
9698
9672
  if (Array.isArray(value)) {
9699
9673
  configure(combined, value);
9700
9674
  } else {
@@ -9735,15 +9709,15 @@ function extension(combined, extension2) {
9735
9709
  }
9736
9710
  function defaultOnError(left, right) {
9737
9711
  if (left) {
9738
- throw new Error("Cannot close `" + left.type + "` (" + stringifyPosition2({
9712
+ throw new Error("Cannot close `" + left.type + "` (" + stringifyPosition({
9739
9713
  start: left.start,
9740
9714
  end: left.end
9741
- }) + "): a different token (`" + right.type + "`, " + stringifyPosition2({
9715
+ }) + "): a different token (`" + right.type + "`, " + stringifyPosition({
9742
9716
  start: right.start,
9743
9717
  end: right.end
9744
9718
  }) + ") is open");
9745
9719
  } else {
9746
- throw new Error("Cannot close document, a token (`" + right.type + "`, " + stringifyPosition2({
9720
+ throw new Error("Cannot close document, a token (`" + right.type + "`, " + stringifyPosition({
9747
9721
  start: right.start,
9748
9722
  end: right.end
9749
9723
  }) + ") is still open");
@@ -9838,7 +9812,7 @@ function footnoteReference(state, node2) {
9838
9812
  const clobberPrefix = typeof state.options.clobberPrefix === "string" ? state.options.clobberPrefix : "user-content-";
9839
9813
  const id = String(node2.identifier).toUpperCase();
9840
9814
  const safeId = normalizeUri(id.toLowerCase());
9841
- const index3 = state.footnoteOrder.indexOf(id);
9815
+ const index2 = state.footnoteOrder.indexOf(id);
9842
9816
  let counter;
9843
9817
  let reuseCounter = state.footnoteCounts.get(id);
9844
9818
  if (reuseCounter === void 0) {
@@ -9846,7 +9820,7 @@ function footnoteReference(state, node2) {
9846
9820
  state.footnoteOrder.push(id);
9847
9821
  counter = state.footnoteOrder.length;
9848
9822
  } else {
9849
- counter = index3 + 1;
9823
+ counter = index2 + 1;
9850
9824
  }
9851
9825
  reuseCounter += 1;
9852
9826
  state.footnoteCounts.set(id, reuseCounter);
@@ -10029,10 +10003,10 @@ function listItem(state, node2, parent) {
10029
10003
  });
10030
10004
  properties.className = ["task-list-item"];
10031
10005
  }
10032
- let index3 = -1;
10033
- while (++index3 < results.length) {
10034
- const child = results[index3];
10035
- if (loose || index3 !== 0 || child.type !== "element" || child.tagName !== "p") {
10006
+ let index2 = -1;
10007
+ while (++index2 < results.length) {
10008
+ const child = results[index2];
10009
+ if (loose || index2 !== 0 || child.type !== "element" || child.tagName !== "p") {
10036
10010
  children.push({ type: "text", value: "\n" });
10037
10011
  }
10038
10012
  if (child.type === "element" && child.tagName === "p" && !loose) {
@@ -10054,9 +10028,9 @@ function listLoose(node2) {
10054
10028
  if (node2.type === "list") {
10055
10029
  loose = node2.spread || false;
10056
10030
  const children = node2.children;
10057
- let index3 = -1;
10058
- while (!loose && ++index3 < children.length) {
10059
- loose = listItemLoose(children[index3]);
10031
+ let index2 = -1;
10032
+ while (!loose && ++index2 < children.length) {
10033
+ loose = listItemLoose(children[index2]);
10060
10034
  }
10061
10035
  }
10062
10036
  return loose;
@@ -10070,12 +10044,12 @@ function listItemLoose(node2) {
10070
10044
  function list2(state, node2) {
10071
10045
  const properties = {};
10072
10046
  const results = state.all(node2);
10073
- let index3 = -1;
10047
+ let index2 = -1;
10074
10048
  if (typeof node2.start === "number" && node2.start !== 1) {
10075
10049
  properties.start = node2.start;
10076
10050
  }
10077
- while (++index3 < results.length) {
10078
- const child = results[index3];
10051
+ while (++index2 < results.length) {
10052
+ const child = results[index2];
10079
10053
  if (child.type === "element" && child.tagName === "li" && child.properties && Array.isArray(child.properties.className) && child.properties.className.includes("task-list-item")) {
10080
10054
  properties.className = ["contains-task-list"];
10081
10055
  break;
@@ -10315,56 +10289,56 @@ var BIGINT = 8;
10315
10289
  // node_modules/@ungap/structured-clone/esm/deserialize.js
10316
10290
  var env = typeof self === "object" ? self : globalThis;
10317
10291
  var deserializer = ($, _) => {
10318
- const as = (out, index3) => {
10319
- $.set(index3, out);
10292
+ const as = (out, index2) => {
10293
+ $.set(index2, out);
10320
10294
  return out;
10321
10295
  };
10322
- const unpair = (index3) => {
10323
- if ($.has(index3))
10324
- return $.get(index3);
10325
- const [type, value] = _[index3];
10296
+ const unpair = (index2) => {
10297
+ if ($.has(index2))
10298
+ return $.get(index2);
10299
+ const [type, value] = _[index2];
10326
10300
  switch (type) {
10327
10301
  case PRIMITIVE:
10328
10302
  case VOID:
10329
- return as(value, index3);
10303
+ return as(value, index2);
10330
10304
  case ARRAY: {
10331
- const arr = as([], index3);
10332
- for (const index4 of value)
10333
- arr.push(unpair(index4));
10305
+ const arr = as([], index2);
10306
+ for (const index3 of value)
10307
+ arr.push(unpair(index3));
10334
10308
  return arr;
10335
10309
  }
10336
10310
  case OBJECT: {
10337
- const object = as({}, index3);
10338
- for (const [key, index4] of value)
10339
- object[unpair(key)] = unpair(index4);
10311
+ const object = as({}, index2);
10312
+ for (const [key, index3] of value)
10313
+ object[unpair(key)] = unpair(index3);
10340
10314
  return object;
10341
10315
  }
10342
10316
  case DATE:
10343
- return as(new Date(value), index3);
10317
+ return as(new Date(value), index2);
10344
10318
  case REGEXP: {
10345
10319
  const { source, flags } = value;
10346
- return as(new RegExp(source, flags), index3);
10320
+ return as(new RegExp(source, flags), index2);
10347
10321
  }
10348
10322
  case MAP: {
10349
- const map = as(/* @__PURE__ */ new Map(), index3);
10350
- for (const [key, index4] of value)
10351
- map.set(unpair(key), unpair(index4));
10323
+ const map = as(/* @__PURE__ */ new Map(), index2);
10324
+ for (const [key, index3] of value)
10325
+ map.set(unpair(key), unpair(index3));
10352
10326
  return map;
10353
10327
  }
10354
10328
  case SET: {
10355
- const set = as(/* @__PURE__ */ new Set(), index3);
10356
- for (const index4 of value)
10357
- set.add(unpair(index4));
10329
+ const set = as(/* @__PURE__ */ new Set(), index2);
10330
+ for (const index3 of value)
10331
+ set.add(unpair(index3));
10358
10332
  return set;
10359
10333
  }
10360
10334
  case ERROR: {
10361
10335
  const { name: name2, message } = value;
10362
- return as(new env[name2](message), index3);
10336
+ return as(new env[name2](message), index2);
10363
10337
  }
10364
10338
  case BIGINT:
10365
- return as(BigInt(value), index3);
10339
+ return as(BigInt(value), index2);
10366
10340
  case "BigInt":
10367
- return as(Object(BigInt(value)), index3);
10341
+ return as(Object(BigInt(value)), index2);
10368
10342
  case "ArrayBuffer":
10369
10343
  return as(new Uint8Array(value).buffer, value);
10370
10344
  case "DataView": {
@@ -10372,7 +10346,7 @@ var deserializer = ($, _) => {
10372
10346
  return as(new DataView(buffer), value);
10373
10347
  }
10374
10348
  }
10375
- return as(new env[type](value), index3);
10349
+ return as(new env[type](value), index2);
10376
10350
  };
10377
10351
  return unpair;
10378
10352
  };
@@ -10412,9 +10386,9 @@ var typeOf = (value) => {
10412
10386
  var shouldSkip = ([TYPE, type]) => TYPE === PRIMITIVE && (type === "function" || type === "symbol");
10413
10387
  var serializer = (strict, json, $, _) => {
10414
10388
  const as = (out, value) => {
10415
- const index3 = _.push(out) - 1;
10416
- $.set(value, index3);
10417
- return index3;
10389
+ const index2 = _.push(out) - 1;
10390
+ $.set(value, index2);
10391
+ return index2;
10418
10392
  };
10419
10393
  const pair = (value) => {
10420
10394
  if ($.has(value))
@@ -10450,10 +10424,10 @@ var serializer = (strict, json, $, _) => {
10450
10424
  return as([type, [...spread]], value);
10451
10425
  }
10452
10426
  const arr = [];
10453
- const index3 = as([TYPE, arr], value);
10427
+ const index2 = as([TYPE, arr], value);
10454
10428
  for (const entry of value)
10455
10429
  arr.push(pair(entry));
10456
- return index3;
10430
+ return index2;
10457
10431
  }
10458
10432
  case OBJECT: {
10459
10433
  if (type) {
@@ -10469,12 +10443,12 @@ var serializer = (strict, json, $, _) => {
10469
10443
  if (json && "toJSON" in value)
10470
10444
  return pair(value.toJSON());
10471
10445
  const entries = [];
10472
- const index3 = as([TYPE, entries], value);
10446
+ const index2 = as([TYPE, entries], value);
10473
10447
  for (const key of keys2(value)) {
10474
10448
  if (strict || !shouldSkip(typeOf(value[key])))
10475
10449
  entries.push([pair(key), pair(value[key])]);
10476
10450
  }
10477
- return index3;
10451
+ return index2;
10478
10452
  }
10479
10453
  case DATE:
10480
10454
  return as([TYPE, value.toISOString()], value);
@@ -10484,21 +10458,21 @@ var serializer = (strict, json, $, _) => {
10484
10458
  }
10485
10459
  case MAP: {
10486
10460
  const entries = [];
10487
- const index3 = as([TYPE, entries], value);
10461
+ const index2 = as([TYPE, entries], value);
10488
10462
  for (const [key, entry] of value) {
10489
10463
  if (strict || !(shouldSkip(typeOf(key)) || shouldSkip(typeOf(entry))))
10490
10464
  entries.push([pair(key), pair(entry)]);
10491
10465
  }
10492
- return index3;
10466
+ return index2;
10493
10467
  }
10494
10468
  case SET: {
10495
10469
  const entries = [];
10496
- const index3 = as([TYPE, entries], value);
10470
+ const index2 = as([TYPE, entries], value);
10497
10471
  for (const entry of value) {
10498
10472
  if (strict || !shouldSkip(typeOf(entry)))
10499
10473
  entries.push(pair(entry));
10500
10474
  }
10501
- return index3;
10475
+ return index2;
10502
10476
  }
10503
10477
  }
10504
10478
  const { message } = value;
@@ -10661,15 +10635,15 @@ var convert = (
10661
10635
  );
10662
10636
  function anyFactory(tests) {
10663
10637
  const checks2 = [];
10664
- let index3 = -1;
10665
- while (++index3 < tests.length) {
10666
- checks2[index3] = convert(tests[index3]);
10638
+ let index2 = -1;
10639
+ while (++index2 < tests.length) {
10640
+ checks2[index2] = convert(tests[index2]);
10667
10641
  }
10668
10642
  return castFactory(any);
10669
10643
  function any(...parameters) {
10670
- let index4 = -1;
10671
- while (++index4 < checks2.length) {
10672
- if (checks2[index4].apply(this, parameters)) return true;
10644
+ let index3 = -1;
10645
+ while (++index3 < checks2.length) {
10646
+ if (checks2[index3].apply(this, parameters)) return true;
10673
10647
  }
10674
10648
  return false;
10675
10649
  }
@@ -10701,12 +10675,12 @@ function typeFactory(check) {
10701
10675
  }
10702
10676
  function castFactory(testFunction) {
10703
10677
  return check;
10704
- function check(value, index3, parent) {
10678
+ function check(value, index2, parent) {
10705
10679
  return Boolean(
10706
10680
  looksLikeANode(value) && testFunction.call(
10707
10681
  this,
10708
10682
  value,
10709
- typeof index3 === "number" ? index3 : void 0,
10683
+ typeof index2 === "number" ? index2 : void 0,
10710
10684
  parent || void 0
10711
10685
  )
10712
10686
  );
@@ -10740,7 +10714,7 @@ function visitParents(tree, test, visitor, reverse) {
10740
10714
  const is2 = convert(check);
10741
10715
  const step = reverse ? -1 : 1;
10742
10716
  factory(tree, void 0, [])();
10743
- function factory(node2, index3, parents) {
10717
+ function factory(node2, index2, parents) {
10744
10718
  const value = (
10745
10719
  /** @type {Record<string, unknown>} */
10746
10720
  node2 && typeof node2 === "object" ? node2 : {}
@@ -10763,7 +10737,7 @@ function visitParents(tree, test, visitor, reverse) {
10763
10737
  let subresult;
10764
10738
  let offset;
10765
10739
  let grandparents;
10766
- if (!test || is2(node2, index3, parents[parents.length - 1] || void 0)) {
10740
+ if (!test || is2(node2, index2, parents[parents.length - 1] || void 0)) {
10767
10741
  result = toResult(visitor(node2, parents));
10768
10742
  if (result[0] === EXIT) {
10769
10743
  return result;
@@ -10818,8 +10792,8 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
10818
10792
  visitParents(tree, test, overload, reverse);
10819
10793
  function overload(node2, parents) {
10820
10794
  const parent = parents[parents.length - 1];
10821
- const index3 = parent ? parent.children.indexOf(node2) : void 0;
10822
- return visitor(node2, index3, parent);
10795
+ const index2 = parent ? parent.children.indexOf(node2) : void 0;
10796
+ return visitor(node2, index2, parent);
10823
10797
  }
10824
10798
  }
10825
10799
 
@@ -10877,11 +10851,11 @@ function createState(tree, options) {
10877
10851
  const values = [];
10878
10852
  if ("children" in parent) {
10879
10853
  const nodes = parent.children;
10880
- let index3 = -1;
10881
- while (++index3 < nodes.length) {
10882
- const result = state.one(nodes[index3], parent);
10854
+ let index2 = -1;
10855
+ while (++index2 < nodes.length) {
10856
+ const result = state.one(nodes[index2], parent);
10883
10857
  if (result) {
10884
- if (index3 && nodes[index3 - 1].type === "break") {
10858
+ if (index2 && nodes[index2 - 1].type === "break") {
10885
10859
  if (!Array.isArray(result) && result.type === "text") {
10886
10860
  result.value = trimMarkdownSpaceStart(result.value);
10887
10861
  }
@@ -10942,13 +10916,13 @@ function defaultUnknownHandler(state, node2) {
10942
10916
  }
10943
10917
  function wrap(nodes, loose) {
10944
10918
  const result = [];
10945
- let index3 = -1;
10919
+ let index2 = -1;
10946
10920
  if (loose) {
10947
10921
  result.push({ type: "text", value: "\n" });
10948
10922
  }
10949
- while (++index3 < nodes.length) {
10950
- if (index3) result.push({ type: "text", value: "\n" });
10951
- result.push(nodes[index3]);
10923
+ while (++index2 < nodes.length) {
10924
+ if (index2) result.push({ type: "text", value: "\n" });
10925
+ result.push(nodes[index2]);
10952
10926
  }
10953
10927
  if (loose && nodes.length > 0) {
10954
10928
  result.push({ type: "text", value: "\n" });
@@ -10956,13 +10930,13 @@ function wrap(nodes, loose) {
10956
10930
  return result;
10957
10931
  }
10958
10932
  function trimMarkdownSpaceStart(value) {
10959
- let index3 = 0;
10960
- let code2 = value.charCodeAt(index3);
10933
+ let index2 = 0;
10934
+ let code2 = value.charCodeAt(index2);
10961
10935
  while (code2 === 9 || code2 === 32) {
10962
- index3++;
10963
- code2 = value.charCodeAt(index3);
10936
+ index2++;
10937
+ code2 = value.charCodeAt(index2);
10964
10938
  }
10965
- return value.slice(index3);
10939
+ return value.slice(index2);
10966
10940
  }
10967
10941
 
10968
10942
  // node_modules/mdast-util-to-hast/lib/index.js
@@ -11030,14 +11004,14 @@ function trough() {
11030
11004
  next(null, ...values);
11031
11005
  function next(error, ...output) {
11032
11006
  const fn = fns[++middlewareIndex];
11033
- let index3 = -1;
11007
+ let index2 = -1;
11034
11008
  if (error) {
11035
11009
  callback(error);
11036
11010
  return;
11037
11011
  }
11038
- while (++index3 < values.length) {
11039
- if (output[index3] === null || output[index3] === void 0) {
11040
- output[index3] = values[index3];
11012
+ while (++index2 < values.length) {
11013
+ if (output[index2] === null || output[index2] === void 0) {
11014
+ output[index2] = values[index2];
11041
11015
  }
11042
11016
  }
11043
11017
  values = output;
@@ -11171,9 +11145,9 @@ var VFile = class {
11171
11145
  this.map;
11172
11146
  this.result;
11173
11147
  this.stored;
11174
- let index3 = -1;
11175
- while (++index3 < order.length) {
11176
- const field2 = order[index3];
11148
+ let index2 = -1;
11149
+ while (++index2 < order.length) {
11150
+ const field2 = order[index2];
11177
11151
  if (field2 in options && options[field2] !== void 0 && options[field2] !== null) {
11178
11152
  this[field2] = field2 === "history" ? [...options[field2]] : options[field2];
11179
11153
  }
@@ -11636,9 +11610,9 @@ var Processor = class _Processor extends CallableInstance {
11636
11610
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
11637
11611
  new _Processor()
11638
11612
  );
11639
- let index3 = -1;
11640
- while (++index3 < this.attachers.length) {
11641
- const attacher = this.attachers[index3];
11613
+ let index2 = -1;
11614
+ while (++index2 < this.attachers.length) {
11615
+ const attacher = this.attachers[index2];
11642
11616
  destination.use(...attacher);
11643
11617
  }
11644
11618
  destination.data((0, import_extend.default)(true, {}, this.namespace));
@@ -12158,11 +12132,11 @@ var Processor = class _Processor extends CallableInstance {
12158
12132
  }
12159
12133
  }
12160
12134
  function addList(plugins) {
12161
- let index3 = -1;
12135
+ let index2 = -1;
12162
12136
  if (plugins === null || plugins === void 0) {
12163
12137
  } else if (Array.isArray(plugins)) {
12164
- while (++index3 < plugins.length) {
12165
- const thing = plugins[index3];
12138
+ while (++index2 < plugins.length) {
12139
+ const thing = plugins[index2];
12166
12140
  add(thing);
12167
12141
  }
12168
12142
  } else {
@@ -12170,11 +12144,11 @@ var Processor = class _Processor extends CallableInstance {
12170
12144
  }
12171
12145
  }
12172
12146
  function addPlugin(plugin, parameters2) {
12173
- let index3 = -1;
12147
+ let index2 = -1;
12174
12148
  let entryIndex = -1;
12175
- while (++index3 < attachers.length) {
12176
- if (attachers[index3][0] === plugin) {
12177
- entryIndex = index3;
12149
+ while (++index2 < attachers.length) {
12150
+ if (attachers[index2][0] === plugin) {
12151
+ entryIndex = index2;
12178
12152
  break;
12179
12153
  }
12180
12154
  }
@@ -12337,14 +12311,14 @@ function Markdown(options) {
12337
12311
  passKeys: true,
12338
12312
  passNode: true
12339
12313
  });
12340
- function transform(node2, index3, parent) {
12341
- if (node2.type === "raw" && parent && typeof index3 === "number") {
12314
+ function transform(node2, index2, parent) {
12315
+ if (node2.type === "raw" && parent && typeof index2 === "number") {
12342
12316
  if (skipHtml) {
12343
- parent.children.splice(index3, 1);
12317
+ parent.children.splice(index2, 1);
12344
12318
  } else {
12345
- parent.children[index3] = { type: "text", value: node2.value };
12319
+ parent.children[index2] = { type: "text", value: node2.value };
12346
12320
  }
12347
- return index3;
12321
+ return index2;
12348
12322
  }
12349
12323
  if (node2.type === "element") {
12350
12324
  let key;
@@ -12360,16 +12334,16 @@ function Markdown(options) {
12360
12334
  }
12361
12335
  if (node2.type === "element") {
12362
12336
  let remove = allowedElements ? !allowedElements.includes(node2.tagName) : disallowedElements ? disallowedElements.includes(node2.tagName) : false;
12363
- if (!remove && allowElement && typeof index3 === "number") {
12364
- remove = !allowElement(node2, index3, parent);
12337
+ if (!remove && allowElement && typeof index2 === "number") {
12338
+ remove = !allowElement(node2, index2, parent);
12365
12339
  }
12366
- if (remove && parent && typeof index3 === "number") {
12340
+ if (remove && parent && typeof index2 === "number") {
12367
12341
  if (unwrapDisallowed && node2.children) {
12368
- parent.children.splice(index3, 1, ...node2.children);
12342
+ parent.children.splice(index2, 1, ...node2.children);
12369
12343
  } else {
12370
- parent.children.splice(index3, 1);
12344
+ parent.children.splice(index2, 1);
12371
12345
  }
12372
- return index3;
12346
+ return index2;
12373
12347
  }
12374
12348
  }
12375
12349
  }
@@ -13089,7 +13063,7 @@ var SpriteImage = ({
13089
13063
  columns,
13090
13064
  fallback,
13091
13065
  height,
13092
- position: position4,
13066
+ position: position3,
13093
13067
  rows,
13094
13068
  spriteUrl,
13095
13069
  style,
@@ -13099,7 +13073,7 @@ var SpriteImage = ({
13099
13073
  (0, import_react31.useEffect)(() => {
13100
13074
  getImageDimensions(spriteUrl).then(setSpriteDimensions).catch(console.error);
13101
13075
  }, [spriteUrl]);
13102
- const [x, y] = position4;
13076
+ const [x, y] = position3;
13103
13077
  if (!spriteHeight || !spriteWidth) return /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, fallback);
13104
13078
  return /* @__PURE__ */ import_react31.default.createElement(
13105
13079
  "div",
@@ -13138,13 +13112,13 @@ var StreamEmoji = ({
13138
13112
  fallback,
13139
13113
  type
13140
13114
  }) => {
13141
- const position4 = StreamSpriteEmojiPositions[type];
13115
+ const position3 = StreamSpriteEmojiPositions[type];
13142
13116
  return /* @__PURE__ */ import_react32.default.createElement(
13143
13117
  SpriteImage,
13144
13118
  {
13145
13119
  columns: 2,
13146
13120
  fallback,
13147
- position: position4,
13121
+ position: position3,
13148
13122
  rows: 3,
13149
13123
  spriteUrl: STREAM_SPRITE_URL,
13150
13124
  style: {