@slidev/cli 0.49.0-beta.4 → 0.49.0-beta.6

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.
@@ -2,18 +2,19 @@ import {
2
2
  loadSetups
3
3
  } from "./chunk-LOUKLO2C.mjs";
4
4
  import {
5
+ isInstalledGlobally,
5
6
  resolveImportPath,
6
7
  resolveImportUrl,
7
8
  toAtFS
8
- } from "./chunk-AQQIBD5X.mjs";
9
+ } from "./chunk-ALXAQLRA.mjs";
9
10
  import {
10
11
  __commonJS,
11
12
  __toESM
12
13
  } from "./chunk-BXO7ZPPU.mjs";
13
14
 
14
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/identity.js
15
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/identity.js
15
16
  var require_identity = __commonJS({
16
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/identity.js"(exports) {
17
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/identity.js"(exports) {
17
18
  "use strict";
18
19
  var ALIAS = Symbol.for("yaml.alias");
19
20
  var DOC = Symbol.for("yaml.document");
@@ -68,9 +69,9 @@ var require_identity = __commonJS({
68
69
  }
69
70
  });
70
71
 
71
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/visit.js
72
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/visit.js
72
73
  var require_visit = __commonJS({
73
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/visit.js"(exports) {
74
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/visit.js"(exports) {
74
75
  "use strict";
75
76
  var identity = require_identity();
76
77
  var BREAK = Symbol("break visit");
@@ -226,9 +227,9 @@ var require_visit = __commonJS({
226
227
  }
227
228
  });
228
229
 
229
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/directives.js
230
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/directives.js
230
231
  var require_directives = __commonJS({
231
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/directives.js"(exports) {
232
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/directives.js"(exports) {
232
233
  "use strict";
233
234
  var identity = require_identity();
234
235
  var visit = require_visit();
@@ -397,9 +398,9 @@ var require_directives = __commonJS({
397
398
  }
398
399
  });
399
400
 
400
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/anchors.js
401
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/anchors.js
401
402
  var require_anchors = __commonJS({
402
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/anchors.js"(exports) {
403
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/anchors.js"(exports) {
403
404
  "use strict";
404
405
  var identity = require_identity();
405
406
  var visit = require_visit();
@@ -468,9 +469,9 @@ var require_anchors = __commonJS({
468
469
  }
469
470
  });
470
471
 
471
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/applyReviver.js
472
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/applyReviver.js
472
473
  var require_applyReviver = __commonJS({
473
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
474
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
474
475
  "use strict";
475
476
  function applyReviver(reviver, obj, key, val) {
476
477
  if (val && typeof val === "object") {
@@ -518,9 +519,9 @@ var require_applyReviver = __commonJS({
518
519
  }
519
520
  });
520
521
 
521
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/toJS.js
522
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/toJS.js
522
523
  var require_toJS = __commonJS({
523
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/toJS.js"(exports) {
524
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/toJS.js"(exports) {
524
525
  "use strict";
525
526
  var identity = require_identity();
526
527
  function toJS(value, arg, ctx) {
@@ -548,9 +549,9 @@ var require_toJS = __commonJS({
548
549
  }
549
550
  });
550
551
 
551
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Node.js
552
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Node.js
552
553
  var require_Node = __commonJS({
553
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Node.js"(exports) {
554
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Node.js"(exports) {
554
555
  "use strict";
555
556
  var applyReviver = require_applyReviver();
556
557
  var identity = require_identity();
@@ -589,9 +590,9 @@ var require_Node = __commonJS({
589
590
  }
590
591
  });
591
592
 
592
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Alias.js
593
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Alias.js
593
594
  var require_Alias = __commonJS({
594
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Alias.js"(exports) {
595
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Alias.js"(exports) {
595
596
  "use strict";
596
597
  var anchors = require_anchors();
597
598
  var visit = require_visit();
@@ -691,9 +692,9 @@ var require_Alias = __commonJS({
691
692
  }
692
693
  });
693
694
 
694
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Scalar.js
695
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Scalar.js
695
696
  var require_Scalar = __commonJS({
696
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
697
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
697
698
  "use strict";
698
699
  var identity = require_identity();
699
700
  var Node = require_Node();
@@ -721,9 +722,9 @@ var require_Scalar = __commonJS({
721
722
  }
722
723
  });
723
724
 
724
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/createNode.js
725
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/createNode.js
725
726
  var require_createNode = __commonJS({
726
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/createNode.js"(exports) {
727
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/createNode.js"(exports) {
727
728
  "use strict";
728
729
  var Alias = require_Alias();
729
730
  var identity = require_identity();
@@ -797,9 +798,9 @@ var require_createNode = __commonJS({
797
798
  }
798
799
  });
799
800
 
800
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Collection.js
801
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Collection.js
801
802
  var require_Collection = __commonJS({
802
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Collection.js"(exports) {
803
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Collection.js"(exports) {
803
804
  "use strict";
804
805
  var createNode = require_createNode();
805
806
  var identity = require_identity();
@@ -941,9 +942,9 @@ var require_Collection = __commonJS({
941
942
  }
942
943
  });
943
944
 
944
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyComment.js
945
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyComment.js
945
946
  var require_stringifyComment = __commonJS({
946
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
947
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
947
948
  "use strict";
948
949
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
949
950
  function indentComment(comment, indent) {
@@ -958,9 +959,9 @@ var require_stringifyComment = __commonJS({
958
959
  }
959
960
  });
960
961
 
961
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/foldFlowLines.js
962
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/foldFlowLines.js
962
963
  var require_foldFlowLines = __commonJS({
963
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
964
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
964
965
  "use strict";
965
966
  var FOLD_FLOW = "flow";
966
967
  var FOLD_BLOCK = "block";
@@ -1092,9 +1093,9 @@ ${indent}${text.slice(fold + 1, end2)}`;
1092
1093
  }
1093
1094
  });
1094
1095
 
1095
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyString.js
1096
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyString.js
1096
1097
  var require_stringifyString = __commonJS({
1097
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
1098
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
1098
1099
  "use strict";
1099
1100
  var Scalar = require_Scalar();
1100
1101
  var foldFlowLines = require_foldFlowLines();
@@ -1367,9 +1368,9 @@ ${indent}`);
1367
1368
  }
1368
1369
  });
1369
1370
 
1370
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringify.js
1371
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringify.js
1371
1372
  var require_stringify = __commonJS({
1372
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringify.js"(exports) {
1373
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringify.js"(exports) {
1373
1374
  "use strict";
1374
1375
  var anchors = require_anchors();
1375
1376
  var identity = require_identity();
@@ -1486,9 +1487,9 @@ ${ctx.indent}${str}`;
1486
1487
  }
1487
1488
  });
1488
1489
 
1489
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyPair.js
1490
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyPair.js
1490
1491
  var require_stringifyPair = __commonJS({
1491
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
1492
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
1492
1493
  "use strict";
1493
1494
  var identity = require_identity();
1494
1495
  var Scalar = require_Scalar();
@@ -1619,9 +1620,9 @@ ${ctx.indent}`;
1619
1620
  }
1620
1621
  });
1621
1622
 
1622
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/log.js
1623
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/log.js
1623
1624
  var require_log = __commonJS({
1624
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/log.js"(exports) {
1625
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/log.js"(exports) {
1625
1626
  "use strict";
1626
1627
  function debug(logLevel, ...messages) {
1627
1628
  if (logLevel === "debug")
@@ -1640,9 +1641,9 @@ var require_log = __commonJS({
1640
1641
  }
1641
1642
  });
1642
1643
 
1643
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
1644
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/addPairToJSMap.js
1644
1645
  var require_addPairToJSMap = __commonJS({
1645
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
1646
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
1646
1647
  "use strict";
1647
1648
  var log = require_log();
1648
1649
  var stringify = require_stringify();
@@ -1734,9 +1735,9 @@ var require_addPairToJSMap = __commonJS({
1734
1735
  }
1735
1736
  });
1736
1737
 
1737
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Pair.js
1738
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Pair.js
1738
1739
  var require_Pair = __commonJS({
1739
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/Pair.js"(exports) {
1740
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/Pair.js"(exports) {
1740
1741
  "use strict";
1741
1742
  var createNode = require_createNode();
1742
1743
  var stringifyPair = require_stringifyPair();
@@ -1774,9 +1775,9 @@ var require_Pair = __commonJS({
1774
1775
  }
1775
1776
  });
1776
1777
 
1777
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyCollection.js
1778
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyCollection.js
1778
1779
  var require_stringifyCollection = __commonJS({
1779
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
1780
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
1780
1781
  "use strict";
1781
1782
  var identity = require_identity();
1782
1783
  var stringify = require_stringify();
@@ -1918,9 +1919,9 @@ ${indent}${end}`;
1918
1919
  }
1919
1920
  });
1920
1921
 
1921
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/YAMLMap.js
1922
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/YAMLMap.js
1922
1923
  var require_YAMLMap = __commonJS({
1923
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
1924
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
1924
1925
  "use strict";
1925
1926
  var stringifyCollection = require_stringifyCollection();
1926
1927
  var addPairToJSMap = require_addPairToJSMap();
@@ -2062,9 +2063,9 @@ var require_YAMLMap = __commonJS({
2062
2063
  }
2063
2064
  });
2064
2065
 
2065
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/map.js
2066
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/map.js
2066
2067
  var require_map = __commonJS({
2067
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/map.js"(exports) {
2068
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/map.js"(exports) {
2068
2069
  "use strict";
2069
2070
  var identity = require_identity();
2070
2071
  var YAMLMap = require_YAMLMap();
@@ -2084,9 +2085,9 @@ var require_map = __commonJS({
2084
2085
  }
2085
2086
  });
2086
2087
 
2087
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/YAMLSeq.js
2088
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/YAMLSeq.js
2088
2089
  var require_YAMLSeq = __commonJS({
2089
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
2090
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
2090
2091
  "use strict";
2091
2092
  var createNode = require_createNode();
2092
2093
  var stringifyCollection = require_stringifyCollection();
@@ -2200,9 +2201,9 @@ var require_YAMLSeq = __commonJS({
2200
2201
  }
2201
2202
  });
2202
2203
 
2203
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/seq.js
2204
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/seq.js
2204
2205
  var require_seq = __commonJS({
2205
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/seq.js"(exports) {
2206
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/seq.js"(exports) {
2206
2207
  "use strict";
2207
2208
  var identity = require_identity();
2208
2209
  var YAMLSeq = require_YAMLSeq();
@@ -2222,9 +2223,9 @@ var require_seq = __commonJS({
2222
2223
  }
2223
2224
  });
2224
2225
 
2225
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/string.js
2226
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/string.js
2226
2227
  var require_string = __commonJS({
2227
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/string.js"(exports) {
2228
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/string.js"(exports) {
2228
2229
  "use strict";
2229
2230
  var stringifyString = require_stringifyString();
2230
2231
  var string = {
@@ -2241,9 +2242,9 @@ var require_string = __commonJS({
2241
2242
  }
2242
2243
  });
2243
2244
 
2244
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/null.js
2245
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/null.js
2245
2246
  var require_null = __commonJS({
2246
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/common/null.js"(exports) {
2247
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/common/null.js"(exports) {
2247
2248
  "use strict";
2248
2249
  var Scalar = require_Scalar();
2249
2250
  var nullTag = {
@@ -2259,9 +2260,9 @@ var require_null = __commonJS({
2259
2260
  }
2260
2261
  });
2261
2262
 
2262
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/bool.js
2263
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/bool.js
2263
2264
  var require_bool = __commonJS({
2264
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/bool.js"(exports) {
2265
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/bool.js"(exports) {
2265
2266
  "use strict";
2266
2267
  var Scalar = require_Scalar();
2267
2268
  var boolTag = {
@@ -2283,9 +2284,9 @@ var require_bool = __commonJS({
2283
2284
  }
2284
2285
  });
2285
2286
 
2286
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyNumber.js
2287
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyNumber.js
2287
2288
  var require_stringifyNumber = __commonJS({
2288
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
2289
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
2289
2290
  "use strict";
2290
2291
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2291
2292
  if (typeof value === "bigint")
@@ -2310,9 +2311,9 @@ var require_stringifyNumber = __commonJS({
2310
2311
  }
2311
2312
  });
2312
2313
 
2313
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/float.js
2314
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/float.js
2314
2315
  var require_float = __commonJS({
2315
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/float.js"(exports) {
2316
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/float.js"(exports) {
2316
2317
  "use strict";
2317
2318
  var Scalar = require_Scalar();
2318
2319
  var stringifyNumber = require_stringifyNumber();
@@ -2356,9 +2357,9 @@ var require_float = __commonJS({
2356
2357
  }
2357
2358
  });
2358
2359
 
2359
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/int.js
2360
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/int.js
2360
2361
  var require_int = __commonJS({
2361
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/int.js"(exports) {
2362
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/int.js"(exports) {
2362
2363
  "use strict";
2363
2364
  var stringifyNumber = require_stringifyNumber();
2364
2365
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2401,9 +2402,9 @@ var require_int = __commonJS({
2401
2402
  }
2402
2403
  });
2403
2404
 
2404
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/schema.js
2405
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/schema.js
2405
2406
  var require_schema = __commonJS({
2406
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/core/schema.js"(exports) {
2407
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/core/schema.js"(exports) {
2407
2408
  "use strict";
2408
2409
  var map = require_map();
2409
2410
  var _null = require_null();
@@ -2429,9 +2430,9 @@ var require_schema = __commonJS({
2429
2430
  }
2430
2431
  });
2431
2432
 
2432
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/json/schema.js
2433
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/json/schema.js
2433
2434
  var require_schema2 = __commonJS({
2434
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/json/schema.js"(exports) {
2435
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/json/schema.js"(exports) {
2435
2436
  "use strict";
2436
2437
  var Scalar = require_Scalar();
2437
2438
  var map = require_map();
@@ -2496,9 +2497,9 @@ var require_schema2 = __commonJS({
2496
2497
  }
2497
2498
  });
2498
2499
 
2499
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2500
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2500
2501
  var require_binary = __commonJS({
2501
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
2502
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
2502
2503
  "use strict";
2503
2504
  var Scalar = require_Scalar();
2504
2505
  var stringifyString = require_stringifyString();
@@ -2560,9 +2561,9 @@ var require_binary = __commonJS({
2560
2561
  }
2561
2562
  });
2562
2563
 
2563
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2564
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2564
2565
  var require_pairs = __commonJS({
2565
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
2566
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
2566
2567
  "use strict";
2567
2568
  var identity = require_identity();
2568
2569
  var Pair = require_Pair();
@@ -2638,9 +2639,9 @@ ${cn.comment}` : item.comment;
2638
2639
  }
2639
2640
  });
2640
2641
 
2641
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2642
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2642
2643
  var require_omap = __commonJS({
2643
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
2644
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
2644
2645
  "use strict";
2645
2646
  var identity = require_identity();
2646
2647
  var toJS = require_toJS();
@@ -2716,9 +2717,9 @@ var require_omap = __commonJS({
2716
2717
  }
2717
2718
  });
2718
2719
 
2719
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2720
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2720
2721
  var require_bool2 = __commonJS({
2721
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
2722
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
2722
2723
  "use strict";
2723
2724
  var Scalar = require_Scalar();
2724
2725
  function boolStringify({ value, source }, ctx) {
@@ -2739,7 +2740,7 @@ var require_bool2 = __commonJS({
2739
2740
  identify: (value) => value === false,
2740
2741
  default: true,
2741
2742
  tag: "tag:yaml.org,2002:bool",
2742
- test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,
2743
+ test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
2743
2744
  resolve: () => new Scalar.Scalar(false),
2744
2745
  stringify: boolStringify
2745
2746
  };
@@ -2748,9 +2749,9 @@ var require_bool2 = __commonJS({
2748
2749
  }
2749
2750
  });
2750
2751
 
2751
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
2752
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/float.js
2752
2753
  var require_float2 = __commonJS({
2753
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
2754
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
2754
2755
  "use strict";
2755
2756
  var Scalar = require_Scalar();
2756
2757
  var stringifyNumber = require_stringifyNumber();
@@ -2797,9 +2798,9 @@ var require_float2 = __commonJS({
2797
2798
  }
2798
2799
  });
2799
2800
 
2800
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
2801
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/int.js
2801
2802
  var require_int2 = __commonJS({
2802
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
2803
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
2803
2804
  "use strict";
2804
2805
  var stringifyNumber = require_stringifyNumber();
2805
2806
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2876,9 +2877,9 @@ var require_int2 = __commonJS({
2876
2877
  }
2877
2878
  });
2878
2879
 
2879
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
2880
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/set.js
2880
2881
  var require_set = __commonJS({
2881
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
2882
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
2882
2883
  "use strict";
2883
2884
  var identity = require_identity();
2884
2885
  var Pair = require_Pair();
@@ -2965,9 +2966,9 @@ var require_set = __commonJS({
2965
2966
  }
2966
2967
  });
2967
2968
 
2968
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2969
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2969
2970
  var require_timestamp = __commonJS({
2970
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
2971
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
2971
2972
  "use strict";
2972
2973
  var stringifyNumber = require_stringifyNumber();
2973
2974
  function parseSexagesimal(str, asBigInt) {
@@ -3053,9 +3054,9 @@ var require_timestamp = __commonJS({
3053
3054
  }
3054
3055
  });
3055
3056
 
3056
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
3057
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js
3057
3058
  var require_schema3 = __commonJS({
3058
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
3059
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
3059
3060
  "use strict";
3060
3061
  var map = require_map();
3061
3062
  var _null = require_null();
@@ -3095,9 +3096,9 @@ var require_schema3 = __commonJS({
3095
3096
  }
3096
3097
  });
3097
3098
 
3098
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/tags.js
3099
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/tags.js
3099
3100
  var require_tags = __commonJS({
3100
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/tags.js"(exports) {
3101
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/tags.js"(exports) {
3101
3102
  "use strict";
3102
3103
  var map = require_map();
3103
3104
  var _null = require_null();
@@ -3178,9 +3179,9 @@ var require_tags = __commonJS({
3178
3179
  }
3179
3180
  });
3180
3181
 
3181
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/Schema.js
3182
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/Schema.js
3182
3183
  var require_Schema = __commonJS({
3183
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/schema/Schema.js"(exports) {
3184
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/schema/Schema.js"(exports) {
3184
3185
  "use strict";
3185
3186
  var identity = require_identity();
3186
3187
  var map = require_map();
@@ -3211,9 +3212,9 @@ var require_Schema = __commonJS({
3211
3212
  }
3212
3213
  });
3213
3214
 
3214
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyDocument.js
3215
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyDocument.js
3215
3216
  var require_stringifyDocument = __commonJS({
3216
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
3217
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
3217
3218
  "use strict";
3218
3219
  var identity = require_identity();
3219
3220
  var stringify = require_stringify();
@@ -3291,9 +3292,9 @@ var require_stringifyDocument = __commonJS({
3291
3292
  }
3292
3293
  });
3293
3294
 
3294
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/Document.js
3295
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/Document.js
3295
3296
  var require_Document = __commonJS({
3296
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/doc/Document.js"(exports) {
3297
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/doc/Document.js"(exports) {
3297
3298
  "use strict";
3298
3299
  var Alias = require_Alias();
3299
3300
  var Collection = require_Collection();
@@ -3599,9 +3600,9 @@ var require_Document = __commonJS({
3599
3600
  }
3600
3601
  });
3601
3602
 
3602
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/errors.js
3603
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/errors.js
3603
3604
  var require_errors = __commonJS({
3604
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/errors.js"(exports) {
3605
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/errors.js"(exports) {
3605
3606
  "use strict";
3606
3607
  var YAMLError = class extends Error {
3607
3608
  constructor(name, pos, code, message) {
@@ -3664,9 +3665,9 @@ ${pointer}
3664
3665
  }
3665
3666
  });
3666
3667
 
3667
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-props.js
3668
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-props.js
3668
3669
  var require_resolve_props = __commonJS({
3669
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
3670
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
3670
3671
  "use strict";
3671
3672
  function resolveProps(tokens, { flow, indicator, next, offset, onError, startOnNewline }) {
3672
3673
  let spaceBefore = false;
@@ -3788,9 +3789,9 @@ var require_resolve_props = __commonJS({
3788
3789
  }
3789
3790
  });
3790
3791
 
3791
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-contains-newline.js
3792
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-contains-newline.js
3792
3793
  var require_util_contains_newline = __commonJS({
3793
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
3794
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
3794
3795
  "use strict";
3795
3796
  function containsNewline(key) {
3796
3797
  if (!key)
@@ -3830,9 +3831,9 @@ var require_util_contains_newline = __commonJS({
3830
3831
  }
3831
3832
  });
3832
3833
 
3833
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
3834
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-flow-indent-check.js
3834
3835
  var require_util_flow_indent_check = __commonJS({
3835
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
3836
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
3836
3837
  "use strict";
3837
3838
  var utilContainsNewline = require_util_contains_newline();
3838
3839
  function flowIndentCheck(indent, fc, onError) {
@@ -3848,9 +3849,9 @@ var require_util_flow_indent_check = __commonJS({
3848
3849
  }
3849
3850
  });
3850
3851
 
3851
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-map-includes.js
3852
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-map-includes.js
3852
3853
  var require_util_map_includes = __commonJS({
3853
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
3854
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
3854
3855
  "use strict";
3855
3856
  var identity = require_identity();
3856
3857
  function mapIncludes(ctx, items, search) {
@@ -3864,9 +3865,9 @@ var require_util_map_includes = __commonJS({
3864
3865
  }
3865
3866
  });
3866
3867
 
3867
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-block-map.js
3868
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-block-map.js
3868
3869
  var require_resolve_block_map = __commonJS({
3869
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
3870
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
3870
3871
  "use strict";
3871
3872
  var Pair = require_Pair();
3872
3873
  var YAMLMap = require_YAMLMap();
@@ -3968,9 +3969,9 @@ var require_resolve_block_map = __commonJS({
3968
3969
  }
3969
3970
  });
3970
3971
 
3971
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-block-seq.js
3972
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-block-seq.js
3972
3973
  var require_resolve_block_seq = __commonJS({
3973
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
3974
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
3974
3975
  "use strict";
3975
3976
  var YAMLSeq = require_YAMLSeq();
3976
3977
  var resolveProps = require_resolve_props();
@@ -4016,9 +4017,9 @@ var require_resolve_block_seq = __commonJS({
4016
4017
  }
4017
4018
  });
4018
4019
 
4019
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-end.js
4020
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-end.js
4020
4021
  var require_resolve_end = __commonJS({
4021
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
4022
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
4022
4023
  "use strict";
4023
4024
  function resolveEnd(end, offset, reqSpace, onError) {
4024
4025
  let comment = "";
@@ -4059,9 +4060,9 @@ var require_resolve_end = __commonJS({
4059
4060
  }
4060
4061
  });
4061
4062
 
4062
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
4063
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-flow-collection.js
4063
4064
  var require_resolve_flow_collection = __commonJS({
4064
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
4065
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
4065
4066
  "use strict";
4066
4067
  var identity = require_identity();
4067
4068
  var Pair = require_Pair();
@@ -4246,9 +4247,9 @@ var require_resolve_flow_collection = __commonJS({
4246
4247
  }
4247
4248
  });
4248
4249
 
4249
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-collection.js
4250
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-collection.js
4250
4251
  var require_compose_collection = __commonJS({
4251
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
4252
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
4252
4253
  "use strict";
4253
4254
  var identity = require_identity();
4254
4255
  var Scalar = require_Scalar();
@@ -4302,9 +4303,9 @@ var require_compose_collection = __commonJS({
4302
4303
  }
4303
4304
  });
4304
4305
 
4305
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
4306
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-block-scalar.js
4306
4307
  var require_resolve_block_scalar = __commonJS({
4307
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
4308
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
4308
4309
  "use strict";
4309
4310
  var Scalar = require_Scalar();
4310
4311
  function resolveBlockScalar(scalar, strict, onError) {
@@ -4479,9 +4480,9 @@ var require_resolve_block_scalar = __commonJS({
4479
4480
  }
4480
4481
  });
4481
4482
 
4482
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4483
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4483
4484
  var require_resolve_flow_scalar = __commonJS({
4484
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
4485
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
4485
4486
  "use strict";
4486
4487
  var Scalar = require_Scalar();
4487
4488
  var resolveEnd = require_resolve_end();
@@ -4696,9 +4697,9 @@ var require_resolve_flow_scalar = __commonJS({
4696
4697
  }
4697
4698
  });
4698
4699
 
4699
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-scalar.js
4700
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-scalar.js
4700
4701
  var require_compose_scalar = __commonJS({
4701
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
4702
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
4702
4703
  "use strict";
4703
4704
  var identity = require_identity();
4704
4705
  var Scalar = require_Scalar();
@@ -4769,9 +4770,9 @@ var require_compose_scalar = __commonJS({
4769
4770
  }
4770
4771
  });
4771
4772
 
4772
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4773
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4773
4774
  var require_util_empty_scalar_position = __commonJS({
4774
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
4775
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
4775
4776
  "use strict";
4776
4777
  function emptyScalarPosition(offset, before, pos) {
4777
4778
  if (before) {
@@ -4800,9 +4801,9 @@ var require_util_empty_scalar_position = __commonJS({
4800
4801
  }
4801
4802
  });
4802
4803
 
4803
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-node.js
4804
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-node.js
4804
4805
  var require_compose_node = __commonJS({
4805
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-node.js"(exports) {
4806
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-node.js"(exports) {
4806
4807
  "use strict";
4807
4808
  var Alias = require_Alias();
4808
4809
  var composeCollection = require_compose_collection();
@@ -4895,9 +4896,9 @@ var require_compose_node = __commonJS({
4895
4896
  }
4896
4897
  });
4897
4898
 
4898
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-doc.js
4899
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-doc.js
4899
4900
  var require_compose_doc = __commonJS({
4900
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
4901
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
4901
4902
  "use strict";
4902
4903
  var Document = require_Document();
4903
4904
  var composeNode = require_compose_node();
@@ -4936,9 +4937,9 @@ var require_compose_doc = __commonJS({
4936
4937
  }
4937
4938
  });
4938
4939
 
4939
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/composer.js
4940
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/composer.js
4940
4941
  var require_composer = __commonJS({
4941
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/compose/composer.js"(exports) {
4942
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/compose/composer.js"(exports) {
4942
4943
  "use strict";
4943
4944
  var directives = require_directives();
4944
4945
  var Document = require_Document();
@@ -5141,9 +5142,9 @@ ${end.comment}` : end.comment;
5141
5142
  }
5142
5143
  });
5143
5144
 
5144
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst-scalar.js
5145
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst-scalar.js
5145
5146
  var require_cst_scalar = __commonJS({
5146
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
5147
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
5147
5148
  "use strict";
5148
5149
  var resolveBlockScalar = require_resolve_block_scalar();
5149
5150
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5326,9 +5327,9 @@ var require_cst_scalar = __commonJS({
5326
5327
  }
5327
5328
  });
5328
5329
 
5329
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst-stringify.js
5330
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst-stringify.js
5330
5331
  var require_cst_stringify = __commonJS({
5331
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
5332
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
5332
5333
  "use strict";
5333
5334
  var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
5334
5335
  function stringifyToken(token) {
@@ -5387,9 +5388,9 @@ var require_cst_stringify = __commonJS({
5387
5388
  }
5388
5389
  });
5389
5390
 
5390
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst-visit.js
5391
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst-visit.js
5391
5392
  var require_cst_visit = __commonJS({
5392
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
5393
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
5393
5394
  "use strict";
5394
5395
  var BREAK = Symbol("break visit");
5395
5396
  var SKIP = Symbol("skip children");
@@ -5449,9 +5450,9 @@ var require_cst_visit = __commonJS({
5449
5450
  }
5450
5451
  });
5451
5452
 
5452
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst.js
5453
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst.js
5453
5454
  var require_cst = __commonJS({
5454
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/cst.js"(exports) {
5455
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/cst.js"(exports) {
5455
5456
  "use strict";
5456
5457
  var cstScalar = require_cst_scalar();
5457
5458
  var cstStringify = require_cst_stringify();
@@ -5551,9 +5552,9 @@ var require_cst = __commonJS({
5551
5552
  }
5552
5553
  });
5553
5554
 
5554
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/lexer.js
5555
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/lexer.js
5555
5556
  var require_lexer = __commonJS({
5556
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/lexer.js"(exports) {
5557
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/lexer.js"(exports) {
5557
5558
  "use strict";
5558
5559
  var cst = require_cst();
5559
5560
  function isEmpty(ch) {
@@ -6114,9 +6115,9 @@ var require_lexer = __commonJS({
6114
6115
  }
6115
6116
  });
6116
6117
 
6117
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/line-counter.js
6118
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/line-counter.js
6118
6119
  var require_line_counter = __commonJS({
6119
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/line-counter.js"(exports) {
6120
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/line-counter.js"(exports) {
6120
6121
  "use strict";
6121
6122
  var LineCounter = class {
6122
6123
  constructor() {
@@ -6145,9 +6146,9 @@ var require_line_counter = __commonJS({
6145
6146
  }
6146
6147
  });
6147
6148
 
6148
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/parser.js
6149
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/parser.js
6149
6150
  var require_parser = __commonJS({
6150
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/parse/parser.js"(exports) {
6151
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/parse/parser.js"(exports) {
6151
6152
  "use strict";
6152
6153
  var cst = require_cst();
6153
6154
  var lexer = require_lexer();
@@ -6995,9 +6996,9 @@ var require_parser = __commonJS({
6995
6996
  }
6996
6997
  });
6997
6998
 
6998
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/public-api.js
6999
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/public-api.js
6999
7000
  var require_public_api = __commonJS({
7000
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/public-api.js"(exports) {
7001
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/public-api.js"(exports) {
7001
7002
  "use strict";
7002
7003
  var composer = require_composer();
7003
7004
  var Document = require_Document();
@@ -7089,9 +7090,9 @@ var require_public_api = __commonJS({
7089
7090
  }
7090
7091
  });
7091
7092
 
7092
- // ../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/index.js
7093
+ // ../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/index.js
7093
7094
  var require_dist = __commonJS({
7094
- "../../node_modules/.pnpm/yaml@2.4.1/node_modules/yaml/dist/index.js"(exports) {
7095
+ "../../node_modules/.pnpm/yaml@2.4.2/node_modules/yaml/dist/index.js"(exports) {
7095
7096
  "use strict";
7096
7097
  var composer = require_composer();
7097
7098
  var Document = require_Document();
@@ -7238,7 +7239,7 @@ async function mergeViteConfigs({ roots, entry }, viteConfig, config, command) {
7238
7239
  import { join as join8 } from "node:path";
7239
7240
  import { existsSync as existsSync5 } from "node:fs";
7240
7241
  import process2 from "node:process";
7241
- import { fileURLToPath } from "node:url";
7242
+ import { fileURLToPath as fileURLToPath2 } from "node:url";
7242
7243
  import Icons from "unplugin-icons/vite";
7243
7244
  import IconsResolver from "unplugin-icons/resolver";
7244
7245
  import Components from "unplugin-vue-components/vite";
@@ -7298,80 +7299,74 @@ ${value}
7298
7299
 
7299
7300
  // node/vite/extendConfig.ts
7300
7301
  import { join as join3 } from "node:path";
7302
+ import { fileURLToPath, pathToFileURL } from "node:url";
7301
7303
  import { mergeConfig as mergeConfig2 } from "vite";
7302
- import isInstalledGlobally from "is-installed-globally";
7303
- import { uniq } from "@antfu/utils";
7304
-
7305
- // ../client/package.json
7306
- var dependencies = {
7307
- "@antfu/utils": "^0.7.7",
7308
- "@iconify-json/carbon": "^1.1.31",
7309
- "@iconify-json/ph": "^1.1.12",
7310
- "@iconify-json/svg-spinners": "^1.1.2",
7311
- "@shikijs/monaco": "^1.3.0",
7312
- "@shikijs/vitepress-twoslash": "^1.3.0",
7313
- "@slidev/parser": "workspace:*",
7314
- "@slidev/rough-notation": "^0.1.0",
7315
- "@slidev/types": "workspace:*",
7316
- "@typescript/ata": "^0.9.4",
7317
- "@unhead/vue": "^1.9.5",
7318
- "@unocss/reset": "^0.59.3",
7319
- "@vueuse/core": "^10.9.0",
7320
- "@vueuse/math": "^10.9.0",
7321
- "@vueuse/motion": "^2.1.0",
7322
- codemirror: "^5.65.16",
7323
- drauu: "^0.4.0",
7324
- "file-saver": "^2.0.5",
7325
- "floating-vue": "^5.2.2",
7326
- "fuse.js": "^7.0.0",
7327
- katex: "^0.16.10",
7328
- "lz-string": "^1.5.0",
7329
- mermaid: "^10.9.0",
7330
- "monaco-editor": "^0.47.0",
7331
- prettier: "^3.2.5",
7332
- recordrtc: "^5.6.2",
7333
- shiki: "^1.3.0",
7334
- "shiki-magic-move": "^0.3.6",
7335
- typescript: "^5.4.5",
7336
- unocss: "^0.59.3",
7337
- vue: "^3.4.22",
7338
- "vue-demi": "^0.14.7",
7339
- "vue-router": "^4.3.0",
7340
- yaml: "^2.4.1"
7341
- };
7342
-
7343
- // node/vite/extendConfig.ts
7344
- var INCLUDE = [
7345
- ...Object.keys(dependencies),
7346
- // CodeMirror
7304
+ import { slash, uniq } from "@antfu/utils";
7305
+ import { createResolve } from "mlly";
7306
+ var INCLUDE_GLOBAL = [
7307
+ "@shikijs/monaco",
7308
+ "@shikijs/vitepress-twoslash/client",
7309
+ "@slidev/rough-notation",
7310
+ "@typescript/ata",
7311
+ "@unhead/vue",
7312
+ "drauu",
7313
+ "file-saver",
7314
+ "floating-vue",
7315
+ "fuse.js",
7316
+ "lz-string",
7317
+ "prettier",
7318
+ "recordrtc",
7319
+ "typescript",
7320
+ "vue-router",
7321
+ "yaml",
7322
+ "shiki-magic-move/vue"
7323
+ ];
7324
+ var INCLUDE_LOCAL = [
7325
+ ...INCLUDE_GLOBAL,
7326
+ "codemirror",
7347
7327
  "codemirror/mode/javascript/javascript",
7348
7328
  "codemirror/mode/css/css",
7349
7329
  "codemirror/mode/markdown/markdown",
7350
7330
  "codemirror/mode/xml/xml",
7351
7331
  "codemirror/mode/htmlmixed/htmlmixed",
7352
7332
  "codemirror/addon/display/placeholder",
7353
- // Monaco
7354
- "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices",
7333
+ "monaco-editor",
7355
7334
  "monaco-editor/esm/vs/platform/contextview/browser/contextViewService",
7356
7335
  "monaco-editor/esm/vs/platform/instantiation/common/descriptors",
7357
- // Others
7358
- "shiki-magic-move/vue"
7359
- ];
7360
- var EXCLUDE = [
7361
- "@slidev/shared",
7336
+ "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices"
7337
+ ].map((i) => `@slidev/cli > @slidev/client > ${i}`);
7338
+ var EXCLUDE_GLOBAL = [
7362
7339
  "@slidev/types",
7363
7340
  "@slidev/client",
7364
7341
  "@slidev/client/constants",
7365
7342
  "@slidev/client/logic/dark",
7343
+ "@antfu/utils",
7366
7344
  "@vueuse/core",
7367
7345
  "@vueuse/math",
7368
7346
  "@vueuse/shared",
7347
+ "@vueuse/motion",
7369
7348
  "@unocss/reset",
7370
- "unocss",
7371
7349
  "mermaid",
7372
7350
  "vue-demi",
7373
- "vue",
7374
- "shiki"
7351
+ "vue"
7352
+ ];
7353
+ var EXCLUDE_LOCAL = [
7354
+ ...EXCLUDE_GLOBAL,
7355
+ ...[
7356
+ "@slidev/client",
7357
+ "@slidev/client/constants",
7358
+ "@slidev/client/logic/dark",
7359
+ "@slidev/client > @antfu/utils",
7360
+ "@slidev/client > @slidev/types",
7361
+ "@slidev/client > @vueuse/core",
7362
+ "@slidev/client > @vueuse/math",
7363
+ "@slidev/client > @vueuse/shared",
7364
+ "@slidev/client > @vueuse/motion",
7365
+ "@slidev/client > @unocss/reset",
7366
+ "@slidev/client > mermaid",
7367
+ "@slidev/client > vue-demi",
7368
+ "@slidev/client > vue"
7369
+ ].map((i) => `@slidev/cli > ${i}`)
7375
7370
  ];
7376
7371
  var ASYNC_MODULES = [
7377
7372
  "file-saver",
@@ -7379,6 +7374,11 @@ var ASYNC_MODULES = [
7379
7374
  "@vue"
7380
7375
  ];
7381
7376
  function createConfigPlugin(options) {
7377
+ const resolveClientDep = createResolve({
7378
+ // Same as Vite's default resolve conditions
7379
+ conditions: ["import", "module", "browser", "default", options.mode === "build" ? "production" : "development"],
7380
+ url: pathToFileURL(options.clientRoot)
7381
+ });
7382
7382
  return {
7383
7383
  name: "slidev:config",
7384
7384
  async config(config) {
@@ -7401,13 +7401,21 @@ function createConfigPlugin(options) {
7401
7401
  {
7402
7402
  find: "vue",
7403
7403
  replacement: await resolveImportPath("vue/dist/vue.esm-bundler.js", true)
7404
- }
7404
+ },
7405
+ ...isInstalledGlobally.value ? await Promise.all(INCLUDE_GLOBAL.map(async (dep) => ({
7406
+ find: dep,
7407
+ replacement: fileURLToPath(await resolveClientDep(dep))
7408
+ }))) : []
7405
7409
  ],
7406
7410
  dedupe: ["vue"]
7407
7411
  },
7408
- optimizeDeps: {
7409
- exclude: EXCLUDE,
7410
- include: INCLUDE.filter((i) => !EXCLUDE.includes(i)).map((i) => `@slidev/cli > @slidev/client > ${i}`)
7412
+ optimizeDeps: isInstalledGlobally.value ? {
7413
+ exclude: EXCLUDE_GLOBAL,
7414
+ include: INCLUDE_GLOBAL
7415
+ } : {
7416
+ // We need to specify the full deps path for non-hoisted modules
7417
+ exclude: EXCLUDE_LOCAL,
7418
+ include: INCLUDE_LOCAL
7411
7419
  },
7412
7420
  css: options.data.config.css === "unocss" ? {
7413
7421
  postcss: {
@@ -7421,8 +7429,9 @@ function createConfigPlugin(options) {
7421
7429
  strict: true,
7422
7430
  allow: uniq([
7423
7431
  options.userWorkspaceRoot,
7424
- options.cliRoot,
7425
7432
  options.clientRoot,
7433
+ // Special case for PNPM global installation
7434
+ isInstalledGlobally.value ? slash(options.cliRoot).replace(/\/\.pnpm\/.*$/ig, "") : options.cliRoot,
7426
7435
  ...options.roots
7427
7436
  ])
7428
7437
  }
@@ -7459,7 +7468,7 @@ function createConfigPlugin(options) {
7459
7468
  function isSlidevClient(id) {
7460
7469
  return id.includes("/@slidev/") || id.includes("/slidev/packages/client/") || id.includes("/@vueuse/");
7461
7470
  }
7462
- if (isInstalledGlobally) {
7471
+ if (isInstalledGlobally.value) {
7463
7472
  injection.cacheDir = join3(options.cliRoot, "node_modules/.vite");
7464
7473
  injection.root = options.cliRoot;
7465
7474
  }
@@ -7500,7 +7509,6 @@ import { isString as isString2, isTruthy, notNullish, range } from "@antfu/utils
7500
7509
  import fg3 from "fast-glob";
7501
7510
  import Markdown from "markdown-it";
7502
7511
  import { bold, gray, red, yellow } from "kolorist";
7503
- import mila from "markdown-it-link-attributes";
7504
7512
  import * as parser from "@slidev/parser/fs";
7505
7513
  import equal from "fast-deep-equal";
7506
7514
 
@@ -7952,6 +7960,30 @@ var templates = [
7952
7960
  templateLegacyTitles
7953
7961
  ];
7954
7962
 
7963
+ // node/syntax/markdown-it/markdown-it-link.ts
7964
+ function markdownItLink(md2) {
7965
+ const defaultRender = md2.renderer.rules.link_open ?? ((tokens, idx, options, _env, self) => self.renderToken(tokens, idx, options));
7966
+ md2.renderer.rules.link_open = function(tokens, idx, options, env, self) {
7967
+ const token = tokens[idx];
7968
+ const hrefIndex = token.attrIndex("href");
7969
+ const attr = token.attrs?.[hrefIndex];
7970
+ const href = attr?.[1] ?? "";
7971
+ if ("./#".includes(href[0]) || /^\d+$/.test(href)) {
7972
+ token.tag = "Link";
7973
+ attr[0] = "to";
7974
+ for (let i = idx + 1; i < tokens.length; i++) {
7975
+ if (tokens[i].type === "link_close") {
7976
+ tokens[i].tag = "Link";
7977
+ break;
7978
+ }
7979
+ }
7980
+ } else if (token.attrGet("target") == null) {
7981
+ token.attrPush(["target", "_blank"]);
7982
+ }
7983
+ return defaultRender(tokens, idx, options, env, self);
7984
+ };
7985
+ }
7986
+
7955
7987
  // node/vite/loaders.ts
7956
7988
  var regexId = /^\/\@slidev\/slide\/(\d+)\.(md|json)(?:\?import)?$/;
7957
7989
  var regexIdQuery = /(\d+?)\.(md|json|frontmatter)$/;
@@ -7977,12 +8009,7 @@ function getBodyJson(req) {
7977
8009
  });
7978
8010
  }
7979
8011
  var md = Markdown({ html: true });
7980
- md.use(mila, {
7981
- attrs: {
7982
- target: "_blank",
7983
- rel: "noopener"
7984
- }
7985
- });
8012
+ md.use(markdownItLink);
7986
8013
  function renderNote(text = "") {
7987
8014
  let clickCount = 0;
7988
8015
  const html = md.render(
@@ -8417,7 +8444,7 @@ ${code}`;
8417
8444
 
8418
8445
  // node/vite/markdown.ts
8419
8446
  import Markdown2 from "unplugin-vue-markdown/vite";
8420
- import { isTruthy as isTruthy2, slash as slash2 } from "@antfu/utils";
8447
+ import { isTruthy as isTruthy2, slash as slash3 } from "@antfu/utils";
8421
8448
 
8422
8449
  // ../../node_modules/.pnpm/@hedgedoc+markdown-it-plugins@2.1.4_patch_hash=tuyuxytl56b2vxulpkzt2wf4o4_markdown-it@14.1.0/node_modules/@hedgedoc/markdown-it-plugins/dist/esm/image-size/specialCharacters.js
8423
8450
  var SpecialCharacters;
@@ -8547,7 +8574,6 @@ function startsWithTodoMarkdown(token) {
8547
8574
  // node/vite/markdown.ts
8548
8575
  import MarkdownItMdc from "markdown-it-mdc";
8549
8576
  import MagicString from "magic-string-stack";
8550
- import MarkdownItAttrs from "markdown-it-link-attributes";
8551
8577
  import MarkdownItFootnote from "markdown-it-footnote";
8552
8578
 
8553
8579
  // node/syntax/markdown-it/markdown-it-katex.ts
@@ -8871,7 +8897,7 @@ function markdownItVDrag(md2, markdownTransformMap) {
8871
8897
  }
8872
8898
 
8873
8899
  // node/syntax/transform/code-wrapper.ts
8874
- var reCodeBlock = /^```([\w'-]+?)(?:\s*{([\d\w*,\|-]+)}\s*?({.*?})?(.*?))?\n([\s\S]+?)^```$/mg;
8900
+ var reCodeBlock = /^```([\w'-]+?)(?:\s*{([\d\w*,\|-]+)}\s*?({.*?})?(.*?))?\r?\n([\s\S]+?)^```$/mg;
8875
8901
  function transformCodeWrapper(ctx) {
8876
8902
  ctx.s.replace(
8877
8903
  reCodeBlock,
@@ -8944,7 +8970,7 @@ function transformPlantUml(ctx) {
8944
8970
  // node/syntax/transform/snippet.ts
8945
8971
  import path2 from "node:path";
8946
8972
  import fs4 from "fs-extra";
8947
- import { slash } from "@antfu/utils";
8973
+ import { slash as slash2 } from "@antfu/utils";
8948
8974
  function dedent(text) {
8949
8975
  const lines = text.split("\n");
8950
8976
  const minIndentLength = lines.reduce((acc, line) => {
@@ -9008,7 +9034,7 @@ function transformSnippet(ctx) {
9008
9034
  /^<<< *(.+?)(#[\w-]+)? *(?: (\S+?))? *(\{.*)?$/mg,
9009
9035
  (full, filepath = "", regionName = "", lang = "", meta = "") => {
9010
9036
  const firstLine = `\`\`\`${lang || path2.extname(filepath).slice(1)} ${meta}`;
9011
- const src = slash(
9037
+ const src = slash2(
9012
9038
  /^\@[\/]/.test(filepath) ? path2.resolve(options.userRoot, filepath.slice(2)) : path2.resolve(dir, filepath)
9013
9039
  );
9014
9040
  data.watchFiles.push(src);
@@ -9143,7 +9169,7 @@ $$
9143
9169
  async function createMarkdownPlugin(options, { markdown: mdOptions }) {
9144
9170
  const { data: { config }, roots, mode, entry, clientRoot } = options;
9145
9171
  const setups = [];
9146
- const entryPath = slash2(entry);
9172
+ const entryPath = slash3(entry);
9147
9173
  let shiki;
9148
9174
  let shikiOptions;
9149
9175
  if (config.highlighter === "shiki") {
@@ -9174,12 +9200,7 @@ async function createMarkdownPlugin(options, { markdown: mdOptions }) {
9174
9200
  },
9175
9201
  ...mdOptions,
9176
9202
  markdownItSetup(md2) {
9177
- md2.use(MarkdownItAttrs, {
9178
- attrs: {
9179
- target: "_blank",
9180
- rel: "noopener"
9181
- }
9182
- });
9203
+ md2.use(markdownItLink);
9183
9204
  md2.use(MarkdownItEscapeInlineCode);
9184
9205
  md2.use(MarkdownItFootnote);
9185
9206
  md2.use(taskLists, { enabled: true, lineNumber: true, label: true });
@@ -9306,7 +9327,7 @@ function createVueCompilerFlagsPlugin(options) {
9306
9327
  // node/vite/monacoTypes.ts
9307
9328
  import fs5 from "node:fs/promises";
9308
9329
  import { dirname as dirname2, resolve as resolve4 } from "node:path";
9309
- import { slash as slash3 } from "@antfu/utils";
9330
+ import { slash as slash4 } from "@antfu/utils";
9310
9331
  import fg4 from "fast-glob";
9311
9332
  import { findDepPkgJsonPath } from "vitefu";
9312
9333
  function createMonacoTypesLoader({ userRoot }) {
@@ -9333,8 +9354,8 @@ function createMonacoTypesLoader({ userRoot }) {
9333
9354
  const pkgJson = JSON.parse(await fs5.readFile(pkgJsonPath, "utf-8"));
9334
9355
  const deps = pkgJson.dependencies ?? {};
9335
9356
  return [
9336
- `import "/@slidev-monaco-types/load?root=${slash3(root)}&name=${pkgJson.name}"`,
9337
- ...Object.keys(deps).map((dep) => `import "/@slidev-monaco-types/resolve?pkg=${dep}&importer=${slash3(root)}"`)
9357
+ `import "/@slidev-monaco-types/load?root=${slash4(root)}&name=${pkgJson.name}"`,
9358
+ ...Object.keys(deps).map((dep) => `import "/@slidev-monaco-types/resolve?pkg=${dep}&importer=${slash4(root)}"`)
9338
9359
  ].join("\n");
9339
9360
  }
9340
9361
  const matchLoad = id.match(/^\/\@slidev-monaco-types\/load\?root=(.*?)&name=(.*)$/);
@@ -9465,7 +9486,7 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
9465
9486
  }),
9466
9487
  Icons({
9467
9488
  defaultClass: "slidev-icon",
9468
- collectionsNodeResolvePath: fileURLToPath(import.meta.url),
9489
+ collectionsNodeResolvePath: fileURLToPath2(import.meta.url),
9469
9490
  ...iconsOptions
9470
9491
  }),
9471
9492
  config.remoteAssets === true || config.remoteAssets === mode ? import("vite-plugin-remote-assets").then((r) => r.VitePluginRemoteAssets({