@lalalic/markcut 3.2.55 → 3.2.57
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/package.json +1 -1
- package/skills/markcut/SKILL.md +2 -1
- package/skills/markcut/docs/map-dynamic-camera.md +20 -0
- package/src/descriptive/compiler.ts +3 -0
- package/src/descriptive/dsl.ts +5 -0
- package/src/descriptive/markdown.ts +2 -1
- package/src/mcp/bridge.mjs +16 -11
- package/src/mcp/mobile-review-cli.mjs +4 -9
- package/src/mcp/preview.mjs +5 -1
- package/src/mcp/remotion-app.bundle.js +394 -395
- package/src/mcp/review-delivery.mjs +5 -7
- package/src/mcp/server.mjs +12 -6
- package/src/player/pipeline.mjs +83 -76
- package/src/render/cli.mjs +13 -3
- package/src/render/google-map-health.mjs +10 -0
- package/src/schema/index.ts +5 -0
- package/src/types/Map.tsx +28 -37
- package/src/utils/route-legs.ts +47 -8
- package/tests/google-map-dsl-validity.test.ts +13 -0
- package/tests/map-route-animation-dsl.test.ts +9 -0
- package/tests/mcp-preview-bridge.test.ts +23 -6
- package/tests/mcp-preview-delivery.test.ts +5 -7
- package/tests/mcp-preview.test.ts +6 -0
- package/tests/mobile-preview-cli.test.ts +4 -4
- package/tests/render-native-google-map.test.ts +39 -0
- package/tests/route-legs.test.ts +34 -0
package/src/player/pipeline.mjs
CHANGED
|
@@ -357,6 +357,7 @@ function compileLeaf(node2, ctx, parentKind) {
|
|
|
357
357
|
region: node2.region,
|
|
358
358
|
travelMode: node2.travelMode ?? "DRIVING",
|
|
359
359
|
routeMarker: node2.routeMarker ?? "\u{1F697}",
|
|
360
|
+
routeAnimation: node2.routeAnimation,
|
|
360
361
|
camera: node2.camera,
|
|
361
362
|
cinematic: node2.cinematic,
|
|
362
363
|
streetView: node2.streetView,
|
|
@@ -558,6 +559,7 @@ function compileMap(node2, ctx, parentKind) {
|
|
|
558
559
|
region: node2.region,
|
|
559
560
|
travelMode: node2.travelMode ?? "DRIVING",
|
|
560
561
|
routeMarker: node2.routeMarker ?? "\u{1F697}",
|
|
562
|
+
routeAnimation: node2.routeAnimation,
|
|
561
563
|
camera: node2.camera,
|
|
562
564
|
cinematic: node2.cinematic,
|
|
563
565
|
streetView: node2.streetView,
|
|
@@ -890,9 +892,9 @@ var init_compiler = __esm({
|
|
|
890
892
|
}
|
|
891
893
|
});
|
|
892
894
|
|
|
893
|
-
// node_modules/extend/index.js
|
|
895
|
+
// ../../../markcut/node_modules/extend/index.js
|
|
894
896
|
var require_extend = __commonJS({
|
|
895
|
-
"node_modules/extend/index.js"(exports, module) {
|
|
897
|
+
"../../../markcut/node_modules/extend/index.js"(exports, module) {
|
|
896
898
|
"use strict";
|
|
897
899
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
898
900
|
var toStr = Object.prototype.toString;
|
|
@@ -981,9 +983,9 @@ var require_extend = __commonJS({
|
|
|
981
983
|
}
|
|
982
984
|
});
|
|
983
985
|
|
|
984
|
-
// node_modules/format/format.js
|
|
986
|
+
// ../../../markcut/node_modules/format/format.js
|
|
985
987
|
var require_format = __commonJS({
|
|
986
|
-
"node_modules/format/format.js"(exports, module) {
|
|
988
|
+
"../../../markcut/node_modules/format/format.js"(exports, module) {
|
|
987
989
|
(function() {
|
|
988
990
|
var namespace;
|
|
989
991
|
if (typeof module !== "undefined") {
|
|
@@ -1374,21 +1376,21 @@ function generateTTV(prompt, outputPath, cli, ttiCmd, seed) {
|
|
|
1374
1376
|
init_utils();
|
|
1375
1377
|
init_compiler();
|
|
1376
1378
|
|
|
1377
|
-
// node_modules/bail/index.js
|
|
1379
|
+
// ../../../markcut/node_modules/bail/index.js
|
|
1378
1380
|
function bail(error) {
|
|
1379
1381
|
if (error) {
|
|
1380
1382
|
throw error;
|
|
1381
1383
|
}
|
|
1382
1384
|
}
|
|
1383
1385
|
|
|
1384
|
-
// node_modules/unified/lib/index.js
|
|
1386
|
+
// ../../../markcut/node_modules/unified/lib/index.js
|
|
1385
1387
|
var import_extend = __toESM(require_extend(), 1);
|
|
1386
1388
|
|
|
1387
|
-
// node_modules/devlop/lib/default.js
|
|
1389
|
+
// ../../../markcut/node_modules/devlop/lib/default.js
|
|
1388
1390
|
function ok() {
|
|
1389
1391
|
}
|
|
1390
1392
|
|
|
1391
|
-
// node_modules/is-plain-obj/index.js
|
|
1393
|
+
// ../../../markcut/node_modules/is-plain-obj/index.js
|
|
1392
1394
|
function isPlainObject(value2) {
|
|
1393
1395
|
if (typeof value2 !== "object" || value2 === null) {
|
|
1394
1396
|
return false;
|
|
@@ -1397,7 +1399,7 @@ function isPlainObject(value2) {
|
|
|
1397
1399
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value2) && !(Symbol.iterator in value2);
|
|
1398
1400
|
}
|
|
1399
1401
|
|
|
1400
|
-
// node_modules/trough/lib/index.js
|
|
1402
|
+
// ../../../markcut/node_modules/trough/lib/index.js
|
|
1401
1403
|
function trough() {
|
|
1402
1404
|
const fns = [];
|
|
1403
1405
|
const pipeline = { run, use };
|
|
@@ -1481,7 +1483,7 @@ function wrap(middleware, callback) {
|
|
|
1481
1483
|
}
|
|
1482
1484
|
}
|
|
1483
1485
|
|
|
1484
|
-
// node_modules/unist-util-stringify-position/lib/index.js
|
|
1486
|
+
// ../../../markcut/node_modules/unist-util-stringify-position/lib/index.js
|
|
1485
1487
|
function stringifyPosition(value2) {
|
|
1486
1488
|
if (!value2 || typeof value2 !== "object") {
|
|
1487
1489
|
return "";
|
|
@@ -1507,7 +1509,7 @@ function index(value2) {
|
|
|
1507
1509
|
return value2 && typeof value2 === "number" ? value2 : 1;
|
|
1508
1510
|
}
|
|
1509
1511
|
|
|
1510
|
-
// node_modules/vfile-message/lib/index.js
|
|
1512
|
+
// ../../../markcut/node_modules/vfile-message/lib/index.js
|
|
1511
1513
|
var VFileMessage = class extends Error {
|
|
1512
1514
|
/**
|
|
1513
1515
|
* Create a message for `reason`.
|
|
@@ -1643,16 +1645,16 @@ VFileMessage.prototype.place = void 0;
|
|
|
1643
1645
|
VFileMessage.prototype.ruleId = void 0;
|
|
1644
1646
|
VFileMessage.prototype.source = void 0;
|
|
1645
1647
|
|
|
1646
|
-
// node_modules/vfile/lib/minpath.js
|
|
1648
|
+
// ../../../markcut/node_modules/vfile/lib/minpath.js
|
|
1647
1649
|
import { default as default2 } from "node:path";
|
|
1648
1650
|
|
|
1649
|
-
// node_modules/vfile/lib/minproc.js
|
|
1651
|
+
// ../../../markcut/node_modules/vfile/lib/minproc.js
|
|
1650
1652
|
import { default as default3 } from "node:process";
|
|
1651
1653
|
|
|
1652
|
-
// node_modules/vfile/lib/minurl.js
|
|
1654
|
+
// ../../../markcut/node_modules/vfile/lib/minurl.js
|
|
1653
1655
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
1654
1656
|
|
|
1655
|
-
// node_modules/vfile/lib/minurl.shared.js
|
|
1657
|
+
// ../../../markcut/node_modules/vfile/lib/minurl.shared.js
|
|
1656
1658
|
function isUrl(fileUrlOrPath) {
|
|
1657
1659
|
return Boolean(
|
|
1658
1660
|
fileUrlOrPath !== null && typeof fileUrlOrPath === "object" && "href" in fileUrlOrPath && fileUrlOrPath.href && "protocol" in fileUrlOrPath && fileUrlOrPath.protocol && // @ts-expect-error: indexing is fine.
|
|
@@ -1660,7 +1662,7 @@ function isUrl(fileUrlOrPath) {
|
|
|
1660
1662
|
);
|
|
1661
1663
|
}
|
|
1662
1664
|
|
|
1663
|
-
// node_modules/vfile/lib/index.js
|
|
1665
|
+
// ../../../markcut/node_modules/vfile/lib/index.js
|
|
1664
1666
|
var order = (
|
|
1665
1667
|
/** @type {const} */
|
|
1666
1668
|
[
|
|
@@ -2116,7 +2118,7 @@ function isUint8Array(value2) {
|
|
|
2116
2118
|
);
|
|
2117
2119
|
}
|
|
2118
2120
|
|
|
2119
|
-
// node_modules/unified/lib/callable-instance.js
|
|
2121
|
+
// ../../../markcut/node_modules/unified/lib/callable-instance.js
|
|
2120
2122
|
var CallableInstance = (
|
|
2121
2123
|
/**
|
|
2122
2124
|
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
@@ -2145,7 +2147,7 @@ var CallableInstance = (
|
|
|
2145
2147
|
})
|
|
2146
2148
|
);
|
|
2147
2149
|
|
|
2148
|
-
// node_modules/unified/lib/index.js
|
|
2150
|
+
// ../../../markcut/node_modules/unified/lib/index.js
|
|
2149
2151
|
var own = {}.hasOwnProperty;
|
|
2150
2152
|
var Processor = class _Processor extends CallableInstance {
|
|
2151
2153
|
/**
|
|
@@ -2781,7 +2783,7 @@ function isUint8Array2(value2) {
|
|
|
2781
2783
|
);
|
|
2782
2784
|
}
|
|
2783
2785
|
|
|
2784
|
-
// node_modules/mdast-util-to-string/lib/index.js
|
|
2786
|
+
// ../../../markcut/node_modules/mdast-util-to-string/lib/index.js
|
|
2785
2787
|
var emptyOptions = {};
|
|
2786
2788
|
function toString(value2, options) {
|
|
2787
2789
|
const settings = options || emptyOptions;
|
|
@@ -2818,7 +2820,7 @@ function node(value2) {
|
|
|
2818
2820
|
return Boolean(value2 && typeof value2 === "object");
|
|
2819
2821
|
}
|
|
2820
2822
|
|
|
2821
|
-
// node_modules/character-entities/index.js
|
|
2823
|
+
// ../../../markcut/node_modules/character-entities/index.js
|
|
2822
2824
|
var characterEntities = {
|
|
2823
2825
|
AElig: "\xC6",
|
|
2824
2826
|
AMP: "&",
|
|
@@ -4947,13 +4949,13 @@ var characterEntities = {
|
|
|
4947
4949
|
zwnj: "\u200C"
|
|
4948
4950
|
};
|
|
4949
4951
|
|
|
4950
|
-
// node_modules/decode-named-character-reference/index.js
|
|
4952
|
+
// ../../../markcut/node_modules/decode-named-character-reference/index.js
|
|
4951
4953
|
var own2 = {}.hasOwnProperty;
|
|
4952
4954
|
function decodeNamedCharacterReference(value2) {
|
|
4953
4955
|
return own2.call(characterEntities, value2) ? characterEntities[value2] : false;
|
|
4954
4956
|
}
|
|
4955
4957
|
|
|
4956
|
-
// node_modules/micromark-util-chunked/index.js
|
|
4958
|
+
// ../../../markcut/node_modules/micromark-util-chunked/index.js
|
|
4957
4959
|
function splice(list2, start, remove, items) {
|
|
4958
4960
|
const end = list2.length;
|
|
4959
4961
|
let chunkStart = 0;
|
|
@@ -4987,7 +4989,7 @@ function push(list2, items) {
|
|
|
4987
4989
|
return items;
|
|
4988
4990
|
}
|
|
4989
4991
|
|
|
4990
|
-
// node_modules/micromark-util-combine-extensions/index.js
|
|
4992
|
+
// ../../../markcut/node_modules/micromark-util-combine-extensions/index.js
|
|
4991
4993
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
4992
4994
|
function combineExtensions(extensions) {
|
|
4993
4995
|
const all2 = {};
|
|
@@ -5027,7 +5029,7 @@ function constructs(existing, list2) {
|
|
|
5027
5029
|
splice(existing, 0, 0, before);
|
|
5028
5030
|
}
|
|
5029
5031
|
|
|
5030
|
-
// node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
5032
|
+
// ../../../markcut/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
5031
5033
|
function decodeNumericCharacterReference(value2, base) {
|
|
5032
5034
|
const code = Number.parseInt(value2, base);
|
|
5033
5035
|
if (
|
|
@@ -5045,12 +5047,12 @@ function decodeNumericCharacterReference(value2, base) {
|
|
|
5045
5047
|
return String.fromCodePoint(code);
|
|
5046
5048
|
}
|
|
5047
5049
|
|
|
5048
|
-
// node_modules/micromark-util-normalize-identifier/index.js
|
|
5050
|
+
// ../../../markcut/node_modules/micromark-util-normalize-identifier/index.js
|
|
5049
5051
|
function normalizeIdentifier(value2) {
|
|
5050
5052
|
return value2.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
5051
5053
|
}
|
|
5052
5054
|
|
|
5053
|
-
// node_modules/micromark-util-character/index.js
|
|
5055
|
+
// ../../../markcut/node_modules/micromark-util-character/index.js
|
|
5054
5056
|
var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
5055
5057
|
var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
5056
5058
|
var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -5082,7 +5084,7 @@ function regexCheck(regex) {
|
|
|
5082
5084
|
}
|
|
5083
5085
|
}
|
|
5084
5086
|
|
|
5085
|
-
// node_modules/micromark-factory-space/index.js
|
|
5087
|
+
// ../../../markcut/node_modules/micromark-factory-space/index.js
|
|
5086
5088
|
function factorySpace(effects, ok2, type, max) {
|
|
5087
5089
|
const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
|
|
5088
5090
|
let size = 0;
|
|
@@ -5104,7 +5106,7 @@ function factorySpace(effects, ok2, type, max) {
|
|
|
5104
5106
|
}
|
|
5105
5107
|
}
|
|
5106
5108
|
|
|
5107
|
-
// node_modules/micromark/lib/initialize/content.js
|
|
5109
|
+
// ../../../markcut/node_modules/micromark/lib/initialize/content.js
|
|
5108
5110
|
var content = {
|
|
5109
5111
|
tokenize: initializeContent
|
|
5110
5112
|
};
|
|
@@ -5154,7 +5156,7 @@ function initializeContent(effects) {
|
|
|
5154
5156
|
}
|
|
5155
5157
|
}
|
|
5156
5158
|
|
|
5157
|
-
// node_modules/micromark/lib/initialize/document.js
|
|
5159
|
+
// ../../../markcut/node_modules/micromark/lib/initialize/document.js
|
|
5158
5160
|
var document = {
|
|
5159
5161
|
tokenize: initializeDocument
|
|
5160
5162
|
};
|
|
@@ -5336,7 +5338,7 @@ function tokenizeContainer(effects, ok2, nok) {
|
|
|
5336
5338
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok2, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
5337
5339
|
}
|
|
5338
5340
|
|
|
5339
|
-
// node_modules/micromark-util-classify-character/index.js
|
|
5341
|
+
// ../../../markcut/node_modules/micromark-util-classify-character/index.js
|
|
5340
5342
|
function classifyCharacter(code) {
|
|
5341
5343
|
if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) {
|
|
5342
5344
|
return 1;
|
|
@@ -5346,7 +5348,7 @@ function classifyCharacter(code) {
|
|
|
5346
5348
|
}
|
|
5347
5349
|
}
|
|
5348
5350
|
|
|
5349
|
-
// node_modules/micromark-util-resolve-all/index.js
|
|
5351
|
+
// ../../../markcut/node_modules/micromark-util-resolve-all/index.js
|
|
5350
5352
|
function resolveAll(constructs2, events, context) {
|
|
5351
5353
|
const called = [];
|
|
5352
5354
|
let index2 = -1;
|
|
@@ -5360,7 +5362,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
5360
5362
|
return events;
|
|
5361
5363
|
}
|
|
5362
5364
|
|
|
5363
|
-
// node_modules/micromark-core-commonmark/lib/attention.js
|
|
5365
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/attention.js
|
|
5364
5366
|
var attention = {
|
|
5365
5367
|
name: "attention",
|
|
5366
5368
|
resolveAll: resolveAllAttention,
|
|
@@ -5491,7 +5493,7 @@ function movePoint(point3, offset) {
|
|
|
5491
5493
|
point3._bufferIndex += offset;
|
|
5492
5494
|
}
|
|
5493
5495
|
|
|
5494
|
-
// node_modules/micromark-core-commonmark/lib/autolink.js
|
|
5496
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
5495
5497
|
var autolink = {
|
|
5496
5498
|
name: "autolink",
|
|
5497
5499
|
tokenize: tokenizeAutolink
|
|
@@ -5592,7 +5594,7 @@ function tokenizeAutolink(effects, ok2, nok) {
|
|
|
5592
5594
|
}
|
|
5593
5595
|
}
|
|
5594
5596
|
|
|
5595
|
-
// node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
5597
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
5596
5598
|
var blankLine = {
|
|
5597
5599
|
partial: true,
|
|
5598
5600
|
tokenize: tokenizeBlankLine
|
|
@@ -5607,7 +5609,7 @@ function tokenizeBlankLine(effects, ok2, nok) {
|
|
|
5607
5609
|
}
|
|
5608
5610
|
}
|
|
5609
5611
|
|
|
5610
|
-
// node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
5612
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
5611
5613
|
var blockQuote = {
|
|
5612
5614
|
continuation: {
|
|
5613
5615
|
tokenize: tokenizeBlockQuoteContinuation
|
|
@@ -5665,7 +5667,7 @@ function exit(effects) {
|
|
|
5665
5667
|
effects.exit("blockQuote");
|
|
5666
5668
|
}
|
|
5667
5669
|
|
|
5668
|
-
// node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
5670
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
5669
5671
|
var characterEscape = {
|
|
5670
5672
|
name: "characterEscape",
|
|
5671
5673
|
tokenize: tokenizeCharacterEscape
|
|
@@ -5691,7 +5693,7 @@ function tokenizeCharacterEscape(effects, ok2, nok) {
|
|
|
5691
5693
|
}
|
|
5692
5694
|
}
|
|
5693
5695
|
|
|
5694
|
-
// node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
5696
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
5695
5697
|
var characterReference = {
|
|
5696
5698
|
name: "characterReference",
|
|
5697
5699
|
tokenize: tokenizeCharacterReference
|
|
@@ -5756,7 +5758,7 @@ function tokenizeCharacterReference(effects, ok2, nok) {
|
|
|
5756
5758
|
}
|
|
5757
5759
|
}
|
|
5758
5760
|
|
|
5759
|
-
// node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
5761
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
5760
5762
|
var nonLazyContinuation = {
|
|
5761
5763
|
partial: true,
|
|
5762
5764
|
tokenize: tokenizeNonLazyContinuation
|
|
@@ -5939,7 +5941,7 @@ function tokenizeNonLazyContinuation(effects, ok2, nok) {
|
|
|
5939
5941
|
}
|
|
5940
5942
|
}
|
|
5941
5943
|
|
|
5942
|
-
// node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
5944
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
5943
5945
|
var codeIndented = {
|
|
5944
5946
|
name: "codeIndented",
|
|
5945
5947
|
tokenize: tokenizeCodeIndented
|
|
@@ -6003,7 +6005,7 @@ function tokenizeFurtherStart(effects, ok2, nok) {
|
|
|
6003
6005
|
}
|
|
6004
6006
|
}
|
|
6005
6007
|
|
|
6006
|
-
// node_modules/micromark-core-commonmark/lib/code-text.js
|
|
6008
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
6007
6009
|
var codeText = {
|
|
6008
6010
|
name: "codeText",
|
|
6009
6011
|
previous,
|
|
@@ -6118,7 +6120,7 @@ function tokenizeCodeText(effects, ok2, nok) {
|
|
|
6118
6120
|
}
|
|
6119
6121
|
}
|
|
6120
6122
|
|
|
6121
|
-
// node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
6123
|
+
// ../../../markcut/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
6122
6124
|
var SpliceBuffer = class {
|
|
6123
6125
|
/**
|
|
6124
6126
|
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
@@ -6311,7 +6313,7 @@ function chunkedPush(list2, right) {
|
|
|
6311
6313
|
}
|
|
6312
6314
|
}
|
|
6313
6315
|
|
|
6314
|
-
// node_modules/micromark-util-subtokenize/index.js
|
|
6316
|
+
// ../../../markcut/node_modules/micromark-util-subtokenize/index.js
|
|
6315
6317
|
function subtokenize(eventsArray) {
|
|
6316
6318
|
const jumps = {};
|
|
6317
6319
|
let index2 = -1;
|
|
@@ -6464,7 +6466,7 @@ function subcontent(events, eventIndex) {
|
|
|
6464
6466
|
return gaps;
|
|
6465
6467
|
}
|
|
6466
6468
|
|
|
6467
|
-
// node_modules/micromark-core-commonmark/lib/content.js
|
|
6469
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/content.js
|
|
6468
6470
|
var content2 = {
|
|
6469
6471
|
resolve: resolveContent,
|
|
6470
6472
|
tokenize: tokenizeContent
|
|
@@ -6535,7 +6537,7 @@ function tokenizeContinuation(effects, ok2, nok) {
|
|
|
6535
6537
|
}
|
|
6536
6538
|
}
|
|
6537
6539
|
|
|
6538
|
-
// node_modules/micromark-factory-destination/index.js
|
|
6540
|
+
// ../../../markcut/node_modules/micromark-factory-destination/index.js
|
|
6539
6541
|
function factoryDestination(effects, ok2, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
|
|
6540
6542
|
const limit = max || Number.POSITIVE_INFINITY;
|
|
6541
6543
|
let balance = 0;
|
|
@@ -6627,7 +6629,7 @@ function factoryDestination(effects, ok2, nok, type, literalType, literalMarkerT
|
|
|
6627
6629
|
}
|
|
6628
6630
|
}
|
|
6629
6631
|
|
|
6630
|
-
// node_modules/micromark-factory-label/index.js
|
|
6632
|
+
// ../../../markcut/node_modules/micromark-factory-label/index.js
|
|
6631
6633
|
function factoryLabel(effects, ok2, nok, type, markerType, stringType) {
|
|
6632
6634
|
const self = this;
|
|
6633
6635
|
let size = 0;
|
|
@@ -6688,7 +6690,7 @@ function factoryLabel(effects, ok2, nok, type, markerType, stringType) {
|
|
|
6688
6690
|
}
|
|
6689
6691
|
}
|
|
6690
6692
|
|
|
6691
|
-
// node_modules/micromark-factory-title/index.js
|
|
6693
|
+
// ../../../markcut/node_modules/micromark-factory-title/index.js
|
|
6692
6694
|
function factoryTitle(effects, ok2, nok, type, markerType, stringType) {
|
|
6693
6695
|
let marker;
|
|
6694
6696
|
return start;
|
|
@@ -6750,7 +6752,7 @@ function factoryTitle(effects, ok2, nok, type, markerType, stringType) {
|
|
|
6750
6752
|
}
|
|
6751
6753
|
}
|
|
6752
6754
|
|
|
6753
|
-
// node_modules/micromark-factory-whitespace/index.js
|
|
6755
|
+
// ../../../markcut/node_modules/micromark-factory-whitespace/index.js
|
|
6754
6756
|
function factoryWhitespace(effects, ok2) {
|
|
6755
6757
|
let seen;
|
|
6756
6758
|
return start;
|
|
@@ -6769,7 +6771,7 @@ function factoryWhitespace(effects, ok2) {
|
|
|
6769
6771
|
}
|
|
6770
6772
|
}
|
|
6771
6773
|
|
|
6772
|
-
// node_modules/micromark-core-commonmark/lib/definition.js
|
|
6774
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/definition.js
|
|
6773
6775
|
var definition = {
|
|
6774
6776
|
name: "definition",
|
|
6775
6777
|
tokenize: tokenizeDefinition
|
|
@@ -6855,7 +6857,7 @@ function tokenizeTitleBefore(effects, ok2, nok) {
|
|
|
6855
6857
|
}
|
|
6856
6858
|
}
|
|
6857
6859
|
|
|
6858
|
-
// node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
6860
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
6859
6861
|
var hardBreakEscape = {
|
|
6860
6862
|
name: "hardBreakEscape",
|
|
6861
6863
|
tokenize: tokenizeHardBreakEscape
|
|
@@ -6876,7 +6878,7 @@ function tokenizeHardBreakEscape(effects, ok2, nok) {
|
|
|
6876
6878
|
}
|
|
6877
6879
|
}
|
|
6878
6880
|
|
|
6879
|
-
// node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
6881
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
6880
6882
|
var headingAtx = {
|
|
6881
6883
|
name: "headingAtx",
|
|
6882
6884
|
resolve: resolveHeadingAtx,
|
|
@@ -6967,7 +6969,7 @@ function tokenizeHeadingAtx(effects, ok2, nok) {
|
|
|
6967
6969
|
}
|
|
6968
6970
|
}
|
|
6969
6971
|
|
|
6970
|
-
// node_modules/micromark-util-html-tag-name/index.js
|
|
6972
|
+
// ../../../markcut/node_modules/micromark-util-html-tag-name/index.js
|
|
6971
6973
|
var htmlBlockNames = [
|
|
6972
6974
|
"address",
|
|
6973
6975
|
"article",
|
|
@@ -7034,7 +7036,7 @@ var htmlBlockNames = [
|
|
|
7034
7036
|
];
|
|
7035
7037
|
var htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
7036
7038
|
|
|
7037
|
-
// node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
7039
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
7038
7040
|
var htmlFlow = {
|
|
7039
7041
|
concrete: true,
|
|
7040
7042
|
name: "htmlFlow",
|
|
@@ -7413,7 +7415,7 @@ function tokenizeBlankLineBefore(effects, ok2, nok) {
|
|
|
7413
7415
|
}
|
|
7414
7416
|
}
|
|
7415
7417
|
|
|
7416
|
-
// node_modules/micromark-core-commonmark/lib/html-text.js
|
|
7418
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
7417
7419
|
var htmlText = {
|
|
7418
7420
|
name: "htmlText",
|
|
7419
7421
|
tokenize: tokenizeHtmlText
|
|
@@ -7719,7 +7721,7 @@ function tokenizeHtmlText(effects, ok2, nok) {
|
|
|
7719
7721
|
}
|
|
7720
7722
|
}
|
|
7721
7723
|
|
|
7722
|
-
// node_modules/micromark-core-commonmark/lib/label-end.js
|
|
7724
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
7723
7725
|
var labelEnd = {
|
|
7724
7726
|
name: "labelEnd",
|
|
7725
7727
|
resolveAll: resolveAllLabelEnd,
|
|
@@ -7945,7 +7947,7 @@ function tokenizeReferenceCollapsed(effects, ok2, nok) {
|
|
|
7945
7947
|
}
|
|
7946
7948
|
}
|
|
7947
7949
|
|
|
7948
|
-
// node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
7950
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
7949
7951
|
var labelStartImage = {
|
|
7950
7952
|
name: "labelStartImage",
|
|
7951
7953
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -7976,7 +7978,7 @@ function tokenizeLabelStartImage(effects, ok2, nok) {
|
|
|
7976
7978
|
}
|
|
7977
7979
|
}
|
|
7978
7980
|
|
|
7979
|
-
// node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
7981
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
7980
7982
|
var labelStartLink = {
|
|
7981
7983
|
name: "labelStartLink",
|
|
7982
7984
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -7998,7 +8000,7 @@ function tokenizeLabelStartLink(effects, ok2, nok) {
|
|
|
7998
8000
|
}
|
|
7999
8001
|
}
|
|
8000
8002
|
|
|
8001
|
-
// node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8003
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8002
8004
|
var lineEnding = {
|
|
8003
8005
|
name: "lineEnding",
|
|
8004
8006
|
tokenize: tokenizeLineEnding
|
|
@@ -8013,7 +8015,7 @@ function tokenizeLineEnding(effects, ok2) {
|
|
|
8013
8015
|
}
|
|
8014
8016
|
}
|
|
8015
8017
|
|
|
8016
|
-
// node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8018
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8017
8019
|
var thematicBreak = {
|
|
8018
8020
|
name: "thematicBreak",
|
|
8019
8021
|
tokenize: tokenizeThematicBreak
|
|
@@ -8052,7 +8054,7 @@ function tokenizeThematicBreak(effects, ok2, nok) {
|
|
|
8052
8054
|
}
|
|
8053
8055
|
}
|
|
8054
8056
|
|
|
8055
|
-
// node_modules/micromark-core-commonmark/lib/list.js
|
|
8057
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/list.js
|
|
8056
8058
|
var list = {
|
|
8057
8059
|
continuation: {
|
|
8058
8060
|
tokenize: tokenizeListContinuation
|
|
@@ -8182,7 +8184,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok2, nok) {
|
|
|
8182
8184
|
}
|
|
8183
8185
|
}
|
|
8184
8186
|
|
|
8185
|
-
// node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
8187
|
+
// ../../../markcut/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
8186
8188
|
var setextUnderline = {
|
|
8187
8189
|
name: "setextUnderline",
|
|
8188
8190
|
resolveTo: resolveToSetextUnderline,
|
|
@@ -8274,7 +8276,7 @@ function tokenizeSetextUnderline(effects, ok2, nok) {
|
|
|
8274
8276
|
}
|
|
8275
8277
|
}
|
|
8276
8278
|
|
|
8277
|
-
// node_modules/micromark/lib/initialize/flow.js
|
|
8279
|
+
// ../../../markcut/node_modules/micromark/lib/initialize/flow.js
|
|
8278
8280
|
var flow = {
|
|
8279
8281
|
tokenize: initializeFlow
|
|
8280
8282
|
};
|
|
@@ -8312,7 +8314,7 @@ function initializeFlow(effects) {
|
|
|
8312
8314
|
}
|
|
8313
8315
|
}
|
|
8314
8316
|
|
|
8315
|
-
// node_modules/micromark/lib/initialize/text.js
|
|
8317
|
+
// ../../../markcut/node_modules/micromark/lib/initialize/text.js
|
|
8316
8318
|
var resolver = {
|
|
8317
8319
|
resolveAll: createResolver()
|
|
8318
8320
|
};
|
|
@@ -8451,7 +8453,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
8451
8453
|
return events;
|
|
8452
8454
|
}
|
|
8453
8455
|
|
|
8454
|
-
// node_modules/micromark/lib/constructs.js
|
|
8456
|
+
// ../../../markcut/node_modules/micromark/lib/constructs.js
|
|
8455
8457
|
var constructs_exports = {};
|
|
8456
8458
|
__export(constructs_exports, {
|
|
8457
8459
|
attentionMarkers: () => attentionMarkers,
|
|
@@ -8526,7 +8528,7 @@ var disable = {
|
|
|
8526
8528
|
null: []
|
|
8527
8529
|
};
|
|
8528
8530
|
|
|
8529
|
-
// node_modules/micromark/lib/create-tokenizer.js
|
|
8531
|
+
// ../../../markcut/node_modules/micromark/lib/create-tokenizer.js
|
|
8530
8532
|
function createTokenizer(parser, initialize, from) {
|
|
8531
8533
|
let point3 = {
|
|
8532
8534
|
_bufferIndex: -1,
|
|
@@ -8849,7 +8851,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
8849
8851
|
return result.join("");
|
|
8850
8852
|
}
|
|
8851
8853
|
|
|
8852
|
-
// node_modules/micromark/lib/parse.js
|
|
8854
|
+
// ../../../markcut/node_modules/micromark/lib/parse.js
|
|
8853
8855
|
function parse(options) {
|
|
8854
8856
|
const settings = options || {};
|
|
8855
8857
|
const constructs2 = (
|
|
@@ -8875,14 +8877,14 @@ function parse(options) {
|
|
|
8875
8877
|
}
|
|
8876
8878
|
}
|
|
8877
8879
|
|
|
8878
|
-
// node_modules/micromark/lib/postprocess.js
|
|
8880
|
+
// ../../../markcut/node_modules/micromark/lib/postprocess.js
|
|
8879
8881
|
function postprocess(events) {
|
|
8880
8882
|
while (!subtokenize(events)) {
|
|
8881
8883
|
}
|
|
8882
8884
|
return events;
|
|
8883
8885
|
}
|
|
8884
8886
|
|
|
8885
|
-
// node_modules/micromark/lib/preprocess.js
|
|
8887
|
+
// ../../../markcut/node_modules/micromark/lib/preprocess.js
|
|
8886
8888
|
var search = /[\0\t\n\r]/g;
|
|
8887
8889
|
function preprocess() {
|
|
8888
8890
|
let column = 1;
|
|
@@ -8961,7 +8963,7 @@ function preprocess() {
|
|
|
8961
8963
|
}
|
|
8962
8964
|
}
|
|
8963
8965
|
|
|
8964
|
-
// node_modules/micromark-util-decode-string/index.js
|
|
8966
|
+
// ../../../markcut/node_modules/micromark-util-decode-string/index.js
|
|
8965
8967
|
var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
8966
8968
|
function decodeString(value2) {
|
|
8967
8969
|
return value2.replace(characterEscapeOrReference, decode);
|
|
@@ -8979,7 +8981,7 @@ function decode($0, $1, $2) {
|
|
|
8979
8981
|
return decodeNamedCharacterReference($2) || $0;
|
|
8980
8982
|
}
|
|
8981
8983
|
|
|
8982
|
-
// node_modules/mdast-util-from-markdown/lib/index.js
|
|
8984
|
+
// ../../../markcut/node_modules/mdast-util-from-markdown/lib/index.js
|
|
8983
8985
|
var own3 = {}.hasOwnProperty;
|
|
8984
8986
|
function fromMarkdown(value2, encoding, options) {
|
|
8985
8987
|
if (encoding && typeof encoding === "object") {
|
|
@@ -9688,7 +9690,7 @@ function defaultOnError(left, right) {
|
|
|
9688
9690
|
}
|
|
9689
9691
|
}
|
|
9690
9692
|
|
|
9691
|
-
// node_modules/remark-parse/lib/index.js
|
|
9693
|
+
// ../../../markcut/node_modules/remark-parse/lib/index.js
|
|
9692
9694
|
function remarkParse(options) {
|
|
9693
9695
|
const self = this;
|
|
9694
9696
|
self.parser = parser;
|
|
@@ -9705,7 +9707,7 @@ function remarkParse(options) {
|
|
|
9705
9707
|
}
|
|
9706
9708
|
}
|
|
9707
9709
|
|
|
9708
|
-
// node_modules/fault/index.js
|
|
9710
|
+
// ../../../markcut/node_modules/fault/index.js
|
|
9709
9711
|
var import_format = __toESM(require_format(), 1);
|
|
9710
9712
|
var fault = Object.assign(create(Error), {
|
|
9711
9713
|
eval: create(EvalError),
|
|
@@ -9724,7 +9726,7 @@ function create(Constructor) {
|
|
|
9724
9726
|
}
|
|
9725
9727
|
}
|
|
9726
9728
|
|
|
9727
|
-
// node_modules/micromark-extension-frontmatter/lib/to-matters.js
|
|
9729
|
+
// ../../../markcut/node_modules/micromark-extension-frontmatter/lib/to-matters.js
|
|
9728
9730
|
var own4 = {}.hasOwnProperty;
|
|
9729
9731
|
var markers = {
|
|
9730
9732
|
yaml: "-",
|
|
@@ -9761,7 +9763,7 @@ function matter(option) {
|
|
|
9761
9763
|
return result;
|
|
9762
9764
|
}
|
|
9763
9765
|
|
|
9764
|
-
// node_modules/micromark-extension-frontmatter/lib/syntax.js
|
|
9766
|
+
// ../../../markcut/node_modules/micromark-extension-frontmatter/lib/syntax.js
|
|
9765
9767
|
function frontmatter(options) {
|
|
9766
9768
|
const matters = toMatters(options);
|
|
9767
9769
|
const flow3 = {};
|
|
@@ -9947,7 +9949,7 @@ function pick(schema, prop) {
|
|
|
9947
9949
|
return typeof schema === "string" ? schema : schema[prop];
|
|
9948
9950
|
}
|
|
9949
9951
|
|
|
9950
|
-
// node_modules/escape-string-regexp/index.js
|
|
9952
|
+
// ../../../markcut/node_modules/escape-string-regexp/index.js
|
|
9951
9953
|
function escapeStringRegexp(string3) {
|
|
9952
9954
|
if (typeof string3 !== "string") {
|
|
9953
9955
|
throw new TypeError("Expected a string");
|
|
@@ -9955,7 +9957,7 @@ function escapeStringRegexp(string3) {
|
|
|
9955
9957
|
return string3.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
9956
9958
|
}
|
|
9957
9959
|
|
|
9958
|
-
// node_modules/mdast-util-frontmatter/lib/index.js
|
|
9960
|
+
// ../../../markcut/node_modules/mdast-util-frontmatter/lib/index.js
|
|
9959
9961
|
function frontmatterFromMarkdown(options) {
|
|
9960
9962
|
const matters = toMatters(options);
|
|
9961
9963
|
const enter = {};
|
|
@@ -10022,7 +10024,7 @@ function pick2(schema, prop) {
|
|
|
10022
10024
|
return typeof schema === "string" ? schema : schema[prop];
|
|
10023
10025
|
}
|
|
10024
10026
|
|
|
10025
|
-
// node_modules/remark-frontmatter/lib/index.js
|
|
10027
|
+
// ../../../markcut/node_modules/remark-frontmatter/lib/index.js
|
|
10026
10028
|
var emptyOptions2 = "yaml";
|
|
10027
10029
|
function remarkFrontmatter(options) {
|
|
10028
10030
|
const self = (
|
|
@@ -10339,6 +10341,9 @@ function parseKeyValueTokens(tokens, ctx) {
|
|
|
10339
10341
|
const strVal = String(val);
|
|
10340
10342
|
if (strVal.startsWith("{") || strVal.startsWith("[")) {
|
|
10341
10343
|
val = parseProps(strVal);
|
|
10344
|
+
if (["camera", "cinematic", "streetView"].includes(key) && strVal.trim() !== "{}" && typeof val === "object" && val !== null && !Array.isArray(val) && Object.keys(val).length === 0) {
|
|
10345
|
+
fail(`invalid structured ${key} value`, { ...ctx, token });
|
|
10346
|
+
}
|
|
10342
10347
|
} else {
|
|
10343
10348
|
val = parseNumberMaybe(strVal);
|
|
10344
10349
|
}
|
|
@@ -10442,6 +10447,7 @@ function preserveVariantAttrs(node2, attrs) {
|
|
|
10442
10447
|
"camera",
|
|
10443
10448
|
"cinematic",
|
|
10444
10449
|
"streetView",
|
|
10450
|
+
"routeAnimation",
|
|
10445
10451
|
"name",
|
|
10446
10452
|
"title",
|
|
10447
10453
|
"transition",
|
|
@@ -10668,6 +10674,7 @@ function parseNodeLine(content3, lineNum) {
|
|
|
10668
10674
|
start: attrs.start,
|
|
10669
10675
|
view: attrs.view,
|
|
10670
10676
|
routeMarker: attrs.routeMarker,
|
|
10677
|
+
routeAnimation: attrs.routeAnimation,
|
|
10671
10678
|
travelMode: attrs.travelMode,
|
|
10672
10679
|
routeColor: attrs.routeColor,
|
|
10673
10680
|
routeWeight: attrs.routeWeight,
|