jssm 5.142.3 → 5.142.4

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.
@@ -428,11 +428,11 @@ function peg$parse(input, options) {
428
428
  return { config_kind: "action", config_items: action_items || [] };
429
429
  }, peg$c1359 = function (key, value) { return { key, value }; }, peg$c1360 = peg$otherExpectation("graph default edge color"), peg$c1361 = function (value) { return { key: 'graph_default_edge_color', value }; }, peg$c1362 = "transition", peg$c1363 = peg$literalExpectation("transition", false), peg$c1364 = function (transition_items) {
430
430
  return { config_kind: "transition", config_items: transition_items || [] };
431
- }, peg$c1365 = "graph_layout", peg$c1366 = peg$literalExpectation("graph_layout", false), peg$c1367 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1368 = "start_states", peg$c1369 = peg$literalExpectation("start_states", false), peg$c1370 = function (value) { return { key: "start_states", value: value }; }, peg$c1371 = "end_states", peg$c1372 = peg$literalExpectation("end_states", false), peg$c1373 = function (value) { return { key: "end_states", value: value }; }, peg$c1374 = "failed_outputs", peg$c1375 = peg$literalExpectation("failed_outputs", false), peg$c1376 = function (value) { return { key: "failed_outputs", value: typeof value === 'string' ? [value] : value }; }, peg$c1377 = "graph_bg_color", peg$c1378 = peg$literalExpectation("graph_bg_color", false), peg$c1379 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1380 = "allows_override", peg$c1381 = peg$literalExpectation("allows_override", false), peg$c1382 = function (value) { return { key: "allows_override", value: value }; }, peg$c1383 = "allow_islands", peg$c1384 = peg$literalExpectation("allow_islands", false), peg$c1385 = function (value) { return { key: "allow_islands", value: value }; }, peg$c1386 = function () { return true; }, peg$c1387 = function () { return false; }, peg$c1388 = "with_start", peg$c1389 = peg$literalExpectation("with_start", false), peg$c1390 = function () { return 'with_start'; }, peg$c1391 = function () { return true; }, peg$c1392 = function () { return false; }, peg$c1393 = peg$otherExpectation("configuration"), peg$c1394 = "MIT", peg$c1395 = peg$literalExpectation("MIT", false), peg$c1396 = "BSD 2-clause", peg$c1397 = peg$literalExpectation("BSD 2-clause", false), peg$c1398 = "BSD 3-clause", peg$c1399 = peg$literalExpectation("BSD 3-clause", false), peg$c1400 = "Apache 2.0", peg$c1401 = peg$literalExpectation("Apache 2.0", false), peg$c1402 = "Mozilla 2.0", peg$c1403 = peg$literalExpectation("Mozilla 2.0", false), peg$c1404 = "Public domain", peg$c1405 = peg$literalExpectation("Public domain", false), peg$c1406 = "GPL v2", peg$c1407 = peg$literalExpectation("GPL v2", false), peg$c1408 = "GPL v3", peg$c1409 = peg$literalExpectation("GPL v3", false), peg$c1410 = "LGPL v2.1", peg$c1411 = peg$literalExpectation("LGPL v2.1", false), peg$c1412 = "LGPL v3.0", peg$c1413 = peg$literalExpectation("LGPL v3.0", false), peg$c1414 = "Unknown", peg$c1415 = peg$literalExpectation("Unknown", false), peg$c1416 = peg$otherExpectation("direction"), peg$c1417 = "up", peg$c1418 = peg$literalExpectation("up", false), peg$c1419 = "right", peg$c1420 = peg$literalExpectation("right", false), peg$c1421 = "down", peg$c1422 = peg$literalExpectation("down", false), peg$c1423 = "left", peg$c1424 = peg$literalExpectation("left", false), peg$c1425 = peg$otherExpectation("hook definition (open/closed)"), peg$c1426 = "open", peg$c1427 = peg$literalExpectation("open", false), peg$c1428 = "closed", peg$c1429 = peg$literalExpectation("closed", false), peg$c1430 = "machine_author", peg$c1431 = peg$literalExpectation("machine_author", false), peg$c1432 = function (value) { return { key: "machine_author", value }; }, peg$c1433 = "machine_contributor", peg$c1434 = peg$literalExpectation("machine_contributor", false), peg$c1435 = function (value) { return { key: "machine_contributor", value }; }, peg$c1436 = "machine_comment", peg$c1437 = peg$literalExpectation("machine_comment", false), peg$c1438 = function (value) { return { key: "machine_comment", value }; }, peg$c1439 = "machine_definition", peg$c1440 = peg$literalExpectation("machine_definition", false), peg$c1441 = function (value) { return { key: "machine_definition", value }; }, peg$c1442 = "machine_name", peg$c1443 = peg$literalExpectation("machine_name", false), peg$c1444 = function (value) { return { key: "machine_name", value }; }, peg$c1445 = "npm_name", peg$c1446 = peg$literalExpectation("npm_name", false), peg$c1447 = function (value) { return { key: "npm_name", value }; }, peg$c1448 = "machine_reference", peg$c1449 = peg$literalExpectation("machine_reference", false), peg$c1450 = function (value) { return { key: "machine_reference", value }; }, peg$c1451 = "machine_version", peg$c1452 = peg$literalExpectation("machine_version", false), peg$c1453 = function (value) { return { key: "machine_version", value }; }, peg$c1454 = "machine_license", peg$c1455 = peg$literalExpectation("machine_license", false), peg$c1456 = function (value) { return { key: "machine_license", value }; }, peg$c1457 = "machine_language", peg$c1458 = peg$literalExpectation("machine_language", false), peg$c1459 = function (value) { return { key: "machine_language", value }; }, peg$c1460 = "fsl_version", peg$c1461 = peg$literalExpectation("fsl_version", false), peg$c1462 = function (value) { return { key: "fsl_version", value }; }, peg$c1463 = "theme", peg$c1464 = peg$literalExpectation("theme", false), peg$c1465 = function (value) { return { key: "theme", value }; }, peg$c1466 = "flow", peg$c1467 = peg$literalExpectation("flow", false), peg$c1468 = function (value) { return { key: "flow", value }; }, peg$c1469 = "hooks", peg$c1470 = peg$literalExpectation("hooks", false), peg$c1471 = function (value) { return { key: "hook_definition", value }; }, peg$c1472 = "dot_preamble", peg$c1473 = peg$literalExpectation("dot_preamble", false), peg$c1474 = function (value) { return { key: "dot_preamble", value }; }, peg$c1475 = peg$otherExpectation("machine attribute"), peg$c1476 = "label", peg$c1477 = peg$literalExpectation("label", false), peg$c1478 = function (value) { return { key: 'state-label', value }; }, peg$c1479 = "color", peg$c1480 = peg$literalExpectation("color", false), peg$c1481 = function (value) { return { key: 'color', value }; }, peg$c1482 = peg$otherExpectation("text color"), peg$c1483 = "text-color", peg$c1484 = peg$literalExpectation("text-color", false), peg$c1485 = function (value) { return { key: 'text-color', value }; }, peg$c1486 = peg$otherExpectation("background color"), peg$c1487 = "background-color", peg$c1488 = peg$literalExpectation("background-color", false), peg$c1489 = function (value) { return { key: 'background-color', value }; }, peg$c1490 = peg$otherExpectation("border color"), peg$c1491 = "border-color", peg$c1492 = peg$literalExpectation("border-color", false), peg$c1493 = function (value) { return { key: 'border-color', value }; }, peg$c1494 = peg$otherExpectation("shape"), peg$c1495 = "shape", peg$c1496 = peg$literalExpectation("shape", false), peg$c1497 = function (value) { return { key: 'shape', value }; }, peg$c1498 = peg$otherExpectation("corners"), peg$c1499 = "corners", peg$c1500 = peg$literalExpectation("corners", false), peg$c1501 = function (value) { return { key: 'corners', value }; }, peg$c1502 = peg$otherExpectation("linestyle"), peg$c1503 = function (value) { return { key: 'line-style', value }; }, peg$c1504 = "linestyle", peg$c1505 = peg$literalExpectation("linestyle", false), peg$c1506 = peg$otherExpectation("image"), peg$c1507 = "image", peg$c1508 = peg$literalExpectation("image", false), peg$c1509 = function (value) { return { key: 'image', value }; }, peg$c1510 = peg$otherExpectation("url"), peg$c1511 = "url", peg$c1512 = peg$literalExpectation("url", false), peg$c1513 = function (value) { return { key: 'url', value }; }, peg$c1514 = peg$otherExpectation("state property"), peg$c1515 = "property", peg$c1516 = peg$literalExpectation("property", false), peg$c1517 = function (name, value) {
431
+ }, peg$c1365 = "graph_layout", peg$c1366 = peg$literalExpectation("graph_layout", false), peg$c1367 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1368 = "start_states", peg$c1369 = peg$literalExpectation("start_states", false), peg$c1370 = function (value) { return { key: "start_states", value: value }; }, peg$c1371 = "end_states", peg$c1372 = peg$literalExpectation("end_states", false), peg$c1373 = function (value) { return { key: "end_states", value: value }; }, peg$c1374 = "failed_outputs", peg$c1375 = peg$literalExpectation("failed_outputs", false), peg$c1376 = function (value) { return { key: "failed_outputs", value: typeof value === 'string' ? [value] : value }; }, peg$c1377 = "graph_bg_color", peg$c1378 = peg$literalExpectation("graph_bg_color", false), peg$c1379 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1380 = "allows_override", peg$c1381 = peg$literalExpectation("allows_override", false), peg$c1382 = function (value) { return { key: "allows_override", value: value }; }, peg$c1383 = "allow_islands", peg$c1384 = peg$literalExpectation("allow_islands", false), peg$c1385 = function (value) { return { key: "allow_islands", value: value }; }, peg$c1386 = function () { return true; }, peg$c1387 = function () { return false; }, peg$c1388 = "with_start", peg$c1389 = peg$literalExpectation("with_start", false), peg$c1390 = function () { return 'with_start'; }, peg$c1391 = function () { return true; }, peg$c1392 = function () { return false; }, peg$c1393 = peg$otherExpectation("configuration"), peg$c1394 = "MIT", peg$c1395 = peg$literalExpectation("MIT", false), peg$c1396 = "BSD 2-clause", peg$c1397 = peg$literalExpectation("BSD 2-clause", false), peg$c1398 = "BSD 3-clause", peg$c1399 = peg$literalExpectation("BSD 3-clause", false), peg$c1400 = "Apache 2.0", peg$c1401 = peg$literalExpectation("Apache 2.0", false), peg$c1402 = "Mozilla 2.0", peg$c1403 = peg$literalExpectation("Mozilla 2.0", false), peg$c1404 = "Public domain", peg$c1405 = peg$literalExpectation("Public domain", false), peg$c1406 = "GPL v2", peg$c1407 = peg$literalExpectation("GPL v2", false), peg$c1408 = "GPL v3", peg$c1409 = peg$literalExpectation("GPL v3", false), peg$c1410 = "LGPL v2.1", peg$c1411 = peg$literalExpectation("LGPL v2.1", false), peg$c1412 = "LGPL v3.0", peg$c1413 = peg$literalExpectation("LGPL v3.0", false), peg$c1414 = "Unknown", peg$c1415 = peg$literalExpectation("Unknown", false), peg$c1416 = peg$otherExpectation("direction"), peg$c1417 = "up", peg$c1418 = peg$literalExpectation("up", false), peg$c1419 = "right", peg$c1420 = peg$literalExpectation("right", false), peg$c1421 = "down", peg$c1422 = peg$literalExpectation("down", false), peg$c1423 = "left", peg$c1424 = peg$literalExpectation("left", false), peg$c1425 = peg$otherExpectation("hook definition (open/closed)"), peg$c1426 = "open", peg$c1427 = peg$literalExpectation("open", false), peg$c1428 = "closed", peg$c1429 = peg$literalExpectation("closed", false), peg$c1430 = "machine_author", peg$c1431 = peg$literalExpectation("machine_author", false), peg$c1432 = function (value) { return { key: "machine_author", value }; }, peg$c1433 = "machine_contributor", peg$c1434 = peg$literalExpectation("machine_contributor", false), peg$c1435 = function (value) { return { key: "machine_contributor", value }; }, peg$c1436 = "machine_comment", peg$c1437 = peg$literalExpectation("machine_comment", false), peg$c1438 = function (value) { return { key: "machine_comment", value }; }, peg$c1439 = "machine_definition", peg$c1440 = peg$literalExpectation("machine_definition", false), peg$c1441 = function (value) { return { key: "machine_definition", value }; }, peg$c1442 = "machine_name", peg$c1443 = peg$literalExpectation("machine_name", false), peg$c1444 = function (value) { return { key: "machine_name", value }; }, peg$c1445 = "npm_name", peg$c1446 = peg$literalExpectation("npm_name", false), peg$c1447 = function (value) { return { key: "npm_name", value }; }, peg$c1448 = "machine_reference", peg$c1449 = peg$literalExpectation("machine_reference", false), peg$c1450 = function (value) { return { key: "machine_reference", value }; }, peg$c1451 = "machine_version", peg$c1452 = peg$literalExpectation("machine_version", false), peg$c1453 = function (value) { return { key: "machine_version", value }; }, peg$c1454 = "machine_license", peg$c1455 = peg$literalExpectation("machine_license", false), peg$c1456 = function (value) { return { key: "machine_license", value }; }, peg$c1457 = "machine_language", peg$c1458 = peg$literalExpectation("machine_language", false), peg$c1459 = function (value) { return { key: "machine_language", value }; }, peg$c1460 = "fsl_version", peg$c1461 = peg$literalExpectation("fsl_version", false), peg$c1462 = function (value) { return { key: "fsl_version", value }; }, peg$c1463 = "theme", peg$c1464 = peg$literalExpectation("theme", false), peg$c1465 = function (value) { return { key: "theme", value }; }, peg$c1466 = "flow", peg$c1467 = peg$literalExpectation("flow", false), peg$c1468 = function (value) { return { key: "flow", value }; }, peg$c1469 = "hooks", peg$c1470 = peg$literalExpectation("hooks", false), peg$c1471 = function (value) { return { key: "hook_definition", value }; }, peg$c1472 = "dot_preamble", peg$c1473 = peg$literalExpectation("dot_preamble", false), peg$c1474 = function (value) { return { key: "dot_preamble", value }; }, peg$c1475 = "height", peg$c1476 = peg$literalExpectation("height", false), peg$c1477 = function (n) { return { height: n }; }, peg$c1478 = function (w, h) { return { width: w, height: h }; }, peg$c1479 = function (w) { return { width: w }; }, peg$c1480 = "default_size", peg$c1481 = peg$literalExpectation("default_size", false), peg$c1482 = function (value) { return { key: "default_size", value }; }, peg$c1483 = peg$otherExpectation("machine attribute"), peg$c1484 = "label", peg$c1485 = peg$literalExpectation("label", false), peg$c1486 = function (value) { return { key: 'state-label', value }; }, peg$c1487 = "color", peg$c1488 = peg$literalExpectation("color", false), peg$c1489 = function (value) { return { key: 'color', value }; }, peg$c1490 = peg$otherExpectation("text color"), peg$c1491 = "text-color", peg$c1492 = peg$literalExpectation("text-color", false), peg$c1493 = function (value) { return { key: 'text-color', value }; }, peg$c1494 = peg$otherExpectation("background color"), peg$c1495 = "background-color", peg$c1496 = peg$literalExpectation("background-color", false), peg$c1497 = function (value) { return { key: 'background-color', value }; }, peg$c1498 = peg$otherExpectation("border color"), peg$c1499 = "border-color", peg$c1500 = peg$literalExpectation("border-color", false), peg$c1501 = function (value) { return { key: 'border-color', value }; }, peg$c1502 = peg$otherExpectation("shape"), peg$c1503 = "shape", peg$c1504 = peg$literalExpectation("shape", false), peg$c1505 = function (value) { return { key: 'shape', value }; }, peg$c1506 = peg$otherExpectation("corners"), peg$c1507 = "corners", peg$c1508 = peg$literalExpectation("corners", false), peg$c1509 = function (value) { return { key: 'corners', value }; }, peg$c1510 = peg$otherExpectation("linestyle"), peg$c1511 = function (value) { return { key: 'line-style', value }; }, peg$c1512 = "linestyle", peg$c1513 = peg$literalExpectation("linestyle", false), peg$c1514 = peg$otherExpectation("image"), peg$c1515 = "image", peg$c1516 = peg$literalExpectation("image", false), peg$c1517 = function (value) { return { key: 'image', value }; }, peg$c1518 = peg$otherExpectation("url"), peg$c1519 = "url", peg$c1520 = peg$literalExpectation("url", false), peg$c1521 = function (value) { return { key: 'url', value }; }, peg$c1522 = peg$otherExpectation("state property"), peg$c1523 = "property", peg$c1524 = peg$literalExpectation("property", false), peg$c1525 = function (name, value) {
432
432
  return { key: 'state_property', name, value };
433
- }, peg$c1518 = "required", peg$c1519 = peg$literalExpectation("required", false), peg$c1520 = function (name, value) {
433
+ }, peg$c1526 = "required", peg$c1527 = peg$literalExpectation("required", false), peg$c1528 = function (name, value) {
434
434
  return { key: 'state_property', name, value, required: true };
435
- }, peg$c1521 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1522 = "&", peg$c1523 = peg$literalExpectation("&", false), peg$c1524 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1525 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1526 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1527 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1528 = function (name) { return { key: 'property_definition', name }; }, peg$c1529 = "arrange", peg$c1530 = peg$literalExpectation("arrange", false), peg$c1531 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1532 = "arrange-start", peg$c1533 = peg$literalExpectation("arrange-start", false), peg$c1534 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1535 = "arrange-end", peg$c1536 = peg$literalExpectation("arrange-end", false), peg$c1537 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1538 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
435
+ }, peg$c1529 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1530 = "&", peg$c1531 = peg$literalExpectation("&", false), peg$c1532 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1533 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1534 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1535 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1536 = function (name) { return { key: 'property_definition', name }; }, peg$c1537 = "arrange", peg$c1538 = peg$literalExpectation("arrange", false), peg$c1539 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1540 = "arrange-start", peg$c1541 = peg$literalExpectation("arrange-start", false), peg$c1542 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1543 = "arrange-end", peg$c1544 = peg$literalExpectation("arrange-end", false), peg$c1545 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1546 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
436
436
  if ("startRule" in options) {
437
437
  if (!(options.startRule in peg$startRuleFunctions)) {
438
438
  throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
@@ -17152,6 +17152,186 @@ function peg$parse(input, options) {
17152
17152
  }
17153
17153
  return s0;
17154
17154
  }
17155
+ function peg$parseDefaultSizeVal() {
17156
+ var s0, s1, s2, s3;
17157
+ s0 = peg$currPos;
17158
+ if (input.substr(peg$currPos, 6) === peg$c1475) {
17159
+ s1 = peg$c1475;
17160
+ peg$currPos += 6;
17161
+ }
17162
+ else {
17163
+ s1 = peg$FAILED;
17164
+ if (peg$silentFails === 0) {
17165
+ peg$fail(peg$c1476);
17166
+ }
17167
+ }
17168
+ if (s1 !== peg$FAILED) {
17169
+ s2 = peg$parseWS();
17170
+ if (s2 !== peg$FAILED) {
17171
+ s3 = peg$parseNonNegNumber();
17172
+ if (s3 !== peg$FAILED) {
17173
+ peg$savedPos = s0;
17174
+ s1 = peg$c1477(s3);
17175
+ s0 = s1;
17176
+ }
17177
+ else {
17178
+ peg$currPos = s0;
17179
+ s0 = peg$FAILED;
17180
+ }
17181
+ }
17182
+ else {
17183
+ peg$currPos = s0;
17184
+ s0 = peg$FAILED;
17185
+ }
17186
+ }
17187
+ else {
17188
+ peg$currPos = s0;
17189
+ s0 = peg$FAILED;
17190
+ }
17191
+ if (s0 === peg$FAILED) {
17192
+ s0 = peg$currPos;
17193
+ s1 = peg$parseNonNegNumber();
17194
+ if (s1 !== peg$FAILED) {
17195
+ s2 = peg$parseNonNegNumber();
17196
+ if (s2 !== peg$FAILED) {
17197
+ peg$savedPos = s0;
17198
+ s1 = peg$c1478(s1, s2);
17199
+ s0 = s1;
17200
+ }
17201
+ else {
17202
+ peg$currPos = s0;
17203
+ s0 = peg$FAILED;
17204
+ }
17205
+ }
17206
+ else {
17207
+ peg$currPos = s0;
17208
+ s0 = peg$FAILED;
17209
+ }
17210
+ if (s0 === peg$FAILED) {
17211
+ s0 = peg$currPos;
17212
+ s1 = peg$parseNonNegNumber();
17213
+ if (s1 !== peg$FAILED) {
17214
+ peg$savedPos = s0;
17215
+ s1 = peg$c1479(s1);
17216
+ }
17217
+ s0 = s1;
17218
+ }
17219
+ }
17220
+ return s0;
17221
+ }
17222
+ function peg$parseDefaultSize() {
17223
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
17224
+ s0 = peg$currPos;
17225
+ s1 = peg$parseWS();
17226
+ if (s1 === peg$FAILED) {
17227
+ s1 = null;
17228
+ }
17229
+ if (s1 !== peg$FAILED) {
17230
+ if (input.substr(peg$currPos, 12) === peg$c1480) {
17231
+ s2 = peg$c1480;
17232
+ peg$currPos += 12;
17233
+ }
17234
+ else {
17235
+ s2 = peg$FAILED;
17236
+ if (peg$silentFails === 0) {
17237
+ peg$fail(peg$c1481);
17238
+ }
17239
+ }
17240
+ if (s2 !== peg$FAILED) {
17241
+ s3 = peg$parseWS();
17242
+ if (s3 === peg$FAILED) {
17243
+ s3 = null;
17244
+ }
17245
+ if (s3 !== peg$FAILED) {
17246
+ if (input.charCodeAt(peg$currPos) === 58) {
17247
+ s4 = peg$c1206;
17248
+ peg$currPos++;
17249
+ }
17250
+ else {
17251
+ s4 = peg$FAILED;
17252
+ if (peg$silentFails === 0) {
17253
+ peg$fail(peg$c1207);
17254
+ }
17255
+ }
17256
+ if (s4 !== peg$FAILED) {
17257
+ s5 = peg$parseWS();
17258
+ if (s5 === peg$FAILED) {
17259
+ s5 = null;
17260
+ }
17261
+ if (s5 !== peg$FAILED) {
17262
+ s6 = peg$parseDefaultSizeVal();
17263
+ if (s6 !== peg$FAILED) {
17264
+ s7 = peg$parseWS();
17265
+ if (s7 === peg$FAILED) {
17266
+ s7 = null;
17267
+ }
17268
+ if (s7 !== peg$FAILED) {
17269
+ if (input.charCodeAt(peg$currPos) === 59) {
17270
+ s8 = peg$c1208;
17271
+ peg$currPos++;
17272
+ }
17273
+ else {
17274
+ s8 = peg$FAILED;
17275
+ if (peg$silentFails === 0) {
17276
+ peg$fail(peg$c1209);
17277
+ }
17278
+ }
17279
+ if (s8 !== peg$FAILED) {
17280
+ s9 = peg$parseWS();
17281
+ if (s9 === peg$FAILED) {
17282
+ s9 = null;
17283
+ }
17284
+ if (s9 !== peg$FAILED) {
17285
+ peg$savedPos = s0;
17286
+ s1 = peg$c1482(s6);
17287
+ s0 = s1;
17288
+ }
17289
+ else {
17290
+ peg$currPos = s0;
17291
+ s0 = peg$FAILED;
17292
+ }
17293
+ }
17294
+ else {
17295
+ peg$currPos = s0;
17296
+ s0 = peg$FAILED;
17297
+ }
17298
+ }
17299
+ else {
17300
+ peg$currPos = s0;
17301
+ s0 = peg$FAILED;
17302
+ }
17303
+ }
17304
+ else {
17305
+ peg$currPos = s0;
17306
+ s0 = peg$FAILED;
17307
+ }
17308
+ }
17309
+ else {
17310
+ peg$currPos = s0;
17311
+ s0 = peg$FAILED;
17312
+ }
17313
+ }
17314
+ else {
17315
+ peg$currPos = s0;
17316
+ s0 = peg$FAILED;
17317
+ }
17318
+ }
17319
+ else {
17320
+ peg$currPos = s0;
17321
+ s0 = peg$FAILED;
17322
+ }
17323
+ }
17324
+ else {
17325
+ peg$currPos = s0;
17326
+ s0 = peg$FAILED;
17327
+ }
17328
+ }
17329
+ else {
17330
+ peg$currPos = s0;
17331
+ s0 = peg$FAILED;
17332
+ }
17333
+ return s0;
17334
+ }
17155
17335
  function peg$parseMachineAttribute() {
17156
17336
  var s0;
17157
17337
  peg$silentFails++;
@@ -17184,6 +17364,9 @@ function peg$parse(input, options) {
17184
17364
  s0 = peg$parseMachineFlow();
17185
17365
  if (s0 === peg$FAILED) {
17186
17366
  s0 = peg$parseMachineHookDefinition();
17367
+ if (s0 === peg$FAILED) {
17368
+ s0 = peg$parseDefaultSize();
17369
+ }
17187
17370
  }
17188
17371
  }
17189
17372
  }
@@ -17201,7 +17384,7 @@ function peg$parse(input, options) {
17201
17384
  peg$silentFails--;
17202
17385
  if (s0 === peg$FAILED) {
17203
17386
  if (peg$silentFails === 0) {
17204
- peg$fail(peg$c1475);
17387
+ peg$fail(peg$c1483);
17205
17388
  }
17206
17389
  }
17207
17390
  return s0;
@@ -17232,14 +17415,14 @@ function peg$parse(input, options) {
17232
17415
  s1 = null;
17233
17416
  }
17234
17417
  if (s1 !== peg$FAILED) {
17235
- if (input.substr(peg$currPos, 5) === peg$c1476) {
17236
- s2 = peg$c1476;
17418
+ if (input.substr(peg$currPos, 5) === peg$c1484) {
17419
+ s2 = peg$c1484;
17237
17420
  peg$currPos += 5;
17238
17421
  }
17239
17422
  else {
17240
17423
  s2 = peg$FAILED;
17241
17424
  if (peg$silentFails === 0) {
17242
- peg$fail(peg$c1477);
17425
+ peg$fail(peg$c1485);
17243
17426
  }
17244
17427
  }
17245
17428
  if (s2 !== peg$FAILED) {
@@ -17288,7 +17471,7 @@ function peg$parse(input, options) {
17288
17471
  }
17289
17472
  if (s9 !== peg$FAILED) {
17290
17473
  peg$savedPos = s0;
17291
- s1 = peg$c1478(s6);
17474
+ s1 = peg$c1486(s6);
17292
17475
  s0 = s1;
17293
17476
  }
17294
17477
  else {
@@ -17353,14 +17536,14 @@ function peg$parse(input, options) {
17353
17536
  s1 = null;
17354
17537
  }
17355
17538
  if (s1 !== peg$FAILED) {
17356
- if (input.substr(peg$currPos, 5) === peg$c1479) {
17357
- s2 = peg$c1479;
17539
+ if (input.substr(peg$currPos, 5) === peg$c1487) {
17540
+ s2 = peg$c1487;
17358
17541
  peg$currPos += 5;
17359
17542
  }
17360
17543
  else {
17361
17544
  s2 = peg$FAILED;
17362
17545
  if (peg$silentFails === 0) {
17363
- peg$fail(peg$c1480);
17546
+ peg$fail(peg$c1488);
17364
17547
  }
17365
17548
  }
17366
17549
  if (s2 !== peg$FAILED) {
@@ -17409,7 +17592,7 @@ function peg$parse(input, options) {
17409
17592
  }
17410
17593
  if (s9 !== peg$FAILED) {
17411
17594
  peg$savedPos = s0;
17412
- s1 = peg$c1481(s6);
17595
+ s1 = peg$c1489(s6);
17413
17596
  s0 = s1;
17414
17597
  }
17415
17598
  else {
@@ -17474,14 +17657,14 @@ function peg$parse(input, options) {
17474
17657
  s1 = null;
17475
17658
  }
17476
17659
  if (s1 !== peg$FAILED) {
17477
- if (input.substr(peg$currPos, 10) === peg$c1483) {
17478
- s2 = peg$c1483;
17660
+ if (input.substr(peg$currPos, 10) === peg$c1491) {
17661
+ s2 = peg$c1491;
17479
17662
  peg$currPos += 10;
17480
17663
  }
17481
17664
  else {
17482
17665
  s2 = peg$FAILED;
17483
17666
  if (peg$silentFails === 0) {
17484
- peg$fail(peg$c1484);
17667
+ peg$fail(peg$c1492);
17485
17668
  }
17486
17669
  }
17487
17670
  if (s2 !== peg$FAILED) {
@@ -17530,7 +17713,7 @@ function peg$parse(input, options) {
17530
17713
  }
17531
17714
  if (s9 !== peg$FAILED) {
17532
17715
  peg$savedPos = s0;
17533
- s1 = peg$c1485(s6);
17716
+ s1 = peg$c1493(s6);
17534
17717
  s0 = s1;
17535
17718
  }
17536
17719
  else {
@@ -17581,7 +17764,7 @@ function peg$parse(input, options) {
17581
17764
  if (s0 === peg$FAILED) {
17582
17765
  s1 = peg$FAILED;
17583
17766
  if (peg$silentFails === 0) {
17584
- peg$fail(peg$c1482);
17767
+ peg$fail(peg$c1490);
17585
17768
  }
17586
17769
  }
17587
17770
  return s0;
@@ -17595,14 +17778,14 @@ function peg$parse(input, options) {
17595
17778
  s1 = null;
17596
17779
  }
17597
17780
  if (s1 !== peg$FAILED) {
17598
- if (input.substr(peg$currPos, 16) === peg$c1487) {
17599
- s2 = peg$c1487;
17781
+ if (input.substr(peg$currPos, 16) === peg$c1495) {
17782
+ s2 = peg$c1495;
17600
17783
  peg$currPos += 16;
17601
17784
  }
17602
17785
  else {
17603
17786
  s2 = peg$FAILED;
17604
17787
  if (peg$silentFails === 0) {
17605
- peg$fail(peg$c1488);
17788
+ peg$fail(peg$c1496);
17606
17789
  }
17607
17790
  }
17608
17791
  if (s2 !== peg$FAILED) {
@@ -17651,7 +17834,7 @@ function peg$parse(input, options) {
17651
17834
  }
17652
17835
  if (s9 !== peg$FAILED) {
17653
17836
  peg$savedPos = s0;
17654
- s1 = peg$c1489(s6);
17837
+ s1 = peg$c1497(s6);
17655
17838
  s0 = s1;
17656
17839
  }
17657
17840
  else {
@@ -17702,7 +17885,7 @@ function peg$parse(input, options) {
17702
17885
  if (s0 === peg$FAILED) {
17703
17886
  s1 = peg$FAILED;
17704
17887
  if (peg$silentFails === 0) {
17705
- peg$fail(peg$c1486);
17888
+ peg$fail(peg$c1494);
17706
17889
  }
17707
17890
  }
17708
17891
  return s0;
@@ -17716,14 +17899,14 @@ function peg$parse(input, options) {
17716
17899
  s1 = null;
17717
17900
  }
17718
17901
  if (s1 !== peg$FAILED) {
17719
- if (input.substr(peg$currPos, 12) === peg$c1491) {
17720
- s2 = peg$c1491;
17902
+ if (input.substr(peg$currPos, 12) === peg$c1499) {
17903
+ s2 = peg$c1499;
17721
17904
  peg$currPos += 12;
17722
17905
  }
17723
17906
  else {
17724
17907
  s2 = peg$FAILED;
17725
17908
  if (peg$silentFails === 0) {
17726
- peg$fail(peg$c1492);
17909
+ peg$fail(peg$c1500);
17727
17910
  }
17728
17911
  }
17729
17912
  if (s2 !== peg$FAILED) {
@@ -17772,7 +17955,7 @@ function peg$parse(input, options) {
17772
17955
  }
17773
17956
  if (s9 !== peg$FAILED) {
17774
17957
  peg$savedPos = s0;
17775
- s1 = peg$c1493(s6);
17958
+ s1 = peg$c1501(s6);
17776
17959
  s0 = s1;
17777
17960
  }
17778
17961
  else {
@@ -17823,7 +18006,7 @@ function peg$parse(input, options) {
17823
18006
  if (s0 === peg$FAILED) {
17824
18007
  s1 = peg$FAILED;
17825
18008
  if (peg$silentFails === 0) {
17826
- peg$fail(peg$c1490);
18009
+ peg$fail(peg$c1498);
17827
18010
  }
17828
18011
  }
17829
18012
  return s0;
@@ -17837,14 +18020,14 @@ function peg$parse(input, options) {
17837
18020
  s1 = null;
17838
18021
  }
17839
18022
  if (s1 !== peg$FAILED) {
17840
- if (input.substr(peg$currPos, 5) === peg$c1495) {
17841
- s2 = peg$c1495;
18023
+ if (input.substr(peg$currPos, 5) === peg$c1503) {
18024
+ s2 = peg$c1503;
17842
18025
  peg$currPos += 5;
17843
18026
  }
17844
18027
  else {
17845
18028
  s2 = peg$FAILED;
17846
18029
  if (peg$silentFails === 0) {
17847
- peg$fail(peg$c1496);
18030
+ peg$fail(peg$c1504);
17848
18031
  }
17849
18032
  }
17850
18033
  if (s2 !== peg$FAILED) {
@@ -17893,7 +18076,7 @@ function peg$parse(input, options) {
17893
18076
  }
17894
18077
  if (s9 !== peg$FAILED) {
17895
18078
  peg$savedPos = s0;
17896
- s1 = peg$c1497(s6);
18079
+ s1 = peg$c1505(s6);
17897
18080
  s0 = s1;
17898
18081
  }
17899
18082
  else {
@@ -17944,7 +18127,7 @@ function peg$parse(input, options) {
17944
18127
  if (s0 === peg$FAILED) {
17945
18128
  s1 = peg$FAILED;
17946
18129
  if (peg$silentFails === 0) {
17947
- peg$fail(peg$c1494);
18130
+ peg$fail(peg$c1502);
17948
18131
  }
17949
18132
  }
17950
18133
  return s0;
@@ -17958,14 +18141,14 @@ function peg$parse(input, options) {
17958
18141
  s1 = null;
17959
18142
  }
17960
18143
  if (s1 !== peg$FAILED) {
17961
- if (input.substr(peg$currPos, 7) === peg$c1499) {
17962
- s2 = peg$c1499;
18144
+ if (input.substr(peg$currPos, 7) === peg$c1507) {
18145
+ s2 = peg$c1507;
17963
18146
  peg$currPos += 7;
17964
18147
  }
17965
18148
  else {
17966
18149
  s2 = peg$FAILED;
17967
18150
  if (peg$silentFails === 0) {
17968
- peg$fail(peg$c1500);
18151
+ peg$fail(peg$c1508);
17969
18152
  }
17970
18153
  }
17971
18154
  if (s2 !== peg$FAILED) {
@@ -18014,7 +18197,7 @@ function peg$parse(input, options) {
18014
18197
  }
18015
18198
  if (s9 !== peg$FAILED) {
18016
18199
  peg$savedPos = s0;
18017
- s1 = peg$c1501(s6);
18200
+ s1 = peg$c1509(s6);
18018
18201
  s0 = s1;
18019
18202
  }
18020
18203
  else {
@@ -18065,7 +18248,7 @@ function peg$parse(input, options) {
18065
18248
  if (s0 === peg$FAILED) {
18066
18249
  s1 = peg$FAILED;
18067
18250
  if (peg$silentFails === 0) {
18068
- peg$fail(peg$c1498);
18251
+ peg$fail(peg$c1506);
18069
18252
  }
18070
18253
  }
18071
18254
  return s0;
@@ -18135,7 +18318,7 @@ function peg$parse(input, options) {
18135
18318
  }
18136
18319
  if (s9 !== peg$FAILED) {
18137
18320
  peg$savedPos = s0;
18138
- s1 = peg$c1503(s6);
18321
+ s1 = peg$c1511(s6);
18139
18322
  s0 = s1;
18140
18323
  }
18141
18324
  else {
@@ -18189,14 +18372,14 @@ function peg$parse(input, options) {
18189
18372
  s1 = null;
18190
18373
  }
18191
18374
  if (s1 !== peg$FAILED) {
18192
- if (input.substr(peg$currPos, 9) === peg$c1504) {
18193
- s2 = peg$c1504;
18375
+ if (input.substr(peg$currPos, 9) === peg$c1512) {
18376
+ s2 = peg$c1512;
18194
18377
  peg$currPos += 9;
18195
18378
  }
18196
18379
  else {
18197
18380
  s2 = peg$FAILED;
18198
18381
  if (peg$silentFails === 0) {
18199
- peg$fail(peg$c1505);
18382
+ peg$fail(peg$c1513);
18200
18383
  }
18201
18384
  }
18202
18385
  if (s2 !== peg$FAILED) {
@@ -18245,7 +18428,7 @@ function peg$parse(input, options) {
18245
18428
  }
18246
18429
  if (s9 !== peg$FAILED) {
18247
18430
  peg$savedPos = s0;
18248
- s1 = peg$c1503(s6);
18431
+ s1 = peg$c1511(s6);
18249
18432
  s0 = s1;
18250
18433
  }
18251
18434
  else {
@@ -18297,7 +18480,7 @@ function peg$parse(input, options) {
18297
18480
  if (s0 === peg$FAILED) {
18298
18481
  s1 = peg$FAILED;
18299
18482
  if (peg$silentFails === 0) {
18300
- peg$fail(peg$c1502);
18483
+ peg$fail(peg$c1510);
18301
18484
  }
18302
18485
  }
18303
18486
  return s0;
@@ -18311,14 +18494,14 @@ function peg$parse(input, options) {
18311
18494
  s1 = null;
18312
18495
  }
18313
18496
  if (s1 !== peg$FAILED) {
18314
- if (input.substr(peg$currPos, 5) === peg$c1507) {
18315
- s2 = peg$c1507;
18497
+ if (input.substr(peg$currPos, 5) === peg$c1515) {
18498
+ s2 = peg$c1515;
18316
18499
  peg$currPos += 5;
18317
18500
  }
18318
18501
  else {
18319
18502
  s2 = peg$FAILED;
18320
18503
  if (peg$silentFails === 0) {
18321
- peg$fail(peg$c1508);
18504
+ peg$fail(peg$c1516);
18322
18505
  }
18323
18506
  }
18324
18507
  if (s2 !== peg$FAILED) {
@@ -18367,7 +18550,7 @@ function peg$parse(input, options) {
18367
18550
  }
18368
18551
  if (s9 !== peg$FAILED) {
18369
18552
  peg$savedPos = s0;
18370
- s1 = peg$c1509(s6);
18553
+ s1 = peg$c1517(s6);
18371
18554
  s0 = s1;
18372
18555
  }
18373
18556
  else {
@@ -18418,7 +18601,7 @@ function peg$parse(input, options) {
18418
18601
  if (s0 === peg$FAILED) {
18419
18602
  s1 = peg$FAILED;
18420
18603
  if (peg$silentFails === 0) {
18421
- peg$fail(peg$c1506);
18604
+ peg$fail(peg$c1514);
18422
18605
  }
18423
18606
  }
18424
18607
  return s0;
@@ -18432,14 +18615,14 @@ function peg$parse(input, options) {
18432
18615
  s1 = null;
18433
18616
  }
18434
18617
  if (s1 !== peg$FAILED) {
18435
- if (input.substr(peg$currPos, 3) === peg$c1511) {
18436
- s2 = peg$c1511;
18618
+ if (input.substr(peg$currPos, 3) === peg$c1519) {
18619
+ s2 = peg$c1519;
18437
18620
  peg$currPos += 3;
18438
18621
  }
18439
18622
  else {
18440
18623
  s2 = peg$FAILED;
18441
18624
  if (peg$silentFails === 0) {
18442
- peg$fail(peg$c1512);
18625
+ peg$fail(peg$c1520);
18443
18626
  }
18444
18627
  }
18445
18628
  if (s2 !== peg$FAILED) {
@@ -18488,7 +18671,7 @@ function peg$parse(input, options) {
18488
18671
  }
18489
18672
  if (s9 !== peg$FAILED) {
18490
18673
  peg$savedPos = s0;
18491
- s1 = peg$c1513(s6);
18674
+ s1 = peg$c1521(s6);
18492
18675
  s0 = s1;
18493
18676
  }
18494
18677
  else {
@@ -18539,7 +18722,7 @@ function peg$parse(input, options) {
18539
18722
  if (s0 === peg$FAILED) {
18540
18723
  s1 = peg$FAILED;
18541
18724
  if (peg$silentFails === 0) {
18542
- peg$fail(peg$c1510);
18725
+ peg$fail(peg$c1518);
18543
18726
  }
18544
18727
  }
18545
18728
  return s0;
@@ -18553,14 +18736,14 @@ function peg$parse(input, options) {
18553
18736
  s1 = null;
18554
18737
  }
18555
18738
  if (s1 !== peg$FAILED) {
18556
- if (input.substr(peg$currPos, 8) === peg$c1515) {
18557
- s2 = peg$c1515;
18739
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
18740
+ s2 = peg$c1523;
18558
18741
  peg$currPos += 8;
18559
18742
  }
18560
18743
  else {
18561
18744
  s2 = peg$FAILED;
18562
18745
  if (peg$silentFails === 0) {
18563
- peg$fail(peg$c1516);
18746
+ peg$fail(peg$c1524);
18564
18747
  }
18565
18748
  }
18566
18749
  if (s2 !== peg$FAILED) {
@@ -18613,7 +18796,7 @@ function peg$parse(input, options) {
18613
18796
  }
18614
18797
  if (s11 !== peg$FAILED) {
18615
18798
  peg$savedPos = s0;
18616
- s1 = peg$c1517(s6, s8);
18799
+ s1 = peg$c1525(s6, s8);
18617
18800
  s0 = s1;
18618
18801
  }
18619
18802
  else {
@@ -18677,14 +18860,14 @@ function peg$parse(input, options) {
18677
18860
  s1 = null;
18678
18861
  }
18679
18862
  if (s1 !== peg$FAILED) {
18680
- if (input.substr(peg$currPos, 8) === peg$c1515) {
18681
- s2 = peg$c1515;
18863
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
18864
+ s2 = peg$c1523;
18682
18865
  peg$currPos += 8;
18683
18866
  }
18684
18867
  else {
18685
18868
  s2 = peg$FAILED;
18686
18869
  if (peg$silentFails === 0) {
18687
- peg$fail(peg$c1516);
18870
+ peg$fail(peg$c1524);
18688
18871
  }
18689
18872
  }
18690
18873
  if (s2 !== peg$FAILED) {
@@ -18717,14 +18900,14 @@ function peg$parse(input, options) {
18717
18900
  if (s8 !== peg$FAILED) {
18718
18901
  s9 = peg$parseWS();
18719
18902
  if (s9 !== peg$FAILED) {
18720
- if (input.substr(peg$currPos, 8) === peg$c1518) {
18721
- s10 = peg$c1518;
18903
+ if (input.substr(peg$currPos, 8) === peg$c1526) {
18904
+ s10 = peg$c1526;
18722
18905
  peg$currPos += 8;
18723
18906
  }
18724
18907
  else {
18725
18908
  s10 = peg$FAILED;
18726
18909
  if (peg$silentFails === 0) {
18727
- peg$fail(peg$c1519);
18910
+ peg$fail(peg$c1527);
18728
18911
  }
18729
18912
  }
18730
18913
  if (s10 !== peg$FAILED) {
@@ -18750,7 +18933,7 @@ function peg$parse(input, options) {
18750
18933
  }
18751
18934
  if (s13 !== peg$FAILED) {
18752
18935
  peg$savedPos = s0;
18753
- s1 = peg$c1520(s6, s8);
18936
+ s1 = peg$c1528(s6, s8);
18754
18937
  s0 = s1;
18755
18938
  }
18756
18939
  else {
@@ -18822,7 +19005,7 @@ function peg$parse(input, options) {
18822
19005
  if (s0 === peg$FAILED) {
18823
19006
  s1 = peg$FAILED;
18824
19007
  if (peg$silentFails === 0) {
18825
- peg$fail(peg$c1514);
19008
+ peg$fail(peg$c1522);
18826
19009
  }
18827
19010
  }
18828
19011
  return s0;
@@ -19002,7 +19185,7 @@ function peg$parse(input, options) {
19002
19185
  }
19003
19186
  if (s11 !== peg$FAILED) {
19004
19187
  peg$savedPos = s0;
19005
- s1 = peg$c1521(s4, s8);
19188
+ s1 = peg$c1529(s4, s8);
19006
19189
  s0 = s1;
19007
19190
  }
19008
19191
  else {
@@ -19070,13 +19253,13 @@ function peg$parse(input, options) {
19070
19253
  }
19071
19254
  if (s1 !== peg$FAILED) {
19072
19255
  if (input.charCodeAt(peg$currPos) === 38) {
19073
- s2 = peg$c1522;
19256
+ s2 = peg$c1530;
19074
19257
  peg$currPos++;
19075
19258
  }
19076
19259
  else {
19077
19260
  s2 = peg$FAILED;
19078
19261
  if (peg$silentFails === 0) {
19079
- peg$fail(peg$c1523);
19262
+ peg$fail(peg$c1531);
19080
19263
  }
19081
19264
  }
19082
19265
  if (s2 !== peg$FAILED) {
@@ -19132,7 +19315,7 @@ function peg$parse(input, options) {
19132
19315
  }
19133
19316
  if (s11 !== peg$FAILED) {
19134
19317
  peg$savedPos = s0;
19135
- s1 = peg$c1524(s4, s8);
19318
+ s1 = peg$c1532(s4, s8);
19136
19319
  s0 = s1;
19137
19320
  }
19138
19321
  else {
@@ -19199,14 +19382,14 @@ function peg$parse(input, options) {
19199
19382
  s1 = null;
19200
19383
  }
19201
19384
  if (s1 !== peg$FAILED) {
19202
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19203
- s2 = peg$c1515;
19385
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19386
+ s2 = peg$c1523;
19204
19387
  peg$currPos += 8;
19205
19388
  }
19206
19389
  else {
19207
19390
  s2 = peg$FAILED;
19208
19391
  if (peg$silentFails === 0) {
19209
- peg$fail(peg$c1516);
19392
+ peg$fail(peg$c1524);
19210
19393
  }
19211
19394
  }
19212
19395
  if (s2 !== peg$FAILED) {
@@ -19233,14 +19416,14 @@ function peg$parse(input, options) {
19233
19416
  if (s8 !== peg$FAILED) {
19234
19417
  s9 = peg$parseWS();
19235
19418
  if (s9 !== peg$FAILED) {
19236
- if (input.substr(peg$currPos, 8) === peg$c1518) {
19237
- s10 = peg$c1518;
19419
+ if (input.substr(peg$currPos, 8) === peg$c1526) {
19420
+ s10 = peg$c1526;
19238
19421
  peg$currPos += 8;
19239
19422
  }
19240
19423
  else {
19241
19424
  s10 = peg$FAILED;
19242
19425
  if (peg$silentFails === 0) {
19243
- peg$fail(peg$c1519);
19426
+ peg$fail(peg$c1527);
19244
19427
  }
19245
19428
  }
19246
19429
  if (s10 !== peg$FAILED) {
@@ -19266,7 +19449,7 @@ function peg$parse(input, options) {
19266
19449
  }
19267
19450
  if (s13 !== peg$FAILED) {
19268
19451
  peg$savedPos = s0;
19269
- s1 = peg$c1525(s4, s8);
19452
+ s1 = peg$c1533(s4, s8);
19270
19453
  s0 = s1;
19271
19454
  }
19272
19455
  else {
@@ -19340,14 +19523,14 @@ function peg$parse(input, options) {
19340
19523
  s1 = null;
19341
19524
  }
19342
19525
  if (s1 !== peg$FAILED) {
19343
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19344
- s2 = peg$c1515;
19526
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19527
+ s2 = peg$c1523;
19345
19528
  peg$currPos += 8;
19346
19529
  }
19347
19530
  else {
19348
19531
  s2 = peg$FAILED;
19349
19532
  if (peg$silentFails === 0) {
19350
- peg$fail(peg$c1516);
19533
+ peg$fail(peg$c1524);
19351
19534
  }
19352
19535
  }
19353
19536
  if (s2 !== peg$FAILED) {
@@ -19357,14 +19540,14 @@ function peg$parse(input, options) {
19357
19540
  if (s4 !== peg$FAILED) {
19358
19541
  s5 = peg$parseWS();
19359
19542
  if (s5 !== peg$FAILED) {
19360
- if (input.substr(peg$currPos, 8) === peg$c1518) {
19361
- s6 = peg$c1518;
19543
+ if (input.substr(peg$currPos, 8) === peg$c1526) {
19544
+ s6 = peg$c1526;
19362
19545
  peg$currPos += 8;
19363
19546
  }
19364
19547
  else {
19365
19548
  s6 = peg$FAILED;
19366
19549
  if (peg$silentFails === 0) {
19367
- peg$fail(peg$c1519);
19550
+ peg$fail(peg$c1527);
19368
19551
  }
19369
19552
  }
19370
19553
  if (s6 !== peg$FAILED) {
@@ -19390,7 +19573,7 @@ function peg$parse(input, options) {
19390
19573
  }
19391
19574
  if (s9 !== peg$FAILED) {
19392
19575
  peg$savedPos = s0;
19393
- s1 = peg$c1526(s4);
19576
+ s1 = peg$c1534(s4);
19394
19577
  s0 = s1;
19395
19578
  }
19396
19579
  else {
@@ -19444,14 +19627,14 @@ function peg$parse(input, options) {
19444
19627
  s1 = null;
19445
19628
  }
19446
19629
  if (s1 !== peg$FAILED) {
19447
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19448
- s2 = peg$c1515;
19630
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19631
+ s2 = peg$c1523;
19449
19632
  peg$currPos += 8;
19450
19633
  }
19451
19634
  else {
19452
19635
  s2 = peg$FAILED;
19453
19636
  if (peg$silentFails === 0) {
19454
- peg$fail(peg$c1516);
19637
+ peg$fail(peg$c1524);
19455
19638
  }
19456
19639
  }
19457
19640
  if (s2 !== peg$FAILED) {
@@ -19498,7 +19681,7 @@ function peg$parse(input, options) {
19498
19681
  }
19499
19682
  if (s11 !== peg$FAILED) {
19500
19683
  peg$savedPos = s0;
19501
- s1 = peg$c1527(s4, s8);
19684
+ s1 = peg$c1535(s4, s8);
19502
19685
  s0 = s1;
19503
19686
  }
19504
19687
  else {
@@ -19562,14 +19745,14 @@ function peg$parse(input, options) {
19562
19745
  s1 = null;
19563
19746
  }
19564
19747
  if (s1 !== peg$FAILED) {
19565
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19566
- s2 = peg$c1515;
19748
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19749
+ s2 = peg$c1523;
19567
19750
  peg$currPos += 8;
19568
19751
  }
19569
19752
  else {
19570
19753
  s2 = peg$FAILED;
19571
19754
  if (peg$silentFails === 0) {
19572
- peg$fail(peg$c1516);
19755
+ peg$fail(peg$c1524);
19573
19756
  }
19574
19757
  }
19575
19758
  if (s2 !== peg$FAILED) {
@@ -19599,7 +19782,7 @@ function peg$parse(input, options) {
19599
19782
  }
19600
19783
  if (s7 !== peg$FAILED) {
19601
19784
  peg$savedPos = s0;
19602
- s1 = peg$c1528(s4);
19785
+ s1 = peg$c1536(s4);
19603
19786
  s0 = s1;
19604
19787
  }
19605
19788
  else {
@@ -19644,14 +19827,14 @@ function peg$parse(input, options) {
19644
19827
  function peg$parseRegularArrangeDeclaration() {
19645
19828
  var s0, s1, s2, s3, s4, s5, s6;
19646
19829
  s0 = peg$currPos;
19647
- if (input.substr(peg$currPos, 7) === peg$c1529) {
19648
- s1 = peg$c1529;
19830
+ if (input.substr(peg$currPos, 7) === peg$c1537) {
19831
+ s1 = peg$c1537;
19649
19832
  peg$currPos += 7;
19650
19833
  }
19651
19834
  else {
19652
19835
  s1 = peg$FAILED;
19653
19836
  if (peg$silentFails === 0) {
19654
- peg$fail(peg$c1530);
19837
+ peg$fail(peg$c1538);
19655
19838
  }
19656
19839
  }
19657
19840
  if (s1 !== peg$FAILED) {
@@ -19684,7 +19867,7 @@ function peg$parse(input, options) {
19684
19867
  }
19685
19868
  if (s6 !== peg$FAILED) {
19686
19869
  peg$savedPos = s0;
19687
- s1 = peg$c1531(s3);
19870
+ s1 = peg$c1539(s3);
19688
19871
  s0 = s1;
19689
19872
  }
19690
19873
  else {
@@ -19721,14 +19904,14 @@ function peg$parse(input, options) {
19721
19904
  function peg$parseArrangeStartDeclaration() {
19722
19905
  var s0, s1, s2, s3, s4, s5, s6;
19723
19906
  s0 = peg$currPos;
19724
- if (input.substr(peg$currPos, 13) === peg$c1532) {
19725
- s1 = peg$c1532;
19907
+ if (input.substr(peg$currPos, 13) === peg$c1540) {
19908
+ s1 = peg$c1540;
19726
19909
  peg$currPos += 13;
19727
19910
  }
19728
19911
  else {
19729
19912
  s1 = peg$FAILED;
19730
19913
  if (peg$silentFails === 0) {
19731
- peg$fail(peg$c1533);
19914
+ peg$fail(peg$c1541);
19732
19915
  }
19733
19916
  }
19734
19917
  if (s1 !== peg$FAILED) {
@@ -19761,7 +19944,7 @@ function peg$parse(input, options) {
19761
19944
  }
19762
19945
  if (s6 !== peg$FAILED) {
19763
19946
  peg$savedPos = s0;
19764
- s1 = peg$c1534(s3);
19947
+ s1 = peg$c1542(s3);
19765
19948
  s0 = s1;
19766
19949
  }
19767
19950
  else {
@@ -19798,14 +19981,14 @@ function peg$parse(input, options) {
19798
19981
  function peg$parseArrangeEndDeclaration() {
19799
19982
  var s0, s1, s2, s3, s4, s5, s6;
19800
19983
  s0 = peg$currPos;
19801
- if (input.substr(peg$currPos, 11) === peg$c1535) {
19802
- s1 = peg$c1535;
19984
+ if (input.substr(peg$currPos, 11) === peg$c1543) {
19985
+ s1 = peg$c1543;
19803
19986
  peg$currPos += 11;
19804
19987
  }
19805
19988
  else {
19806
19989
  s1 = peg$FAILED;
19807
19990
  if (peg$silentFails === 0) {
19808
- peg$fail(peg$c1536);
19991
+ peg$fail(peg$c1544);
19809
19992
  }
19810
19993
  }
19811
19994
  if (s1 !== peg$FAILED) {
@@ -19838,7 +20021,7 @@ function peg$parse(input, options) {
19838
20021
  }
19839
20022
  if (s6 !== peg$FAILED) {
19840
20023
  peg$savedPos = s0;
19841
- s1 = peg$c1537(s3);
20024
+ s1 = peg$c1545(s3);
19842
20025
  s0 = s1;
19843
20026
  }
19844
20027
  else {
@@ -19885,7 +20068,7 @@ function peg$parse(input, options) {
19885
20068
  peg$silentFails--;
19886
20069
  if (s0 === peg$FAILED) {
19887
20070
  if (peg$silentFails === 0) {
19888
- peg$fail(peg$c1538);
20071
+ peg$fail(peg$c1546);
19889
20072
  }
19890
20073
  }
19891
20074
  return s0;
@@ -21209,7 +21392,7 @@ function compile_rule_handler(rule) {
21209
21392
  'flow', 'dot_preamble', 'allows_override', 'allow_islands', 'default_state_config',
21210
21393
  'default_start_state_config', 'default_end_state_config',
21211
21394
  'default_hooked_state_config', 'default_active_state_config',
21212
- 'default_terminal_state_config', 'npm_name'
21395
+ 'default_terminal_state_config', 'npm_name', 'default_size'
21213
21396
  ];
21214
21397
  if (tautologies.includes(rule.key)) {
21215
21398
  return { agg_as: rule.key, val: rule.value };
@@ -21286,6 +21469,7 @@ function compile(tree) {
21286
21469
  machine_name: [],
21287
21470
  machine_reference: [],
21288
21471
  npm_name: [],
21472
+ default_size: [],
21289
21473
  property_definition: [],
21290
21474
  state_property: {},
21291
21475
  theme: [],
@@ -21323,7 +21507,7 @@ function compile(tree) {
21323
21507
  const oneOnlyKeys = [
21324
21508
  'graph_layout', 'machine_name', 'machine_version', 'machine_comment',
21325
21509
  'fsl_version', 'machine_license', 'machine_definition', 'machine_language',
21326
- 'flow', 'dot_preamble', 'allows_override', 'allow_islands', 'npm_name'
21510
+ 'flow', 'dot_preamble', 'allows_override', 'allow_islands', 'npm_name', 'default_size'
21327
21511
  ];
21328
21512
  oneOnlyKeys.map((oneOnlyKey) => {
21329
21513
  if (results[oneOnlyKey].length > 1) {
@@ -21838,7 +22022,7 @@ var constants = /*#__PURE__*/Object.freeze({
21838
22022
  * Useful for runtime diagnostics and for embedding in serialized machine
21839
22023
  * snapshots so that deserializers can detect version-skew.
21840
22024
  */
21841
- const version = "5.142.3";
22025
+ const version = "5.142.4";
21842
22026
 
21843
22027
  // whargarbl lots of these return arrays could/should be sets
21844
22028
  const { state_name_chars, state_name_first_chars, action_label_chars } = constants;
@@ -22077,7 +22261,7 @@ function find_connected_components(states, edges) {
22077
22261
  }
22078
22262
  class Machine {
22079
22263
  // whargarbl this badly needs to be broken up, monolith master
22080
- constructor({ start_states, end_states = [], failed_outputs = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, allow_islands, rng_seed, time_source, timeout_source, clear_timeout_source }) {
22264
+ constructor({ start_states, end_states = [], failed_outputs = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, allow_islands, rng_seed, time_source, timeout_source, clear_timeout_source }) {
22081
22265
  this._time_source = () => new Date().getTime();
22082
22266
  this._create_started = this._time_source();
22083
22267
  this._instance_name = instance_name;
@@ -22102,6 +22286,7 @@ class Machine {
22102
22286
  this._machine_name = machine_name;
22103
22287
  this._machine_version = machine_version;
22104
22288
  this._npm_name = npm_name;
22289
+ this._default_size = default_size;
22105
22290
  this._raw_state_declaration = state_declaration || [];
22106
22291
  this._fsl_version = fsl_version;
22107
22292
  this._arrange_declaration = arrange_declaration;
@@ -22913,6 +23098,23 @@ class Machine {
22913
23098
  npm_name() {
22914
23099
  return this._npm_name;
22915
23100
  }
23101
+ /** Get the render-size hint for the machine's visualization. Set via the
23102
+ * FSL `default_size` directive. Returns `undefined` when not present.
23103
+ *
23104
+ * The three FSL forms each produce a different subset of fields:
23105
+ *
23106
+ * - `default_size: 800;` → `{ width: 800 }`
23107
+ * - `default_size: 800 600;` → `{ width: 800, height: 600 }`
23108
+ * - `default_size: height 600;` → `{ height: 600 }`
23109
+ *
23110
+ * This is a hint, not a hard constraint. Renderers may ignore it.
23111
+ *
23112
+ * @returns The size-hint object, or `undefined` if not set.
23113
+ * @see npm_name
23114
+ */
23115
+ default_size() {
23116
+ return this._default_size;
23117
+ }
22916
23118
  /** Get the machine's version string. Set via the FSL `machine_version` directive.
22917
23119
  * @returns The version string.
22918
23120
  */