stream-chat-react 13.1.2 → 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
  }
@@ -2874,9 +2874,9 @@ function push(list3, items) {
2874
2874
  var hasOwnProperty = {}.hasOwnProperty;
2875
2875
  function combineExtensions(extensions) {
2876
2876
  const all2 = {};
2877
- let index3 = -1;
2878
- while (++index3 < extensions.length) {
2879
- syntaxExtension(all2, extensions[index3]);
2877
+ let index2 = -1;
2878
+ while (++index2 < extensions.length) {
2879
+ syntaxExtension(all2, extensions[index2]);
2880
2880
  }
2881
2881
  return all2;
2882
2882
  }
@@ -2901,11 +2901,11 @@ function syntaxExtension(all2, extension2) {
2901
2901
  }
2902
2902
  }
2903
2903
  function constructs(existing, list3) {
2904
- let index3 = -1;
2904
+ let index2 = -1;
2905
2905
  const before = [];
2906
- while (++index3 < list3.length) {
2906
+ while (++index2 < list3.length) {
2907
2907
  ;
2908
- (list3[index3].add === "after" ? existing : before).push(list3[index3]);
2908
+ (list3[index2].add === "after" ? existing : before).push(list3[index2]);
2909
2909
  }
2910
2910
  splice(existing, 0, 0, before);
2911
2911
  }
@@ -2968,20 +2968,20 @@ function regexCheck(regex) {
2968
2968
  // node_modules/micromark-util-sanitize-uri/index.js
2969
2969
  function normalizeUri(value) {
2970
2970
  const result = [];
2971
- let index3 = -1;
2971
+ let index2 = -1;
2972
2972
  let start2 = 0;
2973
2973
  let skip = 0;
2974
- while (++index3 < value.length) {
2975
- const code2 = value.charCodeAt(index3);
2974
+ while (++index2 < value.length) {
2975
+ const code2 = value.charCodeAt(index2);
2976
2976
  let replace = "";
2977
- if (code2 === 37 && asciiAlphanumeric(value.charCodeAt(index3 + 1)) && asciiAlphanumeric(value.charCodeAt(index3 + 2))) {
2977
+ if (code2 === 37 && asciiAlphanumeric(value.charCodeAt(index2 + 1)) && asciiAlphanumeric(value.charCodeAt(index2 + 2))) {
2978
2978
  skip = 2;
2979
2979
  } else if (code2 < 128) {
2980
2980
  if (!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(code2))) {
2981
2981
  replace = String.fromCharCode(code2);
2982
2982
  }
2983
2983
  } else if (code2 > 55295 && code2 < 57344) {
2984
- const next = value.charCodeAt(index3 + 1);
2984
+ const next = value.charCodeAt(index2 + 1);
2985
2985
  if (code2 < 56320 && next > 56319 && next < 57344) {
2986
2986
  replace = String.fromCharCode(code2, next);
2987
2987
  skip = 1;
@@ -2992,12 +2992,12 @@ function normalizeUri(value) {
2992
2992
  replace = String.fromCharCode(code2);
2993
2993
  }
2994
2994
  if (replace) {
2995
- result.push(value.slice(start2, index3), encodeURIComponent(replace));
2996
- start2 = index3 + skip + 1;
2995
+ result.push(value.slice(start2, index2), encodeURIComponent(replace));
2996
+ start2 = index2 + skip + 1;
2997
2997
  replace = "";
2998
2998
  }
2999
2999
  if (skip) {
3000
- index3 += skip;
3000
+ index2 += skip;
3001
3001
  skip = 0;
3002
3002
  }
3003
3003
  }
@@ -3108,23 +3108,23 @@ function initializeDocument(effects) {
3108
3108
  }
3109
3109
  const indexBeforeExits = self2.events.length;
3110
3110
  let indexBeforeFlow = indexBeforeExits;
3111
- let point5;
3111
+ let point4;
3112
3112
  while (indexBeforeFlow--) {
3113
3113
  if (self2.events[indexBeforeFlow][0] === "exit" && self2.events[indexBeforeFlow][1].type === "chunkFlow") {
3114
- point5 = self2.events[indexBeforeFlow][1].end;
3114
+ point4 = self2.events[indexBeforeFlow][1].end;
3115
3115
  break;
3116
3116
  }
3117
3117
  }
3118
3118
  exitContainers(continued);
3119
- let index3 = indexBeforeExits;
3120
- while (index3 < self2.events.length) {
3121
- self2.events[index3][1].end = {
3122
- ...point5
3119
+ let index2 = indexBeforeExits;
3120
+ while (index2 < self2.events.length) {
3121
+ self2.events[index2][1].end = {
3122
+ ...point4
3123
3123
  };
3124
- index3++;
3124
+ index2++;
3125
3125
  }
3126
3126
  splice(self2.events, indexBeforeFlow + 1, 0, self2.events.slice(indexBeforeExits));
3127
- self2.events.length = index3;
3127
+ self2.events.length = index2;
3128
3128
  return checkNewContainers(code2);
3129
3129
  }
3130
3130
  return start2(code2);
@@ -3202,13 +3202,13 @@ function initializeDocument(effects) {
3202
3202
  childFlow.defineSkip(token.start);
3203
3203
  childFlow.write(stream);
3204
3204
  if (self2.parser.lazy[token.start.line]) {
3205
- let index3 = childFlow.events.length;
3206
- while (index3--) {
3205
+ let index2 = childFlow.events.length;
3206
+ while (index2--) {
3207
3207
  if (
3208
3208
  // The token starts before the line ending…
3209
- childFlow.events[index3][1].start.offset < lineStartOffset && // …and either is not ended yet…
3210
- (!childFlow.events[index3][1].end || // …or ends after it.
3211
- childFlow.events[index3][1].end.offset > lineStartOffset)
3209
+ childFlow.events[index2][1].start.offset < lineStartOffset && // …and either is not ended yet…
3210
+ (!childFlow.events[index2][1].end || // …or ends after it.
3211
+ childFlow.events[index2][1].end.offset > lineStartOffset)
3212
3212
  ) {
3213
3213
  return;
3214
3214
  }
@@ -3216,32 +3216,32 @@ function initializeDocument(effects) {
3216
3216
  const indexBeforeExits = self2.events.length;
3217
3217
  let indexBeforeFlow = indexBeforeExits;
3218
3218
  let seen;
3219
- let point5;
3219
+ let point4;
3220
3220
  while (indexBeforeFlow--) {
3221
3221
  if (self2.events[indexBeforeFlow][0] === "exit" && self2.events[indexBeforeFlow][1].type === "chunkFlow") {
3222
3222
  if (seen) {
3223
- point5 = self2.events[indexBeforeFlow][1].end;
3223
+ point4 = self2.events[indexBeforeFlow][1].end;
3224
3224
  break;
3225
3225
  }
3226
3226
  seen = true;
3227
3227
  }
3228
3228
  }
3229
3229
  exitContainers(continued);
3230
- index3 = indexBeforeExits;
3231
- while (index3 < self2.events.length) {
3232
- self2.events[index3][1].end = {
3233
- ...point5
3230
+ index2 = indexBeforeExits;
3231
+ while (index2 < self2.events.length) {
3232
+ self2.events[index2][1].end = {
3233
+ ...point4
3234
3234
  };
3235
- index3++;
3235
+ index2++;
3236
3236
  }
3237
3237
  splice(self2.events, indexBeforeFlow + 1, 0, self2.events.slice(indexBeforeExits));
3238
- self2.events.length = index3;
3238
+ self2.events.length = index2;
3239
3239
  }
3240
3240
  }
3241
3241
  function exitContainers(size) {
3242
- let index3 = stack.length;
3243
- while (index3-- > size) {
3244
- const entry = stack[index3];
3242
+ let index2 = stack.length;
3243
+ while (index2-- > size) {
3244
+ const entry = stack[index2];
3245
3245
  self2.containerState = entry[1];
3246
3246
  entry[0].exit.call(self2, effects);
3247
3247
  }
@@ -3271,9 +3271,9 @@ function classifyCharacter(code2) {
3271
3271
  // node_modules/micromark-util-resolve-all/index.js
3272
3272
  function resolveAll(constructs2, events, context) {
3273
3273
  const called = [];
3274
- let index3 = -1;
3275
- while (++index3 < constructs2.length) {
3276
- const resolve = constructs2[index3].resolveAll;
3274
+ let index2 = -1;
3275
+ while (++index2 < constructs2.length) {
3276
+ const resolve = constructs2[index2].resolveAll;
3277
3277
  if (resolve && !called.includes(resolve)) {
3278
3278
  events = resolve(events, context);
3279
3279
  called.push(resolve);
@@ -3289,7 +3289,7 @@ var attention = {
3289
3289
  tokenize: tokenizeAttention
3290
3290
  };
3291
3291
  function resolveAllAttention(events, context) {
3292
- let index3 = -1;
3292
+ let index2 = -1;
3293
3293
  let open;
3294
3294
  let group;
3295
3295
  let text5;
@@ -3298,21 +3298,21 @@ function resolveAllAttention(events, context) {
3298
3298
  let use;
3299
3299
  let nextEvents;
3300
3300
  let offset;
3301
- while (++index3 < events.length) {
3302
- if (events[index3][0] === "enter" && events[index3][1].type === "attentionSequence" && events[index3][1]._close) {
3303
- open = index3;
3301
+ while (++index2 < events.length) {
3302
+ if (events[index2][0] === "enter" && events[index2][1].type === "attentionSequence" && events[index2][1]._close) {
3303
+ open = index2;
3304
3304
  while (open--) {
3305
3305
  if (events[open][0] === "exit" && events[open][1].type === "attentionSequence" && events[open][1]._open && // If the markers are the same:
3306
- context.sliceSerialize(events[open][1]).charCodeAt(0) === context.sliceSerialize(events[index3][1]).charCodeAt(0)) {
3307
- 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)) {
3306
+ context.sliceSerialize(events[open][1]).charCodeAt(0) === context.sliceSerialize(events[index2][1]).charCodeAt(0)) {
3307
+ 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)) {
3308
3308
  continue;
3309
3309
  }
3310
- 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;
3310
+ 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;
3311
3311
  const start2 = {
3312
3312
  ...events[open][1].end
3313
3313
  };
3314
3314
  const end = {
3315
- ...events[index3][1].start
3315
+ ...events[index2][1].start
3316
3316
  };
3317
3317
  movePoint(start2, -use);
3318
3318
  movePoint(end, use);
@@ -3326,7 +3326,7 @@ function resolveAllAttention(events, context) {
3326
3326
  closingSequence = {
3327
3327
  type: use > 1 ? "strongSequence" : "emphasisSequence",
3328
3328
  start: {
3329
- ...events[index3][1].start
3329
+ ...events[index2][1].start
3330
3330
  },
3331
3331
  end
3332
3332
  };
@@ -3336,7 +3336,7 @@ function resolveAllAttention(events, context) {
3336
3336
  ...events[open][1].end
3337
3337
  },
3338
3338
  end: {
3339
- ...events[index3][1].start
3339
+ ...events[index2][1].start
3340
3340
  }
3341
3341
  };
3342
3342
  group = {
@@ -3351,7 +3351,7 @@ function resolveAllAttention(events, context) {
3351
3351
  events[open][1].end = {
3352
3352
  ...openingSequence.start
3353
3353
  };
3354
- events[index3][1].start = {
3354
+ events[index2][1].start = {
3355
3355
  ...closingSequence.end
3356
3356
  };
3357
3357
  nextEvents = [];
@@ -3359,25 +3359,25 @@ function resolveAllAttention(events, context) {
3359
3359
  nextEvents = push(nextEvents, [["enter", events[open][1], context], ["exit", events[open][1], context]]);
3360
3360
  }
3361
3361
  nextEvents = push(nextEvents, [["enter", group, context], ["enter", openingSequence, context], ["exit", openingSequence, context], ["enter", text5, context]]);
3362
- nextEvents = push(nextEvents, resolveAll(context.parser.constructs.insideSpan.null, events.slice(open + 1, index3), context));
3362
+ nextEvents = push(nextEvents, resolveAll(context.parser.constructs.insideSpan.null, events.slice(open + 1, index2), context));
3363
3363
  nextEvents = push(nextEvents, [["exit", text5, context], ["enter", closingSequence, context], ["exit", closingSequence, context], ["exit", group, context]]);
3364
- if (events[index3][1].end.offset - events[index3][1].start.offset) {
3364
+ if (events[index2][1].end.offset - events[index2][1].start.offset) {
3365
3365
  offset = 2;
3366
- nextEvents = push(nextEvents, [["enter", events[index3][1], context], ["exit", events[index3][1], context]]);
3366
+ nextEvents = push(nextEvents, [["enter", events[index2][1], context], ["exit", events[index2][1], context]]);
3367
3367
  } else {
3368
3368
  offset = 0;
3369
3369
  }
3370
- splice(events, open - 1, index3 - open + 3, nextEvents);
3371
- index3 = open + nextEvents.length - offset - 2;
3370
+ splice(events, open - 1, index2 - open + 3, nextEvents);
3371
+ index2 = open + nextEvents.length - offset - 2;
3372
3372
  break;
3373
3373
  }
3374
3374
  }
3375
3375
  }
3376
3376
  }
3377
- index3 = -1;
3378
- while (++index3 < events.length) {
3379
- if (events[index3][1].type === "attentionSequence") {
3380
- events[index3][1].type = "data";
3377
+ index2 = -1;
3378
+ while (++index2 < events.length) {
3379
+ if (events[index2][1].type === "attentionSequence") {
3380
+ events[index2][1].type = "data";
3381
3381
  }
3382
3382
  }
3383
3383
  return events;
@@ -3407,10 +3407,10 @@ function tokenizeAttention(effects, ok3) {
3407
3407
  return ok3(code2);
3408
3408
  }
3409
3409
  }
3410
- function movePoint(point5, offset) {
3411
- point5.column += offset;
3412
- point5.offset += offset;
3413
- point5._bufferIndex += offset;
3410
+ function movePoint(point4, offset) {
3411
+ point4.column += offset;
3412
+ point4.offset += offset;
3413
+ point4._bufferIndex += offset;
3414
3414
  }
3415
3415
 
3416
3416
  // node_modules/micromark-core-commonmark/lib/autolink.js
@@ -3935,12 +3935,12 @@ var codeText = {
3935
3935
  function resolveCodeText(events) {
3936
3936
  let tailExitIndex = events.length - 4;
3937
3937
  let headEnterIndex = 3;
3938
- let index3;
3938
+ let index2;
3939
3939
  let enter;
3940
3940
  if ((events[headEnterIndex][1].type === "lineEnding" || events[headEnterIndex][1].type === "space") && (events[tailExitIndex][1].type === "lineEnding" || events[tailExitIndex][1].type === "space")) {
3941
- index3 = headEnterIndex;
3942
- while (++index3 < tailExitIndex) {
3943
- if (events[index3][1].type === "codeTextData") {
3941
+ index2 = headEnterIndex;
3942
+ while (++index2 < tailExitIndex) {
3943
+ if (events[index2][1].type === "codeTextData") {
3944
3944
  events[headEnterIndex][1].type = "codeTextPadding";
3945
3945
  events[tailExitIndex][1].type = "codeTextPadding";
3946
3946
  headEnterIndex += 2;
@@ -3949,20 +3949,20 @@ function resolveCodeText(events) {
3949
3949
  }
3950
3950
  }
3951
3951
  }
3952
- index3 = headEnterIndex - 1;
3952
+ index2 = headEnterIndex - 1;
3953
3953
  tailExitIndex++;
3954
- while (++index3 <= tailExitIndex) {
3954
+ while (++index2 <= tailExitIndex) {
3955
3955
  if (enter === void 0) {
3956
- if (index3 !== tailExitIndex && events[index3][1].type !== "lineEnding") {
3957
- enter = index3;
3956
+ if (index2 !== tailExitIndex && events[index2][1].type !== "lineEnding") {
3957
+ enter = index2;
3958
3958
  }
3959
- } else if (index3 === tailExitIndex || events[index3][1].type === "lineEnding") {
3959
+ } else if (index2 === tailExitIndex || events[index2][1].type === "lineEnding") {
3960
3960
  events[enter][1].type = "codeTextData";
3961
- if (index3 !== enter + 2) {
3962
- events[enter][1].end = events[index3 - 1][1].end;
3963
- events.splice(enter + 2, index3 - enter - 2);
3964
- tailExitIndex -= index3 - enter - 2;
3965
- index3 = enter + 2;
3961
+ if (index2 !== enter + 2) {
3962
+ events[enter][1].end = events[index2 - 1][1].end;
3963
+ events.splice(enter + 2, index2 - enter - 2);
3964
+ tailExitIndex -= index2 - enter - 2;
3965
+ index2 = enter + 2;
3966
3966
  }
3967
3967
  enter = void 0;
3968
3968
  }
@@ -4061,12 +4061,12 @@ var SpliceBuffer = class {
4061
4061
  * @return {T}
4062
4062
  * Item.
4063
4063
  */
4064
- get(index3) {
4065
- if (index3 < 0 || index3 >= this.left.length + this.right.length) {
4066
- throw new RangeError("Cannot access index `" + index3 + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
4064
+ get(index2) {
4065
+ if (index2 < 0 || index2 >= this.left.length + this.right.length) {
4066
+ throw new RangeError("Cannot access index `" + index2 + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
4067
4067
  }
4068
- if (index3 < this.left.length) return this.left[index3];
4069
- return this.right[this.right.length - index3 + this.left.length - 1];
4068
+ if (index2 < this.left.length) return this.left[index2];
4069
+ return this.right[this.right.length - index2 + this.left.length - 1];
4070
4070
  }
4071
4071
  /**
4072
4072
  * The length of the splice buffer, one greater than the largest index in the
@@ -4236,7 +4236,7 @@ function chunkedPush(list3, right) {
4236
4236
  // node_modules/micromark-util-subtokenize/index.js
4237
4237
  function subtokenize(eventsArray) {
4238
4238
  const jumps = {};
4239
- let index3 = -1;
4239
+ let index2 = -1;
4240
4240
  let event;
4241
4241
  let lineIndex;
4242
4242
  let otherIndex;
@@ -4245,12 +4245,12 @@ function subtokenize(eventsArray) {
4245
4245
  let subevents;
4246
4246
  let more;
4247
4247
  const events = new SpliceBuffer(eventsArray);
4248
- while (++index3 < events.length) {
4249
- while (index3 in jumps) {
4250
- index3 = jumps[index3];
4248
+ while (++index2 < events.length) {
4249
+ while (index2 in jumps) {
4250
+ index2 = jumps[index2];
4251
4251
  }
4252
- event = events.get(index3);
4253
- if (index3 && event[1].type === "chunkFlow" && events.get(index3 - 1)[1].type === "listItemPrefix") {
4252
+ event = events.get(index2);
4253
+ if (index2 && event[1].type === "chunkFlow" && events.get(index2 - 1)[1].type === "listItemPrefix") {
4254
4254
  subevents = event[1]._tokenizer.events;
4255
4255
  otherIndex = 0;
4256
4256
  if (otherIndex < subevents.length && subevents[otherIndex][1].type === "lineEndingBlank") {
@@ -4270,12 +4270,12 @@ function subtokenize(eventsArray) {
4270
4270
  }
4271
4271
  if (event[0] === "enter") {
4272
4272
  if (event[1].contentType) {
4273
- Object.assign(jumps, subcontent(events, index3));
4274
- index3 = jumps[index3];
4273
+ Object.assign(jumps, subcontent(events, index2));
4274
+ index2 = jumps[index2];
4275
4275
  more = true;
4276
4276
  }
4277
4277
  } else if (event[1]._container) {
4278
- otherIndex = index3;
4278
+ otherIndex = index2;
4279
4279
  lineIndex = void 0;
4280
4280
  while (otherIndex--) {
4281
4281
  otherEvent = events.get(otherIndex);
@@ -4296,9 +4296,9 @@ function subtokenize(eventsArray) {
4296
4296
  event[1].end = {
4297
4297
  ...events.get(lineIndex)[1].start
4298
4298
  };
4299
- parameters = events.slice(lineIndex, index3);
4299
+ parameters = events.slice(lineIndex, index2);
4300
4300
  parameters.unshift(event);
4301
- events.splice(lineIndex, index3 - lineIndex + 1, parameters);
4301
+ events.splice(lineIndex, index2 - lineIndex + 1, parameters);
4302
4302
  }
4303
4303
  }
4304
4304
  }
@@ -4316,7 +4316,7 @@ function subcontent(events, eventIndex) {
4316
4316
  const gaps = {};
4317
4317
  let stream;
4318
4318
  let previous2;
4319
- let index3 = -1;
4319
+ let index2 = -1;
4320
4320
  let current = token;
4321
4321
  let adjust = 0;
4322
4322
  let start2 = 0;
@@ -4345,12 +4345,12 @@ function subcontent(events, eventIndex) {
4345
4345
  current = current.next;
4346
4346
  }
4347
4347
  current = token;
4348
- while (++index3 < childEvents.length) {
4348
+ while (++index2 < childEvents.length) {
4349
4349
  if (
4350
4350
  // Find a void token that includes a break.
4351
- 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
4351
+ 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
4352
4352
  ) {
4353
- start2 = index3 + 1;
4353
+ start2 = index2 + 1;
4354
4354
  breaks.push(start2);
4355
4355
  current._tokenizer = void 0;
4356
4356
  current.previous = void 0;
@@ -4364,18 +4364,18 @@ function subcontent(events, eventIndex) {
4364
4364
  } else {
4365
4365
  breaks.pop();
4366
4366
  }
4367
- index3 = breaks.length;
4368
- while (index3--) {
4369
- const slice = childEvents.slice(breaks[index3], breaks[index3 + 1]);
4367
+ index2 = breaks.length;
4368
+ while (index2--) {
4369
+ const slice = childEvents.slice(breaks[index2], breaks[index2 + 1]);
4370
4370
  const start3 = startPositions.pop();
4371
4371
  jumps.push([start3, start3 + slice.length - 1]);
4372
4372
  events.splice(start3, 2, slice);
4373
4373
  }
4374
4374
  jumps.reverse();
4375
- index3 = -1;
4376
- while (++index3 < jumps.length) {
4377
- gaps[adjust + jumps[index3][0]] = adjust + jumps[index3][1];
4378
- adjust += jumps[index3][1] - jumps[index3][0] - 1;
4375
+ index2 = -1;
4376
+ while (++index2 < jumps.length) {
4377
+ gaps[adjust + jumps[index2][0]] = adjust + jumps[index2][1];
4378
+ adjust += jumps[index2][1] - jumps[index2][0] - 1;
4379
4379
  }
4380
4380
  return gaps;
4381
4381
  }
@@ -4966,16 +4966,16 @@ var nonLazyContinuationStart = {
4966
4966
  tokenize: tokenizeNonLazyContinuationStart
4967
4967
  };
4968
4968
  function resolveToHtmlFlow(events) {
4969
- let index3 = events.length;
4970
- while (index3--) {
4971
- if (events[index3][0] === "enter" && events[index3][1].type === "htmlFlow") {
4969
+ let index2 = events.length;
4970
+ while (index2--) {
4971
+ if (events[index2][0] === "enter" && events[index2][1].type === "htmlFlow") {
4972
4972
  break;
4973
4973
  }
4974
4974
  }
4975
- if (index3 > 1 && events[index3 - 2][1].type === "linePrefix") {
4976
- events[index3][1].start = events[index3 - 2][1].start;
4977
- events[index3 + 1][1].start = events[index3 - 2][1].start;
4978
- events.splice(index3 - 2, 2);
4975
+ if (index2 > 1 && events[index2 - 2][1].type === "linePrefix") {
4976
+ events[index2][1].start = events[index2 - 2][1].start;
4977
+ events[index2 + 1][1].start = events[index2 - 2][1].start;
4978
+ events.splice(index2 - 2, 2);
4979
4979
  }
4980
4980
  return events;
4981
4981
  }
@@ -4984,7 +4984,7 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
4984
4984
  let marker;
4985
4985
  let closingTag;
4986
4986
  let buffer;
4987
- let index3;
4987
+ let index2;
4988
4988
  let markerB;
4989
4989
  return start2;
4990
4990
  function start2(code2) {
@@ -5027,7 +5027,7 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
5027
5027
  if (code2 === 91) {
5028
5028
  effects.consume(code2);
5029
5029
  marker = 5;
5030
- index3 = 0;
5030
+ index2 = 0;
5031
5031
  return cdataOpenInside;
5032
5032
  }
5033
5033
  if (asciiAlpha(code2)) {
@@ -5046,9 +5046,9 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
5046
5046
  }
5047
5047
  function cdataOpenInside(code2) {
5048
5048
  const value = "CDATA[";
5049
- if (code2 === value.charCodeAt(index3++)) {
5049
+ if (code2 === value.charCodeAt(index2++)) {
5050
5050
  effects.consume(code2);
5051
- if (index3 === value.length) {
5051
+ if (index2 === value.length) {
5052
5052
  return self2.interrupt ? ok3 : continuation;
5053
5053
  }
5054
5054
  return cdataOpenInside;
@@ -5337,7 +5337,7 @@ var htmlText = {
5337
5337
  function tokenizeHtmlText(effects, ok3, nok) {
5338
5338
  const self2 = this;
5339
5339
  let marker;
5340
- let index3;
5340
+ let index2;
5341
5341
  let returnState;
5342
5342
  return start2;
5343
5343
  function start2(code2) {
@@ -5372,7 +5372,7 @@ function tokenizeHtmlText(effects, ok3, nok) {
5372
5372
  }
5373
5373
  if (code2 === 91) {
5374
5374
  effects.consume(code2);
5375
- index3 = 0;
5375
+ index2 = 0;
5376
5376
  return cdataOpenInside;
5377
5377
  }
5378
5378
  if (asciiAlpha(code2)) {
@@ -5415,9 +5415,9 @@ function tokenizeHtmlText(effects, ok3, nok) {
5415
5415
  }
5416
5416
  function cdataOpenInside(code2) {
5417
5417
  const value = "CDATA[";
5418
- if (code2 === value.charCodeAt(index3++)) {
5418
+ if (code2 === value.charCodeAt(index2++)) {
5419
5419
  effects.consume(code2);
5420
- return index3 === value.length ? cdata : cdataOpenInside;
5420
+ return index2 === value.length ? cdata : cdataOpenInside;
5421
5421
  }
5422
5422
  return nok(code2);
5423
5423
  }
@@ -5652,15 +5652,15 @@ var referenceCollapsedConstruct = {
5652
5652
  tokenize: tokenizeReferenceCollapsed
5653
5653
  };
5654
5654
  function resolveAllLabelEnd(events) {
5655
- let index3 = -1;
5655
+ let index2 = -1;
5656
5656
  const newEvents = [];
5657
- while (++index3 < events.length) {
5658
- const token = events[index3][1];
5659
- newEvents.push(events[index3]);
5657
+ while (++index2 < events.length) {
5658
+ const token = events[index2][1];
5659
+ newEvents.push(events[index2]);
5660
5660
  if (token.type === "labelImage" || token.type === "labelLink" || token.type === "labelEnd") {
5661
5661
  const offset = token.type === "labelImage" ? 4 : 2;
5662
5662
  token.type = "data";
5663
- index3 += offset;
5663
+ index2 += offset;
5664
5664
  }
5665
5665
  }
5666
5666
  if (events.length !== newEvents.length) {
@@ -5669,31 +5669,31 @@ function resolveAllLabelEnd(events) {
5669
5669
  return events;
5670
5670
  }
5671
5671
  function resolveToLabelEnd(events, context) {
5672
- let index3 = events.length;
5672
+ let index2 = events.length;
5673
5673
  let offset = 0;
5674
5674
  let token;
5675
5675
  let open;
5676
5676
  let close;
5677
5677
  let media;
5678
- while (index3--) {
5679
- token = events[index3][1];
5678
+ while (index2--) {
5679
+ token = events[index2][1];
5680
5680
  if (open) {
5681
5681
  if (token.type === "link" || token.type === "labelLink" && token._inactive) {
5682
5682
  break;
5683
5683
  }
5684
- if (events[index3][0] === "enter" && token.type === "labelLink") {
5684
+ if (events[index2][0] === "enter" && token.type === "labelLink") {
5685
5685
  token._inactive = true;
5686
5686
  }
5687
5687
  } else if (close) {
5688
- if (events[index3][0] === "enter" && (token.type === "labelImage" || token.type === "labelLink") && !token._balanced) {
5689
- open = index3;
5688
+ if (events[index2][0] === "enter" && (token.type === "labelImage" || token.type === "labelLink") && !token._balanced) {
5689
+ open = index2;
5690
5690
  if (token.type !== "labelLink") {
5691
5691
  offset = 2;
5692
5692
  break;
5693
5693
  }
5694
5694
  }
5695
5695
  } else if (token.type === "labelEnd") {
5696
- close = index3;
5696
+ close = index2;
5697
5697
  }
5698
5698
  }
5699
5699
  const group = {
@@ -5735,12 +5735,12 @@ function resolveToLabelEnd(events, context) {
5735
5735
  }
5736
5736
  function tokenizeLabelEnd(effects, ok3, nok) {
5737
5737
  const self2 = this;
5738
- let index3 = self2.events.length;
5738
+ let index2 = self2.events.length;
5739
5739
  let labelStart;
5740
5740
  let defined;
5741
- while (index3--) {
5742
- if ((self2.events[index3][1].type === "labelImage" || self2.events[index3][1].type === "labelLink") && !self2.events[index3][1]._balanced) {
5743
- labelStart = self2.events[index3][1];
5741
+ while (index2--) {
5742
+ if ((self2.events[index2][1].type === "labelImage" || self2.events[index2][1].type === "labelLink") && !self2.events[index2][1]._balanced) {
5743
+ labelStart = self2.events[index2][1];
5744
5744
  break;
5745
5745
  }
5746
5746
  }
@@ -6105,25 +6105,25 @@ var setextUnderline = {
6105
6105
  tokenize: tokenizeSetextUnderline
6106
6106
  };
6107
6107
  function resolveToSetextUnderline(events, context) {
6108
- let index3 = events.length;
6108
+ let index2 = events.length;
6109
6109
  let content3;
6110
6110
  let text5;
6111
6111
  let definition2;
6112
- while (index3--) {
6113
- if (events[index3][0] === "enter") {
6114
- if (events[index3][1].type === "content") {
6115
- content3 = index3;
6112
+ while (index2--) {
6113
+ if (events[index2][0] === "enter") {
6114
+ if (events[index2][1].type === "content") {
6115
+ content3 = index2;
6116
6116
  break;
6117
6117
  }
6118
- if (events[index3][1].type === "paragraph") {
6119
- text5 = index3;
6118
+ if (events[index2][1].type === "paragraph") {
6119
+ text5 = index2;
6120
6120
  }
6121
6121
  } else {
6122
- if (events[index3][1].type === "content") {
6123
- events.splice(index3, 1);
6122
+ if (events[index2][1].type === "content") {
6123
+ events.splice(index2, 1);
6124
6124
  }
6125
- if (!definition2 && events[index3][1].type === "definition") {
6126
- definition2 = index3;
6125
+ if (!definition2 && events[index2][1].type === "definition") {
6126
+ definition2 = index2;
6127
6127
  }
6128
6128
  }
6129
6129
  }
@@ -6154,11 +6154,11 @@ function tokenizeSetextUnderline(effects, ok3, nok) {
6154
6154
  let marker;
6155
6155
  return start2;
6156
6156
  function start2(code2) {
6157
- let index3 = self2.events.length;
6157
+ let index2 = self2.events.length;
6158
6158
  let paragraph2;
6159
- while (index3--) {
6160
- if (self2.events[index3][1].type !== "lineEnding" && self2.events[index3][1].type !== "linePrefix" && self2.events[index3][1].type !== "content") {
6161
- paragraph2 = self2.events[index3][1].type === "paragraph";
6159
+ while (index2--) {
6160
+ if (self2.events[index2][1].type !== "lineEnding" && self2.events[index2][1].type !== "linePrefix" && self2.events[index2][1].type !== "content") {
6161
+ paragraph2 = self2.events[index2][1].type === "paragraph";
6162
6162
  break;
6163
6163
  }
6164
6164
  }
@@ -6269,10 +6269,10 @@ function initializeFactory(field) {
6269
6269
  return true;
6270
6270
  }
6271
6271
  const list3 = constructs2[code2];
6272
- let index3 = -1;
6272
+ let index2 = -1;
6273
6273
  if (list3) {
6274
- while (++index3 < list3.length) {
6275
- const item = list3[index3];
6274
+ while (++index2 < list3.length) {
6275
+ const item = list3[index2];
6276
6276
  if (!item.previous || item.previous.call(self2, self2.previous)) {
6277
6277
  return true;
6278
6278
  }
@@ -6285,19 +6285,19 @@ function initializeFactory(field) {
6285
6285
  function createResolver(extraResolver) {
6286
6286
  return resolveAllText;
6287
6287
  function resolveAllText(events, context) {
6288
- let index3 = -1;
6288
+ let index2 = -1;
6289
6289
  let enter;
6290
- while (++index3 <= events.length) {
6290
+ while (++index2 <= events.length) {
6291
6291
  if (enter === void 0) {
6292
- if (events[index3] && events[index3][1].type === "data") {
6293
- enter = index3;
6294
- index3++;
6292
+ if (events[index2] && events[index2][1].type === "data") {
6293
+ enter = index2;
6294
+ index2++;
6295
6295
  }
6296
- } else if (!events[index3] || events[index3][1].type !== "data") {
6297
- if (index3 !== enter + 2) {
6298
- events[enter][1].end = events[index3 - 1][1].end;
6299
- events.splice(enter + 2, index3 - enter - 2);
6300
- index3 = enter + 2;
6296
+ } else if (!events[index2] || events[index2][1].type !== "data") {
6297
+ if (index2 !== enter + 2) {
6298
+ events[enter][1].end = events[index2 - 1][1].end;
6299
+ events.splice(enter + 2, index2 - enter - 2);
6300
+ index2 = enter + 2;
6301
6301
  }
6302
6302
  enter = void 0;
6303
6303
  }
@@ -6311,12 +6311,12 @@ function resolveAllLineSuffixes(events, context) {
6311
6311
  if ((eventIndex === events.length || events[eventIndex][1].type === "lineEnding") && events[eventIndex - 1][1].type === "data") {
6312
6312
  const data = events[eventIndex - 1][1];
6313
6313
  const chunks = context.sliceStream(data);
6314
- let index3 = chunks.length;
6314
+ let index2 = chunks.length;
6315
6315
  let bufferIndex = -1;
6316
6316
  let size = 0;
6317
6317
  let tabs;
6318
- while (index3--) {
6319
- const chunk = chunks[index3];
6318
+ while (index2--) {
6319
+ const chunk = chunks[index2];
6320
6320
  if (typeof chunk === "string") {
6321
6321
  bufferIndex = chunk.length;
6322
6322
  while (chunk.charCodeAt(bufferIndex - 1) === 32) {
@@ -6330,7 +6330,7 @@ function resolveAllLineSuffixes(events, context) {
6330
6330
  size++;
6331
6331
  } else if (chunk === -1) {
6332
6332
  } else {
6333
- index3++;
6333
+ index2++;
6334
6334
  break;
6335
6335
  }
6336
6336
  }
@@ -6338,8 +6338,8 @@ function resolveAllLineSuffixes(events, context) {
6338
6338
  const token = {
6339
6339
  type: eventIndex === events.length || tabs || size < 2 ? "lineSuffix" : "hardBreakTrailing",
6340
6340
  start: {
6341
- _bufferIndex: index3 ? bufferIndex : data.start._bufferIndex + bufferIndex,
6342
- _index: data.start._index + index3,
6341
+ _bufferIndex: index2 ? bufferIndex : data.start._bufferIndex + bufferIndex,
6342
+ _index: data.start._index + index2,
6343
6343
  line: data.end.line,
6344
6344
  column: data.end.column - size,
6345
6345
  offset: data.end.offset - size
@@ -6441,7 +6441,7 @@ var disable = {
6441
6441
 
6442
6442
  // node_modules/micromark/lib/create-tokenizer.js
6443
6443
  function createTokenizer(parser, initialize, from) {
6444
- let point5 = {
6444
+ let point4 = {
6445
6445
  _bufferIndex: -1,
6446
6446
  _index: 0,
6447
6447
  line: from && from.line || 1,
@@ -6504,7 +6504,7 @@ function createTokenizer(parser, initialize, from) {
6504
6504
  line,
6505
6505
  column,
6506
6506
  offset
6507
- } = point5;
6507
+ } = point4;
6508
6508
  return {
6509
6509
  _bufferIndex,
6510
6510
  _index,
@@ -6519,15 +6519,15 @@ function createTokenizer(parser, initialize, from) {
6519
6519
  }
6520
6520
  function main() {
6521
6521
  let chunkIndex;
6522
- while (point5._index < chunks.length) {
6523
- const chunk = chunks[point5._index];
6522
+ while (point4._index < chunks.length) {
6523
+ const chunk = chunks[point4._index];
6524
6524
  if (typeof chunk === "string") {
6525
- chunkIndex = point5._index;
6526
- if (point5._bufferIndex < 0) {
6527
- point5._bufferIndex = 0;
6525
+ chunkIndex = point4._index;
6526
+ if (point4._bufferIndex < 0) {
6527
+ point4._bufferIndex = 0;
6528
6528
  }
6529
- while (point5._index === chunkIndex && point5._bufferIndex < chunk.length) {
6530
- go(chunk.charCodeAt(point5._bufferIndex));
6529
+ while (point4._index === chunkIndex && point4._bufferIndex < chunk.length) {
6530
+ go(chunk.charCodeAt(point4._bufferIndex));
6531
6531
  }
6532
6532
  } else {
6533
6533
  go(chunk);
@@ -6541,24 +6541,24 @@ function createTokenizer(parser, initialize, from) {
6541
6541
  }
6542
6542
  function consume(code2) {
6543
6543
  if (markdownLineEnding(code2)) {
6544
- point5.line++;
6545
- point5.column = 1;
6546
- point5.offset += code2 === -3 ? 2 : 1;
6544
+ point4.line++;
6545
+ point4.column = 1;
6546
+ point4.offset += code2 === -3 ? 2 : 1;
6547
6547
  accountForPotentialSkip();
6548
6548
  } else if (code2 !== -1) {
6549
- point5.column++;
6550
- point5.offset++;
6549
+ point4.column++;
6550
+ point4.offset++;
6551
6551
  }
6552
- if (point5._bufferIndex < 0) {
6553
- point5._index++;
6552
+ if (point4._bufferIndex < 0) {
6553
+ point4._index++;
6554
6554
  } else {
6555
- point5._bufferIndex++;
6556
- if (point5._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
6555
+ point4._bufferIndex++;
6556
+ if (point4._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
6557
6557
  // strings.
6558
6558
  /** @type {string} */
6559
- chunks[point5._index].length) {
6560
- point5._bufferIndex = -1;
6561
- point5._index++;
6559
+ chunks[point4._index].length) {
6560
+ point4._bufferIndex = -1;
6561
+ point4._index++;
6562
6562
  }
6563
6563
  }
6564
6564
  context.previous = code2;
@@ -6682,7 +6682,7 @@ function createTokenizer(parser, initialize, from) {
6682
6682
  restore
6683
6683
  };
6684
6684
  function restore() {
6685
- point5 = startPoint;
6685
+ point4 = startPoint;
6686
6686
  context.previous = startPrevious;
6687
6687
  context.currentConstruct = startCurrentConstruct;
6688
6688
  context.events.length = startEventsIndex;
@@ -6691,9 +6691,9 @@ function createTokenizer(parser, initialize, from) {
6691
6691
  }
6692
6692
  }
6693
6693
  function accountForPotentialSkip() {
6694
- if (point5.line in columnStart && point5.column < 2) {
6695
- point5.column = columnStart[point5.line];
6696
- point5.offset += columnStart[point5.line] - 1;
6694
+ if (point4.line in columnStart && point4.column < 2) {
6695
+ point4.column = columnStart[point4.line];
6696
+ point4.offset += columnStart[point4.line] - 1;
6697
6697
  }
6698
6698
  }
6699
6699
  }
@@ -6722,11 +6722,11 @@ function sliceChunks(chunks, token) {
6722
6722
  return view;
6723
6723
  }
6724
6724
  function serializeChunks(chunks, expandTabs) {
6725
- let index3 = -1;
6725
+ let index2 = -1;
6726
6726
  const result = [];
6727
6727
  let atTab;
6728
- while (++index3 < chunks.length) {
6729
- const chunk = chunks[index3];
6728
+ while (++index2 < chunks.length) {
6729
+ const chunk = chunks[index2];
6730
6730
  let value;
6731
6731
  if (typeof chunk === "string") {
6732
6732
  value = chunk;
@@ -6892,32 +6892,6 @@ function decode($0, $1, $2) {
6892
6892
  return decodeNamedCharacterReference($2) || $0;
6893
6893
  }
6894
6894
 
6895
- // node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js
6896
- function stringifyPosition2(value) {
6897
- if (!value || typeof value !== "object") {
6898
- return "";
6899
- }
6900
- if ("position" in value || "type" in value) {
6901
- return position3(value.position);
6902
- }
6903
- if ("start" in value || "end" in value) {
6904
- return position3(value);
6905
- }
6906
- if ("line" in value || "column" in value) {
6907
- return point3(value);
6908
- }
6909
- return "";
6910
- }
6911
- function point3(point5) {
6912
- return index2(point5 && point5.line) + ":" + index2(point5 && point5.column);
6913
- }
6914
- function position3(pos) {
6915
- return point3(pos && pos.start) + "-" + point3(pos && pos.end);
6916
- }
6917
- function index2(value) {
6918
- return value && typeof value === "number" ? value : 1;
6919
- }
6920
-
6921
6895
  // node_modules/mdast-util-from-markdown/lib/index.js
6922
6896
  var own3 = {}.hasOwnProperty;
6923
6897
  function fromMarkdown(value, encoding, options) {
@@ -7045,24 +7019,24 @@ function compiler(options) {
7045
7019
  data
7046
7020
  };
7047
7021
  const listStack = [];
7048
- let index3 = -1;
7049
- while (++index3 < events.length) {
7050
- if (events[index3][1].type === "listOrdered" || events[index3][1].type === "listUnordered") {
7051
- if (events[index3][0] === "enter") {
7052
- listStack.push(index3);
7022
+ let index2 = -1;
7023
+ while (++index2 < events.length) {
7024
+ if (events[index2][1].type === "listOrdered" || events[index2][1].type === "listUnordered") {
7025
+ if (events[index2][0] === "enter") {
7026
+ listStack.push(index2);
7053
7027
  } else {
7054
7028
  const tail = listStack.pop();
7055
- index3 = prepareList(events, tail, index3);
7029
+ index2 = prepareList(events, tail, index2);
7056
7030
  }
7057
7031
  }
7058
7032
  }
7059
- index3 = -1;
7060
- while (++index3 < events.length) {
7061
- const handler = config[events[index3][0]];
7062
- if (own3.call(handler, events[index3][1].type)) {
7063
- handler[events[index3][1].type].call(Object.assign({
7064
- sliceSerialize: events[index3][2].sliceSerialize
7065
- }, context), events[index3][1]);
7033
+ index2 = -1;
7034
+ while (++index2 < events.length) {
7035
+ const handler = config[events[index2][0]];
7036
+ if (own3.call(handler, events[index2][1].type)) {
7037
+ handler[events[index2][1].type].call(Object.assign({
7038
+ sliceSerialize: events[index2][2].sliceSerialize
7039
+ }, context), events[index2][1]);
7066
7040
  }
7067
7041
  }
7068
7042
  if (context.tokenStack.length > 0) {
@@ -7071,33 +7045,33 @@ function compiler(options) {
7071
7045
  handler.call(context, void 0, tail[0]);
7072
7046
  }
7073
7047
  tree.position = {
7074
- start: point4(events.length > 0 ? events[0][1].start : {
7048
+ start: point3(events.length > 0 ? events[0][1].start : {
7075
7049
  line: 1,
7076
7050
  column: 1,
7077
7051
  offset: 0
7078
7052
  }),
7079
- end: point4(events.length > 0 ? events[events.length - 2][1].end : {
7053
+ end: point3(events.length > 0 ? events[events.length - 2][1].end : {
7080
7054
  line: 1,
7081
7055
  column: 1,
7082
7056
  offset: 0
7083
7057
  })
7084
7058
  };
7085
- index3 = -1;
7086
- while (++index3 < config.transforms.length) {
7087
- tree = config.transforms[index3](tree) || tree;
7059
+ index2 = -1;
7060
+ while (++index2 < config.transforms.length) {
7061
+ tree = config.transforms[index2](tree) || tree;
7088
7062
  }
7089
7063
  return tree;
7090
7064
  }
7091
7065
  function prepareList(events, start2, length) {
7092
- let index3 = start2 - 1;
7066
+ let index2 = start2 - 1;
7093
7067
  let containerBalance = -1;
7094
7068
  let listSpread = false;
7095
7069
  let listItem3;
7096
7070
  let lineIndex;
7097
7071
  let firstBlankLineIndex;
7098
7072
  let atMarker;
7099
- while (++index3 <= length) {
7100
- const event = events[index3];
7073
+ while (++index2 <= length) {
7074
+ const event = events[index2];
7101
7075
  switch (event[1].type) {
7102
7076
  case "listUnordered":
7103
7077
  case "listOrdered":
@@ -7113,7 +7087,7 @@ function compiler(options) {
7113
7087
  case "lineEndingBlank": {
7114
7088
  if (event[0] === "enter") {
7115
7089
  if (listItem3 && !atMarker && !containerBalance && !firstBlankLineIndex) {
7116
- firstBlankLineIndex = index3;
7090
+ firstBlankLineIndex = index2;
7117
7091
  }
7118
7092
  atMarker = void 0;
7119
7093
  }
@@ -7132,7 +7106,7 @@ function compiler(options) {
7132
7106
  }
7133
7107
  if (!containerBalance && event[0] === "enter" && event[1].type === "listItemPrefix" || containerBalance === -1 && event[0] === "exit" && (event[1].type === "listUnordered" || event[1].type === "listOrdered")) {
7134
7108
  if (listItem3) {
7135
- let tailIndex = index3;
7109
+ let tailIndex = index2;
7136
7110
  lineIndex = void 0;
7137
7111
  while (tailIndex--) {
7138
7112
  const tailEvent = events[tailIndex];
@@ -7153,8 +7127,8 @@ function compiler(options) {
7153
7127
  listItem3._spread = true;
7154
7128
  }
7155
7129
  listItem3.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);
7156
- events.splice(lineIndex || index3, 0, ["exit", listItem3, event[2]]);
7157
- index3++;
7130
+ events.splice(lineIndex || index2, 0, ["exit", listItem3, event[2]]);
7131
+ index2++;
7158
7132
  length++;
7159
7133
  }
7160
7134
  if (event[1].type === "listItemPrefix") {
@@ -7166,8 +7140,8 @@ function compiler(options) {
7166
7140
  end: void 0
7167
7141
  };
7168
7142
  listItem3 = item;
7169
- events.splice(index3, 0, ["enter", item, event[2]]);
7170
- index3++;
7143
+ events.splice(index2, 0, ["enter", item, event[2]]);
7144
+ index2++;
7171
7145
  length++;
7172
7146
  firstBlankLineIndex = void 0;
7173
7147
  atMarker = true;
@@ -7197,7 +7171,7 @@ function compiler(options) {
7197
7171
  this.stack.push(node2);
7198
7172
  this.tokenStack.push([token, errorHandler || void 0]);
7199
7173
  node2.position = {
7200
- start: point4(token.start),
7174
+ start: point3(token.start),
7201
7175
  // @ts-expect-error: `end` will be patched later.
7202
7176
  end: void 0
7203
7177
  };
@@ -7213,7 +7187,7 @@ function compiler(options) {
7213
7187
  const node2 = this.stack.pop();
7214
7188
  const open = this.tokenStack.pop();
7215
7189
  if (!open) {
7216
- throw new Error("Cannot close `" + token.type + "` (" + stringifyPosition2({
7190
+ throw new Error("Cannot close `" + token.type + "` (" + stringifyPosition({
7217
7191
  start: token.start,
7218
7192
  end: token.end
7219
7193
  }) + "): it\u2019s not open");
@@ -7225,7 +7199,7 @@ function compiler(options) {
7225
7199
  handler.call(this, token, open[0]);
7226
7200
  }
7227
7201
  }
7228
- node2.position.end = point4(token.end);
7202
+ node2.position.end = point3(token.end);
7229
7203
  }
7230
7204
  function resume() {
7231
7205
  return toString(this.stack.pop());
@@ -7306,7 +7280,7 @@ function compiler(options) {
7306
7280
  if (!tail || tail.type !== "text") {
7307
7281
  tail = text5();
7308
7282
  tail.position = {
7309
- start: point4(token.start),
7283
+ start: point3(token.start),
7310
7284
  // @ts-expect-error: we’ll add `end` later.
7311
7285
  end: void 0
7312
7286
  };
@@ -7317,13 +7291,13 @@ function compiler(options) {
7317
7291
  function onexitdata(token) {
7318
7292
  const tail = this.stack.pop();
7319
7293
  tail.value += this.sliceSerialize(token);
7320
- tail.position.end = point4(token.end);
7294
+ tail.position.end = point3(token.end);
7321
7295
  }
7322
7296
  function onexitlineending(token) {
7323
7297
  const context = this.stack[this.stack.length - 1];
7324
7298
  if (this.data.atHardBreak) {
7325
7299
  const tail = context.children[context.children.length - 1];
7326
- tail.position.end = point4(token.end);
7300
+ tail.position.end = point3(token.end);
7327
7301
  this.data.atHardBreak = void 0;
7328
7302
  return;
7329
7303
  }
@@ -7438,7 +7412,7 @@ function compiler(options) {
7438
7412
  }
7439
7413
  function onexitcharacterreference(token) {
7440
7414
  const tail = this.stack.pop();
7441
- tail.position.end = point4(token.end);
7415
+ tail.position.end = point3(token.end);
7442
7416
  }
7443
7417
  function onexitautolinkprotocol(token) {
7444
7418
  onexitdata.call(this, token);
@@ -7561,7 +7535,7 @@ function compiler(options) {
7561
7535
  };
7562
7536
  }
7563
7537
  }
7564
- function point4(d) {
7538
+ function point3(d) {
7565
7539
  return {
7566
7540
  line: d.line,
7567
7541
  column: d.column,
@@ -7569,9 +7543,9 @@ function point4(d) {
7569
7543
  };
7570
7544
  }
7571
7545
  function configure(combined, extensions) {
7572
- let index3 = -1;
7573
- while (++index3 < extensions.length) {
7574
- const value = extensions[index3];
7546
+ let index2 = -1;
7547
+ while (++index2 < extensions.length) {
7548
+ const value = extensions[index2];
7575
7549
  if (Array.isArray(value)) {
7576
7550
  configure(combined, value);
7577
7551
  } else {
@@ -7612,15 +7586,15 @@ function extension(combined, extension2) {
7612
7586
  }
7613
7587
  function defaultOnError(left, right) {
7614
7588
  if (left) {
7615
- throw new Error("Cannot close `" + left.type + "` (" + stringifyPosition2({
7589
+ throw new Error("Cannot close `" + left.type + "` (" + stringifyPosition({
7616
7590
  start: left.start,
7617
7591
  end: left.end
7618
- }) + "): a different token (`" + right.type + "`, " + stringifyPosition2({
7592
+ }) + "): a different token (`" + right.type + "`, " + stringifyPosition({
7619
7593
  start: right.start,
7620
7594
  end: right.end
7621
7595
  }) + ") is open");
7622
7596
  } else {
7623
- throw new Error("Cannot close document, a token (`" + right.type + "`, " + stringifyPosition2({
7597
+ throw new Error("Cannot close document, a token (`" + right.type + "`, " + stringifyPosition({
7624
7598
  start: right.start,
7625
7599
  end: right.end
7626
7600
  }) + ") is still open");
@@ -7715,7 +7689,7 @@ function footnoteReference(state, node2) {
7715
7689
  const clobberPrefix = typeof state.options.clobberPrefix === "string" ? state.options.clobberPrefix : "user-content-";
7716
7690
  const id = String(node2.identifier).toUpperCase();
7717
7691
  const safeId = normalizeUri(id.toLowerCase());
7718
- const index3 = state.footnoteOrder.indexOf(id);
7692
+ const index2 = state.footnoteOrder.indexOf(id);
7719
7693
  let counter;
7720
7694
  let reuseCounter = state.footnoteCounts.get(id);
7721
7695
  if (reuseCounter === void 0) {
@@ -7723,7 +7697,7 @@ function footnoteReference(state, node2) {
7723
7697
  state.footnoteOrder.push(id);
7724
7698
  counter = state.footnoteOrder.length;
7725
7699
  } else {
7726
- counter = index3 + 1;
7700
+ counter = index2 + 1;
7727
7701
  }
7728
7702
  reuseCounter += 1;
7729
7703
  state.footnoteCounts.set(id, reuseCounter);
@@ -7906,10 +7880,10 @@ function listItem(state, node2, parent) {
7906
7880
  });
7907
7881
  properties.className = ["task-list-item"];
7908
7882
  }
7909
- let index3 = -1;
7910
- while (++index3 < results.length) {
7911
- const child = results[index3];
7912
- if (loose || index3 !== 0 || child.type !== "element" || child.tagName !== "p") {
7883
+ let index2 = -1;
7884
+ while (++index2 < results.length) {
7885
+ const child = results[index2];
7886
+ if (loose || index2 !== 0 || child.type !== "element" || child.tagName !== "p") {
7913
7887
  children.push({ type: "text", value: "\n" });
7914
7888
  }
7915
7889
  if (child.type === "element" && child.tagName === "p" && !loose) {
@@ -7931,9 +7905,9 @@ function listLoose(node2) {
7931
7905
  if (node2.type === "list") {
7932
7906
  loose = node2.spread || false;
7933
7907
  const children = node2.children;
7934
- let index3 = -1;
7935
- while (!loose && ++index3 < children.length) {
7936
- loose = listItemLoose(children[index3]);
7908
+ let index2 = -1;
7909
+ while (!loose && ++index2 < children.length) {
7910
+ loose = listItemLoose(children[index2]);
7937
7911
  }
7938
7912
  }
7939
7913
  return loose;
@@ -7947,12 +7921,12 @@ function listItemLoose(node2) {
7947
7921
  function list2(state, node2) {
7948
7922
  const properties = {};
7949
7923
  const results = state.all(node2);
7950
- let index3 = -1;
7924
+ let index2 = -1;
7951
7925
  if (typeof node2.start === "number" && node2.start !== 1) {
7952
7926
  properties.start = node2.start;
7953
7927
  }
7954
- while (++index3 < results.length) {
7955
- const child = results[index3];
7928
+ while (++index2 < results.length) {
7929
+ const child = results[index2];
7956
7930
  if (child.type === "element" && child.tagName === "li" && child.properties && Array.isArray(child.properties.className) && child.properties.className.includes("task-list-item")) {
7957
7931
  properties.className = ["contains-task-list"];
7958
7932
  break;
@@ -8192,56 +8166,56 @@ var BIGINT = 8;
8192
8166
  // node_modules/@ungap/structured-clone/esm/deserialize.js
8193
8167
  var env = typeof self === "object" ? self : globalThis;
8194
8168
  var deserializer = ($, _) => {
8195
- const as = (out, index3) => {
8196
- $.set(index3, out);
8169
+ const as = (out, index2) => {
8170
+ $.set(index2, out);
8197
8171
  return out;
8198
8172
  };
8199
- const unpair = (index3) => {
8200
- if ($.has(index3))
8201
- return $.get(index3);
8202
- const [type, value] = _[index3];
8173
+ const unpair = (index2) => {
8174
+ if ($.has(index2))
8175
+ return $.get(index2);
8176
+ const [type, value] = _[index2];
8203
8177
  switch (type) {
8204
8178
  case PRIMITIVE:
8205
8179
  case VOID:
8206
- return as(value, index3);
8180
+ return as(value, index2);
8207
8181
  case ARRAY: {
8208
- const arr = as([], index3);
8209
- for (const index4 of value)
8210
- arr.push(unpair(index4));
8182
+ const arr = as([], index2);
8183
+ for (const index3 of value)
8184
+ arr.push(unpair(index3));
8211
8185
  return arr;
8212
8186
  }
8213
8187
  case OBJECT: {
8214
- const object = as({}, index3);
8215
- for (const [key, index4] of value)
8216
- object[unpair(key)] = unpair(index4);
8188
+ const object = as({}, index2);
8189
+ for (const [key, index3] of value)
8190
+ object[unpair(key)] = unpair(index3);
8217
8191
  return object;
8218
8192
  }
8219
8193
  case DATE:
8220
- return as(new Date(value), index3);
8194
+ return as(new Date(value), index2);
8221
8195
  case REGEXP: {
8222
8196
  const { source, flags } = value;
8223
- return as(new RegExp(source, flags), index3);
8197
+ return as(new RegExp(source, flags), index2);
8224
8198
  }
8225
8199
  case MAP: {
8226
- const map = as(/* @__PURE__ */ new Map(), index3);
8227
- for (const [key, index4] of value)
8228
- map.set(unpair(key), unpair(index4));
8200
+ const map = as(/* @__PURE__ */ new Map(), index2);
8201
+ for (const [key, index3] of value)
8202
+ map.set(unpair(key), unpair(index3));
8229
8203
  return map;
8230
8204
  }
8231
8205
  case SET: {
8232
- const set = as(/* @__PURE__ */ new Set(), index3);
8233
- for (const index4 of value)
8234
- set.add(unpair(index4));
8206
+ const set = as(/* @__PURE__ */ new Set(), index2);
8207
+ for (const index3 of value)
8208
+ set.add(unpair(index3));
8235
8209
  return set;
8236
8210
  }
8237
8211
  case ERROR: {
8238
8212
  const { name: name2, message } = value;
8239
- return as(new env[name2](message), index3);
8213
+ return as(new env[name2](message), index2);
8240
8214
  }
8241
8215
  case BIGINT:
8242
- return as(BigInt(value), index3);
8216
+ return as(BigInt(value), index2);
8243
8217
  case "BigInt":
8244
- return as(Object(BigInt(value)), index3);
8218
+ return as(Object(BigInt(value)), index2);
8245
8219
  case "ArrayBuffer":
8246
8220
  return as(new Uint8Array(value).buffer, value);
8247
8221
  case "DataView": {
@@ -8249,7 +8223,7 @@ var deserializer = ($, _) => {
8249
8223
  return as(new DataView(buffer), value);
8250
8224
  }
8251
8225
  }
8252
- return as(new env[type](value), index3);
8226
+ return as(new env[type](value), index2);
8253
8227
  };
8254
8228
  return unpair;
8255
8229
  };
@@ -8289,9 +8263,9 @@ var typeOf = (value) => {
8289
8263
  var shouldSkip = ([TYPE, type]) => TYPE === PRIMITIVE && (type === "function" || type === "symbol");
8290
8264
  var serializer = (strict, json, $, _) => {
8291
8265
  const as = (out, value) => {
8292
- const index3 = _.push(out) - 1;
8293
- $.set(value, index3);
8294
- return index3;
8266
+ const index2 = _.push(out) - 1;
8267
+ $.set(value, index2);
8268
+ return index2;
8295
8269
  };
8296
8270
  const pair = (value) => {
8297
8271
  if ($.has(value))
@@ -8327,10 +8301,10 @@ var serializer = (strict, json, $, _) => {
8327
8301
  return as([type, [...spread]], value);
8328
8302
  }
8329
8303
  const arr = [];
8330
- const index3 = as([TYPE, arr], value);
8304
+ const index2 = as([TYPE, arr], value);
8331
8305
  for (const entry of value)
8332
8306
  arr.push(pair(entry));
8333
- return index3;
8307
+ return index2;
8334
8308
  }
8335
8309
  case OBJECT: {
8336
8310
  if (type) {
@@ -8346,12 +8320,12 @@ var serializer = (strict, json, $, _) => {
8346
8320
  if (json && "toJSON" in value)
8347
8321
  return pair(value.toJSON());
8348
8322
  const entries = [];
8349
- const index3 = as([TYPE, entries], value);
8323
+ const index2 = as([TYPE, entries], value);
8350
8324
  for (const key of keys2(value)) {
8351
8325
  if (strict || !shouldSkip(typeOf(value[key])))
8352
8326
  entries.push([pair(key), pair(value[key])]);
8353
8327
  }
8354
- return index3;
8328
+ return index2;
8355
8329
  }
8356
8330
  case DATE:
8357
8331
  return as([TYPE, value.toISOString()], value);
@@ -8361,21 +8335,21 @@ var serializer = (strict, json, $, _) => {
8361
8335
  }
8362
8336
  case MAP: {
8363
8337
  const entries = [];
8364
- const index3 = as([TYPE, entries], value);
8338
+ const index2 = as([TYPE, entries], value);
8365
8339
  for (const [key, entry] of value) {
8366
8340
  if (strict || !(shouldSkip(typeOf(key)) || shouldSkip(typeOf(entry))))
8367
8341
  entries.push([pair(key), pair(entry)]);
8368
8342
  }
8369
- return index3;
8343
+ return index2;
8370
8344
  }
8371
8345
  case SET: {
8372
8346
  const entries = [];
8373
- const index3 = as([TYPE, entries], value);
8347
+ const index2 = as([TYPE, entries], value);
8374
8348
  for (const entry of value) {
8375
8349
  if (strict || !shouldSkip(typeOf(entry)))
8376
8350
  entries.push(pair(entry));
8377
8351
  }
8378
- return index3;
8352
+ return index2;
8379
8353
  }
8380
8354
  }
8381
8355
  const { message } = value;
@@ -8538,15 +8512,15 @@ var convert = (
8538
8512
  );
8539
8513
  function anyFactory(tests) {
8540
8514
  const checks2 = [];
8541
- let index3 = -1;
8542
- while (++index3 < tests.length) {
8543
- checks2[index3] = convert(tests[index3]);
8515
+ let index2 = -1;
8516
+ while (++index2 < tests.length) {
8517
+ checks2[index2] = convert(tests[index2]);
8544
8518
  }
8545
8519
  return castFactory(any);
8546
8520
  function any(...parameters) {
8547
- let index4 = -1;
8548
- while (++index4 < checks2.length) {
8549
- if (checks2[index4].apply(this, parameters)) return true;
8521
+ let index3 = -1;
8522
+ while (++index3 < checks2.length) {
8523
+ if (checks2[index3].apply(this, parameters)) return true;
8550
8524
  }
8551
8525
  return false;
8552
8526
  }
@@ -8578,12 +8552,12 @@ function typeFactory(check) {
8578
8552
  }
8579
8553
  function castFactory(testFunction) {
8580
8554
  return check;
8581
- function check(value, index3, parent) {
8555
+ function check(value, index2, parent) {
8582
8556
  return Boolean(
8583
8557
  looksLikeANode(value) && testFunction.call(
8584
8558
  this,
8585
8559
  value,
8586
- typeof index3 === "number" ? index3 : void 0,
8560
+ typeof index2 === "number" ? index2 : void 0,
8587
8561
  parent || void 0
8588
8562
  )
8589
8563
  );
@@ -8617,7 +8591,7 @@ function visitParents(tree, test, visitor, reverse) {
8617
8591
  const is2 = convert(check);
8618
8592
  const step = reverse ? -1 : 1;
8619
8593
  factory(tree, void 0, [])();
8620
- function factory(node2, index3, parents) {
8594
+ function factory(node2, index2, parents) {
8621
8595
  const value = (
8622
8596
  /** @type {Record<string, unknown>} */
8623
8597
  node2 && typeof node2 === "object" ? node2 : {}
@@ -8640,7 +8614,7 @@ function visitParents(tree, test, visitor, reverse) {
8640
8614
  let subresult;
8641
8615
  let offset;
8642
8616
  let grandparents;
8643
- if (!test || is2(node2, index3, parents[parents.length - 1] || void 0)) {
8617
+ if (!test || is2(node2, index2, parents[parents.length - 1] || void 0)) {
8644
8618
  result = toResult(visitor(node2, parents));
8645
8619
  if (result[0] === EXIT) {
8646
8620
  return result;
@@ -8695,8 +8669,8 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
8695
8669
  visitParents(tree, test, overload, reverse);
8696
8670
  function overload(node2, parents) {
8697
8671
  const parent = parents[parents.length - 1];
8698
- const index3 = parent ? parent.children.indexOf(node2) : void 0;
8699
- return visitor(node2, index3, parent);
8672
+ const index2 = parent ? parent.children.indexOf(node2) : void 0;
8673
+ return visitor(node2, index2, parent);
8700
8674
  }
8701
8675
  }
8702
8676
 
@@ -8754,11 +8728,11 @@ function createState(tree, options) {
8754
8728
  const values = [];
8755
8729
  if ("children" in parent) {
8756
8730
  const nodes = parent.children;
8757
- let index3 = -1;
8758
- while (++index3 < nodes.length) {
8759
- const result = state.one(nodes[index3], parent);
8731
+ let index2 = -1;
8732
+ while (++index2 < nodes.length) {
8733
+ const result = state.one(nodes[index2], parent);
8760
8734
  if (result) {
8761
- if (index3 && nodes[index3 - 1].type === "break") {
8735
+ if (index2 && nodes[index2 - 1].type === "break") {
8762
8736
  if (!Array.isArray(result) && result.type === "text") {
8763
8737
  result.value = trimMarkdownSpaceStart(result.value);
8764
8738
  }
@@ -8819,13 +8793,13 @@ function defaultUnknownHandler(state, node2) {
8819
8793
  }
8820
8794
  function wrap(nodes, loose) {
8821
8795
  const result = [];
8822
- let index3 = -1;
8796
+ let index2 = -1;
8823
8797
  if (loose) {
8824
8798
  result.push({ type: "text", value: "\n" });
8825
8799
  }
8826
- while (++index3 < nodes.length) {
8827
- if (index3) result.push({ type: "text", value: "\n" });
8828
- result.push(nodes[index3]);
8800
+ while (++index2 < nodes.length) {
8801
+ if (index2) result.push({ type: "text", value: "\n" });
8802
+ result.push(nodes[index2]);
8829
8803
  }
8830
8804
  if (loose && nodes.length > 0) {
8831
8805
  result.push({ type: "text", value: "\n" });
@@ -8833,13 +8807,13 @@ function wrap(nodes, loose) {
8833
8807
  return result;
8834
8808
  }
8835
8809
  function trimMarkdownSpaceStart(value) {
8836
- let index3 = 0;
8837
- let code2 = value.charCodeAt(index3);
8810
+ let index2 = 0;
8811
+ let code2 = value.charCodeAt(index2);
8838
8812
  while (code2 === 9 || code2 === 32) {
8839
- index3++;
8840
- code2 = value.charCodeAt(index3);
8813
+ index2++;
8814
+ code2 = value.charCodeAt(index2);
8841
8815
  }
8842
- return value.slice(index3);
8816
+ return value.slice(index2);
8843
8817
  }
8844
8818
 
8845
8819
  // node_modules/mdast-util-to-hast/lib/index.js
@@ -8907,14 +8881,14 @@ function trough() {
8907
8881
  next(null, ...values);
8908
8882
  function next(error, ...output) {
8909
8883
  const fn = fns[++middlewareIndex];
8910
- let index3 = -1;
8884
+ let index2 = -1;
8911
8885
  if (error) {
8912
8886
  callback(error);
8913
8887
  return;
8914
8888
  }
8915
- while (++index3 < values.length) {
8916
- if (output[index3] === null || output[index3] === void 0) {
8917
- output[index3] = values[index3];
8889
+ while (++index2 < values.length) {
8890
+ if (output[index2] === null || output[index2] === void 0) {
8891
+ output[index2] = values[index2];
8918
8892
  }
8919
8893
  }
8920
8894
  values = output;
@@ -8986,18 +8960,18 @@ function basename(path, extname2) {
8986
8960
  assertPath(path);
8987
8961
  let start2 = 0;
8988
8962
  let end = -1;
8989
- let index3 = path.length;
8963
+ let index2 = path.length;
8990
8964
  let seenNonSlash;
8991
8965
  if (extname2 === void 0 || extname2.length === 0 || extname2.length > path.length) {
8992
- while (index3--) {
8993
- if (path.codePointAt(index3) === 47) {
8966
+ while (index2--) {
8967
+ if (path.codePointAt(index2) === 47) {
8994
8968
  if (seenNonSlash) {
8995
- start2 = index3 + 1;
8969
+ start2 = index2 + 1;
8996
8970
  break;
8997
8971
  }
8998
8972
  } else if (end < 0) {
8999
8973
  seenNonSlash = true;
9000
- end = index3 + 1;
8974
+ end = index2 + 1;
9001
8975
  }
9002
8976
  }
9003
8977
  return end < 0 ? "" : path.slice(start2, end);
@@ -9007,21 +8981,21 @@ function basename(path, extname2) {
9007
8981
  }
9008
8982
  let firstNonSlashEnd = -1;
9009
8983
  let extnameIndex = extname2.length - 1;
9010
- while (index3--) {
9011
- if (path.codePointAt(index3) === 47) {
8984
+ while (index2--) {
8985
+ if (path.codePointAt(index2) === 47) {
9012
8986
  if (seenNonSlash) {
9013
- start2 = index3 + 1;
8987
+ start2 = index2 + 1;
9014
8988
  break;
9015
8989
  }
9016
8990
  } else {
9017
8991
  if (firstNonSlashEnd < 0) {
9018
8992
  seenNonSlash = true;
9019
- firstNonSlashEnd = index3 + 1;
8993
+ firstNonSlashEnd = index2 + 1;
9020
8994
  }
9021
8995
  if (extnameIndex > -1) {
9022
- if (path.codePointAt(index3) === extname2.codePointAt(extnameIndex--)) {
8996
+ if (path.codePointAt(index2) === extname2.codePointAt(extnameIndex--)) {
9023
8997
  if (extnameIndex < 0) {
9024
- end = index3;
8998
+ end = index2;
9025
8999
  }
9026
9000
  } else {
9027
9001
  extnameIndex = -1;
@@ -9043,12 +9017,12 @@ function dirname(path) {
9043
9017
  return ".";
9044
9018
  }
9045
9019
  let end = -1;
9046
- let index3 = path.length;
9020
+ let index2 = path.length;
9047
9021
  let unmatchedSlash;
9048
- while (--index3) {
9049
- if (path.codePointAt(index3) === 47) {
9022
+ while (--index2) {
9023
+ if (path.codePointAt(index2) === 47) {
9050
9024
  if (unmatchedSlash) {
9051
- end = index3;
9025
+ end = index2;
9052
9026
  break;
9053
9027
  }
9054
9028
  } else if (!unmatchedSlash) {
@@ -9059,28 +9033,28 @@ function dirname(path) {
9059
9033
  }
9060
9034
  function extname(path) {
9061
9035
  assertPath(path);
9062
- let index3 = path.length;
9036
+ let index2 = path.length;
9063
9037
  let end = -1;
9064
9038
  let startPart = 0;
9065
9039
  let startDot = -1;
9066
9040
  let preDotState = 0;
9067
9041
  let unmatchedSlash;
9068
- while (index3--) {
9069
- const code2 = path.codePointAt(index3);
9042
+ while (index2--) {
9043
+ const code2 = path.codePointAt(index2);
9070
9044
  if (code2 === 47) {
9071
9045
  if (unmatchedSlash) {
9072
- startPart = index3 + 1;
9046
+ startPart = index2 + 1;
9073
9047
  break;
9074
9048
  }
9075
9049
  continue;
9076
9050
  }
9077
9051
  if (end < 0) {
9078
9052
  unmatchedSlash = true;
9079
- end = index3 + 1;
9053
+ end = index2 + 1;
9080
9054
  }
9081
9055
  if (code2 === 46) {
9082
9056
  if (startDot < 0) {
9083
- startDot = index3;
9057
+ startDot = index2;
9084
9058
  } else if (preDotState !== 1) {
9085
9059
  preDotState = 1;
9086
9060
  }
@@ -9096,12 +9070,12 @@ function extname(path) {
9096
9070
  return path.slice(startDot, end);
9097
9071
  }
9098
9072
  function join(...segments) {
9099
- let index3 = -1;
9073
+ let index2 = -1;
9100
9074
  let joined;
9101
- while (++index3 < segments.length) {
9102
- assertPath(segments[index3]);
9103
- if (segments[index3]) {
9104
- joined = joined === void 0 ? segments[index3] : joined + "/" + segments[index3];
9075
+ while (++index2 < segments.length) {
9076
+ assertPath(segments[index2]);
9077
+ if (segments[index2]) {
9078
+ joined = joined === void 0 ? segments[index2] : joined + "/" + segments[index2];
9105
9079
  }
9106
9080
  }
9107
9081
  return joined === void 0 ? "." : normalize2(joined);
@@ -9123,20 +9097,20 @@ function normalizeString(path, allowAboveRoot) {
9123
9097
  let lastSegmentLength = 0;
9124
9098
  let lastSlash = -1;
9125
9099
  let dots = 0;
9126
- let index3 = -1;
9100
+ let index2 = -1;
9127
9101
  let code2;
9128
9102
  let lastSlashIndex;
9129
- while (++index3 <= path.length) {
9130
- if (index3 < path.length) {
9131
- code2 = path.codePointAt(index3);
9103
+ while (++index2 <= path.length) {
9104
+ if (index2 < path.length) {
9105
+ code2 = path.codePointAt(index2);
9132
9106
  } else if (code2 === 47) {
9133
9107
  break;
9134
9108
  } else {
9135
9109
  code2 = 47;
9136
9110
  }
9137
9111
  if (code2 === 47) {
9138
- if (lastSlash === index3 - 1 || dots === 1) {
9139
- } else if (lastSlash !== index3 - 1 && dots === 2) {
9112
+ if (lastSlash === index2 - 1 || dots === 1) {
9113
+ } else if (lastSlash !== index2 - 1 && dots === 2) {
9140
9114
  if (result.length < 2 || lastSegmentLength !== 2 || result.codePointAt(result.length - 1) !== 46 || result.codePointAt(result.length - 2) !== 46) {
9141
9115
  if (result.length > 2) {
9142
9116
  lastSlashIndex = result.lastIndexOf("/");
@@ -9148,14 +9122,14 @@ function normalizeString(path, allowAboveRoot) {
9148
9122
  result = result.slice(0, lastSlashIndex);
9149
9123
  lastSegmentLength = result.length - 1 - result.lastIndexOf("/");
9150
9124
  }
9151
- lastSlash = index3;
9125
+ lastSlash = index2;
9152
9126
  dots = 0;
9153
9127
  continue;
9154
9128
  }
9155
9129
  } else if (result.length > 0) {
9156
9130
  result = "";
9157
9131
  lastSegmentLength = 0;
9158
- lastSlash = index3;
9132
+ lastSlash = index2;
9159
9133
  dots = 0;
9160
9134
  continue;
9161
9135
  }
@@ -9166,13 +9140,13 @@ function normalizeString(path, allowAboveRoot) {
9166
9140
  }
9167
9141
  } else {
9168
9142
  if (result.length > 0) {
9169
- result += "/" + path.slice(lastSlash + 1, index3);
9143
+ result += "/" + path.slice(lastSlash + 1, index2);
9170
9144
  } else {
9171
- result = path.slice(lastSlash + 1, index3);
9145
+ result = path.slice(lastSlash + 1, index2);
9172
9146
  }
9173
- lastSegmentLength = index3 - lastSlash - 1;
9147
+ lastSegmentLength = index2 - lastSlash - 1;
9174
9148
  }
9175
- lastSlash = index3;
9149
+ lastSlash = index2;
9176
9150
  dots = 0;
9177
9151
  } else if (code2 === 46 && dots > -1) {
9178
9152
  dots++;
@@ -9231,10 +9205,10 @@ function getPathFromURLPosix(url) {
9231
9205
  throw error;
9232
9206
  }
9233
9207
  const pathname = url.pathname;
9234
- let index3 = -1;
9235
- while (++index3 < pathname.length) {
9236
- if (pathname.codePointAt(index3) === 37 && pathname.codePointAt(index3 + 1) === 50) {
9237
- const third = pathname.codePointAt(index3 + 2);
9208
+ let index2 = -1;
9209
+ while (++index2 < pathname.length) {
9210
+ if (pathname.codePointAt(index2) === 37 && pathname.codePointAt(index2 + 1) === 50) {
9211
+ const third = pathname.codePointAt(index2 + 2);
9238
9212
  if (third === 70 || third === 102) {
9239
9213
  const error = new TypeError(
9240
9214
  "File URL path must not include encoded / characters"
@@ -9301,9 +9275,9 @@ var VFile = class {
9301
9275
  this.map;
9302
9276
  this.result;
9303
9277
  this.stored;
9304
- let index3 = -1;
9305
- while (++index3 < order.length) {
9306
- const field2 = order[index3];
9278
+ let index2 = -1;
9279
+ while (++index2 < order.length) {
9280
+ const field2 = order[index2];
9307
9281
  if (field2 in options && options[field2] !== void 0 && options[field2] !== null) {
9308
9282
  this[field2] = field2 === "history" ? [...options[field2]] : options[field2];
9309
9283
  }
@@ -9766,9 +9740,9 @@ var Processor = class _Processor extends CallableInstance {
9766
9740
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
9767
9741
  new _Processor()
9768
9742
  );
9769
- let index3 = -1;
9770
- while (++index3 < this.attachers.length) {
9771
- const attacher = this.attachers[index3];
9743
+ let index2 = -1;
9744
+ while (++index2 < this.attachers.length) {
9745
+ const attacher = this.attachers[index2];
9772
9746
  destination.use(...attacher);
9773
9747
  }
9774
9748
  destination.data((0, import_extend.default)(true, {}, this.namespace));
@@ -10288,11 +10262,11 @@ var Processor = class _Processor extends CallableInstance {
10288
10262
  }
10289
10263
  }
10290
10264
  function addList(plugins) {
10291
- let index3 = -1;
10265
+ let index2 = -1;
10292
10266
  if (plugins === null || plugins === void 0) {
10293
10267
  } else if (Array.isArray(plugins)) {
10294
- while (++index3 < plugins.length) {
10295
- const thing = plugins[index3];
10268
+ while (++index2 < plugins.length) {
10269
+ const thing = plugins[index2];
10296
10270
  add(thing);
10297
10271
  }
10298
10272
  } else {
@@ -10300,11 +10274,11 @@ var Processor = class _Processor extends CallableInstance {
10300
10274
  }
10301
10275
  }
10302
10276
  function addPlugin(plugin, parameters2) {
10303
- let index3 = -1;
10277
+ let index2 = -1;
10304
10278
  let entryIndex = -1;
10305
- while (++index3 < attachers.length) {
10306
- if (attachers[index3][0] === plugin) {
10307
- entryIndex = index3;
10279
+ while (++index2 < attachers.length) {
10280
+ if (attachers[index2][0] === plugin) {
10281
+ entryIndex = index2;
10308
10282
  break;
10309
10283
  }
10310
10284
  }
@@ -10467,14 +10441,14 @@ function Markdown(options) {
10467
10441
  passKeys: true,
10468
10442
  passNode: true
10469
10443
  });
10470
- function transform(node2, index3, parent) {
10471
- if (node2.type === "raw" && parent && typeof index3 === "number") {
10444
+ function transform(node2, index2, parent) {
10445
+ if (node2.type === "raw" && parent && typeof index2 === "number") {
10472
10446
  if (skipHtml) {
10473
- parent.children.splice(index3, 1);
10447
+ parent.children.splice(index2, 1);
10474
10448
  } else {
10475
- parent.children[index3] = { type: "text", value: node2.value };
10449
+ parent.children[index2] = { type: "text", value: node2.value };
10476
10450
  }
10477
- return index3;
10451
+ return index2;
10478
10452
  }
10479
10453
  if (node2.type === "element") {
10480
10454
  let key;
@@ -10490,16 +10464,16 @@ function Markdown(options) {
10490
10464
  }
10491
10465
  if (node2.type === "element") {
10492
10466
  let remove = allowedElements ? !allowedElements.includes(node2.tagName) : disallowedElements ? disallowedElements.includes(node2.tagName) : false;
10493
- if (!remove && allowElement && typeof index3 === "number") {
10494
- remove = !allowElement(node2, index3, parent);
10467
+ if (!remove && allowElement && typeof index2 === "number") {
10468
+ remove = !allowElement(node2, index2, parent);
10495
10469
  }
10496
- if (remove && parent && typeof index3 === "number") {
10470
+ if (remove && parent && typeof index2 === "number") {
10497
10471
  if (unwrapDisallowed && node2.children) {
10498
- parent.children.splice(index3, 1, ...node2.children);
10472
+ parent.children.splice(index2, 1, ...node2.children);
10499
10473
  } else {
10500
- parent.children.splice(index3, 1);
10474
+ parent.children.splice(index2, 1);
10501
10475
  }
10502
- return index3;
10476
+ return index2;
10503
10477
  }
10504
10478
  }
10505
10479
  }
@@ -11219,7 +11193,7 @@ var SpriteImage = ({
11219
11193
  columns,
11220
11194
  fallback,
11221
11195
  height,
11222
- position: position4,
11196
+ position: position3,
11223
11197
  rows,
11224
11198
  spriteUrl,
11225
11199
  style,
@@ -11229,7 +11203,7 @@ var SpriteImage = ({
11229
11203
  (0, import_react31.useEffect)(() => {
11230
11204
  getImageDimensions(spriteUrl).then(setSpriteDimensions).catch(console.error);
11231
11205
  }, [spriteUrl]);
11232
- const [x, y] = position4;
11206
+ const [x, y] = position3;
11233
11207
  if (!spriteHeight || !spriteWidth) return /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, fallback);
11234
11208
  return /* @__PURE__ */ import_react31.default.createElement(
11235
11209
  "div",
@@ -11268,13 +11242,13 @@ var StreamEmoji = ({
11268
11242
  fallback,
11269
11243
  type
11270
11244
  }) => {
11271
- const position4 = StreamSpriteEmojiPositions[type];
11245
+ const position3 = StreamSpriteEmojiPositions[type];
11272
11246
  return /* @__PURE__ */ import_react32.default.createElement(
11273
11247
  SpriteImage,
11274
11248
  {
11275
11249
  columns: 2,
11276
11250
  fallback,
11277
- position: position4,
11251
+ position: position3,
11278
11252
  rows: 3,
11279
11253
  spriteUrl: STREAM_SPRITE_URL,
11280
11254
  style: {