@jxsuite/parser 1.4.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/markdown.js CHANGED
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
27
- });
22
+ if (mod && typeof mod === "object" || typeof mod === "function") {
23
+ for (let key of __getOwnPropNames(mod))
24
+ if (!__hasOwnProp.call(to, key))
25
+ __defProp(to, key, {
26
+ get: __accessProp.bind(mod, key),
27
+ enumerable: true
28
+ });
29
+ }
28
30
  if (canCache)
29
31
  cache.set(mod, to);
30
32
  return to;
@@ -54,7 +56,7 @@ function bail(error) {
54
56
  }
55
57
 
56
58
  // ../../node_modules/extend/index.js
57
- var require_extend = __commonJS((exports, module) => {
59
+ var require_extend = __commonJS(function(exports, module) {
58
60
  var hasOwn = Object.prototype.hasOwnProperty;
59
61
  var toStr = Object.prototype.toString;
60
62
  var defineProperty = Object.defineProperty;
@@ -865,6 +867,22 @@ function isJsonObject(value) {
865
867
  function isRef(value) {
866
868
  return isJsonObject(value) && typeof value.$ref === "string";
867
869
  }
870
+ function isTagExpression(tagName) {
871
+ return isJsonObject(tagName) && isJsonObject(tagName.$expression);
872
+ }
873
+ function tagNameCandidates(tagName) {
874
+ if (typeof tagName === "string") {
875
+ return [tagName];
876
+ }
877
+ if (!isTagExpression(tagName)) {
878
+ return [];
879
+ }
880
+ const expression = tagName.$expression;
881
+ if (expression.operator === "?:") {
882
+ return [...new Set([expression.value, expression.initial])];
883
+ }
884
+ return [...new Set([...Object.values(expression.cases), expression.default])];
885
+ }
868
886
  var SCHEMA_KEYWORDS;
869
887
  var init_guards = __esm(() => {
870
888
  SCHEMA_KEYWORDS = new Set([
@@ -12300,7 +12318,7 @@ var init_remark_gfm = __esm(() => {
12300
12318
  });
12301
12319
 
12302
12320
  // ../../node_modules/yaml/dist/nodes/identity.js
12303
- var require_identity = __commonJS((exports) => {
12321
+ var require_identity = __commonJS(function(exports) {
12304
12322
  var ALIAS = Symbol.for("yaml.alias");
12305
12323
  var DOC = Symbol.for("yaml.document");
12306
12324
  var MAP = Symbol.for("yaml.map");
@@ -12354,7 +12372,7 @@ var require_identity = __commonJS((exports) => {
12354
12372
  });
12355
12373
 
12356
12374
  // ../../node_modules/yaml/dist/visit.js
12357
- var require_visit = __commonJS((exports) => {
12375
+ var require_visit = __commonJS(function(exports) {
12358
12376
  var identity = require_identity();
12359
12377
  var BREAK = Symbol("break visit");
12360
12378
  var SKIP4 = Symbol("skip children");
@@ -12509,7 +12527,7 @@ var require_visit = __commonJS((exports) => {
12509
12527
  });
12510
12528
 
12511
12529
  // ../../node_modules/yaml/dist/doc/directives.js
12512
- var require_directives = __commonJS((exports) => {
12530
+ var require_directives = __commonJS(function(exports) {
12513
12531
  var identity = require_identity();
12514
12532
  var visit2 = require_visit();
12515
12533
  var escapeChars = {
@@ -12661,7 +12679,7 @@ var require_directives = __commonJS((exports) => {
12661
12679
  });
12662
12680
 
12663
12681
  // ../../node_modules/yaml/dist/doc/anchors.js
12664
- var require_anchors = __commonJS((exports) => {
12682
+ var require_anchors = __commonJS(function(exports) {
12665
12683
  var identity = require_identity();
12666
12684
  var visit2 = require_visit();
12667
12685
  function anchorIsValid(anchor) {
@@ -12723,7 +12741,7 @@ var require_anchors = __commonJS((exports) => {
12723
12741
  });
12724
12742
 
12725
12743
  // ../../node_modules/yaml/dist/doc/applyReviver.js
12726
- var require_applyReviver = __commonJS((exports) => {
12744
+ var require_applyReviver = __commonJS(function(exports) {
12727
12745
  function applyReviver(reviver, obj, key2, val) {
12728
12746
  if (val && typeof val === "object") {
12729
12747
  if (Array.isArray(val)) {
@@ -12770,7 +12788,7 @@ var require_applyReviver = __commonJS((exports) => {
12770
12788
  });
12771
12789
 
12772
12790
  // ../../node_modules/yaml/dist/nodes/toJS.js
12773
- var require_toJS = __commonJS((exports) => {
12791
+ var require_toJS = __commonJS(function(exports) {
12774
12792
  var identity = require_identity();
12775
12793
  function toJS(value, arg, ctx) {
12776
12794
  if (Array.isArray(value))
@@ -12797,7 +12815,7 @@ var require_toJS = __commonJS((exports) => {
12797
12815
  });
12798
12816
 
12799
12817
  // ../../node_modules/yaml/dist/nodes/Node.js
12800
- var require_Node = __commonJS((exports) => {
12818
+ var require_Node = __commonJS(function(exports) {
12801
12819
  var applyReviver = require_applyReviver();
12802
12820
  var identity = require_identity();
12803
12821
  var toJS = require_toJS();
@@ -12834,7 +12852,7 @@ var require_Node = __commonJS((exports) => {
12834
12852
  });
12835
12853
 
12836
12854
  // ../../node_modules/yaml/dist/nodes/Alias.js
12837
- var require_Alias = __commonJS((exports) => {
12855
+ var require_Alias = __commonJS(function(exports) {
12838
12856
  var anchors = require_anchors();
12839
12857
  var visit2 = require_visit();
12840
12858
  var identity = require_identity();
@@ -12944,7 +12962,7 @@ var require_Alias = __commonJS((exports) => {
12944
12962
  });
12945
12963
 
12946
12964
  // ../../node_modules/yaml/dist/nodes/Scalar.js
12947
- var require_Scalar = __commonJS((exports) => {
12965
+ var require_Scalar = __commonJS(function(exports) {
12948
12966
  var identity = require_identity();
12949
12967
  var Node = require_Node();
12950
12968
  var toJS = require_toJS();
@@ -12972,7 +12990,7 @@ var require_Scalar = __commonJS((exports) => {
12972
12990
  });
12973
12991
 
12974
12992
  // ../../node_modules/yaml/dist/doc/createNode.js
12975
- var require_createNode = __commonJS((exports) => {
12993
+ var require_createNode = __commonJS(function(exports) {
12976
12994
  var Alias = require_Alias();
12977
12995
  var identity = require_identity();
12978
12996
  var Scalar = require_Scalar();
@@ -13044,7 +13062,7 @@ var require_createNode = __commonJS((exports) => {
13044
13062
  });
13045
13063
 
13046
13064
  // ../../node_modules/yaml/dist/nodes/Collection.js
13047
- var require_Collection = __commonJS((exports) => {
13065
+ var require_Collection = __commonJS(function(exports) {
13048
13066
  var createNode = require_createNode();
13049
13067
  var identity = require_identity();
13050
13068
  var Node = require_Node();
@@ -13159,7 +13177,7 @@ var require_Collection = __commonJS((exports) => {
13159
13177
  });
13160
13178
 
13161
13179
  // ../../node_modules/yaml/dist/stringify/stringifyComment.js
13162
- var require_stringifyComment = __commonJS((exports) => {
13180
+ var require_stringifyComment = __commonJS(function(exports) {
13163
13181
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
13164
13182
  function indentComment(comment, indent2) {
13165
13183
  if (/^\n+$/.test(comment))
@@ -13176,7 +13194,7 @@ var require_stringifyComment = __commonJS((exports) => {
13176
13194
  });
13177
13195
 
13178
13196
  // ../../node_modules/yaml/dist/stringify/foldFlowLines.js
13179
- var require_foldFlowLines = __commonJS((exports) => {
13197
+ var require_foldFlowLines = __commonJS(function(exports) {
13180
13198
  var FOLD_FLOW = "flow";
13181
13199
  var FOLD_BLOCK = "block";
13182
13200
  var FOLD_QUOTED = "quoted";
@@ -13313,7 +13331,7 @@ ${indent2}${text3.slice(fold + 1, end2)}`;
13313
13331
  });
13314
13332
 
13315
13333
  // ../../node_modules/yaml/dist/stringify/stringifyString.js
13316
- var require_stringifyString = __commonJS((exports) => {
13334
+ var require_stringifyString = __commonJS(function(exports) {
13317
13335
  var Scalar = require_Scalar();
13318
13336
  var foldFlowLines = require_foldFlowLines();
13319
13337
  var getFoldOptions = (ctx, isBlock) => ({
@@ -13611,7 +13629,7 @@ ${indent2}`);
13611
13629
  });
13612
13630
 
13613
13631
  // ../../node_modules/yaml/dist/stringify/stringify.js
13614
- var require_stringify = __commonJS((exports) => {
13632
+ var require_stringify = __commonJS(function(exports) {
13615
13633
  var anchors = require_anchors();
13616
13634
  var identity = require_identity();
13617
13635
  var stringifyComment = require_stringifyComment();
@@ -13732,7 +13750,7 @@ ${ctx.indent}${str}`;
13732
13750
  });
13733
13751
 
13734
13752
  // ../../node_modules/yaml/dist/stringify/stringifyPair.js
13735
- var require_stringifyPair = __commonJS((exports) => {
13753
+ var require_stringifyPair = __commonJS(function(exports) {
13736
13754
  var identity = require_identity();
13737
13755
  var Scalar = require_Scalar();
13738
13756
  var stringify = require_stringify();
@@ -13868,7 +13886,7 @@ ${ctx.indent}`;
13868
13886
  });
13869
13887
 
13870
13888
  // ../../node_modules/yaml/dist/log.js
13871
- var require_log = __commonJS((exports) => {
13889
+ var require_log = __commonJS(function(exports) {
13872
13890
  var node_process = __require("process");
13873
13891
  function debug(logLevel, ...messages2) {
13874
13892
  if (logLevel === "debug")
@@ -13887,7 +13905,7 @@ var require_log = __commonJS((exports) => {
13887
13905
  });
13888
13906
 
13889
13907
  // ../../node_modules/yaml/dist/schema/yaml-1.1/merge.js
13890
- var require_merge = __commonJS((exports) => {
13908
+ var require_merge = __commonJS(function(exports) {
13891
13909
  var identity = require_identity();
13892
13910
  var Scalar = require_Scalar();
13893
13911
  var MERGE_KEY = "<<";
@@ -13944,7 +13962,7 @@ var require_merge = __commonJS((exports) => {
13944
13962
  });
13945
13963
 
13946
13964
  // ../../node_modules/yaml/dist/nodes/addPairToJSMap.js
13947
- var require_addPairToJSMap = __commonJS((exports) => {
13965
+ var require_addPairToJSMap = __commonJS(function(exports) {
13948
13966
  var log = require_log();
13949
13967
  var merge = require_merge();
13950
13968
  var stringify = require_stringify();
@@ -14005,7 +14023,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
14005
14023
  });
14006
14024
 
14007
14025
  // ../../node_modules/yaml/dist/nodes/Pair.js
14008
- var require_Pair = __commonJS((exports) => {
14026
+ var require_Pair = __commonJS(function(exports) {
14009
14027
  var createNode = require_createNode();
14010
14028
  var stringifyPair = require_stringifyPair();
14011
14029
  var addPairToJSMap = require_addPairToJSMap();
@@ -14043,7 +14061,7 @@ var require_Pair = __commonJS((exports) => {
14043
14061
  });
14044
14062
 
14045
14063
  // ../../node_modules/yaml/dist/stringify/stringifyCollection.js
14046
- var require_stringifyCollection = __commonJS((exports) => {
14064
+ var require_stringifyCollection = __commonJS(function(exports) {
14047
14065
  var identity = require_identity();
14048
14066
  var stringify = require_stringify();
14049
14067
  var stringifyComment = require_stringifyComment();
@@ -14195,7 +14213,7 @@ ${indent2}${end}`;
14195
14213
  });
14196
14214
 
14197
14215
  // ../../node_modules/yaml/dist/nodes/YAMLMap.js
14198
- var require_YAMLMap = __commonJS((exports) => {
14216
+ var require_YAMLMap = __commonJS(function(exports) {
14199
14217
  var stringifyCollection = require_stringifyCollection();
14200
14218
  var addPairToJSMap = require_addPairToJSMap();
14201
14219
  var Collection = require_Collection();
@@ -14322,7 +14340,7 @@ var require_YAMLMap = __commonJS((exports) => {
14322
14340
  });
14323
14341
 
14324
14342
  // ../../node_modules/yaml/dist/schema/common/map.js
14325
- var require_map = __commonJS((exports) => {
14343
+ var require_map = __commonJS(function(exports) {
14326
14344
  var identity = require_identity();
14327
14345
  var YAMLMap = require_YAMLMap();
14328
14346
  var map4 = {
@@ -14341,7 +14359,7 @@ var require_map = __commonJS((exports) => {
14341
14359
  });
14342
14360
 
14343
14361
  // ../../node_modules/yaml/dist/nodes/YAMLSeq.js
14344
- var require_YAMLSeq = __commonJS((exports) => {
14362
+ var require_YAMLSeq = __commonJS(function(exports) {
14345
14363
  var createNode = require_createNode();
14346
14364
  var stringifyCollection = require_stringifyCollection();
14347
14365
  var Collection = require_Collection();
@@ -14434,7 +14452,7 @@ var require_YAMLSeq = __commonJS((exports) => {
14434
14452
  });
14435
14453
 
14436
14454
  // ../../node_modules/yaml/dist/schema/common/seq.js
14437
- var require_seq = __commonJS((exports) => {
14455
+ var require_seq = __commonJS(function(exports) {
14438
14456
  var identity = require_identity();
14439
14457
  var YAMLSeq = require_YAMLSeq();
14440
14458
  var seq = {
@@ -14453,7 +14471,7 @@ var require_seq = __commonJS((exports) => {
14453
14471
  });
14454
14472
 
14455
14473
  // ../../node_modules/yaml/dist/schema/common/string.js
14456
- var require_string = __commonJS((exports) => {
14474
+ var require_string = __commonJS(function(exports) {
14457
14475
  var stringifyString = require_stringifyString();
14458
14476
  var string = {
14459
14477
  identify: (value) => typeof value === "string",
@@ -14469,7 +14487,7 @@ var require_string = __commonJS((exports) => {
14469
14487
  });
14470
14488
 
14471
14489
  // ../../node_modules/yaml/dist/schema/common/null.js
14472
- var require_null = __commonJS((exports) => {
14490
+ var require_null = __commonJS(function(exports) {
14473
14491
  var Scalar = require_Scalar();
14474
14492
  var nullTag = {
14475
14493
  identify: (value) => value == null,
@@ -14484,7 +14502,7 @@ var require_null = __commonJS((exports) => {
14484
14502
  });
14485
14503
 
14486
14504
  // ../../node_modules/yaml/dist/schema/core/bool.js
14487
- var require_bool = __commonJS((exports) => {
14505
+ var require_bool = __commonJS(function(exports) {
14488
14506
  var Scalar = require_Scalar();
14489
14507
  var boolTag = {
14490
14508
  identify: (value) => typeof value === "boolean",
@@ -14505,7 +14523,7 @@ var require_bool = __commonJS((exports) => {
14505
14523
  });
14506
14524
 
14507
14525
  // ../../node_modules/yaml/dist/stringify/stringifyNumber.js
14508
- var require_stringifyNumber = __commonJS((exports) => {
14526
+ var require_stringifyNumber = __commonJS(function(exports) {
14509
14527
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
14510
14528
  if (typeof value === "bigint")
14511
14529
  return String(value);
@@ -14529,7 +14547,7 @@ var require_stringifyNumber = __commonJS((exports) => {
14529
14547
  });
14530
14548
 
14531
14549
  // ../../node_modules/yaml/dist/schema/core/float.js
14532
- var require_float = __commonJS((exports) => {
14550
+ var require_float = __commonJS(function(exports) {
14533
14551
  var Scalar = require_Scalar();
14534
14552
  var stringifyNumber = require_stringifyNumber();
14535
14553
  var floatNaN = {
@@ -14572,7 +14590,7 @@ var require_float = __commonJS((exports) => {
14572
14590
  });
14573
14591
 
14574
14592
  // ../../node_modules/yaml/dist/schema/core/int.js
14575
- var require_int = __commonJS((exports) => {
14593
+ var require_int = __commonJS(function(exports) {
14576
14594
  var stringifyNumber = require_stringifyNumber();
14577
14595
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
14578
14596
  var intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
@@ -14614,7 +14632,7 @@ var require_int = __commonJS((exports) => {
14614
14632
  });
14615
14633
 
14616
14634
  // ../../node_modules/yaml/dist/schema/core/schema.js
14617
- var require_schema = __commonJS((exports) => {
14635
+ var require_schema = __commonJS(function(exports) {
14618
14636
  var map4 = require_map();
14619
14637
  var _null = require_null();
14620
14638
  var seq = require_seq();
@@ -14639,7 +14657,7 @@ var require_schema = __commonJS((exports) => {
14639
14657
  });
14640
14658
 
14641
14659
  // ../../node_modules/yaml/dist/schema/json/schema.js
14642
- var require_schema2 = __commonJS((exports) => {
14660
+ var require_schema2 = __commonJS(function(exports) {
14643
14661
  var Scalar = require_Scalar();
14644
14662
  var map4 = require_map();
14645
14663
  var seq = require_seq();
@@ -14703,7 +14721,7 @@ var require_schema2 = __commonJS((exports) => {
14703
14721
  });
14704
14722
 
14705
14723
  // ../../node_modules/yaml/dist/schema/yaml-1.1/binary.js
14706
- var require_binary = __commonJS((exports) => {
14724
+ var require_binary = __commonJS(function(exports) {
14707
14725
  var node_buffer = __require("buffer");
14708
14726
  var Scalar = require_Scalar();
14709
14727
  var stringifyString = require_stringifyString();
@@ -14758,7 +14776,7 @@ var require_binary = __commonJS((exports) => {
14758
14776
  });
14759
14777
 
14760
14778
  // ../../node_modules/yaml/dist/schema/yaml-1.1/pairs.js
14761
- var require_pairs = __commonJS((exports) => {
14779
+ var require_pairs = __commonJS(function(exports) {
14762
14780
  var identity = require_identity();
14763
14781
  var Pair = require_Pair();
14764
14782
  var Scalar = require_Scalar();
@@ -14833,7 +14851,7 @@ ${cn.comment}` : item.comment;
14833
14851
  });
14834
14852
 
14835
14853
  // ../../node_modules/yaml/dist/schema/yaml-1.1/omap.js
14836
- var require_omap = __commonJS((exports) => {
14854
+ var require_omap = __commonJS(function(exports) {
14837
14855
  var identity = require_identity();
14838
14856
  var toJS = require_toJS();
14839
14857
  var YAMLMap = require_YAMLMap();
@@ -14905,7 +14923,7 @@ var require_omap = __commonJS((exports) => {
14905
14923
  });
14906
14924
 
14907
14925
  // ../../node_modules/yaml/dist/schema/yaml-1.1/bool.js
14908
- var require_bool2 = __commonJS((exports) => {
14926
+ var require_bool2 = __commonJS(function(exports) {
14909
14927
  var Scalar = require_Scalar();
14910
14928
  function boolStringify({ value, source }, ctx) {
14911
14929
  const boolObj = value ? trueTag : falseTag;
@@ -14934,7 +14952,7 @@ var require_bool2 = __commonJS((exports) => {
14934
14952
  });
14935
14953
 
14936
14954
  // ../../node_modules/yaml/dist/schema/yaml-1.1/float.js
14937
- var require_float2 = __commonJS((exports) => {
14955
+ var require_float2 = __commonJS(function(exports) {
14938
14956
  var Scalar = require_Scalar();
14939
14957
  var stringifyNumber = require_stringifyNumber();
14940
14958
  var floatNaN = {
@@ -14980,7 +14998,7 @@ var require_float2 = __commonJS((exports) => {
14980
14998
  });
14981
14999
 
14982
15000
  // ../../node_modules/yaml/dist/schema/yaml-1.1/int.js
14983
- var require_int2 = __commonJS((exports) => {
15001
+ var require_int2 = __commonJS(function(exports) {
14984
15002
  var stringifyNumber = require_stringifyNumber();
14985
15003
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
14986
15004
  function intResolve(str, offset, radix, { intAsBigInt }) {
@@ -15056,7 +15074,7 @@ var require_int2 = __commonJS((exports) => {
15056
15074
  });
15057
15075
 
15058
15076
  // ../../node_modules/yaml/dist/schema/yaml-1.1/set.js
15059
- var require_set = __commonJS((exports) => {
15077
+ var require_set = __commonJS(function(exports) {
15060
15078
  var identity = require_identity();
15061
15079
  var Pair = require_Pair();
15062
15080
  var YAMLMap = require_YAMLMap();
@@ -15139,7 +15157,7 @@ var require_set = __commonJS((exports) => {
15139
15157
  });
15140
15158
 
15141
15159
  // ../../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
15142
- var require_timestamp = __commonJS((exports) => {
15160
+ var require_timestamp = __commonJS(function(exports) {
15143
15161
  var stringifyNumber = require_stringifyNumber();
15144
15162
  function parseSexagesimal(str, asBigInt) {
15145
15163
  const sign = str[0];
@@ -15221,7 +15239,7 @@ var require_timestamp = __commonJS((exports) => {
15221
15239
  });
15222
15240
 
15223
15241
  // ../../node_modules/yaml/dist/schema/yaml-1.1/schema.js
15224
- var require_schema3 = __commonJS((exports) => {
15242
+ var require_schema3 = __commonJS(function(exports) {
15225
15243
  var map4 = require_map();
15226
15244
  var _null = require_null();
15227
15245
  var seq = require_seq();
@@ -15262,7 +15280,7 @@ var require_schema3 = __commonJS((exports) => {
15262
15280
  });
15263
15281
 
15264
15282
  // ../../node_modules/yaml/dist/schema/tags.js
15265
- var require_tags = __commonJS((exports) => {
15283
+ var require_tags = __commonJS(function(exports) {
15266
15284
  var map4 = require_map();
15267
15285
  var _null = require_null();
15268
15286
  var seq = require_seq();
@@ -15353,7 +15371,7 @@ var require_tags = __commonJS((exports) => {
15353
15371
  });
15354
15372
 
15355
15373
  // ../../node_modules/yaml/dist/schema/Schema.js
15356
- var require_Schema = __commonJS((exports) => {
15374
+ var require_Schema = __commonJS(function(exports) {
15357
15375
  var identity = require_identity();
15358
15376
  var map4 = require_map();
15359
15377
  var seq = require_seq();
@@ -15383,7 +15401,7 @@ var require_Schema = __commonJS((exports) => {
15383
15401
  });
15384
15402
 
15385
15403
  // ../../node_modules/yaml/dist/stringify/stringifyDocument.js
15386
- var require_stringifyDocument = __commonJS((exports) => {
15404
+ var require_stringifyDocument = __commonJS(function(exports) {
15387
15405
  var identity = require_identity();
15388
15406
  var stringify = require_stringify();
15389
15407
  var stringifyComment = require_stringifyComment();
@@ -15463,7 +15481,7 @@ var require_stringifyDocument = __commonJS((exports) => {
15463
15481
  });
15464
15482
 
15465
15483
  // ../../node_modules/yaml/dist/doc/Document.js
15466
- var require_Document = __commonJS((exports) => {
15484
+ var require_Document = __commonJS(function(exports) {
15467
15485
  var Alias = require_Alias();
15468
15486
  var Collection = require_Collection();
15469
15487
  var identity = require_identity();
@@ -15698,7 +15716,7 @@ var require_Document = __commonJS((exports) => {
15698
15716
  });
15699
15717
 
15700
15718
  // ../../node_modules/yaml/dist/errors.js
15701
- var require_errors = __commonJS((exports) => {
15719
+ var require_errors = __commonJS(function(exports) {
15702
15720
  class YAMLError extends Error {
15703
15721
  constructor(name, pos, code3, message) {
15704
15722
  super();
@@ -15763,7 +15781,7 @@ ${pointer}
15763
15781
  });
15764
15782
 
15765
15783
  // ../../node_modules/yaml/dist/compose/resolve-props.js
15766
- var require_resolve_props = __commonJS((exports) => {
15784
+ var require_resolve_props = __commonJS(function(exports) {
15767
15785
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
15768
15786
  let spaceBefore = false;
15769
15787
  let atNewline = startOnNewline;
@@ -15893,7 +15911,7 @@ var require_resolve_props = __commonJS((exports) => {
15893
15911
  });
15894
15912
 
15895
15913
  // ../../node_modules/yaml/dist/compose/util-contains-newline.js
15896
- var require_util_contains_newline = __commonJS((exports) => {
15914
+ var require_util_contains_newline = __commonJS(function(exports) {
15897
15915
  function containsNewline(key2) {
15898
15916
  if (!key2)
15899
15917
  return null;
@@ -15933,7 +15951,7 @@ var require_util_contains_newline = __commonJS((exports) => {
15933
15951
  });
15934
15952
 
15935
15953
  // ../../node_modules/yaml/dist/compose/util-flow-indent-check.js
15936
- var require_util_flow_indent_check = __commonJS((exports) => {
15954
+ var require_util_flow_indent_check = __commonJS(function(exports) {
15937
15955
  var utilContainsNewline = require_util_contains_newline();
15938
15956
  function flowIndentCheck(indent2, fc, onError) {
15939
15957
  if (fc?.type === "flow-collection") {
@@ -15948,7 +15966,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
15948
15966
  });
15949
15967
 
15950
15968
  // ../../node_modules/yaml/dist/compose/util-map-includes.js
15951
- var require_util_map_includes = __commonJS((exports) => {
15969
+ var require_util_map_includes = __commonJS(function(exports) {
15952
15970
  var identity = require_identity();
15953
15971
  function mapIncludes(ctx, items, search) {
15954
15972
  const { uniqueKeys } = ctx.options;
@@ -15961,7 +15979,7 @@ var require_util_map_includes = __commonJS((exports) => {
15961
15979
  });
15962
15980
 
15963
15981
  // ../../node_modules/yaml/dist/compose/resolve-block-map.js
15964
- var require_resolve_block_map = __commonJS((exports) => {
15982
+ var require_resolve_block_map = __commonJS(function(exports) {
15965
15983
  var Pair = require_Pair();
15966
15984
  var YAMLMap = require_YAMLMap();
15967
15985
  var resolveProps = require_resolve_props();
@@ -16068,7 +16086,7 @@ var require_resolve_block_map = __commonJS((exports) => {
16068
16086
  });
16069
16087
 
16070
16088
  // ../../node_modules/yaml/dist/compose/resolve-block-seq.js
16071
- var require_resolve_block_seq = __commonJS((exports) => {
16089
+ var require_resolve_block_seq = __commonJS(function(exports) {
16072
16090
  var YAMLSeq = require_YAMLSeq();
16073
16091
  var resolveProps = require_resolve_props();
16074
16092
  var utilFlowIndentCheck = require_util_flow_indent_check();
@@ -16116,7 +16134,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
16116
16134
  });
16117
16135
 
16118
16136
  // ../../node_modules/yaml/dist/compose/resolve-end.js
16119
- var require_resolve_end = __commonJS((exports) => {
16137
+ var require_resolve_end = __commonJS(function(exports) {
16120
16138
  function resolveEnd(end, offset, reqSpace, onError) {
16121
16139
  let comment = "";
16122
16140
  if (end) {
@@ -16156,7 +16174,7 @@ var require_resolve_end = __commonJS((exports) => {
16156
16174
  });
16157
16175
 
16158
16176
  // ../../node_modules/yaml/dist/compose/resolve-flow-collection.js
16159
- var require_resolve_flow_collection = __commonJS((exports) => {
16177
+ var require_resolve_flow_collection = __commonJS(function(exports) {
16160
16178
  var identity = require_identity();
16161
16179
  var Pair = require_Pair();
16162
16180
  var YAMLMap = require_YAMLMap();
@@ -16347,7 +16365,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
16347
16365
  });
16348
16366
 
16349
16367
  // ../../node_modules/yaml/dist/compose/compose-collection.js
16350
- var require_compose_collection = __commonJS((exports) => {
16368
+ var require_compose_collection = __commonJS(function(exports) {
16351
16369
  var identity = require_identity();
16352
16370
  var Scalar = require_Scalar();
16353
16371
  var YAMLMap = require_YAMLMap();
@@ -16409,7 +16427,7 @@ var require_compose_collection = __commonJS((exports) => {
16409
16427
  });
16410
16428
 
16411
16429
  // ../../node_modules/yaml/dist/compose/resolve-block-scalar.js
16412
- var require_resolve_block_scalar = __commonJS((exports) => {
16430
+ var require_resolve_block_scalar = __commonJS(function(exports) {
16413
16431
  var Scalar = require_Scalar();
16414
16432
  function resolveBlockScalar(ctx, scalar, onError) {
16415
16433
  const start = scalar.offset;
@@ -16602,7 +16620,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
16602
16620
  });
16603
16621
 
16604
16622
  // ../../node_modules/yaml/dist/compose/resolve-flow-scalar.js
16605
- var require_resolve_flow_scalar = __commonJS((exports) => {
16623
+ var require_resolve_flow_scalar = __commonJS(function(exports) {
16606
16624
  var Scalar = require_Scalar();
16607
16625
  var resolveEnd = require_resolve_end();
16608
16626
  function resolveFlowScalar(scalar, strict, onError) {
@@ -16819,7 +16837,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
16819
16837
  });
16820
16838
 
16821
16839
  // ../../node_modules/yaml/dist/compose/compose-scalar.js
16822
- var require_compose_scalar = __commonJS((exports) => {
16840
+ var require_compose_scalar = __commonJS(function(exports) {
16823
16841
  var identity = require_identity();
16824
16842
  var Scalar = require_Scalar();
16825
16843
  var resolveBlockScalar = require_resolve_block_scalar();
@@ -16897,7 +16915,7 @@ var require_compose_scalar = __commonJS((exports) => {
16897
16915
  });
16898
16916
 
16899
16917
  // ../../node_modules/yaml/dist/compose/util-empty-scalar-position.js
16900
- var require_util_empty_scalar_position = __commonJS((exports) => {
16918
+ var require_util_empty_scalar_position = __commonJS(function(exports) {
16901
16919
  function emptyScalarPosition(offset, before, pos) {
16902
16920
  if (before) {
16903
16921
  pos ?? (pos = before.length);
@@ -16924,7 +16942,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
16924
16942
  });
16925
16943
 
16926
16944
  // ../../node_modules/yaml/dist/compose/compose-node.js
16927
- var require_compose_node = __commonJS((exports) => {
16945
+ var require_compose_node = __commonJS(function(exports) {
16928
16946
  var Alias = require_Alias();
16929
16947
  var identity = require_identity();
16930
16948
  var composeCollection = require_compose_collection();
@@ -17027,7 +17045,7 @@ var require_compose_node = __commonJS((exports) => {
17027
17045
  });
17028
17046
 
17029
17047
  // ../../node_modules/yaml/dist/compose/compose-doc.js
17030
- var require_compose_doc = __commonJS((exports) => {
17048
+ var require_compose_doc = __commonJS(function(exports) {
17031
17049
  var Document = require_Document();
17032
17050
  var composeNode = require_compose_node();
17033
17051
  var resolveEnd = require_resolve_end();
@@ -17067,7 +17085,7 @@ var require_compose_doc = __commonJS((exports) => {
17067
17085
  });
17068
17086
 
17069
17087
  // ../../node_modules/yaml/dist/compose/composer.js
17070
- var require_composer = __commonJS((exports) => {
17088
+ var require_composer = __commonJS(function(exports) {
17071
17089
  var node_process = __require("process");
17072
17090
  var directives = require_directives();
17073
17091
  var Document = require_Document();
@@ -17258,7 +17276,7 @@ ${end.comment}` : end.comment;
17258
17276
  });
17259
17277
 
17260
17278
  // ../../node_modules/yaml/dist/parse/cst-scalar.js
17261
- var require_cst_scalar = __commonJS((exports) => {
17279
+ var require_cst_scalar = __commonJS(function(exports) {
17262
17280
  var resolveBlockScalar = require_resolve_block_scalar();
17263
17281
  var resolveFlowScalar = require_resolve_flow_scalar();
17264
17282
  var errors = require_errors();
@@ -17448,7 +17466,7 @@ var require_cst_scalar = __commonJS((exports) => {
17448
17466
  });
17449
17467
 
17450
17468
  // ../../node_modules/yaml/dist/parse/cst-stringify.js
17451
- var require_cst_stringify = __commonJS((exports) => {
17469
+ var require_cst_stringify = __commonJS(function(exports) {
17452
17470
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
17453
17471
  function stringifyToken(token) {
17454
17472
  switch (token.type) {
@@ -17506,7 +17524,7 @@ var require_cst_stringify = __commonJS((exports) => {
17506
17524
  });
17507
17525
 
17508
17526
  // ../../node_modules/yaml/dist/parse/cst-visit.js
17509
- var require_cst_visit = __commonJS((exports) => {
17527
+ var require_cst_visit = __commonJS(function(exports) {
17510
17528
  var BREAK = Symbol("break visit");
17511
17529
  var SKIP4 = Symbol("skip children");
17512
17530
  var REMOVE = Symbol("remove item");
@@ -17565,7 +17583,7 @@ var require_cst_visit = __commonJS((exports) => {
17565
17583
  });
17566
17584
 
17567
17585
  // ../../node_modules/yaml/dist/parse/cst.js
17568
- var require_cst = __commonJS((exports) => {
17586
+ var require_cst = __commonJS(function(exports) {
17569
17587
  var cstScalar = require_cst_scalar();
17570
17588
  var cstStringify = require_cst_stringify();
17571
17589
  var cstVisit = require_cst_visit();
@@ -17666,7 +17684,7 @@ var require_cst = __commonJS((exports) => {
17666
17684
  });
17667
17685
 
17668
17686
  // ../../node_modules/yaml/dist/parse/lexer.js
17669
- var require_lexer = __commonJS((exports) => {
17687
+ var require_lexer = __commonJS(function(exports) {
17670
17688
  var cst = require_cst();
17671
17689
  function isEmpty(ch) {
17672
17690
  switch (ch) {
@@ -18263,7 +18281,7 @@ var require_lexer = __commonJS((exports) => {
18263
18281
  });
18264
18282
 
18265
18283
  // ../../node_modules/yaml/dist/parse/line-counter.js
18266
- var require_line_counter = __commonJS((exports) => {
18284
+ var require_line_counter = __commonJS(function(exports) {
18267
18285
  class LineCounter {
18268
18286
  constructor() {
18269
18287
  this.lineStarts = [];
@@ -18291,7 +18309,7 @@ var require_line_counter = __commonJS((exports) => {
18291
18309
  });
18292
18310
 
18293
18311
  // ../../node_modules/yaml/dist/parse/parser.js
18294
- var require_parser = __commonJS((exports) => {
18312
+ var require_parser = __commonJS(function(exports) {
18295
18313
  var node_process = __require("process");
18296
18314
  var cst = require_cst();
18297
18315
  var lexer = require_lexer();
@@ -19147,7 +19165,7 @@ var require_parser = __commonJS((exports) => {
19147
19165
  });
19148
19166
 
19149
19167
  // ../../node_modules/yaml/dist/public-api.js
19150
- var require_public_api = __commonJS((exports) => {
19168
+ var require_public_api = __commonJS(function(exports) {
19151
19169
  var composer = require_composer();
19152
19170
  var Document = require_Document();
19153
19171
  var errors = require_errors();
@@ -19349,13 +19367,13 @@ var init_info = __esm(() => {
19349
19367
  // ../../node_modules/hastscript/node_modules/property-information/lib/util/types.js
19350
19368
  var exports_types = {};
19351
19369
  __export(exports_types, {
19352
- spaceSeparated: () => spaceSeparated,
19353
- overloadedBoolean: () => overloadedBoolean,
19354
- number: () => number,
19355
- commaSeparated: () => commaSeparated,
19356
- commaOrSpaceSeparated: () => commaOrSpaceSeparated,
19370
+ boolean: () => boolean,
19357
19371
  booleanish: () => booleanish,
19358
- boolean: () => boolean
19372
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated,
19373
+ commaSeparated: () => commaSeparated,
19374
+ number: () => number,
19375
+ overloadedBoolean: () => overloadedBoolean,
19376
+ spaceSeparated: () => spaceSeparated
19359
19377
  });
19360
19378
  function increment() {
19361
19379
  return 2 ** ++powers;
@@ -20817,13 +20835,13 @@ var init_info2 = __esm(() => {
20817
20835
  // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.js
20818
20836
  var exports_types2 = {};
20819
20837
  __export(exports_types2, {
20820
- spaceSeparated: () => spaceSeparated2,
20821
- overloadedBoolean: () => overloadedBoolean2,
20822
- number: () => number2,
20823
- commaSeparated: () => commaSeparated2,
20824
- commaOrSpaceSeparated: () => commaOrSpaceSeparated2,
20838
+ boolean: () => boolean2,
20825
20839
  booleanish: () => booleanish2,
20826
- boolean: () => boolean2
20840
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated2,
20841
+ commaSeparated: () => commaSeparated2,
20842
+ number: () => number2,
20843
+ overloadedBoolean: () => overloadedBoolean2,
20844
+ spaceSeparated: () => spaceSeparated2
20827
20845
  });
20828
20846
  function increment2() {
20829
20847
  return 2 ** ++powers2;
@@ -30160,13 +30178,13 @@ var init_info3 = __esm(() => {
30160
30178
  // ../../node_modules/property-information/lib/util/types.js
30161
30179
  var exports_types3 = {};
30162
30180
  __export(exports_types3, {
30163
- spaceSeparated: () => spaceSeparated3,
30164
- overloadedBoolean: () => overloadedBoolean3,
30165
- number: () => number3,
30166
- commaSeparated: () => commaSeparated3,
30167
- commaOrSpaceSeparated: () => commaOrSpaceSeparated3,
30181
+ boolean: () => boolean3,
30168
30182
  booleanish: () => booleanish3,
30169
- boolean: () => boolean3
30183
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated3,
30184
+ commaSeparated: () => commaSeparated3,
30185
+ number: () => number3,
30186
+ overloadedBoolean: () => overloadedBoolean3,
30187
+ spaceSeparated: () => spaceSeparated3
30170
30188
  });
30171
30189
  function increment3() {
30172
30190
  return 2 ** ++powers3;
@@ -31810,15 +31828,15 @@ var init_text = __esm(() => {
31810
31828
  // ../../node_modules/micromark/dev/lib/constructs.js
31811
31829
  var exports_constructs = {};
31812
31830
  __export(exports_constructs, {
31813
- text: () => text4,
31814
- string: () => string2,
31815
- insideSpan: () => insideSpan,
31816
- flowInitial: () => flowInitial,
31817
- flow: () => flow2,
31818
- document: () => document3,
31819
- disable: () => disable,
31831
+ attentionMarkers: () => attentionMarkers,
31820
31832
  contentInitial: () => contentInitial,
31821
- attentionMarkers: () => attentionMarkers
31833
+ disable: () => disable,
31834
+ document: () => document3,
31835
+ flow: () => flow2,
31836
+ flowInitial: () => flowInitial,
31837
+ insideSpan: () => insideSpan,
31838
+ string: () => string2,
31839
+ text: () => text4
31822
31840
  });
31823
31841
  var document3, contentInitial, flowInitial, flow2, string2, text4, insideSpan, attentionMarkers, disable;
31824
31842
  var init_constructs = __esm(() => {
@@ -31883,7 +31901,7 @@ var init_constructs = __esm(() => {
31883
31901
  });
31884
31902
 
31885
31903
  // ../../node_modules/ms/index.js
31886
- var require_ms = __commonJS((exports, module) => {
31904
+ var require_ms = __commonJS(function(exports, module) {
31887
31905
  var s2 = 1000;
31888
31906
  var m = s2 * 60;
31889
31907
  var h2 = m * 60;
@@ -31993,7 +32011,7 @@ var require_ms = __commonJS((exports, module) => {
31993
32011
  });
31994
32012
 
31995
32013
  // ../../node_modules/debug/src/common.js
31996
- var require_common = __commonJS((exports, module) => {
32014
+ var require_common = __commonJS(function(exports, module) {
31997
32015
  function setup(env) {
31998
32016
  createDebug.debug = createDebug;
31999
32017
  createDebug.default = createDebug;
@@ -32168,7 +32186,7 @@ var require_common = __commonJS((exports, module) => {
32168
32186
  });
32169
32187
 
32170
32188
  // ../../node_modules/debug/src/browser.js
32171
- var require_browser = __commonJS((exports, module) => {
32189
+ var require_browser = __commonJS(function(exports, module) {
32172
32190
  exports.formatArgs = formatArgs;
32173
32191
  exports.save = save;
32174
32192
  exports.load = load;
@@ -32328,7 +32346,7 @@ var require_browser = __commonJS((exports, module) => {
32328
32346
  });
32329
32347
 
32330
32348
  // ../../node_modules/has-flag/index.js
32331
- var require_has_flag = __commonJS((exports, module) => {
32349
+ var require_has_flag = __commonJS(function(exports, module) {
32332
32350
  module.exports = (flag, argv = process.argv) => {
32333
32351
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
32334
32352
  const position3 = argv.indexOf(prefix + flag);
@@ -32338,7 +32356,7 @@ var require_has_flag = __commonJS((exports, module) => {
32338
32356
  });
32339
32357
 
32340
32358
  // ../../node_modules/supports-color/index.js
32341
- var require_supports_color = __commonJS((exports, module) => {
32359
+ var require_supports_color = __commonJS(function(exports, module) {
32342
32360
  var os = __require("os");
32343
32361
  var tty = __require("tty");
32344
32362
  var hasFlag = require_has_flag();
@@ -32437,7 +32455,7 @@ var require_supports_color = __commonJS((exports, module) => {
32437
32455
  });
32438
32456
 
32439
32457
  // ../../node_modules/debug/src/node.js
32440
- var require_node = __commonJS((exports, module) => {
32458
+ var require_node = __commonJS(function(exports, module) {
32441
32459
  var tty = __require("tty");
32442
32460
  var util = __require("util");
32443
32461
  exports.init = init;
@@ -32608,7 +32626,7 @@ var require_node = __commonJS((exports, module) => {
32608
32626
  });
32609
32627
 
32610
32628
  // ../../node_modules/debug/src/index.js
32611
- var require_src = __commonJS((exports, module) => {
32629
+ var require_src = __commonJS(function(exports, module) {
32612
32630
  if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
32613
32631
  module.exports = require_browser();
32614
32632
  } else {
@@ -33816,7 +33834,7 @@ var init_remark_parse = __esm(() => {
33816
33834
  });
33817
33835
 
33818
33836
  // ../../node_modules/format/format.js
33819
- var require_format = __commonJS((exports, module) => {
33837
+ var require_format = __commonJS(function(exports, module) {
33820
33838
  (function() {
33821
33839
  var namespace;
33822
33840
  if (typeof module !== "undefined") {
@@ -34245,7 +34263,7 @@ var init_remark_frontmatter = __esm(() => {
34245
34263
  });
34246
34264
 
34247
34265
  // ../../node_modules/unist-util-visit-parents/node_modules/unist-util-is/convert.js
34248
- var require_convert = __commonJS((exports, module) => {
34266
+ var require_convert = __commonJS(function(exports, module) {
34249
34267
  module.exports = convert2;
34250
34268
  function convert2(test) {
34251
34269
  if (test == null) {
@@ -34302,7 +34320,7 @@ var require_convert = __commonJS((exports, module) => {
34302
34320
  });
34303
34321
 
34304
34322
  // ../../node_modules/unist-util-visit-parents/color.js
34305
- var require_color = __commonJS((exports, module) => {
34323
+ var require_color = __commonJS(function(exports, module) {
34306
34324
  module.exports = color4;
34307
34325
  function color4(d) {
34308
34326
  return "\x1B[33m" + d + "\x1B[39m";
@@ -34310,7 +34328,7 @@ var require_color = __commonJS((exports, module) => {
34310
34328
  });
34311
34329
 
34312
34330
  // ../../node_modules/unist-util-visit-parents/index.js
34313
- var require_unist_util_visit_parents = __commonJS((exports, module) => {
34331
+ var require_unist_util_visit_parents = __commonJS(function(exports, module) {
34314
34332
  module.exports = visitParents4;
34315
34333
  var convert2 = require_convert();
34316
34334
  var color4 = require_color();
@@ -34376,7 +34394,7 @@ var require_unist_util_visit_parents = __commonJS((exports, module) => {
34376
34394
  });
34377
34395
 
34378
34396
  // ../../node_modules/unist-util-find/node_modules/unist-util-visit/index.js
34379
- var require_unist_util_visit = __commonJS((exports, module) => {
34397
+ var require_unist_util_visit = __commonJS(function(exports, module) {
34380
34398
  module.exports = visit3;
34381
34399
  var visitParents4 = require_unist_util_visit_parents();
34382
34400
  var CONTINUE4 = visitParents4.CONTINUE;
@@ -34401,7 +34419,7 @@ var require_unist_util_visit = __commonJS((exports, module) => {
34401
34419
  });
34402
34420
 
34403
34421
  // ../../node_modules/lodash.iteratee/index.js
34404
- var require_lodash = __commonJS((exports, module) => {
34422
+ var require_lodash = __commonJS(function(exports, module) {
34405
34423
  var LARGE_ARRAY_SIZE = 200;
34406
34424
  var FUNC_ERROR_TEXT = "Expected a function";
34407
34425
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
@@ -35432,7 +35450,7 @@ var require_lodash = __commonJS((exports, module) => {
35432
35450
  });
35433
35451
 
35434
35452
  // ../../node_modules/unist-util-find/index.js
35435
- var require_unist_util_find = __commonJS((exports, module) => {
35453
+ var require_unist_util_find = __commonJS(function(exports, module) {
35436
35454
  var visit3 = require_unist_util_visit();
35437
35455
  var iteratee = require_lodash();
35438
35456
  module.exports = function find4(tree, condition) {
@@ -35453,7 +35471,7 @@ var require_unist_util_find = __commonJS((exports, module) => {
35453
35471
  });
35454
35472
 
35455
35473
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/PlainValue-516d5bc2.js
35456
- var require_PlainValue_516d5bc2 = __commonJS((exports) => {
35474
+ var require_PlainValue_516d5bc2 = __commonJS(function(exports) {
35457
35475
  var Char = {
35458
35476
  ANCHOR: "&",
35459
35477
  COMMENT: "#",
@@ -36199,7 +36217,7 @@ ${ctx}
36199
36217
  });
36200
36218
 
36201
36219
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/parse-cst.js
36202
- var require_parse_cst = __commonJS((exports) => {
36220
+ var require_parse_cst = __commonJS(function(exports) {
36203
36221
  var PlainValue = require_PlainValue_516d5bc2();
36204
36222
 
36205
36223
  class BlankLine extends PlainValue.Node {
@@ -37668,7 +37686,7 @@ var require_parse_cst = __commonJS((exports) => {
37668
37686
  });
37669
37687
 
37670
37688
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/resolveSeq-95613e94.js
37671
- var require_resolveSeq_95613e94 = __commonJS((exports) => {
37689
+ var require_resolveSeq_95613e94 = __commonJS(function(exports) {
37672
37690
  var PlainValue = require_PlainValue_516d5bc2();
37673
37691
  function addCommentBefore(str, indent2, comment) {
37674
37692
  if (!comment)
@@ -39663,7 +39681,7 @@ ${ca}` : ca;
39663
39681
  });
39664
39682
 
39665
39683
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/warnings-793925ce.js
39666
- var require_warnings_793925ce = __commonJS((exports) => {
39684
+ var require_warnings_793925ce = __commonJS(function(exports) {
39667
39685
  var PlainValue = require_PlainValue_516d5bc2();
39668
39686
  var resolveSeq = require_resolveSeq_95613e94();
39669
39687
  var binary = {
@@ -40018,7 +40036,7 @@ ${pair.comment}` : item.comment;
40018
40036
  });
40019
40037
 
40020
40038
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/Schema-bcc6c2d7.js
40021
- var require_Schema_bcc6c2d7 = __commonJS((exports) => {
40039
+ var require_Schema_bcc6c2d7 = __commonJS(function(exports) {
40022
40040
  var PlainValue = require_PlainValue_516d5bc2();
40023
40041
  var resolveSeq = require_resolveSeq_95613e94();
40024
40042
  var warnings = require_warnings_793925ce();
@@ -40481,7 +40499,7 @@ var require_Schema_bcc6c2d7 = __commonJS((exports) => {
40481
40499
  });
40482
40500
 
40483
40501
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/Document-a8d0fbf9.js
40484
- var require_Document_a8d0fbf9 = __commonJS((exports) => {
40502
+ var require_Document_a8d0fbf9 = __commonJS(function(exports) {
40485
40503
  var PlainValue = require_PlainValue_516d5bc2();
40486
40504
  var resolveSeq = require_resolveSeq_95613e94();
40487
40505
  var Schema5 = require_Schema_bcc6c2d7();
@@ -41166,7 +41184,7 @@ ${cbNode.commentBefore}` : cb;
41166
41184
  });
41167
41185
 
41168
41186
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/dist/index.js
41169
- var require_dist = __commonJS((exports) => {
41187
+ var require_dist = __commonJS(function(exports) {
41170
41188
  var parseCst = require_parse_cst();
41171
41189
  var Document$1 = require_Document_a8d0fbf9();
41172
41190
  var Schema5 = require_Schema_bcc6c2d7();
@@ -41235,12 +41253,12 @@ var require_dist = __commonJS((exports) => {
41235
41253
  });
41236
41254
 
41237
41255
  // ../../node_modules/remark-parse-frontmatter/node_modules/yaml/index.js
41238
- var require_yaml = __commonJS((exports, module) => {
41256
+ var require_yaml = __commonJS(function(exports, module) {
41239
41257
  module.exports = require_dist().YAML;
41240
41258
  });
41241
41259
 
41242
41260
  // ../../node_modules/revalidator/lib/revalidator.js
41243
- var require_revalidator = __commonJS((exports, module) => {
41261
+ var require_revalidator = __commonJS(function(exports, module) {
41244
41262
  (function(exports2) {
41245
41263
  exports2.validate = validate;
41246
41264
  exports2.mixin = mixin;
@@ -41579,7 +41597,7 @@ var require_revalidator = __commonJS((exports, module) => {
41579
41597
  });
41580
41598
 
41581
41599
  // ../../node_modules/remark-parse-frontmatter/dist/index.js
41582
- var require_dist2 = __commonJS((exports, module) => {
41600
+ var require_dist2 = __commonJS(function(exports, module) {
41583
41601
  var __importDefault = exports && exports.__importDefault || function(mod) {
41584
41602
  return mod && mod.__esModule ? mod : { default: mod };
41585
41603
  };
@@ -41982,7 +42000,7 @@ function transpileJxMarkdown(source) {
41982
42000
  return doc;
41983
42001
  }
41984
42002
  function slugifyHeading(text5) {
41985
- return text5.toLowerCase().replaceAll(/[^\w\s-]/g, "").replaceAll(/\s+/g, "-").replaceAll(/-+/g, "-").replaceAll(/^-|-$/g, "");
42003
+ return text5.normalize("NFC").toLowerCase().replaceAll(/[^\p{L}\p{N}_\s-]/gu, "").replaceAll(/\s+/gu, "-").replaceAll(/-+/g, "-").replaceAll(/^-|-$/g, "");
41986
42004
  }
41987
42005
  function jxNodeText(node2) {
41988
42006
  if (typeof node2 === "string") {
@@ -42004,7 +42022,7 @@ function assignHeadingIds(children) {
42004
42022
  if (typeof node2 !== "object" || node2 === null) {
42005
42023
  continue;
42006
42024
  }
42007
- const tag = node2.tagName;
42025
+ const tag = typeof node2.tagName === "string" ? node2.tagName : "";
42008
42026
  if (tag && HEADING_TAGS.has(tag)) {
42009
42027
  const text5 = jxNodeText(node2).trim();
42010
42028
  let id = typeof node2.id === "string" && node2.id.length > 0 ? node2.id : "";
@@ -42313,7 +42331,7 @@ function convertJxNode(el, isBlock, allowlist) {
42313
42331
  if (!el || typeof el !== "object") {
42314
42332
  return null;
42315
42333
  }
42316
- const tag = el.tagName ?? "div";
42334
+ const tag = serializableTag(el.tagName) || "div";
42317
42335
  if (!allowlist.has(tag) || hasJxProps(el)) {
42318
42336
  return convertToDirective(el, isBlock, allowlist);
42319
42337
  }
@@ -42442,6 +42460,15 @@ function convertJxNode(el, isBlock, allowlist) {
42442
42460
  }
42443
42461
  return null;
42444
42462
  }
42463
+ function serializableTag(tagName) {
42464
+ if (typeof tagName === "string") {
42465
+ return tagName;
42466
+ }
42467
+ if (tagName == null) {
42468
+ return "";
42469
+ }
42470
+ throw new Error(`Markdown cannot express a tag chosen at creation (candidates: ` + `${tagNameCandidates(tagName).join(", ")}). Keep this element in a JSON component.`);
42471
+ }
42445
42472
  function collectDirectiveAttrs(el) {
42446
42473
  const propsObj = {};
42447
42474
  for (const [key2, value2] of Object.entries(el)) {
@@ -42574,7 +42601,7 @@ function nodeToMdast(node2, ctx, scope) {
42574
42601
  if (node2.$prototype === "Array") {
42575
42602
  return expandArray(node2, ctx, scope);
42576
42603
  }
42577
- const tag = node2.tagName ?? "div";
42604
+ const tag = serializableTag(node2.tagName) || "div";
42578
42605
  const text5 = resolveText(node2.textContent, ctx, scope);
42579
42606
  if (typeof node2.innerHTML === "string" && node2.innerHTML.trim()) {
42580
42607
  const htmlNodes = htmlToMdast(node2.innerHTML);
@@ -43373,6 +43400,63 @@ var init_serialize = __esm(() => {
43373
43400
  JX_ANNOTATION_KEYS2 = new Set(["$title", "$description"]);
43374
43401
  });
43375
43402
 
43403
+ // ../../packages/schema/src/intl.ts
43404
+ var DEFAULT_FORMAT_LOCALE = "en-US", INTL_HELPERS, INTL_HELPER_PATHS, INTL_LOCALE_PARAM;
43405
+ var init_intl = __esm(() => {
43406
+ INTL_HELPERS = [
43407
+ {
43408
+ api: "Intl.NumberFormat",
43409
+ params: ["value", "locale", "options"],
43410
+ path: "Intl/formatNumber",
43411
+ summary: "Format a number for a locale — grouping, decimals, currency, percent, units."
43412
+ },
43413
+ {
43414
+ api: "Intl.DateTimeFormat",
43415
+ params: ["value", "locale", "options"],
43416
+ path: "Intl/formatDate",
43417
+ summary: "Format a date or timestamp for a locale. Pass `timeZone` in options."
43418
+ },
43419
+ {
43420
+ api: "Intl.RelativeTimeFormat",
43421
+ params: ["value", "unit", "locale", "options"],
43422
+ path: "Intl/formatRelativeTime",
43423
+ summary: 'Format a relative time — `-3, "day"` becomes "3 days ago".'
43424
+ },
43425
+ {
43426
+ api: "Intl.ListFormat",
43427
+ params: ["values", "locale", "options"],
43428
+ path: "Intl/formatList",
43429
+ summary: 'Join a list the way a locale does — "a, b, and c", not a hand-written comma join.'
43430
+ },
43431
+ {
43432
+ api: "Intl.PluralRules",
43433
+ params: ["value", "locale", "options"],
43434
+ path: "Intl/plural",
43435
+ summary: 'Which plural category a number falls in ("one", "few", "other") — many languages have ' + "more than two, so a ternary on `n === 1` is wrong outside English."
43436
+ },
43437
+ {
43438
+ api: "Intl.Collator",
43439
+ params: ["a", "b", "locale", "options"],
43440
+ path: "Intl/compare",
43441
+ summary: "Compare two strings for sorting. `<` and `sort()` order by UTF-16 code unit, which puts " + '"Zebra" before "apple" and sorts every accented word into the wrong place.'
43442
+ },
43443
+ {
43444
+ api: "Intl.DisplayNames",
43445
+ params: ["code", "type", "locale", "options"],
43446
+ path: "Intl/displayName",
43447
+ summary: 'The name of a language, region, script or currency in a locale — "de" as "German" or ' + '"Deutsch", from CLDR rather than a hand-kept table.'
43448
+ },
43449
+ {
43450
+ api: "Intl.Segmenter",
43451
+ params: ["value", "granularity", "locale"],
43452
+ path: "Intl/segment",
43453
+ summary: "Split text into graphemes, words or sentences (UAX #29). `[...str]` splits code points, " + "so it cuts an emoji with a skin-tone modifier in half."
43454
+ }
43455
+ ];
43456
+ INTL_HELPER_PATHS = INTL_HELPERS.map((helper) => helper.path);
43457
+ INTL_LOCALE_PARAM = Object.fromEntries(INTL_HELPERS.map((helper) => [helper.path, helper.params.indexOf("locale")]));
43458
+ });
43459
+
43376
43460
  // ../../node_modules/glob/dist/esm/index.min.js
43377
43461
  import { fileURLToPath as Wi } from "node:url";
43378
43462
  import { posix as mi, win32 as re2 } from "node:path";
@@ -47963,7 +48047,7 @@ var CAPTURING_REGEX_SOURCE, RegexSource = class {
47963
48047
  let localIncludedRule = repository[reference.ruleName];
47964
48048
  if (localIncludedRule) {
47965
48049
  ruleId = _RuleFactory.getCompiledRuleId(localIncludedRule, helper, repository);
47966
- } else {}
48050
+ }
47967
48051
  break;
47968
48052
  case 3:
47969
48053
  case 4:
@@ -47975,11 +48059,11 @@ var CAPTURING_REGEX_SOURCE, RegexSource = class {
47975
48059
  let externalIncludedRule = externalGrammar.repository[externalGrammarInclude];
47976
48060
  if (externalIncludedRule) {
47977
48061
  ruleId = _RuleFactory.getCompiledRuleId(externalIncludedRule, helper, externalGrammar.repository);
47978
- } else {}
48062
+ }
47979
48063
  } else {
47980
48064
  ruleId = _RuleFactory.getCompiledRuleId(externalGrammar.repository.$self, helper, externalGrammar.repository);
47981
48065
  }
47982
- } else {}
48066
+ }
47983
48067
  break;
47984
48068
  }
47985
48069
  } else {
@@ -50077,13 +50161,13 @@ var init_info4 = __esm(() => {
50077
50161
  // ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/types.js
50078
50162
  var exports_types4 = {};
50079
50163
  __export(exports_types4, {
50080
- spaceSeparated: () => spaceSeparated4,
50081
- overloadedBoolean: () => overloadedBoolean4,
50082
- number: () => number4,
50083
- commaSeparated: () => commaSeparated4,
50084
- commaOrSpaceSeparated: () => commaOrSpaceSeparated4,
50164
+ boolean: () => boolean4,
50085
50165
  booleanish: () => booleanish4,
50086
- boolean: () => boolean4
50166
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated4,
50167
+ commaSeparated: () => commaSeparated4,
50168
+ number: () => number4,
50169
+ overloadedBoolean: () => overloadedBoolean4,
50170
+ spaceSeparated: () => spaceSeparated4
50087
50171
  });
50088
50172
  function increment4() {
50089
50173
  return 2 ** ++powers4;
@@ -51707,15 +51791,34 @@ function splitToken(token, offsets) {
51707
51791
  });
51708
51792
  return tokens;
51709
51793
  }
51794
+ function findFirstBreakpointAfter(breakpoints, offset) {
51795
+ let start = 0;
51796
+ let end = breakpoints.length;
51797
+ while (start < end) {
51798
+ const middle = start + (end - start >> 1);
51799
+ if (breakpoints[middle] <= offset)
51800
+ start = middle + 1;
51801
+ else
51802
+ end = middle;
51803
+ }
51804
+ return start;
51805
+ }
51710
51806
  function splitTokens(tokens, breakpoints) {
51711
51807
  const sorted = [...breakpoints instanceof Set ? breakpoints : new Set(breakpoints)].sort((a, b) => a - b);
51712
51808
  if (!sorted.length)
51713
51809
  return tokens;
51714
51810
  return tokens.map((line) => {
51715
51811
  return line.flatMap((token) => {
51716
- const breakpointsInToken = sorted.filter((i) => token.offset < i && i < token.offset + token.content.length).map((i) => i - token.offset).sort((a, b) => a - b);
51717
- if (!breakpointsInToken.length)
51812
+ const tokenEnd = token.offset + token.content.length;
51813
+ const start = findFirstBreakpointAfter(sorted, token.offset);
51814
+ let end = start;
51815
+ while (end < sorted.length && sorted[end] < tokenEnd)
51816
+ end++;
51817
+ if (start === end)
51718
51818
  return token;
51819
+ const breakpointsInToken = sorted.slice(start, end);
51820
+ for (let index2 = 0;index2 < breakpointsInToken.length; index2++)
51821
+ breakpointsInToken[index2] -= token.offset;
51719
51822
  return splitToken(token, breakpointsInToken);
51720
51823
  });
51721
51824
  });
@@ -51742,7 +51845,9 @@ function flatTokenVariants(merged, variantsOrder, cssVariablePrefix, defaultColo
51742
51845
  const darkIndex = variantsOrder.findIndex((t) => t === "dark");
51743
51846
  if (lightIndex === -1 || darkIndex === -1)
51744
51847
  throw new ShikiError('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
51745
- mergedStyles[key2] = `light-dark(${styles[lightIndex][key2] || "inherit"}, ${styles[darkIndex][key2] || "inherit"})`;
51848
+ const lightValue = styles[lightIndex][key2] || "inherit";
51849
+ const darkValue = styles[darkIndex][key2] || "inherit";
51850
+ mergedStyles[key2] = `light-dark(${lightValue}, ${darkValue})`;
51746
51851
  if (colorsRendering === "css-vars")
51747
51852
  mergedStyles[varKey(idx, key2)] = value2;
51748
51853
  } else
@@ -56030,20 +56135,20 @@ var init_highlight = __esm(() => {
56030
56135
  // src/md.ts
56031
56136
  var exports_md = {};
56032
56137
  __export(exports_md, {
56033
- transpileJxMarkdown: () => transpileJxMarkdown,
56034
- processMarkdown: () => processMarkdown,
56035
- mdastNodeToJx: () => mdastNodeToJx,
56036
- mdKey: () => mdKey,
56037
- jxKey: () => jxKey,
56038
- isJxMarkdown: () => isJxMarkdown,
56039
- expandStylePaths: () => expandStylePaths,
56040
- expandDotPaths: () => expandDotPaths,
56041
- convertChildren: () => convertChildren,
56042
- collapseStylePaths: () => collapseStylePaths,
56043
- collapseDotPaths: () => collapseDotPaths,
56044
- applyStyleKeyMapping: () => applyStyleKeyMapping,
56138
+ Markdown: () => Markdown,
56045
56139
  MarkdownCollection: () => MarkdownCollection,
56046
- Markdown: () => Markdown
56140
+ applyStyleKeyMapping: () => applyStyleKeyMapping,
56141
+ collapseDotPaths: () => collapseDotPaths,
56142
+ collapseStylePaths: () => collapseStylePaths,
56143
+ convertChildren: () => convertChildren,
56144
+ expandDotPaths: () => expandDotPaths,
56145
+ expandStylePaths: () => expandStylePaths,
56146
+ isJxMarkdown: () => isJxMarkdown,
56147
+ jxKey: () => jxKey,
56148
+ mdKey: () => mdKey,
56149
+ mdastNodeToJx: () => mdastNodeToJx,
56150
+ processMarkdown: () => processMarkdown,
56151
+ transpileJxMarkdown: () => transpileJxMarkdown
56047
56152
  });
56048
56153
  import { readFileSync } from "node:fs";
56049
56154
  import { basename as basename2, extname, relative, resolve as resolvePath2 } from "node:path";
@@ -56080,9 +56185,17 @@ function mdastToString(node2) {
56080
56185
  }
56081
56186
  return "";
56082
56187
  }
56188
+ function countWords(text6) {
56189
+ let words = 0;
56190
+ for (const { segment } of WORD_SEGMENTER.segment(text6)) {
56191
+ if (WORD_LIKE.test(segment)) {
56192
+ words += 1;
56193
+ }
56194
+ }
56195
+ return words;
56196
+ }
56083
56197
  function readingTime(text6) {
56084
- const words = text6.split(/\s+/).filter(Boolean).length;
56085
- return Math.max(1, Math.ceil(words / 200));
56198
+ return Math.max(1, Math.ceil(countWords(text6) / WORDS_PER_MINUTE));
56086
56199
  }
56087
56200
  function extractExcerpt(tree) {
56088
56201
  let firstParagraph = null;
@@ -56132,7 +56245,7 @@ function processMarkdown(source, filePath, config = {}) {
56132
56245
  $excerpt: excerpt,
56133
56246
  $readingTime: readingTime(plainText),
56134
56247
  $toc: toc,
56135
- $wordCount: plainText.split(/\s+/).filter(Boolean).length,
56248
+ $wordCount: countWords(plainText),
56136
56249
  frontmatter: frontmatter2,
56137
56250
  path: filePath,
56138
56251
  slug
@@ -56191,19 +56304,22 @@ class MarkdownCollection {
56191
56304
  return filtered;
56192
56305
  }
56193
56306
  }
56194
- var import_remark_parse_frontmatter2;
56307
+ var import_remark_parse_frontmatter2, WORDS_PER_MINUTE = 200, WORD_SEGMENTER, WORD_LIKE;
56195
56308
  var init_md = __esm(() => {
56196
56309
  init_unified();
56197
56310
  init_remark_parse();
56198
56311
  init_remark_frontmatter();
56199
56312
  init_remark_gfm();
56200
56313
  init_remark_directive();
56314
+ init_intl();
56201
56315
  init_index_min();
56202
56316
  init_transpile();
56203
56317
  init_highlight();
56204
56318
  init_markdown2();
56205
56319
  init_transpile();
56206
56320
  import_remark_parse_frontmatter2 = __toESM(require_dist2(), 1);
56321
+ WORD_SEGMENTER = new Intl.Segmenter(DEFAULT_FORMAT_LOCALE, { granularity: "word" });
56322
+ WORD_LIKE = /[\p{L}\p{N}]/u;
56207
56323
  });
56208
56324
 
56209
56325
  // src/markdown.ts
@@ -56233,7 +56349,7 @@ class Markdown {
56233
56349
  }
56234
56350
  static async load(path2, options = {}) {
56235
56351
  const { processMarkdown: processMarkdown2 } = await Promise.resolve().then(() => (init_md(), exports_md));
56236
- const { readFileSync: readFileSync2 } = await import("node:fs");
56352
+ const { readFileSync: readFileSync2, statSync } = await import("node:fs");
56237
56353
  const source = readFileSync2(path2, "utf8");
56238
56354
  const result = processMarkdown2(source, path2, {
56239
56355
  ...options.directives !== undefined && { directives: options.directives },
@@ -56243,6 +56359,9 @@ class Markdown {
56243
56359
  ...options.sourceRoot !== undefined && { sourceRoot: options.sourceRoot }
56244
56360
  });
56245
56361
  const _meta = {};
56362
+ try {
56363
+ _meta.mtime = statSync(path2).mtime.toISOString().replace(/\.\d{3}Z$/, "Z");
56364
+ } catch {}
56246
56365
  if (result.$excerpt != null) {
56247
56366
  _meta.excerpt = result.$excerpt;
56248
56367
  }